@dialpad/dialtone-vue 2.94.1 → 2.94.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.
@@ -27,5 +27,5 @@
27
27
 
28
28
  `,`1) content: element.innerHTML
29
29
  `,"2) content: () => element.cloneNode(true)"].join(" "))}var le=m.reduce(function(Ce,Ee){var Oe=Ee&&p6(Ee,n);return Oe&&Ce.push(Oe),Ce},[]);return z5(t)?le[0]:le}J5.defaultProps=En;J5.setDefaultProps=l6;J5.currentInput=qn;Object.assign({},Yi,{effect:function(e){var a=e.state,n={popper:{position:a.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(a.elements.popper.style,n.popper),a.styles=n,a.elements.arrow&&Object.assign(a.elements.arrow.style,n.arrow)}});var f6={name:"sticky",defaultValue:!1,fn:function(e){var a=e.reference,n=e.popper;function m(){return e.popperInstance?e.popperInstance.state.elements.reference:a}function w(Ee){return e.props.sticky===!0||e.props.sticky===Ee}var V=null,le=null;function Ce(){var Ee=w("reference")?m().getBoundingClientRect():null,Oe=w("popper")?n.getBoundingClientRect():null;(Ee&&ai(V,Ee)||Oe&&ai(le,Oe))&&e.popperInstance&&e.popperInstance.update(),V=Ee,le=Oe,e.state.isMounted&&requestAnimationFrame(Ce)}return{onMount:function(){e.props.sticky&&Ce()}}}};function ai(t,e){return t&&e?t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom||t.left!==e.left:!0}J5.setDefaultProps({render:fs});const h6=t=>({name:"arrowDetected",enabled:!0,phase:"main",fn:t,requiresIfExists:["offset"]}),m6=["bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end","top","top-start","top-end"],hs=[!0,!1,"reference","popper"],ms=(t,e)=>{const{contentElement:a}={...e};return delete e.contentElement,J5(t,{...e,plugins:[f6],render:()=>g6(a)})},vs=({boundary:t="clippingParents",fallbackPlacements:e=[],onChangePlacement:a=()=>{},hasHideModifierEnabled:n=!1,tether:m=!0}={})=>({modifiers:[{name:"flip",options:{fallbackPlacements:e,boundary:t}},{name:"hide",enabled:n},{name:"preventOverflow",options:{altAxis:!m,tether:m}},h6(({state:w})=>{a(w.placement)})]}),v6=t=>{const e=document.createElement("span");return e.innerText=t.innerText||"",t.innerText="",t.appendChild(e),e},ri=t=>{const e=t==null?void 0:t.children[0];return e||v6(t)},g6=t=>{const e=document.createElement("div");return e.className="tippy-box d-ps-absolute",e.appendChild(t),{popper:e}},nr={none:void 0,small:"d-p4",medium:"d-p8",large:"d-p16"},gs={none:void 0,small:"d-pl4",medium:"d-pl8",large:"d-pl16"},_s=["dialog","menu","listbox","tree","grid"],Cr=["","anchor"],ys=["none","dialog","first"],Sa=["parent","body"],_6=[...hs];let y6="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",b6=(t=21)=>{let e="",a=t;for(;a--;)e+=y6[Math.random()*64|0];return e};function da(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?da=function(e){return typeof e}:da=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},da(t)}var bs={selector:"vue-portal-target-".concat(b6())},C6=function(e){return bs.selector=e},Fa=typeof window<"u"&&(typeof document>"u"?"undefined":da(document))!==void 0,S6=Ln.extend({abstract:!0,name:"PortalOutlet",props:["nodes","tag"],data:function(e){return{updatedNodes:e.nodes}},render:function(e){var a=this.updatedNodes&&this.updatedNodes();return a?a.length===1&&!a[0].text?a:e(this.tag||"DIV",a):e()},destroyed:function(){var e=this.$el;e&&e.parentNode.removeChild(e)}}),Sr=Ln.extend({name:"VueSimplePortal",props:{disabled:{type:Boolean},prepend:{type:Boolean},selector:{type:String,default:function(){return"#".concat(bs.selector)}},tag:{type:String,default:"DIV"}},render:function(e){if(this.disabled){var a=this.$scopedSlots&&this.$scopedSlots.default();return a?a.length<2&&!a[0].text?a:e(this.tag,a):e()}return e()},created:function(){this.getTargetEl()||this.insertTargetEl()},updated:function(){var e=this;this.$nextTick(function(){!e.disabled&&e.slotFn!==e.$scopedSlots.default&&(e.container.updatedNodes=e.$scopedSlots.default),e.slotFn=e.$scopedSlots.default})},beforeDestroy:function(){this.unmount()},watch:{disabled:{immediate:!0,handler:function(e){e?this.unmount():this.$nextTick(this.mount)}}},methods:{getTargetEl:function(){if(Fa)return document.querySelector(this.selector)},insertTargetEl:function(){if(Fa){var e=document.querySelector("body"),a=document.createElement(this.tag);a.id=this.selector.substring(1),e.appendChild(a)}},mount:function(){if(Fa){var e=this.getTargetEl(),a=document.createElement("DIV");this.prepend&&e.firstChild?e.insertBefore(a,e.firstChild):e.appendChild(a),this.container=new S6({el:a,parent:this,propsData:{tag:this.tag,nodes:this.$scopedSlots.default}})}},unmount:function(){this.container&&(this.container.$destroy(),delete this.container)}}});function w6(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};t.component(e.name||"portal",Sr),e.defaultSelector&&C6(e.defaultSelector)}typeof window<"u"&&window.Vue&&window.Vue===Ln&&Ln.use(w6);const O6={name:"PopoverHeaderFooter",components:{DtButton:vn,DtIcon:ln},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 e;const t=(e=this.$refs["popover__close-button"])==null?void 0:e.$el;t==null||t.focus()}}};var E6=function(){var e=this,a=e._self._c;return a("div",{class:{"d-popover__header":e.type==="header","d-popover__footer":e.type==="footer"},attrs:{"data-qa":"dt-popover-header-footer"}},[e.$slots.content?a("div",{class:["d-to-ellipsis","d-w100p",e.contentClass],attrs:{"data-qa":"dt-popover-header-footer-content"}},[e._t("content")],2):e._e(),e.showCloseButton?a("dt-button",e._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(n){return e.$emit("close")}},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"close",size:"300"}})]},proxy:!0}],null,!1,2538694920)},"dt-button",e.closeButtonProps,!1)):e._e()],1)},x6=[],I6=Ye.normalizeComponent(O6,E6,x6,!1,null,null,null,null);const T6=I6.exports;const A6={name:"DtPopover",components:{SrOnlyCloseButton:ya,DtLazyShow:$5,PopoverHeaderFooter:T6,Portal:Sr},mixins:[Y5,Zn],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},elementType:{type:String,default:"div"},transition:{type:String,default:"fade"},role:{type:String,default:"dialog",validator:t=>_s.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(nr).some(e=>e===t)},contentClass:{type:[String,Array,Object],default:""},contentWidth:{type:String,default:"",validator:t=>Cr.includes(t)},contentTabindex:{type:Number||null,default:-1},externalAnchor:{type:String,default:""},id:{type:String,default(){return pn()}},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=>_6.includes(t)},maxHeight:{type:String,default:""},maxWidth:{type:String,default:""},showCloseButton:{type:Boolean,default:!1},headerClass:{type:[String,Array,Object],default:""},footerClass:{type:[String,Array,Object],default:""},dialogClass:{type:[String,Array,Object],default:""},initialFocusElement:{type:[String,HTMLElement],default:"first",validator:t=>ys.includes(t)||t instanceof HTMLElement||t.startsWith("#")},openWithArrowKeys:{type:Boolean,default:!1},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Sa.includes(t)||t instanceof HTMLElement}},emits:["opened","update:open"],data(){return{POPOVER_PADDING_CLASSES:nr,POPOVER_HEADER_FOOTER_PADDING_CLASSES:gs,intersectionObserver:null,isOutsideViewport:!1,isOpen:!1,anchorEl:null,popoverContentEl:null}},computed:{popoverListeners(){return{...this.$listeners,keydown:t=>{this.onKeydown(t),this.$emit("keydown",t)},"after-leave":t=>{this.onLeaveTransitionComplete()},"after-enter":t=>{this.onEnterTransitionComplete()}}},calculatedMaxHeight(){return this.isOutsideViewport&&this.modal?"calc(100vh - var(--dt-space-300))":this.maxHeight},labelledBy(){return this.ariaLabelledby||!this.ariaLabel&&pn("DtPopover__anchor")}},watch:{$props:{immediate:!0,deep:!0,handler(){this.validateProps()}},modal(t){var e;(e=this.tip)==null||e.setProps({zIndex:t?650:this.calculateAnchorZindex()})},offset(t){var e;(e=this.tip)==null||e.setProps({offset:t})},sticky(t){var e;(e=this.tip)==null||e.setProps({sticky:t})},fallbackPlacements(){var t;(t=this.tip)==null||t.setProps({popperOptions:this.popperOptions()})},tether(){var t;(t=this.tip)==null||t.setProps({popperOptions:this.popperOptions()})},placement(t){var e;(e=this.tip)==null||e.setProps({placement:t})},open:{handler:function(t){t!==null&&(this.isOpen=t)},immediate:!0},isOpen(t,e){t?(this.initTippyInstance(),this.tip.show()):!t&&e!==t&&(this.removeEventListeners(),this.tip.hide())}},mounted(){const t=this.externalAnchor?this.$refs.anchor.getRootNode().querySelector(`#${this.externalAnchor}`):null;this.anchorEl=t??this.$refs.anchor.children[0],this.popoverContentEl=this.$refs.content.$el,this.isOpen&&(this.initTippyInstance(),this.tip.show()),this.intersectionObserver=new IntersectionObserver(this.hasIntersectedViewport),this.intersectionObserver.observe(this.popoverContentEl)},beforeDestroy(){var t;(t=this.tip)==null||t.destroy(),this.intersectionObserver.disconnect(),this.removeReferences(),this.removeEventListeners()},methods:{hasIntersectedViewport(t){var n;const e=(n=t==null?void 0:t[0])==null?void 0:n.target;if(!e)return;const a=bi(e);this.isOutsideViewport=a.bottom||a.top},popperOptions(){return vs({fallbackPlacements:this.fallbackPlacements,tether:this.tether,hasHideModifierEnabled:!0})},validateProps(){this.modal&&this.initialFocusElement==="none"&&console.error('If the popover is modal you must set the initialFocusElement prop. Possible values: "dialog", "first", HTMLElement')},calculateAnchorZindex(){var t;return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||(t=this.anchorEl)!=null&&t.closest(".d-zi-drawer")?650:300},defaultToggleOpen(t){var e,a;this.openOnContext||(this.open??((e=this.anchorEl)!=null&&e.contains(t.target)&&!((a=this.anchorEl)!=null&&a.disabled)&&this.toggleOpen()))},async onContext(t){this.openOnContext&&(t.preventDefault(),this.isOpen=!0,await this.$nextTick(),this.tip.setProps({placement:"right-start",getReferenceClientRect:()=>({width:0,height:0,top:t.clientY,bottom:t.clientY,left:t.clientX,right:t.clientX})}))},toggleOpen(){this.isOpen=!this.isOpen},onArrowKeyPress(t){var e;this.open===null&&this.openWithArrowKeys&&(e=this.anchorEl)!=null&&e.contains(t.target)&&(this.isOpen||(this.isOpen=!0))},addEventListeners(){window.addEventListener("dt-popover-close",this.closePopover),this.contentWidth==="anchor"&&window.addEventListener("resize",this.onResize)},removeEventListeners(){window.removeEventListener("dt-popover-close",this.closePopover),this.contentWidth==="anchor"&&window.removeEventListener("resize",this.onResize)},closePopover(){this.isOpen=!1},preventScrolling(){var t;if(this.modal){const e=(t=this.anchorEl)==null?void 0:t.closest("body, .tippy-box");e.tagName.toLowerCase()==="body"?(e.classList.add("d-of-hidden"),this.tip.setProps({offset:this.offset})):e.classList.add("d-zi-popover")}},enableScrolling(){var e,a;const t=(e=this.anchorEl)==null?void 0:e.closest("body, .tippy-box");t&&(((a=t.tagName)==null?void 0:a.toLowerCase())==="body"?(t.classList.remove("d-of-hidden"),this.tip.setProps({offset:this.offset})):t.classList.remove("d-zi-popover"))},removeReferences(){this.anchorEl=null,this.popoverContentEl=null,this.tip=null},async onShow(){this.contentWidth==="anchor"&&await this.setPopoverContentAnchorWidth(),this.contentWidth===null&&(this.popoverContentEl.style.width="auto"),this.addEventListeners()},async onLeaveTransitionComplete(){var t;this.modal&&(await this.focusFirstElement(this.$refs.anchor),await this.$nextTick(),this.enableScrolling()),(t=this.tip)==null||t.unmount(),this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},async onEnterTransitionComplete(){this.focusInitialElement(),await this.$nextTick(),this.preventScrolling(),this.$emit("opened",!0,this.$refs.popover__content),this.open!==null&&this.$emit("update:open",!0)},focusInitialElement(){this.initialFocusElement==="dialog"&&this.$refs.content.$el.focus(),this.initialFocusElement.startsWith("#")&&this.focusInitialElementById(),this.initialFocusElement==="first"&&this.focusFirstElementIfNeeded(this.$refs.popover__content),this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},focusInitialElementById(){var e,a,n;const t=(a=(e=this.$refs.content)==null?void 0:e.$el)==null?void 0:a.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():(n=this.$refs.content)==null||n.$el.focus()},onResize(){this.closePopover()},onClickOutside(){if(!this.hideOnClick)return;this.popoverContentEl.querySelector(".d-popover__anchor--opened")||this.closePopover()},onKeydown(t){t.key==="Tab"&&this.modal&&this.focusTrappedTabPress(t,this.popoverContentEl),t.key==="Escape"&&this.closePopover()},async setPopoverContentAnchorWidth(){var t;await this.$nextTick(),this.popoverContentEl.style.width=`${(t=this.anchorEl)==null?void 0:t.clientWidth}px`},focusFirstElementIfNeeded(t){var a,n;this._getFocusableElements(t,!0).length!==0?this.focusFirstElement(t):this.showCloseButton?(a=this.$refs.popover__header)==null||a.focusCloseButton():(n=this.$refs.content)==null||n.$el.focus()},initTippyInstance(){var t,e;this.tip=ms(this.anchorEl,{popperOptions:this.popperOptions(),contentElement:this.popoverContentEl,placement:this.placement,offset:this.offset,sticky:this.sticky,appendTo:this.appendTo==="body"?(e=(t=this.anchorEl)==null?void 0:t.getRootNode())==null?void 0:e.querySelector("body"):this.appendTo,interactive:!0,trigger:"manual",hideOnClick:!1,zIndex:this.modal?650:this.calculateAnchorZindex(),onClickOutside:this.onClickOutside,onShow:this.onShow})}}};var D6=function(){var e=this,a=e._self._c;return a("div",[e.modal&&e.isOpen?a("portal",[a("div",{staticClass:"d-modal--transparent",attrs:{"aria-hidden":e.modal&&e.isOpen?"false":"true"},on:{click:function(n){n.preventDefault(),n.stopPropagation()}}})]):e._e(),a(e.elementType,e._g({ref:"popover",tag:"component",class:["d-popover",{"d-popover__anchor--opened":e.isOpen}],attrs:{"data-qa":"dt-popover-container"}},e.$listeners),[a("div",{ref:"anchor",attrs:{id:!e.ariaLabelledby&&e.labelledBy,"data-qa":"dt-popover-anchor",tabindex:e.openOnContext?0:void 0},on:{"!click":function(n){return e.defaultToggleOpen.apply(null,arguments)},contextmenu:e.onContext,keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"up",38,n.key,["Up","ArrowUp"])?null:(n.preventDefault(),e.onArrowKeyPress.apply(null,arguments))},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"down",40,n.key,["Down","ArrowDown"])?null:(n.preventDefault(),e.onArrowKeyPress.apply(null,arguments))}],"!keydown":function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"escape",void 0,n.key,void 0)?null:e.closePopover.apply(null,arguments)}}},[e._t("anchor",null,{attrs:{"aria-expanded":e.isOpen.toString(),"aria-controls":e.id,"aria-haspopup":e.role}})],2),a("dt-lazy-show",e._g({ref:"content",class:["d-popover__dialog",{"d-popover__dialog--modal":e.modal},e.dialogClass],style:{"max-height":e.calculatedMaxHeight,"max-width":e.maxWidth},attrs:{id:e.id,role:e.role,"data-qa":"dt-popover","aria-hidden":`${!e.isOpen}`,"aria-labelledby":e.labelledBy,"aria-label":e.ariaLabel,"aria-modal":`${!e.modal}`,transition:e.transition,show:e.isOpen,tabindex:e.contentTabindex,appear:""}},e.popoverListeners),[e.$slots.headerContent||e.showCloseButton?a("popover-header-footer",{ref:"popover__header",class:e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding],attrs:{"content-class":e.headerClass,type:"header","show-close-button":e.showCloseButton,"close-button-props":e.closeButtonProps},on:{close:e.closePopover},scopedSlots:e._u([{key:"content",fn:function(){return[e._t("headerContent",null,{close:e.closePopover})]},proxy:!0}],null,!0)}):e._e(),a("div",{ref:"popover__content",class:["d-popover__content",e.POPOVER_PADDING_CLASSES[e.padding],e.contentClass],attrs:{"data-qa":"dt-popover-content"}},[e._t("content",null,{close:e.closePopover})],2),e.$slots.footerContent?a("popover-header-footer",{ref:"popover__footer",class:e.POPOVER_HEADER_FOOTER_PADDING_CLASSES[e.padding],attrs:{type:"footer","content-class":e.footerClass},scopedSlots:e._u([{key:"content",fn:function(){return[e._t("footerContent",null,{close:e.closePopover})]},proxy:!0}],null,!0)}):e._e(),e.showVisuallyHiddenClose?a("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.closePopover}}):e._e()],1)],1)],1)},L6=[],k6=Ye.normalizeComponent(A6,D6,L6,!1,null,null,null,null);const wa=k6.exports,V5={none:void 0,small:"d-py0",large:"d-py4"};const $6={name:"DtDropdown",components:{DtPopover:wa,SrOnlyCloseButton:ya},mixins:[fr({indexKey:"highlightIndex",idKey:"highlightId",listElementKey:"getListElement",listItemRole:"menuitem",afterHighlightMethod:"afterHighlight",beginningOfListMethod:"beginningOfListMethod",endOfListMethod:"endOfListMethod",activeItemKey:"activeItemEl",focusOnKeyboardNavigation:!0}),Zn],props:{open:{type:Boolean,default:null},openOnContext:{type:Boolean,default:!1},padding:{type:String,default:"small",validator:t=>Object.keys(V5).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 pn()}},navigationType:{type:String,default:g5.ARROW_KEYS,validator:t=>Object.values(g5).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:""},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Sa.includes(t)||t instanceof HTMLElement},tether:{type:Boolean,default:!0},transition:{type:String,default:"fade"}},emits:["highlight","opened","update:open"],data(){return{LIST_ITEM_NAVIGATION_TYPES:g5,DROPDOWN_PADDING_CLASSES:V5,EVENT_KEYNAMES:hn,openedWithKeyboard:!1,isOpen:null}},computed:{dropdownListeners(){return{...this.$listeners,opened:t=>{this.updateInitialHighlightIndex(t)},keydown:t=>{switch(t.code){case hn.up:case hn.arrowup:this.onUpKeyPress(t),t.stopPropagation(),t.preventDefault();break;case hn.down:case hn.arrowdown:this.onDownKeyPress(t),t.stopPropagation(),t.preventDefault();break;case hn.space:case hn.spacebar:this.onSpaceKey();break;case hn.enter:this.onEnterKey();break;case hn.home:this.onHomeKeyPress(t),t.stopPropagation(),t.preventDefault();break;case hn.end:this.onEndKeyPress(t),t.stopPropagation(),t.preventDefault();break;default:this.onKeyPress(t);break}this.$emit("keydown",t)}}},beginningOfListMethod(){return this.onBeginningOfList||this.jumpToEnd},endOfListMethod(){return this.onEndOfList||this.jumpToBeginning},activeItemEl(){return this.getListElement().querySelector("#"+this.highlightId)},isArrowKeyNav(){return this.navigationType===this.LIST_ITEM_NAVIGATION_TYPES.ARROW_KEYS},listClasses(){return["d-ps-relative","d-stack2","d-m4","d-px0",V5[this.padding],this.listClass,{"d-context-menu-list":this.openOnContext}]},shouldOpenWithArrowKeys(){return!this.openOnContext}},methods:{onMouseHighlight(t){const e=t.target.closest("li");e&&e.role&&this.highlightId!==e.id&&(this.setHighlightId(e.id),e.focus())},getListElement(){return this.$refs.listWrapper},clearHighlightIndex(){this.setHighlightIndex(-1)},afterHighlight(){this.visuallyHiddenClose&&this.highlightIndex===this._itemsLength()-1||this.$emit("highlight",this.highlightIndex)},updateInitialHighlightIndex(t){this.isOpen=t,t?(this.openedWithKeyboard&&this.isArrowKeyNav&&this.setHighlightIndex(0),this.$emit("opened",!0)):(this.clearHighlightIndex(),this.openedWithKeyboard=!1,this.$emit("opened",!1))},onSpaceKey(){this.open||(this.openedWithKeyboard=!0)},onEnterKey(){this.open||(this.openedWithKeyboard=!0)},onUpKeyPress(){if(!this.isOpen){this.openedWithKeyboard=!0;return}if(this.isArrowKeyNav)return this.onUpKey()},onDownKeyPress(){if(!this.isOpen){this.openedWithKeyboard=!0;return}if(this.isArrowKeyNav)return this.onDownKey()},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)}}};var R6=function(){var e=this,a=e._self._c;return a("dt-popover",e._g({ref:"popover",attrs:{"content-width":e.contentWidth,open:e.open,placement:e.placement,"initial-focus-element":e.openedWithKeyboard?"first":"dialog","fallback-placements":e.fallbackPlacements,padding:"none",role:"menu","append-to":e.appendTo,modal:e.modal,"max-height":e.maxHeight,"max-width":e.maxWidth,"open-with-arrow-keys":e.shouldOpenWithArrowKeys,"open-on-context":e.openOnContext,tether:e.tether,transition:e.transition},scopedSlots:e._u([{key:"anchor",fn:function({attrs:n}){return[e._t("anchor",null,null,n)]}},{key:"content",fn:function({close:n}){return[a("ul",{ref:"listWrapper",class:e.listClasses,attrs:{id:e.listId,"data-qa":"dt-dropdown-list-wrapper"},on:{mouseleave:e.clearHighlightIndex,"!mousemove":function(m){return e.onMouseHighlight.apply(null,arguments)}}},[e._t("list",null,{close:n}),e.showVisuallyHiddenClose?a("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel,tabindex:e.isArrowKeyNav?-1:0},on:{close:n}}):e._e()],2)]}}],null,!0)},e.dropdownListeners))},P6=[],M6=Ye.normalizeComponent($6,R6,P6,!1,null,null,null,null);const Cs=M6.exports;const N6={name:"DtDropdownSeparator"};var B6=function(){var e=this,a=e._self._c;return a("li",{staticClass:"dt-list-separator d-my4 d-mxn4",attrs:{"aria-hidden":"true"}})},F6=[],V6=Ye.normalizeComponent(N6,B6,F6,!1,null,null,null,null);const j6=V6.exports,q6={name:"DtImageViewer",components:{Portal:Sr,DtButton:vn,DtIcon:ln},mixins:[Y5],props:{open:{type:Boolean,default:null},imageSrc:{type:String,required:!0},imageAlt:{type:String,required:!0},imageButtonClass:{type:String,required:!1,default:""},ariaLabel:{type:String,required:!0},closeAriaLabel:{type:String,required:!0}},emits:["opened","update:open"],data(){return{showCloseButton:!0,isOpen:!1}},computed:{modalListeners(){return{...this.$listeners,click:t=>{t.target===t.currentTarget&&this.close()},keydown:t=>{switch(t.code){case hn.esc:case hn.escape:this.close();break;case hn.tab:this.trapFocus(t);break}}}}},watch:{isOpen:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:((e=this.previousActiveElement)==null||e.focus(),this.previousActiveElement=null)}},open:{handler:function(t){t!==null&&(this.isOpen=t)},immediate:!0}},methods:{openModal(){this.open===null&&(this.isOpen=!0,this.showCloseButton=!0,this.$emit("opened",!0),setTimeout(()=>{this.focusAfterOpen()}))},close(){this.isOpen=!1,this.$emit("opened",!1),this.open!==null&&this.$emit("update:open",!1)},focusAfterOpen(){var t;(t=this.$refs.closeImage)==null||t.$el.focus()},trapFocus(t){this.isOpen&&this.focusTrappedTabPress(t)}}};var H6=function(){var e=this,a=e._self._c;return a("div",[a("dt-button",{staticClass:"d-p0 d-c-zoom-in",attrs:{"data-qa":"dt-image-viewer-preview","aria-label":e.ariaLabel,importance:"clear"},on:{click:e.openModal}},[a("img",{class:e.imageButtonClass,attrs:{src:e.imageSrc,alt:e.imageAlt}})]),e.isOpen?a("portal",[a("div",e._g({staticClass:"d-modal",attrs:{"aria-hidden":e.isOpen?"false":"true","data-qa":"dt-modal"},on:{mouseover:function(n){e.showCloseButton=!0},mouseleave:function(n){e.showCloseButton=!1},focusin:function(n){e.showCloseButton=!0},focusout:function(n){e.showCloseButton=!1}}},e.modalListeners),[a("div",{staticClass:"d-p0 d-bar0 d-wmx80p d-hmx80p",attrs:{"data-qa":"dt-image-viewer-full",role:"dialog","aria-modal":"true"}},[a("img",{staticClass:"d-wmx100p d-hmx100p",attrs:{src:e.imageSrc,alt:e.imageAlt}})]),a("transition",{attrs:{name:"fade"}},[e.showCloseButton?a("dt-button",{ref:"closeImage",staticClass:"d-modal__close",attrs:{"data-qa":"dt-image-viewer-close-btn",circle:"",size:"lg",importance:"clear",kind:"inverted","aria-label":e.closeAriaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)}):e._e()],1)],1)]):e._e()],1)},z6=[],W6=Ye.normalizeComponent(q6,H6,z6,!1,null,null,null,null);const U6=W6.exports,ca={TEXT:"text",TEXTAREA:"textarea",PASSWORD:"password",EMAIL:"email",NUMBER:"number",DATE:"date",TIME:"time"},E5={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md",LARGE:"lg",EXTRA_LARGE:"xl"};function ea(t){return t?t.every(e=>typeof e=="string"?!0:typeof e=="object"?Object.values(Dn).includes(e==null?void 0:e.type):!1):!0}const K6={name:"DtValidationMessages",props:{id:{type:String,default(){return pn()}},validationMessages:{type:Array,default:()=>[],validator:t=>ea(t)},showMessages:{type:Boolean,default:!0}},computed:{isFilteredValidationMessagesEmpty(){return this.filteredValidationMessages.length===0},filteredValidationMessages(){return dr(this.validationMessages)},validationState(){return r5(this.validationMessages)}},methods:{getMessageKey(t,e){return`validation-message-${t}-${e}-${this.id}`},messageTypeClass(t){return{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"}[t]}}};var G6=function(){var e=this,a=e._self._c;return e.showMessages&&!e.isFilteredValidationMessagesEmpty?a("div",{staticClass:"base-input__messages d-d-flex d-fd-column",attrs:{"data-qa":"validation-messages-container"}},e._l(e.filteredValidationMessages,function({message:n,type:m},w){return a("div",{key:e.getMessageKey(m,w),class:["base-input__message","d-validation-message",e.messageTypeClass(m)],attrs:{role:"status","aria-live":"polite","data-qa":"validation-message"}},[a("p",{domProps:{innerHTML:e._s(n)}})])}),0):e._e()},Y6=[],Z6=Ye.normalizeComponent(K6,G6,Y6,!1,null,null,null,null);const s5=Z6.exports,wr={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(Dn).includes(t):!0},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&&Ln.util.warn("You must provide an aria-label when there is no label passed",this)}}},Or={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}}},Er={inject:{groupContext:{default:{}},setGroupValue:{default:()=>()=>{}}},data(){return{internalValue:this.value}},computed:{hasGroup(){return Object.prototype.hasOwnProperty.call(this.groupContext,"name")},groupName(){var t;return((t=this.groupContext)==null?void 0:t.name)??""},groupValue(){var t;return(t=this.groupContext)==null?void 0:t.value},groupDisabled(){var t;return((t=this.groupContext)==null?void 0:t.disabled)??!1},groupValidationState(){var t;return((t=this.groupContext)==null?void 0:t.validationState)??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 a;const t=Object.prototype.hasOwnProperty.call(this.groupContext,"name"),e=(a=this.groupContext)==null?void 0:a.name;this.name&&t&&e!==this.name&&Ln.util.warn(`Component is being used inside a Group. Did you mean to override the name prop value (${e}) with (${this.name})? It is recommended to only set name at the Group level.`,this)}},Oa={props:{messagesClass:{type:[String,Array,Object],default:""},messagesChildProps:{type:Object,default:()=>({})},showMessages:{type:Boolean,default:!0},messages:{type:Array,default:()=>[],validator:t=>ea(t)}},computed:{formattedMessages(){return j5(this.messages)}}},X6={name:"DtInput",components:{DtValidationMessages:s5},mixins:[Oa],inheritAttrs:!1,props:{name:{type:String,default:""},type:{type:String,default:ca.TEXT,validator:t=>Object.values(ca).includes(t)},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},size:{type:String,default:null,validator:t=>Object.values(E5).includes(t)},iconSize:{type:String,default:null,validator:t=>Object.values(E5).includes(t)},inputClass:{type:[String,Object,Array],default:""},inputWrapperClass:{type:[String,Object,Array],default:""},currentLength:{type:Number,default:null},retainWarning:{type:Boolean,default:!1},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===ca.TEXTAREA},isDefaultSize(){return this.size===E5.DEFAULT},isDefaultIconSize(){return this.iconSizeComputed===E5.DEFAULT},iconSizeComputed(){return this.iconSize?this.iconSize:this.size},isValidSize(){return Object.values(E5).includes(this.size)},isValidDescriptionSize(){return Object.values(hi).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-${pn()}`},inputState(){return r5(this.validationMessages)},defaultLengthCalculation(){return this.calculateLength(this.value)},validationProps(){var t,e,a,n,m,w,V,le,Ce,Ee;return{length:{description:(e=(t=this==null?void 0:this.validate)==null?void 0:t.length)==null?void 0:e.description,max:(n=(a=this==null?void 0:this.validate)==null?void 0:a.length)==null?void 0:n.max,warn:(w=(m=this==null?void 0:this.validate)==null?void 0:m.length)==null?void 0:w.warn,message:(le=(V=this==null?void 0:this.validate)==null?void 0:V.length)==null?void 0:le.message,limitMaxLength:(Ee=(Ce=this==null?void 0:this.validate)==null?void 0:Ce.length)!=null&&Ee.limitMaxLength?this.validate.length.limitMaxLength:!1}}},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?Dn.WARNING:null:Dn.ERROR},shouldValidateLength(){return!!(this.validationProps.length.description&&this.validationProps.length.max)},shouldLimitMaxLength(){return this.shouldValidateLength&&this.validationProps.length.limitMaxLength},showLengthLimitValidation(){return this.shouldValidateLength&&this.inputLengthState!==null&&this.validationProps.length.message&&(this.retainWarning||this.isInputFocused||this.isInvalid)},sizeModifierClass(){return this.isDefaultSize||!this.isValidSize?"":{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"}}[this.inputComponent][this.size]},stateClass(){return[{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"}}[this.inputComponent][this.inputState]]}},watch:{isInvalid(t){this.$emit("update:invalid",t)},value:{immediate:!0,handler(t){this.shouldValidateLength&&this.validateLength(this.inputLength),this.currentLength==null&&this.$emit("update:length",this.calculateLength(t))}}},methods:{inputClasses(){return["base-input__input",this.inputComponent==="input"?"d-input":"d-textarea",{[this.stateClass]:this.showInputState,"d-input-icon--left":this.$slots.leftIcon,"d-input-icon--right":this.$slots.rightIcon},this.sizeModifierClass,this.inputClass]},inputWrapperClasses(){return["d-input__wrapper",{[this.stateClass]:this.showInputState},this.inputWrapperClass]},calculateLength(t){return typeof t!="string"?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"};return[{left:"base-input__icon--left d-input-icon--left",right:"base-input__icon--right d-input-icon--right"}[t],"d-input-icon",{[e[this.iconSizeComputed]]:!this.isDefaultIconSize},this.sizeModifierClass]},onBlur(t){var e;(e=this.$refs.container)!=null&&e.contains(t.relatedTarget)||this.$emit("blur",t)},clear(){this.$emit("input",""),this.$emit("clear")},blur(){this.$refs.input.blur()},focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},getMessageKey(t,e){return`message-${t}-${e}`},validateLength(t){this.isInvalid=t>this.validationProps.length.max}}};var Q6=function(){var e=this,a=e._self._c;return a("div",{ref:"container",staticClass:"base-input",attrs:{"data-qa":"dt-input"}},[a("label",{staticClass:"base-input__label",attrs:{"aria-details":e.$slots.description||e.description?e.descriptionKey:void 0,"data-qa":"dt-input-label-wrapper"}},[e._t("labelSlot",function(){return[e.labelVisible&&e.label?a("div",{ref:"label",class:["base-input__label-text","d-label",e.labelSizeClasses[e.size]],attrs:{"data-qa":"dt-input-label"}},[e._v(" "+e._s(e.label)+" ")]):e._e()]}),e.$slots.description||e.description||e.shouldValidateLength?a("div",{ref:"description",class:["base-input__description","d-description","d-fd-column",e.descriptionSizeClasses[e.size]],attrs:{id:e.descriptionKey,"data-qa":"dt-input-description"}},[e.$slots.description||e.description?a("div",[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),e.shouldValidateLength?a("div",{class:["d-mb2"],attrs:{"data-qa":"dt-input-length-description"}},[e._v(" "+e._s(e.validationProps.length.description)+" ")]):e._e()]):e._e(),a("div",{class:e.inputWrapperClasses(),attrs:{"read-only":e.disabled}},[e.$slots.leftIcon?a("span",{class:e.inputIconClasses("left"),attrs:{"data-qa":"dt-input-left-icon-wrapper"},on:{focusout:e.onBlur}},[e._t("leftIcon")],2):e._e(),e.isTextarea?a("textarea",e._g(e._b({ref:"input",class:e.inputClasses(),attrs:{name:e.name,disabled:e.disabled,maxlength:e.shouldLimitMaxLength?e.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:e.value}},"textarea",e.$attrs,!1),e.inputListeners)):a("input",e._g(e._b({ref:"input",class:e.inputClasses(),attrs:{name:e.name,type:e.type,disabled:e.disabled,maxlength:e.shouldLimitMaxLength?e.validationProps.length.max:null,"data-qa":"dt-input-input"},domProps:{value:e.value}},"input",e.$attrs,!1),e.inputListeners)),e.$slots.rightIcon?a("span",{class:e.inputIconClasses("right"),attrs:{"data-qa":"dt-input-right-icon-wrapper"},on:{focusout:e.onBlur}},[e._t("rightIcon")],2):e._e()])],2),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.validationMessages,"show-messages":e.showMessages,"data-qa":"dt-input-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)},J6=[],ec=Ye.normalizeComponent(X6,Q6,J6,!1,null,null,null,null);const Ss=ec.exports,ws={components:{DtValidationMessages:s5},provide(){return{groupContext:this.provideObj,setGroupValue:this.setGroupValue}},props:{id:{type:String,default(){return pn()}},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=>ea(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=j5(this.messages);return{provideObj:{name:this.name,disabled:this.disabled,validationState:r5(t)}}},computed:{formattedMessages(){return j5(this.messages)},validationState(){return r5(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"]&&Ln.util.warn("It is expected that an aria-label is provided when there is no legend.",this)}},tc={name:"DtInputGroup",components:{DtValidationMessages:s5},mixins:[ws],props:{dataQaGroup:{type:String,default:"input-group"},dataQaGroupLegend:{type:String,default:"input-group-legend"},dataQaGroupMessages:{type:String,default:"input-group-messages"}},emits:["input"],data(){return{internalValue:this.value,provideObj:{value:this.value}}},watch:{value(t){this.internalValue=t},internalValue(t){this.provideObj.value=t}},methods:{getMessageKey(t,e){return`input-group-message-${t}-${e}-${this.id}`}}};var nc=function(){var e=this,a=e._self._c;return a("fieldset",{attrs:{"data-qa":e.dataQaGroup}},[e.$slots.legend||e.legend?a("legend",e._b({class:["d-label",e.legendClass],attrs:{"data-qa":e.dataQaGroupLegend}},"legend",e.legendChildProps,!1),[e._t("legend",function(){return[e._v(" "+e._s(e.legend)+" ")]})],2):e._e(),e._t("default"),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":e.dataQaGroupMessages}},"dt-validation-messages",e.messagesChildProps,!1))],2)},ac=[],rc=Ye.normalizeComponent(tc,nc,ac,!1,null,null,null,null);const xr=rc.exports,ar={default:"",danger:"d-modal--danger"},rr={default:"",full:"d-modal--full"},ii={error:"d-modal__banner--critical",info:"d-modal__banner--info",success:"d-modal__banner--success",warning:"d-modal__banner--warning",base:"d-modal__banner--general"},ic={name:"DtNotice",components:{DtNoticeIcon:cr,DtNoticeContent:ur,DtNoticeAction:pr},mixins:[Zn],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 qo.includes(t)}},important:{type:Boolean,default:!1},kind:{type:String,default:"base",validate(t){return k5.includes(t)}},closeButtonProps:{type:Object,default:()=>({})},hideClose:{type:Boolean,default:!1}},emits:["close"],computed:{noticeClass(){return["d-notice",{error:"d-notice--error",info:"d-notice--info",success:"d-notice--success",warning:"d-notice--warning",base:"d-notice--base"}[this.kind],{"d-notice--important":this.important}]}}};var sc=function(){var e=this,a=e._self._c;return a("aside",{class:e.noticeClass,attrs:{"data-qa":"notice"}},[a("dt-notice-icon",{attrs:{kind:e.kind}},[e._t("icon")],2),a("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title,role:e.role},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default")],2),a("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.$listeners),[e._t("action")],2)],1)},oc=[],lc=Ye.normalizeComponent(ic,sc,oc,!1,null,null,null,null);const dc=lc.exports,cc={name:"DtModal",components:{DtLazyShow:$5,DtButton:vn,DtIcon:ln,SrOnlyCloseButton:ya},mixins:[Y5,Zn],props:{closeButtonProps:{type:Object,required:!0,validator:t=>!!t.ariaLabel},copy:{type:String,default:""},describedById:{type:String,default:""},labelledById:{type:String,default:function(){return pn()}},show:{type:Boolean,default:!1},title:{type:String,default:""},bannerTitle:{type:String,default:""},kind:{type:String,default:"default",validator:t=>Object.keys(ar).includes(t)},size:{type:String,default:"default",validator:t=>Object.keys(rr).includes(t)},modalClass:{type:[String,Object,Array],default:""},dialogClass:{type:[String,Object,Array],default:""},contentClass:{type:[String,Object,Array],default:""},bannerKind:{type:String,default:"warning",validate(t){return k5.includes(t)}},bannerClass:{type:[String,Object,Array],default:""},hideClose:{type:Boolean,default:!1},closeOnClick:{type:Boolean,default:!0},fixedHeaderFooter:{type:Boolean,default:!0},initialFocusElement:{type:[String,HTMLElement],default:"first",validator:t=>t==="first"||t instanceof HTMLElement||t.startsWith("#")}},emits:["update:show"],data(){return{MODAL_KIND_MODIFIERS:ar,MODAL_SIZE_MODIFIERS:rr,MODAL_BANNER_KINDS:ii,EVENT_KEYNAMES:hn}},computed:{modalListeners(){return{...this.$listeners,click:t=>{this.closeOnClick&&(t.target===t.currentTarget&&this.close(),this.$emit("click",t))},keydown:t=>{switch(t.code){case hn.esc:case hn.escape:this.close();break;case hn.tab:this.trapFocus(t);break}this.$emit("keydown",t)},"after-enter":t=>{this.$emit("update:show",!0),t.target===t.currentTarget&&this.setFocusAfterTransition()}}},open(){return`${!this.show}`},hasFooterSlot(){return!!this.$slots.footer},bannerKindClass(){return ii[this.bannerKind]}},watch:{show:{immediate:!0,handler(t){var e;t?this.previousActiveElement=document.activeElement:((e=this.previousActiveElement)==null||e.focus(),this.previousActiveElement=null)}},$props:{immediate:!0,deep:!0,handler(){this.validateProps()}}},methods:{close(){this.$emit("update:show",!1)},setFocusAfterTransition(){this.initialFocusElement==="first"?this.focusFirstElement():this.initialFocusElement.startsWith("#")?this.focusElementById(this.initialFocusElement):this.initialFocusElement instanceof HTMLElement&&this.initialFocusElement.focus()},trapFocus(t){this.show&&this.focusTrappedTabPress(t)},validateProps(){this.hideClose&&!this.visuallyHiddenClose&&console.error(`If hideClose prop is true, visuallyHiddenClose and visuallyHiddenCloseLabel props
30
- need to be set so the component always includes a close button`)}}};var uc=function(){var e=this,a=e._self._c;return a("dt-lazy-show",e._g({class:["d-modal",e.MODAL_KIND_MODIFIERS[e.kind],e.MODAL_SIZE_MODIFIERS[e.size],e.modalClass],attrs:{transition:"d-zoom",show:e.show,"data-qa":"dt-modal","aria-hidden":e.open}},e.modalListeners),[e.show&&(e.$slots.banner||e.bannerTitle)?a("div",{class:["d-modal__banner",e.bannerClass,e.bannerKindClass],attrs:{"data-qa":"dt-modal-banner"}},[e._t("banner",function(){return[e._v(" "+e._s(e.bannerTitle)+" ")]})],2):e._e(),a("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":e.fixedHeaderFooter},e.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":e.describedById,"aria-labelledby":e.labelledById}},[e.$slots.header?a("div",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._t("header")],2):a("h2",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?a("div",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._t("default")],2):a("p",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._v(" "+e._s(e.copy)+" ")]),e.hasFooterSlot?a("footer",{staticClass:"d-modal__footer"},[e._t("footer")],2):e._e(),e.hideClose?e._e():a("dt-button",e._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":e.closeButtonProps.ariaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",e.closeButtonProps,!1)),e.showVisuallyHiddenClose?a("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.close}}):e._e()],1)])],1)},pc=[],fc=Ye.normalizeComponent(cc,uc,pc,!1,null,null,null,null);const hc=fc.exports;const mc={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:vn},props:{id:{type:String,default(){return Nn.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!(this.maxDisplayed===0||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}}};var vc=function(){var e=this,a=e._self._c;return a("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":e.separator}],attrs:{id:e.id,role:"group","aria-labelledby":`${e.id}-list-section-header`,tabindex:"-1"}},[e.header?a("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:`${e.id}-list-section-header`}},[e._v(" "+e._s(e.header)+" ")]):e._e(),!e.isCollapsible||e.showAll?a("ol",{attrs:{id:`${e.id}-list-section-content`}},[e._t("default")],2):a("ol",{attrs:{id:`${e.id}-list-section-content`}},[a("vnodes",{attrs:{vnodes:e.displayedItems}})],1),a("div",{staticClass:"d-d-flex"},[e.isCollapsible?a("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:`${e.id}-list-section-show-more-less`,link:""},on:{click:e.showMoreLessClicked}},[e._v(" "+e._s(e.showMoreLessText)+" ")]):e._e(),e._t("footer")],2)])},gc=[],_c=Ye.normalizeComponent(mc,vc,gc,!1,null,null,null,null);const yc=_c.exports,bc={name:"DtListItemGroup",props:{id:{type:String,default(){return pn()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}};var Cc=function(){var e=this,a=e._self._c;return a("ul",{class:["d-ps-relative","d-px0",e.listClass],attrs:{id:e.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":`${e.id}-heading`}},[e.heading?a("li",{class:["dt-dropdown-list--header",e.headingClass],attrs:{id:`${e.id}-heading`,role:"presentation","data-qa":"dt-dropdown-list-heading"}},[e._t("headingSlot",function(){return[e._v(" "+e._s(e.heading)+" ")]})],2):e._e(),e._t("default")],2)},Sc=[],wc=Ye.normalizeComponent(bc,Cc,Sc,!1,null,null,null,null);const Oc=wc.exports,Ec={name:"DtPagination",components:{DtButton:vn,DtIcon:ln},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 this.currentPage===1},isLastPage(){return this.currentPage===this.totalPages},pages(){if(this.maxVisible===0)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 a=this.maxVisible-(3-this.maxVisible%2),n=Math.floor(a/2),m=this.currentPage-n,w=this.currentPage+n;return[1,"...",...this.range(m,w),"...",this.totalPages]}},methods:{range(t,e){const a=[];t=t>0?t:1;for(let n=t;n<=e;n++)a.push(n);return a},changePage(t){this.currentPage=t,this.$emit("change",this.currentPage)}}};var xc=function(){var e=this,a=e._self._c;return a("nav",{staticClass:"d-d-flex d-fd-row d-gg4 d-ai-center",attrs:{"aria-label":e.ariaLabel}},[a("dt-button",{staticClass:"d-px8",class:e.isFirstPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-prev","aria-label":e.prevAriaLabel,kind:e.isFirstPage?"default":"muted",importance:e.isFirstPage?"primary":"clear",disabled:e.isFirstPage},on:{click:function(n){return e.changePage(e.currentPage-1)}}},[a("template",{slot:"icon"},[a("dt-icon",{attrs:{name:"chevron-left",size:"300"}})],1)],2),e._l(e.pages,function(n,m){return a("div",{key:`page-${n}-${m}`,class:{"d-as-flex-end":isNaN(Number(n))}},[isNaN(Number(n))?a("div",{staticClass:"d-fc-tertiary d-w24 d-ta-center",attrs:{"data-qa":"dt-pagination-separator"}},[a("dt-icon",{attrs:{name:"more-horizontal",size:"300"}})],1):a("dt-button",{attrs:{"aria-label":e.pageNumberAriaLabel(n),kind:e.currentPage===n?"default":"muted",importance:e.currentPage===n?"primary":"clear","label-class":""},on:{click:function(w){return e.changePage(n)}}},[e._v(" "+e._s(n)+" ")])],1)}),a("dt-button",{staticClass:"d-px8",class:e.isLastPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-next","aria-label":e.nextAriaLabel,disabled:e.isLastPage,kind:"muted",importance:e.isLastPage?"primary":"clear"},on:{click:function(n){return e.changePage(e.currentPage+1)}}},[a("template",{slot:"icon"},[a("dt-icon",{attrs:{name:"chevron-right",size:"300"}})],1)],2)],2)},Ic=[],Tc=Ye.normalizeComponent(Ec,xc,Ic,!1,null,null,null,null);const Ac=Tc.exports,Dc={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Lc={name:"DtRadio",components:{DtValidationMessages:s5},mixins:[wr,Or,Er,Oa],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Dc[this.internalValidationState]},radioGroupValue(){var t;return(t=this.groupContext)==null?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))}}};var kc=function(){var e=this,a=e._self._c;return a("label",[a("div",{class:["d-radio-group",{"d-radio-group--disabled":e.internalDisabled}]},[a("div",{staticClass:"d-radio__input"},[a("input",e._g(e._b({class:["d-radio",e.inputValidationClass,e.inputClass],attrs:{name:e.internalName,disabled:e.internalDisabled,type:"radio"},domProps:{checked:e.internalChecked,value:e.value}},"input",e.$attrs,!1),e.inputListeners))]),a("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[a("div",e._b({class:e.labelClass,attrs:{"data-qa":"radio-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2),e.$slots.description||e.description?a("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)])])},$c=[],Rc=Ye.normalizeComponent(Lc,kc,$c,!1,null,null,null,null);const Pc=Rc.exports,Mc={name:"DtRadioGroup",extends:xr,props:{value:{type:[String,Number],default:""},dataQaGroup:{type:String,default:"radio-group"},dataQaGroupLegend:{type:String,default:"radio-group-legend"},dataQaGroupMessages:{type:String,default:"radio-group-messages"}},emits:["input"],data(){return{provideObj:{selectedValue:this.value}}},watch:{value(t){this.provideObj.selectedValue=t}},methods:{setGroupValue(t){this.$emit("input",t)},getMessageKey(t,e){return`radio-group-message-${t}-${e}-${this.id}`}}},Nc=null,Bc=null;var Fc=Ye.normalizeComponent(Mc,Nc,Bc,!1,null,null,null,null);const Vc=Fc.exports,Os=["default","sm"],jc={sm:"d-tablist--sm"},Es={inverted:"d-tablist--inverted"},xs={borderless:"d-tablist--no-border"},Is={selected:"d-tab--selected"},qc={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 Os.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:jc,TAB_LIST_KIND_MODIFIERS:Es,TAB_LIST_IMPORTANCE_MODIFIERS:xs}},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(({$el:t})=>t).filter(({className:t})=>t.includes("d-tab")).map(t=>{var e,a;return{context:t,panelId:(e=t.getAttribute("aria-controls"))==null?void 0:e.replace("dt-panel-",""),id:(a=t.getAttribute("id"))==null?void 0:a.replace("dt-tab-",""),isSelected:t.getAttribute("aria-selected")==="true"}})},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel({selected:t,selectOverride:e}){this.provideObj.selected=t,e||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)return;const a=t-1<0?e.length-1:t-1;this.selectFocusOnTab(a,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)return;const a=t+1>e.length-1?0:t+1;this.selectFocusOnTab(a,e)},selectFocusOnTab(t,e){const{context:a}=e[t];a.focus()},selectTab(){const{tabs:t,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,t)},selectTabByIndex(t,e){const{context:a,panelId:n}=e[t];this.provideObj.selected=n,a.focus()},getIndexAndTabs(){const t=this.tabs.findIndex(e=>this.focusId?e.id===`${this.focusId}`:e.isSelected);return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[0])==null?void 0:t.context)==null||e.focus())},onEndButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[this.tabs.length-1])==null?void 0:t.context)==null||e.focus())}}};var Hc=function(){var e=this,a=e._self._c;return a("div",{attrs:{"data-qa":"dt-tab-group"}},[a("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],{[e.TAB_LIST_KIND_MODIFIERS.inverted]:e.inverted,[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]:e.borderless},e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"left",37,n.key,["Left","ArrowLeft"])||"button"in n&&n.button!==0?null:e.tabLeft.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"right",39,n.key,["Right","ArrowRight"])||"button"in n&&n.button!==2?null:e.tabRight.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"home",void 0,n.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"end",void 0,n.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},zc=[],Wc=Ye.normalizeComponent(qc,Hc,zc,!1,null,null,null,null);const Uc=Wc.exports,Kc={name:"DtTab",components:{DtButton:vn},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:Is}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:t=>{this.selectPanel(),this.$emit("click",t)},focus:t=>{this.setFocus(this.id),this.$emit("focus",t)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(t=!1){this.changeContentPanel({selected:this.panelId,selectOverride:t})}}};var Gc=function(){var e=this,a=e._self._c;return a("dt-button",e._g(e._b({class:["d-tab",{[e.TAB_IMPORTANCE_MODIFIERS.selected]:e.isSelected},e.tabClass],attrs:{id:`dt-tab-${e.id}`,role:"tab","aria-selected":`${e.isSelected}`,"aria-controls":`dt-panel-${e.panelId}`,"aria-label":e.label,"data-qa":"dt-tab",tabindex:e.isSelected?"0":"-1",disabled:e.groupContext.disabled||e.disabled}},"dt-button",e.$attrs,!1),e.tabListeners),[e._t("default")],2)},Yc=[],Zc=Ye.normalizeComponent(Kc,Gc,Yc,!1,null,null,null,null);const Xc=Zc.exports,Qc={name:"DtTabPanel",mixins:[Y5],inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},data(){return{isFirstElementFocusable:!1}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}},async mounted(){const t=await this.getFirstFocusableElement(this.$el);t?this.isFirstElementFocusable=this.isFirstElementOfPanel(t):this.isFirstElementFocusable=!1},methods:{isFirstElementOfPanel(t){let e=t,a=!0;for(;e;){if(e.previousElementSibling!==null){a=!1;break}e=e.parentNode!==this.$el?e.parentNode:null}return a}}};var Jc=function(){var e=this,a=e._self._c;return a("div",{class:[{"d-d-none":e.hidePanel},e.tabPanelClass],attrs:{id:`dt-panel-${e.id}`,role:"tabpanel",tabindex:e.isFirstElementFocusable?-1:0,"aria-labelledby":`dt-tab-${e.tabId}`,"aria-hidden":`${e.hidePanel}`,"data-qa":"dt-tab-panel"}},[e._t("default")],2)},eu=[],tu=Ye.normalizeComponent(Qc,Jc,eu,!1,null,null,null,null);const nu=tu.exports,au={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},ru={name:"DtCheckbox",components:{DtValidationMessages:s5},mixins:[wr,Or,Er,Oa],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return au[this.internalValidationState]},checkboxGroupValueChecked(){var t,e;return((e=(t=this.groupContext)==null?void 0:t.selectedValues)==null?void 0:e.includes(this.value))??!1},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:a}=t;this.internalIndeterminate&&(a=!1,this.internalIndeterminate=!1,t.checked=!1),this.setGroupValue(e,a),this.$emit("input",a)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}};var iu=function(){var e=this,a=e._self._c;return a("label",[a("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":e.internalDisabled}]},[a("div",{staticClass:"d-checkbox__input"},[a("input",e._g(e._b({class:["d-checkbox",e.inputValidationClass,e.inputClass],attrs:{type:"checkbox",name:e.internalName,disabled:e.internalDisabled},domProps:{checked:e.internalChecked,value:e.value,indeterminate:e.internalIndeterminate}},"input",e.$attrs,!1),e.inputListeners))]),e.hasLabelOrDescription?a("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[e.hasLabel?a("div",e._b({class:e.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.hasDescription?a("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1):e._e()])])},su=[],ou=Ye.normalizeComponent(ru,iu,su,!1,null,null,null,null);const lu=ou.exports,du={name:"DtCheckboxGroup",extends:xr,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>t?(Ln.util.warn("Component uses selectedValues to initialize the model, value is not supported by this component",globalThis),!1):!0},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(a=>a!==t),this.$emit("input",this.internalValue)},getMessageKey(t,e){return`checkbox-group-message-${t}-${e}-${this.id}`}}},cu=null,uu=null;var pu=Ye.normalizeComponent(du,cu,uu,!1,null,null,null,null);const fu=pu.exports,ir={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},hu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},mu={xs:"200",sm:"200",md:"200"},vu={name:"DtChip",components:{DtButton:vn,DtIcon:ln},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(ir).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return pn()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""},labelClass:{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;((e=t.code)==null?void 0:e.toLowerCase())==="delete"?this.onClose():this.$emit("keyup",t)}}},closeButtonIconSize(){return mu[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",ir[this.size],this.labelClass]},chipCloseButtonClasses(){return["d-chip__close",hu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}};var gu=function(){var e=this,a=e._self._c;return a("span",{staticClass:"d-chip"},[a(e.interactive?"button":"span",e._g({tag:"component",class:e.chipClasses(),attrs:{id:e.id,type:e.interactive&&"button","data-qa":"dt-chip","aria-labelledby":e.ariaLabel?void 0:`${e.id}-content`,"aria-label":e.ariaLabel}},e.chipListeners),[e.$slots.icon?a("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[e._t("icon")],2):e.$slots.avatar?a("span",{attrs:{"data-qa":"dt-chip-avatar"}},[e._t("avatar")],2):e._e(),e.$slots.default?a("span",{class:["d-truncate","d-chip__text",e.contentClass],attrs:{id:`${e.id}-content`,"data-qa":"dt-chip-label"}},[e._t("default")],2):e._e()]),e.hideClose?e._e():a("dt-button",e._b({class:e.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":e.closeButtonProps.ariaLabel},on:{click:function(n){return e.$emit("close")}},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"close",size:e.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",e.closeButtonProps,!1))],1)},_u=[],yu=Ye.normalizeComponent(vu,gu,_u,!1,null,null,null,null);const Ir=yu.exports,sr={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Ts={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},bu=t=>!t.index||typeof t.index=="number",Cu=t=>t.value?typeof t.value=="string"||typeof t.value=="number":!1,Su=t=>t.label?typeof t.label=="string":!1,wu=t=>t?t.every(e=>!(!bu(e)||!Cu(e)||!Su(e))):!0,Ou={name:"DtSelectMenu",components:{DtValidationMessages:s5},mixins:[Oa],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>wu(t)},size:{type:String,default:"md",validator:t=>Object.keys(sr).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:no,DESCRIPTION_SIZE_MODIFIERS:to,SELECT_SIZE_MODIFIERS:sr,SELECT_STATE_MODIFIERS:Ts}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t,t.target.value)}},state(){return r5(this.formattedMessages)},selectKey(){return pn()},descriptionKey(){return`select-${this.selectKey}-description`},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(t,e){this.$emit("input",t,e),this.$emit("change",t,e)},getOptionKey(t){return`select-${this.selectKey}-option-${t}`},validateOptionsPresence(){var t;((t=this.options)==null?void 0:t.length)<1&&!this.$slots.default&&Ln.util.warn("Options are expected to be provided via prop or slot",this)}}};var Eu=function(){var e=this,a=e._self._c;return a("div",[a("label",[e.$slots.label||e.label?a("div",e._b({class:["d-label",e.LABEL_SIZE_MODIFIERS[e.size],e.labelClass],attrs:{"aria-details":e.labelAriaDetails,"data-qa":"dt-select-label"}},"div",e.labelChildProps,!1),[e._t("label",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.$slots.description||e.description?a("div",e._b({class:["d-description",e.DESCRIPTION_SIZE_MODIFIERS[e.size],e.descriptionClass],attrs:{id:e.descriptionKey,"data-qa":"dt-select-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),a("div",{class:["d-select",e.SELECT_SIZE_MODIFIERS[e.size],e.selectClass,{"d-select--disabled":e.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[a("select",e._g(e._b({class:["d-select__input",e.SELECT_STATE_MODIFIERS[e.state]],attrs:{"data-qa":"dt-select",disabled:e.disabled}},"select",e.$attrs,!1),e.selectListeners),[e._t("default",function(){return e._l(e.options,function(n){return a("option",e._b({key:e.getOptionKey(n.value),class:e.optionClass,domProps:{value:n.value}},"option",e.optionChildProps,!1),[e._v(" "+e._s(n.label)+" ")])})})],2)])]),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)},xu=[],Iu=Ye.normalizeComponent(Ou,Eu,xu,!1,null,null,null,null);const Tu=Iu.exports,As=["status","alert"],si=6e3,Au={name:"DtToast",components:{DtNoticeIcon:cr,DtNoticeContent:ur,DtNoticeAction:pr},mixins:[Zn],props:{titleId:{type:String,default(){return Nn.getUniqueString()}},contentId:{type:String,default(){return Nn.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>As.includes(t)},kind:{type:String,default:"base",validator:t=>k5.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>=si}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:si}},computed:{kindClass(){return{error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"}[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))}}};var Du=function(){var e=this,a=e._self._c;return e.isShown?a("div",{class:["d-toast",e.kindClass,{"d-toast--important":e.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!e.isShown).toString()}},[a("div",{staticClass:"d-toast__dialog"},[a("dt-notice-icon",e._g({attrs:{kind:e.kind}},e.$listeners),[e._t("icon")],2),a("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title,role:e.role},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default",function(){return[e._v(" "+e._s(e.message)+" ")]})],2),a("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.noticeActionListeners),[e._t("action")],2)],1)]):e._e()},Lu=[],ku=Ye.normalizeComponent(Au,Du,Lu,!1,null,null,null,null);const $u=ku.exports,oi={sm:"d-toggle--small",md:""},Ru=[!1,!0,"mixed"],Pu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return Nn.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>Ru.includes(t)},toggleOnClick:{type:Boolean,default:!0},size:{type:String,default:"md",validator:t=>Object.keys(oi).includes(t)},showIcon:{type:Boolean,default:!0},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$listeners,click:t=>this.toggleCheckedValue()}},isIndeterminate(){return this.internalChecked==="mixed"},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",oi[this.size],{"d-toggle--checked":this.internalChecked===!0,"d-toggle--disabled":this.disabled,"d-toggle--indeterminate":this.isIndeterminate}]}},watch:{checked(t){this.internalChecked=t}},mounted(){this.runValidations()},methods:{toggleCheckedValue(){this.$emit("change",!this.internalChecked),this.toggleOnClick&&(this.internalChecked=!this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(t,e){!t&&!e&&Ln.util.warn("You must provide an aria-label when there is no label passed",this)}}};var Mu=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-d-flex d-ai-center"},[e.$slots.default?a("label",e._b({class:e.labelClass,attrs:{for:e.id,"data-qa":"toggle-label"}},"label",e.labelChildProps,!1),[e._t("default")],2):e._e(),a("button",e._g(e._b({class:e.toggleClasses,attrs:{id:e.id,role:e.toggleRole,type:"button","aria-checked":e.internalChecked.toString(),disabled:e.disabled,"aria-disabled":e.disabled.toString()}},"button",e.$attrs,!1),e.inputListeners),[e.showIcon?a("span",{staticClass:"d-toggle__inner"}):e._e()])])},Nu=[],Bu=Ye.normalizeComponent(Pu,Mu,Nu,!1,null,null,null,null);const Fu=Bu.exports,Ds=[...m6],Ls=300,ks={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},$s=[...hs],Vu=[!0,!1,"toggle"];const ju={name:"DtTooltip",components:{DtLazyShow:$5},props:{id:{type:String,default(){return pn()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return Ds.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>$s.includes(t)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:ks,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){var t,e;return{offset:this.offset,appendTo:(e=(t=this.anchorEl)==null?void 0:t.getRootNode())==null?void 0:e.querySelector("body"),interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:vs({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(t){t!==null&&(this.isShown=t)},immediate:!0},isShown(t){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=ms(ri(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var t;this.tip&&((t=this.tip)==null||t.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return ri(this.$refs.anchor).matches(":focus-visible")},onEnterAnchor(t){if(this.delay)this.inTimer=setTimeout(function(e){return this.triggerShow(e)}.bind(this,t),Ls);else return this.triggerShow(t)},triggerShow(t){t.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(){return clearTimeout(this.inTimer),this.triggerHide()},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(t){this.currentPlacement=t},onLeaveTransitionComplete(){var t;(t=this.tip)==null||t.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...this.tippyProps}}}};var qu=function(){var e=this,a=e._self._c;return a("div",{attrs:{"data-qa":"dt-tooltip-container"}},[a("span",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:e.onEnterAnchor,focusout:e.onLeaveAnchor,mouseenter:e.onEnterAnchor,mouseleave:e.onLeaveAnchor,keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"esc",27,n.key,["Esc","Escape"])?null:e.onLeaveAnchor.apply(null,arguments)}}},[e._t("anchor")],2),a("dt-lazy-show",e._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${e.currentPlacement}`,{[e.TOOLTIP_KIND_MODIFIERS.inverted]:e.inverted},e.contentClass],attrs:{id:e.id,show:e.isShown&&(!!e.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:e.transition}},e.tooltipListeners),[e._t("default",function(){return[e._v(" "+e._s(e.message)+" ")]})],2)],1)},Hu=[],zu=Ye.normalizeComponent(ju,qu,Hu,!1,null,null,null,null);const Ea=zu.exports,I5={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Rs={"{plus}":"plus"},Wu=Object.keys(I5),Uu={name:"DtKeyboardShortcut",components:{DtIcon:ln},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:I5,separator:/\+/gi}},computed:{icons(){return{...I5,...Rs}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(I5).reduce((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),I5[e]),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}};var Ku=function(){var e=this,a=e._self._c;return a("kbd",{class:["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs-100",e.inverted?"d-bc-moderate-inverted":"d-bc-default"]},[e.screenReaderText?a("span",{staticClass:"sr-only"},[e._v(" "+e._s(e.screenReaderText)+" ")]):e._e(),e._l(e.formattedShortcutSplit,function(n,m){return[e.icons[n]?a("dt-icon",{key:`${m}-${n}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{name:e.icons[n],size:"100","aria-hidden":"true"}}):a("span",{key:`${m}-${n}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:e._s(n)}})]})],2)},Gu=[],Yu=Ye.normalizeComponent(Uu,Ku,Gu,!1,null,null,null,null);const Zu=Yu.exports,Tr={LEFT:"left",RIGHT:"right"},Ps=["sm","md","lg",null],Xu={name:"DtRootLayoutBody",props:{bodyClass:{type:[String,Array,Object],default:void 0},contentClass:{type:[String,Array,Object],default:void 0},sidebarClass:{type:[String,Array,Object],default:void 0},sidebarWidth:{type:String,default:void 0},fixed:{type:Boolean,default:void 0},sidebarPosition:{type:String,default:void 0}},computed:{bodyClasses(){return[this.bodyClass,{"d-root-layout__body--invert":this.sidebarPosition===Tr.RIGHT}]}}};var Qu=function(){var e=this,a=e._self._c;return a("div",{ref:"root-layout-body",class:["d-root-layout__body",e.bodyClasses],attrs:{"data-qa":"dt-root-layout-body"}},[e.$slots.sidebar?a("aside",{ref:"root-layout-sidebar",class:["d-root-layout__sidebar",{"d-root-layout__sidebar--sticky":e.fixed},e.sidebarClass],style:{"flex-basis":e.sidebarWidth},attrs:{"data-qa":"dt-root-layout-sidebar"}},[e._t("sidebar")],2):e._e(),e.$slots.content?a("main",{ref:"root-layout-content",class:["d-root-layout__content",e.contentClass],attrs:{"data-qa":"dt-root-layout-content",tabindex:"0"}},[e._t("content")],2):e._e()])},Ju=[],ep=Ye.normalizeComponent(Xu,Qu,Ju,!1,null,null,null,null);const tp=ep.exports,np={name:"DtRootLayout",components:{DtRootLayoutBody:tp},props:{fixed:{type:Boolean,default:!0},headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},bodyClass:{type:[String,Array,Object],default:""},headerSticky:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:""},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:t=>Object.values(Tr).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"},responsiveBreakpoint:{type:String,default:null,validator:t=>Ps.includes(t)}},computed:{responsiveClass(){if(this.responsiveBreakpoint)return`d-root-layout__responsive--${this.responsiveBreakpoint}`}}};var ap=function(){var e=this,a=e._self._c;return a("div",{class:["root-layout d-root-layout",{"d-root-layout--fixed":e.fixed},e.responsiveClass],attrs:{"data-qa":"dt-root-layout"}},[e.$slots.header?a("header",{class:["d-root-layout__header",{"d-root-layout__header--sticky":e.headerSticky},e.headerClass],style:{height:e.headerHeight,"min-height":e.headerHeight},attrs:{"data-qa":"dt-root-layout-header"}},[e._t("header")],2):e._e(),a("dt-root-layout-body",{attrs:{"body-class":e.bodyClass,"content-class":e.contentClass,"sidebar-class":e.sidebarClass,"sidebar-width":e.sidebarWidth,"sidebar-position":e.sidebarPosition,"header-height":e.$slots.header?e.headerHeight:"0px","footer-height":e.$slots.footer?e.footerHeight:"0px",fixed:e.fixed},scopedSlots:e._u([e.$slots.sidebar?{key:"sidebar",fn:function(){return[e._t("sidebar")]},proxy:!0}:null,e.$slots.default?{key:"content",fn:function(){return[e._t("default")]},proxy:!0}:null],null,!0)}),e.$slots.footer?a("footer",{class:["d-root-layout__footer",e.footerClass],style:{height:e.footerHeight,"min-height":e.footerHeight},attrs:{"data-qa":"dt-root-layout-footer"}},[e._t("footer")],2):e._e()],1)},rp=[],ip=Ye.normalizeComponent(np,ap,rp,!1,null,null,null,null);const sp=ip.exports,b5={default:"column",column:"column",row:"row","row-reverse":"row-reverse","column-reverse":"column-reverse"},Ms=["sm","md","lg","xl"],Ar=["0","100","200","300","400","500","600"];function li(t){return t===b5.default}function di(t){if(U5(t)==="string")return li(t)?null:b5[t];if(U5(t)==="object"){const{default:e}=t;return li(e)?null:b5[e]}else return null}function U5(t){return typeof t}function op(t){return di(t)?`d-stack--${b5[di(t)]}`:null}function lp(t){return U5(t)==="object"?[...Ms.map(e=>t[e]?`d-stack--${e}--${t[e]}`:null)]:null}function dp(t){return Ar.includes(t)?`d-stack--gap-${t}`:null}function cp(t){if(U5(t)==="string")return Object.keys(b5).includes(t);if(U5(t)==="object"){const{default:e}=t;return Object.keys(b5).includes(e)}else return null}function up(t){return Ar.includes(t)}const pp={name:"DtStack",props:{direction:{type:[String,Object],default:"column",validator:t=>cp(t)},as:{type:String,default:"div"},gap:{type:String,default:"0",validator:t=>up(t)}},data(){return{DT_STACK_DIRECTION:b5,DT_STACK_GAP:Ar,DT_STACK_RESPONSIVE_BREAKPOINTS:Ms}},computed:{stackGap(){return dp(this.gap)},defaultDirection(){return op(this.direction)},stackResponsive(){return lp(this.direction)}}};var fp=function(){var e=this,a=e._self._c;return a(e.as,{tag:"component",class:["d-stack",e.defaultDirection,e.stackResponsive,e.stackGap]},[e._t("default")],2)},hp=[],mp=Ye.normalizeComponent(pp,fp,hp,!1,null,null,null,null);const vp=mp.exports;function K5(t){"@babel/helpers - typeof";return K5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K5(t)}function mn(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function sn(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function dn(t){sn(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||K5(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ns(t,e){sn(2,arguments);var a=dn(t),n=mn(e);return isNaN(n)?new Date(NaN):(n&&a.setDate(a.getDate()+n),a)}function Bs(t,e){sn(2,arguments);var a=dn(t),n=mn(e);if(isNaN(n))return new Date(NaN);if(!n)return a;var m=a.getDate(),w=new Date(a.getTime());w.setMonth(a.getMonth()+n+1,0);var V=w.getDate();return m>=V?w:(a.setFullYear(w.getFullYear(),w.getMonth(),m),a)}function gp(t,e){sn(2,arguments);var a=dn(t).getTime(),n=mn(e);return new Date(a+n)}var _p={};function ta(){return _p}function yp(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=ta(),xe=mn((a=(n=(m=(w=e==null?void 0:e.weekStartsOn)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.weekStartsOn)!==null&&m!==void 0?m:Oe.weekStartsOn)!==null&&n!==void 0?n:(Ce=Oe.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.weekStartsOn)!==null&&a!==void 0?a:0);if(!(xe>=0&&xe<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Ft=dn(t),Tt=Ft.getDay(),qt=(Tt<xe?7:0)+Tt-xe;return Ft.setDate(Ft.getDate()-qt),Ft.setHours(0,0,0,0),Ft}function bp(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function Cp(t){return sn(1,arguments),t instanceof Date||K5(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Sp(t){if(sn(1,arguments),!Cp(t)&&typeof t!="number")return!1;var e=dn(t);return!isNaN(Number(e))}function wp(t,e){sn(2,arguments);var a=mn(e);return gp(t,-a)}var Op=864e5;function Ep(t){sn(1,arguments);var e=dn(t),a=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),m=a-n;return Math.floor(m/Op)+1}function ma(t){sn(1,arguments);var e=1,a=dn(t),n=a.getUTCDay(),m=(n<e?7:0)+n-e;return a.setUTCDate(a.getUTCDate()-m),a.setUTCHours(0,0,0,0),a}function Fs(t){sn(1,arguments);var e=dn(t),a=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(a+1,0,4),n.setUTCHours(0,0,0,0);var m=ma(n),w=new Date(0);w.setUTCFullYear(a,0,4),w.setUTCHours(0,0,0,0);var V=ma(w);return e.getTime()>=m.getTime()?a+1:e.getTime()>=V.getTime()?a:a-1}function xp(t){sn(1,arguments);var e=Fs(t),a=new Date(0);a.setUTCFullYear(e,0,4),a.setUTCHours(0,0,0,0);var n=ma(a);return n}var Ip=6048e5;function Tp(t){sn(1,arguments);var e=dn(t),a=ma(e).getTime()-xp(e).getTime();return Math.round(a/Ip)+1}function va(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=ta(),xe=mn((a=(n=(m=(w=e==null?void 0:e.weekStartsOn)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.weekStartsOn)!==null&&m!==void 0?m:Oe.weekStartsOn)!==null&&n!==void 0?n:(Ce=Oe.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.weekStartsOn)!==null&&a!==void 0?a:0);if(!(xe>=0&&xe<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Ft=dn(t),Tt=Ft.getUTCDay(),qt=(Tt<xe?7:0)+Tt-xe;return Ft.setUTCDate(Ft.getUTCDate()-qt),Ft.setUTCHours(0,0,0,0),Ft}function Vs(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=dn(t),xe=Oe.getUTCFullYear(),Ft=ta(),Tt=mn((a=(n=(m=(w=e==null?void 0:e.firstWeekContainsDate)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.firstWeekContainsDate)!==null&&m!==void 0?m:Ft.firstWeekContainsDate)!==null&&n!==void 0?n:(Ce=Ft.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(Tt>=1&&Tt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var qt=new Date(0);qt.setUTCFullYear(xe+1,0,Tt),qt.setUTCHours(0,0,0,0);var zt=va(qt,e),It=new Date(0);It.setUTCFullYear(xe,0,Tt),It.setUTCHours(0,0,0,0);var Wt=va(It,e);return Oe.getTime()>=zt.getTime()?xe+1:Oe.getTime()>=Wt.getTime()?xe:xe-1}function Ap(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=ta(),xe=mn((a=(n=(m=(w=e==null?void 0:e.firstWeekContainsDate)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.firstWeekContainsDate)!==null&&m!==void 0?m:Oe.firstWeekContainsDate)!==null&&n!==void 0?n:(Ce=Oe.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.firstWeekContainsDate)!==null&&a!==void 0?a:1),Ft=Vs(t,e),Tt=new Date(0);Tt.setUTCFullYear(Ft,0,xe),Tt.setUTCHours(0,0,0,0);var qt=va(Tt,e);return qt}var Dp=6048e5;function Lp(t,e){sn(1,arguments);var a=dn(t),n=va(a,e).getTime()-Ap(a,e).getTime();return Math.round(n/Dp)+1}function nn(t,e){for(var a=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return a+n}var kp={y:function(e,a){var n=e.getUTCFullYear(),m=n>0?n:1-n;return nn(a==="yy"?m%100:m,a.length)},M:function(e,a){var n=e.getUTCMonth();return a==="M"?String(n+1):nn(n+1,2)},d:function(e,a){return nn(e.getUTCDate(),a.length)},a:function(e,a){var n=e.getUTCHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,a){return nn(e.getUTCHours()%12||12,a.length)},H:function(e,a){return nn(e.getUTCHours(),a.length)},m:function(e,a){return nn(e.getUTCMinutes(),a.length)},s:function(e,a){return nn(e.getUTCSeconds(),a.length)},S:function(e,a){var n=a.length,m=e.getUTCMilliseconds(),w=Math.floor(m*Math.pow(10,n-3));return nn(w,a.length)}};const n5=kp;var w5={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},$p={G:function(e,a,n){var m=e.getUTCFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(m,{width:"abbreviated"});case"GGGGG":return n.era(m,{width:"narrow"});case"GGGG":default:return n.era(m,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){var m=e.getUTCFullYear(),w=m>0?m:1-m;return n.ordinalNumber(w,{unit:"year"})}return n5.y(e,a)},Y:function(e,a,n,m){var w=Vs(e,m),V=w>0?w:1-w;if(a==="YY"){var le=V%100;return nn(le,2)}return a==="Yo"?n.ordinalNumber(V,{unit:"year"}):nn(V,a.length)},R:function(e,a){var n=Fs(e);return nn(n,a.length)},u:function(e,a){var n=e.getUTCFullYear();return nn(n,a.length)},Q:function(e,a,n){var m=Math.ceil((e.getUTCMonth()+1)/3);switch(a){case"Q":return String(m);case"QQ":return nn(m,2);case"Qo":return n.ordinalNumber(m,{unit:"quarter"});case"QQQ":return n.quarter(m,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(m,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(m,{width:"wide",context:"formatting"})}},q:function(e,a,n){var m=Math.ceil((e.getUTCMonth()+1)/3);switch(a){case"q":return String(m);case"qq":return nn(m,2);case"qo":return n.ordinalNumber(m,{unit:"quarter"});case"qqq":return n.quarter(m,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(m,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(m,{width:"wide",context:"standalone"})}},M:function(e,a,n){var m=e.getUTCMonth();switch(a){case"M":case"MM":return n5.M(e,a);case"Mo":return n.ordinalNumber(m+1,{unit:"month"});case"MMM":return n.month(m,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(m,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(m,{width:"wide",context:"formatting"})}},L:function(e,a,n){var m=e.getUTCMonth();switch(a){case"L":return String(m+1);case"LL":return nn(m+1,2);case"Lo":return n.ordinalNumber(m+1,{unit:"month"});case"LLL":return n.month(m,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(m,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(m,{width:"wide",context:"standalone"})}},w:function(e,a,n,m){var w=Lp(e,m);return a==="wo"?n.ordinalNumber(w,{unit:"week"}):nn(w,a.length)},I:function(e,a,n){var m=Tp(e);return a==="Io"?n.ordinalNumber(m,{unit:"week"}):nn(m,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):n5.d(e,a)},D:function(e,a,n){var m=Ep(e);return a==="Do"?n.ordinalNumber(m,{unit:"dayOfYear"}):nn(m,a.length)},E:function(e,a,n){var m=e.getUTCDay();switch(a){case"E":case"EE":case"EEE":return n.day(m,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(m,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(m,{width:"short",context:"formatting"});case"EEEE":default:return n.day(m,{width:"wide",context:"formatting"})}},e:function(e,a,n,m){var w=e.getUTCDay(),V=(w-m.weekStartsOn+8)%7||7;switch(a){case"e":return String(V);case"ee":return nn(V,2);case"eo":return n.ordinalNumber(V,{unit:"day"});case"eee":return n.day(w,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(w,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(w,{width:"short",context:"formatting"});case"eeee":default:return n.day(w,{width:"wide",context:"formatting"})}},c:function(e,a,n,m){var w=e.getUTCDay(),V=(w-m.weekStartsOn+8)%7||7;switch(a){case"c":return String(V);case"cc":return nn(V,a.length);case"co":return n.ordinalNumber(V,{unit:"day"});case"ccc":return n.day(w,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(w,{width:"narrow",context:"standalone"});case"cccccc":return n.day(w,{width:"short",context:"standalone"});case"cccc":default:return n.day(w,{width:"wide",context:"standalone"})}},i:function(e,a,n){var m=e.getUTCDay(),w=m===0?7:m;switch(a){case"i":return String(w);case"ii":return nn(w,a.length);case"io":return n.ordinalNumber(w,{unit:"day"});case"iii":return n.day(m,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(m,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(m,{width:"short",context:"formatting"});case"iiii":default:return n.day(m,{width:"wide",context:"formatting"})}},a:function(e,a,n){var m=e.getUTCHours(),w=m/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(w,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(w,{width:"wide",context:"formatting"})}},b:function(e,a,n){var m=e.getUTCHours(),w;switch(m===12?w=w5.noon:m===0?w=w5.midnight:w=m/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(w,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(w,{width:"wide",context:"formatting"})}},B:function(e,a,n){var m=e.getUTCHours(),w;switch(m>=17?w=w5.evening:m>=12?w=w5.afternoon:m>=4?w=w5.morning:w=w5.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(w,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(w,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){var m=e.getUTCHours()%12;return m===0&&(m=12),n.ordinalNumber(m,{unit:"hour"})}return n5.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):n5.H(e,a)},K:function(e,a,n){var m=e.getUTCHours()%12;return a==="Ko"?n.ordinalNumber(m,{unit:"hour"}):nn(m,a.length)},k:function(e,a,n){var m=e.getUTCHours();return m===0&&(m=24),a==="ko"?n.ordinalNumber(m,{unit:"hour"}):nn(m,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):n5.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):n5.s(e,a)},S:function(e,a){return n5.S(e,a)},X:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();if(V===0)return"Z";switch(a){case"X":return ui(V);case"XXXX":case"XX":return v5(V);case"XXXXX":case"XXX":default:return v5(V,":")}},x:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();switch(a){case"x":return ui(V);case"xxxx":case"xx":return v5(V);case"xxxxx":case"xxx":default:return v5(V,":")}},O:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+ci(V,":");case"OOOO":default:return"GMT"+v5(V,":")}},z:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+ci(V,":");case"zzzz":default:return"GMT"+v5(V,":")}},t:function(e,a,n,m){var w=m._originalDate||e,V=Math.floor(w.getTime()/1e3);return nn(V,a.length)},T:function(e,a,n,m){var w=m._originalDate||e,V=w.getTime();return nn(V,a.length)}};function ci(t,e){var a=t>0?"-":"+",n=Math.abs(t),m=Math.floor(n/60),w=n%60;if(w===0)return a+String(m);var V=e||"";return a+String(m)+V+nn(w,2)}function ui(t,e){if(t%60===0){var a=t>0?"-":"+";return a+nn(Math.abs(t)/60,2)}return v5(t,e)}function v5(t,e){var a=e||"",n=t>0?"-":"+",m=Math.abs(t),w=nn(Math.floor(m/60),2),V=nn(m%60,2);return n+w+a+V}const Rp=$p;var pi=function(e,a){switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},js=function(e,a){switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Pp=function(e,a){var n=e.match(/(P+)(p+)?/)||[],m=n[1],w=n[2];if(!w)return pi(e,a);var V;switch(m){case"P":V=a.dateTime({width:"short"});break;case"PP":V=a.dateTime({width:"medium"});break;case"PPP":V=a.dateTime({width:"long"});break;case"PPPP":default:V=a.dateTime({width:"full"});break}return V.replace("{{date}}",pi(m,a)).replace("{{time}}",js(w,a))},Mp={p:js,P:Pp};const Np=Mp;var Bp=["D","DD"],Fp=["YY","YYYY"];function Vp(t){return Bp.indexOf(t)!==-1}function jp(t){return Fp.indexOf(t)!==-1}function fi(t,e,a){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var qp={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Hp=function(e,a,n){var m,w=qp[e];return typeof w=="string"?m=w:a===1?m=w.one:m=w.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+m:m+" ago":m};const zp=Hp;function Va(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=e.width?String(e.width):t.defaultWidth,n=t.formats[a]||t.formats[t.defaultWidth];return n}}var Wp={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Up={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kp={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Gp={date:Va({formats:Wp,defaultWidth:"full"}),time:Va({formats:Up,defaultWidth:"full"}),dateTime:Va({formats:Kp,defaultWidth:"full"})};const Yp=Gp;var Zp={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Xp=function(e,a,n,m){return Zp[e]};const Qp=Xp;function P5(t){return function(e,a){var n=a!=null&&a.context?String(a.context):"standalone",m;if(n==="formatting"&&t.formattingValues){var w=t.defaultFormattingWidth||t.defaultWidth,V=a!=null&&a.width?String(a.width):w;m=t.formattingValues[V]||t.formattingValues[w]}else{var le=t.defaultWidth,Ce=a!=null&&a.width?String(a.width):t.defaultWidth;m=t.values[Ce]||t.values[le]}var Ee=t.argumentCallback?t.argumentCallback(e):e;return m[Ee]}}var Jp={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ef={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},tf={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},nf={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},af={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},rf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},sf=function(e,a){var n=Number(e),m=n%100;if(m>20||m<10)switch(m%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},of={ordinalNumber:sf,era:P5({values:Jp,defaultWidth:"wide"}),quarter:P5({values:ef,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:P5({values:tf,defaultWidth:"wide"}),day:P5({values:nf,defaultWidth:"wide"}),dayPeriod:P5({values:af,defaultWidth:"wide",formattingValues:rf,defaultFormattingWidth:"wide"})};const lf=of;function M5(t){return function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.width,m=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],w=e.match(m);if(!w)return null;var V=w[0],le=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],Ce=Array.isArray(le)?cf(le,function(xe){return xe.test(V)}):df(le,function(xe){return xe.test(V)}),Ee;Ee=t.valueCallback?t.valueCallback(Ce):Ce,Ee=a.valueCallback?a.valueCallback(Ee):Ee;var Oe=e.slice(V.length);return{value:Ee,rest:Oe}}}function df(t,e){for(var a in t)if(t.hasOwnProperty(a)&&e(t[a]))return a}function cf(t,e){for(var a=0;a<t.length;a++)if(e(t[a]))return a}function uf(t){return function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var m=n[0],w=e.match(t.parsePattern);if(!w)return null;var V=t.valueCallback?t.valueCallback(w[0]):w[0];V=a.valueCallback?a.valueCallback(V):V;var le=e.slice(m.length);return{value:V,rest:le}}}var pf=/^(\d+)(th|st|nd|rd)?/i,ff=/\d+/i,hf={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},mf={any:[/^b/i,/^(a|c)/i]},vf={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gf={any:[/1/i,/2/i,/3/i,/4/i]},_f={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},yf={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},bf={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Cf={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Sf={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},wf={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Of={ordinalNumber:uf({matchPattern:pf,parsePattern:ff,valueCallback:function(e){return parseInt(e,10)}}),era:M5({matchPatterns:hf,defaultMatchWidth:"wide",parsePatterns:mf,defaultParseWidth:"any"}),quarter:M5({matchPatterns:vf,defaultMatchWidth:"wide",parsePatterns:gf,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:M5({matchPatterns:_f,defaultMatchWidth:"wide",parsePatterns:yf,defaultParseWidth:"any"}),day:M5({matchPatterns:bf,defaultMatchWidth:"wide",parsePatterns:Cf,defaultParseWidth:"any"}),dayPeriod:M5({matchPatterns:Sf,defaultMatchWidth:"any",parsePatterns:wf,defaultParseWidth:"any"})};const Ef=Of;var xf={code:"en-US",formatDistance:zp,formatLong:Yp,formatRelative:Qp,localize:lf,match:Ef,options:{weekStartsOn:0,firstWeekContainsDate:1}};const If=xf;var Tf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Af=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Df=/^'([^]*?)'?$/,Lf=/''/g,kf=/[a-zA-Z]/;function C5(t,e,a){var n,m,w,V,le,Ce,Ee,Oe,xe,Ft,Tt,qt,zt,It,Wt,Ht,Yt,ie;sn(2,arguments);var Ut=String(e),Bt=ta(),Kt=(n=(m=a==null?void 0:a.locale)!==null&&m!==void 0?m:Bt.locale)!==null&&n!==void 0?n:If,Jt=mn((w=(V=(le=(Ce=a==null?void 0:a.firstWeekContainsDate)!==null&&Ce!==void 0?Ce:a==null||(Ee=a.locale)===null||Ee===void 0||(Oe=Ee.options)===null||Oe===void 0?void 0:Oe.firstWeekContainsDate)!==null&&le!==void 0?le:Bt.firstWeekContainsDate)!==null&&V!==void 0?V:(xe=Bt.locale)===null||xe===void 0||(Ft=xe.options)===null||Ft===void 0?void 0:Ft.firstWeekContainsDate)!==null&&w!==void 0?w:1);if(!(Jt>=1&&Jt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var en=mn((Tt=(qt=(zt=(It=a==null?void 0:a.weekStartsOn)!==null&&It!==void 0?It:a==null||(Wt=a.locale)===null||Wt===void 0||(Ht=Wt.options)===null||Ht===void 0?void 0:Ht.weekStartsOn)!==null&&zt!==void 0?zt:Bt.weekStartsOn)!==null&&qt!==void 0?qt:(Yt=Bt.locale)===null||Yt===void 0||(ie=Yt.options)===null||ie===void 0?void 0:ie.weekStartsOn)!==null&&Tt!==void 0?Tt:0);if(!(en>=0&&en<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Kt.localize)throw new RangeError("locale must contain localize property");if(!Kt.formatLong)throw new RangeError("locale must contain formatLong property");var Xt=dn(t);if(!Sp(Xt))throw new RangeError("Invalid time value");var Gt=bp(Xt),Qt=wp(Xt,Gt),an={firstWeekContainsDate:Jt,weekStartsOn:en,locale:Kt,_originalDate:Xt},fn=Ut.match(Af).map(function(tn){var rn=tn[0];if(rn==="p"||rn==="P"){var on=Np[rn];return on(tn,Kt.formatLong)}return tn}).join("").match(Tf).map(function(tn){if(tn==="''")return"'";var rn=tn[0];if(rn==="'")return $f(tn);var on=Rp[rn];if(on)return!(a!=null&&a.useAdditionalWeekYearTokens)&&jp(tn)&&fi(tn,e,String(t)),!(a!=null&&a.useAdditionalDayOfYearTokens)&&Vp(tn)&&fi(tn,e,String(t)),on(Qt,tn,Kt.localize,an);if(rn.match(kf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+rn+"`");return tn}).join("");return fn}function $f(t){var e=t.match(Df);return e?e[1].replace(Lf,"'"):t}function Rf(t){sn(1,arguments);var e=dn(t),a=e.getDate();return a}function Pf(t){sn(1,arguments);var e=dn(t),a=e.getFullYear(),n=e.getMonth(),m=new Date(0);return m.setFullYear(a,n+1,0),m.setHours(0,0,0,0),m.getDate()}function ua(t){sn(1,arguments);var e=dn(t),a=e.getMonth();return a}function or(t){return sn(1,arguments),dn(t).getFullYear()}function Mf(t,e){sn(2,arguments);var a=dn(t),n=dn(e);return a.getTime()===n.getTime()}function Nf(t,e){sn(2,arguments);var a=dn(t),n=mn(e),m=a.getFullYear(),w=a.getDate(),V=new Date(0);V.setFullYear(m,n,15),V.setHours(0,0,0,0);var le=Pf(V);return a.setMonth(n,Math.min(w,le)),a}function Bf(t,e){if(sn(2,arguments),K5(e)!=="object"||e===null)throw new RangeError("values parameter must be an object");var a=dn(t);return isNaN(a.getTime())?new Date(NaN):(e.year!=null&&a.setFullYear(e.year),e.month!=null&&(a=Nf(a,e.month)),e.date!=null&&a.setDate(mn(e.date)),e.hours!=null&&a.setHours(mn(e.hours)),e.minutes!=null&&a.setMinutes(mn(e.minutes)),e.seconds!=null&&a.setSeconds(mn(e.seconds)),e.milliseconds!=null&&a.setMilliseconds(mn(e.milliseconds)),a)}function Ff(t,e){sn(2,arguments);var a=mn(e);return Bs(t,-a)}const qs=0,Hs="MMMM",lr=t=>t?new Date(t):new Date,Vf=(t,e,a)=>{const n=lr(JSON.parse(JSON.stringify(t))),m=[];for(let w=0;w<7;w++){const V=Ns(n,w),le=ua(V)!==e;m.push({text:V.getDate(),value:V,currentMonth:!le,isFirstDayOfMonth:V.getDate()===1&&!le,selected:a?V.getDate()===a&&!le:!1})}return m},jf=(t,e)=>!t||!e?!1:Mf(t,e),qf=(t,e,a)=>{const n=[],m=lr(new Date(e,t)),w=lr(new Date(e,t+1,0)),le=yp(m,{weekStartsOn:qs}),Ce=Ee=>{const Oe=Vf(Ee,t,a);if(n.push({days:Oe}),!n[n.length-1].days.some(xe=>jf(xe.value,w))){const xe=Ns(Ee,7);Ce(xe)}};return Ce(le),n},Hf=(t,e)=>{const a=[1,2,3,4,5,6,7].map(w=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${w}T00:00:00+00:00`)).slice(0,2)),n=a.slice(0,e),m=a.slice(e+1,a.length);return[a[e]].concat(...m).concat(...n)},zf=(t,e)=>C5(new Date(2e3,t,1),e),Wf={name:"DtDatepickerMonthYearPicker",components:{DtIcon:ln},props:{prevMonthLabel:{type:String,required:!0},nextMonthLabel:{type:String,required:!0},prevYearLabel:{type:String,required:!0},nextYearLabel:{type:String,required:!0},changeToLabel:{type:String,required:!0},selectedDate:{type:Date,required:!0}},emits:["calendar-days","focus-day","close-datepicker"],data(){return{selectMonth:ua(this.selectedDate),selectYear:or(this.selectedDate),highlightedDay:null,focusPicker:0,focusRefs:[]}},computed:{calendarDays(){return qf(this.selectMonth,this.selectYear,this.highlightedDay)},formattedMonth(){return(t,e)=>zf(t,e)},MONTH_FORMAT(){return Hs}},watch:{selectMonth:{handler(){this.highlightDay(),this.$emit("calendar-days",this.calendarDays)},immediate:!0},selectYear:{handler(){this.highlightDay(),this.$emit("calendar-days",this.calendarDays)},immediate:!0}},mounted(){this.focusMonthYearPicker()},methods:{setDayRef(t){this.focusRefs.includes(t)||this.focusRefs.push(t)},focusMonthYearPicker(){this.focusRefs[0].focus()},handleKeyDown(t){switch(t.key){case"ArrowLeft":t.preventDefault(),this.focusPicker===0?(this.focusPicker=3,this.focusRefs[this.focusPicker].focus()):(this.focusPicker--,this.focusRefs[this.focusPicker].focus());break;case"ArrowRight":t.preventDefault(),this.focusPicker===3?(this.focusPicker=0,this.focusRefs[this.focusPicker].focus()):(this.focusPicker++,this.focusRefs[this.focusPicker].focus());break;case"ArrowDown":t.preventDefault(),this.$emit("focus-day");break;case"Tab":this.$emit("focus-day");break;case"Escape":this.$emit("close-datepicker");break}},highlightDay(){const t=or(this.selectedDate),e=ua(this.selectedDate);t!==this.selectYear||e!==this.selectMonth?this.highlightedDay=null:this.highlightedDay=Rf(this.selectedDate)},changeMonth(t){const e=Bf(this.selectedDate,{month:this.selectMonth,year:this.selectYear}),a=++t?Bs(e,1):Ff(e,1);this.selectMonth=ua(a)},changeYear(t){this.selectYear=this.selectYear+t}}};var Uf=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-datepicker__month-year-picker"},[a("div",[a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"prevYearButton",type:"button","aria-label":`${e.changeToLabel} ${e.prevYearLabel} ${e.selectYear-1}`},on:{click:function(n){return e.changeYear(-1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevrons-left",size:"400"}})],1),a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"prevMonthButton",type:"button","aria-label":`${e.changeToLabel} ${e.prevMonthLabel} ${e.formattedMonth(e.selectMonth-1,e.MONTH_FORMAT)}`},on:{click:function(n){return e.changeMonth(-1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevron-left",size:"300"}})],1)]),a("div",[a("p",[e._v(" "+e._s(e.formattedMonth(e.selectMonth,e.MONTH_FORMAT))+" "+e._s(e.selectYear)+" ")])]),a("div",[a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"nextMonthButton",type:"button","aria-label":`${e.changeToLabel} ${e.nextMonthLabel} ${e.formattedMonth(e.selectMonth+1,e.MONTH_FORMAT)}`},on:{click:function(n){return e.changeMonth(1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevron-right",size:"300"}})],1),a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"nextYearButton",type:"button","aria-label":`${e.changeToLabel} ${e.nextYearLabel} ${e.selectYear+1}`},on:{click:function(n){return e.changeYear(1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevrons-right",size:"300"}})],1)])])},Kf=[],Gf=Ye.normalizeComponent(Wf,Uf,Kf,!1,null,null,null,null);const Yf=Gf.exports,Zf={name:"DtDatepickerCalendar",props:{calendarDays:{type:Array,required:!0},locale:{type:String,required:!0},selectDayLabel:{type:String,required:!0}},emits:["select-date","focus-month-year-picker","close-datepicker"],data(){return{selectedDay:null,focusDay:0,daysRef:[]}},computed:{weekDays(){return Hf(this.locale,qs)}},watch:{calendarDays(){this.focusDay=0,this.daysRef=[],this.selectedDay=null}},methods:{dayAriaLabel(t){return`${this.selectDayLabel} ${t.text} ${C5(t.value,Hs)} ${or(t.value)}`},setDayRef(t,e){!this.daysRef.includes(t)&&e&&this.daysRef.push(t)},handleKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),this.focusDay-=7;try{this.daysRef[this.focusDay].focus()}catch{this.$emit("focus-month-year-picker")}break;case"ArrowDown":t.preventDefault(),this.focusDay+=7;try{this.daysRef[this.focusDay].focus()}catch{this.$emit("focus-month-year-picker")}break;case"ArrowLeft":t.preventDefault(),this.focusDay>0&&(this.focusDay-=1,this.daysRef[this.focusDay].focus());break;case"ArrowRight":t.preventDefault(),this.focusDay<this.daysRef.length-1&&(this.focusDay+=1,this.daysRef[this.focusDay].focus());break;case"Tab":t.preventDefault(),this.$emit("focus-month-year-picker");break;case"Escape":this.$emit("close-datepicker");break}},focusFirstDay(){this.focusDay=0,this.daysRef[this.focusDay].focus()},selectDay(t){t.currentMonth&&(this.selectedDay=t.text,this.$emit("select-date",t.value))}}};var Xf=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-datepicker__calendar"},[a("div",{staticClass:"d-datepicker__week-day"},e._l(e.weekDays,function(n){return a("div",{key:n},[a("p",[e._v(" "+e._s(n)+" ")])])}),0),e._l(e.calendarDays,function(n,m){return a("div",{key:m,staticClass:"d-datepicker__week"},e._l(n.days,function(w,V){return a("button",{key:m+V,ref:le=>{le&&e.setDayRef(le,w.currentMonth)},refInFor:!0,staticClass:"d-datepicker__day",class:{"d-datepicker__day--disabled":!w.currentMonth,"d-datepicker__day--selected":e.selectedDay?w.text===e.selectedDay&&w.currentMonth:w.selected},attrs:{type:"button","aria-label":e.dayAriaLabel(w)},on:{click:function(le){return e.selectDay(w)},keydown:function(le){return e.handleKeyDown(le)}}},[e._v(" "+e._s(w.text)+" ")])}),0)})],2)},Qf=[],Jf=Ye.normalizeComponent(Zf,Xf,Qf,!1,null,null,null,null);const e1=Jf.exports,t1={name:"DtDatepicker",components:{MonthYearPicker:Yf,Calendar:e1},props:{prevMonthLabel:{type:String,required:!0},nextMonthLabel:{type:String,required:!0},prevYearLabel:{type:String,required:!0},nextYearLabel:{type:String,required:!0},selectDayLabel:{type:String,required:!0},changeToLabel:{type:String,required:!0},locale:{type:String,default:"en-US"},selectedDate:{type:Date,default:()=>new Date}},emits:["selected-date","close-datepicker"],data(){return{calendarDays:[]}},methods:{updateCalendarDays(t){this.calendarDays=t}}};var n1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-datepicker"},[a("div",{staticClass:"d-datepicker--header"},[a("month-year-picker",{ref:"monthYearPicker",attrs:{"prev-month-label":e.prevMonthLabel,"next-month-label":e.nextMonthLabel,"prev-year-label":e.prevYearLabel,"next-year-label":e.nextYearLabel,"change-to-label":e.changeToLabel,"selected-date":e.selectedDate},on:{"calendar-days":e.updateCalendarDays,"focus-day":function(n){return e.$refs.calendar.focusFirstDay()},"close-datepicker":function(n){return e.$emit("close-datepicker")}}})],1),a("div",{staticClass:"d-datepicker--body"},[a("calendar",{ref:"calendar",attrs:{locale:e.locale,"calendar-days":e.calendarDays,"select-day-label":e.selectDayLabel},on:{"select-date":function(n){return e.$emit("selected-date",n)},"focus-month-year-picker":function(n){return e.$refs.monthYearPicker.focusMonthYearPicker()},"close-datepicker":function(n){return e.$emit("close-datepicker")}}})],1)])},a1=[],r1=Ye.normalizeComponent(t1,n1,a1,!1,null,null,null,null);const i1=r1.exports;function s1(t){return C5(t,"EEEE, MMMM d, yyyy")}function o1(t){return C5(t,"MMMM d, yyyy")}function l1(t,e=!0){return C5(t,e?"EEE, MMM d, yyyy":"MMM d, yyyy")}function d1(t,e=!1){return C5(t,e?"MMM d":"MMMM d")}function c1(t){return C5(t,"MM/dd/yy")}const u1={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Ui,DtPopover:wa,ComboboxLoadingList:Hi,ComboboxEmptyList:zi},mixins:[Zn],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(Wi).includes(t)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return pn()}},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(V5).some(e=>e===t)},contentWidth:{type:String,default:null,validator:t=>Cr.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:""},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Sa.includes(t)||t instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:V5,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:pn()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(t){t!==null&&(this.isListShown=t)},immediate:!0},isListShown(t){t?window.addEventListener("mousedown",this.onFocusOut):window.removeEventListener("mousedown",this.onFocusOut),this.onOpened(t)}},methods:{handleDisplayList(t){!this.hasSuggestionList&&t&&this.showComboboxList(),!this.hasSuggestionList&&!t&&this.closeComboboxList()},showComboboxList(){this.showList==null&&(this.isListShown=!0)},closeComboboxList(){this.showList==null&&(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){var e;this.hasSuggestionList&&t&&((e=this.$refs.input)==null?void 0:e.querySelector("input"))===t.target&&this.showComboboxList()},onFocusOut(t){var n,m,w;const e=(m=(n=this.$refs.popover)==null?void 0:n.tip)==null?void 0:m.popper,a=this.$refs.input;(w=t.composedPath())!=null&&w.some(V=>[e,a].includes(V))||this.closeComboboxList()},openOnArrowKeyPress(){this.showList!==null||this.isListShown||!this.openWithArrowKeys||this.showComboboxList()}}};var p1=function(){var e=this,a=e._self._c;return a("dt-combobox",e._g({ref:"combobox",attrs:{loading:e.loading,label:e.label,"label-visible":e.labelVisible,size:e.size,description:e.description,"empty-list":e.emptyList,"empty-state-message":e.emptyStateMessage,"show-list":e.isListShown,"on-beginning-of-list":e.onBeginningOfList,"on-end-of-list":e.onEndOfList,"list-rendered-outside":!0,"list-id":e.listId,"data-qa":"dt-combobox"},scopedSlots:e._u([{key:"input",fn:function({inputProps:n}){return[a("div",{ref:"input",attrs:{id:e.externalAnchor},on:{focusin:e.onFocusIn,keydown:[function(m){return!m.type.indexOf("key")&&e._k(m.keyCode,"up",38,m.key,["Up","ArrowUp"])?null:e.openOnArrowKeyPress(m)},function(m){return!m.type.indexOf("key")&&e._k(m.keyCode,"down",40,m.key,["Down","ArrowDown"])?null:e.openOnArrowKeyPress(m)}]}},[e._t("input",null,{inputProps:n,onInput:e.handleDisplayList})],2)]}},{key:"list",fn:function({opened:n,listProps:m,clearHighlightIndex:w}){return[a("dt-popover",{ref:"popover",attrs:{open:e.isListShown,"hide-on-click":!1,"max-height":e.maxHeight,"max-width":e.maxWidth,offset:e.popoverOffset,sticky:e.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":e.externalAnchor,"content-width":e.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"append-to":e.appendTo,transition:e.transition,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose},on:{"update:open":function(V){e.isListShown=V},opened:function(V){return n(V,arguments[1])}},scopedSlots:e._u([{key:"headerContent",fn:function(){return[e.$slots.header?a("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"content",fn:function(){return[a("div",{ref:"listWrapper",class:[e.DROPDOWN_PADDING_CLASSES[e.padding],e.listClass],on:{mouseleave:w,focusout:w}},[e.loading?a("combobox-loading-list",e._b({},"combobox-loading-list",m,!1)):e.emptyList&&e.emptyStateMessage?a("combobox-empty-list",e._b({attrs:{message:e.emptyStateMessage}},"combobox-empty-list",m,!1)):e._t("list",null,{listProps:m})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[e.$slots.footer?a("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})]}}],null,!0)},e.comboboxListeners))},f1=[],h1=Ye.normalizeComponent(u1,p1,f1,!1,null,null,null,null);const zs=h1.exports,Ws={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},m1={xs:"xs",sm:"xs",md:"sm"},v1={xs:1.4,sm:.4,md:.2},g1={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:zs,DtInput:Ss,DtChip:Ir,DtValidationMessages:s5},mixins:[Zn],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>ea(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:"md",validator:t=>Object.values(Ws).includes(t)},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Sa.includes(t)||t instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null,originalInputSize:null,CHIP_SIZES:m1}},computed:{inputPlaceHolder(){var t;return((t=this.selectedItems)==null?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:{async handler(){this.initSelectedItems()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()},size:{async handler(){await this.$nextTick();const t=this.getInput();this.revertInputPadding(t),this.originalInputSize=t.getBoundingClientRect().height,this.setInputPadding(),this.setChipsTopPosition()}}},mounted(){this.resizeWindowObserver=new ResizeObserver(async()=>{this.setChipsTopPosition(),this.setInputPadding()}),this.resizeWindowObserver.observe(document.body),this.initSelectedItems()},beforeDestroy(){var t;(t=this.resizeWindowObserver)==null||t.unobserve(document.body)},methods:{async initSelectedItems(){await this.$nextTick(),this.setInputPadding(),this.setChipsTopPosition(),this.setInputMinWidth(),this.checkMaxSelected()},onChipRemove(t){var e;this.$emit("remove",t),(e=this.$refs.input)==null||e.focus()},onComboboxSelect(t){this.value="",this.$emit("select",t)},showComboboxList(){var t;this.showList==null&&((t=this.$refs.comboboxWithPopover)==null||t.showComboboxList())},closeComboboxList(){var t;this.showList==null&&((t=this.$refs.comboboxWithPopover)==null||t.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(t=this.$refs.input)==null?void 0:t.$refs.input},onChipKeyup(t){var a;const e=(a=t.code)==null?void 0:a.toLowerCase();e==="arrowleft"?this.navigateBetweenChips(t.target,!0):e==="arrowright"&&(t.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(t.target,!1))},onInputKeyup(t){var a;const e=(a=t.code)==null?void 0:a.toLowerCase();this.selectedItems.length>0&&t.target.selectionStart===0&&(e==="backspace"||e==="arrowleft")&&this.moveFromInputToChip()},moveFromInputToChip(){var t;this.getLastChipButton().focus(),(t=this.$refs.input)==null||t.blur(),this.closeComboboxList()},moveFromChipToInput(){var t;this.getLastChipButton().blur(),(t=this.$refs.input)==null||t.focus(),this.showComboboxList()},navigateBetweenChips(t,e){var m;const a=this.getChipButtons().indexOf(t),n=e?a-1:a+1;n<0||n>=((m=this.$refs.chips)==null?void 0:m.length)||(this.getChipButtons()[a].blur(),this.getChipButtons()[n].focus(),this.closeComboboxList())},setChipsTopPosition(){const t=this.getInput();if(!t)return;const e=this.$refs.inputSlotWrapper,a=t.getBoundingClientRect().top-e.getBoundingClientRect().top,n=this.$refs.chipsWrapper;n.style.top=a-v1[this.size]+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput(),a=this.$refs.chipsWrapper;if(!e||(this.revertInputPadding(e),this.popoverOffset=[0,4],!t))return;const n=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=n+"px";const m=a.getBoundingClientRect().height-4,w=t.offsetTop+2;m>this.originalInputSize&&(e.style.paddingTop=`${w}px`)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},setInputMinWidth(){const t=this.getFirstChip(),e=this.getInput();e&&(t?e.style.minWidth=this.getFullWidth(t)+4+"px":e.style.minWidth="")},checkMaxSelected(){this.maxSelected!==0&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}};var _1=function(){var e=this,a=e._self._c;return a("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:e.label,"show-list":e.showList,"max-height":e.listMaxHeight,"popover-offset":e.popoverOffset,"has-suggestion-list":e.hasSuggestionList,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose,"content-width":"anchor","append-to":e.appendTo,transition:e.transition},on:{select:e.onComboboxSelect},scopedSlots:e._u([{key:"input",fn:function({onInput:n}){return[a("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative d-d-block"},[a("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2 d-pl1"},e._l(e.selectedItems,function(m){return a("dt-chip",e._g({key:m.id,ref:"chips",refInFor:!0,class:["d-mt4","d-mx2","d-zi-base1"],attrs:{"label-class":["d-chip__label"],"close-button-props":{ariaLabel:"close"},size:e.CHIP_SIZES[e.size]},on:{keyup:function(w){return!w.type.indexOf("key")&&e._k(w.keyCode,"backspace",void 0,w.key,void 0)?null:e.onChipRemove(m)},close:function(w){return e.onChipRemove(m)}}},e.chipListeners),[e._v(" "+e._s(m)+" ")])}),1),a("dt-input",e._g({ref:"input",staticClass:"d-fl-grow1",attrs:{"aria-label":e.label,label:e.labelVisible?e.label:"",description:e.description,placeholder:e.inputPlaceHolder,"show-messages":e.showInputMessages,messages:e.inputMessages,size:e.size},on:{input:n},model:{value:e.value,callback:function(m){e.value=m},expression:"value"}},e.inputListeners)),a("dt-validation-messages",{attrs:{"validation-messages":e.maxSelectedMessage,"show-messages":e.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[e.$slots.header?a("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"list",fn:function(){return[a("div",{ref:"list",on:{mousedown:function(n){n.preventDefault()}}},[e.loading?a("div",{staticClass:"d-ta-center d-py16"},[e._v(" "+e._s(e.loadingMessage)+" ")]):e._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[e.$slots.footer?a("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})},y1=[],b1=Ye.normalizeComponent(g1,_1,y1,!1,null,null,null,null);const C1=b1.exports,Dr=["sm","md","lg","xl"];const S1={name:"DtRecipeCallbarButton",components:{DtButton:vn,DtTooltip:Ea},inheritAttrs:!0,props:{id:{type:String,default(){return Nn.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:t=>t||globalThis.$slots.default},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:t=>Dr.includes(t)},importance:{type:String,default:""}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"dt-recipe-callbar-button","d-px0",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger,"d-btn--disabled d-bgc-transparent":this.disabled,"d-fc-primary":!this.disabled}]},callbarButtonTextClass(){return["d-fs-100 lg:d-d-none md:d-d-none sm:d-d-none",this.textClass]},buttonWidth(){switch(this.buttonWidthSize){case"sm":return"4.5rem";case"md":return"6rem";default:return"8.4rem"}},buttonImportance(){return this.importance?this.importance:this.circle?"outlined":"clear"}}};var w1=function(){var e=this,a=e._self._c;return a("dt-tooltip",{attrs:{id:e.id,offset:[0,8]},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("span",{class:{"d-c-not-allowed":e.disabled}},[a("dt-button",e._g({class:e.callbarButtonClass,attrs:{importance:e.buttonImportance,kind:"muted","icon-position":"top","aria-disabled":e.disabled,"aria-label":e.ariaLabel,"label-class":e.callbarButtonTextClass,width:e.buttonWidth}},e.$listeners),[e._t("default"),e._t("icon",null,{slot:"icon"})],2)],1)]},proxy:!0}],null,!0)},[e._t("tooltip")],2)},O1=[],E1=Ye.normalizeComponent(S1,w1,O1,!1,null,null,null,null);const Us=E1.exports;const x1={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:Us,DtPopover:wa,DtButton:vn,DtIcon:ln},inheritAttrs:!1,props:{id:{type:String,default(){return Nn.getUniqueString()}},ariaLabel:{type:String,default:null,validator:t=>t||globalThis.$slots.default},arrowButtonLabel:{type:String,required:!0,validator:t=>!!t},placement:{type:String,default:"top"},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:t=>Dr.includes(t)},contentClass:{type:[String,Array,Object],default:""},openPopover:{type:Boolean,default:!1}},emits:["arrowClick","click","opened"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"},showPopover(){return!this.openPopover||this.open?!1:this.arrowClick()}},methods:{arrowClick(t){return this.$emit("arrowClick",t),this.open=!this.open},buttonClick(t){this.$listeners.click?this.$emit("click",t):this.arrowClick(t)},onModalIsOpened(t){this.open=t,this.$emit("opened",t)}}};var I1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-d-flex d-ai-center"},[a("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":e.ariaLabel,disabled:e.disabled,active:e.active,danger:e.danger,"button-class":e.buttonClass,"button-width-size":e.buttonWidthSize,"text-class":e.textClass},on:{click:e.buttonClick}},[e._t("icon",null,{slot:"icon"}),e._t("tooltip",null,{slot:"tooltip"}),e._t("default")],2),e.showArrowButton?a("dt-popover",e._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:e.id,open:e.open,placement:e.placement,"initial-focus-element":e.initialFocusElement,"show-close-button":e.showCloseButton,offset:[0,16],padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",e.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12","open-popover":e.showPopover},on:{opened:e.onModalIsOpened},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-button",{class:["dt-recipe--callbar-button-with-popover--arrow",{"d-mln24":!e.isCompactMode}],attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":e.arrowButtonLabel,active:e.open},on:{click:e.arrowClick},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{staticClass:"d-fc-black-800",attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,1368564783)})]},proxy:!0}],null,!1,1466460799)},"dt-popover",e.$attrs,!1),[e._t("content",null,{slot:"content"}),e._t("headerContent",null,{slot:"headerContent"}),e._t("footerContent",null,{slot:"footerContent"})],2):e._e()],1)},T1=[],A1=Ye.normalizeComponent(x1,I1,T1,!1,null,null,null,null);const D1=A1.exports;const L1={name:"DtRecipeContactInfo",components:{DtAvatar:_a,DtListItem:Z5},props:{id:{type:String,default(){return Nn.getUniqueString()}},role:{type:String,default:""},showAvatar:{type:Boolean,default:!0},avatarSrc:{type:String,default:""},avatarSeed:{type:String,default:null},avatarFullName:{type:String,default:""},avatarIcon:{type:String,default:null},avatarSize:{type:String,default:"lg"},presence:{type:String,default:null},avatarList:{type:Array,default:null}}};var k1=function(){var e=this,a=e._self._c;return a("dt-list-item",{staticClass:"dt-contact-info",attrs:{id:e.id,role:e.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:e._u([{key:"left",fn:function(){return[e.showAvatar?a("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[e.avatarList?a("div",{staticClass:"d-mrn4 d-d-flex d-fd-row"},e._l(e.avatarList,function(n,m){return a("div",{key:m},[a("dt-avatar",{attrs:{size:e.avatarSize,seed:n.seed,"full-name":n.fullName,"image-src":n.src,"icon-name":e.avatarIcon,"overlay-icon":n.icon,"overlay-text":n.text,"avatar-class":[{"d-mln24":m>0,"d-bc-brand":!!n.halo}]}})],1)}),0):a("dt-avatar",{attrs:{size:e.avatarSize,"full-name":e.avatarFullName,"image-src":e.avatarSrc,"icon-name":e.avatarIcon,seed:e.avatarSeed,presence:e.presence}})],1):e._e()]},proxy:!0},{key:"default",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-header"}},[e._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-subtitle"}},[e._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-bottom"}},[e._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-right"}},[e._t("right")],2)]},proxy:!0}],null,!0)})},$1=[],R1=Ye.normalizeComponent(L1,k1,$1,!1,null,"79689993",null,null);const P1=R1.exports,Ks=["green300","green100","red200","red100","gold100","gold200","black100","white"];const M1={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return Ks.includes(t)}}},computed:{bannerInfoClass(){return[{green300:"d-bgc-success",green100:"d-bgc-success",red200:"d-bgc-critical",red100:"d-bgc-critical",gold200:"d-bgc-warning",gold100:"d-bgc-warning",black100:"d-bgc-info",white:"d-bgc-primary"}[this.colorCode]]}}};var N1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-fs-100 d-d-flex d-top-banner-info d-jc-space-between d-ai-center d-fc-primary",class:e.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[a("div",{staticClass:"d-top-banner-info__left"},[e._t("left")],2),a("div",{staticClass:"d-top-banner-info__middle d-my4"},[e._t("default")],2),a("div",{staticClass:"d-top-banner-info__right d-ta-right"},[e._t("right")],2)])},B1=[],F1=Ye.normalizeComponent(M1,N1,B1,!1,null,null,null,null);const V1=F1.exports,xa="promptmenu",Ia="promptcollect",Ta="promptplay",Aa="gotoexpert",na="goto",Da="branch",La="transfer",ka="hangup",Gs={[xa]:"keypad",[Ia]:"dialer",[Ta]:"volume-2",[Aa]:"expert-node",[Da]:"branch",[na]:"call-merge",[La]:"transfer",[ka]:"phone-hang-up"},j1={[xa]:"Menu",[Ia]:"Collect",[Ta]:"Play",[Aa]:"Expert",[Da]:"Branch",[na]:"Go-to",[La]:"Transfer",[ka]:"Hangup"},a5={PROMPT:{normal:"d-bc-blue-200",selected:"d-bc-blue-300"},LOGIC:{normal:"d-bc-purple-200",selected:"d-bc-purple-400"},TERMINAL:{normal:"d-bc-red-100",selected:"d-bc-red-200"}},q1={[xa]:a5.PROMPT,[Ia]:a5.PROMPT,[Ta]:a5.PROMPT,[Aa]:a5.LOGIC,[Da]:a5.LOGIC,[na]:a5.LOGIC,[La]:a5.TERMINAL,[ka]:a5.TERMINAL};const H1={name:"DtRecipeIvrNode",components:{DtCard:qi,DtButton:vn,DtDropdown:Cs,DtIcon:ln},props:{nodeType:{type:String,required:!0},nodeLabel:{type:String,required:!0},isSelected:{type:Boolean,default:!1},menuButtonAriaLabel:{type:String,required:!0},dtmfKey:{type:String,default:null}},emits:["click"],data(){return{isOpen:!1}},computed:{nodeIcon(){return Gs[this.nodeType]},headerColor(){const{normal:t,selected:e}=q1[this.nodeType];return this.isSelected?e:t},isGotoNode(){return this.nodeType===na}},methods:{openMenu(){this.isOpen=!0}}};var z1=function(){var e=this,a=e._self._c;return a("div",e._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},e.$listeners),[e.dtmfKey?a("div",{staticClass:"ivr-connector d-w24 d-h24 d-bar-circle d-mbn12 d-fc-neutral-white d-fs-200",class:{"d-mbn16":e.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[e._v(" "+e._s(e.dtmfKey)+" ")]):e._e(),e.$slots.connector?e._t("connector"):e._e(),!e.dtmfKey&&!e.$slots.connector?a("div",{staticClass:"ivr-connector d-w8 d-h8 d-bar-circle d-mbn4",class:{"d-mbn8":e.isSelected},attrs:{"data-qa":"dt-top-connector"}}):e._e(),a("dt-card",{attrs:{"content-class":"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12","container-class":["d-w100p",{"d-ba d-bar8 d-baw4":e.isSelected},e.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",e.headerColor,{"d-btr4":!e.isSelected}]},scopedSlots:e._u([{key:"header",fn:function(){return[a("div",{staticClass:"d-d-flex d-ai-center"},[a("dt-button",{attrs:{"aria-label":e.nodeType,importance:"clear",kind:"muted","data-qa":"dt-ivr-node-icon"},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{class:["",{ivr_node__goto_icon:e.isGotoNode}],attrs:{name:e.nodeIcon,size:"200"}})]},proxy:!0}])}),a("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[e._v(" "+e._s(e.nodeLabel)+" ")])],1),a("dt-dropdown",{attrs:{placement:"bottom",open:e.isOpen},on:{"update:open":function(n){e.isOpen=n}},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-button",{attrs:{importance:"clear",kind:"muted","aria-label":e.menuButtonAriaLabel},on:{click:function(n){return n.stopPropagation(),n.preventDefault(),e.openMenu.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function({close:n}){return[a("div",{staticClass:"d-w164"},[e._t("menuItems",null,{close:n})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[e._t("content")]},proxy:!0}],null,!0)})],2)},W1=[],U1=Ye.normalizeComponent(H1,z1,W1,!1,null,null,null,null);const K1=U1.exports;const G1={name:"DtRecipeGroupedChip",components:{DtChip:Ir},computed:{}};var Y1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-d-inline-flex d-ws-nowrap d-bgc-unset",attrs:{"data-qa":"grouped-chip"}},[a("dt-chip",{staticClass:"d-blr-pill d-bgc-moderate-opaque d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([e.$slots.leftIcon?{key:"icon",fn:function(){return[e.$slots.leftIcon?a("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[e._t("leftIcon")],2):e._e()]},proxy:!0}:null,{key:"default",fn:function(){return[e.$slots.leftContent?a("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[e._t("leftContent")],2):e._e()]},proxy:!0}],null,!0)}),a("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([{key:"icon",fn:function(){return[e.$slots.rightIcon?a("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[e._t("rightIcon")],2):e._e()]},proxy:!0},{key:"default",fn:function(){return[e.$slots.rightContent?a("div",{attrs:{"data-qa":"right-grouped-chip-content"}},[e._t("rightContent")],2):e._e()]},proxy:!0}],null,!0)})],1)},Z1=[],X1=Ye.normalizeComponent(G1,Y1,Z1,!1,null,null,null,null);const Q1=X1.exports;const J1={name:"DtRecipeSettingsMenuButton",components:{DtButton:vn,DtIcon:ln},props:{updateAvailable:{type:Boolean,default:!1},ariaLabel:{type:String,required:!0}},emits:["click"]};var eh=function(){var e=this,a=e._self._c;return e.updateAvailable?a("dt-button",e._g({staticClass:"settings-menu-button-update",attrs:{importance:"outlined",size:"xs","icon-position":"right","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}],null,!1,3418040308)},e.$listeners),[e._t("default")],2):a("dt-button",e._g({staticClass:"settings-menu-button",attrs:{importance:"clear",kind:"inverted","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}])},e.$listeners))},th=[],nh=Ye.normalizeComponent(J1,eh,th,!1,null,"4ee1371d",null,null);const ah=nh.exports,un={INBOX:"inbox",CONTACTS:"contacts",CHANNELS:"channels",THREADS:"threads",LOCKED_CHANNEL:"locked channel",CONTACT_CENTER:"contact center",QUICK_START:"quick start",COACHING_GROUP:"coaching group",COACHING_CENTER:"coaching center",DIALBOT:"dialbot",ASSIGNED:"assigned",DIGITAL:"digital"},Ys={[un.INBOX]:"inbox",[un.CONTACTS]:"contacts",[un.CHANNELS]:"hash",[un.THREADS]:"thread",[un.LOCKED_CHANNEL]:"lock",[un.QUICK_START]:"sparkle",[un.COACHING_GROUP]:"users",[un.COACHING_CENTER]:"external-link","locked channel unread":"lock-filled","channel unread":"hash-bold",[un.ASSIGNED]:"at-sign",[un.DIGITAL]:"message"},G5={"magenta-200":"d-bgc-magenta-200","green-200":"d-bgc-green-200","gold-300":"d-bgc-gold-300","purple-600":"d-bgc-purple-600","magenta-300":"d-bgc-magenta-300","purple-300":"d-bgc-purple-300","green-500":"d-bgc-green-500","purple-100":"d-bgc-purple-100","magenta-400":"d-bgc-magenta-400","magenta-100":"d-bgc-magenta-100"},Zs="If type is contact center, color must be oneof the following:"+Object.keys(G5).join(", "),Xs=["300","200"],rh={};var ih=function(){var e=this,a=e._self._c;return a("svg",{staticClass:"d-svg d-svg--native d-svg__dialbot",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Dialbot",width:"358",height:"358",viewBox:"0 0 358 358",fill:"none"}},[a("circle",{attrs:{cx:"179",cy:"179",r:"179",fill:"url(#paint0_linear_4_44)"}}),a("path",{attrs:{d:"M179 268.5v-11.933V268.5Zm86.517 0v11.933h19.308l-8.635-17.27-10.673 5.337Zm-16.73-33.459-9.3-7.478-4.797 5.967 3.424 6.848 10.673-5.337ZM179 101.433c42.839 0 77.567 34.728 77.567 77.567h23.866c0-56.02-45.413-101.433-101.433-101.433v23.866ZM101.433 179c0-42.839 34.728-77.567 77.567-77.567V77.567C122.98 77.567 77.567 122.98 77.567 179h23.866ZM179 256.567c-42.839 0-77.567-34.728-77.567-77.567H77.567c0 56.02 45.413 101.433 101.433 101.433v-23.866Zm86.517 0H179v23.866h86.517v-23.866Zm-27.403-16.189 16.729 33.459 21.347-10.674-16.729-33.459-21.347 10.674ZM256.567 179c0 18.396-6.39 35.268-17.08 48.563l18.6 14.955c13.975-17.38 22.346-39.488 22.346-63.518h-23.866Z",fill:"white"}}),a("path",{attrs:{d:"M226.733 202.867c-6.527 5.701-13.942 10.11-22.243 13.226-8.302 3.116-16.781 4.674-25.437 4.674-8.727 0-17.241-1.558-25.543-4.674-8.301-3.116-15.716-7.525-22.243-13.226v-11.934c4.399 2.652 9.365 4.939 14.9 6.862a112.163 112.163 0 0 0 16.815 4.674c5.748 1.127 11.105 1.69 16.071 1.69 5.038 0 10.395-.563 16.071-1.69a112.209 112.209 0 0 0 16.816-4.674c5.534-1.923 10.465-4.21 14.793-6.862v11.934Z",fill:"white"}}),a("defs",[a("linearGradient",{attrs:{id:"paint0_linear_4_44",x1:"0",y1:"0",x2:"358",y2:"358",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#7C52FF"}}),a("stop",{attrs:{offset:"1","stop-color":"#F9008E"}})],1)],1)])},sh=[],oh=Ye.normalizeComponent(rh,ih,sh,!1,null,null,null,null);const lh=oh.exports,dh={name:"DtRecipeLeftbarGeneralRowIcon",components:{DtIcon:ln,IconDialbot:lh},props:{type:{type:String,default:null},color:{type:String,default:null},iconSize:{type:String,default:"300"}},computed:{isIconType(){return![un.DIALBOT,un.CONTACT_CENTER].includes(this.type)},isContactCenterType(){return this.type===un.CONTACT_CENTER},isDialbotType(){return this.type===un.DIALBOT},getIconName(){return Ys[this.type]},contactCenterIconClasses(){return["dt-leftbar-row__icon-cc",G5[this.color]]},dialbotClasses(){return["d-w24","d-h24","d-d-flex","d-ai-center","d-jc-center"]}}};var ch=function(){var e=this,a=e._self._c;return e.isIconType?a("dt-icon",{attrs:{name:e.getIconName,size:e.iconSize}}):e.isContactCenterType?a("div",{class:e.contactCenterIconClasses}):e.isDialbotType?a("div",{class:e.dialbotClasses,attrs:{"data-qa":"general-row-dialbot"}},[a("icon-dialbot",{staticClass:"d-svg--size24"})],1):e._e()},uh=[],ph=Ye.normalizeComponent(dh,ch,uh,!1,null,null,null,null);const fh=ph.exports;const hh={name:"DtRecipeGeneralRow",components:{DtEmojiTextWrapper:Ye.DtEmojiTextWrapper,DtBadge:$i,DtIcon:ln,DtButton:vn,DtTooltip:Ea,DtRecipeLeftbarGeneralRowIcon:fh},inheritAttrs:!1,props:{type:{type:String,default:"inbox",validator:t=>Object.values(un).includes(t)},ariaLabel:{type:String,default:""},description:{type:String,required:!0},color:{type:String,default:null,validator:t=>Object.keys(G5).includes(t)},hasUnreads:{type:Boolean,default:!1},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:""},selected:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},activeVoiceChat:{type:Boolean,default:!1},dndText:{type:String,default:""},dndTextTooltip:{type:String,default:""},hasCallButton:{type:Boolean,default:!1},callButtonTooltip:{type:String,default:""},isTyping:{type:Boolean,default:!1},iconSize:{type:String,default:"300",validator:t=>Xs.includes(t)}},emits:["click","call"],data(){return{actionFocused:!1,labelWidth:"100%"}},computed:{leftbarGeneralRowClasses(){return["dt-leftbar-row",{"dt-leftbar-row--no-action":!this.hasCallButton,"dt-leftbar-row--has-unread":this.hasUnreads,"dt-leftbar-row--unread-count":this.showUnreadCount,"dt-leftbar-row--selected":this.selected,"dt-leftbar-row--muted":this.muted,"dt-leftbar-row--action-focused":this.actionFocused}]},getIcon(){switch(this.type){case un.CHANNELS:if(this.hasUnreads)return"channel unread";break;case un.LOCKED_CHANNEL:if(this.hasUnreads)return"locked channel unread";break}return this.type},getAriaLabel(){return this.ariaLabel?this.ariaLabel:ga([this.description,this.unreadCountTooltip,this.dndTextTooltip])},hasActions(){return this.dndText||this.activeVoiceChat||this.showUnreadCount||this.hasCallButton},showUnreadCount(){return!!this.unreadCount&&this.hasUnreads}},watch:{$props:{immediate:!0,deep:!0,async handler(){this.validateProps(),await this.$nextTick(),this.adjustLabelWidth()}}},mounted(){this.resizeObserver=new ResizeObserver(this.adjustLabelWidth),this.resizeObserver.observe(this.$el),this.adjustLabelWidth()},beforeDestroy:function(){this.resizeObserver.disconnect()},methods:{validateProps(){this.type===un.CONTACT_CENTER&&!Object.keys(G5).includes(this.color)&&console.error(Zs)},adjustLabelWidth(){var m,w,V,le,Ce,Ee;const t=((w=(m=this.$el)==null?void 0:m.querySelector(".dt-leftbar-row__primary"))==null?void 0:w.clientWidth)||0,e=((le=(V=this.$el)==null?void 0:V.querySelector(".dt-leftbar-row__omega"))==null?void 0:le.clientWidth)||0,a=((Ee=(Ce=this.$el)==null?void 0:Ce.querySelector(".dt-leftbar-row__alpha"))==null?void 0:Ee.clientWidth)||0,n=16;this.labelWidth=t-(e+a+n)+"px"}}};var mh=function(){var e=this,a=e._self._c;return a("div",{class:e.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[a("a",e._g(e._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"data-qa"in e.$attrs?e.$attrs["data-qa"]:"dt-leftbar-row-link","aria-label":e.getAriaLabel,title:e.description,href:"href"in e.$attrs?e.$attrs.href:"javascript:void(0)"}},"a",e.$attrs,!1),e.$listeners),[a("div",{staticClass:"dt-leftbar-row__alpha"},[e.isTyping?a("div",{staticClass:"dt-leftbar-row__is-typing"},[a("span"),a("span"),a("span")]):e._t("left",function(){return[a("dt-recipe-leftbar-general-row-icon",{attrs:{type:e.getIcon,color:e.color,"icon-size":e.iconSize,"data-qa":"dt-leftbar-row-icon"}})]})],2),a("div",{staticClass:"dt-leftbar-row__label",style:`flex-basis: ${e.labelWidth}`},[e._t("label",function(){return[a("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.description)+" ")])]})],2)]),e.hasActions?a("div",{staticClass:"dt-leftbar-row__omega"},[e.dndText?a("dt-tooltip",{attrs:{placement:"top",message:e.dndTextTooltip},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("div",{ref:"dt-leftbar-row-dnd",staticClass:"dt-leftbar-row__dnd",attrs:{"data-qa":"dt-leftbar-row-dnd"}},[e._v(" "+e._s(e.dndText)+" ")])]},proxy:!0}],null,!1,490758222)}):e._e(),e.activeVoiceChat?a("div",{staticClass:"dt-leftbar-row__active-voice"},[a("dt-icon",{attrs:{size:"300",name:"activity"}})],1):e.showUnreadCount?a("dt-tooltip",{attrs:{message:e.unreadCountTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-badge",{staticClass:"dt-leftbar-row__unread-badge",attrs:{kind:"count",type:"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[e._v(" "+e._s(e.unreadCount)+" ")])]},proxy:!0}],null,!1,462525554)}):e._e(),e.hasCallButton?a("div",{staticClass:"dt-leftbar-row__action",attrs:{"data-qa":"dt-leftbar-row-action"}},[a("dt-tooltip",{attrs:{message:e.callButtonTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-button",{staticClass:"dt-leftbar-row__action-button",attrs:{"data-qa":"dt-leftbar-row-action-call-button",circle:!0,size:"xs",kind:"inverted","aria-label":e.callButtonTooltip},on:{focus:function(n){e.actionFocused=!0},blur:function(n){e.actionFocused=!1},click:function(n){return n.stopPropagation(),e.$emit("call",n)}},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"phone",size:"200"}})]},proxy:!0}],null,!1,990728611)})]},proxy:!0}],null,!1,4239858356)})],1):e._e()],1):e._e()])},vh=[],gh=Ye.normalizeComponent(hh,mh,vh,!1,null,"be4d0e3f",null,null);const Lr=gh.exports,_h={name:"DtRecipeGroupRow",components:{DtIcon:ln,DtRecipeGeneralRow:Lr},inheritAttrs:!1,props:{groupCountText:{type:String,default:""},names:{type:String,required:!0},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1}},emits:["click"],computed:{ariaLabel(){return ga([this.groupCountText,this.names])}}};var yh=function(){var e=this,a=e._self._c;return a("dt-recipe-general-row",e._g(e._b({attrs:{description:e.names,"aria-label":e.ariaLabel,"unread-count":e.unreadCount,"has-unreads":e.hasUnreads,"unread-count-tooltip":e.unreadCountTooltip,selected:e.selected,"is-typing":e.isTyping},scopedSlots:e._u([{key:"left",fn:function(){return[a("dt-icon",{attrs:{name:"users",size:"300"}})]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},bh=[],Ch=Ye.normalizeComponent(_h,yh,bh,!1,null,null,null,null);const Sh=Ch.exports,wh={name:"DtRecipeGroupRow",components:{DtAvatar:_a,DtRecipeGeneralRow:Lr,DtEmojiTextWrapper:Ye.DtEmojiTextWrapper},inheritAttrs:!1,props:{avatarSrc:{type:String,default:""},avatarAlt:{type:String,default:""},avatarPresence:{type:String,default:null},avatarSeed:{type:String,default:null},presenceText:{type:String,default:""},name:{type:String,required:!0},userStatus:{type:String,default:""},muted:{type:Boolean,default:!1},unreadCount:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},noInitials:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1},hasCallButton:{type:Boolean,default:!0},callButtonTooltip:{type:String,default:""},unreadCountTooltip:{type:String,default:""}},emits:["click","call"],computed:{presenceColorClass(){switch(this.avatarPresence){case"active":return"d-fc-success";case"busy":return"d-fc-critical";case"away":return"d-fc-warning";default:return}},contactDescription(){return ga([this.name,this.presenceText,this.userStatus])},iconName(){return this.noInitials?"user":null}}};var Oh=function(){var e=this,a=e._self._c;return a("dt-recipe-general-row",e._g(e._b({attrs:{"unread-count":e.unreadCount,description:e.contactDescription,"has-unreads":e.hasUnreads,selected:e.selected,"has-call-button":e.hasCallButton,muted:e.muted,"is-typing":e.isTyping,"call-button-tooltip":e.callButtonTooltip,"unread-count-tooltip":e.unreadCountTooltip},scopedSlots:e._u([{key:"left",fn:function(){return[a("dt-avatar",{attrs:{"full-name":e.name,"image-src":e.avatarSrc,"image-alt":e.avatarAlt,"icon-name":e.iconName,"icon-size":"200",size:"sm",seed:e.avatarSeed,presence:e.avatarPresence}})]},proxy:!0},{key:"label",fn:function(){return[a("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.name)+" ")]),a("div",{staticClass:"dt-leftbar-row__status"},[e.presenceText?a("span",{class:["dt-leftbar-row__meta-context",e.presenceColorClass],attrs:{"data-qa":"dt-leftbar-row-presence-text"}},[e._v(" "+e._s(e.presenceText)+" ")]):e._e(),e.userStatus?a("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__meta-custom",attrs:{size:"100","element-type":"span","data-qa":"dt-leftbar-row-user-status"}},[e._v(" "+e._s(e.userStatus)+" ")]):e._e()],1)]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},Eh=[],xh=Ye.normalizeComponent(wh,Oh,Eh,!1,null,null,null,null);const Ih=xh.exports,Qs=["up","down"],Js=["mentions","messages"];const Th={name:"DtRecipeUnreadPill",components:{DtIcon:ln},props:{kind:{type:String,required:!0,validator:t=>Js.includes(t)},direction:{type:String,required:!0,validator:t=>Qs.includes(t)}},emits:["click"]};var Ah=function(){var e=this,a=e._self._c;return a("button",e._g({class:["dt-leftbar-unread-pill",`dt-leftbar-unread-pill--${e.kind}`],attrs:{type:"button","data-qa":"dt-leftbar-unread-pill"}},e.$listeners),[a("dt-icon",{attrs:{name:`arrow-${e.direction}`,size:"300"}}),a("span",{attrs:{"data-qa":"dt-leftbar-unread-pill__label"}},[e._t("default")],2)],1)},Dh=[],Lh=Ye.normalizeComponent(Th,Ah,Dh,!1,null,null,null,null);const kh=Lh.exports,ja={NORMAL:"",SEARCHED:"d-bgc-warning-subtle",ERROR:"d-bgc-critical-subtle"},qa="NORMAL";const $h={name:"DtRecipeFeedItemRow",components:{DtAvatar:_a,DtLazyShow:$5,DtListItem:Z5},inheritAttrs:!1,props:{showHeader:{type:Boolean,default:!1},avatarImageUrl:{type:String,default:""},displayName:{type:String,default:""},time:{type:String,default:""},shortTime:{type:String,default:""},isActive:{type:Boolean,default:!1},state:{type:String,default:qa,validator:t=>Object.keys(ja).includes(t)}},emits:["hover","focus"],data(){return{faded:!1}},computed:{avatarSeed(){return(this.displayName||"").split(" ").map(a=>a.charAt(0)).join("").slice(0,2).toUpperCase()},feedListeners(){return{...this.$listeners,mouseenter:()=>this.setHover(!0),mouseleave:()=>this.setHover(!1),focusin:()=>this.setFocus(!0),focusout:()=>this.setFocus(!1)}},listItemClasses(){return["d-w100p","d-box-border","d-ps-relative","d-px8",{"d-bgc-secondary-opaque":this.isActive&&this.state===qa},ja[this.state],"feed-item-row","d-t","d-tp-bgc"]}},methods:{setFocus(t){this.$emit("focus",t)},setHover(t){this.$emit("hover",t)},fade(){this.state===qa||this.faded===!0||(this.$refs.FeedItemRef.$el.classList.remove(ja[this.state]),this.faded=!0)}}};var Rh=function(){var e=this,a=e._self._c;return a("dt-list-item",e._g(e._b({ref:"FeedItemRef",class:e.listItemClasses,attrs:{"navigation-type":"none","data-qa":"feed-item-row"},scopedSlots:e._u([{key:"left",fn:function(){return[e.showHeader?a("dt-avatar",{attrs:{"full-name":e.displayName,"image-src":e.avatarImageUrl,"avatar-class":"d-mt4",seed:e.avatarSeed}}):e._e(),e.showHeader?e._e():a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-fs-100 d-fw-normal d-ws-nowrap d-lh-100 d-fc-tertiary d-mb6",attrs:{"data-qa":"feed-item-row-left-time"}},[e._v(" "+e._s(e.shortTime)+" ")])]},proxy:!0},{key:"bottom",fn:function(){return[a("div",{staticClass:"d-d-flex d-fw-wrap",attrs:{"data-qa":"feed-item-row-reactions"}},[e._t("reactions")],2),e._t("threading")]},proxy:!0},{key:"right",fn:function(){return[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-ps-absolute d-tn16 d-r12",attrs:{"data-qa":"feed-item-row-menu"}},[a("dt-lazy-show",{attrs:{appear:!0,transition:"fade",show:e.isActive}},[e._t("menu")],2)],1)]},proxy:!0}],null,!0)},"dt-list-item",e.$attrs,!1),e.feedListeners),[a("article",[e.showHeader?a("div",{staticClass:"d-d-flex d-ai-center",attrs:{"data-qa":"feed-item-row-header"}},[a("p",{staticClass:"d-fs-200 d-lh-300 d-fw-bold d-to-ellipsis d-of-hidden d-ws-nowrap"},[e._v(" "+e._s(e.displayName)+" ")]),a("time",{staticClass:"d-fs-100 d-mt2 d-lh-300 d-fc-tertiary d-fw-normal d-ml4 d-fl-shrink0"},[e._v(" "+e._s(e.time)+" ")])]):e._e(),a("span",{staticClass:"content-text-wrapper-class",attrs:{"data-qa":"feed-item-row-content"}},[e._t("default")],2)])])},Ph=[],Mh=Ye.normalizeComponent($h,Rh,Ph,!1,null,null,null,null);const Nh=Mh.exports;const Bh={name:"DtRecipeTimePill",props:{dateTimeDisplay:{type:String,required:!0},dateTime:{type:String,required:!0,validator:t=>{const e=new Date(t);return e instanceof Date&&!isNaN(e)}}}};var Fh=function(){var e=this,a=e._self._c;return a("time",{staticClass:"d-ba d-bar-pill d-baw1 d-bc-black-300 d-px16 d-py4 d-fs-100",attrs:{"data-qa":"dt-time-pill",dateTime:e.dateTime}},[e._v(" "+e._s(e.dateTimeDisplay)+" ")])},Vh=[],jh=Ye.normalizeComponent(Bh,Fh,Vh,!1,null,null,null,null);const qh=jh.exports,eo=["emojiUnicodeOrShortname","isSelected","ariaLabel","tooltip","num"];const Hh={name:"DtRecipeEmojiRow",components:{DtTooltip:Ea,DtButton:vn,DtEmoji:Ye.DtEmoji,DtEmojiTextWrapper:Ye.DtEmojiTextWrapper},mixins:[],props:{reactions:{type:Array,default:()=>[],validator:t=>{for(const e of t)if(!eo.every(n=>e[n]!==void 0))return!1;return!0}}},emits:["emoji-clicked","emoji-hovered"],methods:{emojiClicked(t){this.$emit("emoji-clicked",t.emojiUnicodeOrShortname)},emojiHovered(t,e){this.$emit("emoji-hovered",{reaction:t.emojiUnicodeOrShortname,state:e})}}};var zh=function(){var e=this,a=e._self._c;return a("span",{staticClass:"d-d-flex d-fw-wrap"},e._l(e.reactions,function(n){return a("span",{key:n.unicodeOutput,staticClass:"d-mr4 d-mb4",attrs:{reaction:n}},[a("dt-tooltip",{staticClass:"d-d-inline-block",attrs:{"content-class":"d-wmx464"},on:{shown:m=>e.emojiHovered(n,m)},scopedSlots:e._u([{key:"anchor",fn:function({attrs:m}){return[a("dt-button",{class:["d-h24 d-bar16 d-py0 d-fs-200 d-mb0 d-t",n.isSelected?`d-fc-purple-500 d-bgc-purple-400 d-bgo10 d-bc-purple-400 d-bco50 ' +
30
+ need to be set so the component always includes a close button`)}}};var uc=function(){var e=this,a=e._self._c;return a("dt-lazy-show",e._g({class:["d-modal",e.MODAL_KIND_MODIFIERS[e.kind],e.MODAL_SIZE_MODIFIERS[e.size],e.modalClass],attrs:{transition:"d-zoom",show:e.show,"data-qa":"dt-modal","aria-hidden":e.open}},e.modalListeners),[e.show&&(e.$slots.banner||e.bannerTitle)?a("div",{class:["d-modal__banner",e.bannerClass,e.bannerKindClass],attrs:{"data-qa":"dt-modal-banner"}},[e._t("banner",function(){return[e._v(" "+e._s(e.bannerTitle)+" ")]})],2):e._e(),a("transition",{attrs:{appear:"",name:"d-modal__dialog"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],class:["d-modal__dialog",{"d-modal__dialog--scrollable":e.fixedHeaderFooter},e.dialogClass],attrs:{role:"dialog","aria-modal":"true","aria-describedby":e.describedById,"aria-labelledby":e.labelledById}},[e.$slots.header?a("div",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._t("header")],2):a("h2",{staticClass:"d-modal__header",attrs:{id:e.labelledById,"data-qa":"dt-modal-title"}},[e._v(" "+e._s(e.title)+" ")]),e.$slots.default?a("div",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._t("default")],2):a("p",{class:["d-modal__content",e.contentClass],attrs:{"data-qa":"dt-modal-copy"}},[e._v(" "+e._s(e.copy)+" ")]),e.hasFooterSlot?a("footer",{staticClass:"d-modal__footer"},[e._t("footer")],2):e._e(),e.hideClose?e._e():a("dt-button",e._b({staticClass:"d-modal__close",attrs:{circle:"",size:"lg",importance:"clear","aria-label":e.closeButtonProps.ariaLabel},on:{click:e.close},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"close",size:"400"}})]},proxy:!0}],null,!1,1709155279)},"dt-button",e.closeButtonProps,!1)),e.showVisuallyHiddenClose?a("sr-only-close-button",{attrs:{"visually-hidden-close-label":e.visuallyHiddenCloseLabel},on:{close:e.close}}):e._e()],1)])],1)},pc=[],fc=Ye.normalizeComponent(cc,uc,pc,!1,null,null,null,null);const hc=fc.exports;const mc={name:"ListSection",components:{Vnodes:{name:"vnodes",functional:!0,render:(t,e)=>e.props.vnodes},DtButton:vn},props:{id:{type:String,default(){return Nn.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!(this.maxDisplayed===0||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}}};var vc=function(){var e=this,a=e._self._c;return a("div",{class:["dt-list-section","d-fs-200","d-lh6","d-py6","d-bc-black-400",{"d-bb":e.separator}],attrs:{id:e.id,role:"group","aria-labelledby":`${e.id}-list-section-header`,tabindex:"-1"}},[e.header?a("h3",{staticClass:"d-pl12 d-mt6",attrs:{id:`${e.id}-list-section-header`}},[e._v(" "+e._s(e.header)+" ")]):e._e(),!e.isCollapsible||e.showAll?a("ol",{attrs:{id:`${e.id}-list-section-content`}},[e._t("default")],2):a("ol",{attrs:{id:`${e.id}-list-section-content`}},[a("vnodes",{attrs:{vnodes:e.displayedItems}})],1),a("div",{staticClass:"d-d-flex"},[e.isCollapsible?a("dt-button",{staticClass:"d-ml12 d-py6",attrs:{id:`${e.id}-list-section-show-more-less`,link:""},on:{click:e.showMoreLessClicked}},[e._v(" "+e._s(e.showMoreLessText)+" ")]):e._e(),e._t("footer")],2)])},gc=[],_c=Ye.normalizeComponent(mc,vc,gc,!1,null,null,null,null);const yc=_c.exports,bc={name:"DtListItemGroup",props:{id:{type:String,default(){return pn()}},heading:{type:String,default:""},headingClass:{type:[String,Array,Object],default:""},listClass:{type:[String,Array,Object],default:""}}};var Cc=function(){var e=this,a=e._self._c;return a("ul",{class:["d-ps-relative","d-px0",e.listClass],attrs:{id:e.id,role:"group","data-qa":"dt-dropdown-list-wrapper","aria-labelledby":`${e.id}-heading`}},[e.heading?a("li",{class:["dt-dropdown-list--header",e.headingClass],attrs:{id:`${e.id}-heading`,role:"presentation","data-qa":"dt-dropdown-list-heading"}},[e._t("headingSlot",function(){return[e._v(" "+e._s(e.heading)+" ")]})],2):e._e(),e._t("default")],2)},Sc=[],wc=Ye.normalizeComponent(bc,Cc,Sc,!1,null,null,null,null);const Oc=wc.exports,Ec={name:"DtPagination",components:{DtButton:vn,DtIcon:ln},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 this.currentPage===1},isLastPage(){return this.currentPage===this.totalPages},pages(){if(this.maxVisible===0)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 a=this.maxVisible-(3-this.maxVisible%2),n=Math.floor(a/2),m=this.currentPage-n,w=this.currentPage+n;return[1,"...",...this.range(m,w),"...",this.totalPages]}},methods:{range(t,e){const a=[];t=t>0?t:1;for(let n=t;n<=e;n++)a.push(n);return a},changePage(t){this.currentPage=t,this.$emit("change",this.currentPage)}}};var xc=function(){var e=this,a=e._self._c;return a("nav",{staticClass:"d-d-flex d-fd-row d-gg4 d-ai-center",attrs:{"aria-label":e.ariaLabel}},[a("dt-button",{staticClass:"d-px8",class:e.isFirstPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-prev","aria-label":e.prevAriaLabel,kind:e.isFirstPage?"default":"muted",importance:e.isFirstPage?"primary":"clear",disabled:e.isFirstPage},on:{click:function(n){return e.changePage(e.currentPage-1)}}},[a("template",{slot:"icon"},[a("dt-icon",{attrs:{name:"chevron-left",size:"300"}})],1)],2),e._l(e.pages,function(n,m){return a("div",{key:`page-${n}-${m}`,class:{"d-as-flex-end":isNaN(Number(n))}},[isNaN(Number(n))?a("div",{staticClass:"d-fc-tertiary d-w24 d-ta-center",attrs:{"data-qa":"dt-pagination-separator"}},[a("dt-icon",{attrs:{name:"more-horizontal",size:"300"}})],1):a("dt-button",{attrs:{"aria-label":e.pageNumberAriaLabel(n),kind:e.currentPage===n?"default":"muted",importance:e.currentPage===n?"primary":"clear","label-class":""},on:{click:function(w){return e.changePage(n)}}},[e._v(" "+e._s(n)+" ")])],1)}),a("dt-button",{staticClass:"d-px8",class:e.isLastPage?"d-fc-black-300 d-bgc-transparent":"d-fc-tertiary",attrs:{"data-qa":"dt-pagination-next","aria-label":e.nextAriaLabel,disabled:e.isLastPage,kind:"muted",importance:e.isLastPage?"primary":"clear"},on:{click:function(n){return e.changePage(e.currentPage+1)}}},[a("template",{slot:"icon"},[a("dt-icon",{attrs:{name:"chevron-right",size:"300"}})],1)],2)],2)},Ic=[],Tc=Ye.normalizeComponent(Ec,xc,Ic,!1,null,null,null,null);const Ac=Tc.exports,Dc={warning:"d-radio--warning",error:"d-radio--error",success:"d-radio--success"},Lc={name:"DtRadio",components:{DtValidationMessages:s5},mixins:[wr,Or,Er,Oa],inheritAttrs:!1,props:{value:{type:[String,Number],default:""}},emits:["input","focusin","focusout"],computed:{inputValidationClass(){return Dc[this.internalValidationState]},radioGroupValue(){var t;return(t=this.groupContext)==null?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))}}};var kc=function(){var e=this,a=e._self._c;return a("label",[a("div",{class:["d-radio-group",{"d-radio-group--disabled":e.internalDisabled}]},[a("div",{staticClass:"d-radio__input"},[a("input",e._g(e._b({class:["d-radio",e.inputValidationClass,e.inputClass],attrs:{name:e.internalName,disabled:e.internalDisabled,type:"radio"},domProps:{checked:e.internalChecked,value:e.value}},"input",e.$attrs,!1),e.inputListeners))]),a("div",{staticClass:"d-radio__copy d-radio__label",attrs:{"data-qa":"radio-label-description-container"}},[a("div",e._b({class:e.labelClass,attrs:{"data-qa":"radio-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2),e.$slots.description||e.description?a("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"radio-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-radio-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)])])},$c=[],Rc=Ye.normalizeComponent(Lc,kc,$c,!1,null,null,null,null);const Pc=Rc.exports,Mc={name:"DtRadioGroup",extends:xr,props:{value:{type:[String,Number],default:""},dataQaGroup:{type:String,default:"radio-group"},dataQaGroupLegend:{type:String,default:"radio-group-legend"},dataQaGroupMessages:{type:String,default:"radio-group-messages"}},emits:["input"],data(){return{provideObj:{selectedValue:this.value}}},watch:{value(t){this.provideObj.selectedValue=t}},methods:{setGroupValue(t){this.$emit("input",t)},getMessageKey(t,e){return`radio-group-message-${t}-${e}-${this.id}`}}},Nc=null,Bc=null;var Fc=Ye.normalizeComponent(Mc,Nc,Bc,!1,null,null,null,null);const Vc=Fc.exports,Os=["default","sm"],jc={sm:"d-tablist--sm"},Es={inverted:"d-tablist--inverted"},xs={borderless:"d-tablist--no-border"},Is={selected:"d-tab--selected"},qc={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 Os.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:jc,TAB_LIST_KIND_MODIFIERS:Es,TAB_LIST_IMPORTANCE_MODIFIERS:xs}},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(({$el:t})=>t).filter(({className:t})=>t.includes("d-tab")).map(t=>{var e,a;return{context:t,panelId:(e=t.getAttribute("aria-controls"))==null?void 0:e.replace("dt-panel-",""),id:(a=t.getAttribute("id"))==null?void 0:a.replace("dt-tab-",""),isSelected:t.getAttribute("aria-selected")==="true"}})},onChange(){this.$emit("change",{...this.provideObj})},changeContentPanel({selected:t,selectOverride:e}){this.provideObj.selected=t,e||this.onChange()},tabLeft(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)return;const a=t-1<0?e.length-1:t-1;this.selectFocusOnTab(a,e)},tabRight(){const{index:t,tabs:e}=this.getIndexAndTabs();if(t===-1)return;const a=t+1>e.length-1?0:t+1;this.selectFocusOnTab(a,e)},selectFocusOnTab(t,e){const{context:a}=e[t];a.focus()},selectTab(){const{tabs:t,index:e}=this.getIndexAndTabs();this.selectTabByIndex(e,t)},selectTabByIndex(t,e){const{context:a,panelId:n}=e[t];this.provideObj.selected=n,a.focus()},getIndexAndTabs(){const t=this.tabs.findIndex(e=>this.focusId?e.id===`${this.focusId}`:e.isSelected);return{tabs:this.tabs,index:t}},onHomeButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[0])==null?void 0:t.context)==null||e.focus())},onEndButton(){var t,e;this.tabs.length!==0&&((e=(t=this.tabs[this.tabs.length-1])==null?void 0:t.context)==null||e.focus())}}};var Hc=function(){var e=this,a=e._self._c;return a("div",{attrs:{"data-qa":"dt-tab-group"}},[a("div",e._b({class:["d-tablist",e.TAB_LIST_SIZE_MODIFIERS[e.size],{[e.TAB_LIST_KIND_MODIFIERS.inverted]:e.inverted,[e.TAB_LIST_IMPORTANCE_MODIFIERS.borderless]:e.borderless},e.tabListClass],attrs:{role:"tablist","aria-label":e.label},on:{keyup:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"left",37,n.key,["Left","ArrowLeft"])||"button"in n&&n.button!==0?null:e.tabLeft.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"right",39,n.key,["Right","ArrowRight"])||"button"in n&&n.button!==2?null:e.tabRight.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.selectTab.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])?null:e.selectTab.apply(null,arguments)}],keydown:[function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"home",void 0,n.key,void 0)?null:e.onHomeButton.apply(null,arguments)},function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"end",void 0,n.key,void 0)?null:e.onEndButton.apply(null,arguments)}]}},"div",e.tabListChildProps,!1),[e._t("tabs")],2),e._t("default")],2)},zc=[],Wc=Ye.normalizeComponent(qc,Hc,zc,!1,null,null,null,null);const Uc=Wc.exports,Kc={name:"DtTab",components:{DtButton:vn},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:Is}},computed:{isSelected(){return this.groupContext.selected===this.panelId},tabListeners(){return{...this.$listeners,click:t=>{this.selectPanel(),this.$emit("click",t)},focus:t=>{this.setFocus(this.id),this.$emit("focus",t)}}}},mounted(){this.setSelectedPanelByDefault()},methods:{setSelectedPanelByDefault(){this.selected&&this.selectPanel(!0)},selectPanel(t=!1){this.changeContentPanel({selected:this.panelId,selectOverride:t})}}};var Gc=function(){var e=this,a=e._self._c;return a("dt-button",e._g(e._b({class:["d-tab",{[e.TAB_IMPORTANCE_MODIFIERS.selected]:e.isSelected},e.tabClass],attrs:{id:`dt-tab-${e.id}`,role:"tab","aria-selected":`${e.isSelected}`,"aria-controls":`dt-panel-${e.panelId}`,"aria-label":e.label,"data-qa":"dt-tab",tabindex:e.isSelected?"0":"-1",disabled:e.groupContext.disabled||e.disabled}},"dt-button",e.$attrs,!1),e.tabListeners),[e._t("default")],2)},Yc=[],Zc=Ye.normalizeComponent(Kc,Gc,Yc,!1,null,null,null,null);const Xc=Zc.exports,Qc={name:"DtTabPanel",mixins:[Y5],inject:["groupContext"],props:{id:{type:String,required:!0},tabId:{type:String,required:!0},hidden:{type:Boolean,default:!1},tabPanelClass:{type:[String,Array,Object],default:""}},data(){return{isFirstElementFocusable:!1}},computed:{hidePanel(){return this.groupContext.selected!==this.id||this.hidden}},async mounted(){const t=await this.getFirstFocusableElement(this.$el);t?this.isFirstElementFocusable=this.isFirstElementOfPanel(t):this.isFirstElementFocusable=!1},methods:{isFirstElementOfPanel(t){let e=t,a=!0;for(;e;){if(e.previousElementSibling!==null){a=!1;break}e=e.parentNode!==this.$el?e.parentNode:null}return a}}};var Jc=function(){var e=this,a=e._self._c;return a("div",{class:[{"d-d-none":e.hidePanel},e.tabPanelClass],attrs:{id:`dt-panel-${e.id}`,role:"tabpanel",tabindex:e.isFirstElementFocusable?-1:0,"aria-labelledby":`dt-tab-${e.tabId}`,"aria-hidden":`${e.hidePanel}`,"data-qa":"dt-tab-panel"}},[e._t("default")],2)},eu=[],tu=Ye.normalizeComponent(Qc,Jc,eu,!1,null,null,null,null);const nu=tu.exports,au={error:"d-checkbox--error",warning:"d-checkbox--warning",success:"d-checkbox--success"},ru={name:"DtCheckbox",components:{DtValidationMessages:s5},mixins:[wr,Or,Er,Oa],inheritAttrs:!1,emits:["input","focusin","focusout"],computed:{inputValidationClass(){return au[this.internalValidationState]},checkboxGroupValueChecked(){var t,e;return((e=(t=this.groupContext)==null?void 0:t.selectedValues)==null?void 0:e.includes(this.value))??!1},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:a}=t;this.internalIndeterminate&&(a=!1,this.internalIndeterminate=!1,t.checked=!1),this.setGroupValue(e,a),this.$emit("input",a)},runValidations(){this.validateInputLabels(this.hasLabel,this.$attrs["aria-label"])}}};var iu=function(){var e=this,a=e._self._c;return a("label",[a("div",{class:["d-checkbox-group",{"d-checkbox-group--disabled":e.internalDisabled}]},[a("div",{staticClass:"d-checkbox__input"},[a("input",e._g(e._b({class:["d-checkbox",e.inputValidationClass,e.inputClass],attrs:{type:"checkbox",name:e.internalName,disabled:e.internalDisabled},domProps:{checked:e.internalChecked,value:e.value,indeterminate:e.internalIndeterminate}},"input",e.$attrs,!1),e.inputListeners))]),e.hasLabelOrDescription?a("div",{staticClass:"d-checkbox__copy d-checkbox__label",attrs:{"data-qa":"checkbox-label-description-container"}},[e.hasLabel?a("div",e._b({class:e.labelClass,attrs:{"data-qa":"checkbox-label"}},"div",e.labelChildProps,!1),[e._t("default",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.hasDescription?a("div",e._b({class:["d-description",e.descriptionClass],attrs:{"data-qa":"checkbox-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-checkbox-validation-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1):e._e()])])},su=[],ou=Ye.normalizeComponent(ru,iu,su,!1,null,null,null,null);const lu=ou.exports,du={name:"DtCheckboxGroup",extends:xr,model:{prop:"selectedValues"},props:{value:{type:[],default:null,validator:t=>t?(Ln.util.warn("Component uses selectedValues to initialize the model, value is not supported by this component",globalThis),!1):!0},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(a=>a!==t),this.$emit("input",this.internalValue)},getMessageKey(t,e){return`checkbox-group-message-${t}-${e}-${this.id}`}}},cu=null,uu=null;var pu=Ye.normalizeComponent(du,cu,uu,!1,null,null,null,null);const fu=pu.exports,ir={xs:"d-chip__label--xs",sm:"d-chip__label--sm",md:""},hu={xs:"d-chip__close--xs",sm:"d-chip__close--sm",md:""},mu={xs:"200",sm:"200",md:"200"},vu={name:"DtChip",components:{DtButton:vn,DtIcon:ln},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(ir).includes(t)},interactive:{type:Boolean,default:!0},id:{type:String,default:function(){return pn()}},ariaLabel:{type:String,default:""},contentClass:{type:[String,Array,Object],default:""},labelClass:{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;((e=t.code)==null?void 0:e.toLowerCase())==="delete"?this.onClose():this.$emit("keyup",t)}}},closeButtonIconSize(){return mu[this.size]}},methods:{chipClasses(){return[this.$attrs["grouped-chip"]?"d-chip":"d-chip__label",ir[this.size],this.labelClass]},chipCloseButtonClasses(){return["d-chip__close",hu[this.size]]},onClose(){this.hideClose||this.$emit("close")}}};var gu=function(){var e=this,a=e._self._c;return a("span",{staticClass:"d-chip"},[a(e.interactive?"button":"span",e._g({tag:"component",class:e.chipClasses(),attrs:{id:e.id,type:e.interactive&&"button","data-qa":"dt-chip","aria-labelledby":e.ariaLabel?void 0:`${e.id}-content`,"aria-label":e.ariaLabel}},e.chipListeners),[e.$slots.icon?a("span",{staticClass:"d-chip__icon",attrs:{"data-qa":"dt-chip-icon"}},[e._t("icon")],2):e.$slots.avatar?a("span",{attrs:{"data-qa":"dt-chip-avatar"}},[e._t("avatar")],2):e._e(),e.$slots.default?a("span",{class:["d-truncate","d-chip__text",e.contentClass],attrs:{id:`${e.id}-content`,"data-qa":"dt-chip-label"}},[e._t("default")],2):e._e()]),e.hideClose?e._e():a("dt-button",e._b({class:e.chipCloseButtonClasses(),attrs:{"data-qa":"dt-chip-close","aria-label":e.closeButtonProps.ariaLabel},on:{click:function(n){return e.$emit("close")}},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"close",size:e.closeButtonIconSize}})]},proxy:!0}],null,!1,1192647893)},"dt-button",e.closeButtonProps,!1))],1)},_u=[],yu=Ye.normalizeComponent(vu,gu,_u,!1,null,null,null,null);const Ir=yu.exports,sr={xs:"d-select--xs",sm:"d-select--sm",md:"",lg:"d-select--lg",xl:"d-select--xl"},Ts={error:"d-select__input--error",warning:"d-select__input--warning",success:"d-select__input--success"},bu=t=>!t.index||typeof t.index=="number",Cu=t=>t.value?typeof t.value=="string"||typeof t.value=="number":!1,Su=t=>t.label?typeof t.label=="string":!1,wu=t=>t?t.every(e=>!(!bu(e)||!Cu(e)||!Su(e))):!0,Ou={name:"DtSelectMenu",components:{DtValidationMessages:s5},mixins:[Oa],inheritAttrs:!1,props:{label:{type:String,default:""},description:{type:String,default:""},options:{type:Array,default:()=>[],validator:t=>wu(t)},size:{type:String,default:"md",validator:t=>Object.keys(sr).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:no,DESCRIPTION_SIZE_MODIFIERS:to,SELECT_SIZE_MODIFIERS:sr,SELECT_STATE_MODIFIERS:Ts}},computed:{selectListeners(){return{...this.$listeners,input:()=>{},change:t=>this.emitValue(t,t.target.value)}},state(){return r5(this.formattedMessages)},selectKey(){return pn()},descriptionKey(){return`select-${this.selectKey}-description`},labelAriaDetails(){return this.$slots.description||this.description?this.descriptionKey:this.$attrs["aria-details"]}},mounted(){this.validateOptionsPresence()},beforeUpdate(){this.validateOptionsPresence()},methods:{emitValue(t,e){this.$emit("input",t,e),this.$emit("change",t,e)},getOptionKey(t){return`select-${this.selectKey}-option-${t}`},validateOptionsPresence(){var t;((t=this.options)==null?void 0:t.length)<1&&!this.$slots.default&&Ln.util.warn("Options are expected to be provided via prop or slot",this)}}};var Eu=function(){var e=this,a=e._self._c;return a("div",[a("label",[e.$slots.label||e.label?a("div",e._b({class:["d-label",e.LABEL_SIZE_MODIFIERS[e.size],e.labelClass],attrs:{"aria-details":e.labelAriaDetails,"data-qa":"dt-select-label"}},"div",e.labelChildProps,!1),[e._t("label",function(){return[e._v(e._s(e.label))]})],2):e._e(),e.$slots.description||e.description?a("div",e._b({class:["d-description",e.DESCRIPTION_SIZE_MODIFIERS[e.size],e.descriptionClass],attrs:{id:e.descriptionKey,"data-qa":"dt-select-description"}},"div",e.descriptionChildProps,!1),[e._t("description",function(){return[e._v(e._s(e.description))]})],2):e._e(),a("div",{class:["d-select",e.SELECT_SIZE_MODIFIERS[e.size],e.selectClass,{"d-select--disabled":e.disabled}],attrs:{"data-qa":"dt-select-wrapper"}},[a("select",e._g(e._b({class:["d-select__input",e.SELECT_STATE_MODIFIERS[e.state]],attrs:{"data-qa":"dt-select",disabled:e.disabled}},"select",e.$attrs,!1),e.selectListeners),[e._t("default",function(){return e._l(e.options,function(n){return a("option",e._b({key:e.getOptionKey(n.value),class:e.optionClass,domProps:{value:n.value}},"option",e.optionChildProps,!1),[e._v(" "+e._s(n.label)+" ")])})})],2)])]),a("dt-validation-messages",e._b({class:e.messagesClass,attrs:{"validation-messages":e.formattedMessages,"show-messages":e.showMessages,"data-qa":"dt-select-messages"}},"dt-validation-messages",e.messagesChildProps,!1))],1)},xu=[],Iu=Ye.normalizeComponent(Ou,Eu,xu,!1,null,null,null,null);const Tu=Iu.exports,As=["status","alert"],si=6e3,Au={name:"DtToast",components:{DtNoticeIcon:cr,DtNoticeContent:ur,DtNoticeAction:pr},mixins:[Zn],props:{titleId:{type:String,default(){return Nn.getUniqueString()}},contentId:{type:String,default(){return Nn.getUniqueString()}},title:{type:String,default:""},message:{type:String,default:""},role:{type:String,default:"status",validator:t=>As.includes(t)},kind:{type:String,default:"base",validator:t=>k5.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>=si}},emits:["close","update:show"],data(){return{isShown:!1,minDuration:si}},computed:{kindClass(){return{error:"d-toast--error",info:"d-toast--info",success:"d-toast--success",warning:"d-toast--warning",base:"d-toast--base"}[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))}}};var Du=function(){var e=this,a=e._self._c;return e.isShown?a("div",{class:["d-toast",e.kindClass,{"d-toast--important":e.important}],attrs:{"data-qa":"dt-toast","aria-hidden":(!e.isShown).toString()}},[a("div",{staticClass:"d-toast__dialog"},[a("dt-notice-icon",e._g({attrs:{kind:e.kind}},e.$listeners),[e._t("icon")],2),a("dt-notice-content",e._g({attrs:{"title-id":e.titleId,"content-id":e.contentId,title:e.title,role:e.role},scopedSlots:e._u([{key:"titleOverride",fn:function(){return[e._t("titleOverride")]},proxy:!0}],null,!0)},e.$listeners),[e._t("default",function(){return[e._v(" "+e._s(e.message)+" ")]})],2),a("dt-notice-action",e._g({attrs:{"hide-close":e.hideClose,"close-button-props":e.closeButtonProps,"visually-hidden-close":e.visuallyHiddenClose,"visually-hidden-close-label":e.visuallyHiddenCloseLabel}},e.noticeActionListeners),[e._t("action")],2)],1)]):e._e()},Lu=[],ku=Ye.normalizeComponent(Au,Du,Lu,!1,null,null,null,null);const $u=ku.exports,oi={sm:"d-toggle--small",md:""},Ru=[!1,!0,"mixed"],Pu={name:"DtToggle",inheritAttrs:!1,model:{prop:"checked",event:"change"},props:{id:{type:String,default(){return Nn.getUniqueString()}},disabled:{type:Boolean,default:!1},checked:{type:[Boolean,String],default:!1,validator:t=>Ru.includes(t)},toggleOnClick:{type:Boolean,default:!0},size:{type:String,default:"md",validator:t=>Object.keys(oi).includes(t)},showIcon:{type:Boolean,default:!0},labelClass:{type:[String,Array,Object],default:""},labelChildProps:{type:Object,default:()=>({})}},emits:["change"],data(){return{internalChecked:this.checked}},computed:{inputListeners(){return{...this.$listeners,click:t=>this.toggleCheckedValue()}},isIndeterminate(){return this.internalChecked==="mixed"},toggleRole(){return this.isIndeterminate?"checkbox":"switch"},toggleClasses(){return["d-toggle",oi[this.size],{"d-toggle--checked":this.internalChecked===!0,"d-toggle--disabled":this.disabled,"d-toggle--indeterminate":this.isIndeterminate}]}},watch:{checked(t){this.internalChecked=t}},mounted(){this.runValidations()},methods:{toggleCheckedValue(){this.$emit("change",!this.internalChecked),this.toggleOnClick&&(this.internalChecked=!this.internalChecked)},hasSlotLabel(){return!!this.$slots.default},runValidations(){this.validateInputLabels(this.hasSlotLabel(),this.$attrs["aria-label"])},validateInputLabels(t,e){!t&&!e&&Ln.util.warn("You must provide an aria-label when there is no label passed",this)}}};var Mu=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-d-flex d-ai-center"},[e.$slots.default?a("label",e._b({class:e.labelClass,attrs:{for:e.id,"data-qa":"toggle-label"}},"label",e.labelChildProps,!1),[e._t("default")],2):e._e(),a("button",e._g(e._b({class:e.toggleClasses,attrs:{id:e.id,role:e.toggleRole,type:"button","aria-checked":e.internalChecked.toString(),disabled:e.disabled,"aria-disabled":e.disabled.toString()}},"button",e.$attrs,!1),e.inputListeners),[e.showIcon?a("span",{staticClass:"d-toggle__inner"}):e._e()])])},Nu=[],Bu=Ye.normalizeComponent(Pu,Mu,Nu,!1,null,null,null,null);const Fu=Bu.exports,Ds=[...m6],Ls=300,ks={hover:"d-tooltip--hover",show:"d-tooltip--show",inverted:"d-tooltip--inverted",hide:"d-tooltip--hide"},$s=[...hs],Vu=[!0,!1,"toggle"];const ju={name:"DtTooltip",components:{DtLazyShow:$5},props:{id:{type:String,default(){return pn()}},fallbackPlacements:{type:Array,default:()=>["auto"]},inverted:{type:Boolean,default:!1},offset:{type:Array,default:()=>[0,-4]},placement:{type:String,default:"top",validator(t){return Ds.includes(t)}},sticky:{type:[Boolean,String],default:!1,validator:t=>$s.includes(t)},contentClass:{type:[String,Object,Array],default:""},message:{type:String,default:""},show:{type:Boolean,default:null},transition:{type:String,default:"fade"},delay:{type:Boolean,default:!0}},emits:["shown","update:show"],data(){return{TOOLTIP_KIND_MODIFIERS:ks,tip:null,inTimer:null,isShown:!1,currentPlacement:this.placement}},computed:{tooltipListeners(){return{...this.$listeners,"after-leave":()=>{this.onLeaveTransitionComplete()},"after-enter":()=>{this.onEnterTransitionComplete()}}},tippyProps(){var t,e;return{offset:this.offset,appendTo:(e=(t=this.anchorEl)==null?void 0:t.getRootNode())==null?void 0:e.querySelector("body"),interactive:!1,trigger:"manual",placement:this.placement,sticky:this.sticky,popperOptions:vs({fallbackPlacements:this.fallbackPlacements,hasHideModifierEnabled:!0,onChangePlacement:this.onChangePlacement})}}},watch:{tippyProps:{handler:"setProps",deep:!0},show:{handler:function(t){t!==null&&(this.isShown=t)},immediate:!0},isShown(t){t?(this.setProps(),this.tip.show()):this.tip.hide()},sticky(t){this.tip.setProps({sticky:t})}},mounted(){this.tip=ms(ri(this.$refs.anchor),this.initOptions()),this.isShown&&this.tip.show()},beforeDestroy(){var t;this.tip&&((t=this.tip)==null||t.destroy())},methods:{calculateAnchorZindex(){return this.$el.getRootNode().querySelector('.d-modal[aria-hidden="false"], .d-modal--transparent[aria-hidden="false"]')||this.$el.closest(".d-zi-drawer")?651:400},hasVisibleFocus(){return ri(this.$refs.anchor).matches(":focus-visible")},onEnterAnchor(t){if(this.delay)this.inTimer=setTimeout(function(e){return this.triggerShow(e)}.bind(this,t),Ls);else return this.triggerShow(t)},triggerShow(t){t.type==="focusin"?this.show===null&&this.hasVisibleFocus()&&(this.isShown=!0):this.show===null&&(this.isShown=!0)},onLeaveAnchor(){return clearTimeout(this.inTimer),this.triggerHide()},triggerHide(){this.show===null&&(this.isShown=!1)},onChangePlacement(t){this.currentPlacement=t},onLeaveTransitionComplete(){var t;(t=this.tip)==null||t.unmount(),this.$emit("shown",!1),this.show!==null&&this.$emit("update:show",!1)},onEnterTransitionComplete(){this.$emit("shown",!0),this.show!==null&&this.$emit("update:show",!0)},setProps(){this.tip&&this.tip.setProps&&this.tip.setProps({...this.tippyProps,zIndex:this.calculateAnchorZindex()})},onMount(){this.setProps()},initOptions(){return{contentElement:this.$refs.content.$el,allowHTML:!0,zIndex:this.calculateAnchorZindex(),onMount:this.onMount,...this.tippyProps}}}};var qu=function(){var e=this,a=e._self._c;return a("div",{attrs:{"data-qa":"dt-tooltip-container"}},[a("span",{ref:"anchor",attrs:{"data-qa":"dt-tooltip-anchor"},on:{focusin:e.onEnterAnchor,focusout:e.onLeaveAnchor,mouseenter:e.onEnterAnchor,mouseleave:e.onLeaveAnchor,keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"esc",27,n.key,["Esc","Escape"])?null:e.onLeaveAnchor.apply(null,arguments)}}},[e._t("anchor")],2),a("dt-lazy-show",e._g({ref:"content",class:["d-tooltip",`d-tooltip__arrow-tippy--${e.currentPlacement}`,{[e.TOOLTIP_KIND_MODIFIERS.inverted]:e.inverted},e.contentClass],attrs:{id:e.id,show:e.isShown&&(!!e.message.trim()||!!e.$slots.default),role:"tooltip","aria-hidden":"false","data-qa":"dt-tooltip",appear:"",transition:e.transition}},e.tooltipListeners),[e._t("default",function(){return[e._v(" "+e._s(e.message)+" ")]})],2)],1)},Hu=[],zu=Ye.normalizeComponent(ju,qu,Hu,!1,null,null,null,null);const Ea=zu.exports,I5={"{win}":"layout-grid","{arrow-right}":"arrow-right","{arrow-left}":"arrow-left","{arrow-up}":"arrow-up","{arrow-down}":"arrow-down","{cmd}":"command"},Rs={"{plus}":"plus"},Wu=Object.keys(I5),Uu={name:"DtKeyboardShortcut",components:{DtIcon:ln},props:{inverted:{type:Boolean,default:!1},shortcut:{type:String,required:!0},screenReaderText:{type:String,default:null}},data(){return{SHORTCUTS_ICON_ALIASES:I5,separator:/\+/gi}},computed:{icons(){return{...I5,...Rs}},shortcutWithSeparator(){return this.shortcut.replace(this.separator,"{plus}")},formattedShortcut(){return Object.keys(I5).reduce((t,e)=>t.replace(new RegExp("{"+e+"}","gi"),I5[e]),this.shortcutWithSeparator)},formattedShortcutSplit(){const t=Object.keys(this.icons).join("|"),e=new RegExp(`(${t})`,"gi");return this.formattedShortcut.split(e).filter(Boolean)}}};var Ku=function(){var e=this,a=e._self._c;return a("kbd",{class:["d-d-inline-flex","d-ff-custom","d-ai-center","d-jc-center","d-box-border","d-px4","d-ba","d-bar4","d-fs-100",e.inverted?"d-bc-moderate-inverted":"d-bc-default"]},[e.screenReaderText?a("span",{staticClass:"sr-only"},[e._v(" "+e._s(e.screenReaderText)+" ")]):e._e(),e._l(e.formattedShortcutSplit,function(n,m){return[e.icons[n]?a("dt-icon",{key:`${m}-${n}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{name:e.icons[n],size:"100","aria-hidden":"true"}}):a("span",{key:`${m}-${n}`,class:[e.inverted?"d-fc-secondary-inverted":"d-fc-tertiary","d-mr2"],attrs:{"aria-hidden":"true"},domProps:{innerHTML:e._s(n)}})]})],2)},Gu=[],Yu=Ye.normalizeComponent(Uu,Ku,Gu,!1,null,null,null,null);const Zu=Yu.exports,Tr={LEFT:"left",RIGHT:"right"},Ps=["sm","md","lg",null],Xu={name:"DtRootLayoutBody",props:{bodyClass:{type:[String,Array,Object],default:void 0},contentClass:{type:[String,Array,Object],default:void 0},sidebarClass:{type:[String,Array,Object],default:void 0},sidebarWidth:{type:String,default:void 0},fixed:{type:Boolean,default:void 0},sidebarPosition:{type:String,default:void 0}},computed:{bodyClasses(){return[this.bodyClass,{"d-root-layout__body--invert":this.sidebarPosition===Tr.RIGHT}]}}};var Qu=function(){var e=this,a=e._self._c;return a("div",{ref:"root-layout-body",class:["d-root-layout__body",e.bodyClasses],attrs:{"data-qa":"dt-root-layout-body"}},[e.$slots.sidebar?a("aside",{ref:"root-layout-sidebar",class:["d-root-layout__sidebar",{"d-root-layout__sidebar--sticky":e.fixed},e.sidebarClass],style:{"flex-basis":e.sidebarWidth},attrs:{"data-qa":"dt-root-layout-sidebar"}},[e._t("sidebar")],2):e._e(),e.$slots.content?a("main",{ref:"root-layout-content",class:["d-root-layout__content",e.contentClass],attrs:{"data-qa":"dt-root-layout-content",tabindex:"0"}},[e._t("content")],2):e._e()])},Ju=[],ep=Ye.normalizeComponent(Xu,Qu,Ju,!1,null,null,null,null);const tp=ep.exports,np={name:"DtRootLayout",components:{DtRootLayoutBody:tp},props:{fixed:{type:Boolean,default:!0},headerClass:{type:[String,Array,Object],default:""},headerHeight:{type:String,default:"64px"},bodyClass:{type:[String,Array,Object],default:""},headerSticky:{type:Boolean,default:!1},contentClass:{type:[String,Array,Object],default:""},sidebarClass:{type:[String,Array,Object],default:""},sidebarWidth:{type:String,default:"256px"},sidebarPosition:{type:String,default:"left",validator:t=>Object.values(Tr).includes(t)},footerClass:{type:[String,Array,Object],default:""},footerHeight:{type:String,default:"64px"},responsiveBreakpoint:{type:String,default:null,validator:t=>Ps.includes(t)}},computed:{responsiveClass(){if(this.responsiveBreakpoint)return`d-root-layout__responsive--${this.responsiveBreakpoint}`}}};var ap=function(){var e=this,a=e._self._c;return a("div",{class:["root-layout d-root-layout",{"d-root-layout--fixed":e.fixed},e.responsiveClass],attrs:{"data-qa":"dt-root-layout"}},[e.$slots.header?a("header",{class:["d-root-layout__header",{"d-root-layout__header--sticky":e.headerSticky},e.headerClass],style:{height:e.headerHeight,"min-height":e.headerHeight},attrs:{"data-qa":"dt-root-layout-header"}},[e._t("header")],2):e._e(),a("dt-root-layout-body",{attrs:{"body-class":e.bodyClass,"content-class":e.contentClass,"sidebar-class":e.sidebarClass,"sidebar-width":e.sidebarWidth,"sidebar-position":e.sidebarPosition,"header-height":e.$slots.header?e.headerHeight:"0px","footer-height":e.$slots.footer?e.footerHeight:"0px",fixed:e.fixed},scopedSlots:e._u([e.$slots.sidebar?{key:"sidebar",fn:function(){return[e._t("sidebar")]},proxy:!0}:null,e.$slots.default?{key:"content",fn:function(){return[e._t("default")]},proxy:!0}:null],null,!0)}),e.$slots.footer?a("footer",{class:["d-root-layout__footer",e.footerClass],style:{height:e.footerHeight,"min-height":e.footerHeight},attrs:{"data-qa":"dt-root-layout-footer"}},[e._t("footer")],2):e._e()],1)},rp=[],ip=Ye.normalizeComponent(np,ap,rp,!1,null,null,null,null);const sp=ip.exports,b5={default:"column",column:"column",row:"row","row-reverse":"row-reverse","column-reverse":"column-reverse"},Ms=["sm","md","lg","xl"],Ar=["0","100","200","300","400","500","600"];function li(t){return t===b5.default}function di(t){if(U5(t)==="string")return li(t)?null:b5[t];if(U5(t)==="object"){const{default:e}=t;return li(e)?null:b5[e]}else return null}function U5(t){return typeof t}function op(t){return di(t)?`d-stack--${b5[di(t)]}`:null}function lp(t){return U5(t)==="object"?[...Ms.map(e=>t[e]?`d-stack--${e}--${t[e]}`:null)]:null}function dp(t){return Ar.includes(t)?`d-stack--gap-${t}`:null}function cp(t){if(U5(t)==="string")return Object.keys(b5).includes(t);if(U5(t)==="object"){const{default:e}=t;return Object.keys(b5).includes(e)}else return null}function up(t){return Ar.includes(t)}const pp={name:"DtStack",props:{direction:{type:[String,Object],default:"column",validator:t=>cp(t)},as:{type:String,default:"div"},gap:{type:String,default:"0",validator:t=>up(t)}},data(){return{DT_STACK_DIRECTION:b5,DT_STACK_GAP:Ar,DT_STACK_RESPONSIVE_BREAKPOINTS:Ms}},computed:{stackGap(){return dp(this.gap)},defaultDirection(){return op(this.direction)},stackResponsive(){return lp(this.direction)}}};var fp=function(){var e=this,a=e._self._c;return a(e.as,{tag:"component",class:["d-stack",e.defaultDirection,e.stackResponsive,e.stackGap]},[e._t("default")],2)},hp=[],mp=Ye.normalizeComponent(pp,fp,hp,!1,null,null,null,null);const vp=mp.exports;function K5(t){"@babel/helpers - typeof";return K5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},K5(t)}function mn(t){if(t===null||t===!0||t===!1)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function sn(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function dn(t){sn(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||K5(t)==="object"&&e==="[object Date]"?new Date(t.getTime()):typeof t=="number"||e==="[object Number]"?new Date(t):((typeof t=="string"||e==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ns(t,e){sn(2,arguments);var a=dn(t),n=mn(e);return isNaN(n)?new Date(NaN):(n&&a.setDate(a.getDate()+n),a)}function Bs(t,e){sn(2,arguments);var a=dn(t),n=mn(e);if(isNaN(n))return new Date(NaN);if(!n)return a;var m=a.getDate(),w=new Date(a.getTime());w.setMonth(a.getMonth()+n+1,0);var V=w.getDate();return m>=V?w:(a.setFullYear(w.getFullYear(),w.getMonth(),m),a)}function gp(t,e){sn(2,arguments);var a=dn(t).getTime(),n=mn(e);return new Date(a+n)}var _p={};function ta(){return _p}function yp(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=ta(),xe=mn((a=(n=(m=(w=e==null?void 0:e.weekStartsOn)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.weekStartsOn)!==null&&m!==void 0?m:Oe.weekStartsOn)!==null&&n!==void 0?n:(Ce=Oe.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.weekStartsOn)!==null&&a!==void 0?a:0);if(!(xe>=0&&xe<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Ft=dn(t),Tt=Ft.getDay(),qt=(Tt<xe?7:0)+Tt-xe;return Ft.setDate(Ft.getDate()-qt),Ft.setHours(0,0,0,0),Ft}function bp(t){var e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),t.getTime()-e.getTime()}function Cp(t){return sn(1,arguments),t instanceof Date||K5(t)==="object"&&Object.prototype.toString.call(t)==="[object Date]"}function Sp(t){if(sn(1,arguments),!Cp(t)&&typeof t!="number")return!1;var e=dn(t);return!isNaN(Number(e))}function wp(t,e){sn(2,arguments);var a=mn(e);return gp(t,-a)}var Op=864e5;function Ep(t){sn(1,arguments);var e=dn(t),a=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),m=a-n;return Math.floor(m/Op)+1}function ma(t){sn(1,arguments);var e=1,a=dn(t),n=a.getUTCDay(),m=(n<e?7:0)+n-e;return a.setUTCDate(a.getUTCDate()-m),a.setUTCHours(0,0,0,0),a}function Fs(t){sn(1,arguments);var e=dn(t),a=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(a+1,0,4),n.setUTCHours(0,0,0,0);var m=ma(n),w=new Date(0);w.setUTCFullYear(a,0,4),w.setUTCHours(0,0,0,0);var V=ma(w);return e.getTime()>=m.getTime()?a+1:e.getTime()>=V.getTime()?a:a-1}function xp(t){sn(1,arguments);var e=Fs(t),a=new Date(0);a.setUTCFullYear(e,0,4),a.setUTCHours(0,0,0,0);var n=ma(a);return n}var Ip=6048e5;function Tp(t){sn(1,arguments);var e=dn(t),a=ma(e).getTime()-xp(e).getTime();return Math.round(a/Ip)+1}function va(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=ta(),xe=mn((a=(n=(m=(w=e==null?void 0:e.weekStartsOn)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.weekStartsOn)!==null&&m!==void 0?m:Oe.weekStartsOn)!==null&&n!==void 0?n:(Ce=Oe.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.weekStartsOn)!==null&&a!==void 0?a:0);if(!(xe>=0&&xe<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var Ft=dn(t),Tt=Ft.getUTCDay(),qt=(Tt<xe?7:0)+Tt-xe;return Ft.setUTCDate(Ft.getUTCDate()-qt),Ft.setUTCHours(0,0,0,0),Ft}function Vs(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=dn(t),xe=Oe.getUTCFullYear(),Ft=ta(),Tt=mn((a=(n=(m=(w=e==null?void 0:e.firstWeekContainsDate)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.firstWeekContainsDate)!==null&&m!==void 0?m:Ft.firstWeekContainsDate)!==null&&n!==void 0?n:(Ce=Ft.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(Tt>=1&&Tt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var qt=new Date(0);qt.setUTCFullYear(xe+1,0,Tt),qt.setUTCHours(0,0,0,0);var zt=va(qt,e),It=new Date(0);It.setUTCFullYear(xe,0,Tt),It.setUTCHours(0,0,0,0);var Wt=va(It,e);return Oe.getTime()>=zt.getTime()?xe+1:Oe.getTime()>=Wt.getTime()?xe:xe-1}function Ap(t,e){var a,n,m,w,V,le,Ce,Ee;sn(1,arguments);var Oe=ta(),xe=mn((a=(n=(m=(w=e==null?void 0:e.firstWeekContainsDate)!==null&&w!==void 0?w:e==null||(V=e.locale)===null||V===void 0||(le=V.options)===null||le===void 0?void 0:le.firstWeekContainsDate)!==null&&m!==void 0?m:Oe.firstWeekContainsDate)!==null&&n!==void 0?n:(Ce=Oe.locale)===null||Ce===void 0||(Ee=Ce.options)===null||Ee===void 0?void 0:Ee.firstWeekContainsDate)!==null&&a!==void 0?a:1),Ft=Vs(t,e),Tt=new Date(0);Tt.setUTCFullYear(Ft,0,xe),Tt.setUTCHours(0,0,0,0);var qt=va(Tt,e);return qt}var Dp=6048e5;function Lp(t,e){sn(1,arguments);var a=dn(t),n=va(a,e).getTime()-Ap(a,e).getTime();return Math.round(n/Dp)+1}function nn(t,e){for(var a=t<0?"-":"",n=Math.abs(t).toString();n.length<e;)n="0"+n;return a+n}var kp={y:function(e,a){var n=e.getUTCFullYear(),m=n>0?n:1-n;return nn(a==="yy"?m%100:m,a.length)},M:function(e,a){var n=e.getUTCMonth();return a==="M"?String(n+1):nn(n+1,2)},d:function(e,a){return nn(e.getUTCDate(),a.length)},a:function(e,a){var n=e.getUTCHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,a){return nn(e.getUTCHours()%12||12,a.length)},H:function(e,a){return nn(e.getUTCHours(),a.length)},m:function(e,a){return nn(e.getUTCMinutes(),a.length)},s:function(e,a){return nn(e.getUTCSeconds(),a.length)},S:function(e,a){var n=a.length,m=e.getUTCMilliseconds(),w=Math.floor(m*Math.pow(10,n-3));return nn(w,a.length)}};const n5=kp;var w5={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},$p={G:function(e,a,n){var m=e.getUTCFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(m,{width:"abbreviated"});case"GGGGG":return n.era(m,{width:"narrow"});case"GGGG":default:return n.era(m,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){var m=e.getUTCFullYear(),w=m>0?m:1-m;return n.ordinalNumber(w,{unit:"year"})}return n5.y(e,a)},Y:function(e,a,n,m){var w=Vs(e,m),V=w>0?w:1-w;if(a==="YY"){var le=V%100;return nn(le,2)}return a==="Yo"?n.ordinalNumber(V,{unit:"year"}):nn(V,a.length)},R:function(e,a){var n=Fs(e);return nn(n,a.length)},u:function(e,a){var n=e.getUTCFullYear();return nn(n,a.length)},Q:function(e,a,n){var m=Math.ceil((e.getUTCMonth()+1)/3);switch(a){case"Q":return String(m);case"QQ":return nn(m,2);case"Qo":return n.ordinalNumber(m,{unit:"quarter"});case"QQQ":return n.quarter(m,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(m,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(m,{width:"wide",context:"formatting"})}},q:function(e,a,n){var m=Math.ceil((e.getUTCMonth()+1)/3);switch(a){case"q":return String(m);case"qq":return nn(m,2);case"qo":return n.ordinalNumber(m,{unit:"quarter"});case"qqq":return n.quarter(m,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(m,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(m,{width:"wide",context:"standalone"})}},M:function(e,a,n){var m=e.getUTCMonth();switch(a){case"M":case"MM":return n5.M(e,a);case"Mo":return n.ordinalNumber(m+1,{unit:"month"});case"MMM":return n.month(m,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(m,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(m,{width:"wide",context:"formatting"})}},L:function(e,a,n){var m=e.getUTCMonth();switch(a){case"L":return String(m+1);case"LL":return nn(m+1,2);case"Lo":return n.ordinalNumber(m+1,{unit:"month"});case"LLL":return n.month(m,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(m,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(m,{width:"wide",context:"standalone"})}},w:function(e,a,n,m){var w=Lp(e,m);return a==="wo"?n.ordinalNumber(w,{unit:"week"}):nn(w,a.length)},I:function(e,a,n){var m=Tp(e);return a==="Io"?n.ordinalNumber(m,{unit:"week"}):nn(m,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):n5.d(e,a)},D:function(e,a,n){var m=Ep(e);return a==="Do"?n.ordinalNumber(m,{unit:"dayOfYear"}):nn(m,a.length)},E:function(e,a,n){var m=e.getUTCDay();switch(a){case"E":case"EE":case"EEE":return n.day(m,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(m,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(m,{width:"short",context:"formatting"});case"EEEE":default:return n.day(m,{width:"wide",context:"formatting"})}},e:function(e,a,n,m){var w=e.getUTCDay(),V=(w-m.weekStartsOn+8)%7||7;switch(a){case"e":return String(V);case"ee":return nn(V,2);case"eo":return n.ordinalNumber(V,{unit:"day"});case"eee":return n.day(w,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(w,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(w,{width:"short",context:"formatting"});case"eeee":default:return n.day(w,{width:"wide",context:"formatting"})}},c:function(e,a,n,m){var w=e.getUTCDay(),V=(w-m.weekStartsOn+8)%7||7;switch(a){case"c":return String(V);case"cc":return nn(V,a.length);case"co":return n.ordinalNumber(V,{unit:"day"});case"ccc":return n.day(w,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(w,{width:"narrow",context:"standalone"});case"cccccc":return n.day(w,{width:"short",context:"standalone"});case"cccc":default:return n.day(w,{width:"wide",context:"standalone"})}},i:function(e,a,n){var m=e.getUTCDay(),w=m===0?7:m;switch(a){case"i":return String(w);case"ii":return nn(w,a.length);case"io":return n.ordinalNumber(w,{unit:"day"});case"iii":return n.day(m,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(m,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(m,{width:"short",context:"formatting"});case"iiii":default:return n.day(m,{width:"wide",context:"formatting"})}},a:function(e,a,n){var m=e.getUTCHours(),w=m/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(w,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(w,{width:"wide",context:"formatting"})}},b:function(e,a,n){var m=e.getUTCHours(),w;switch(m===12?w=w5.noon:m===0?w=w5.midnight:w=m/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(w,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(w,{width:"wide",context:"formatting"})}},B:function(e,a,n){var m=e.getUTCHours(),w;switch(m>=17?w=w5.evening:m>=12?w=w5.afternoon:m>=4?w=w5.morning:w=w5.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(w,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(w,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(w,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){var m=e.getUTCHours()%12;return m===0&&(m=12),n.ordinalNumber(m,{unit:"hour"})}return n5.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):n5.H(e,a)},K:function(e,a,n){var m=e.getUTCHours()%12;return a==="Ko"?n.ordinalNumber(m,{unit:"hour"}):nn(m,a.length)},k:function(e,a,n){var m=e.getUTCHours();return m===0&&(m=24),a==="ko"?n.ordinalNumber(m,{unit:"hour"}):nn(m,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):n5.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):n5.s(e,a)},S:function(e,a){return n5.S(e,a)},X:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();if(V===0)return"Z";switch(a){case"X":return ui(V);case"XXXX":case"XX":return v5(V);case"XXXXX":case"XXX":default:return v5(V,":")}},x:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();switch(a){case"x":return ui(V);case"xxxx":case"xx":return v5(V);case"xxxxx":case"xxx":default:return v5(V,":")}},O:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+ci(V,":");case"OOOO":default:return"GMT"+v5(V,":")}},z:function(e,a,n,m){var w=m._originalDate||e,V=w.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+ci(V,":");case"zzzz":default:return"GMT"+v5(V,":")}},t:function(e,a,n,m){var w=m._originalDate||e,V=Math.floor(w.getTime()/1e3);return nn(V,a.length)},T:function(e,a,n,m){var w=m._originalDate||e,V=w.getTime();return nn(V,a.length)}};function ci(t,e){var a=t>0?"-":"+",n=Math.abs(t),m=Math.floor(n/60),w=n%60;if(w===0)return a+String(m);var V=e||"";return a+String(m)+V+nn(w,2)}function ui(t,e){if(t%60===0){var a=t>0?"-":"+";return a+nn(Math.abs(t)/60,2)}return v5(t,e)}function v5(t,e){var a=e||"",n=t>0?"-":"+",m=Math.abs(t),w=nn(Math.floor(m/60),2),V=nn(m%60,2);return n+w+a+V}const Rp=$p;var pi=function(e,a){switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},js=function(e,a){switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Pp=function(e,a){var n=e.match(/(P+)(p+)?/)||[],m=n[1],w=n[2];if(!w)return pi(e,a);var V;switch(m){case"P":V=a.dateTime({width:"short"});break;case"PP":V=a.dateTime({width:"medium"});break;case"PPP":V=a.dateTime({width:"long"});break;case"PPPP":default:V=a.dateTime({width:"full"});break}return V.replace("{{date}}",pi(m,a)).replace("{{time}}",js(w,a))},Mp={p:js,P:Pp};const Np=Mp;var Bp=["D","DD"],Fp=["YY","YYYY"];function Vp(t){return Bp.indexOf(t)!==-1}function jp(t){return Fp.indexOf(t)!==-1}function fi(t,e,a){if(t==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(t==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(a,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var qp={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Hp=function(e,a,n){var m,w=qp[e];return typeof w=="string"?m=w:a===1?m=w.one:m=w.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+m:m+" ago":m};const zp=Hp;function Va(t){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=e.width?String(e.width):t.defaultWidth,n=t.formats[a]||t.formats[t.defaultWidth];return n}}var Wp={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Up={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kp={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Gp={date:Va({formats:Wp,defaultWidth:"full"}),time:Va({formats:Up,defaultWidth:"full"}),dateTime:Va({formats:Kp,defaultWidth:"full"})};const Yp=Gp;var Zp={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Xp=function(e,a,n,m){return Zp[e]};const Qp=Xp;function P5(t){return function(e,a){var n=a!=null&&a.context?String(a.context):"standalone",m;if(n==="formatting"&&t.formattingValues){var w=t.defaultFormattingWidth||t.defaultWidth,V=a!=null&&a.width?String(a.width):w;m=t.formattingValues[V]||t.formattingValues[w]}else{var le=t.defaultWidth,Ce=a!=null&&a.width?String(a.width):t.defaultWidth;m=t.values[Ce]||t.values[le]}var Ee=t.argumentCallback?t.argumentCallback(e):e;return m[Ee]}}var Jp={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ef={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},tf={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},nf={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},af={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},rf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},sf=function(e,a){var n=Number(e),m=n%100;if(m>20||m<10)switch(m%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},of={ordinalNumber:sf,era:P5({values:Jp,defaultWidth:"wide"}),quarter:P5({values:ef,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:P5({values:tf,defaultWidth:"wide"}),day:P5({values:nf,defaultWidth:"wide"}),dayPeriod:P5({values:af,defaultWidth:"wide",formattingValues:rf,defaultFormattingWidth:"wide"})};const lf=of;function M5(t){return function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.width,m=n&&t.matchPatterns[n]||t.matchPatterns[t.defaultMatchWidth],w=e.match(m);if(!w)return null;var V=w[0],le=n&&t.parsePatterns[n]||t.parsePatterns[t.defaultParseWidth],Ce=Array.isArray(le)?cf(le,function(xe){return xe.test(V)}):df(le,function(xe){return xe.test(V)}),Ee;Ee=t.valueCallback?t.valueCallback(Ce):Ce,Ee=a.valueCallback?a.valueCallback(Ee):Ee;var Oe=e.slice(V.length);return{value:Ee,rest:Oe}}}function df(t,e){for(var a in t)if(t.hasOwnProperty(a)&&e(t[a]))return a}function cf(t,e){for(var a=0;a<t.length;a++)if(e(t[a]))return a}function uf(t){return function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;var m=n[0],w=e.match(t.parsePattern);if(!w)return null;var V=t.valueCallback?t.valueCallback(w[0]):w[0];V=a.valueCallback?a.valueCallback(V):V;var le=e.slice(m.length);return{value:V,rest:le}}}var pf=/^(\d+)(th|st|nd|rd)?/i,ff=/\d+/i,hf={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},mf={any:[/^b/i,/^(a|c)/i]},vf={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gf={any:[/1/i,/2/i,/3/i,/4/i]},_f={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},yf={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},bf={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Cf={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Sf={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},wf={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Of={ordinalNumber:uf({matchPattern:pf,parsePattern:ff,valueCallback:function(e){return parseInt(e,10)}}),era:M5({matchPatterns:hf,defaultMatchWidth:"wide",parsePatterns:mf,defaultParseWidth:"any"}),quarter:M5({matchPatterns:vf,defaultMatchWidth:"wide",parsePatterns:gf,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:M5({matchPatterns:_f,defaultMatchWidth:"wide",parsePatterns:yf,defaultParseWidth:"any"}),day:M5({matchPatterns:bf,defaultMatchWidth:"wide",parsePatterns:Cf,defaultParseWidth:"any"}),dayPeriod:M5({matchPatterns:Sf,defaultMatchWidth:"any",parsePatterns:wf,defaultParseWidth:"any"})};const Ef=Of;var xf={code:"en-US",formatDistance:zp,formatLong:Yp,formatRelative:Qp,localize:lf,match:Ef,options:{weekStartsOn:0,firstWeekContainsDate:1}};const If=xf;var Tf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Af=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Df=/^'([^]*?)'?$/,Lf=/''/g,kf=/[a-zA-Z]/;function C5(t,e,a){var n,m,w,V,le,Ce,Ee,Oe,xe,Ft,Tt,qt,zt,It,Wt,Ht,Yt,ie;sn(2,arguments);var Ut=String(e),Bt=ta(),Kt=(n=(m=a==null?void 0:a.locale)!==null&&m!==void 0?m:Bt.locale)!==null&&n!==void 0?n:If,Jt=mn((w=(V=(le=(Ce=a==null?void 0:a.firstWeekContainsDate)!==null&&Ce!==void 0?Ce:a==null||(Ee=a.locale)===null||Ee===void 0||(Oe=Ee.options)===null||Oe===void 0?void 0:Oe.firstWeekContainsDate)!==null&&le!==void 0?le:Bt.firstWeekContainsDate)!==null&&V!==void 0?V:(xe=Bt.locale)===null||xe===void 0||(Ft=xe.options)===null||Ft===void 0?void 0:Ft.firstWeekContainsDate)!==null&&w!==void 0?w:1);if(!(Jt>=1&&Jt<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var en=mn((Tt=(qt=(zt=(It=a==null?void 0:a.weekStartsOn)!==null&&It!==void 0?It:a==null||(Wt=a.locale)===null||Wt===void 0||(Ht=Wt.options)===null||Ht===void 0?void 0:Ht.weekStartsOn)!==null&&zt!==void 0?zt:Bt.weekStartsOn)!==null&&qt!==void 0?qt:(Yt=Bt.locale)===null||Yt===void 0||(ie=Yt.options)===null||ie===void 0?void 0:ie.weekStartsOn)!==null&&Tt!==void 0?Tt:0);if(!(en>=0&&en<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!Kt.localize)throw new RangeError("locale must contain localize property");if(!Kt.formatLong)throw new RangeError("locale must contain formatLong property");var Xt=dn(t);if(!Sp(Xt))throw new RangeError("Invalid time value");var Gt=bp(Xt),Qt=wp(Xt,Gt),an={firstWeekContainsDate:Jt,weekStartsOn:en,locale:Kt,_originalDate:Xt},fn=Ut.match(Af).map(function(tn){var rn=tn[0];if(rn==="p"||rn==="P"){var on=Np[rn];return on(tn,Kt.formatLong)}return tn}).join("").match(Tf).map(function(tn){if(tn==="''")return"'";var rn=tn[0];if(rn==="'")return $f(tn);var on=Rp[rn];if(on)return!(a!=null&&a.useAdditionalWeekYearTokens)&&jp(tn)&&fi(tn,e,String(t)),!(a!=null&&a.useAdditionalDayOfYearTokens)&&Vp(tn)&&fi(tn,e,String(t)),on(Qt,tn,Kt.localize,an);if(rn.match(kf))throw new RangeError("Format string contains an unescaped latin alphabet character `"+rn+"`");return tn}).join("");return fn}function $f(t){var e=t.match(Df);return e?e[1].replace(Lf,"'"):t}function Rf(t){sn(1,arguments);var e=dn(t),a=e.getDate();return a}function Pf(t){sn(1,arguments);var e=dn(t),a=e.getFullYear(),n=e.getMonth(),m=new Date(0);return m.setFullYear(a,n+1,0),m.setHours(0,0,0,0),m.getDate()}function ua(t){sn(1,arguments);var e=dn(t),a=e.getMonth();return a}function or(t){return sn(1,arguments),dn(t).getFullYear()}function Mf(t,e){sn(2,arguments);var a=dn(t),n=dn(e);return a.getTime()===n.getTime()}function Nf(t,e){sn(2,arguments);var a=dn(t),n=mn(e),m=a.getFullYear(),w=a.getDate(),V=new Date(0);V.setFullYear(m,n,15),V.setHours(0,0,0,0);var le=Pf(V);return a.setMonth(n,Math.min(w,le)),a}function Bf(t,e){if(sn(2,arguments),K5(e)!=="object"||e===null)throw new RangeError("values parameter must be an object");var a=dn(t);return isNaN(a.getTime())?new Date(NaN):(e.year!=null&&a.setFullYear(e.year),e.month!=null&&(a=Nf(a,e.month)),e.date!=null&&a.setDate(mn(e.date)),e.hours!=null&&a.setHours(mn(e.hours)),e.minutes!=null&&a.setMinutes(mn(e.minutes)),e.seconds!=null&&a.setSeconds(mn(e.seconds)),e.milliseconds!=null&&a.setMilliseconds(mn(e.milliseconds)),a)}function Ff(t,e){sn(2,arguments);var a=mn(e);return Bs(t,-a)}const qs=0,Hs="MMMM",lr=t=>t?new Date(t):new Date,Vf=(t,e,a)=>{const n=lr(JSON.parse(JSON.stringify(t))),m=[];for(let w=0;w<7;w++){const V=Ns(n,w),le=ua(V)!==e;m.push({text:V.getDate(),value:V,currentMonth:!le,isFirstDayOfMonth:V.getDate()===1&&!le,selected:a?V.getDate()===a&&!le:!1})}return m},jf=(t,e)=>!t||!e?!1:Mf(t,e),qf=(t,e,a)=>{const n=[],m=lr(new Date(e,t)),w=lr(new Date(e,t+1,0)),le=yp(m,{weekStartsOn:qs}),Ce=Ee=>{const Oe=Vf(Ee,t,a);if(n.push({days:Oe}),!n[n.length-1].days.some(xe=>jf(xe.value,w))){const xe=Ns(Ee,7);Ce(xe)}};return Ce(le),n},Hf=(t,e)=>{const a=[1,2,3,4,5,6,7].map(w=>new Intl.DateTimeFormat(t,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${w}T00:00:00+00:00`)).slice(0,2)),n=a.slice(0,e),m=a.slice(e+1,a.length);return[a[e]].concat(...m).concat(...n)},zf=(t,e)=>C5(new Date(2e3,t,1),e),Wf={name:"DtDatepickerMonthYearPicker",components:{DtIcon:ln},props:{prevMonthLabel:{type:String,required:!0},nextMonthLabel:{type:String,required:!0},prevYearLabel:{type:String,required:!0},nextYearLabel:{type:String,required:!0},changeToLabel:{type:String,required:!0},selectedDate:{type:Date,required:!0}},emits:["calendar-days","focus-day","close-datepicker"],data(){return{selectMonth:ua(this.selectedDate),selectYear:or(this.selectedDate),highlightedDay:null,focusPicker:0,focusRefs:[]}},computed:{calendarDays(){return qf(this.selectMonth,this.selectYear,this.highlightedDay)},formattedMonth(){return(t,e)=>zf(t,e)},MONTH_FORMAT(){return Hs}},watch:{selectMonth:{handler(){this.highlightDay(),this.$emit("calendar-days",this.calendarDays)},immediate:!0},selectYear:{handler(){this.highlightDay(),this.$emit("calendar-days",this.calendarDays)},immediate:!0}},mounted(){this.focusMonthYearPicker()},methods:{setDayRef(t){this.focusRefs.includes(t)||this.focusRefs.push(t)},focusMonthYearPicker(){this.focusRefs[0].focus()},handleKeyDown(t){switch(t.key){case"ArrowLeft":t.preventDefault(),this.focusPicker===0?(this.focusPicker=3,this.focusRefs[this.focusPicker].focus()):(this.focusPicker--,this.focusRefs[this.focusPicker].focus());break;case"ArrowRight":t.preventDefault(),this.focusPicker===3?(this.focusPicker=0,this.focusRefs[this.focusPicker].focus()):(this.focusPicker++,this.focusRefs[this.focusPicker].focus());break;case"ArrowDown":t.preventDefault(),this.$emit("focus-day");break;case"Tab":this.$emit("focus-day");break;case"Escape":this.$emit("close-datepicker");break}},highlightDay(){const t=or(this.selectedDate),e=ua(this.selectedDate);t!==this.selectYear||e!==this.selectMonth?this.highlightedDay=null:this.highlightedDay=Rf(this.selectedDate)},changeMonth(t){const e=Bf(this.selectedDate,{month:this.selectMonth,year:this.selectYear}),a=++t?Bs(e,1):Ff(e,1);this.selectMonth=ua(a)},changeYear(t){this.selectYear=this.selectYear+t}}};var Uf=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-datepicker__month-year-picker"},[a("div",[a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"prevYearButton",type:"button","aria-label":`${e.changeToLabel} ${e.prevYearLabel} ${e.selectYear-1}`},on:{click:function(n){return e.changeYear(-1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevrons-left",size:"400"}})],1),a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"prevMonthButton",type:"button","aria-label":`${e.changeToLabel} ${e.prevMonthLabel} ${e.formattedMonth(e.selectMonth-1,e.MONTH_FORMAT)}`},on:{click:function(n){return e.changeMonth(-1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevron-left",size:"300"}})],1)]),a("div",[a("p",[e._v(" "+e._s(e.formattedMonth(e.selectMonth,e.MONTH_FORMAT))+" "+e._s(e.selectYear)+" ")])]),a("div",[a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"nextMonthButton",type:"button","aria-label":`${e.changeToLabel} ${e.nextMonthLabel} ${e.formattedMonth(e.selectMonth+1,e.MONTH_FORMAT)}`},on:{click:function(n){return e.changeMonth(1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevron-right",size:"300"}})],1),a("button",{ref:n=>{n&&e.setDayRef(n)},attrs:{id:"nextYearButton",type:"button","aria-label":`${e.changeToLabel} ${e.nextYearLabel} ${e.selectYear+1}`},on:{click:function(n){return e.changeYear(1)},keydown:function(n){return e.handleKeyDown(n)}}},[a("dt-icon",{attrs:{name:"chevrons-right",size:"300"}})],1)])])},Kf=[],Gf=Ye.normalizeComponent(Wf,Uf,Kf,!1,null,null,null,null);const Yf=Gf.exports,Zf={name:"DtDatepickerCalendar",props:{calendarDays:{type:Array,required:!0},locale:{type:String,required:!0},selectDayLabel:{type:String,required:!0}},emits:["select-date","focus-month-year-picker","close-datepicker"],data(){return{selectedDay:null,focusDay:0,daysRef:[]}},computed:{weekDays(){return Hf(this.locale,qs)}},watch:{calendarDays(){this.focusDay=0,this.daysRef=[],this.selectedDay=null}},methods:{dayAriaLabel(t){return`${this.selectDayLabel} ${t.text} ${C5(t.value,Hs)} ${or(t.value)}`},setDayRef(t,e){!this.daysRef.includes(t)&&e&&this.daysRef.push(t)},handleKeyDown(t){switch(t.key){case"ArrowUp":t.preventDefault(),this.focusDay-=7;try{this.daysRef[this.focusDay].focus()}catch{this.$emit("focus-month-year-picker")}break;case"ArrowDown":t.preventDefault(),this.focusDay+=7;try{this.daysRef[this.focusDay].focus()}catch{this.$emit("focus-month-year-picker")}break;case"ArrowLeft":t.preventDefault(),this.focusDay>0&&(this.focusDay-=1,this.daysRef[this.focusDay].focus());break;case"ArrowRight":t.preventDefault(),this.focusDay<this.daysRef.length-1&&(this.focusDay+=1,this.daysRef[this.focusDay].focus());break;case"Tab":t.preventDefault(),this.$emit("focus-month-year-picker");break;case"Escape":this.$emit("close-datepicker");break}},focusFirstDay(){this.focusDay=0,this.daysRef[this.focusDay].focus()},selectDay(t){t.currentMonth&&(this.selectedDay=t.text,this.$emit("select-date",t.value))}}};var Xf=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-datepicker__calendar"},[a("div",{staticClass:"d-datepicker__week-day"},e._l(e.weekDays,function(n){return a("div",{key:n},[a("p",[e._v(" "+e._s(n)+" ")])])}),0),e._l(e.calendarDays,function(n,m){return a("div",{key:m,staticClass:"d-datepicker__week"},e._l(n.days,function(w,V){return a("button",{key:m+V,ref:le=>{le&&e.setDayRef(le,w.currentMonth)},refInFor:!0,staticClass:"d-datepicker__day",class:{"d-datepicker__day--disabled":!w.currentMonth,"d-datepicker__day--selected":e.selectedDay?w.text===e.selectedDay&&w.currentMonth:w.selected},attrs:{type:"button","aria-label":e.dayAriaLabel(w)},on:{click:function(le){return e.selectDay(w)},keydown:function(le){return e.handleKeyDown(le)}}},[e._v(" "+e._s(w.text)+" ")])}),0)})],2)},Qf=[],Jf=Ye.normalizeComponent(Zf,Xf,Qf,!1,null,null,null,null);const e1=Jf.exports,t1={name:"DtDatepicker",components:{MonthYearPicker:Yf,Calendar:e1},props:{prevMonthLabel:{type:String,required:!0},nextMonthLabel:{type:String,required:!0},prevYearLabel:{type:String,required:!0},nextYearLabel:{type:String,required:!0},selectDayLabel:{type:String,required:!0},changeToLabel:{type:String,required:!0},locale:{type:String,default:"en-US"},selectedDate:{type:Date,default:()=>new Date}},emits:["selected-date","close-datepicker"],data(){return{calendarDays:[]}},methods:{updateCalendarDays(t){this.calendarDays=t}}};var n1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-datepicker"},[a("div",{staticClass:"d-datepicker--header"},[a("month-year-picker",{ref:"monthYearPicker",attrs:{"prev-month-label":e.prevMonthLabel,"next-month-label":e.nextMonthLabel,"prev-year-label":e.prevYearLabel,"next-year-label":e.nextYearLabel,"change-to-label":e.changeToLabel,"selected-date":e.selectedDate},on:{"calendar-days":e.updateCalendarDays,"focus-day":function(n){return e.$refs.calendar.focusFirstDay()},"close-datepicker":function(n){return e.$emit("close-datepicker")}}})],1),a("div",{staticClass:"d-datepicker--body"},[a("calendar",{ref:"calendar",attrs:{locale:e.locale,"calendar-days":e.calendarDays,"select-day-label":e.selectDayLabel},on:{"select-date":function(n){return e.$emit("selected-date",n)},"focus-month-year-picker":function(n){return e.$refs.monthYearPicker.focusMonthYearPicker()},"close-datepicker":function(n){return e.$emit("close-datepicker")}}})],1)])},a1=[],r1=Ye.normalizeComponent(t1,n1,a1,!1,null,null,null,null);const i1=r1.exports;function s1(t){return C5(t,"EEEE, MMMM d, yyyy")}function o1(t){return C5(t,"MMMM d, yyyy")}function l1(t,e=!0){return C5(t,e?"EEE, MMM d, yyyy":"MMM d, yyyy")}function d1(t,e=!1){return C5(t,e?"MMM d":"MMMM d")}function c1(t){return C5(t,"MM/dd/yy")}const u1={name:"DtRecipeComboboxWithPopover",components:{DtCombobox:Ui,DtPopover:wa,ComboboxLoadingList:Hi,ComboboxEmptyList:zi},mixins:[Zn],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},size:{type:String,default:null,validator:t=>Object.values(Wi).includes(t)},description:{type:String,default:""},showList:{type:Boolean,default:null},listId:{type:String,default(){return pn()}},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(V5).some(e=>e===t)},contentWidth:{type:String,default:null,validator:t=>Cr.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:""},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Sa.includes(t)||t instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["select","escape","highlight","opened"],data(){return{DROPDOWN_PADDING_CLASSES:V5,isListShown:!1,isInputFocused:!1,isListFocused:!1,externalAnchor:pn()}},computed:{comboboxListeners(){return{...this.$listeners,select:this.onSelect,escape:this.onEscape,highlight:this.onHighlight}}},watch:{showList:{handler:function(t){t!==null&&(this.isListShown=t)},immediate:!0},isListShown(t){t?window.addEventListener("mousedown",this.onFocusOut):window.removeEventListener("mousedown",this.onFocusOut),this.onOpened(t)}},methods:{handleDisplayList(t){!this.hasSuggestionList&&t&&this.showComboboxList(),!this.hasSuggestionList&&!t&&this.closeComboboxList()},showComboboxList(){this.showList==null&&(this.isListShown=!0)},closeComboboxList(){this.showList==null&&(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){var e;this.hasSuggestionList&&t&&((e=this.$refs.input)==null?void 0:e.querySelector("input"))===t.target&&this.showComboboxList()},onFocusOut(t){var n,m,w;const e=(m=(n=this.$refs.popover)==null?void 0:n.tip)==null?void 0:m.popper,a=this.$refs.input;(w=t.composedPath())!=null&&w.some(V=>[e,a].includes(V))||this.closeComboboxList()},openOnArrowKeyPress(){this.showList!==null||this.isListShown||!this.openWithArrowKeys||this.showComboboxList()}}};var p1=function(){var e=this,a=e._self._c;return a("dt-combobox",e._g({ref:"combobox",attrs:{loading:e.loading,label:e.label,"label-visible":e.labelVisible,size:e.size,description:e.description,"empty-list":e.emptyList,"empty-state-message":e.emptyStateMessage,"show-list":e.isListShown,"on-beginning-of-list":e.onBeginningOfList,"on-end-of-list":e.onEndOfList,"list-rendered-outside":!0,"list-id":e.listId,"data-qa":"dt-combobox"},scopedSlots:e._u([{key:"input",fn:function({inputProps:n}){return[a("div",{ref:"input",attrs:{id:e.externalAnchor},on:{focusin:e.onFocusIn,keydown:[function(m){return!m.type.indexOf("key")&&e._k(m.keyCode,"up",38,m.key,["Up","ArrowUp"])?null:e.openOnArrowKeyPress(m)},function(m){return!m.type.indexOf("key")&&e._k(m.keyCode,"down",40,m.key,["Down","ArrowDown"])?null:e.openOnArrowKeyPress(m)}]}},[e._t("input",null,{inputProps:n,onInput:e.handleDisplayList})],2)]}},{key:"list",fn:function({opened:n,listProps:m,clearHighlightIndex:w}){return[a("dt-popover",{ref:"popover",attrs:{open:e.isListShown,"hide-on-click":!1,"max-height":e.maxHeight,"max-width":e.maxWidth,offset:e.popoverOffset,sticky:e.popoverSticky,placement:"bottom-start","initial-focus-element":"none",padding:"none",role:"listbox","external-anchor":e.externalAnchor,"content-width":e.contentWidth,"content-tabindex":null,modal:!1,"auto-focus":!1,"append-to":e.appendTo,transition:e.transition,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose},on:{"update:open":function(V){e.isListShown=V},opened:function(V){return n(V,arguments[1])}},scopedSlots:e._u([{key:"headerContent",fn:function(){return[e.$slots.header?a("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"content",fn:function(){return[a("div",{ref:"listWrapper",class:[e.DROPDOWN_PADDING_CLASSES[e.padding],e.listClass],on:{mouseleave:w,focusout:w}},[e.loading?a("combobox-loading-list",e._b({},"combobox-loading-list",m,!1)):e.emptyList&&e.emptyStateMessage?a("combobox-empty-list",e._b({attrs:{message:e.emptyStateMessage}},"combobox-empty-list",m,!1)):e._t("list",null,{listProps:m})],2)]},proxy:!0},{key:"footerContent",fn:function(){return[e.$slots.footer?a("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})]}}],null,!0)},e.comboboxListeners))},f1=[],h1=Ye.normalizeComponent(u1,p1,f1,!1,null,null,null,null);const zs=h1.exports,Ws={EXTRA_SMALL:"xs",SMALL:"sm",DEFAULT:"md"},m1={xs:"xs",sm:"xs",md:"sm"},v1={xs:1.4,sm:.4,md:.2},g1={name:"DtRecipeComboboxMultiSelect",components:{DtRecipeComboboxWithPopover:zs,DtInput:Ss,DtChip:Ir,DtValidationMessages:s5},mixins:[Zn],props:{label:{type:String,required:!0},labelVisible:{type:Boolean,default:!0},description:{type:String,default:""},placeholder:{type:String,default:"Select one or start typing"},inputMessages:{type:Array,default:()=>[],validator:t=>ea(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:"md",validator:t=>Object.values(Ws).includes(t)},appendTo:{type:[HTMLElement,String],default:"body",validator:t=>Sa.includes(t)||t instanceof HTMLElement},transition:{type:String,default:"fade"}},emits:["input","select","remove","max-selected"],data(){return{value:"",popoverOffset:[0,4],showValidationMessages:!1,initialInputPadding:{},resizeWindowObserver:null,originalInputSize:null,CHIP_SIZES:m1}},computed:{inputPlaceHolder(){var t;return((t=this.selectedItems)==null?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:{async handler(){this.initSelectedItems()}},async label(){await this.$nextTick(),this.setChipsTopPosition()},async description(){await this.$nextTick(),this.setChipsTopPosition()},size:{async handler(){await this.$nextTick();const t=this.getInput();this.revertInputPadding(t),this.originalInputSize=t.getBoundingClientRect().height,this.setInputPadding(),this.setChipsTopPosition()}}},mounted(){this.resizeWindowObserver=new ResizeObserver(async()=>{this.setChipsTopPosition(),this.setInputPadding()}),this.resizeWindowObserver.observe(document.body),this.initSelectedItems()},beforeDestroy(){var t;(t=this.resizeWindowObserver)==null||t.unobserve(document.body)},methods:{async initSelectedItems(){await this.$nextTick(),this.setInputPadding(),this.setChipsTopPosition(),this.setInputMinWidth(),this.checkMaxSelected()},onChipRemove(t){var e;this.$emit("remove",t),(e=this.$refs.input)==null||e.focus()},onComboboxSelect(t){this.value="",this.$emit("select",t)},showComboboxList(){var t;this.showList==null&&((t=this.$refs.comboboxWithPopover)==null||t.showComboboxList())},closeComboboxList(){var t;this.showList==null&&((t=this.$refs.comboboxWithPopover)==null||t.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(t=this.$refs.input)==null?void 0:t.$refs.input},onChipKeyup(t){var a;const e=(a=t.code)==null?void 0:a.toLowerCase();e==="arrowleft"?this.navigateBetweenChips(t.target,!0):e==="arrowright"&&(t.target.id===this.getLastChipButton().id?this.moveFromChipToInput():this.navigateBetweenChips(t.target,!1))},onInputKeyup(t){var a;const e=(a=t.code)==null?void 0:a.toLowerCase();this.selectedItems.length>0&&t.target.selectionStart===0&&(e==="backspace"||e==="arrowleft")&&this.moveFromInputToChip()},moveFromInputToChip(){var t;this.getLastChipButton().focus(),(t=this.$refs.input)==null||t.blur(),this.closeComboboxList()},moveFromChipToInput(){var t;this.getLastChipButton().blur(),(t=this.$refs.input)==null||t.focus(),this.showComboboxList()},navigateBetweenChips(t,e){var m;const a=this.getChipButtons().indexOf(t),n=e?a-1:a+1;n<0||n>=((m=this.$refs.chips)==null?void 0:m.length)||(this.getChipButtons()[a].blur(),this.getChipButtons()[n].focus(),this.closeComboboxList())},setChipsTopPosition(){const t=this.getInput();if(!t)return;const e=this.$refs.inputSlotWrapper,a=t.getBoundingClientRect().top-e.getBoundingClientRect().top,n=this.$refs.chipsWrapper;n.style.top=a-v1[this.size]+"px"},setInputPadding(){const t=this.getLastChip(),e=this.getInput(),a=this.$refs.chipsWrapper;if(!e||(this.revertInputPadding(e),this.popoverOffset=[0,4],!t))return;const n=t.offsetLeft+this.getFullWidth(t);e.style.paddingLeft=n+"px";const m=a.getBoundingClientRect().height-4,w=t.offsetTop+2;m>this.originalInputSize&&(e.style.paddingTop=`${w}px`)},revertInputPadding(t){t.style.paddingLeft="",t.style.paddingTop="",t.style.paddingBottom=""},getFullWidth(t){const e=window.getComputedStyle(t);return t.offsetWidth+parseInt(e.marginLeft)+parseInt(e.marginRight)},setInputMinWidth(){const t=this.getFirstChip(),e=this.getInput();e&&(t?e.style.minWidth=this.getFullWidth(t)+4+"px":e.style.minWidth="")},checkMaxSelected(){this.maxSelected!==0&&(this.selectedItems.length>this.maxSelected?(this.showValidationMessages=!0,this.$emit("max-selected")):this.showValidationMessages=!1)}}};var _1=function(){var e=this,a=e._self._c;return a("dt-recipe-combobox-with-popover",{ref:"comboboxWithPopover",attrs:{label:e.label,"show-list":e.showList,"max-height":e.listMaxHeight,"popover-offset":e.popoverOffset,"has-suggestion-list":e.hasSuggestionList,"visually-hidden-close-label":e.visuallyHiddenCloseLabel,"visually-hidden-close":e.visuallyHiddenClose,"content-width":"anchor","append-to":e.appendTo,transition:e.transition},on:{select:e.onComboboxSelect},scopedSlots:e._u([{key:"input",fn:function({onInput:n}){return[a("span",{ref:"inputSlotWrapper",staticClass:"d-ps-relative d-d-block"},[a("span",{ref:"chipsWrapper",staticClass:"d-ps-absolute d-mx2 d-pl1"},e._l(e.selectedItems,function(m){return a("dt-chip",e._g({key:m.id,ref:"chips",refInFor:!0,class:["d-mt4","d-mx2","d-zi-base1"],attrs:{"label-class":["d-chip__label"],"close-button-props":{ariaLabel:"close"},size:e.CHIP_SIZES[e.size]},on:{keyup:function(w){return!w.type.indexOf("key")&&e._k(w.keyCode,"backspace",void 0,w.key,void 0)?null:e.onChipRemove(m)},close:function(w){return e.onChipRemove(m)}}},e.chipListeners),[e._v(" "+e._s(m)+" ")])}),1),a("dt-input",e._g({ref:"input",staticClass:"d-fl-grow1",attrs:{"aria-label":e.label,label:e.labelVisible?e.label:"",description:e.description,placeholder:e.inputPlaceHolder,"show-messages":e.showInputMessages,messages:e.inputMessages,size:e.size},on:{input:n},model:{value:e.value,callback:function(m){e.value=m},expression:"value"}},e.inputListeners)),a("dt-validation-messages",{attrs:{"validation-messages":e.maxSelectedMessage,"show-messages":e.showValidationMessages}})],1)]}},{key:"header",fn:function(){return[e.$slots.header?a("div",{ref:"header"},[e._t("header")],2):e._e()]},proxy:!0},{key:"list",fn:function(){return[a("div",{ref:"list",on:{mousedown:function(n){n.preventDefault()}}},[e.loading?a("div",{staticClass:"d-ta-center d-py16"},[e._v(" "+e._s(e.loadingMessage)+" ")]):e._t("list")],2)]},proxy:!0},{key:"footer",fn:function(){return[e.$slots.footer?a("div",{ref:"footer"},[e._t("footer")],2):e._e()]},proxy:!0}],null,!0)})},y1=[],b1=Ye.normalizeComponent(g1,_1,y1,!1,null,null,null,null);const C1=b1.exports,Dr=["sm","md","lg","xl"];const S1={name:"DtRecipeCallbarButton",components:{DtButton:vn,DtTooltip:Ea},inheritAttrs:!0,props:{id:{type:String,default(){return Nn.getUniqueString()}},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},circle:{type:Boolean,default:!1},ariaLabel:{type:String,default:null,validator:t=>t||globalThis.$slots.default},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:t=>Dr.includes(t)},importance:{type:String,default:""}},emits:["click"],computed:{callbarButtonClass(){return[this.buttonClass,"dt-recipe-callbar-button","d-px0",{"dt-recipe-callbar-button--circle":this.circle,"dt-recipe-callbar-button--active":this.active,"dt-recipe-callbar-button--danger":this.danger,"d-btn--disabled d-bgc-transparent":this.disabled,"d-fc-primary":!this.disabled}]},callbarButtonTextClass(){return["d-fs-100 lg:d-d-none md:d-d-none sm:d-d-none",this.textClass]},buttonWidth(){switch(this.buttonWidthSize){case"sm":return"4.5rem";case"md":return"6rem";default:return"8.4rem"}},buttonImportance(){return this.importance?this.importance:this.circle?"outlined":"clear"}}};var w1=function(){var e=this,a=e._self._c;return a("dt-tooltip",{attrs:{id:e.id,offset:[0,8]},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("span",{class:{"d-c-not-allowed":e.disabled}},[a("dt-button",e._g({class:e.callbarButtonClass,attrs:{importance:e.buttonImportance,kind:"muted","icon-position":"top","aria-disabled":e.disabled,"aria-label":e.ariaLabel,"label-class":e.callbarButtonTextClass,width:e.buttonWidth}},e.$listeners),[e._t("default"),e._t("icon",null,{slot:"icon"})],2)],1)]},proxy:!0}],null,!0)},[e._t("tooltip")],2)},O1=[],E1=Ye.normalizeComponent(S1,w1,O1,!1,null,null,null,null);const Us=E1.exports;const x1={name:"DtRecipeCallbarButtonWithPopover",components:{DtRecipeCallbarButton:Us,DtPopover:wa,DtButton:vn,DtIcon:ln},inheritAttrs:!1,props:{id:{type:String,default(){return Nn.getUniqueString()}},ariaLabel:{type:String,default:null,validator:t=>t||globalThis.$slots.default},arrowButtonLabel:{type:String,required:!0,validator:t=>!!t},placement:{type:String,default:"top"},initialFocusElement:{type:String,default:"first"},showCloseButton:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},forceShowArrow:{type:Boolean,default:!1},active:{type:Boolean,default:!1},danger:{type:Boolean,default:!1},buttonClass:{type:[String,Array,Object],default:""},textClass:{type:[String,Array,Object],default:""},buttonWidthSize:{type:String,default:"xl",validator:t=>Dr.includes(t)},contentClass:{type:[String,Array,Object],default:""},openPopover:{type:Boolean,default:!1}},emits:["arrowClick","click","opened"],data(){return{open:!1}},computed:{showArrowButton(){return this.forceShowArrow||!this.disabled},isCompactMode(){return this.buttonWidthSize==="sm"||this.buttonWidthSize==="md"},showPopover(){return!this.openPopover||this.open?!1:this.arrowClick()}},methods:{arrowClick(t){return this.$emit("arrowClick",t),this.open=!this.open},buttonClick(t){this.$listeners.click?this.$emit("click",t):this.arrowClick(t)},onModalIsOpened(t){this.open=t,this.$emit("opened",t)}}};var I1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-d-flex d-ai-center"},[a("dt-recipe-callbar-button",{staticClass:"dt-recipe--callbar-button-with-popover--main-button",attrs:{"aria-label":e.ariaLabel,disabled:e.disabled,active:e.active,danger:e.danger,"button-class":e.buttonClass,"button-width-size":e.buttonWidthSize,"text-class":e.textClass},on:{click:e.buttonClick}},[e._t("icon",null,{slot:"icon"}),e._t("tooltip",null,{slot:"tooltip"}),e._t("default")],2),e.showArrowButton?a("dt-popover",e._b({staticClass:"dt-recipe--callbar-button-with-popover--popover-wrapper",attrs:{id:e.id,modal:!1,open:e.open,placement:e.placement,"initial-focus-element":e.initialFocusElement,"show-close-button":e.showCloseButton,offset:[0,16],padding:"none","dialog-class":["dt-recipe--callbar-button-with-popover--popover",e.contentClass],"header-class":"d-d-flex d-ai-center d-fw-normal d-px12","open-popover":e.showPopover},on:{opened:e.onModalIsOpened},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-button",{class:["dt-recipe--callbar-button-with-popover--arrow",{"d-mln24":!e.isCompactMode}],attrs:{circle:"",importance:"clear",size:"lg",width:"2rem","aria-label":e.arrowButtonLabel,active:e.open},on:{click:e.arrowClick},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{staticClass:"d-fc-black-800",attrs:{name:"chevron-up",size:"200"}})]},proxy:!0}],null,!1,1368564783)})]},proxy:!0}],null,!1,1466460799)},"dt-popover",e.$attrs,!1),[e._t("content",null,{slot:"content"}),e._t("headerContent",null,{slot:"headerContent"}),e._t("footerContent",null,{slot:"footerContent"})],2):e._e()],1)},T1=[],A1=Ye.normalizeComponent(x1,I1,T1,!1,null,null,null,null);const D1=A1.exports;const L1={name:"DtRecipeContactInfo",components:{DtAvatar:_a,DtListItem:Z5},props:{id:{type:String,default(){return Nn.getUniqueString()}},role:{type:String,default:""},showAvatar:{type:Boolean,default:!0},avatarSrc:{type:String,default:""},avatarSeed:{type:String,default:null},avatarFullName:{type:String,default:""},avatarIcon:{type:String,default:null},avatarSize:{type:String,default:"lg"},presence:{type:String,default:null},avatarList:{type:Array,default:null}}};var k1=function(){var e=this,a=e._self._c;return a("dt-list-item",{staticClass:"dt-contact-info",attrs:{id:e.id,role:e.role,"element-type":"div","data-qa":"contact-info"},scopedSlots:e._u([{key:"left",fn:function(){return[e.showAvatar?a("div",{staticClass:"d-ps-relative",attrs:{"data-qa":"contact-info-left"}},[e.avatarList?a("div",{staticClass:"d-mrn4 d-d-flex d-fd-row"},e._l(e.avatarList,function(n,m){return a("div",{key:m},[a("dt-avatar",{attrs:{size:e.avatarSize,seed:n.seed,"full-name":n.fullName,"image-src":n.src,"icon-name":e.avatarIcon,"overlay-icon":n.icon,"overlay-text":n.text,"avatar-class":[{"d-mln24":m>0,"d-bc-brand":!!n.halo}]}})],1)}),0):a("dt-avatar",{attrs:{size:e.avatarSize,"full-name":e.avatarFullName,"image-src":e.avatarSrc,"icon-name":e.avatarIcon,seed:e.avatarSeed,presence:e.presence}})],1):e._e()]},proxy:!0},{key:"default",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-header"}},[e._t("header")],2)]},proxy:!0},{key:"subtitle",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-subtitle"}},[e._t("subtitle")],2)]},proxy:!0},{key:"bottom",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-bottom"}},[e._t("bottom")],2)]},proxy:!0},{key:"right",fn:function(){return[a("div",{attrs:{"data-qa":"contact-info-right"}},[e._t("right")],2)]},proxy:!0}],null,!0)})},$1=[],R1=Ye.normalizeComponent(L1,k1,$1,!1,null,"79689993",null,null);const P1=R1.exports,Ks=["green300","green100","red200","red100","gold100","gold200","black100","white"];const M1={name:"DtRecipeTopBannerInfo",props:{colorCode:{type:String,default:"green300",validator:function(t){return Ks.includes(t)}}},computed:{bannerInfoClass(){return[{green300:"d-bgc-success",green100:"d-bgc-success",red200:"d-bgc-critical",red100:"d-bgc-critical",gold200:"d-bgc-warning",gold100:"d-bgc-warning",black100:"d-bgc-info",white:"d-bgc-primary"}[this.colorCode]]}}};var N1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-fs-100 d-d-flex d-top-banner-info d-jc-space-between d-ai-center d-fc-primary",class:e.bannerInfoClass,attrs:{"data-qa":"banner-info"}},[a("div",{staticClass:"d-top-banner-info__left"},[e._t("left")],2),a("div",{staticClass:"d-top-banner-info__middle d-my4"},[e._t("default")],2),a("div",{staticClass:"d-top-banner-info__right d-ta-right"},[e._t("right")],2)])},B1=[],F1=Ye.normalizeComponent(M1,N1,B1,!1,null,null,null,null);const V1=F1.exports,xa="promptmenu",Ia="promptcollect",Ta="promptplay",Aa="gotoexpert",na="goto",Da="branch",La="transfer",ka="hangup",Gs={[xa]:"keypad",[Ia]:"dialer",[Ta]:"volume-2",[Aa]:"expert-node",[Da]:"branch",[na]:"call-merge",[La]:"transfer",[ka]:"phone-hang-up"},j1={[xa]:"Menu",[Ia]:"Collect",[Ta]:"Play",[Aa]:"Expert",[Da]:"Branch",[na]:"Go-to",[La]:"Transfer",[ka]:"Hangup"},a5={PROMPT:{normal:"d-bc-blue-200",selected:"d-bc-blue-300"},LOGIC:{normal:"d-bc-purple-200",selected:"d-bc-purple-400"},TERMINAL:{normal:"d-bc-red-100",selected:"d-bc-red-200"}},q1={[xa]:a5.PROMPT,[Ia]:a5.PROMPT,[Ta]:a5.PROMPT,[Aa]:a5.LOGIC,[Da]:a5.LOGIC,[na]:a5.LOGIC,[La]:a5.TERMINAL,[ka]:a5.TERMINAL};const H1={name:"DtRecipeIvrNode",components:{DtCard:qi,DtButton:vn,DtDropdown:Cs,DtIcon:ln},props:{nodeType:{type:String,required:!0},nodeLabel:{type:String,required:!0},isSelected:{type:Boolean,default:!1},menuButtonAriaLabel:{type:String,required:!0},dtmfKey:{type:String,default:null}},emits:["click"],data(){return{isOpen:!1}},computed:{nodeIcon(){return Gs[this.nodeType]},headerColor(){const{normal:t,selected:e}=q1[this.nodeType];return this.isSelected?e:t},isGotoNode(){return this.nodeType===na}},methods:{openMenu(){this.isOpen=!0}}};var z1=function(){var e=this,a=e._self._c;return a("div",e._g({staticClass:"d-d-flex d-fd-column d-ai-center d-c-pointer ivr_node__width"},e.$listeners),[e.dtmfKey?a("div",{staticClass:"ivr-connector d-w24 d-h24 d-bar-circle d-mbn12 d-fc-neutral-white d-fs-200",class:{"d-mbn16":e.isSelected},attrs:{"data-qa":"dt-top-connector-dtmf"}},[e._v(" "+e._s(e.dtmfKey)+" ")]):e._e(),e.$slots.connector?e._t("connector"):e._e(),!e.dtmfKey&&!e.$slots.connector?a("div",{staticClass:"ivr-connector d-w8 d-h8 d-bar-circle d-mbn4",class:{"d-mbn8":e.isSelected},attrs:{"data-qa":"dt-top-connector"}}):e._e(),a("dt-card",{attrs:{"content-class":"d-bt d-bc-black-300 d-px12 d-pt8 d-pb12","container-class":["d-w100p",{"d-ba d-bar8 d-baw4":e.isSelected},e.headerColor],"header-class":["d-mtn1","d-bt","d-btw4","d-p0",e.headerColor,{"d-btr4":!e.isSelected}]},scopedSlots:e._u([{key:"header",fn:function(){return[a("div",{staticClass:"d-d-flex d-ai-center"},[a("dt-button",{attrs:{"aria-label":e.nodeType,importance:"clear",kind:"muted","data-qa":"dt-ivr-node-icon"},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{class:["",{ivr_node__goto_icon:e.isGotoNode}],attrs:{name:e.nodeIcon,size:"200"}})]},proxy:!0}])}),a("p",{staticClass:"d-fs-200 d-fw-bold",attrs:{"data-qa":"ivr-node-label"}},[e._v(" "+e._s(e.nodeLabel)+" ")])],1),a("dt-dropdown",{attrs:{placement:"bottom",open:e.isOpen},on:{"update:open":function(n){e.isOpen=n}},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-button",{attrs:{importance:"clear",kind:"muted","aria-label":e.menuButtonAriaLabel},on:{click:function(n){return n.stopPropagation(),n.preventDefault(),e.openMenu.apply(null,arguments)}},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"more-vertical",size:"200"}})]},proxy:!0}])})]},proxy:!0},{key:"list",fn:function({close:n}){return[a("div",{staticClass:"d-w164"},[e._t("menuItems",null,{close:n})],2)]}}],null,!0)})]},proxy:!0},{key:"content",fn:function(){return[e._t("content")]},proxy:!0}],null,!0)})],2)},W1=[],U1=Ye.normalizeComponent(H1,z1,W1,!1,null,null,null,null);const K1=U1.exports;const G1={name:"DtRecipeGroupedChip",components:{DtChip:Ir},computed:{}};var Y1=function(){var e=this,a=e._self._c;return a("div",{staticClass:"d-d-inline-flex d-ws-nowrap d-bgc-unset",attrs:{"data-qa":"grouped-chip"}},[a("dt-chip",{staticClass:"d-blr-pill d-bgc-moderate-opaque d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([e.$slots.leftIcon?{key:"icon",fn:function(){return[e.$slots.leftIcon?a("div",{attrs:{"data-qa":"left-grouped-chip-icon"}},[e._t("leftIcon")],2):e._e()]},proxy:!0}:null,{key:"default",fn:function(){return[e.$slots.leftContent?a("div",{attrs:{"data-qa":"left-grouped-chip-content"}},[e._t("leftContent")],2):e._e()]},proxy:!0}],null,!0)}),a("dt-chip",{staticClass:"d-brr-pill d-bgc-purple-200 d-wmx84 dt-chip-content",attrs:{"hide-close":!0,interactive:!1,"content-class":"d-fs100",size:"xs","grouped-chip":!0},scopedSlots:e._u([{key:"icon",fn:function(){return[e.$slots.rightIcon?a("div",{attrs:{"data-qa":"right-grouped-chip-icon"}},[e._t("rightIcon")],2):e._e()]},proxy:!0},{key:"default",fn:function(){return[e.$slots.rightContent?a("div",{attrs:{"data-qa":"right-grouped-chip-content"}},[e._t("rightContent")],2):e._e()]},proxy:!0}],null,!0)})],1)},Z1=[],X1=Ye.normalizeComponent(G1,Y1,Z1,!1,null,null,null,null);const Q1=X1.exports;const J1={name:"DtRecipeSettingsMenuButton",components:{DtButton:vn,DtIcon:ln},props:{updateAvailable:{type:Boolean,default:!1},ariaLabel:{type:String,required:!0}},emits:["click"]};var eh=function(){var e=this,a=e._self._c;return e.updateAvailable?a("dt-button",e._g({staticClass:"settings-menu-button-update",attrs:{importance:"outlined",size:"xs","icon-position":"right","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}],null,!1,3418040308)},e.$listeners),[e._t("default")],2):a("dt-button",e._g({staticClass:"settings-menu-button",attrs:{importance:"clear",kind:"inverted","aria-label":e.ariaLabel},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"more-vertical",size:"300"}})]},proxy:!0}])},e.$listeners))},th=[],nh=Ye.normalizeComponent(J1,eh,th,!1,null,"4ee1371d",null,null);const ah=nh.exports,un={INBOX:"inbox",CONTACTS:"contacts",CHANNELS:"channels",THREADS:"threads",LOCKED_CHANNEL:"locked channel",CONTACT_CENTER:"contact center",QUICK_START:"quick start",COACHING_GROUP:"coaching group",COACHING_CENTER:"coaching center",DIALBOT:"dialbot",ASSIGNED:"assigned",DIGITAL:"digital"},Ys={[un.INBOX]:"inbox",[un.CONTACTS]:"contacts",[un.CHANNELS]:"hash",[un.THREADS]:"thread",[un.LOCKED_CHANNEL]:"lock",[un.QUICK_START]:"sparkle",[un.COACHING_GROUP]:"users",[un.COACHING_CENTER]:"external-link","locked channel unread":"lock-filled","channel unread":"hash-bold",[un.ASSIGNED]:"at-sign",[un.DIGITAL]:"message"},G5={"magenta-200":"d-bgc-magenta-200","green-200":"d-bgc-green-200","gold-300":"d-bgc-gold-300","purple-600":"d-bgc-purple-600","magenta-300":"d-bgc-magenta-300","purple-300":"d-bgc-purple-300","green-500":"d-bgc-green-500","purple-100":"d-bgc-purple-100","magenta-400":"d-bgc-magenta-400","magenta-100":"d-bgc-magenta-100"},Zs="If type is contact center, color must be oneof the following:"+Object.keys(G5).join(", "),Xs=["300","200"],rh={};var ih=function(){var e=this,a=e._self._c;return a("svg",{staticClass:"d-svg d-svg--native d-svg__dialbot",attrs:{"aria-hidden":"true",focusable:"false","aria-label":"Dialbot",width:"358",height:"358",viewBox:"0 0 358 358",fill:"none"}},[a("circle",{attrs:{cx:"179",cy:"179",r:"179",fill:"url(#paint0_linear_4_44)"}}),a("path",{attrs:{d:"M179 268.5v-11.933V268.5Zm86.517 0v11.933h19.308l-8.635-17.27-10.673 5.337Zm-16.73-33.459-9.3-7.478-4.797 5.967 3.424 6.848 10.673-5.337ZM179 101.433c42.839 0 77.567 34.728 77.567 77.567h23.866c0-56.02-45.413-101.433-101.433-101.433v23.866ZM101.433 179c0-42.839 34.728-77.567 77.567-77.567V77.567C122.98 77.567 77.567 122.98 77.567 179h23.866ZM179 256.567c-42.839 0-77.567-34.728-77.567-77.567H77.567c0 56.02 45.413 101.433 101.433 101.433v-23.866Zm86.517 0H179v23.866h86.517v-23.866Zm-27.403-16.189 16.729 33.459 21.347-10.674-16.729-33.459-21.347 10.674ZM256.567 179c0 18.396-6.39 35.268-17.08 48.563l18.6 14.955c13.975-17.38 22.346-39.488 22.346-63.518h-23.866Z",fill:"white"}}),a("path",{attrs:{d:"M226.733 202.867c-6.527 5.701-13.942 10.11-22.243 13.226-8.302 3.116-16.781 4.674-25.437 4.674-8.727 0-17.241-1.558-25.543-4.674-8.301-3.116-15.716-7.525-22.243-13.226v-11.934c4.399 2.652 9.365 4.939 14.9 6.862a112.163 112.163 0 0 0 16.815 4.674c5.748 1.127 11.105 1.69 16.071 1.69 5.038 0 10.395-.563 16.071-1.69a112.209 112.209 0 0 0 16.816-4.674c5.534-1.923 10.465-4.21 14.793-6.862v11.934Z",fill:"white"}}),a("defs",[a("linearGradient",{attrs:{id:"paint0_linear_4_44",x1:"0",y1:"0",x2:"358",y2:"358",gradientUnits:"userSpaceOnUse"}},[a("stop",{attrs:{"stop-color":"#7C52FF"}}),a("stop",{attrs:{offset:"1","stop-color":"#F9008E"}})],1)],1)])},sh=[],oh=Ye.normalizeComponent(rh,ih,sh,!1,null,null,null,null);const lh=oh.exports,dh={name:"DtRecipeLeftbarGeneralRowIcon",components:{DtIcon:ln,IconDialbot:lh},props:{type:{type:String,default:null},color:{type:String,default:null},iconSize:{type:String,default:"300"}},computed:{isIconType(){return![un.DIALBOT,un.CONTACT_CENTER].includes(this.type)},isContactCenterType(){return this.type===un.CONTACT_CENTER},isDialbotType(){return this.type===un.DIALBOT},getIconName(){return Ys[this.type]},contactCenterIconClasses(){return["dt-leftbar-row__icon-cc",G5[this.color]]},dialbotClasses(){return["d-w24","d-h24","d-d-flex","d-ai-center","d-jc-center"]}}};var ch=function(){var e=this,a=e._self._c;return e.isIconType?a("dt-icon",{attrs:{name:e.getIconName,size:e.iconSize}}):e.isContactCenterType?a("div",{class:e.contactCenterIconClasses}):e.isDialbotType?a("div",{class:e.dialbotClasses,attrs:{"data-qa":"general-row-dialbot"}},[a("icon-dialbot",{staticClass:"d-svg--size24"})],1):e._e()},uh=[],ph=Ye.normalizeComponent(dh,ch,uh,!1,null,null,null,null);const fh=ph.exports;const hh={name:"DtRecipeGeneralRow",components:{DtEmojiTextWrapper:Ye.DtEmojiTextWrapper,DtBadge:$i,DtIcon:ln,DtButton:vn,DtTooltip:Ea,DtRecipeLeftbarGeneralRowIcon:fh},inheritAttrs:!1,props:{type:{type:String,default:"inbox",validator:t=>Object.values(un).includes(t)},ariaLabel:{type:String,default:""},description:{type:String,required:!0},color:{type:String,default:null,validator:t=>Object.keys(G5).includes(t)},hasUnreads:{type:Boolean,default:!1},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:""},selected:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},activeVoiceChat:{type:Boolean,default:!1},dndText:{type:String,default:""},dndTextTooltip:{type:String,default:""},hasCallButton:{type:Boolean,default:!1},callButtonTooltip:{type:String,default:""},isTyping:{type:Boolean,default:!1},iconSize:{type:String,default:"300",validator:t=>Xs.includes(t)}},emits:["click","call"],data(){return{actionFocused:!1,labelWidth:"100%"}},computed:{leftbarGeneralRowClasses(){return["dt-leftbar-row",{"dt-leftbar-row--no-action":!this.hasCallButton,"dt-leftbar-row--has-unread":this.hasUnreads,"dt-leftbar-row--unread-count":this.showUnreadCount,"dt-leftbar-row--selected":this.selected,"dt-leftbar-row--muted":this.muted,"dt-leftbar-row--action-focused":this.actionFocused}]},getIcon(){switch(this.type){case un.CHANNELS:if(this.hasUnreads)return"channel unread";break;case un.LOCKED_CHANNEL:if(this.hasUnreads)return"locked channel unread";break}return this.type},getAriaLabel(){return this.ariaLabel?this.ariaLabel:ga([this.description,this.unreadCountTooltip,this.dndTextTooltip])},hasActions(){return this.dndText||this.activeVoiceChat||this.showUnreadCount||this.hasCallButton},showUnreadCount(){return!!this.unreadCount&&this.hasUnreads}},watch:{$props:{immediate:!0,deep:!0,async handler(){this.validateProps(),await this.$nextTick(),this.adjustLabelWidth()}}},mounted(){this.resizeObserver=new ResizeObserver(this.adjustLabelWidth),this.resizeObserver.observe(this.$el),this.adjustLabelWidth()},beforeDestroy:function(){this.resizeObserver.disconnect()},methods:{validateProps(){this.type===un.CONTACT_CENTER&&!Object.keys(G5).includes(this.color)&&console.error(Zs)},adjustLabelWidth(){var m,w,V,le,Ce,Ee;const t=((w=(m=this.$el)==null?void 0:m.querySelector(".dt-leftbar-row__primary"))==null?void 0:w.clientWidth)||0,e=((le=(V=this.$el)==null?void 0:V.querySelector(".dt-leftbar-row__omega"))==null?void 0:le.clientWidth)||0,a=((Ee=(Ce=this.$el)==null?void 0:Ce.querySelector(".dt-leftbar-row__alpha"))==null?void 0:Ee.clientWidth)||0,n=16;this.labelWidth=t-(e+a+n)+"px"}}};var mh=function(){var e=this,a=e._self._c;return a("div",{class:e.leftbarGeneralRowClasses,attrs:{"data-qa":"dt-leftbar-row"}},[a("a",e._g(e._b({staticClass:"dt-leftbar-row__primary",attrs:{"data-qa":"data-qa"in e.$attrs?e.$attrs["data-qa"]:"dt-leftbar-row-link","aria-label":e.getAriaLabel,title:e.description,href:"href"in e.$attrs?e.$attrs.href:"javascript:void(0)"}},"a",e.$attrs,!1),e.$listeners),[a("div",{staticClass:"dt-leftbar-row__alpha"},[e.isTyping?a("div",{staticClass:"dt-leftbar-row__is-typing"},[a("span"),a("span"),a("span")]):e._t("left",function(){return[a("dt-recipe-leftbar-general-row-icon",{attrs:{type:e.getIcon,color:e.color,"icon-size":e.iconSize,"data-qa":"dt-leftbar-row-icon"}})]})],2),a("div",{staticClass:"dt-leftbar-row__label",style:`flex-basis: ${e.labelWidth}`},[e._t("label",function(){return[a("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.description)+" ")])]})],2)]),e.hasActions?a("div",{staticClass:"dt-leftbar-row__omega"},[e.dndText?a("dt-tooltip",{attrs:{placement:"top",message:e.dndTextTooltip},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("div",{ref:"dt-leftbar-row-dnd",staticClass:"dt-leftbar-row__dnd",attrs:{"data-qa":"dt-leftbar-row-dnd"}},[e._v(" "+e._s(e.dndText)+" ")])]},proxy:!0}],null,!1,490758222)}):e._e(),e.activeVoiceChat?a("div",{staticClass:"dt-leftbar-row__active-voice"},[a("dt-icon",{attrs:{size:"300",name:"activity"}})],1):e.showUnreadCount?a("dt-tooltip",{attrs:{message:e.unreadCountTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-badge",{staticClass:"dt-leftbar-row__unread-badge",attrs:{kind:"count",type:"bulletin","data-qa":"dt-leftbar-row-unread-badge"}},[e._v(" "+e._s(e.unreadCount)+" ")])]},proxy:!0}],null,!1,462525554)}):e._e(),e.hasCallButton?a("div",{staticClass:"dt-leftbar-row__action",attrs:{"data-qa":"dt-leftbar-row-action"}},[a("dt-tooltip",{attrs:{message:e.callButtonTooltip,placement:"top"},scopedSlots:e._u([{key:"anchor",fn:function(){return[a("dt-button",{staticClass:"dt-leftbar-row__action-button",attrs:{"data-qa":"dt-leftbar-row-action-call-button",circle:!0,size:"xs",kind:"inverted","aria-label":e.callButtonTooltip},on:{focus:function(n){e.actionFocused=!0},blur:function(n){e.actionFocused=!1},click:function(n){return n.stopPropagation(),e.$emit("call",n)}},scopedSlots:e._u([{key:"icon",fn:function(){return[a("dt-icon",{attrs:{name:"phone",size:"200"}})]},proxy:!0}],null,!1,990728611)})]},proxy:!0}],null,!1,4239858356)})],1):e._e()],1):e._e()])},vh=[],gh=Ye.normalizeComponent(hh,mh,vh,!1,null,"be4d0e3f",null,null);const Lr=gh.exports,_h={name:"DtRecipeGroupRow",components:{DtIcon:ln,DtRecipeGeneralRow:Lr},inheritAttrs:!1,props:{groupCountText:{type:String,default:""},names:{type:String,required:!0},unreadCount:{type:String,default:null},unreadCountTooltip:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1}},emits:["click"],computed:{ariaLabel(){return ga([this.groupCountText,this.names])}}};var yh=function(){var e=this,a=e._self._c;return a("dt-recipe-general-row",e._g(e._b({attrs:{description:e.names,"aria-label":e.ariaLabel,"unread-count":e.unreadCount,"has-unreads":e.hasUnreads,"unread-count-tooltip":e.unreadCountTooltip,selected:e.selected,"is-typing":e.isTyping},scopedSlots:e._u([{key:"left",fn:function(){return[a("dt-icon",{attrs:{name:"users",size:"300"}})]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},bh=[],Ch=Ye.normalizeComponent(_h,yh,bh,!1,null,null,null,null);const Sh=Ch.exports,wh={name:"DtRecipeGroupRow",components:{DtAvatar:_a,DtRecipeGeneralRow:Lr,DtEmojiTextWrapper:Ye.DtEmojiTextWrapper},inheritAttrs:!1,props:{avatarSrc:{type:String,default:""},avatarAlt:{type:String,default:""},avatarPresence:{type:String,default:null},avatarSeed:{type:String,default:null},presenceText:{type:String,default:""},name:{type:String,required:!0},userStatus:{type:String,default:""},muted:{type:Boolean,default:!1},unreadCount:{type:String,default:null},hasUnreads:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},noInitials:{type:Boolean,default:!1},isTyping:{type:Boolean,default:!1},hasCallButton:{type:Boolean,default:!0},callButtonTooltip:{type:String,default:""},unreadCountTooltip:{type:String,default:""}},emits:["click","call"],computed:{presenceColorClass(){switch(this.avatarPresence){case"active":return"d-fc-success";case"busy":return"d-fc-critical";case"away":return"d-fc-warning";default:return}},contactDescription(){return ga([this.name,this.presenceText,this.userStatus])},iconName(){return this.noInitials?"user":null}}};var Oh=function(){var e=this,a=e._self._c;return a("dt-recipe-general-row",e._g(e._b({attrs:{"unread-count":e.unreadCount,description:e.contactDescription,"has-unreads":e.hasUnreads,selected:e.selected,"has-call-button":e.hasCallButton,muted:e.muted,"is-typing":e.isTyping,"call-button-tooltip":e.callButtonTooltip,"unread-count-tooltip":e.unreadCountTooltip},scopedSlots:e._u([{key:"left",fn:function(){return[a("dt-avatar",{attrs:{"full-name":e.name,"image-src":e.avatarSrc,"image-alt":e.avatarAlt,"icon-name":e.iconName,"icon-size":"200",size:"sm",seed:e.avatarSeed,presence:e.avatarPresence}})]},proxy:!0},{key:"label",fn:function(){return[a("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__description",attrs:{"data-qa":"dt-leftbar-row-description",size:"200"}},[e._v(" "+e._s(e.name)+" ")]),a("div",{staticClass:"dt-leftbar-row__status"},[e.presenceText?a("span",{class:["dt-leftbar-row__meta-context",e.presenceColorClass],attrs:{"data-qa":"dt-leftbar-row-presence-text"}},[e._v(" "+e._s(e.presenceText)+" ")]):e._e(),e.userStatus?a("dt-emoji-text-wrapper",{staticClass:"dt-leftbar-row__meta-custom",attrs:{size:"100","element-type":"span","data-qa":"dt-leftbar-row-user-status"}},[e._v(" "+e._s(e.userStatus)+" ")]):e._e()],1)]},proxy:!0}])},"dt-recipe-general-row",e.$attrs,!1),e.$listeners))},Eh=[],xh=Ye.normalizeComponent(wh,Oh,Eh,!1,null,null,null,null);const Ih=xh.exports,Qs=["up","down"],Js=["mentions","messages"];const Th={name:"DtRecipeUnreadPill",components:{DtIcon:ln},props:{kind:{type:String,required:!0,validator:t=>Js.includes(t)},direction:{type:String,required:!0,validator:t=>Qs.includes(t)}},emits:["click"]};var Ah=function(){var e=this,a=e._self._c;return a("button",e._g({class:["dt-leftbar-unread-pill",`dt-leftbar-unread-pill--${e.kind}`],attrs:{type:"button","data-qa":"dt-leftbar-unread-pill"}},e.$listeners),[a("dt-icon",{attrs:{name:`arrow-${e.direction}`,size:"300"}}),a("span",{attrs:{"data-qa":"dt-leftbar-unread-pill__label"}},[e._t("default")],2)],1)},Dh=[],Lh=Ye.normalizeComponent(Th,Ah,Dh,!1,null,null,null,null);const kh=Lh.exports,ja={NORMAL:"",SEARCHED:"d-bgc-warning-subtle",ERROR:"d-bgc-critical-subtle"},qa="NORMAL";const $h={name:"DtRecipeFeedItemRow",components:{DtAvatar:_a,DtLazyShow:$5,DtListItem:Z5},inheritAttrs:!1,props:{showHeader:{type:Boolean,default:!1},avatarImageUrl:{type:String,default:""},displayName:{type:String,default:""},time:{type:String,default:""},shortTime:{type:String,default:""},isActive:{type:Boolean,default:!1},state:{type:String,default:qa,validator:t=>Object.keys(ja).includes(t)}},emits:["hover","focus"],data(){return{faded:!1}},computed:{avatarSeed(){return(this.displayName||"").split(" ").map(a=>a.charAt(0)).join("").slice(0,2).toUpperCase()},feedListeners(){return{...this.$listeners,mouseenter:()=>this.setHover(!0),mouseleave:()=>this.setHover(!1),focusin:()=>this.setFocus(!0),focusout:()=>this.setFocus(!1)}},listItemClasses(){return["d-w100p","d-box-border","d-ps-relative","d-px8",{"d-bgc-secondary-opaque":this.isActive&&this.state===qa},ja[this.state],"feed-item-row","d-t","d-tp-bgc"]}},methods:{setFocus(t){this.$emit("focus",t)},setHover(t){this.$emit("hover",t)},fade(){this.state===qa||this.faded===!0||(this.$refs.FeedItemRef.$el.classList.remove(ja[this.state]),this.faded=!0)}}};var Rh=function(){var e=this,a=e._self._c;return a("dt-list-item",e._g(e._b({ref:"FeedItemRef",class:e.listItemClasses,attrs:{"navigation-type":"none","data-qa":"feed-item-row"},scopedSlots:e._u([{key:"left",fn:function(){return[e.showHeader?a("dt-avatar",{attrs:{"full-name":e.displayName,"image-src":e.avatarImageUrl,"avatar-class":"d-mt4",seed:e.avatarSeed}}):e._e(),e.showHeader?e._e():a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-fs-100 d-fw-normal d-ws-nowrap d-lh-100 d-fc-tertiary d-mb6",attrs:{"data-qa":"feed-item-row-left-time"}},[e._v(" "+e._s(e.shortTime)+" ")])]},proxy:!0},{key:"bottom",fn:function(){return[a("div",{staticClass:"d-d-flex d-fw-wrap",attrs:{"data-qa":"feed-item-row-reactions"}},[e._t("reactions")],2),e._t("threading")]},proxy:!0},{key:"right",fn:function(){return[a("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"d-ps-absolute d-tn16 d-r12",attrs:{"data-qa":"feed-item-row-menu"}},[a("dt-lazy-show",{attrs:{appear:!0,transition:"fade",show:e.isActive}},[e._t("menu")],2)],1)]},proxy:!0}],null,!0)},"dt-list-item",e.$attrs,!1),e.feedListeners),[a("article",[e.showHeader?a("div",{staticClass:"d-d-flex d-ai-center",attrs:{"data-qa":"feed-item-row-header"}},[a("p",{staticClass:"d-fs-200 d-lh-300 d-fw-bold d-to-ellipsis d-of-hidden d-ws-nowrap"},[e._v(" "+e._s(e.displayName)+" ")]),a("time",{staticClass:"d-fs-100 d-mt2 d-lh-300 d-fc-tertiary d-fw-normal d-ml4 d-fl-shrink0"},[e._v(" "+e._s(e.time)+" ")])]):e._e(),a("span",{staticClass:"content-text-wrapper-class",attrs:{"data-qa":"feed-item-row-content"}},[e._t("default")],2)])])},Ph=[],Mh=Ye.normalizeComponent($h,Rh,Ph,!1,null,null,null,null);const Nh=Mh.exports;const Bh={name:"DtRecipeTimePill",props:{dateTimeDisplay:{type:String,required:!0},dateTime:{type:String,required:!0,validator:t=>{const e=new Date(t);return e instanceof Date&&!isNaN(e)}}}};var Fh=function(){var e=this,a=e._self._c;return a("time",{staticClass:"d-ba d-bar-pill d-baw1 d-bc-black-300 d-px16 d-py4 d-fs-100",attrs:{"data-qa":"dt-time-pill",dateTime:e.dateTime}},[e._v(" "+e._s(e.dateTimeDisplay)+" ")])},Vh=[],jh=Ye.normalizeComponent(Bh,Fh,Vh,!1,null,null,null,null);const qh=jh.exports,eo=["emojiUnicodeOrShortname","isSelected","ariaLabel","tooltip","num"];const Hh={name:"DtRecipeEmojiRow",components:{DtTooltip:Ea,DtButton:vn,DtEmoji:Ye.DtEmoji,DtEmojiTextWrapper:Ye.DtEmojiTextWrapper},mixins:[],props:{reactions:{type:Array,default:()=>[],validator:t=>{for(const e of t)if(!eo.every(n=>e[n]!==void 0))return!1;return!0}}},emits:["emoji-clicked","emoji-hovered"],methods:{emojiClicked(t){this.$emit("emoji-clicked",t.emojiUnicodeOrShortname)},emojiHovered(t,e){this.$emit("emoji-hovered",{reaction:t.emojiUnicodeOrShortname,state:e})}}};var zh=function(){var e=this,a=e._self._c;return a("span",{staticClass:"d-d-flex d-fw-wrap"},e._l(e.reactions,function(n){return a("span",{key:n.unicodeOutput,staticClass:"d-mr4 d-mb4",attrs:{reaction:n}},[a("dt-tooltip",{staticClass:"d-d-inline-block",attrs:{"content-class":"d-wmx464"},on:{shown:m=>e.emojiHovered(n,m)},scopedSlots:e._u([{key:"anchor",fn:function({attrs:m}){return[a("dt-button",{class:["d-h24 d-bar16 d-py0 d-fs-200 d-mb0 d-t",n.isSelected?`d-fc-purple-500 d-bgc-purple-400 d-bgo10 d-bc-purple-400 d-bco50 ' +
31
31
  'h:d-bgc-purple-400 h:d-bco25 a:d-bgc-purple-400 a:d-bco25`:"d-fc-black-600 d-bgc-black-100 h:d-bgc-white h:d-bc-black-600 a:d-bgc-white a:d-bc-black-600"],attrs:{importance:"clear",size:"sm","data-qa":"feed-item-reaction-button","aria-label":n.ariaLabel,attrs:m},on:{click:function(w){return e.emojiClicked(n)}}},[a("span",{staticClass:"d-mr4"},[a("dt-emoji",{attrs:{size:"200",code:n.emojiUnicodeOrShortname}})],1),a("span",{staticClass:"d-fw-bold d-fs-100"},[e._v(" "+e._s(n.num)+" ")])])]}}],null,!0)},[a("span",{attrs:{"aria-hidden":"true"}},[a("dt-emoji-text-wrapper",{attrs:{size:"200"}},[e._v(" "+e._s(n.tooltip)+" ")])],1)])],1)}),0)},Wh=[],Uh=Ye.normalizeComponent(Hh,zh,Wh,!1,null,null,null,null);const Kh=Uh.exports;exports.DtSkeleton=Ye.DtSkeleton;exports.DtSkeletonListItem=Ye.DtSkeletonListItem;exports.DtSkeletonParagraph=Ye.DtSkeletonParagraph;exports.DtSkeletonShape=Ye.DtSkeletonShape;exports.DtSkeletonText=Ye.DtSkeletonText;exports.SKELETON_HEADING_HEIGHTS=Ye.SKELETON_HEADING_HEIGHTS;exports.SKELETON_RIPPLE_DURATION=Ye.SKELETON_RIPPLE_DURATION;exports.SKELETON_SHAPES=Ye.SKELETON_SHAPES;exports.SKELETON_SHAPE_SIZES=Ye.SKELETON_SHAPE_SIZES;exports.SKELETON_TEXT_TYPES=Ye.SKELETON_TEXT_TYPES;exports.AVATAR_COLORS=ki;exports.AVATAR_GROUP_VALIDATOR=za;exports.AVATAR_ICON_SIZES=Do;exports.AVATAR_KIND_MODIFIERS=Di;exports.AVATAR_PRESENCE_SIZE_MODIFIERS=Li;exports.AVATAR_PRESENCE_STATES=Ha;exports.AVATAR_SIZE_MODIFIERS=oa;exports.BADGE_DECORATION_MODIFIERS=Ka;exports.BADGE_KIND_MODIFIERS=Ua;exports.BADGE_TYPE_MODIFIERS=Wa;exports.BREADCRUMBS_INVERTED_MODIFIER=Fi;exports.BREADCRUMB_ITEM_SELECTED_MODIFIER=Bi;exports.BUTTON_GROUP_ALIGNMENT=Ga;exports.CALLBAR_BUTTON_VALID_WIDTH_SIZE=Dr;exports.CHIP_SIZE_MODIFIERS=ir;exports.COLOR_CODES=Ks;exports.DEFAULT_VALIDATION_MESSAGE_TYPE=mi;exports.DESCRIPTION_SIZE_TYPES=hi;exports.DtAvatar=_a;exports.DtBadge=$i;exports.DtBanner=Cl;exports.DtBreadcrumbItem=ji;exports.DtBreadcrumbs=Rl;exports.DtButton=vn;exports.DtButtonGroup=Fl;exports.DtCard=qi;exports.DtCheckableInputMixin=Or;exports.DtCheckbox=lu;exports.DtCheckboxGroup=fu;exports.DtChip=Ir;exports.DtCodeblock=Gl;exports.DtCollapsible=D3;exports.DtCombobox=Ui;exports.DtDatepicker=i1;exports.DtDropdown=Cs;exports.DtDropdownSeparator=j6;exports.DtGroupableInputMixin=Er;exports.DtIcon=ln;exports.DtImageViewer=U6;exports.DtInput=Ss;exports.DtInputGroup=xr;exports.DtInputGroupMixin=ws;exports.DtInputMixin=wr;exports.DtItemLayout=Ya;exports.DtKeyboardListNavigationMixin=fr;exports.DtKeyboardShortcut=Zu;exports.DtLazyShow=$5;exports.DtLink=Vi;exports.DtListItem=Z5;exports.DtListItemGroup=Oc;exports.DtListSection=yc;exports.DtModal=hc;exports.DtNotice=dc;exports.DtPagination=Ac;exports.DtPopover=wa;exports.DtPresence=Ai;exports.DtRadio=Pc;exports.DtRadioGroup=Vc;exports.DtRecipeCallbarButton=Us;exports.DtRecipeCallbarButtonWithPopover=D1;exports.DtRecipeComboboxMultiSelect=C1;exports.DtRecipeComboboxWithPopover=zs;exports.DtRecipeContactInfo=P1;exports.DtRecipeContactRow=Ih;exports.DtRecipeEmojiRow=Kh;exports.DtRecipeFeedItemRow=Nh;exports.DtRecipeGeneralRow=Lr;exports.DtRecipeGroupRow=Sh;exports.DtRecipeGroupedChip=Q1;exports.DtRecipeIvrNode=K1;exports.DtRecipeSettingsMenuButton=ah;exports.DtRecipeTimePill=qh;exports.DtRecipeTopBannerInfo=V1;exports.DtRecipeUnreadPill=kh;exports.DtRootLayout=sp;exports.DtSelectMenu=Tu;exports.DtStack=vp;exports.DtTab=Xc;exports.DtTabGroup=Uc;exports.DtTabPanel=nu;exports.DtToast=$u;exports.DtToggle=Fu;exports.DtTooltip=Ea;exports.DtValidationMessages=s5;exports.INPUT_SIZES=E5;exports.INPUT_TYPES=ca;exports.IVR_NODE_BRANCH=Da;exports.IVR_NODE_EXPERT=Aa;exports.IVR_NODE_GO_TO=na;exports.IVR_NODE_HANGUP=ka;exports.IVR_NODE_ICON_TYPES=Gs;exports.IVR_NODE_LABELS=j1;exports.IVR_NODE_PROMPT_COLLECT=Ia;exports.IVR_NODE_PROMPT_MENU=xa;exports.IVR_NODE_PROMPT_PLAY=Ta;exports.IVR_NODE_TRANSFER=La;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_COLORS=G5;exports.LEFTBAR_GENERAL_ROW_CONTACT_CENTER_VALIDATION_ERROR=Zs;exports.LEFTBAR_GENERAL_ROW_ICON_MAPPING=Ys;exports.LEFTBAR_GENERAL_ROW_ICON_SIZES=Xs;exports.LEFTBAR_GENERAL_ROW_TYPES=un;exports.LINK_KIND_MODIFIERS=pa;exports.LINK_VARIANTS=Mi;exports.MODAL_KIND_MODIFIERS=ar;exports.MODAL_SIZE_MODIFIERS=rr;exports.MULTI_SELECT_SIZES=Ws;exports.NOTICE_KINDS=k5;exports.POPOVER_CONTENT_WIDTHS=Cr;exports.POPOVER_HEADER_FOOTER_PADDING_CLASSES=gs;exports.POPOVER_INITIAL_FOCUS_STRINGS=ys;exports.POPOVER_PADDING_CLASSES=nr;exports.POPOVER_ROLES=_s;exports.PRESENCE_STATES=x5;exports.PRESENCE_STATES_LIST=Ti;exports.REACTIONS_ATTRIBUTES=eo;exports.ROOT_LAYOUT_RESPONSIVE_BREAKPOINTS=Ps;exports.ROOT_LAYOUT_SIDEBAR_POSITIONS=Tr;exports.SELECT_SIZE_MODIFIERS=sr;exports.SELECT_STATE_MODIFIERS=Ts;exports.SHORTCUTS_ALIASES_LIST=Wu;exports.SHORTCUTS_ICON_ALIASES=I5;exports.SHORTCUTS_ICON_SEPARATOR=Rs;exports.TAB_IMPORTANCE_MODIFIERS=Is;exports.TAB_LIST_IMPORTANCE_MODIFIERS=xs;exports.TAB_LIST_KIND_MODIFIERS=Es;exports.TAB_LIST_SIZES=Os;exports.TOAST_ROLES=As;exports.TOOLTIP_DELAY_MS=Ls;exports.TOOLTIP_DIRECTIONS=Ds;exports.TOOLTIP_HIDE_ON_CLICK_VARIANTS=Vu;exports.TOOLTIP_KIND_MODIFIERS=ks;exports.TOOLTIP_STICKY_VALUES=$s;exports.UNREAD_PILL_DIRECTIONS=Qs;exports.UNREAD_PILL_KINDS=Js;exports.VALIDATION_MESSAGE_TYPES=Dn;exports.filterFormattedMessages=dr;exports.formatLong=s1;exports.formatMedium=o1;exports.formatMessages=j5;exports.formatNoYear=d1;exports.formatNumerical=c1;exports.formatShort=l1;exports.getUniqueString=pn;exports.getValidationState=r5;exports.validationMessageValidator=ea;