@dialpad/dialtone-vue 2.35.0 → 2.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +21 -0
- package/dist/component-documentation.json +1 -1
- package/dist/dialtone-vue.common.js +139 -12
- package/dist/dialtone-vue.umd.js +146 -27
- package/dist/dialtone-vue.umd.min.js +1 -1
- package/package.json +57 -20
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["dialtone-vue"]=e(require("vue")):t["dialtone-vue"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(t=>(()=>{var e={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},885:(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-keyboard-shortcut__svg{width:1em;height:1em}.dt-keyboard-shortcut__svg path{fill:currentColor}",""]);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{outline-color:var(--purple-500)}",""]);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 .d-btn__icon .d-svg{width:2.4rem;height:2.4rem}.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--active{--button--fc:var(--muted-color-hover);--button--bgc:hsla(var(--muted-color-hsl)/15%)}.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)}",""]);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]}},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})},377:(t,e,n)=>{var i=n(885);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("04875bb8",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))}}},203:e=>{"use strict";e.exports=t}},n={};function i(t){var a=n[t];if(void 0!==a)return a.exports;var s=n[t]={id:t,exports:{}};return e[t](s,s.exports,i),s.exports}(()=>{i.n=t=>{var e=t&&t.__esModule?()=>t["default"]:()=>t;return i.d(e,{a:e}),e}})(),(()=>{i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})}})(),(()=>{i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e)})(),(()=>{i.r=t=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}})(),(()=>{i.p=""})();var a={};return(()=>{"use strict";if(i.r(a),i.d(a,{AVATAR_COLOR_MODIFIERS:()=>u,AVATAR_KIND_MODIFIERS:()=>l,AVATAR_SIZE_MODIFIERS:()=>d,BADGE_COLOR_MODIFIERS:()=>j,BREADCRUMBS_INVERTED_MODIFIER:()=>Le,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>Ee,BUTTON_GROUP_ALIGNMENT:()=>Ue,CHIP_SIZE_MODIFIERS:()=>bu,COLOR_CODES:()=>zp,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>g,DESCRIPTION_SIZE_TYPES:()=>p,DtAvatar:()=>R,DtBadge:()=>K,DtBanner:()=>Ce,DtBreadcrumbItem:()=>je,DtBreadcrumbs:()=>Ke,DtButton:()=>se,DtButtonGroup:()=>Xe,DtCard:()=>an,DtCheckableInputMixin:()=>yl,DtCheckbox:()=>du,DtCheckboxGroup:()=>mu,DtChip:()=>wu,DtCollapsible:()=>Yi,DtCombobox:()=>Si,DtDropdown:()=>Zr,DtDropdownList:()=>tl,DtDropdownSeparator:()=>ol,DtGroupableInputMixin:()=>_l,DtInput:()=>Il,DtInputGroup:()=>Tl,DtInputGroupMixin:()=>Ll,DtInputMixin:()=>bl,DtKeyboardListNavigationMixin:()=>dn,DtKeyboardShortcut:()=>Uc,DtLazyShow:()=>Bi,DtLink:()=>Be,DtListItem:()=>In,DtListItemGroup:()=>Ql,DtListSection:()=>zl,DtModal:()=>jl,DtNotice:()=>ad,DtPagination:()=>_d,DtPopover:()=>qr,DtRadio:()=>Ed,DtRadioGroup:()=>$d,DtRecipeCallbarButton:()=>Ip,DtRecipeCallbarButtonWithPopover:()=>Bp,DtRecipeComboboxMultiSelect:()=>yp,DtRecipeComboboxWithPopover:()=>pp,DtRecipeContactInfo:()=>qp,DtRecipeGroupedChip:()=>pf,DtRecipeIvrNode:()=>of,DtRecipeTopBannerInfo:()=>Yp,DtRootLayout:()=>op,DtSelectMenu:()=>Mu,DtSkeleton:()=>li,DtSkeletonListItem:()=>ai,DtSkeletonParagraph:()=>ti,DtSkeletonShape:()=>Vn,DtSkeletonText:()=>Gn,DtTab:()=>Yd,DtTabGroup:()=>Kd,DtTabPanel:()=>nu,DtToast:()=>qu,DtToggle:()=>Xu,DtTooltip:()=>rc,DtValidationMessages:()=>vl,INPUT_SIZES:()=>ul,INPUT_TYPES:()=>dl,IVR_NODE_BRANCH:()=>Gh,IVR_NODE_EXPERT:()=>Uh,IVR_NODE_GO_TO:()=>Zh,IVR_NODE_HANGUP:()=>Xh,IVR_NODE_ICON_TYPES:()=>Qh,IVR_NODE_LABELS:()=>Jh,IVR_NODE_PROMPT_COLLECT:()=>Wh,IVR_NODE_PROMPT_MENU:()=>Kh,IVR_NODE_PROMPT_PLAY:()=>zh,IVR_NODE_TRANSFER:()=>Yh,LINK_KIND_MODIFIERS:()=>ee,LINK_VARIANTS:()=>te,MODAL_KIND_MODIFIERS:()=>Ml,MODAL_SIZE_MODIFIERS:()=>Bl,MULTI_SELECT_SIZES:()=>mp,NOTICE_KINDS:()=>_t,POPOVER_CONTENT_WIDTHS:()=>Sr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>_r,POPOVER_INITIAL_FOCUS_STRINGS:()=>wr,POPOVER_PADDING_CLASSES:()=>yr,POPOVER_ROLES:()=>xr,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Qc,SELECT_SIZE_MODIFIERS:()=>Ou,SELECT_STATE_MODIFIERS:()=>Eu,SHORTCUTS_ALIASES:()=>jc,SHORTCUTS_ALIASES_LIST:()=>qc,SHORTCUTS_ICON_ALIASES:()=>Hc,SHORTCUTS_ICON_SEPARATOR:()=>Fc,SKELETON_HEADING_HEIGHTS:()=>Pn,SKELETON_RIPPLE_DURATION:()=>Dn,SKELETON_SHAPES:()=>An,SKELETON_SHAPE_SIZES:()=>$n,SKELETON_TEXT_TYPES:()=>Tn,TAB_IMPORTANCE_MODIFIERS:()=>jd,TAB_LIST_IMPORTANCE_MODIFIERS:()=>Vd,TAB_LIST_KIND_MODIFIERS:()=>Nd,TAB_LIST_SIZES:()=>Bd,TOAST_ROLES:()=>Nu,TOOLTIP_DIRECTIONS:()=>tc,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>ic,TOOLTIP_KIND_MODIFIERS:()=>ec,TOOLTIP_STICKY_VALUES:()=>nc,USER_STATUS_COLOR_MODIFIERS:()=>Vp,VALIDATION_MESSAGE_TYPES:()=>c,filterFormattedMessages:()=>O,formatMessages:()=>I,getUniqueString:()=>C,getValidationState:()=>E,validationMessageValidator:()=>hl}),"undefined"!==typeof window){var t=window.document.currentScript,e=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);e&&(i.p=e[1])}var n=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")],2)},s=[],o=i(203),r=i.n(o);const l={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},d={sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg"},u={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"},c={ERROR:"error",WARNING:"warning",SUCCESS:"success"},p={LARGE:"lg",EXTRA_LARGE:"xl"},h={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},f={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},m={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"},g=c.ERROR,v="dt";let b=0;const y="input:not([type=hidden]):not(:disabled)",_="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",x=`${y},${_}`,S=`a,frame,iframe,${x},*[tabindex]`,w="function"===typeof setImmediate?setImmediate:setTimeout;function C(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;return`${t}${b++}`}function I(t){return t?t.map((t=>"string"===typeof t?{message:t,type:g}:t)):[]}function O(t){const e=E(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function E(t){return t?L(t,c.ERROR)?c.ERROR:L(t,c.WARNING)?c.WARNING:L(t,c.SUCCESS)?c.SUCCESS:null:null}function L(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function k(t){return null===t||void 0===t?void 0:t.querySelector(S)}const D={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(r())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},A=()=>new Promise((t=>{w(t)})),T={getUniqueString:C,formatMessages:I,filterFormattedMessages:O,hasFormattedMessageOfType:L,getValidationState:E,htmlFragment:D,flushPromises:A},$={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return C()}},size:{type:String,default:"md",validator:t=>Object.keys(d).includes(t)},color:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},avatarClass:{type:[String,Array,Object],default:""}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:d,AVATAR_COLOR_MODIFIERS:u,AVATAR_KIND_MODIFIERS:l}},mounted(){this.init()},updated(){this.init()},methods:{init(){const t=this.$el.firstChild;t&&(this.setKind(t),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")||r().util.warn("src and alt attributes are required for image avatars",this))}}},P=$;function M(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 B=M(P,n,s,!1,null,null,null);const R=B.exports;var N=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_COLOR_MODIFIERS[t.color]],attrs:{"data-qa":"dt-badge"}},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2)},V=[];const j={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","magenta-100":"d-badge--magenta-100","magenta-300":"d-badge--magenta-300","magenta-400":"d-badge--magenta-400","magenta-500":"d-badge--magenta-500","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-400":"d-badge--purple-400","purple-500":"d-badge--purple-500","red-300":"d-badge--red-300",white:"d-badge--white","gold-200":"d-badge--gold-200"},H={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:t=>Object.keys(j).includes(t)}},data(){return{BADGE_COLOR_MODIFIERS:j}}},F=H;var q=M(F,N,V,!1,null,null,null);const K=q.exports;var W=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)])},z=[],U=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(t.defaultIcon,{tag:"component"})]}))],2):t._e()},Z=[],G=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__lightbulb",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Lightbulb",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1Zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7Z"}})])},Y=[],X={},Q=M(X,G,Y,!1,null,null,null);const J=Q.exports;var tt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__info",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Info",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-6h2v6Zm0-8h-2V7h2v2Z"}})])},et=[],nt={},it=M(nt,tt,et,!1,null,null,null);const at=it.exports;var st=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__warning",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Warning",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M1 21h22L12 2 1 21Zm12-3h-2v-2h2v2Zm0-4h-2v-4h2v4Z"}})])},ot=[],rt={},lt=M(rt,st,ot,!1,null,null,null);const dt=lt.exports;var ut=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__error",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Error",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"}})])},ct=[],pt={},ht=M(pt,ut,ct,!1,null,null,null);const ft=ht.exports;var mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__checkCircle",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Check Circle",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9Z"}})])},gt=[],vt={},bt=M(vt,mt,gt,!1,null,null,null);const yt=bt.exports,_t=["base","error","info","success","warning"],xt=["alert","alertdialog","status"],St=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),wt={name:"DtNoticeIcon",components:{IconLightbulb:J,IconInfo:at,IconWarning:dt,IconError:ft,IconCheckCircle:yt},props:{kind:{type:String,default:"base",validate(t){return _t.includes(t)}}},computed:{defaultIcon(){return St.get(this.kind)}}},Ct=wt;var It=M(Ct,U,Z,!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__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)])},Lt=[];const kt={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Dt=kt;var At=M(Dt,Et,Lt,!1,null,null,null);const Tt=At.exports;var $t=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("icon-close")]},proxy:!0}],null,!1,4267981299)},"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)},Pt=[],Mt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__close",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Close",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"}})])},Bt=[],Rt={},Nt=M(Rt,Mt,Bt,!1,null,null,null);const Vt=Nt.exports;var jt=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()])},Ht=[];const Ft={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},qt={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Kt={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},Wt=["submit","reset","button"],zt={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},Ut=[{circle:!0,kind:"default",importance:"primary",message:Zt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Zt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Zt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Zt(!1,"muted","primary")}];function Zt(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 Gt="danger",Yt="warning",Xt="success",Qt="muted",Jt="inverted",te=["",Gt,Yt,Xt,Qt,Jt],ee={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},ne={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(zt).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Kt).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(ee).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>Wt.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(Ft).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(qt).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:zt,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",ee[this.linkKind],Ft[this.size]]:["d-btn",Kt[this.importance],qt[this.kind],Ft[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 Ut)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)}}},ie=ne;var ae=M(ie,jt,Ht,!1,null,null,null);const se=ae.exports,oe={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 re=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("icon-close")],1)},le=[];const de={name:"SrOnlyCloseButton",components:{IconClose:Vt,DtButton:se},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},ue=de;var ce=M(ue,re,le,!1,null,null,null);const pe=ce.exports,he={name:"DtNoticeAction",components:{IconClose:Vt,DtButton:se,SrOnlyCloseButton:pe},mixins:[oe],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")}}},fe=he;var me=M(fe,$t,Pt,!1,null,null,null);const ge=me.exports,ve=':not(:disabled):not([aria-disabled="true"])',be=`${ve}:not([tabindex="-1"])`,ye="button,[href],input,select,textarea,details,[tabindex]",_e={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(ye)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?ve:be)}))},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())}}},xe={name:"DtBanner",components:{DtNoticeIcon:Ot,DtNoticeContent:Tt,DtNoticeAction:ge},mixins:[_e,oe],props:{titleId:{type:String,default(){return T.getUniqueString()}},contentId:{type:String,default(){return T.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return _t.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)}}},Se=xe;var we=M(Se,W,z,!1,null,null,null);const Ce=we.exports;var Ie=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)])},Oe=[];const Ee="d-breadcrumbs__item--selected",Le="d-breadcrumbs--inverted";var ke=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)},De=[],Ae=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)},Te=[];const $e={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return te.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:ee}}},Pe=$e;var Me=M(Pe,Ae,Te,!1,null,null,null);const Be=Me.exports,Re={name:"DtBreadcrumbItem",components:{DtLink:Be},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:Ee}},computed:{linkKind(){return this.inverted?Jt:Qt},ariaCurrent(){return this.selected?"location":void 0}}},Ne=Re;var Ve=M(Ne,ke,De,!1,null,null,null);const je=Ve.exports,He={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:je},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:Le}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${T.getUniqueString()}`}}},Fe=He;var qe=M(Fe,Ie,Oe,!1,null,null,null);const Ke=qe.exports;var We=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)},ze=[];const Ue={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Ze={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ue).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ue}}},Ge=Ze;var Ye=M(Ge,We,ze,!1,null,null,null);const Xe=Ye.exports;var Qe=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()])},Je=[];const tn={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:""}}},en=tn;var nn=M(en,Qe,Je,!1,null,null,null);const an=nn.exports;var sn=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.listRenderedOutside?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",t.listProps,!1)):t._t("list",null,{listProps:t.listProps,opened:t.onOpen,clearHighlightIndex:t.clearHighlightIndex})],2):t._e()])},on=[];const rn={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}}},ln="listElementKey is required or the referenced element doesn't exist. Received listElement: ",dn=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:[rn],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(ln,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 un=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)},cn=[],pn=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 focus-visible",{"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)},hn=[];const fn={DEFAULT:"default",CUSTOM:"custom"},mn={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var gn=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"},[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()])},vn=[];const bn={name:"DefaultListItem"},yn=bn;i(357);var _n=M(yn,gn,vn,!1,null,null,null);const xn=_n.exports,Sn={name:"ListItem",components:{DtDefaultListItem:xn},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return T.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:fn.DEFAULT,validator:t=>Object.values(fn).includes(t)},navigationType:{type:String,default:mn.NONE,validator:t=>Object.values(mn).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case fn.DEFAULT:return xn;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===mn.TAB},isHoverable(){return this.navigationType!==mn.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},wn=Sn;i(759);var Cn=M(wn,pn,hn,!1,null,null,null);const In=Cn.exports;var On=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)},En=[],Ln=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"}})},kn=[];const Dn=3e6,An={circle:"d-bar-circle",square:"d-bar2"},Tn=["body","heading"],$n={sm:"24px",md:"32px",lg:"48px"},Pn={sm:"d-h16",md:"d-h24",lg:"d-h32"},Mn={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*Dn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},Bn={name:"DtSkeletonShape",mixins:[Mn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(An).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:An}},computed:{shapeStyles(){const t=$n[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},Rn=Bn;var Nn=M(Rn,Ln,kn,!1,null,null,null);const Vn=Nn.exports;var jn=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)},Hn=[],Fn=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)},qn=[],Kn=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()},Wn=[];const zn={name:"DtSkeletonText",mixins:[Mn],props:{type:{type:String,default:"body",validator:t=>Tn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(Pn).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:Pn}}},Un=zn;var Zn=M(Un,Kn,Wn,!1,null,null,null);const Gn=Zn.exports,Yn=t=>""!==t&&!Number.isNaN(Number(t)),Xn={name:"DtSkeletonParagraph",components:{DtSkeletonText:Gn},props:{rows:{type:[Number,String],default:3,validator:Yn},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Yn},maxWidth:{type:[Number,String],default:100,validator:Yn},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%"}}},Qn=Xn;var Jn=M(Qn,Fn,qn,!1,null,null,null);const ti=Jn.exports,ei={name:"DtSkeletonListItem",components:{DtSkeletonShape:Vn,DtSkeletonParagraph:ti},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(An).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:""}}},ni=ei;var ii=M(ni,jn,Hn,!1,null,null,null);const ai=ii.exports,si={name:"DtSkeleton",components:{DtSkeletonText:Gn,DtSkeletonShape:Vn,DtSkeletonListItem:ai,DtSkeletonParagraph:ti},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)}}}},oi=si;i(859);var ri=M(oi,On,En,!1,null,null,null);const li=ri.exports,di={name:"ComboboxLoadingList",components:{DtListItem:In,DtSkeleton:li}},ui=di;var ci=M(ui,un,cn,!1,null,null,null);const pi=ci.exports;var hi=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"}},[n("dt-list-item",{staticClass:"d-d-flex d-jc-center",attrs:{role:"option","navigation-type":"none"}},[n("span",[t._v(t._s(t.message))])])],1)},fi=[];const mi={name:"ComboboxEmptyList",components:{DtListItem:In},props:{message:{type:String,required:!0}}},gi=mi;var vi=M(gi,hi,fi,!1,null,null,null);const bi=vi.exports,yi={name:"DtCombobox",components:{ComboboxLoadingList:pi,ComboboxEmptyList:bi},mixins:[dn({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{listAriaLabel:{type:String,required:!0},listId:{type:String,default(){return C()}},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:""}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{role:"combobox","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.listAriaLabel}},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(){this.loading||this.emptyList||this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},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.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.")}}},_i=yi;var xi=M(_i,sn,on,!1,null,null,null);const Si=xi.exports;var wi=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},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.defaultToggleOpen.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.defaultToggleOpen.apply(null,arguments)}]}},[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}},[t.isOpen?n("icon-arrow-accordion-open",{staticClass:"d-svg--size18 d-mr8 d-fl-shrink0"}):n("icon-arrow-accordion-closed",{staticClass:"d-svg--size18 d-mr8 d-fl-shrink0"}),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)},Ci=[],Ii=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)},Oi=[];const Ei={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}}},Li=Ei;i(124);var ki=M(Li,Ii,Oi,!1,null,null,null);const Di=ki.exports;var Ai=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)])},Ti=[];const $i={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)}}},Pi=$i;var Mi=M(Pi,Ai,Ti,!1,null,null,null);const Bi=Mi.exports;var Ri=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowAccordionOpen",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Accordion Open",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8.738 8a1 1 0 0 0-.865 1.502l3.262 5.614a1 1 0 0 0 1.73 0l3.262-5.614A1 1 0 0 0 15.262 8H8.738Z"}})])},Ni=[],Vi={},ji=M(Vi,Ri,Ni,!1,null,null,null);const Hi=ji.exports;var Fi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowAccordionClosed",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Accordion Closed",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8 15.262a1 1 0 0 0 1.502.865l5.614-3.262a1 1 0 0 0 0-1.73L9.502 7.873A1 1 0 0 0 8 8.738v6.524Z"}})])},qi=[],Ki={},Wi=M(Ki,Fi,qi,!1,null,null,null);const zi=Wi.exports,Ui={name:"DtCollapsible",components:{DtButton:se,DtCollapsibleLazyShow:Di,DtLazyShow:Bi,IconArrowAccordionOpen:Hi,IconArrowAccordionClosed:zi},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return C()}},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&&C("DtCollapsible__anchor")},contentStyle(){return{"max-height":this.maxHeight,"max-width":this.maxWidth}}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},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}}},Zi=Ui;var Gi=M(Zi,wi,Ci,!1,null,null,null);const Yi=Gi.exports;var Xi=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))},Qi=[],Ji=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:function(e){return e.preventDefault(),t.onContext.apply(null,arguments)},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)},ta=[];function ea(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 na(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function ia(t){var e=na(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function aa(t){var e=na(t).Element;return t instanceof e||t instanceof Element}function sa(t){var e=na(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function oa(t){if("undefined"===typeof ShadowRoot)return!1;var e=na(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function ra(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function la(t){return t!==na(t)&&sa(t)?ra(t):ia(t)}function da(t){return t?(t.nodeName||"").toLowerCase():null}function ua(t){return((aa(t)?t.ownerDocument:t.document)||window.document).documentElement}function ca(t){return ea(ua(t)).left+ia(t).scrollLeft}function pa(t){return na(t).getComputedStyle(t)}function ha(t){var e=pa(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function fa(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function ma(t,e,n){void 0===n&&(n=!1);var i=sa(e),a=sa(e)&&fa(e),s=ua(e),o=ea(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==da(e)||ha(s))&&(r=la(e)),sa(e)?(l=ea(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=ca(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function ga(t){var e=ea(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 va(t){return"html"===da(t)?t:t.assignedSlot||t.parentNode||(oa(t)?t.host:null)||ua(t)}function ba(t){return["html","body","#document"].indexOf(da(t))>=0?t.ownerDocument.body:sa(t)&&ha(t)?t:ba(va(t))}function ya(t,e){var n;void 0===e&&(e=[]);var i=ba(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=na(i),o=a?[s].concat(s.visualViewport||[],ha(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(ya(va(o)))}function _a(t){return["table","td","th"].indexOf(da(t))>=0}function xa(t){return sa(t)&&"fixed"!==pa(t).position?t.offsetParent:null}function Sa(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&sa(t)){var i=pa(t);if("fixed"===i.position)return null}var a=va(t);while(sa(a)&&["html","body"].indexOf(da(a))<0){var s=pa(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 wa(t){var e=na(t),n=xa(t);while(n&&_a(n)&&"static"===pa(n).position)n=xa(n);return n&&("html"===da(n)||"body"===da(n)&&"static"===pa(n).position)?e:n||Sa(t)||e}var Ca="top",Ia="bottom",Oa="right",Ea="left",La="auto",ka=[Ca,Ia,Oa,Ea],Da="start",Aa="end",Ta="clippingParents",$a="viewport",Pa="popper",Ma="reference",Ba=ka.reduce((function(t,e){return t.concat([e+"-"+Da,e+"-"+Aa])}),[]),Ra=[].concat(ka,[La]).reduce((function(t,e){return t.concat([e,e+"-"+Da,e+"-"+Aa])}),[]),Na="beforeRead",Va="read",ja="afterRead",Ha="beforeMain",Fa="main",qa="afterMain",Ka="beforeWrite",Wa="write",za="afterWrite",Ua=[Na,Va,ja,Ha,Fa,qa,Ka,Wa,za];function Za(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 Ga(t){var e=Za(t);return Ua.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function Ya(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Xa(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 Qa={placement:"bottom",modifiers:[],strategy:"absolute"};function Ja(){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 ts(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Qa:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qa,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:aa(t)?ya(t):t.contextElement?ya(t.contextElement):[],popper:ya(e)};var r=Ga(Xa([].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(Ja(e,n)){a.rects={reference:ma(e,wa(n),"fixed"===a.options.strategy),popper:ga(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:Ya((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!Ja(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 es={passive:!0};function ns(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=na(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,es)})),r&&l.addEventListener("resize",n.update,es),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,es)})),r&&l.removeEventListener("resize",n.update,es)}}const is={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ns,data:{}};function as(t){return t.split("-")[0]}function ss(t){return t.split("-")[1]}function os(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function rs(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?as(a):null,o=a?ss(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case Ca:e={x:r,y:n.y-i.height};break;case Ia:e={x:r,y:n.y+n.height};break;case Oa:e={x:n.x+n.width,y:l};break;case Ea:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?os(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case Da:e[d]=e[d]-(n[u]/2-i[u]/2);break;case Aa:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function ls(t){var e=t.state,n=t.name;e.modifiersData[n]=rs({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const ds={name:"popperOffsets",enabled:!0,phase:"read",fn:ls,data:{}};var us=Math.max,cs=Math.min,ps=Math.round,hs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fs(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:ps(ps(e*a)/a)||0,y:ps(ps(n*a)/a)||0}}function ms(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?fs(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=Ea,y=Ca,_=window;if(d){var x=wa(n),S="clientHeight",w="clientWidth";x===na(n)&&(x=ua(n),"static"!==pa(x).position&&"absolute"===r&&(S="scrollHeight",w="scrollWidth")),x=x,a!==Ca&&(a!==Ea&&a!==Oa||s!==Aa)||(y=Ia,m-=x[S]-i.height,m*=l?1:-1),a!==Ea&&(a!==Ca&&a!==Ia||s!==Aa)||(b=Oa,h-=x[w]-i.width,h*=l?1:-1)}var C,I=Object.assign({position:r},d&&hs);return l?Object.assign({},I,(C={},C[y]=v?"0":"",C[b]=g?"0":"",C.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},I,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function gs(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:as(e.placement),variation:ss(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,ms(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,ms(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 vs={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:gs,data:{}};function bs(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];sa(a)&&da(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 ys(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}),{});sa(i)&&da(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const _s={name:"applyStyles",enabled:!0,phase:"write",fn:bs,effect:ys,requires:["computeStyles"]};function xs(t,e,n){var i=as(t),a=[Ea,Ca].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,[Ea,Oa].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function Ss(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=Ra.reduce((function(t,n){return t[n]=xs(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 ws={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ss};var Cs={left:"right",right:"left",bottom:"top",top:"bottom"};function Is(t){return t.replace(/left|right|bottom|top/g,(function(t){return Cs[t]}))}var Os={start:"end",end:"start"};function Es(t){return t.replace(/start|end/g,(function(t){return Os[t]}))}function Ls(t){var e=na(t),n=ua(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+ca(t),y:r}}function ks(t){var e,n=ua(t),i=ia(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=us(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=us(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+ca(t),l=-i.scrollTop;return"rtl"===pa(a||n).direction&&(r+=us(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function Ds(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&oa(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function As(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Ts(t){var e=ea(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 $s(t,e){return e===$a?As(Ls(t)):sa(e)?Ts(e):As(ks(ua(t)))}function Ps(t){var e=ya(va(t)),n=["absolute","fixed"].indexOf(pa(t).position)>=0,i=n&&sa(t)?wa(t):t;return aa(i)?e.filter((function(t){return aa(t)&&Ds(t,i)&&"body"!==da(t)})):[]}function Ms(t,e,n){var i="clippingParents"===e?Ps(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=$s(t,n);return e.top=us(i.top,e.top),e.right=cs(i.right,e.right),e.bottom=cs(i.bottom,e.bottom),e.left=us(i.left,e.left),e}),$s(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 Bs(){return{top:0,right:0,bottom:0,left:0}}function Rs(t){return Object.assign({},Bs(),t)}function Ns(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Vs(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?Ta:s,r=n.rootBoundary,l=void 0===r?$a:r,d=n.elementContext,u=void 0===d?Pa:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=Rs("number"!==typeof f?f:Ns(f,ka)),g=u===Pa?Ma:Pa,v=t.rects.popper,b=t.elements[p?g:u],y=Ms(aa(b)?b:b.contextElement||ua(t.elements.popper),o,l),_=ea(t.elements.reference),x=rs({reference:_,element:v,strategy:"absolute",placement:a}),S=As(Object.assign({},v,x)),w=u===Pa?S:_,C={top:y.top-w.top+m.top,bottom:w.bottom-y.bottom+m.bottom,left:y.left-w.left+m.left,right:w.right-y.right+m.right},I=t.modifiersData.offset;if(u===Pa&&I){var O=I[a];Object.keys(C).forEach((function(t){var e=[Oa,Ia].indexOf(t)>=0?1:-1,n=[Ca,Ia].indexOf(t)>=0?"y":"x";C[t]+=O[n]*e}))}return C}function js(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?Ra:l,u=ss(i),c=u?r?Ba:Ba.filter((function(t){return ss(t)===u})):ka,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]=Vs(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[as(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Hs(t){if(as(t)===La)return[];var e=Is(t);return[Es(t),e,Es(e)]}function Fs(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=as(g),b=v===g,y=l||(b||!f?[Is(g)]:Hs(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(as(n)===La?js(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),x=e.rects.reference,S=e.rects.popper,w=new Map,C=!0,I=_[0],O=0;O<_.length;O++){var E=_[O],L=as(E),k=ss(E)===Da,D=[Ca,Ia].indexOf(L)>=0,A=D?"width":"height",T=Vs(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),$=D?k?Oa:Ea:k?Ia:Ca;x[A]>S[A]&&($=Is($));var P=Is($),M=[];if(s&&M.push(T[L]<=0),r&&M.push(T[$]<=0,T[P]<=0),M.every((function(t){return t}))){I=E,C=!1;break}w.set(E,M)}if(C)for(var B=f?3:1,R=function(t){var e=_.find((function(e){var n=w.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return I=e,"break"},N=B;N>0;N--){var V=R(N);if("break"===V)break}e.placement!==I&&(e.modifiersData[i]._skip=!0,e.placement=I,e.reset=!0)}}const qs={name:"flip",enabled:!0,phase:"main",fn:Fs,requiresIfExists:["offset"],data:{_skip:!1}};function Ks(t){return"x"===t?"y":"x"}function Ws(t,e,n){return us(t,cs(e,n))}function zs(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=Vs(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=as(e.placement),b=ss(e.placement),y=!b,_=os(v),x=Ks(_),S=e.modifiersData.popperOffsets,w=e.rects.reference,C=e.rects.popper,I="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O={x:0,y:0};if(S){if(s||r){var E="y"===_?Ca:Ea,L="y"===_?Ia:Oa,k="y"===_?"height":"width",D=S[_],A=S[_]+g[E],T=S[_]-g[L],$=h?-C[k]/2:0,P=b===Da?w[k]:C[k],M=b===Da?-C[k]:-w[k],B=e.elements.arrow,R=h&&B?ga(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Bs(),V=N[E],j=N[L],H=Ws(0,w[k],R[k]),F=y?w[k]/2-$-H-V-I:P-H-V-I,q=y?-w[k]/2+$+H+j+I:M+H+j+I,K=e.elements.arrow&&wa(e.elements.arrow),W=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,z=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,U=S[_]+F-z-W,Z=S[_]+q-z;if(s){var G=Ws(h?cs(A,U):A,D,h?us(T,Z):T);S[_]=G,O[_]=G-D}if(r){var Y="x"===_?Ca:Ea,X="x"===_?Ia:Oa,Q=S[x],J=Q+g[Y],tt=Q-g[X],et=Ws(h?cs(J,U):J,Q,h?us(tt,Z):tt);S[x]=et,O[x]=et-Q}}e.modifiersData[i]=O}}const Us={name:"preventOverflow",enabled:!0,phase:"main",fn:zs,requiresIfExists:["offset"]};var Zs=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,Rs("number"!==typeof t?t:Ns(t,ka))};function Gs(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=as(n.placement),l=os(r),d=[Ea,Oa].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=Zs(a.padding,n),p=ga(s),h="y"===l?Ca:Ea,f="y"===l?Ia:Oa,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=wa(s),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,_=c[h],x=b-p[u]-c[f],S=b/2-p[u]/2+y,w=Ws(_,S,x),C=l;n.modifiersData[i]=(e={},e[C]=w,e.centerOffset=w-S,e)}}function Ys(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))&&Ds(e.elements.popper,a)&&(e.elements.arrow=a)}const Xs={name:"arrow",enabled:!0,phase:"main",fn:Gs,effect:Ys,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Qs(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 Js(t){return[Ca,Oa,Ia,Ea].some((function(e){return t[e]>=0}))}function to(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=Vs(e,{elementContext:"reference"}),r=Vs(e,{altBoundary:!0}),l=Qs(o,i),d=Qs(r,a,s),u=Js(l),c=Js(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 eo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:to};var no=[is,ds,vs,_s,ws,qs,Us,Xs,eo],io=ts({defaultModifiers:no}),ao="tippy-box",so="tippy-content",oo="tippy-backdrop",ro="tippy-arrow",lo="tippy-svg-arrow",uo={passive:!0,capture:!0},co=function(){return document.body};function po(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function ho(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function fo(t,e){return"function"===typeof t?t.apply(void 0,e):t}function mo(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function go(t){return t.split(/\s+/).filter(Boolean)}function vo(t){return[].concat(t)}function bo(t,e){-1===t.indexOf(e)&&t.push(e)}function yo(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function _o(t){return t.split("-")[0]}function xo(t){return[].slice.call(t)}function So(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function wo(){return document.createElement("div")}function Co(t){return["Element","Fragment"].some((function(e){return ho(t,e)}))}function Io(t){return ho(t,"NodeList")}function Oo(t){return ho(t,"MouseEvent")}function Eo(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Lo(t){return Co(t)?[t]:Io(t)?xo(t):Array.isArray(t)?t:xo(document.querySelectorAll(t))}function ko(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Do(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function Ao(t){var e,n=vo(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function To(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=_o(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 $o(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function Po(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},Bo=0;function Ro(){Mo.isTouch||(Mo.isTouch=!0,window.performance&&document.addEventListener("mousemove",No))}function No(){var t=performance.now();t-Bo<20&&(Mo.isTouch=!1,document.removeEventListener("mousemove",No)),Bo=t}function Vo(){var t=document.activeElement;if(Eo(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function jo(){document.addEventListener("touchstart",Ro,uo),window.addEventListener("blur",Vo)}var Ho="undefined"!==typeof window&&"undefined"!==typeof document,Fo=!!Ho&&!!window.msCrypto;var qo={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ko={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Wo=Object.assign({appendTo:co,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},qo,Ko),zo=Object.keys(Wo),Uo=function(t){var e=Object.keys(t);e.forEach((function(e){Wo[e]=t[e]}))};function Zo(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=Wo[a])?i:s);return e}),{});return Object.assign({},t,n)}function Go(t,e){var n=e?Object.keys(Zo(Object.assign({},Wo,{plugins:e}))):zo,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 Yo(t,e){var n=Object.assign({},e,{content:fo(e.content,[t])},e.ignoreAttributes?{}:Go(t,e.plugins));return n.aria=Object.assign({},Wo.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 Xo=function(){return"innerHTML"};function Qo(t,e){t[Xo()]=e}function Jo(t){var e=wo();return!0===t?e.className=ro:(e.className=lo,Co(t)?e.appendChild(t):Qo(e,t)),e}function tr(t,e){Co(e.content)?(Qo(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?Qo(t,e.content):t.textContent=e.content)}function er(t){var e=t.firstElementChild,n=xo(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(so)})),arrow:n.find((function(t){return t.classList.contains(ro)||t.classList.contains(lo)})),backdrop:n.find((function(t){return t.classList.contains(oo)}))}}function nr(t){var e=wo(),n=wo();n.className=ao,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=wo();function a(n,i){var a=er(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||tr(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(Jo(i.arrow))):s.appendChild(Jo(i.arrow)):r&&s.removeChild(r)}return i.className=so,i.setAttribute("data-state","hidden"),tr(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}nr.$$tippy=!0;var ir=1,ar=[],sr=[];function or(t,e){var n,i,a,s,o,r,l,d=Yo(t,Object.assign({},Wo,Zo(So(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=mo(Y,d.interactiveDebounce),g=ir++,v=null,b=yo(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:wo(),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 x=d.render(_),S=x.popper,w=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+_.id,_.popper=S,t._tippy=_,S._tippy=_;var C=b.map((function(t){return t.fn(_)})),I=t.hasAttribute("aria-expanded");return U(),B(),$(),P("onCreate",[_]),d.showOnCreate&&at(),S.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),S.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 L(){var t;return!(null==(t=_.props.render)||!t.$$tippy)}function k(){return l||t}function D(){var t=k().parentNode;return t?Ao(t):document}function A(){return er(S)}function T(t){return _.state.isMounted&&!_.state.isVisible||Mo.isTouch||s&&"focus"===s.type?0:po(_.props.delay,t?0:1,Wo.delay)}function $(t){void 0===t&&(t=!1),S.style.pointerEvents=_.props.interactive&&!t?"":"none",S.style.zIndex=""+_.props.zIndex}function P(t,e,n){var i;(void 0===n&&(n=!0),C.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=S.id,a=vo(_.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 B(){if(!I&&_.props.aria.expanded){var e=vo(_.props.triggerTarget||t);e.forEach((function(t){_.props.interactive?t.setAttribute("aria-expanded",_.state.isVisible&&t===k()?"true":"false"):t.removeAttribute("aria-expanded")}))}}function R(){D().removeEventListener("mousemove",m),ar=ar.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||!Po(S,n)){if(vo(_.props.triggerTarget||t).some((function(t){return Po(t,n)}))){if(Mo.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||F())}}}function V(){p=!0}function j(){p=!1}function H(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,uo),t.addEventListener("touchstart",j,uo),t.addEventListener("touchmove",V,uo)}function F(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,uo),t.removeEventListener("touchstart",j,uo),t.removeEventListener("touchmove",V,uo)}function q(t,e){W(t,(function(){!_.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&e()}))}function K(t,e){W(t,e)}function W(t,e){var n=A().box;function i(t){t.target===n&&($o(n,"remove",i),e())}if(0===t)return e();$o(n,"remove",o),$o(n,"add",i),o=i}function z(e,n,i){void 0===i&&(i=!1);var a=vo(_.props.triggerTarget||t);a.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function U(){E()&&(z("touchstart",G,{passive:!0}),z("touchend",X,{passive:!0})),go(_.props.trigger).forEach((function(t){if("manual"!==t)switch(z(t,G),t){case"mouseenter":z("mouseleave",X);break;case"focus":z(Fo?"focusout":"blur",Q);break;case"focusin":z("focusout",Q);break}}))}function Z(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function G(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,B(),!_.state.isVisible&&Oo(t)&&ar.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=k().contains(e)||S.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(S).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);To(i,t)&&(R(),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!==k()||_.props.interactive&&t.relatedTarget&&S.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=L()?er(S).arrow:null,d=s?{getBoundingClientRect:s,contextElement:s.contextElement||k()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(L()){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];L()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),_.popperInstance=io(d,S,Object.assign({},n,{placement:i,onFirstUpdate:r,modifiers:c}))}function et(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function nt(){var t,e=_.props.appendTo,n=k();t=_.props.interactive&&e===co||"parent"===e?n.parentNode:fo(e,[n]),t.contains(S)||t.appendChild(S),_.state.isMounted=!0,tt()}function it(){return xo(S.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&P("onTrigger",[_,t]),H();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(),P("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 F()}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){P("onBeforeUpdate",[_,e]),Z();var n=_.props,i=Yo(t,Object.assign({},n,So(e),{ignoreAttributes:!0}));_.props=i,U(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=mo(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?vo(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),$(),w&&w(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),P("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=po(_.props.duration,0,Wo.duration);if(!(t||e||n||i)&&!k().hasAttribute("disabled")&&(P("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,L()&&(S.style.visibility="visible"),$(),H(),_.state.isMounted||(S.style.transition="none"),L()){var s=A(),o=s.box,l=s.content;ko([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,S.offsetHeight,S.style.transition=_.props.moveTransition,L()&&_.props.animation){var e=A(),n=e.box,i=e.content;ko([n,i],a),Do([n,i],"visible")}M(),B(),bo(sr,_),null==(t=_.popperInstance)||t.forceUpdate(),P("onMount",[_]),_.props.animation&&L()&&K(a,(function(){_.state.isShown=!0,P("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=po(_.props.duration,1,Wo.duration);if(!(t||e||n)&&(P("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,L()&&(S.style.visibility="hidden"),R(),F(),$(!0),L()){var a=A(),s=a.box,o=a.content;_.props.animation&&(ko([s,o],i),Do([s,o],"hidden"))}M(),B(),_.props.animation?L()&&q(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),bo(ar,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),S.parentNode&&S.parentNode.removeChild(S),sr=sr.filter((function(t){return t!==_})),_.state.isMounted=!1,P("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),Z(),delete t._tippy,_.state.isDestroyed=!0,P("onDestroy",[_]))}}function rr(t,e){void 0===e&&(e={});var n=Wo.plugins.concat(e.plugins||[]);jo();var i=Object.assign({},e,{plugins:n}),a=Lo(t),s=a.reduce((function(t,e){var n=e&&or(e,i);return n&&t.push(n),t}),[]);return Co(t)?s[0]:s}rr.defaultProps=Wo,rr.setDefaultProps=Uo,rr.currentInput=Mo;Object.assign({},_s,{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 lr={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&&dr(s,e)||l&&dr(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function dr(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}rr.setDefaultProps({render:nr});const ur=rr,cr=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),pr=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],hr=[!0,!1,"reference","popper"],fr=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,ur(t,{...e,plugins:[lr],render:()=>br(n)})},mr=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}},cr((t=>{let{state:e}=t;n(e.placement)}))]}},gr=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},vr=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?(k(n)||n.setAttribute("tabindex",e),n):gr(t)},br=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},yr={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},_r={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},xr=["dialog","menu","listbox","tree","grid"],Sr=[null,"anchor"],wr=["none","dialog","first"],Cr=[...hr];let Ir="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Or=(t=21)=>{let e="",n=t;while(n--)e+=Ir[64*Math.random()|0];return e};function Er(t){return Er="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},Er(t)}var Lr={selector:"vue-portal-target-".concat(Or())},kr=function(t){return Lr.selector=t},Dr="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":Er(document)),Ar=r().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)}}),Tr=r().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(Dr)return document.querySelector(this.selector)},insertTargetEl:function(){if(Dr){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(Dr){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new Ar({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function $r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",Tr),e.defaultSelector&&kr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===r()&&r().use($r);var Pr=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("icon-close",{staticClass:"d-svg--size20"})]},proxy:!0}],null,!1,2493961913)},"dt-button",t.closeButtonProps,!1)):t._e()],1)},Mr=[];const Br={name:"PopoverHeaderFooter",components:{DtButton:se,IconClose:Vt},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()}}},Rr=Br;var Nr=M(Rr,Pr,Mr,!1,null,null,null);const Vr=Nr.exports,jr={name:"DtPopover",components:{SrOnlyCloseButton:pe,DtLazyShow:Bi,PopoverHeaderFooter:Vr,Portal:Tr},mixins:[_e,oe],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=>xr.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(yr).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>Sr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return C()}},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=>Cr.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=>wr.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:yr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:_r,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&&C("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=fr(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 mr({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&&(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()}}},Hr=jr;i(155);var Fr=M(Hr,Ji,ta,!1,null,null,null);const qr=Fr.exports,Kr={none:void 0,small:"d-py6",large:"d-py12"},Wr={name:"DtDropdown",components:{DtPopover:qr,SrOnlyCloseButton:pe},mixins:[dn({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),oe],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys(Kr).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 C()}},navigationType:{type:String,default:mn.ARROW_KEYS,validator:t=>Object.values(mn).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:mn,DROPDOWN_PADDING_CLASSES:Kr,EVENT_KEYNAMES:m,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case m.up:case m.arrowup:this.onKeyValidation(t,"onUpKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.down:case m.arrowdown:this.onKeyValidation(t,"onDownKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.space:case m.spacebar:this.onSpaceKey();break;case m.enter:this.onEnterKey();break;case m.home:this.onKeyValidation(t,"onHomeKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.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",Kr[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)}}},zr=Wr;i(427);var Ur=M(zr,Xi,Qi,!1,null,null,null);const Zr=Ur.exports;var Gr=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)])},Yr=[];const Xr={name:"DtDropdownList",props:{heading:{type:String,default:""},listClass:{type:[String,Array,Object],default:""}}},Qr=Xr;var Jr=M(Qr,Gr,Yr,!1,null,null,null);const tl=Jr.exports;var el=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"}})},nl=[];const il={name:"DtDropdownSeparator"},al=il;i(717);var sl=M(al,el,nl,!1,null,null,null);const ol=sl.exports;var rl=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.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)},ll=[];const dl={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},ul={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var cl=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()},pl=[];function hl(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(c).includes(null===t||void 0===t?void 0:t.type)))}const fl={name:"DtValidationMessages",props:{id:{type:String,default(){return C()}},validationMessages:{type:Array,default:()=>[],validator:t=>hl(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return O(this.validationMessages)},validationState(){return E(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]}}},ml=fl;var gl=M(ml,cl,pl,!1,null,null,null);const vl=gl.exports,bl={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(c).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||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},yl={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}}},_l={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&&r().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)}},xl={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>hl(t)}},computed:{formattedMessages(){return I(this.messages)}}},Sl={name:"DtInput",components:{DtValidationMessages:vl},mixins:[xl],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:dl.TEXT,validator:t=>Object.values(dl).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(ul).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(ul).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===dl.TEXTAREA},isDefaultSize(){return this.size===ul.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===ul.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(ul).includes(this.size)},isValidDescriptionSize(){return Object.values(p).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-${C()}`},inputState(){return E(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?c.WARNING:null:c.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}}},wl=Sl;var Cl=M(wl,rl,ll,!1,null,null,null);const Il=Cl.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)},El=[];const Ll={components:{DtValidationMessages:vl},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return C()}},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=>hl(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=I(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:E(t)}}},computed:{formattedMessages(){return I(this.messages)},validationState(){return E(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"]||r().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},kl={name:"DtInputGroup",components:{DtValidationMessages:vl},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}`}}},Dl=kl;var Al=M(Dl,Ol,El,!1,null,null,null);const Tl=Al.exports;var $l=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,kind:t.kind},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("icon-close")]},proxy:!0}],null,!1,4267981299)},"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)},Pl=[];const Ml={default:"",danger:"d-modal--danger"},Bl={default:"",full:"d-modal--full"},Rl={name:"DtModal",components:{DtLazyShow:Bi,DtButton:se,IconClose:Vt,SrOnlyCloseButton:pe},mixins:[_e,oe],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return C()}},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(Bl).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:Bl,EVENT_KEYNAMES:m}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case m.esc:case m.escape:this.close();break;case m.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")}}},Nl=Rl;var Vl=M(Nl,$l,Pl,!1,null,null,null);const jl=Vl.exports;var Hl=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)])},Fl=[];const ql={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:se},props:{id:{type:String,default(){return T.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}}},Kl=ql;i(792);var Wl=M(Kl,Hl,Fl,!1,null,null,null);const zl=Wl.exports;var Ul=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)},Zl=[];const Gl={name:"DtListItemGroup",props:{id:{type:String,default(){return C()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},Yl=Gl;var Xl=M(Yl,Ul,Zl,!1,null,null,null);const Ql=Xl.exports;var Jl=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",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")],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)},td=[];const ed={name:"DtNotice",components:{DtNoticeIcon:Ot,DtNoticeContent:Tt,DtNoticeAction:ge},mixins:[oe],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 xt.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return _t.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}]}}},nd=ed;var id=M(nd,Jl,td,!1,null,null,null);const ad=id.exports;var sd=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("icon-chevron-left")],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("icon-chevron-right")],1)],2)],2)},od=[],rd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__chevronLeft",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Chevron Left",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59Z"}})])},ld=[],dd={},ud=M(dd,rd,ld,!1,null,null,null);const cd=ud.exports;var pd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__chevronRight",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Chevron Right",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6Z"}})])},hd=[],fd={},md=M(fd,pd,hd,!1,null,null,null);const gd=md.exports,vd={name:"DtPagination",components:{DtButton:se,IconChevronLeft:cd,IconChevronRight:gd},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)}}},bd=vd;var yd=M(bd,sd,od,!1,null,null,null);const _d=yd.exports;var xd=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)])])},Sd=[];const wd={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Cd={name:"DtRadio",components:{DtValidationMessages:vl},mixins:[bl,yl,_l,xl],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return wd[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))}}},Id=Cd;var Od=M(Id,xd,Sd,!1,null,null,null);const Ed=Od.exports,Ld={name:"DtRadioGroup",extends:Tl,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}`}}},kd=Ld;var Dd,Ad,Td=M(kd,Dd,Ad,!1,null,null,null);const $d=Td.exports;var Pd=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)},Md=[];const Bd=["default","sm"],Rd={sm:"d-tablist--sm"},Nd={inverted:"d-tablist--inverted"},Vd={borderless:"d-tablist--no-border"},jd={selected:"d-tab--selected"},Hd={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 Bd.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:Nd,TAB_LIST_IMPORTANCE_MODIFIERS:Vd}},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())}}},Fd=Hd;var qd=M(Fd,Pd,Md,!1,null,null,null);const Kd=qd.exports;var Wd=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)},zd=[];const Ud={name:"DtTab",components:{DtButton:se},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:jd}},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})}}},Zd=Ud;var Gd=M(Zd,Wd,zd,!1,null,null,null);const Yd=Gd.exports;var Xd=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)},Qd=[];const Jd={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}}},tu=Jd;var eu=M(tu,Xd,Qd,!1,null,null,null);const nu=eu.exports;var iu=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()])])},au=[];const su={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},ou={name:"DtCheckbox",components:{DtValidationMessages:vl},mixins:[bl,yl,_l,xl],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return su[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"])}}},ru=ou;var lu=M(ru,iu,au,!1,null,null,null);const du=lu.exports,uu={name:"DtCheckboxGroup",extends:Tl,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(r().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}`}}},cu=uu;var pu,hu,fu=M(cu,pu,hu,!1,null,null,null);const mu=fu.exports;var gu=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("icon-close")]},proxy:!0}],null,!1,4267981299)},"dt-button",t.closeButtonProps,!1))],1)},vu=[];const bu={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},yu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},_u={name:"DtChip",components:{IconClose:Vt,DtButton:se},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(bu).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return C()}},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)}}}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",bu[this.size]]},chipCloseButtonClasses(){return["d-chip__close",yu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},xu=_u;var Su=M(xu,gu,vu,!1,null,null,null);const wu=Su.exports;var Cu=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)},Iu=[];const Ou={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Eu={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Lu=t=>!t.index||"number"===typeof t.index,ku=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),Du=t=>!!t.label&&"string"===typeof t.label,Au=t=>!t||t.every((t=>!!Lu(t)&&(!!ku(t)&&!!Du(t)))),Tu={name:"DtSelectMenu",components:{DtValidationMessages:vl},mixins:[xl],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>Au(t)},size:{type:String,default:"md",validator:t=>Object.keys(Ou).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:f,DESCRIPTION_SIZE_MODIFIERS:h,SELECT_SIZE_MODIFIERS:Ou,SELECT_STATE_MODIFIERS:Eu}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return E(this.formattedMessages)},selectKey(){return C()},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&&r().util.warn("Options are expected to be provided via prop or slot",this)}}},$u=Tu;var Pu=M($u,Cu,Iu,!1,null,null,null);const Mu=Pu.exports;var Bu=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()},Ru=[];const Nu=["status","alert"],Vu=6e3,ju={name:"DtToast",components:{DtNoticeIcon:Ot,DtNoticeContent:Tt,DtNoticeAction:ge},mixins:[oe],props:{titleId:{type:String,default(){return T.getUniqueString()}},contentId:{type:String,default(){return T.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>Nu.includes(t)},kind:{type:String,default:"base",validator:t=>_t.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>=Vu}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:Vu}},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))}}},Hu=ju;var Fu=M(Hu,Bu,Ru,!1,null,null,null);const qu=Fu.exports;var Ku=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()])])},Wu=[];const zu={sm:"d-toggle--small",md:""},Uu=[!1,!0,"mixed"],Zu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return T.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>Uu.includes(t)},size:{type:String,default:"md",validator:t=>Object.keys(zu).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",zu[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||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},Gu=Zu;var Yu=M(Gu,Ku,Wu,!1,null,null,null);const Xu=Yu.exports;var Qu=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)},Ju=[];const tc=[...pr],ec={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},nc=[...hr],ic=[!0,!1,"toggle"],ac={name:"Tooltip",components:{DtLazyShow:Bi},props:{id:{type:String,default(){return C()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return tc.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>nc.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:ec,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:mr({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=fr(vr(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 vr(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}}}},sc=ac;i(664);var oc=M(sc,Qu,Ju,!1,null,null,null);const rc=oc.exports;var lc=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(t.icons[e],{key:i+"-"+e,tag:"component",class:["dt-keyboard-shortcut__svg",t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{"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)},dc=[],uc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__windows",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Windows",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016Z"}}),n("path",{attrs:{d:"m10.936 5.334 8.967-1.249V11.5h-8.967V5.334Z"}}),n("path",{attrs:{d:"M9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03Z"}}),n("path",{attrs:{d:"m3.097 6.328 6.647-.885v6.134H3.1l-.003-5.25Z"}})])},cc=[],pc={},hc=M(pc,uc,cc,!1,null,null,null);const fc=hc.exports;var mc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__add",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Add",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z"}})])},gc=[],vc={},bc=M(vc,mc,gc,!1,null,null,null);const yc=bc.exports;var _c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowDownward",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Downward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8Z"}})])},xc=[],Sc={},wc=M(Sc,_c,xc,!1,null,null,null);const Cc=wc.exports;var Ic=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowUpward",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Upward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8Z"}})])},Oc=[],Ec={},Lc=M(Ec,Ic,Oc,!1,null,null,null);const kc=Lc.exports;var Dc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowForward",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Forward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8Z"}})])},Ac=[],Tc={},$c=M(Tc,Dc,Ac,!1,null,null,null);const Pc=$c.exports;var Mc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowBackwards",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Backwards",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m12 20 1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8Z"}})])},Bc=[],Rc={},Nc=M(Rc,Mc,Bc,!1,null,null,null);const Vc=Nc.exports,jc={cmd:"⌘"},Hc={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},Fc={"{plus}":"IconAdd"},qc=Object.keys(jc).map((t=>`{${t}}`)).concat(Object.keys(Hc)),Kc={name:"DtKeyboardShortcut",components:{IconWindows:fc,IconArrowBackward:Vc,IconArrowDownward:Cc,IconArrowForward:Pc,IconArrowUpward:kc,IconAdd:yc},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Hc,separator:/\+/gi}},computed:{icons(){return{...Hc,...Fc}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(jc).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),jc[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},Wc=Kc;i(377);var zc=M(Wc,lc,dc,!1,null,null,null);const Uc=zc.exports;var Zc=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([{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0},{key:"content",fn:function(){return[t._t("default")]},proxy:!0}],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)},Gc=[],Yc=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()])},Xc=[];const Qc={LEFT:"left",RIGHT:"right"},Jc={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===Qc.RIGHT}]}}},tp=Jc;i(263);var ep=M(tp,Yc,Xc,!1,null,null,null);const np=ep.exports,ip={name:"DtRootLayout",components:{DtRootLayoutBody:np},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(Qc).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},ap=ip;i(987);var sp=M(ap,Zc,Gc,!1,null,null,null);const op=sp.exports;var rp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,"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-aria-label":t.listAriaLabel,"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))},lp=[];const dp={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Si,DtPopover:qr,ComboboxLoadingList:pi,ComboboxEmptyList:bi},mixins:[oe],props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return C()}},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(Kr).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>Sr.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:Kr,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:C()}},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.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(t){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},up=dp;var cp=M(up,rp,lp,!1,null,null,null);const pp=cp.exports;var hp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{"list-aria-label":"listAriaLabel","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:{label: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)})},fp=[];const mp={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},gp={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:pp,DtInput:Il,DtChip:wu,DtValidationMessages:vl},mixins:[oe],props:{label:{type:String,default:null},description:{type:String,default:null},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>hl(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(mp).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)}}},vp=gp;var bp=M(vp,hp,fp,!1,null,null,null);const yp=bp.exports;var _p=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)},xp=[];const Sp={name:"DtRecipeCallbarButton",components:{DtButton:se,DtTooltip:rc},inheritAttrs:!0,props:{id:{type:String,default(){return T.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}]}}},wp=Sp;i(39);var Cp=M(wp,_p,xp,!1,null,null,null);const Ip=Cp.exports;var Op=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("icon-arrow-drop-up",{staticClass:"d-svg--size-16"})]},proxy:!0}],null,!1,2876394386)})]},proxy:!0}],null,!1,685243388)},"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)},Ep=[],Lp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowDropUp",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Drop Up",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m7 14 5-5 5 5H7Z"}})])},kp=[],Dp={},Ap=M(Dp,Lp,kp,!1,null,null,null);const Tp=Ap.exports,$p={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:Ip,DtPopover:qr,DtButton:se,IconArrowDropUp:Tp},inheritAttrs:!1,props:{id:{type:String,default(){return T.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}}},Pp=$p;i(724);var Mp=M(Pp,Op,Ep,!1,null,null,null);const Bp=Mp.exports;var Rp=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)})},Np=[];const Vp={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},jp={name:"DtRecipeContactInfo",components:{DtAvatar:R,DtListItem:In},props:{id:{type:String,default(){return T.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(Vp).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:Vp}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Hp=jp;var Fp=M(Hp,Rp,Np,!1,null,null,null);const qp=Fp.exports;var Kp=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)])},Wp=[];const zp=["green300","green100","red200","red100","gold100","gold200","black100","white"],Up={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return zp.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]]}}},Zp=Up;i(486);var Gp=M(Zp,Kp,Wp,!1,null,null,null);const Yp=Gp.exports;var Xp=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(t.nodeIcon,{tag:"component",staticClass:"d-fc-black-900"})]},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("icon-menu-vertical",{staticClass:"d-fc-black-900"})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function(){return[n("div",{staticClass:"d-w164"},[t._t("menuItems")],2)]},proxy:!0}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[t._t("content")]},proxy:!0}],null,!0)})],1)},Qp=[],Jp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__menuVertical",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Menu Vertical",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"}})])},th=[],eh={},nh=M(eh,Jp,th,!1,null,null,null);const ih=nh.exports;var ah=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__dialpad",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Dialpad",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M6 4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12-8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm-6 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"}})])},sh=[],oh={},rh=M(oh,ah,sh,!1,null,null,null);const lh=rh.exports;var dh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__phoneDialer",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Phone Dialer",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M16.48 14.82c1.11.36 2.3.56 3.53.56.54 0 .99.45.99.99v3.45c0 .55-.28 1.18-.99 1.18C10.73 21 3 13.28 3 3.99 3 3.24 3.65 3 4.19 3h3.46c.54 0 .99.45.99.99 0 1.23.19 2.42.56 3.53.11.35.03.74-.24 1.02L7.01 10.2c1.41 2.93 4.06 5.48 6.89 6.83l1.57-1.97c.27-.27.66-.36 1.01-.24Z"}}),n("path",{attrs:{d:"M20 6h-8v1h8V6Zm0-2h-8v1h8V4Zm-8 7h4v-1h-4v1Z"}}),n("path",{attrs:{d:"M12 8h8v1h-8V8Z"}})])},uh=[],ch={},ph=M(ch,dh,uh,!1,null,null,null);const hh=ph.exports;var fh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__volumeUp",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Volume Up",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M3 9v6h4l5 5V4L7 9H3Zm13.5 3A4.5 4.5 0 0 0 14 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02ZM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77Z"}})])},mh=[],gh={},vh=M(gh,fh,mh,!1,null,null,null);const bh=vh.exports;var yh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__phoneTransfer",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Phone Transfer",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M16.48 14.82c1.11.36 2.3.56 3.53.56.54 0 .99.45.99.99v3.45c0 .55-.28 1.18-.99 1.18C10.73 21 3 13.28 3 3.99 3 3.24 3.65 3 4.19 3h3.46c.54 0 .99.45.99.99 0 1.23.19 2.42.56 3.53.11.35.03.74-.24 1.02L7.01 10.2c1.41 2.93 4.06 5.48 6.89 6.83l1.57-1.97c.27-.27.66-.36 1.01-.24Z"}}),n("path",{attrs:{d:"M15.49 4.75V3L13 5.5 15.49 8V6.25H21v-1.5h-5.51Z"}}),n("path",{attrs:{d:"M18.51 9H13v1.5h5.51v1.75L21 9.75l-2.49-2.5V9Z"}})])},_h=[],xh={},Sh=M(xh,yh,_h,!1,null,null,null);const wh=Sh.exports;var Ch=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__callEndArrow",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Call End Arrow",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 7c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 11.08a.956.956 0 0 1-.29-.7c0-.28.11-.53.29-.71C3.34 6.78 7.46 5 12 5c4.54 0 8.66 1.78 11.71 4.67.18.18.29.43.29.71 0 .28-.11.53-.29.71l-2.48 2.48c-.18.18-.43.29-.71.29-.27 0-.52-.11-.7-.28a11.27 11.27 0 0 0-2.67-1.85.996.996 0 0 1-.56-.9v-3.1C15.15 7.25 13.6 7 12 7Z"}}),n("path",{attrs:{d:"M15.59 16.09 13 18.67V11h-2v7.67l-2.59-2.58L7 17.5l5 5 5-5-1.41-1.41Z"}})])},Ih=[],Oh={},Eh=M(Oh,Ch,Ih,!1,null,null,null);const Lh=Eh.exports;var kh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__callMerge",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Call Merge",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17 20.41 18.41 19 15 15.59 13.59 17 17 20.41ZM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8Z"}})])},Dh=[],Ah={},Th=M(Ah,kh,Dh,!1,null,null,null);const $h=Th.exports;var Ph=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__expertNode",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Expert Node",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M18 5H6a1 1 0 0 0-1 1v4.25c0 .414.336.75.75.75h5.42L9.126 8.946l1.41-1.41L15 12l-4.464 4.465-1.41-1.41L11.17 13H5.25A2.25 2.25 0 0 1 3 10.75V6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3h2v3a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1Z"}})])},Mh=[],Bh={},Rh=M(Bh,Ph,Mh,!1,null,null,null);const Nh=Rh.exports;var Vh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__branch",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Branch",viewBox:"0 0 24 24"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 7.83a3.001 3.001 0 1 0-2 0V10H7a3 3 0 0 0-3 3v.17a3.001 3.001 0 1 0 2 0V13a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v3.17a3.001 3.001 0 1 0 2 0V13a3 3 0 0 0-3-3h-4V7.83ZM13 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM5 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm15 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}})])},jh=[],Hh={},Fh=M(Hh,Vh,jh,!1,null,null,null);const qh=Fh.exports,Kh="promptmenu",Wh="promptcollect",zh="promptplay",Uh="gotoexpert",Zh="goto",Gh="branch",Yh="transfer",Xh="hangup",Qh={[Kh]:lh,[Wh]:hh,[zh]:bh,[Uh]:Nh,[Gh]:qh,[Zh]:$h,[Yh]:wh,[Xh]:Lh},Jh={[Kh]:"Menu",[Wh]:"Collect",[zh]:"Play",[Uh]:"Expert",[Gh]:"Branch",[Zh]:"Go-to",[Yh]:"Transfer",[Xh]:"Hangup"},tf={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"}},ef={[Kh]:tf.PROMPT,[Wh]:tf.PROMPT,[zh]:tf.PROMPT,[Uh]:tf.LOGIC,[Gh]:tf.LOGIC,[Zh]:tf.LOGIC,[Yh]:tf.TERMINAL,[Xh]:tf.TERMINAL},nf={name:"DtRecipeIvrNode",components:{DtCard:an,DtButton:se,DtDropdown:Zr,IconMenuVertical:ih},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 Qh[this.nodeType]},headerColor(){const{normal:t,selected:e}=ef[this.nodeType];return this.isSelected?e:t}},methods:{openMenu(){this.isOpen=!0}}},af=nf;i(183);var sf=M(af,Xp,Qp,!1,null,null,null);const of=sf.exports;var rf=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)},lf=[];const df={name:"DtRecipeGroupedChip",components:{DtChip:wu},computed:{}},uf=df;var cf=M(uf,rf,lf,!1,null,null,null);const pf=cf.exports})(),a})()));
|
|
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={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},885:(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-keyboard-shortcut__svg{width:1em;height:1em}.dt-keyboard-shortcut__svg path{fill:currentColor}",""]);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 .d-btn__icon .d-svg{width:2.4rem;height:2.4rem}.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--active{--button--fc:var(--muted-color-hover);--button--bgc:hsla(var(--muted-color-hsl)/15%)}.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)}",""]);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]}},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})},377:(t,e,n)=>{var i=n(885);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.id,i,""]]),i.locals&&(t.exports=i.locals);var a=n(402).Z;a("04875bb8",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:()=>u,AVATAR_KIND_MODIFIERS:()=>l,AVATAR_SIZE_MODIFIERS:()=>d,BADGE_COLOR_MODIFIERS:()=>H,BREADCRUMBS_INVERTED_MODIFIER:()=>Le,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>ke,BUTTON_GROUP_ALIGNMENT:()=>Ze,CHIP_SIZE_MODIFIERS:()=>yu,COLOR_CODES:()=>eh,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>g,DESCRIPTION_SIZE_TYPES:()=>p,DtAvatar:()=>N,DtBadge:()=>W,DtBanner:()=>Ie,DtBreadcrumbItem:()=>He,DtBreadcrumbs:()=>We,DtButton:()=>oe,DtButtonGroup:()=>Qe,DtCard:()=>sn,DtCheckableInputMixin:()=>_l,DtCheckbox:()=>uu,DtCheckboxGroup:()=>gu,DtChip:()=>Cu,DtCollapsible:()=>Xi,DtCombobox:()=>wi,DtDropdown:()=>Gr,DtDropdownList:()=>el,DtDropdownSeparator:()=>rl,DtGroupableInputMixin:()=>xl,DtIcon:()=>mp,DtInput:()=>Ol,DtInputGroup:()=>$l,DtInputGroupMixin:()=>Ll,DtInputMixin:()=>yl,DtKeyboardListNavigationMixin:()=>un,DtKeyboardShortcut:()=>Zc,DtLazyShow:()=>Ri,DtLink:()=>Re,DtListItem:()=>On,DtListItemGroup:()=>Jl,DtListSection:()=>Ul,DtModal:()=>Hl,DtNotice:()=>sd,DtPagination:()=>xd,DtPopover:()=>Kr,DtRadio:()=>kd,DtRadioGroup:()=>Pd,DtRecipeCallbarButton:()=>Pp,DtRecipeCallbarButtonWithPopover:()=>Wp,DtRecipeComboboxMultiSelect:()=>kp,DtRecipeComboboxWithPopover:()=>xp,DtRecipeContactInfo:()=>Qp,DtRecipeGroupedChip:()=>xf,DtRecipeIvrNode:()=>mf,DtRecipeTopBannerInfo:()=>sh,DtRootLayout:()=>rp,DtSelectMenu:()=>Bu,DtSkeleton:()=>di,DtSkeletonListItem:()=>si,DtSkeletonParagraph:()=>ei,DtSkeletonShape:()=>jn,DtSkeletonText:()=>Yn,DtTab:()=>Xd,DtTabGroup:()=>Wd,DtTabPanel:()=>iu,DtToast:()=>Ku,DtToggle:()=>Qu,DtTooltip:()=>lc,DtValidationMessages:()=>bl,INPUT_SIZES:()=>cl,INPUT_TYPES:()=>ul,IVR_NODE_BRANCH:()=>sf,IVR_NODE_EXPERT:()=>nf,IVR_NODE_GO_TO:()=>af,IVR_NODE_HANGUP:()=>rf,IVR_NODE_ICON_TYPES:()=>lf,IVR_NODE_LABELS:()=>df,IVR_NODE_PROMPT_COLLECT:()=>tf,IVR_NODE_PROMPT_MENU:()=>Jh,IVR_NODE_PROMPT_PLAY:()=>ef,IVR_NODE_TRANSFER:()=>of,LINK_KIND_MODIFIERS:()=>ne,LINK_VARIANTS:()=>ee,MODAL_KIND_MODIFIERS:()=>Bl,MODAL_SIZE_MODIFIERS:()=>Rl,MULTI_SELECT_SIZES:()=>Cp,NOTICE_KINDS:()=>xt,POPOVER_CONTENT_WIDTHS:()=>wr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>xr,POPOVER_INITIAL_FOCUS_STRINGS:()=>Cr,POPOVER_PADDING_CLASSES:()=>_r,POPOVER_ROLES:()=>Sr,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>Jc,SELECT_SIZE_MODIFIERS:()=>Eu,SELECT_STATE_MODIFIERS:()=>ku,SHORTCUTS_ALIASES:()=>Hc,SHORTCUTS_ALIASES_LIST:()=>Kc,SHORTCUTS_ICON_ALIASES:()=>Fc,SHORTCUTS_ICON_SEPARATOR:()=>qc,SKELETON_HEADING_HEIGHTS:()=>Mn,SKELETON_RIPPLE_DURATION:()=>An,SKELETON_SHAPES:()=>Tn,SKELETON_SHAPE_SIZES:()=>Pn,SKELETON_TEXT_TYPES:()=>$n,TAB_IMPORTANCE_MODIFIERS:()=>Hd,TAB_LIST_IMPORTANCE_MODIFIERS:()=>jd,TAB_LIST_KIND_MODIFIERS:()=>Vd,TAB_LIST_SIZES:()=>Rd,TOAST_ROLES:()=>Vu,TOOLTIP_DIRECTIONS:()=>ec,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>ac,TOOLTIP_KIND_MODIFIERS:()=>nc,TOOLTIP_STICKY_VALUES:()=>ic,USER_STATUS_COLOR_MODIFIERS:()=>Zp,VALIDATION_MESSAGE_TYPES:()=>c,filterFormattedMessages:()=>O,formatMessages:()=>I,getUniqueString:()=>C,getValidationState:()=>E,validationMessageValidator:()=>fl}),"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")],2)},s=[];const o=require("vue");var r=n.n(o);const l={default:"",icon:"d-avatar--icon",initials:"d-avatar--initials"},d={sm:"d-avatar--sm",md:"d-avatar--md",lg:"d-avatar--lg"},u={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"},c={ERROR:"error",WARNING:"warning",SUCCESS:"success"},p={LARGE:"lg",EXTRA_LARGE:"xl"},h={xs:"",sm:"",md:"",lg:"d-description--lg",xl:"d-description--xl"},f={xs:"d-label--xs",sm:"d-label--sm",md:"",lg:"d-label--lg",xl:"d-label--xl"},m={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"},g=c.ERROR,v="dt";let b=0;const y="input:not([type=hidden]):not(:disabled)",_="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",x=`${y},${_}`,S=`a,frame,iframe,${x},*[tabindex]`,w="function"===typeof setImmediate?setImmediate:setTimeout;function C(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v;return`${t}${b++}`}function I(t){return t?t.map((t=>"string"===typeof t?{message:t,type:g}:t)):[]}function O(t){const e=E(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function E(t){return t?k(t,c.ERROR)?c.ERROR:k(t,c.WARNING)?c.WARNING:k(t,c.SUCCESS)?c.SUCCESS:null:null}function k(t,e){return!(!t||!e)&&t.some((t=>(null===t||void 0===t?void 0:t.type)===e))}function L(t){return null===t||void 0===t?void 0:t.querySelector(S)}const D={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(r())({name:"Inner",beforeCreate(){this.$createElement=t},template:`<div>${e.props.html}</div>`}).$mount()._vnode.children}},A=()=>new Promise((t=>{w(t)})),T=t=>t.toLowerCase().split("-").map((t=>t.charAt(0).toUpperCase()+t.slice(1))).join(""),$={getUniqueString:C,formatMessages:I,filterFormattedMessages:O,hasFormattedMessageOfType:k,getValidationState:E,htmlFragment:D,flushPromises:A,kebabCaseToPascalCase:T},P={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return C()}},size:{type:String,default:"md",validator:t=>Object.keys(d).includes(t)},color:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},avatarClass:{type:[String,Array,Object],default:""}},data(){return{kind:"initials",AVATAR_SIZE_MODIFIERS:d,AVATAR_COLOR_MODIFIERS:u,AVATAR_KIND_MODIFIERS:l}},mounted(){this.init()},updated(){this.init()},methods:{init(){const t=this.$el.firstChild;t&&(this.setKind(t),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")||r().util.warn("src and alt attributes are required for image avatars",this))}}},M=P;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 R=B(M,a,s,!1,null,null,null);const N=R.exports;var V=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{class:["d-badge",t.BADGE_COLOR_MODIFIERS[t.color]],attrs:{"data-qa":"dt-badge"}},[t._t("default",(function(){return[t._v(" "+t._s(t.text)+" ")]}))],2)},j=[];const H={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","magenta-100":"d-badge--magenta-100","magenta-300":"d-badge--magenta-300","magenta-400":"d-badge--magenta-400","magenta-500":"d-badge--magenta-500","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-400":"d-badge--purple-400","purple-500":"d-badge--purple-500","red-300":"d-badge--red-300",white:"d-badge--white","gold-200":"d-badge--gold-200"},F={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:t=>Object.keys(H).includes(t)}},data(){return{BADGE_COLOR_MODIFIERS:H}}},q=F;var K=B(q,V,j,!1,null,null,null);const W=K.exports;var z=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)])},U=[],Z=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(t.defaultIcon,{tag:"component"})]}))],2):t._e()},G=[],Y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__lightbulb",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Lightbulb",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1Zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7Z"}})])},X=[],Q={},J=B(Q,Y,X,!1,null,null,null);const tt=J.exports;var et=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__info",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Info",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-6h2v6Zm0-8h-2V7h2v2Z"}})])},nt=[],it={},at=B(it,et,nt,!1,null,null,null);const st=at.exports;var ot=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__warning",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Warning",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M1 21h22L12 2 1 21Zm12-3h-2v-2h2v2Zm0-4h-2v-4h2v4Z"}})])},rt=[],lt={},dt=B(lt,ot,rt,!1,null,null,null);const ut=dt.exports;var ct=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__error",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Error",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm1 15h-2v-2h2v2Zm0-4h-2V7h2v6Z"}})])},pt=[],ht={},ft=B(ht,ct,pt,!1,null,null,null);const mt=ft.exports;var gt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__checkCircle",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Check Circle",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9Z"}})])},vt=[],bt={},yt=B(bt,gt,vt,!1,null,null,null);const _t=yt.exports,xt=["base","error","info","success","warning"],St=["alert","alertdialog","status"],wt=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),Ct={name:"DtNoticeIcon",components:{IconLightbulb:tt,IconInfo:st,IconWarning:ut,IconError:mt,IconCheckCircle:_t},props:{kind:{type:String,default:"base",validate(t){return xt.includes(t)}}},computed:{defaultIcon(){return wt.get(this.kind)}}},It=Ct;var Ot=B(It,Z,G,!1,null,null,null);const Et=Ot.exports;var kt=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)])},Lt=[];const Dt={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},At=Dt;var Tt=B(At,kt,Lt,!1,null,null,null);const $t=Tt.exports;var Pt=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("icon-close")]},proxy:!0}],null,!1,4267981299)},"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)},Mt=[],Bt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__close",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Close",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"}})])},Rt=[],Nt={},Vt=B(Nt,Bt,Rt,!1,null,null,null);const jt=Vt.exports;var Ht=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()])},Ft=[];const qt={xs:"d-btn--xs",sm:"d-btn--sm",md:"",lg:"d-btn--lg",xl:"d-btn--xl"},Kt={default:"",muted:"d-btn--muted",danger:"d-btn--danger",inverted:"d-btn--inverted"},Wt={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},zt=["submit","reset","button"],Ut={left:"d-btn__icon--left",right:"d-btn__icon--right",top:"d-btn__icon--top",bottom:"d-btn__icon--bottom"},Zt=[{circle:!0,kind:"default",importance:"primary",message:Gt(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Gt(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Gt(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Gt(!1,"muted","primary")}];function Gt(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 Yt="danger",Xt="warning",Qt="success",Jt="muted",te="inverted",ee=["",Yt,Xt,Qt,Jt,te],ne={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},ie={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(Ut).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Wt).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(ne).includes(t)},disabled:{type:Boolean,default:!1},type:{type:String,default:"button",validator:t=>zt.includes(t)},width:{type:String,default:null},size:{type:String,default:"md",validator:t=>Object.keys(qt).includes(t)},labelClass:{type:[String,Array,Object],default:""},loading:{type:Boolean,default:!1},kind:{type:String,default:"default",validator:t=>Object.keys(Kt).includes(t)},assertiveOnFocus:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},emits:["click","focusin","focusout"],data(){return{ICON_POSITION_MODIFIERS:Ut,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",ne[this.linkKind],qt[this.size]]:["d-btn",Wt[this.importance],Kt[this.kind],qt[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 Zt)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)}}},ae=ie;var se=B(ae,Ht,Ft,!1,null,null,null);const oe=se.exports,re={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 le=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("icon-close")],1)},de=[];const ue={name:"SrOnlyCloseButton",components:{IconClose:jt,DtButton:oe},props:{visuallyHiddenCloseLabel:{type:String,default:null}},methods:{close(){this.$emit("close")}}},ce=ue;var pe=B(ce,le,de,!1,null,null,null);const he=pe.exports,fe={name:"DtNoticeAction",components:{IconClose:jt,DtButton:oe,SrOnlyCloseButton:he},mixins:[re],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")}}},me=fe;var ge=B(me,Pt,Mt,!1,null,null,null);const ve=ge.exports,be=':not(:disabled):not([aria-disabled="true"])',ye=`${be}:not([tabindex="-1"])`,_e="button,[href],input,select,textarea,details,[tabindex]",xe={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(_e)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?be:ye)}))},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())}}},Se={name:"DtBanner",components:{DtNoticeIcon:Et,DtNoticeContent:$t,DtNoticeAction:ve},mixins:[xe,re],props:{titleId:{type:String,default(){return $.getUniqueString()}},contentId:{type:String,default(){return $.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return xt.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)}}},we=Se;var Ce=B(we,z,U,!1,null,null,null);const Ie=Ce.exports;var Oe=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)])},Ee=[];const ke="d-breadcrumbs__item--selected",Le="d-breadcrumbs--inverted";var De=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)},Ae=[],Te=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)},$e=[];const Pe={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return ee.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:ne}}},Me=Pe;var Be=B(Me,Te,$e,!1,null,null,null);const Re=Be.exports,Ne={name:"DtBreadcrumbItem",components:{DtLink:Re},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:ke}},computed:{linkKind(){return this.inverted?te:Jt},ariaCurrent(){return this.selected?"location":void 0}}},Ve=Ne;var je=B(Ve,De,Ae,!1,null,null,null);const He=je.exports,Fe={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:He},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:Le}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${$.getUniqueString()}`}}},qe=Fe;var Ke=B(qe,Oe,Ee,!1,null,null,null);const We=Ke.exports;var ze=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)},Ue=[];const Ze={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},Ge={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ze).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ze}}},Ye=Ge;var Xe=B(Ye,ze,Ue,!1,null,null,null);const Qe=Xe.exports;var Je=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()])},tn=[];const en={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:""}}},nn=en;var an=B(nn,Je,tn,!1,null,null,null);const sn=an.exports;var on=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.listRenderedOutside?n("combobox-empty-list",t._b({attrs:{message:t.emptyStateMessage}},"combobox-empty-list",t.listProps,!1)):t._t("list",null,{listProps:t.listProps,opened:t.onOpen,clearHighlightIndex:t.clearHighlightIndex})],2):t._e()])},rn=[];const ln={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}}},dn="listElementKey is required or the referenced element doesn't exist. Received listElement: ",un=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:[ln],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(dn,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 cn=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)},pn=[],hn=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)},fn=[];const mn={DEFAULT:"default",CUSTOM:"custom"},gn={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var vn=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"},[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()])},bn=[];const yn={name:"DefaultListItem"},_n=yn;n(357);var xn=B(_n,vn,bn,!1,null,null,null);const Sn=xn.exports,wn={name:"ListItem",components:{DtDefaultListItem:Sn},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return $.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:mn.DEFAULT,validator:t=>Object.values(mn).includes(t)},navigationType:{type:String,default:gn.NONE,validator:t=>Object.values(gn).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case mn.DEFAULT:return Sn;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===gn.TAB},isHoverable(){return this.navigationType!==gn.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},Cn=wn;n(759);var In=B(Cn,hn,fn,!1,null,null,null);const On=In.exports;var En=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)},kn=[],Ln=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"}})},Dn=[];const An=3e6,Tn={circle:"d-bar-circle",square:"d-bar2"},$n=["body","heading"],Pn={sm:"24px",md:"32px",lg:"48px"},Mn={sm:"d-h16",md:"d-h24",lg:"d-h32"},Bn={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*An/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}},Rn={name:"DtSkeletonShape",mixins:[Bn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(Tn).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:Tn}},computed:{shapeStyles(){const t=Pn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},Nn=Rn;var Vn=B(Nn,Ln,Dn,!1,null,null,null);const jn=Vn.exports;var Hn=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)},Fn=[],qn=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)},Kn=[],Wn=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()},zn=[];const Un={name:"DtSkeletonText",mixins:[Bn],props:{type:{type:String,default:"body",validator:t=>$n.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(Mn).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:Mn}}},Zn=Un;var Gn=B(Zn,Wn,zn,!1,null,null,null);const Yn=Gn.exports,Xn=t=>""!==t&&!Number.isNaN(Number(t)),Qn={name:"DtSkeletonParagraph",components:{DtSkeletonText:Yn},props:{rows:{type:[Number,String],default:3,validator:Xn},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Xn},maxWidth:{type:[Number,String],default:100,validator:Xn},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%"}}},Jn=Qn;var ti=B(Jn,qn,Kn,!1,null,null,null);const ei=ti.exports,ni={name:"DtSkeletonListItem",components:{DtSkeletonShape:jn,DtSkeletonParagraph:ei},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(Tn).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:""}}},ii=ni;var ai=B(ii,Hn,Fn,!1,null,null,null);const si=ai.exports,oi={name:"DtSkeleton",components:{DtSkeletonText:Yn,DtSkeletonShape:jn,DtSkeletonListItem:si,DtSkeletonParagraph:ei},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)}}}},ri=oi;n(859);var li=B(ri,En,kn,!1,null,null,null);const di=li.exports,ui={name:"ComboboxLoadingList",components:{DtListItem:On,DtSkeleton:di}},ci=ui;var pi=B(ci,cn,pn,!1,null,null,null);const hi=pi.exports;var fi=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"}},[n("dt-list-item",{staticClass:"d-d-flex d-jc-center",attrs:{role:"option","navigation-type":"none"}},[n("span",[t._v(t._s(t.message))])])],1)},mi=[];const gi={name:"ComboboxEmptyList",components:{DtListItem:On},props:{message:{type:String,required:!0}}},vi=gi;var bi=B(vi,fi,mi,!1,null,null,null);const yi=bi.exports,_i={name:"DtCombobox",components:{ComboboxLoadingList:hi,ComboboxEmptyList:yi},mixins:[un({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl"})],props:{listAriaLabel:{type:String,required:!0},listId:{type:String,default(){return C()}},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:""}},emits:["select","escape","highlight","opened"],data(){return{outsideRenderedListRef:null}},computed:{inputProps(){return{role:"combobox","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.listAriaLabel}},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(){this.loading||this.emptyList||this.highlightIndex>=0&&this.$emit("select",this.highlightIndex)},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.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.")}}},xi=_i;var Si=B(xi,on,rn,!1,null,null,null);const wi=Si.exports;var Ci=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},on:{"!click":function(e){return t.defaultToggleOpen.apply(null,arguments)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.defaultToggleOpen.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.defaultToggleOpen.apply(null,arguments)}]}},[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}},[t.isOpen?n("icon-arrow-accordion-open",{staticClass:"d-svg--size18 d-mr8 d-fl-shrink0"}):n("icon-arrow-accordion-closed",{staticClass:"d-svg--size18 d-mr8 d-fl-shrink0"}),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)},Ii=[],Oi=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)},Ei=[];const ki={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}}},Li=ki;n(124);var Di=B(Li,Oi,Ei,!1,null,null,null);const Ai=Di.exports;var Ti=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)])},$i=[];const Pi={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)}}},Mi=Pi;var Bi=B(Mi,Ti,$i,!1,null,null,null);const Ri=Bi.exports;var Ni=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowAccordionOpen",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Accordion Open",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8.738 8a1 1 0 0 0-.865 1.502l3.262 5.614a1 1 0 0 0 1.73 0l3.262-5.614A1 1 0 0 0 15.262 8H8.738Z"}})])},Vi=[],ji={},Hi=B(ji,Ni,Vi,!1,null,null,null);const Fi=Hi.exports;var qi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowAccordionClosed",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Accordion Closed",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8 15.262a1 1 0 0 0 1.502.865l5.614-3.262a1 1 0 0 0 0-1.73L9.502 7.873A1 1 0 0 0 8 8.738v6.524Z"}})])},Ki=[],Wi={},zi=B(Wi,qi,Ki,!1,null,null,null);const Ui=zi.exports,Zi={name:"DtCollapsible",components:{DtButton:oe,DtCollapsibleLazyShow:Ai,DtLazyShow:Ri,IconArrowAccordionOpen:Fi,IconArrowAccordionClosed:Ui},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return C()}},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&&C("DtCollapsible__anchor")},contentStyle(){return{"max-height":this.maxHeight,"max-width":this.maxWidth}}},watch:{open:{handler:function(t){null!==t&&(this.isOpen=t)},immediate:!0}},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}}},Gi=Zi;var Yi=B(Gi,Ci,Ii,!1,null,null,null);const Xi=Yi.exports;var Qi=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))},Ji=[],ta=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)},ea=[];function na(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 ia(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function aa(t){var e=ia(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function sa(t){var e=ia(t).Element;return t instanceof e||t instanceof Element}function oa(t){var e=ia(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function ra(t){if("undefined"===typeof ShadowRoot)return!1;var e=ia(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function la(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function da(t){return t!==ia(t)&&oa(t)?la(t):aa(t)}function ua(t){return t?(t.nodeName||"").toLowerCase():null}function ca(t){return((sa(t)?t.ownerDocument:t.document)||window.document).documentElement}function pa(t){return na(ca(t)).left+aa(t).scrollLeft}function ha(t){return ia(t).getComputedStyle(t)}function fa(t){var e=ha(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function ma(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function ga(t,e,n){void 0===n&&(n=!1);var i=oa(e),a=oa(e)&&ma(e),s=ca(e),o=na(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==ua(e)||fa(s))&&(r=da(e)),oa(e)?(l=na(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=pa(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function va(t){var e=na(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 ba(t){return"html"===ua(t)?t:t.assignedSlot||t.parentNode||(ra(t)?t.host:null)||ca(t)}function ya(t){return["html","body","#document"].indexOf(ua(t))>=0?t.ownerDocument.body:oa(t)&&fa(t)?t:ya(ba(t))}function _a(t,e){var n;void 0===e&&(e=[]);var i=ya(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=ia(i),o=a?[s].concat(s.visualViewport||[],fa(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(_a(ba(o)))}function xa(t){return["table","td","th"].indexOf(ua(t))>=0}function Sa(t){return oa(t)&&"fixed"!==ha(t).position?t.offsetParent:null}function wa(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&oa(t)){var i=ha(t);if("fixed"===i.position)return null}var a=ba(t);while(oa(a)&&["html","body"].indexOf(ua(a))<0){var s=ha(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 Ca(t){var e=ia(t),n=Sa(t);while(n&&xa(n)&&"static"===ha(n).position)n=Sa(n);return n&&("html"===ua(n)||"body"===ua(n)&&"static"===ha(n).position)?e:n||wa(t)||e}var Ia="top",Oa="bottom",Ea="right",ka="left",La="auto",Da=[Ia,Oa,Ea,ka],Aa="start",Ta="end",$a="clippingParents",Pa="viewport",Ma="popper",Ba="reference",Ra=Da.reduce((function(t,e){return t.concat([e+"-"+Aa,e+"-"+Ta])}),[]),Na=[].concat(Da,[La]).reduce((function(t,e){return t.concat([e,e+"-"+Aa,e+"-"+Ta])}),[]),Va="beforeRead",ja="read",Ha="afterRead",Fa="beforeMain",qa="main",Ka="afterMain",Wa="beforeWrite",za="write",Ua="afterWrite",Za=[Va,ja,Ha,Fa,qa,Ka,Wa,za,Ua];function Ga(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 Ya(t){var e=Ga(t);return Za.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function Xa(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Qa(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 Ja={placement:"bottom",modifiers:[],strategy:"absolute"};function ts(){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 es(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Ja:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ja,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:sa(t)?_a(t):t.contextElement?_a(t.contextElement):[],popper:_a(e)};var r=Ya(Qa([].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(ts(e,n)){a.rects={reference:ga(e,Ca(n),"fixed"===a.options.strategy),popper:va(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:Xa((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!ts(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 ns={passive:!0};function is(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=ia(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,ns)})),r&&l.addEventListener("resize",n.update,ns),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,ns)})),r&&l.removeEventListener("resize",n.update,ns)}}const as={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:is,data:{}};function ss(t){return t.split("-")[0]}function os(t){return t.split("-")[1]}function rs(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function ls(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?ss(a):null,o=a?os(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case Ia:e={x:r,y:n.y-i.height};break;case Oa:e={x:r,y:n.y+n.height};break;case Ea:e={x:n.x+n.width,y:l};break;case ka:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?rs(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case Aa:e[d]=e[d]-(n[u]/2-i[u]/2);break;case Ta:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function ds(t){var e=t.state,n=t.name;e.modifiersData[n]=ls({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const us={name:"popperOffsets",enabled:!0,phase:"read",fn:ds,data:{}};var cs=Math.max,ps=Math.min,hs=Math.round,fs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ms(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:hs(hs(e*a)/a)||0,y:hs(hs(n*a)/a)||0}}function gs(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?ms(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=ka,y=Ia,_=window;if(d){var x=Ca(n),S="clientHeight",w="clientWidth";x===ia(n)&&(x=ca(n),"static"!==ha(x).position&&"absolute"===r&&(S="scrollHeight",w="scrollWidth")),x=x,a!==Ia&&(a!==ka&&a!==Ea||s!==Ta)||(y=Oa,m-=x[S]-i.height,m*=l?1:-1),a!==ka&&(a!==Ia&&a!==Oa||s!==Ta)||(b=Ea,h-=x[w]-i.width,h*=l?1:-1)}var C,I=Object.assign({position:r},d&&fs);return l?Object.assign({},I,(C={},C[y]=v?"0":"",C[b]=g?"0":"",C.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},I,(e={},e[y]=v?m+"px":"",e[b]=g?h+"px":"",e.transform="",e))}function vs(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:ss(e.placement),variation:os(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,gs(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,gs(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 bs={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vs,data:{}};function ys(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];oa(a)&&ua(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 _s(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}),{});oa(i)&&ua(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const xs={name:"applyStyles",enabled:!0,phase:"write",fn:ys,effect:_s,requires:["computeStyles"]};function Ss(t,e,n){var i=ss(t),a=[ka,Ia].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,[ka,Ea].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function ws(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=Na.reduce((function(t,n){return t[n]=Ss(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 Cs={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ws};var Is={left:"right",right:"left",bottom:"top",top:"bottom"};function Os(t){return t.replace(/left|right|bottom|top/g,(function(t){return Is[t]}))}var Es={start:"end",end:"start"};function ks(t){return t.replace(/start|end/g,(function(t){return Es[t]}))}function Ls(t){var e=ia(t),n=ca(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+pa(t),y:r}}function Ds(t){var e,n=ca(t),i=aa(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=cs(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=cs(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+pa(t),l=-i.scrollTop;return"rtl"===ha(a||n).direction&&(r+=cs(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function As(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&ra(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ts(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function $s(t){var e=na(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 Ps(t,e){return e===Pa?Ts(Ls(t)):oa(e)?$s(e):Ts(Ds(ca(t)))}function Ms(t){var e=_a(ba(t)),n=["absolute","fixed"].indexOf(ha(t).position)>=0,i=n&&oa(t)?Ca(t):t;return sa(i)?e.filter((function(t){return sa(t)&&As(t,i)&&"body"!==ua(t)})):[]}function Bs(t,e,n){var i="clippingParents"===e?Ms(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=Ps(t,n);return e.top=cs(i.top,e.top),e.right=ps(i.right,e.right),e.bottom=ps(i.bottom,e.bottom),e.left=cs(i.left,e.left),e}),Ps(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 Rs(){return{top:0,right:0,bottom:0,left:0}}function Ns(t){return Object.assign({},Rs(),t)}function Vs(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function js(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?$a:s,r=n.rootBoundary,l=void 0===r?Pa:r,d=n.elementContext,u=void 0===d?Ma:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=Ns("number"!==typeof f?f:Vs(f,Da)),g=u===Ma?Ba:Ma,v=t.rects.popper,b=t.elements[p?g:u],y=Bs(sa(b)?b:b.contextElement||ca(t.elements.popper),o,l),_=na(t.elements.reference),x=ls({reference:_,element:v,strategy:"absolute",placement:a}),S=Ts(Object.assign({},v,x)),w=u===Ma?S:_,C={top:y.top-w.top+m.top,bottom:w.bottom-y.bottom+m.bottom,left:y.left-w.left+m.left,right:w.right-y.right+m.right},I=t.modifiersData.offset;if(u===Ma&&I){var O=I[a];Object.keys(C).forEach((function(t){var e=[Ea,Oa].indexOf(t)>=0?1:-1,n=[Ia,Oa].indexOf(t)>=0?"y":"x";C[t]+=O[n]*e}))}return C}function Hs(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?Na:l,u=os(i),c=u?r?Ra:Ra.filter((function(t){return os(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]=js(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[ss(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Fs(t){if(ss(t)===La)return[];var e=Os(t);return[ks(t),e,ks(e)]}function qs(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=ss(g),b=v===g,y=l||(b||!f?[Os(g)]:Fs(g)),_=[g].concat(y).reduce((function(t,n){return t.concat(ss(n)===La?Hs(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),x=e.rects.reference,S=e.rects.popper,w=new Map,C=!0,I=_[0],O=0;O<_.length;O++){var E=_[O],k=ss(E),L=os(E)===Aa,D=[Ia,Oa].indexOf(k)>=0,A=D?"width":"height",T=js(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),$=D?L?Ea:ka:L?Oa:Ia;x[A]>S[A]&&($=Os($));var P=Os($),M=[];if(s&&M.push(T[k]<=0),r&&M.push(T[$]<=0,T[P]<=0),M.every((function(t){return t}))){I=E,C=!1;break}w.set(E,M)}if(C)for(var B=f?3:1,R=function(t){var e=_.find((function(e){var n=w.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return I=e,"break"},N=B;N>0;N--){var V=R(N);if("break"===V)break}e.placement!==I&&(e.modifiersData[i]._skip=!0,e.placement=I,e.reset=!0)}}const Ks={name:"flip",enabled:!0,phase:"main",fn:qs,requiresIfExists:["offset"],data:{_skip:!1}};function Ws(t){return"x"===t?"y":"x"}function zs(t,e,n){return cs(t,ps(e,n))}function Us(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=js(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=ss(e.placement),b=os(e.placement),y=!b,_=rs(v),x=Ws(_),S=e.modifiersData.popperOffsets,w=e.rects.reference,C=e.rects.popper,I="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,O={x:0,y:0};if(S){if(s||r){var E="y"===_?Ia:ka,k="y"===_?Oa:Ea,L="y"===_?"height":"width",D=S[_],A=S[_]+g[E],T=S[_]-g[k],$=h?-C[L]/2:0,P=b===Aa?w[L]:C[L],M=b===Aa?-C[L]:-w[L],B=e.elements.arrow,R=h&&B?va(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Rs(),V=N[E],j=N[k],H=zs(0,w[L],R[L]),F=y?w[L]/2-$-H-V-I:P-H-V-I,q=y?-w[L]/2+$+H+j+I:M+H+j+I,K=e.elements.arrow&&Ca(e.elements.arrow),W=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,z=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,U=S[_]+F-z-W,Z=S[_]+q-z;if(s){var G=zs(h?ps(A,U):A,D,h?cs(T,Z):T);S[_]=G,O[_]=G-D}if(r){var Y="x"===_?Ia:ka,X="x"===_?Oa:Ea,Q=S[x],J=Q+g[Y],tt=Q-g[X],et=zs(h?ps(J,U):J,Q,h?cs(tt,Z):tt);S[x]=et,O[x]=et-Q}}e.modifiersData[i]=O}}const Zs={name:"preventOverflow",enabled:!0,phase:"main",fn:Us,requiresIfExists:["offset"]};var Gs=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,Ns("number"!==typeof t?t:Vs(t,Da))};function Ys(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=ss(n.placement),l=rs(r),d=[ka,Ea].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=Gs(a.padding,n),p=va(s),h="y"===l?Ia:ka,f="y"===l?Oa:Ea,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=Ca(s),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,_=c[h],x=b-p[u]-c[f],S=b/2-p[u]/2+y,w=zs(_,S,x),C=l;n.modifiersData[i]=(e={},e[C]=w,e.centerOffset=w-S,e)}}function Xs(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))&&As(e.elements.popper,a)&&(e.elements.arrow=a)}const Qs={name:"arrow",enabled:!0,phase:"main",fn:Ys,effect:Xs,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Js(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 to(t){return[Ia,Ea,Oa,ka].some((function(e){return t[e]>=0}))}function eo(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=js(e,{elementContext:"reference"}),r=js(e,{altBoundary:!0}),l=Js(o,i),d=Js(r,a,s),u=to(l),c=to(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 no={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:eo};var io=[as,us,bs,xs,Cs,Ks,Zs,Qs,no],ao=es({defaultModifiers:io}),so="tippy-box",oo="tippy-content",ro="tippy-backdrop",lo="tippy-arrow",uo="tippy-svg-arrow",co={passive:!0,capture:!0},po=function(){return document.body};function ho(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function fo(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function mo(t,e){return"function"===typeof t?t.apply(void 0,e):t}function go(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function vo(t){return t.split(/\s+/).filter(Boolean)}function bo(t){return[].concat(t)}function yo(t,e){-1===t.indexOf(e)&&t.push(e)}function _o(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function xo(t){return t.split("-")[0]}function So(t){return[].slice.call(t)}function wo(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function Co(){return document.createElement("div")}function Io(t){return["Element","Fragment"].some((function(e){return fo(t,e)}))}function Oo(t){return fo(t,"NodeList")}function Eo(t){return fo(t,"MouseEvent")}function ko(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function Lo(t){return Io(t)?[t]:Oo(t)?So(t):Array.isArray(t)?t:So(document.querySelectorAll(t))}function Do(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function Ao(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function To(t){var e,n=bo(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function $o(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=xo(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 Po(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function Mo(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 Bo={isTouch:!1},Ro=0;function No(){Bo.isTouch||(Bo.isTouch=!0,window.performance&&document.addEventListener("mousemove",Vo))}function Vo(){var t=performance.now();t-Ro<20&&(Bo.isTouch=!1,document.removeEventListener("mousemove",Vo)),Ro=t}function jo(){var t=document.activeElement;if(ko(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Ho(){document.addEventListener("touchstart",No,co),window.addEventListener("blur",jo)}var Fo="undefined"!==typeof window&&"undefined"!==typeof document,qo=!!Fo&&!!window.msCrypto;var Ko={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},zo=Object.assign({appendTo:po,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},Ko,Wo),Uo=Object.keys(zo),Zo=function(t){var e=Object.keys(t);e.forEach((function(e){zo[e]=t[e]}))};function Go(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=zo[a])?i:s);return e}),{});return Object.assign({},t,n)}function Yo(t,e){var n=e?Object.keys(Go(Object.assign({},zo,{plugins:e}))):Uo,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 Xo(t,e){var n=Object.assign({},e,{content:mo(e.content,[t])},e.ignoreAttributes?{}:Yo(t,e.plugins));return n.aria=Object.assign({},zo.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 Qo=function(){return"innerHTML"};function Jo(t,e){t[Qo()]=e}function tr(t){var e=Co();return!0===t?e.className=lo:(e.className=uo,Io(t)?e.appendChild(t):Jo(e,t)),e}function er(t,e){Io(e.content)?(Jo(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?Jo(t,e.content):t.textContent=e.content)}function nr(t){var e=t.firstElementChild,n=So(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(oo)})),arrow:n.find((function(t){return t.classList.contains(lo)||t.classList.contains(uo)})),backdrop:n.find((function(t){return t.classList.contains(ro)}))}}function ir(t){var e=Co(),n=Co();n.className=so,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=Co();function a(n,i){var a=nr(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||er(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(tr(i.arrow))):s.appendChild(tr(i.arrow)):r&&s.removeChild(r)}return i.className=oo,i.setAttribute("data-state","hidden"),er(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}ir.$$tippy=!0;var ar=1,sr=[],or=[];function rr(t,e){var n,i,a,s,o,r,l,d=Xo(t,Object.assign({},zo,Go(wo(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=go(Y,d.interactiveDebounce),g=ar++,v=null,b=_o(d.plugins),y={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:Co(),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 x=d.render(_),S=x.popper,w=x.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+_.id,_.popper=S,t._tippy=_,S._tippy=_;var C=b.map((function(t){return t.fn(_)})),I=t.hasAttribute("aria-expanded");return U(),B(),$(),P("onCreate",[_]),d.showOnCreate&&at(),S.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),S.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?To(t):document}function A(){return nr(S)}function T(t){return _.state.isMounted&&!_.state.isVisible||Bo.isTouch||s&&"focus"===s.type?0:ho(_.props.delay,t?0:1,zo.delay)}function $(t){void 0===t&&(t=!1),S.style.pointerEvents=_.props.interactive&&!t?"":"none",S.style.zIndex=""+_.props.zIndex}function P(t,e,n){var i;(void 0===n&&(n=!0),C.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=S.id,a=bo(_.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 B(){if(!I&&_.props.aria.expanded){var e=bo(_.props.triggerTarget||t);e.forEach((function(t){_.props.interactive?t.setAttribute("aria-expanded",_.state.isVisible&&t===L()?"true":"false"):t.removeAttribute("aria-expanded")}))}}function R(){D().removeEventListener("mousemove",m),sr=sr.filter((function(t){return t!==m}))}function N(e){if(!Bo.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!Mo(S,n)){if(bo(_.props.triggerTarget||t).some((function(t){return Mo(t,n)}))){if(Bo.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||F())}}}function V(){p=!0}function j(){p=!1}function H(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,co),t.addEventListener("touchstart",j,co),t.addEventListener("touchmove",V,co)}function F(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,co),t.removeEventListener("touchstart",j,co),t.removeEventListener("touchmove",V,co)}function q(t,e){W(t,(function(){!_.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&e()}))}function K(t,e){W(t,e)}function W(t,e){var n=A().box;function i(t){t.target===n&&(Po(n,"remove",i),e())}if(0===t)return e();Po(n,"remove",o),Po(n,"add",i),o=i}function z(e,n,i){void 0===i&&(i=!1);var a=bo(_.props.triggerTarget||t);a.forEach((function(t){t.addEventListener(e,n,i),f.push({node:t,eventType:e,handler:n,options:i})}))}function U(){E()&&(z("touchstart",G,{passive:!0}),z("touchend",X,{passive:!0})),vo(_.props.trigger).forEach((function(t){if("manual"!==t)switch(z(t,G),t){case"mouseenter":z("mouseleave",X);break;case"focus":z(qo?"focusout":"blur",Q);break;case"focusin":z("focusout",Q);break}}))}function Z(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function G(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,B(),!_.state.isVisible&&Eo(t)&&sr.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)||S.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(S).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);$o(i,t)&&(R(),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&&S.contains(t.relatedTarget)||st(t)}function J(t){return!!Bo.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()?nr(S).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=ao(d,S,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===po||"parent"===e?n.parentNode:mo(e,[n]),t.contains(S)||t.appendChild(S),_.state.isMounted=!0,tt()}function it(){return So(S.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&P("onTrigger",[_,t]),H();var e=T(!0),i=O(),a=i[0],s=i[1];Bo.isTouch&&"hold"===a&&s&&(e=s),e?n=setTimeout((function(){_.show()}),e):_.show()}function st(t){if(_.clearDelayTimeouts(),P("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 F()}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){P("onBeforeUpdate",[_,e]),Z();var n=_.props,i=Xo(t,Object.assign({},n,wo(e),{ignoreAttributes:!0}));_.props=i,U(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=go(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?bo(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),$(),w&&w(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),P("onAfterUpdate",[_,e])}}function ut(t){_.setProps({content:t})}function ct(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=Bo.isTouch&&!_.props.touch,a=ho(_.props.duration,0,zo.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&(P("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(S.style.visibility="visible"),$(),H(),_.state.isMounted||(S.style.transition="none"),k()){var s=A(),o=s.box,l=s.content;Do([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,S.offsetHeight,S.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=A(),n=e.box,i=e.content;Do([n,i],a),Ao([n,i],"visible")}M(),B(),yo(or,_),null==(t=_.popperInstance)||t.forceUpdate(),P("onMount",[_]),_.props.animation&&k()&&K(a,(function(){_.state.isShown=!0,P("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=ho(_.props.duration,1,zo.duration);if(!(t||e||n)&&(P("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(S.style.visibility="hidden"),R(),F(),$(!0),k()){var a=A(),s=a.box,o=a.content;_.props.animation&&(Do([s,o],i),Ao([s,o],"hidden"))}M(),B(),_.props.animation?k()&&q(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),yo(sr,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),S.parentNode&&S.parentNode.removeChild(S),or=or.filter((function(t){return t!==_})),_.state.isMounted=!1,P("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),Z(),delete t._tippy,_.state.isDestroyed=!0,P("onDestroy",[_]))}}function lr(t,e){void 0===e&&(e={});var n=zo.plugins.concat(e.plugins||[]);Ho();var i=Object.assign({},e,{plugins:n}),a=Lo(t),s=a.reduce((function(t,e){var n=e&&rr(e,i);return n&&t.push(n),t}),[]);return Io(t)?s[0]:s}lr.defaultProps=zo,lr.setDefaultProps=Zo,lr.currentInput=Bo;Object.assign({},xs,{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 dr={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&&ur(s,e)||l&&ur(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function ur(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}lr.setDefaultProps({render:ir});const cr=lr,pr=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),hr=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],fr=[!0,!1,"reference","popper"],mr=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,cr(t,{...e,plugins:[dr],render:()=>yr(n)})},gr=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}},pr((t=>{let{state:e}=t;n(e.placement)}))]}},vr=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},br=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?(L(n)||n.setAttribute("tabindex",e),n):vr(t)},yr=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},_r={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},xr={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},Sr=["dialog","menu","listbox","tree","grid"],wr=[null,"anchor"],Cr=["none","dialog","first"],Ir=[...fr];let Or="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Er=(t=21)=>{let e="",n=t;while(n--)e+=Or[64*Math.random()|0];return e};function kr(t){return kr="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},kr(t)}var Lr={selector:"vue-portal-target-".concat(Er())},Dr=function(t){return Lr.selector=t},Ar="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":kr(document)),Tr=r().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)}}),$r=r().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(Ar)return document.querySelector(this.selector)},insertTargetEl:function(){if(Ar){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(Ar){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new Tr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function Pr(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",$r),e.defaultSelector&&Dr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===r()&&r().use(Pr);var Mr=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("icon-close",{staticClass:"d-svg--size20"})]},proxy:!0}],null,!1,2493961913)},"dt-button",t.closeButtonProps,!1)):t._e()],1)},Br=[];const Rr={name:"PopoverHeaderFooter",components:{DtButton:oe,IconClose:jt},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()}}},Nr=Rr;var Vr=B(Nr,Mr,Br,!1,null,null,null);const jr=Vr.exports,Hr={name:"DtPopover",components:{SrOnlyCloseButton:he,DtLazyShow:Ri,PopoverHeaderFooter:jr,Portal:$r},mixins:[xe,re],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=>Sr.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(_r).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>wr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return C()}},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=>Ir.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=>Cr.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:_r,POPOVER_HEADER_FOOTER_PADDING_CLASSES:xr,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&&C("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=mr(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 gr({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()}}},Fr=Hr;n(155);var qr=B(Fr,ta,ea,!1,null,null,null);const Kr=qr.exports,Wr={none:void 0,small:"d-py6",large:"d-py12"},zr={name:"DtDropdown",components:{DtPopover:Kr,SrOnlyCloseButton:he},mixins:[un({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),re],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 C()}},navigationType:{type:String,default:gn.ARROW_KEYS,validator:t=>Object.values(gn).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:gn,DROPDOWN_PADDING_CLASSES:Wr,EVENT_KEYNAMES:m,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{const e=t.code;switch(e){case m.up:case m.arrowup:this.onKeyValidation(t,"onUpKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.down:case m.arrowdown:this.onKeyValidation(t,"onDownKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.space:case m.spacebar:this.onSpaceKey();break;case m.enter:this.onEnterKey();break;case m.home:this.onKeyValidation(t,"onHomeKeyPress"),t.stopPropagation(),t.preventDefault();break;case m.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)}}},Ur=zr;n(427);var Zr=B(Ur,Qi,Ji,!1,null,null,null);const Gr=Zr.exports;var Yr=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)])},Xr=[];const Qr={name:"DtDropdownList",props:{heading:{type:String,default:""},listClass:{type:[String,Array,Object],default:""}}},Jr=Qr;var tl=B(Jr,Yr,Xr,!1,null,null,null);const el=tl.exports;var nl=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"}})},il=[];const al={name:"DtDropdownSeparator"},sl=al;n(717);var ol=B(sl,nl,il,!1,null,null,null);const rl=ol.exports;var ll=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.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)},dl=[];const ul={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},cl={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var pl=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()},hl=[];function fl(t){return!t||t.every((t=>"string"===typeof t||"object"===typeof t&&Object.values(c).includes(null===t||void 0===t?void 0:t.type)))}const ml={name:"DtValidationMessages",props:{id:{type:String,default(){return C()}},validationMessages:{type:Array,default:()=>[],validator:t=>fl(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return O(this.validationMessages)},validationState(){return E(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]}}},gl=ml;var vl=B(gl,pl,hl,!1,null,null,null);const bl=vl.exports,yl={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(c).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||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},_l={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}}},xl={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&&r().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)}},Sl={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>fl(t)}},computed:{formattedMessages(){return I(this.messages)}}},wl={name:"DtInput",components:{DtValidationMessages:bl},mixins:[Sl],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:ul.TEXT,validator:t=>Object.values(ul).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(cl).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(cl).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===ul.TEXTAREA},isDefaultSize(){return this.size===cl.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===cl.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(cl).includes(this.size)},isValidDescriptionSize(){return Object.values(p).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-${C()}`},inputState(){return E(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?c.WARNING:null:c.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}}},Cl=wl;var Il=B(Cl,ll,dl,!1,null,null,null);const Ol=Il.exports;var El=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)},kl=[];const Ll={components:{DtValidationMessages:bl},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return C()}},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=>fl(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=I(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:E(t)}}},computed:{formattedMessages(){return I(this.messages)},validationState(){return E(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"]||r().util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},Dl={name:"DtInputGroup",components:{DtValidationMessages:bl},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}`}}},Al=Dl;var Tl=B(Al,El,kl,!1,null,null,null);const $l=Tl.exports;var Pl=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,kind:t.kind},on:{click:t.close},scopedSlots:t._u([{key:"icon",fn:function(){return[n("icon-close")]},proxy:!0}],null,!1,4267981299)},"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)},Ml=[];const Bl={default:"",danger:"d-modal--danger"},Rl={default:"",full:"d-modal--full"},Nl={name:"DtModal",components:{DtLazyShow:Ri,DtButton:oe,IconClose:jt,SrOnlyCloseButton:he},mixins:[xe,re],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return C()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(Bl).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(Rl).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:Bl,MODAL_SIZE_MODIFIERS:Rl,EVENT_KEYNAMES:m}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close(),this.$emit("click",t)},keydown:t=>{switch(t.code){case m.esc:case m.escape:this.close();break;case m.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")}}},Vl=Nl;var jl=B(Vl,Pl,Ml,!1,null,null,null);const Hl=jl.exports;var Fl=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)])},ql=[];const Kl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:oe},props:{id:{type:String,default(){return $.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=Kl;n(792);var zl=B(Wl,Fl,ql,!1,null,null,null);const Ul=zl.exports;var Zl=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)},Gl=[];const Yl={name:"DtListItemGroup",props:{id:{type:String,default(){return C()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}},Xl=Yl;var Ql=B(Xl,Zl,Gl,!1,null,null,null);const Jl=Ql.exports;var td=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",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")],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)},ed=[];const nd={name:"DtNotice",components:{DtNoticeIcon:Et,DtNoticeContent:$t,DtNoticeAction:ve},mixins:[re],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 St.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return xt.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}]}}},id=nd;var ad=B(id,td,ed,!1,null,null,null);const sd=ad.exports;var od=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("icon-chevron-left")],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("icon-chevron-right")],1)],2)],2)},rd=[],ld=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__chevronLeft",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Chevron Left",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59Z"}})])},dd=[],ud={},cd=B(ud,ld,dd,!1,null,null,null);const pd=cd.exports;var hd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__chevronRight",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Chevron Right",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6Z"}})])},fd=[],md={},gd=B(md,hd,fd,!1,null,null,null);const vd=gd.exports,bd={name:"DtPagination",components:{DtButton:oe,IconChevronLeft:pd,IconChevronRight:vd},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)}}},yd=bd;var _d=B(yd,od,rd,!1,null,null,null);const xd=_d.exports;var Sd=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)])])},wd=[];const Cd={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Id={name:"DtRadio",components:{DtValidationMessages:bl},mixins:[yl,_l,xl,Sl],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Cd[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))}}},Od=Id;var Ed=B(Od,Sd,wd,!1,null,null,null);const kd=Ed.exports,Ld={name:"DtRadioGroup",extends:$l,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}`}}},Dd=Ld;var Ad,Td,$d=B(Dd,Ad,Td,!1,null,null,null);const Pd=$d.exports;var Md=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)},Bd=[];const Rd=["default","sm"],Nd={sm:"d-tablist--sm"},Vd={inverted:"d-tablist--inverted"},jd={borderless:"d-tablist--no-border"},Hd={selected:"d-tab--selected"},Fd={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 Rd.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:Nd,TAB_LIST_KIND_MODIFIERS:Vd,TAB_LIST_IMPORTANCE_MODIFIERS:jd}},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())}}},qd=Fd;var Kd=B(qd,Md,Bd,!1,null,null,null);const Wd=Kd.exports;var zd=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)},Ud=[];const Zd={name:"DtTab",components:{DtButton:oe},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:Hd}},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})}}},Gd=Zd;var Yd=B(Gd,zd,Ud,!1,null,null,null);const Xd=Yd.exports;var Qd=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)},Jd=[];const tu={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}}},eu=tu;var nu=B(eu,Qd,Jd,!1,null,null,null);const iu=nu.exports;var au=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()])])},su=[];const ou={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},ru={name:"DtCheckbox",components:{DtValidationMessages:bl},mixins:[yl,_l,xl,Sl],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return ou[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"])}}},lu=ru;var du=B(lu,au,su,!1,null,null,null);const uu=du.exports,cu={name:"DtCheckboxGroup",extends:$l,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>!t||(r().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}`}}},pu=cu;var hu,fu,mu=B(pu,hu,fu,!1,null,null,null);const gu=mu.exports;var vu=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("icon-close")]},proxy:!0}],null,!1,4267981299)},"dt-button",t.closeButtonProps,!1))],1)},bu=[];const yu={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},_u={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},xu={name:"DtChip",components:{IconClose:jt,DtButton:oe},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(yu).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return C()}},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)}}}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",yu[this.size]]},chipCloseButtonClasses(){return["d-chip__close",_u[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Su=xu;var wu=B(Su,vu,bu,!1,null,null,null);const Cu=wu.exports;var Iu=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)},Ou=[];const Eu={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},ku={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Lu=t=>!t.index||"number"===typeof t.index,Du=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),Au=t=>!!t.label&&"string"===typeof t.label,Tu=t=>!t||t.every((t=>!!Lu(t)&&(!!Du(t)&&!!Au(t)))),$u={name:"DtSelectMenu",components:{DtValidationMessages:bl},mixins:[Sl],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>Tu(t)},size:{type:String,default:"md",validator:t=>Object.keys(Eu).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:f,DESCRIPTION_SIZE_MODIFIERS:h,SELECT_SIZE_MODIFIERS:Eu,SELECT_STATE_MODIFIERS:ku}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return E(this.formattedMessages)},selectKey(){return C()},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&&r().util.warn("Options are expected to be provided via prop or slot",this)}}},Pu=$u;var Mu=B(Pu,Iu,Ou,!1,null,null,null);const Bu=Mu.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()},Nu=[];const Vu=["status","alert"],ju=6e3,Hu={name:"DtToast",components:{DtNoticeIcon:Et,DtNoticeContent:$t,DtNoticeAction:ve},mixins:[re],props:{titleId:{type:String,default(){return $.getUniqueString()}},contentId:{type:String,default(){return $.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>Vu.includes(t)},kind:{type:String,default:"base",validator:t=>xt.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>=ju}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:ju}},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))}}},Fu=Hu;var qu=B(Fu,Ru,Nu,!1,null,null,null);const Ku=qu.exports;var Wu=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()])])},zu=[];const Uu={sm:"d-toggle--small",md:""},Zu=[!1,!0,"mixed"],Gu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return $.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>Zu.includes(t)},size:{type:String,default:"md",validator:t=>Object.keys(Uu).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",Uu[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||r().util.warn("You must provide an aria-label when there is no label passed",this)}}},Yu=Gu;var Xu=B(Yu,Wu,zu,!1,null,null,null);const Qu=Xu.exports;var Ju=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)},tc=[];const ec=[...hr],nc={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},ic=[...fr],ac=[!0,!1,"toggle"],sc={name:"Tooltip",components:{DtLazyShow:Ri},props:{id:{type:String,default(){return C()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return ec.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>ic.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:nc,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:gr({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=mr(br(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 br(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}}}},oc=sc;n(664);var rc=B(oc,Ju,tc,!1,null,null,null);const lc=rc.exports;var dc=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(t.icons[e],{key:i+"-"+e,tag:"component",class:["dt-keyboard-shortcut__svg",t.inverted?"d-fc-black-300":"d-fc-black-600","d-mr2"],attrs:{"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)},uc=[],cc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__windows",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Windows",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016Z"}}),n("path",{attrs:{d:"m10.936 5.334 8.967-1.249V11.5h-8.967V5.334Z"}}),n("path",{attrs:{d:"M9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03Z"}}),n("path",{attrs:{d:"m3.097 6.328 6.647-.885v6.134H3.1l-.003-5.25Z"}})])},pc=[],hc={},fc=B(hc,cc,pc,!1,null,null,null);const mc=fc.exports;var gc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__add",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Add",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2Z"}})])},vc=[],bc={},yc=B(bc,gc,vc,!1,null,null,null);const _c=yc.exports;var xc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowDownward",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Downward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8Z"}})])},Sc=[],wc={},Cc=B(wc,xc,Sc,!1,null,null,null);const Ic=Cc.exports;var Oc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowUpward",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Upward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8Z"}})])},Ec=[],kc={},Lc=B(kc,Oc,Ec,!1,null,null,null);const Dc=Lc.exports;var Ac=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowForward",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Forward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8Z"}})])},Tc=[],$c={},Pc=B($c,Ac,Tc,!1,null,null,null);const Mc=Pc.exports;var Bc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowBackwards",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Backwards",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m12 20 1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8Z"}})])},Rc=[],Nc={},Vc=B(Nc,Bc,Rc,!1,null,null,null);const jc=Vc.exports,Hc={cmd:"⌘"},Fc={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},qc={"{plus}":"IconAdd"},Kc=Object.keys(Hc).map((t=>`{${t}}`)).concat(Object.keys(Fc)),Wc={name:"DtKeyboardShortcut",components:{IconWindows:mc,IconArrowBackward:jc,IconArrowDownward:Ic,IconArrowForward:Mc,IconArrowUpward:Dc,IconAdd:_c},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:Fc,separator:/\+/gi}},computed:{icons(){return{...Fc,...qc}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(Hc).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),Hc[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},zc=Wc;n(377);var Uc=B(zc,dc,uc,!1,null,null,null);const Zc=Uc.exports;var Gc=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([{key:"sidebar",fn:function(){return[t._t("sidebar")]},proxy:!0},{key:"content",fn:function(){return[t._t("default")]},proxy:!0}],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)},Yc=[],Xc=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()])},Qc=[];const Jc={LEFT:"left",RIGHT:"right"},tp={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===Jc.RIGHT}]}}},ep=tp;n(263);var np=B(ep,Xc,Qc,!1,null,null,null);const ip=np.exports,ap={name:"DtRootLayout",components:{DtRootLayoutBody:ip},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(Jc).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},sp=ap;n(987);var op=B(sp,Gc,Yc,!1,null,null,null);const rp=op.exports;var lp=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"}})},dp=[];const up={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"},cp=require("@dialpad/dialtone-icons"),pp={name:"DtIcon",props:{size:{type:String,default:"500",validator:t=>Object.keys(up).includes(t)},name:{type:String,required:!0}},data(){return{dialtoneIcons:cp}},computed:{iconSize(){return up[this.size]},iconName(){return T(this.name)},currentIcon(){return this.dialtoneIcons[this.iconName]}}},hp=pp;var fp=B(hp,lp,dp,!1,null,null,null);const mp=fp.exports;var gp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,"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-aria-label":t.listAriaLabel,"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))},vp=[];const bp={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:wi,DtPopover:Kr,ComboboxLoadingList:hi,ComboboxEmptyList:yi},mixins:[re],props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return C()}},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=>wr.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:C()}},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.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(t){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},yp=bp;var _p=B(yp,gp,vp,!1,null,null,null);const xp=_p.exports;var Sp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{"list-aria-label":"listAriaLabel","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:{label: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)})},wp=[];const Cp={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Ip={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:xp,DtInput:Ol,DtChip:Cu,DtValidationMessages:bl},mixins:[re],props:{label:{type:String,default:null},description:{type:String,default:null},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>fl(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(Cp).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)}}},Op=Ip;var Ep=B(Op,Sp,wp,!1,null,null,null);const kp=Ep.exports;var Lp=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)},Dp=[];const Ap={name:"DtRecipeCallbarButton",components:{DtButton:oe,DtTooltip:lc},inheritAttrs:!0,props:{id:{type:String,default(){return $.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}]}}},Tp=Ap;n(39);var $p=B(Tp,Lp,Dp,!1,null,null,null);const Pp=$p.exports;var Mp=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("icon-arrow-drop-up",{staticClass:"d-svg--size-16"})]},proxy:!0}],null,!1,2876394386)})]},proxy:!0}],null,!1,685243388)},"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)},Bp=[],Rp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__arrowDropUp",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Arrow Drop Up",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"m7 14 5-5 5 5H7Z"}})])},Np=[],Vp={},jp=B(Vp,Rp,Np,!1,null,null,null);const Hp=jp.exports,Fp={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:Pp,DtPopover:Kr,DtButton:oe,IconArrowDropUp:Hp},inheritAttrs:!1,props:{id:{type:String,default(){return $.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}}},qp=Fp;n(724);var Kp=B(qp,Mp,Bp,!1,null,null,null);const Wp=Kp.exports;var zp=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)})},Up=[];const Zp={none:"",green:"d-bgc-green-300",gold:"d-bgc-gold-200",red:"d-bgc-red-200"},Gp={name:"DtRecipeContactInfo",components:{DtAvatar:N,DtListItem:On},props:{id:{type:String,default(){return $.getUniqueString()}},role:{type:String,default:""},avatarSrc:{type:String,default:""},avatarInitials:{type:String,default:""},avatarColor:{type:String,default:"base",validator:t=>Object.keys(u).includes(t)},userStatusColor:{type:String,default:"none",validator:t=>Object.keys(Zp).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:Zp}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Yp=Gp;var Xp=B(Yp,zp,Up,!1,null,null,null);const Qp=Xp.exports;var Jp=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)])},th=[];const eh=["green300","green100","red200","red100","gold100","gold200","black100","white"],nh={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return eh.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]]}}},ih=nh;n(486);var ah=B(ih,Jp,th,!1,null,null,null);const sh=ah.exports;var oh=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(t.nodeIcon,{tag:"component",staticClass:"d-fc-black-900"})]},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("icon-menu-vertical",{staticClass:"d-fc-black-900"})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function(){return[n("div",{staticClass:"d-w164"},[t._t("menuItems")],2)]},proxy:!0}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[t._t("content")]},proxy:!0}],null,!0)})],1)},rh=[],lh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__menuVertical",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Menu Vertical",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"}})])},dh=[],uh={},ch=B(uh,lh,dh,!1,null,null,null);const ph=ch.exports;var hh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__dialpad",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Dialpad",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M6 4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm12-8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2Zm-6 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z"}})])},fh=[],mh={},gh=B(mh,hh,fh,!1,null,null,null);const vh=gh.exports;var bh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__phoneDialer",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Phone Dialer",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M16.48 14.82c1.11.36 2.3.56 3.53.56.54 0 .99.45.99.99v3.45c0 .55-.28 1.18-.99 1.18C10.73 21 3 13.28 3 3.99 3 3.24 3.65 3 4.19 3h3.46c.54 0 .99.45.99.99 0 1.23.19 2.42.56 3.53.11.35.03.74-.24 1.02L7.01 10.2c1.41 2.93 4.06 5.48 6.89 6.83l1.57-1.97c.27-.27.66-.36 1.01-.24Z"}}),n("path",{attrs:{d:"M20 6h-8v1h8V6Zm0-2h-8v1h8V4Zm-8 7h4v-1h-4v1Z"}}),n("path",{attrs:{d:"M12 8h8v1h-8V8Z"}})])},yh=[],_h={},xh=B(_h,bh,yh,!1,null,null,null);const Sh=xh.exports;var wh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__volumeUp",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Volume Up",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M3 9v6h4l5 5V4L7 9H3Zm13.5 3A4.5 4.5 0 0 0 14 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02ZM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77Z"}})])},Ch=[],Ih={},Oh=B(Ih,wh,Ch,!1,null,null,null);const Eh=Oh.exports;var kh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__phoneTransfer",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Phone Transfer",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M16.48 14.82c1.11.36 2.3.56 3.53.56.54 0 .99.45.99.99v3.45c0 .55-.28 1.18-.99 1.18C10.73 21 3 13.28 3 3.99 3 3.24 3.65 3 4.19 3h3.46c.54 0 .99.45.99.99 0 1.23.19 2.42.56 3.53.11.35.03.74-.24 1.02L7.01 10.2c1.41 2.93 4.06 5.48 6.89 6.83l1.57-1.97c.27-.27.66-.36 1.01-.24Z"}}),n("path",{attrs:{d:"M15.49 4.75V3L13 5.5 15.49 8V6.25H21v-1.5h-5.51Z"}}),n("path",{attrs:{d:"M18.51 9H13v1.5h5.51v1.75L21 9.75l-2.49-2.5V9Z"}})])},Lh=[],Dh={},Ah=B(Dh,kh,Lh,!1,null,null,null);const Th=Ah.exports;var $h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__callEndArrow",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Call End Arrow",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 7c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 11.08a.956.956 0 0 1-.29-.7c0-.28.11-.53.29-.71C3.34 6.78 7.46 5 12 5c4.54 0 8.66 1.78 11.71 4.67.18.18.29.43.29.71 0 .28-.11.53-.29.71l-2.48 2.48c-.18.18-.43.29-.71.29-.27 0-.52-.11-.7-.28a11.27 11.27 0 0 0-2.67-1.85.996.996 0 0 1-.56-.9v-3.1C15.15 7.25 13.6 7 12 7Z"}}),n("path",{attrs:{d:"M15.59 16.09 13 18.67V11h-2v7.67l-2.59-2.58L7 17.5l5 5 5-5-1.41-1.41Z"}})])},Ph=[],Mh={},Bh=B(Mh,$h,Ph,!1,null,null,null);const Rh=Bh.exports;var Nh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__callMerge",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Call Merge",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M17 20.41 18.41 19 15 15.59 13.59 17 17 20.41ZM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8Z"}})])},Vh=[],jh={},Hh=B(jh,Nh,Vh,!1,null,null,null);const Fh=Hh.exports;var qh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__expertNode",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Expert Node",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M18 5H6a1 1 0 0 0-1 1v4.25c0 .414.336.75.75.75h5.42L9.126 8.946l1.41-1.41L15 12l-4.464 4.465-1.41-1.41L11.17 13H5.25A2.25 2.25 0 0 1 3 10.75V6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-3h2v3a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1Z"}})])},Kh=[],Wh={},zh=B(Wh,qh,Kh,!1,null,null,null);const Uh=zh.exports;var Zh=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"d-svg d-svg--system d-svg__branch",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Branch",viewBox:"0 0 24 24"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 7.83a3.001 3.001 0 1 0-2 0V10H7a3 3 0 0 0-3 3v.17a3.001 3.001 0 1 0 2 0V13a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v3.17a3.001 3.001 0 1 0 2 0V13a3 3 0 0 0-3-3h-4V7.83ZM13 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM5 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm15 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}})])},Gh=[],Yh={},Xh=B(Yh,Zh,Gh,!1,null,null,null);const Qh=Xh.exports,Jh="promptmenu",tf="promptcollect",ef="promptplay",nf="gotoexpert",af="goto",sf="branch",of="transfer",rf="hangup",lf={[Jh]:vh,[tf]:Sh,[ef]:Eh,[nf]:Uh,[sf]:Qh,[af]:Fh,[of]:Th,[rf]:Rh},df={[Jh]:"Menu",[tf]:"Collect",[ef]:"Play",[nf]:"Expert",[sf]:"Branch",[af]:"Go-to",[of]:"Transfer",[rf]:"Hangup"},uf={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"}},cf={[Jh]:uf.PROMPT,[tf]:uf.PROMPT,[ef]:uf.PROMPT,[nf]:uf.LOGIC,[sf]:uf.LOGIC,[af]:uf.LOGIC,[of]:uf.TERMINAL,[rf]:uf.TERMINAL},pf={name:"DtRecipeIvrNode",components:{DtCard:sn,DtButton:oe,DtDropdown:Gr,IconMenuVertical:ph},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 lf[this.nodeType]},headerColor(){const{normal:t,selected:e}=cf[this.nodeType];return this.isSelected?e:t}},methods:{openMenu(){this.isOpen=!0}}},hf=pf;n(183);var ff=B(hf,oh,rh,!1,null,null,null);const mf=ff.exports;var gf=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)},vf=[];const bf={name:"DtRecipeGroupedChip",components:{DtChip:Cu},computed:{}},yf=bf;var _f=B(yf,gf,vf,!1,null,null,null);const xf=_f.exports})(),i})()));
|
|
2
2
|
//# sourceMappingURL=dialtone-vue.umd.min.js.map
|