@dialpad/dialtone-vue 2.22.2 → 2.22.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(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={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--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-400-h),var(--black-400-s),var(--black-400-l),.15);cursor:pointer}.dt-list-item:focus-visible{outline-color:var(--primary-color)}",""]);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:-webkit-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-075));background:var(--placeholder-from-color,var(--black-075))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}50%{fill:var(--placeholder-to-color,var(--black-025));background:var(--placeholder-to-color,var(--black-025))}90%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}}",""]);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},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]}},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})},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=b.bind(null,i,a,!1),n=b.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 y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function b(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(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:()=>V,BREADCRUMBS_INVERTED_MODIFIER:()=>_e,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>be,BUTTON_GROUP_ALIGNMENT:()=>Ve,CHIP_SIZE_MODIFIERS:()=>jd,COLOR_CODES:()=>Zc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>m,DESCRIPTION_SIZE_TYPES:()=>p,DtAvatar:()=>B,DtBadge:()=>H,DtBanner:()=>ge,DtBreadcrumbItem:()=>Te,DtBreadcrumbs:()=>Be,DtButton:()=>ae,DtButtonGroup:()=>He,DtCheckableInputMixin:()=>Ur,DtCheckbox:()=>Ad,DtCheckboxGroup:()=>Rd,DtChip:()=>Wd,DtCollapsible:()=>Bi,DtCombobox:()=>li,DtDropdown:()=>Mr,DtGroupableInputMixin:()=>Gr,DtInput:()=>Jr,DtInputGroup:()=>ol,DtInputGroupMixin:()=>nl,DtInputMixin:()=>zr,DtKeyboardListNavigationMixin:()=>Ge,DtKeyboardShortcut:()=>hc,DtLazyShow:()=>xi,DtLink:()=>ke,DtListItem:()=>cn,DtListSection:()=>_l,DtModal:()=>fl,DtNotice:()=>Ol,DtPagination:()=>ql,DtPopover:()=>Lr,DtRadio:()=>Zl,DtRadioGroup:()=>ed,DtRecipeComboboxMultiSelect:()=>Vc,DtRecipeComboboxWithPopover:()=>Tc,DtRecipeContactInfo:()=>zc,DtRecipeTopBannerInfo:()=>Jc,DtRootLayout:()=>Oc,DtSelectMenu:()=>iu,DtSkeleton:()=>Gn,DtSkeletonListItem:()=>Kn,DtSkeletonParagraph:()=>jn,DtSkeletonShape:()=>In,DtSkeletonText:()=>$n,DtTab:()=>yd,DtTabGroup:()=>pd,DtTabPanel:()=>Cd,DtToast:()=>cu,DtToggle:()=>vu,DtTooltip:()=>Eu,DtValidationMessages:()=>Wr,INPUT_SIZES:()=>Nr,INPUT_TYPES:()=>Rr,LINK_KIND_MODIFIERS:()=>te,LINK_VARIANTS:()=>Jt,MODAL_KIND_MODIFIERS:()=>dl,MODAL_SIZE_MODIFIERS:()=>ul,MULTI_SELECT_SIZES:()=>$c,NOTICE_KINDS:()=>bt,POPOVER_CONTENT_WIDTHS:()=>lr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>or,POPOVER_INITIAL_FOCUS_STRINGS:()=>dr,POPOVER_PADDING_CLASSES:()=>sr,POPOVER_ROLES:()=>rr,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>yc,SELECT_SIZE_MODIFIERS:()=>Gd,SELECT_STATE_MODIFIERS:()=>Zd,SHORTCUTS_ALIASES:()=>oc,SHORTCUTS_ALIASES_LIST:()=>dc,SHORTCUTS_ICON_ALIASES:()=>rc,SHORTCUTS_ICON_SEPARATOR:()=>lc,SKELETON_HEADING_HEIGHTS:()=>_n,SKELETON_RIPPLE_DURATION:()=>gn,SKELETON_SHAPES:()=>vn,SKELETON_SHAPE_SIZES:()=>bn,SKELETON_TEXT_TYPES:()=>yn,TAB_IMPORTANCE_MODIFIERS:()=>ld,TAB_LIST_IMPORTANCE_MODIFIERS:()=>rd,TAB_LIST_KIND_MODIFIERS:()=>od,TAB_LIST_SIZES:()=>ad,TOAST_ROLES:()=>ou,TOOLTIP_DIRECTIONS:()=>_u,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>wu,TOOLTIP_KIND_MODIFIERS:()=>Su,TOOLTIP_STICKY_VALUES:()=>xu,USER_STATUS_COLOR_MODIFIERS:()=>qc,VALIDATION_MESSAGE_TYPES:()=>c,filterFormattedMessages:()=>I,formatMessages:()=>C,getUniqueString:()=>w,getValidationState:()=>O,validationMessageValidator:()=>Fr}),"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","pink-300":"d-avatar--pink-300","pink-400":"d-avatar--pink-400","pink-500":"d-avatar--pink-500","pink-600":"d-avatar--pink-600","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-500":"d-avatar--purple-500","purple-600":"d-avatar--purple-600","yellow-200":"d-avatar--yellow-200","yellow-300":"d-avatar--yellow-300","yellow-400":"d-avatar--yellow-400","yellow-500":"d-avatar--yellow-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=c.ERROR,g="dt";let v=0;const y="input:not([type=hidden]):not(:disabled)",b="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",_="".concat(y,",").concat(b),S="a,frame,iframe,".concat(_,",*[tabindex]"),x="function"===typeof setImmediate?setImmediate:setTimeout;function w(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;return"".concat(t).concat(v++)}function C(t){return t?t.map((t=>"string"===typeof t?{message:t,type:m}:t)):[]}function I(t){const e=O(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function O(t){return t?E(t,c.ERROR)?c.ERROR:E(t,c.WARNING)?c.WARNING:E(t,c.SUCCESS)?c.SUCCESS:null:null}function E(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 L={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(r())({name:"Inner",beforeCreate(){this.$createElement=t},template:"<div>".concat(e.props.html,"</div>")}).$mount()._vnode.children}},D=()=>new Promise((t=>{x(t)})),A={getUniqueString:w,formatMessages:C,filterFormattedMessages:I,hasFormattedMessageOfType:E,getValidationState:O,htmlFragment:L,flushPromises:D},T={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return w()}},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=T;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 $=M(P,n,s,!1,null,null,null);const B=$.exports;var R=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)},N=[];const V={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","pink-300":"d-badge--pink-300","pink-500":"d-badge--pink-500","pink-600":"d-badge--pink-600","pink-700":"d-badge--pink-700","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-500":"d-badge--purple-500","purple-700":"d-badge--purple-700","red-500":"d-badge--red-500",white:"d-badge--white","yellow-300":"d-badge--yellow-300"},j={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:t=>Object.keys(V).includes(t)}},data(){return{BADGE_COLOR_MODIFIERS:V}}},F=j;var q=M(F,R,N,!1,null,null,null);const H=q.exports;var K=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.bannerClass,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",attrs:{"aria-labelledby":t.titleId,"aria-describedby":t.contentId}},[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}},t.$listeners),[t._t("action")],2)],1)])},W=[],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()},U=[],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","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"}})])},Z=[],Y={},X=M(Y,G,Z,!1,null,null,null);const Q=X.exports;var J=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","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"}})])},tt=[],et={},nt=M(et,J,tt,!1,null,null,null);const it=nt.exports;var at=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","aria-label":"Warning",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}})])},st=[],ot={},rt=M(ot,at,st,!1,null,null,null);const lt=rt.exports;var dt=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","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"}})])},ut=[],ct={},pt=M(ct,dt,ut,!1,null,null,null);const ht=pt.exports;var ft=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","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 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}})])},mt=[],gt={},vt=M(gt,ft,mt,!1,null,null,null);const yt=vt.exports,bt=["base","error","info","success","warning"],_t=["alert","alertdialog","status"],St=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),xt={name:"DtNoticeIcon",components:{IconLightbulb:Q,IconInfo:it,IconWarning:lt,IconError:ht,IconCheckCircle:yt},props:{kind:{type:String,default:"base",validate(t){return bt.includes(t)}}},computed:{defaultIcon(){return St.get(this.kind)}}},wt=xt;var Ct=M(wt,z,U,!1,null,null,null);const It=Ct.exports;var Ot=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||this.$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)])},Et=[];const kt={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Lt=kt;var Dt=M(Lt,Ot,Et,!1,null,null,null);const At=Dt.exports;var Tt=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._b({ref:"closeButton",attrs:{size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},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))],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","aria-label":"Close",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41L17.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"}})])},$t=[],Bt={},Rt=M(Bt,Mt,$t,!1,null,null,null);const Nt=Rt.exports;var Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:["base-button__button",t.buttonClasses()],attrs:{"data-qa":"dt-button",type:t.type,"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()])},jt=[];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"},Ht={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},Kt=["submit","reset","button"],Wt={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:Ut(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Ut(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Ut(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Ut(!1,"muted","primary")}];function Ut(t,e,n){return"You cannot have a ".concat(t?"circle ":"","button with kind: ").concat(e," and importance: ").concat(n," as it does not exist in our design system. See https://dialpad.design/components/button for a list of available button styles")}const Gt="danger",Zt="warning",Yt="success",Xt="muted",Qt="inverted",Jt=["",Gt,Zt,Yt,Xt,Qt],te={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},ee={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(Wt).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Ht).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(te).includes(t)},type:{type:String,default:"button",validator:t=>Kt.includes(t)},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:Wt,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",te[this.linkKind],Ft[this.size]]:["d-btn",Ht[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 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)}}},ne=ee;var ie=M(ne,Vt,jt,!1,null,null,null);const ae=ie.exports,se={name:"DtNoticeAction",components:{IconClose:Nt,DtButton:ae},props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],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")}}},oe=se;var re=M(oe,Tt,Pt,!1,null,null,null);const le=re.exports,de=':not(:disabled):not([aria-disabled="true"])',ue="".concat(de,':not([tabindex="-1"])'),ce="button,[href],input,select,textarea,details,[tabindex]",pe={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(ce)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?de:ue)}))},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())}}},he={name:"DtBanner",components:{DtNoticeIcon:It,DtNoticeContent:At,DtNoticeAction:le},mixins:[pe],props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"",validate(t){return bt.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},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}]}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(t){this.important&&this.focusTrappedTabPress(t)}}},fe=he;var me=M(fe,K,W,!1,null,null,null);const ge=me.exports;var ve=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._b({key:e.getBreadcrumbItemKey(n),attrs:{inverted:e.inverted}},"dt-breadcrumb-item",t,!1))}))}))],2)])},ye=[];const be="d-breadcrumbs__item--selected",_e="d-breadcrumbs--inverted";var Se=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)},xe=[],we=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)},Ce=[];const Ie={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Jt.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:te}}},Oe=Ie;var Ee=M(Oe,we,Ce,!1,null,null,null);const ke=Ee.exports,Le={name:"DtBreadcrumbItem",components:{DtLink:ke},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:be}},computed:{linkKind(){return this.inverted?Qt:Xt},ariaCurrent(){return this.selected?"location":void 0}}},De=Le;var Ae=M(De,Se,xe,!1,null,null,null);const Te=Ae.exports,Pe={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Te},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:_e}},methods:{getBreadcrumbItemKey(t){return"breadcrumbs-item-".concat(t,"-").concat(A.getUniqueString())}}},Me=Pe;var $e=M(Me,ve,ye,!1,null,null,null);const Be=$e.exports;var Re=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-btn-group",t.BUTTON_GROUP_ALIGNMENT[this.alignment]],attrs:{role:"group"}},[t._t("default")],2)},Ne=[];const Ve={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},je={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ve).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ve}}},Fe=je;var qe=M(Fe,Re,Ne,!1,null,null,null);const He=qe.exports;var Ke=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()])},We=[];const ze={methods:{scrollElementIntoViewIfNeeded(t,e,n,i){t.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(t,e,n,i):this.scrollIntoView(t,"bottom",!1,n,i)},scrollElementIntoView(t,e,n,i){"center"!==e?!1===e?this.scrollIntoView(t,"bottom",!1,n,i):this.scrollIntoView(t,"top",!1,n,i):this.scrollIntoView(t,"center",!1,n,i)},scrollIntoViewIfNeeded(t,e,n,i){const a=e?"center":void 0;this.scrollIntoView(t,a,!0,n,i)},scrollIntoView(t,e,n,i,a){if(!t||!t.parentElement)return;const s=t.offsetTop,o=a||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=s+d;let c=-1;switch(e){case"top":c=s;break;case"center":c=s+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=s-r.top<=l/2?s:u-l;break}this._setScrollTop(o,c,r,s,u,n,i)},_setScrollTop(t,e,n,i,a,s,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(s&&this._inScrollBounds(i,a,n))if(i<n.top)e=i;else{if(!(a>n.bottom))return;e=a-r}o?t.scrollTo({top:e,behavior:o}):t.scrollTop=e},_getElementHeight(t){return t.getBoundingClientRect().height},_getScrollBounds(t){const e=this._getElementHeight(t),n=t.scrollTop;return{top:n,bottom:n+e}},_inScrollBounds(t,e,n){const i=e-t;return e<=n.bottom+3*i/4&&t>=n.top-i/4}}},Ue="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Ge=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:a="",openMethod:s=null,afterHighlightMethod:o=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:d=!0,focusOnKeyboardNavigation:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[ze],data(){return{[e]:-1,[n]:"",scrollToOnHighlight:d,focusOnKeyboardNavigation:u}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var t;return(null===(t=this[i]())||void 0===t?void 0:t.$el)||this[i]()},_itemsLength(){const t=this._getListItemNodes();return null===t?0:t.length},_getListItemNodes(){const e=this._getListElement();return e?Array.from(e.querySelectorAll('[role="'.concat(t,'"]'))):(console.error(Ue,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="'.concat(t,'"]')));return i.indexOf(n.querySelector("#".concat(e)))},_getItemId(e){var n;const i=this._getListElement();if(i)return null===(n=i.querySelectorAll('[role="'.concat(t,'"]'))[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 Ze=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)},Ye=[],Xe=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}],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)},Qe=[];const Je={DEFAULT:"default",CUSTOM:"custom"},tn={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var en=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs14 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-fs12 d-fc-black-500",{"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()])},nn=[];const an={name:"DefaultListItem"},sn=an;i(357);var on=M(sn,en,nn,!1,null,null,null);const rn=on.exports,ln={name:"ListItem",components:{DtDefaultListItem:rn},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return A.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:Je.DEFAULT,validator:t=>Object.values(Je).includes(t)},navigationType:{type:String,default:tn.NONE,validator:t=>Object.values(tn).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case Je.DEFAULT:return rn;default:return null}},listItemListeners(){return{...this.$listeners,keydown:t=>{["enter","space"].includes(t.code.toLowerCase())&&this.onClick(t),this.$emit("keydown",t)},mousedown:t=>{this.isFocusable||t.preventDefault(),this.$emit("mousedown",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===tn.TAB},isHoverable(){return this.navigationType!==tn.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},dn=ln;i(759);var un=M(dn,Xe,Qe,!1,null,null,null);const cn=un.exports;var pn=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)},hn=[],fn=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"}})},mn=[];const gn=3e6,vn={circle:"d-bar-circle",square:"d-bar2"},yn=["body","heading"],bn={sm:"24px",md:"32px",lg:"48px"},_n={sm:"d-h16",md:"d-h24",lg:"d-h32"},Sn={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*gn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay="".concat(e,"ms"),t.animationDuration="".concat(n,"ms"),t}}},xn={name:"DtSkeletonShape",mixins:[Sn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(vn).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:vn}},computed:{shapeStyles(){const t=bn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},wn=xn;var Cn=M(wn,fn,mn,!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",{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)},En=[],kn=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)},Ln=[],Dn=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()},An=[];const Tn={name:"DtSkeletonText",mixins:[Sn],props:{type:{type:String,default:"body",validator:t=>yn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(_n).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:_n}}},Pn=Tn;var Mn=M(Pn,Dn,An,!1,null,null,null);const $n=Mn.exports,Bn=t=>""!==t&&!Number.isNaN(Number(t)),Rn={name:"DtSkeletonParagraph",components:{DtSkeletonText:$n},props:{rows:{type:[Number,String],default:3,validator:Bn},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Bn},maxWidth:{type:[Number,String],default:100,validator:Bn},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"".concat(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%"}}},Nn=Rn;var Vn=M(Nn,kn,Ln,!1,null,null,null);const jn=Vn.exports,Fn={name:"DtSkeletonListItem",components:{DtSkeletonShape:In,DtSkeletonParagraph:jn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(vn).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:""}}},qn=Fn;var Hn=M(qn,On,En,!1,null,null,null);const Kn=Hn.exports,Wn={name:"DtSkeleton",components:{DtSkeletonText:$n,DtSkeletonShape:In,DtSkeletonListItem:Kn,DtSkeletonParagraph:jn},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 ".concat(t.map((t=>{let[e]=t;return e})).join(" | ")," options at the same time");console.error(e)}}}},zn=Wn;i(859);var Un=M(zn,pn,hn,!1,null,null,null);const Gn=Un.exports,Zn={name:"ComboboxLoadingList",components:{DtListItem:cn,DtSkeleton:Gn}},Yn=Zn;var Xn=M(Yn,Ze,Ye,!1,null,null,null);const Qn=Xn.exports;var Jn=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":"arrow-keys"}},[n("span",[t._v(t._s(t.message))])])],1)},ti=[];const ei={name:"ComboboxEmptyList",components:{DtListItem:cn},props:{message:{type:String,required:!0}}},ni=ei;var ii=M(ni,Jn,ti,!1,null,null,null);const ai=ii.exports,si={name:"DtCombobox",components:{ComboboxLoadingList:Qn,ComboboxEmptyList:ai},mixins:[Ge({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 w()}},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("#".concat(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.")}}},oi=si;var ri=M(oi,Ke,We,!1,null,null,null);const li=ri.exports;var di=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)},ui=[],ci=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)},pi=[];const hi={name:"DtCollapsibleLazyShow",props:{show:Boolean,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="".concat(t.scrollHeight,"px")}))}))},afterEnter(t){t.style.height=null},beforeLeave(t){requestAnimationFrame((()=>{t.style.height||(t.style.height="".concat(t.offsetHeight,"px"))}))},leave(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height="0px"}))}))},afterLeave(t){t.style.height=null}}},fi=hi;i(124);var mi=M(fi,ci,pi,!1,null,null,null);const gi=mi.exports;var vi=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)])},yi=[];const bi={name:"DtLazyShow",props:{show:Boolean,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)}}},_i=bi;var Si=M(_i,vi,yi,!1,null,null,null);const xi=Si.exports;var wi=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","aria-label":"Arrow Accordion Open",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8.738 8a1 1 0 00-.865 1.502l3.262 5.614a1 1 0 001.73 0l3.262-5.614A1 1 0 0015.262 8H8.738z"}})])},Ci=[],Ii={},Oi=M(Ii,wi,Ci,!1,null,null,null);const Ei=Oi.exports;var ki=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","aria-label":"Arrow Accordion Closed",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8 15.262a1 1 0 001.502.865l5.614-3.262a1 1 0 000-1.73L9.502 7.873A1 1 0 008 8.738v6.524z"}})])},Li=[],Di={},Ai=M(Di,ki,Li,!1,null,null,null);const Ti=Ai.exports,Pi={name:"DtCollapsible",components:{DtButton:ae,DtCollapsibleLazyShow:gi,DtLazyShow:xi,IconArrowAccordionOpen:Ei,IconArrowAccordionClosed:Ti},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return w()}},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&&w("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}}},Mi=Pi;var $i=M(Mi,di,ui,!1,null,null,null);const Bi=$i.exports;var Ri=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},on:{opened:t.updateInitialHighlightIndex,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onEnterKey.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.onSpaceKey.apply(null,arguments)},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,"onUpKeyPress"))},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,"onDownKeyPress"))},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,"onHomeKeyPress"))},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,"onEndKeyPress"))},function(e){return t.onKeyValidation(e,"onKeyPress")}]},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:["d-ps-relative","d-px0",t.DROPDOWN_PADDING_CLASSES[t.padding],t.listClass],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})],2)]}}],null,!0)},t.$listeners))},Ni=[],Vi=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--modal-opened":t.modal&&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"},on:{"!click":function(e){return t.defaultToggleOpen.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:""},on:{"!keydown":function(e){return t.onKeydown.apply(null,arguments)},"after-leave":t.onLeaveTransitionComplete,"after-enter":t.onEnterTransitionComplete}},t.$listeners),[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()],1)],1)],1)},ji=[];function Fi(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 qi(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Hi(t){var e=qi(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Ki(t){var e=qi(t).Element;return t instanceof e||t instanceof Element}function Wi(t){var e=qi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function zi(t){if("undefined"===typeof ShadowRoot)return!1;var e=qi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Ui(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Gi(t){return t!==qi(t)&&Wi(t)?Ui(t):Hi(t)}function Zi(t){return t?(t.nodeName||"").toLowerCase():null}function Yi(t){return((Ki(t)?t.ownerDocument:t.document)||window.document).documentElement}function Xi(t){return Fi(Yi(t)).left+Hi(t).scrollLeft}function Qi(t){return qi(t).getComputedStyle(t)}function Ji(t){var e=Qi(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function ta(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function ea(t,e,n){void 0===n&&(n=!1);var i=Wi(e),a=Wi(e)&&ta(e),s=Yi(e),o=Fi(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Zi(e)||Ji(s))&&(r=Gi(e)),Wi(e)?(l=Fi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=Xi(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function na(t){var e=Fi(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 ia(t){return"html"===Zi(t)?t:t.assignedSlot||t.parentNode||(zi(t)?t.host:null)||Yi(t)}function aa(t){return["html","body","#document"].indexOf(Zi(t))>=0?t.ownerDocument.body:Wi(t)&&Ji(t)?t:aa(ia(t))}function sa(t,e){var n;void 0===e&&(e=[]);var i=aa(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=qi(i),o=a?[s].concat(s.visualViewport||[],Ji(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(sa(ia(o)))}function oa(t){return["table","td","th"].indexOf(Zi(t))>=0}function ra(t){return Wi(t)&&"fixed"!==Qi(t).position?t.offsetParent:null}function la(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&Wi(t)){var i=Qi(t);if("fixed"===i.position)return null}var a=ia(t);while(Wi(a)&&["html","body"].indexOf(Zi(a))<0){var s=Qi(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 da(t){var e=qi(t),n=ra(t);while(n&&oa(n)&&"static"===Qi(n).position)n=ra(n);return n&&("html"===Zi(n)||"body"===Zi(n)&&"static"===Qi(n).position)?e:n||la(t)||e}var ua="top",ca="bottom",pa="right",ha="left",fa="auto",ma=[ua,ca,pa,ha],ga="start",va="end",ya="clippingParents",ba="viewport",_a="popper",Sa="reference",xa=ma.reduce((function(t,e){return t.concat([e+"-"+ga,e+"-"+va])}),[]),wa=[].concat(ma,[fa]).reduce((function(t,e){return t.concat([e,e+"-"+ga,e+"-"+va])}),[]),Ca="beforeRead",Ia="read",Oa="afterRead",Ea="beforeMain",ka="main",La="afterMain",Da="beforeWrite",Aa="write",Ta="afterWrite",Pa=[Ca,Ia,Oa,Ea,ka,La,Da,Aa,Ta];function Ma(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 $a(t){var e=Ma(t);return Pa.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function Ba(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Ra(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 Na={placement:"bottom",modifiers:[],strategy:"absolute"};function Va(){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 ja(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Na:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Na,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:Ki(t)?sa(t):t.contextElement?sa(t.contextElement):[],popper:sa(e)};var r=$a(Ra([].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(Va(e,n)){a.rects={reference:ea(e,da(n),"fixed"===a.options.strategy),popper:na(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:Ba((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!Va(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 Fa={passive:!0};function qa(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=qi(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,Fa)})),r&&l.addEventListener("resize",n.update,Fa),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,Fa)})),r&&l.removeEventListener("resize",n.update,Fa)}}const Ha={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qa,data:{}};function Ka(t){return t.split("-")[0]}function Wa(t){return t.split("-")[1]}function za(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ua(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?Ka(a):null,o=a?Wa(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case ua:e={x:r,y:n.y-i.height};break;case ca:e={x:r,y:n.y+n.height};break;case pa:e={x:n.x+n.width,y:l};break;case ha:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?za(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case ga:e[d]=e[d]-(n[u]/2-i[u]/2);break;case va:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function Ga(t){var e=t.state,n=t.name;e.modifiersData[n]=Ua({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Za={name:"popperOffsets",enabled:!0,phase:"read",fn:Ga,data:{}};var Ya=Math.max,Xa=Math.min,Qa=Math.round,Ja={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ts(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:Qa(Qa(e*a)/a)||0,y:Qa(Qa(n*a)/a)||0}}function es(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?ts(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"),y=ha,b=ua,_=window;if(d){var S=da(n),x="clientHeight",w="clientWidth";S===qi(n)&&(S=Yi(n),"static"!==Qi(S).position&&"absolute"===r&&(x="scrollHeight",w="scrollWidth")),S=S,a!==ua&&(a!==ha&&a!==pa||s!==va)||(b=ca,m-=S[x]-i.height,m*=l?1:-1),a!==ha&&(a!==ua&&a!==ca||s!==va)||(y=pa,h-=S[w]-i.width,h*=l?1:-1)}var C,I=Object.assign({position:r},d&&Ja);return l?Object.assign({},I,(C={},C[b]=v?"0":"",C[y]=g?"0":"",C.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},I,(e={},e[b]=v?m+"px":"",e[y]=g?h+"px":"",e.transform="",e))}function ns(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:Ka(e.placement),variation:Wa(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,es(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,es(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 is={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ns,data:{}};function as(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];Wi(a)&&Zi(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 ss(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}),{});Wi(i)&&Zi(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const os={name:"applyStyles",enabled:!0,phase:"write",fn:as,effect:ss,requires:["computeStyles"]};function rs(t,e,n){var i=Ka(t),a=[ha,ua].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,[ha,pa].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function ls(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=wa.reduce((function(t,n){return t[n]=rs(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 ds={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ls};var us={left:"right",right:"left",bottom:"top",top:"bottom"};function cs(t){return t.replace(/left|right|bottom|top/g,(function(t){return us[t]}))}var ps={start:"end",end:"start"};function hs(t){return t.replace(/start|end/g,(function(t){return ps[t]}))}function fs(t){var e=qi(t),n=Yi(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+Xi(t),y:r}}function ms(t){var e,n=Yi(t),i=Hi(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=Ya(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Ya(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+Xi(t),l=-i.scrollTop;return"rtl"===Qi(a||n).direction&&(r+=Ya(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function gs(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&zi(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function vs(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ys(t){var e=Fi(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 bs(t,e){return e===ba?vs(fs(t)):Wi(e)?ys(e):vs(ms(Yi(t)))}function _s(t){var e=sa(ia(t)),n=["absolute","fixed"].indexOf(Qi(t).position)>=0,i=n&&Wi(t)?da(t):t;return Ki(i)?e.filter((function(t){return Ki(t)&&gs(t,i)&&"body"!==Zi(t)})):[]}function Ss(t,e,n){var i="clippingParents"===e?_s(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=bs(t,n);return e.top=Ya(i.top,e.top),e.right=Xa(i.right,e.right),e.bottom=Xa(i.bottom,e.bottom),e.left=Ya(i.left,e.left),e}),bs(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 xs(){return{top:0,right:0,bottom:0,left:0}}function ws(t){return Object.assign({},xs(),t)}function Cs(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Is(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?ya:s,r=n.rootBoundary,l=void 0===r?ba:r,d=n.elementContext,u=void 0===d?_a:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=ws("number"!==typeof f?f:Cs(f,ma)),g=u===_a?Sa:_a,v=t.rects.popper,y=t.elements[p?g:u],b=Ss(Ki(y)?y:y.contextElement||Yi(t.elements.popper),o,l),_=Fi(t.elements.reference),S=Ua({reference:_,element:v,strategy:"absolute",placement:a}),x=vs(Object.assign({},v,S)),w=u===_a?x:_,C={top:b.top-w.top+m.top,bottom:w.bottom-b.bottom+m.bottom,left:b.left-w.left+m.left,right:w.right-b.right+m.right},I=t.modifiersData.offset;if(u===_a&&I){var O=I[a];Object.keys(C).forEach((function(t){var e=[pa,ca].indexOf(t)>=0?1:-1,n=[ua,ca].indexOf(t)>=0?"y":"x";C[t]+=O[n]*e}))}return C}function Os(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?wa:l,u=Wa(i),c=u?r?xa:xa.filter((function(t){return Wa(t)===u})):ma,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]=Is(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[Ka(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Es(t){if(Ka(t)===fa)return[];var e=cs(t);return[hs(t),e,hs(e)]}function ks(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=Ka(g),y=v===g,b=l||(y||!f?[cs(g)]:Es(g)),_=[g].concat(b).reduce((function(t,n){return t.concat(Ka(n)===fa?Os(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),S=e.rects.reference,x=e.rects.popper,w=new Map,C=!0,I=_[0],O=0;O<_.length;O++){var E=_[O],k=Ka(E),L=Wa(E)===ga,D=[ua,ca].indexOf(k)>=0,A=D?"width":"height",T=Is(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?pa:ha:L?ca:ua;S[A]>x[A]&&(P=cs(P));var M=cs(P),$=[];if(s&&$.push(T[k]<=0),r&&$.push(T[P]<=0,T[M]<=0),$.every((function(t){return t}))){I=E,C=!1;break}w.set(E,$)}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 Ls={name:"flip",enabled:!0,phase:"main",fn:ks,requiresIfExists:["offset"],data:{_skip:!1}};function Ds(t){return"x"===t?"y":"x"}function As(t,e,n){return Ya(t,Xa(e,n))}function Ts(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=Is(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Ka(e.placement),y=Wa(e.placement),b=!y,_=za(v),S=Ds(_),x=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(x){if(s||r){var E="y"===_?ua:ha,k="y"===_?ca:pa,L="y"===_?"height":"width",D=x[_],A=x[_]+g[E],T=x[_]-g[k],P=h?-C[L]/2:0,M=y===ga?w[L]:C[L],$=y===ga?-C[L]:-w[L],B=e.elements.arrow,R=h&&B?na(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:xs(),V=N[E],j=N[k],F=As(0,w[L],R[L]),q=b?w[L]/2-P-F-V-I:M-F-V-I,H=b?-w[L]/2+P+F+j+I:$+F+j+I,K=e.elements.arrow&&da(e.elements.arrow),W=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,z=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,U=x[_]+q-z-W,G=x[_]+H-z;if(s){var Z=As(h?Xa(A,U):A,D,h?Ya(T,G):T);x[_]=Z,O[_]=Z-D}if(r){var Y="x"===_?ua:ha,X="x"===_?ca:pa,Q=x[S],J=Q+g[Y],tt=Q-g[X],et=As(h?Xa(J,U):J,Q,h?Ya(tt,G):tt);x[S]=et,O[S]=et-Q}}e.modifiersData[i]=O}}const Ps={name:"preventOverflow",enabled:!0,phase:"main",fn:Ts,requiresIfExists:["offset"]};var Ms=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,ws("number"!==typeof t?t:Cs(t,ma))};function $s(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Ka(n.placement),l=za(r),d=[ha,pa].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=Ms(a.padding,n),p=na(s),h="y"===l?ua:ha,f="y"===l?ca:pa,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=da(s),y=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=m/2-g/2,_=c[h],S=y-p[u]-c[f],x=y/2-p[u]/2+b,w=As(_,x,S),C=l;n.modifiersData[i]=(e={},e[C]=w,e.centerOffset=w-x,e)}}function Bs(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))&&gs(e.elements.popper,a)&&(e.elements.arrow=a)}const Rs={name:"arrow",enabled:!0,phase:"main",fn:$s,effect:Bs,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ns(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 Vs(t){return[ua,pa,ca,ha].some((function(e){return t[e]>=0}))}function js(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=Is(e,{elementContext:"reference"}),r=Is(e,{altBoundary:!0}),l=Ns(o,i),d=Ns(r,a,s),u=Vs(l),c=Vs(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 Fs={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:js};var qs=[Ha,Za,is,os,ds,Ls,Ps,Rs,Fs],Hs=ja({defaultModifiers:qs}),Ks="tippy-box",Ws="tippy-content",zs="tippy-backdrop",Us="tippy-arrow",Gs="tippy-svg-arrow",Zs={passive:!0,capture:!0},Ys=function(){return document.body};function Xs(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function Qs(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function Js(t,e){return"function"===typeof t?t.apply(void 0,e):t}function to(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function eo(t){return t.split(/\s+/).filter(Boolean)}function no(t){return[].concat(t)}function io(t,e){-1===t.indexOf(e)&&t.push(e)}function ao(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function so(t){return t.split("-")[0]}function oo(t){return[].slice.call(t)}function ro(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function lo(){return document.createElement("div")}function uo(t){return["Element","Fragment"].some((function(e){return Qs(t,e)}))}function co(t){return Qs(t,"NodeList")}function po(t){return Qs(t,"MouseEvent")}function ho(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function fo(t){return uo(t)?[t]:co(t)?oo(t):Array.isArray(t)?t:oo(document.querySelectorAll(t))}function mo(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function go(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function vo(t){var e,n=no(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function yo(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=so(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 bo(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function _o(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 So={isTouch:!1},xo=0;function wo(){So.isTouch||(So.isTouch=!0,window.performance&&document.addEventListener("mousemove",Co))}function Co(){var t=performance.now();t-xo<20&&(So.isTouch=!1,document.removeEventListener("mousemove",Co)),xo=t}function Io(){var t=document.activeElement;if(ho(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Oo(){document.addEventListener("touchstart",wo,Zs),window.addEventListener("blur",Io)}var Eo="undefined"!==typeof window&&"undefined"!==typeof document,ko=!!Eo&&!!window.msCrypto;var Lo={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Do={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ao=Object.assign({appendTo:Ys,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},Lo,Do),To=Object.keys(Ao),Po=function(t){var e=Object.keys(t);e.forEach((function(e){Ao[e]=t[e]}))};function Mo(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=Ao[a])?i:s);return e}),{});return Object.assign({},t,n)}function $o(t,e){var n=e?Object.keys(Mo(Object.assign({},Ao,{plugins:e}))):To,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 Bo(t,e){var n=Object.assign({},e,{content:Js(e.content,[t])},e.ignoreAttributes?{}:$o(t,e.plugins));return n.aria=Object.assign({},Ao.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 Ro=function(){return"innerHTML"};function No(t,e){t[Ro()]=e}function Vo(t){var e=lo();return!0===t?e.className=Us:(e.className=Gs,uo(t)?e.appendChild(t):No(e,t)),e}function jo(t,e){uo(e.content)?(No(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?No(t,e.content):t.textContent=e.content)}function Fo(t){var e=t.firstElementChild,n=oo(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(Ws)})),arrow:n.find((function(t){return t.classList.contains(Us)||t.classList.contains(Gs)})),backdrop:n.find((function(t){return t.classList.contains(zs)}))}}function qo(t){var e=lo(),n=lo();n.className=Ks,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=lo();function a(n,i){var a=Fo(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||jo(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(Vo(i.arrow))):s.appendChild(Vo(i.arrow)):r&&s.removeChild(r)}return i.className=Ws,i.setAttribute("data-state","hidden"),jo(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}qo.$$tippy=!0;var Ho=1,Ko=[],Wo=[];function zo(t,e){var n,i,a,s,o,r,l,d=Bo(t,Object.assign({},Ao,Mo(ro(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=to(Y,d.interactiveDebounce),g=Ho++,v=null,y=ao(d.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:lo(),popperInstance:v,props:d,state:b,plugins:y,clearDelayTimeouts:lt,setProps:dt,setContent:ut,show:ct,hide:pt,hideWithInteractivity:ht,enable:ot,disable:rt,unmount:ft,destroy:mt};if(!d.render)return _;var S=d.render(_),x=S.popper,w=S.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_;var C=y.map((function(t){return t.fn(_)})),I=t.hasAttribute("aria-expanded");return U(),B(),P(),M("onCreate",[_]),d.showOnCreate&&at(),x.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",m)})),_;function O(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===O()[0]}function k(){var t;return!(null==(t=_.props.render)||!t.$$tippy)}function L(){return l||t}function D(){var t=L().parentNode;return t?vo(t):document}function A(){return Fo(x)}function T(t){return _.state.isMounted&&!_.state.isVisible||So.isTouch||s&&"focus"===s.type?0:Xs(_.props.delay,t?0:1,Ao.delay)}function P(t){void 0===t&&(t=!1),x.style.pointerEvents=_.props.interactive&&!t?"":"none",x.style.zIndex=""+_.props.zIndex}function M(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 $(){var e=_.props.aria;if(e.content){var n="aria-"+e.content,i=x.id,a=no(_.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=no(_.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),Ko=Ko.filter((function(t){return t!==m}))}function N(e){if(!So.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!_o(x,n)){if(no(_.props.triggerTarget||t).some((function(t){return _o(t,n)}))){if(So.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||q())}}}function V(){p=!0}function j(){p=!1}function F(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Zs),t.addEventListener("touchstart",j,Zs),t.addEventListener("touchmove",V,Zs)}function q(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Zs),t.removeEventListener("touchstart",j,Zs),t.removeEventListener("touchmove",V,Zs)}function H(t,e){W(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function K(t,e){W(t,e)}function W(t,e){var n=A().box;function i(t){t.target===n&&(bo(n,"remove",i),e())}if(0===t)return e();bo(n,"remove",o),bo(n,"add",i),o=i}function z(e,n,i){void 0===i&&(i=!1);var a=no(_.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",Z,{passive:!0}),z("touchend",X,{passive:!0})),eo(_.props.trigger).forEach((function(t){if("manual"!==t)switch(z(t,Z),t){case"mouseenter":z("mouseleave",X);break;case"focus":z(ko?"focusout":"blur",Q);break;case"focusin":z("focusout",Q);break}}))}function G(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=s)?void 0:e.type);s=t,l=t.currentTarget,B(),!_.state.isVisible&&po(t)&&Ko.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:at(t),"click"===t.type&&(u=!n),n&&!i&&st(t)}}function Y(t){var e=t.target,n=L().contains(e)||x.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(x).map((function(t){var e,n=t._tippy,i=null==(e=n.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:d}:null})).filter(Boolean);yo(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&&x.contains(t.relatedTarget)||st(t)}function J(t){return!!So.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()?Fo(x).arrow:null,d=s?{getBoundingClientRect:s,contextElement:s.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=A(),i=n.box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},c=[{name:"offset",options:{offset:a}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},u];k()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),_.popperInstance=Hs(d,x,Object.assign({},n,{placement:i,onFirstUpdate:r,modifiers:c}))}function et(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function nt(){var t,e=_.props.appendTo,n=L();t=_.props.interactive&&e===Ys||"parent"===e?n.parentNode:Js(e,[n]),t.contains(x)||t.appendChild(x),_.state.isMounted=!0,tt()}function it(){return oo(x.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&M("onTrigger",[_,t]),F();var e=T(!0),i=O(),a=i[0],s=i[1];So.isTouch&&"hold"===a&&s&&(e=s),e?n=setTimeout((function(){_.show()}),e):_.show()}function st(t){if(_.clearDelayTimeouts(),M("onUntrigger",[_,t]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&u)){var e=T(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):a=requestAnimationFrame((function(){_.hide()}))}}else q()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function dt(e){if(!_.state.isDestroyed){M("onBeforeUpdate",[_,e]),G();var n=_.props,i=Bo(t,Object.assign({},n,ro(e),{ignoreAttributes:!0}));_.props=i,U(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=to(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?no(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),P(),w&&w(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),M("onAfterUpdate",[_,e])}}function ut(t){_.setProps({content:t})}function ct(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=So.isTouch&&!_.props.touch,a=Xs(_.props.duration,0,Ao.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&(M("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(x.style.visibility="visible"),P(),F(),_.state.isMounted||(x.style.transition="none"),k()){var s=A(),o=s.box,l=s.content;mo([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=A(),n=e.box,i=e.content;mo([n,i],a),go([n,i],"visible")}$(),B(),io(Wo,_),null==(t=_.popperInstance)||t.forceUpdate(),M("onMount",[_]),_.props.animation&&k()&&K(a,(function(){_.state.isShown=!0,M("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=Xs(_.props.duration,1,Ao.duration);if(!(t||e||n)&&(M("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(x.style.visibility="hidden"),R(),q(),P(!0),k()){var a=A(),s=a.box,o=a.content;_.props.animation&&(mo([s,o],i),go([s,o],"hidden"))}$(),B(),_.props.animation?k()&&H(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),io(Ko,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),Wo=Wo.filter((function(t){return t!==_})),_.state.isMounted=!1,M("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),G(),delete t._tippy,_.state.isDestroyed=!0,M("onDestroy",[_]))}}function Uo(t,e){void 0===e&&(e={});var n=Ao.plugins.concat(e.plugins||[]);Oo();var i=Object.assign({},e,{plugins:n}),a=fo(t),s=a.reduce((function(t,e){var n=e&&zo(e,i);return n&&t.push(n),t}),[]);return uo(t)?s[0]:s}Uo.defaultProps=Ao,Uo.setDefaultProps=Po,Uo.currentInput=So;Object.assign({},os,{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 Go={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&&Zo(s,e)||l&&Zo(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function Zo(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Uo.setDefaultProps({render:qo});const Yo=Uo,Xo=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),Qo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Jo=[!0,!1,"reference","popper"],tr=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Yo(t,{...e,plugins:[Go],render:()=>ar(n)})},er=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}},Xo((t=>{let{state:e}=t;n(e.placement)}))]}},nr=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},ir=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):nr(t)},ar=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},sr={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},or={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},rr=["dialog","menu","listbox","tree","grid"],lr=[null,"anchor"],dr=["none","dialog","first"],ur=[...Jo];let cr="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",pr=(t=21)=>{let e="",n=t;while(n--)e+=cr[64*Math.random()|0];return e};function hr(t){return hr="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},hr(t)}var fr={selector:"vue-portal-target-".concat(pr())},mr=function(t){return fr.selector=t},gr="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":hr(document)),vr=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)}}),yr=r().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(fr.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(gr)return document.querySelector(this.selector)},insertTargetEl:function(){if(gr){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(gr){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new vr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function br(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",yr),e.defaultSelector&&mr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===r()&&r().use(br);var _r=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)},Sr=[];const xr={name:"PopoverHeaderFooter",components:{DtButton:ae,IconClose:Nt},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()}}},wr=xr;var Cr=M(wr,_r,Sr,!1,null,null,null);const Ir=Cr.exports,Or={name:"DtPopover",components:{DtLazyShow:xi,PopoverHeaderFooter:Ir,Portal:yr},mixins:[pe],props:{open:{type:Boolean,default:null},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:t=>rr.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(sr).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>lr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return w()}},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=>ur.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:"none",validator:t=>dr.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:sr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:or,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&w("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){this.tip.setProps({zIndex:t?650:300})},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.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=tr(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 er({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;null!==(e=this.open)&&void 0!==e||this.anchorEl.contains(t.target)&&(null===(n=this.anchorEl)||void 0===n||!n.disabled)&&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--modal-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="".concat(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()}}},Er=Or;i(155);var kr=M(Er,Vi,ji,!1,null,null,null);const Lr=kr.exports,Dr={none:void 0,small:"d-py6",large:"d-py12"},Ar={name:"DtDropdown",components:{DtPopover:Lr},mixins:[Ge({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0})],props:{open:{type:Boolean,default:null},padding:{type:String,default:"small",validator:t=>Object.keys(Dr).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 w()}},navigationType:{type:String,default:tn.ARROW_KEYS,validator:t=>Object.values(tn).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:tn,DROPDOWN_PADDING_CLASSES:Dr,openedWithKeyboard:!1,isOpen:null}},computed:{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}},methods:{onMouseHighlight(t){const e=t.target.closest("li");e&&this.highlightId!==e.id&&(this.setHighlightId(e.id),e.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(t){this.isOpen=t,t?(this.openedWithKeyboard&&this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS&&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[e](t)}}},Tr=Ar;var Pr=M(Tr,Ri,Ni,!1,null,null,null);const Mr=Pr.exports;var $r=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",{staticClass:"d-input__wrapper"},[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)},Br=[];const Rr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Nr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var Vr=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()},jr=[];function Fr(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 qr={name:"DtValidationMessages",props:{id:{type:String,default(){return w()}},validationMessages:{type:Array,default:()=>[],validator:t=>Fr(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return I(this.validationMessages)},validationState(){return O(this.validationMessages)}},methods:{getMessageKey(t,e){return"validation-message-".concat(t,"-").concat(e,"-").concat(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]}}},Hr=qr;var Kr=M(Hr,Vr,jr,!1,null,null,null);const Wr=Kr.exports,zr={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)}}},Ur={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}}},Gr={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 "+"(".concat(n,") with (").concat(this.name,")? It is recommended to only set name at the Group level."),this)}},Zr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>Fr(t)}},computed:{formattedMessages(){return C(this.messages)}}},Yr={name:"DtInput",components:{DtValidationMessages:Wr},mixins:[Zr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Rr.TEXT,validator:t=>Object.values(Rr).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(Nr).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(Nr).includes(t)},inputClass:{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===Rr.TEXTAREA},isDefaultSize(){return this.size===Nr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Nr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Nr).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-".concat(w())},inputState(){return O(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]}},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(){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["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[t[this.inputComponent][this.inputState]]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},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-".concat(t,"-").concat(e)},validateLength(t){this.isInvalid=t>this.validationProps.length.max}}},Xr=Yr;var Qr=M(Xr,$r,Br,!1,null,null,null);const Jr=Qr.exports;var tl=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 nl={components:{DtValidationMessages:Wr},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return w()}},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=>Fr(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=C(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:O(t)}}},computed:{formattedMessages(){return C(this.messages)},validationState(){return O(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)}},il={name:"DtInputGroup",components:{DtValidationMessages:Wr},mixins:[nl],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-".concat(t,"-").concat(e,"-").concat(this.id)}}},al=il;var sl=M(al,tl,el,!1,null,null,null);const ol=sl.exports;var rl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-lazy-show",{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},on:{click:function(e){return e.target!==e.currentTarget?null:t.close.apply(null,arguments)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.close.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus.apply(null,arguments)}],"after-enter":function(e){return e.target!==e.currentTarget?null:t.setFocusAfterTransition.apply(null,arguments)}}},[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))],1)])],1)},ll=[];const dl={default:"",danger:"d-modal--danger"},ul={default:"",full:"d-modal--full"},cl={name:"DtModal",components:{DtLazyShow:xi,DtButton:ae,IconClose:Nt},mixins:[pe],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String},labelledById:{type:String,default:function(){return w()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(dl).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(ul).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:dl,MODAL_SIZE_MODIFIERS:ul}},computed:{open(){return"".concat(!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)}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(t){this.show&&this.focusTrappedTabPress(t)}}},pl=cl;var hl=M(pl,rl,ll,!1,null,null,null);const fl=hl.exports;var ml=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["dt-list-section","d-fs14","d-lh6","d-py6","d-bc-black-200",{"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)])},gl=[];const vl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:ae},props:{id:{type:String,default(){return A.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}}},yl=vl;i(792);var bl=M(yl,ml,gl,!1,null,null,null);const _l=bl.exports;var Sl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",t._g({class:t.noticeClass,attrs:{"data-qa":"notice"}},t.$listeners),[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}},t.$listeners),[t._t("action")],2)],1)},xl=[];const wl={name:"DtNotice",components:{DtNoticeIcon:It,DtNoticeContent:At,DtNoticeAction:le},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 _t.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return bt.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}]}}},Cl=wl;var Il=M(Cl,Sl,xl,!1,null,null,null);const Ol=Il.exports;var El=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("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-fs14"},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)},kl=[],Ll=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","aria-label":"Chevron Left",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"}})])},Dl=[],Al={},Tl=M(Al,Ll,Dl,!1,null,null,null);const Pl=Tl.exports;var Ml=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","aria-label":"Chevron Right",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"}})])},$l=[],Bl={},Rl=M(Bl,Ml,$l,!1,null,null,null);const Nl=Rl.exports,Vl={name:"DtPagination",components:{DtButton:ae,IconChevronLeft:Pl,IconChevronRight:Nl},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]}},watch:{},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)}}},jl=Vl;var Fl=M(jl,El,kl,!1,null,null,null);const ql=Fl.exports;var Hl=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)])])},Kl=[];const Wl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},zl={name:"DtRadio",components:{DtValidationMessages:Wr},mixins:[zr,Ur,Gr,Zr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Wl[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))}}},Ul=zl;var Gl=M(Ul,Hl,Kl,!1,null,null,null);const Zl=Gl.exports,Yl={name:"DtRadioGroup",extends:ol,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-".concat(t,"-").concat(e,"-").concat(this.id)}}},Xl=Yl;var Ql,Jl,td=M(Xl,Ql,Jl,!1,null,null,null);const ed=td.exports;var nd=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)},id=[];const ad=["default","sm"],sd={sm:"d-tablist--sm"},od={inverted:"d-tablist--inverted"},rd={borderless:"d-tablist--no-border"},ld={selected:"d-tab--selected"},dd={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 ad.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:sd,TAB_LIST_KIND_MODIFIERS:od,TAB_LIST_IMPORTANCE_MODIFIERS:rd}},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==="".concat(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())}}},ud=dd;var cd=M(ud,nd,id,!1,null,null,null);const pd=cd.exports;var hd=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("dt-button",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},on:{click:function(t){return e.selectPanel()},focus:function(t){return e.setFocus(e.id)}}},"dt-button",e.$attrs,!1),[e._t("default")],2)},fd=[];const md={name:"DtTab",components:{DtButton:ae},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:ld}},computed:{isSelected(){return this.groupContext.selected===this.panelId}},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=md;var vd=M(gd,hd,fd,!1,null,null,null);const yd=vd.exports;var bd=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)},_d=[];const Sd={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}}},xd=Sd;var wd=M(xd,bd,_d,!1,null,null,null);const Cd=wd.exports;var Id=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()])])},Od=[];const Ed={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},kd={name:"DtCheckbox",components:{DtValidationMessages:Wr},mixins:[zr,Ur,Gr,Zr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Ed[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"])}}},Ld=kd;var Dd=M(Ld,Id,Od,!1,null,null,null);const Ad=Dd.exports,Td={name:"DtCheckboxGroup",extends:ol,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-".concat(t,"-").concat(e,"-").concat(this.id)}}},Pd=Td;var Md,$d,Bd=M(Pd,Md,$d,!1,null,null,null);const Rd=Bd.exports;var Nd=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({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}},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)},Vd=[];const jd={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Fd={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},qd={name:"DtChip",components:{IconClose:Nt,DtButton:ae},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(jd).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return w()}},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["d-chip__label",jd[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Fd[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Hd=qd;var Kd=M(Hd,Nd,Vd,!1,null,null,null);const Wd=Kd.exports;var zd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("label",[t.$slots.label||t.label?n("div",t._b({class:["d-label",t.LABEL_SIZE_MODIFIERS[t.size],t.labelClass],attrs:{"aria-details":t.labelAriaDetails,"data-qa":"dt-select-label"}},"div",t.labelChildProps,!1),[t._t("label",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.DESCRIPTION_SIZE_MODIFIERS[t.size],t.descriptionClass],attrs:{id:t.descriptionKey,"data-qa":"dt-select-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("div",{class:["d-select",t.SELECT_SIZE_MODIFIERS[t.size],t.selectClass,{"d-select--disabled":t.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[n("select",t._g(t._b({class:["d-select__input",t.SELECT_STATE_MODIFIERS[t.state]],attrs:{"data-qa":"dt-select",disabled:t.disabled}},"select",t.$attrs,!1),t.selectListeners),[t._t("default",(function(){return t._l(t.options,(function(e){return n("option",t._b({key:t.getOptionKey(e.value),class:t.optionClass,domProps:{value:e.value}},"option",t.optionChildProps,!1),[t._v(" "+t._s(e.label)+" ")])}))}))],2)])]),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},Ud=[];const Gd={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Zd={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Yd=t=>!t.index||"number"===typeof t.index,Xd=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),Qd=t=>!!t.label&&"string"===typeof t.label,Jd=t=>!t||t.every((t=>!!Yd(t)&&(!!Xd(t)&&!!Qd(t)))),tu={name:"DtSelectMenu",components:{DtValidationMessages:Wr},mixins:[Zr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>Jd(t)},size:{type:String,default:"md",validator:t=>Object.keys(Gd).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:Gd,SELECT_STATE_MODIFIERS:Zd}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return O(this.formattedMessages)},selectKey(){return w()},descriptionKey(){return"select-".concat(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-".concat(this.selectKey,"-option-").concat(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)}}},eu=tu;var nu=M(eu,zd,Ud,!1,null,null,null);const iu=nu.exports;var au=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}},t.noticeActionListeners),[t._t("action")],2)],1)]):t._e()},su=[];const ou=["status","alert"],ru=6e3,lu={name:"DtToast",components:{DtNoticeIcon:It,DtNoticeContent:At,DtNoticeAction:le},props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>ou.includes(t)},kind:{type:String,default:"base",validator:t=>bt.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>=ru}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:ru}},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))}}},du=lu;var uu=M(du,au,su,!1,null,null,null);const cu=uu.exports;var pu=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:["d-toggle",{"d-toggle--checked":t.internalChecked,"d-toggle--disabled":t.disabled}],attrs:{id:t.id,role:"switch",type:"button","aria-checked":t.internalChecked.toString(),disabled:t.disabled,"aria-disabled":t.disabled.toString()}},"button",t.$attrs,!1),t.inputListeners),[n("span",{staticClass:"d-toggle__inner"})])])},hu=[];const fu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return A.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},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()}}},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)}}},mu=fu;var gu=M(mu,pu,hu,!1,null,null,null);const vu=gu.exports;var yu=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",{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},on:{"after-leave":e.onLeaveTransitionComplete,"after-enter":e.onEnterTransitionComplete}},[e._t("default",(function(){return[e._v(" "+e._s(e.message)+" ")]}))],2)],1)},bu=[];const _u=[...Qo],Su={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},xu=[...Jo],wu=[!0,!1,"toggle"],Cu={name:"Tooltip",components:{DtLazyShow:xi},props:{id:{type:String,default(){return w()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return _u.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>xu.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:Su,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:er({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=tr(ir(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 ir(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}}}},Iu=Cu;i(664);var Ou=M(Iu,yu,bu,!1,null,null,null);const Eu=Ou.exports;var ku=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-fs12",t.inverted?"d-bc-black-400":"d-bc-black-100"]},[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-075":"d-fc-black-500","d-mr2"],attrs:{"aria-hidden":"true"}}):n("span",{key:i+"-"+e,class:[t.inverted?"d-fc-black-075":"d-fc-black-500","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:t._s(e)}})]}))],2)},Lu=[],Du=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","aria-label":"Windows",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016zM10.936 5.334l8.967-1.249V11.5h-8.967V5.334zM9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03zM3.097 6.328l6.647-.885v6.134H3.1l-.003-5.25z"}})])},Au=[],Tu={},Pu=M(Tu,Du,Au,!1,null,null,null);const Mu=Pu.exports;var $u=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","aria-label":"Add",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}})])},Bu=[],Ru={},Nu=M(Ru,$u,Bu,!1,null,null,null);const Vu=Nu.exports;var ju=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","aria-label":"Arrow Downward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}})])},Fu=[],qu={},Hu=M(qu,ju,Fu,!1,null,null,null);const Ku=Hu.exports;var Wu=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","aria-label":"Arrow Upward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}})])},zu=[],Uu={},Gu=M(Uu,Wu,zu,!1,null,null,null);const Zu=Gu.exports;var Yu=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","aria-label":"Arrow Forward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}})])},Xu=[],Qu={},Ju=M(Qu,Yu,Xu,!1,null,null,null);const tc=Ju.exports;var ec=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","aria-label":"Arrow Backwards",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"}})])},nc=[],ic={},ac=M(ic,ec,nc,!1,null,null,null);const sc=ac.exports,oc={cmd:"&#8984;"},rc={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},lc={"{plus}":"IconAdd"},dc=Object.keys(oc).map((t=>"{".concat(t,"}"))).concat(Object.keys(rc)),uc={name:"DtKeyboardShortcut",components:{IconWindows:Mu,IconArrowBackward:sc,IconArrowDownward:Ku,IconArrowForward:tc,IconArrowUpward:Zu,IconAdd:Vu},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:rc,separator:/\+/gi}},computed:{icons(){return{...rc,...lc}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(oc).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),oc[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp("(".concat(t,")"),"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},cc=uc;i(377);var pc=M(cc,ku,Lu,!1,null,null,null);const hc=pc.exports;var fc=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:{"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)},mc=[],gc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["root-layout__body",t.bodyClass],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()])},vc=[];const yc={LEFT:"left",RIGHT:"right"},bc={name:"DtRootLayoutBody",props:{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:{bodyClass(){return{"root-layout__body--invert":this.sidebarPosition===yc.RIGHT}}}},_c=bc;i(263);var Sc=M(_c,gc,vc,!1,null,null,null);const xc=Sc.exports,wc={name:"DtRootLayout",components:{DtRootLayoutBody:xc},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},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(yc).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},Cc=wc;i(987);var Ic=M(Cc,fc,mc,!1,null,null,null);const Oc=Ic.exports;var Ec=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,"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",padding:"none",role:"listbox","external-anchor":t.externalAnchor,"content-width":t.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1},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))},kc=[];const Lc={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:li,DtPopover:Lr,ComboboxLoadingList:Qn,ComboboxEmptyList:ai},props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return w()}},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(Dr).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>lr.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:Dr,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:w()}},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)}));n||this.closeComboboxList()},openOnArrowKeyPress(t){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},Dc=Lc;var Ac=M(Dc,Ec,kc,!1,null,null,null);const Tc=Ac.exports;var Pc=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,"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"},[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)})},Mc=[];const $c={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Bc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:Tc,DtInput:Jr,DtChip:Wd,DtValidationMessages:Wr},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=>Fr(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($c).includes(t)}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,0],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,0]},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)}}},Rc=Bc;var Nc=M(Rc,Pc,Mc,!1,null,null,null);const Vc=Nc.exports;var jc=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","avatar-class":"d-bar2"}},[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)})},Fc=[];const qc={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},Hc={name:"DtRecipeContactInfo",components:{DtAvatar:B,DtListItem:cn},props:{id:{type:String,default(){return A.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(qc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:qc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Kc=Hc;var Wc=M(Kc,jc,Fc,!1,null,null,null);const zc=Wc.exports;var Uc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-fs11 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)])},Gc=[];const Zc=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],Yc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(t){return Zc.includes(t)}}},computed:{bannerInfoClass(){const t={green400:"d-bgc-green-400",green200:"d-bgc-green-200",red200:"d-bgc-red-200",red100:"d-bgc-red-100",yellow400:"d-bgc-yellow-400",yellow200:"d-bgc-yellow-200",black100:"d-bgc-black-100",white:"d-bgc-white"};return[t[this.colorCode]]}}},Xc=Yc;i(486);var Qc=M(Xc,Uc,Gc,!1,null,null,null);const Jc=Qc.exports})(),a})()));
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={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--focusable:focus,.dt-list-item--focusable:focus-within,.dt-list-item--highlighted{background-color:hsla(var(--black-400-h),var(--black-400-s),var(--black-400-l),.15);cursor:pointer}.dt-list-item:focus-visible{outline-color:var(--primary-color)}",""]);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:-webkit-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-075));background:var(--placeholder-from-color,var(--black-075))}.skeleton-placeholder--animate{animation-name:placeholder-throb;animation-iteration-count:infinite}@keyframes placeholder-throb{10%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}50%{fill:var(--placeholder-to-color,var(--black-025));background:var(--placeholder-to-color,var(--black-025))}90%{fill:var(--placeholder-from-color,var(--black-075));background:var(--placeholder-from-color,var(--black-075))}}",""]);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},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]}},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})},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=b.bind(null,i,a,!1),n=b.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 y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function b(t,e,n,i){var a=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(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:()=>V,BREADCRUMBS_INVERTED_MODIFIER:()=>_e,BREADCRUMB_ITEM_SELECTED_MODIFIER:()=>be,BUTTON_GROUP_ALIGNMENT:()=>Ve,CHIP_SIZE_MODIFIERS:()=>jd,COLOR_CODES:()=>Zc,DEFAULT_VALIDATION_MESSAGE_TYPE:()=>m,DESCRIPTION_SIZE_TYPES:()=>p,DtAvatar:()=>B,DtBadge:()=>H,DtBanner:()=>ge,DtBreadcrumbItem:()=>Te,DtBreadcrumbs:()=>Be,DtButton:()=>ae,DtButtonGroup:()=>He,DtCheckableInputMixin:()=>Ur,DtCheckbox:()=>Ad,DtCheckboxGroup:()=>Rd,DtChip:()=>Wd,DtCollapsible:()=>Bi,DtCombobox:()=>li,DtDropdown:()=>Mr,DtGroupableInputMixin:()=>Gr,DtInput:()=>Jr,DtInputGroup:()=>ol,DtInputGroupMixin:()=>nl,DtInputMixin:()=>zr,DtKeyboardListNavigationMixin:()=>Ge,DtKeyboardShortcut:()=>hc,DtLazyShow:()=>xi,DtLink:()=>ke,DtListItem:()=>cn,DtListSection:()=>_l,DtModal:()=>fl,DtNotice:()=>Ol,DtPagination:()=>ql,DtPopover:()=>Lr,DtRadio:()=>Zl,DtRadioGroup:()=>ed,DtRecipeComboboxMultiSelect:()=>Vc,DtRecipeComboboxWithPopover:()=>Tc,DtRecipeContactInfo:()=>zc,DtRecipeTopBannerInfo:()=>Jc,DtRootLayout:()=>Oc,DtSelectMenu:()=>iu,DtSkeleton:()=>Gn,DtSkeletonListItem:()=>Kn,DtSkeletonParagraph:()=>jn,DtSkeletonShape:()=>In,DtSkeletonText:()=>$n,DtTab:()=>yd,DtTabGroup:()=>pd,DtTabPanel:()=>Cd,DtToast:()=>cu,DtToggle:()=>vu,DtTooltip:()=>Eu,DtValidationMessages:()=>Wr,INPUT_SIZES:()=>Nr,INPUT_TYPES:()=>Rr,LINK_KIND_MODIFIERS:()=>te,LINK_VARIANTS:()=>Jt,MODAL_KIND_MODIFIERS:()=>dl,MODAL_SIZE_MODIFIERS:()=>ul,MULTI_SELECT_SIZES:()=>$c,NOTICE_KINDS:()=>bt,POPOVER_CONTENT_WIDTHS:()=>lr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:()=>or,POPOVER_INITIAL_FOCUS_STRINGS:()=>dr,POPOVER_PADDING_CLASSES:()=>sr,POPOVER_ROLES:()=>rr,ROOT_LAYOUT_SIDEBAR_POSITIONS:()=>yc,SELECT_SIZE_MODIFIERS:()=>Gd,SELECT_STATE_MODIFIERS:()=>Zd,SHORTCUTS_ALIASES:()=>oc,SHORTCUTS_ALIASES_LIST:()=>dc,SHORTCUTS_ICON_ALIASES:()=>rc,SHORTCUTS_ICON_SEPARATOR:()=>lc,SKELETON_HEADING_HEIGHTS:()=>_n,SKELETON_RIPPLE_DURATION:()=>gn,SKELETON_SHAPES:()=>vn,SKELETON_SHAPE_SIZES:()=>bn,SKELETON_TEXT_TYPES:()=>yn,TAB_IMPORTANCE_MODIFIERS:()=>ld,TAB_LIST_IMPORTANCE_MODIFIERS:()=>rd,TAB_LIST_KIND_MODIFIERS:()=>od,TAB_LIST_SIZES:()=>ad,TOAST_ROLES:()=>ou,TOOLTIP_DIRECTIONS:()=>_u,TOOLTIP_HIDE_ON_CLICK_VARIANTS:()=>wu,TOOLTIP_KIND_MODIFIERS:()=>Su,TOOLTIP_STICKY_VALUES:()=>xu,USER_STATUS_COLOR_MODIFIERS:()=>qc,VALIDATION_MESSAGE_TYPES:()=>c,filterFormattedMessages:()=>I,formatMessages:()=>C,getUniqueString:()=>w,getValidationState:()=>O,validationMessageValidator:()=>Fr}),"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","pink-300":"d-avatar--pink-300","pink-400":"d-avatar--pink-400","pink-500":"d-avatar--pink-500","pink-600":"d-avatar--pink-600","purple-200":"d-avatar--purple-200","purple-300":"d-avatar--purple-300","purple-500":"d-avatar--purple-500","purple-600":"d-avatar--purple-600","yellow-200":"d-avatar--yellow-200","yellow-300":"d-avatar--yellow-300","yellow-400":"d-avatar--yellow-400","yellow-500":"d-avatar--yellow-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=c.ERROR,g="dt";let v=0;const y="input:not([type=hidden]):not(:disabled)",b="select:not(:disabled),textarea:not(:disabled),button:not(:disabled)",_="".concat(y,",").concat(b),S="a,frame,iframe,".concat(_,",*[tabindex]"),x="function"===typeof setImmediate?setImmediate:setTimeout;function w(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g;return"".concat(t).concat(v++)}function C(t){return t?t.map((t=>"string"===typeof t?{message:t,type:m}:t)):[]}function I(t){const e=O(t);return t&&e?t.filter((t=>!!t.message&&t.type===e)):[]}function O(t){return t?E(t,c.ERROR)?c.ERROR:E(t,c.WARNING)?c.WARNING:E(t,c.SUCCESS)?c.SUCCESS:null:null}function E(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 L={name:"html-fragment",functional:!0,props:["html"],render(t,e){return new(r())({name:"Inner",beforeCreate(){this.$createElement=t},template:"<div>".concat(e.props.html,"</div>")}).$mount()._vnode.children}},D=()=>new Promise((t=>{x(t)})),A={getUniqueString:w,formatMessages:C,filterFormattedMessages:I,hasFormattedMessageOfType:E,getValidationState:O,htmlFragment:L,flushPromises:D},T={name:"DtAvatar",inheritAttrs:!1,props:{id:{type:String,default(){return w()}},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=T;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 $=M(P,n,s,!1,null,null,null);const B=$.exports;var R=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)},N=[];const V={base:"","black-700":"d-badge--black-700","green-400":"d-badge--green-400","orange-400":"d-badge--orange-400","pink-300":"d-badge--pink-300","pink-500":"d-badge--pink-500","pink-600":"d-badge--pink-600","pink-700":"d-badge--pink-700","purple-100":"d-badge--purple-100","purple-300":"d-badge--purple-300","purple-500":"d-badge--purple-500","purple-700":"d-badge--purple-700","red-500":"d-badge--red-500",white:"d-badge--white","yellow-300":"d-badge--yellow-300"},j={name:"DtBadge",props:{text:{type:String,default:""},color:{type:String,default:"base",validator:t=>Object.keys(V).includes(t)}},data(){return{BADGE_COLOR_MODIFIERS:V}}},F=j;var q=M(F,R,N,!1,null,null,null);const H=q.exports;var K=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{class:t.bannerClass,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",attrs:{"aria-labelledby":t.titleId,"aria-describedby":t.contentId}},[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}},t.$listeners),[t._t("action")],2)],1)])},W=[],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()},U=[],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","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"}})])},Z=[],Y={},X=M(Y,G,Z,!1,null,null,null);const Q=X.exports;var J=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","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"}})])},tt=[],et={},nt=M(et,J,tt,!1,null,null,null);const it=nt.exports;var at=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","aria-label":"Warning",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}})])},st=[],ot={},rt=M(ot,at,st,!1,null,null,null);const lt=rt.exports;var dt=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","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"}})])},ut=[],ct={},pt=M(ct,dt,ut,!1,null,null,null);const ht=pt.exports;var ft=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","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 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}})])},mt=[],gt={},vt=M(gt,ft,mt,!1,null,null,null);const yt=vt.exports,bt=["base","error","info","success","warning"],_t=["alert","alertdialog","status"],St=new Map([["info","IconInfo"],["success","IconCheckCircle"],["warning","IconWarning"],["error","IconError"],["base","IconLightbulb"]]),xt={name:"DtNoticeIcon",components:{IconLightbulb:Q,IconInfo:it,IconWarning:lt,IconError:ht,IconCheckCircle:yt},props:{kind:{type:String,default:"base",validate(t){return bt.includes(t)}}},computed:{defaultIcon(){return St.get(this.kind)}}},wt=xt;var Ct=M(wt,z,U,!1,null,null,null);const It=Ct.exports;var Ot=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||this.$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)])},Et=[];const kt={name:"DtNoticeContent",props:{title:{type:String,default:""},titleId:{type:String,default:void 0},contentId:{type:String,default:void 0}}},Lt=kt;var Dt=M(Lt,Ot,Et,!1,null,null,null);const At=Dt.exports;var Tt=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._b({ref:"closeButton",attrs:{size:"sm",importance:"clear",circle:"","aria-label":t.closeButtonProps.ariaLabel?t.closeButtonProps.ariaLabel:"Close"},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))],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","aria-label":"Close",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 6.41L17.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"}})])},$t=[],Bt={},Rt=M(Bt,Mt,$t,!1,null,null,null);const Nt=Rt.exports;var Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",t._g({class:["base-button__button",t.buttonClasses()],attrs:{"data-qa":"dt-button",type:t.type,"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()])},jt=[];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"},Ht={clear:"",primary:"d-btn--primary",outlined:"d-btn--outlined"},Kt=["submit","reset","button"],Wt={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:Ut(!0,"default","primary")},{circle:!0,kind:"danger",importance:"outlined",message:Ut(!0,"danger","outlined")},{circle:!0,kind:"muted",importance:"primary",message:Ut(!0,"muted","primary")},{circle:!1,kind:"muted",importance:"primary",message:Ut(!1,"muted","primary")}];function Ut(t,e,n){return"You cannot have a ".concat(t?"circle ":"","button with kind: ").concat(e," and importance: ").concat(n," as it does not exist in our design system. See https://dialpad.design/components/button for a list of available button styles")}const Gt="danger",Zt="warning",Yt="success",Xt="muted",Qt="inverted",Jt=["",Gt,Zt,Yt,Xt,Qt],te={default:"",warning:"d-link--warning",danger:"d-link--danger",success:"d-link--success",muted:"d-link--muted",inverted:"d-link--inverted"},ee={name:"DtButton",props:{circle:{type:Boolean,default:!1},iconPosition:{type:String,default:"left",validator:t=>Object.keys(Wt).includes(t)},importance:{type:String,default:"primary",validator:t=>Object.keys(Ht).includes(t)},link:{type:Boolean,default:!1},linkKind:{type:String,default:"default",validator:t=>Object.keys(te).includes(t)},type:{type:String,default:"button",validator:t=>Kt.includes(t)},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:Wt,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",te[this.linkKind],Ft[this.size]]:["d-btn",Ht[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 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)}}},ne=ee;var ie=M(ne,Vt,jt,!1,null,null,null);const ae=ie.exports,se={name:"DtNoticeAction",components:{IconClose:Nt,DtButton:ae},props:{closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],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")}}},oe=se;var re=M(oe,Tt,Pt,!1,null,null,null);const le=re.exports,de=':not(:disabled):not([aria-disabled="true"])',ue="".concat(de,':not([tabindex="-1"])'),ce="button,[href],input,select,textarea,details,[tabindex]",pe={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(ce)];return n.filter((t=>{const n=window.getComputedStyle(t);return"none"!==n.getPropertyValue("display")&&"hidden"!==n.getPropertyValue("visibility")&&t.matches(e?de:ue)}))},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())}}},he={name:"DtBanner",components:{DtNoticeIcon:It,DtNoticeContent:At,DtNoticeAction:le},mixins:[pe],props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},important:{type:Boolean,default:!1},pinned:{type:Boolean,default:!1},kind:{type:String,default:"",validate(t){return bt.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},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}]}},mounted(){this.important&&this.focusFirstElement()},methods:{trapFocus(t){this.important&&this.focusTrappedTabPress(t)}}},fe=he;var me=M(fe,K,W,!1,null,null,null);const ge=me.exports;var ve=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._b({key:e.getBreadcrumbItemKey(n),attrs:{inverted:e.inverted}},"dt-breadcrumb-item",t,!1))}))}))],2)])},ye=[];const be="d-breadcrumbs__item--selected",_e="d-breadcrumbs--inverted";var Se=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)},xe=[],we=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)},Ce=[];const Ie={name:"DtLink",props:{kind:{type:String,default:"",validator(t){return Jt.includes(t)}}},emits:["click","focusin","focusout"],data(){return{LINK_KIND_MODIFIERS:te}}},Oe=Ie;var Ee=M(Oe,we,Ce,!1,null,null,null);const ke=Ee.exports,Le={name:"DtBreadcrumbItem",components:{DtLink:ke},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:be}},computed:{linkKind(){return this.inverted?Qt:Xt},ariaCurrent(){return this.selected?"location":void 0}}},De=Le;var Ae=M(De,Se,xe,!1,null,null,null);const Te=Ae.exports,Pe={name:"DtBreadcrumbs",components:{DtBreadcrumbItem:Te},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:_e}},methods:{getBreadcrumbItemKey(t){return"breadcrumbs-item-".concat(t,"-").concat(A.getUniqueString())}}},Me=Pe;var $e=M(Me,ve,ye,!1,null,null,null);const Be=$e.exports;var Re=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["d-btn-group",t.BUTTON_GROUP_ALIGNMENT[this.alignment]],attrs:{role:"group"}},[t._t("default")],2)},Ne=[];const Ve={start:"d-btn-group--start",end:"d-btn-group--end","space-between":"d-btn-group--space-between"},je={name:"DtButtonGroup",props:{alignment:{type:String,default:"start",validator:t=>Object.keys(Ve).includes(t)}},data(){return{BUTTON_GROUP_ALIGNMENT:Ve}}},Fe=je;var qe=M(Fe,Re,Ne,!1,null,null,null);const He=qe.exports;var Ke=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()])},We=[];const ze={methods:{scrollElementIntoViewIfNeeded(t,e,n,i){t.scrollIntoViewIfNeeded?this.scrollIntoViewIfNeeded(t,e,n,i):this.scrollIntoView(t,"bottom",!1,n,i)},scrollElementIntoView(t,e,n,i){"center"!==e?!1===e?this.scrollIntoView(t,"bottom",!1,n,i):this.scrollIntoView(t,"top",!1,n,i):this.scrollIntoView(t,"center",!1,n,i)},scrollIntoViewIfNeeded(t,e,n,i){const a=e?"center":void 0;this.scrollIntoView(t,a,!0,n,i)},scrollIntoView(t,e,n,i,a){if(!t||!t.parentElement)return;const s=t.offsetTop,o=a||t.parentElement,r=this._getScrollBounds(o),l=r.bottom-r.top,d=this._getElementHeight(t),u=s+d;let c=-1;switch(e){case"top":c=s;break;case"center":c=s+(d-l)/2;break;case"bottom":c=c=u-l;break;default:c=s-r.top<=l/2?s:u-l;break}this._setScrollTop(o,c,r,s,u,n,i)},_setScrollTop(t,e,n,i,a,s,o){n=n||this._getScrollBounds(t);const r=n.bottom-n.top;if(s&&this._inScrollBounds(i,a,n))if(i<n.top)e=i;else{if(!(a>n.bottom))return;e=a-r}o?t.scrollTo({top:e,behavior:o}):t.scrollTop=e},_getElementHeight(t){return t.getBoundingClientRect().height},_getScrollBounds(t){const e=this._getElementHeight(t),n=t.scrollTop;return{top:n,bottom:n+e}},_inScrollBounds(t,e,n){const i=e-t;return e<=n.bottom+3*i/4&&t>=n.top-i/4}}},Ue="listElementKey is required or the referenced element doesn't exist. Received listElement: ",Ge=function(){let{listItemRole:t="option",indexKey:e="highlightIndex",idKey:n="highlightId",listElementKey:i="listRef",activeItemKey:a="",openMethod:s=null,afterHighlightMethod:o=null,beginningOfListMethod:r=null,endOfListMethod:l=null,scrollToOnHighlight:d=!0,focusOnKeyboardNavigation:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mixins:[ze],data(){return{[e]:-1,[n]:"",scrollToOnHighlight:d,focusOnKeyboardNavigation:u}},provide(){return{highlightId:()=>this[n]}},methods:{_getListElement(){var t;return(null===(t=this[i]())||void 0===t?void 0:t.$el)||this[i]()},_itemsLength(){const t=this._getListItemNodes();return null===t?0:t.length},_getListItemNodes(){const e=this._getListElement();return e?Array.from(e.querySelectorAll('[role="'.concat(t,'"]'))):(console.error(Ue,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="'.concat(t,'"]')));return i.indexOf(n.querySelector("#".concat(e)))},_getItemId(e){var n;const i=this._getListElement();if(i)return null===(n=i.querySelectorAll('[role="'.concat(t,'"]'))[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 Ze=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)},Ye=[],Xe=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}],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)},Qe=[];const Je={DEFAULT:"default",CUSTOM:"custom"},tn={ARROW_KEYS:"arrow-keys",TAB:"tab",NONE:"none"};var en=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"dt-default-list-item d-fs14 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-fs12 d-fc-black-500",{"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()])},nn=[];const an={name:"DefaultListItem"},sn=an;i(357);var on=M(sn,en,nn,!1,null,null,null);const rn=on.exports,ln={name:"ListItem",components:{DtDefaultListItem:rn},inject:{highlightId:{default:null}},props:{id:{type:String,default(){return A.getUniqueString()}},role:{type:String,default:"listitem"},elementType:{type:String,default:"li"},type:{type:String,default:Je.DEFAULT,validator:t=>Object.values(Je).includes(t)},navigationType:{type:String,default:tn.NONE,validator:t=>Object.values(tn).includes(t)}},emits:["click","keydown","mousemove","mouseleave"],data(){return{injected:!1,mouseHighlighted:!1}},computed:{listItemType(){switch(this.type){case Je.DEFAULT:return rn;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===tn.TAB},isHoverable(){return this.navigationType!==tn.NONE}},methods:{onClick(t){this.$emit("click",t)},onMouseHover(){this.mouseHighlighted=!0},onMouseLeave(){this.mouseHighlighted=!1}}},dn=ln;i(759);var un=M(dn,Xe,Qe,!1,null,null,null);const cn=un.exports;var pn=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)},hn=[],fn=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"}})},mn=[];const gn=3e6,vn={circle:"d-bar-circle",square:"d-bar2"},yn=["body","heading"],bn={sm:"24px",md:"32px",lg:"48px"},_n={sm:"d-h16",md:"d-h24",lg:"d-h32"},Sn={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*gn/1e3,n=-1===this.animationDuration?1e3:this.animationDuration;return t.animationDelay="".concat(e,"ms"),t.animationDuration="".concat(n,"ms"),t}}},xn={name:"DtSkeletonShape",mixins:[Sn],props:{shape:{type:String,default:"circle",validator:t=>Object.keys(vn).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:vn}},computed:{shapeStyles(){const t=bn[this.size]||this.size;return{...this.skeletonStyle,"min-width":t,"max-width":t,"min-height":t,"max-height":t}}}},wn=xn;var Cn=M(wn,fn,mn,!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",{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)},En=[],kn=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)},Ln=[],Dn=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()},An=[];const Tn={name:"DtSkeletonText",mixins:[Sn],props:{type:{type:String,default:"body",validator:t=>yn.includes(t)},headingHeight:{type:String,default:"md",validator:t=>Object.keys(_n).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:_n}}},Pn=Tn;var Mn=M(Pn,Dn,An,!1,null,null,null);const $n=Mn.exports,Bn=t=>""!==t&&!Number.isNaN(Number(t)),Rn={name:"DtSkeletonParagraph",components:{DtSkeletonText:$n},props:{rows:{type:[Number,String],default:3,validator:Bn},animate:{type:Boolean,default:!0},minWidth:{type:[Number,String],default:30,validator:Bn},maxWidth:{type:[Number,String],default:100,validator:Bn},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"".concat(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%"}}},Nn=Rn;var Vn=M(Nn,kn,Ln,!1,null,null,null);const jn=Vn.exports,Fn={name:"DtSkeletonListItem",components:{DtSkeletonShape:In,DtSkeletonParagraph:jn},props:{shape:{type:String,default:"circle",validator:t=>Object.keys(vn).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:""}}},qn=Fn;var Hn=M(qn,On,En,!1,null,null,null);const Kn=Hn.exports,Wn={name:"DtSkeleton",components:{DtSkeletonText:$n,DtSkeletonShape:In,DtSkeletonListItem:Kn,DtSkeletonParagraph:jn},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 ".concat(t.map((t=>{let[e]=t;return e})).join(" | ")," options at the same time");console.error(e)}}}},zn=Wn;i(859);var Un=M(zn,pn,hn,!1,null,null,null);const Gn=Un.exports,Zn={name:"ComboboxLoadingList",components:{DtListItem:cn,DtSkeleton:Gn}},Yn=Zn;var Xn=M(Yn,Ze,Ye,!1,null,null,null);const Qn=Xn.exports;var Jn=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":"arrow-keys"}},[n("span",[t._v(t._s(t.message))])])],1)},ti=[];const ei={name:"ComboboxEmptyList",components:{DtListItem:cn},props:{message:{type:String,required:!0}}},ni=ei;var ii=M(ni,Jn,ti,!1,null,null,null);const ai=ii.exports,si={name:"DtCombobox",components:{ComboboxLoadingList:Qn,ComboboxEmptyList:ai},mixins:[Ge({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 w()}},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("#".concat(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.")}}},oi=si;var ri=M(oi,Ke,We,!1,null,null,null);const li=ri.exports;var di=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)},ui=[],ci=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)},pi=[];const hi={name:"DtCollapsibleLazyShow",props:{show:Boolean,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="".concat(t.scrollHeight,"px")}))}))},afterEnter(t){t.style.height=null},beforeLeave(t){requestAnimationFrame((()=>{t.style.height||(t.style.height="".concat(t.offsetHeight,"px"))}))},leave(t){requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.style.height="0px"}))}))},afterLeave(t){t.style.height=null}}},fi=hi;i(124);var mi=M(fi,ci,pi,!1,null,null,null);const gi=mi.exports;var vi=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)])},yi=[];const bi={name:"DtLazyShow",props:{show:Boolean,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)}}},_i=bi;var Si=M(_i,vi,yi,!1,null,null,null);const xi=Si.exports;var wi=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","aria-label":"Arrow Accordion Open",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8.738 8a1 1 0 00-.865 1.502l3.262 5.614a1 1 0 001.73 0l3.262-5.614A1 1 0 0015.262 8H8.738z"}})])},Ci=[],Ii={},Oi=M(Ii,wi,Ci,!1,null,null,null);const Ei=Oi.exports;var ki=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","aria-label":"Arrow Accordion Closed",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M8 15.262a1 1 0 001.502.865l5.614-3.262a1 1 0 000-1.73L9.502 7.873A1 1 0 008 8.738v6.524z"}})])},Li=[],Di={},Ai=M(Di,ki,Li,!1,null,null,null);const Ti=Ai.exports,Pi={name:"DtCollapsible",components:{DtButton:ae,DtCollapsibleLazyShow:gi,DtLazyShow:xi,IconArrowAccordionOpen:Ei,IconArrowAccordionClosed:Ti},props:{anchorText:{type:String,default:null},open:{type:Boolean,default:null},id:{type:String,default(){return w()}},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&&w("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}}},Mi=Pi;var $i=M(Mi,di,ui,!1,null,null,null);const Bi=$i.exports;var Ri=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},on:{opened:t.updateInitialHighlightIndex,keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onEnterKey.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"space",32,e.key,[" ","Spacebar"])?null:t.onSpaceKey.apply(null,arguments)},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,"onUpKeyPress"))},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,"onDownKeyPress"))},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,"onHomeKeyPress"))},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,"onEndKeyPress"))},function(e){return t.onKeyValidation(e,"onKeyPress")}]},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:["d-ps-relative","d-px0",t.DROPDOWN_PADDING_CLASSES[t.padding],t.listClass],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})],2)]}}],null,!0)},t.$listeners))},Ni=[],Vi=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--modal-opened":t.modal&&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"},on:{"!click":function(e){return t.defaultToggleOpen.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:""},on:{"!keydown":function(e){return t.onKeydown.apply(null,arguments)},"after-leave":t.onLeaveTransitionComplete,"after-enter":t.onEnterTransitionComplete}},t.$listeners),[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()],1)],1)],1)},ji=[];function Fi(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 qi(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Hi(t){var e=qi(t),n=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Ki(t){var e=qi(t).Element;return t instanceof e||t instanceof Element}function Wi(t){var e=qi(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function zi(t){if("undefined"===typeof ShadowRoot)return!1;var e=qi(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Ui(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Gi(t){return t!==qi(t)&&Wi(t)?Ui(t):Hi(t)}function Zi(t){return t?(t.nodeName||"").toLowerCase():null}function Yi(t){return((Ki(t)?t.ownerDocument:t.document)||window.document).documentElement}function Xi(t){return Fi(Yi(t)).left+Hi(t).scrollLeft}function Qi(t){return qi(t).getComputedStyle(t)}function Ji(t){var e=Qi(t),n=e.overflow,i=e.overflowX,a=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function ta(t){var e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1;return 1!==n||1!==i}function ea(t,e,n){void 0===n&&(n=!1);var i=Wi(e),a=Wi(e)&&ta(e),s=Yi(e),o=Fi(t,a),r={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==Zi(e)||Ji(s))&&(r=Gi(e)),Wi(e)?(l=Fi(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):s&&(l.x=Xi(s))),{x:o.left+r.scrollLeft-l.x,y:o.top+r.scrollTop-l.y,width:o.width,height:o.height}}function na(t){var e=Fi(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 ia(t){return"html"===Zi(t)?t:t.assignedSlot||t.parentNode||(zi(t)?t.host:null)||Yi(t)}function aa(t){return["html","body","#document"].indexOf(Zi(t))>=0?t.ownerDocument.body:Wi(t)&&Ji(t)?t:aa(ia(t))}function sa(t,e){var n;void 0===e&&(e=[]);var i=aa(t),a=i===(null==(n=t.ownerDocument)?void 0:n.body),s=qi(i),o=a?[s].concat(s.visualViewport||[],Ji(i)?i:[]):i,r=e.concat(o);return a?r:r.concat(sa(ia(o)))}function oa(t){return["table","td","th"].indexOf(Zi(t))>=0}function ra(t){return Wi(t)&&"fixed"!==Qi(t).position?t.offsetParent:null}function la(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),n=-1!==navigator.userAgent.indexOf("Trident");if(n&&Wi(t)){var i=Qi(t);if("fixed"===i.position)return null}var a=ia(t);while(Wi(a)&&["html","body"].indexOf(Zi(a))<0){var s=Qi(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 da(t){var e=qi(t),n=ra(t);while(n&&oa(n)&&"static"===Qi(n).position)n=ra(n);return n&&("html"===Zi(n)||"body"===Zi(n)&&"static"===Qi(n).position)?e:n||la(t)||e}var ua="top",ca="bottom",pa="right",ha="left",fa="auto",ma=[ua,ca,pa,ha],ga="start",va="end",ya="clippingParents",ba="viewport",_a="popper",Sa="reference",xa=ma.reduce((function(t,e){return t.concat([e+"-"+ga,e+"-"+va])}),[]),wa=[].concat(ma,[fa]).reduce((function(t,e){return t.concat([e,e+"-"+ga,e+"-"+va])}),[]),Ca="beforeRead",Ia="read",Oa="afterRead",Ea="beforeMain",ka="main",La="afterMain",Da="beforeWrite",Aa="write",Ta="afterWrite",Pa=[Ca,Ia,Oa,Ea,ka,La,Da,Aa,Ta];function Ma(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 $a(t){var e=Ma(t);return Pa.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}function Ba(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}function Ra(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 Na={placement:"bottom",modifiers:[],strategy:"absolute"};function Va(){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 ja(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,i=void 0===n?[]:n,a=e.defaultOptions,s=void 0===a?Na:a;return function(t,e,n){void 0===n&&(n=s);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Na,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:Ki(t)?sa(t):t.contextElement?sa(t.contextElement):[],popper:sa(e)};var r=$a(Ra([].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(Va(e,n)){a.rects={reference:ea(e,da(n),"fixed"===a.options.strategy),popper:na(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:Ba((function(){return new Promise((function(t){l.forceUpdate(),t(a)}))})),destroy:function(){u(),r=!0}};if(!Va(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 Fa={passive:!0};function qa(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=qi(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return s&&d.forEach((function(t){t.addEventListener("scroll",n.update,Fa)})),r&&l.addEventListener("resize",n.update,Fa),function(){s&&d.forEach((function(t){t.removeEventListener("scroll",n.update,Fa)})),r&&l.removeEventListener("resize",n.update,Fa)}}const Ha={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qa,data:{}};function Ka(t){return t.split("-")[0]}function Wa(t){return t.split("-")[1]}function za(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Ua(t){var e,n=t.reference,i=t.element,a=t.placement,s=a?Ka(a):null,o=a?Wa(a):null,r=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(s){case ua:e={x:r,y:n.y-i.height};break;case ca:e={x:r,y:n.y+n.height};break;case pa:e={x:n.x+n.width,y:l};break;case ha:e={x:n.x-i.width,y:l};break;default:e={x:n.x,y:n.y}}var d=s?za(s):null;if(null!=d){var u="y"===d?"height":"width";switch(o){case ga:e[d]=e[d]-(n[u]/2-i[u]/2);break;case va:e[d]=e[d]+(n[u]/2-i[u]/2);break;default:}}return e}function Ga(t){var e=t.state,n=t.name;e.modifiersData[n]=Ua({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const Za={name:"popperOffsets",enabled:!0,phase:"read",fn:Ga,data:{}};var Ya=Math.max,Xa=Math.min,Qa=Math.round,Ja={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ts(t){var e=t.x,n=t.y,i=window,a=i.devicePixelRatio||1;return{x:Qa(Qa(e*a)/a)||0,y:Qa(Qa(n*a)/a)||0}}function es(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?ts(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"),y=ha,b=ua,_=window;if(d){var S=da(n),x="clientHeight",w="clientWidth";S===qi(n)&&(S=Yi(n),"static"!==Qi(S).position&&"absolute"===r&&(x="scrollHeight",w="scrollWidth")),S=S,a!==ua&&(a!==ha&&a!==pa||s!==va)||(b=ca,m-=S[x]-i.height,m*=l?1:-1),a!==ha&&(a!==ua&&a!==ca||s!==va)||(y=pa,h-=S[w]-i.width,h*=l?1:-1)}var C,I=Object.assign({position:r},d&&Ja);return l?Object.assign({},I,(C={},C[b]=v?"0":"",C[y]=g?"0":"",C.transform=(_.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",C)):Object.assign({},I,(e={},e[b]=v?m+"px":"",e[y]=g?h+"px":"",e.transform="",e))}function ns(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:Ka(e.placement),variation:Wa(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:a};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,es(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,es(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 is={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:ns,data:{}};function as(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];Wi(a)&&Zi(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 ss(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}),{});Wi(i)&&Zi(i)&&(Object.assign(i.style,o),Object.keys(a).forEach((function(t){i.removeAttribute(t)})))}))}}const os={name:"applyStyles",enabled:!0,phase:"write",fn:as,effect:ss,requires:["computeStyles"]};function rs(t,e,n){var i=Ka(t),a=[ha,ua].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,[ha,pa].indexOf(i)>=0?{x:r,y:o}:{x:o,y:r}}function ls(t){var e=t.state,n=t.options,i=t.name,a=n.offset,s=void 0===a?[0,0]:a,o=wa.reduce((function(t,n){return t[n]=rs(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 ds={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ls};var us={left:"right",right:"left",bottom:"top",top:"bottom"};function cs(t){return t.replace(/left|right|bottom|top/g,(function(t){return us[t]}))}var ps={start:"end",end:"start"};function hs(t){return t.replace(/start|end/g,(function(t){return ps[t]}))}function fs(t){var e=qi(t),n=Yi(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+Xi(t),y:r}}function ms(t){var e,n=Yi(t),i=Hi(t),a=null==(e=t.ownerDocument)?void 0:e.body,s=Ya(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=Ya(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),r=-i.scrollLeft+Xi(t),l=-i.scrollTop;return"rtl"===Qi(a||n).direction&&(r+=Ya(n.clientWidth,a?a.clientWidth:0)-s),{width:s,height:o,x:r,y:l}}function gs(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&zi(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function vs(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ys(t){var e=Fi(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 bs(t,e){return e===ba?vs(fs(t)):Wi(e)?ys(e):vs(ms(Yi(t)))}function _s(t){var e=sa(ia(t)),n=["absolute","fixed"].indexOf(Qi(t).position)>=0,i=n&&Wi(t)?da(t):t;return Ki(i)?e.filter((function(t){return Ki(t)&&gs(t,i)&&"body"!==Zi(t)})):[]}function Ss(t,e,n){var i="clippingParents"===e?_s(t):[].concat(e),a=[].concat(i,[n]),s=a[0],o=a.reduce((function(e,n){var i=bs(t,n);return e.top=Ya(i.top,e.top),e.right=Xa(i.right,e.right),e.bottom=Xa(i.bottom,e.bottom),e.left=Ya(i.left,e.left),e}),bs(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 xs(){return{top:0,right:0,bottom:0,left:0}}function ws(t){return Object.assign({},xs(),t)}function Cs(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function Is(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?ya:s,r=n.rootBoundary,l=void 0===r?ba:r,d=n.elementContext,u=void 0===d?_a:d,c=n.altBoundary,p=void 0!==c&&c,h=n.padding,f=void 0===h?0:h,m=ws("number"!==typeof f?f:Cs(f,ma)),g=u===_a?Sa:_a,v=t.rects.popper,y=t.elements[p?g:u],b=Ss(Ki(y)?y:y.contextElement||Yi(t.elements.popper),o,l),_=Fi(t.elements.reference),S=Ua({reference:_,element:v,strategy:"absolute",placement:a}),x=vs(Object.assign({},v,S)),w=u===_a?x:_,C={top:b.top-w.top+m.top,bottom:w.bottom-b.bottom+m.bottom,left:b.left-w.left+m.left,right:w.right-b.right+m.right},I=t.modifiersData.offset;if(u===_a&&I){var O=I[a];Object.keys(C).forEach((function(t){var e=[pa,ca].indexOf(t)>=0?1:-1,n=[ua,ca].indexOf(t)>=0?"y":"x";C[t]+=O[n]*e}))}return C}function Os(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?wa:l,u=Wa(i),c=u?r?xa:xa.filter((function(t){return Wa(t)===u})):ma,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]=Is(t,{placement:n,boundary:a,rootBoundary:s,padding:o})[Ka(n)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}function Es(t){if(Ka(t)===fa)return[];var e=cs(t);return[hs(t),e,hs(e)]}function ks(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=Ka(g),y=v===g,b=l||(y||!f?[cs(g)]:Es(g)),_=[g].concat(b).reduce((function(t,n){return t.concat(Ka(n)===fa?Os(e,{placement:n,boundary:u,rootBoundary:c,padding:d,flipVariations:f,allowedAutoPlacements:m}):n)}),[]),S=e.rects.reference,x=e.rects.popper,w=new Map,C=!0,I=_[0],O=0;O<_.length;O++){var E=_[O],k=Ka(E),L=Wa(E)===ga,D=[ua,ca].indexOf(k)>=0,A=D?"width":"height",T=Is(e,{placement:E,boundary:u,rootBoundary:c,altBoundary:p,padding:d}),P=D?L?pa:ha:L?ca:ua;S[A]>x[A]&&(P=cs(P));var M=cs(P),$=[];if(s&&$.push(T[k]<=0),r&&$.push(T[P]<=0,T[M]<=0),$.every((function(t){return t}))){I=E,C=!1;break}w.set(E,$)}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 Ls={name:"flip",enabled:!0,phase:"main",fn:ks,requiresIfExists:["offset"],data:{_skip:!1}};function Ds(t){return"x"===t?"y":"x"}function As(t,e,n){return Ya(t,Xa(e,n))}function Ts(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=Is(e,{boundary:l,rootBoundary:d,padding:c,altBoundary:u}),v=Ka(e.placement),y=Wa(e.placement),b=!y,_=za(v),S=Ds(_),x=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(x){if(s||r){var E="y"===_?ua:ha,k="y"===_?ca:pa,L="y"===_?"height":"width",D=x[_],A=x[_]+g[E],T=x[_]-g[k],P=h?-C[L]/2:0,M=y===ga?w[L]:C[L],$=y===ga?-C[L]:-w[L],B=e.elements.arrow,R=h&&B?na(B):{width:0,height:0},N=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:xs(),V=N[E],j=N[k],F=As(0,w[L],R[L]),q=b?w[L]/2-P-F-V-I:M-F-V-I,H=b?-w[L]/2+P+F+j+I:$+F+j+I,K=e.elements.arrow&&da(e.elements.arrow),W=K?"y"===_?K.clientTop||0:K.clientLeft||0:0,z=e.modifiersData.offset?e.modifiersData.offset[e.placement][_]:0,U=x[_]+q-z-W,G=x[_]+H-z;if(s){var Z=As(h?Xa(A,U):A,D,h?Ya(T,G):T);x[_]=Z,O[_]=Z-D}if(r){var Y="x"===_?ua:ha,X="x"===_?ca:pa,Q=x[S],J=Q+g[Y],tt=Q-g[X],et=As(h?Xa(J,U):J,Q,h?Ya(tt,G):tt);x[S]=et,O[S]=et-Q}}e.modifiersData[i]=O}}const Ps={name:"preventOverflow",enabled:!0,phase:"main",fn:Ts,requiresIfExists:["offset"]};var Ms=function(t,e){return t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,ws("number"!==typeof t?t:Cs(t,ma))};function $s(t){var e,n=t.state,i=t.name,a=t.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,r=Ka(n.placement),l=za(r),d=[ha,pa].indexOf(r)>=0,u=d?"height":"width";if(s&&o){var c=Ms(a.padding,n),p=na(s),h="y"===l?ua:ha,f="y"===l?ca:pa,m=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],g=o[l]-n.rects.reference[l],v=da(s),y=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=m/2-g/2,_=c[h],S=y-p[u]-c[f],x=y/2-p[u]/2+b,w=As(_,x,S),C=l;n.modifiersData[i]=(e={},e[C]=w,e.centerOffset=w-x,e)}}function Bs(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))&&gs(e.elements.popper,a)&&(e.elements.arrow=a)}const Rs={name:"arrow",enabled:!0,phase:"main",fn:$s,effect:Bs,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ns(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 Vs(t){return[ua,pa,ca,ha].some((function(e){return t[e]>=0}))}function js(t){var e=t.state,n=t.name,i=e.rects.reference,a=e.rects.popper,s=e.modifiersData.preventOverflow,o=Is(e,{elementContext:"reference"}),r=Is(e,{altBoundary:!0}),l=Ns(o,i),d=Ns(r,a,s),u=Vs(l),c=Vs(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 Fs={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:js};var qs=[Ha,Za,is,os,ds,Ls,Ps,Rs,Fs],Hs=ja({defaultModifiers:qs}),Ks="tippy-box",Ws="tippy-content",zs="tippy-backdrop",Us="tippy-arrow",Gs="tippy-svg-arrow",Zs={passive:!0,capture:!0},Ys=function(){return document.body};function Xs(t,e,n){if(Array.isArray(t)){var i=t[e];return null==i?Array.isArray(n)?n[e]:n:i}return t}function Qs(t,e){var n={}.toString.call(t);return 0===n.indexOf("[object")&&n.indexOf(e+"]")>-1}function Js(t,e){return"function"===typeof t?t.apply(void 0,e):t}function to(t,e){return 0===e?t:function(i){clearTimeout(n),n=setTimeout((function(){t(i)}),e)};var n}function eo(t){return t.split(/\s+/).filter(Boolean)}function no(t){return[].concat(t)}function io(t,e){-1===t.indexOf(e)&&t.push(e)}function ao(t){return t.filter((function(e,n){return t.indexOf(e)===n}))}function so(t){return t.split("-")[0]}function oo(t){return[].slice.call(t)}function ro(t){return Object.keys(t).reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{})}function lo(){return document.createElement("div")}function uo(t){return["Element","Fragment"].some((function(e){return Qs(t,e)}))}function co(t){return Qs(t,"NodeList")}function po(t){return Qs(t,"MouseEvent")}function ho(t){return!(!t||!t._tippy||t._tippy.reference!==t)}function fo(t){return uo(t)?[t]:co(t)?oo(t):Array.isArray(t)?t:oo(document.querySelectorAll(t))}function mo(t,e){t.forEach((function(t){t&&(t.style.transitionDuration=e+"ms")}))}function go(t,e){t.forEach((function(t){t&&t.setAttribute("data-state",e)}))}function vo(t){var e,n=no(t),i=n[0];return null!=i&&null!=(e=i.ownerDocument)&&e.body?i.ownerDocument:document}function yo(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=so(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 bo(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(e){t[i](e,n)}))}function _o(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 So={isTouch:!1},xo=0;function wo(){So.isTouch||(So.isTouch=!0,window.performance&&document.addEventListener("mousemove",Co))}function Co(){var t=performance.now();t-xo<20&&(So.isTouch=!1,document.removeEventListener("mousemove",Co)),xo=t}function Io(){var t=document.activeElement;if(ho(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Oo(){document.addEventListener("touchstart",wo,Zs),window.addEventListener("blur",Io)}var Eo="undefined"!==typeof window&&"undefined"!==typeof document,ko=!!Eo&&!!window.msCrypto;var Lo={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Do={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},Ao=Object.assign({appendTo:Ys,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},Lo,Do),To=Object.keys(Ao),Po=function(t){var e=Object.keys(t);e.forEach((function(e){Ao[e]=t[e]}))};function Mo(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=Ao[a])?i:s);return e}),{});return Object.assign({},t,n)}function $o(t,e){var n=e?Object.keys(Mo(Object.assign({},Ao,{plugins:e}))):To,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 Bo(t,e){var n=Object.assign({},e,{content:Js(e.content,[t])},e.ignoreAttributes?{}:$o(t,e.plugins));return n.aria=Object.assign({},Ao.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 Ro=function(){return"innerHTML"};function No(t,e){t[Ro()]=e}function Vo(t){var e=lo();return!0===t?e.className=Us:(e.className=Gs,uo(t)?e.appendChild(t):No(e,t)),e}function jo(t,e){uo(e.content)?(No(t,""),t.appendChild(e.content)):"function"!==typeof e.content&&(e.allowHTML?No(t,e.content):t.textContent=e.content)}function Fo(t){var e=t.firstElementChild,n=oo(e.children);return{box:e,content:n.find((function(t){return t.classList.contains(Ws)})),arrow:n.find((function(t){return t.classList.contains(Us)||t.classList.contains(Gs)})),backdrop:n.find((function(t){return t.classList.contains(zs)}))}}function qo(t){var e=lo(),n=lo();n.className=Ks,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=lo();function a(n,i){var a=Fo(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||jo(o,t.props),i.arrow?r?n.arrow!==i.arrow&&(s.removeChild(r),s.appendChild(Vo(i.arrow))):s.appendChild(Vo(i.arrow)):r&&s.removeChild(r)}return i.className=Ws,i.setAttribute("data-state","hidden"),jo(i,t.props),e.appendChild(n),n.appendChild(i),a(t.props,t.props),{popper:e,onUpdate:a}}qo.$$tippy=!0;var Ho=1,Ko=[],Wo=[];function zo(t,e){var n,i,a,s,o,r,l,d=Bo(t,Object.assign({},Ao,Mo(ro(e)))),u=!1,c=!1,p=!1,h=!1,f=[],m=to(Y,d.interactiveDebounce),g=Ho++,v=null,y=ao(d.plugins),b={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},_={id:g,reference:t,popper:lo(),popperInstance:v,props:d,state:b,plugins:y,clearDelayTimeouts:lt,setProps:dt,setContent:ut,show:ct,hide:pt,hideWithInteractivity:ht,enable:ot,disable:rt,unmount:ft,destroy:mt};if(!d.render)return _;var S=d.render(_),x=S.popper,w=S.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+_.id,_.popper=x,t._tippy=_,x._tippy=_;var C=y.map((function(t){return t.fn(_)})),I=t.hasAttribute("aria-expanded");return U(),B(),P(),M("onCreate",[_]),d.showOnCreate&&at(),x.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&D().addEventListener("mousemove",m)})),_;function O(){var t=_.props.touch;return Array.isArray(t)?t:[t,0]}function E(){return"hold"===O()[0]}function k(){var t;return!(null==(t=_.props.render)||!t.$$tippy)}function L(){return l||t}function D(){var t=L().parentNode;return t?vo(t):document}function A(){return Fo(x)}function T(t){return _.state.isMounted&&!_.state.isVisible||So.isTouch||s&&"focus"===s.type?0:Xs(_.props.delay,t?0:1,Ao.delay)}function P(t){void 0===t&&(t=!1),x.style.pointerEvents=_.props.interactive&&!t?"":"none",x.style.zIndex=""+_.props.zIndex}function M(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 $(){var e=_.props.aria;if(e.content){var n="aria-"+e.content,i=x.id,a=no(_.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=no(_.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),Ko=Ko.filter((function(t){return t!==m}))}function N(e){if(!So.isTouch||!p&&"mousedown"!==e.type){var n=e.composedPath&&e.composedPath()[0]||e.target;if(!_.props.interactive||!_o(x,n)){if(no(_.props.triggerTarget||t).some((function(t){return _o(t,n)}))){if(So.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[_,e]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),c=!0,setTimeout((function(){c=!1})),_.state.isMounted||q())}}}function V(){p=!0}function j(){p=!1}function F(){var t=D();t.addEventListener("mousedown",N,!0),t.addEventListener("touchend",N,Zs),t.addEventListener("touchstart",j,Zs),t.addEventListener("touchmove",V,Zs)}function q(){var t=D();t.removeEventListener("mousedown",N,!0),t.removeEventListener("touchend",N,Zs),t.removeEventListener("touchstart",j,Zs),t.removeEventListener("touchmove",V,Zs)}function H(t,e){W(t,(function(){!_.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&e()}))}function K(t,e){W(t,e)}function W(t,e){var n=A().box;function i(t){t.target===n&&(bo(n,"remove",i),e())}if(0===t)return e();bo(n,"remove",o),bo(n,"add",i),o=i}function z(e,n,i){void 0===i&&(i=!1);var a=no(_.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",Z,{passive:!0}),z("touchend",X,{passive:!0})),eo(_.props.trigger).forEach((function(t){if("manual"!==t)switch(z(t,Z),t){case"mouseenter":z("mouseleave",X);break;case"focus":z(ko?"focusout":"blur",Q);break;case"focusin":z("focusout",Q);break}}))}function G(){f.forEach((function(t){var e=t.node,n=t.eventType,i=t.handler,a=t.options;e.removeEventListener(n,i,a)})),f=[]}function Z(t){var e,n=!1;if(_.state.isEnabled&&!J(t)&&!c){var i="focus"===(null==(e=s)?void 0:e.type);s=t,l=t.currentTarget,B(),!_.state.isVisible&&po(t)&&Ko.forEach((function(e){return e(t)})),"click"===t.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:at(t),"click"===t.type&&(u=!n),n&&!i&&st(t)}}function Y(t){var e=t.target,n=L().contains(e)||x.contains(e);if("mousemove"!==t.type||!n){var i=it().concat(x).map((function(t){var e,n=t._tippy,i=null==(e=n.popperInstance)?void 0:e.state;return i?{popperRect:t.getBoundingClientRect(),popperState:i,props:d}:null})).filter(Boolean);yo(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&&x.contains(t.relatedTarget)||st(t)}function J(t){return!!So.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()?Fo(x).arrow:null,d=s?{getBoundingClientRect:s,contextElement:s.contextElement||L()}:t,u={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var e=t.state;if(k()){var n=A(),i=n.box;["placement","reference-hidden","escaped"].forEach((function(t){"placement"===t?i.setAttribute("data-placement",e.placement):e.attributes.popper["data-popper-"+t]?i.setAttribute("data-"+t,""):i.removeAttribute("data-"+t)})),e.attributes.popper={}}}},c=[{name:"offset",options:{offset:a}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!o}},u];k()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),_.popperInstance=Hs(d,x,Object.assign({},n,{placement:i,onFirstUpdate:r,modifiers:c}))}function et(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function nt(){var t,e=_.props.appendTo,n=L();t=_.props.interactive&&e===Ys||"parent"===e?n.parentNode:Js(e,[n]),t.contains(x)||t.appendChild(x),_.state.isMounted=!0,tt()}function it(){return oo(x.querySelectorAll("[data-tippy-root]"))}function at(t){_.clearDelayTimeouts(),t&&M("onTrigger",[_,t]),F();var e=T(!0),i=O(),a=i[0],s=i[1];So.isTouch&&"hold"===a&&s&&(e=s),e?n=setTimeout((function(){_.show()}),e):_.show()}function st(t){if(_.clearDelayTimeouts(),M("onUntrigger",[_,t]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(t.type)>=0&&u)){var e=T(!1);e?i=setTimeout((function(){_.state.isVisible&&_.hide()}),e):a=requestAnimationFrame((function(){_.hide()}))}}else q()}function ot(){_.state.isEnabled=!0}function rt(){_.hide(),_.state.isEnabled=!1}function lt(){clearTimeout(n),clearTimeout(i),cancelAnimationFrame(a)}function dt(e){if(!_.state.isDestroyed){M("onBeforeUpdate",[_,e]),G();var n=_.props,i=Bo(t,Object.assign({},n,ro(e),{ignoreAttributes:!0}));_.props=i,U(),n.interactiveDebounce!==i.interactiveDebounce&&(R(),m=to(Y,i.interactiveDebounce)),n.triggerTarget&&!i.triggerTarget?no(n.triggerTarget).forEach((function(t){t.removeAttribute("aria-expanded")})):i.triggerTarget&&t.removeAttribute("aria-expanded"),B(),P(),w&&w(n,i),_.popperInstance&&(tt(),it().forEach((function(t){requestAnimationFrame(t._tippy.popperInstance.forceUpdate)}))),M("onAfterUpdate",[_,e])}}function ut(t){_.setProps({content:t})}function ct(){var t=_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=So.isTouch&&!_.props.touch,a=Xs(_.props.duration,0,Ao.duration);if(!(t||e||n||i)&&!L().hasAttribute("disabled")&&(M("onShow",[_],!1),!1!==_.props.onShow(_))){if(_.state.isVisible=!0,k()&&(x.style.visibility="visible"),P(),F(),_.state.isMounted||(x.style.transition="none"),k()){var s=A(),o=s.box,l=s.content;mo([o,l],0)}r=function(){var t;if(_.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=_.props.moveTransition,k()&&_.props.animation){var e=A(),n=e.box,i=e.content;mo([n,i],a),go([n,i],"visible")}$(),B(),io(Wo,_),null==(t=_.popperInstance)||t.forceUpdate(),M("onMount",[_]),_.props.animation&&k()&&K(a,(function(){_.state.isShown=!0,M("onShown",[_])}))}},nt()}}function pt(){var t=!_.state.isVisible,e=_.state.isDestroyed,n=!_.state.isEnabled,i=Xs(_.props.duration,1,Ao.duration);if(!(t||e||n)&&(M("onHide",[_],!1),!1!==_.props.onHide(_))){if(_.state.isVisible=!1,_.state.isShown=!1,h=!1,u=!1,k()&&(x.style.visibility="hidden"),R(),q(),P(!0),k()){var a=A(),s=a.box,o=a.content;_.props.animation&&(mo([s,o],i),go([s,o],"hidden"))}$(),B(),_.props.animation?k()&&H(i,_.unmount):_.unmount()}}function ht(t){D().addEventListener("mousemove",m),io(Ko,m),m(t)}function ft(){_.state.isVisible&&_.hide(),_.state.isMounted&&(et(),it().forEach((function(t){t._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x),Wo=Wo.filter((function(t){return t!==_})),_.state.isMounted=!1,M("onHidden",[_]))}function mt(){_.state.isDestroyed||(_.clearDelayTimeouts(),_.unmount(),G(),delete t._tippy,_.state.isDestroyed=!0,M("onDestroy",[_]))}}function Uo(t,e){void 0===e&&(e={});var n=Ao.plugins.concat(e.plugins||[]);Oo();var i=Object.assign({},e,{plugins:n}),a=fo(t),s=a.reduce((function(t,e){var n=e&&zo(e,i);return n&&t.push(n),t}),[]);return uo(t)?s[0]:s}Uo.defaultProps=Ao,Uo.setDefaultProps=Po,Uo.currentInput=So;Object.assign({},os,{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 Go={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&&Zo(s,e)||l&&Zo(o,l))&&t.popperInstance&&t.popperInstance.update(),s=e,o=l,t.state.isMounted&&requestAnimationFrame(r)}return{onMount:function(){t.props.sticky&&r()}}}};function Zo(t,e){return!t||!e||(t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left)}Uo.setDefaultProps({render:qo});const Yo=Uo,Xo=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),Qo=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],Jo=[!0,!1,"reference","popper"],tr=(t,e)=>{const{contentElement:n}={...e};return delete e.contentElement,Yo(t,{...e,plugins:[Go],render:()=>ar(n)})},er=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}},Xo((t=>{let{state:e}=t;n(e.placement)}))]}},nr=(t,e)=>{const n=document.createElement("span");return n.setAttribute("tabindex",e),n.innerText=t.innerText||"",t.innerText="",t.appendChild(n),n},ir=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):nr(t)},ar=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},sr={none:void 0,small:"d-p8",medium:"d-p16",large:"d-p24"},or={none:void 0,small:"d-pl8",medium:"d-pl16",large:"d-pl24"},rr=["dialog","menu","listbox","tree","grid"],lr=[null,"anchor"],dr=["none","dialog","first"],ur=[...Jo];let cr="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",pr=(t=21)=>{let e="",n=t;while(n--)e+=cr[64*Math.random()|0];return e};function hr(t){return hr="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},hr(t)}var fr={selector:"vue-portal-target-".concat(pr())},mr=function(t){return fr.selector=t},gr="undefined"!==typeof window&&void 0!==("undefined"===typeof document?"undefined":hr(document)),vr=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)}}),yr=r().extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(fr.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(gr)return document.querySelector(this.selector)},insertTargetEl:function(){if(gr){var t=document.querySelector("body"),e=document.createElement(this.tag);e.id=this.selector.substring(1),t.appendChild(e)}},mount:function(){if(gr){var t=this.getTargetEl(),e=document.createElement("DIV");this.prepend&&t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e),this.container=new vr({el:e,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function br(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.name||"portal",yr),e.defaultSelector&&mr(e.defaultSelector)}"undefined"!==typeof window&&window.Vue&&window.Vue===r()&&r().use(br);var _r=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)},Sr=[];const xr={name:"PopoverHeaderFooter",components:{DtButton:ae,IconClose:Nt},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()}}},wr=xr;var Cr=M(wr,_r,Sr,!1,null,null,null);const Ir=Cr.exports,Or={name:"DtPopover",components:{DtLazyShow:xi,PopoverHeaderFooter:Ir,Portal:yr},mixins:[pe],props:{open:{type:Boolean,default:null},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:t=>rr.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(sr).some((e=>e===t))},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:null,validator:t=>lr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return w()}},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=>ur.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:"none",validator:t=>dr.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:sr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:or,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&w("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){this.tip.setProps({zIndex:t?650:300})},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.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=tr(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 er({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;null!==(e=this.open)&&void 0!==e||this.anchorEl.contains(t.target)&&(null===(n=this.anchorEl)||void 0===n||!n.disabled)&&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--modal-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="".concat(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()}}},Er=Or;i(155);var kr=M(Er,Vi,ji,!1,null,null,null);const Lr=kr.exports,Dr={none:void 0,small:"d-py6",large:"d-py12"},Ar={name:"DtDropdown",components:{DtPopover:Lr},mixins:[Ge({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0})],props:{open:{type:Boolean,default:null},padding:{type:String,default:"small",validator:t=>Object.keys(Dr).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 w()}},navigationType:{type:String,default:tn.ARROW_KEYS,validator:t=>Object.values(tn).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:tn,DROPDOWN_PADDING_CLASSES:Dr,openedWithKeyboard:!1,isOpen:null}},computed:{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}},methods:{onMouseHighlight(t){const e=t.target.closest("li");e&&this.highlightId!==e.id&&(this.setHighlightId(e.id),e.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(t){this.isOpen=t,t?(this.openedWithKeyboard&&this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS&&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[e](t)}}},Tr=Ar;var Pr=M(Tr,Ri,Ni,!1,null,null,null);const Mr=Pr.exports;var $r=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",{staticClass:"d-input__wrapper"},[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)},Br=[];const Rr={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number"},Nr={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};var Vr=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()},jr=[];function Fr(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 qr={name:"DtValidationMessages",props:{id:{type:String,default(){return w()}},validationMessages:{type:Array,default:()=>[],validator:t=>Fr(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return 0===this.filteredValidationMessages.length},filteredValidationMessages(){return I(this.validationMessages)},validationState(){return O(this.validationMessages)}},methods:{getMessageKey(t,e){return"validation-message-".concat(t,"-").concat(e,"-").concat(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]}}},Hr=qr;var Kr=M(Hr,Vr,jr,!1,null,null,null);const Wr=Kr.exports,zr={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)}}},Ur={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}}},Gr={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 "+"(".concat(n,") with (").concat(this.name,")? It is recommended to only set name at the Group level."),this)}},Zr={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>Fr(t)}},computed:{formattedMessages(){return C(this.messages)}}},Yr={name:"DtInput",components:{DtValidationMessages:Wr},mixins:[Zr],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:Rr.TEXT,validator:t=>Object.values(Rr).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(Nr).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(Nr).includes(t)},inputClass:{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===Rr.TEXTAREA},isDefaultSize(){return this.size===Nr.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===Nr.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(Nr).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-".concat(w())},inputState(){return O(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]}},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(){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["base-input__input","input"===this.inputComponent?"d-input":"d-textarea",{[t[this.inputComponent][this.inputState]]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},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-".concat(t,"-").concat(e)},validateLength(t){this.isInvalid=t>this.validationProps.length.max}}},Xr=Yr;var Qr=M(Xr,$r,Br,!1,null,null,null);const Jr=Qr.exports;var tl=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 nl={components:{DtValidationMessages:Wr},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return w()}},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=>Fr(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=C(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:O(t)}}},computed:{formattedMessages(){return C(this.messages)},validationState(){return O(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)}},il={name:"DtInputGroup",components:{DtValidationMessages:Wr},mixins:[nl],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-".concat(t,"-").concat(e,"-").concat(this.id)}}},al=il;var sl=M(al,tl,el,!1,null,null,null);const ol=sl.exports;var rl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-lazy-show",{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},on:{click:function(e){return e.target!==e.currentTarget?null:t.close.apply(null,arguments)},keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.close.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"tab",9,e.key,"Tab")?null:t.trapFocus.apply(null,arguments)}],"after-enter":function(e){return e.target!==e.currentTarget?null:t.setFocusAfterTransition.apply(null,arguments)}}},[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))],1)])],1)},ll=[];const dl={default:"",danger:"d-modal--danger"},ul={default:"",full:"d-modal--full"},cl={name:"DtModal",components:{DtLazyShow:xi,DtButton:ae,IconClose:Nt},mixins:[pe],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String},labelledById:{type:String,default:function(){return w()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(dl).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(ul).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:dl,MODAL_SIZE_MODIFIERS:ul}},computed:{open(){return"".concat(!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)}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.focusFirstElement()},trapFocus(t){this.show&&this.focusTrappedTabPress(t)}}},pl=cl;var hl=M(pl,rl,ll,!1,null,null,null);const fl=hl.exports;var ml=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["dt-list-section","d-fs14","d-lh6","d-py6","d-bc-black-200",{"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)])},gl=[];const vl={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:ae},props:{id:{type:String,default(){return A.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}}},yl=vl;i(792);var bl=M(yl,ml,gl,!1,null,null,null);const _l=bl.exports;var Sl=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",t._g({class:t.noticeClass,attrs:{"data-qa":"notice"}},t.$listeners),[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}},t.$listeners),[t._t("action")],2)],1)},xl=[];const wl={name:"DtNotice",components:{DtNoticeIcon:It,DtNoticeContent:At,DtNoticeAction:le},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 _t.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return bt.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}]}}},Cl=wl;var Il=M(Cl,Sl,xl,!1,null,null,null);const Ol=Il.exports;var El=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("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-fs14"},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)},kl=[],Ll=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","aria-label":"Chevron Left",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"}})])},Dl=[],Al={},Tl=M(Al,Ll,Dl,!1,null,null,null);const Pl=Tl.exports;var Ml=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","aria-label":"Chevron Right",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"}})])},$l=[],Bl={},Rl=M(Bl,Ml,$l,!1,null,null,null);const Nl=Rl.exports,Vl={name:"DtPagination",components:{DtButton:ae,IconChevronLeft:Pl,IconChevronRight:Nl},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]}},watch:{},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)}}},jl=Vl;var Fl=M(jl,El,kl,!1,null,null,null);const ql=Fl.exports;var Hl=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)])])},Kl=[];const Wl={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},zl={name:"DtRadio",components:{DtValidationMessages:Wr},mixins:[zr,Ur,Gr,Zr],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Wl[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))}}},Ul=zl;var Gl=M(Ul,Hl,Kl,!1,null,null,null);const Zl=Gl.exports,Yl={name:"DtRadioGroup",extends:ol,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-".concat(t,"-").concat(e,"-").concat(this.id)}}},Xl=Yl;var Ql,Jl,td=M(Xl,Ql,Jl,!1,null,null,null);const ed=td.exports;var nd=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)},id=[];const ad=["default","sm"],sd={sm:"d-tablist--sm"},od={inverted:"d-tablist--inverted"},rd={borderless:"d-tablist--no-border"},ld={selected:"d-tab--selected"},dd={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 ad.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:sd,TAB_LIST_KIND_MODIFIERS:od,TAB_LIST_IMPORTANCE_MODIFIERS:rd}},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==="".concat(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())}}},ud=dd;var cd=M(ud,nd,id,!1,null,null,null);const pd=cd.exports;var hd=function(){var t,e=this,n=e.$createElement,i=e._self._c||n;return i("dt-button",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},on:{click:function(t){return e.selectPanel()},focus:function(t){return e.setFocus(e.id)}}},"dt-button",e.$attrs,!1),[e._t("default")],2)},fd=[];const md={name:"DtTab",components:{DtButton:ae},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:ld}},computed:{isSelected(){return this.groupContext.selected===this.panelId}},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=md;var vd=M(gd,hd,fd,!1,null,null,null);const yd=vd.exports;var bd=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)},_d=[];const Sd={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}}},xd=Sd;var wd=M(xd,bd,_d,!1,null,null,null);const Cd=wd.exports;var Id=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()])])},Od=[];const Ed={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},kd={name:"DtCheckbox",components:{DtValidationMessages:Wr},mixins:[zr,Ur,Gr,Zr],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Ed[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"])}}},Ld=kd;var Dd=M(Ld,Id,Od,!1,null,null,null);const Ad=Dd.exports,Td={name:"DtCheckboxGroup",extends:ol,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-".concat(t,"-").concat(e,"-").concat(this.id)}}},Pd=Td;var Md,$d,Bd=M(Pd,Md,$d,!1,null,null,null);const Rd=Bd.exports;var Nd=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({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}},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)},Vd=[];const jd={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},Fd={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},qd={name:"DtChip",components:{IconClose:Nt,DtButton:ae},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(jd).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return w()}},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["d-chip__label",jd[this.size]]},chipCloseButtonClasses(){return["d-chip__close",Fd[this.size]]},onClose(){this.hideClose||this.$emit("close")}}},Hd=qd;var Kd=M(Hd,Nd,Vd,!1,null,null,null);const Wd=Kd.exports;var zd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("label",[t.$slots.label||t.label?n("div",t._b({class:["d-label",t.LABEL_SIZE_MODIFIERS[t.size],t.labelClass],attrs:{"aria-details":t.labelAriaDetails,"data-qa":"dt-select-label"}},"div",t.labelChildProps,!1),[t._t("label",(function(){return[t._v(t._s(t.label))]}))],2):t._e(),t.$slots.description||t.description?n("div",t._b({class:["d-description",t.DESCRIPTION_SIZE_MODIFIERS[t.size],t.descriptionClass],attrs:{id:t.descriptionKey,"data-qa":"dt-select-description"}},"div",t.descriptionChildProps,!1),[t._t("description",(function(){return[t._v(t._s(t.description))]}))],2):t._e(),n("div",{class:["d-select",t.SELECT_SIZE_MODIFIERS[t.size],t.selectClass,{"d-select--disabled":t.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[n("select",t._g(t._b({class:["d-select__input",t.SELECT_STATE_MODIFIERS[t.state]],attrs:{"data-qa":"dt-select",disabled:t.disabled}},"select",t.$attrs,!1),t.selectListeners),[t._t("default",(function(){return t._l(t.options,(function(e){return n("option",t._b({key:t.getOptionKey(e.value),class:t.optionClass,domProps:{value:e.value}},"option",t.optionChildProps,!1),[t._v(" "+t._s(e.label)+" ")])}))}))],2)])]),n("dt-validation-messages",t._b({class:t.messagesClass,attrs:{"validation-messages":t.formattedMessages,"show-messages":t.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",t.messagesChildProps,!1))],1)},Ud=[];const Gd={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Zd={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},Yd=t=>!t.index||"number"===typeof t.index,Xd=t=>!!t.value&&("string"===typeof t.value||"number"===typeof t.value),Qd=t=>!!t.label&&"string"===typeof t.label,Jd=t=>!t||t.every((t=>!!Yd(t)&&(!!Xd(t)&&!!Qd(t)))),tu={name:"DtSelectMenu",components:{DtValidationMessages:Wr},mixins:[Zr],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>Jd(t)},size:{type:String,default:"md",validator:t=>Object.keys(Gd).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:Gd,SELECT_STATE_MODIFIERS:Zd}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t.target.value)}},state(){return O(this.formattedMessages)},selectKey(){return w()},descriptionKey(){return"select-".concat(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-".concat(this.selectKey,"-option-").concat(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)}}},eu=tu;var nu=M(eu,zd,Ud,!1,null,null,null);const iu=nu.exports;var au=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}},t.noticeActionListeners),[t._t("action")],2)],1)]):t._e()},su=[];const ou=["status","alert"],ru=6e3,lu={name:"DtToast",components:{DtNoticeIcon:It,DtNoticeContent:At,DtNoticeAction:le},props:{titleId:{type:String,default(){return A.getUniqueString()}},contentId:{type:String,default(){return A.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>ou.includes(t)},kind:{type:String,default:"base",validator:t=>bt.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>=ru}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:ru}},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))}}},du=lu;var uu=M(du,au,su,!1,null,null,null);const cu=uu.exports;var pu=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:["d-toggle",{"d-toggle--checked":t.internalChecked,"d-toggle--disabled":t.disabled}],attrs:{id:t.id,role:"switch",type:"button","aria-checked":t.internalChecked.toString(),disabled:t.disabled,"aria-disabled":t.disabled.toString()}},"button",t.$attrs,!1),t.inputListeners),[n("span",{staticClass:"d-toggle__inner"})])])},hu=[];const fu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return A.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},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()}}},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)}}},mu=fu;var gu=M(mu,pu,hu,!1,null,null,null);const vu=gu.exports;var yu=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",{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},on:{"after-leave":e.onLeaveTransitionComplete,"after-enter":e.onEnterTransitionComplete}},[e._t("default",(function(){return[e._v(" "+e._s(e.message)+" ")]}))],2)],1)},bu=[];const _u=[...Qo],Su={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},xu=[...Jo],wu=[!0,!1,"toggle"],Cu={name:"Tooltip",components:{DtLazyShow:xi},props:{id:{type:String,default(){return w()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return _u.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>xu.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:Su,tip:null,isShown:!1,currentPlacement:this.placement}},computed:{tippyProps(){return{offset:this.offset,appendTo:document.body,interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:er({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=tr(ir(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 ir(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}}}},Iu=Cu;i(664);var Ou=M(Iu,yu,bu,!1,null,null,null);const Eu=Ou.exports;var ku=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-fs12",t.inverted?"d-bc-black-400":"d-bc-black-100"]},[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-075":"d-fc-black-500","d-mr2"],attrs:{"aria-hidden":"true"}}):n("span",{key:i+"-"+e,class:[t.inverted?"d-fc-black-075":"d-fc-black-500","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:t._s(e)}})]}))],2)},Lu=[],Du=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","aria-label":"Windows",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19.903 12.819v7.532L10.936 19v-6.197l8.967.016zM10.936 5.334l8.967-1.249V11.5h-8.967V5.334zM9.745 12.757v6.134l-6.643-.885v-5.28l6.643.03zM3.097 6.328l6.647-.885v6.134H3.1l-.003-5.25z"}})])},Au=[],Tu={},Pu=M(Tu,Du,Au,!1,null,null,null);const Mu=Pu.exports;var $u=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","aria-label":"Add",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}})])},Bu=[],Ru={},Nu=M(Ru,$u,Bu,!1,null,null,null);const Vu=Nu.exports;var ju=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","aria-label":"Arrow Downward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}})])},Fu=[],qu={},Hu=M(qu,ju,Fu,!1,null,null,null);const Ku=Hu.exports;var Wu=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","aria-label":"Arrow Upward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}})])},zu=[],Uu={},Gu=M(Uu,Wu,zu,!1,null,null,null);const Zu=Gu.exports;var Yu=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","aria-label":"Arrow Forward",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8-8-8z"}})])},Xu=[],Qu={},Ju=M(Qu,Yu,Xu,!1,null,null,null);const tc=Ju.exports;var ec=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","aria-label":"Arrow Backwards",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M12 20l1.41-1.41L7.83 13H20v-2H7.83l5.58-5.59L12 4l-8 8 8 8z"}})])},nc=[],ic={},ac=M(ic,ec,nc,!1,null,null,null);const sc=ac.exports,oc={cmd:"&#8984;"},rc={"{win}":"IconWindows","{arrow-right}":"IconArrowForward","{arrow-left}":"IconArrowBackward","{arrow-up}":"IconArrowUpward","{arrow-down}":"IconArrowDownward"},lc={"{plus}":"IconAdd"},dc=Object.keys(oc).map((t=>"{".concat(t,"}"))).concat(Object.keys(rc)),uc={name:"DtKeyboardShortcut",components:{IconWindows:Mu,IconArrowBackward:sc,IconArrowDownward:Ku,IconArrowForward:tc,IconArrowUpward:Zu,IconAdd:Vu},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:rc,separator:/\+/gi}},computed:{icons(){return{...rc,...lc}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(oc).reduce(((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),oc[e])),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp("(".concat(t,")"),"gi");return this.formattedShortcut.split(e).filter(Boolean)}}},cc=uc;i(377);var pc=M(cc,ku,Lu,!1,null,null,null);const hc=pc.exports;var fc=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:{"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)},mc=[],gc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["root-layout__body",t.bodyClass],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()])},vc=[];const yc={LEFT:"left",RIGHT:"right"},bc={name:"DtRootLayoutBody",props:{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:{bodyClass(){return{"root-layout__body--invert":this.sidebarPosition===yc.RIGHT}}}},_c=bc;i(263);var Sc=M(_c,gc,vc,!1,null,null,null);const xc=Sc.exports,wc={name:"DtRootLayout",components:{DtRootLayoutBody:xc},props:{headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},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(yc).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"}}},Cc=wc;i(987);var Ic=M(Cc,fc,mc,!1,null,null,null);const Oc=Ic.exports;var Ec=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dt-combobox",t._g({ref:"combobox",attrs:{loading:t.loading,"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",padding:"none",role:"listbox","external-anchor":t.externalAnchor,"content-width":t.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1},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))},kc=[];const Lc={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:li,DtPopover:Lr,ComboboxLoadingList:Qn,ComboboxEmptyList:ai},props:{listAriaLabel:{type:String,required:!0},showList:{type:Boolean,default:null},listId:{type:String,default(){return w()}},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(Dr).some((e=>e===t))},contentWidth:{type:String,default:null,validator:t=>lr.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:Dr,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:w()}},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)}));n?t.target.focus():this.closeComboboxList()},openOnArrowKeyPress(t){null===this.showList&&!this.isListShown&&this.openWithArrowKeys&&this.showComboboxList()}}},Dc=Lc;var Ac=M(Dc,Ec,kc,!1,null,null,null);const Tc=Ac.exports;var Pc=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,"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"},[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)})},Mc=[];const $c={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},Bc={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:Tc,DtInput:Jr,DtChip:Wd,DtValidationMessages:Wr},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=>Fr(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($c).includes(t)}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,0],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,0]},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)}}},Rc=Bc;var Nc=M(Rc,Pc,Mc,!1,null,null,null);const Vc=Nc.exports;var jc=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","avatar-class":"d-bar2"}},[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)})},Fc=[];const qc={none:"",green:"d-bgc-green-400",yellow:"d-bgc-yellow-400",red:"d-bgc-red-400"},Hc={name:"DtRecipeContactInfo",components:{DtAvatar:B,DtListItem:cn},props:{id:{type:String,default(){return A.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(qc).includes(t)}},data(){return{USER_STATUS_COLOR_MODIFIERS:qc}},computed:{showUserStatus(){return"none"!==this.userStatusColor}}},Kc=Hc;var Wc=M(Kc,jc,Fc,!1,null,null,null);const zc=Wc.exports;var Uc=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"d-fs11 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)])},Gc=[];const Zc=["green400","green200","red200","red100","yellow200","yellow400","yellow050","black100","white"],Yc={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green400",validator:function(t){return Zc.includes(t)}}},computed:{bannerInfoClass(){const t={green400:"d-bgc-green-400",green200:"d-bgc-green-200",red200:"d-bgc-red-200",red100:"d-bgc-red-100",yellow400:"d-bgc-yellow-400",yellow200:"d-bgc-yellow-200",black100:"d-bgc-black-100",white:"d-bgc-white"};return[t[this.colorCode]]}}},Xc=Yc;i(486);var Qc=M(Xc,Uc,Gc,!1,null,null,null);const Jc=Qc.exports})(),a})()));
2
2
  //# sourceMappingURL=dialtone-vue.umd.min.js.map