@dialpad/dialtone-vue 2.43.0 → 2.43.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,2 +1,2 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["dialtone-vue"]=e():t["dialtone-vue"]=e()})("undefined"!==typeof self?self:this,(()=>(()=>{var t={5:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--fs-200);line-height:var(--lh4);padding:var(--su4) var(--su12)}",""]);const l=r},720:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".d-context-menu-list{width:24rem}",""]);const l=r},719:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-separator{height:1px;list-style:none}",""]);const l=r},321:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}",""]);const l=r},814:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-item:not(.dt-list-item--static){cursor:pointer}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-500-h),var(--black-500-s),var(--black-500-l),.15)}.dt-list-item:focus-visible{border-radius:var(--br4);outline:none;box-shadow:inset 0 0 0 var(--su2) var(--focus-ring)}",""]);const l=r},744:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,'.dt-list-section[tabindex="-1"]:focus{outline:none}',""]);const l=r},410:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".tippy-box[data-popper-escaped] .d-popover__dialog,.tippy-box[data-popper-reference-hidden] .d-popover__dialog{visibility:hidden;pointer-events:none}",""]);const l=r},575:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".root-layout__header--sticky{position:sticky;top:0}",""]);const l=r},434:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".root-layout__body{display:flex;flex-wrap:wrap;gap:0}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1}.root-layout__content{flex-basis:0;flex-grow:999}",""]);const l=r},914:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}50%{fill:var(--placeholder-to-color,var(--black-100));background:var(--placeholder-to-color,var(--black-100))}90%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}}",""]);const l=r},514:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}",""]);const l=r},909:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active{--button--bgc:hsla(var(--error-color-hsl)/10%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active:hover{--button--bgc:hsla(var(--error-color-hsl)/20%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}",""]);const l=r},435:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe--callbar-button-with-popover--button{position:relative;display:inline-block}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{position:absolute;top:2rem;right:0;width:var(--su16);height:var(--su16);padding:var(--su8);border-radius:var(--su4)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--black-025)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--black-900);color:var(--white)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header button{color:var(--white)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc:var(--black-900)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}",""]);const l=r},539:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".ivr_node__width{width:280px}",""]);const l=r},326:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".d-top-banner-info__left{margin:var(--su4) 0 var(--su4) var(--su8);min-width:20%}.d-top-banner-info__right{margin:var(--su4) var(--su12) var(--su4) 0;min-width:20%}",""]);const l=r},566:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".enter-active,.leave-active{overflow:hidden;transition:height .3s linear}",""]);const l=r},400:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,a,s){"string"===typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var u=[].concat(t[d]);i&&o[u[0]]||("undefined"!==typeof s&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),e.push(u))}},e}},481:t=>{"use strict";t.exports=function(t){return t[1]}},750:(t,e,n)=>{var i=n(5);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("484db3d5",i,!0,{sourceMap:!1,shadowMode:!1})},427:(t,e,n)=>{var i=n(720);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2767d7d2",i,!0,{sourceMap:!1,shadowMode:!1})},717:(t,e,n)=>{var i=n(719);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("321d92d7",i,!0,{sourceMap:!1,shadowMode:!1})},357:(t,e,n)=>{var i=n(321);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("43c617ae",i,!0,{sourceMap:!1,shadowMode:!1})},759:(t,e,n)=>{var i=n(814);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6af7b624",i,!0,{sourceMap:!1,shadowMode:!1})},792:(t,e,n)=>{var i=n(744);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("7f7fada4",i,!0,{sourceMap:!1,shadowMode:!1})},155:(t,e,n)=>{var i=n(410);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("40d6a89f",i,!0,{sourceMap:!1,shadowMode:!1})},987:(t,e,n)=>{var i=n(575);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2256c3e1",i,!0,{sourceMap:!1,shadowMode:!1})},263:(t,e,n)=>{var i=n(434);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1d28b333",i,!0,{sourceMap:!1,shadowMode:!1})},859:(t,e,n)=>{var i=n(914);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("de95764a",i,!0,{sourceMap:!1,shadowMode:!1})},664:(t,e,n)=>{var i=n(514);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("9c5db186",i,!0,{sourceMap:!1,shadowMode:!1})},39:(t,e,n)=>{var i=n(909);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("0a0205b6",i,!0,{sourceMap:!1,shadowMode:!1})},724:(t,e,n)=>{var i=n(435);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("be005c80",i,!0,{sourceMap:!1,shadowMode:!1})},183:(t,e,n)=>{var i=n(539);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("33204bb2",i,!0,{sourceMap:!1,shadowMode:!1})},486:(t,e,n)=>{var i=n(326);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1ecbd352",i,!0,{sourceMap:!1,shadowMode:!1})},124:(t,e,n)=>{var i=n(566);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6b5bfe56",i,!0,{sourceMap:!1,shadowMode:!1})},402:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var s=e[a],o=s[0],r=s[1],l=s[2],d=s[3],u={id:t+":"+a,css:r,media:l,sourceMap:d};i[o]?i[o].parts.push(u):n.push(i[o]={id:o,parts:[u]})}return n}n.d(e,{Z:()=>f});var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},o=a&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,d=!1,u=function(){},c=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,a){d=n,c=a||{};var o=i(t,e);return m(o),function(e){for(var n=[],a=0;a<o.length;a++){var r=o[a],l=s[r.id];l.refs--,n.push(l)}e?(o=i(t,e),m(o)):o=[];for(a=0;a<n.length;a++){l=n[a];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete s[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=s[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(v(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(v(n.parts[a]));s[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+p+'~="'+t.id+'"]');if(i){if(d)return u;i.parentNode.removeChild(i)}if(h){var a=l++;i=r||(r=g()),e=y.bind(null,i,a,!1),n=y.bind(null,i,a,!0)}else i=g(),e=_.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,a);else{var s=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function _(t,e){var n=e.css,i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),c.ssrId&&t.setAttribute(p,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var a=e[i];if(void 0!==a)return a.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}(()=>{n.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return n.d(e,{a:e}),e}})(),(()=>{n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}})(),(()=>{n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{n.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{n.p=""})();var i={};return(()=>{"use strict";if(n.r(i),n.d(i,{AVATAR_COLOR_MODIFIERS:()=>H,AVATAR_KIND_MODIFIERS:()=>j,AVATAR_SIZE_MODIFIERS:()=>F,BADGE_KIND_MODIFIERS:()=>X,BADGE_TYPE_MODIFIERS:()=>Y,BREADCRUMBS_INVERTED_MODIFIER:()=>ve,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>ge,BUTTON_GROUP_ALIGNMENT:()=>Re,CHIP_SIZE_MODIFIERS:()=>qd,COLOR_CODES:()=>Mc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>c,DESCRIPTION_SIZE_TYPES:()=>r,DtAvatar:()=>G,DtBadge:()=>dt,DtBanner:()=>he,DtBreadcrumbItem:()=>Le,DtBreadcrumbs:()=>Pe,DtButton:()=>Ut,DtButtonGroup:()=>je,DtCard:()=>We,DtCheckableInputMixin:()=>Jr,DtCheckbox:()=>Pd,DtCheckboxGroup:()=>Vd,DtChip:()=>Ud,DtCollapsible:()=>Di,DtCombobox:()=>pi,DtDropdown:()=>kr,DtDropdownList:()=>$r,DtDropdownSeparator:()=>jr,DtGroupableInputMixin:()=>tl,DtIcon:()=>st,DtInput:()=>sl,DtInputGroup:()=>pl,DtInputGroupMixin:()=>ll,DtInputMixin:()=>Qr,DtKeyboardListNavigationMixin:()=>Xe,DtKeyboardShortcut:()=>Fu,DtLazyShow:()=>Ii,DtLink:()=>Oe,DtListItem:()=>fn,DtListItemGroup:()=>Tl,DtListSection:()=>Il,DtModal:()=>_l,DtNotice:()=>Nl,DtPagination:()=>Kl,DtPopover:()=>Cr,DtRadio:()=>Xl,DtRadioGroup:()=>id,DtRecipeCallbarButton:()=>yc,DtRecipeCallbarButtonWithPopover:()=>Oc,DtRecipeComboboxMultiSelect:()=>hc,DtRecipeComboboxWithPopover:()=>oc,DtRecipeContactInfo:()=>Tc,DtRecipeGroupedChip:()=>dp,DtRecipeIvrNode:()=>ip,DtRecipeTopBannerInfo:()=>Vc,DtRootLayout:()=>tc,DtSelectMenu:()=>ou,DtSkeleton:()=>Xn,DtSkeletonListItem:()=>Gn,DtSkeletonParagraph:()=>Hn,DtSkeletonShape:()=>kn,DtSkeletonText:()=>Nn,DtTab:()=>_d,DtTabGroup:()=>fd,DtTabPanel:()=>Id,DtToast:()=>fu,DtToggle:()=>xu,DtTooltip:()=>Tu,DtValidationMessages:()=>Xr,INPUT_SIZES:()=>Kr,INPUT_TYPES:()=>Hr,IVR_NODE_BRANCH:()=>Gc,IVR_NODE_EXPERT:()=>zc,IVR_NODE_GO_TO:()=>Wc,IVR_NODE_HANGUP:()=>Zc,IVR_NODE_ICON_TYPES:()=>Yc,IVR_NODE_LABELS:()=>Xc,IVR_NODE_PROMPT_COLLECT:()=>Hc,IVR_NODE_PROMPT_MENU:()=>qc,IVR_NODE_PROMPT_PLAY:()=>Kc,IVR_NODE_TRANSFER:()=>Uc,LINK_KIND_MODIFIERS:()=>Kt,LINK_VARIANTS:()=>Ht,MODAL_KIND_MODIFIERS:()=>ml,MODAL_SIZE_MODIFIERS:()=>gl,MULTI_SELECT_SIZES:()=>dc,NOTICE_KINDS:()=>ft,POPOVER_CONTENT_WIDTHS:()=>nr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>tr,POPOVER_INITIAL_FOCUS_STRINGS:()=>ir,POPOVER_PADDING_CLASSES:()=>Jo,POPOVER_ROLES:()=>er,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Wu,SELECT_SIZE_MODIFIERS:()=>Xd,SELECT_STATE_MODIFIERS:()=>Qd,SHORTCUTS_ALIASES_LIST:()=>Bu,SHORTCUTS_ICON_ALIASES:()=>Mu,SHORTCUTS_ICON_SEPARATOR:()=>Ru,SKELETON_HEADING_HEIGHTS:()=>Cn,SKELETON_RIPPLE_DURATION:()=>yn,SKELETON_SHAPES:()=>_n,SKELETON_SHAPE_SIZES:()=>xn,SKELETON_TEXT_TYPES:()=>Sn,TAB_IMPORTANCE_MODIFIERS:()=>ud,TAB_LIST_IMPORTANCE_MODIFIERS:()=>dd,TAB_LIST_KIND_MODIFIERS:()=>ld,TAB_LIST_SIZES:()=>od,TOAST_ROLES:()=>du,TOOLTIP_DIRECTIONS:()=>Ou,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>ku,TOOLTIP_KIND_MODIFIERS:()=>Iu,TOOLTIP_STICKY_VALUES:()=>Eu,USER_STATUS_COLOR_MODIFIERS:()=>kc,VALIDATION_MESSAGE_TYPES:()=>o,filterFormattedMessages:()=>C,formatMessages:()=>x,getUniqueString:()=>S,getValidationState:()=>w,validationMessageValidator:()=>Gr}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-avatar",t.AVATAR_KIND_MODIFIERS[t.kind],t.AVATAR_SIZE_MODIFIERS[t.size],t.AVATAR_COLOR_MODIFIERS[t.color],t.avatarClass],attrs:{id:t.id,"data-qa":"dt-avatar"}},[t._t("default"),t.presence?n("dt-presence",t._b({class:["d-avatar__presence",t.AVATAR_PRESENCE_SIZE_MODIFIERS[t.size]],attrs:{presence:t.presence,"data-qa":"dt-presence"}},"dt-presence",t.presenceProps,!1)):t._e()],2)},s=[];const o={ERROR:"error",WARNING:"warning",SUCCESS:"success"},r={LARGE:"lg",EXTRA_LARGE:"xl"},l={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},d={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},u={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"},c=o.ERROR,p="dt",h=require("vue");var f=n.n(h);let m=0;const g="input:not([type=hidden]):not(:disabled)",v="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",b=`${g},${v}`,y=`a,frame,iframe,${b},*[tabindex]`,_="function"===typeof setImmediate?setImmediate:setTimeout;function S(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return`${t}${m++}`}function x(t){return t?t.map((t=>"string"===typeof t?{message:t,type:c}:t)):[]}function C(t){const e=w(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function w(t){return t?O(t,o.ERROR)?o.ERROR:O(t,o.WARNING)?o.WARNING:O(t,o.SUCCESS)?o.SUCCESS:null:null}function O(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function I(t){return null===t||void 0===t?void 0:t.querySelector(y)}const E={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(f())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},k=()=>new Promise((t=>{_(t)})),L=t=>t.toLowerCase().split("-").map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(""),D={getUniqueString:S,formatMessages:x,filterFormattedMessages:C,hasFormattedMessageOfType:O,getValidationState:w,htmlFragment:E,flushPromises:k,kebabCaseToPascalCase:L};var A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-presence",attrs:{"data-qa":"dt-presence",role:"status","aria-live":t.$attrs.ariaLive||"off"}},[t.srText?n("span",{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[t._v(t._s(t.srText)+" ")]):t._e(),n("div",{staticClass:"d-presence__inner",class:{"d-presence__inner--active":"active"===t.presence,"d-presence__inner--away":"away"===t.presence,"d-presence__inner--busy":"busy"===t.presence,"d-presence__inner--offline":"offline"===t.presence}})])},T=[];const P={BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},$=[P.BUSY,P.AWAY,P.OFFLINE,P.ACTIVE],M={name:"Presence",props:{presence:{type:String,default:P.ACTIVE,validator:t=>$.includes(t)},srText:{type:String,default:null}}},R=M;function B(t,e,n,i,a,s,o,r){var l,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):a&&(l=r?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(t,e){return l.call(e),u(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:d}}var N=B(R,A,T,!1,null,null,null);const V=N.exports,j={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},F={sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg"},q={md:"d-avatar__presence--md",lg:"d-avatar__presence--lg"},H={base:"","orange-200":"d-avatar--orange-200","orange-300":"d-avatar--orange-300","orange-400":"d-avatar--orange-400","orange-500":"d-avatar--orange-500","magenta-100":"d-avatar--magenta-100","magenta-200":"d-avatar--magenta-200","magenta-300":"d-avatar--magenta-300","magenta-400":"d-avatar--magenta-400","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-400":"d-avatar--purple-400","purple-500":"d-avatar--purple-500","gold-100":"d-avatar--gold-100","gold-200":"d-avatar--gold-200","gold-300":"d-avatar--gold-300","gold-500":"d-avatar--gold-500"},K={name:"DtAvatar",components:{DtPresence:V},inheritAttrs:!1,props:{id:{type:String,default(){return S()}},size:{type:String,default:"md",validator:t=>Object.keys(F).includes(t)},color:{type:String,default:"base",validator:t=>Object.keys(H).includes(t)},avatarClass:{type:[String,Array,Object],default:""},presence:{type:String,default:null},presenceProps:{type:Object,default:()=>({})}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:F,AVATAR_COLOR_MODIFIERS:H,AVATAR_KIND_MODIFIERS:j,AVATAR_PRESENCE_SIZE_MODIFIERS:q}},mounted(){this.init()},updated(){this.init()},methods:{init(){const t=this.$el.firstChild;t&&(this.setKind(t),"image"===this.kind&&t.classList.add("d-avatar__image"),this.validateImageAttrsPresence())},setKind(t){this.isSvgType(t)?this.kind="icon":this.isImageType(t)?this.kind="image":this.kind="initials"},isSvgType(t){var e;return"SVG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},isImageType(t){var e;return"IMG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},validateImageAttrsPresence(){"image"===this.kind&&(this.$el.firstChild.getAttribute("src")&&this.$el.firstChild.getAttribute("alt")||f().util.warn("src and alt attributes are required for image avatars",this))}}},z=K;var W=B(z,a,s,!1,null,null,null);const G=W.exports;var U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_TYPE_MODIFIERS[t.type],t.BADGE_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-badge"}},[t.iconLeft||"ai"===t.type?n("span",{staticClass:"d-badge__icon-left"},[n("dt-icon",{attrs:{name:t.iconLeft||"dialpad-ai",size:"200"}})],1):t._e(),n("span",{staticClass:"d-badge__label"},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2),t.iconRight?n("span",{staticClass:"d-badge__icon-right"},[n("dt-icon",{attrs:{name:t.iconRight,size:"200"}})],1):t._e()])},Z=[];const Y={default:"",info:"d-badge--info",success:"d-badge--success",warning:"d-badge--warning",critical:"d-badge--critical",bulletin:"d-badge--bulletin",ai:"d-badge--ai"},X={label:"",count:"d-badge--count"};var Q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.currentIcon,{tag:"component",class:t.iconSize,attrs:{"data-qa":"dt-icon","aria-hidden":t.ariaLabel?"false":"true","aria-label":t.ariaLabel}})},J=[];const tt={100:"d-icon--size-100",200:"d-icon--size-200",300:"d-icon--size-300",400:"d-icon--size-400",500:"d-icon--size-500",600:"d-icon--size-600",700:"d-icon--size-700",800:"d-icon--size-800"},et=require("@dialpad/dialtone-icons"),nt={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(tt).includes(t)},name:{type:String,required:!0},ariaLabel:{type:String,default:void 0}},data(){return{dialtoneIcons:et}},computed:{iconSize(){return tt[this.size]},iconName(){return L(this.name)},currentIcon(){return this.dialtoneIcons[this.iconName]}}},it=nt;var at=B(it,Q,J,!1,null,null,null);const st=at.exports,ot={name:"DtBadge",components:{DtIcon:st},props:{iconLeft:{type:String,default:""},iconRight:{type:String,default:""},text:{type:String,default:""},kind:{type:String,default:"label",validator:t=>Object.keys(X).includes(t)},type:{type:String,default:"default",validator:t=>Object.keys(Y).includes(t)}},data(){return{BADGE_TYPE_MODIFIERS:Y,BADGE_KIND_MODIFIERS:X}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){"ai"===this.type&&"count"===this.kind&&console.error("DtBadge error: type: 'ai' with kind: 'count' is an invalid combination.")}}},rt=ot;var lt=B(rt,U,Z,!1,null,null,null);const dt=lt.exports;var ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.bannerClass,style:t.bannerBackgroundImage,attrs:{role:t.role},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus.apply(null,arguments)}}},[n("div",{staticClass:"d-banner__dialog",class:t.dialogClass,attrs:{"aria-labelledby":t.titleId,"aria-describedby":t.contentId}},[t.hideIcon?t._e():n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)])},ct=[],pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.defaultIcon||t.$slots.default?n("div",{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[t._t("default",(function(){return[n("dt-icon",{attrs:{name:t.defaultIcon,size:"400"}})]}))],2):t._e()},ht=[];const ft=["base","error","info","success","warning"],mt=["alert","alertdialog","status"],gt=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),vt={name:"DtNoticeIcon",components:{DtIcon:st},props:{kind:{type:String,default:"base",validate(t){return ft.includes(t)}}},computed:{defaultIcon(){return gt.get(this.kind)}}},bt=vt;var yt=B(bt,pt,ht,!1,null,null,null);const _t=yt.exports;var St=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[t.title||t.$slots.titleOverride?n("p",{staticClass:"d-notice__title",attrs:{id:t.titleId,"data-qa":"notice-content-title"}},[t._t("titleOverride",(function(){return[t._v(" "+t._s(t.title)+" ")]}))],2):t._e(),n("p",{staticClass:"d-notice__message",attrs:{id:t.contentId,"data-qa":"notice-content-message"}},[t._t("default")],2)])},xt=[];const Ct={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},wt=Ct;var Ot=B(wt,St,xt,!1,null,null,null);const It=Ot.exports;var Et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[t._t("default"),t.hideClose?t._e():n("dt-button",t._g(t._b({ref:"closeButton",attrs:{"data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"200"}})]},proxy:!0}],null,!1,1154370889)},"dt-button",t.closeButtonProps,!1),t.noticeActionListeners)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],2)},kt=[],Lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:["base-button__button",t.buttonClasses()],style:{width:t.width},attrs:{"data-qa":"dt-button",type:t.type,disabled:t.disabled,"aria-live":t.computedAriaLive,"aria-label":t.loading?"loading":t.$attrs["aria-label"]}},t.buttonListeners),[t.shouldRenderIcon()?n("span",{class:["base-button__icon","d-btn__icon",t.ICON_POSITION_MODIFIERS[t.iconPosition]],attrs:{"data-qa":"dt-button-icon"}},[t._t("icon")],2):t._e(),t.$slots.default?n("span",{class:["d-w100p","d-btn__label","base-button__label",t.labelClass],attrs:{"data-qa":"dt-button-label"}},[t._t("default")],2):t._e()])},Dt=[];const At={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Tt={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Pt={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},$t=["submit","reset","button"],Mt={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},Rt=[{circle:!0,kind:"default",importance:"primary",message:Bt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Bt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Bt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Bt(!1,"muted","primary")}];function Bt(t,e,n){return`You cannot have a ${t?"circle ":""}button with kind: ${e} and importance: ${n} as it does not exist in our design system. See https://dialpad.design/components/button.html for a list of available button styles`}const Nt="danger",Vt="warning",jt="success",Ft="muted",qt="inverted",Ht=["",Nt,Vt,jt,Ft,qt],Kt={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},zt={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(Mt).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Pt).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(Kt).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>$t.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(At).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(Tt).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:Mt,isInFocus:!1}},computed:{buttonListeners(){return this.assertiveOnFocus?{...this.$listeners,focusin:t=>{this.isInFocus=!0},focusout:t=>{this.isInFocus=!1}}:this.$listeners},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){}}},methods:{buttonClasses(){return this.link?["d-link",Kt[this.linkKind],At[this.size]]:["d-btn",Pt[this.importance],Tt[this.kind],At[this.size],{"d-btn--circle":this.circle,"d-btn--loading":this.loading,"d-btn--icon-only":this.isIconOnly(),"d-btn--vertical":this.isVerticalIconLayout(),"d-btn--active":this.active}]},isInvalidPropCombination(t,e,n){for(const i of Rt)if(t===i.circle&&e===i.kind&&n===i.importance)return console.error(i.message),!1;return!0},shouldRenderIcon(){return this.$slots.icon&&!this.link},isIconOnly(){return this.shouldRenderIcon()&&!this.$slots.default},isVerticalIconLayout(){return this.shouldRenderIcon()&&!this.isIconOnly()&&["top","bottom"].includes(this.iconPosition)}}},Wt=zt;var Gt=B(Wt,Lt,Dt,!1,null,null,null);const Ut=Gt.exports,Zt={props:{visuallyHiddenClose:{type:Boolean,default:!1},visuallyHiddenCloseLabel:{type:String,default:null}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateVisuallyHiddenCloseProps()}}},computed:{showVisuallyHiddenClose(){return this.visuallyHiddenClose&&null!=this.visuallyHiddenCloseLabel}},methods:{validateVisuallyHiddenCloseProps(){this.visuallyHiddenClose&&!this.visuallyHiddenCloseLabel&&console.error("If visuallyHiddenClose prop is true, the component includes\n a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.")}}};var Yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-button",{staticClass:"d-vi-visible-sr",attrs:{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button","aria-label":t.visuallyHiddenCloseLabel},on:{click:t.close,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),e.stopPropagation(),t.close.apply(null,arguments))}}},[n("dt-icon",{attrs:{name:"close"}})],1)},Xt=[];const Qt={name:"SrOnlyCloseButton",components:{DtIcon:st,DtButton:Ut},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},Jt=Qt;var te=B(Jt,Yt,Xt,!1,null,null,null);const ee=te.exports,ne={name:"DtNoticeAction",components:{DtIcon:st,DtButton:Ut,SrOnlyCloseButton:ee},mixins:[Zt],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeActionListeners(){return{...this.$listeners,click:t=>{this.close(),this.$emit("click",t)}}}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},created(){this.hideClose||this.closeButtonProps.ariaLabel||console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeDestroy(){var t;null===(t=this.lastFocusedElement)||void 0===t||t.focus()},methods:{close(){this.$emit("close")},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props need to be set so the component always includes a close button")}}},ie=ne;var ae=B(ie,Et,kt,!1,null,null,null);const se=ae.exports,oe=':not(:disabled):not([aria-disabled="true"])',re=`${oe}:not([tabindex="-1"])`,le="button,[href],input,select,textarea,details,[tabindex]",de={methods:{async focusFirstElement(t){await this.$nextTick();const e=this._getFocusableElements(t,!0),n=this._getFirstFocusElement(e);null===n||void 0===n||n.focus({preventScroll:!0})},_getFirstFocusElement(t){if(!t.length)return;let e=t[0];return e.matches('[type="radio"]:not(:checked)')&&(e=t.find((t=>t.checked&&t.name===e.name))||e),e},_getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[...t.querySelectorAll(le)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?oe:re)}))},focusTrappedTabPress(t,e){const n="Tab"===t.key;if(!n)return;const i=this._getFocusableElements(e);if(!i.length)return void t.preventDefault();const a=this._getFirstFocusElement(i),s=i[i.length-1];t.shiftKey?document.activeElement===a&&(s.focus(),t.preventDefault()):document.activeElement===s&&(a.focus(),t.preventDefault())}}},ue={name:"DtBanner",components:{DtNoticeIcon:_t,DtNoticeContent:It,DtNoticeAction:se},mixins:[de,Zt],props:{titleId:{type:String,default(){return D.getUniqueString()}},contentId:{type:String,default(){return D.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return ft.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},hideIcon:{type:Boolean,default:!1},dialogClass:{type:String,default:""},backgroundImage:{type:String,default:""},backgroundSize:{type:String,default:"cover"}},emits:["close"],computed:{role(){return this.important?"alertdialog":"status"},bannerClass(){const t={error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"};return["d-banner",t[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]},bannerBackgroundImage(){return""===this.backgroundImage?null:`background-image: url(${this.backgroundImage});\n background-size: ${this.backgroundSize};`}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(t){this.important&&this.focusTrappedTabPress(t)}}},ce=ue;var pe=B(ce,ut,ct,!1,null,null,null);const he=pe.exports;var fe=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("nav",{class:["d-breadcrumbs",(t={},t[e.BREADCRUMBS_INVERTED_MODIFIER]=e.inverted,t)],attrs:{"aria-label":e.ariaLabel,"data-qa":"dt-breadcrumbs"}},[i("ol",[e._t("default",(function(){return e._l(e.breadcrumbs,(function(t,n){return i("dt-breadcrumb-item",e._g(e._b({key:e.getBreadcrumbItemKey(n),attrs:{inverted:e.inverted}},"dt-breadcrumb-item",t,!1),e.$listeners))}))}))],2)])},me=[];const ge="d-breadcrumbs__item--selected",ve="d-breadcrumbs--inverted";var be=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("li",{class:["d-breadcrumbs__item",(t={},t[e.BREADCRUMB_ITEM_SELECTED_MODIFIER]=e.selected,t)],attrs:{"data-qa":"dt-breadcrumb-item"}},[i("dt-link",e._b({attrs:{kind:e.linkKind,"aria-current":e.ariaCurrent,"data-qa":"breadcrumb-item"}},"dt-link",e.$attrs,!1),[e._t("default",(function(){return[e._v(" "+e._s(e.label)+" ")]}))],2)],1)},ye=[],_e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",t._g({class:["d-link",t.LINK_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-link"}},t.$listeners),[t._t("default")],2)},Se=[];const xe={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Ht.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:Kt}}},Ce=xe;var we=B(Ce,_e,Se,!1,null,null,null);const Oe=we.exports,Ie={name:"DtBreadcrumbItem",components:{DtLink:Oe},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:ge}},computed:{linkKind(){return this.inverted?qt:Ft},ariaCurrent(){return this.selected?"location":void 0}}},Ee=Ie;var ke=B(Ee,be,ye,!1,null,null,null);const Le=ke.exports,De={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Le},props:{breadcrumbs:{type:Array,default:()=>[],validate(t){return t.every((t=>{let{href:e,label:n}=t;return void 0!==e&&void 0!==n}))}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:ve}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${D.getUniqueString()}`}}},Ae=De;var Te=B(Ae,fe,me,!1,null,null,null);const Pe=Te.exports;var $e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-btn-group",t.BUTTON_GROUP_ALIGNMENT[t.alignment]],attrs:{role:"group"}},[t._t("default")],2)},Me=[];const Re={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Be={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Re).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Re}}},Ne=Be;var Ve=B(Ne,$e,Me,!1,null,null,null);const je=Ve.exports;var Fe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-card",t.containerClass],attrs:{"data-qa":"dt-card"}},[t.$slots.header?n("div",{class:["d-card__header",t.headerClass]},[t._t("header")],2):t._e(),n("div",{class:["d-card__content",t.contentClass],style:{"max-height":t.maxHeight}},[t._t("content")],2),t.$slots.footer?n("div",{class:["d-card__footer",t.footerClass]},[t._t("footer")],2):t._e()])},qe=[];const He={name:"DtCard",props:{maxHeight:{type:String,default:null},containerClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""}}},Ke=He;var ze=B(Ke,Fe,qe,!1,null,null,null);const We=ze.exports;var Ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.stopPropagation(),t.onKeyValidation(e,"onEscapeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onKeyValidation(e,"onEnterKey")},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onUpKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onDownKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"home",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onHomeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"end",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onEndKey"))}]}},[n("div",{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[t._t("input",null,{inputProps:t.inputProps})],2),t.showList?n("div",{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,focusout:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t.loading&&!t.listRenderedOutside?n("combobox-loading-list",t._b({},"combobox-loading-list",t.listProps,!1)):t.emptyList&&(t.emptyStateMessage||t.$slots.emptyListItem)&&!t.listRenderedOutside?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage,"item-class":t.emptyStateClass}},"combobox-empty-list",t.listProps,!1),[t._t("emptyListItem")],2):t._t("list",null,{listProps:t.listProps,opened:t.onOpen,clearHighlightIndex:t.clearHighlightIndex})],2):t._e()])},Ue=[];const Ze={methods:{scrollElementIntoViewIfNeeded(t,e,n,i){t.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(t,e,n,i):this.scrollIntoView(t,"bottom",!1,n,i)},scrollElementIntoView(t,e,n,i){"center"!==e?!1===e?this.scrollIntoView(t,"bottom",!1,n,i):this.scrollIntoView(t,"top",!1,n,i):this.scrollIntoView(t,"center",!1,n,i)},scrollIntoViewIfNeeded(t,e,n,i){const a=e?"center":void 0;this.scrollIntoView(t,a,!0,n,i)},scrollIntoView(t,e,n,i,a){if(!t||!t.parentElement)return;const s=t.offsetTop,o=a||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=s+d;let c=-1;switch(e){case"top":c=s;break;case"center":c=s+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=s-r.top<=l/2?s:u-l;break}this._setScrollTop(o,c,r,s,u,n,i)},_setScrollTop(t,e,n,i,a,s,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(s&&this._inScrollBounds(i,a,n))if(i<n.top)e=i;else{if(!(a>n.bottom))return;e=a-r}o?t.scrollTo({top:e,behavior:o}):t.scrollTop=e},_getElementHeight(t){return t.getBoundingClientRect().height},_getScrollBounds(t){const e=this._getElementHeight(t),n=t.scrollTop;return{top:n,bottom:n+e}},_inScrollBounds(t,e,n){const i=e-t;return e<=n.bottom+3*i/4&&t>=n.top-i/4}}},Ye="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Xe=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:a="",openMethod:s=null,afterHighlightMethod:o=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:d=!0,focusOnKeyboardNavigation:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[Ze],data(){return{[e]:-1,[n]:"",scrollToOnHighlight:d,focusOnKeyboardNavigation:u}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var t;return(null===(t=this[i]())||void 0===t?void 0:t.$el)||this[i]()},_itemsLength(){const t=this._getListItemNodes();return null===t?0:t.length},_getListItemNodes(){const e=this._getListElement();return e?Array.from(e.querySelectorAll(`[role="${t}"], #sr-only-close-button`)):(console.error(Ye,e),null)},onUpKey(){s&&this[s](!0),this[e]>0?this.setHighlightIndex(this[e]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){s&&this[s](!0),this[e]<this._itemsLength()-1?this.setHighlightIndex(this[e]+1):l&&this[l](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(t){const n=this._getListItemNodes(),i=n.filter((e=>{const n=e.textContent.trim().toLowerCase();return n.startsWith(t.toLowerCase())}));if(i.length<=0)return;const a=i.findIndex((t=>this[e]===n.indexOf(t))),s=n.indexOf(a<i.length-1?i[a+1]:i[0]);this.setHighlightIndex(s),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidCharacter(t){return 1===t.length},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(t){this[e]=t,this[n]=this._getItemId(t),this._itemsLength()&&o&&this[o](t)},setHighlightId(t){this[n]=t,this[e]=this._getItemIndex(t),this._itemsLength()&&o&&this[o](this._getItemIndex(t))},_getItemIndex(e){const n=this._getListElement();if(!n)return;const i=Array.from(n.querySelectorAll(`[role="${t}"], #sr-only-close-button`));return i.indexOf(n.querySelector(`#${e}`))},_getItemId(e){var n;const i=this._getListElement();if(i)return null===(n=i.querySelectorAll(`[role="${t}"], #sr-only-close-button`)[e])||void 0===n?void 0:n.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const t=this[a];if(t){const e=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,e)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[a];t&&t.focus()}}}};var Qe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0 d-mt8 d-hmx332 d-of-y-auto",attrs:{"aria-busy":"true"}},t._l(7,(function(t){return n("dt-list-item",{key:t,attrs:{role:"option","navigation-type":"none"}},[n("dt-skeleton",{attrs:{"text-option":{type:"body"},offset:0}})],1)})),1)},Je=[],tn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({tag:"component",class:["dt-list-item d-ls-none",{"dt-list-item--focusable":t.isFocusable,"dt-list-item--highlighted":t.isHighlighted,"dt-list-item--static":!t.isHoverable}],attrs:{id:t.id,tabindex:t.isFocusable?0:-1,role:t.role,"aria-selected":t.isHighlighted}},t.listItemListeners),[t.listItemType?n(t.listItemType,{tag:"component",scopedSlots:t._u([t._l(t.$slots,(function(e,n){return{key:n,fn:function(){return[t._t(n)]},proxy:!0}}))],null,!0)}):t._t("default")],2)},en=[];const nn={DEFAULT:"default",CUSTOM:"custom"},an={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs-200 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[t.$slots.left?n("section",{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[t._t("left")],2):t._e(),n("section",{staticClass:"d-fl-grow1 d-of-hidden"},[t.$slots.default?n("div",[t._t("default")],2):t._e(),t.$slots.subtitle?n("div",{class:["d-fs-100 d-fc-black-600",{"d-mtn2":t.$slots.default}],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[t._t("subtitle")],2):t._e(),t.$slots.bottom?n("div",{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[t._t("bottom")],2):t._e()]),t.$slots.right?n("section",{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[t._t("right")],2):t._e()])},on=[];const rn={name:"DefaultListItem"},ln=rn;n(357);var dn=B(ln,sn,on,!1,null,null,null);const un=dn.exports,cn={name:"ListItem",components:{DtDefaultListItem:un},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return D.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:nn.DEFAULT,validator:t=>Object.values(nn).includes(t)},navigationType:{type:String,default:an.NONE,validator:t=>Object.values(an).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case nn.DEFAULT:return un;default:return null}},listItemListeners(){return{...this.$listeners,keydown:t=>{["enter","space"].includes(t.code.toLowerCase())&&this.onClick(t),this.$emit("keydown",t)},mousemove:t=>{this.onMouseHover(t),this.$emit("mousemove",t)},mouseleave:t=>{this.onMouseLeave(t),this.$emit("mouseleave",t)}}},isHighlighted(){return!!this.isHoverable&&(this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted)},isFocusable(){return this.navigationType===an.TAB},isHoverable(){return this.navigationType!==an.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},pn=cn;n(759);var hn=B(pn,tn,en,!1,null,null,null);const fn=hn.exports;var mn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{"aria-busy":"true",role:"status","aria-label":t.ariaLabel}},[t.listItemOption?n("dt-skeleton-list-item",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-list-item",!0===t.listItemOption?{}:t.listItemOption,!1)):t.shapeOption?n("dt-skeleton-shape",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-shape",!0===t.shapeOption?{}:t.shapeOption,!1)):t.paragraphOption?n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",!0===t.paragraphOption?{}:t.paragraphOption,!1)):n("dt-skeleton-text",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-text",t.textOption||{},!1))],1)},gn=[],vn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"skeleton",class:["skeleton-placeholder",t.SKELETON_SHAPES[t.shape],{"skeleton-placeholder--animate":t.animate},t.contentClass],style:t.shapeStyles,attrs:{"data-qa":"skeleton-shape"}})},bn=[];const yn=3e6,_n={circle:"d-bar-circle",square:"d-bar2"},Sn=["body","heading"],xn={sm:"24px",md:"32px",lg:"48px"},Cn={sm:"d-h16",md:"d-h24",lg:"d-h32"},wn={computed:{skeletonOffset(){const t=this.$refs.skeleton;if(!t)return this.offset;const{top:e,height:n}=t.getBoundingClientRect();return e+n/2},skeletonStyle(){const t={};if(-1===this.skeletonOffset||!this.animate&&-1===this.animationDuration)return t;const e=this.skeletonOffset*yn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},On={name:"DtSkeletonShape",mixins:[wn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(_n).includes(t)},size:{type:String,default:"md"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},contentClass:{type:[String,Object,Array],default:""}},data(){return{SKELETON_SHAPES:_n}},computed:{shapeStyles(){const t=xn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},In=On;var En=B(In,vn,bn,!1,null,null,null);const kn=En.exports;var Ln=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-d-flex",{"d-ai-center":1===t.paragraphs.rows},t.contentClass],attrs:{"data-qa":"skeleton-list-item"}},[n("dt-skeleton-shape",{staticClass:"d-mr8",attrs:{size:t.shapeSize,shape:t.shape,"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset,"content-class":t.shapeClass}}),n("div",{staticClass:"d-d-flex d-fd-column d-w100p"},[n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",t.paragraphs,!1))],1)],1)},Dn=[],An=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-w100p",t.contentClass],attrs:{contentClass:"","data-qa":"skeleton-paragraph"}},t._l(t.integerRows,(function(e){return n("dt-skeleton-text",{key:e,class:[{"d-mb12":e!==t.integerRows}],attrs:{"data-qa":"skeleton-paragraph-row","content-class":t.rowClass,animate:t.animate,offset:t.offset,"animation-duration":t.animationDuration,width:t.getSizeParagraphRow(e)}})})),1)},Tn=[],Pn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return"body"===t.type?n("div",{ref:"skeleton",class:["d-h8","d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-body"}}):"heading"===t.type?n("div",{ref:"skeleton",class:[t.SKELETON_HEADING_HEIGHTS[t.headingHeight],"d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-heading"}}):t._e()},$n=[];const Mn={name:"DtSkeletonText",mixins:[wn],props:{type:{type:String,default:"body",validator:t=>Sn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(Cn).includes(t)},width:{type:String,default:"100%"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!1},offset:{type:Number,default:1},contentClass:{type:String,default:""}},data(){return{SKELETON_HEADING_HEIGHTS:Cn}}},Rn=Mn;var Bn=B(Rn,Pn,$n,!1,null,null,null);const Nn=Bn.exports,Vn=t=>""!==t&&!Number.isNaN(Number(t)),jn={name:"DtSkeletonParagraph",components:{DtSkeletonText:Nn},props:{rows:{type:[Number,String],default:3,validator:Vn},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Vn},maxWidth:{type:[Number,String],default:100,validator:Vn},width:{type:[String,Array],default:null},randomWidth:{type:Boolean,default:!1},offset:{type:Number,default:1},animationDuration:{type:Number,default:-1},contentClass:{type:String,default:""},rowClass:{type:String,default:""}},computed:{integerRows(){return Number(this.rows)}},methods:{randomWidthPercentage(){const t=Math.min(this.minWidth,this.maxWidth),e=Math.max(this.minWidth,this.maxWidth);return`${Math.round(Math.random()*(e-t))+t}%`},getSizeParagraphRow(t){const e=this.width,n=Array.isArray(e),i=null===e||void 0===e?void 0:e[t-1],a=t===this.rows;return this.randomWidth?this.randomWidthPercentage():e&&!n?e:e&&n&&i?i:a?"38%":"100%"}}},Fn=jn;var qn=B(Fn,An,Tn,!1,null,null,null);const Hn=qn.exports,Kn={name:"DtSkeletonListItem",components:{DtSkeletonShape:kn,DtSkeletonParagraph:Hn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(_n).includes(t)},shapeSize:{type:String,default:"md"},paragraphs:{type:Object,default:()=>({rows:3,randomWidth:!0})},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},shapeClass:{type:String,default:""},contentClass:{type:String,default:""}}},zn=Kn;var Wn=B(zn,Ln,Dn,!1,null,null,null);const Gn=Wn.exports,Un={name:"DtSkeleton",components:{DtSkeletonText:Nn,DtSkeletonShape:kn,DtSkeletonListItem:Gn,DtSkeletonParagraph:Hn},props:{paragraphOption:{type:[Object,Boolean],default:null},listItemOption:{type:[Object,Boolean],default:null},textOption:{type:Object,default:null},shapeOption:{type:[Object,Boolean],default:null},animationDuration:{type:Number,default:-1},ariaLabel:{type:String,default:""},animate:{type:Boolean,default:!0},offset:{type:Number,default:1}},computed:{validationOptions(){return{paragraphOption:this.paragraphOption,listItemOption:this.listItemOption,textOption:this.textOption,shapeOption:this.shapeOption}}},watch:{$props:{immediate:!0,handler:"validator"}},methods:{validator(){const t=Object.entries(this.validationOptions).filter((t=>{let[e,n]=t;return n}));if(t.length>=2){const e=`Use only one of ${t.map((t=>{let[e]=t;return e})).join(" | ")} options at the same time`;console.error(e)}}}},Zn=Un;n(859);var Yn=B(Zn,mn,gn,!1,null,null,null);const Xn=Yn.exports,Qn={name:"ComboboxLoadingList",components:{DtListItem:fn,DtSkeleton:Xn}},Jn=Qn;var ti=B(Jn,Qe,Je,!1,null,null,null);const ei=ti.exports;var ni=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0",attrs:{"data-qa":"dt-combobox-empty-list"}},[t._t("default",(function(){return[n("dt-list-item",{class:["dt-empty-list-item",t.itemClass],attrs:{role:"option","navigation-type":"none",type:"custom"}},[n("span",[t._v(t._s(t.message))])])]}))],2)},ii=[];const ai={name:"ComboboxEmptyList",components:{DtListItem:fn},props:{message:{type:String,required:!0},itemClass:{type:[String,Object,Array],default:""}}},si=ai;n(750);var oi=B(si,ni,ii,!1,null,null,null);const ri=oi.exports,li={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},di={name:"DtCombobox",components:{ComboboxLoadingList:ei,ComboboxEmptyList:ri},mixins:[Xe({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(li).includes(t)},description:{type:String,default:""},listId:{type:String,default(){return S()}},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},showList:{type:Boolean,default:!1},listRenderedOutside:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""},emptyStateClass:{type:[String,Object,Array],default:""},clickOnSelect:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{label:this.label,labelVisible:this.labelVisible,size:this.size,description:this.description,role:"combobox","aria-label":this.label,"aria-expanded":this.showList.toString(),"aria-owns":this.listId,"aria-haspopup":"listbox","aria-activedescendant":this.activeItemId,"aria-controls":this.listId}},listProps(){return{role:"listbox",id:this.listId,class:"d-ps-relative","aria-label":this.label}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemId(){if(!(!this.showList||this.highlightIndex<0||this.loading))return this.highlightId},activeItemEl(){return this.highlightId?this.getListElement().querySelector("#"+this.highlightId):""}},watch:{showList(t){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",t)),!t&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)},loading(t){this.$nextTick((()=>{this.setInitialHighlightIndex()}))},$props:{deep:!0,immediate:!0,handler(){this.validateEmptyListProps()}}},created(){this.validateEmptyListProps()},methods:{onMouseHighlight(t){if(this.loading)return;const e=t.target.closest("li");e&&this.highlightId!==e.id&&this.setHighlightId(e.id)},getListElement(){var t,e;return null!==(t=this.outsideRenderedListRef)&&void 0!==t?t:null===(e=this.$refs.listWrapper)||void 0===e?void 0:e.querySelector(`#${this.listId}`)},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.loading||this.$emit("highlight",this.highlightIndex)},onEnterKey(){var t;this.loading||this.emptyList||this.highlightIndex>=0&&(this.$emit("select",this.highlightIndex),this.clickOnSelect&&(null===(t=this.activeItemEl)||void 0===t||t.click()))},onEscapeKey(){this.$emit("escape")},onOpen(t,e){var n;this.outsideRenderedListRef=e,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",t),t&&this.setInitialHighlightIndex()},onKeyValidation(t,e){this.showList&&this.getListElement()&&this[e](t)},setInitialHighlightIndex(){this.showList&&this.$nextTick((()=>{this.setHighlightIndex(this.loading?-1:0)}))},validateEmptyListProps(){this.$slots.emptyListItem||(this.emptyList&&!this.emptyStateMessage||!this.emptyList&&this.emptyStateMessage)&&console.error("Invalid props: you must pass both props emptyList and emptyStateMessage to show the\n empty message.")}}},ui=di;var ci=B(ui,Ge,Ue,!1,null,null,null);const pi=ci.exports;var hi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({ref:"collapsible",tag:"component"},t.$listeners),[n("div",{ref:"anchor",class:["d-dt-collapsibe__anchor",t.anchorClass],attrs:{id:!t.ariaLabelledBy&&t.labelledBy}},[t._t("anchor",(function(){return[n("dt-button",{style:{width:t.maxWidth},attrs:{importance:"clear",kind:"muted","aria-controls":t.id,"aria-expanded":""+t.isOpen,"aria-label":t.ariaLabel},on:{click:t.defaultToggleOpen}},[n("dt-icon",{staticClass:"d-icon d-icon--size-300 d-mr8 d-fl-shrink0",attrs:{name:t.isOpen?"chevron-down":"chevron-right"}}),n("span",{staticClass:"d-mr-auto d-truncate",attrs:{title:t.anchorText}},[t._v(" "+t._s(t.anchorText)+" ")])],1)]}),{attrs:{"aria-controls":t.id,"aria-expanded":t.isOpen.toString(),role:"button"}})],2),n("dt-collapsible-lazy-show",t._g({ref:"contentWrapper",class:["d-dt-collapsible__content",t.contentClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,"aria-hidden":""+(!t.isOpen&&!t.hasContentOnCollapse),"aria-labelledby":t.labelledBy,"is-expanded":t.isOpen,"element-type":t.contentElementType,tabindex:"-1",appear:""},scopedSlots:t._u([{key:"contentOnExpanded",fn:function(){return[t._t("contentOnExpanded")]},proxy:!0},{key:"contentOnCollapsed",fn:function(){return[t._t("contentOnCollapsed")]},proxy:!0}],null,!0)},t.$listeners))],1)},fi=[],mi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{appear:t.appear,mode:"out-in","enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},t.$listeners),[t.isExpanded&&t.$slots.contentOnExpanded?n(t.elementType,t._g({key:"onOpen",tag:"component"},t.$listeners),[t._t("contentOnExpanded")],2):!t.isExpanded&&t.$slots.contentOnCollapsed?n(t.elementType,t._g({key:"onClose",tag:"component"},t.$listeners),[t._t("contentOnCollapsed")],2):t._e()],1)},gi=[];const vi={name:"DtCollapsibleLazyShow",props:{isExpanded:{type:Boolean,default:null},appear:{type:Boolean,default:!1},elementType:{type:String,default:"div"}},methods:{beforeEnter(t){requestAnimationFrame((()=>{t.style.height||(t.style.height="0px"),t.style.display=null}))},enter(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height=`${t.scrollHeight}px`}))}))},afterEnter(t){t.style.height=null},beforeLeave(t){requestAnimationFrame((()=>{t.style.height||(t.style.height=`${t.offsetHeight}px`)}))},leave(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height="0px"}))}))},afterLeave(t){t.style.height=null}}},bi=vi;n(124);var yi=B(bi,mi,gi,!1,null,null,null);const _i=yi.exports;var Si=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear}},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)])},xi=[];const Ci={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}}},wi=Ci;var Oi=B(wi,Si,xi,!1,null,null,null);const Ii=Oi.exports,Ei={name:"DtCollapsible",components:{DtButton:Ut,DtCollapsibleLazyShow:_i,DtLazyShow:Ii,DtIcon:st},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return S()}},elementType:{type:String,default:"div"},contentElementType:{type:String,default:"div"},anchorClass:{type:[String,Array,Object],default:null},contentClass:{type:[String,Array,Object],default:null},maxWidth:{type:String,default:null},maxHeight:{type:String,default:null},ariaLabel:{type:String,default:null},ariaLabelledBy:{type:String,default:null}},emits:["update:open","opened"],data(){return{isOpen:!0}},computed:{labelledBy(){return this.ariaLabelledBy||!this.ariaLabel&&S("DtCollapsible__anchor")},hasContentOnCollapse(){return!!this.$slots.contentOnCollapsed}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},created(){this.validateProperAnchor()},methods:{defaultToggleOpen(){this.$emit("opened",!this.isOpen),null===this.open?this.isOpen=!this.isOpen:this.$emit("update:open",!this.isOpen)},validateProperAnchor(){this.anchorText||this.$scopedSlots.anchor||console.error("anchor text and anchor slot content cannot both be falsy")}}},ki=Ei;var Li=B(ki,hi,fi,!1,null,null,null);const Di=Li.exports;var Ai=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-popover",t._g({ref:"popover",attrs:{"content-width":t.contentWidth,open:t.open,placement:t.placement,"initial-focus-element":t.openedWithKeyboard?"first":"dialog","fallback-placements":t.fallbackPlacements,padding:"none",role:"menu",modal:t.modal,"max-height":t.maxHeight,"max-width":t.maxWidth,"open-with-arrow-keys":!0,"open-on-context":t.openOnContext},scopedSlots:t._u([{key:"anchor",fn:function(e){var n=e.attrs;return[t._t("anchor",null,null,n)]}},{key:"content",fn:function(e){var i=e.close;return[n("ul",{ref:"listWrapper",class:t.listClasses,attrs:{id:t.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t._t("list",null,{close:i}),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel,tabindex:t.isArrowKeyNav?-1:0},on:{close:i}}):t._e()],2)]}}],null,!0)},t.dropdownListeners))},Ti=[],Pi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.modal&&t.isOpen?n("portal",[n("div",{staticClass:"d-modal--transparent",attrs:{"aria-hidden":t.modal&&t.isOpen?"false":"true"},on:{click:function(t){t.preventDefault(),t.stopPropagation()}}})]):t._e(),n(t.elementType,t._g({ref:"popover",tag:"component",class:["d-popover",{"d-popover__anchor--opened":t.isOpen}],attrs:{"data-qa":"dt-popover-container"}},t.$listeners),[n("div",{ref:"anchor",attrs:{id:!t.ariaLabelledby&&t.labelledBy,"data-qa":"dt-popover-anchor",tabindex:t.openOnContext?0:void 0},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},contextmenu:t.onContext,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))}],wheel:function(e){return t.isOpen&&t.modal&&e.preventDefault()},"!keydown":function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"escape",void 0,e.key,void 0)?null:t.closePopover.apply(null,arguments)}}},[t._t("anchor",null,{attrs:{"aria-expanded":t.isOpen.toString(),"aria-controls":t.id,"aria-haspopup":t.role}})],2),n("dt-lazy-show",t._g({ref:"content",class:["d-popover__dialog",{"d-popover__dialog--modal":t.modal},t.dialogClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,role:t.role,"data-qa":"dt-popover","aria-hidden":""+!t.isOpen,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,"aria-modal":""+!t.modal,transition:t.transition,show:t.isOpen,tabindex:t.contentTabindex,appear:""}},t.popoverListeners),[t.$slots.headerContent||t.showCloseButton?n("popover-header-footer",{ref:"popover__header",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{"content-class":t.headerClass,type:"header","show-close-button":t.showCloseButton,"close-button-props":t.closeButtonProps},on:{close:t.closePopover},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("headerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),n("div",{ref:"popover__content",class:["d-popover__content",t.POPOVER_PADDING_CLASSES[t.padding],t.contentClass],attrs:{"data-qa":"dt-popover-content"}},[t._t("content",null,{close:t.closePopover})],2),t.$slots.footerContent?n("popover-header-footer",{ref:"popover__footer",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{type:"footer","content-class":t.footerClass},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("footerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.closePopover}}):t._e()],1)],1)],1)},$i=[];function Mi(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,a=1;return{width:n.width/i,height:n.height/a,top:n.top/a,right:n.right/i,bottom:n.bottom/a,left:n.left/i,x:n.left/i,y:n.top/a}}function Ri(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Bi(t){var e=Ri(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Ni(t){var e=Ri(t).Element;return t instanceof e||t instanceof Element}function Vi(t){var e=Ri(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function ji(t){if("undefined"===typeof ShadowRoot)return!1;var e=Ri(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Fi(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function qi(t){return t!==Ri(t)&&Vi(t)?Fi(t):Bi(t)}function Hi(t){return t?(t.nodeName||"").toLowerCase():null}function Ki(t){return((Ni(t)?t.ownerDocument:t.document)||window.document).documentElement}function zi(t){return Mi(Ki(t)).left+Bi(t).scrollLeft}function Wi(t){return Ri(t).getComputedStyle(t)}function Gi(t){var e=Wi(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function Ui(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function Zi(t,e,n){void 0===n&&(n=!1);var i=Vi(e),a=Vi(e)&&Ui(e),s=Ki(e),o=Mi(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Hi(e)||Gi(s))&&(r=qi(e)),Vi(e)?(l=Mi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=zi(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function Yi(t){var e=Mi(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Xi(t){return"html"===Hi(t)?t:t.assignedSlot||t.parentNode||(ji(t)?t.host:null)||Ki(t)}function Qi(t){return["html","body","#document"].indexOf(Hi(t))>=0?t.ownerDocument.body:Vi(t)&&Gi(t)?t:Qi(Xi(t))}function Ji(t,e){var n;void 0===e&&(e=[]);var i=Qi(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=Ri(i),o=a?[s].concat(s.visualViewport||[],Gi(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(Ji(Xi(o)))}function ta(t){return["table","td","th"].indexOf(Hi(t))>=0}function ea(t){return Vi(t)&&"fixed"!==Wi(t).position?t.offsetParent:null}function na(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&Vi(t)){var i=Wi(t);if("fixed"===i.position)return null}var a=Xi(t);while(Vi(a)&&["html","body"].indexOf(Hi(a))<0){var s=Wi(a);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return a;a=a.parentNode}return null}function ia(t){var e=Ri(t),n=ea(t);while(n&&ta(n)&&"static"===Wi(n).position)n=ea(n);return n&&("html"===Hi(n)||"body"===Hi(n)&&"static"===Wi(n).position)?e:n||na(t)||e}var aa="top",sa="bottom",oa="right",ra="left",la="auto",da=[aa,sa,oa,ra],ua="start",ca="end",pa="clippingParents",ha="viewport",fa="popper",ma="reference",ga=da.reduce((function(t,e){return t.concat([e+"-"+ua,e+"-"+ca])}),[]),va=[].concat(da,[la]).reduce((function(t,e){return t.concat([e,e+"-"+ua,e+"-"+ca])}),[]),ba="beforeRead",ya="read",_a="afterRead",Sa="beforeMain",xa="main",Ca="afterMain",wa="beforeWrite",Oa="write",Ia="afterWrite",Ea=[ba,ya,_a,Sa,xa,Ca,wa,Oa,Ia];function ka(t){var e=new Map,n=new Set,i=[];function a(t){n.add(t.name);var s=[].concat(t.requires||[],t.requiresIfExists||[]);s.forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&a(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||a(t)})),i}function La(t){var e=ka(t);return Ea.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function Da(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Aa(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}var Ta={placement:"bottom",modifiers:[],strategy:"absolute"};function Pa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function $a(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Ta:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ta,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},o=[],r=!1,l={state:a,setOptions:function(n){var o="function"===typeof n?n(a.options):n;u(),a.options=Object.assign({},s,a.options,o),a.scrollParents={reference:Ni(t)?Ji(t):t.contextElement?Ji(t.contextElement):[],popper:Ji(e)};var r=La(Aa([].concat(i,a.options.modifiers)));return a.orderedModifiers=r.filter((function(t){return t.enabled})),d(),l.update()},forceUpdate:function(){if(!r){var t=a.elements,e=t.reference,n=t.popper;if(Pa(e,n)){a.rects={reference:Zi(e,ia(n),"fixed"===a.options.strategy),popper:Yi(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,d=s.options,u=void 0===d?{}:d,c=s.name;"function"===typeof o&&(a=o({state:a,options:u,name:c,instance:l})||a)}else a.reset=!1,i=-1}}},update:Da((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!Pa(t,e))return l;function d(){a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,s=t.effect;if("function"===typeof s){var r=s({state:a,name:e,instance:l,options:i}),d=function(){};o.push(r||d)}}))}function u(){o.forEach((function(t){return t()})),o=[]}return l.setOptions(n).then((function(t){!r&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var Ma={passive:!0};function Ra(t){var e=t.state,n=t.instance,i=t.options,a=i.scroll,s=void 0===a||a,o=i.resize,r=void 0===o||o,l=Ri(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,Ma)})),r&&l.addEventListener("resize",n.update,Ma),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,Ma)})),r&&l.removeEventListener("resize",n.update,Ma)}}const Ba={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ra,data:{}};function Na(t){return t.split("-")[0]}function Va(t){return t.split("-")[1]}function ja(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Fa(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?Na(a):null,o=a?Va(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case aa:e={x:r,y:n.y-i.height};break;case sa:e={x:r,y:n.y+n.height};break;case oa:e={x:n.x+n.width,y:l};break;case ra:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?ja(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case ua:e[d]=e[d]-(n[u]/2-i[u]/2);break;case ca:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function qa(t){var e=t.state,n=t.name;e.modifiersData[n]=Fa({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ha={name:"popperOffsets",enabled:!0,phase:"read",fn:qa,data:{}};var Ka=Math.max,za=Math.min,Wa=Math.round,Ga={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ua(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:Wa(Wa(e*a)/a)||0,y:Wa(Wa(n*a)/a)||0}}function Za(t){var e,n=t.popper,i=t.popperRect,a=t.placement,s=t.variation,o=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,c=!0===u?Ua(o):"function"===typeof u?u(o):o,p=c.x,h=void 0===p?0:p,f=c.y,m=void 0===f?0:f,g=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),b=ra,y=aa,_=window;if(d){var S=ia(n),x="clientHeight",C="clientWidth";S===Ri(n)&&(S=Ki(n),"static"!==Wi(S).position&&"absolute"===r&&(x="scrollHeight",C="scrollWidth")),S=S,a!==aa&&(a!==ra&&a!==oa||s!==ca)||(y=sa,m-=S[x]-i.height,m*=l?1:-1),a!==ra&&(a!==aa&&a!==sa||s!==ca)||(b=oa,h-=S[C]-i.width,h*=l?1:-1)}var w,O=Object.assign({position:r},d&&Ga);return l?Object.assign({},O,(w={},w[y]=v?"0":"",w[b]=g?"0":"",w.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",w)):Object.assign({},O,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function Ya(t){var e=t.state,n=t.options,i=n.gpuAcceleration,a=void 0===i||i,s=n.adaptive,o=void 0===s||s,r=n.roundOffsets,l=void 0===r||r,d={placement:Na(e.placement),variation:Va(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Za(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Za(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Xa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ya,data:{}};function Qa(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},a=e.elements[t];Vi(a)&&Hi(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))}function Ja(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),o=s.reduce((function(t,e){return t[e]="",t}),{});Vi(i)&&Hi(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const ts={name:"applyStyles",enabled:!0,phase:"write",fn:Qa,effect:Ja,requires:["computeStyles"]};function es(t,e,n){var i=Na(t),a=[ra,aa].indexOf(i)>=0?-1:1,s="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=s[0],r=s[1];return o=o||0,r=(r||0)*a,[ra,oa].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function ns(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=va.reduce((function(t,n){return t[n]=es(n,e.rects,s),t}),{}),r=o[e.placement],l=r.x,d=r.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[i]=o}const is={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ns};var as={left:"right",right:"left",bottom:"top",top:"bottom"};function ss(t){return t.replace(/left|right|bottom|top/g,(function(t){return as[t]}))}var os={start:"end",end:"start"};function rs(t){return t.replace(/start|end/g,(function(t){return os[t]}))}function ls(t){var e=Ri(t),n=Ki(t),i=e.visualViewport,a=n.clientWidth,s=n.clientHeight,o=0,r=0;return i&&(a=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,r=i.offsetTop)),{width:a,height:s,x:o+zi(t),y:r}}function ds(t){var e,n=Ki(t),i=Bi(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=Ka(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Ka(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+zi(t),l=-i.scrollTop;return"rtl"===Wi(a||n).direction&&(r+=Ka(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function us(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ji(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function cs(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ps(t){var e=Mi(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function hs(t,e){return e===ha?cs(ls(t)):Vi(e)?ps(e):cs(ds(Ki(t)))}function fs(t){var e=Ji(Xi(t)),n=["absolute","fixed"].indexOf(Wi(t).position)>=0,i=n&&Vi(t)?ia(t):t;return Ni(i)?e.filter((function(t){return Ni(t)&&us(t,i)&&"body"!==Hi(t)})):[]}function ms(t,e,n){var i="clippingParents"===e?fs(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=hs(t,n);return e.top=Ka(i.top,e.top),e.right=za(i.right,e.right),e.bottom=za(i.bottom,e.bottom),e.left=Ka(i.left,e.left),e}),hs(t,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function gs(){return{top:0,right:0,bottom:0,left:0}}function vs(t){return Object.assign({},gs(),t)}function bs(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ys(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=void 0===i?t.placement:i,s=n.boundary,o=void 0===s?pa:s,r=n.rootBoundary,l=void 0===r?ha:r,d=n.elementContext,u=void 0===d?fa:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=vs("number"!==typeof f?f:bs(f,da)),g=u===fa?ma:fa,v=t.rects.popper,b=t.elements[p?g:u],y=ms(Ni(b)?b:b.contextElement||Ki(t.elements.popper),o,l),_=Mi(t.elements.reference),S=Fa({reference:_,element:v,strategy:"absolute",placement:a}),x=cs(Object.assign({},v,S)),C=u===fa?x:_,w={top:y.top-C.top+m.top,bottom:C.bottom-y.bottom+m.bottom,left:y.left-C.left+m.left,right:C.right-y.right+m.right},O=t.modifiersData.offset;if(u===fa&&O){var I=O[a];Object.keys(w).forEach((function(t){var e=[oa,sa].indexOf(t)>=0?1:-1,n=[aa,sa].indexOf(t)>=0?"y":"x";w[t]+=I[n]*e}))}return w}function _s(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=n.boundary,s=n.rootBoundary,o=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?va:l,u=Va(i),c=u?r?ga:ga.filter((function(t){return Va(t)===u})):da,p=c.filter((function(t){return d.indexOf(t)>=0}));0===p.length&&(p=c);var h=p.reduce((function(e,n){return e[n]=ys(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[Na(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Ss(t){if(Na(t)===la)return[];var e=ss(t);return[rs(t),e,rs(e)]}function xs(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0===o||o,l=n.fallbackPlacements,d=n.padding,u=n.boundary,c=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=e.options.placement,v=Na(g),b=v===g,y=l||(b||!f?[ss(g)]:Ss(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(Na(n)===la?_s(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),S=e.rects.reference,x=e.rects.popper,C=new Map,w=!0,O=_[0],I=0;I<_.length;I++){var E=_[I],k=Na(E),L=Va(E)===ua,D=[aa,sa].indexOf(k)>=0,A=D?"width":"height",T=ys(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?oa:ra:L?sa:aa;S[A]>x[A]&&(P=ss(P));var $=ss(P),M=[];if(s&&M.push(T[k]<=0),r&&M.push(T[P]<=0,T[$]<=0),M.every((function(t){return t}))){O=E,w=!1;break}C.set(E,M)}if(w)for(var R=f?3:1,B=function(t){var e=_.find((function(e){var n=C.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},N=R;N>0;N--){var V=B(N);if("break"===V)break}e.placement!==O&&(e.modifiersData[i]._skip=!0,e.placement=O,e.reset=!0)}}const Cs={name:"flip",enabled:!0,phase:"main",fn:xs,requiresIfExists:["offset"],data:{_skip:!1}};function ws(t){return"x"===t?"y":"x"}function Os(t,e,n){return Ka(t,za(e,n))}function Is(t){var e=t.state,n=t.options,i=t.name,a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0!==o&&o,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,c=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,g=ys(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Na(e.placement),b=Va(e.placement),y=!b,_=ja(v),S=ws(_),x=e.modifiersData.popperOffsets,C=e.rects.reference,w=e.rects.popper,O="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,I={x:0,y:0};if(x){if(s||r){var E="y"===_?aa:ra,k="y"===_?sa:oa,L="y"===_?"height":"width",D=x[_],A=x[_]+g[E],T=x[_]-g[k],P=h?-w[L]/2:0,$=b===ua?C[L]:w[L],M=b===ua?-w[L]:-C[L],R=e.elements.arrow,B=h&&R?Yi(R):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:gs(),V=N[E],j=N[k],F=Os(0,C[L],B[L]),q=y?C[L]/2-P-F-V-O:$-F-V-O,H=y?-C[L]/2+P+F+j+O:M+F+j+O,K=e.elements.arrow&&ia(e.elements.arrow),z=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,W=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=x[_]+q-W-z,U=x[_]+H-W;if(s){var Z=Os(h?za(A,G):A,D,h?Ka(T,U):T);x[_]=Z,I[_]=Z-D}if(r){var Y="x"===_?aa:ra,X="x"===_?sa:oa,Q=x[S],J=Q+g[Y],tt=Q-g[X],et=Os(h?za(J,G):J,Q,h?Ka(tt,U):tt);x[S]=et,I[S]=et-Q}}e.modifiersData[i]=I}}const Es={name:"preventOverflow",enabled:!0,phase:"main",fn:Is,requiresIfExists:["offset"]};var ks=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,vs("number"!==typeof t?t:bs(t,da))};function Ls(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Na(n.placement),l=ja(r),d=[ra,oa].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=ks(a.padding,n),p=Yi(s),h="y"===l?aa:ra,f="y"===l?sa:oa,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=ia(s),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,_=c[h],S=b-p[u]-c[f],x=b/2-p[u]/2+y,C=Os(_,x,S),w=l;n.modifiersData[i]=(e={},e[w]=C,e.centerOffset=C-x,e)}}function Ds(t){var e=t.state,n=t.options,i=n.element,a=void 0===i?"[data-popper-arrow]":i;null!=a&&("string"!==typeof a||(a=e.elements.popper.querySelector(a),a))&&us(e.elements.popper,a)&&(e.elements.arrow=a)}const As={name:"arrow",enabled:!0,phase:"main",fn:Ls,effect:Ds,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ts(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ps(t){return[aa,oa,sa,ra].some((function(e){return t[e]>=0}))}function $s(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=ys(e,{elementContext:"reference"}),r=ys(e,{altBoundary:!0}),l=Ts(o,i),d=Ts(r,a,s),u=Ps(l),c=Ps(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:c},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":c})}const Ms={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$s};var Rs=[Ba,Ha,Xa,ts,is,Cs,Es,As,Ms],Bs=$a({defaultModifiers:Rs}),Ns="tippy-box",Vs="tippy-content",js="tippy-backdrop",Fs="tippy-arrow",qs="tippy-svg-arrow",Hs={passive:!0,capture:!0},Ks=function(){return document.body};function zs(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function Ws(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function Gs(t,e){return"function"===typeof t?t.apply(void 0,e):t}function Us(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function Zs(t){return t.split(/\s+/).filter(Boolean)}function Ys(t){return[].concat(t)}function Xs(t,e){-1===t.indexOf(e)&&t.push(e)}function Qs(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function Js(t){return t.split("-")[0]}function to(t){return[].slice.call(t)}function eo(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function no(){return document.createElement("div")}function io(t){return["Element","Fragment"].some((function(e){return Ws(t,e)}))}function ao(t){return Ws(t,"NodeList")}function so(t){return Ws(t,"MouseEvent")}function oo(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function ro(t){return io(t)?[t]:ao(t)?to(t):Array.isArray(t)?t:to(document.querySelectorAll(t))}function lo(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function uo(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function co(t){var e,n=Ys(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function po(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,a=t.popperState,s=t.props,o=s.interactiveBorder,r=Js(a.placement),l=a.modifiersData.offset;if(!l)return!0;var d="bottom"===r?l.top.y:0,u="top"===r?l.bottom.y:0,c="right"===r?l.left.x:0,p="left"===r?l.right.x:0,h=e.top-i+d>o,f=i-e.bottom-u>o,m=e.left-n+c>o,g=n-e.right-p>o;return h||f||m||g}))}function ho(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function fo(t,e){var n=e;while(n){var i;if(t.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var mo={isTouch:!1},go=0;function vo(){mo.isTouch||(mo.isTouch=!0,window.performance&&document.addEventListener("mousemove",bo))}function bo(){var t=performance.now();t-go<20&&(mo.isTouch=!1,document.removeEventListener("mousemove",bo)),go=t}function yo(){var t=document.activeElement;if(oo(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function _o(){document.addEventListener("touchstart",vo,Hs),window.addEventListener("blur",yo)}var So="undefined"!==typeof window&&"undefined"!==typeof document,xo=!!So&&!!window.msCrypto;var Co={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},wo={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Oo=Object.assign({appendTo:Ks,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},Co,wo),Io=Object.keys(Oo),Eo=function(t){var e=Object.keys(t);e.forEach((function(e){Oo[e]=t[e]}))};function ko(t){var e=t.plugins||[],n=e.reduce((function(e,n){var i,a=n.name,s=n.defaultValue;a&&(e[a]=void 0!==t[a]?t[a]:null!=(i=Oo[a])?i:s);return e}),{});return Object.assign({},t,n)}function Lo(t,e){var n=e?Object.keys(ko(Object.assign({},Oo,{plugins:e}))):Io,i=n.reduce((function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(a){e[n]=i}return e}),{});return i}function Do(t,e){var n=Object.assign({},e,{content:Gs(e.content,[t])},e.ignoreAttributes?{}:Lo(t,e.plugins));return n.aria=Object.assign({},Oo.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}var Ao=function(){return"innerHTML"};function To(t,e){t[Ao()]=e}function Po(t){var e=no();return!0===t?e.className=Fs:(e.className=qs,io(t)?e.appendChild(t):To(e,t)),e}function $o(t,e){io(e.content)?(To(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?To(t,e.content):t.textContent=e.content)}function Mo(t){var e=t.firstElementChild,n=to(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(Vs)})),arrow:n.find((function(t){return t.classList.contains(Fs)||t.classList.contains(qs)})),backdrop:n.find((function(t){return t.classList.contains(js)}))}}function Ro(t){var e=no(),n=no();n.className=Ns,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=no();function a(n,i){var a=Mo(e),s=a.box,o=a.content,r=a.arrow;i.theme?s.setAttribute("data-theme",i.theme):s.removeAttribute("data-theme"),"string"===typeof i.animation?s.setAttribute("data-animation",i.animation):s.removeAttribute("data-animation"),i.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"===typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?s.setAttribute("role",i.role):s.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||$o(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(Po(i.arrow))):s.appendChild(Po(i.arrow)):r&&s.removeChild(r)}return i.className=Vs,i.setAttribute("data-state","hidden"),$o(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}Ro.$$tippy=!0;var Bo=1,No=[],Vo=[];function jo(t,e){var n,i,a,s,o,r,l,d=Do(t,Object.assign({},Oo,ko(eo(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=Us(Y,d.interactiveDebounce),g=Bo++,v=null,b=Qs(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:no(),popperInstance:v,props:d,state:y,plugins:b,clearDelayTimeouts:lt,setProps:dt,setContent:ut,show:ct,hide:pt,hideWithInteractivity:ht,enable:ot,disable:rt,unmount:ft,destroy:mt};if(!d.render)return _;var S=d.render(_),x=S.popper,C=S.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_;var w=b.map((function(t){return t.fn(_)})),O=t.hasAttribute("aria-expanded");return G(),R(),P(),$("onCreate",[_]),d.showOnCreate&&at(),x.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",m)})),_;function I(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===I()[0]}function k(){var t;return!(null==(t=_.props.render)||!t.$$tippy)}function L(){return l||t}function D(){var t=L().parentNode;return t?co(t):document}function A(){return Mo(x)}function T(t){return _.state.isMounted&&!_.state.isVisible||mo.isTouch||s&&"focus"===s.type?0:zs(_.props.delay,t?0:1,Oo.delay)}function P(t){void 0===t&&(t=!1),x.style.pointerEvents=_.props.interactive&&!t?"":"none",x.style.zIndex=""+_.props.zIndex}function $(t,e,n){var i;(void 0===n&&(n=!0),w.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(i=_.props)[t].apply(i,e)}function M(){var e=_.props.aria;if(e.content){var n="aria-"+e.content,i=x.id,a=Ys(_.props.triggerTarget||t);a.forEach((function(t){var e=t.getAttribute(n);if(_.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var a=e&&e.replace(i,"").trim();a?t.setAttribute(n,a):t.removeAttribute(n)}}))}}function R(){if(!O&&_.props.aria.expanded){var e=Ys(_.props.triggerTarget||t);e.forEach((function(t){_.props.interactive?t.setAttribute("aria-expanded",_.state.isVisible&&t===L()?"true":"false"):t.removeAttribute("aria-expanded")}))}}function B(){D().removeEventListener("mousemove",m),No=No.filter((function(t){return t!==m}))}function N(e){if(!mo.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!fo(x,n)){if(Ys(_.props.triggerTarget||t).some((function(t){return fo(t,n)}))){if(mo.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||q())}}}function V(){p=!0}function j(){p=!1}function F(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Hs),t.addEventListener("touchstart",j,Hs),t.addEventListener("touchmove",V,Hs)}function q(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Hs),t.removeEventListener("touchstart",j,Hs),t.removeEventListener("touchmove",V,Hs)}function H(t,e){z(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function K(t,e){z(t,e)}function z(t,e){var n=A().box;function i(t){t.target===n&&(ho(n,"remove",i),e())}if(0===t)return e();ho(n,"remove",o),ho(n,"add",i),o=i}function W(e,n,i){void 0===i&&(i=!1);var a=Ys(_.props.triggerTarget||t);a.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function G(){E()&&(W("touchstart",Z,{passive:!0}),W("touchend",X,{passive:!0})),Zs(_.props.trigger).forEach((function(t){if("manual"!==t)switch(W(t,Z),t){case"mouseenter":W("mouseleave",X);break;case"focus":W(xo?"focusout":"blur",Q);break;case"focusin":W("focusout",Q);break}}))}function U(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=s)?void 0:e.type);s=t,l=t.currentTarget,R(),!_.state.isVisible&&so(t)&&No.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:at(t),"click"===t.type&&(u=!n),n&&!i&&st(t)}}function Y(t){var e=t.target,n=L().contains(e)||x.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(x).map((function(t){var e,n=t._tippy,i=null==(e=n.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:d}:null})).filter(Boolean);po(i,t)&&(B(),st(t))}}function X(t){var e=J(t)||_.props.trigger.indexOf("click")>=0&&u;e||(_.props.interactive?_.hideWithInteractivity(t):st(t))}function Q(t){_.props.trigger.indexOf("focusin")<0&&t.target!==L()||_.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||st(t)}function J(t){return!!mo.isTouch&&E()!==t.type.indexOf("touch")>=0}function tt(){et();var e=_.props,n=e.popperOptions,i=e.placement,a=e.offset,s=e.getReferenceClientRect,o=e.moveTransition,l=k()?Mo(x).arrow:null,d=s?{getBoundingClientRect:s,contextElement:s.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=A(),i=n.box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},c=[{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:!o}},u];k()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),_.popperInstance=Bs(d,x,Object.assign({},n,{placement:i,onFirstUpdate:r,modifiers:c}))}function et(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function nt(){var t,e=_.props.appendTo,n=L();t=_.props.interactive&&e===Ks||"parent"===e?n.parentNode:Gs(e,[n]),t.contains(x)||t.appendChild(x),_.state.isMounted=!0,tt()}function it(){return to(x.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&$("onTrigger",[_,t]),F();var e=T(!0),i=I(),a=i[0],s=i[1];mo.isTouch&&"hold"===a&&s&&(e=s),e?n=setTimeout((function(){_.show()}),e):_.show()}function st(t){if(_.clearDelayTimeouts(),$("onUntrigger",[_,t]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&u)){var e=T(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):a=requestAnimationFrame((function(){_.hide()}))}}else q()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function dt(e){if(!_.state.isDestroyed){$("onBeforeUpdate",[_,e]),U();var n=_.props,i=Do(t,Object.assign({},n,eo(e),{ignoreAttributes:!0}));_.props=i,G(),n.interactiveDebounce!==i.interactiveDebounce&&(B(),m=Us(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?Ys(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),R(),P(),C&&C(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),$("onAfterUpdate",[_,e])}}function ut(t){_.setProps({content:t})}function ct(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=mo.isTouch&&!_.props.touch,a=zs(_.props.duration,0,Oo.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&($("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(x.style.visibility="visible"),P(),F(),_.state.isMounted||(x.style.transition="none"),k()){var s=A(),o=s.box,l=s.content;lo([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=A(),n=e.box,i=e.content;lo([n,i],a),uo([n,i],"visible")}M(),R(),Xs(Vo,_),null==(t=_.popperInstance)||t.forceUpdate(),$("onMount",[_]),_.props.animation&&k()&&K(a,(function(){_.state.isShown=!0,$("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=zs(_.props.duration,1,Oo.duration);if(!(t||e||n)&&($("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(x.style.visibility="hidden"),B(),q(),P(!0),k()){var a=A(),s=a.box,o=a.content;_.props.animation&&(lo([s,o],i),uo([s,o],"hidden"))}M(),R(),_.props.animation?k()&&H(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),Xs(No,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),Vo=Vo.filter((function(t){return t!==_})),_.state.isMounted=!1,$("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),U(),delete t._tippy,_.state.isDestroyed=!0,$("onDestroy",[_]))}}function Fo(t,e){void 0===e&&(e={});var n=Oo.plugins.concat(e.plugins||[]);_o();var i=Object.assign({},e,{plugins:n}),a=ro(t),s=a.reduce((function(t,e){var n=e&&jo(e,i);return n&&t.push(n),t}),[]);return io(t)?s[0]:s}Fo.defaultProps=Oo,Fo.setDefaultProps=Eo,Fo.currentInput=mo;Object.assign({},ts,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});var qo={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function i(){return t.popperInstance?t.popperInstance.state.elements.reference:e}function a(e){return!0===t.props.sticky||t.props.sticky===e}var s=null,o=null;function r(){var e=a("reference")?i().getBoundingClientRect():null,l=a("popper")?n.getBoundingClientRect():null;(e&&Ho(s,e)||l&&Ho(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function Ho(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Fo.setDefaultProps({render:Ro});const Ko=Fo,zo=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),Wo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Go=[!0,!1,"reference","popper"],Uo=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Ko(t,{...e,plugins:[qo],render:()=>Qo(n)})},Zo=function(){let{boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:i=!1,tether:a=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:t}},{name:"hide",enabled:i},{name:"preventOverflow",options:{altAxis:!a,tether:a}},zo((t=>{let{state:e}=t;n(e.placement)}))]}},Yo=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},Xo=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";const n=null===t||void 0===t?void 0:t.children[0];return n?(I(n)||n.setAttribute("tabindex",e),n):Yo(t)},Qo=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},Jo={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},tr={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},er=["dialog","menu","listbox","tree","grid"],nr=[null,"anchor"],ir=["none","dialog","first"],ar=[...Go];let sr="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",or=(t=21)=>{let e="",n=t;while(n--)e+=sr[64*Math.random()|0];return e};function rr(t){return rr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rr(t)}var lr={selector:"vue-portal-target-".concat(or())},dr=function(t){return lr.selector=t},ur="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":rr(document)),cr=f().extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(t){return{updatedNodes:t.nodes}},render:function(t){var e=this.updatedNodes&&this.updatedNodes();return e?1!==e.length||e[0].text?t(this.tag||"DIV",e):e:t()},destroyed:function(){var t=this.$el;t&&t.parentNode.removeChild(t)}}),pr=f().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(lr.selector)}},tag:{type:String,default:"DIV"}},render:function(t){if(this.disabled){var e=this.$scopedSlots&&this.$scopedSlots.default();return e?e.length<2&&!e[0].text?e:t(this.tag,e):t()}return t()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var t=this;this.$nextTick((function(){t.disabled||t.slotFn===t.$scopedSlots.default||(t.container.updatedNodes=t.$scopedSlots.default),t.slotFn=t.$scopedSlots.default}))},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(ur)return document.querySelector(this.selector)},insertTargetEl:function(){if(ur){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(ur){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new cr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function hr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",pr),e.defaultSelector&&dr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===f()&&f().use(hr);var fr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"d-popover__header":"header"===t.type,"d-popover__footer":"footer"===t.type},attrs:{"data-qa":"dt-popover-header-footer"}},[t.$slots.content?n("div",{class:["d-to-ellipsis","d-w100p",t.contentClass],attrs:{"data-qa":"dt-popover-header-footer-content"}},[t._t("content")],2):t._e(),t.showCloseButton?n("dt-button",t._b({ref:"popover__close-button",staticClass:"d-p6 d-mr6 d-bc-transparent",attrs:{"data-qa":"dt-popover-close",importance:"outlined",kind:"muted",circle:""},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"300"}})]},proxy:!0}],null,!1,2538694920)},"dt-button",t.closeButtonProps,!1)):t._e()],1)},mr=[];const gr={name:"PopoverHeaderFooter",components:{DtButton:Ut,DtIcon:st},props:{type:{type:String,validator:function(t){return["header","footer"].includes(t)}},contentClass:{type:[String,Array,Object],default:""},showCloseButton:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>{}}},emits:["close"],methods:{focusCloseButton(){var t;const e=null===(t=this.$refs["popover__close-button"])||void 0===t?void 0:t.$el;null===e||void 0===e||e.focus()}}},vr=gr;var br=B(vr,fr,mr,!1,null,null,null);const yr=br.exports,_r={name:"DtPopover",components:{SrOnlyCloseButton:ee,DtLazyShow:Ii,PopoverHeaderFooter:yr,Portal:pr},mixins:[de,Zt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:t=>er.includes(t)},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},closeButtonProps:{type:Object,default:()=>({})},padding:{type:String,default:"large",validator:t=>Object.keys(Jo).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>nr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return S()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},tether:{type:Boolean,default:!0},sticky:{type:[Boolean,String],default:!1,validator:t=>ar.includes(t)},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},initialFocusElement:{type:[String,HTMLElement],default:"first",validator:t=>ir.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:Jo,POPOVER_HEADER_FOOTER_PADDING_CLASSES:tr,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{popoverListeners(){return{...this.$listeners,keydown:t=>{this.onKeydown(t),this.$emit("keydown",t)},"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&S("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()})},offset(t){this.tip.setProps({offset:t})},sticky(t){this.tip.setProps({sticky:t})},fallbackPlacements(){this.tip.setProps({popperOptions:this.popperOptions()})},tether(){this.tip.setProps({popperOptions:this.popperOptions()})},placement(t){var e;null===(e=this.tip)||void 0===e||e.setProps({placement:t})},open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0},isOpen(t,e){t?(this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()}),this.tip.show(),this.addClosePopoverEventListener()):t||e===t||(this.removeClosePopoverEventListener(),this.tip.hide())}},mounted(){const t=document.getElementById(this.externalAnchor);this.anchorEl=null!==t&&void 0!==t?t:this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize),this.tip=Uo(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeDestroy(){var t;window.removeEventListener("resize",this.onResize),null===(t=this.tip)||void 0===t||t.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{popperOptions(){return Zo({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(t){var e,n;this.openOnContext||null!==(e=this.open)&&void 0!==e||this.anchorEl.contains(t.target)&&(null===(n=this.anchorEl)||void 0===n||!n.disabled)&&this.toggleOpen()},onContext(t){var e;this.openOnContext&&(t.preventDefault(),null===(e=this.tip)||void 0===e||e.setProps({placement:"right-start"}),this.tip.setProps({getReferenceClientRect:()=>({width:0,height:0,top:t.clientY,bottom:t.clientY,left:t.clientX,right:t.clientX})}),this.toggleOpen())},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(t){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(t.target)&&(this.isOpen||(this.isOpen=!0))},addClosePopoverEventListener(){window.addEventListener("dt-popover-close",this.closePopover)},removeClosePopoverEventListener(){window.removeEventListener("dt-popover-close",this.closePopover)},closePopover(){this.isOpen=!1},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){"anchor"===this.contentWidth&&await this.setPopoverContentAnchorWidth(),null===this.contentWidth&&(this.popoverContentEl.style.width="auto")},async onLeaveTransitionComplete(){var t;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(t=this.tip)||void 0===t||t.unmount(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.$emit("opened",!0,this.$refs.popover__content),null!==this.open&&this.$emit("update:open",!0)},focusInitialElement(){"dialog"===this.initialFocusElement&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),"first"===this.initialFocusElement&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){const t=this.$refs.content.$el.querySelector(this.initialFocusElement);t?t.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),t?t.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const t=this.popoverContentEl.querySelector(".d-popover__anchor--opened");t||this.closePopover()},onKeydown(t){"Tab"===t.key&&this.modal&&this.focusTrappedTabPress(t,this.popoverContentEl),"Escape"===t.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width=`${this.anchorEl.clientWidth}px`},focusFirstElementIfNeeded(t){const e=this._getFocusableElements(t,!0);if(0!==e.length)this.focusFirstElement(t);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}},Sr=_r;n(155);var xr=B(Sr,Pi,$i,!1,null,null,null);const Cr=xr.exports,wr={none:void 0,small:"d-py6",large:"d-py12"},Or={name:"DtDropdown",components:{DtPopover:Cr,SrOnlyCloseButton:ee},mixins:[Xe({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),Zt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys(wr).some((e=>e===t))},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return S()}},navigationType:{type:String,default:an.ARROW_KEYS,validator:t=>Object.values(an).includes(t)},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom"},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},listClass:{type:[String,Array,Object],default:""}},emits:["highlight","opened","update:open"],data(){return{LIST_ITEM_NAVIGATION_TYPES:an,DROPDOWN_PADDING_CLASSES:wr,EVENT_KEYNAMES:u,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case u.up:case u.arrowup:this.onKeyValidation(t,"onUpKeyPress"),t.stopPropagation(),t.preventDefault();break;case u.down:case u.arrowdown:this.onKeyValidation(t,"onDownKeyPress"),t.stopPropagation(),t.preventDefault();break;case u.space:case u.spacebar:this.onSpaceKey();break;case u.enter:this.onEnterKey();break;case u.home:this.onKeyValidation(t,"onHomeKeyPress"),t.stopPropagation(),t.preventDefault();break;case u.end:this.onKeyValidation(t,"onEndKeyPress"),t.stopPropagation(),t.preventDefault();break;default:this.onKeyValidation(t,"onKeyPress");break}this.$emit("keydown",t)}}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)},isArrowKeyNav(){return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS},listClasses(){return["d-ps-relative","d-px0",wr[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]}},methods:{onMouseHighlight(t){const e=t.target.closest("li");e&&e.role&&this.highlightId!==e.id&&(this.setHighlightId(e.id),e.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.visuallyHiddenClose&&this.highlightIndex===this._itemsLength()-1||this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(t){this.isOpen=t,t?(this.openedWithKeyboard&&this.isArrowKeyNav&&this.setHighlightIndex(0),this.$emit("opened",!0)):(this.clearHighlightIndex(),this.openedWithKeyboard=!1,this.$emit("opened",!1))},onSpaceKey(){this.open||(this.openedWithKeyboard=!0)},onEnterKey(){this.open||(this.openedWithKeyboard=!0)},onUpKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onUpKey():void 0;this.openedWithKeyboard=!0},onDownKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onDownKey():void 0;this.openedWithKeyboard=!0},onHomeKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onHomeKey()},onEndKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onEndKey()},onKeyPress(t){if(this.isOpen&&this.isArrowKeyNav&&this.isValidCharacter(t.key))return t.stopPropagation(),t.preventDefault(),this.onNavigationKey(t.key)},onKeyValidation(t,e){(null===this.open||this.openOnContext)&&this[e](t)}}},Ir=Or;n(427);var Er=B(Ir,Ai,Ti,!1,null,null,null);const kr=Er.exports;var Lr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[t.heading?n("div",{staticClass:"dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[n("span",[t._v(t._s(t.heading))])]):t._e(),n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{"data-qa":"dt-dropdown-list-wrapper"}},[t._t("default")],2)])},Dr=[];const Ar={name:"DtDropdownList",props:{heading:{type:String,default:""},listClass:{type:[String,Array,Object],default:""}}},Tr=Ar;var Pr=B(Tr,Lr,Dr,!1,null,null,null);const $r=Pr.exports;var Mr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"dt-list-separator d-bgc-black-300 d-my8",attrs:{"aria-hidden":"true"}})},Rr=[];const Br={name:"DtDropdownSeparator"},Nr=Br;n(717);var Vr=B(Nr,Mr,Rr,!1,null,null,null);const jr=Vr.exports;var Fr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[n("label",{staticClass:"base-input__label",attrs:{"aria-details":t.$slots.description||t.description?t.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"}},[t._t("labelSlot",(function(){return[t.labelVisible&&t.label?n("div",{ref:"label",class:["base-input__label-text","d-label",t.labelSizeClasses[t.size]],attrs:{"data-qa":"dt-input-label"}},[t._v(" "+t._s(t.label)+" ")]):t._e()]})),t.$slots.description||t.description||t.shouldValidateLength?n("div",{ref:"description",class:["base-input__description","d-description","d-fd-column",t.descriptionSizeClasses[t.size]],attrs:{id:t.descriptionKey,"data-qa":"dt-input-description"}},[t.$slots.description||t.description?n("div",[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),t.shouldValidateLength?n("div",{class:["d-mb2"],attrs:{"data-qa":"dt-input-length-description"}},[t._v(" "+t._s(t.validationProps.length.description)+" ")]):t._e()]):t._e(),n("div",{class:t.inputWrapperClasses(),attrs:{"read-only":t.disabled}},[t.$slots.leftIcon?n("span",{class:t.inputIconClasses("left"),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("leftIcon")],2):t._e(),t.isTextarea?n("textarea",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"textarea",t.$attrs,!1),t.inputListeners)):n("input",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,type:t.type,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"input",t.$attrs,!1),t.inputListeners)),t.$slots.rightIcon?n("span",{class:t.inputIconClasses("right"),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("rightIcon")],2):t._e()])],2),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.validationMessages,"show-messages":t.showMessages,"data-qa":"dt-input-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},qr=[];const Hr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Kr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var zr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showMessages&&!t.isFilteredValidationMessagesEmpty?n("div",{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},t._l(t.filteredValidationMessages,(function(e,i){var a=e.message,s=e.type;return n("div",{key:t.getMessageKey(s,i),class:["base-input__message","d-validation-message",t.messageTypeClass(s)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[n("p",{domProps:{innerHTML:t._s(a)}})])})),0):t._e()},Wr=[];function Gr(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(o).includes(null===t||void 0===t?void 0:t.type)))}const Ur={name:"DtValidationMessages",props:{id:{type:String,default(){return S()}},validationMessages:{type:Array,default:()=>[],validator:t=>Gr(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return C(this.validationMessages)},validationState(){return w(this.validationMessages)}},methods:{getMessageKey(t,e){return`validation-message-${t}-${e}-${this.id}`},messageTypeClass(t){const e={error:"base-input__message--error d-validation-message--error",warning:"base-input__message--warning d-validation-message--warning",success:"base-input__message--success d-validation-message--success"};return e[t]}}},Zr=Ur;var Yr=B(Zr,zr,Wr,!1,null,null,null);const Xr=Yr.exports,Qr={inheritAttrs:!1,props:{label:{type:String,default:""},name:{type:String,default:""},value:{type:[String,Number,Boolean,Object],default:null},description:{type:String,default:""},disabled:{type:Boolean,default:!1},validationState:{type:String,default:"",validator:t=>!t||Object.values(o).includes(t)},inputClass:{type:[String,Array,Object],default:""},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})}},data(){return{internalDisabled:this.disabled,internalValidationState:this.validationState}},watch:{disabled(t){this.internalDisabled=t},validationState(t){this.internalValidationState=t}},methods:{validateInputLabels(t,e){t||e||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},Jr={model:{prop:"checked"},props:{checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:null}},data(){return{internalChecked:this.checked,internalIndeterminate:this.indeterminate}},watch:{checked(t){this.internalChecked=t},indeterminate(t){this.internalIndeterminate=t}}},tl={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.name)&&void 0!==t?t:""},groupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.value},groupDisabled(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.disabled)&&void 0!==t&&t},groupValidationState(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.validationState)&&void 0!==t?t:null},internalName(){return this.name||this.groupName}},watch:{value(t){this.internalValue=t},groupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalValue=t)}},groupDisabled:{immediate:!0,handler(t){this.hasGroup&&(this.internalDisabled=this.disabled||t)}},groupValidationState:{immediate:!0,handler(t){this.hasGroup&&(this.internalValidationState=t||this.validationState)}}},created(){var t;const e=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),n=null===(t=this.groupContext)||void 0===t?void 0:t.name;this.name&&e&&n!==this.name&&f().util.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${n}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},el={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>Gr(t)}},computed:{formattedMessages(){return x(this.messages)}}},nl={name:"DtInput",components:{DtValidationMessages:Xr},mixins:[el],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Hr.TEXT,validator:t=>Object.values(Hr).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:"",required:!0},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(Kr).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(Kr).includes(t)},inputClass:{type:[String,Object,Array],default:""},inputWrapperClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},validate:{type:Object,default:null}},emits:["input","blur","clear","focus","focusin","focusout","update:length","update:invalid"],data(){return{descriptionSizeClasses:{lg:"d-description--lg",xl:"d-description--xl"},labelSizeClasses:{xs:"d-label--xs",sm:"d-label--sm",md:"d-label--md",lg:"d-label--lg",xl:"d-label--xl"},isInputFocused:!1,isInvalid:!1,defaultLength:0}},computed:{isTextarea(){return this.type===Hr.TEXTAREA},isDefaultSize(){return this.size===Kr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Kr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Kr).includes(this.size)},isValidDescriptionSize(){return Object.values(r).includes(this.size)},inputComponent(){return this.isTextarea?"textarea":"input"},inputListeners(){return{...this.$listeners,input:t=>this.$emit("input",t.target.value),focus:t=>{this.isInputFocused=!0,this.$emit("focus",t)},blur:t=>{this.isInputFocused=!1,this.onBlur(t)}}},descriptionKey(){return`input-description-${S()}`},inputState(){return w(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,n,i,a,s,o,r,l,d;return{length:{description:null===this||void 0===this||null===(t=this.validate)||void 0===t||null===(e=t.length)||void 0===e?void 0:e.description,max:null===this||void 0===this||null===(n=this.validate)||void 0===n||null===(i=n.length)||void 0===i?void 0:i.max,warn:null===this||void 0===this||null===(a=this.validate)||void 0===a||null===(s=a.length)||void 0===s?void 0:s.warn,message:null===this||void 0===this||null===(o=this.validate)||void 0===o||null===(r=o.length)||void 0===r?void 0:r.message,limitMaxLength:!(null===this||void 0===this||null===(l=this.validate)||void 0===l||null===(d=l.length)||void 0===d||!d.limitMaxLength)&&this.validate.length.limitMaxLength}}},validationMessages(){return this.showLengthLimitValidation?this.formattedMessages.concat([this.inputLengthErrorMessage()]):this.formattedMessages},showInputState(){return this.showMessages&&this.inputState},inputLength(){return this.currentLength?this.currentLength:this.defaultLengthCalculation},inputLengthState(){return this.inputLength<this.validationProps.length.warn?null:this.inputLength<this.validationProps.length.max?this.validationProps.length.warn?o.WARNING:null:o.ERROR},shouldValidateLength(){return!(!this.validationProps.length.description||!this.validationProps.length.max)},shouldLimitMaxLength(){return this.shouldValidateLength&&this.validationProps.length.limitMaxLength},showLengthLimitValidation(){return this.shouldValidateLength&&null!==this.inputLengthState&&this.validationProps.length.message&&(this.isInputFocused||this.isInvalid)},sizeModifierClass(){if(this.isDefaultSize||!this.isValidSize)return"";const t={input:{xs:"d-input--xs",sm:"d-input--sm",lg:"d-input--lg",xl:"d-input--xl"},textarea:{xs:"d-textarea--xs",sm:"d-textarea--sm",lg:"d-textarea--lg",xl:"d-textarea--xl"}};return t[this.inputComponent][this.size]},stateClass(){const t={input:{error:"d-input--error base-input__input--error",warning:"d-input--warning base-input__input--warning",success:"d-input--success base-input__input--success"},textarea:{error:"d-textarea--error base-input__input--error",warning:"d-textarea--warning base-input__input--warning",success:"d-textarea--success base-input__input--success"}};return[t[this.inputComponent][this.inputState]]}},watch:{isInvalid(t){this.$emit("update:invalid",t)},value:{immediate:!0,handler(t){this.shouldValidateLength&&this.validateLength(this.inputLength),null==this.currentLength&&this.$emit("update:length",this.calculateLength(t))}}},methods:{inputClasses(){return["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[this.stateClass]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},inputWrapperClasses(){return["d-input__wrapper",{[this.stateClass]:this.showInputState},this.inputWrapperClass]},calculateLength(t){return"string"!==typeof t?0:[...t].length},inputLengthErrorMessage(){return{message:this.validationProps.length.message,type:this.inputLengthState}},inputIconClasses(t){const e={xs:"d-input-icon--xs",sm:"d-input-icon--sm",lg:"d-input-icon--lg",xl:"d-input-icon--xl"},n={left:"base-input__icon--left d-input-icon--left",right:"base-input__icon--right d-input-icon--right"};return[n[t],"d-input-icon",{[e[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(t){var e;null!==(e=this.$refs.container)&&void 0!==e&&e.contains(t.relatedTarget)||this.$emit("blur",t)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(t,e){return`message-${t}-${e}`},validateLength(t){this.isInvalid=t>this.validationProps.length.max}}},il=nl;var al=B(il,Fr,qr,!1,null,null,null);const sl=al.exports;var ol=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("fieldset",{attrs:{"data-qa":t.dataQaGroup}},[t.$slots.legend||t.legend?n("legend",t._b({class:["d-label",t.legendClass],attrs:{"data-qa":t.dataQaGroupLegend}},"legend",t.legendChildProps,!1),[t._t("legend",(function(){return[t._v(" "+t._s(t.legend)+" ")]}))],2):t._e(),t._t("default"),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":t.dataQaGroupMessages}},"dt-validation-messages",t.messagesChildProps,!1))],2)},rl=[];const ll={components:{DtValidationMessages:Xr},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return S()}},value:{type:[String,Number,Boolean,Object],default:null},name:{type:String,required:!0},legend:{type:String,default:""},disabled:{type:Boolean,default:!1},messages:{type:Array,default:()=>[],validator:t=>Gr(t)},showMessages:{type:Boolean,default:!0},legendClass:{type:[String,Array,Object],default:""},messagesClass:{type:[String,Array,Object],default:""},legendChildProps:{type:Object,default:()=>({})},messagesChildProps:{type:Object,default:()=>({})}},data(){const t=x(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:w(t)}}},computed:{formattedMessages(){return x(this.messages)},validationState(){return w(this.formattedMessages)}},watch:{disabled(t){this.provideObj.disabled=t},validationState(t){this.provideObj.validationState=t}},methods:{setGroupValue(t){this.internalValue=t,this.$emit("input",t)}},mounted(){this.legend||this.$slots.legend||this.$attrs["aria-label"]||f().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},dl={name:"DtInputGroup",components:{DtValidationMessages:Xr},mixins:[ll],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},emits:["input"],data(){return{internalValue:this.value,provideObj:{value:this.value}}},watch:{value(t){this.internalValue=t},internalValue(t){this.provideObj.value=t}},methods:{getMessageKey(t,e){return`input-group-message-${t}-${e}-${this.id}`}}},ul=dl;var cl=B(ul,ol,rl,!1,null,null,null);const pl=cl.exports;var hl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-lazy-show",t._g({class:["d-modal",t.MODAL_KIND_MODIFIERS[t.kind],t.MODAL_SIZE_MODIFIERS[t.size],t.modalClass],attrs:{transition:"d-zoom",show:t.show,"data-qa":"dt-modal","aria-hidden":t.open}},t.modalListeners),[t.show&&(t.$slots.banner||t.bannerTitle)?n("div",{class:["d-modal__banner",t.bannerClass],attrs:{"data-qa":"dt-modal-banner"}},[t._t("banner",(function(){return[t._v(" "+t._s(t.bannerTitle)+" ")]}))],2):t._e(),n("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":t.fixedHeaderFooter},t.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":t.describedById,"aria-labelledby":t.labelledById}},[t.$slots.header?n("div",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._t("header")],2):n("h2",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._v(" "+t._s(t.title)+" ")]),t.$slots.default?n("div",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._t("default")],2):n("p",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._v(" "+t._s(t.copy)+" ")]),t.hasFooterSlot?n("footer",{staticClass:"d-modal__footer"},[t._t("footer")],2):t._e(),t.hideClose?t._e():n("dt-button",t._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":t.closeButtonProps.ariaLabel},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",t.closeButtonProps,!1)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],1)])],1)},fl=[];const ml={default:"",danger:"d-modal--danger"},gl={default:"",full:"d-modal--full"},vl={name:"DtModal",components:{DtLazyShow:Ii,DtButton:Ut,DtIcon:st,SrOnlyCloseButton:ee},mixins:[de,Zt],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return S()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(ml).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(gl).includes(t)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:ml,MODAL_SIZE_MODIFIERS:gl,EVENT_KEYNAMES:u}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case u.esc:case u.escape:this.close();break;case u.tab:this.trapFocus(t);break}this.$emit("keydown",t)},"after-enter":t=>{t.target===t.currentTarget&&this.setFocusAfterTransition()}}},open(){return`${!this.show}`},hasFooterSlot(){return!!this.$slots.footer}},watch:{show:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:(null===(e=this.previousActiveElement)||void 0===e||e.focus(),this.previousActiveElement=null)}},$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(t){this.show&&this.focusTrappedTabPress(t)},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props\n need to be set so the component always includes a close button")}}},bl=vl;var yl=B(bl,hl,fl,!1,null,null,null);const _l=yl.exports;var Sl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":t.separator}],attrs:{id:t.id,role:"group","aria-labelledby":t.id+"-list-section-header",tabindex:"-1"}},[t.header?n("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:t.id+"-list-section-header"}},[t._v(" "+t._s(t.header)+" ")]):t._e(),!t.isCollapsible||t.showAll?n("ol",{attrs:{id:t.id+"-list-section-content"}},[t._t("default")],2):n("ol",{attrs:{id:t.id+"-list-section-content"}},[n("vnodes",{attrs:{vnodes:t.displayedItems}})],1),n("div",{staticClass:"d-d-flex"},[t.isCollapsible?n("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:t.id+"-list-section-show-more-less",link:""},on:{click:t.showMoreLessClicked}},[t._v(" "+t._s(t.showMoreLessText)+" ")]):t._e(),t._t("footer")],2)])},xl=[];const Cl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:Ut},props:{id:{type:String,default(){return D.getUniqueString()}},header:{type:String,default:null},separator:{type:Boolean,default:!1},maxDisplayed:{type:Number,default:0},textMore:{type:String,default:"Show more"},textLess:{type:String,default:"Show less"}},data(){return{showAll:!1}},computed:{isCollapsible(){return!(0===this.maxDisplayed||this.itemCount<=this.maxDisplayed)},showMoreLessText(){return this.showAll?this.textLess:this.textMore},hiddenCount(){return this.itemCount-this.displayedItems.length},itemCount(){return this.$slots.default.length},displayedItems(){return this.$slots.default.filter(((t,e)=>e<=this.maxDisplayed-1))}},methods:{showMoreLessClicked(){this.showAll=!this.showAll}}},wl=Cl;n(792);var Ol=B(wl,Sl,xl,!1,null,null,null);const Il=Ol.exports;var El=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{id:t.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":t.id+"-heading"}},[t.heading?n("li",{class:["dt-dropdown-list--header",t.headingClass],attrs:{id:t.id+"-heading",role:"presentation","data-qa":"dt-dropdown-list-heading"}},[t._t("headingSlot",(function(){return[t._v(" "+t._s(t.heading)+" ")]}))],2):t._e(),t._t("default")],2)},kl=[];const Ll={name:"DtListItemGroup",props:{id:{type:String,default(){return S()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},Dl=Ll;var Al=B(Dl,El,kl,!1,null,null,null);const Tl=Al.exports;var Pl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.noticeClass,attrs:{"data-qa":"notice"}},[n("dt-notice-icon",{attrs:{kind:t.kind}},[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)},$l=[];const Ml={name:"DtNotice",components:{DtNoticeIcon:_t,DtNoticeContent:It,DtNoticeAction:se},mixins:[Zt],props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(t){return mt.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return ft.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){const t={error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"};return["d-notice",t[this.kind],{"d-notice--important":this.important}]}}},Rl=Ml;var Bl=B(Rl,Pl,$l,!1,null,null,null);const Nl=Bl.exports;var Vl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"d-d-flex d-fd-row d-gg2 d-ai-center",attrs:{"aria-label":t.ariaLabel}},[n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-prev","aria-label":t.prevAriaLabel,importance:t.isFirstPage?"primary":"clear",disabled:t.isFirstPage},on:{click:function(e){return t.changePage(t.currentPage-1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-left",size:"200"}})],1)],2),t._l(t.pages,(function(e,i){return n("div",{key:"page-"+e+"-"+i},[isNaN(Number(e))?n("div",{staticClass:"d-h32 d-w32 d-d-flex d-ai-center d-jc-center",attrs:{"data-qa":"dt-pagination-separator"}},[t._v(" … ")]):n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"aria-label":t.pageNumberAriaLabel(e),importance:t.currentPage===e?"primary":"clear","label-class":"d-fs-200"},on:{click:function(n){return t.changePage(e)}}},[t._v(" "+t._s(e)+" ")])],1)})),n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-next","aria-label":t.nextAriaLabel,disabled:t.isLastPage,importance:t.isLastPage?"primary":"clear"},on:{click:function(e){return t.changePage(t.currentPage+1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-right",size:"200"}})],1)],2)],2)},jl=[];const Fl={name:"DtPagination",components:{DtButton:Ut,DtIcon:st},props:{ariaLabel:{type:String,required:!0},totalPages:{type:Number,required:!0},prevAriaLabel:{type:String,required:!0},nextAriaLabel:{type:String,required:!0},pageNumberAriaLabel:{type:Function,required:!0},activePage:{type:Number,default:1},maxVisible:{type:Number,default:5}},emits:["change"],data(){return{currentPage:this.activePage}},computed:{isFirstPage(){return 1===this.currentPage},isLastPage(){return this.currentPage===this.totalPages},pages(){if(0===this.maxVisible)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);const t=this.maxVisible-1,e=this.totalPages-t+1;if(this.currentPage<t)return[...this.range(1,t),"...",this.totalPages];if(this.currentPage>e)return[1,"...",...this.range(e,this.totalPages)];const n=this.maxVisible-(3-this.maxVisible%2),i=Math.floor(n/2),a=this.currentPage-i,s=this.currentPage+i;return[1,"...",...this.range(a,s),"...",this.totalPages]}},methods:{range(t,e){const n=[];t=t>0?t:1;for(let i=t;i<=e;i++)n.push(i);return n},changePage(t){this.currentPage=t,this.$emit("change",this.currentPage)}}},ql=Fl;var Hl=B(ql,Vl,jl,!1,null,null,null);const Kl=Hl.exports;var zl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-radio-group",{"d-radio-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-radio__input"},[n("input",t._g(t._b({class:["d-radio",t.inputValidationClass,t.inputClass],attrs:{name:t.internalName,disabled:t.internalDisabled,type:"radio"},domProps:{checked:t.internalChecked,value:t.value}},"input",t.$attrs,!1),t.inputListeners))]),n("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[n("div",t._b({class:t.labelClass,attrs:{"data-qa":"radio-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)])])},Wl=[];const Gl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Ul={name:"DtRadio",components:{DtValidationMessages:Xr},mixins:[Qr,Jr,tl,el],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Gl[this.internalValidationState]},radioGroupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.selectedValue},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t===this.value)}}},methods:{emitValue(t){t!==this.radioGroupValue&&(this.setGroupValue(t),this.$emit("input",t))}}},Zl=Ul;var Yl=B(Zl,zl,Wl,!1,null,null,null);const Xl=Yl.exports,Ql={name:"DtRadioGroup",extends:pl,props:{value:{type:[String,Number],default:""},dataQaGroup:{type:String,default:"radio-group"},dataQaGroupLegend:{type:String,default:"radio-group-legend"},dataQaGroupMessages:{type:String,default:"radio-group-messages"}},emits:["input"],data(){return{provideObj:{selectedValue:this.value}}},watch:{value(t){this.provideObj.selectedValue=t}},methods:{setGroupValue(t){this.$emit("input",t)},getMessageKey(t,e){return`radio-group-message-${t}-${e}-${this.id}`}}},Jl=Ql;var td,ed,nd=B(Jl,td,ed,!1,null,null,null);const id=nd.exports;var ad=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tab-group"}},[i("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],(t={},t[e.TAB_LIST_KIND_MODIFIERS.inverted]=e.inverted,t[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]=e.borderless,t),e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.tabLeft.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.tabRight.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},sd=[];const od=["default","sm"],rd={sm:"d-tablist--sm"},ld={inverted:"d-tablist--inverted"},dd={borderless:"d-tablist--no-border"},ud={selected:"d-tab--selected"},cd={name:"DtTabGroup",provide(){return{groupContext:this.provideObj,changeContentPanel:this.changeContentPanel,setFocus:this.setFocus}},props:{label:{type:String,default:""},selected:{type:String,default:""},disabled:{type:Boolean,default:!1},inverted:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},size:{type:String,default:"default",validate(t){return od.includes(t)}},tabListClass:{type:[String,Array,Object],default:""},tabListChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{provideObj:{selected:"",disabled:!1},focusId:null,tabs:[],TAB_LIST_SIZE_MODIFIERS:rd,TAB_LIST_KIND_MODIFIERS:ld,TAB_LIST_IMPORTANCE_MODIFIERS:dd}},watch:{disabled:{immediate:!0,handler(){this.provideObj.disabled=this.disabled}},selected:{immediate:!0,handler(){this.provideObj.selected=this.selected}}},mounted(){this.updateSelected()},beforeUpdate(){this.updateSelected()},methods:{updateSelected(){this.provideObj.selected||(this.provideObj.selected=this.selected),this.tabs=this.getTabChildren()},setFocus(t){this.focusId=t},getTabChildren(){return this.$children.map((t=>{let{$el:e}=t;return e})).filter((t=>{let{className:e}=t;return e.includes("d-tab")})).map((t=>{var e,n;return{context:t,panelId:null===(e=t.getAttribute("aria-controls"))||void 0===e?void 0:e.replace("dt-panel-",""),id:null===(n=t.getAttribute("id"))||void 0===n?void 0:n.replace("dt-tab-",""),isSelected:"true"===t.getAttribute("aria-selected")}}))},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel(t){let{selected:e,selectOverride:n}=t;this.provideObj.selected=e,n||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t-1<0?e.length-1:t-1;this.selectFocusOnTab(n,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t+1>e.length-1?0:t+1;this.selectFocusOnTab(n,e)},selectFocusOnTab(t,e){const{context:n}=e[t];n.focus()},selectTab(){const{tabs:t,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,t)},selectTabByIndex(t,e){const{context:n,panelId:i}=e[t];this.provideObj.selected=i,n.focus()},getIndexAndTabs(){const t=this.tabs.findIndex((t=>this.focusId?t.id===`${this.focusId}`:t.isSelected));return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[0])||void 0===t||null===(e=t.context)||void 0===e||e.focus())},onEndButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[this.tabs.length-1])||void 0===t||null===(e=t.context)||void 0===e||e.focus())}}},pd=cd;var hd=B(pd,ad,sd,!1,null,null,null);const fd=hd.exports;var md=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("dt-button",e._g(e._b({class:["d-tab",(t={},t[e.TAB_IMPORTANCE_MODIFIERS.selected]=e.isSelected,t),e.tabClass],attrs:{id:"dt-tab-"+e.id,role:"tab","aria-selected":""+e.isSelected,"aria-controls":"dt-panel-"+e.panelId,"aria-label":e.label,"data-qa":"dt-tab",tabindex:e.isSelected?"0":"-1",disabled:e.groupContext.disabled||e.disabled}},"dt-button",e.$attrs,!1),e.tabListeners),[e._t("default")],2)},gd=[];const vd={name:"DtTab",components:{DtButton:Ut},inject:["changeContentPanel","groupContext","setFocus"],inheritAttrs:!1,props:{id:{type:String,required:!0},panelId:{type:String,required:!0},label:{type:String,default:""},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tabClass:{type:[String,Array,Object],default:""}},data(){return{TAB_IMPORTANCE_MODIFIERS:ud}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:t=>{this.selectPanel(),this.$emit("click",t)},focus:t=>{this.setFocus(this.id),this.$emit("focus",t)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.changeContentPanel({selected:this.panelId,selectOverride:t})}}},bd=vd;var yd=B(bd,md,gd,!1,null,null,null);const _d=yd.exports;var Sd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[{"d-d-none":t.hidePanel},t.tabPanelClass],attrs:{id:"dt-panel-"+t.id,role:"tabpanel",tabindex:"0","aria-labelledby":"dt-tab-"+t.tabId,"aria-hidden":""+t.hidePanel,"data-qa":"dt-tab-panel"}},[t._t("default")],2)},xd=[];const Cd={name:"DtTabPanel",inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}}},wd=Cd;var Od=B(wd,Sd,xd,!1,null,null,null);const Id=Od.exports;var Ed=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-checkbox__input"},[n("input",t._g(t._b({class:["d-checkbox",t.inputValidationClass,t.inputClass],attrs:{type:"checkbox",name:t.internalName,disabled:t.internalDisabled},domProps:{checked:t.internalChecked,value:t.value,indeterminate:t.internalIndeterminate}},"input",t.$attrs,!1),t.inputListeners))]),t.hasLabelOrDescription?n("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[t.hasLabel?n("div",t._b({class:t.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.hasDescription?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1):t._e()])])},kd=[];const Ld={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Dd={name:"DtCheckbox",components:{DtValidationMessages:Xr},mixins:[Qr,Jr,tl,el],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Ld[this.internalValidationState]},checkboxGroupValueChecked(){var t,e,n;return null!==(t=null===(e=this.groupContext)||void 0===e||null===(n=e.selectedValues)||void 0===n?void 0:n.includes(this.value))&&void 0!==t&&t},hasLabel(){return!(!this.$slots.default&&!this.label)},hasDescription(){return!(!this.$slots.description&&!this.description)},hasLabelOrDescription(){return this.hasLabel||this.hasDescription},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target)}}},watch:{checkboxGroupValueChecked:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t)}}},mounted(){this.runValidations()},methods:{emitValue(t){let{value:e,checked:n}=t;this.internalIndeterminate&&(n=!1,this.internalIndeterminate=!1,t.checked=!1),this.setGroupValue(e,n),this.$emit("input",n)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}},Ad=Dd;var Td=B(Ad,Ed,kd,!1,null,null,null);const Pd=Td.exports,$d={name:"DtCheckboxGroup",extends:pl,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(f().util.warn("Component uses selectedValues to initialize the model, value is not supported by this component",void 0),!1)},selectedValues:{type:Array,default(){return[]}},dataQaGroup:{type:String,default:"checkbox-group"},dataQaGroupLegend:{type:String,default:"checkbox-group-legend"},dataQaGroupMessages:{type:String,default:"checkbox-group-messages"}},emits:["input"],data(){return{internalValue:this.selectedValues,provideObj:{selectedValues:this.selectedValues}}},watch:{selectedValues(t){this.internalValue=t},internalValue(t){this.provideObj.selectedValues=t}},methods:{setGroupValue(t,e){e?this.internalValue.includes(t)||this.internalValue.push(t):this.internalValue=this.internalValue.filter((e=>e!==t)),this.$emit("input",this.internalValue)},getMessageKey(t,e){return`checkbox-group-message-${t}-${e}-${this.id}`}}},Md=$d;var Rd,Bd,Nd=B(Md,Rd,Bd,!1,null,null,null);const Vd=Nd.exports;var jd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"d-chip"},[n(t.interactive?"button":"span",t._g(t._b({tag:"component",class:t.chipClasses(),attrs:{id:t.id,type:t.interactive&&"button","data-qa":"dt-chip","aria-labelledby":t.ariaLabel?void 0:t.id+"-content","aria-label":t.ariaLabel}},"component",t.$attrs,!1),t.chipListeners),[t.$slots.icon?n("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[t._t("icon")],2):t.$slots.avatar?n("span",{attrs:{"data-qa":"dt-chip-avatar"}},[t._t("avatar")],2):t._e(),t.$slots.default?n("span",{class:["d-truncate","d-chip__text",t.contentClass],attrs:{id:t.id+"-content","data-qa":"dt-chip-label"}},[t._t("default")],2):t._e()]),t.hideClose?t._e():n("dt-button",t._b({class:t.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":t.closeButtonProps.ariaLabel},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:t.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",t.closeButtonProps,!1))],1)},Fd=[];const qd={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Hd={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Kd={xs:"200",sm:"300",md:"300"},zd={name:"DtChip",components:{DtButton:Ut,DtIcon:st},inheritAttrs:!1,props:{closeButtonProps:{type:Object,default:function(){return{ariaLabel:"close"}},validator:t=>!!t.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:t=>Object.keys(qd).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return S()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["click","close","keyup"],data(){return{isActive:!1}},computed:{chipListeners(){return{...this.$listeners,click:t=>{this.interactive&&this.$emit("click",t)},keyup:t=>{var e;"delete"===(null===(e=t.code)||void 0===e?void 0:e.toLowerCase())?this.onClose():this.$emit("keyup",t)}}},closeButtonIconSize(){return Kd[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",qd[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Hd[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Wd=zd;var Gd=B(Wd,jd,Fd,!1,null,null,null);const Ud=Gd.exports;var Zd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("label",[t.$slots.label||t.label?n("div",t._b({class:["d-label",t.LABEL_SIZE_MODIFIERS[t.size],t.labelClass],attrs:{"aria-details":t.labelAriaDetails,"data-qa":"dt-select-label"}},"div",t.labelChildProps,!1),[t._t("label",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.DESCRIPTION_SIZE_MODIFIERS[t.size],t.descriptionClass],attrs:{id:t.descriptionKey,"data-qa":"dt-select-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("div",{class:["d-select",t.SELECT_SIZE_MODIFIERS[t.size],t.selectClass,{"d-select--disabled":t.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[n("select",t._g(t._b({class:["d-select__input",t.SELECT_STATE_MODIFIERS[t.state]],attrs:{"data-qa":"dt-select",disabled:t.disabled}},"select",t.$attrs,!1),t.selectListeners),[t._t("default",(function(){return t._l(t.options,(function(e){return n("option",t._b({key:t.getOptionKey(e.value),class:t.optionClass,domProps:{value:e.value}},"option",t.optionChildProps,!1),[t._v(" "+t._s(e.label)+" ")])}))}))],2)])]),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},Yd=[];const Xd={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Qd={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Jd=t=>!t.index||"number"===typeof t.index,tu=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),eu=t=>!!t.label&&"string"===typeof t.label,nu=t=>!t||t.every((t=>!!Jd(t)&&(!!tu(t)&&!!eu(t)))),iu={name:"DtSelectMenu",components:{DtValidationMessages:Xr},mixins:[el],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>nu(t)},size:{type:String,default:"md",validator:t=>Object.keys(Xd).includes(t)},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},selectClass:{type:[String,Array,Object],default:""},optionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})},optionChildProps:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1}},emits:["input","change"],data(){return{LABEL_SIZE_MODIFIERS:d,DESCRIPTION_SIZE_MODIFIERS:l,SELECT_SIZE_MODIFIERS:Xd,SELECT_STATE_MODIFIERS:Qd}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return w(this.formattedMessages)},selectKey(){return S()},descriptionKey(){return`select-${this.selectKey}-description`},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(t){this.$emit("input",t),this.$emit("change",t)},getOptionKey(t){return`select-${this.selectKey}-option-${t}`},validateOptionsPresence(){var t;(null===(t=this.options)||void 0===t?void 0:t.length)<1&&!this.$slots.default&&f().util.warn("Options are expected to be provided via prop or slot",this)}}},au=iu;var su=B(au,Zd,Yd,!1,null,null,null);const ou=su.exports;var ru=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isShown?n("div",{class:["d-toast",t.kindClass,{"d-toast--important":t.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!t.isShown).toString()}},[n("div",{staticClass:"d-toast__dialog"},[n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default",(function(){return[t._v(" "+t._s(t.message)+" ")]}))],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.noticeActionListeners),[t._t("action")],2)],1)]):t._e()},lu=[];const du=["status","alert"],uu=6e3,cu={name:"DtToast",components:{DtNoticeIcon:_t,DtNoticeContent:It,DtNoticeAction:se},mixins:[Zt],props:{titleId:{type:String,default(){return D.getUniqueString()}},contentId:{type:String,default(){return D.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>du.includes(t)},kind:{type:String,default:"base",validator:t=>ft.includes(t)},important:{type:Boolean,default:!1},show:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},duration:{type:Number,default:null,validator:t=>t>=uu}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:uu}},computed:{kindClass(){const t={error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"};return t[this.kind]},noticeActionListeners(){return{...this.$listeners,close:t=>{this.isShown=!1,this.$emit("update:show",!1),this.$emit("close",t)}}},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(t){this.isShown=t,t?this.setTimeout():clearTimeout(this.displayTimer)},immediate:!0}},destroyed(){this.shouldSetTimeout&&clearTimeout(this.displayTimer)},methods:{setTimeout(){this.shouldSetTimeout&&(this.displayTimer=setTimeout((()=>{this.isShown=!1,this.$emit("update:show",!1)}),this.duration))}}},pu=cu;var hu=B(pu,ru,lu,!1,null,null,null);const fu=hu.exports;var mu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-flex d-ai-center"},[t.$slots.default?n("label",t._b({class:t.labelClass,attrs:{for:t.id,"data-qa":"toggle-label"}},"label",t.labelChildProps,!1),[t._t("default")],2):t._e(),n("button",t._g(t._b({class:t.toggleClasses,attrs:{id:t.id,role:t.toggleRole,type:"button","aria-checked":t.internalChecked.toString(),disabled:t.disabled,"aria-disabled":t.disabled.toString()}},"button",t.$attrs,!1),t.inputListeners),[t.showIcon?n("span",{staticClass:"d-toggle__inner"}):t._e()])])},gu=[];const vu={sm:"d-toggle--small",md:""},bu=[!1,!0,"mixed"],yu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return D.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>bu.includes(t)},size:{type:String,default:"md",validator:t=>Object.keys(vu).includes(t)},showIcon:{type:Boolean,default:!0},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$listeners,click:t=>this.toggleCheckedValue()}},isIndeterminate(){return"mixed"===this.internalChecked},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",vu[this.size],{"d-toggle--checked":!0===this.internalChecked,"d-toggle--disabled":this.disabled,"d-toggle--indeterminate":this.isIndeterminate}]}},watch:{checked(t){this.internalChecked=t}},mounted(){this.runValidations()},methods:{toggleCheckedValue(){this.internalChecked=!this.internalChecked,this.$emit("change",this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(t,e){t||e||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},_u=yu;var Su=B(_u,mu,gu,!1,null,null,null);const xu=Su.exports;var Cu=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tooltip-container"}},[i("div",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:e.onEnterAnchor,focusout:e.onLeaveAnchor,mouseenter:e.onEnterAnchor,mouseleave:e.onLeaveAnchor,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onLeaveAnchor.apply(null,arguments)}}},[e._t("anchor")],2),i("dt-lazy-show",e._g({ref:"content",class:["d-tooltip","d-tooltip__arrow-tippy--"+e.currentPlacement,(t={},t[e.TOOLTIP_KIND_MODIFIERS.inverted]=e.inverted,t),e.contentClass],attrs:{id:e.id,show:e.isShown&&(!!e.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:e.transition}},e.tooltipListeners),[e._t("default",(function(){return[e._v(" "+e._s(e.message)+" ")]}))],2)],1)},wu=[];const Ou=[...Wo],Iu={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Eu=[...Go],ku=[!0,!1,"toggle"],Lu={name:"Tooltip",components:{DtLazyShow:Ii},props:{id:{type:String,default(){return S()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return Ou.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>Eu.includes(t)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:Iu,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:Zo({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(t){null!==t&&(this.isShown=t)},immediate:!0},isShown(t,e){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=Uo(Xo(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var t;this.tip&&(null===(t=this.tip)||void 0===t||t.destroy())},methods:{calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?651:400},hasVisibleFocus(){return Xo(this.$refs.anchor).hasAttribute("data-focus-visible-added")},onEnterAnchor(t){"focusin"===t.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(t){null===this.show&&(this.isShown=!1)},onChangePlacement(t){this.currentPlacement=t},onLeaveTransitionComplete(){var t;null===(t=this.tip)||void 0===t||t.unmount(),this.$emit("shown",!1),null!==this.show&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),null!==this.show&&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}}}},Du=Lu;n(664);var Au=B(Du,Cu,wu,!1,null,null,null);const Tu=Au.exports;var Pu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("kbd",{class:["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs-100",t.inverted?"d-bc-black-500":"d-bc-black-400"]},[t.screenReaderText?n("span",{staticClass:"sr-only"},[t._v(" "+t._s(t.screenReaderText)+" ")]):t._e(),t._l(t.formattedShortcutSplit,(function(e,i){return[t.icons[e]?n("dt-icon",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{name:t.icons[e],size:"100","aria-hidden":"true"}}):n("span",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:t._s(e)}})]}))],2)},$u=[];const Mu={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Ru={"{plus}":"plus"},Bu=Object.keys(Mu),Nu={name:"DtKeyboardShortcut",components:{DtIcon:st},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Mu,separator:/\+/gi}},computed:{icons(){return{...Mu,...Ru}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Mu).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),Mu[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},Vu=Nu;var ju=B(Vu,Pu,$u,!1,null,null,null);const Fu=ju.exports;var qu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"root-layout"},[t.$slots.header?n("header",{class:["root-layout__header",t.headerClass,{"root-layout__header--sticky":t.headerSticky}],style:{height:t.headerHeight},attrs:{"data-qa":"root-layout-header"}},[t._t("header")],2):t._e(),n("dt-root-layout-body",{attrs:{"body-class":t.bodyClass,"content-class":t.contentClass,"content-wrap-width-percent":t.contentWrapWidthPercent,"sidebar-class":t.sidebarClass,"sidebar-width":t.sidebarWidth,"sidebar-position":t.sidebarPosition},scopedSlots:t._u([t.$slots.sidebar?{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0}:null,t.$slots.default?{key:"content",fn:function(){return[t._t("default")]},proxy:!0}:null],null,!0)}),t.$slots.footer?n("footer",{class:["root-layout__footer",t.footerClass],style:{height:t.footerHeight},attrs:{"data-qa":"root-layout-footer"}},[t._t("footer")],2):t._e()],1)},Hu=[],Ku=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["root-layout__body",t.bodyClasses],attrs:{"data-qa":"root-layout-body"}},[t.$slots.sidebar?n("aside",{class:["root-layout__sidebar",t.sidebarClass],style:{"flex-basis":t.sidebarWidth},attrs:{"data-qa":"root-layout-sidebar"}},[t._t("sidebar")],2):t._e(),t.$slots.content?n("main",{class:["root-layout__content",t.contentClass],style:{"min-inline-size":t.contentWrapWidthPercent},attrs:{"data-qa":"root-layout-content"}},[t._t("content")],2):t._e()])},zu=[];const Wu={LEFT:"left",RIGHT:"right"},Gu={name:"DtRootLayoutBody",props:{bodyClass:{type:[String,Array,Object],default:void 0},contentClass:{type:[String,Array,Object],default:void 0},sidebarClass:{type:[String,Array,Object],default:void 0},sidebarWidth:{type:String,default:void 0},sidebarPosition:{type:String,default:void 0},contentWrapWidthPercent:{type:String,default:void 0}},computed:{bodyClasses(){return[this.bodyClass,{"root-layout__body--invert":this.sidebarPosition===Wu.RIGHT}]}}},Uu=Gu;n(263);var Zu=B(Uu,Ku,zu,!1,null,null,null);const Yu=Zu.exports,Xu={name:"DtRootLayout",components:{DtRootLayoutBody:Yu},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},bodyClass:{type:[String,Array,Object],default:""},headerSticky:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:""},contentWrapWidthPercent:{type:String,default:"50%"},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:t=>Object.values(Wu).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},Qu=Xu;n(987);var Ju=B(Qu,qu,Hu,!1,null,null,null);const tc=Ju.exports;var ec=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,label:t.label,"label-visible":t.labelVisible,size:t.size,description:t.description,"empty-list":t.emptyList,"empty-state-message":t.emptyStateMessage,"show-list":t.isListShown,"on-beginning-of-list":t.onBeginningOfList,"on-end-of-list":t.onEndOfList,"list-rendered-outside":!0,"list-id":t.listId,"data-qa":"dt-combobox"},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.inputProps;return[n("div",{ref:"input",attrs:{id:t.externalAnchor},on:{focusin:t.onFocusIn,focusout:t.onFocusOut,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.openOnArrowKeyPress(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.openOnArrowKeyPress(e)}]}},[t._t("input",null,{inputProps:i,onInput:t.handleDisplayList})],2)]}},{key:"list",fn:function(e){var i=e.opened,a=e.listProps,s=e.clearHighlightIndex;return[n("dt-popover",{ref:"popover",attrs:{open:t.isListShown,"hide-on-click":null===t.showList,"max-height":t.maxHeight,"max-width":t.maxWidth,offset:t.popoverOffset,sticky:t.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":t.externalAnchor,"content-width":t.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose},on:{"update:open":function(e){t.isListShown=e},opened:function(t){return i(t,arguments[1])}},scopedSlots:t._u([{key:"headerContent",fn:function(){return[t.$slots.header?n("div",{ref:"header",on:{focusout:t.onFocusOut}},[t._t("header")],2):t._e()]},proxy:!0},{key:"content",fn:function(){return[n("div",{ref:"listWrapper",class:[t.DROPDOWN_PADDING_CLASSES[t.padding],t.listClass],on:{mouseleave:s,focusout:function(e){t.onFocusOut}}},[t.loading?n("combobox-loading-list",t._b({},"combobox-loading-list",a,!1)):t.emptyList&&t.emptyStateMessage?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",a,!1)):t._t("list",null,{listProps:a})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[t.$slots.footer?n("div",{ref:"footer",on:{focusout:t.onFocusOut}},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})]}}],null,!0)},t.comboboxListeners))},nc=[];const ic={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:pi,DtPopover:Cr,ComboboxLoadingList:ei,ComboboxEmptyList:ri},mixins:[Zt],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(li).includes(t)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return S()}},listClass:{type:[String,Array,Object],default:""},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},padding:{type:String,default:"small",validator:t=>Object.keys(wr).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>nr.includes(t)},openWithArrowKeys:{type:Boolean,default:!1},popoverOffset:{type:Array,default:()=>[0,4]},popoverSticky:{type:[Boolean,String],default:!1},hasSuggestionList:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:wr,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:S()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(t){null!==t&&(this.isListShown=t)},immediate:!0},isListShown(t){this.onOpened(t)}},methods:{handleDisplayList(t){!this.hasSuggestionList&&t&&this.showComboboxList(),this.hasSuggestionList||t||this.closeComboboxList()},showComboboxList(){null==this.showList&&(this.isListShown=!0)},closeComboboxList(){null==this.showList&&(this.isListShown=!1)},onSelect(t){this.loading||(this.$emit("select",t),this.hasSuggestionList||this.closeComboboxList())},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(t){this.loading||this.$emit("highlight",t)},onOpened(t){this.$emit("opened",t)},onFocusIn(t){this.hasSuggestionList&&t&&this.$refs.input.querySelector("input")===t.target&&this.showComboboxList()},onFocusOut(t){const e=["input","header","footer","listWrapper"],n=e.some((e=>{var n;return null===(n=this.$refs[e])||void 0===n?void 0:n.contains(t.relatedTarget)}))||this.visuallyHiddenClose;n||this.closeComboboxList()},openOnArrowKeyPress(){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},ac=ic;var sc=B(ac,ec,nc,!1,null,null,null);const oc=sc.exports;var rc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:t.label,"show-list":t.showList,"max-height":t.listMaxHeight,"popover-offset":t.popoverOffset,"has-suggestion-list":t.hasSuggestionList,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose,"content-width":"anchor"},on:{select:t.onComboboxSelect},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.onInput;return[n("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative"},[n("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2"},t._l(t.selectedItems,(function(e){return n("dt-chip",t._g({key:e.id,ref:"chips",refInFor:!0,staticClass:"d-mt4 d-mx2 d-zi-base1",attrs:{"close-button-props":{ariaLabel:"close"},size:t.size},on:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"backspace",void 0,n.key,void 0)?null:t.onChipRemove(e)},close:function(n){return t.onChipRemove(e)}}},t.chipListeners),[t._v(" "+t._s(e)+" ")])})),1),n("dt-input",t._g({ref:"input",staticClass:"d-fl-grow1 d-mb4",attrs:{"aria-label":t.label,label:t.labelVisible?t.label:"",description:t.description,placeholder:t.inputPlaceHolder,"show-messages":t.showInputMessages,messages:t.inputMessages,size:t.size},on:{input:i},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t.inputListeners)),n("dt-validation-messages",{attrs:{"validation-messages":t.maxSelectedMessage,"show-messages":t.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[t.$slots.header?n("div",{ref:"header"},[t._t("header")],2):t._e()]},proxy:!0},{key:"list",fn:function(){return[n("div",{ref:"list",on:{mousedown:function(t){t.preventDefault()}}},[t.loading?n("div",{staticClass:"d-ta-center d-py16"},[t._v(" "+t._s(t.loadingMessage)+" ")]):t._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[t.$slots.footer?n("div",{ref:"footer"},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})},lc=[];const dc={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},uc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:oc,DtInput:sl,DtChip:Ud,DtValidationMessages:Xr},mixins:[Zt],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>Gr(t)},showInputMessages:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingMessage:{type:String,default:"loading..."},showList:{type:Boolean,default:null},listMaxHeight:{type:String,default:"300px"},selectedItems:{type:Array,default:function(){return[]}},maxSelected:{type:Number,default:0},maxSelectedMessage:{type:Array,default:function(){return[]}},hasSuggestionList:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(dc).includes(t)}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null}},computed:{inputPlaceHolder(){var t;return(null===(t=this.selectedItems)||void 0===t?void 0:t.length)>0?"":this.placeholder},chipListeners(){return{...this.$listeners,keyup:t=>{this.onChipKeyup(t),this.$emit("keyup",t)}}},inputListeners(){return{...this.$listeners,input:t=>{this.$emit("input",t),this.hasSuggestionList&&this.showComboboxList()},keyup:t=>{this.onInputKeyup(t),this.$emit("keyup",t)},click:t=>{this.hasSuggestionList&&this.showComboboxList()}}}},watch:{selectedItems:{immediate:!0,async handler(){await this.$nextTick(),this.setInputPadding(),this.setInputMinWidth(),this.checkMaxSelected()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()}},mounted(){this.setChipsTopPosition(),this.resizeWindowObserver=new ResizeObserver((()=>{this.setChipsTopPosition(),this.setInputPadding()})).observe(document.body)},beforeDestroy(){var t;null===(t=this.resizeWindowObserver)||void 0===t||t.unobserve(document.body)},methods:{onChipRemove(t){this.$emit("remove",t),this.$refs.input.focus()},onComboboxSelect(t){this.value="",this.$emit("select",t)},showComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.showComboboxList()},closeComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.closeComboboxList()},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$el.querySelector("button")))},getChips(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$el))},getLastChipButton(){return this.$refs.chips&&this.getChipButtons()[this.getChipButtons().length-1]},getLastChip(){return this.$refs.chips&&this.getChips()[this.getChips().length-1]},getFirstChip(){return this.$refs.chips&&this.getChips()[0]},getInput(){var t;return null===(t=this.$refs.input)||void 0===t?void 0:t.$refs.input},onChipKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();"arrowleft"===n?this.navigateBetweenChips(t.target,!0):"arrowright"===n&&(t.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(t.target,!1))},onInputKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();this.selectedItems.length>0&&0===t.target.selectionStart&&("backspace"!==n&&"arrowleft"!==n||this.moveFromInputToChip())},moveFromInputToChip(){this.getLastChipButton().focus(),this.$refs.input.blur(),this.closeComboboxList()},moveFromChipToInput(){this.getLastChipButton().blur(),this.$refs.input.focus(),this.showComboboxList()},navigateBetweenChips(t,e){const n=this.getChipButtons().indexOf(t),i=e?n-1:n+1;i<0||i>=this.$refs.chips.length||(this.getChipButtons()[n].blur(),this.getChipButtons()[i].focus(),this.closeComboboxList())},setChipsTopPosition(){if(!this.$refs.input)return;const t=this.getInput();if(!t)return;const e=this.$refs.inputSlotWrapper,n=t.getBoundingClientRect().top-e.getBoundingClientRect().top,i=this.$refs.chipsWrapper;i.style.top=n+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput();if(!e)return;if(!t)return void this.revertInputPadding(e);const n=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=n+"px";const i=t.offsetTop+3;e.style.paddingTop=i+"px",this.popoverOffset=[0,4]},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},setInputMinWidth(){const t=this.getFirstChip(),e=this.getInput();e&&(e.style.minWidth=t?this.getFullWidth(t)+4+"px":"")},checkMaxSelected(){0!==this.maxSelected&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}},cc=uc;var pc=B(cc,rc,lc,!1,null,null,null);const hc=pc.exports;var fc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-tooltip",{attrs:{id:t.id,offset:[0,-12]},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",t._g({class:t.callbarButtonClass,attrs:{importance:t.circle?"outlined":"clear",kind:"muted","icon-position":"top",disabled:t.disabled,"aria-label":t.ariaLabel,"label-class":"d-fs-100",width:"8.4rem"}},t.$listeners),[t._t("default"),t._t("icon",null,{slot:"icon"})],2)]},proxy:!0}],null,!0)},[t._t("tooltip")],2)},mc=[];const gc={name:"DtRecipeCallbarButton",components:{DtButton:Ut,DtTooltip:Tu},inheritAttrs:!0,props:{id:{type:String,default(){return D.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},buttonClass:{type:[String,Array,Object],default:""}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"dt-recipe-callbar-button","d-stack4","d-px0","h:d-bgc-black-200","h:d-bgo50",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger}]}}},vc=gc;n(39);var bc=B(vc,fc,mc,!1,null,null,null);const yc=bc.exports;var _c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-recipe--callbar-button-with-popover--button"},[n("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,active:t.active,danger:t.danger,"button-class":t.buttonClass},on:{click:t.buttonClick}},[t._t("icon",null,{slot:"icon"}),t._t("tooltip",null,{slot:"tooltip"}),t._t("default")],2),t.showArrowButton?n("dt-popover",t._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:t.id,open:t.open,placement:t.placement,"initial-focus-element":t.initialFocusElement,"show-close-button":t.showCloseButton,padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",t.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{staticClass:"dt-recipe--callbar-button-with-popover--arrow",attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":t.arrowButtonLabel,active:t.open},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,3340821372)})]},proxy:!0}],null,!1,86794195)},"dt-popover",t.$attrs,!1),[t._t("content",null,{slot:"content"}),t._t("headerContent",null,{slot:"headerContent"}),t._t("footerContent",null,{slot:"footerContent"})],2):t._e()],1)},Sc=[];const xc={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:yc,DtPopover:Cr,DtButton:Ut,DtIcon:st},inheritAttrs:!1,props:{id:{type:String,default(){return D.getUniqueString()}},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},arrowButtonLabel:{type:String,required:!0,validator:t=>!!t},placement:{type:String,default:"top"},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["arrowClick","click"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled}},methods:{arrowClick(t){return this.$emit("arrowClick",t),this.open=!this.open},buttonClick(t){this.$listeners.click?this.$emit("click",t):this.arrowClick(t)},onModalIsOpened(t){this.open=t}}},Cc=xc;n(724);var wc=B(Cc,_c,Sc,!1,null,null,null);const Oc=wc.exports;var Ic=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-list-item",{attrs:{id:t.id,role:t.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:t._u([{key:"left",fn:function(){return[n("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[t.avatarSrc?n("dt-avatar",{attrs:{size:"lg"}},[n("img",{attrs:{"data-qa":"dt-contact-avatar",src:t.avatarSrc,alt:t.avatarInitials}})]):t.avatarInitials?n("dt-avatar",{attrs:{kind:"initials",size:"lg",color:t.avatarColor}},[t._v(" "+t._s(t.avatarInitials)+" ")]):t._e(),t.showUserStatus?n("div",{class:["d-ba","d-bc-white","d-baw2","d-bar2","d-ps-absolute","d-bn1","d-rn1","d-w20p","d-h20p",t.USER_STATUS_COLOR_MODIFIERS[t.userStatusColor]],attrs:{"data-qa":"contact-info-user-status"}},[t._v(" ")]):t._e()],1)]},proxy:!0},{key:"default",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-header"}},[t._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-subtitle"}},[t._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-bottom"}},[t._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-right"}},[t._t("right")],2)]},proxy:!0}],null,!0)})},Ec=[];const kc={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},Lc={name:"DtRecipeContactInfo",components:{DtAvatar:G,DtListItem:fn},props:{id:{type:String,default(){return D.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:t=>Object.keys(H).includes(t)},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(kc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:kc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Dc=Lc;var Ac=B(Dc,Ic,Ec,!1,null,null,null);const Tc=Ac.exports;var Pc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-fs-100 d-d-flex d-top-banner-info d-jc-space-between d-ai-center",class:t.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[n("div",{staticClass:"d-top-banner-info__left"},[t._t("left")],2),n("div",{staticClass:"d-top-banner-info__middle d-my4"},[t._t("default")],2),n("div",{staticClass:"d-top-banner-info__right d-ta-right"},[t._t("right")],2)])},$c=[];const Mc=["green300","green100","red200","red100","gold100","gold200","black100","white"],Rc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return Mc.includes(t)}}},computed:{bannerInfoClass(){const t={green300:"d-bgc-green-300",green100:"d-bgc-green-100",red200:"d-bgc-red-200",red100:"d-bgc-red-100",gold200:"d-bgc-gold-200",gold100:"d-bgc-gold-100",black100:"d-bgc-black-400",white:"d-bgc-white"};return[t[this.colorCode]]}}},Bc=Rc;n(486);var Nc=B(Bc,Pc,$c,!1,null,null,null);const Vc=Nc.exports;var jc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},t.$listeners),[t.dtmfKey?n("div",{staticClass:"d-zi-base1 d-ai-center d-jc-center d-d-flex d-w24 d-h24 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn12 d-fc-white d-fs-200",class:{"d-mbn16":t.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[t._v(" "+t._s(t.dtmfKey)+" ")]):n("div",{staticClass:"d-zi-base1 d-d-flex d-w8 d-h8 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn4",class:{"d-mbn8":t.isSelected},attrs:{"data-qa":"dt-top-connector"}}),n("dt-card",{attrs:{"content-class":"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12","container-class":["d-w100p",{"d-ba d-bar8 d-baw4":t.isSelected},t.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",t.headerColor,{"d-btr4":!t.isSelected}]},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"d-d-flex d-ai-center"},[n("dt-button",{attrs:{"aria-label":t.nodeType,importance:"clear","data-qa":"dt-ivr-node-icon"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:t.nodeIcon,size:"200"}})]},proxy:!0}])}),n("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[t._v(" "+t._s(t.nodeLabel)+" ")])],1),n("dt-dropdown",{attrs:{placement:"bottom",open:t.isOpen},on:{"update:open":function(e){t.isOpen=e}},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{attrs:{importance:"clear","aria-label":t.menuButtonAriaLabel},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.openMenu.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function(e){var i=e.close;return[n("div",{staticClass:"d-w164"},[t._t("menuItems",null,{close:i})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[t._t("content")]},proxy:!0}],null,!0)})],1)},Fc=[];const qc="promptmenu",Hc="promptcollect",Kc="promptplay",zc="gotoexpert",Wc="goto",Gc="branch",Uc="transfer",Zc="hangup",Yc={[qc]:"keypad",[Hc]:"dialer",[Kc]:"volume-2",[zc]:"corner-down-right",[Gc]:"network",[Wc]:"chevrons-up",[Uc]:"transfer",[Zc]:"phone-hang-up"},Xc={[qc]:"Menu",[Hc]:"Collect",[Kc]:"Play",[zc]:"Expert",[Gc]:"Branch",[Wc]:"Go-to",[Uc]:"Transfer",[Zc]:"Hangup"},Qc={PROMPT:{normal:"d-bc-blue-200",selected:"d-bc-blue-300"},LOGIC:{normal:"d-bc-purple-200",selected:"d-bc-purple-400"},TERMINAL:{normal:"d-bc-red-100",selected:"d-bc-red-200"}},Jc={[qc]:Qc.PROMPT,[Hc]:Qc.PROMPT,[Kc]:Qc.PROMPT,[zc]:Qc.LOGIC,[Gc]:Qc.LOGIC,[Wc]:Qc.LOGIC,[Uc]:Qc.TERMINAL,[Zc]:Qc.TERMINAL},tp={name:"DtRecipeIvrNode",components:{DtCard:We,DtButton:Ut,DtDropdown:kr,DtIcon:st},props:{nodeType:{type:String,required:!0},nodeLabel:{type:String,required:!0},isSelected:{type:Boolean,default:!1},menuButtonAriaLabel:{type:String,required:!0},dtmfKey:{type:String,default:null}},emits:["click"],data(){return{isOpen:!1}},computed:{nodeIcon(){return Yc[this.nodeType]},headerColor(){const{normal:t,selected:e}=Jc[this.nodeType];return this.isSelected?e:t}},methods:{openMenu(){this.isOpen=!0}}},ep=tp;n(183);var np=B(ep,jc,Fc,!1,null,null,null);const ip=np.exports;var ap=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-inline-flex d-ws-nowrap d-bgc-unset",attrs:{"data-qa":"grouped-chip"}},[n("dt-chip",{staticClass:"d-blr-pill d-bgc-black-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([t.$slots.leftIcon?{key:"icon",fn:function(){return[t.$slots.leftIcon?n("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[t._t("leftIcon")],2):t._e()]},proxy:!0}:null,{key:"default",fn:function(){return[t.$slots.leftContent?n("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[t._t("leftContent")],2):t._e()]},proxy:!0}],null,!0)}),n("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([{key:"icon",fn:function(){return[t.$slots.rightIcon?n("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[t._t("rightIcon")],2):t._e()]},proxy:!0},{key:"default",fn:function(){return[t.$slots.rightContent?n("div",{staticClass:"d-wmx50p",attrs:{"data-qa":"right-grouped-chip-content"}},[t._t("rightContent")],2):t._e()]},proxy:!0}],null,!0)})],1)},sp=[];const op={name:"DtRecipeGroupedChip",components:{DtChip:Ud},computed:{}},rp=op;var lp=B(rp,ap,sp,!1,null,null,null);const dp=lp.exports})(),i})()));
|
|
1
|
+
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["dialtone-vue"]=e():t["dialtone-vue"]=e()})("undefined"!==typeof self?self:this,(()=>(()=>{var t={5:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-empty-list-item{display:flex;align-items:center;justify-content:center;font-size:var(--fs-200);line-height:var(--lh4);padding:var(--su4) var(--su12)}",""]);const l=r},720:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".d-context-menu-list{width:24rem}",""]);const l=r},719:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-separator{height:1px;list-style:none}",""]);const l=r},321:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-default-list-item,.dt-default-list-item--left,.dt-default-list-item--right{min-height:28px}",""]);const l=r},814:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-list-item:not(.dt-list-item--static){cursor:pointer}.dt-list-item--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-500-h),var(--black-500-s),var(--black-500-l),.15)}.dt-list-item:focus-visible{border-radius:var(--br4);outline:none;box-shadow:inset 0 0 0 var(--su2) var(--focus-ring)}",""]);const l=r},744:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,'.dt-list-section[tabindex="-1"]:focus{outline:none}',""]);const l=r},410:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".tippy-box[data-popper-escaped] .d-popover__dialog,.tippy-box[data-popper-reference-hidden] .d-popover__dialog{visibility:hidden;pointer-events:none}",""]);const l=r},575:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".root-layout__header--sticky{position:sticky;top:0}",""]);const l=r},434:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".root-layout__body{display:flex;flex-wrap:wrap;gap:0}.root-layout__body--invert{flex-direction:row-reverse}.root-layout__sidebar{flex-grow:1}.root-layout__content{flex-basis:0;flex-grow:999}",""]);const l=r},914:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".skeleton-placeholder{display:flex;stroke:none;fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}50%{fill:var(--placeholder-to-color,var(--black-100));background:var(--placeholder-to-color,var(--black-100))}90%{fill:var(--placeholder-from-color,var(--black-300));background:var(--placeholder-from-color,var(--black-300))}}",""]);const l=r},514:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".tippy-box[data-popper-escaped] .d-tooltip,.tippy-box[data-popper-reference-hidden] .d-tooltip{visibility:hidden;pointer-events:none}",""]);const l=r},909:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe-callbar-button:not(.dt-recipe-callbar-button--circle){letter-spacing:-.011rem;line-height:1.6rem}.dt-recipe-callbar-button--circle{border-radius:var(--br-circle)}.dt-recipe-callbar-button.d-btn[disabled]{background-color:unset}.dt-recipe-callbar-button--circle.d-btn[disabled]{border-color:unset}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active{--button--bgc:hsla(var(--error-color-hsl)/10%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--danger.dt-recipe-callbar-button--active:hover{--button--bgc:hsla(var(--error-color-hsl)/20%);--button--fc:var(--error-color-hover)}.dt-recipe-callbar-button--active .base-button__icon,.dt-recipe-callbar-button--active:hover .base-button__icon{color:var(--primary-color)}",""]);const l=r},435:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".dt-recipe--callbar-button-with-popover--button{position:relative;display:inline-block}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle{position:absolute;top:2rem;right:0;width:var(--su16);height:var(--su16);padding:var(--su8);border-radius:var(--su4)}.dt-recipe--callbar-button-with-popover--arrow.d-btn--circle.d-btn--active{background:var(--black-025)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header{background:var(--black-900);color:var(--white)}.dt-recipe--callbar-button-with-popover--popover .d-popover__header button{color:var(--white)}.dt-recipe--callbar-button-with-popover--button .d-tab--selected:after,.dt-recipe--callbar-button-with-popover--button .d-tab--selected:hover:after{--tab--bgc:var(--black-900)}.dt-recipe--callbar-button-with-popover--button .tab-group{display:flex;flex-direction:column;height:100%}.dt-recipe--callbar-button-with-popover--button .tab-content{flex:1 1 100%;overflow-y:auto}",""]);const l=r},539:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".ivr_node__width{width:280px}",""]);const l=r},326:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".d-top-banner-info__left{margin:var(--su4) 0 var(--su4) var(--su8);min-width:20%}.d-top-banner-info__right{margin:var(--su4) var(--su12) var(--su4) 0;min-width:20%}",""]);const l=r},566:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>l});var i=n(481),a=n.n(i),s=n(400),o=n.n(s),r=o()(a());r.push([t.id,".enter-active,.leave-active{overflow:hidden;transition:height .3s linear}",""]);const l=r},400:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n="",i="undefined"!==typeof e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n})).join("")},e.i=function(t,n,i,a,s){"string"===typeof t&&(t=[[null,t,void 0]]);var o={};if(i)for(var r=0;r<this.length;r++){var l=this[r][0];null!=l&&(o[l]=!0)}for(var d=0;d<t.length;d++){var u=[].concat(t[d]);i&&o[u[0]]||("undefined"!==typeof s&&("undefined"===typeof u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),a&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=a):u[4]="".concat(a)),e.push(u))}},e}},481:t=>{"use strict";t.exports=function(t){return t[1]}},750:(t,e,n)=>{var i=n(5);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("484db3d5",i,!0,{sourceMap:!1,shadowMode:!1})},427:(t,e,n)=>{var i=n(720);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2767d7d2",i,!0,{sourceMap:!1,shadowMode:!1})},717:(t,e,n)=>{var i=n(719);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("321d92d7",i,!0,{sourceMap:!1,shadowMode:!1})},357:(t,e,n)=>{var i=n(321);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("43c617ae",i,!0,{sourceMap:!1,shadowMode:!1})},759:(t,e,n)=>{var i=n(814);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6af7b624",i,!0,{sourceMap:!1,shadowMode:!1})},792:(t,e,n)=>{var i=n(744);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("7f7fada4",i,!0,{sourceMap:!1,shadowMode:!1})},155:(t,e,n)=>{var i=n(410);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("40d6a89f",i,!0,{sourceMap:!1,shadowMode:!1})},987:(t,e,n)=>{var i=n(575);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("2256c3e1",i,!0,{sourceMap:!1,shadowMode:!1})},263:(t,e,n)=>{var i=n(434);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1d28b333",i,!0,{sourceMap:!1,shadowMode:!1})},859:(t,e,n)=>{var i=n(914);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("de95764a",i,!0,{sourceMap:!1,shadowMode:!1})},664:(t,e,n)=>{var i=n(514);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("9c5db186",i,!0,{sourceMap:!1,shadowMode:!1})},39:(t,e,n)=>{var i=n(909);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("0a0205b6",i,!0,{sourceMap:!1,shadowMode:!1})},724:(t,e,n)=>{var i=n(435);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("be005c80",i,!0,{sourceMap:!1,shadowMode:!1})},183:(t,e,n)=>{var i=n(539);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("33204bb2",i,!0,{sourceMap:!1,shadowMode:!1})},486:(t,e,n)=>{var i=n(326);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("1ecbd352",i,!0,{sourceMap:!1,shadowMode:!1})},124:(t,e,n)=>{var i=n(566);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("6b5bfe56",i,!0,{sourceMap:!1,shadowMode:!1})},402:(t,e,n)=>{"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var s=e[a],o=s[0],r=s[1],l=s[2],d=s[3],u={id:t+":"+a,css:r,media:l,sourceMap:d};i[o]?i[o].parts.push(u):n.push(i[o]={id:o,parts:[u]})}return n}n.d(e,{Z:()=>f});var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},o=a&&(document.head||document.getElementsByTagName("head")[0]),r=null,l=0,d=!1,u=function(){},c=null,p="data-vue-ssr-id",h="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,n,a){d=n,c=a||{};var o=i(t,e);return m(o),function(e){for(var n=[],a=0;a<o.length;a++){var r=o[a],l=s[r.id];l.refs--,n.push(l)}e?(o=i(t,e),m(o)):o=[];for(a=0;a<n.length;a++){l=n[a];if(0===l.refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete s[l.id]}}}}function m(t){for(var e=0;e<t.length;e++){var n=t[e],i=s[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(v(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(v(n.parts[a]));s[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function v(t){var e,n,i=document.querySelector("style["+p+'~="'+t.id+'"]');if(i){if(d)return u;i.parentNode.removeChild(i)}if(h){var a=l++;i=r||(r=g()),e=y.bind(null,i,a,!1),n=y.bind(null,i,a,!0)}else i=g(),e=_.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,a);else{var s=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(s,o[e]):t.appendChild(s)}}function _(t,e){var n=e.css,i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),c.ssrId&&t.setAttribute(p,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}}},e={};function n(i){var a=e[i];if(void 0!==a)return a.exports;var s=e[i]={id:i,exports:{}};return t[i](s,s.exports,n),s.exports}(()=>{n.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return n.d(e,{a:e}),e}})(),(()=>{n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}})(),(()=>{n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{n.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{n.p=""})();var i={};return(()=>{"use strict";if(n.r(i),n.d(i,{AVATAR_COLOR_MODIFIERS:()=>H,AVATAR_KIND_MODIFIERS:()=>j,AVATAR_SIZE_MODIFIERS:()=>F,BADGE_KIND_MODIFIERS:()=>X,BADGE_TYPE_MODIFIERS:()=>Y,BREADCRUMBS_INVERTED_MODIFIER:()=>ve,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>ge,BUTTON_GROUP_ALIGNMENT:()=>Re,CHIP_SIZE_MODIFIERS:()=>qd,COLOR_CODES:()=>Mc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>c,DESCRIPTION_SIZE_TYPES:()=>r,DtAvatar:()=>G,DtBadge:()=>dt,DtBanner:()=>he,DtBreadcrumbItem:()=>Le,DtBreadcrumbs:()=>Pe,DtButton:()=>Ut,DtButtonGroup:()=>je,DtCard:()=>We,DtCheckableInputMixin:()=>Jr,DtCheckbox:()=>Pd,DtCheckboxGroup:()=>Vd,DtChip:()=>Ud,DtCollapsible:()=>Di,DtCombobox:()=>pi,DtDropdown:()=>kr,DtDropdownList:()=>$r,DtDropdownSeparator:()=>jr,DtGroupableInputMixin:()=>tl,DtIcon:()=>st,DtInput:()=>sl,DtInputGroup:()=>pl,DtInputGroupMixin:()=>ll,DtInputMixin:()=>Qr,DtKeyboardListNavigationMixin:()=>Xe,DtKeyboardShortcut:()=>Fu,DtLazyShow:()=>Oi,DtLink:()=>Ie,DtListItem:()=>fn,DtListItemGroup:()=>Tl,DtListSection:()=>Ol,DtModal:()=>_l,DtNotice:()=>Nl,DtPagination:()=>Kl,DtPopover:()=>Cr,DtRadio:()=>Xl,DtRadioGroup:()=>id,DtRecipeCallbarButton:()=>yc,DtRecipeCallbarButtonWithPopover:()=>Ic,DtRecipeComboboxMultiSelect:()=>hc,DtRecipeComboboxWithPopover:()=>oc,DtRecipeContactInfo:()=>Tc,DtRecipeGroupedChip:()=>dp,DtRecipeIvrNode:()=>ip,DtRecipeTopBannerInfo:()=>Vc,DtRootLayout:()=>tc,DtSelectMenu:()=>ou,DtSkeleton:()=>Xn,DtSkeletonListItem:()=>Gn,DtSkeletonParagraph:()=>Hn,DtSkeletonShape:()=>kn,DtSkeletonText:()=>Nn,DtTab:()=>_d,DtTabGroup:()=>fd,DtTabPanel:()=>Od,DtToast:()=>fu,DtToggle:()=>xu,DtTooltip:()=>Tu,DtValidationMessages:()=>Xr,INPUT_SIZES:()=>Kr,INPUT_TYPES:()=>Hr,IVR_NODE_BRANCH:()=>Gc,IVR_NODE_EXPERT:()=>zc,IVR_NODE_GO_TO:()=>Wc,IVR_NODE_HANGUP:()=>Zc,IVR_NODE_ICON_TYPES:()=>Yc,IVR_NODE_LABELS:()=>Xc,IVR_NODE_PROMPT_COLLECT:()=>Hc,IVR_NODE_PROMPT_MENU:()=>qc,IVR_NODE_PROMPT_PLAY:()=>Kc,IVR_NODE_TRANSFER:()=>Uc,LINK_KIND_MODIFIERS:()=>Kt,LINK_VARIANTS:()=>Ht,MODAL_KIND_MODIFIERS:()=>ml,MODAL_SIZE_MODIFIERS:()=>gl,MULTI_SELECT_SIZES:()=>dc,NOTICE_KINDS:()=>ft,POPOVER_CONTENT_WIDTHS:()=>nr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>tr,POPOVER_INITIAL_FOCUS_STRINGS:()=>ir,POPOVER_PADDING_CLASSES:()=>Jo,POPOVER_ROLES:()=>er,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Wu,SELECT_SIZE_MODIFIERS:()=>Xd,SELECT_STATE_MODIFIERS:()=>Qd,SHORTCUTS_ALIASES_LIST:()=>Bu,SHORTCUTS_ICON_ALIASES:()=>Mu,SHORTCUTS_ICON_SEPARATOR:()=>Ru,SKELETON_HEADING_HEIGHTS:()=>Cn,SKELETON_RIPPLE_DURATION:()=>yn,SKELETON_SHAPES:()=>_n,SKELETON_SHAPE_SIZES:()=>xn,SKELETON_TEXT_TYPES:()=>Sn,TAB_IMPORTANCE_MODIFIERS:()=>ud,TAB_LIST_IMPORTANCE_MODIFIERS:()=>dd,TAB_LIST_KIND_MODIFIERS:()=>ld,TAB_LIST_SIZES:()=>od,TOAST_ROLES:()=>du,TOOLTIP_DIRECTIONS:()=>Iu,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>ku,TOOLTIP_KIND_MODIFIERS:()=>Ou,TOOLTIP_STICKY_VALUES:()=>Eu,USER_STATUS_COLOR_MODIFIERS:()=>kc,VALIDATION_MESSAGE_TYPES:()=>o,filterFormattedMessages:()=>C,formatMessages:()=>x,getUniqueString:()=>S,getValidationState:()=>w,validationMessageValidator:()=>Gr}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(n.p=e[1])}var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-avatar",t.AVATAR_KIND_MODIFIERS[t.kind],t.AVATAR_SIZE_MODIFIERS[t.size],t.AVATAR_COLOR_MODIFIERS[t.color],t.avatarClass],attrs:{id:t.id,"data-qa":"dt-avatar"}},[t._t("default"),t.presence?n("dt-presence",t._b({class:["d-avatar__presence",t.AVATAR_PRESENCE_SIZE_MODIFIERS[t.size]],attrs:{presence:t.presence,"data-qa":"dt-presence"}},"dt-presence",t.presenceProps,!1)):t._e()],2)},s=[];const o={ERROR:"error",WARNING:"warning",SUCCESS:"success"},r={LARGE:"lg",EXTRA_LARGE:"xl"},l={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},d={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},u={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"},c=o.ERROR,p="dt",h=require("vue");var f=n.n(h);let m=0;const g="input:not([type=hidden]):not(:disabled)",v="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",b=`${g},${v}`,y=`a,frame,iframe,${b},*[tabindex]`,_="function"===typeof setImmediate?setImmediate:setTimeout;function S(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return`${t}${m++}`}function x(t){return t?t.map((t=>"string"===typeof t?{message:t,type:c}:t)):[]}function C(t){const e=w(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function w(t){return t?I(t,o.ERROR)?o.ERROR:I(t,o.WARNING)?o.WARNING:I(t,o.SUCCESS)?o.SUCCESS:null:null}function I(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function O(t){return null===t||void 0===t?void 0:t.querySelector(y)}const E={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(f())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},k=()=>new Promise((t=>{_(t)})),L=t=>t.toLowerCase().split("-").map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(""),D={getUniqueString:S,formatMessages:x,filterFormattedMessages:C,hasFormattedMessageOfType:I,getValidationState:w,htmlFragment:E,flushPromises:k,kebabCaseToPascalCase:L};var A=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-presence",attrs:{"data-qa":"dt-presence",role:"status","aria-live":t.$attrs.ariaLive||"off"}},[t.srText?n("span",{staticClass:"sr-only",attrs:{"data-qa":"dt-presence-sr-text"}},[t._v(t._s(t.srText)+" ")]):t._e(),n("div",{staticClass:"d-presence__inner",class:{"d-presence__inner--active":"active"===t.presence,"d-presence__inner--away":"away"===t.presence,"d-presence__inner--busy":"busy"===t.presence,"d-presence__inner--offline":"offline"===t.presence}})])},T=[];const P={BUSY:"busy",AWAY:"away",OFFLINE:"offline",ACTIVE:"active"},$=[P.BUSY,P.AWAY,P.OFFLINE,P.ACTIVE],M={name:"Presence",props:{presence:{type:String,default:P.ACTIVE,validator:t=>$.includes(t)},srText:{type:String,default:null}}},R=M;function B(t,e,n,i,a,s,o,r){var l,d="function"===typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=n,d._compiled=!0),i&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},d._ssrRegister=l):a&&(l=r?function(){a.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(d.functional){d._injectStyles=l;var u=d.render;d.render=function(t,e){return l.call(e),u(t,e)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:d}}var N=B(R,A,T,!1,null,null,null);const V=N.exports,j={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},F={sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg"},q={md:"d-avatar__presence--md",lg:"d-avatar__presence--lg"},H={base:"","orange-200":"d-avatar--orange-200","orange-300":"d-avatar--orange-300","orange-400":"d-avatar--orange-400","orange-500":"d-avatar--orange-500","magenta-100":"d-avatar--magenta-100","magenta-200":"d-avatar--magenta-200","magenta-300":"d-avatar--magenta-300","magenta-400":"d-avatar--magenta-400","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-400":"d-avatar--purple-400","purple-500":"d-avatar--purple-500","gold-100":"d-avatar--gold-100","gold-200":"d-avatar--gold-200","gold-300":"d-avatar--gold-300","gold-500":"d-avatar--gold-500"},K={name:"DtAvatar",components:{DtPresence:V},inheritAttrs:!1,props:{id:{type:String,default(){return S()}},size:{type:String,default:"md",validator:t=>Object.keys(F).includes(t)},color:{type:String,default:"base",validator:t=>Object.keys(H).includes(t)},avatarClass:{type:[String,Array,Object],default:""},presence:{type:String,default:null},presenceProps:{type:Object,default:()=>({})}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:F,AVATAR_COLOR_MODIFIERS:H,AVATAR_KIND_MODIFIERS:j,AVATAR_PRESENCE_SIZE_MODIFIERS:q}},mounted(){this.init()},updated(){this.init()},methods:{init(){const t=this.$el.firstChild;t&&(this.setKind(t),"image"===this.kind&&t.classList.add("d-avatar__image"),this.validateImageAttrsPresence())},setKind(t){this.isSvgType(t)?this.kind="icon":this.isImageType(t)?this.kind="image":this.kind="initials"},isSvgType(t){var e;return"SVG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},isImageType(t){var e;return"IMG"===(null===t||void 0===t||null===(e=t.tagName)||void 0===e?void 0:e.toUpperCase())},validateImageAttrsPresence(){"image"===this.kind&&(this.$el.firstChild.getAttribute("src")&&this.$el.firstChild.getAttribute("alt")||f().util.warn("src and alt attributes are required for image avatars",this))}}},z=K;var W=B(z,a,s,!1,null,null,null);const G=W.exports;var U=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_TYPE_MODIFIERS[t.type],t.BADGE_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-badge"}},[t.iconLeft||"ai"===t.type?n("span",{staticClass:"d-badge__icon-left"},[n("dt-icon",{attrs:{name:t.iconLeft||"dialpad-ai",size:"200"}})],1):t._e(),n("span",{staticClass:"d-badge__label"},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2),t.iconRight?n("span",{staticClass:"d-badge__icon-right"},[n("dt-icon",{attrs:{name:t.iconRight,size:"200"}})],1):t._e()])},Z=[];const Y={default:"",info:"d-badge--info",success:"d-badge--success",warning:"d-badge--warning",critical:"d-badge--critical",bulletin:"d-badge--bulletin",ai:"d-badge--ai"},X={label:"",count:"d-badge--count"};var Q=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.currentIcon,{tag:"component",class:t.iconSize,attrs:{"data-qa":"dt-icon","aria-hidden":t.ariaLabel?"false":"true","aria-label":t.ariaLabel}})},J=[];const tt={100:"d-icon--size-100",200:"d-icon--size-200",300:"d-icon--size-300",400:"d-icon--size-400",500:"d-icon--size-500",600:"d-icon--size-600",700:"d-icon--size-700",800:"d-icon--size-800"},et=require("@dialpad/dialtone-icons"),nt={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(tt).includes(t)},name:{type:String,required:!0},ariaLabel:{type:String,default:void 0}},data(){return{dialtoneIcons:et}},computed:{iconSize(){return tt[this.size]},iconName(){return L(this.name)},currentIcon(){return this.dialtoneIcons[this.iconName]}}},it=nt;var at=B(it,Q,J,!1,null,null,null);const st=at.exports,ot={name:"DtBadge",components:{DtIcon:st},props:{iconLeft:{type:String,default:""},iconRight:{type:String,default:""},text:{type:String,default:""},kind:{type:String,default:"label",validator:t=>Object.keys(X).includes(t)},type:{type:String,default:"default",validator:t=>Object.keys(Y).includes(t)}},data(){return{BADGE_TYPE_MODIFIERS:Y,BADGE_KIND_MODIFIERS:X}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{validateProps(){"ai"===this.type&&"count"===this.kind&&console.error("DtBadge error: type: 'ai' with kind: 'count' is an invalid combination.")}}},rt=ot;var lt=B(rt,U,Z,!1,null,null,null);const dt=lt.exports;var ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.bannerClass,style:t.bannerBackgroundImage,attrs:{role:t.role},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus.apply(null,arguments)}}},[n("div",{staticClass:"d-banner__dialog",class:t.dialogClass,attrs:{"aria-labelledby":t.titleId,"aria-describedby":t.contentId}},[t.hideIcon?t._e():n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)])},ct=[],pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.defaultIcon||t.$slots.default?n("div",{staticClass:"d-notice__icon",attrs:{"aria-hidden":"true"}},[t._t("default",(function(){return[n("dt-icon",{attrs:{name:t.defaultIcon,size:"400"}})]}))],2):t._e()},ht=[];const ft=["base","error","info","success","warning"],mt=["alert","alertdialog","status"],gt=new Map([["info","info"],["success","check-circle"],["warning","alert-triangle"],["error","alert-circle"],["base","bell"]]),vt={name:"DtNoticeIcon",components:{DtIcon:st},props:{kind:{type:String,default:"base",validate(t){return ft.includes(t)}}},computed:{defaultIcon(){return gt.get(this.kind)}}},bt=vt;var yt=B(bt,pt,ht,!1,null,null,null);const _t=yt.exports;var St=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__content",attrs:{"data-qa":"notice-content"}},[t.title||t.$slots.titleOverride?n("p",{staticClass:"d-notice__title",attrs:{id:t.titleId,"data-qa":"notice-content-title"}},[t._t("titleOverride",(function(){return[t._v(" "+t._s(t.title)+" ")]}))],2):t._e(),n("p",{staticClass:"d-notice__message",attrs:{id:t.contentId,"data-qa":"notice-content-message"}},[t._t("default")],2)])},xt=[];const Ct={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},wt=Ct;var It=B(wt,St,xt,!1,null,null,null);const Ot=It.exports;var Et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-notice__actions",attrs:{"data-qa":"notice-content-actions"}},[t._t("default"),t.hideClose?t._e():n("dt-button",t._g(t._b({ref:"closeButton",attrs:{"data-qa":"dt-notice-action-close-button",size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"200"}})]},proxy:!0}],null,!1,1154370889)},"dt-button",t.closeButtonProps,!1),t.noticeActionListeners)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],2)},kt=[],Lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:["base-button__button",t.buttonClasses()],style:{width:t.width},attrs:{"data-qa":"dt-button",type:t.type,disabled:t.disabled,"aria-live":t.computedAriaLive,"aria-label":t.loading?"loading":t.$attrs["aria-label"]}},t.buttonListeners),[t.shouldRenderIcon()?n("span",{class:["base-button__icon","d-btn__icon",t.ICON_POSITION_MODIFIERS[t.iconPosition]],attrs:{"data-qa":"dt-button-icon"}},[t._t("icon")],2):t._e(),t.$slots.default?n("span",{class:["d-w100p","d-btn__label","base-button__label",t.labelClass],attrs:{"data-qa":"dt-button-label"}},[t._t("default")],2):t._e()])},Dt=[];const At={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Tt={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Pt={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},$t=["submit","reset","button"],Mt={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},Rt=[{circle:!0,kind:"default",importance:"primary",message:Bt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Bt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Bt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Bt(!1,"muted","primary")}];function Bt(t,e,n){return`You cannot have a ${t?"circle ":""}button with kind: ${e} and importance: ${n} as it does not exist in our design system. See https://dialpad.design/components/button.html for a list of available button styles`}const Nt="danger",Vt="warning",jt="success",Ft="muted",qt="inverted",Ht=["",Nt,Vt,jt,Ft,qt],Kt={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},zt={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(Mt).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Pt).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(Kt).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>$t.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(At).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(Tt).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:Mt,isInFocus:!1}},computed:{buttonListeners(){return this.assertiveOnFocus?{...this.$listeners,focusin:t=>{this.isInFocus=!0},focusout:t=>{this.isInFocus=!1}}:this.$listeners},computedAriaLive(){return this.assertiveOnFocus&&this.isInFocus?"assertive":this.$attrs.ariaLive}},watch:{$props:{deep:!0,immediate:!0,handler(){}}},methods:{buttonClasses(){return this.link?["d-link",Kt[this.linkKind],At[this.size]]:["d-btn",Pt[this.importance],Tt[this.kind],At[this.size],{"d-btn--circle":this.circle,"d-btn--loading":this.loading,"d-btn--icon-only":this.isIconOnly(),"d-btn--vertical":this.isVerticalIconLayout(),"d-btn--active":this.active}]},isInvalidPropCombination(t,e,n){for(const i of Rt)if(t===i.circle&&e===i.kind&&n===i.importance)return console.error(i.message),!1;return!0},shouldRenderIcon(){return this.$slots.icon&&!this.link},isIconOnly(){return this.shouldRenderIcon()&&!this.$slots.default},isVerticalIconLayout(){return this.shouldRenderIcon()&&!this.isIconOnly()&&["top","bottom"].includes(this.iconPosition)}}},Wt=zt;var Gt=B(Wt,Lt,Dt,!1,null,null,null);const Ut=Gt.exports,Zt={props:{visuallyHiddenClose:{type:Boolean,default:!1},visuallyHiddenCloseLabel:{type:String,default:null}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateVisuallyHiddenCloseProps()}}},computed:{showVisuallyHiddenClose(){return this.visuallyHiddenClose&&null!=this.visuallyHiddenCloseLabel}},methods:{validateVisuallyHiddenCloseProps(){this.visuallyHiddenClose&&!this.visuallyHiddenCloseLabel&&console.error("If visuallyHiddenClose prop is true, the component includes\n a visually hidden close button and you must set the visuallyHiddenCloseLabel prop.")}}};var Yt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-button",{staticClass:"d-vi-visible-sr",attrs:{id:"sr-only-close-button","data-qa":"dt-sr-only-close-button","aria-label":t.visuallyHiddenCloseLabel},on:{click:t.close,keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:(e.preventDefault(),e.stopPropagation(),t.close.apply(null,arguments))}}},[n("dt-icon",{attrs:{name:"close"}})],1)},Xt=[];const Qt={name:"SrOnlyCloseButton",components:{DtIcon:st,DtButton:Ut},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},Jt=Qt;var te=B(Jt,Yt,Xt,!1,null,null,null);const ee=te.exports,ne={name:"DtNoticeAction",components:{DtIcon:st,DtButton:Ut,SrOnlyCloseButton:ee},mixins:[Zt],props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeActionListeners(){return{...this.$listeners,click:t=>{this.close(),this.$emit("click",t)}}}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},created(){this.hideClose||this.closeButtonProps.ariaLabel||console.error("Invalid props: you must pass in closeButtonProps.ariaLabel if the close button is displayed.")},mounted(){this.hideClose||(this.lastFocusedElement=document.activeElement)},beforeDestroy(){var t;null===(t=this.lastFocusedElement)||void 0===t||t.focus()},methods:{close(){this.$emit("close")},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props need to be set so the component always includes a close button")}}},ie=ne;var ae=B(ie,Et,kt,!1,null,null,null);const se=ae.exports,oe=':not(:disabled):not([aria-disabled="true"])',re=`${oe}:not([tabindex="-1"])`,le="button,[href],input,select,textarea,details,[tabindex]",de={methods:{async focusFirstElement(t){await this.$nextTick();const e=this._getFocusableElements(t,!0),n=this._getFirstFocusElement(e);null===n||void 0===n||n.focus({preventScroll:!0})},_getFirstFocusElement(t){if(!t.length)return;let e=t[0];return e.matches('[type="radio"]:not(:checked)')&&(e=t.find((t=>t.checked&&t.name===e.name))||e),e},_getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[...t.querySelectorAll(le)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?oe:re)}))},focusTrappedTabPress(t,e){const n="Tab"===t.key;if(!n)return;const i=this._getFocusableElements(e);if(!i.length)return void t.preventDefault();const a=this._getFirstFocusElement(i),s=i[i.length-1];t.shiftKey?document.activeElement===a&&(s.focus(),t.preventDefault()):document.activeElement===s&&(a.focus(),t.preventDefault())}}},ue={name:"DtBanner",components:{DtNoticeIcon:_t,DtNoticeContent:Ot,DtNoticeAction:se},mixins:[de,Zt],props:{titleId:{type:String,default(){return D.getUniqueString()}},contentId:{type:String,default(){return D.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return ft.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},hideIcon:{type:Boolean,default:!1},dialogClass:{type:String,default:""},backgroundImage:{type:String,default:""},backgroundSize:{type:String,default:"cover"}},emits:["close"],computed:{role(){return this.important?"alertdialog":"status"},bannerClass(){const t={error:"d-banner--error",info:"d-banner--info",success:"d-banner--success",warning:"d-banner--warning",base:"d-banner--base"};return["d-banner",t[this.kind],{"d-banner--important":this.important,"d-banner--pinned":this.pinned}]},bannerBackgroundImage(){return""===this.backgroundImage?null:`background-image: url(${this.backgroundImage});\n background-size: ${this.backgroundSize};`}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(t){this.important&&this.focusTrappedTabPress(t)}}},ce=ue;var pe=B(ce,ut,ct,!1,null,null,null);const he=pe.exports;var fe=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("nav",{class:["d-breadcrumbs",(t={},t[e.BREADCRUMBS_INVERTED_MODIFIER]=e.inverted,t)],attrs:{"aria-label":e.ariaLabel,"data-qa":"dt-breadcrumbs"}},[i("ol",[e._t("default",(function(){return e._l(e.breadcrumbs,(function(t,n){return i("dt-breadcrumb-item",e._g(e._b({key:e.getBreadcrumbItemKey(n),attrs:{inverted:e.inverted}},"dt-breadcrumb-item",t,!1),e.$listeners))}))}))],2)])},me=[];const ge="d-breadcrumbs__item--selected",ve="d-breadcrumbs--inverted";var be=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("li",{class:["d-breadcrumbs__item",(t={},t[e.BREADCRUMB_ITEM_SELECTED_MODIFIER]=e.selected,t)],attrs:{"data-qa":"dt-breadcrumb-item"}},[i("dt-link",e._b({attrs:{kind:e.linkKind,"aria-current":e.ariaCurrent,"data-qa":"breadcrumb-item"}},"dt-link",e.$attrs,!1),[e._t("default",(function(){return[e._v(" "+e._s(e.label)+" ")]}))],2)],1)},ye=[],_e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",t._g({class:["d-link",t.LINK_KIND_MODIFIERS[t.kind]],attrs:{"data-qa":"dt-link"}},t.$listeners),[t._t("default")],2)},Se=[];const xe={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Ht.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:Kt}}},Ce=xe;var we=B(Ce,_e,Se,!1,null,null,null);const Ie=we.exports,Oe={name:"DtBreadcrumbItem",components:{DtLink:Ie},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:ge}},computed:{linkKind(){return this.inverted?qt:Ft},ariaCurrent(){return this.selected?"location":void 0}}},Ee=Oe;var ke=B(Ee,be,ye,!1,null,null,null);const Le=ke.exports,De={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Le},props:{breadcrumbs:{type:Array,default:()=>[],validate(t){return t.every((t=>{let{href:e,label:n}=t;return void 0!==e&&void 0!==n}))}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:"breadcrumb"}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:ve}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${D.getUniqueString()}`}}},Ae=De;var Te=B(Ae,fe,me,!1,null,null,null);const Pe=Te.exports;var $e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-btn-group",t.BUTTON_GROUP_ALIGNMENT[t.alignment]],attrs:{role:"group"}},[t._t("default")],2)},Me=[];const Re={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Be={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Re).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Re}}},Ne=Be;var Ve=B(Ne,$e,Me,!1,null,null,null);const je=Ve.exports;var Fe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-card",t.containerClass],attrs:{"data-qa":"dt-card"}},[t.$slots.header?n("div",{class:["d-card__header",t.headerClass]},[t._t("header")],2):t._e(),n("div",{class:["d-card__content",t.contentClass],style:{"max-height":t.maxHeight}},[t._t("content")],2),t.$slots.footer?n("div",{class:["d-card__footer",t.footerClass]},[t._t("footer")],2):t._e()])},qe=[];const He={name:"DtCard",props:{maxHeight:{type:String,default:null},containerClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""}}},Ke=He;var ze=B(Ke,Fe,qe,!1,null,null,null);const We=ze.exports;var Ge=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:(e.stopPropagation(),t.onKeyValidation(e,"onEscapeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.onKeyValidation(e,"onEnterKey")},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onUpKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onDownKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"home",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onHomeKey"))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"end",void 0,e.key,void 0)?null:(e.stopPropagation(),e.preventDefault(),t.onKeyValidation(e,"onEndKey"))}]}},[n("div",{attrs:{"data-qa":"dt-combobox-input-wrapper"}},[t._t("input",null,{inputProps:t.inputProps})],2),t.showList?n("div",{ref:"listWrapper",attrs:{"data-qa":"dt-combobox-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,focusout:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t.loading&&!t.listRenderedOutside?n("combobox-loading-list",t._b({},"combobox-loading-list",t.listProps,!1)):t.emptyList&&(t.emptyStateMessage||t.$slots.emptyListItem)&&!t.listRenderedOutside?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage,"item-class":t.emptyStateClass}},"combobox-empty-list",t.listProps,!1),[t._t("emptyListItem")],2):t._t("list",null,{listProps:t.listProps,opened:t.onOpen,clearHighlightIndex:t.clearHighlightIndex})],2):t._e()])},Ue=[];const Ze={methods:{scrollElementIntoViewIfNeeded(t,e,n,i){t.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(t,e,n,i):this.scrollIntoView(t,"bottom",!1,n,i)},scrollElementIntoView(t,e,n,i){"center"!==e?!1===e?this.scrollIntoView(t,"bottom",!1,n,i):this.scrollIntoView(t,"top",!1,n,i):this.scrollIntoView(t,"center",!1,n,i)},scrollIntoViewIfNeeded(t,e,n,i){const a=e?"center":void 0;this.scrollIntoView(t,a,!0,n,i)},scrollIntoView(t,e,n,i,a){if(!t||!t.parentElement)return;const s=t.offsetTop,o=a||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=s+d;let c=-1;switch(e){case"top":c=s;break;case"center":c=s+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=s-r.top<=l/2?s:u-l;break}this._setScrollTop(o,c,r,s,u,n,i)},_setScrollTop(t,e,n,i,a,s,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(s&&this._inScrollBounds(i,a,n))if(i<n.top)e=i;else{if(!(a>n.bottom))return;e=a-r}o?t.scrollTo({top:e,behavior:o}):t.scrollTop=e},_getElementHeight(t){return t.getBoundingClientRect().height},_getScrollBounds(t){const e=this._getElementHeight(t),n=t.scrollTop;return{top:n,bottom:n+e}},_inScrollBounds(t,e,n){const i=e-t;return e<=n.bottom+3*i/4&&t>=n.top-i/4}}},Ye="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Xe=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:a="",openMethod:s=null,afterHighlightMethod:o=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:d=!0,focusOnKeyboardNavigation:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[Ze],data(){return{[e]:-1,[n]:"",scrollToOnHighlight:d,focusOnKeyboardNavigation:u}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var t;return(null===(t=this[i]())||void 0===t?void 0:t.$el)||this[i]()},_itemsLength(){const t=this._getListItemNodes();return null===t?0:t.length},_getListItemNodes(){const e=this._getListElement();return e?Array.from(e.querySelectorAll(`[role="${t}"], #sr-only-close-button`)):(console.error(Ye,e),null)},onUpKey(){s&&this[s](!0),this[e]>0?this.setHighlightIndex(this[e]-1):r&&this[r](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onDownKey(){s&&this[s](!0),this[e]<this._itemsLength()-1?this.setHighlightIndex(this[e]+1):l&&this[l](),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onHomeKey(){this.jumpToBeginning(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onEndKey(){this.jumpToEnd(),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},onNavigationKey(t){const n=this._getListItemNodes(),i=n.filter((e=>{const n=e.textContent.trim().toLowerCase();return n.startsWith(t.toLowerCase())}));if(i.length<=0)return;const a=i.findIndex((t=>this[e]===n.indexOf(t))),s=n.indexOf(a<i.length-1?i[a+1]:i[0]);this.setHighlightIndex(s),this.scrollActiveItemIntoViewIfNeeded(),this.focusActiveItemIfNeeded()},isValidCharacter(t){return 1===t.length},jumpToBeginning(){this.setHighlightIndex(0)},jumpToEnd(){this.setHighlightIndex(this._itemsLength()-1)},setHighlightIndex(t){this[e]=t,this[n]=this._getItemId(t),this._itemsLength()&&o&&this[o](t)},setHighlightId(t){this[n]=t,this[e]=this._getItemIndex(t),this._itemsLength()&&o&&this[o](this._getItemIndex(t))},_getItemIndex(e){const n=this._getListElement();if(!n)return;const i=Array.from(n.querySelectorAll(`[role="${t}"], #sr-only-close-button`));return i.indexOf(n.querySelector(`#${e}`))},_getItemId(e){var n;const i=this._getListElement();if(i)return null===(n=i.querySelectorAll(`[role="${t}"], #sr-only-close-button`)[e])||void 0===n?void 0:n.id},scrollActiveItemIntoViewIfNeeded(){if(!this.scrollToOnHighlight)return;const t=this[a];if(t){const e=this._getListElement();this.scrollElementIntoViewIfNeeded(t,null,null,e)}},focusActiveItemIfNeeded(){if(!this.focusOnKeyboardNavigation)return;const t=this[a];t&&t.focus()}}}};var Qe=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0 d-mt8 d-hmx332 d-of-y-auto",attrs:{"aria-busy":"true"}},t._l(7,(function(t){return n("dt-list-item",{key:t,attrs:{role:"option","navigation-type":"none"}},[n("dt-skeleton",{attrs:{"text-option":{type:"body"},offset:0}})],1)})),1)},Je=[],tn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({tag:"component",class:["dt-list-item d-ls-none",{"dt-list-item--focusable":t.isFocusable,"dt-list-item--highlighted":t.isHighlighted,"dt-list-item--static":!t.isHoverable}],attrs:{id:t.id,tabindex:t.isFocusable?0:-1,role:t.role,"aria-selected":t.isHighlighted}},t.listItemListeners),[t.listItemType?n(t.listItemType,{tag:"component",scopedSlots:t._u([t._l(t.$slots,(function(e,n){return{key:n,fn:function(){return[t._t(n)]},proxy:!0}}))],null,!0)}):t._t("default")],2)},en=[];const nn={DEFAULT:"default",CUSTOM:"custom"},an={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs-200 d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[t.$slots.left?n("section",{staticClass:"dt-default-list-item--left d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pr8",attrs:{"data-qa":"dt-default-list-item-left-wrapper"}},[t._t("left")],2):t._e(),n("section",{staticClass:"d-fl-grow1 d-of-hidden"},[t.$slots.default?n("div",[t._t("default")],2):t._e(),t.$slots.subtitle?n("div",{class:["d-fs-100 d-fc-black-600",{"d-mtn2":t.$slots.default}],attrs:{"data-qa":"dt-default-list-item-subtitle-wrapper"}},[t._t("subtitle")],2):t._e(),t.$slots.bottom?n("div",{staticClass:"d-mt2",attrs:{"data-qa":"dt-default-list-item-bottom-wrapper"}},[t._t("bottom")],2):t._e()]),t.$slots.right?n("section",{staticClass:"dt-default-list-item--right d-d-inline-flex d-as-flex-start d-d-flex d-ai-center d-pl8",attrs:{"data-qa":"dt-default-list-item-right-wrapper"}},[t._t("right")],2):t._e()])},on=[];const rn={name:"DefaultListItem"},ln=rn;n(357);var dn=B(ln,sn,on,!1,null,null,null);const un=dn.exports,cn={name:"ListItem",components:{DtDefaultListItem:un},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return D.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:nn.DEFAULT,validator:t=>Object.values(nn).includes(t)},navigationType:{type:String,default:an.NONE,validator:t=>Object.values(an).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case nn.DEFAULT:return un;default:return null}},listItemListeners(){return{...this.$listeners,keydown:t=>{["enter","space"].includes(t.code.toLowerCase())&&this.onClick(t),this.$emit("keydown",t)},mousemove:t=>{this.onMouseHover(t),this.$emit("mousemove",t)},mouseleave:t=>{this.onMouseLeave(t),this.$emit("mouseleave",t)}}},isHighlighted(){return!!this.isHoverable&&(this.highlightId&&this.highlightId()?this.id===this.highlightId():this.mouseHighlighted)},isFocusable(){return this.navigationType===an.TAB},isHoverable(){return this.navigationType!==an.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},pn=cn;n(759);var hn=B(pn,tn,en,!1,null,null,null);const fn=hn.exports;var mn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{"aria-busy":"true",role:"status","aria-label":t.ariaLabel}},[t.listItemOption?n("dt-skeleton-list-item",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-list-item",!0===t.listItemOption?{}:t.listItemOption,!1)):t.shapeOption?n("dt-skeleton-shape",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-shape",!0===t.shapeOption?{}:t.shapeOption,!1)):t.paragraphOption?n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",!0===t.paragraphOption?{}:t.paragraphOption,!1)):n("dt-skeleton-text",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-text",t.textOption||{},!1))],1)},gn=[],vn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"skeleton",class:["skeleton-placeholder",t.SKELETON_SHAPES[t.shape],{"skeleton-placeholder--animate":t.animate},t.contentClass],style:t.shapeStyles,attrs:{"data-qa":"skeleton-shape"}})},bn=[];const yn=3e6,_n={circle:"d-bar-circle",square:"d-bar2"},Sn=["body","heading"],xn={sm:"24px",md:"32px",lg:"48px"},Cn={sm:"d-h16",md:"d-h24",lg:"d-h32"},wn={computed:{skeletonOffset(){const t=this.$refs.skeleton;if(!t)return this.offset;const{top:e,height:n}=t.getBoundingClientRect();return e+n/2},skeletonStyle(){const t={};if(-1===this.skeletonOffset||!this.animate&&-1===this.animationDuration)return t;const e=this.skeletonOffset*yn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},In={name:"DtSkeletonShape",mixins:[wn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(_n).includes(t)},size:{type:String,default:"md"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},contentClass:{type:[String,Object,Array],default:""}},data(){return{SKELETON_SHAPES:_n}},computed:{shapeStyles(){const t=xn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},On=In;var En=B(On,vn,bn,!1,null,null,null);const kn=En.exports;var Ln=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-d-flex",{"d-ai-center":1===t.paragraphs.rows},t.contentClass],attrs:{"data-qa":"skeleton-list-item"}},[n("dt-skeleton-shape",{staticClass:"d-mr8",attrs:{size:t.shapeSize,shape:t.shape,"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset,"content-class":t.shapeClass}}),n("div",{staticClass:"d-d-flex d-fd-column d-w100p"},[n("dt-skeleton-paragraph",t._b({attrs:{"animation-duration":t.animationDuration,animate:t.animate,offset:t.offset}},"dt-skeleton-paragraph",t.paragraphs,!1))],1)],1)},Dn=[],An=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-w100p",t.contentClass],attrs:{contentClass:"","data-qa":"skeleton-paragraph"}},t._l(t.integerRows,(function(e){return n("dt-skeleton-text",{key:e,class:[{"d-mb12":e!==t.integerRows}],attrs:{"data-qa":"skeleton-paragraph-row","content-class":t.rowClass,animate:t.animate,offset:t.offset,"animation-duration":t.animationDuration,width:t.getSizeParagraphRow(e)}})})),1)},Tn=[],Pn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return"body"===t.type?n("div",{ref:"skeleton",class:["d-h8","d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-body"}}):"heading"===t.type?n("div",{ref:"skeleton",class:[t.SKELETON_HEADING_HEIGHTS[t.headingHeight],"d-bar2","skeleton-placeholder",{"skeleton-placeholder--animate":t.animate},t.contentClass],style:Object.assign({},{width:t.width},t.skeletonStyle),attrs:{"data-qa":"skeleton-text-heading"}}):t._e()},$n=[];const Mn={name:"DtSkeletonText",mixins:[wn],props:{type:{type:String,default:"body",validator:t=>Sn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(Cn).includes(t)},width:{type:String,default:"100%"},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!1},offset:{type:Number,default:1},contentClass:{type:String,default:""}},data(){return{SKELETON_HEADING_HEIGHTS:Cn}}},Rn=Mn;var Bn=B(Rn,Pn,$n,!1,null,null,null);const Nn=Bn.exports,Vn=t=>""!==t&&!Number.isNaN(Number(t)),jn={name:"DtSkeletonParagraph",components:{DtSkeletonText:Nn},props:{rows:{type:[Number,String],default:3,validator:Vn},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Vn},maxWidth:{type:[Number,String],default:100,validator:Vn},width:{type:[String,Array],default:null},randomWidth:{type:Boolean,default:!1},offset:{type:Number,default:1},animationDuration:{type:Number,default:-1},contentClass:{type:String,default:""},rowClass:{type:String,default:""}},computed:{integerRows(){return Number(this.rows)}},methods:{randomWidthPercentage(){const t=Math.min(this.minWidth,this.maxWidth),e=Math.max(this.minWidth,this.maxWidth);return`${Math.round(Math.random()*(e-t))+t}%`},getSizeParagraphRow(t){const e=this.width,n=Array.isArray(e),i=null===e||void 0===e?void 0:e[t-1],a=t===this.rows;return this.randomWidth?this.randomWidthPercentage():e&&!n?e:e&&n&&i?i:a?"38%":"100%"}}},Fn=jn;var qn=B(Fn,An,Tn,!1,null,null,null);const Hn=qn.exports,Kn={name:"DtSkeletonListItem",components:{DtSkeletonShape:kn,DtSkeletonParagraph:Hn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(_n).includes(t)},shapeSize:{type:String,default:"md"},paragraphs:{type:Object,default:()=>({rows:3,randomWidth:!0})},animationDuration:{type:Number,default:-1},animate:{type:Boolean,default:!0},offset:{type:Number,default:1},shapeClass:{type:String,default:""},contentClass:{type:String,default:""}}},zn=Kn;var Wn=B(zn,Ln,Dn,!1,null,null,null);const Gn=Wn.exports,Un={name:"DtSkeleton",components:{DtSkeletonText:Nn,DtSkeletonShape:kn,DtSkeletonListItem:Gn,DtSkeletonParagraph:Hn},props:{paragraphOption:{type:[Object,Boolean],default:null},listItemOption:{type:[Object,Boolean],default:null},textOption:{type:Object,default:null},shapeOption:{type:[Object,Boolean],default:null},animationDuration:{type:Number,default:-1},ariaLabel:{type:String,default:""},animate:{type:Boolean,default:!0},offset:{type:Number,default:1}},computed:{validationOptions(){return{paragraphOption:this.paragraphOption,listItemOption:this.listItemOption,textOption:this.textOption,shapeOption:this.shapeOption}}},watch:{$props:{immediate:!0,handler:"validator"}},methods:{validator(){const t=Object.entries(this.validationOptions).filter((t=>{let[e,n]=t;return n}));if(t.length>=2){const e=`Use only one of ${t.map((t=>{let[e]=t;return e})).join(" | ")} options at the same time`;console.error(e)}}}},Zn=Un;n(859);var Yn=B(Zn,mn,gn,!1,null,null,null);const Xn=Yn.exports,Qn={name:"ComboboxLoadingList",components:{DtListItem:fn,DtSkeleton:Xn}},Jn=Qn;var ti=B(Jn,Qe,Je,!1,null,null,null);const ei=ti.exports;var ni=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"d-p0",attrs:{"data-qa":"dt-combobox-empty-list"}},[t._t("default",(function(){return[n("dt-list-item",{class:["dt-empty-list-item",t.itemClass],attrs:{role:"option","navigation-type":"none",type:"custom"}},[n("span",[t._v(t._s(t.message))])])]}))],2)},ii=[];const ai={name:"ComboboxEmptyList",components:{DtListItem:fn},props:{message:{type:String,required:!0},itemClass:{type:[String,Object,Array],default:""}}},si=ai;n(750);var oi=B(si,ni,ii,!1,null,null,null);const ri=oi.exports,li={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"},di={name:"DtCombobox",components:{ComboboxLoadingList:ei,ComboboxEmptyList:ri},mixins:[Xe({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(li).includes(t)},description:{type:String,default:""},listId:{type:String,default(){return S()}},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},showList:{type:Boolean,default:!1},listRenderedOutside:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""},emptyStateClass:{type:[String,Object,Array],default:""},clickOnSelect:{type:Boolean,default:!1}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{label:this.label,labelVisible:this.labelVisible,size:this.size,description:this.description,role:"combobox","aria-label":this.label,"aria-expanded":this.showList.toString(),"aria-owns":this.listId,"aria-haspopup":"listbox","aria-activedescendant":this.activeItemId,"aria-controls":this.listId}},listProps(){return{role:"listbox",id:this.listId,class:"d-ps-relative","aria-label":this.label}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemId(){if(!(!this.showList||this.highlightIndex<0||this.loading))return this.highlightId},activeItemEl(){return this.highlightId?this.getListElement().querySelector("#"+this.highlightId):""}},watch:{showList(t){this.listRenderedOutside||(this.setInitialHighlightIndex(),this.$emit("opened",t)),!t&&this.outsideRenderedListRef&&(this.outsideRenderedListRef.removeEventListener("mousemove",this.onMouseHighlight),this.outsideRenderedListRef=null)},loading(t){this.$nextTick((()=>{this.setInitialHighlightIndex()}))},$props:{deep:!0,immediate:!0,handler(){this.validateEmptyListProps()}}},created(){this.validateEmptyListProps()},methods:{onMouseHighlight(t){if(this.loading)return;const e=t.target.closest("li");e&&this.highlightId!==e.id&&this.setHighlightId(e.id)},getListElement(){var t,e;return null!==(t=this.outsideRenderedListRef)&&void 0!==t?t:null===(e=this.$refs.listWrapper)||void 0===e?void 0:e.querySelector(`#${this.listId}`)},clearHighlightIndex(){this.showList&&this.setHighlightIndex(-1)},afterHighlight(){this.loading||this.$emit("highlight",this.highlightIndex)},onEnterKey(){var t;this.loading||this.emptyList||this.highlightIndex>=0&&(this.$emit("select",this.highlightIndex),this.clickOnSelect&&(null===(t=this.activeItemEl)||void 0===t||t.click()))},onEscapeKey(){this.$emit("escape")},onOpen(t,e){var n;this.outsideRenderedListRef=e,null===(n=this.outsideRenderedListRef)||void 0===n||n.addEventListener("mousemove",this.onMouseHighlight),this.$emit("opened",t),t&&this.setInitialHighlightIndex()},onKeyValidation(t,e){this.showList&&this.getListElement()&&this[e](t)},setInitialHighlightIndex(){this.showList&&this.$nextTick((()=>{this.setHighlightIndex(this.loading?-1:0)}))},validateEmptyListProps(){this.$slots.emptyListItem||(this.emptyList&&!this.emptyStateMessage||!this.emptyList&&this.emptyStateMessage)&&console.error("Invalid props: you must pass both props emptyList and emptyStateMessage to show the\n empty message.")}}},ui=di;var ci=B(ui,Ge,Ue,!1,null,null,null);const pi=ci.exports;var hi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(t.elementType,t._g({ref:"collapsible",tag:"component"},t.$listeners),[n("div",{ref:"anchor",class:["d-dt-collapsibe__anchor",t.anchorClass],attrs:{id:!t.ariaLabelledBy&&t.labelledBy}},[t._t("anchor",(function(){return[n("dt-button",{style:{width:t.maxWidth},attrs:{importance:"clear",kind:"muted","aria-controls":t.id,"aria-expanded":""+t.isOpen},on:{click:t.defaultToggleOpen}},[n("dt-icon",{staticClass:"d-icon d-icon--size-300 d-mr8 d-fl-shrink0",attrs:{name:t.isOpen?"chevron-down":"chevron-right"}}),n("span",{staticClass:"d-mr-auto d-truncate",attrs:{title:t.anchorText}},[t._v(" "+t._s(t.anchorText)+" ")])],1)]}),{attrs:{"aria-controls":t.id,"aria-expanded":t.isOpen.toString(),role:"button"}})],2),n("dt-collapsible-lazy-show",t._g({ref:"contentWrapper",class:["d-dt-collapsible__content",t.contentClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,"aria-hidden":""+!t.isOpen,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,show:t.isOpen,"element-type":t.contentElementType,tabindex:"-1",appear:""},on:{"after-leave":t.onLeaveTransitionComplete,"after-enter":t.onEnterTransitionComplete}},t.$listeners),[t._t("content")],2)],1)},fi=[],mi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{appear:t.appear,"enter-active-class":"enter-active","leave-active-class":"leave-active"},on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},t.$listeners),[n(t.elementType,t._g({directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],tag:"component"},t.$listeners),[t.initialized?t._t("default"):t._e()],2)],1)},gi=[];const vi={name:"DtCollapsibleLazyShow",props:{show:{type:Boolean,default:null},appear:{type:Boolean,default:!1},elementType:{type:String,default:"div"}},data(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}},methods:{beforeEnter(t){requestAnimationFrame((()=>{t.style.height||(t.style.height="0px"),t.style.display=null}))},enter(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height=`${t.scrollHeight}px`}))}))},afterEnter(t){t.style.height=null},beforeLeave(t){requestAnimationFrame((()=>{t.style.height||(t.style.height=`${t.offsetHeight}px`)}))},leave(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height="0px"}))}))},afterLeave(t){t.style.height=null}}},bi=vi;n(124);var yi=B(bi,mi,gi,!1,null,null,null);const _i=yi.exports;var Si=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",t._g({attrs:{name:t.transition,appear:t.appear}},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)])},xi=[];const Ci={name:"DtLazyShow",props:{show:{type:Boolean,default:!1},transition:{type:String,default:null},appear:{type:Boolean,default:!1}},data(){return{initialized:!!this.show}},watch:{show:function(t){t&&!this.initialized&&(this.initialized=!0)}}},wi=Ci;var Ii=B(wi,Si,xi,!1,null,null,null);const Oi=Ii.exports,Ei={name:"DtCollapsible",components:{DtButton:Ut,DtCollapsibleLazyShow:_i,DtLazyShow:Oi,DtIcon:st},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return S()}},elementType:{type:String,default:"div"},contentElementType:{type:String,default:"div"},anchorClass:{type:[String,Array,Object],default:null},contentClass:{type:[String,Array,Object],default:null},maxWidth:{type:String,default:null},maxHeight:{type:String,default:null},ariaLabel:{type:String,default:null},ariaLabelledBy:{type:String,default:null}},emits:["update:open","opened"],data(){return{isOpen:!0}},computed:{labelledBy(){return this.ariaLabelledBy||!this.ariaLabel&&S("DtCollapsible__anchor")}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},created(){this.validateProperAnchor()},methods:{onLeaveTransitionComplete(){this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},onEnterTransitionComplete(){this.$emit("opened",!0,this.$refs.content),null!==this.open&&this.$emit("update:open",!0)},defaultToggleOpen(){null===this.open&&this.toggleOpen()},toggleOpen(){this.isOpen=!this.isOpen},validateProperAnchor(){this.anchorText||this.$scopedSlots.anchor||console.error("anchor text and anchor slot content cannot both be falsy")}}},ki=Ei;var Li=B(ki,hi,fi,!1,null,null,null);const Di=Li.exports;var Ai=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-popover",t._g({ref:"popover",attrs:{"content-width":t.contentWidth,open:t.open,placement:t.placement,"initial-focus-element":t.openedWithKeyboard?"first":"dialog","fallback-placements":t.fallbackPlacements,padding:"none",role:"menu",modal:t.modal,"max-height":t.maxHeight,"max-width":t.maxWidth,"open-with-arrow-keys":!0,"open-on-context":t.openOnContext},scopedSlots:t._u([{key:"anchor",fn:function(e){var n=e.attrs;return[t._t("anchor",null,null,n)]}},{key:"content",fn:function(e){var i=e.close;return[n("ul",{ref:"listWrapper",class:t.listClasses,attrs:{id:t.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{mouseleave:t.clearHighlightIndex,"!mousemove":function(e){return t.onMouseHighlight.apply(null,arguments)}}},[t._t("list",null,{close:i}),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel,tabindex:t.isArrowKeyNav?-1:0},on:{close:i}}):t._e()],2)]}}],null,!0)},t.dropdownListeners))},Ti=[],Pi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.modal&&t.isOpen?n("portal",[n("div",{staticClass:"d-modal--transparent",attrs:{"aria-hidden":t.modal&&t.isOpen?"false":"true"},on:{click:function(t){t.preventDefault(),t.stopPropagation()}}})]):t._e(),n(t.elementType,t._g({ref:"popover",tag:"component",class:["d-popover",{"d-popover__anchor--opened":t.isOpen}],attrs:{"data-qa":"dt-popover-container"}},t.$listeners),[n("div",{ref:"anchor",attrs:{id:!t.ariaLabelledby&&t.labelledBy,"data-qa":"dt-popover-anchor",tabindex:t.openOnContext?0:void 0},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},contextmenu:t.onContext,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:(e.preventDefault(),t.onArrowKeyPress.apply(null,arguments))}],wheel:function(e){return t.isOpen&&t.modal&&e.preventDefault()},"!keydown":function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"escape",void 0,e.key,void 0)?null:t.closePopover.apply(null,arguments)}}},[t._t("anchor",null,{attrs:{"aria-expanded":t.isOpen.toString(),"aria-controls":t.id,"aria-haspopup":t.role}})],2),n("dt-lazy-show",t._g({ref:"content",class:["d-popover__dialog",{"d-popover__dialog--modal":t.modal},t.dialogClass],style:{"max-height":t.maxHeight,"max-width":t.maxWidth},attrs:{id:t.id,role:t.role,"data-qa":"dt-popover","aria-hidden":""+!t.isOpen,"aria-labelledby":t.labelledBy,"aria-label":t.ariaLabel,"aria-modal":""+!t.modal,transition:t.transition,show:t.isOpen,tabindex:t.contentTabindex,appear:""}},t.popoverListeners),[t.$slots.headerContent||t.showCloseButton?n("popover-header-footer",{ref:"popover__header",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{"content-class":t.headerClass,type:"header","show-close-button":t.showCloseButton,"close-button-props":t.closeButtonProps},on:{close:t.closePopover},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("headerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),n("div",{ref:"popover__content",class:["d-popover__content",t.POPOVER_PADDING_CLASSES[t.padding],t.contentClass],attrs:{"data-qa":"dt-popover-content"}},[t._t("content",null,{close:t.closePopover})],2),t.$slots.footerContent?n("popover-header-footer",{ref:"popover__footer",class:t.POPOVER_HEADER_FOOTER_PADDING_CLASSES[t.padding],attrs:{type:"footer","content-class":t.footerClass},scopedSlots:t._u([{key:"content",fn:function(){return[t._t("footerContent",null,{close:t.closePopover})]},proxy:!0}],null,!0)}):t._e(),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.closePopover}}):t._e()],1)],1)],1)},$i=[];function Mi(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),i=1,a=1;return{width:n.width/i,height:n.height/a,top:n.top/a,right:n.right/i,bottom:n.bottom/a,left:n.left/i,x:n.left/i,y:n.top/a}}function Ri(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Bi(t){var e=Ri(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Ni(t){var e=Ri(t).Element;return t instanceof e||t instanceof Element}function Vi(t){var e=Ri(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function ji(t){if("undefined"===typeof ShadowRoot)return!1;var e=Ri(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Fi(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function qi(t){return t!==Ri(t)&&Vi(t)?Fi(t):Bi(t)}function Hi(t){return t?(t.nodeName||"").toLowerCase():null}function Ki(t){return((Ni(t)?t.ownerDocument:t.document)||window.document).documentElement}function zi(t){return Mi(Ki(t)).left+Bi(t).scrollLeft}function Wi(t){return Ri(t).getComputedStyle(t)}function Gi(t){var e=Wi(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function Ui(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function Zi(t,e,n){void 0===n&&(n=!1);var i=Vi(e),a=Vi(e)&&Ui(e),s=Ki(e),o=Mi(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Hi(e)||Gi(s))&&(r=qi(e)),Vi(e)?(l=Mi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=zi(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function Yi(t){var e=Mi(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}function Xi(t){return"html"===Hi(t)?t:t.assignedSlot||t.parentNode||(ji(t)?t.host:null)||Ki(t)}function Qi(t){return["html","body","#document"].indexOf(Hi(t))>=0?t.ownerDocument.body:Vi(t)&&Gi(t)?t:Qi(Xi(t))}function Ji(t,e){var n;void 0===e&&(e=[]);var i=Qi(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=Ri(i),o=a?[s].concat(s.visualViewport||[],Gi(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(Ji(Xi(o)))}function ta(t){return["table","td","th"].indexOf(Hi(t))>=0}function ea(t){return Vi(t)&&"fixed"!==Wi(t).position?t.offsetParent:null}function na(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&Vi(t)){var i=Wi(t);if("fixed"===i.position)return null}var a=Xi(t);while(Vi(a)&&["html","body"].indexOf(Hi(a))<0){var s=Wi(a);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||e&&"filter"===s.willChange||e&&s.filter&&"none"!==s.filter)return a;a=a.parentNode}return null}function ia(t){var e=Ri(t),n=ea(t);while(n&&ta(n)&&"static"===Wi(n).position)n=ea(n);return n&&("html"===Hi(n)||"body"===Hi(n)&&"static"===Wi(n).position)?e:n||na(t)||e}var aa="top",sa="bottom",oa="right",ra="left",la="auto",da=[aa,sa,oa,ra],ua="start",ca="end",pa="clippingParents",ha="viewport",fa="popper",ma="reference",ga=da.reduce((function(t,e){return t.concat([e+"-"+ua,e+"-"+ca])}),[]),va=[].concat(da,[la]).reduce((function(t,e){return t.concat([e,e+"-"+ua,e+"-"+ca])}),[]),ba="beforeRead",ya="read",_a="afterRead",Sa="beforeMain",xa="main",Ca="afterMain",wa="beforeWrite",Ia="write",Oa="afterWrite",Ea=[ba,ya,_a,Sa,xa,Ca,wa,Ia,Oa];function ka(t){var e=new Map,n=new Set,i=[];function a(t){n.add(t.name);var s=[].concat(t.requires||[],t.requiresIfExists||[]);s.forEach((function(t){if(!n.has(t)){var i=e.get(t);i&&a(i)}})),i.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||a(t)})),i}function La(t){var e=ka(t);return Ea.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function Da(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Aa(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}var Ta={placement:"bottom",modifiers:[],strategy:"absolute"};function Pa(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function $a(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Ta:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ta,s),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},o=[],r=!1,l={state:a,setOptions:function(n){var o="function"===typeof n?n(a.options):n;u(),a.options=Object.assign({},s,a.options,o),a.scrollParents={reference:Ni(t)?Ji(t):t.contextElement?Ji(t.contextElement):[],popper:Ji(e)};var r=La(Aa([].concat(i,a.options.modifiers)));return a.orderedModifiers=r.filter((function(t){return t.enabled})),d(),l.update()},forceUpdate:function(){if(!r){var t=a.elements,e=t.reference,n=t.popper;if(Pa(e,n)){a.rects={reference:Zi(e,ia(n),"fixed"===a.options.strategy),popper:Yi(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var s=a.orderedModifiers[i],o=s.fn,d=s.options,u=void 0===d?{}:d,c=s.name;"function"===typeof o&&(a=o({state:a,options:u,name:c,instance:l})||a)}else a.reset=!1,i=-1}}},update:Da((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!Pa(t,e))return l;function d(){a.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,i=void 0===n?{}:n,s=t.effect;if("function"===typeof s){var r=s({state:a,name:e,instance:l,options:i}),d=function(){};o.push(r||d)}}))}function u(){o.forEach((function(t){return t()})),o=[]}return l.setOptions(n).then((function(t){!r&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var Ma={passive:!0};function Ra(t){var e=t.state,n=t.instance,i=t.options,a=i.scroll,s=void 0===a||a,o=i.resize,r=void 0===o||o,l=Ri(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,Ma)})),r&&l.addEventListener("resize",n.update,Ma),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,Ma)})),r&&l.removeEventListener("resize",n.update,Ma)}}const Ba={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ra,data:{}};function Na(t){return t.split("-")[0]}function Va(t){return t.split("-")[1]}function ja(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Fa(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?Na(a):null,o=a?Va(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case aa:e={x:r,y:n.y-i.height};break;case sa:e={x:r,y:n.y+n.height};break;case oa:e={x:n.x+n.width,y:l};break;case ra:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?ja(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case ua:e[d]=e[d]-(n[u]/2-i[u]/2);break;case ca:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function qa(t){var e=t.state,n=t.name;e.modifiersData[n]=Fa({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Ha={name:"popperOffsets",enabled:!0,phase:"read",fn:qa,data:{}};var Ka=Math.max,za=Math.min,Wa=Math.round,Ga={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ua(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:Wa(Wa(e*a)/a)||0,y:Wa(Wa(n*a)/a)||0}}function Za(t){var e,n=t.popper,i=t.popperRect,a=t.placement,s=t.variation,o=t.offsets,r=t.position,l=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,c=!0===u?Ua(o):"function"===typeof u?u(o):o,p=c.x,h=void 0===p?0:p,f=c.y,m=void 0===f?0:f,g=o.hasOwnProperty("x"),v=o.hasOwnProperty("y"),b=ra,y=aa,_=window;if(d){var S=ia(n),x="clientHeight",C="clientWidth";S===Ri(n)&&(S=Ki(n),"static"!==Wi(S).position&&"absolute"===r&&(x="scrollHeight",C="scrollWidth")),S=S,a!==aa&&(a!==ra&&a!==oa||s!==ca)||(y=sa,m-=S[x]-i.height,m*=l?1:-1),a!==ra&&(a!==aa&&a!==sa||s!==ca)||(b=oa,h-=S[C]-i.width,h*=l?1:-1)}var w,I=Object.assign({position:r},d&&Ga);return l?Object.assign({},I,(w={},w[y]=v?"0":"",w[b]=g?"0":"",w.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",w)):Object.assign({},I,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function Ya(t){var e=t.state,n=t.options,i=n.gpuAcceleration,a=void 0===i||i,s=n.adaptive,o=void 0===s||s,r=n.roundOffsets,l=void 0===r||r,d={placement:Na(e.placement),variation:Va(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Za(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Za(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const Xa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ya,data:{}};function Qa(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},i=e.attributes[t]||{},a=e.elements[t];Vi(a)&&Hi(a)&&(Object.assign(a.style,n),Object.keys(i).forEach((function(t){var e=i[t];!1===e?a.removeAttribute(t):a.setAttribute(t,!0===e?"":e)})))}))}function Ja(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var i=e.elements[t],a=e.attributes[t]||{},s=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]),o=s.reduce((function(t,e){return t[e]="",t}),{});Vi(i)&&Hi(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const ts={name:"applyStyles",enabled:!0,phase:"write",fn:Qa,effect:Ja,requires:["computeStyles"]};function es(t,e,n){var i=Na(t),a=[ra,aa].indexOf(i)>=0?-1:1,s="function"===typeof n?n(Object.assign({},e,{placement:t})):n,o=s[0],r=s[1];return o=o||0,r=(r||0)*a,[ra,oa].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function ns(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=va.reduce((function(t,n){return t[n]=es(n,e.rects,s),t}),{}),r=o[e.placement],l=r.x,d=r.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=d),e.modifiersData[i]=o}const is={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ns};var as={left:"right",right:"left",bottom:"top",top:"bottom"};function ss(t){return t.replace(/left|right|bottom|top/g,(function(t){return as[t]}))}var os={start:"end",end:"start"};function rs(t){return t.replace(/start|end/g,(function(t){return os[t]}))}function ls(t){var e=Ri(t),n=Ki(t),i=e.visualViewport,a=n.clientWidth,s=n.clientHeight,o=0,r=0;return i&&(a=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=i.offsetLeft,r=i.offsetTop)),{width:a,height:s,x:o+zi(t),y:r}}function ds(t){var e,n=Ki(t),i=Bi(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=Ka(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Ka(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+zi(t),l=-i.scrollTop;return"rtl"===Wi(a||n).direction&&(r+=Ka(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function us(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ji(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function cs(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ps(t){var e=Mi(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}function hs(t,e){return e===ha?cs(ls(t)):Vi(e)?ps(e):cs(ds(Ki(t)))}function fs(t){var e=Ji(Xi(t)),n=["absolute","fixed"].indexOf(Wi(t).position)>=0,i=n&&Vi(t)?ia(t):t;return Ni(i)?e.filter((function(t){return Ni(t)&&us(t,i)&&"body"!==Hi(t)})):[]}function ms(t,e,n){var i="clippingParents"===e?fs(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=hs(t,n);return e.top=Ka(i.top,e.top),e.right=za(i.right,e.right),e.bottom=za(i.bottom,e.bottom),e.left=Ka(i.left,e.left),e}),hs(t,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function gs(){return{top:0,right:0,bottom:0,left:0}}function vs(t){return Object.assign({},gs(),t)}function bs(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ys(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=void 0===i?t.placement:i,s=n.boundary,o=void 0===s?pa:s,r=n.rootBoundary,l=void 0===r?ha:r,d=n.elementContext,u=void 0===d?fa:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=vs("number"!==typeof f?f:bs(f,da)),g=u===fa?ma:fa,v=t.rects.popper,b=t.elements[p?g:u],y=ms(Ni(b)?b:b.contextElement||Ki(t.elements.popper),o,l),_=Mi(t.elements.reference),S=Fa({reference:_,element:v,strategy:"absolute",placement:a}),x=cs(Object.assign({},v,S)),C=u===fa?x:_,w={top:y.top-C.top+m.top,bottom:C.bottom-y.bottom+m.bottom,left:y.left-C.left+m.left,right:C.right-y.right+m.right},I=t.modifiersData.offset;if(u===fa&&I){var O=I[a];Object.keys(w).forEach((function(t){var e=[oa,sa].indexOf(t)>=0?1:-1,n=[aa,sa].indexOf(t)>=0?"y":"x";w[t]+=O[n]*e}))}return w}function _s(t,e){void 0===e&&(e={});var n=e,i=n.placement,a=n.boundary,s=n.rootBoundary,o=n.padding,r=n.flipVariations,l=n.allowedAutoPlacements,d=void 0===l?va:l,u=Va(i),c=u?r?ga:ga.filter((function(t){return Va(t)===u})):da,p=c.filter((function(t){return d.indexOf(t)>=0}));0===p.length&&(p=c);var h=p.reduce((function(e,n){return e[n]=ys(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[Na(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Ss(t){if(Na(t)===la)return[];var e=ss(t);return[rs(t),e,rs(e)]}function xs(t){var e=t.state,n=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0===o||o,l=n.fallbackPlacements,d=n.padding,u=n.boundary,c=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,g=e.options.placement,v=Na(g),b=v===g,y=l||(b||!f?[ss(g)]:Ss(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(Na(n)===la?_s(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),S=e.rects.reference,x=e.rects.popper,C=new Map,w=!0,I=_[0],O=0;O<_.length;O++){var E=_[O],k=Na(E),L=Va(E)===ua,D=[aa,sa].indexOf(k)>=0,A=D?"width":"height",T=ys(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?oa:ra:L?sa:aa;S[A]>x[A]&&(P=ss(P));var $=ss(P),M=[];if(s&&M.push(T[k]<=0),r&&M.push(T[P]<=0,T[$]<=0),M.every((function(t){return t}))){I=E,w=!1;break}C.set(E,M)}if(w)for(var R=f?3:1,B=function(t){var e=_.find((function(e){var n=C.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return I=e,"break"},N=R;N>0;N--){var V=B(N);if("break"===V)break}e.placement!==I&&(e.modifiersData[i]._skip=!0,e.placement=I,e.reset=!0)}}const Cs={name:"flip",enabled:!0,phase:"main",fn:xs,requiresIfExists:["offset"],data:{_skip:!1}};function ws(t){return"x"===t?"y":"x"}function Is(t,e,n){return Ka(t,za(e,n))}function Os(t){var e=t.state,n=t.options,i=t.name,a=n.mainAxis,s=void 0===a||a,o=n.altAxis,r=void 0!==o&&o,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,c=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,g=ys(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Na(e.placement),b=Va(e.placement),y=!b,_=ja(v),S=ws(_),x=e.modifiersData.popperOffsets,C=e.rects.reference,w=e.rects.popper,I="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O={x:0,y:0};if(x){if(s||r){var E="y"===_?aa:ra,k="y"===_?sa:oa,L="y"===_?"height":"width",D=x[_],A=x[_]+g[E],T=x[_]-g[k],P=h?-w[L]/2:0,$=b===ua?C[L]:w[L],M=b===ua?-w[L]:-C[L],R=e.elements.arrow,B=h&&R?Yi(R):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:gs(),V=N[E],j=N[k],F=Is(0,C[L],B[L]),q=y?C[L]/2-P-F-V-I:$-F-V-I,H=y?-C[L]/2+P+F+j+I:M+F+j+I,K=e.elements.arrow&&ia(e.elements.arrow),z=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,W=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,G=x[_]+q-W-z,U=x[_]+H-W;if(s){var Z=Is(h?za(A,G):A,D,h?Ka(T,U):T);x[_]=Z,O[_]=Z-D}if(r){var Y="x"===_?aa:ra,X="x"===_?sa:oa,Q=x[S],J=Q+g[Y],tt=Q-g[X],et=Is(h?za(J,G):J,Q,h?Ka(tt,U):tt);x[S]=et,O[S]=et-Q}}e.modifiersData[i]=O}}const Es={name:"preventOverflow",enabled:!0,phase:"main",fn:Os,requiresIfExists:["offset"]};var ks=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,vs("number"!==typeof t?t:bs(t,da))};function Ls(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Na(n.placement),l=ja(r),d=[ra,oa].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=ks(a.padding,n),p=Yi(s),h="y"===l?aa:ra,f="y"===l?sa:oa,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=ia(s),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,_=c[h],S=b-p[u]-c[f],x=b/2-p[u]/2+y,C=Is(_,x,S),w=l;n.modifiersData[i]=(e={},e[w]=C,e.centerOffset=C-x,e)}}function Ds(t){var e=t.state,n=t.options,i=n.element,a=void 0===i?"[data-popper-arrow]":i;null!=a&&("string"!==typeof a||(a=e.elements.popper.querySelector(a),a))&&us(e.elements.popper,a)&&(e.elements.arrow=a)}const As={name:"arrow",enabled:!0,phase:"main",fn:Ls,effect:Ds,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ts(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Ps(t){return[aa,oa,sa,ra].some((function(e){return t[e]>=0}))}function $s(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=ys(e,{elementContext:"reference"}),r=ys(e,{altBoundary:!0}),l=Ts(o,i),d=Ts(r,a,s),u=Ps(l),c=Ps(d);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:c},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":c})}const Ms={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:$s};var Rs=[Ba,Ha,Xa,ts,is,Cs,Es,As,Ms],Bs=$a({defaultModifiers:Rs}),Ns="tippy-box",Vs="tippy-content",js="tippy-backdrop",Fs="tippy-arrow",qs="tippy-svg-arrow",Hs={passive:!0,capture:!0},Ks=function(){return document.body};function zs(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function Ws(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function Gs(t,e){return"function"===typeof t?t.apply(void 0,e):t}function Us(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function Zs(t){return t.split(/\s+/).filter(Boolean)}function Ys(t){return[].concat(t)}function Xs(t,e){-1===t.indexOf(e)&&t.push(e)}function Qs(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function Js(t){return t.split("-")[0]}function to(t){return[].slice.call(t)}function eo(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function no(){return document.createElement("div")}function io(t){return["Element","Fragment"].some((function(e){return Ws(t,e)}))}function ao(t){return Ws(t,"NodeList")}function so(t){return Ws(t,"MouseEvent")}function oo(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function ro(t){return io(t)?[t]:ao(t)?to(t):Array.isArray(t)?t:to(document.querySelectorAll(t))}function lo(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function uo(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function co(t){var e,n=Ys(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function po(t,e){var n=e.clientX,i=e.clientY;return t.every((function(t){var e=t.popperRect,a=t.popperState,s=t.props,o=s.interactiveBorder,r=Js(a.placement),l=a.modifiersData.offset;if(!l)return!0;var d="bottom"===r?l.top.y:0,u="top"===r?l.bottom.y:0,c="right"===r?l.left.x:0,p="left"===r?l.right.x:0,h=e.top-i+d>o,f=i-e.bottom-u>o,m=e.left-n+c>o,g=n-e.right-p>o;return h||f||m||g}))}function ho(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function fo(t,e){var n=e;while(n){var i;if(t.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var mo={isTouch:!1},go=0;function vo(){mo.isTouch||(mo.isTouch=!0,window.performance&&document.addEventListener("mousemove",bo))}function bo(){var t=performance.now();t-go<20&&(mo.isTouch=!1,document.removeEventListener("mousemove",bo)),go=t}function yo(){var t=document.activeElement;if(oo(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function _o(){document.addEventListener("touchstart",vo,Hs),window.addEventListener("blur",yo)}var So="undefined"!==typeof window&&"undefined"!==typeof document,xo=!!So&&!!window.msCrypto;var Co={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},wo={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Io=Object.assign({appendTo:Ks,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},Co,wo),Oo=Object.keys(Io),Eo=function(t){var e=Object.keys(t);e.forEach((function(e){Io[e]=t[e]}))};function ko(t){var e=t.plugins||[],n=e.reduce((function(e,n){var i,a=n.name,s=n.defaultValue;a&&(e[a]=void 0!==t[a]?t[a]:null!=(i=Io[a])?i:s);return e}),{});return Object.assign({},t,n)}function Lo(t,e){var n=e?Object.keys(ko(Object.assign({},Io,{plugins:e}))):Oo,i=n.reduce((function(e,n){var i=(t.getAttribute("data-tippy-"+n)||"").trim();if(!i)return e;if("content"===n)e[n]=i;else try{e[n]=JSON.parse(i)}catch(a){e[n]=i}return e}),{});return i}function Do(t,e){var n=Object.assign({},e,{content:Gs(e.content,[t])},e.ignoreAttributes?{}:Lo(t,e.plugins));return n.aria=Object.assign({},Io.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?e.interactive:n.aria.expanded,content:"auto"===n.aria.content?e.interactive?null:"describedby":n.aria.content},n}var Ao=function(){return"innerHTML"};function To(t,e){t[Ao()]=e}function Po(t){var e=no();return!0===t?e.className=Fs:(e.className=qs,io(t)?e.appendChild(t):To(e,t)),e}function $o(t,e){io(e.content)?(To(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?To(t,e.content):t.textContent=e.content)}function Mo(t){var e=t.firstElementChild,n=to(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(Vs)})),arrow:n.find((function(t){return t.classList.contains(Fs)||t.classList.contains(qs)})),backdrop:n.find((function(t){return t.classList.contains(js)}))}}function Ro(t){var e=no(),n=no();n.className=Ns,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=no();function a(n,i){var a=Mo(e),s=a.box,o=a.content,r=a.arrow;i.theme?s.setAttribute("data-theme",i.theme):s.removeAttribute("data-theme"),"string"===typeof i.animation?s.setAttribute("data-animation",i.animation):s.removeAttribute("data-animation"),i.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth="number"===typeof i.maxWidth?i.maxWidth+"px":i.maxWidth,i.role?s.setAttribute("role",i.role):s.removeAttribute("role"),n.content===i.content&&n.allowHTML===i.allowHTML||$o(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(Po(i.arrow))):s.appendChild(Po(i.arrow)):r&&s.removeChild(r)}return i.className=Vs,i.setAttribute("data-state","hidden"),$o(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}Ro.$$tippy=!0;var Bo=1,No=[],Vo=[];function jo(t,e){var n,i,a,s,o,r,l,d=Do(t,Object.assign({},Io,ko(eo(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=Us(Y,d.interactiveDebounce),g=Bo++,v=null,b=Qs(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:no(),popperInstance:v,props:d,state:y,plugins:b,clearDelayTimeouts:lt,setProps:dt,setContent:ut,show:ct,hide:pt,hideWithInteractivity:ht,enable:ot,disable:rt,unmount:ft,destroy:mt};if(!d.render)return _;var S=d.render(_),x=S.popper,C=S.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_;var w=b.map((function(t){return t.fn(_)})),I=t.hasAttribute("aria-expanded");return G(),R(),P(),$("onCreate",[_]),d.showOnCreate&&at(),x.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",m)})),_;function O(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===O()[0]}function k(){var t;return!(null==(t=_.props.render)||!t.$$tippy)}function L(){return l||t}function D(){var t=L().parentNode;return t?co(t):document}function A(){return Mo(x)}function T(t){return _.state.isMounted&&!_.state.isVisible||mo.isTouch||s&&"focus"===s.type?0:zs(_.props.delay,t?0:1,Io.delay)}function P(t){void 0===t&&(t=!1),x.style.pointerEvents=_.props.interactive&&!t?"":"none",x.style.zIndex=""+_.props.zIndex}function $(t,e,n){var i;(void 0===n&&(n=!0),w.forEach((function(n){n[t]&&n[t].apply(n,e)})),n)&&(i=_.props)[t].apply(i,e)}function M(){var e=_.props.aria;if(e.content){var n="aria-"+e.content,i=x.id,a=Ys(_.props.triggerTarget||t);a.forEach((function(t){var e=t.getAttribute(n);if(_.state.isVisible)t.setAttribute(n,e?e+" "+i:i);else{var a=e&&e.replace(i,"").trim();a?t.setAttribute(n,a):t.removeAttribute(n)}}))}}function R(){if(!I&&_.props.aria.expanded){var e=Ys(_.props.triggerTarget||t);e.forEach((function(t){_.props.interactive?t.setAttribute("aria-expanded",_.state.isVisible&&t===L()?"true":"false"):t.removeAttribute("aria-expanded")}))}}function B(){D().removeEventListener("mousemove",m),No=No.filter((function(t){return t!==m}))}function N(e){if(!mo.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!fo(x,n)){if(Ys(_.props.triggerTarget||t).some((function(t){return fo(t,n)}))){if(mo.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else $("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||q())}}}function V(){p=!0}function j(){p=!1}function F(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Hs),t.addEventListener("touchstart",j,Hs),t.addEventListener("touchmove",V,Hs)}function q(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Hs),t.removeEventListener("touchstart",j,Hs),t.removeEventListener("touchmove",V,Hs)}function H(t,e){z(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function K(t,e){z(t,e)}function z(t,e){var n=A().box;function i(t){t.target===n&&(ho(n,"remove",i),e())}if(0===t)return e();ho(n,"remove",o),ho(n,"add",i),o=i}function W(e,n,i){void 0===i&&(i=!1);var a=Ys(_.props.triggerTarget||t);a.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function G(){E()&&(W("touchstart",Z,{passive:!0}),W("touchend",X,{passive:!0})),Zs(_.props.trigger).forEach((function(t){if("manual"!==t)switch(W(t,Z),t){case"mouseenter":W("mouseleave",X);break;case"focus":W(xo?"focusout":"blur",Q);break;case"focusin":W("focusout",Q);break}}))}function U(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=s)?void 0:e.type);s=t,l=t.currentTarget,R(),!_.state.isVisible&&so(t)&&No.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:at(t),"click"===t.type&&(u=!n),n&&!i&&st(t)}}function Y(t){var e=t.target,n=L().contains(e)||x.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(x).map((function(t){var e,n=t._tippy,i=null==(e=n.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:d}:null})).filter(Boolean);po(i,t)&&(B(),st(t))}}function X(t){var e=J(t)||_.props.trigger.indexOf("click")>=0&&u;e||(_.props.interactive?_.hideWithInteractivity(t):st(t))}function Q(t){_.props.trigger.indexOf("focusin")<0&&t.target!==L()||_.props.interactive&&t.relatedTarget&&x.contains(t.relatedTarget)||st(t)}function J(t){return!!mo.isTouch&&E()!==t.type.indexOf("touch")>=0}function tt(){et();var e=_.props,n=e.popperOptions,i=e.placement,a=e.offset,s=e.getReferenceClientRect,o=e.moveTransition,l=k()?Mo(x).arrow:null,d=s?{getBoundingClientRect:s,contextElement:s.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=A(),i=n.box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},c=[{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:!o}},u];k()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),_.popperInstance=Bs(d,x,Object.assign({},n,{placement:i,onFirstUpdate:r,modifiers:c}))}function et(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function nt(){var t,e=_.props.appendTo,n=L();t=_.props.interactive&&e===Ks||"parent"===e?n.parentNode:Gs(e,[n]),t.contains(x)||t.appendChild(x),_.state.isMounted=!0,tt()}function it(){return to(x.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&$("onTrigger",[_,t]),F();var e=T(!0),i=O(),a=i[0],s=i[1];mo.isTouch&&"hold"===a&&s&&(e=s),e?n=setTimeout((function(){_.show()}),e):_.show()}function st(t){if(_.clearDelayTimeouts(),$("onUntrigger",[_,t]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&u)){var e=T(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):a=requestAnimationFrame((function(){_.hide()}))}}else q()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function dt(e){if(!_.state.isDestroyed){$("onBeforeUpdate",[_,e]),U();var n=_.props,i=Do(t,Object.assign({},n,eo(e),{ignoreAttributes:!0}));_.props=i,G(),n.interactiveDebounce!==i.interactiveDebounce&&(B(),m=Us(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?Ys(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),R(),P(),C&&C(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),$("onAfterUpdate",[_,e])}}function ut(t){_.setProps({content:t})}function ct(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=mo.isTouch&&!_.props.touch,a=zs(_.props.duration,0,Io.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&($("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(x.style.visibility="visible"),P(),F(),_.state.isMounted||(x.style.transition="none"),k()){var s=A(),o=s.box,l=s.content;lo([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=A(),n=e.box,i=e.content;lo([n,i],a),uo([n,i],"visible")}M(),R(),Xs(Vo,_),null==(t=_.popperInstance)||t.forceUpdate(),$("onMount",[_]),_.props.animation&&k()&&K(a,(function(){_.state.isShown=!0,$("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=zs(_.props.duration,1,Io.duration);if(!(t||e||n)&&($("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(x.style.visibility="hidden"),B(),q(),P(!0),k()){var a=A(),s=a.box,o=a.content;_.props.animation&&(lo([s,o],i),uo([s,o],"hidden"))}M(),R(),_.props.animation?k()&&H(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),Xs(No,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),Vo=Vo.filter((function(t){return t!==_})),_.state.isMounted=!1,$("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),U(),delete t._tippy,_.state.isDestroyed=!0,$("onDestroy",[_]))}}function Fo(t,e){void 0===e&&(e={});var n=Io.plugins.concat(e.plugins||[]);_o();var i=Object.assign({},e,{plugins:n}),a=ro(t),s=a.reduce((function(t,e){var n=e&&jo(e,i);return n&&t.push(n),t}),[]);return io(t)?s[0]:s}Fo.defaultProps=Io,Fo.setDefaultProps=Eo,Fo.currentInput=mo;Object.assign({},ts,{effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow)}});var qo={name:"sticky",defaultValue:!1,fn:function(t){var e=t.reference,n=t.popper;function i(){return t.popperInstance?t.popperInstance.state.elements.reference:e}function a(e){return!0===t.props.sticky||t.props.sticky===e}var s=null,o=null;function r(){var e=a("reference")?i().getBoundingClientRect():null,l=a("popper")?n.getBoundingClientRect():null;(e&&Ho(s,e)||l&&Ho(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function Ho(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Fo.setDefaultProps({render:Ro});const Ko=Fo,zo=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),Wo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Go=[!0,!1,"reference","popper"],Uo=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Ko(t,{...e,plugins:[qo],render:()=>Qo(n)})},Zo=function(){let{boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:n=(()=>{}),hasHideModifierEnabled:i=!1,tether:a=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:t}},{name:"hide",enabled:i},{name:"preventOverflow",options:{altAxis:!a,tether:a}},zo((t=>{let{state:e}=t;n(e.placement)}))]}},Yo=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},Xo=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0";const n=null===t||void 0===t?void 0:t.children[0];return n?(O(n)||n.setAttribute("tabindex",e),n):Yo(t)},Qo=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},Jo={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},tr={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},er=["dialog","menu","listbox","tree","grid"],nr=[null,"anchor"],ir=["none","dialog","first"],ar=[...Go];let sr="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",or=(t=21)=>{let e="",n=t;while(n--)e+=sr[64*Math.random()|0];return e};function rr(t){return rr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rr(t)}var lr={selector:"vue-portal-target-".concat(or())},dr=function(t){return lr.selector=t},ur="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":rr(document)),cr=f().extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(t){return{updatedNodes:t.nodes}},render:function(t){var e=this.updatedNodes&&this.updatedNodes();return e?1!==e.length||e[0].text?t(this.tag||"DIV",e):e:t()},destroyed:function(){var t=this.$el;t&&t.parentNode.removeChild(t)}}),pr=f().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(lr.selector)}},tag:{type:String,default:"DIV"}},render:function(t){if(this.disabled){var e=this.$scopedSlots&&this.$scopedSlots.default();return e?e.length<2&&!e[0].text?e:t(this.tag,e):t()}return t()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var t=this;this.$nextTick((function(){t.disabled||t.slotFn===t.$scopedSlots.default||(t.container.updatedNodes=t.$scopedSlots.default),t.slotFn=t.$scopedSlots.default}))},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(t){t?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(ur)return document.querySelector(this.selector)},insertTargetEl:function(){if(ur){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(ur){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new cr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function hr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",pr),e.defaultSelector&&dr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===f()&&f().use(hr);var fr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:{"d-popover__header":"header"===t.type,"d-popover__footer":"footer"===t.type},attrs:{"data-qa":"dt-popover-header-footer"}},[t.$slots.content?n("div",{class:["d-to-ellipsis","d-w100p",t.contentClass],attrs:{"data-qa":"dt-popover-header-footer-content"}},[t._t("content")],2):t._e(),t.showCloseButton?n("dt-button",t._b({ref:"popover__close-button",staticClass:"d-p6 d-mr6 d-bc-transparent",attrs:{"data-qa":"dt-popover-close",importance:"outlined",kind:"muted",circle:""},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"300"}})]},proxy:!0}],null,!1,2538694920)},"dt-button",t.closeButtonProps,!1)):t._e()],1)},mr=[];const gr={name:"PopoverHeaderFooter",components:{DtButton:Ut,DtIcon:st},props:{type:{type:String,validator:function(t){return["header","footer"].includes(t)}},contentClass:{type:[String,Array,Object],default:""},showCloseButton:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>{}}},emits:["close"],methods:{focusCloseButton(){var t;const e=null===(t=this.$refs["popover__close-button"])||void 0===t?void 0:t.$el;null===e||void 0===e||e.focus()}}},vr=gr;var br=B(vr,fr,mr,!1,null,null,null);const yr=br.exports,_r={name:"DtPopover",components:{SrOnlyCloseButton:ee,DtLazyShow:Oi,PopoverHeaderFooter:yr,Portal:pr},mixins:[de,Zt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:t=>er.includes(t)},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null},closeButtonProps:{type:Object,default:()=>({})},padding:{type:String,default:"large",validator:t=>Object.keys(Jo).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>nr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return S()}},offset:{type:Array,default:()=>[0,4]},hideOnClick:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom-end"},tether:{type:Boolean,default:!0},sticky:{type:[Boolean,String],default:!1,validator:t=>ar.includes(t)},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},initialFocusElement:{type:[String,HTMLElement],default:"first",validator:t=>ir.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:Jo,POPOVER_HEADER_FOOTER_PADDING_CLASSES:tr,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{popoverListeners(){return{...this.$listeners,keydown:t=>{this.onKeydown(t),this.$emit("keydown",t)},"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&S("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()})},offset(t){this.tip.setProps({offset:t})},sticky(t){this.tip.setProps({sticky:t})},fallbackPlacements(){this.tip.setProps({popperOptions:this.popperOptions()})},tether(){this.tip.setProps({popperOptions:this.popperOptions()})},placement(t){var e;null===(e=this.tip)||void 0===e||e.setProps({placement:t})},open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0},isOpen(t,e){t?(this.tip.setProps({zIndex:this.modal?650:this.calculateAnchorZindex()}),this.tip.show(),this.addClosePopoverEventListener()):t||e===t||(this.removeClosePopoverEventListener(),this.tip.hide())}},mounted(){const t=document.getElementById(this.externalAnchor);this.anchorEl=null!==t&&void 0!==t?t:this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,"anchor"===this.contentWidth&&window.addEventListener("resize",this.onResize),this.tip=Uo(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:document.body,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow}),this.isOpen&&this.tip.show()},beforeDestroy(){var t;window.removeEventListener("resize",this.onResize),null===(t=this.tip)||void 0===t||t.destroy(),this.removeReferences(),this.removeClosePopoverEventListener()},methods:{popperOptions(){return Zo({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},validateProps(){this.modal&&"none"===this.initialFocusElement&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?650:300},defaultToggleOpen(t){var e,n;this.openOnContext||null!==(e=this.open)&&void 0!==e||this.anchorEl.contains(t.target)&&(null===(n=this.anchorEl)||void 0===n||!n.disabled)&&this.toggleOpen()},onContext(t){var e;this.openOnContext&&(t.preventDefault(),null===(e=this.tip)||void 0===e||e.setProps({placement:"right-start"}),this.tip.setProps({getReferenceClientRect:()=>({width:0,height:0,top:t.clientY,bottom:t.clientY,left:t.clientX,right:t.clientX})}),this.toggleOpen())},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(t){null===this.open&&this.openWithArrowKeys&&this.anchorEl.contains(t.target)&&(this.isOpen||(this.isOpen=!0))},addClosePopoverEventListener(){window.addEventListener("dt-popover-close",this.closePopover)},removeClosePopoverEventListener(){window.removeEventListener("dt-popover-close",this.closePopover)},closePopover(){this.isOpen=!1},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){"anchor"===this.contentWidth&&await this.setPopoverContentAnchorWidth(),null===this.contentWidth&&(this.popoverContentEl.style.width="auto")},async onLeaveTransitionComplete(){var t;this.modal&&(this.focusFirstElement(this.$refs.anchor),await this.$nextTick()),null===(t=this.tip)||void 0===t||t.unmount(),this.$emit("opened",!1),null!==this.open&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.$emit("opened",!0,this.$refs.popover__content),null!==this.open&&this.$emit("update:open",!0)},focusInitialElement(){"dialog"===this.initialFocusElement&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),"first"===this.initialFocusElement&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){const t=this.$refs.content.$el.querySelector(this.initialFocusElement);t?t.focus():console.warn('Could not find the element specified in dt-popover prop "initialFocusElement". Defaulting to focusing the dialog.'),t?t.focus():this.$refs.content.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;const t=this.popoverContentEl.querySelector(".d-popover__anchor--opened");t||this.closePopover()},onKeydown(t){"Tab"===t.key&&this.modal&&this.focusTrappedTabPress(t,this.popoverContentEl),"Escape"===t.key&&this.closePopover()},async setPopoverContentAnchorWidth(){await this.$nextTick(),this.popoverContentEl.style.width=`${this.anchorEl.clientWidth}px`},focusFirstElementIfNeeded(t){const e=this._getFocusableElements(t,!0);if(0!==e.length)this.focusFirstElement(t);else if(this.showCloseButton){var n;null===(n=this.$refs.popover__header)||void 0===n||n.focusCloseButton()}else this.$refs.content.$el.focus()}}},Sr=_r;n(155);var xr=B(Sr,Pi,$i,!1,null,null,null);const Cr=xr.exports,wr={none:void 0,small:"d-py6",large:"d-py12"},Ir={name:"DtDropdown",components:{DtPopover:Cr,SrOnlyCloseButton:ee},mixins:[Xe({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),Zt],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys(wr).some((e=>e===t))},modal:{type:Boolean,default:!0},contentWidth:{type:String,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},listId:{type:String,default(){return S()}},navigationType:{type:String,default:an.ARROW_KEYS,validator:t=>Object.values(an).includes(t)},fallbackPlacements:{type:Array,default:()=>["auto"]},placement:{type:String,default:"bottom"},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},listClass:{type:[String,Array,Object],default:""}},emits:["highlight","opened","update:open"],data(){return{LIST_ITEM_NAVIGATION_TYPES:an,DROPDOWN_PADDING_CLASSES:wr,EVENT_KEYNAMES:u,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case u.up:case u.arrowup:this.onKeyValidation(t,"onUpKeyPress"),t.stopPropagation(),t.preventDefault();break;case u.down:case u.arrowdown:this.onKeyValidation(t,"onDownKeyPress"),t.stopPropagation(),t.preventDefault();break;case u.space:case u.spacebar:this.onSpaceKey();break;case u.enter:this.onEnterKey();break;case u.home:this.onKeyValidation(t,"onHomeKeyPress"),t.stopPropagation(),t.preventDefault();break;case u.end:this.onKeyValidation(t,"onEndKeyPress"),t.stopPropagation(),t.preventDefault();break;default:this.onKeyValidation(t,"onKeyPress");break}this.$emit("keydown",t)}}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)},isArrowKeyNav(){return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS},listClasses(){return["d-ps-relative","d-px0",wr[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]}},methods:{onMouseHighlight(t){const e=t.target.closest("li");e&&e.role&&this.highlightId!==e.id&&(this.setHighlightId(e.id),e.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.visuallyHiddenClose&&this.highlightIndex===this._itemsLength()-1||this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(t){this.isOpen=t,t?(this.openedWithKeyboard&&this.isArrowKeyNav&&this.setHighlightIndex(0),this.$emit("opened",!0)):(this.clearHighlightIndex(),this.openedWithKeyboard=!1,this.$emit("opened",!1))},onSpaceKey(){this.open||(this.openedWithKeyboard=!0)},onEnterKey(){this.open||(this.openedWithKeyboard=!0)},onUpKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onUpKey():void 0;this.openedWithKeyboard=!0},onDownKeyPress(){if(this.isOpen)return this.isArrowKeyNav?this.onDownKey():void 0;this.openedWithKeyboard=!0},onHomeKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onHomeKey()},onEndKeyPress(){if(this.isOpen&&this.isArrowKeyNav)return this.onEndKey()},onKeyPress(t){if(this.isOpen&&this.isArrowKeyNav&&this.isValidCharacter(t.key))return t.stopPropagation(),t.preventDefault(),this.onNavigationKey(t.key)},onKeyValidation(t,e){(null===this.open||this.openOnContext)&&this[e](t)}}},Or=Ir;n(427);var Er=B(Or,Ai,Ti,!1,null,null,null);const kr=Er.exports;var Lr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",[t.heading?n("div",{staticClass:"dt-dropdown-list--header d-fs12 d-fc-black-400 d-fw-bold d-lh4 d-py4 d-px12 d-d-flex d-ai-center"},[n("span",[t._v(t._s(t.heading))])]):t._e(),n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{"data-qa":"dt-dropdown-list-wrapper"}},[t._t("default")],2)])},Dr=[];const Ar={name:"DtDropdownList",props:{heading:{type:String,default:""},listClass:{type:[String,Array,Object],default:""}}},Tr=Ar;var Pr=B(Tr,Lr,Dr,!1,null,null,null);const $r=Pr.exports;var Mr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"dt-list-separator d-bgc-black-300 d-my8",attrs:{"aria-hidden":"true"}})},Rr=[];const Br={name:"DtDropdownSeparator"},Nr=Br;n(717);var Vr=B(Nr,Mr,Rr,!1,null,null,null);const jr=Vr.exports;var Fr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[n("label",{staticClass:"base-input__label",attrs:{"aria-details":t.$slots.description||t.description?t.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"}},[t._t("labelSlot",(function(){return[t.labelVisible&&t.label?n("div",{ref:"label",class:["base-input__label-text","d-label",t.labelSizeClasses[t.size]],attrs:{"data-qa":"dt-input-label"}},[t._v(" "+t._s(t.label)+" ")]):t._e()]})),t.$slots.description||t.description||t.shouldValidateLength?n("div",{ref:"description",class:["base-input__description","d-description","d-fd-column",t.descriptionSizeClasses[t.size]],attrs:{id:t.descriptionKey,"data-qa":"dt-input-description"}},[t.$slots.description||t.description?n("div",[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),t.shouldValidateLength?n("div",{class:["d-mb2"],attrs:{"data-qa":"dt-input-length-description"}},[t._v(" "+t._s(t.validationProps.length.description)+" ")]):t._e()]):t._e(),n("div",{class:t.inputWrapperClasses(),attrs:{"read-only":t.disabled}},[t.$slots.leftIcon?n("span",{class:t.inputIconClasses("left"),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("leftIcon")],2):t._e(),t.isTextarea?n("textarea",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"textarea",t.$attrs,!1),t.inputListeners)):n("input",t._g(t._b({ref:"input",class:t.inputClasses(),attrs:{name:t.name,type:t.type,disabled:t.disabled,maxlength:t.shouldLimitMaxLength?t.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:t.value}},"input",t.$attrs,!1),t.inputListeners)),t.$slots.rightIcon?n("span",{class:t.inputIconClasses("right"),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{focusout:t.onBlur}},[t._t("rightIcon")],2):t._e()])],2),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.validationMessages,"show-messages":t.showMessages,"data-qa":"dt-input-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},qr=[];const Hr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Kr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var zr=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showMessages&&!t.isFilteredValidationMessagesEmpty?n("div",{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},t._l(t.filteredValidationMessages,(function(e,i){var a=e.message,s=e.type;return n("div",{key:t.getMessageKey(s,i),class:["base-input__message","d-validation-message",t.messageTypeClass(s)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[n("p",{domProps:{innerHTML:t._s(a)}})])})),0):t._e()},Wr=[];function Gr(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(o).includes(null===t||void 0===t?void 0:t.type)))}const Ur={name:"DtValidationMessages",props:{id:{type:String,default(){return S()}},validationMessages:{type:Array,default:()=>[],validator:t=>Gr(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return C(this.validationMessages)},validationState(){return w(this.validationMessages)}},methods:{getMessageKey(t,e){return`validation-message-${t}-${e}-${this.id}`},messageTypeClass(t){const e={error:"base-input__message--error d-validation-message--error",warning:"base-input__message--warning d-validation-message--warning",success:"base-input__message--success d-validation-message--success"};return e[t]}}},Zr=Ur;var Yr=B(Zr,zr,Wr,!1,null,null,null);const Xr=Yr.exports,Qr={inheritAttrs:!1,props:{label:{type:String,default:""},name:{type:String,default:""},value:{type:[String,Number,Boolean,Object],default:null},description:{type:String,default:""},disabled:{type:Boolean,default:!1},validationState:{type:String,default:"",validator:t=>!t||Object.values(o).includes(t)},inputClass:{type:[String,Array,Object],default:""},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})}},data(){return{internalDisabled:this.disabled,internalValidationState:this.validationState}},watch:{disabled(t){this.internalDisabled=t},validationState(t){this.internalValidationState=t}},methods:{validateInputLabels(t,e){t||e||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},Jr={model:{prop:"checked"},props:{checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:null}},data(){return{internalChecked:this.checked,internalIndeterminate:this.indeterminate}},watch:{checked(t){this.internalChecked=t},indeterminate(t){this.internalIndeterminate=t}}},tl={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.name)&&void 0!==t?t:""},groupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.value},groupDisabled(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.disabled)&&void 0!==t&&t},groupValidationState(){var t,e;return null!==(t=null===(e=this.groupContext)||void 0===e?void 0:e.validationState)&&void 0!==t?t:null},internalName(){return this.name||this.groupName}},watch:{value(t){this.internalValue=t},groupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalValue=t)}},groupDisabled:{immediate:!0,handler(t){this.hasGroup&&(this.internalDisabled=this.disabled||t)}},groupValidationState:{immediate:!0,handler(t){this.hasGroup&&(this.internalValidationState=t||this.validationState)}}},created(){var t;const e=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),n=null===(t=this.groupContext)||void 0===t?void 0:t.name;this.name&&e&&n!==this.name&&f().util.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${n}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},el={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>Gr(t)}},computed:{formattedMessages(){return x(this.messages)}}},nl={name:"DtInput",components:{DtValidationMessages:Xr},mixins:[el],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Hr.TEXT,validator:t=>Object.values(Hr).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(Kr).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(Kr).includes(t)},inputClass:{type:[String,Object,Array],default:""},inputWrapperClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},validate:{type:Object,default:null}},emits:["input","blur","clear","focus","focusin","focusout","update:length","update:invalid"],data(){return{descriptionSizeClasses:{lg:"d-description--lg",xl:"d-description--xl"},labelSizeClasses:{xs:"d-label--xs",sm:"d-label--sm",md:"d-label--md",lg:"d-label--lg",xl:"d-label--xl"},isInputFocused:!1,isInvalid:!1,defaultLength:0}},computed:{isTextarea(){return this.type===Hr.TEXTAREA},isDefaultSize(){return this.size===Kr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Kr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Kr).includes(this.size)},isValidDescriptionSize(){return Object.values(r).includes(this.size)},inputComponent(){return this.isTextarea?"textarea":"input"},inputListeners(){return{...this.$listeners,input:t=>this.$emit("input",t.target.value),focus:t=>{this.isInputFocused=!0,this.$emit("focus",t)},blur:t=>{this.isInputFocused=!1,this.onBlur(t)}}},descriptionKey(){return`input-description-${S()}`},inputState(){return w(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,n,i,a,s,o,r,l,d;return{length:{description:null===this||void 0===this||null===(t=this.validate)||void 0===t||null===(e=t.length)||void 0===e?void 0:e.description,max:null===this||void 0===this||null===(n=this.validate)||void 0===n||null===(i=n.length)||void 0===i?void 0:i.max,warn:null===this||void 0===this||null===(a=this.validate)||void 0===a||null===(s=a.length)||void 0===s?void 0:s.warn,message:null===this||void 0===this||null===(o=this.validate)||void 0===o||null===(r=o.length)||void 0===r?void 0:r.message,limitMaxLength:!(null===this||void 0===this||null===(l=this.validate)||void 0===l||null===(d=l.length)||void 0===d||!d.limitMaxLength)&&this.validate.length.limitMaxLength}}},validationMessages(){return this.showLengthLimitValidation?this.formattedMessages.concat([this.inputLengthErrorMessage()]):this.formattedMessages},showInputState(){return this.showMessages&&this.inputState},inputLength(){return this.currentLength?this.currentLength:this.defaultLengthCalculation},inputLengthState(){return this.inputLength<this.validationProps.length.warn?null:this.inputLength<this.validationProps.length.max?this.validationProps.length.warn?o.WARNING:null:o.ERROR},shouldValidateLength(){return!(!this.validationProps.length.description||!this.validationProps.length.max)},shouldLimitMaxLength(){return this.shouldValidateLength&&this.validationProps.length.limitMaxLength},showLengthLimitValidation(){return this.shouldValidateLength&&null!==this.inputLengthState&&this.validationProps.length.message&&(this.isInputFocused||this.isInvalid)},sizeModifierClass(){if(this.isDefaultSize||!this.isValidSize)return"";const t={input:{xs:"d-input--xs",sm:"d-input--sm",lg:"d-input--lg",xl:"d-input--xl"},textarea:{xs:"d-textarea--xs",sm:"d-textarea--sm",lg:"d-textarea--lg",xl:"d-textarea--xl"}};return t[this.inputComponent][this.size]},stateClass(){const t={input:{error:"d-input--error base-input__input--error",warning:"d-input--warning base-input__input--warning",success:"d-input--success base-input__input--success"},textarea:{error:"d-textarea--error base-input__input--error",warning:"d-textarea--warning base-input__input--warning",success:"d-textarea--success base-input__input--success"}};return[t[this.inputComponent][this.inputState]]}},watch:{isInvalid(t){this.$emit("update:invalid",t)},value:{immediate:!0,handler(t){this.shouldValidateLength&&this.validateLength(this.inputLength),null==this.currentLength&&this.$emit("update:length",this.calculateLength(t))}}},methods:{inputClasses(){return["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[this.stateClass]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},inputWrapperClasses(){return["d-input__wrapper",{[this.stateClass]:this.showInputState},this.inputWrapperClass]},calculateLength(t){return"string"!==typeof t?0:[...t].length},inputLengthErrorMessage(){return{message:this.validationProps.length.message,type:this.inputLengthState}},inputIconClasses(t){const e={xs:"d-input-icon--xs",sm:"d-input-icon--sm",lg:"d-input-icon--lg",xl:"d-input-icon--xl"},n={left:"base-input__icon--left d-input-icon--left",right:"base-input__icon--right d-input-icon--right"};return[n[t],"d-input-icon",{[e[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(t){var e;null!==(e=this.$refs.container)&&void 0!==e&&e.contains(t.relatedTarget)||this.$emit("blur",t)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(t,e){return`message-${t}-${e}`},validateLength(t){this.isInvalid=t>this.validationProps.length.max}}},il=nl;var al=B(il,Fr,qr,!1,null,null,null);const sl=al.exports;var ol=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("fieldset",{attrs:{"data-qa":t.dataQaGroup}},[t.$slots.legend||t.legend?n("legend",t._b({class:["d-label",t.legendClass],attrs:{"data-qa":t.dataQaGroupLegend}},"legend",t.legendChildProps,!1),[t._t("legend",(function(){return[t._v(" "+t._s(t.legend)+" ")]}))],2):t._e(),t._t("default"),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":t.dataQaGroupMessages}},"dt-validation-messages",t.messagesChildProps,!1))],2)},rl=[];const ll={components:{DtValidationMessages:Xr},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return S()}},value:{type:[String,Number,Boolean,Object],default:null},name:{type:String,required:!0},legend:{type:String,default:""},disabled:{type:Boolean,default:!1},messages:{type:Array,default:()=>[],validator:t=>Gr(t)},showMessages:{type:Boolean,default:!0},legendClass:{type:[String,Array,Object],default:""},messagesClass:{type:[String,Array,Object],default:""},legendChildProps:{type:Object,default:()=>({})},messagesChildProps:{type:Object,default:()=>({})}},data(){const t=x(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:w(t)}}},computed:{formattedMessages(){return x(this.messages)},validationState(){return w(this.formattedMessages)}},watch:{disabled(t){this.provideObj.disabled=t},validationState(t){this.provideObj.validationState=t}},methods:{setGroupValue(t){this.internalValue=t,this.$emit("input",t)}},mounted(){this.legend||this.$slots.legend||this.$attrs["aria-label"]||f().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},dl={name:"DtInputGroup",components:{DtValidationMessages:Xr},mixins:[ll],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},emits:["input"],data(){return{internalValue:this.value,provideObj:{value:this.value}}},watch:{value(t){this.internalValue=t},internalValue(t){this.provideObj.value=t}},methods:{getMessageKey(t,e){return`input-group-message-${t}-${e}-${this.id}`}}},ul=dl;var cl=B(ul,ol,rl,!1,null,null,null);const pl=cl.exports;var hl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-lazy-show",t._g({class:["d-modal",t.MODAL_KIND_MODIFIERS[t.kind],t.MODAL_SIZE_MODIFIERS[t.size],t.modalClass],attrs:{transition:"d-zoom",show:t.show,"data-qa":"dt-modal","aria-hidden":t.open}},t.modalListeners),[t.show&&(t.$slots.banner||t.bannerTitle)?n("div",{class:["d-modal__banner",t.bannerClass],attrs:{"data-qa":"dt-modal-banner"}},[t._t("banner",(function(){return[t._v(" "+t._s(t.bannerTitle)+" ")]}))],2):t._e(),n("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":t.fixedHeaderFooter},t.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":t.describedById,"aria-labelledby":t.labelledById}},[t.$slots.header?n("div",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._t("header")],2):n("h2",{staticClass:"d-modal__header",attrs:{id:t.labelledById,"data-qa":"dt-modal-title"}},[t._v(" "+t._s(t.title)+" ")]),t.$slots.default?n("div",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._t("default")],2):n("p",{staticClass:"d-modal__content",attrs:{"data-qa":"dt-modal-copy"}},[t._v(" "+t._s(t.copy)+" ")]),t.hasFooterSlot?n("footer",{staticClass:"d-modal__footer"},[t._t("footer")],2):t._e(),t.hideClose?t._e():n("dt-button",t._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":t.closeButtonProps.ariaLabel},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",t.closeButtonProps,!1)),t.showVisuallyHiddenClose?n("sr-only-close-button",{attrs:{"visually-hidden-close-label":t.visuallyHiddenCloseLabel},on:{close:t.close}}):t._e()],1)])],1)},fl=[];const ml={default:"",danger:"d-modal--danger"},gl={default:"",full:"d-modal--full"},vl={name:"DtModal",components:{DtLazyShow:Oi,DtButton:Ut,DtIcon:st,SrOnlyCloseButton:ee},mixins:[de,Zt],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return S()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(ml).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(gl).includes(t)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},fixedHeaderFooter:{type:Boolean,default:!0}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:ml,MODAL_SIZE_MODIFIERS:gl,EVENT_KEYNAMES:u}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case u.esc:case u.escape:this.close();break;case u.tab:this.trapFocus(t);break}this.$emit("keydown",t)},"after-enter":t=>{t.target===t.currentTarget&&this.setFocusAfterTransition()}}},open(){return`${!this.show}`},hasFooterSlot(){return!!this.$slots.footer}},watch:{show:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:(null===(e=this.previousActiveElement)||void 0===e||e.focus(),this.previousActiveElement=null)}},$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(t){this.show&&this.focusTrappedTabPress(t)},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error("If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props\n need to be set so the component always includes a close button")}}},bl=vl;var yl=B(bl,hl,fl,!1,null,null,null);const _l=yl.exports;var Sl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":t.separator}],attrs:{id:t.id,role:"group","aria-labelledby":t.id+"-list-section-header",tabindex:"-1"}},[t.header?n("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:t.id+"-list-section-header"}},[t._v(" "+t._s(t.header)+" ")]):t._e(),!t.isCollapsible||t.showAll?n("ol",{attrs:{id:t.id+"-list-section-content"}},[t._t("default")],2):n("ol",{attrs:{id:t.id+"-list-section-content"}},[n("vnodes",{attrs:{vnodes:t.displayedItems}})],1),n("div",{staticClass:"d-d-flex"},[t.isCollapsible?n("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:t.id+"-list-section-show-more-less",link:""},on:{click:t.showMoreLessClicked}},[t._v(" "+t._s(t.showMoreLessText)+" ")]):t._e(),t._t("footer")],2)])},xl=[];const Cl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:Ut},props:{id:{type:String,default(){return D.getUniqueString()}},header:{type:String,default:null},separator:{type:Boolean,default:!1},maxDisplayed:{type:Number,default:0},textMore:{type:String,default:"Show more"},textLess:{type:String,default:"Show less"}},data(){return{showAll:!1}},computed:{isCollapsible(){return!(0===this.maxDisplayed||this.itemCount<=this.maxDisplayed)},showMoreLessText(){return this.showAll?this.textLess:this.textMore},hiddenCount(){return this.itemCount-this.displayedItems.length},itemCount(){return this.$slots.default.length},displayedItems(){return this.$slots.default.filter(((t,e)=>e<=this.maxDisplayed-1))}},methods:{showMoreLessClicked(){this.showAll=!this.showAll}}},wl=Cl;n(792);var Il=B(wl,Sl,xl,!1,null,null,null);const Ol=Il.exports;var El=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{class:["d-ps-relative","d-px0",t.listClass],attrs:{id:t.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":t.id+"-heading"}},[t.heading?n("li",{class:["dt-dropdown-list--header",t.headingClass],attrs:{id:t.id+"-heading",role:"presentation","data-qa":"dt-dropdown-list-heading"}},[t._t("headingSlot",(function(){return[t._v(" "+t._s(t.heading)+" ")]}))],2):t._e(),t._t("default")],2)},kl=[];const Ll={name:"DtListItemGroup",props:{id:{type:String,default(){return S()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},Dl=Ll;var Al=B(Dl,El,kl,!1,null,null,null);const Tl=Al.exports;var Pl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.noticeClass,attrs:{"data-qa":"notice"}},[n("dt-notice-icon",{attrs:{kind:t.kind}},[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default")],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.$listeners),[t._t("action")],2)],1)},$l=[];const Ml={name:"DtNotice",components:{DtNoticeIcon:_t,DtNoticeContent:Ot,DtNoticeAction:se},mixins:[Zt],props:{titleId:{type:String,default:void 0},contentId:{type:String,default:void 0},title:{type:String,default:""},role:{type:String,default:"status",validate(t){return mt.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return ft.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){const t={error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"};return["d-notice",t[this.kind],{"d-notice--important":this.important}]}}},Rl=Ml;var Bl=B(Rl,Pl,$l,!1,null,null,null);const Nl=Bl.exports;var Vl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nav",{staticClass:"d-d-flex d-fd-row d-gg2 d-ai-center",attrs:{"aria-label":t.ariaLabel}},[n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-prev","aria-label":t.prevAriaLabel,importance:t.isFirstPage?"primary":"clear",disabled:t.isFirstPage},on:{click:function(e){return t.changePage(t.currentPage-1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-left",size:"200"}})],1)],2),t._l(t.pages,(function(e,i){return n("div",{key:"page-"+e+"-"+i},[isNaN(Number(e))?n("div",{staticClass:"d-h32 d-w32 d-d-flex d-ai-center d-jc-center",attrs:{"data-qa":"dt-pagination-separator"}},[t._v(" … ")]):n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"aria-label":t.pageNumberAriaLabel(e),importance:t.currentPage===e?"primary":"clear","label-class":"d-fs-200"},on:{click:function(n){return t.changePage(e)}}},[t._v(" "+t._s(e)+" ")])],1)})),n("dt-button",{staticClass:"d-h32 d-w32",attrs:{"data-qa":"dt-pagination-next","aria-label":t.nextAriaLabel,disabled:t.isLastPage,importance:t.isLastPage?"primary":"clear"},on:{click:function(e){return t.changePage(t.currentPage+1)}}},[n("template",{slot:"icon"},[n("dt-icon",{attrs:{name:"chevron-right",size:"200"}})],1)],2)],2)},jl=[];const Fl={name:"DtPagination",components:{DtButton:Ut,DtIcon:st},props:{ariaLabel:{type:String,required:!0},totalPages:{type:Number,required:!0},prevAriaLabel:{type:String,required:!0},nextAriaLabel:{type:String,required:!0},pageNumberAriaLabel:{type:Function,required:!0},activePage:{type:Number,default:1},maxVisible:{type:Number,default:5}},emits:["change"],data(){return{currentPage:this.activePage}},computed:{isFirstPage(){return 1===this.currentPage},isLastPage(){return this.currentPage===this.totalPages},pages(){if(0===this.maxVisible)return[];if(this.totalPages<=this.maxVisible)return this.range(1,this.totalPages);const t=this.maxVisible-1,e=this.totalPages-t+1;if(this.currentPage<t)return[...this.range(1,t),"...",this.totalPages];if(this.currentPage>e)return[1,"...",...this.range(e,this.totalPages)];const n=this.maxVisible-(3-this.maxVisible%2),i=Math.floor(n/2),a=this.currentPage-i,s=this.currentPage+i;return[1,"...",...this.range(a,s),"...",this.totalPages]}},methods:{range(t,e){const n=[];t=t>0?t:1;for(let i=t;i<=e;i++)n.push(i);return n},changePage(t){this.currentPage=t,this.$emit("change",this.currentPage)}}},ql=Fl;var Hl=B(ql,Vl,jl,!1,null,null,null);const Kl=Hl.exports;var zl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-radio-group",{"d-radio-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-radio__input"},[n("input",t._g(t._b({class:["d-radio",t.inputValidationClass,t.inputClass],attrs:{name:t.internalName,disabled:t.internalDisabled,type:"radio"},domProps:{checked:t.internalChecked,value:t.value}},"input",t.$attrs,!1),t.inputListeners))]),n("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[n("div",t._b({class:t.labelClass,attrs:{"data-qa":"radio-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)])])},Wl=[];const Gl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Ul={name:"DtRadio",components:{DtValidationMessages:Xr},mixins:[Qr,Jr,tl,el],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Gl[this.internalValidationState]},radioGroupValue(){var t;return null===(t=this.groupContext)||void 0===t?void 0:t.selectedValue},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}}},watch:{radioGroupValue:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t===this.value)}}},methods:{emitValue(t){t!==this.radioGroupValue&&(this.setGroupValue(t),this.$emit("input",t))}}},Zl=Ul;var Yl=B(Zl,zl,Wl,!1,null,null,null);const Xl=Yl.exports,Ql={name:"DtRadioGroup",extends:pl,props:{value:{type:[String,Number],default:""},dataQaGroup:{type:String,default:"radio-group"},dataQaGroupLegend:{type:String,default:"radio-group-legend"},dataQaGroupMessages:{type:String,default:"radio-group-messages"}},emits:["input"],data(){return{provideObj:{selectedValue:this.value}}},watch:{value(t){this.provideObj.selectedValue=t}},methods:{setGroupValue(t){this.$emit("input",t)},getMessageKey(t,e){return`radio-group-message-${t}-${e}-${this.id}`}}},Jl=Ql;var td,ed,nd=B(Jl,td,ed,!1,null,null,null);const id=nd.exports;var ad=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tab-group"}},[i("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],(t={},t[e.TAB_LIST_KIND_MODIFIERS.inverted]=e.inverted,t[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]=e.borderless,t),e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.tabLeft.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.tabRight.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},sd=[];const od=["default","sm"],rd={sm:"d-tablist--sm"},ld={inverted:"d-tablist--inverted"},dd={borderless:"d-tablist--no-border"},ud={selected:"d-tab--selected"},cd={name:"DtTabGroup",provide(){return{groupContext:this.provideObj,changeContentPanel:this.changeContentPanel,setFocus:this.setFocus}},props:{label:{type:String,default:""},selected:{type:String,default:""},disabled:{type:Boolean,default:!1},inverted:{type:Boolean,default:!1},borderless:{type:Boolean,default:!1},size:{type:String,default:"default",validate(t){return od.includes(t)}},tabListClass:{type:[String,Array,Object],default:""},tabListChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{provideObj:{selected:"",disabled:!1},focusId:null,tabs:[],TAB_LIST_SIZE_MODIFIERS:rd,TAB_LIST_KIND_MODIFIERS:ld,TAB_LIST_IMPORTANCE_MODIFIERS:dd}},watch:{disabled:{immediate:!0,handler(){this.provideObj.disabled=this.disabled}},selected:{immediate:!0,handler(){this.provideObj.selected=this.selected}}},mounted(){this.updateSelected()},beforeUpdate(){this.updateSelected()},methods:{updateSelected(){this.provideObj.selected||(this.provideObj.selected=this.selected),this.tabs=this.getTabChildren()},setFocus(t){this.focusId=t},getTabChildren(){return this.$children.map((t=>{let{$el:e}=t;return e})).filter((t=>{let{className:e}=t;return e.includes("d-tab")})).map((t=>{var e,n;return{context:t,panelId:null===(e=t.getAttribute("aria-controls"))||void 0===e?void 0:e.replace("dt-panel-",""),id:null===(n=t.getAttribute("id"))||void 0===n?void 0:n.replace("dt-tab-",""),isSelected:"true"===t.getAttribute("aria-selected")}}))},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel(t){let{selected:e,selectOverride:n}=t;this.provideObj.selected=e,n||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t-1<0?e.length-1:t-1;this.selectFocusOnTab(n,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(-1===t)return;const n=t+1>e.length-1?0:t+1;this.selectFocusOnTab(n,e)},selectFocusOnTab(t,e){const{context:n}=e[t];n.focus()},selectTab(){const{tabs:t,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,t)},selectTabByIndex(t,e){const{context:n,panelId:i}=e[t];this.provideObj.selected=i,n.focus()},getIndexAndTabs(){const t=this.tabs.findIndex((t=>this.focusId?t.id===`${this.focusId}`:t.isSelected));return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[0])||void 0===t||null===(e=t.context)||void 0===e||e.focus())},onEndButton(){var t,e;0!==this.tabs.length&&(null===(t=this.tabs[this.tabs.length-1])||void 0===t||null===(e=t.context)||void 0===e||e.focus())}}},pd=cd;var hd=B(pd,ad,sd,!1,null,null,null);const fd=hd.exports;var md=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("dt-button",e._g(e._b({class:["d-tab",(t={},t[e.TAB_IMPORTANCE_MODIFIERS.selected]=e.isSelected,t),e.tabClass],attrs:{id:"dt-tab-"+e.id,role:"tab","aria-selected":""+e.isSelected,"aria-controls":"dt-panel-"+e.panelId,"aria-label":e.label,"data-qa":"dt-tab",tabindex:e.isSelected?"0":"-1",disabled:e.groupContext.disabled||e.disabled}},"dt-button",e.$attrs,!1),e.tabListeners),[e._t("default")],2)},gd=[];const vd={name:"DtTab",components:{DtButton:Ut},inject:["changeContentPanel","groupContext","setFocus"],inheritAttrs:!1,props:{id:{type:String,required:!0},panelId:{type:String,required:!0},label:{type:String,default:""},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},tabClass:{type:[String,Array,Object],default:""}},data(){return{TAB_IMPORTANCE_MODIFIERS:ud}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:t=>{this.selectPanel(),this.$emit("click",t)},focus:t=>{this.setFocus(this.id),this.$emit("focus",t)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.changeContentPanel({selected:this.panelId,selectOverride:t})}}},bd=vd;var yd=B(bd,md,gd,!1,null,null,null);const _d=yd.exports;var Sd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[{"d-d-none":t.hidePanel},t.tabPanelClass],attrs:{id:"dt-panel-"+t.id,role:"tabpanel",tabindex:"0","aria-labelledby":"dt-tab-"+t.tabId,"aria-hidden":""+t.hidePanel,"data-qa":"dt-tab-panel"}},[t._t("default")],2)},xd=[];const Cd={name:"DtTabPanel",inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}}},wd=Cd;var Id=B(wd,Sd,xd,!1,null,null,null);const Od=Id.exports;var Ed=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("label",[n("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":t.internalDisabled}]},[n("div",{staticClass:"d-checkbox__input"},[n("input",t._g(t._b({class:["d-checkbox",t.inputValidationClass,t.inputClass],attrs:{type:"checkbox",name:t.internalName,disabled:t.internalDisabled},domProps:{checked:t.internalChecked,value:t.value,indeterminate:t.internalIndeterminate}},"input",t.$attrs,!1),t.inputListeners))]),t.hasLabelOrDescription?n("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[t.hasLabel?n("div",t._b({class:t.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",t.labelChildProps,!1),[t._t("default",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.hasDescription?n("div",t._b({class:["d-description",t.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1):t._e()])])},kd=[];const Ld={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},Dd={name:"DtCheckbox",components:{DtValidationMessages:Xr},mixins:[Qr,Jr,tl,el],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Ld[this.internalValidationState]},checkboxGroupValueChecked(){var t,e,n;return null!==(t=null===(e=this.groupContext)||void 0===e||null===(n=e.selectedValues)||void 0===n?void 0:n.includes(this.value))&&void 0!==t&&t},hasLabel(){return!(!this.$slots.default&&!this.label)},hasDescription(){return!(!this.$slots.description&&!this.description)},hasLabelOrDescription(){return this.hasLabel||this.hasDescription},inputListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target)}}},watch:{checkboxGroupValueChecked:{immediate:!0,handler(t){this.hasGroup&&(this.internalChecked=t)}}},mounted(){this.runValidations()},methods:{emitValue(t){let{value:e,checked:n}=t;this.internalIndeterminate&&(n=!1,this.internalIndeterminate=!1,t.checked=!1),this.setGroupValue(e,n),this.$emit("input",n)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}},Ad=Dd;var Td=B(Ad,Ed,kd,!1,null,null,null);const Pd=Td.exports,$d={name:"DtCheckboxGroup",extends:pl,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(f().util.warn("Component uses selectedValues to initialize the model, value is not supported by this component",void 0),!1)},selectedValues:{type:Array,default(){return[]}},dataQaGroup:{type:String,default:"checkbox-group"},dataQaGroupLegend:{type:String,default:"checkbox-group-legend"},dataQaGroupMessages:{type:String,default:"checkbox-group-messages"}},emits:["input"],data(){return{internalValue:this.selectedValues,provideObj:{selectedValues:this.selectedValues}}},watch:{selectedValues(t){this.internalValue=t},internalValue(t){this.provideObj.selectedValues=t}},methods:{setGroupValue(t,e){e?this.internalValue.includes(t)||this.internalValue.push(t):this.internalValue=this.internalValue.filter((e=>e!==t)),this.$emit("input",this.internalValue)},getMessageKey(t,e){return`checkbox-group-message-${t}-${e}-${this.id}`}}},Md=$d;var Rd,Bd,Nd=B(Md,Rd,Bd,!1,null,null,null);const Vd=Nd.exports;var jd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"d-chip"},[n(t.interactive?"button":"span",t._g(t._b({tag:"component",class:t.chipClasses(),attrs:{id:t.id,type:t.interactive&&"button","data-qa":"dt-chip","aria-labelledby":t.ariaLabel?void 0:t.id+"-content","aria-label":t.ariaLabel}},"component",t.$attrs,!1),t.chipListeners),[t.$slots.icon?n("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[t._t("icon")],2):t.$slots.avatar?n("span",{attrs:{"data-qa":"dt-chip-avatar"}},[t._t("avatar")],2):t._e(),t.$slots.default?n("span",{class:["d-truncate","d-chip__text",t.contentClass],attrs:{id:t.id+"-content","data-qa":"dt-chip-label"}},[t._t("default")],2):t._e()]),t.hideClose?t._e():n("dt-button",t._b({class:t.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":t.closeButtonProps.ariaLabel},on:{click:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"close",size:t.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",t.closeButtonProps,!1))],1)},Fd=[];const qd={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Hd={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},Kd={xs:"200",sm:"300",md:"300"},zd={name:"DtChip",components:{DtButton:Ut,DtIcon:st},inheritAttrs:!1,props:{closeButtonProps:{type:Object,default:function(){return{ariaLabel:"close"}},validator:t=>!!t.ariaLabel},hideClose:{type:Boolean,default:!1},size:{type:String,default:"md",validator:t=>Object.keys(qd).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return S()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["click","close","keyup"],data(){return{isActive:!1}},computed:{chipListeners(){return{...this.$listeners,click:t=>{this.interactive&&this.$emit("click",t)},keyup:t=>{var e;"delete"===(null===(e=t.code)||void 0===e?void 0:e.toLowerCase())?this.onClose():this.$emit("keyup",t)}}},closeButtonIconSize(){return Kd[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",qd[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Hd[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Wd=zd;var Gd=B(Wd,jd,Fd,!1,null,null,null);const Ud=Gd.exports;var Zd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("label",[t.$slots.label||t.label?n("div",t._b({class:["d-label",t.LABEL_SIZE_MODIFIERS[t.size],t.labelClass],attrs:{"aria-details":t.labelAriaDetails,"data-qa":"dt-select-label"}},"div",t.labelChildProps,!1),[t._t("label",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.DESCRIPTION_SIZE_MODIFIERS[t.size],t.descriptionClass],attrs:{id:t.descriptionKey,"data-qa":"dt-select-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("div",{class:["d-select",t.SELECT_SIZE_MODIFIERS[t.size],t.selectClass,{"d-select--disabled":t.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[n("select",t._g(t._b({class:["d-select__input",t.SELECT_STATE_MODIFIERS[t.state]],attrs:{"data-qa":"dt-select",disabled:t.disabled}},"select",t.$attrs,!1),t.selectListeners),[t._t("default",(function(){return t._l(t.options,(function(e){return n("option",t._b({key:t.getOptionKey(e.value),class:t.optionClass,domProps:{value:e.value}},"option",t.optionChildProps,!1),[t._v(" "+t._s(e.label)+" ")])}))}))],2)])]),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},Yd=[];const Xd={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Qd={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Jd=t=>!t.index||"number"===typeof t.index,tu=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),eu=t=>!!t.label&&"string"===typeof t.label,nu=t=>!t||t.every((t=>!!Jd(t)&&(!!tu(t)&&!!eu(t)))),iu={name:"DtSelectMenu",components:{DtValidationMessages:Xr},mixins:[el],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>nu(t)},size:{type:String,default:"md",validator:t=>Object.keys(Xd).includes(t)},labelClass:{type:[String,Array,Object],default:""},descriptionClass:{type:[String,Array,Object],default:""},selectClass:{type:[String,Array,Object],default:""},optionClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})},descriptionChildProps:{type:Object,default:()=>({})},optionChildProps:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1}},emits:["input","change"],data(){return{LABEL_SIZE_MODIFIERS:d,DESCRIPTION_SIZE_MODIFIERS:l,SELECT_SIZE_MODIFIERS:Xd,SELECT_STATE_MODIFIERS:Qd}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return w(this.formattedMessages)},selectKey(){return S()},descriptionKey(){return`select-${this.selectKey}-description`},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(t){this.$emit("input",t),this.$emit("change",t)},getOptionKey(t){return`select-${this.selectKey}-option-${t}`},validateOptionsPresence(){var t;(null===(t=this.options)||void 0===t?void 0:t.length)<1&&!this.$slots.default&&f().util.warn("Options are expected to be provided via prop or slot",this)}}},au=iu;var su=B(au,Zd,Yd,!1,null,null,null);const ou=su.exports;var ru=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isShown?n("div",{class:["d-toast",t.kindClass,{"d-toast--important":t.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!t.isShown).toString()}},[n("div",{staticClass:"d-toast__dialog"},[n("dt-notice-icon",t._g({attrs:{kind:t.kind}},t.$listeners),[t._t("icon")],2),n("dt-notice-content",t._g({attrs:{"title-id":t.titleId,"content-id":t.contentId,title:t.title,role:t.role},scopedSlots:t._u([{key:"titleOverride",fn:function(){return[t._t("titleOverride")]},proxy:!0}],null,!0)},t.$listeners),[t._t("default",(function(){return[t._v(" "+t._s(t.message)+" ")]}))],2),n("dt-notice-action",t._g({attrs:{"hide-close":t.hideClose,"close-button-props":t.closeButtonProps,"visually-hidden-close":t.visuallyHiddenClose,"visually-hidden-close-label":t.visuallyHiddenCloseLabel}},t.noticeActionListeners),[t._t("action")],2)],1)]):t._e()},lu=[];const du=["status","alert"],uu=6e3,cu={name:"DtToast",components:{DtNoticeIcon:_t,DtNoticeContent:Ot,DtNoticeAction:se},mixins:[Zt],props:{titleId:{type:String,default(){return D.getUniqueString()}},contentId:{type:String,default(){return D.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>du.includes(t)},kind:{type:String,default:"base",validator:t=>ft.includes(t)},important:{type:Boolean,default:!1},show:{type:Boolean,default:!1},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1},duration:{type:Number,default:null,validator:t=>t>=uu}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:uu}},computed:{kindClass(){const t={error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"};return t[this.kind]},noticeActionListeners(){return{...this.$listeners,close:t=>{this.isShown=!1,this.$emit("update:show",!1),this.$emit("close",t)}}},shouldSetTimeout(){return!!this.duration&&this.duration>=this.minDuration}},watch:{show:{handler:function(t){this.isShown=t,t?this.setTimeout():clearTimeout(this.displayTimer)},immediate:!0}},destroyed(){this.shouldSetTimeout&&clearTimeout(this.displayTimer)},methods:{setTimeout(){this.shouldSetTimeout&&(this.displayTimer=setTimeout((()=>{this.isShown=!1,this.$emit("update:show",!1)}),this.duration))}}},pu=cu;var hu=B(pu,ru,lu,!1,null,null,null);const fu=hu.exports;var mu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-flex d-ai-center"},[t.$slots.default?n("label",t._b({class:t.labelClass,attrs:{for:t.id,"data-qa":"toggle-label"}},"label",t.labelChildProps,!1),[t._t("default")],2):t._e(),n("button",t._g(t._b({class:t.toggleClasses,attrs:{id:t.id,role:t.toggleRole,type:"button","aria-checked":t.internalChecked.toString(),disabled:t.disabled,"aria-disabled":t.disabled.toString()}},"button",t.$attrs,!1),t.inputListeners),[t.showIcon?n("span",{staticClass:"d-toggle__inner"}):t._e()])])},gu=[];const vu={sm:"d-toggle--small",md:""},bu=[!1,!0,"mixed"],yu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return D.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>bu.includes(t)},size:{type:String,default:"md",validator:t=>Object.keys(vu).includes(t)},showIcon:{type:Boolean,default:!0},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$listeners,click:t=>this.toggleCheckedValue()}},isIndeterminate(){return"mixed"===this.internalChecked},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",vu[this.size],{"d-toggle--checked":!0===this.internalChecked,"d-toggle--disabled":this.disabled,"d-toggle--indeterminate":this.isIndeterminate}]}},watch:{checked(t){this.internalChecked=t}},mounted(){this.runValidations()},methods:{toggleCheckedValue(){this.internalChecked=!this.internalChecked,this.$emit("change",this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(t,e){t||e||f().util.warn("You must provide an aria-label when there is no label passed",this)}}},_u=yu;var Su=B(_u,mu,gu,!1,null,null,null);const xu=Su.exports;var Cu=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("div",{attrs:{"data-qa":"dt-tooltip-container"}},[i("div",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:e.onEnterAnchor,focusout:e.onLeaveAnchor,mouseenter:e.onEnterAnchor,mouseleave:e.onLeaveAnchor,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.onLeaveAnchor.apply(null,arguments)}}},[e._t("anchor")],2),i("dt-lazy-show",e._g({ref:"content",class:["d-tooltip","d-tooltip__arrow-tippy--"+e.currentPlacement,(t={},t[e.TOOLTIP_KIND_MODIFIERS.inverted]=e.inverted,t),e.contentClass],attrs:{id:e.id,show:e.isShown&&(!!e.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:e.transition}},e.tooltipListeners),[e._t("default",(function(){return[e._v(" "+e._s(e.message)+" ")]}))],2)],1)},wu=[];const Iu=[...Wo],Ou={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},Eu=[...Go],ku=[!0,!1,"toggle"],Lu={name:"Tooltip",components:{DtLazyShow:Oi},props:{id:{type:String,default(){return S()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return Iu.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>Eu.includes(t)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:Ou,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:Zo({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(t){null!==t&&(this.isShown=t)},immediate:!0},isShown(t,e){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=Uo(Xo(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var t;this.tip&&(null===(t=this.tip)||void 0===t||t.destroy())},methods:{calculateAnchorZindex(){return document.querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')?651:400},hasVisibleFocus(){return Xo(this.$refs.anchor).hasAttribute("data-focus-visible-added")},onEnterAnchor(t){"focusin"===t.type?null===this.show&&this.hasVisibleFocus()&&(this.isShown=!0):null===this.show&&(this.isShown=!0)},onLeaveAnchor(t){null===this.show&&(this.isShown=!1)},onChangePlacement(t){this.currentPlacement=t},onLeaveTransitionComplete(){var t;null===(t=this.tip)||void 0===t||t.unmount(),this.$emit("shown",!1),null!==this.show&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),null!==this.show&&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}}}},Du=Lu;n(664);var Au=B(Du,Cu,wu,!1,null,null,null);const Tu=Au.exports;var Pu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("kbd",{class:["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs-100",t.inverted?"d-bc-black-500":"d-bc-black-400"]},[t.screenReaderText?n("span",{staticClass:"sr-only"},[t._v(" "+t._s(t.screenReaderText)+" ")]):t._e(),t._l(t.formattedShortcutSplit,(function(e,i){return[t.icons[e]?n("dt-icon",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{name:t.icons[e],size:"100","aria-hidden":"true"}}):n("span",{key:i+"-"+e,class:[t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:t._s(e)}})]}))],2)},$u=[];const Mu={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Ru={"{plus}":"plus"},Bu=Object.keys(Mu),Nu={name:"DtKeyboardShortcut",components:{DtIcon:st},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Mu,separator:/\+/gi}},computed:{icons(){return{...Mu,...Ru}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Mu).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),Mu[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},Vu=Nu;var ju=B(Vu,Pu,$u,!1,null,null,null);const Fu=ju.exports;var qu=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"root-layout"},[t.$slots.header?n("header",{class:["root-layout__header",t.headerClass,{"root-layout__header--sticky":t.headerSticky}],style:{height:t.headerHeight},attrs:{"data-qa":"root-layout-header"}},[t._t("header")],2):t._e(),n("dt-root-layout-body",{attrs:{"body-class":t.bodyClass,"content-class":t.contentClass,"content-wrap-width-percent":t.contentWrapWidthPercent,"sidebar-class":t.sidebarClass,"sidebar-width":t.sidebarWidth,"sidebar-position":t.sidebarPosition},scopedSlots:t._u([t.$slots.sidebar?{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0}:null,t.$slots.default?{key:"content",fn:function(){return[t._t("default")]},proxy:!0}:null],null,!0)}),t.$slots.footer?n("footer",{class:["root-layout__footer",t.footerClass],style:{height:t.footerHeight},attrs:{"data-qa":"root-layout-footer"}},[t._t("footer")],2):t._e()],1)},Hu=[],Ku=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["root-layout__body",t.bodyClasses],attrs:{"data-qa":"root-layout-body"}},[t.$slots.sidebar?n("aside",{class:["root-layout__sidebar",t.sidebarClass],style:{"flex-basis":t.sidebarWidth},attrs:{"data-qa":"root-layout-sidebar"}},[t._t("sidebar")],2):t._e(),t.$slots.content?n("main",{class:["root-layout__content",t.contentClass],style:{"min-inline-size":t.contentWrapWidthPercent},attrs:{"data-qa":"root-layout-content"}},[t._t("content")],2):t._e()])},zu=[];const Wu={LEFT:"left",RIGHT:"right"},Gu={name:"DtRootLayoutBody",props:{bodyClass:{type:[String,Array,Object],default:void 0},contentClass:{type:[String,Array,Object],default:void 0},sidebarClass:{type:[String,Array,Object],default:void 0},sidebarWidth:{type:String,default:void 0},sidebarPosition:{type:String,default:void 0},contentWrapWidthPercent:{type:String,default:void 0}},computed:{bodyClasses(){return[this.bodyClass,{"root-layout__body--invert":this.sidebarPosition===Wu.RIGHT}]}}},Uu=Gu;n(263);var Zu=B(Uu,Ku,zu,!1,null,null,null);const Yu=Zu.exports,Xu={name:"DtRootLayout",components:{DtRootLayoutBody:Yu},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},bodyClass:{type:[String,Array,Object],default:""},headerSticky:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:""},contentWrapWidthPercent:{type:String,default:"50%"},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:t=>Object.values(Wu).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},Qu=Xu;n(987);var Ju=B(Qu,qu,Hu,!1,null,null,null);const tc=Ju.exports;var ec=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,label:t.label,"label-visible":t.labelVisible,size:t.size,description:t.description,"empty-list":t.emptyList,"empty-state-message":t.emptyStateMessage,"show-list":t.isListShown,"on-beginning-of-list":t.onBeginningOfList,"on-end-of-list":t.onEndOfList,"list-rendered-outside":!0,"list-id":t.listId,"data-qa":"dt-combobox"},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.inputProps;return[n("div",{ref:"input",attrs:{id:t.externalAnchor},on:{focusin:t.onFocusIn,focusout:t.onFocusOut,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.openOnArrowKeyPress(e)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.openOnArrowKeyPress(e)}]}},[t._t("input",null,{inputProps:i,onInput:t.handleDisplayList})],2)]}},{key:"list",fn:function(e){var i=e.opened,a=e.listProps,s=e.clearHighlightIndex;return[n("dt-popover",{ref:"popover",attrs:{open:t.isListShown,"hide-on-click":null===t.showList,"max-height":t.maxHeight,"max-width":t.maxWidth,offset:t.popoverOffset,sticky:t.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":t.externalAnchor,"content-width":t.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose},on:{"update:open":function(e){t.isListShown=e},opened:function(t){return i(t,arguments[1])}},scopedSlots:t._u([{key:"headerContent",fn:function(){return[t.$slots.header?n("div",{ref:"header",on:{focusout:t.onFocusOut}},[t._t("header")],2):t._e()]},proxy:!0},{key:"content",fn:function(){return[n("div",{ref:"listWrapper",class:[t.DROPDOWN_PADDING_CLASSES[t.padding],t.listClass],on:{mouseleave:s,focusout:function(e){t.onFocusOut}}},[t.loading?n("combobox-loading-list",t._b({},"combobox-loading-list",a,!1)):t.emptyList&&t.emptyStateMessage?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",a,!1)):t._t("list",null,{listProps:a})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[t.$slots.footer?n("div",{ref:"footer",on:{focusout:t.onFocusOut}},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})]}}],null,!0)},t.comboboxListeners))},nc=[];const ic={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:pi,DtPopover:Cr,ComboboxLoadingList:ei,ComboboxEmptyList:ri},mixins:[Zt],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(li).includes(t)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return S()}},listClass:{type:[String,Array,Object],default:""},onBeginningOfList:{type:Function,default:null},onEndOfList:{type:Function,default:null},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},padding:{type:String,default:"small",validator:t=>Object.keys(wr).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>nr.includes(t)},openWithArrowKeys:{type:Boolean,default:!1},popoverOffset:{type:Array,default:()=>[0,4]},popoverSticky:{type:[Boolean,String],default:!1},hasSuggestionList:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},emptyList:{type:Boolean,default:!1},emptyStateMessage:{type:String,default:""}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:wr,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:S()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(t){null!==t&&(this.isListShown=t)},immediate:!0},isListShown(t){this.onOpened(t)}},methods:{handleDisplayList(t){!this.hasSuggestionList&&t&&this.showComboboxList(),this.hasSuggestionList||t||this.closeComboboxList()},showComboboxList(){null==this.showList&&(this.isListShown=!0)},closeComboboxList(){null==this.showList&&(this.isListShown=!1)},onSelect(t){this.loading||(this.$emit("select",t),this.hasSuggestionList||this.closeComboboxList())},onEscape(){this.$emit("escape"),this.closeComboboxList()},onHighlight(t){this.loading||this.$emit("highlight",t)},onOpened(t){this.$emit("opened",t)},onFocusIn(t){this.hasSuggestionList&&t&&this.$refs.input.querySelector("input")===t.target&&this.showComboboxList()},onFocusOut(t){const e=["input","header","footer","listWrapper"],n=e.some((e=>{var n;return null===(n=this.$refs[e])||void 0===n?void 0:n.contains(t.relatedTarget)}))||this.visuallyHiddenClose;n||this.closeComboboxList()},openOnArrowKeyPress(){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},ac=ic;var sc=B(ac,ec,nc,!1,null,null,null);const oc=sc.exports;var rc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:t.label,"show-list":t.showList,"max-height":t.listMaxHeight,"popover-offset":t.popoverOffset,"has-suggestion-list":t.hasSuggestionList,"visually-hidden-close-label":t.visuallyHiddenCloseLabel,"visually-hidden-close":t.visuallyHiddenClose,"content-width":"anchor"},on:{select:t.onComboboxSelect},scopedSlots:t._u([{key:"input",fn:function(e){var i=e.onInput;return[n("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative"},[n("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2"},t._l(t.selectedItems,(function(e){return n("dt-chip",t._g({key:e.id,ref:"chips",refInFor:!0,staticClass:"d-mt4 d-mx2 d-zi-base1",attrs:{"close-button-props":{ariaLabel:"close"},size:t.size},on:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"backspace",void 0,n.key,void 0)?null:t.onChipRemove(e)},close:function(n){return t.onChipRemove(e)}}},t.chipListeners),[t._v(" "+t._s(e)+" ")])})),1),n("dt-input",t._g({ref:"input",staticClass:"d-fl-grow1 d-mb4",attrs:{"aria-label":t.label,label:t.labelVisible?t.label:"",description:t.description,placeholder:t.inputPlaceHolder,"show-messages":t.showInputMessages,messages:t.inputMessages,size:t.size},on:{input:i},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t.inputListeners)),n("dt-validation-messages",{attrs:{"validation-messages":t.maxSelectedMessage,"show-messages":t.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[t.$slots.header?n("div",{ref:"header"},[t._t("header")],2):t._e()]},proxy:!0},{key:"list",fn:function(){return[n("div",{ref:"list",on:{mousedown:function(t){t.preventDefault()}}},[t.loading?n("div",{staticClass:"d-ta-center d-py16"},[t._v(" "+t._s(t.loadingMessage)+" ")]):t._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[t.$slots.footer?n("div",{ref:"footer"},[t._t("footer")],2):t._e()]},proxy:!0}],null,!0)})},lc=[];const dc={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},uc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:oc,DtInput:sl,DtChip:Ud,DtValidationMessages:Xr},mixins:[Zt],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>Gr(t)},showInputMessages:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingMessage:{type:String,default:"loading..."},showList:{type:Boolean,default:null},listMaxHeight:{type:String,default:"300px"},selectedItems:{type:Array,default:function(){return[]}},maxSelected:{type:Number,default:0},maxSelectedMessage:{type:Array,default:function(){return[]}},hasSuggestionList:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(dc).includes(t)}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null}},computed:{inputPlaceHolder(){var t;return(null===(t=this.selectedItems)||void 0===t?void 0:t.length)>0?"":this.placeholder},chipListeners(){return{...this.$listeners,keyup:t=>{this.onChipKeyup(t),this.$emit("keyup",t)}}},inputListeners(){return{...this.$listeners,input:t=>{this.$emit("input",t),this.hasSuggestionList&&this.showComboboxList()},keyup:t=>{this.onInputKeyup(t),this.$emit("keyup",t)},click:t=>{this.hasSuggestionList&&this.showComboboxList()}}}},watch:{selectedItems:{immediate:!0,async handler(){await this.$nextTick(),this.setInputPadding(),this.setInputMinWidth(),this.checkMaxSelected()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()}},mounted(){this.setChipsTopPosition(),this.resizeWindowObserver=new ResizeObserver((()=>{this.setChipsTopPosition(),this.setInputPadding()})).observe(document.body)},beforeDestroy(){var t;null===(t=this.resizeWindowObserver)||void 0===t||t.unobserve(document.body)},methods:{onChipRemove(t){this.$emit("remove",t),this.$refs.input.focus()},onComboboxSelect(t){this.value="",this.$emit("select",t)},showComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.showComboboxList()},closeComboboxList(){null==this.showList&&this.$refs.comboboxWithPopover.closeComboboxList()},getChipButtons(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$el.querySelector("button")))},getChips(){return this.$refs.chips&&this.$refs.chips.map((t=>t.$el))},getLastChipButton(){return this.$refs.chips&&this.getChipButtons()[this.getChipButtons().length-1]},getLastChip(){return this.$refs.chips&&this.getChips()[this.getChips().length-1]},getFirstChip(){return this.$refs.chips&&this.getChips()[0]},getInput(){var t;return null===(t=this.$refs.input)||void 0===t?void 0:t.$refs.input},onChipKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();"arrowleft"===n?this.navigateBetweenChips(t.target,!0):"arrowright"===n&&(t.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(t.target,!1))},onInputKeyup(t){var e;const n=null===(e=t.code)||void 0===e?void 0:e.toLowerCase();this.selectedItems.length>0&&0===t.target.selectionStart&&("backspace"!==n&&"arrowleft"!==n||this.moveFromInputToChip())},moveFromInputToChip(){this.getLastChipButton().focus(),this.$refs.input.blur(),this.closeComboboxList()},moveFromChipToInput(){this.getLastChipButton().blur(),this.$refs.input.focus(),this.showComboboxList()},navigateBetweenChips(t,e){const n=this.getChipButtons().indexOf(t),i=e?n-1:n+1;i<0||i>=this.$refs.chips.length||(this.getChipButtons()[n].blur(),this.getChipButtons()[i].focus(),this.closeComboboxList())},setChipsTopPosition(){if(!this.$refs.input)return;const t=this.getInput();if(!t)return;const e=this.$refs.inputSlotWrapper,n=t.getBoundingClientRect().top-e.getBoundingClientRect().top,i=this.$refs.chipsWrapper;i.style.top=n+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput();if(!e)return;if(!t)return void this.revertInputPadding(e);const n=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=n+"px";const i=t.offsetTop+3;e.style.paddingTop=i+"px",this.popoverOffset=[0,4]},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},setInputMinWidth(){const t=this.getFirstChip(),e=this.getInput();e&&(e.style.minWidth=t?this.getFullWidth(t)+4+"px":"")},checkMaxSelected(){0!==this.maxSelected&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}},cc=uc;var pc=B(cc,rc,lc,!1,null,null,null);const hc=pc.exports;var fc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-tooltip",{attrs:{id:t.id,offset:[0,-12]},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",t._g({class:t.callbarButtonClass,attrs:{importance:t.circle?"outlined":"clear",kind:"muted","icon-position":"top",disabled:t.disabled,"aria-label":t.ariaLabel,"label-class":"d-fs-100",width:"8.4rem"}},t.$listeners),[t._t("default"),t._t("icon",null,{slot:"icon"})],2)]},proxy:!0}],null,!0)},[t._t("tooltip")],2)},mc=[];const gc={name:"DtRecipeCallbarButton",components:{DtButton:Ut,DtTooltip:Tu},inheritAttrs:!0,props:{id:{type:String,default(){return D.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},buttonClass:{type:[String,Array,Object],default:""}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"dt-recipe-callbar-button","d-stack4","d-px0","h:d-bgc-black-200","h:d-bgo50",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger}]}}},vc=gc;n(39);var bc=B(vc,fc,mc,!1,null,null,null);const yc=bc.exports;var _c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-recipe--callbar-button-with-popover--button"},[n("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":t.ariaLabel,disabled:t.disabled,active:t.active,danger:t.danger,"button-class":t.buttonClass},on:{click:t.buttonClick}},[t._t("icon",null,{slot:"icon"}),t._t("tooltip",null,{slot:"tooltip"}),t._t("default")],2),t.showArrowButton?n("dt-popover",t._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:t.id,open:t.open,placement:t.placement,"initial-focus-element":t.initialFocusElement,"show-close-button":t.showCloseButton,padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",t.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12"},on:{opened:t.onModalIsOpened},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{staticClass:"dt-recipe--callbar-button-with-popover--arrow",attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":t.arrowButtonLabel,active:t.open},on:{click:t.arrowClick},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,3340821372)})]},proxy:!0}],null,!1,86794195)},"dt-popover",t.$attrs,!1),[t._t("content",null,{slot:"content"}),t._t("headerContent",null,{slot:"headerContent"}),t._t("footerContent",null,{slot:"footerContent"})],2):t._e()],1)},Sc=[];const xc={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:yc,DtPopover:Cr,DtButton:Ut,DtIcon:st},inheritAttrs:!1,props:{id:{type:String,default(){return D.getUniqueString()}},ariaLabel:{type:String,default:null,validator:t=>t||(void 0).$slots.default},arrowButtonLabel:{type:String,required:!0,validator:t=>!!t},placement:{type:String,default:"top"},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},contentClass:{type:[String,Array,Object],default:""}},emits:["arrowClick","click"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled}},methods:{arrowClick(t){return this.$emit("arrowClick",t),this.open=!this.open},buttonClick(t){this.$listeners.click?this.$emit("click",t):this.arrowClick(t)},onModalIsOpened(t){this.open=t}}},Cc=xc;n(724);var wc=B(Cc,_c,Sc,!1,null,null,null);const Ic=wc.exports;var Oc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-list-item",{attrs:{id:t.id,role:t.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:t._u([{key:"left",fn:function(){return[n("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[t.avatarSrc?n("dt-avatar",{attrs:{size:"lg"}},[n("img",{attrs:{"data-qa":"dt-contact-avatar",src:t.avatarSrc,alt:t.avatarInitials}})]):t.avatarInitials?n("dt-avatar",{attrs:{kind:"initials",size:"lg",color:t.avatarColor}},[t._v(" "+t._s(t.avatarInitials)+" ")]):t._e(),t.showUserStatus?n("div",{class:["d-ba","d-bc-white","d-baw2","d-bar2","d-ps-absolute","d-bn1","d-rn1","d-w20p","d-h20p",t.USER_STATUS_COLOR_MODIFIERS[t.userStatusColor]],attrs:{"data-qa":"contact-info-user-status"}},[t._v(" ")]):t._e()],1)]},proxy:!0},{key:"default",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-header"}},[t._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-subtitle"}},[t._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-bottom"}},[t._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[n("div",{attrs:{"data-qa":"contact-info-right"}},[t._t("right")],2)]},proxy:!0}],null,!0)})},Ec=[];const kc={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},Lc={name:"DtRecipeContactInfo",components:{DtAvatar:G,DtListItem:fn},props:{id:{type:String,default(){return D.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:t=>Object.keys(H).includes(t)},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(kc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:kc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Dc=Lc;var Ac=B(Dc,Oc,Ec,!1,null,null,null);const Tc=Ac.exports;var Pc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-fs-100 d-d-flex d-top-banner-info d-jc-space-between d-ai-center",class:t.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[n("div",{staticClass:"d-top-banner-info__left"},[t._t("left")],2),n("div",{staticClass:"d-top-banner-info__middle d-my4"},[t._t("default")],2),n("div",{staticClass:"d-top-banner-info__right d-ta-right"},[t._t("right")],2)])},$c=[];const Mc=["green300","green100","red200","red100","gold100","gold200","black100","white"],Rc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return Mc.includes(t)}}},computed:{bannerInfoClass(){const t={green300:"d-bgc-green-300",green100:"d-bgc-green-100",red200:"d-bgc-red-200",red100:"d-bgc-red-100",gold200:"d-bgc-gold-200",gold100:"d-bgc-gold-100",black100:"d-bgc-black-400",white:"d-bgc-white"};return[t[this.colorCode]]}}},Bc=Rc;n(486);var Nc=B(Bc,Pc,$c,!1,null,null,null);const Vc=Nc.exports;var jc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},t.$listeners),[t.dtmfKey?n("div",{staticClass:"d-zi-base1 d-ai-center d-jc-center d-d-flex d-w24 d-h24 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn12 d-fc-white d-fs-200",class:{"d-mbn16":t.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[t._v(" "+t._s(t.dtmfKey)+" ")]):n("div",{staticClass:"d-zi-base1 d-d-flex d-w8 d-h8 d-bar-circle d-bc-purple-600 d-bgc-purple-600 d-mbn4",class:{"d-mbn8":t.isSelected},attrs:{"data-qa":"dt-top-connector"}}),n("dt-card",{attrs:{"content-class":"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12","container-class":["d-w100p",{"d-ba d-bar8 d-baw4":t.isSelected},t.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",t.headerColor,{"d-btr4":!t.isSelected}]},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"d-d-flex d-ai-center"},[n("dt-button",{attrs:{"aria-label":t.nodeType,importance:"clear","data-qa":"dt-ivr-node-icon"},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:t.nodeIcon,size:"200"}})]},proxy:!0}])}),n("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[t._v(" "+t._s(t.nodeLabel)+" ")])],1),n("dt-dropdown",{attrs:{placement:"bottom",open:t.isOpen},on:{"update:open":function(e){t.isOpen=e}},scopedSlots:t._u([{key:"anchor",fn:function(){return[n("dt-button",{attrs:{importance:"clear","aria-label":t.menuButtonAriaLabel},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.openMenu.apply(null,arguments)}},scopedSlots:t._u([{key:"icon",fn:function(){return[n("dt-icon",{staticClass:"d-fc-black-900",attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function(e){var i=e.close;return[n("div",{staticClass:"d-w164"},[t._t("menuItems",null,{close:i})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[t._t("content")]},proxy:!0}],null,!0)})],1)},Fc=[];const qc="promptmenu",Hc="promptcollect",Kc="promptplay",zc="gotoexpert",Wc="goto",Gc="branch",Uc="transfer",Zc="hangup",Yc={[qc]:"keypad",[Hc]:"dialer",[Kc]:"volume-2",[zc]:"corner-down-right",[Gc]:"network",[Wc]:"chevrons-up",[Uc]:"transfer",[Zc]:"phone-hang-up"},Xc={[qc]:"Menu",[Hc]:"Collect",[Kc]:"Play",[zc]:"Expert",[Gc]:"Branch",[Wc]:"Go-to",[Uc]:"Transfer",[Zc]:"Hangup"},Qc={PROMPT:{normal:"d-bc-blue-200",selected:"d-bc-blue-300"},LOGIC:{normal:"d-bc-purple-200",selected:"d-bc-purple-400"},TERMINAL:{normal:"d-bc-red-100",selected:"d-bc-red-200"}},Jc={[qc]:Qc.PROMPT,[Hc]:Qc.PROMPT,[Kc]:Qc.PROMPT,[zc]:Qc.LOGIC,[Gc]:Qc.LOGIC,[Wc]:Qc.LOGIC,[Uc]:Qc.TERMINAL,[Zc]:Qc.TERMINAL},tp={name:"DtRecipeIvrNode",components:{DtCard:We,DtButton:Ut,DtDropdown:kr,DtIcon:st},props:{nodeType:{type:String,required:!0},nodeLabel:{type:String,required:!0},isSelected:{type:Boolean,default:!1},menuButtonAriaLabel:{type:String,required:!0},dtmfKey:{type:String,default:null}},emits:["click"],data(){return{isOpen:!1}},computed:{nodeIcon(){return Yc[this.nodeType]},headerColor(){const{normal:t,selected:e}=Jc[this.nodeType];return this.isSelected?e:t}},methods:{openMenu(){this.isOpen=!0}}},ep=tp;n(183);var np=B(ep,jc,Fc,!1,null,null,null);const ip=np.exports;var ap=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-d-inline-flex d-ws-nowrap d-bgc-unset",attrs:{"data-qa":"grouped-chip"}},[n("dt-chip",{staticClass:"d-blr-pill d-bgc-black-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([t.$slots.leftIcon?{key:"icon",fn:function(){return[t.$slots.leftIcon?n("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[t._t("leftIcon")],2):t._e()]},proxy:!0}:null,{key:"default",fn:function(){return[t.$slots.leftContent?n("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[t._t("leftContent")],2):t._e()]},proxy:!0}],null,!0)}),n("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-w100p d-wmx64",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:t._u([{key:"icon",fn:function(){return[t.$slots.rightIcon?n("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[t._t("rightIcon")],2):t._e()]},proxy:!0},{key:"default",fn:function(){return[t.$slots.rightContent?n("div",{staticClass:"d-wmx50p",attrs:{"data-qa":"right-grouped-chip-content"}},[t._t("rightContent")],2):t._e()]},proxy:!0}],null,!0)})],1)},sp=[];const op={name:"DtRecipeGroupedChip",components:{DtChip:Ud},computed:{}},rp=op;var lp=B(rp,ap,sp,!1,null,null,null);const dp=lp.exports})(),i})()));
|
|
2
2
|
//# sourceMappingURL=dialtone-vue.umd.min.js.map
|