@momentum-ui/web-components 2.20.0 → 2.21.0-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/1200.js +1 -1
  2. package/dist/1323.js +2 -2
  3. package/dist/4367.js +1 -1
  4. package/dist/6248.js +1 -1
  5. package/dist/6283.js +1 -0
  6. package/dist/6652.js +1 -1
  7. package/dist/76.js +1 -1
  8. package/dist/9058.js +1 -1
  9. package/dist/{6875.js → 9217.js} +1 -1
  10. package/dist/comp/md-accordion-item-entry.js +2 -2
  11. package/dist/comp/md-accordion-item.js +1 -1
  12. package/dist/comp/md-activity-button-entry.js +2 -2
  13. package/dist/comp/md-activity-button.js +1 -1
  14. package/dist/comp/md-alert-banner-entry.js +5 -5
  15. package/dist/comp/md-alert-banner.js +1 -1
  16. package/dist/comp/md-alert-entry.js +29 -29
  17. package/dist/comp/md-alert.js +1 -1
  18. package/dist/comp/md-audio-player-entry.js +4 -4
  19. package/dist/comp/md-audio-player.js +1 -1
  20. package/dist/comp/md-avatar-entry.js +2 -2
  21. package/dist/comp/md-avatar.js +1 -1
  22. package/dist/comp/md-button-entry.js +1 -1
  23. package/dist/comp/md-button.js +1 -1
  24. package/dist/comp/md-card-ai-entry.js +4 -4
  25. package/dist/comp/md-card-ai.js +1 -1
  26. package/dist/comp/md-card-entry.js +5 -5
  27. package/dist/comp/md-card-v2-entry.js +6 -6
  28. package/dist/comp/md-card-v2.js +1 -1
  29. package/dist/comp/md-card.js +1 -1
  30. package/dist/comp/md-chat-message-entry.js +2 -2
  31. package/dist/comp/md-chat-message.js +1 -1
  32. package/dist/comp/md-coachmark-entry.js +1 -1
  33. package/dist/comp/md-coachmark-popover-entry.js +3 -3
  34. package/dist/comp/md-coachmark-popover.js +1 -1
  35. package/dist/comp/md-coachmark.js +1 -1
  36. package/dist/comp/md-combobox-entry.js +2 -2
  37. package/dist/comp/md-combobox.js +1 -1
  38. package/dist/comp/md-date-range-picker-entry.js +1 -1
  39. package/dist/comp/md-date-range-picker.js +1 -1
  40. package/dist/comp/md-date-time-picker-entry.js +2 -2
  41. package/dist/comp/md-date-time-picker.js +1 -1
  42. package/dist/comp/md-datepicker-calendar-entry.js +9 -9
  43. package/dist/comp/md-datepicker-calendar.js +1 -1
  44. package/dist/comp/md-datepicker-day-entry.js +1 -1
  45. package/dist/comp/md-datepicker-day.js +1 -1
  46. package/dist/comp/md-datepicker-entry.js +2 -2
  47. package/dist/comp/md-datepicker-month-entry.js +1 -1
  48. package/dist/comp/md-datepicker-month.js +1 -1
  49. package/dist/comp/md-datepicker-week-entry.js +1 -1
  50. package/dist/comp/md-datepicker-week.js +1 -1
  51. package/dist/comp/md-datepicker.js +1 -1
  52. package/dist/comp/md-dropdown-entry.js +2 -2
  53. package/dist/comp/md-dropdown.js +1 -1
  54. package/dist/comp/md-editable-field-entry.js +3 -3
  55. package/dist/comp/md-editable-field.js +1 -1
  56. package/dist/comp/md-favorite-entry.js +2 -2
  57. package/dist/comp/md-favorite.js +1 -1
  58. package/dist/comp/md-floating-minimize-entry.js +5 -5
  59. package/dist/comp/md-floating-minimize.js +1 -1
  60. package/dist/comp/md-floating-modal-entry.js +3 -3
  61. package/dist/comp/md-floating-modal.js +1 -1
  62. package/dist/comp/md-grabber-entry.js +2 -2
  63. package/dist/comp/md-grabber.js +1 -1
  64. package/dist/comp/md-icon-entry.js +2 -2
  65. package/dist/comp/md-icon.js +1 -1
  66. package/dist/comp/md-inpu.js +1 -1
  67. package/dist/comp/md-input-entry.js +2 -2
  68. package/dist/comp/md-input-file.js +1 -1
  69. package/dist/comp/md-input.js +1 -1
  70. package/dist/comp/md-meeting-alert-entry.js +11 -11
  71. package/dist/comp/md-meeting-alert.js +1 -1
  72. package/dist/comp/md-menu-overlay-entry.js +5 -5
  73. package/dist/comp/md-menu-overlay.js +1 -1
  74. package/dist/comp/md-modal-entry.js +2 -2
  75. package/dist/comp/md-modal.js +1 -1
  76. package/dist/comp/md-pagination-entry.js +9 -9
  77. package/dist/comp/md-pagination.js +1 -1
  78. package/dist/comp/md-phone-input-entry.js +4 -4
  79. package/dist/comp/md-phone-input.js +1 -1
  80. package/dist/comp/md-popover-entry.js +6 -6
  81. package/dist/comp/md-popover.js +1 -1
  82. package/dist/comp/md-tab-entry.js +12 -18
  83. package/dist/comp/md-tab-panel-entry.js +1 -1
  84. package/dist/comp/md-tab.js +1 -1
  85. package/dist/comp/md-table-advanced-entry.js +5 -5
  86. package/dist/comp/md-table-advanced.js +1 -1
  87. package/dist/comp/md-table-entry.js +2 -2
  88. package/dist/comp/md-table.js +1 -1
  89. package/dist/comp/md-tabs-entry.js +94 -95
  90. package/dist/comp/md-tabs.js +1 -1
  91. package/dist/comp/md-task-item-entry.js +8 -8
  92. package/dist/comp/md-task-item.js +1 -1
  93. package/dist/comp/md-timepicker-entry.js +2 -2
  94. package/dist/comp/md-timepicker.js +1 -1
  95. package/dist/index-entry.js +127 -128
  96. package/dist/index.js +1 -1
  97. package/dist/types/components/combobox/ComboBox.d.ts +1 -1
  98. package/dist/types/components/icon/Icon.d.ts +1 -0
  99. package/dist/types/components/menu-overlay/MenuOverlay.d.ts +1 -0
  100. package/dist/types/components/tabs/Tab.d.ts +6 -2
  101. package/dist/types/components/tabs/TabPanel.d.ts +1 -0
  102. package/dist/types/components/tabs/Tabs.d.ts +7 -2
  103. package/dist/types/utils/helpers.d.ts +1 -0
  104. package/package.json +4 -5
@@ -1,4 +1,4 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-x.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg"),require("lit-virtualizer"),require("lit-html/directives/class-map.js"),require("lit-html/directives/until.js"),require("lit-html/directives/repeat"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit-html/directives/if-defined.js"),require("highlight.js/lib/core"),require("luxon"),require("mobx"),require("sortablejs"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/interact/index"),require("@interactjs/modifiers"),require("country-codes-list"),require("country-flags-svg"),require("libphonenumber-js"),require("lit-html/directives/repeat.js"),require("lit-html/directives/template-content"),require("papaparse"),require("lit-html/directives/unsafe-html"),require("@popperjs/core/lib"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/style-map","lit-html","lit-html/directives/class-map","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg","@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-x.svg","@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg","lit-virtualizer","lit-html/directives/class-map.js","lit-html/directives/until.js","lit-html/directives/repeat","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","@popperjs/core/lib/popper-lite","lit-html/directives/if-defined.js","highlight.js/lib/core","luxon","mobx","sortablejs","dompurify","@interactjs/actions/drag","@interactjs/actions/resize","@interactjs/auto-start","@interactjs/interact/index","@interactjs/modifiers","country-codes-list","country-flags-svg","libphonenumber-js","lit-html/directives/repeat.js","lit-html/directives/template-content","papaparse","lit-html/directives/unsafe-html","@popperjs/core/lib"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-x.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg"),require("lit-virtualizer"),require("lit-html/directives/class-map.js"),require("lit-html/directives/until.js"),require("lit-html/directives/repeat"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit-html/directives/if-defined.js"),require("highlight.js/lib/core"),require("luxon"),require("mobx"),require("sortablejs"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/interact/index"),require("@interactjs/modifiers"),require("country-codes-list"),require("country-flags-svg"),require("libphonenumber-js"),require("lit-html/directives/repeat.js"),require("lit-html/directives/template-content"),require("papaparse"),require("lit-html/directives/unsafe-html"),require("@popperjs/core/lib")):t(e["lit-element"],e["lit-html/directives/style-map"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/if-defined"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-x.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg"],e["lit-virtualizer"],e["lit-html/directives/class-map.js"],e["lit-html/directives/until.js"],e["lit-html/directives/repeat"],e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e["@popperjs/core/lib/popper-lite"],e["lit-html/directives/if-defined.js"],e["highlight.js/lib/core"],e.luxon,e.mobx,e.sortablejs,e.dompurify,e["@interactjs/actions/drag"],e["@interactjs/actions/resize"],e["@interactjs/auto-start"],e["@interactjs/interact/index"],e["@interactjs/modifiers"],e["country-codes-list"],e["country-flags-svg"],e["libphonenumber-js"],e["lit-html/directives/repeat.js"],e["lit-html/directives/template-content"],e.papaparse,e["lit-html/directives/unsafe-html"],e["@popperjs/core/lib"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,((e,t,i,s,o,r,n,a,l,d,h,c,p,u,m,v,b,y,g,f,w,x,C,S,$,E,k,T,I,A,O,L,M,P,D,R,_,F,B,z,V,j,N,U,q,H,K,W,G)=>(()=>{"use strict";var Y,X,Q,Z,J,ee={860:e=>{e.exports=U},1072:(e,t,i)=>{i.d(t,{Theme:()=>s});var s,o=i(77251),r=i(31890),n=i(4893),a=i(4863),l=i(41488),d=i(19130),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.darkTheme=!1,this.lumos=!1,this.activeTheme=d.dW,this.placement="bottom",this.popperInstance=null,this.handleTooltipRemoved=()=>{this.hideVirtualTooltip()}}setTheme(){return"momentum"===this.theme?this.darkTheme?d.Pm:d.f3:"lumos"===this.theme?this.darkTheme?d.Lu:d.dW:"momentumV2"===this.theme?this.darkTheme?d.Pm:d.f3:this.lumos?this.darkTheme?d.Lu:d.dW:this.darkTheme?d.Pm:d.f3}getStyleElement(){return document.createElement("style")}applyStyle(){const e=this.shadowRoot;if("adoptedStyleSheets"in document){const t=new CSSStyleSheet;t.replaceSync(this.activeTheme),e.adoptedStyleSheets=[t]}else{const t=this.getStyleElement();t.textContent=this.activeTheme.cssText,e.appendChild(t)}}removeChildFromVirtualPopper(){for(;this.virtualWrapper.firstElementChild;)this.virtualWrapper.firstElementChild.remove()}setInitStyleToVirtualReference(){const{style:e}=this.virtualReference;e.top="0",e.bottom="0",e.left="0",e.right="0",e.width="0",e.height="0",e.zIndex="-1"}setStyleToVirtualReference(e){const{style:t}=this.virtualReference,{top:i,bottom:s,left:o,right:r,width:n,height:a}=e;t.position="fixed",t.top=`${i}px`,t.bottom=`${s}px`,t.left=`${o}px`,t.right=`${r}px`,t.width=`${n}px`,t.height=`${a}px`,t.zIndex="-1"}setVirtualReferencePosition(e){const t=e.getBoundingClientRect();this.setStyleToVirtualReference(t)}initVirtualElements(e,t,i){const s=e.cloneNode(!0);this.virtualWrapper.hasChildNodes()&&this.removeChildFromVirtualPopper(),this.virtualWrapper.append(s),i&&this.setVirtualSlotContent(i),this.setVirtualReferencePosition(t)}setVirtualSlotContent(e){if(this.virtualTooltipContent){for(;this.virtualTooltipContent.firstElementChild;)this.virtualTooltipContent.firstElementChild.remove();e.forEach((e=>this.virtualTooltipContent.append(e)))}}updated(e){super.updated(e),(e.has("lumos")||e.has("darkTheme")||e.has("theme"))&&this.dispatchEvent(new CustomEvent("theme-changed",{composed:!0,bubbles:!0,detail:{darkTheme:this.darkTheme,lumos:this.lumos,theme:this.theme}})),this.activeTheme=this.setTheme(),this.applyStyle()}handleVirtualTooltipCreate(e){e.stopPropagation();const{popper:t,placement:i,reference:s,slotContent:o}=e.detail;this.placement=i,this.initVirtualElements(t,s,o),this.showVirtualTooltip()}handleVirtualTooltipDestroy(e){e.stopPropagation(),this.hideVirtualTooltip()}handleVirtualTooltipChangeMessage(e){const{popper:t,reference:i}=e.detail;if(this.virtualReference!==i)return;const s=t.querySelector(".md-tooltip__content"),o=this.virtualWrapper.querySelector(".md-tooltip__content");if(s&&o){const e=s.textContent,t=o.textContent;e&&t&&(o.textContent=e)}}handleVirtualTooltipSlotChange(e){const{slotContent:t}=e.detail;t&&this.setVirtualSlotContent(t)}destroyPopperInstance(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}createPopperInstance(e){if(this.virtualPopper){const t=8,i=4;this.popperInstance=(0,n.createPopper)(this.virtualReference,this.virtualPopper,{placement:e,modifiers:[...a.defaultModifiers,n.flip,n.offset,n.arrow,{name:"offset",options:{offset:({placement:e})=>{const s=t+i;return e.startsWith("left")||e.startsWith("right")||e.startsWith("top")||e.startsWith("bottom")?[0,s]:[8,8]}}},...this.virtualArrow?[{name:"arrow",options:{element:this.virtualArrow,padding:t}}]:[]]})}}get virtualPopper(){return this.shadowRoot.querySelector(".md-tooltip__popper")}get virtualArrow(){return this.shadowRoot.querySelector(".md-tooltip__arrow")}get virtualTooltipContent(){return this.shadowRoot.querySelector(".md-tooltip__content")}showVirtualTooltip(){this.virtualPopper&&(this.virtualPopper.toggleAttribute("data-show",!0),this.createPopperInstance(this.placement))}hideVirtualTooltip(){this.virtualPopper&&(this.virtualPopper.toggleAttribute("data-show",!1),this.destroyPopperInstance(),this.setInitStyleToVirtualReference())}setupEvents(){this.addEventListener("tooltip-create",this.handleVirtualTooltipCreate),this.addEventListener("tooltip-destroy",this.handleVirtualTooltipDestroy),this.addEventListener("tooltip-message",this.handleVirtualTooltipChangeMessage),this.addEventListener("tooltip-slot",this.handleVirtualTooltipSlotChange),document.addEventListener("tooltip-disconnected",this.handleTooltipRemoved,!0)}teardownEvents(){this.removeEventListener("tooltip-create",this.handleVirtualTooltipCreate),this.removeEventListener("tooltip-destroy",this.handleVirtualTooltipDestroy),this.removeEventListener("tooltip-message",this.handleVirtualTooltipChangeMessage),this.removeEventListener("tooltip-slot",this.handleVirtualTooltipSlotChange),document.removeEventListener("tooltip-disconnected",this.handleTooltipRemoved,!0)}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return i=this,s=void 0,r=function*(){t.firstUpdated.call(this,e),yield new Promise((e=>setTimeout(e,0))),this.setupEvents()},new((o=void 0)||(o=Promise))((function(e,t){function n(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):(i=t.value,i instanceof o?i:new o((function(e){e(i)}))).then(n,a)}l((r=r.apply(i,s||[])).next())}));var i,s,o,r}static get styles(){return[d.dW]}render(){return l.html`
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-virtualizer"),require("lit-html/directives/class-map.js"),require("lit-html/directives/until.js"),require("lit-html/directives/repeat"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit-html/directives/if-defined.js"),require("highlight.js/lib/core"),require("luxon"),require("mobx"),require("sortablejs"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/interact/index"),require("@interactjs/modifiers"),require("country-codes-list"),require("country-flags-svg"),require("libphonenumber-js"),require("lit-html/directives/repeat.js"),require("lit-html/directives/template-content"),require("papaparse"),require("lit-html/directives/unsafe-html"),require("@popperjs/core/lib"),require("@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-x.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg"));else if("function"==typeof define&&define.amd)define(["lit-element","lit-html/directives/style-map","lit-html","lit-html/directives/class-map","lit-html/directives/if-defined","@momentum-ui/icons/data/momentumUiIconsNames.json","@momentum-ui/utils/lib/getColorValue","lit-virtualizer","lit-html/directives/class-map.js","lit-html/directives/until.js","lit-html/directives/repeat","@popperjs/core/lib/modifiers/arrow","@popperjs/core/lib/modifiers/flip","@popperjs/core/lib/modifiers/offset","@popperjs/core/lib/modifiers/preventOverflow","@popperjs/core/lib/popper-lite","lit-html/directives/if-defined.js","highlight.js/lib/core","luxon","mobx","sortablejs","dompurify","@interactjs/actions/drag","@interactjs/actions/resize","@interactjs/auto-start","@interactjs/interact/index","@interactjs/modifiers","country-codes-list","country-flags-svg","libphonenumber-js","lit-html/directives/repeat.js","lit-html/directives/template-content","papaparse","lit-html/directives/unsafe-html","@popperjs/core/lib","@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg","@momentum-design/brand-visuals/dist/logos/svg/social-x.svg","@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg","@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg","@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg","@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg"],t);else{var i="object"==typeof exports?t(require("lit-element"),require("lit-html/directives/style-map"),require("lit-html"),require("lit-html/directives/class-map"),require("lit-html/directives/if-defined"),require("@momentum-ui/icons/data/momentumUiIconsNames.json"),require("@momentum-ui/utils/lib/getColorValue"),require("lit-virtualizer"),require("lit-html/directives/class-map.js"),require("lit-html/directives/until.js"),require("lit-html/directives/repeat"),require("@popperjs/core/lib/modifiers/arrow"),require("@popperjs/core/lib/modifiers/flip"),require("@popperjs/core/lib/modifiers/offset"),require("@popperjs/core/lib/modifiers/preventOverflow"),require("@popperjs/core/lib/popper-lite"),require("lit-html/directives/if-defined.js"),require("highlight.js/lib/core"),require("luxon"),require("mobx"),require("sortablejs"),require("dompurify"),require("@interactjs/actions/drag"),require("@interactjs/actions/resize"),require("@interactjs/auto-start"),require("@interactjs/interact/index"),require("@interactjs/modifiers"),require("country-codes-list"),require("country-flags-svg"),require("libphonenumber-js"),require("lit-html/directives/repeat.js"),require("lit-html/directives/template-content"),require("papaparse"),require("lit-html/directives/unsafe-html"),require("@popperjs/core/lib"),require("@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-x.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg"),require("@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg")):t(e["lit-element"],e["lit-html/directives/style-map"],e["lit-html"],e["lit-html/directives/class-map"],e["lit-html/directives/if-defined"],e["@momentum-ui/icons/data/momentumUiIconsNames.json"],e["@momentum-ui/utils/lib/getColorValue"],e["lit-virtualizer"],e["lit-html/directives/class-map.js"],e["lit-html/directives/until.js"],e["lit-html/directives/repeat"],e["@popperjs/core/lib/modifiers/arrow"],e["@popperjs/core/lib/modifiers/flip"],e["@popperjs/core/lib/modifiers/offset"],e["@popperjs/core/lib/modifiers/preventOverflow"],e["@popperjs/core/lib/popper-lite"],e["lit-html/directives/if-defined.js"],e["highlight.js/lib/core"],e.luxon,e.mobx,e.sortablejs,e.dompurify,e["@interactjs/actions/drag"],e["@interactjs/actions/resize"],e["@interactjs/auto-start"],e["@interactjs/interact/index"],e["@interactjs/modifiers"],e["country-codes-list"],e["country-flags-svg"],e["libphonenumber-js"],e["lit-html/directives/repeat.js"],e["lit-html/directives/template-content"],e.papaparse,e["lit-html/directives/unsafe-html"],e["@popperjs/core/lib"],e["@momentum-design/brand-visuals/dist/logos/svg/webex-app-icon-color-container.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-x.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-whatsapp-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-wechat-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-viber-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-telegram-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-rcs-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-microsoft-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-line-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-fbmessenger-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-facebook-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/social-alexa-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/cisco-ai-assistant-color.svg"],e["@momentum-design/brand-visuals/dist/logos/svg/apple-business-chat-color.svg"]);for(var s in i)("object"==typeof exports?exports:e)[s]=i[s]}}(self,((e,t,i,s,o,r,n,a,l,d,h,c,p,u,m,v,b,y,g,f,w,x,C,S,$,E,k,T,I,A,O,L,M,P,D,R,_,F,B,z,V,j,N,U,q,H,K,W,G)=>(()=>{"use strict";var Y,X,Q,Z,J,ee={860:e=>{e.exports=A},1072:(e,t,i)=>{i.d(t,{Theme:()=>s});var s,o=i(77251),r=i(31890),n=i(4893),a=i(4863),l=i(41488),d=i(19130),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.darkTheme=!1,this.lumos=!1,this.activeTheme=d.dW,this.placement="bottom",this.popperInstance=null,this.handleTooltipRemoved=()=>{this.hideVirtualTooltip()}}setTheme(){return"momentum"===this.theme?this.darkTheme?d.Pm:d.f3:"lumos"===this.theme?this.darkTheme?d.Lu:d.dW:"momentumV2"===this.theme?this.darkTheme?d.Pm:d.f3:this.lumos?this.darkTheme?d.Lu:d.dW:this.darkTheme?d.Pm:d.f3}getStyleElement(){return document.createElement("style")}applyStyle(){const e=this.shadowRoot;if("adoptedStyleSheets"in document){const t=new CSSStyleSheet;t.replaceSync(this.activeTheme),e.adoptedStyleSheets=[t]}else{const t=this.getStyleElement();t.textContent=this.activeTheme.cssText,e.appendChild(t)}}removeChildFromVirtualPopper(){for(;this.virtualWrapper.firstElementChild;)this.virtualWrapper.firstElementChild.remove()}setInitStyleToVirtualReference(){const{style:e}=this.virtualReference;e.top="0",e.bottom="0",e.left="0",e.right="0",e.width="0",e.height="0",e.zIndex="-1"}setStyleToVirtualReference(e){const{style:t}=this.virtualReference,{top:i,bottom:s,left:o,right:r,width:n,height:a}=e;t.position="fixed",t.top=`${i}px`,t.bottom=`${s}px`,t.left=`${o}px`,t.right=`${r}px`,t.width=`${n}px`,t.height=`${a}px`,t.zIndex="-1"}setVirtualReferencePosition(e){const t=e.getBoundingClientRect();this.setStyleToVirtualReference(t)}initVirtualElements(e,t,i){const s=e.cloneNode(!0);this.virtualWrapper.hasChildNodes()&&this.removeChildFromVirtualPopper(),this.virtualWrapper.append(s),i&&this.setVirtualSlotContent(i),this.setVirtualReferencePosition(t)}setVirtualSlotContent(e){if(this.virtualTooltipContent){for(;this.virtualTooltipContent.firstElementChild;)this.virtualTooltipContent.firstElementChild.remove();e.forEach((e=>this.virtualTooltipContent.append(e)))}}updated(e){super.updated(e),(e.has("lumos")||e.has("darkTheme")||e.has("theme"))&&this.dispatchEvent(new CustomEvent("theme-changed",{composed:!0,bubbles:!0,detail:{darkTheme:this.darkTheme,lumos:this.lumos,theme:this.theme}})),this.activeTheme=this.setTheme(),this.applyStyle()}handleVirtualTooltipCreate(e){e.stopPropagation();const{popper:t,placement:i,reference:s,slotContent:o}=e.detail;this.placement=i,this.initVirtualElements(t,s,o),this.showVirtualTooltip()}handleVirtualTooltipDestroy(e){e.stopPropagation(),this.hideVirtualTooltip()}handleVirtualTooltipChangeMessage(e){const{popper:t,reference:i}=e.detail;if(this.virtualReference!==i)return;const s=t.querySelector(".md-tooltip__content"),o=this.virtualWrapper.querySelector(".md-tooltip__content");if(s&&o){const e=s.textContent,t=o.textContent;e&&t&&(o.textContent=e)}}handleVirtualTooltipSlotChange(e){const{slotContent:t}=e.detail;t&&this.setVirtualSlotContent(t)}destroyPopperInstance(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}createPopperInstance(e){if(this.virtualPopper){const t=8,i=4;this.popperInstance=(0,n.createPopper)(this.virtualReference,this.virtualPopper,{placement:e,modifiers:[...a.defaultModifiers,n.flip,n.offset,n.arrow,{name:"offset",options:{offset:({placement:e})=>{const s=t+i;return e.startsWith("left")||e.startsWith("right")||e.startsWith("top")||e.startsWith("bottom")?[0,s]:[8,8]}}},...this.virtualArrow?[{name:"arrow",options:{element:this.virtualArrow,padding:t}}]:[]]})}}get virtualPopper(){return this.shadowRoot.querySelector(".md-tooltip__popper")}get virtualArrow(){return this.shadowRoot.querySelector(".md-tooltip__arrow")}get virtualTooltipContent(){return this.shadowRoot.querySelector(".md-tooltip__content")}showVirtualTooltip(){this.virtualPopper&&(this.virtualPopper.toggleAttribute("data-show",!0),this.createPopperInstance(this.placement))}hideVirtualTooltip(){this.virtualPopper&&(this.virtualPopper.toggleAttribute("data-show",!1),this.destroyPopperInstance(),this.setInitStyleToVirtualReference())}setupEvents(){this.addEventListener("tooltip-create",this.handleVirtualTooltipCreate),this.addEventListener("tooltip-destroy",this.handleVirtualTooltipDestroy),this.addEventListener("tooltip-message",this.handleVirtualTooltipChangeMessage),this.addEventListener("tooltip-slot",this.handleVirtualTooltipSlotChange),document.addEventListener("tooltip-disconnected",this.handleTooltipRemoved,!0)}teardownEvents(){this.removeEventListener("tooltip-create",this.handleVirtualTooltipCreate),this.removeEventListener("tooltip-destroy",this.handleVirtualTooltipDestroy),this.removeEventListener("tooltip-message",this.handleVirtualTooltipChangeMessage),this.removeEventListener("tooltip-slot",this.handleVirtualTooltipSlotChange),document.removeEventListener("tooltip-disconnected",this.handleTooltipRemoved,!0)}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return i=this,s=void 0,r=function*(){t.firstUpdated.call(this,e),yield new Promise((e=>setTimeout(e,0))),this.setupEvents()},new((o=void 0)||(o=Promise))((function(e,t){function n(e){try{l(r.next(e))}catch(e){t(e)}}function a(e){try{l(r.throw(e))}catch(e){t(e)}}function l(t){var i;t.done?e(t.value):(i=t.value,i instanceof o?i:new o((function(e){e(i)}))).then(n,a)}l((r=r.apply(i,s||[])).next())}));var i,s,o,r}static get styles(){return[d.dW]}render(){return l.html`
2
2
  <div class="theme-wrapper" part="theme-wrapper">
3
3
  <style>
4
4
  ${o.A} .theme-wrapper {
@@ -13,7 +13,7 @@
13
13
  <div class="md-composite-avatar ${(0,a.classMap)(this.avatarClassMap)}">
14
14
  <slot></slot>
15
15
  </div>
16
- `}};d([(0,n.property)({type:Number})],t.prototype,"size",void 0),t=d([(0,r.w)("md-composite-avatar")],t),e.ELEMENT=t}(s||(s={}))},3001:(e,t,i)=>{i.d(t,{Io:()=>n.I,TS:()=>a.T,UM:()=>r.U,dY:()=>o.d,wW:()=>l.w,yC:()=>s.y}),i(18889);var s=i(32972),o=i(28373),r=i(70300),n=i(84624),a=i(68387),l=i(31890)},3288:e=>{e.exports=V},3527:e=>{e.exports=H},3664:(e,t,i)=>{i.d(t,{Checkbox:()=>s});var s,o=i(90195),r=i(3001),n=i(26272),a=i(31890),l=i(41488),d=i(18841),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.autofocus=!1,this._checked=!1,this._indeterminate=!1,this._disabled=!1,this.label="",this.tabIndex=0}get checked(){return this._checked}set checked(e){const t=this._checked;this._checked=e,this.indeterminate||this.setAttribute("aria-checked",`${e}`),this.requestUpdate("checked",t)}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=this._indeterminate;this._indeterminate=e,this.setAttribute("aria-checked","mixed"),this.requestUpdate("indeterminate",t)}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}static get styles(){return[n.A,d.A]}toggleCheckbox(){this.checked=!this.checked}isCheckboxActive(){return this.disabled||this.indeterminate}handleClick(e){this.isCheckboxActive()?e.stopPropagation():(this.toggleCheckbox(),this.handleChange(e))}handleKeyDown(e){const{code:t}=e;t!==o.Uz.Space&&t!==o.Uz.Enter||(e.preventDefault(),this.isCheckboxActive()?e.stopPropagation():(this.toggleCheckbox(),this.handleChange(e)))}handleChange(e){this.dispatchEvent(new CustomEvent("checkbox-change",{bubbles:!0,composed:!0,detail:{sourceEvent:e}}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","checkbox"),this.label&&this.setAttribute("aria-label",this.label)}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}update(e){super.update(e),e.has("indeterminate")&&(this.checked=!1)}updated(e){super.updated(e),e.has("indeterminate")&&(this.input.indeterminate=this.indeterminate)}render(){return l.html`
16
+ `}};d([(0,n.property)({type:Number})],t.prototype,"size",void 0),t=d([(0,r.w)("md-composite-avatar")],t),e.ELEMENT=t}(s||(s={}))},3001:(e,t,i)=>{i.d(t,{Io:()=>n.I,TS:()=>a.T,UM:()=>r.U,dY:()=>o.d,wW:()=>l.w,yC:()=>s.y}),i(18889);var s=i(32972),o=i(28373),r=i(70300),n=i(84624),a=i(68387),l=i(31890)},3288:e=>{e.exports=k},3527:e=>{e.exports=L},3664:(e,t,i)=>{i.d(t,{Checkbox:()=>s});var s,o=i(90195),r=i(3001),n=i(26272),a=i(31890),l=i(41488),d=i(18841),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.autofocus=!1,this._checked=!1,this._indeterminate=!1,this._disabled=!1,this.label="",this.tabIndex=0}get checked(){return this._checked}set checked(e){const t=this._checked;this._checked=e,this.indeterminate||this.setAttribute("aria-checked",`${e}`),this.requestUpdate("checked",t)}get indeterminate(){return this._indeterminate}set indeterminate(e){const t=this._indeterminate;this._indeterminate=e,this.setAttribute("aria-checked","mixed"),this.requestUpdate("indeterminate",t)}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}static get styles(){return[n.A,d.A]}toggleCheckbox(){this.checked=!this.checked}isCheckboxActive(){return this.disabled||this.indeterminate}handleClick(e){this.isCheckboxActive()?e.stopPropagation():(this.toggleCheckbox(),this.handleChange(e))}handleKeyDown(e){const{code:t}=e;t!==o.Uz.Space&&t!==o.Uz.Enter||(e.preventDefault(),this.isCheckboxActive()?e.stopPropagation():(this.toggleCheckbox(),this.handleChange(e)))}handleChange(e){this.dispatchEvent(new CustomEvent("checkbox-change",{bubbles:!0,composed:!0,detail:{sourceEvent:e}}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","checkbox"),this.label&&this.setAttribute("aria-label",this.label)}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}update(e){super.update(e),e.has("indeterminate")&&(this.checked=!1)}updated(e){super.updated(e),e.has("indeterminate")&&(this.input.indeterminate=this.indeterminate)}render(){return l.html`
17
17
  <input
18
18
  class="checkbox-input"
19
19
  type="checkbox"
@@ -26,7 +26,7 @@
26
26
  <label part="checkbox-label" class="checkbox-label">
27
27
  <slot></slot>
28
28
  </label>
29
- `}};h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"checked",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"indeterminate",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,l.property)({type:String})],t.prototype,"label",void 0),h([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,l.query)(".checkbox-input")],t.prototype,"input",void 0),t=h([(0,a.w)("md-checkbox")],t),e.ELEMENT=t}(s||(s={}))},4863:e=>{e.exports=A},4893:e=>{e.exports=G},4928:(e,t,i)=>{i.d(t,{ComboBox:()=>s}),i(20109),i(61200);var s,o=i(90195),r=i(3001),n=i(31890),a=i(66677),l=i(26272),d=i(41488),h=i(40333),c=i(23968),p=i(97822),u=i(22818),m=i(8229),v=i(86635),b=i(97103),y=i(46795),g=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},f=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){class t{determineMessageType(e){return e.reduce(((e,t)=>"error"===t?e:t.type),"")}filterMessagesByType(e,t){return e.reduce(((e,i)=>i.type===t?e.concat(i.message):e),[])}}e.MessageController=t;let i=class extends((0,r.yC)(d.LitElement)){constructor(){super(...arguments),this._focusedIndex=-1,this._focusedGroupIndex=-1,this.label="Options",this.options=[],this.customOptions=[],this.placeholder="",this.isMulti=!1,this.useVirtualScroll=!1,this.disabled=!1,this.ordered=!1,this.expanded=!1,this.groupExpandedList=[],this.searchItem=!1,this.compact=!1,this.noClearIcon=!1,this.selectWhenInFocus=!1,this.selectedOptions=[],this.visibleOptions=8,this.optionId="",this.optionValue="",this.isCustomContent=!1,this.searchable=!1,this.shape="none",this.value=[],this.inputValue="",this.allowCustomValue=!1,this.autofocus=!1,this.resultsTextLocalization="No Results",this.optionsTextLocalization="No Options",this.trimSpace=!1,this.invalid=!1,this.invalidText="",this.ariaLabel="",this.searchResultAriaLabel="",this.ariaLabelForComboBox="",this.clearAriaLabel="Clear",this.arrowAriaLabel="Expand",this.clearIconHeight="auto",this.allTextLocalization="All",this.selectAllTextLocalization="Select All",this.selectedTextLocalization="Selected",this.allowSelectAll=!1,this.showCustomError=!1,this.showLoader=!1,this.showSelectedCount=!1,this.popupChevronAriaHidden="true",this.newMomentum=!1,this.showFilterIcon=!1,this.preventFilter=!1,this.isDropdownArrow=!1,this.comboboxId="",this.helpText="",this.messageArr=[],this.htmlId="",this.readOnly=!1,this.messageController=new t,this.isOptGroup=!1,this.isSelectAllChecked=!1,this.multiSelectedIndex=-1,this.multiSelected=[],this.customContent=[],this.notifySelectedChange=(0,a.sg)((e=>{this.dispatchEvent(new CustomEvent("change-selected",{composed:!0,bubbles:!0,detail:e}))}),0),this.handleGroupFilter=e=>{const t=e.filter((e=>{if("string"!=typeof e&&"true"===e.isLabel)return e.groupName}));return this.searchItem=!0,this.groupExpandedList=t.map((e=>{if("string"!=typeof e)return e.groupName})),e.filter((t=>"string"==typeof t||"true"!==t.isLabel||!!e.find((e=>{if("string"!=typeof t&&"string"!=typeof e)return t.groupName===e.groupName&&"false"===e.isLabel}))))},this.notifyInputValueChanged=(0,a.sg)((e=>{this.dispatchEvent(new CustomEvent("combobox-input",{composed:!0,bubbles:!0,detail:{value:e}})),this.notifySearchResultCount(),this.focusedGroupIndex=0,requestAnimationFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}),250),this.handleOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find((e=>e===this)),t||(this.setVisualListbox(!1),this.unselectedAllMultiTag()))}}get focusedIndex(){return this._focusedIndex}set focusedIndex(e){this.updateFocusedIndex(e)}updateFocusedIndex(e){var t;const i=this._focusedIndex;if(this.checkForVirtualScroll()){let i;i=this.allowSelectAll?0===e?"selectAll":this.getOptionId(this.filteredOptions[e-1]):this.getOptionId(this.filteredOptions[e]);const s=this.lists?null===(t=[...this.lists])||void 0===t?void 0:t.find((e=>0!==e.offsetHeight&&e.id===i)):"";this.lists&&[...this.lists].forEach((e=>{e.toggleAttribute("focused",!1)})),s&&(null==s||s.toggleAttribute("focused",!0))}else if(this.lists){const t=this.lists[i];t&&t.toggleAttribute("focused",!1);const s=this.lists[e];s&&s.toggleAttribute("focused",!0)}this._focusedIndex=e,this.requestUpdate("focusedIndex",i)}get focusedGroupIndex(){return this._focusedGroupIndex}set focusedGroupIndex(e){const t=this._focusedGroupIndex;if(this.labels&&0!==this.labels.length){const i=this.labels[t];i&&i.toggleAttribute("focused",!1);const s=this.labels[e];s&&(s.toggleAttribute("focused",!0),s.focus())}this._focusedGroupIndex=e,this.requestUpdate("focusedGroupIndex",t)}get messageType(){return this.messageArr.length>0?this.messageController.determineMessageType(this.messageArr):null}get messages(){return this.messageType?this.messageController.filterMessagesByType(this.messageArr,this.messageType):null}notifySearchResultCount(){if(this.searchResultAriaLabel){const e=/{{.*?}}/g;this.ariaLabelForComboBox=this.searchResultAriaLabel.replace(e,this.filteredOptions.length.toString())}else this.ariaLabel?this.ariaLabelForComboBox=`${this.ariaLabel}, ${this.filteredOptions.length} results found.`:this.ariaLabelForComboBox=`ComboBox Element, ${this.filteredOptions.length} results found.`}firstUpdated(e){this.ariaLabelForComboBox=this.ariaLabel?this.ariaLabel:"ComboBox Element",super.firstUpdated(e),this.isCustomContent&&(this.optionId="id",this.optionValue="value",this.setOptionCustomContent()),this.setInitialValue()}updated(e){super.updated(e),e.has("expanded")&&(this.expanded?(this.resizeListbox(),this.checkSelectedOptions()):this.unCheckAllOptions()),e.has("focusedIndex")&&this.focusedIndex>=0&&(this.checkForVirtualScroll()||this.scrollToOption()),e.has("value")&&0===this.selectedOptions.length&&this.setInitialValue(),e.has("customOptions")&&this.isCustomContent&&(this.setOptionCustomContent(),this.resizeListbox()),e.has("showCustomError")&&this.resizeListbox(),e.has("showLoader")&&this.resizeListbox(),e.has("searchItem")&&this.resizeListbox()}handleFocusIn(e){this.disabled&&!this.readOnly||(this.noClearIcon&&(requestAnimationFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1})),this.selectWhenInFocus&&this.input.select()),super.handleFocusIn&&super.handleFocusIn(e)),this.dispatchEvent(new CustomEvent("combobox-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.dispatchEvent(new CustomEvent("combobox-focus-out",{composed:!0,bubbles:!0}))}findFilteredOption(e){return this.isOptionObject(e)?this.filteredOptions.findIndex((t=>this.getOptionId(t)===this.getOptionId(e)&&this.getOptionValue(t)===this.getOptionValue(e))):this.filteredOptions.indexOf(e)}setInitialValue(){var e;if(this.value.length)if(this.isMulti)this.value.forEach((e=>{-1!==this.findFilteredOption(e)&&this.setSelectedOption(e)}));else{const t=this.value[0],i=this.findFilteredOption(t);-1!==i&&(this.setSelectedOption(t),this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)),this.focusedIndex=i,this.focusedGroupIndex=-1)}}isOptionObject(e){return"object"==typeof e&&null!==e}setOptionCustomContent(){if(this.isOptGroup){const e=[...this.querySelectorAll("optgroup")],t=[];for(const i of e){const e=i.getAttribute("label"),s=[...i.querySelectorAll("[slot]")];t.push({isLabel:"true",[this.optionValue]:e,groupName:e});for(const i of s){const s=i.getAttribute("aria-label"),o=i.getAttribute("display-value"),r=i.getAttribute("slot");s&&o&&t.push({[this.optionId]:s,[this.optionValue]:o,isLabel:"false",groupName:e,slot:r})}}this.options=t}else this.customContent=[...this.querySelectorAll("[slot]")],this.customContent&&this.customContent.length?this.options=this.customContent.map((e=>{const t=e.getAttribute("aria-label"),i=e.getAttribute("display-value");if(t&&i)return{[this.optionId]:t,[this.optionValue]:i}})):this.options=[]}getOptionValue(e){return this.isOptionObject(e)?e[this.optionValue]:e}getOptionGroupName(e){return null==e?void 0:e.groupName}getOptionId(e){return this.isOptionObject(e)?e[this.optionId]:e}getFocusedItem(e){if(e>=0)return this.filteredOptions[e]}setupEvents(){document.addEventListener("click",this.handleOutsideClick),this.addEventListener("remove-all-selected",this.removeAllSelected),this.addEventListener("selected-changed",this.selectedChange)}teardownEvents(){document.removeEventListener("click",this.handleOutsideClick),this.removeEventListener("remove-all-selected",this.removeAllSelected),this.removeEventListener("selected-changed",this.selectedChange)}setVisualListbox(e){this.expanded=e}setGroupList(e){this.groupExpandedList.includes(e)?(this.groupExpandedList.splice(this.groupExpandedList.indexOf(e),1),this.groupExpandedList=[...this.groupExpandedList]):this.searchItem?this.groupExpandedList.push(e):this.groupExpandedList=[e]}findSelectedOption(e){return this.optionId&&e?this.selectedOptions.findIndex((t=>t&&t[this.optionId]===e[this.optionId])):this.selectedOptions.indexOf(e)}findOptionIndex(e){const t=e.composedPath();if(this.checkForVirtualScroll()){let e="";return[...this.lists].forEach((i=>{t.includes(i)&&(e=i.id)})),this.filteredOptions.findIndex((t=>this.getOptionId(t)===e))}return[...this.lists].findIndex((e=>t.includes(e)))}checkSelectedOptions(){if(this.checkForVirtualScroll()){const e=this.selectedOptions.map((e=>this.getOptionId(e))),t=[...this.lists].filter((e=>"selectAll"!==e.id));null==t||t.forEach((t=>{e.includes(t.id)?(this.isMulti&&(null==t||t.setAttribute("aria-checked","true")),null==t||t.setAttribute("aria-selected","true")):this.isMulti&&(null==t||t.setAttribute("aria-checked","false"))}))}}unCheckAllOptions(){var e;this.checkForVirtualScroll()&&this.isMulti&&(null===(e=[...this.lists])||void 0===e||e.forEach((e=>{"selectAll"!==(null==e?void 0:e.id)&&(null==e||e.setAttribute("aria-checked","false"))})))}setSelectedOption(e){this.isMulti||(this.selectedOptions=[]);const t=this.findSelectedOption(e);if(-1!==t){const e=this.selectedOptions[t];this.selectedOptions.splice(t,1),this.notifySelectedChange({value:e,selected:this.selectedOptions})}else this.selectedOptions.push(e),this.notifySelectedChange({value:e,selected:this.selectedOptions});this.checkSelectedOptions(),this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()),this.requestUpdate()}filterOptions(e){if(this.preventFilter)return this.searchItem=!1,this.options;if(e&&e.length){const t=this.options.filter((t=>this.isOptGroup&&"string"!=typeof t&&"true"===t.isLabel?t:(this.isCustomContent?this.getOptionId(t):this.getOptionValue(t)).toLowerCase().includes(e.toLowerCase())));return this.isOptGroup?this.handleGroupFilter(t):t}return this.searchItem=!1,this.options}getListBoxVerticalPadding(){if(this.listBox){const e=window.getComputedStyle(this.listBox,null),t=parseInt(e.getPropertyValue("padding-top"))+parseInt(e.getPropertyValue("padding-bottom"));if(!isNaN(t))return t+2}return 10}resizeListbox(){this.updateOnNextFrame((()=>{var e;let t=0,i=0,s=0;const o=this.getListBoxVerticalPadding();if(this.lists){const e=this.checkForVirtualScroll()?[...this.lists].filter((e=>0!==e.offsetHeight)):[...this.lists];t=e.slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0),s=this.checkForVirtualScroll()&&this.allowSelectAll?e.slice(1,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0):e.slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0)}if(this.labels&&(i=[...this.labels].slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0)),this.listBox&&(this.listBox.style.maxHeight=`${t+i+o}px`),this.virtualizer&&(this.virtualizer.style.height=`${s+o}px`),this.showCustomError||this.showLoader){const t=null===(e=this.listBox)||void 0===e?void 0:e.querySelector("[slot]");this.listBox&&t&&(this.listBox.style.height=`${t.clientHeight+o}px`,this.listBox.style.maxHeight=`${t.clientHeight+o}px`)}}))}setInputValue(e=""){this.input.value=e}updateOnNextFrame(e){requestAnimationFrame(e)}unCheckedAllOptions(){this.isMulti&&(this.lists.forEach(((e,t)=>this.unCheckedOption(t))),this.isSelectAllChecked=!1)}unCheckedOption(e){this.isMulti&&(this.lists[e].setAttribute("aria-checked","false"),this.notifySelectedChange({value:this.filteredOptions[e],selected:this.selectedOptions}))}checkAllOptions(){this.isMulti&&this.lists.forEach(((e,t)=>this.checkOption(t)))}checkOption(e){this.isMulti&&(this.lists[e].setAttribute("aria-checked","true"),this.notifySelectedChange({value:this.filteredOptions[e],selected:this.selectedOptions}))}isSelectAllSelected(){return this.selectedOptions.length===this.options.length}setFocusOnHost(e){this.setFocus&&this.setFocus(e)}isOptionFocused(e){return this.focusedIndex===e}getAriaState(e){return this.isOptionFocused(e)}scrollToOption(){var e,t;let i=0;const{top:s,bottom:o}=this.listBox.getBoundingClientRect(),r=this.lists[this.focusedIndex],n=null===(e=this.lists[this.focusedIndex+1]||r)||void 0===e?void 0:e.getBoundingClientRect(),a=null===(t=this.lists[this.focusedIndex-1]||r)||void 0===t?void 0:t.getBoundingClientRect();(null==n?void 0:n.bottom)>o?i=n.bottom-o+2:(null==a?void 0:a.top)<s&&(i=a.top-s-2),this.updateOnNextFrame((()=>{this.listBox.scrollTop+=i}))}getCustomContentName(e){const t=this.options.indexOf(e);if(this.isOptGroup){const e=this.options[t];if(e&&"string"!=typeof e)return e.slot}else if(-1!==t)return this.customContent[t].slot}setInputSelectionRange(e,t){this.input.setSelectionRange(e,t)}isOptionChecked(e){return-1!==this.findSelectedOption(e)?"true":"false"}getInputSelection(){return this.input.selectionStart}canMultiSelect(){return 0===this.getInputSelection()&&0!==this.selectedOptions.length&&this.isMulti}removeMultiTag(){this.selected&&this.multiSelected.forEach((e=>{const t=this.selected[e];t&&t.hasAttribute("selected")&&this.removeSelected(this.selectedOptions[e])}))}unselectedAllMultiTag(){this.selected&&this.selected.forEach((e=>e.removeAttribute("selected"))),this.multiSelectedIndex=-1}findLastMultiSelected(){return this.selected[this.multiSelectedIndex]}toggleMultiSelectedTag(e,t){e&&e.toggleAttribute("selected",t)}selectMultiTag(e){if(this.canMultiSelect()){if(!e){this.multiSelected=[];const e=this.findLastMultiSelected();this.toggleMultiSelectedTag(e,!1)}this.multiSelectedIndex<=0?this.multiSelectedIndex=this.selectedOptions.length-1:this.multiSelectedIndex--,this.multiSelected.push(this.multiSelectedIndex);const t=this.findLastMultiSelected();this.toggleMultiSelectedTag(t,!0)}}handleListClick(e){return f(this,void 0,void 0,(function*(){this.dispatchEvent(new CustomEvent("selected-changed",{detail:{event:e}})),yield this.updateComplete,this.isMulti?this.setVisualListbox(!0):this.setVisualListbox(!1),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}))}handleSelectAll(){return f(this,void 0,void 0,(function*(){this.isSelectAllChecked=!this.isSelectAllChecked,this.isSelectAllChecked?(this.selectedOptions=[...this.options],this.checkAllOptions()):(this.selectedOptions=[],this.unCheckedAllOptions()),yield this.updateComplete,this.setVisualListbox(!0),this.notifySelectedChange({selected:this.selectedOptions})}))}handleInputKeyUp(e){switch(e.code){case o.Uz.Escape:break;case o.Uz.Backspace:this.setFocusOnHost(!0),this.setVisualListbox(!0),this.resizeListbox(),this.removeMultiTag();break;case o.Uz.ArrowLeft:this.isMulti&&(e.shiftKey?this.selectMultiTag(!0):this.selectMultiTag(!1));break;default:this.isMulti&&this.unselectedAllMultiTag()}}handleInput(e){const t=e.target.value;this.inputValue=t.trim(),this.notifyInputValueChanged(t.trim())}removeAllSelected(){var e;this.focusedIndex=-1,this.focusedGroupIndex=-1,this.selectedOptions=[],this.inputValue="",this.setInputValue(),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,""),this.setVisualListbox(!1),this.unCheckedAllOptions(),this.setSelectedAttribute(void 0),this.updateOnNextFrame((()=>{this.input.focus()})),this.notifySelectedChange({selected:this.selectedOptions})}removeSelected(e){const t=this.findSelectedOption(e),i=this.filteredOptions.indexOf(e);-1!==i&&this.unCheckedOption(i),-1!==t&&(this.selectedOptions.splice(t,1),this.requestUpdate()),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}selectedChange(e){var t;const{event:i}=e.detail;let s=this.findOptionIndex(i);if(-1!==s){this.focusedIndex=this.allowSelectAll&&this.checkForVirtualScroll()?s+1:s,this.isMulti&&this.allowSelectAll&&!this.checkForVirtualScroll()&&(s-=1);const e=this.getFocusedItem(s);this.setSelectedAttribute(e),e&&(this.setSelectedOption(e),this.isMulti?this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()):(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e))))}}setSelectedAttribute(e){var t;let i="";e&&(i=this.getOptionId(e)),null===(t=this.lists)||void 0===t||t.forEach(((e,t)=>{(null==e?void 0:e.id)===i?null==e||e.setAttribute("selected","true"):null==e||e.setAttribute("selected","false")}))}shouldChangeButton(){const e=this.input&&this.input.value.length>0&&!this.noClearIcon||this.isMulti&&this.selectedOptions.length&&!this.noClearIcon;return e&&document.dispatchEvent(new CustomEvent("on-widget-update")),e}setCustomValue(){this.optionId||this.optionValue||(this.options=[...this.options,this.inputValue],this.setSelectedOption(this.inputValue),this.isMulti||this.updateOnNextFrame((()=>{var e;this.focusedIndex=this.filteredOptions.length-1;const t=this.getFocusedItem(this.focusedIndex);t&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)))})),this.dispatchEvent(new CustomEvent("custom-value-add",{composed:!0,bubbles:!0,detail:{value:this.inputValue}}))),this.inputValue=""}handleGroupFocus(){this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.filteredGroupOptions.length>0&&-1===this.focusedGroupIndex&&(this.focusedGroupIndex=this.filteredGroupOptions.findIndex((e=>"string"!=typeof e&&e.groupName===this.groupExpandedList[0]))),this.updateOnNextFrame((()=>{-1===this.focusedGroupIndex||!this.allowSelectAll&&this.focusedGroupIndex>=this.filteredGroupOptions.length-1||this.allowSelectAll&&this.focusedGroupIndex>=this.filteredGroupOptions.length?this.focusedGroupIndex=0:this.focusedGroupIndex++})),this.focusedIndex=-1}handleInputKeyDown(e){var t,i;switch(e.code){case o.Uz.Backspace:this.focusedIndex=-1;break;case o.Uz.Tab:case o.Uz.Enter:if(this.setFocusOnHost(!0),this.expanded&&this.updateOnNextFrame((()=>{var e;const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);this.allowCustomValue&&this.input&&this.input.value.length&&-1===this.findFilteredOption(this.inputValue)?this.setCustomValue():(t&&(this.setSelectedAttribute(t),this.setSelectedOption(t),this.showSelectedCount||(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll())})),this.setVisualListbox(!1),e.code===o.Uz.Tab&&this.isMulti)return;break;case o.Uz.ArrowDown:if(this.isOptGroup&&0===this.filteredOptions.length)return void this.handleGroupFocus();this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame((()=>{var e;-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],!this.showSelectedCount&&t&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t))),this.focusedGroupIndex=-1}));break;case o.Uz.ArrowUp:if(this.isOptGroup&&0===this.filteredOptions.length)return void this.handleGroupFocus();this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame((()=>{var e;this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],t&&!this.showSelectedCount&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)),this.focusedGroupIndex=-1)}));break;case o.Uz.ArrowLeft:case o.Uz.ArrowRight:e.stopPropagation();break;case o.Uz.Escape:this.setFocusOnHost(!0),this.expanded?(e.stopPropagation(),this.setVisualListbox(!1)):(this.setInputValue(),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,""),this.focusedIndex=-1,this.focusedGroupIndex=-1,this.removeAllSelected(),this.setSelectedAttribute(void 0));break;case o.Uz.Home:this.setInputSelectionRange(0,0);break;case o.Uz.End:{const{length:e}=this.inputValue;this.setInputSelectionRange(e,e)}break;case o.Uz.Space:if(this.isMulti&&this.expanded){e.preventDefault();const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);t&&(this.setSelectedOption(t),this.setSelectedAttribute(t),this.showSelectedCount||(this.setInputValue(),null===(i=this.input)||void 0===i||i.setAttribute(o.iw.AriaActivedescendant,""))),0===this.focusedIndex&&this.allowSelectAll&&this.handleSelectAll()}this.expanded=!0}}handleGroupLabelKeyDown(e,t){switch(e.code){case o.Uz.Tab:this.handleGroupFocus();break;case o.Uz.Enter:case o.Uz.Space:-1!==this.focusedGroupIndex?this.toggleGroupListBox(e,t.value):(this.setFocusOnHost(!0),this.setVisualListbox(!1),this.updateOnNextFrame((()=>{var e;const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);t&&(this.setSelectedOption(t),this.showSelectedCount||(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1})))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll()})));break;case o.Uz.ArrowDown:if(0===this.filteredOptions.length)return;this.setFocusOnHost(!1),this.updateOnNextFrame((()=>{var e;-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],!this.showSelectedCount&&t&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t))),this.focusedGroupIndex=-1}));break;case o.Uz.ArrowUp:if(this.isOptGroup&&0===this.filteredOptions.length)return;this.setFocusOnHost(!1),this.updateOnNextFrame((()=>{var e;this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],t&&!this.showSelectedCount&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)))}));break;case o.Uz.Escape:this.focusedGroupIndex=-1,this.setVisualListbox(!1),this.setFocusOnHost(!0),this.input.focus();break;default:this.setVisualListbox(!0)}}toggleVisualListBox(e){var t,i;if(!this.readOnly){if(e.target.classList.contains("md-combobox-listbox"))e.target.focus();else if("md-icon"===e.target.localName){const s=null===(i=null===(t=e.target.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.parentElement;if(s){const e=s.querySelector(".md-combobox-listbox");(0,b.setTimeout)((()=>{e.focus()}),10)}}this.expanded?this.setVisualListbox(!1):(this.dispatchEvent(new CustomEvent("combobox-on-expand",{composed:!0,bubbles:!0})),this.notifySearchResultCount(),this.setVisualListbox(!0)),this.input.focus(),this.setGroupList(""),this.focusedGroupIndex=-1}}toggleGroupListBox(e,t){e.stopPropagation(),this.focusedGroupIndex=this.filteredGroupOptions.findIndex((e=>"string"!=typeof e&&e.groupName===t)),this.setGroupList(t),this.resizeListbox()}handleRemoveAll(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}connectedCallback(){super.connectedCallback(),this.setupEvents(),this.querySelector("optgroup")&&(this.isOptGroup=!0)}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}static get styles(){return[l.A,y.A]}get listItemOptionMap(){return{"md-combobox-multiselect":this.isMulti,compact:this.compact,"md-combobox-dropdown-arrow":this.isDropdownArrow}}get filteredOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter((e=>!this.isOptGroup||("string"!=typeof e&&this.groupExpandedList.includes(this.getOptionGroupName(e))?"false"===e.isLabel:void 0)))}get filteredGroupOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter((e=>!this.isOptGroup||("string"!=typeof e?"true"===e.isLabel:void 0)))}get comboBoxTemplateClassMap(){return{[`md-combobox--${this.shape}`]:!!this.shape,"md-combobox-searchable":this.searchable,"md-combobox-has-leading-icon":this.searchable||this.showFilterIcon,"md-new-combobox":this.newMomentum,[`md-${this.messageType}`]:!!this.messageType,"md-combobox-readonly":this.readOnly,"md-combobox-compact":this.compact,"md-combobox-dropdown-arrow":this.isDropdownArrow}}searchIconTemplate(){return this.leadingIconTemplate("search-bold","search-icon")}filterIconTemplate(){return this.leadingIconTemplate("filter-bold","filter-icon")}leadingIconTemplate(e,t){return d.html`
29
+ `}};h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"checked",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"indeterminate",null),h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,l.property)({type:String})],t.prototype,"label",void 0),h([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,l.query)(".checkbox-input")],t.prototype,"input",void 0),t=h([(0,a.w)("md-checkbox")],t),e.ELEMENT=t}(s||(s={}))},4863:e=>{e.exports=v},4893:e=>{e.exports=D},4928:(e,t,i)=>{i.d(t,{ComboBox:()=>s}),i(20109),i(61200);var s,o=i(90195),r=i(3001),n=i(31890),a=i(66677),l=i(26272),d=i(41488),h=i(40333),c=i(23968),p=i(97822),u=i(22818),m=i(8229),v=i(86635),b=i(97103),y=i(46795),g=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},f=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){class t{determineMessageType(e){return e.reduce(((e,t)=>"error"===t?e:t.type),"")}filterMessagesByType(e,t){return e.reduce(((e,i)=>i.type===t?e.concat(i.message):e),[])}}e.MessageController=t;let i=class extends((0,r.yC)(d.LitElement)){constructor(){super(...arguments),this._focusedIndex=-1,this._focusedGroupIndex=-1,this.label="Options",this.options=[],this.customOptions=[],this.placeholder="",this.isMulti=!1,this.useVirtualScroll=!1,this.disabled=!1,this.ordered=!1,this.expanded=!1,this.groupExpandedList=[],this.searchItem=!1,this.compact=!1,this.noClearIcon=!1,this.selectWhenInFocus=!1,this.selectedOptions=[],this.visibleOptions=8,this.optionId="",this.optionValue="",this.isCustomContent=!1,this.searchable=!1,this.shape="none",this.value=[],this.inputValue="",this.allowCustomValue=!1,this.autofocus=!1,this.resultsTextLocalization="No Results",this.optionsTextLocalization="No Options",this.trimSpace=!1,this.invalid=!1,this.invalidText="",this.ariaLabel="",this.searchResultAriaLabel="",this.ariaLabelForComboBox="",this.clearAriaLabel="Clear",this.arrowAriaLabel="Expand",this.clearIconHeight="auto",this.allTextLocalization="All",this.selectAllTextLocalization="Select All",this.selectedTextLocalization="Selected",this.allowSelectAll=!1,this.showCustomError=!1,this.showLoader=!1,this.showSelectedCount=!1,this.popupChevronAriaHidden="true",this.newMomentum=!1,this.showFilterIcon=!1,this.preventFilter=!1,this.isDropdownArrow=!1,this.comboboxId="",this.helpText="",this.messageArr=[],this.htmlId="",this.readOnly=!1,this.messageController=new t,this.isOptGroup=!1,this.isSelectAllChecked=!1,this.multiSelectedIndex=-1,this.multiSelected=[],this.customContent=[],this.notifySelectedChange=(0,a.sg)((e=>{this.dispatchEvent(new CustomEvent("change-selected",{composed:!0,bubbles:!0,detail:e}))}),0),this.handleGroupFilter=e=>{const t=e.filter((e=>{if("string"!=typeof e&&"true"===e.isLabel)return e.groupName}));return this.searchItem=!0,this.groupExpandedList=t.map((e=>{if("string"!=typeof e)return e.groupName})),e.filter((t=>"string"==typeof t||"true"!==t.isLabel||!!e.find((e=>{if("string"!=typeof t&&"string"!=typeof e)return t.groupName===e.groupName&&"false"===e.isLabel}))))},this.notifyInputValueChanged=(0,a.sg)((e=>{this.dispatchEvent(new CustomEvent("combobox-input",{composed:!0,bubbles:!0,detail:{value:e}})),this.notifySearchResultCount(),this.focusedGroupIndex=0,requestAnimationFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}),250),this.handleOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find((e=>e===this)),t||(this.setVisualListbox(!1),this.unselectedAllMultiTag()))}}get focusedIndex(){return this._focusedIndex}set focusedIndex(e){this.updateFocusedIndex(e)}updateFocusedIndex(e){var t;const i=this._focusedIndex;if(this.checkForVirtualScroll()){let i;i=this.allowSelectAll?0===e?"selectAll":this.getOptionId(this.filteredOptions[e-1]):this.getOptionId(this.filteredOptions[e]);const s=this.lists?null===(t=[...this.lists])||void 0===t?void 0:t.find((e=>0!==e.offsetHeight&&e.id===i)):"";this.lists&&[...this.lists].forEach((e=>{e.toggleAttribute("focused",!1)})),s&&(null==s||s.toggleAttribute("focused",!0))}else if(this.lists){const t=this.lists[i];t&&t.toggleAttribute("focused",!1);const s=this.lists[e];s&&s.toggleAttribute("focused",!0)}this._focusedIndex=e,this.requestUpdate("focusedIndex",i)}get focusedGroupIndex(){return this._focusedGroupIndex}set focusedGroupIndex(e){const t=this._focusedGroupIndex;if(this.labels&&0!==this.labels.length){const i=this.labels[t];i&&i.toggleAttribute("focused",!1);const s=this.labels[e];s&&(s.toggleAttribute("focused",!0),s.focus())}this._focusedGroupIndex=e,this.requestUpdate("focusedGroupIndex",t)}get messageType(){return this.messageArr.length>0?this.messageController.determineMessageType(this.messageArr):null}get messages(){return this.messageType?this.messageController.filterMessagesByType(this.messageArr,this.messageType):null}notifySearchResultCount(){if(this.searchResultAriaLabel){const e=/{{.*?}}/g;this.ariaLabelForComboBox=this.searchResultAriaLabel.replace(e,this.filteredOptions.length.toString())}else this.ariaLabel?this.ariaLabelForComboBox=`${this.ariaLabel}, ${this.filteredOptions.length} results found.`:this.ariaLabelForComboBox=`ComboBox Element, ${this.filteredOptions.length} results found.`}firstUpdated(e){this.ariaLabelForComboBox=this.ariaLabel?this.ariaLabel:"ComboBox Element",super.firstUpdated(e),this.isCustomContent&&(this.optionId="id",this.optionValue="value",this.setOptionCustomContent()),this.setInitialValue()}updated(e){super.updated(e),e.has("expanded")&&(this.expanded?(this.resizeListbox(),this.checkSelectedOptions()):this.unCheckAllOptions()),e.has("focusedIndex")&&this.focusedIndex>=0&&(this.checkForVirtualScroll()||this.scrollToOption()),e.has("value")&&0===this.selectedOptions.length&&this.setInitialValue(),e.has("customOptions")&&this.isCustomContent&&(this.setOptionCustomContent(),this.resizeListbox()),e.has("showCustomError")&&this.resizeListbox(),e.has("showLoader")&&this.resizeListbox(),e.has("searchItem")&&this.resizeListbox()}handleFocusIn(e){this.disabled&&!this.readOnly||(this.noClearIcon&&(requestAnimationFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1})),this.selectWhenInFocus&&this.input.select()),super.handleFocusIn&&super.handleFocusIn(e)),this.dispatchEvent(new CustomEvent("combobox-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.dispatchEvent(new CustomEvent("combobox-focus-out",{composed:!0,bubbles:!0}))}findFilteredOption(e){return this.isOptionObject(e)?this.filteredOptions.findIndex((t=>this.getOptionId(t)===this.getOptionId(e)&&this.getOptionValue(t)===this.getOptionValue(e))):this.filteredOptions.indexOf(e)}setInitialValue(){var e;if(this.value.length)if(this.isMulti)this.value.forEach((e=>{-1!==this.findFilteredOption(e)&&this.setSelectedOption(e)}));else{const t=this.value[0],i=this.findFilteredOption(t);-1!==i&&(this.setSelectedOption(t),this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)),this.focusedIndex=i,this.focusedGroupIndex=-1)}}isOptionObject(e){return"object"==typeof e&&null!==e}setOptionCustomContent(){if(this.isOptGroup){const e=[...this.querySelectorAll("optgroup")],t=[];for(const i of e){const e=i.getAttribute("label"),s=[...i.querySelectorAll("[slot]")];t.push({isLabel:"true",[this.optionValue]:e,groupName:e});for(const i of s){const s=i.getAttribute("aria-label"),o=i.getAttribute("display-value"),r=i.getAttribute("slot");s&&o&&t.push({[this.optionId]:s,[this.optionValue]:o,isLabel:"false",groupName:e,slot:r})}}this.options=t}else this.customContent=[...this.querySelectorAll("[slot]")],this.customContent&&this.customContent.length?this.options=this.customContent.map((e=>{const t=e.getAttribute("aria-label"),i=e.getAttribute("display-value");if(t&&i)return{[this.optionId]:t,[this.optionValue]:i}})):this.options=[]}getOptionValue(e){return this.isOptionObject(e)?e[this.optionValue]:e}getOptionGroupName(e){return null==e?void 0:e.groupName}getOptionId(e){return this.isOptionObject(e)?e[this.optionId]:e}getFocusedItem(e){if(e>=0)return this.filteredOptions[e]}setupEvents(){document.addEventListener("click",this.handleOutsideClick),this.addEventListener("remove-all-selected",this.removeAllSelected),this.addEventListener("selected-changed",this.selectedChange)}teardownEvents(){document.removeEventListener("click",this.handleOutsideClick),this.removeEventListener("remove-all-selected",this.removeAllSelected),this.removeEventListener("selected-changed",this.selectedChange)}setVisualListbox(e){this.expanded=e}setGroupList(e){this.groupExpandedList.includes(e)?(this.groupExpandedList.splice(this.groupExpandedList.indexOf(e),1),this.groupExpandedList=[...this.groupExpandedList]):this.searchItem?this.groupExpandedList.push(e):this.groupExpandedList=[e]}findSelectedOption(e){return this.optionId&&e?this.selectedOptions.findIndex((t=>t&&t[this.optionId]===e[this.optionId])):this.selectedOptions.indexOf(e)}findOptionIndex(e){const t=e.composedPath();if(this.checkForVirtualScroll()){let e="";return[...this.lists].forEach((i=>{t.includes(i)&&(e=i.id)})),this.filteredOptions.findIndex((t=>this.getOptionId(t)===e))}return[...this.lists].findIndex((e=>t.includes(e)))}checkSelectedOptions(){if(this.checkForVirtualScroll()){const e=this.selectedOptions.map((e=>this.getOptionId(e))),t=[...this.lists].filter((e=>"selectAll"!==e.id));null==t||t.forEach((t=>{e.includes(t.id)?(this.isMulti&&(null==t||t.setAttribute("aria-checked","true")),null==t||t.setAttribute("aria-selected","true")):this.isMulti&&(null==t||t.setAttribute("aria-checked","false"))}))}}unCheckAllOptions(){var e;this.checkForVirtualScroll()&&this.isMulti&&(null===(e=[...this.lists])||void 0===e||e.forEach((e=>{"selectAll"!==(null==e?void 0:e.id)&&(null==e||e.setAttribute("aria-checked","false"))})))}setSelectedOption(e){this.isMulti||(this.selectedOptions=[]);const t=this.findSelectedOption(e);if(-1!==t){const e=this.selectedOptions[t];this.selectedOptions.splice(t,1),this.notifySelectedChange({value:e,selected:this.selectedOptions})}else this.selectedOptions.push(e),this.notifySelectedChange({value:e,selected:this.selectedOptions});this.checkSelectedOptions(),this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()),this.requestUpdate()}filterOptions(e){if(this.preventFilter)return this.searchItem=!1,this.options;if(e&&e.length){const t=this.options.filter((t=>this.isOptGroup&&"string"!=typeof t&&"true"===t.isLabel?t:(this.isCustomContent?this.getOptionId(t):this.getOptionValue(t)).toLowerCase().includes(e.toLowerCase())));return this.isOptGroup?this.handleGroupFilter(t):t}return this.searchItem=!1,this.options}getListBoxVerticalPadding(){if(this.listBox){const e=window.getComputedStyle(this.listBox,null),t=parseInt(e.getPropertyValue("padding-top"))+parseInt(e.getPropertyValue("padding-bottom"));if(!isNaN(t))return t+2}return 10}resizeListbox(){this.updateOnNextFrame((()=>{var e;let t=0,i=0,s=0;const o=this.getListBoxVerticalPadding();if(this.lists){const e=this.checkForVirtualScroll()?[...this.lists].filter((e=>0!==e.offsetHeight)):[...this.lists];t=e.slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0),s=this.checkForVirtualScroll()&&this.allowSelectAll?e.slice(1,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0):e.slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0)}if(this.labels&&(i=[...this.labels].slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0)),this.listBox&&(this.listBox.style.maxHeight=`${t+i+o}px`),this.virtualizer&&(this.virtualizer.style.height=`${s+o}px`),this.showCustomError||this.showLoader){const t=null===(e=this.listBox)||void 0===e?void 0:e.querySelector("[slot]");this.listBox&&t&&(this.listBox.style.height=`${t.clientHeight+o}px`,this.listBox.style.maxHeight=`${t.clientHeight+o}px`)}}))}setInputValue(e=""){this.input.value=e}updateOnNextFrame(e){requestAnimationFrame(e)}unCheckedAllOptions(){this.isMulti&&(this.lists.forEach(((e,t)=>this.unCheckedOption(t))),this.isSelectAllChecked=!1)}unCheckedOption(e){this.isMulti&&(this.lists[e].setAttribute("aria-checked","false"),this.notifySelectedChange({value:this.filteredOptions[e],selected:this.selectedOptions}))}checkAllOptions(){this.isMulti&&this.lists.forEach(((e,t)=>this.checkOption(t)))}checkOption(e){this.isMulti&&(this.lists[e].setAttribute("aria-checked","true"),this.notifySelectedChange({value:this.filteredOptions[e],selected:this.selectedOptions}))}isSelectAllSelected(){return this.selectedOptions.length===this.options.length}setFocusOnHost(e){this.setFocus&&this.setFocus(e)}isOptionFocused(e){return this.focusedIndex===e}getAriaState(e){return this.isOptionFocused(e)}scrollToOption(){var e,t;let i=0;const{top:s,bottom:o}=this.listBox.getBoundingClientRect(),r=this.lists[this.focusedIndex],n=null===(e=this.lists[this.focusedIndex+1]||r)||void 0===e?void 0:e.getBoundingClientRect(),a=null===(t=this.lists[this.focusedIndex-1]||r)||void 0===t?void 0:t.getBoundingClientRect();(null==n?void 0:n.bottom)>o?i=n.bottom-o+2:(null==a?void 0:a.top)<s&&(i=a.top-s-2),this.updateOnNextFrame((()=>{this.listBox.scrollTop+=i}))}getCustomContentName(e){const t=this.options.indexOf(e);if(this.isOptGroup){const e=this.options[t];if(e&&"string"!=typeof e)return e.slot}else if(-1!==t)return this.customContent[t].slot}setInputSelectionRange(e,t){this.input.setSelectionRange(e,t)}isOptionChecked(e){return-1!==this.findSelectedOption(e)?"true":"false"}getInputSelection(){return this.input.selectionStart}canMultiSelect(){return 0===this.getInputSelection()&&0!==this.selectedOptions.length&&this.isMulti}removeMultiTag(){this.selected&&this.multiSelected.forEach((e=>{const t=this.selected[e];t&&t.hasAttribute("selected")&&this.removeSelected(this.selectedOptions[e])}))}unselectedAllMultiTag(){this.selected&&this.selected.forEach((e=>e.removeAttribute("selected"))),this.multiSelectedIndex=-1}findLastMultiSelected(){return this.selected[this.multiSelectedIndex]}toggleMultiSelectedTag(e,t){e&&e.toggleAttribute("selected",t)}selectMultiTag(e){if(this.canMultiSelect()){if(!e){this.multiSelected=[];const e=this.findLastMultiSelected();this.toggleMultiSelectedTag(e,!1)}this.multiSelectedIndex<=0?this.multiSelectedIndex=this.selectedOptions.length-1:this.multiSelectedIndex--,this.multiSelected.push(this.multiSelectedIndex);const t=this.findLastMultiSelected();this.toggleMultiSelectedTag(t,!0)}}handleListClick(e){return f(this,void 0,void 0,(function*(){this.dispatchEvent(new CustomEvent("selected-changed",{detail:{event:e}})),yield this.updateComplete,this.isMulti?this.setVisualListbox(!0):this.setVisualListbox(!1),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}))}handleSelectAll(){return f(this,void 0,void 0,(function*(){this.isSelectAllChecked=!this.isSelectAllChecked,this.isSelectAllChecked?(this.selectedOptions=[...this.options],this.checkAllOptions()):(this.selectedOptions=[],this.unCheckedAllOptions()),yield this.updateComplete,this.setVisualListbox(!0),this.notifySelectedChange({selected:this.selectedOptions})}))}handleInputKeyUp(e){switch(e.code){case o.Uz.Escape:break;case o.Uz.Backspace:this.setFocusOnHost(!0),this.setVisualListbox(!0),this.resizeListbox(),this.removeMultiTag();break;case o.Uz.ArrowLeft:this.isMulti&&(e.shiftKey?this.selectMultiTag(!0):this.selectMultiTag(!1));break;default:this.isMulti&&this.unselectedAllMultiTag()}}handleInput(e){const t=e.target.value;this.inputValue=t.trim(),this.notifyInputValueChanged(t.trim())}removeAllSelected(){var e;this.focusedIndex=-1,this.focusedGroupIndex=-1,this.selectedOptions=[],this.inputValue="",this.setInputValue(),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,""),this.setVisualListbox(!1),this.unCheckedAllOptions(),this.setSelectedAttribute(void 0),this.updateOnNextFrame((()=>{this.input.focus()})),this.notifySelectedChange({selected:this.selectedOptions})}removeSelected(e){const t=this.findSelectedOption(e),i=this.filteredOptions.indexOf(e);-1!==i&&this.unCheckedOption(i),-1!==t&&(this.selectedOptions.splice(t,1),this.requestUpdate()),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1}))}selectedChange(e){var t;const{event:i}=e.detail;let s=this.findOptionIndex(i);if(-1!==s){this.focusedIndex=this.allowSelectAll&&this.checkForVirtualScroll()?s+1:s,this.isMulti&&this.allowSelectAll&&!this.checkForVirtualScroll()&&(s-=1);const e=this.getFocusedItem(s);this.setSelectedAttribute(e),e&&(this.setSelectedOption(e),this.isMulti?this.isMulti&&this.allowSelectAll&&(this.isSelectAllChecked=this.isSelectAllSelected()):(this.setInputValue(this.getOptionValue(e)),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(e))))}}setSelectedAttribute(e){var t;let i="";e&&(i=this.getOptionId(e)),null===(t=this.lists)||void 0===t||t.forEach(((e,t)=>{(null==e?void 0:e.id)===i?null==e||e.setAttribute("selected","true"):null==e||e.setAttribute("selected","false")}))}shouldChangeButton(){const e=this.input&&this.input.value.length>0&&!this.noClearIcon||this.isMulti&&this.selectedOptions.length&&!this.noClearIcon;return e&&document.dispatchEvent(new CustomEvent("on-widget-update")),e}setCustomValue(){this.optionId||this.optionValue||(this.options=[...this.options,this.inputValue],this.setSelectedOption(this.inputValue),this.isMulti||this.updateOnNextFrame((()=>{var e;this.focusedIndex=this.filteredOptions.length-1;const t=this.getFocusedItem(this.focusedIndex);t&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)))})),this.dispatchEvent(new CustomEvent("custom-value-add",{composed:!0,bubbles:!0,detail:{value:this.inputValue}}))),this.inputValue=""}handleGroupFocus(){this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.filteredGroupOptions.length>0&&-1===this.focusedGroupIndex&&(this.focusedGroupIndex=this.filteredGroupOptions.findIndex((e=>"string"!=typeof e&&e.groupName===this.groupExpandedList[0]))),this.updateOnNextFrame((()=>{-1===this.focusedGroupIndex||!this.allowSelectAll&&this.focusedGroupIndex>=this.filteredGroupOptions.length-1||this.allowSelectAll&&this.focusedGroupIndex>=this.filteredGroupOptions.length?this.focusedGroupIndex=0:this.focusedGroupIndex++})),this.focusedIndex=-1}handleInputKeyDown(e){var t,i;switch(e.code){case o.Uz.Backspace:this.focusedIndex=-1;break;case o.Uz.Tab:case o.Uz.Enter:if(this.setFocusOnHost(!0),this.expanded&&this.updateOnNextFrame((()=>{var e;const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);this.allowCustomValue&&this.input&&this.input.value.length&&-1===this.findFilteredOption(this.inputValue)?this.setCustomValue():(t&&(this.setSelectedAttribute(t),this.setSelectedOption(t),this.showSelectedCount||(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll())})),this.setVisualListbox(!1),e.code===o.Uz.Tab&&this.isMulti)return;break;case o.Uz.ArrowDown:if(this.isOptGroup&&0===this.filteredOptions.length)return void this.handleGroupFocus();this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame((()=>{var e;-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],!this.showSelectedCount&&t&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t))),this.focusedGroupIndex=-1}));break;case o.Uz.ArrowUp:if(this.isOptGroup&&0===this.filteredOptions.length)return void this.handleGroupFocus();this.setFocusOnHost(!1),this.expanded||this.setVisualListbox(!0),this.updateOnNextFrame((()=>{var e;this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],t&&!this.showSelectedCount&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)),this.focusedGroupIndex=-1)}));break;case o.Uz.ArrowLeft:case o.Uz.ArrowRight:e.stopPropagation();break;case o.Uz.Escape:this.setFocusOnHost(!0),this.expanded?(e.stopPropagation(),this.setVisualListbox(!1)):(this.setInputValue(),null===(t=this.input)||void 0===t||t.setAttribute(o.iw.AriaActivedescendant,""),this.focusedIndex=-1,this.focusedGroupIndex=-1,this.removeAllSelected(),this.setSelectedAttribute(void 0));break;case o.Uz.Home:this.setInputSelectionRange(0,0);break;case o.Uz.End:{const{length:e}=this.inputValue;this.setInputSelectionRange(e,e)}break;case o.Uz.Space:if(this.isMulti&&this.expanded){e.preventDefault();const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);t&&(this.setSelectedOption(t),this.setSelectedAttribute(t),this.showSelectedCount||(this.setInputValue(),null===(i=this.input)||void 0===i||i.setAttribute(o.iw.AriaActivedescendant,""))),0===this.focusedIndex&&this.allowSelectAll&&this.handleSelectAll()}this.expanded=!0}}handleGroupLabelKeyDown(e,t){switch(e.code){case o.Uz.Tab:this.handleGroupFocus();break;case o.Uz.Enter:case o.Uz.Space:-1!==this.focusedGroupIndex?this.toggleGroupListBox(e,t.value):(this.setFocusOnHost(!0),this.setVisualListbox(!1),this.updateOnNextFrame((()=>{var e;const t=this.getFocusedItem(this.allowSelectAll?this.focusedIndex-1:this.focusedIndex);t&&(this.setSelectedOption(t),this.showSelectedCount||(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)),this.updateOnNextFrame((()=>{this.input.focus(),this.focusedGroupIndex=-1})))),this.isMulti&&this.allowSelectAll&&0===this.focusedIndex&&this.handleSelectAll()})));break;case o.Uz.ArrowDown:if(0===this.filteredOptions.length)return;this.setFocusOnHost(!1),this.updateOnNextFrame((()=>{var e;-1===this.focusedIndex||!this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length-1||this.allowSelectAll&&this.focusedIndex>=this.filteredOptions.length?this.focusedIndex=0:this.focusedIndex++;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],!this.showSelectedCount&&t&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t))),this.focusedGroupIndex=-1}));break;case o.Uz.ArrowUp:if(this.isOptGroup&&0===this.filteredOptions.length)return;this.setFocusOnHost(!1),this.updateOnNextFrame((()=>{var e;this.focusedIndex<=0?this.focusedIndex=this.allowSelectAll?this.filteredOptions.length:this.filteredOptions.length-1:this.focusedIndex--;const t=this.getFocusedItem(this.focusedIndex);this.groupExpandedList=[this.getOptionGroupName(t)],t&&!this.showSelectedCount&&(this.setInputValue(this.getOptionValue(t)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(t)))}));break;case o.Uz.Escape:this.focusedGroupIndex=-1,this.setVisualListbox(!1),this.setFocusOnHost(!0),this.input.focus();break;default:this.setVisualListbox(!0)}}toggleVisualListBox(e){var t,i;if(!this.readOnly){if(e.target.classList.contains("md-combobox-listbox"))e.target.focus();else if("md-icon"===e.target.localName){const s=null===(i=null===(t=e.target.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.parentElement;if(s){const e=s.querySelector(".md-combobox-listbox");(0,b.setTimeout)((()=>{e.focus()}),10)}}this.expanded?this.setVisualListbox(!1):(this.dispatchEvent(new CustomEvent("combobox-on-expand",{composed:!0,bubbles:!0})),this.notifySearchResultCount(),this.setVisualListbox(!0)),this.input.focus(),this.setGroupList(""),this.focusedGroupIndex=-1}}toggleGroupListBox(e,t){e.stopPropagation(),this.focusedGroupIndex=this.filteredGroupOptions.findIndex((e=>"string"!=typeof e&&e.groupName===t)),this.setGroupList(t),this.resizeListbox()}handleRemoveAll(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}connectedCallback(){super.connectedCallback(),this.setupEvents(),this.querySelector("optgroup")&&(this.isOptGroup=!0)}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}static get styles(){return[l.A,y.A]}get listItemOptionMap(){return{"md-combobox-multiselect":this.isMulti,compact:this.compact,"md-combobox-dropdown-arrow":this.isDropdownArrow}}get filteredOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter((e=>!this.isOptGroup||("string"!=typeof e&&this.groupExpandedList.includes(this.getOptionGroupName(e))?"false"===e.isLabel:void 0)))}get filteredGroupOptions(){return this.filterOptions(this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue).filter((e=>!this.isOptGroup||("string"!=typeof e?"true"===e.isLabel:void 0)))}get comboBoxTemplateClassMap(){return{[`md-combobox--${this.shape}`]:!!this.shape,"md-combobox-searchable":this.searchable,"md-combobox-has-leading-icon":this.searchable||this.showFilterIcon,"md-new-combobox":this.newMomentum,[`md-${this.messageType}`]:!!this.messageType,"md-combobox-readonly":this.readOnly,"md-combobox-compact":this.compact,"md-combobox-dropdown-arrow":this.isDropdownArrow}}searchIconTemplate(){return this.leadingIconTemplate("search-bold","search-icon")}filterIconTemplate(){return this.leadingIconTemplate("filter-bold","filter-icon")}leadingIconTemplate(e,t){return d.html`
30
30
  <md-icon
31
31
  name=${e}
32
32
  class=${t}
@@ -288,7 +288,7 @@
288
288
  <slot></slot>
289
289
  </div>
290
290
  </div>
291
- `}};c([(0,l.property)({type:String})],t.prototype,"label",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"level",null),c([(0,l.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=c([(0,r.w)("md-accordion-item")],t),e.ELEMENT=t}(s||(s={}))},6963:e=>{e.exports=q},8229:e=>{e.exports=t},8827:e=>{e.exports=h},9614:e=>{e.exports=c},10654:(e,t,i)=>{i.d(t,{Card:()=>s}),i(96798),i(99850),i(61200),i(68490),i(66245),i(11323),i(83192);var s,o=i(31890),r=i(26272),n=i(41488),a=i(40333),l=i(22818),d=i(90195),h=i(70630),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.title="title",this.subtitle="",this.id="",this.info="",this.infoAriaLabel="Card Info",this.menuAriaLabel="Card Menu",this.menuOptions=[]}static get styles(){return[r.A,h.A]}handleCardClick(){this.dispatchEvent(new CustomEvent("card-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardKeyDown(e){e.code!==d.Uz.Enter&&e.code!==d.Uz.Space||this.dispatchEvent(new CustomEvent("card-keydown",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardMenuEvent(e,t){e.stopPropagation();const i=t.toLowerCase();this.dispatchEvent(new CustomEvent("card-menu-click",{detail:{id:this.id,type:i},bubbles:!0,composed:!0}))}handleCardMenuKeyDown(e,t){e.preventDefault(),this.dispatchEvent(new CustomEvent("card-menu-keydown",{detail:{id:this.id,type:t.toLowerCase(),keyCode:e.code},bubbles:!0,composed:!0}))}render(){return n.html`
291
+ `}};c([(0,l.property)({type:String})],t.prototype,"label",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"expanded",null),c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"level",null),c([(0,l.query)(".md-accordion-expander")],t.prototype,"header",void 0),t=c([(0,r.w)("md-accordion-item")],t),e.ELEMENT=t}(s||(s={}))},6963:e=>{e.exports=O},8229:e=>{e.exports=t},8827:e=>{e.exports=H},9614:e=>{e.exports=q},10654:(e,t,i)=>{i.d(t,{Card:()=>s}),i(96798),i(99850),i(61200),i(68490),i(66245),i(11323),i(83192);var s,o=i(31890),r=i(26272),n=i(41488),a=i(40333),l=i(22818),d=i(90195),h=i(70630),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.title="title",this.subtitle="",this.id="",this.info="",this.infoAriaLabel="Card Info",this.menuAriaLabel="Card Menu",this.menuOptions=[]}static get styles(){return[r.A,h.A]}handleCardClick(){this.dispatchEvent(new CustomEvent("card-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardKeyDown(e){e.code!==d.Uz.Enter&&e.code!==d.Uz.Space||this.dispatchEvent(new CustomEvent("card-keydown",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardMenuEvent(e,t){e.stopPropagation();const i=t.toLowerCase();this.dispatchEvent(new CustomEvent("card-menu-click",{detail:{id:this.id,type:i},bubbles:!0,composed:!0}))}handleCardMenuKeyDown(e,t){e.preventDefault(),this.dispatchEvent(new CustomEvent("card-menu-keydown",{detail:{id:this.id,type:t.toLowerCase(),keyCode:e.code},bubbles:!0,composed:!0}))}render(){return n.html`
292
292
  <div
293
293
  class="md-card"
294
294
  id="${this.id}"
@@ -370,7 +370,7 @@
370
370
  ${this.renderOverflowY()};
371
371
  }
372
372
  </style>
373
- `}connectedCallback(){super.connectedCallback(),this.handleWindowBlurEvent=this.handleWindowBlurEvent.bind(this),window.addEventListener("blur",this.handleWindowBlurEvent),document.addEventListener("click",this.handleOutsideOverlayClick),document.addEventListener("keydown",this.handleOutsideOverlayKeydown),this.addEventListener("menu-overlay-open",this.updateActiveMenuOverlayOpened),this.addEventListener("menu-overlay-close",this.updateActiveMenuOverlayClosed)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideOverlayClick),document.removeEventListener("keydown",this.handleOutsideOverlayKeydown),window.removeEventListener("blur",this.handleWindowBlurEvent),this.removeEventListener("menu-overlay-open",this.updateActiveMenuOverlayOpened),this.removeEventListener("menu-overlay-close",this.updateActiveMenuOverlayClosed),this.triggerElement&&(this.triggerElement.removeEventListener("click",this.handleTriggerClick),this.triggerElement.removeEventListener("keydown",this.handleTriggerKeyDown),this.allowHoverToggle&&(this.triggerElement.removeEventListener("mouseenter",this.expandPopup),this.triggerElement.removeEventListener("mouseleave",this.collapsePopup),this.overlayContainer.removeEventListener("mouseenter",this.expandPopup),this.overlayContainer.removeEventListener("mouseleave",this.collapsePopup)),this.triggerElement=null)}checkIsInputField(e){var t;return"md-input"===(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLowerCase())}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return C(this,void 0,void 0,(function*(){t.firstUpdated.call(this,e),yield new Promise((e=>setTimeout(e,0))),this.trigger&&(this.triggerElement=this.trigger[0],this.triggerElement.addEventListener("click",this.handleTriggerClick),this.allowHoverToggle&&(this.triggerElement.addEventListener("mouseenter",this.expandPopup),this.triggerElement.addEventListener("mouseleave",this.collapsePopup),this.overlayContainer.addEventListener("mouseenter",this.expandPopup),this.overlayContainer.addEventListener("mouseleave",this.collapsePopup)),this.checkIsInputField(this.triggerElement)||this.triggerElement.addEventListener("keydown",this.handleTriggerKeyDown),this.triggerElement.setAttribute("aria-haspopup","true")),this.overlayContainer&&this.isOpen&&(this.handleInstance(!0),this.overlayContainer.toggleAttribute("data-show",!0)),this.arrow&&this.showArrow&&this.arrow.toggleAttribute("data-show",!0),e.has("isOpen")&&(this.isOpen?this.triggerElement&&this.triggerElement.setAttribute("aria-expanded","true"):this.triggerElement&&this.triggerElement.setAttribute("aria-expanded","false"))}))}update(e){super.update(e),e.has("isOpen")&&(this.isOpen?(this.activateFocusTrap(),document.addEventListener("menu-item-click",this.handleTriggerClick)):(this.deactivateFocusTrap(),document.removeEventListener("menu-item-click",this.handleTriggerClick)))}updated(e){super.updated(e),e.has("isOpen")&&(this.isOpen?(this.dispatchMenuOpen(),this.triggerElement&&(this.triggerElement.setAttribute("aria-expanded","true"),this.triggerElement.hasAttribute("ariaexpanded")&&this.triggerElement.setAttribute("ariaexpanded","true"))):(this.dispatchMenuClose(),this.triggerElement&&(this.triggerElement.removeAttribute("aria-expanded"),this.triggerElement.hasAttribute("ariaexpanded")&&this.triggerElement.setAttribute("ariaexpanded","false"))))}dispatchMenuOpen(){this.dispatchEvent(new CustomEvent("menu-overlay-open",{composed:!0,bubbles:!0}))}dispatchMenuClose(){this.dispatchEvent(new CustomEvent("menu-overlay-close",{composed:!0,bubbles:!0}))}handleInstance(e){e?this.create():this.destroy()}create(){this.triggerElement&&(this.popperInstance=(0,y.createPopper)(this.triggerElement,this.overlayContainer,{onFirstUpdate:()=>C(this,void 0,void 0,(function*(){var e;this.isOpen&&(null===(e=this.popperInstance)||void 0===e||e.update(),this.setFocusableElements(),yield this.updateComplete,this.focusInsideOverlay())})),placement:this.placement,modifiers:[...y.defaultModifiers,p(),m(),b(),h(),{name:"preventOverflow",options:{padding:16}},{name:"offset",options:{offset:({placement:e,reference:t})=>"left-end"===e||"right-end"===e?[t.height+t.y+3,14]:[0,this.overlayOffset]}},{name:"arrow",options:{element:this.arrow,padding:5}},{name:"computeStyles",options:{adaptive:!1}}]}))}destroy(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}toggleOverlay(){this.disabled||(this.isOpen=!this.isOpen)}focusOnTrigger(){requestAnimationFrame((()=>{var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.focusableElements[0].focus()}))}focusInsideOverlay(){this.focusableElements&&(this.focusableElements.length>1?this.setInitialFocus(1):this.focusableElements.length&&this.setInitialFocus())}focusOnNestedTrigger(e){var t;null===(t=this.setFocusOnTrigger)||void 0===t||t.call(this,e)}handleWindowBlurEvent(){this._isOpen&&!this.keepOpenOnWindowBlur&&(this.isOpen=!1)}static get styles(){return[w.A]}render(){return g.html`
373
+ `}connectedCallback(){super.connectedCallback(),this.handleWindowBlurEvent=this.handleWindowBlurEvent.bind(this),window.addEventListener("blur",this.handleWindowBlurEvent),document.addEventListener("click",this.handleOutsideOverlayClick),document.addEventListener("keydown",this.handleOutsideOverlayKeydown),this.addEventListener("menu-overlay-open",this.updateActiveMenuOverlayOpened),this.addEventListener("menu-overlay-close",this.updateActiveMenuOverlayClosed)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideOverlayClick),document.removeEventListener("keydown",this.handleOutsideOverlayKeydown),window.removeEventListener("blur",this.handleWindowBlurEvent),this.removeEventListener("menu-overlay-open",this.updateActiveMenuOverlayOpened),this.removeEventListener("menu-overlay-close",this.updateActiveMenuOverlayClosed),this.triggerElement&&(this.triggerElement.removeEventListener("click",this.handleTriggerClick),this.triggerElement.removeEventListener("keydown",this.handleTriggerKeyDown),this.allowHoverToggle&&(this.triggerElement.removeEventListener("mouseenter",this.expandPopup),this.triggerElement.removeEventListener("mouseleave",this.collapsePopup),this.overlayContainer.removeEventListener("mouseenter",this.expandPopup),this.overlayContainer.removeEventListener("mouseleave",this.collapsePopup)),this.triggerElement=null)}checkIsInputField(e){var t;return"md-input"===(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLowerCase())}updateTriggerElementAriaExpanded(){this.triggerElement&&(this.isOpen?this.triggerElement.setAttribute("aria-expanded","true"):this.triggerElement.removeAttribute("aria-expanded"))}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return C(this,void 0,void 0,(function*(){t.firstUpdated.call(this,e),yield new Promise((e=>setTimeout(e,0))),this.trigger&&(this.triggerElement=this.trigger[0],this.triggerElement.addEventListener("click",this.handleTriggerClick),this.allowHoverToggle&&(this.triggerElement.addEventListener("mouseenter",this.expandPopup),this.triggerElement.addEventListener("mouseleave",this.collapsePopup),this.overlayContainer.addEventListener("mouseenter",this.expandPopup),this.overlayContainer.addEventListener("mouseleave",this.collapsePopup)),this.checkIsInputField(this.triggerElement)||this.triggerElement.addEventListener("keydown",this.handleTriggerKeyDown),this.triggerElement.setAttribute("aria-haspopup","true")),this.overlayContainer&&this.isOpen&&(this.handleInstance(!0),this.overlayContainer.toggleAttribute("data-show",!0)),this.arrow&&this.showArrow&&this.arrow.toggleAttribute("data-show",!0),e.has("isOpen")&&this.updateTriggerElementAriaExpanded()}))}update(e){super.update(e),e.has("isOpen")&&(this.isOpen?(this.activateFocusTrap(),document.addEventListener("menu-item-click",this.handleTriggerClick)):(this.deactivateFocusTrap(),document.removeEventListener("menu-item-click",this.handleTriggerClick)))}updated(e){super.updated(e),e.has("isOpen")&&(this.isOpen?(this.dispatchMenuOpen(),this.triggerElement&&(this.triggerElement.setAttribute("aria-expanded","true"),this.triggerElement.hasAttribute("ariaexpanded")&&this.triggerElement.setAttribute("ariaexpanded","true"))):(this.dispatchMenuClose(),this.triggerElement&&(this.triggerElement.removeAttribute("aria-expanded"),this.triggerElement.hasAttribute("ariaexpanded")&&this.triggerElement.setAttribute("ariaexpanded","false"))))}dispatchMenuOpen(){this.dispatchEvent(new CustomEvent("menu-overlay-open",{composed:!0,bubbles:!0}))}dispatchMenuClose(){this.dispatchEvent(new CustomEvent("menu-overlay-close",{composed:!0,bubbles:!0}))}handleInstance(e){e?this.create():this.destroy()}create(){this.triggerElement&&(this.popperInstance=(0,y.createPopper)(this.triggerElement,this.overlayContainer,{onFirstUpdate:()=>C(this,void 0,void 0,(function*(){var e;this.isOpen&&(null===(e=this.popperInstance)||void 0===e||e.update(),this.setFocusableElements(),yield this.updateComplete,this.focusInsideOverlay())})),placement:this.placement,modifiers:[...y.defaultModifiers,p(),m(),b(),h(),{name:"preventOverflow",options:{padding:16}},{name:"offset",options:{offset:({placement:e,reference:t})=>"left-end"===e||"right-end"===e?[t.height+t.y+3,14]:[0,this.overlayOffset]}},{name:"arrow",options:{element:this.arrow,padding:5}},{name:"computeStyles",options:{adaptive:!1}}]}))}destroy(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}toggleOverlay(){this.disabled||(this.isOpen=!this.isOpen)}focusOnTrigger(){requestAnimationFrame((()=>{var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.focusableElements[0].focus()}))}focusInsideOverlay(){this.focusableElements&&(this.focusableElements.length>1?this.setInitialFocus(1):this.focusableElements.length&&this.setInitialFocus())}focusOnNestedTrigger(e){var t;null===(t=this.setFocusOnTrigger)||void 0===t||t.call(this,e)}handleWindowBlurEvent(){this._isOpen&&!this.keepOpenOnWindowBlur&&(this.isOpen=!1)}static get styles(){return[w.A]}render(){return g.html`
374
374
  ${this.getStyles()}
375
375
  <div class="md-menu-overlay">
376
376
  <slot name="menu-trigger"></slot>
@@ -387,33 +387,27 @@
387
387
  </div>
388
388
  </div>
389
389
  </div>
390
- `}};t.activeOverlay=[],x([(0,g.property)({type:Boolean,attribute:"is-open",reflect:!0})],t.prototype,"isOpen",null),x([(0,g.property)({type:String})],t.prototype,"size",void 0),x([(0,g.property)({type:String,attribute:"max-height"})],t.prototype,"maxHeight",void 0),x([(0,g.property)({type:String,attribute:"custom-width"})],t.prototype,"customWidth",void 0),x([(0,g.property)({type:Boolean,attribute:"show-arrow"})],t.prototype,"showArrow",void 0),x([(0,g.property)({type:Boolean})],t.prototype,"disabled",void 0),x([(0,g.property)({type:String})],t.prototype,"placement",void 0),x([(0,g.property)({type:Boolean,attribute:"allow-hover-toggle"})],t.prototype,"allowHoverToggle",void 0),x([(0,g.property)({type:String})],t.prototype,"ariaRole",void 0),x([(0,g.property)({type:String})],t.prototype,"ariaLabel",void 0),x([(0,g.property)({type:Boolean,attribute:"is-date-picker"})],t.prototype,"isDatePicker",void 0),x([(0,g.property)({type:Number,attribute:"overlay-offset"})],t.prototype,"overlayOffset",void 0),x([(0,g.property)({type:Boolean,attribute:"keep-open-on-window-blur"})],t.prototype,"keepOpenOnWindowBlur",void 0),x([(0,g.query)(".overlay-container")],t.prototype,"overlayContainer",void 0),x([(0,g.query)(".overlay-arrow")],t.prototype,"arrow",void 0),x([(0,g.queryAssignedNodes)("menu-trigger",!0)],t.prototype,"trigger",void 0),t=x([(0,n.w)("md-menu-overlay")],t),e.ELEMENT=t}(o||(o={}))},12176:(e,t,i)=>{i.d(t,{Spinner:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(8229),l=i(46325),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.size=56,this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[r.A,l.A]}get spinnerStyleMap(){return{width:`${this.size}px`,height:`${this.size}px`}}firstUpdated(e){super.firstUpdated(e),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-spinner");if(!t)return;let i=null;const s=e=>{if(!this.isAnimating)return;i||(i=e);const o=e-i,r=o/1e3*360;t.style.transform=`rotate(${r}deg)`,o>=1e3&&(i=e),this.animationFrameId=requestAnimationFrame(s)};this.animationFrameId=requestAnimationFrame(s)}stopAnimation(){var e;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-spinner");t&&(t.style.transform="")}render(){return n.html` <i class="md-spinner" part="spinner" style=${(0,a.styleMap)(this.spinnerStyleMap)}></i> `}};d([(0,n.property)({type:Number,reflect:!0})],t.prototype,"size",void 0),d([(0,n.internalProperty)()],t.prototype,"isAnimating",void 0),t=d([(0,o.w)("md-spinner")],t),e.ELEMENT=t}(s||(s={}))},13060:e=>{e.exports=j},15553:e=>{e.exports=m},16643:(e,t,i)=>{i.d(t,{TAB_CROSS_WIDTH:()=>p,Tab:()=>u});var s=i(90195),o=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(23968),d=i(97822),h=i(30076),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const p=22;var u;!function(e){let t=class extends((0,o.yC)(a.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this.type="line",this.newMomentum=!1,this.onlyIcon=!1,this.variant="ghost",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedTab(),this.setAttribute("aria-selected",`${e}`),this.requestUpdate("selected",t)}static get styles(){return[n.A,h.A]}handleClick(e){e.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(e){e.stopPropagation(),e.code===s.Uz.Enter&&this.handleCrossEventDispatch()}handleCrossClick(e){e.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",`${this.disabled}`))}connectedCallback(){super.connectedCallback()}firstUpdated(e){super.firstUpdated(e),this.ariaRole&&this.setAttribute("role",this.ariaRole)}renderCrossButton(){return a.html`
391
- <div
392
- ?disabled=${this.disabled}
393
- tabindex="-1"
390
+ `}};t.activeOverlay=[],x([(0,g.property)({type:Boolean,attribute:"is-open",reflect:!0})],t.prototype,"isOpen",null),x([(0,g.property)({type:String})],t.prototype,"size",void 0),x([(0,g.property)({type:String,attribute:"max-height"})],t.prototype,"maxHeight",void 0),x([(0,g.property)({type:String,attribute:"custom-width"})],t.prototype,"customWidth",void 0),x([(0,g.property)({type:Boolean,attribute:"show-arrow"})],t.prototype,"showArrow",void 0),x([(0,g.property)({type:Boolean})],t.prototype,"disabled",void 0),x([(0,g.property)({type:String})],t.prototype,"placement",void 0),x([(0,g.property)({type:Boolean,attribute:"allow-hover-toggle"})],t.prototype,"allowHoverToggle",void 0),x([(0,g.property)({type:String})],t.prototype,"ariaRole",void 0),x([(0,g.property)({type:String})],t.prototype,"ariaLabel",void 0),x([(0,g.property)({type:Boolean,attribute:"is-date-picker"})],t.prototype,"isDatePicker",void 0),x([(0,g.property)({type:Number,attribute:"overlay-offset"})],t.prototype,"overlayOffset",void 0),x([(0,g.property)({type:Boolean,attribute:"keep-open-on-window-blur"})],t.prototype,"keepOpenOnWindowBlur",void 0),x([(0,g.query)(".overlay-container")],t.prototype,"overlayContainer",void 0),x([(0,g.query)(".overlay-arrow")],t.prototype,"arrow",void 0),x([(0,g.queryAssignedNodes)("menu-trigger",!0)],t.prototype,"trigger",void 0),t=x([(0,n.w)("md-menu-overlay")],t),e.ELEMENT=t}(o||(o={}))},12176:(e,t,i)=>{i.d(t,{Spinner:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(8229),l=i(46325),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.size=56,this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[r.A,l.A]}get spinnerStyleMap(){return{width:`${this.size}px`,height:`${this.size}px`}}firstUpdated(e){super.firstUpdated(e),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-spinner");if(!t)return;let i=null;const s=e=>{if(!this.isAnimating)return;i||(i=e);const o=e-i,r=o/1e3*360;t.style.transform=`rotate(${r}deg)`,o>=1e3&&(i=e),this.animationFrameId=requestAnimationFrame(s)};this.animationFrameId=requestAnimationFrame(s)}stopAnimation(){var e;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-spinner");t&&(t.style.transform="")}render(){return n.html` <i class="md-spinner" part="spinner" style=${(0,a.styleMap)(this.spinnerStyleMap)}></i> `}};d([(0,n.property)({type:Number,reflect:!0})],t.prototype,"size",void 0),d([(0,n.internalProperty)()],t.prototype,"isAnimating",void 0),t=d([(0,o.w)("md-spinner")],t),e.ELEMENT=t}(s||(s={}))},13060:e=>{e.exports=T},15553:e=>{e.exports=j},16643:(e,t,i)=>{i.d(t,{TAB_CROSS_WIDTH:()=>p,Tab:()=>u});var s=i(90195),o=i(3001),r=i(31890),n=i(26283),a=i(26272),l=i(41488),d=i(23968),h=i(30076),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const p=22;var u;!function(e){let t=class extends((0,o.yC)(l.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.role="tab",this.type="line",this.newMomentum=!1,this.onlyIcon=!1,this.variant="ghost",this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,e?this.tabDisabled():this.tabEnabled(),this.requestUpdate("disabled",t)}tabDisabled(){-1!==this.tabIndex&&(this.tabIndex=-1),this.setAttribute("aria-disabled","true")}tabEnabled(){-1===this.tabIndex&&this.selected&&(this.tabIndex=0),this.removeAttribute("aria-disabled")}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e?(this.setAttribute("aria-selected","true"),this.notifySelectedTab()):this.removeAttribute("aria-selected"),this.requestUpdate("selected",t)}static get styles(){return[a.A,h.A]}handleClick(e){e.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeydown(e){if((0,n.o)(e.code)){if(this.disabled)return void e.preventDefault();this.handleClick(e)}}handleCrossKeydown(e){e.stopPropagation(),e.code===s.Uz.Enter&&this.handleCrossEventDispatch()}handleCrossClick(e){e.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(e){super.update(e),e.has("disabled")&&this.disabled&&(this.selected=!1)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClick),this.addEventListener("keydown",this.handleKeydown)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleClick),this.removeEventListener("keydown",this.handleKeydown)}firstUpdated(e){super.firstUpdated(e)}renderCrossButton(){return l.html`
391
+ <md-button
392
+ variant="ghost"
393
+ size="size-none"
394
+ circle
394
395
  class="tab-action-button"
396
+ ?disabled=${this.disabled}
395
397
  @click=${e=>this.handleCrossClick(e)}
396
398
  @keydown=${e=>this.handleCrossKeydown(e)}
397
399
  >
398
- <md-icon tabindex="0" name="cancel-bold" size="14" iconSet="momentumDesign"></md-icon>
399
- </div>
400
- `}render(){return a.html`
401
- <button
402
- type="button"
403
- role="button"
404
- ?disabled=${this.disabled}
405
- aria-selected="false"
406
- aria-label=${(0,d.ifDefined)(this.ariaLabel||void 0)}
407
- aria-hidden="true"
408
- tabindex="-1"
400
+ <md-icon name="cancel-bold" size="14" iconSet="momentumDesign"></md-icon>
401
+ </md-button>
402
+ `}render(){return l.html`
403
+ <div
409
404
  part="tab"
410
- class="${(0,l.classMap)({closable:""!==this.closable,pill:"pill"===this.type,rounded:"rounded"===this.type,line:"line"===this.type,primary:"primary"===this.variant,newMomentum:this.newMomentum,onlyIcon:this.onlyIcon})}"
411
- @click=${e=>this.handleClick(e)}
405
+ class="${(0,d.classMap)({disabled:this.disabled,"tab-content":!0,closable:""!==this.closable,pill:"pill"===this.type,rounded:"rounded"===this.type,line:"line"===this.type,primary:"primary"===this.variant,newMomentum:this.newMomentum,onlyIcon:this.onlyIcon})}"
412
406
  >
413
407
  <slot class="tab-slot"></slot>
414
408
  ${this.isCrossVisible&&this.closable?this.renderCrossButton():""}
415
- </button>
416
- `}};c([(0,a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),c([(0,a.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),c([(0,a.property)({type:String,attribute:"closable"})],t.prototype,"closable",void 0),c([(0,a.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),c([(0,a.property)({type:Boolean,attribute:"cross-visible"})],t.prototype,"isCrossVisible",void 0),c([(0,a.property)({type:String})],t.prototype,"ariaRole",void 0),c([(0,a.property)({type:String})],t.prototype,"type",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"newMomentum",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"onlyIcon",void 0),c([(0,a.property)({type:String})],t.prototype,"variant",void 0),c([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),c([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),c([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),c([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"viewportHidden",void 0),t=c([(0,r.w)("md-tab")],t),e.ELEMENT=t}(u||(u={}))},16754:(e,t,i)=>{i.d(t,{DatePickerDay:()=>s}),i(96798);var s,o=i(31890),r=i(81625),n=i(66677),a=i(26272),l=i(41488),d=i(23968),h=i(97822),c=i(14974),p=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.focused=!1,this.selected=!1,this.disabled=!1,this.day=(0,r.tB)(),this.viewAnchorMonth=void 0,this.filterParams=void 0,this.datePickerProps=void 0,this.isOutsideMonth=!1,this.isToday=!1,this.parentRangePicker=null,this.dateIsInRange=!1,this.handleClick=e=>{this.dispatchEvent(new CustomEvent("day-select",{bubbles:!0,composed:!0,detail:{date:this.day,sourceEvent:e}}))},this.isDateInRange=()=>{var e;const t=this.parentRangePicker,i=null==t?void 0:t.startDate,s=null==t?void 0:t.endDate;if(!i||!s)return!1;const o=(null===(e=this.day)||void 0===e?void 0:e.isValid)?this.day.toSQLDate():null;if(!o)return!1;const r=o>i&&o<s,n=o===i,a=o===s;return!this.isPrimarySelection()&&(r||n||a)},this.handleKeyDown=e=>{this.dispatchEvent(new CustomEvent("day-key-event",{bubbles:!0,composed:!0,detail:{date:this.day,sourceEvent:e}}))}}connectedCallback(){super.connectedCallback(),this.disabled=this.filterParams&&(0,r.t_)(this.day,this.filterParams)||!1,this.isOutsideMonth=this.day.month!==this.viewAnchorMonth,this.isToday=(0,r.ro)(this.day,(0,r.tB)()),this.selected=this.datePickerProps&&(0,r.ro)(this.datePickerProps.selected,this.day)||!1,this.focused=this.datePickerProps&&(0,r.ro)(this.datePickerProps.focused,this.day)||!1,this.parentRangePicker=(0,n.QZ)("md-date-range-picker",this)}updated(e){var t,i;super.updated(e),this.disabled=this.filterParams&&(0,r.t_)(this.day,this.filterParams)||!1,this.isOutsideMonth=this.day.month!==this.viewAnchorMonth,this.isToday=(0,r.ro)(this.day,(0,r.tB)()),this.selected=this.datePickerProps&&(0,r.ro)(this.datePickerProps.selected,this.day)||!1,this.focused=this.datePickerProps&&(0,r.ro)(this.datePickerProps.focused,this.day)||!1,this.focused&&this.button&&(null===(i=null===(t=this.button.shadowRoot)||void 0===t?void 0:t.querySelector("button"))||void 0===i||i.focus()),this.parentRangePicker&&(this.dateIsInRange=this.isDateInRange())}isPrimarySelection(){var e;return(null===(e=this.parentRangePicker)||void 0===e?void 0:e.startDate)&&void 0===this.parentRangePicker.endDate}isLeadingRangeEdge(){var e;return this===(null===(e=this.parentNode)||void 0===e?void 0:e.firstElementChild)}isEndingRangeEdge(){var e;return this===(null===(e=this.parentNode)||void 0===e?void 0:e.lastElementChild)}isStartDate(){var e;return(null===(e=this.parentRangePicker)||void 0===e?void 0:e.startDate)===this.day.toSQLDate()&&!this.isPrimarySelection()}isEndDate(){var e;return(null===(e=this.parentRangePicker)||void 0===e?void 0:e.endDate)===this.day.toSQLDate()}get getDayClassMap(){return{"md-datepicker__day--selected":this.selected,"md-datepicker__day--focus":this.focused,"md-datepicker__day--today":this.isToday,"md-datepicker__day--outside-month":this.isOutsideMonth,"md-datepicker__day--in-range":this.dateIsInRange,"md-datepicker__day--week-first":this.isLeadingRangeEdge(),"md-datepicker__day--week-last":this.isEndingRangeEdge(),"md-datepicker__day--start-date":this.isStartDate(),"md-datepicker__day--end-date":this.isEndDate()}}static get styles(){return[a.A,c.A]}render(){var e;const t=(0,r.WV)(this.day,(null===(e=this.datePickerProps)||void 0===e?void 0:e.locale)||"en").toFormat("D, dd MMMM yyyy");return l.html`
409
+ </div>
410
+ `}};c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),c([(0,l.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),c([(0,l.property)({type:String,attribute:"closable"})],t.prototype,"closable",void 0),c([(0,l.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),c([(0,l.property)({type:Boolean,attribute:"cross-visible"})],t.prototype,"isCrossVisible",void 0),c([(0,l.property)({type:String,attribute:"role",reflect:!0})],t.prototype,"role",void 0),c([(0,l.property)({type:String})],t.prototype,"type",void 0),c([(0,l.property)({type:Boolean})],t.prototype,"newMomentum",void 0),c([(0,l.property)({type:Boolean})],t.prototype,"onlyIcon",void 0),c([(0,l.property)({type:String})],t.prototype,"variant",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"vertical",void 0),c([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"viewportHidden",void 0),t=c([(0,r.w)("md-tab")],t),e.ELEMENT=t}(u||(u={}))},16754:(e,t,i)=>{i.d(t,{DatePickerDay:()=>s}),i(96798);var s,o=i(31890),r=i(81625),n=i(66677),a=i(26272),l=i(41488),d=i(23968),h=i(97822),c=i(14974),p=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.focused=!1,this.selected=!1,this.disabled=!1,this.day=(0,r.tB)(),this.viewAnchorMonth=void 0,this.filterParams=void 0,this.datePickerProps=void 0,this.isOutsideMonth=!1,this.isToday=!1,this.parentRangePicker=null,this.dateIsInRange=!1,this.handleClick=e=>{this.dispatchEvent(new CustomEvent("day-select",{bubbles:!0,composed:!0,detail:{date:this.day,sourceEvent:e}}))},this.isDateInRange=()=>{var e;const t=this.parentRangePicker,i=null==t?void 0:t.startDate,s=null==t?void 0:t.endDate;if(!i||!s)return!1;const o=(null===(e=this.day)||void 0===e?void 0:e.isValid)?this.day.toSQLDate():null;if(!o)return!1;const r=o>i&&o<s,n=o===i,a=o===s;return!this.isPrimarySelection()&&(r||n||a)},this.handleKeyDown=e=>{this.dispatchEvent(new CustomEvent("day-key-event",{bubbles:!0,composed:!0,detail:{date:this.day,sourceEvent:e}}))}}connectedCallback(){super.connectedCallback(),this.disabled=this.filterParams&&(0,r.t_)(this.day,this.filterParams)||!1,this.isOutsideMonth=this.day.month!==this.viewAnchorMonth,this.isToday=(0,r.ro)(this.day,(0,r.tB)()),this.selected=this.datePickerProps&&(0,r.ro)(this.datePickerProps.selected,this.day)||!1,this.focused=this.datePickerProps&&(0,r.ro)(this.datePickerProps.focused,this.day)||!1,this.parentRangePicker=(0,n.QZ)("md-date-range-picker",this)}updated(e){var t,i;super.updated(e),this.disabled=this.filterParams&&(0,r.t_)(this.day,this.filterParams)||!1,this.isOutsideMonth=this.day.month!==this.viewAnchorMonth,this.isToday=(0,r.ro)(this.day,(0,r.tB)()),this.selected=this.datePickerProps&&(0,r.ro)(this.datePickerProps.selected,this.day)||!1,this.focused=this.datePickerProps&&(0,r.ro)(this.datePickerProps.focused,this.day)||!1,this.focused&&this.button&&(null===(i=null===(t=this.button.shadowRoot)||void 0===t?void 0:t.querySelector("button"))||void 0===i||i.focus()),this.parentRangePicker&&(this.dateIsInRange=this.isDateInRange())}isPrimarySelection(){var e;return(null===(e=this.parentRangePicker)||void 0===e?void 0:e.startDate)&&void 0===this.parentRangePicker.endDate}isLeadingRangeEdge(){var e;return this===(null===(e=this.parentNode)||void 0===e?void 0:e.firstElementChild)}isEndingRangeEdge(){var e;return this===(null===(e=this.parentNode)||void 0===e?void 0:e.lastElementChild)}isStartDate(){var e;return(null===(e=this.parentRangePicker)||void 0===e?void 0:e.startDate)===this.day.toSQLDate()&&!this.isPrimarySelection()}isEndDate(){var e;return(null===(e=this.parentRangePicker)||void 0===e?void 0:e.endDate)===this.day.toSQLDate()}get getDayClassMap(){return{"md-datepicker__day--selected":this.selected,"md-datepicker__day--focus":this.focused,"md-datepicker__day--today":this.isToday,"md-datepicker__day--outside-month":this.isOutsideMonth,"md-datepicker__day--in-range":this.dateIsInRange,"md-datepicker__day--week-first":this.isLeadingRangeEdge(),"md-datepicker__day--week-last":this.isEndingRangeEdge(),"md-datepicker__day--start-date":this.isStartDate(),"md-datepicker__day--end-date":this.isEndDate()}}static get styles(){return[a.A,c.A]}render(){var e;const t=(0,r.WV)(this.day,(null===(e=this.datePickerProps)||void 0===e?void 0:e.locale)||"en").toFormat("D, dd MMMM yyyy");return l.html`
417
411
  <md-button
418
412
  circle
419
413
  size=${32}
@@ -429,14 +423,14 @@
429
423
  >
430
424
  ${this.day&&(0,r.pp)(this.day)}
431
425
  </md-button>
432
- `}};p([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"focused",void 0),p([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),p([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"day",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"viewAnchorMonth",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"filterParams",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"datePickerProps",void 0),p([(0,l.internalProperty)()],t.prototype,"isOutsideMonth",void 0),p([(0,l.internalProperty)()],t.prototype,"isToday",void 0),p([(0,l.internalProperty)()],t.prototype,"parentRangePicker",void 0),p([(0,l.internalProperty)()],t.prototype,"dateIsInRange",void 0),p([(0,l.query)("md-button")],t.prototype,"button",void 0),t=p([(0,o.w)("md-datepicker-day")],t),e.ELEMENT=t}(s||(s={}))},17518:e=>{e.exports=C},17814:(e,t,i)=>{i.d(t,{DatePickerMonth:()=>s}),i(10984);var s,o=i(31890),r=i(81625),n=i(26272),a=i(41488),l=i(14974),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.day=(0,r.tB)(),this.filterParams=void 0,this.datePickerProps=void 0,this.renderWeeks=()=>{var e;let t=(0,r.mK)((0,r.Mw)(this.day),null===(e=this.datePickerProps)||void 0===e?void 0:e.weekStart);const i=[],s=(0,r.tj)(this.day);do{i.push(a.html`
426
+ `}};p([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"focused",void 0),p([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),p([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"day",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"viewAnchorMonth",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"filterParams",void 0),p([(0,l.property)({attribute:!1})],t.prototype,"datePickerProps",void 0),p([(0,l.internalProperty)()],t.prototype,"isOutsideMonth",void 0),p([(0,l.internalProperty)()],t.prototype,"isToday",void 0),p([(0,l.internalProperty)()],t.prototype,"parentRangePicker",void 0),p([(0,l.internalProperty)()],t.prototype,"dateIsInRange",void 0),p([(0,l.query)("md-button")],t.prototype,"button",void 0),t=p([(0,o.w)("md-datepicker-day")],t),e.ELEMENT=t}(s||(s={}))},17518:e=>{e.exports=l},17814:(e,t,i)=>{i.d(t,{DatePickerMonth:()=>s}),i(10984);var s,o=i(31890),r=i(81625),n=i(26272),a=i(41488),l=i(14974),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.day=(0,r.tB)(),this.filterParams=void 0,this.datePickerProps=void 0,this.renderWeeks=()=>{var e;let t=(0,r.mK)((0,r.Mw)(this.day),null===(e=this.datePickerProps)||void 0===e?void 0:e.weekStart);const i=[],s=(0,r.tj)(this.day);do{i.push(a.html`
433
427
  <md-datepicker-week
434
428
  .viewAnchorMonth=${s}
435
429
  .startOfWeekDay=${t}
436
430
  .filterParams=${this.filterParams}
437
431
  .datePickerProps=${this.datePickerProps}
438
432
  ></md-datepicker-week>
439
- `),t=(0,r.J4)(t,1)}while((0,r.tF)(t,this.day)||i.length<6);return i}}static get styles(){return[n.A,l.A]}render(){return a.html` <div class="md-datepicker__month">${this.renderWeeks()}</div> `}};d([(0,a.property)({attribute:!1})],t.prototype,"day",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"filterParams",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"datePickerProps",void 0),t=d([(0,o.w)("md-datepicker-month")],t),e.ELEMENT=t}(s||(s={}))},17874:e=>{e.exports=l},19011:e=>{e.exports=b},19026:(e,t,i)=>{i.d(t,{Link:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(23968),l=i(97822),d=i(73112),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.inlineStyle=void 0,this.inverted=void 0,this.href="",this.tag="a",this.target="_self",this.size=void 0,this._tabIndex=0}get tabIndex(){return this._tabIndex}set tabIndex(e){const t=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",t)}static get styles(){return[r.A,d.A]}render(){const e={[`md-link--${this.color}`]:this.color,"md-link--inline":this.inline,[`md-link--inline-style-${this.inlineStyle}`]:!!this.inlineStyle,[`${this.size}`]:!!this.size,inverted:!0===this.inverted,disabled:this.disabled};return n.html` ${(()=>{switch(this.tag){case"div":return n.html`
433
+ `),t=(0,r.J4)(t,1)}while((0,r.tF)(t,this.day)||i.length<6);return i}}static get styles(){return[n.A,l.A]}render(){return a.html` <div class="md-datepicker__month">${this.renderWeeks()}</div> `}};d([(0,a.property)({attribute:!1})],t.prototype,"day",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"filterParams",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"datePickerProps",void 0),t=d([(0,o.w)("md-datepicker-month")],t),e.ELEMENT=t}(s||(s={}))},17874:e=>{e.exports=W},19026:(e,t,i)=>{i.d(t,{Link:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(23968),l=i(97822),d=i(73112),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.color="",this.ariaLabel="",this.ariaRole="link",this.disabled=!1,this.inline=!1,this.inlineStyle=void 0,this.inverted=void 0,this.href="",this.tag="a",this.target="_self",this.size=void 0,this._tabIndex=0}get tabIndex(){return this._tabIndex}set tabIndex(e){const t=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",t)}static get styles(){return[r.A,d.A]}render(){const e={[`md-link--${this.color}`]:this.color,"md-link--inline":this.inline,[`md-link--inline-style-${this.inlineStyle}`]:!!this.inlineStyle,[`${this.size}`]:!!this.size,inverted:!0===this.inverted,disabled:this.disabled};return n.html` ${(()=>{switch(this.tag){case"div":return n.html`
440
434
  <div
441
435
  class="md-link ${(0,a.classMap)(e)}"
442
436
  tabindex=${this.tabIndex}
@@ -471,7 +465,7 @@
471
465
  >
472
466
  <slot></slot>
473
467
  </a>
474
- `}})()} `}};h([(0,n.property)({type:String,attribute:!1})],t.prototype,"color",void 0),h([(0,n.property)({type:String})],t.prototype,"ariaLabel",void 0),h([(0,n.property)({type:String})],t.prototype,"ariaRole",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"disabled",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"inline",void 0),h([(0,n.property)({type:String,attribute:"inline-style"})],t.prototype,"inlineStyle",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"inverted",void 0),h([(0,n.property)({type:String})],t.prototype,"href",void 0),h([(0,n.property)({type:String})],t.prototype,"tag",void 0),h([(0,n.property)({type:String})],t.prototype,"target",void 0),h([(0,n.property)({type:String})],t.prototype,"size",void 0),h([(0,n.property)({type:Number,attribute:"tab-index",reflect:!0})],t.prototype,"tabIndex",null),t=h([(0,o.w)("md-link")],t),e.ELEMENT=t}(s||(s={}))},19239:e=>{e.exports=W},19479:(e,t,i)=>{i.d(t,{AlertBanner:()=>s}),i(96798),i(61200);var s,o=i(31890),r=i(26283),n=i(26272),a=i(41488),l=i(40333),d=i(17518),h=i(35467),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner",this.showBannerTypeIcon=!1,this.showRefreshButton=!1,this.alignment="center"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:t}=e;(0,r.o)(t)&&this.onHide()}get isLeadingAlignment(){return"leading"===this.alignment}static get styles(){return[n.A,h.A]}getIconForType(){switch(this.type){case"error":return"error-legacy-badge-filled";case"warning":return"warning-filled";case"success":return"check-circle-badge-filled";default:return"info-badge-filled"}}get alertBannerClassMap(){return{"md-alert-banner":!0,[`md-alert-banner--${this.type}`]:this.type,[`md-alert-banner--${this.alignment}`]:this.isLeadingAlignment,closable:this.closable}}get alertBannerTextClassMap(){return{"md-alert-banner__text":!0,leading:this.isLeadingAlignment}}get alertBannerRightClassMap(){return{trailing:this.isLeadingAlignment}}get closeButtonTemplate(){return a.html`
468
+ `}})()} `}};h([(0,n.property)({type:String,attribute:!1})],t.prototype,"color",void 0),h([(0,n.property)({type:String})],t.prototype,"ariaLabel",void 0),h([(0,n.property)({type:String})],t.prototype,"ariaRole",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"disabled",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"inline",void 0),h([(0,n.property)({type:String,attribute:"inline-style"})],t.prototype,"inlineStyle",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"inverted",void 0),h([(0,n.property)({type:String})],t.prototype,"href",void 0),h([(0,n.property)({type:String})],t.prototype,"tag",void 0),h([(0,n.property)({type:String})],t.prototype,"target",void 0),h([(0,n.property)({type:String})],t.prototype,"size",void 0),h([(0,n.property)({type:Number,attribute:"tab-index",reflect:!0})],t.prototype,"tabIndex",null),t=h([(0,o.w)("md-link")],t),e.ELEMENT=t}(s||(s={}))},19239:e=>{e.exports=P},19479:(e,t,i)=>{i.d(t,{AlertBanner:()=>s}),i(96798),i(61200);var s,o=i(31890),r=i(26283),n=i(26272),a=i(41488),l=i(40333),d=i(17518),h=i(35467),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.type="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner",this.showBannerTypeIcon=!1,this.showRefreshButton=!1,this.alignment="center"}connectedCallback(){super.connectedCallback(),this.requestUpdate("show")}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide")),this.requestUpdate("show")}handleKeyDown(e){const{code:t}=e;(0,r.o)(t)&&this.onHide()}get isLeadingAlignment(){return"leading"===this.alignment}static get styles(){return[n.A,h.A]}getIconForType(){switch(this.type){case"error":return"error-legacy-badge-filled";case"warning":return"warning-filled";case"success":return"check-circle-badge-filled";default:return"info-badge-filled"}}get alertBannerClassMap(){return{"md-alert-banner":!0,[`md-alert-banner--${this.type}`]:this.type,[`md-alert-banner--${this.alignment}`]:this.isLeadingAlignment,closable:this.closable}}get alertBannerTextClassMap(){return{"md-alert-banner__text":!0,leading:this.isLeadingAlignment}}get alertBannerRightClassMap(){return{trailing:this.isLeadingAlignment}}get closeButtonTemplate(){return a.html`
475
469
  <div class="close-div">
476
470
  <md-button
477
471
  class="md-alert-banner__close"
@@ -549,7 +543,7 @@
549
543
  </div>
550
544
  `}
551
545
  </div>
552
- `}static get styles(){return[o.A,l.A]}};h([(0,n.property)({type:String})],t.prototype,"htmlId",void 0),h([(0,n.property)({type:String})],t.prototype,"label",void 0),h([(0,n.property)({type:String})],t.prototype,"description",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"checked",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"disabled",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"small",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"smaller",void 0),h([(0,n.property)({type:String})],t.prototype,"alignLabel",void 0),h([(0,n.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),t=h([(0,r.w)("md-toggle-switch")],t),e.ELEMENT=t}(p||(p={}))},20727:e=>{e.exports=z},22818:e=>{e.exports=$},22962:e=>{e.exports=E},23026:(e,t,i)=>{i.d(t,{Pagination:()=>s}),i(96798),i(61200);var s,o=i(31890),r=i(26272),n=i(41488),a=i(40333),l=i(4392),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this._currentPage=1,this.hasDots=!1,this.onlyDots=!1,this.noNavigation=!1,this.totalPage=0,this.visiblePage=3}get currentPage(){return this._currentPage}set currentPage(e){const t=this._currentPage;this._currentPage=e,this.notifyPageChange(t,e),this.requestUpdate("currentPage",t)}static get styles(){return[r.A,l.A]}computePrevious(e){1!==e&&e!==this.currentPage&&(this.currentPage-=1)}computeNext(e){e<=this.totalPage&&e!==this.currentPage&&(this.currentPage+=1)}computeFirst(){this.currentPage>=1&&(this.currentPage=1)}computeLast(){this.currentPage>=1&&(this.currentPage=this.totalPage)}computeCurrent(e){this.currentPage=e}notifyPageChange(e,t){this.dispatchEvent(new CustomEvent("page-change",{composed:!0,bubbles:!0,detail:{oldPage:e,newPage:t}}))}get hasPreviousPage(){return this.currentPage<=1}get hasNextPage(){return this.currentPage>=this.totalPage}computePageList(e){if(this.totalPage>this.visiblePage&&e){const[e,t,i]=[this.currentPage-1,this.currentPage,this.currentPage+1];let s=[];if(t<=this.visiblePage-1)return s=[...Array(this.visiblePage)].map(((e,t)=>1+t)),s.push("..."),s.push(this.totalPage),s;if(this.totalPage-t<=this.visiblePage-2){s=[],s.push(1),s.push("...");const e=[...Array(this.visiblePage)].map(((e,t)=>this.totalPage-this.visiblePage+1+t));return s.concat(e)}return[1,"...",e,t,i,"...",this.totalPage]}return[...Array(this.totalPage)].map(((e,t)=>1+t))}pagesTemplate(e){return this.computePageList(e).map((e=>"..."===e?n.html` <li class="page-ellipsis">${e}</li> `:n.html`
546
+ `}static get styles(){return[o.A,l.A]}};h([(0,n.property)({type:String})],t.prototype,"htmlId",void 0),h([(0,n.property)({type:String})],t.prototype,"label",void 0),h([(0,n.property)({type:String})],t.prototype,"description",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"checked",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"disabled",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"small",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"smaller",void 0),h([(0,n.property)({type:String})],t.prototype,"alignLabel",void 0),h([(0,n.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),t=h([(0,r.w)("md-toggle-switch")],t),e.ELEMENT=t}(p||(p={}))},20727:e=>{e.exports=E},22818:e=>{e.exports=h},22962:e=>{e.exports=c},23026:(e,t,i)=>{i.d(t,{Pagination:()=>s}),i(96798),i(61200);var s,o=i(31890),r=i(26272),n=i(41488),a=i(40333),l=i(4392),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this._currentPage=1,this.hasDots=!1,this.onlyDots=!1,this.noNavigation=!1,this.totalPage=0,this.visiblePage=3}get currentPage(){return this._currentPage}set currentPage(e){const t=this._currentPage;this._currentPage=e,this.notifyPageChange(t,e),this.requestUpdate("currentPage",t)}static get styles(){return[r.A,l.A]}computePrevious(e){1!==e&&e!==this.currentPage&&(this.currentPage-=1)}computeNext(e){e<=this.totalPage&&e!==this.currentPage&&(this.currentPage+=1)}computeFirst(){this.currentPage>=1&&(this.currentPage=1)}computeLast(){this.currentPage>=1&&(this.currentPage=this.totalPage)}computeCurrent(e){this.currentPage=e}notifyPageChange(e,t){this.dispatchEvent(new CustomEvent("page-change",{composed:!0,bubbles:!0,detail:{oldPage:e,newPage:t}}))}get hasPreviousPage(){return this.currentPage<=1}get hasNextPage(){return this.currentPage>=this.totalPage}computePageList(e){if(this.totalPage>this.visiblePage&&e){const[e,t,i]=[this.currentPage-1,this.currentPage,this.currentPage+1];let s=[];if(t<=this.visiblePage-1)return s=[...Array(this.visiblePage)].map(((e,t)=>1+t)),s.push("..."),s.push(this.totalPage),s;if(this.totalPage-t<=this.visiblePage-2){s=[],s.push(1),s.push("...");const e=[...Array(this.visiblePage)].map(((e,t)=>this.totalPage-this.visiblePage+1+t));return s.concat(e)}return[1,"...",e,t,i,"...",this.totalPage]}return[...Array(this.totalPage)].map(((e,t)=>1+t))}pagesTemplate(e){return this.computePageList(e).map((e=>"..."===e?n.html` <li class="page-ellipsis">${e}</li> `:n.html`
553
547
  <li @click=${()=>this.computeCurrent(e)} aria-current=${e===this.currentPage}>
554
548
  ${e}
555
549
  </li>
@@ -626,7 +620,7 @@
626
620
  </md-button>
627
621
  `}
628
622
  </nav>
629
- `}};d([(0,n.property)({type:Boolean,attribute:"dots"})],t.prototype,"hasDots",void 0),d([(0,n.property)({type:Boolean,reflect:!0,attribute:"only-dots"})],t.prototype,"onlyDots",void 0),d([(0,n.property)({type:Boolean,reflect:!0,attribute:"no-navigation"})],t.prototype,"noNavigation",void 0),d([(0,n.property)({type:Number,reflect:!0,attribute:"total-page"})],t.prototype,"totalPage",void 0),d([(0,n.property)({type:Number,reflect:!0,attribute:"visible-page"})],t.prototype,"visiblePage",void 0),d([(0,n.property)({type:Number,reflect:!0,attribute:"current-page"})],t.prototype,"currentPage",null),t=d([(0,o.w)("md-pagination")],t),e.ELEMENT=t}(s||(s={}))},23035:e=>{e.exports=a},23184:(e,t,i)=>{i.d(t,{Dropdown:()=>s}),i(61200);var s,o=i(90195),r=i(3001),n=i(66677),a=i(26272),l=i(41488),d=i(40333),h=i(17518),c=i(97822),p=i(22818),u=i(8229),m=i(70573),v=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},b=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){class t{determineMessageType(e){return e.reduce(((e,t)=>"error"===t?e:t.type),"")}filterMessagesByType(e,t){return e.reduce(((e,i)=>i.type===t?e.concat(i.message):e),[])}}e.MessageController=t;let i=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.title="Select...",this.options=[],this.optionId="",this.optionValue="",this.defaultOption="",this.disabled=!1,this.customTabIndex=0,this.allowUnselected=!1,this.visibleOptions=8,this.newMomentum=!1,this.compact=!1,this.searchable=!1,this.searchItem=!1,this.inputValue="",this.placeholder="Select...",this.readOnly=!1,this.autofocus=!1,this.leftIcon="",this.trimSpace=!1,this.resultsTextLocalization="No Results",this.pill=!1,this.helpText="",this.messageArr=[],this.htmlId="",this.clearAriaLabel="Clear",this.clearIconHeight="auto",this.arrowAriaLabel="Expand",this.popupChevronAriaHidden="true",this.ariaLabel="",this.searchResultAriaLabel="",this.ariaLabelForDropdown="",this.renderOptions=[],this.selectedKey="",this.expanded=!1,this.focusedIndex=-1,this.messageController=new t,this.lastMaxHeight="",this.onOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find((e=>e===this)),t||this.expanded&&this.collapse())},this.onKeyDown=e=>{switch(e.code){case o.Uz.Tab:this.expanded&&(e.stopPropagation(),this.collapse());break;case o.Uz.Space:case o.Uz.Enter:this.expanded?(this.select(),this.collapse()):this.expand();break;case o.Uz.ArrowDown:this.expanded?this.focusNext():this.expand();break;case o.Uz.ArrowUp:this.expanded?this.focusPrev():this.expand();break;case o.Uz.Home:this.expanded?this.focusFirst():this.expand();break;case o.Uz.End:this.expanded?this.focusLast():this.expand();break;case o.Uz.Escape||o.Uz.Backspace:this.expanded&&(e.stopPropagation(),this.collapse())}},this.notifyInputValueChanged=(0,n.sg)((e=>{this.dispatchEvent(new CustomEvent("dropdown-input",{composed:!0,bubbles:!0,detail:{value:e}})),this.notifySearchResultCount(),requestAnimationFrame((()=>{this.input.focus()}))}),250)}connectedCallback(){super.connectedCallback(),this.setupEvents()}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}firstUpdated(e){super.firstUpdated(e),e.forEach(((e,t)=>{if("defaultOption"===t&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}})),this.searchable&&this.setInitialValue()}updated(e){super.updated(e),e.forEach(((e,t)=>{if("options"===t&&this.updateRenderOptions(),"selectedKey"===t){const e=this.renderOptions.findIndex((e=>e.key===this.selectedKey));-1!==e&&(this.focusToIndex(e),this.searchable&&this.setInitialValue())}if("expanded"===t&&this.updateListDOM(),"focusedIndex"===t&&this.updateListDOM(),"defaultOption"===t&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}}))}notifySearchResultCount(){if(this.searchResultAriaLabel){const e=/{{.*?}}/g;this.ariaLabelForDropdown=this.searchResultAriaLabel.replace(e,this.filteredOptions.length.toString())}else this.ariaLabel?this.ariaLabelForDropdown=`${this.ariaLabel}, ${this.filteredOptions.length} results found.`:this.ariaLabelForDropdown=`Dropdown Element, ${this.filteredOptions.length} results found.`}setInitialValue(){var e;if(this.options.length){const t=this.renderOptions.find((e=>e.key===this.selectedKey)),i=null==t?void 0:t.option;i&&(this.setInputValue(this.getOptionValue(i)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(i)),this.notifyInputValueChanged(this.getOptionValue(i)),this.requestUpdate())}}getOptionValue(e){return this.isOptionObject(e)&&!this.optionValue?Object.values(e)[0]:this.isOptionObject(e)?e[this.optionValue]:e}getOptionId(e){return this.isOptionObject(e)?e[this.optionId]:e}isOptionObject(e){return"object"==typeof e&&null!==e}updateRenderOptions(){const e=[];this.focusReset();const t=this.options.reduce(((t,i)=>{const{key:s,value:o}=this.getOptionKeyValuePair(i);return-1!==e.indexOf(s)?console.error(`Dropdown already have option key: "${s}". Ignoring `):s?(e.push(s),t.push({key:s,value:o,option:i})):console.error(`Dropdown key is not defined: "${s}". (value: "${o}"). Ignoring `),t}),[]);this.allowUnselected&&t.unshift({key:"",value:this.title}),this.renderOptions=t}updateListDOM(){return b(this,void 0,void 0,(function*(){this.expanded&&(yield this.resizeDropdownList(),yield this.scrollToIndex(this.focusedIndex))}))}resizeDropdownList(){return b(this,void 0,void 0,(function*(){yield new Promise((e=>requestAnimationFrame((()=>{if(this.optionsListItems)if(this.optionsListItems.length>this.visibleOptions){const e=`${[...this.optionsListItems].slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0)}px`;this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}else{const e="auto";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}e()}))))}))}handleFocusIn(e){this.disabled&&this.readOnly||super.handleFocusIn&&super.handleFocusIn(e),this.dispatchEvent(new CustomEvent("dropdown-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.dispatchEvent(new CustomEvent("dropdown-focus-out",{composed:!0,bubbles:!0}))}static get styles(){return[a.A,m.A]}get filteredOptions(){const e=this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue;if(!e.trim())return this.renderOptions;const t=this.renderOptions.filter((t=>t.value.toLowerCase().includes(e.toLowerCase())));return 0===t.length?[{key:"no-result",value:"No Result",disabled:!0}]:t}get messageType(){return this.messageArr.length>0?this.messageController.determineMessageType(this.messageArr):null}get messages(){return this.messageType?this.messageController.filterMessagesByType(this.messageArr,this.messageType):null}setVisualListbox(e){this.expanded=e}updateOnNextFrame(e){requestAnimationFrame(e)}setInputValue(e=""){this.input.value=e}shouldChangeButton(){const e=this.input&&this.input.value.length>0;return e&&document.dispatchEvent(new CustomEvent("on-widget-update")),e}toggleVisualListBox(e){var t,i;if(!this.readOnly){if(e.target.classList.contains("md-dropdown-input"))e.target.focus();else if("md-icon"===e.target.localName){const s=null===(i=null===(t=e.target.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.parentElement;if(s){const e=s.querySelector(".md-dropdown-input");setTimeout((()=>{e.focus()}),10)}}this.expanded?this.setVisualListbox(!1):(this.dispatchEvent(new CustomEvent("combobox-on-expand",{composed:!0,bubbles:!0})),this.notifySearchResultCount(),this.setVisualListbox(!0)),this.input.focus()}}handleRemoveAll(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}removeAllSelected(){var e;this.focusReset(),this.selectedKey="",this.inputValue="",this.setInputValue(),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,""),this.setVisualListbox(!1),this.updateOnNextFrame((()=>{this.input.focus()})),this.dispatchEvent(new CustomEvent("dropdown-selection-removed",{composed:!0,bubbles:!0,detail:{}}))}setupEvents(){document.addEventListener("click",this.onOutsideClick),this.addEventListener("keydown",this.onKeyDown),this.addEventListener("remove-all-selected",this.removeAllSelected)}teardownEvents(){document.removeEventListener("click",this.onOutsideClick),this.removeEventListener("keydown",this.onKeyDown),this.removeEventListener("remove-all-selected",this.removeAllSelected)}expand(){this.expanded=!0;const e=-1!==this.focusedIndex?`combo-${this.focusedIndex}`:"";document.dispatchEvent(new CustomEvent("on-widget-update")),this.label.setAttribute("aria-activedescendant",e),this.optionsList&&this.optionsList.focus(),-1===this.focusedIndex&&this.focusNext()}collapse(){this.expanded=!1,this.searchable||this.label.setAttribute("aria-activedescendant","")}toggle(){this.expanded?this.collapse():this.expand()}select(){if(-1!==this.focusedIndex){const e=this.renderOptions[this.focusedIndex],t=e.key;t!==this.selectedKey&&(this.selectedKey=t,this.dispatchEvent(new CustomEvent("dropdown-selected",{composed:!0,bubbles:!0,detail:{option:e.option?e.option:e.key}})))}}onLabelClick(){this.label.focus(),this.toggle()}focusFirst(){this.renderOptions.length&&(this.focusedIndex=0)}focusLast(){this.renderOptions.length&&(this.focusedIndex=this.renderOptions.length-1)}focusNext(){this.renderOptions.length&&(-1!==this.focusedIndex&&this.focusedIndex<this.renderOptions.length-1?this.focusedIndex++:this.focusFirst())}focusPrev(){this.renderOptions.length&&(this.focusedIndex>0?this.focusedIndex--:this.focusLast())}focusToIndex(e){this.renderOptions.length&&e>=0&&e<=this.renderOptions.length-1&&(this.focusedIndex=e)}focusToIndexWithOption(e){const t=this.renderOptions.findIndex((t=>t.key===e.key));this.renderOptions.length&&t>=0&&t<=this.renderOptions.length-1&&(this.focusedIndex=t)}focusReset(){this.focusedIndex=-1}scrollToIndex(e){return b(this,void 0,void 0,(function*(){yield new Promise((t=>{requestAnimationFrame((()=>{if(this.optionsListItems&&this.optionsListItems.length>this.visibleOptions&&e>=0&&this.optionsListItems.length>e){let t=0;const{top:i,bottom:s}=this.optionsList.getBoundingClientRect(),o=this.optionsListItems[e],r=this.optionsListItems[e+1]||o,n=this.optionsListItems[e-1]||o,a=r.getBoundingClientRect(),l=n.getBoundingClientRect();a.bottom>s?t=a.bottom-s+2:l.top<i&&(t=l.top-i-2),this.optionsList.scrollTop+=t}t()}))}))}))}getOptionKeyValuePair(e){if("string"==typeof e)return{key:e.trim(),value:e};if(e&&"object"==typeof e){const t=Object.keys(e),i=Object.values(e);if(t.length){if(1===t.length||!this.optionId)return{key:t[0],value:i[0]};if(this.optionId)return{key:e[this.optionId],value:e[this.optionValue||this.optionId]}}}return{key:"undefined",value:"undefined"}}get labelTitle(){if(this.selectedKey){const e=this.renderOptions.find((e=>e.key===this.selectedKey));if(e)return e.value}return this.title}get dropDownClassMap(){return{"md-dropdown__expanded":this.expanded,[`md-${this.messageType}`]:!!this.messageType,"md-new-dropdown":this.newMomentum,"md-dropdown--pill":!0===this.pill}}handleInput(e){const t=e.target.value;this.inputValue=t.trim(),this.notifyInputValueChanged(t.trim())}helpTextTemplate(){return this.helpText?d.html`
623
+ `}};d([(0,n.property)({type:Boolean,attribute:"dots"})],t.prototype,"hasDots",void 0),d([(0,n.property)({type:Boolean,reflect:!0,attribute:"only-dots"})],t.prototype,"onlyDots",void 0),d([(0,n.property)({type:Boolean,reflect:!0,attribute:"no-navigation"})],t.prototype,"noNavigation",void 0),d([(0,n.property)({type:Number,reflect:!0,attribute:"total-page"})],t.prototype,"totalPage",void 0),d([(0,n.property)({type:Number,reflect:!0,attribute:"visible-page"})],t.prototype,"visiblePage",void 0),d([(0,n.property)({type:Number,reflect:!0,attribute:"current-page"})],t.prototype,"currentPage",null),t=d([(0,o.w)("md-pagination")],t),e.ELEMENT=t}(s||(s={}))},23035:e=>{e.exports=G},23184:(e,t,i)=>{i.d(t,{Dropdown:()=>s}),i(61200);var s,o=i(90195),r=i(3001),n=i(66677),a=i(26272),l=i(41488),d=i(40333),h=i(17518),c=i(97822),p=i(22818),u=i(8229),m=i(70573),v=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},b=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){class t{determineMessageType(e){return e.reduce(((e,t)=>"error"===t?e:t.type),"")}filterMessagesByType(e,t){return e.reduce(((e,i)=>i.type===t?e.concat(i.message):e),[])}}e.MessageController=t;let i=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.title="Select...",this.options=[],this.optionId="",this.optionValue="",this.defaultOption="",this.disabled=!1,this.customTabIndex=0,this.allowUnselected=!1,this.visibleOptions=8,this.newMomentum=!1,this.compact=!1,this.searchable=!1,this.searchItem=!1,this.inputValue="",this.placeholder="Select...",this.readOnly=!1,this.autofocus=!1,this.leftIcon="",this.trimSpace=!1,this.resultsTextLocalization="No Results",this.pill=!1,this.helpText="",this.messageArr=[],this.htmlId="",this.clearAriaLabel="Clear",this.clearIconHeight="auto",this.arrowAriaLabel="Expand",this.popupChevronAriaHidden="true",this.ariaLabel="",this.searchResultAriaLabel="",this.ariaLabelForDropdown="",this.renderOptions=[],this.selectedKey="",this.expanded=!1,this.focusedIndex=-1,this.messageController=new t,this.lastMaxHeight="",this.onOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find((e=>e===this)),t||this.expanded&&this.collapse())},this.onKeyDown=e=>{switch(e.code){case o.Uz.Tab:this.expanded&&(e.stopPropagation(),this.collapse());break;case o.Uz.Space:case o.Uz.Enter:this.expanded?(this.select(),this.collapse()):this.expand();break;case o.Uz.ArrowDown:this.expanded?this.focusNext():this.expand();break;case o.Uz.ArrowUp:this.expanded?this.focusPrev():this.expand();break;case o.Uz.Home:this.expanded?this.focusFirst():this.expand();break;case o.Uz.End:this.expanded?this.focusLast():this.expand();break;case o.Uz.Escape||o.Uz.Backspace:this.expanded&&(e.stopPropagation(),this.collapse())}},this.notifyInputValueChanged=(0,n.sg)((e=>{this.dispatchEvent(new CustomEvent("dropdown-input",{composed:!0,bubbles:!0,detail:{value:e}})),this.notifySearchResultCount(),requestAnimationFrame((()=>{this.input.focus()}))}),250)}connectedCallback(){super.connectedCallback(),this.setupEvents()}disconnectedCallback(){super.disconnectedCallback(),this.teardownEvents()}firstUpdated(e){super.firstUpdated(e),e.forEach(((e,t)=>{if("defaultOption"===t&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}})),this.searchable&&this.setInitialValue()}updated(e){super.updated(e),e.forEach(((e,t)=>{if("options"===t&&this.updateRenderOptions(),"selectedKey"===t){const e=this.renderOptions.findIndex((e=>e.key===this.selectedKey));-1!==e&&(this.focusToIndex(e),this.searchable&&this.setInitialValue())}if("expanded"===t&&this.updateListDOM(),"focusedIndex"===t&&this.updateListDOM(),"defaultOption"===t&&this.defaultOption){const{key:e}=this.getOptionKeyValuePair(this.defaultOption);this.selectedKey=e}}))}notifySearchResultCount(){if(this.searchResultAriaLabel){const e=/{{.*?}}/g;this.ariaLabelForDropdown=this.searchResultAriaLabel.replace(e,this.filteredOptions.length.toString())}else this.ariaLabel?this.ariaLabelForDropdown=`${this.ariaLabel}, ${this.filteredOptions.length} results found.`:this.ariaLabelForDropdown=`Dropdown Element, ${this.filteredOptions.length} results found.`}setInitialValue(){var e;if(this.options.length){const t=this.renderOptions.find((e=>e.key===this.selectedKey)),i=null==t?void 0:t.option;i&&(this.setInputValue(this.getOptionValue(i)),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,this.getOptionId(i)),this.notifyInputValueChanged(this.getOptionValue(i)),this.requestUpdate())}}getOptionValue(e){return this.isOptionObject(e)&&!this.optionValue?Object.values(e)[0]:this.isOptionObject(e)?e[this.optionValue]:e}getOptionId(e){return this.isOptionObject(e)?e[this.optionId]:e}isOptionObject(e){return"object"==typeof e&&null!==e}updateRenderOptions(){const e=[];this.focusReset();const t=this.options.reduce(((t,i)=>{const{key:s,value:o}=this.getOptionKeyValuePair(i);return-1!==e.indexOf(s)?console.error(`Dropdown already have option key: "${s}". Ignoring `):s?(e.push(s),t.push({key:s,value:o,option:i})):console.error(`Dropdown key is not defined: "${s}". (value: "${o}"). Ignoring `),t}),[]);this.allowUnselected&&t.unshift({key:"",value:this.title}),this.renderOptions=t}updateListDOM(){return b(this,void 0,void 0,(function*(){this.expanded&&(yield this.resizeDropdownList(),yield this.scrollToIndex(this.focusedIndex))}))}resizeDropdownList(){return b(this,void 0,void 0,(function*(){yield new Promise((e=>requestAnimationFrame((()=>{if(this.optionsListItems)if(this.optionsListItems.length>this.visibleOptions){const e=`${[...this.optionsListItems].slice(0,this.visibleOptions).reduce(((e,t)=>e+t.offsetHeight),0)}px`;this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}else{const e="auto";this.lastMaxHeight!==e&&(this.optionsList.style.maxHeight=e,this.lastMaxHeight=e)}e()}))))}))}handleFocusIn(e){this.disabled&&this.readOnly||super.handleFocusIn&&super.handleFocusIn(e),this.dispatchEvent(new CustomEvent("dropdown-focus-in",{composed:!0,bubbles:!0}))}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.dispatchEvent(new CustomEvent("dropdown-focus-out",{composed:!0,bubbles:!0}))}static get styles(){return[a.A,m.A]}get filteredOptions(){const e=this.trimSpace?this.inputValue.replace(/\s+/g,""):this.inputValue;if(!e.trim())return this.renderOptions;const t=this.renderOptions.filter((t=>t.value.toLowerCase().includes(e.toLowerCase())));return 0===t.length?[{key:"no-result",value:"No Result",disabled:!0}]:t}get messageType(){return this.messageArr.length>0?this.messageController.determineMessageType(this.messageArr):null}get messages(){return this.messageType?this.messageController.filterMessagesByType(this.messageArr,this.messageType):null}setVisualListbox(e){this.expanded=e}updateOnNextFrame(e){requestAnimationFrame(e)}setInputValue(e=""){this.input.value=e}shouldChangeButton(){const e=this.input&&this.input.value.length>0;return e&&document.dispatchEvent(new CustomEvent("on-widget-update")),e}toggleVisualListBox(e){var t,i;if(!this.readOnly){if(e.target.classList.contains("md-dropdown-input"))e.target.focus();else if("md-icon"===e.target.localName){const s=null===(i=null===(t=e.target.parentElement)||void 0===t?void 0:t.parentElement)||void 0===i?void 0:i.parentElement;if(s){const e=s.querySelector(".md-dropdown-input");setTimeout((()=>{e.focus()}),10)}}this.expanded?this.setVisualListbox(!1):(this.dispatchEvent(new CustomEvent("combobox-on-expand",{composed:!0,bubbles:!0})),this.notifySearchResultCount(),this.setVisualListbox(!0)),this.input.focus()}}handleRemoveAll(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("remove-all-selected"))}removeAllSelected(){var e;this.focusReset(),this.selectedKey="",this.inputValue="",this.setInputValue(),null===(e=this.input)||void 0===e||e.setAttribute(o.iw.AriaActivedescendant,""),this.setVisualListbox(!1),this.updateOnNextFrame((()=>{this.input.focus()})),this.dispatchEvent(new CustomEvent("dropdown-selection-removed",{composed:!0,bubbles:!0,detail:{}}))}setupEvents(){document.addEventListener("click",this.onOutsideClick),this.addEventListener("keydown",this.onKeyDown),this.addEventListener("remove-all-selected",this.removeAllSelected)}teardownEvents(){document.removeEventListener("click",this.onOutsideClick),this.removeEventListener("keydown",this.onKeyDown),this.removeEventListener("remove-all-selected",this.removeAllSelected)}expand(){this.expanded=!0;const e=-1!==this.focusedIndex?`combo-${this.focusedIndex}`:"";document.dispatchEvent(new CustomEvent("on-widget-update")),this.label.setAttribute("aria-activedescendant",e),this.optionsList&&this.optionsList.focus(),-1===this.focusedIndex&&this.focusNext()}collapse(){this.expanded=!1,this.searchable||this.label.setAttribute("aria-activedescendant","")}toggle(){this.expanded?this.collapse():this.expand()}select(){if(-1!==this.focusedIndex){const e=this.renderOptions[this.focusedIndex],t=e.key;t!==this.selectedKey&&(this.selectedKey=t,this.dispatchEvent(new CustomEvent("dropdown-selected",{composed:!0,bubbles:!0,detail:{option:e.option?e.option:e.key}})))}}onLabelClick(){this.label.focus(),this.toggle()}focusFirst(){this.renderOptions.length&&(this.focusedIndex=0)}focusLast(){this.renderOptions.length&&(this.focusedIndex=this.renderOptions.length-1)}focusNext(){this.renderOptions.length&&(-1!==this.focusedIndex&&this.focusedIndex<this.renderOptions.length-1?this.focusedIndex++:this.focusFirst())}focusPrev(){this.renderOptions.length&&(this.focusedIndex>0?this.focusedIndex--:this.focusLast())}focusToIndex(e){this.renderOptions.length&&e>=0&&e<=this.renderOptions.length-1&&(this.focusedIndex=e)}focusToIndexWithOption(e){const t=this.renderOptions.findIndex((t=>t.key===e.key));this.renderOptions.length&&t>=0&&t<=this.renderOptions.length-1&&(this.focusedIndex=t)}focusReset(){this.focusedIndex=-1}scrollToIndex(e){return b(this,void 0,void 0,(function*(){yield new Promise((t=>{requestAnimationFrame((()=>{if(this.optionsListItems&&this.optionsListItems.length>this.visibleOptions&&e>=0&&this.optionsListItems.length>e){let t=0;const{top:i,bottom:s}=this.optionsList.getBoundingClientRect(),o=this.optionsListItems[e],r=this.optionsListItems[e+1]||o,n=this.optionsListItems[e-1]||o,a=r.getBoundingClientRect(),l=n.getBoundingClientRect();a.bottom>s?t=a.bottom-s+2:l.top<i&&(t=l.top-i-2),this.optionsList.scrollTop+=t}t()}))}))}))}getOptionKeyValuePair(e){if("string"==typeof e)return{key:e.trim(),value:e};if(e&&"object"==typeof e){const t=Object.keys(e),i=Object.values(e);if(t.length){if(1===t.length||!this.optionId)return{key:t[0],value:i[0]};if(this.optionId)return{key:e[this.optionId],value:e[this.optionValue||this.optionId]}}}return{key:"undefined",value:"undefined"}}get labelTitle(){if(this.selectedKey){const e=this.renderOptions.find((e=>e.key===this.selectedKey));if(e)return e.value}return this.title}get dropDownClassMap(){return{"md-dropdown__expanded":this.expanded,[`md-${this.messageType}`]:!!this.messageType,"md-new-dropdown":this.newMomentum,"md-dropdown--pill":!0===this.pill}}handleInput(e){const t=e.target.value;this.inputValue=t.trim(),this.notifyInputValueChanged(t.trim())}helpTextTemplate(){return this.helpText?d.html`
630
624
  <md-help-text
631
625
  class="help-text ${(0,h.classMap)({disabled:this.disabled,newMomentum:this.newMomentum})}"
632
626
  .message=${this.helpText}
@@ -890,7 +884,7 @@
890
884
  ></span>
891
885
  ${this.step?this.ticksTemplate():d.nothing} ${this.hideValue?d.nothing:this.displayValueTemplate()}
892
886
  </div>
893
- `}};m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"min",void 0),m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"max",void 0),m([(0,l.property)({type:Boolean,attribute:"hide-value"})],t.prototype,"hideValue",void 0),m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"now",null),m([(0,l.property)({type:Number})],t.prototype,"text",void 0),m([(0,l.property)({type:String})],t.prototype,"label",void 0),m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"step",void 0),m([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),m([(0,l.internalProperty)()],t.prototype,"dragging",void 0),t=m([(0,n.w)("md-slider")],t),e.ELEMENT=t}(s||(s={}))},28187:e=>{e.exports=K},28307:(e,t,i)=>{i.d(t,{AdvanceList:()=>s});var s,o=i(90195),r=i(31890),n=i(32972),a=i(26272),l=i(41488),d=i(86635),h=i(61705),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.prefixId="item-";let t=class extends((0,n.y)(l.LitElement)){constructor(){super(...arguments),this.items=[],this.isLoading=!1,this.isMulti=!1,this.groupOnMultiSelect=!1,this.value=[],this.ariaRoleList="listbox",this.ariaRoleListItem="option",this.ariaLabelList="",this.isError=!1,this.containerHeight="292px",this.lastSelectedIdByOrder="",this.selectAllItems=!1,this.focusReset=!1,this.disabledItems=[],this.totalRecords=0,this.isNonSelectable=!1,this.scrollIndex=-1,this.activeId="",this.selectedItemsIds=[],this.isUserNavigated=!1,this.handleKeyDown=t=>{var i;const{ArrowDown:s,ArrowUp:r,Tab:n,Space:a,Enter:l}=o.Uz,{code:d}=t,h=d===s,c=d===r,p=d===n,u=d===a,m=d===l;if(h||c){if(t.preventDefault(),this.isUserNavigated=!0,""===this.activeId&&this.value.length>0&&""!==this.value[0])return void(this.activeId=this.value[0]);if(""===this.activeId&&!c&&this.items.length>0)return void(this.activeId=this.items[0].id);const e=this.items.findIndex((e=>e.id===this.activeId));h?e<this.items.length-1&&!this.isNextElemenentStatusIndicator(e)&&(this.scrollIndex=e+1,this.activeId=this.items[this.scrollIndex].id):e>0&&(this.scrollIndex=e-1,this.activeId=this.items[this.scrollIndex].id)}else if(p)""===this.activeId&&this.value.length>0&&(this.activeId=this.value[0]);else if((u||m)&&(t.preventDefault(),this.activeId)){const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`#${e.prefixId}${this.activeId}`);t&&("true"===t.getAttribute("aria-disabled")||t.hasAttribute("disabled")||this.updateItemSelection(t))}},this.handleRangeChange=e=>{const{last:t}=e;this.updateSelectedState(),this.items.length<this.totalRecords&&t>=this.items.length-1&&!this.isLoading&&!this.isError&&this.dispatchEvent(new CustomEvent("load-more",{bubbles:!0,composed:!0})),this.isUserNavigated=!1}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClick)}static get styles(){return[a.A,h.A]}getStyles(){return l.html`
887
+ `}};m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"min",void 0),m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"max",void 0),m([(0,l.property)({type:Boolean,attribute:"hide-value"})],t.prototype,"hideValue",void 0),m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"now",null),m([(0,l.property)({type:Number})],t.prototype,"text",void 0),m([(0,l.property)({type:String})],t.prototype,"label",void 0),m([(0,l.property)({type:Number,reflect:!0})],t.prototype,"step",void 0),m([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),m([(0,l.internalProperty)()],t.prototype,"dragging",void 0),t=m([(0,n.w)("md-slider")],t),e.ELEMENT=t}(s||(s={}))},28187:e=>{e.exports=M},28307:(e,t,i)=>{i.d(t,{AdvanceList:()=>s});var s,o=i(90195),r=i(31890),n=i(32972),a=i(26272),l=i(41488),d=i(86635),h=i(61705),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.prefixId="item-";let t=class extends((0,n.y)(l.LitElement)){constructor(){super(...arguments),this.items=[],this.isLoading=!1,this.isMulti=!1,this.groupOnMultiSelect=!1,this.value=[],this.ariaRoleList="listbox",this.ariaRoleListItem="option",this.ariaLabelList="",this.isError=!1,this.containerHeight="292px",this.lastSelectedIdByOrder="",this.selectAllItems=!1,this.focusReset=!1,this.disabledItems=[],this.totalRecords=0,this.isNonSelectable=!1,this.scrollIndex=-1,this.activeId="",this.selectedItemsIds=[],this.isUserNavigated=!1,this.handleKeyDown=t=>{var i;const{ArrowDown:s,ArrowUp:r,Tab:n,Space:a,Enter:l}=o.Uz,{code:d}=t,h=d===s,c=d===r,p=d===n,u=d===a,m=d===l;if(h||c){if(t.preventDefault(),this.isUserNavigated=!0,""===this.activeId&&this.value.length>0&&""!==this.value[0])return void(this.activeId=this.value[0]);if(""===this.activeId&&!c&&this.items.length>0)return void(this.activeId=this.items[0].id);const e=this.items.findIndex((e=>e.id===this.activeId));h?e<this.items.length-1&&!this.isNextElemenentStatusIndicator(e)&&(this.scrollIndex=e+1,this.activeId=this.items[this.scrollIndex].id):e>0&&(this.scrollIndex=e-1,this.activeId=this.items[this.scrollIndex].id)}else if(p)""===this.activeId&&this.value.length>0&&(this.activeId=this.value[0]);else if((u||m)&&(t.preventDefault(),this.activeId)){const t=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(`#${e.prefixId}${this.activeId}`);t&&("true"===t.getAttribute("aria-disabled")||t.hasAttribute("disabled")||this.updateItemSelection(t))}},this.handleRangeChange=e=>{const{last:t}=e;this.updateSelectedState(),this.items.length<this.totalRecords&&t>=this.items.length-1&&!this.isLoading&&!this.isError&&this.dispatchEvent(new CustomEvent("load-more",{bubbles:!0,composed:!0})),this.isUserNavigated=!1}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClick)}static get styles(){return[a.A,h.A]}getStyles(){return l.html`
894
888
  <style>
895
889
  :host .virtual-scroll {
896
890
  height: ${this.containerHeight};
@@ -970,7 +964,7 @@
970
964
  ${this.renderHeader()} ${this.renderBody()} ${this.renderFooter()}
971
965
  </div>
972
966
  </md-popover>
973
- `}};d([(0,n.property)({type:String})],t.prototype,"placement",void 0),d([(0,n.property)({type:String})],t.prototype,"headerIconName",void 0),d([(0,n.property)({type:String})],t.prototype,"header",void 0),d([(0,n.property)({type:String})],t.prototype,"message",void 0),d([(0,n.property)({type:Boolean})],t.prototype,"show",void 0),d([(0,n.property)({type:Boolean,reflect:!0,attribute:"hide-close-button"})],t.prototype,"hideCloseButton",void 0),d([(0,n.property)({type:String})],t.prototype,"primaryButton",void 0),d([(0,n.property)({type:String})],t.prototype,"secondaryButton",void 0),d([(0,n.property)({type:String})],t.prototype,"linkText",void 0),d([(0,n.property)({type:String})],t.prototype,"href",void 0),d([(0,n.query)(".md-coachmark__trigger-component")],t.prototype,"triggerComponent",void 0),d([(0,n.query)(".md-coachmark__popper")],t.prototype,"popper",void 0),t=d([(0,o.w)("md-coachmark-popover")],t),e.ELEMENT=t}(s||(s={}))},31347:e=>{e.exports=R},32022:e=>{e.exports=r},32217:(e,t,i)=>{i.d(t,{RadioGroup:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(76067),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.Io)(l.LitElement)){constructor(){super(...arguments),this.label="group",this.checked=-1,this.alignment="vertical",this._disabled=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.requestUpdate("disabled",t)}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}updated(e){super.updated(e),(e.has("slotted")||e.has("checked"))&&this.setFirstChecked()}get selectedRadioValue(){return this.slotted[this.selected].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("radio-change",{detail:{selected:this.selectedRadioValue},bubbles:!0,composed:!0}))}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}setFirstChecked(){-1!==this.checked&&(this.selected=this.checked,this.setChecked(this.checked))}findRadioIndex(e){const t=e.composedPath();return this.slotted.findIndex((e=>t.includes(e)))}findCheckedRadioIndex(){return this.slotted.findIndex((e=>e.checked))}setChecked(e){const t=this.findCheckedRadioIndex();-1!==t&&t!==e&&this.slotted[t]&&(this.slotted[t].checked=!1),this.slotted[e]&&(this.slotted[e].checked=!0)}switchRadioOnArrowPress(e,t=1){const i=super.getAvailableSelectedIndex(e,t);-1!==i&&(this.selected=i,this.setChecked(i),this.notifySelectedChange())}isRadioDisabled(e){return this.slotted[e].disabled}handleClick(e){if(this.disabled)return!1;const t=this.findRadioIndex(e);-1!==t&&(this.isRadioDisabled(t)||(this.selected=t,this.setChecked(t),this.notifySelectedChange()))}handleKeyDown(e){if(this.disabled)return!1;const{code:t}=e;switch(t){case o.Uz.Enter:case o.Uz.Space:this.isRadioDisabled(this.selected)||(this.setChecked(this.selected),this.notifySelectedChange(),e.stopPropagation(),e.preventDefault());break;case o.Uz.ArrowUp:case o.Uz.ArrowLeft:0===this.selected?this.switchRadioOnArrowPress(this.slotted.length-1,-1):this.switchRadioOnArrowPress(this.selected-1,-1),e.stopPropagation(),e.preventDefault();break;case o.Uz.ArrowDown:case o.Uz.ArrowRight:this.selected===this.slotted.length-1?this.switchRadioOnArrowPress(0):this.switchRadioOnArrowPress(this.selected+1),e.stopPropagation(),e.preventDefault()}}get slotElement(){return this.radioSlot}static get styles(){return[a.A,d.A]}clearSelection(){const e=this.findCheckedRadioIndex();-1!=e&&(this.checked=-1,this.slotted[e].checked=!1)}render(){return l.html`
967
+ `}};d([(0,n.property)({type:String})],t.prototype,"placement",void 0),d([(0,n.property)({type:String})],t.prototype,"headerIconName",void 0),d([(0,n.property)({type:String})],t.prototype,"header",void 0),d([(0,n.property)({type:String})],t.prototype,"message",void 0),d([(0,n.property)({type:Boolean})],t.prototype,"show",void 0),d([(0,n.property)({type:Boolean,reflect:!0,attribute:"hide-close-button"})],t.prototype,"hideCloseButton",void 0),d([(0,n.property)({type:String})],t.prototype,"primaryButton",void 0),d([(0,n.property)({type:String})],t.prototype,"secondaryButton",void 0),d([(0,n.property)({type:String})],t.prototype,"linkText",void 0),d([(0,n.property)({type:String})],t.prototype,"href",void 0),d([(0,n.query)(".md-coachmark__trigger-component")],t.prototype,"triggerComponent",void 0),d([(0,n.query)(".md-coachmark__popper")],t.prototype,"popper",void 0),t=d([(0,o.w)("md-coachmark-popover")],t),e.ELEMENT=t}(s||(s={}))},31347:e=>{e.exports=x},32022:e=>{e.exports=r},32217:(e,t,i)=>{i.d(t,{RadioGroup:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(76067),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.Io)(l.LitElement)){constructor(){super(...arguments),this.label="group",this.checked=-1,this.alignment="vertical",this._disabled=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.requestUpdate("disabled",t)}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","radiogroup"),this.setAttribute("aria-label",this.label)}updated(e){super.updated(e),(e.has("slotted")||e.has("checked"))&&this.setFirstChecked()}get selectedRadioValue(){return this.slotted[this.selected].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("radio-change",{detail:{selected:this.selectedRadioValue},bubbles:!0,composed:!0}))}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}setFirstChecked(){-1!==this.checked&&(this.selected=this.checked,this.setChecked(this.checked))}findRadioIndex(e){const t=e.composedPath();return this.slotted.findIndex((e=>t.includes(e)))}findCheckedRadioIndex(){return this.slotted.findIndex((e=>e.checked))}setChecked(e){const t=this.findCheckedRadioIndex();-1!==t&&t!==e&&this.slotted[t]&&(this.slotted[t].checked=!1),this.slotted[e]&&(this.slotted[e].checked=!0)}switchRadioOnArrowPress(e,t=1){const i=super.getAvailableSelectedIndex(e,t);-1!==i&&(this.selected=i,this.setChecked(i),this.notifySelectedChange())}isRadioDisabled(e){return this.slotted[e].disabled}handleClick(e){if(this.disabled)return!1;const t=this.findRadioIndex(e);-1!==t&&(this.isRadioDisabled(t)||(this.selected=t,this.setChecked(t),this.notifySelectedChange()))}handleKeyDown(e){if(this.disabled)return!1;const{code:t}=e;switch(t){case o.Uz.Enter:case o.Uz.Space:this.isRadioDisabled(this.selected)||(this.setChecked(this.selected),this.notifySelectedChange(),e.stopPropagation(),e.preventDefault());break;case o.Uz.ArrowUp:case o.Uz.ArrowLeft:0===this.selected?this.switchRadioOnArrowPress(this.slotted.length-1,-1):this.switchRadioOnArrowPress(this.selected-1,-1),e.stopPropagation(),e.preventDefault();break;case o.Uz.ArrowDown:case o.Uz.ArrowRight:this.selected===this.slotted.length-1?this.switchRadioOnArrowPress(0):this.switchRadioOnArrowPress(this.selected+1),e.stopPropagation(),e.preventDefault()}}get slotElement(){return this.radioSlot}static get styles(){return[a.A,d.A]}clearSelection(){const e=this.findCheckedRadioIndex();-1!=e&&(this.checked=-1,this.slotted[e].checked=!1)}render(){return l.html`
974
968
  <div class="radio-group-container" part="radio-group-container">
975
969
  <slot name="radio"></slot>
976
970
  </div>
@@ -1046,11 +1040,11 @@
1046
1040
  </div>
1047
1041
  </div>
1048
1042
  `:h.nothing}
1049
- `}};m([(0,d.property)({type:Boolean})],t.prototype,"show",void 0),m([(0,d.property)({type:String})],t.prototype,"headerLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"headerMessage",void 0),m([(0,d.property)({type:String})],t.prototype,"htmlId",void 0),m([(0,d.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaLabelClose",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaLabelCancel",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaLabelSubmit",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaDescription",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"showCloseButton",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"backdropClickExit",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"noExitOnEsc",void 0),m([(0,d.property)({type:String})],t.prototype,"size",void 0),m([(0,d.property)({type:String})],t.prototype,"closeBtnName",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"hideFooter",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"hideHeader",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"disableInitialFocus",void 0),m([(0,d.property)({type:String})],t.prototype,"alignment",void 0),m([(0,d.internalProperty)()],t.prototype,"animating",void 0),m([(0,d.query)(".md-modal__backdrop")],t.prototype,"backDrop",void 0),t=m([(0,a.w)("md-modal")],t),e.ELEMENT=t}(s||(s={}))},32325:e=>{e.exports=y},33328:(e,t,i)=>{i.d(t,{Accordion:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(33866),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.TS)(l.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex((e=>e.hasAttribute("focus-visible"))),i=this.slotted.length;let s=t;for(s=(i+s+e)%i;this.slotted[s].disabled;)s=(i+s+e)%i;this.focusAccordionItem(this.slotted[s])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame((()=>e.header.focus()))}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach((t=>{const i=t;i.expanded&&!t.isEqualNode(e)&&(i.expanded=!1)})),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter((e=>e.expanded)).forEach(((e,t)=>{const i=e;i.expanded&&t>0&&(i.expanded=!1)}))}setupFocusAccordionItems(){this.slotted.forEach((e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)}))}removeFocusAccordionItems(){this.slotted.forEach((e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)}))}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:i}=t;switch(i){case o.Uz.Space:case o.Uz.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case o.Uz.ArrowDown:this.switchFocusedAccordionItem(1);break;case o.Uz.ArrowUp:this.switchFocusedAccordionItem(-1);break;case o.Uz.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case o.Uz.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,i=this.slotted.find((e=>e.isSameNode(t)));i&&this.setActiveAccordionItem(i)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[a.A,d.A]}render(){return l.html`
1043
+ `}};m([(0,d.property)({type:Boolean})],t.prototype,"show",void 0),m([(0,d.property)({type:String})],t.prototype,"headerLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"headerMessage",void 0),m([(0,d.property)({type:String})],t.prototype,"htmlId",void 0),m([(0,d.property)({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaLabelClose",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaLabelCancel",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaLabelSubmit",void 0),m([(0,d.property)({type:String})],t.prototype,"ariaDescription",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"showCloseButton",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"backdropClickExit",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"noExitOnEsc",void 0),m([(0,d.property)({type:String})],t.prototype,"size",void 0),m([(0,d.property)({type:String})],t.prototype,"closeBtnName",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"hideFooter",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"hideHeader",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"disableInitialFocus",void 0),m([(0,d.property)({type:String})],t.prototype,"alignment",void 0),m([(0,d.internalProperty)()],t.prototype,"animating",void 0),m([(0,d.query)(".md-modal__backdrop")],t.prototype,"backDrop",void 0),t=m([(0,a.w)("md-modal")],t),e.ELEMENT=t}(s||(s={}))},32325:e=>{e.exports=B},33328:(e,t,i)=>{i.d(t,{Accordion:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(33866),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.TS)(l.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.handleAccordionItemFocus=()=>{this.toggleAttribute("focusable",!0)},this.handleAccordionItemBlur=()=>{this.toggleAttribute("focusable",!1)}}get slotItem(){return this.accordionItemSlotElement}filterSlotted(){return this.accordionItemSlotElement.assignedElements()}switchFocusedAccordionItem(e){const t=this.slotted.findIndex((e=>e.hasAttribute("focus-visible"))),i=this.slotted.length;let s=t;for(s=(i+s+e)%i;this.slotted[s].disabled;)s=(i+s+e)%i;this.focusAccordionItem(this.slotted[s])}focusAccordionItem(e){e.hasAttribute("focus-visible")||requestAnimationFrame((()=>e.header.focus()))}setActiveAccordionItem(e){this.multiple?e.expanded=!e.expanded:(this.slotted.forEach((t=>{const i=t;i.expanded&&!t.isEqualNode(e)&&(i.expanded=!1)})),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter((e=>e.expanded)).forEach(((e,t)=>{const i=e;i.expanded&&t>0&&(i.expanded=!1)}))}setupFocusAccordionItems(){this.slotted.forEach((e=>{e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur)}))}removeFocusAccordionItems(){this.slotted.forEach((e=>{e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur)}))}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:i}=t;switch(i){case o.Uz.Space:case o.Uz.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case o.Uz.ArrowDown:this.switchFocusedAccordionItem(1);break;case o.Uz.ArrowUp:this.switchFocusedAccordionItem(-1);break;case o.Uz.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case o.Uz.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,i=this.slotted.find((e=>e.isSameNode(t)));i&&this.setActiveAccordionItem(i)}updated(e){super.updated(e),e.has("slotted")&&(this.setupExpandedAccordionItems(),this.setupFocusAccordionItems())}connectedCallback(){super.connectedCallback(),this.addEventListener("accordion-item-keydown",this.handleKeyDown),this.addEventListener("accordion-item-click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("accordion-item-keydown",this.handleKeyDown),this.removeEventListener("accordion-item-click",this.handleClick),this.removeFocusAccordionItems()}static get styles(){return[a.A,d.A]}render(){return l.html`
1050
1044
  <div class="md-accordion" part="accordion">
1051
1045
  <slot name="accordion-item"></slot>
1052
1046
  </div>
1053
- `}};h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),h([(0,l.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=h([(0,n.w)("md-accordion")],t),e.ELEMENT=t}(s||(s={}))},37719:(e,t,i)=>{i.d(t,{ThemeManager:()=>r,themeManager:()=>n});var s=i(85314),o=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class r{constructor(e){this.isDarkMode=!1,this.themeName="lumos",this.isVisualRebrandEnabled=!1,this.isMomentumAvatarEnabled=!1,e&&this.update(e)}update(e){void 0!==e.isDarkMode&&(this.isDarkMode=e.isDarkMode),void 0!==e.themeName&&(this.themeName=e.themeName),void 0!==e.isVisualRebrandEnabled&&(this.isVisualRebrandEnabled=e.isVisualRebrandEnabled),void 0!==e.isMomentumAvatarEnabled&&(this.isMomentumAvatarEnabled=e.isMomentumAvatarEnabled)}setDarkMode(e){this.isDarkMode=e}setThemeName(e){this.themeName=e}setVisualRebrandEnabled(e){this.isVisualRebrandEnabled=e}setMomentumAvatar(e){this.isMomentumAvatarEnabled=e}get isMomentumV2Enabled(){return"momentumV2"===this.themeName}}o([s.observable],r.prototype,"isDarkMode",void 0),o([s.observable],r.prototype,"themeName",void 0),o([s.observable],r.prototype,"isVisualRebrandEnabled",void 0),o([s.observable],r.prototype,"isMomentumAvatarEnabled",void 0),o([s.action],r.prototype,"update",null),o([s.action],r.prototype,"setDarkMode",null),o([s.action],r.prototype,"setThemeName",null),o([s.action],r.prototype,"setVisualRebrandEnabled",null),o([s.action],r.prototype,"setMomentumAvatar",null),o([s.computed],r.prototype,"isMomentumV2Enabled",null);const n=new r},37782:e=>{e.exports=S},38028:(e,t,i)=>{i.d(t,{Avatar:()=>s}),i(80528),i(61200),i(69788);var s,o=i(31890),r=i(26283),n=i(26272),a=i(41488),l=i(40333),d=i(23968),h=i(97822),c=i(8229),p=i(37782),u=i(22887),m=i(3553),v=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this._tabIndex=0,this.alt="",this.src="",this.label="",this.title="",this.color="",this.decrypting=!1,this.role="img",this.iconName="",this.failurePresence=!1,this.type="",this.newMomentum=!1,this.typing=!1,this.size=40,this.hasNotification=!1,this.clickable=!1,this.avatarStyle="default",this.state="rest",this.imageLoaded=!1,this.imageErrored=!1,this.presenceColor="",this.presenceIcon="",this.iconNameMap={"channel-chat":"chat-filled","channel-social":"sms-message-filled","channel-sms-inbound":"sms-filled","channel-sms-outbound":"sms-outgoing-filled","channel-email-inbound":"email-filled","channel-email-outbound":"email-outgoing-filled","channel-call":"handset-filled","channel-callback":"outgoing-call-legacy-filled","channel-headset":"headset-filled","channel-campaign":"campaign-management-bold","channel-emoji":"emoji-happy-filled","channel-webex":"webex-app-icon-color-container","channel-fb-messenger":"social-fbmessenger-color","channel-apple-chat":"apple-business-chat-color","channel-line":"social-line-color","channel-twitter-x":"social-x","channel-viber":"social-viber-color","channel-whats-app":"social-whatsapp-color","channel-we-chat":"social-wechat-color","channel-spam":"participant-unknown-bold"}}get tabIndex(){return this._tabIndex}set tabIndex(e){const t=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",t)}static get styles(){return[n.A,m.A]}isPresenceType(e){return u.eO.includes(e)}firstUpdated(){const e=this.presenceType||(this.isPresenceType(this.type)?this.type:"");if(e){const{presenceColor:t,presenceIcon:i}=(0,u.E0)(e,this.failurePresence,this.newMomentum);this.presenceColor=t,this.presenceIcon=i}}updated(e){super.updated(e);const t=this.presenceType||(this.isPresenceType(this.type)?this.type:"");if(t&&(e.has("type")||e.has("presenceType")||e.has("newMomentum"))){const{presenceColor:e,presenceIcon:i}=(0,u.E0)(t,this.failurePresence,this.newMomentum);this.presenceColor=e,this.presenceIcon=i}e.has("role")&&this.style.setProperty("--avatar-cursor","button"===this.role?"pointer":"default")}get avatarClassMap(){return Object.assign(Object.assign({},this.newMomentum&&"bot"!==this.type||!this.type?{}:{[`md-avatar--${this.type}`]:!0}),{[`md-avatar--${this.size}`]:!!this.size,[`md-avatar--${this.color}`]:!!this.color})}get avatarLetterClassMap(){return{"md-decrypting":this.decrypting,[`md-avatar--${this.color}`]:this.color,"new-momentum":this.newMomentum}}get avatarStyleMap(){return{[`md-avatar--${this.color}`]:this.color}}get pretifyTitle(){if(this.title.length){const e=this.title.trim().split(" ");return 1===e.length?e[0].charAt(0):e[0].charAt(0)+e[e.length-1].charAt(0)}return this.title}get chatIconName(){return"chat-filled"}getIconName(e){return this.iconNameMap[e]||""}get chatIconSize(){return this.iconSize}get iconSize(){return(this.size/2).toString()}get renderIsTyping(){return"typing"===this.type||this.typing?a.html` <md-loading></md-loading> `:l.nothing}get avatarLetter(){return this.title?a.html`
1047
+ `}};h([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),h([(0,l.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=h([(0,n.w)("md-accordion")],t),e.ELEMENT=t}(s||(s={}))},37719:(e,t,i)=>{i.d(t,{ThemeManager:()=>r,themeManager:()=>n});var s=i(85314),o=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class r{constructor(e){this.isDarkMode=!1,this.themeName="lumos",this.isVisualRebrandEnabled=!1,this.isMomentumAvatarEnabled=!1,e&&this.update(e)}update(e){void 0!==e.isDarkMode&&(this.isDarkMode=e.isDarkMode),void 0!==e.themeName&&(this.themeName=e.themeName),void 0!==e.isVisualRebrandEnabled&&(this.isVisualRebrandEnabled=e.isVisualRebrandEnabled),void 0!==e.isMomentumAvatarEnabled&&(this.isMomentumAvatarEnabled=e.isMomentumAvatarEnabled)}setDarkMode(e){this.isDarkMode=e}setThemeName(e){this.themeName=e}setVisualRebrandEnabled(e){this.isVisualRebrandEnabled=e}setMomentumAvatar(e){this.isMomentumAvatarEnabled=e}get isMomentumV2Enabled(){return"momentumV2"===this.themeName}}o([s.observable],r.prototype,"isDarkMode",void 0),o([s.observable],r.prototype,"themeName",void 0),o([s.observable],r.prototype,"isVisualRebrandEnabled",void 0),o([s.observable],r.prototype,"isMomentumAvatarEnabled",void 0),o([s.action],r.prototype,"update",null),o([s.action],r.prototype,"setDarkMode",null),o([s.action],r.prototype,"setThemeName",null),o([s.action],r.prototype,"setVisualRebrandEnabled",null),o([s.action],r.prototype,"setMomentumAvatar",null),o([s.computed],r.prototype,"isMomentumV2Enabled",null);const n=new r},37782:e=>{e.exports=d},38028:(e,t,i)=>{i.d(t,{Avatar:()=>s}),i(80528),i(61200),i(69788);var s,o=i(31890),r=i(26283),n=i(26272),a=i(41488),l=i(40333),d=i(23968),h=i(97822),c=i(8229),p=i(37782),u=i(22887),m=i(3553),v=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this._tabIndex=0,this.alt="",this.src="",this.label="",this.title="",this.color="",this.decrypting=!1,this.role="img",this.iconName="",this.failurePresence=!1,this.type="",this.newMomentum=!1,this.typing=!1,this.size=40,this.hasNotification=!1,this.clickable=!1,this.avatarStyle="default",this.state="rest",this.imageLoaded=!1,this.imageErrored=!1,this.presenceColor="",this.presenceIcon="",this.iconNameMap={"channel-chat":"chat-filled","channel-social":"sms-message-filled","channel-sms-inbound":"sms-filled","channel-sms-outbound":"sms-outgoing-filled","channel-email-inbound":"email-filled","channel-email-outbound":"email-outgoing-filled","channel-call":"handset-filled","channel-callback":"outgoing-call-legacy-filled","channel-headset":"headset-filled","channel-campaign":"campaign-management-bold","channel-emoji":"emoji-happy-filled","channel-webex":"webex-app-icon-color-container","channel-fb-messenger":"social-fbmessenger-color","channel-apple-chat":"apple-business-chat-color","channel-line":"social-line-color","channel-twitter-x":"social-x","channel-viber":"social-viber-color","channel-whats-app":"social-whatsapp-color","channel-we-chat":"social-wechat-color","channel-spam":"participant-unknown-bold"}}get tabIndex(){return this._tabIndex}set tabIndex(e){const t=this._tabIndex;this._tabIndex=e,this.requestUpdate("tabIndex",t)}static get styles(){return[n.A,m.A]}isPresenceType(e){return u.eO.includes(e)}firstUpdated(){const e=this.presenceType||(this.isPresenceType(this.type)?this.type:"");if(e){const{presenceColor:t,presenceIcon:i}=(0,u.E0)(e,this.failurePresence,this.newMomentum);this.presenceColor=t,this.presenceIcon=i}}updated(e){super.updated(e);const t=this.presenceType||(this.isPresenceType(this.type)?this.type:"");if(t&&(e.has("type")||e.has("presenceType")||e.has("newMomentum"))){const{presenceColor:e,presenceIcon:i}=(0,u.E0)(t,this.failurePresence,this.newMomentum);this.presenceColor=e,this.presenceIcon=i}e.has("role")&&this.style.setProperty("--avatar-cursor","button"===this.role?"pointer":"default")}get avatarClassMap(){return Object.assign(Object.assign({},this.newMomentum&&"bot"!==this.type||!this.type?{}:{[`md-avatar--${this.type}`]:!0}),{[`md-avatar--${this.size}`]:!!this.size,[`md-avatar--${this.color}`]:!!this.color})}get avatarLetterClassMap(){return{"md-decrypting":this.decrypting,[`md-avatar--${this.color}`]:this.color,"new-momentum":this.newMomentum}}get avatarStyleMap(){return{[`md-avatar--${this.color}`]:this.color}}get pretifyTitle(){if(this.title.length){const e=this.title.trim().split(" ");return 1===e.length?e[0].charAt(0):e[0].charAt(0)+e[e.length-1].charAt(0)}return this.title}get chatIconName(){return"chat-filled"}getIconName(e){return this.iconNameMap[e]||""}get chatIconSize(){return this.iconSize}get iconSize(){return(this.size/2).toString()}get renderIsTyping(){return"typing"===this.type||this.typing?a.html` <md-loading></md-loading> `:l.nothing}get avatarLetter(){return this.title?a.html`
1054
1048
  <span class="md-avatar__letter ${(0,d.classMap)(this.avatarLetterClassMap)}">
1055
1049
  ${this.pretifyTitle}
1056
1050
  <slot></slot>
@@ -1152,11 +1146,11 @@
1152
1146
  </table>
1153
1147
  `:n.html` <p>${this.nodata}</p> `}
1154
1148
  </div>
1155
- `}};p([(0,n.property)({type:String})],t.prototype,"tabledata",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"zebra",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"clean",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"sorting",void 0),p([(0,n.property)({type:String})],t.prototype,"nodata",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"stickheader",void 0),p([(0,n.property)({type:String})],t.prototype,"label",void 0),p([(0,n.property)({type:Boolean,attribute:"no-borders"})],t.prototype,"noBorders",void 0),p([(0,n.property)({type:String})],t.prototype,"format",void 0),p([(0,n.property)({type:Array})],t.prototype,"warning",void 0),p([(0,n.property)({type:Array})],t.prototype,"errors",void 0),p([(0,n.internalProperty)()],t.prototype,"sort",void 0),p([(0,n.internalProperty)()],t.prototype,"csvData",void 0),p([(0,n.queryAll)('.md-table__body tr[role="row"]')],t.prototype,"rowTable",void 0),t=p([(0,o.w)("md-table")],t),e.ELEMENT=t}(s||(s={}))},41488:t=>{t.exports=e},41891:e=>{e.exports=D},45001:e=>{e.exports=L},45629:(e,t,i)=>{i.d(t,{ButtonGroup:()=>s});var s,o=i(90195),r=i(3001),n=i(26272),a=i(41488),l=i(71250),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.TS)((0,r.yC)(a.LitElement))){constructor(){super(...arguments),this.active=0,this.tabIndex=0,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get slotElement(){return this.buttonSlot}static get styles(){return[n.A,l.A]}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","group")}setButtonTabIndex(){this.slotted.forEach((e=>e.tabIndex=-1))}updated(e){super.updated(e),e.has("slotted")&&(this.setButtonTabIndex(),this.setFirstActive())}get selectedBtnValue(){return this.slotted[this.active].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("button-group-change",{detail:{selected:this.selectedBtnValue},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}setSelected(e){var t,i;const s=this.findSelectedBtnIndex();-1!==s&&s!==e&&(null===(t=this.slotted[s])||void 0===t||t.toggleAttribute("selected",!1)),null===(i=this.slotted[e])||void 0===i||i.toggleAttribute("selected",!0)}setFirstActive(){-1===this.findSelectedBtnIndex()&&this.setSelected(this.active)}findBtnIndex(e){const t=e.composedPath();return this.slotted.findIndex((e=>t.includes(e)))}findSelectedBtnIndex(){return this.slotted.findIndex((e=>e.hasAttribute("selected")))}isBtnDisabled(e){return this.slotted[e].disabled}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}switchBtnOnArrowPress(e,t=1){const i=this.getAvailableSelectedIndex(e,t);-1!==i&&(this.active=i,this.setSelected(i),this.notifySelectedChange())}getAvailableSelectedIndex(e,t=1){const i=this.slotted.length;for(let s=0,o=e;s<i;s+=1,o+=t){o<0?o=i-1:o>=i&&(o=0);const e=this.slotted[o];if(this.isFocusable(e))return o}return-1}isFocusable(e){return!e.hasAttribute("disabled")&&!e.hasAttribute("hidden")}handleClick(e){const t=this.findBtnIndex(e);-1!==t&&(this.isBtnDisabled(t)||(this.active=t,this.setSelected(t),this.notifySelectedChange()))}handleKeyDown(e){const{code:t}=e;switch(t){case o.Uz.Enter:case o.Uz.Space:this.isBtnDisabled(this.active)||(this.setSelected(this.active),this.notifySelectedChange());break;case o.Uz.ArrowLeft:0===this.active?this.switchBtnOnArrowPress(this.slotted.length-1,-1):this.switchBtnOnArrowPress(this.active-1,-1);break;case o.Uz.ArrowRight:this.active===this.slotted.length-1?this.switchBtnOnArrowPress(0):this.switchBtnOnArrowPress(this.active+1)}}render(){return a.html`
1149
+ `}};p([(0,n.property)({type:String})],t.prototype,"tabledata",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"zebra",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"clean",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"sorting",void 0),p([(0,n.property)({type:String})],t.prototype,"nodata",void 0),p([(0,n.property)({type:Boolean})],t.prototype,"stickheader",void 0),p([(0,n.property)({type:String})],t.prototype,"label",void 0),p([(0,n.property)({type:Boolean,attribute:"no-borders"})],t.prototype,"noBorders",void 0),p([(0,n.property)({type:String})],t.prototype,"format",void 0),p([(0,n.property)({type:Array})],t.prototype,"warning",void 0),p([(0,n.property)({type:Array})],t.prototype,"errors",void 0),p([(0,n.internalProperty)()],t.prototype,"sort",void 0),p([(0,n.internalProperty)()],t.prototype,"csvData",void 0),p([(0,n.queryAll)('.md-table__body tr[role="row"]')],t.prototype,"rowTable",void 0),t=p([(0,o.w)("md-table")],t),e.ELEMENT=t}(s||(s={}))},41392:e=>{e.exports=z},41488:t=>{t.exports=e},41891:e=>{e.exports=w},45001:e=>{e.exports=y},45629:(e,t,i)=>{i.d(t,{ButtonGroup:()=>s});var s,o=i(90195),r=i(3001),n=i(26272),a=i(41488),l=i(71250),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.TS)((0,r.yC)(a.LitElement))){constructor(){super(...arguments),this.active=0,this.tabIndex=0,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get slotElement(){return this.buttonSlot}static get styles(){return[n.A,l.A]}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","group")}setButtonTabIndex(){this.slotted.forEach((e=>e.tabIndex=-1))}updated(e){super.updated(e),e.has("slotted")&&(this.setButtonTabIndex(),this.setFirstActive())}get selectedBtnValue(){return this.slotted[this.active].value}notifySelectedChange(){this.dispatchEvent(new CustomEvent("button-group-change",{detail:{selected:this.selectedBtnValue},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}setSelected(e){var t,i;const s=this.findSelectedBtnIndex();-1!==s&&s!==e&&(null===(t=this.slotted[s])||void 0===t||t.toggleAttribute("selected",!1)),null===(i=this.slotted[e])||void 0===i||i.toggleAttribute("selected",!0)}setFirstActive(){-1===this.findSelectedBtnIndex()&&this.setSelected(this.active)}findBtnIndex(e){const t=e.composedPath();return this.slotted.findIndex((e=>t.includes(e)))}findSelectedBtnIndex(){return this.slotted.findIndex((e=>e.hasAttribute("selected")))}isBtnDisabled(e){return this.slotted[e].disabled}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}switchBtnOnArrowPress(e,t=1){const i=this.getAvailableSelectedIndex(e,t);-1!==i&&(this.active=i,this.setSelected(i),this.notifySelectedChange())}getAvailableSelectedIndex(e,t=1){const i=this.slotted.length;for(let s=0,o=e;s<i;s+=1,o+=t){o<0?o=i-1:o>=i&&(o=0);const e=this.slotted[o];if(this.isFocusable(e))return o}return-1}isFocusable(e){return!e.hasAttribute("disabled")&&!e.hasAttribute("hidden")}handleClick(e){const t=this.findBtnIndex(e);-1!==t&&(this.isBtnDisabled(t)||(this.active=t,this.setSelected(t),this.notifySelectedChange()))}handleKeyDown(e){const{code:t}=e;switch(t){case o.Uz.Enter:case o.Uz.Space:this.isBtnDisabled(this.active)||(this.setSelected(this.active),this.notifySelectedChange());break;case o.Uz.ArrowLeft:0===this.active?this.switchBtnOnArrowPress(this.slotted.length-1,-1):this.switchBtnOnArrowPress(this.active-1,-1);break;case o.Uz.ArrowRight:this.active===this.slotted.length-1?this.switchBtnOnArrowPress(0):this.switchBtnOnArrowPress(this.active+1)}}render(){return a.html`
1156
1150
  <div role="group" class="md-button-group" part="button-group">
1157
1151
  <slot name="button"></slot>
1158
1152
  </div>
1159
- `}};d([(0,a.property)({type:Number,reflect:!0})],t.prototype,"active",void 0),d([(0,a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),d([(0,a.query)("slot[name='button']")],t.prototype,"buttonSlot",void 0),d([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),t=d([(0,r.wW)("md-button-group")],t),e.ELEMENT=t}(s||(s={}))},46180:e=>{e.exports=w},46312:(e,t,i)=>{i.d(t,{Coachmark:()=>s}),i(96798);var s,o=i(3001),r=i(31890),n=i(66677),a=i(26272),l=i(41488),d=i(23968),h=i(82043),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.dY)(l.LitElement)){constructor(){super(...arguments),this.message="",this.actionname="Next",this.hidebutton=!1,this.placement="auto",this.show=!1,this.color="default",this.slotContent=null}connectedCallback(){super.connectedCallback()}notifyCoachCreate(){this.dispatchEvent(new CustomEvent("coach-create",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}coachAction(){this.dispatchEvent(new CustomEvent("coach-action",{bubbles:!0,composed:!0,detail:{popper:this.popper}}))}handleSlotChange(e){const t=e.target;if(t){const e=t.assignedElements({flatten:!0});e.length&&(this.slotContent=e)}}update(e){var t;super.update(e),e.has("show")&&this.show&&(this.setFocusableElements(),(null===(t=this.focusableElements)||void 0===t?void 0:t.length)&&this.focusableElements[0].focus())}get coachWrapClassMap(){return{"md-coachmark--active":!!this.show}}get coachClassMap(){return{[`md-coachmark__popper--${this.placement}`]:!!this.placement,[`md-coachmark__popper--${this.color}`]:!!this.color}}static get styles(){return[a.A,h.A]}coachmarkContentTemplate(){return l.html`
1153
+ `}};d([(0,a.property)({type:Number,reflect:!0})],t.prototype,"active",void 0),d([(0,a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),d([(0,a.query)("slot[name='button']")],t.prototype,"buttonSlot",void 0),d([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),t=d([(0,r.wW)("md-button-group")],t),e.ELEMENT=t}(s||(s={}))},46180:e=>{e.exports=R},46312:(e,t,i)=>{i.d(t,{Coachmark:()=>s}),i(96798);var s,o=i(3001),r=i(31890),n=i(66677),a=i(26272),l=i(41488),d=i(23968),h=i(82043),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.dY)(l.LitElement)){constructor(){super(...arguments),this.message="",this.actionname="Next",this.hidebutton=!1,this.placement="auto",this.show=!1,this.color="default",this.slotContent=null}connectedCallback(){super.connectedCallback()}notifyCoachCreate(){this.dispatchEvent(new CustomEvent("coach-create",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}coachAction(){this.dispatchEvent(new CustomEvent("coach-action",{bubbles:!0,composed:!0,detail:{popper:this.popper}}))}handleSlotChange(e){const t=e.target;if(t){const e=t.assignedElements({flatten:!0});e.length&&(this.slotContent=e)}}update(e){var t;super.update(e),e.has("show")&&this.show&&(this.setFocusableElements(),(null===(t=this.focusableElements)||void 0===t?void 0:t.length)&&this.focusableElements[0].focus())}get coachWrapClassMap(){return{"md-coachmark--active":!!this.show}}get coachClassMap(){return{[`md-coachmark__popper--${this.placement}`]:!!this.placement,[`md-coachmark__popper--${this.color}`]:!!this.color}}static get styles(){return[a.A,h.A]}coachmarkContentTemplate(){return l.html`
1160
1154
  <div class="md-coachmark__content">
1161
1155
  ${this.message?this.message:l.html` <slot name="coachmark-content" @slotchange=${this.handleSlotChange}></slot> `}
1162
1156
  <div class="md-coachmark__action">
@@ -1221,110 +1215,115 @@
1221
1215
  ${this.finalTwentyFourFormat?d.nothing:this.generateAmPmComboBox()}
1222
1216
  </div>
1223
1217
  </div>
1224
- `}};m([(0,l.property)({type:Boolean,attribute:"two-digit-auto-tab"})],t.prototype,"twoDigitAutoTab",void 0),m([(0,l.property)({type:Boolean,attribute:"twenty-four-hour-format",reflect:!0})],t.prototype,"twentyFourHourFormat",void 0),m([(0,l.property)({type:String})],t.prototype,"timeSpecificity",void 0),m([(0,l.property)({type:String})],t.prototype,"locale",void 0),m([(0,l.property)({type:String,reflect:!0})],t.prototype,"value",void 0),m([(0,l.internalProperty)()],t.prototype,"finalTwentyFourFormat",void 0),m([(0,l.internalProperty)()],t.prototype,"timeObject",void 0),m([(0,l.internalProperty)()],t.prototype,"tabNext",void 0),m([(0,l.internalProperty)()],t.prototype,"timeValue",void 0),m([(0,l.internalProperty)()],t.prototype,"timeValidity",void 0),t=m([(0,o.w)("md-timepicker")],t),e.ELEMENT=t}(g||(g={}))},50226:(e,t,i)=>{i.d(t,{Tabs:()=>A}),i(61200),i(11323),i(83192);var s=i(90195),o=i(3001),r=i(59164),n=i(26272),a=i(41488),l=i(40333),d=i(23968),h=i(22818),c=i(8229),p=i(19239),u=i(41891),m=i.n(u),v=i(97103),b=i(30076),y=i(16643),g=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},f=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};const w="tab-more",x="more-menu-copy-",C="visibleToVisible",S="visibleToHidden",$="hiddenToVisible",E="hiddenToHidden",k="previous",T="next",I="fromMoreTabs";var A;!function(e){let t=class extends((0,o.UM)((0,o.Io)((0,o.TS)(a.LitElement)))){constructor(){super(...arguments),this.justified=!1,this.hugTabs=!1,this.overflowLabel="More Tabs",this.draggable=!1,this.direction="horizontal",this.moreItemsScrollLimit=Number.MAX_SAFE_INTEGER,this._selectedIndex=0,this.delay=0,this.animation=100,this.ghostClass="",this.chosenClass="",this.forceFallback=!1,this.fallbackClass="",this.tabsId="",this.persistSelection=!1,this.compUniqueId="",this.type="line",this.newMomentum=!1,this.variant="ghost",this.isMoreTabMenuVisible=!1,this.isMoreTabMenuMeasured=!1,this.isMoreTabMenuOpen=!1,this.isMoreTabMenuSelected=!1,this.isMoreTabMenuScrollable=!1,this.moreTabMenuOffsetWidth=0,this.moreTabMenuMaxHeight=null,this.tabsViewportDataList=[],this.tabsFilteredAsVisibleList=[],this.tabsFilteredAsHiddenList=[],this.noTabsVisible=!1,this.defaultTabsOrderArray=[],this.tabsOrderPrefsArray=[],this.isMoreTabTruncated=!1,this.tabs=[],this.panels=[],this.tabsCopy=[],this.tabsHash={},this.tabsCopyHash={},this.tabsIdxHash={},this.tabsVisibleIdxHash={},this.tabsHiddenIdxHash={},this.visibleTabsSortableInstance=null,this.hiddenTabsSortableInstance=null,this.handleOnDragEnd=e=>f(this,void 0,void 0,(function*(){var t,i,s,o,r,n,a,l,d,h;e.stopPropagation();const c=e.oldIndex,p=e.newIndex,u=[...this.tabsFilteredAsVisibleList],m=[...this.tabsFilteredAsHiddenList],v=this.getDragDirection(e);if(void 0!==c&&void 0!==p){switch(v){case S:{null===(i=null===(t=this.hiddenTabsContainerElement)||void 0===t?void 0:t.querySelector("#"+e.item.id))||void 0===i||i.remove();const s=u[c],o=m.slice(-1)[0],r=p===this.tabsFilteredAsHiddenList.length?p-1:p;m.splice(r,0,s),m.pop();const n=u.filter((t=>t.id!==this.getNormalizedTabId(e.item.id)));n.push(o),this.tabsFilteredAsVisibleList=[...n],this.tabsFilteredAsHiddenList=[...m];break}case C:{const e=u[c];u.splice(c,1),u.splice(p,0,e),this.tabsFilteredAsVisibleList=u,p===this.tabsFilteredAsVisibleList.length-1&&(null===(o=null===(s=this.visibleTabsContainerElement)||void 0===s?void 0:s.children[this.visibleTabsContainerElement.children.length-1])||void 0===o||o.remove());const t=this.visibleTabsContainerElement.children[c],i=this.visibleTabsContainerElement.children[p];if(!t||!i)return;null===(r=this.visibleTabsContainerElement)||void 0===r||r.replaceChild(i,t),null===(n=this.visibleTabsContainerElement)||void 0===n||n.insertBefore(t,i);break}case $:{null===(l=null===(a=this.visibleTabsContainerElement)||void 0===a?void 0:a.querySelector("#"+e.item.id))||void 0===l||l.remove();const t=m[c],i=u.slice(-1)[0];m.splice(c,1),m.splice(0,0,i);const s=p===this.tabsFilteredAsVisibleList.length?p-1:p;u.splice(s,0,t),u.pop(),this.tabsFilteredAsVisibleList=u,this.tabsFilteredAsHiddenList=m;break}case E:{const e=m[c];m.splice(c,1),m.splice(p,0,e),this.tabsFilteredAsHiddenList=m,p===this.tabsFilteredAsHiddenList.length-1&&(null===(h=null===(d=this.hiddenTabsContainerElement)||void 0===d?void 0:d.children[this.hiddenTabsContainerElement.children.length-1])||void 0===h||h.remove());break}}if(this.compUniqueId){const e=[...this.tabsFilteredAsVisibleList,...this.tabsFilteredAsHiddenList],t=e.findIndex((e=>e.selected));this.storeSelectedTabIndex(t),this.tabsOrderPrefsArray=e.map((e=>e.name)),localStorage.setItem(this.compUniqueId,this.tabsOrderPrefsArray.join(","))}}}))}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._selectedIndex=e}generateOptions(){return{group:"shared",animation:10,swapThreshold:1,draggable:"md-tab",direction:this.direction,forceFallback:this.forceFallback,fallbackClass:this.fallbackClass,ghostClass:this.ghostClass,chosenClass:this.chosenClass,onEnd:this.handleOnDragEnd}}get currentTabsLayout(){return"horizontal"===this.direction?[...this.tabsFilteredAsVisibleList,...this.tabsFilteredAsHiddenList]:this.tabs}getCopyTabId(e){var t;return(null===(t=e.id)||void 0===t?void 0:t.startsWith(x))?`${x}${e.id}`:e.id}getAriaControlId(e){var t,i;return(null===(t=e.id)||void 0===t?void 0:t.startsWith(x))?`${x}${e.id}`:"tab_panel_"+(null===(i=e.id)||void 0===i?void 0:i.substring(4))}getTabIndex(e){var t,i;return this.isMoreTabMenuVisible&&0===this.getCurrentIndex(null==e?void 0:e.id)&&this.selected>(null===(t=this.tabsFilteredAsVisibleList)||void 0===t?void 0:t.length)-1||(null===(i=this.tabsFilteredAsVisibleList[this.selected])||void 0===i?void 0:i.id)===e.id?0:-1}getNormalizedTabId(e){return e.replace(x,"")}static get styles(){return[n.A,b.A]}ensureTabsUpdateComplete(e){return f(this,void 0,void 0,(function*(){const t=e.map((e=>void 0!==e.updateComplete?e.updateComplete:null)).filter((e=>null!==e));t.length&&(yield Promise.all(t))}))}measureTabsOffsetWidth(){return this.justified||"vertical"===this.direction?this.tabs.map((e=>{e.setAttribute("measuringrealwidth","");const t=e.closable?e.offsetWidth+y.TAB_CROSS_WIDTH:e.offsetWidth;return e.removeAttribute("measuringrealwidth"),t})):this.tabs.map((e=>e.closable?e.offsetWidth+y.TAB_CROSS_WIDTH:e.offsetWidth))}updateIsMoreTabTruncated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-menu-overlay__overflow-label");if(t){const e=t.scrollWidth>t.clientWidth;this.isMoreTabTruncated!=e&&(this.isMoreTabTruncated=e)}}measureHiddenTabsCopiesOffsetHeight(){return this.tabsCopy.map((e=>e.offsetHeight))}manageOverflow(){return f(this,void 0,void 0,(function*(){var e,t;if("vertical"!==this.direction){let i;i=0===this.tabsFilteredAsVisibleList.length&&0===this.tabsFilteredAsHiddenList.length?[...this.tabs]:[...this.tabsFilteredAsVisibleList,...this.tabsFilteredAsHiddenList],i.forEach((e=>{var t,i,s,o,r;if((null===(t=e.children)||void 0===t?void 0:t.length)&&0===(null===(s=null===(i=e.children[0])||void 0===i?void 0:i.children)||void 0===s?void 0:s.length)){const t=null===(o=null==e?void 0:e.querySelector("slot"))||void 0===o?void 0:o.assignedNodes({flatten:!0})[0].cloneNode(!0);t&&(t.classList.add("tab-content"),null===(r=null==e?void 0:e.children[0])||void 0===r||r.appendChild(t))}}));const s=i.length;if(this.tabsListElement&&s){const o=(null===(e=this.tabsSettingsElement)||void 0===e?void 0:e.offsetWidth)?this.tabsListElement.offsetWidth-(null===(t=this.tabsSettingsElement)||void 0===t?void 0:t.offsetWidth):this.tabsListElement.offsetWidth;yield this.ensureTabsUpdateComplete(this.tabs);const r=this.measureTabsOffsetWidth(),n=i.reduce(((e,t,i)=>e+r[i]),0);if(n){yield this.setupMoreTab();let e=!0;o<n&&(e=!1);const t=[];let a=0;i.forEach(((i,n)=>{a+=r[n];const l=!e&&a+(n<s-1?this.moreTabMenuOffsetWidth:0)>o;t.push({isTabInViewportHidden:l,tabOffsetWidth:r[n]})})),this.tabsViewportDataList=t,this.tabsViewportDataList.forEach(((e,t)=>this.tabs[t].viewportHidden=e.isTabInViewportHidden)),this.isMoreTabMenuVisible=!!this.tabsViewportDataList.find((e=>e.isTabInViewportHidden)),this.tabsFilteredAsVisibleList=i.filter(((e,t)=>!this.tabsViewportDataList[t].isTabInViewportHidden)),this.tabsVisibleIdxHash=this.tabsFilteredAsVisibleList.reduce(((e,t,i)=>(e[t.id]=i,e)),{}),this.tabsFilteredAsHiddenList=i.filter(((e,t)=>this.tabsViewportDataList[t].isTabInViewportHidden)),this.tabsHiddenIdxHash=this.tabsFilteredAsHiddenList.reduce(((e,t,i)=>(e[t.id]=i,e)),{})}}this.updateIsMoreTabMenuSelected();const o=this.tabsFilteredAsHiddenList.find((e=>!e.disabled));this.updateHiddenIdPositiveTabIndex(o)}}))}updateIsMoreTabMenuSelected(){this.isMoreTabMenuSelected=!!this.tabsFilteredAsHiddenList.find((e=>e.selected))}updateHiddenIdPositiveTabIndex(e){this.tabHiddenIdPositiveTabIndex=e?e.id:void 0}sortTabsAndPanes(){if(!this.tabsOrderPrefsArray.length)return;const e=(e,t)=>{var i,s;const o=null!==(i=e.getAttribute("name"))&&void 0!==i?i:"",r=null!==(s=t.getAttribute("name"))&&void 0!==s?s:"";return this.tabsOrderPrefsArray.indexOf(o)-this.tabsOrderPrefsArray.indexOf(r)};this.tabs.sort(e),this.panels.sort(e)}linkPanelsAndTabs(){return f(this,void 0,void 0,(function*(){this.sortTabsAndPanes();const{tabs:e,panels:t}=this;if(0===e.length||0===t.length)return void console.warn("The tabs or panels count should't be equal zero.");e.length!==t.length&&console.warn(`The amount of tabs (${e.length}) doesn't match the amount of panels (${t.length}).`);const i="vertical"===this.direction;e.forEach(((e,s)=>{const o=(0,r.O)("tabs"),n="tab_"+o,a="tab_panel_"+o;e.setAttribute("id",n),e.setAttribute("aria-controls",a),e.selected=this.selected===s,e.vertical!==i&&(e.vertical=i),e.viewportHidden&&i&&(e.viewportHidden=!1);const l=t[s];l?(l.setAttribute("id",a),l.setAttribute("aria-labelledby",n),l.selected=this.selected===s,e.disabled&&(l.hidden=!0,l.selected=!1)):e.disabled=!0}));let s=this.selected;for(;s<e.length&&e[s].disabled;)s++;s=s===e.length?0:s,e[s].selected=!0,t[s].selected=!0,this.tabsHash=this.tabs.reduce(((e,t)=>(e[t.id]=t,e)),{}),this.tabsIdxHash=this.tabs.reduce(((e,t,i)=>(e[t.id]=i,e)),{})}))}get slotItem(){return this.tabSlotElement}filterSlotted(){return this.tabSlotElement.assignedElements()}handleResize(e){const t=Object.create(null,{handleResize:{get:()=>super.handleResize}});return f(this,void 0,void 0,(function*(){t.handleResize&&t.handleResize.call(this,e),yield this.manageOverflow(),this.updateIsMoreTabTruncated()}))}getDragDirection(e){return e.from===this.visibleTabsContainerElement&&e.to===this.hiddenTabsContainerElement?S:e.from===this.visibleTabsContainerElement&&e.to===this.visibleTabsContainerElement?C:e.from===this.hiddenTabsContainerElement&&e.to===this.visibleTabsContainerElement?$:e.from===this.hiddenTabsContainerElement&&e.to===this.hiddenTabsContainerElement?E:void 0}makeTabCopyFocus(e){e&&e.focus()}handleTabClick(e){const{id:t}=e.detail;this.handleNewSelectedTab(t)}handleNewSelectedTab(e){const t=this.tabsHash[this.getNormalizedTabId(e)];if(t&&!t.disabled){const e=this.tabsIdxHash[t.id];-1!==e&&this.updateSelectedTab(e);{const e=this.tabsCopyHash[this.getCopyTabId(t)];e&&this.makeTabCopyFocus(e),this.updateHiddenIdPositiveTabIndex(t)}}}handleTabCrossClick(e){const{id:t}=e.detail;this.handleTabCloseEvent(t)}handleTabCloseClick(e){const{id:t}=e.detail;this.handleTabCloseEvent(t)}handleTabCloseEvent(e){var t,i;const s=this.tabsHash[this.getNormalizedTabId(e)];if(s&&!s.disabled&&("auto"===s.closable||"custom"===s.closable)){const s=this.tabsFilteredAsVisibleList.findIndex((t=>this.getNormalizedTabId(t.id)===this.getNormalizedTabId(e)));this.tabsFilteredAsVisibleList=this.tabsFilteredAsVisibleList.filter((t=>this.getNormalizedTabId(t.id)!==this.getNormalizedTabId(e))),null===(i=null===(t=this.visibleTabsContainerElement)||void 0===t?void 0:t.querySelector("#"+e))||void 0===i||i.remove(),0!==this.tabsFilteredAsHiddenList.length&&(this.tabsFilteredAsVisibleList.push(this.tabsFilteredAsHiddenList[0]),this.tabsFilteredAsHiddenList.splice(0,1)),0===this.tabsFilteredAsHiddenList.length&&(this.isMoreTabMenuVisible=!1,this.isMoreTabMenuMeasured=!1),this.handleUpdatedSeletedTabAfterCross(s)}}handleUpdatedSeletedTabAfterCross(e){var t;let i=e;for(;i<this.tabsFilteredAsVisibleList.length&&(null===(t=this.tabsFilteredAsVisibleList[i])||void 0===t?void 0:t.disabled);)i++;if(void 0===this.tabsFilteredAsVisibleList[i]||e===this.tabsFilteredAsVisibleList.length)for(i=e-1;i>=0&&this.tabsFilteredAsVisibleList[i].disabled;)i--;if(-1!==i){const e=this.tabs.findIndex((e=>e.id===this.tabsFilteredAsVisibleList[i].id));this.updateSelectedTab(e)}else this.updateSelectedTab(i);this.noTabsVisible=0===this.tabsFilteredAsVisibleList.length&&0===this.tabsFilteredAsHiddenList.length,this.requestUpdate()}toggleSelectedAttribute(e,t){if(null==e||e.toggleAttribute("selected"),null==t||t.toggleAttribute("selected"),e){const t=this.tabsCopyHash[this.getCopyTabId(e)];t?(t.toggleAttribute("selected"),this.isMoreTabMenuSelected=!0):this.isMoreTabMenuSelected=!1}}updateSelectedTab(e){const{tabs:t,panels:i}=this,s=this.tabs.findIndex((e=>e.hasAttribute("selected")));if(t&&i&&[s,e].forEach((e=>{e>=0&&this.toggleSelectedAttribute(t[e],i[e])})),e>=0){this.dispatchSelectedChangedEvent(e);const i=this.currentTabsLayout.findIndex((i=>i.id===t[e].id));this.changeSelectedTabIdx(i)}}dispatchSelectedChangedEvent(e){const t=this.currentTabsLayout,i=this.tabs[e].id,s=t.findIndex((e=>e.id===i)),o=[];t.forEach((e=>{o.push(e.name)})),this.dispatchEvent(new CustomEvent("selected-changed",{detail:{value:s,tabsOrder:o},composed:!0,bubbles:!0}))}changeSelectedTabIdx(e){this.requestUpdate(),this.selected=e,this.updateComplete.then((()=>{var t,i;if(e<this.tabsFilteredAsVisibleList.length){const e=null===(t=this.visibleTabsContainerElement)||void 0===t?void 0:t.children[this.selected];null==e||e.focus()}else{const e=this.selected-this.tabsFilteredAsVisibleList.length,t=null===(i=this.hiddenTabsContainerElement)||void 0===i?void 0:i.children[e];this.moveFocusToTab(t);const s=this.tabsFilteredAsHiddenList[e];!(null==s?void 0:s.disabled)&&this.updateHiddenIdPositiveTabIndex(s)}})),this.updateIsMoreTabMenuSelected(),this.storeSelectedTabIndex(e)}storeSelectedTabIndex(e){this.persistSelection&&this.tabsId&&e>-1&&""!==this.tabsId.trim()&&sessionStorage.setItem(this.tabsId,`${e}`)}getCurrentIndex(e){var t,i,s;const o=null!==(i=null===(t=this.visibleTabsContainerElement)||void 0===t?void 0:t.children.length)&&void 0!==i?i:0;for(let t=0;t<o;t++)if((null===(s=this.visibleTabsContainerElement)||void 0===s?void 0:s.children[t].id)===e)return t;return this.tabsVisibleIdxHash[e]}moveFocusToAdjacentTab(e,t){var i,s;const o=this.getCurrentIndex(e),r=null===(i=this.visibleTabsContainerElement)||void 0===i?void 0:i.children,n=null!==(s=null==r?void 0:r.length)&&void 0!==s?s:0;if(!r||0===n)return;let a=0;t===k?a=0===o?n-1:o-1:t===T?a=o===n-1?0:o+1:t===I&&(a=this.selected>=n?0:this.selected),this.moveFocusToTab(r[a])}moveFocusToTab(e){(0,v.setTimeout)((()=>null==e?void 0:e.focus()),0)}handleOverlayClose(){this.menuOverlayElement&&(this.menuOverlayElement.isOpen=!1)}dispatchKeydownEvent(e,t){t&&this.dispatchEvent(new CustomEvent("tab-keydown",{detail:{id:t,key:e.code,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,srcEvent:e},bubbles:!0,composed:!0}))}handleTabKeydown(e){var t,i,o,r,n,a,l;const d=e.target;if(e.target!=this&&!this.tabs.find((e=>e.id===(null==d?void 0:d.id))))return!1;let h;if((null===(t=e.composedPath())||void 0===t?void 0:t.length)>0?h=e.composedPath()[0].id:e.originalTarget&&(h=e.originalTarget.id),!h)return;const c=this.getNormalizedTabId(h);this.dispatchKeydownEvent(e,c);const p=e.code,{shiftKey:u}=e,m=!!this.isMoreTabMenuVisible&&c===w,v=m&&this.isMoreTabMenuVisible?this.moreTabMenuElement:this.tabsHash[this.getNormalizedTabId(c)],b=!this.isMoreTabMenuVisible||v&&this.tabsVisibleIdxHash[v.id]>-1,y=!!this.isMoreTabMenuVisible&&v&&this.tabsHiddenIdxHash[v.id]>-1,g=this.isMoreTabMenuVisible?this.tabsFilteredAsVisibleList.length-1:this.tabs.length-1,f=this.isMoreTabMenuVisible?this.tabsFilteredAsVisibleList.length:-1,x=this.isMoreTabMenuVisible?this.tabsFilteredAsVisibleList.length+this.tabsFilteredAsHiddenList.length-1:-1;switch(p){case s.Uz.Tab:m&&!this.isMoreTabMenuOpen&&u&&(e.preventDefault(),this.moveFocusToAdjacentTab(h,I));break;case s.Uz.End:m||(b?(e.preventDefault(),this.moveFocusToTab(null===(i=this.visibleTabsContainerElement)||void 0===i?void 0:i.children[(null===(o=this.tabsFilteredAsVisibleList)||void 0===o?void 0:o.length)-1])):this.isMoreTabMenuOpen&&(e.preventDefault(),this.moveFocusToTab(null===(r=this.hiddenTabsContainerElement)||void 0===r?void 0:r.children[(null===(n=this.tabsFilteredAsHiddenList)||void 0===n?void 0:n.length)-1])));break;case s.Uz.Home:b?(e.preventDefault(),this.moveFocusToTab(null===(a=this.visibleTabsContainerElement)||void 0===a?void 0:a.children[0])):this.isMoreTabMenuOpen&&(e.preventDefault(),this.moveFocusToTab(null===(l=this.hiddenTabsContainerElement)||void 0===l?void 0:l.children[0]));break;case s.Uz.ArrowLeft:m||b&&(e.stopPropagation(),this.moveFocusToAdjacentTab(h,k));break;case s.Uz.ArrowRight:m||b&&(e.stopPropagation(),this.moveFocusToAdjacentTab(h,T));break;case s.Uz.ArrowUp:if(m);else if(b&&"vertical"===this.direction)e.preventDefault(),this.changeSelectedTabIdx(0===this.selected?g:this.selected-1);else if(y){e.preventDefault();const t=this.selected===f?x:this.selected-1;this.changeSelectedTabIdx(t)}break;case s.Uz.ArrowDown:if(m);else if(b&&"vertical"===this.direction)e.preventDefault(),this.changeSelectedTabIdx(this.selected===g?0:this.selected+1);else if(y){e.preventDefault();const t=this.selected===x?f:this.selected+1;this.changeSelectedTabIdx(t)}break;case s.Uz.Enter:case s.Uz.NumpadEnter:case s.Uz.Space:if(m){const e=this.tabsFilteredAsHiddenList.filter((e=>!e.disabled)),t=e.length?e.find((e=>e.selected))||e[0]:void 0;if(this.updateHiddenIdPositiveTabIndex(t),t){const e=this.tabsIdxHash[this.getNormalizedTabId(t.id)];-1!==e&&this.updateSelectedTab(e)}}else if(v&&!v.disabled){const t=this.tabsIdxHash[this.getNormalizedTabId(v.id)];-1!==t&&(e.preventDefault(),this.updateSelectedTab(t))}}}setupTabsEvents(){this.addEventListener("tab-click",this.handleTabClick),this.addEventListener("tab-cross-click",this.handleTabCrossClick),this.addEventListener("tab-close-click",this.handleTabCloseClick),this.addEventListener("keydown",this.handleTabKeydown),this.addEventListener("clear-tab-order-prefs",this.clearTabOrderPrefs)}teardownTabsEvents(){this.removeEventListener("tab-click",this.handleTabClick),this.removeEventListener("tab-cross-click",this.handleTabCrossClick),this.removeEventListener("tab-close-click",this.handleTabCloseClick),this.removeEventListener("keydown",this.handleTabKeydown),this.removeEventListener("clear-tab-order-prefs",this.clearTabOrderPrefs)}clearTabOrderPrefs(e){const{compUniqueId:t}=e.detail;t===this.compUniqueId&&(localStorage.removeItem(this.tabsId),sessionStorage.removeItem(this.tabsId),localStorage.removeItem(this.compUniqueId),this.tabsOrderPrefsArray=this.defaultTabsOrderArray,this.selected=0,this.initializeTabs(),this.dispatchSelectedChangedEvent(0))}setupPanelsAndTabs(){this.tabSlotElement&&(this.tabs=this.tabSlotElement.assignedElements()),this.panelSlotElement&&(this.panels=this.panelSlotElement.assignedElements()),this.defaultTabsOrderArray=this.tabs.map((e=>e.name))}setupMoreTab(){return f(this,void 0,void 0,(function*(){"vertical"!==this.direction&&this.moreTabMenuElement&&!this.isMoreTabMenuMeasured&&(this.moreTabMenuElement.classList.add("md-menu-overlay__more_tab--measuring"),yield this.moreTabMenuElement.updateComplete,this.moreTabMenuElement.offsetWidth&&(this.moreTabMenuOffsetWidth=this.moreTabMenuElement.offsetWidth,this.isMoreTabMenuMeasured=!0),this.moreTabMenuElement.classList.remove("md-menu-overlay__more_tab--measuring"))}))}initializeSortable(){this.visibleTabsContainerElement&&this.hiddenTabsContainerElement&&(this.visibleTabsSortableInstance=m().create(this.visibleTabsContainerElement,this.generateOptions()),this.hiddenTabsSortableInstance=m().create(this.hiddenTabsContainerElement,this.generateOptions()))}initializeTabs(){this.tabs=[],this.panels=[],this.tabsFilteredAsVisibleList=[],this.tabsFilteredAsHiddenList=[],this.isMoreTabMenuVisible=!1,this.setupPanelsAndTabs(),this.linkPanelsAndTabs(),this.draggable&&this.initializeSortable(),this.manageOverflow(),this.requestUpdate()}connectedCallback(){var e;if(super.connectedCallback(),this.setupTabsEvents(),this.persistSelection){if(!this.tabsId||""===this.tabsId.trim())return void console.error("Unique tabs-id attribute is mandatory for persist the selection of tab");const e=localStorage.getItem(this.tabsId);this.selected=e&&parseInt(e)>-1?parseInt(e):this.selected}this.compUniqueId&&(this.tabsOrderPrefsArray=(null===(e=localStorage.getItem(this.compUniqueId))||void 0===e?void 0:e.split(","))||[])}selectTabFromStorage(){if(this.persistSelection){if(!this.tabsId||""===this.tabsId.trim())return void console.error("Unique tabs-id attribute is mandatory for persist the selection of tab");const e=sessionStorage.getItem(this.tabsId);let t=0;if(e){const i=parseInt(e);t=i>-1?i:this.selected}const i=this.currentTabsLayout;i.length&&i[t].id?(this._selectedIndex=t,this.handleNewSelectedTab(i[t].id)):this.selected=t}}disconnectedCallback(){super.disconnectedCallback(),this.teardownTabsEvents()}firstUpdated(e){super.firstUpdated(e),this.setupPanelsAndTabs(),this.linkPanelsAndTabs(),this.selectTabFromStorage()}onDirectionChanged(){return f(this,void 0,void 0,(function*(){this.tabs=[],this.panels=[],this.tabsFilteredAsVisibleList=[],this.tabsFilteredAsHiddenList=[],this.isMoreTabMenuVisible=!1,this.setupPanelsAndTabs(),yield this.linkPanelsAndTabs(),this.draggable&&this.initializeSortable(),"horizontal"===this.direction&&(yield this.manageOverflow()),this.selectTabFromStorage()}))}updated(e){var t;if(super.updated(e),e.has("direction")&&e.get("direction")!==this.direction&&this.onDirectionChanged(),e.has("slotted")&&this.initializeTabs(),!this.draggable||this.visibleTabsSortableInstance||this.hiddenTabsSortableInstance||this.initializeSortable(),e.has("tabsFilteredAsHiddenList")&&(this.tabsCopy=Array.from((null===(t=this.tabsCopyHiddenListElements)||void 0===t?void 0:t.values())||[]),this.tabsCopyHash=this.tabsCopy.reduce(((e,t)=>(e[t.id]=t,e)),{})),(e.has("tabsFilteredAsVisibleList")||e.has("tabsFilteredAsHiddenList"))&&(this.tabsVisibleIdxHash=this.tabsFilteredAsVisibleList.reduce(((e,t,i)=>(e[t.id]=i,e)),{}),this.tabsHiddenIdxHash=this.tabsFilteredAsHiddenList.reduce(((e,t,i)=>(e[t.id]=i,e)),{})),e.has("isMoreTabMenuOpen")&&this.isMoreTabMenuVisible){const t=e.get("isMoreTabMenuOpen");this.isMoreTabMenuOpen&&!t&&(this.moreItemsScrollLimit<this.tabsCopy.length?(this.isMoreTabMenuScrollable=!0,this.moreTabMenuMaxHeight=`${this.measureHiddenTabsCopiesOffsetHeight().slice(0,this.moreItemsScrollLimit).reduce(((e,t)=>e+t),0)}px`):(this.isMoreTabMenuScrollable=!1,this.moreTabMenuMaxHeight=null))}e.has("tabsId")&&this.selectTabFromStorage(),e.has("selectedIndex")&&this.updateSelectedTab(this.selectedIndex),e.has("overflowLabel")&&this.updateIsMoreTabTruncated()}get moreMenuTemplate(){return"vertical"===this.direction?l.nothing:a.html`
1218
+ `}};m([(0,l.property)({type:Boolean,attribute:"two-digit-auto-tab"})],t.prototype,"twoDigitAutoTab",void 0),m([(0,l.property)({type:Boolean,attribute:"twenty-four-hour-format",reflect:!0})],t.prototype,"twentyFourHourFormat",void 0),m([(0,l.property)({type:String})],t.prototype,"timeSpecificity",void 0),m([(0,l.property)({type:String})],t.prototype,"locale",void 0),m([(0,l.property)({type:String,reflect:!0})],t.prototype,"value",void 0),m([(0,l.internalProperty)()],t.prototype,"finalTwentyFourFormat",void 0),m([(0,l.internalProperty)()],t.prototype,"timeObject",void 0),m([(0,l.internalProperty)()],t.prototype,"tabNext",void 0),m([(0,l.internalProperty)()],t.prototype,"timeValue",void 0),m([(0,l.internalProperty)()],t.prototype,"timeValidity",void 0),t=m([(0,o.w)("md-timepicker")],t),e.ELEMENT=t}(g||(g={}))},50226:(e,t,i)=>{i.d(t,{Tabs:()=>O}),i(61200),i(11323),i(83192);var s=i(90195),o=i(3001),r=i(66677),n=i(59164),a=i(26272),l=i(41488),d=i(40333),h=i(23968),c=i(22818),p=i(8229),u=i(19239),m=i(41891),v=i.n(m),b=i(97103),y=i(30076),g=i(16643),f=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},w=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};const x="tab-more",C="more-menu-copy-",S="visibleToVisible",$="visibleToHidden",E="hiddenToVisible",k="hiddenToHidden",T="previous",I="next",A="fromMoreTabs";var O;!function(e){let t=class extends((0,o.UM)((0,o.Io)((0,o.TS)(l.LitElement)))){constructor(){super(...arguments),this.justified=!1,this.hugTabs=!1,this.overflowLabel="More Tabs",this.draggable=!1,this.direction="horizontal",this.moreItemsScrollLimit=Number.MAX_SAFE_INTEGER,this._selectedIndex=0,this.delay=0,this.animation=100,this.ghostClass="",this.chosenClass="",this.forceFallback=!1,this.fallbackClass="",this.tabsId="",this.persistSelection=!1,this.compUniqueId="",this.type="line",this.newMomentum=!1,this.variant="ghost",this.isMoreTabMenuVisible=!1,this.isMoreTabMenuMeasured=!1,this.isMoreTabMenuOpen=!1,this.isMoreTabMenuSelected=!1,this.isMoreTabMenuScrollable=!1,this.moreTabMenuOffsetWidth=0,this.moreTabMenuMaxHeight=null,this.tabsViewportDataList=[],this.tabsFilteredAsVisibleList=[],this.tabsFilteredAsHiddenList=[],this.noTabsVisible=!1,this.defaultTabsOrderArray=[],this.tabsOrderPrefsArray=[],this.isMoreTabTruncated=!1,this.tabs=[],this.panels=[],this.tabsCopy=[],this.tabsHash={},this.tabsCopyHash={},this.tabsIdxHash={},this.tabsVisibleIdxHash={},this.tabsHiddenIdxHash={},this.visibleTabsSortableInstance=null,this.hiddenTabsSortableInstance=null,this.handleOnDragEnd=e=>w(this,void 0,void 0,(function*(){var t,i,s,o,r,n,a,l,d,h;e.stopPropagation();const c=e.oldIndex,p=e.newIndex,u=[...this.tabsFilteredAsVisibleList],m=[...this.tabsFilteredAsHiddenList],v=this.getDragDirection(e);if(void 0!==c&&void 0!==p){switch(v){case $:{null===(i=null===(t=this.hiddenTabsContainerElement)||void 0===t?void 0:t.querySelector("#"+e.item.id))||void 0===i||i.remove();const s=u[c],o=m.slice(-1)[0],r=p===this.tabsFilteredAsHiddenList.length?p-1:p;m.splice(r,0,s),m.pop();const n=u.filter((t=>t.id!==this.getNormalizedTabId(e.item.id)));n.push(o),this.tabsFilteredAsVisibleList=[...n],this.tabsFilteredAsHiddenList=[...m];break}case S:{const e=u[c];u.splice(c,1),u.splice(p,0,e),this.tabsFilteredAsVisibleList=u,p===this.tabsFilteredAsVisibleList.length-1&&(null===(o=null===(s=this.visibleTabsContainerElement)||void 0===s?void 0:s.children[this.visibleTabsContainerElement.children.length-1])||void 0===o||o.remove());const t=this.visibleTabsContainerElement.children[c],i=this.visibleTabsContainerElement.children[p];if(!t||!i)return;null===(r=this.visibleTabsContainerElement)||void 0===r||r.replaceChild(i,t),null===(n=this.visibleTabsContainerElement)||void 0===n||n.insertBefore(t,i);break}case E:{null===(l=null===(a=this.visibleTabsContainerElement)||void 0===a?void 0:a.querySelector("#"+e.item.id))||void 0===l||l.remove();const t=m[c],i=u.slice(-1)[0];m.splice(c,1),m.splice(0,0,i);const s=p===this.tabsFilteredAsVisibleList.length?p-1:p;u.splice(s,0,t),u.pop(),this.tabsFilteredAsVisibleList=u,this.tabsFilteredAsHiddenList=m;break}case k:{const e=m[c];m.splice(c,1),m.splice(p,0,e),this.tabsFilteredAsHiddenList=m,p===this.tabsFilteredAsHiddenList.length-1&&(null===(h=null===(d=this.hiddenTabsContainerElement)||void 0===d?void 0:d.children[this.hiddenTabsContainerElement.children.length-1])||void 0===h||h.remove());break}}if(this.compUniqueId){const e=[...this.tabsFilteredAsVisibleList,...this.tabsFilteredAsHiddenList],t=e.findIndex((e=>e.selected));this.storeSelectedTabIndex(t),this.tabsOrderPrefsArray=e.map((e=>e.name)),localStorage.setItem(this.compUniqueId,this.tabsOrderPrefsArray.join(","))}}}))}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._selectedIndex=e}generateOptions(){return{group:"shared",animation:10,swapThreshold:1,draggable:"md-tab",direction:this.direction,forceFallback:this.forceFallback,fallbackClass:this.fallbackClass,ghostClass:this.ghostClass,chosenClass:this.chosenClass,onEnd:this.handleOnDragEnd}}get currentTabsLayout(){return"horizontal"===this.direction?[...this.tabsFilteredAsVisibleList,...this.tabsFilteredAsHiddenList]:this.tabs}getCopyTabId(e){var t;return(null===(t=e.id)||void 0===t?void 0:t.startsWith(C))?`${C}${e.id}`:e.id}getAriaControlId(e){var t,i;return(null===(t=e.id)||void 0===t?void 0:t.startsWith(C))?`${C}${e.id}`:"tab_panel_"+(null===(i=e.id)||void 0===i?void 0:i.substring(4))}getTabIndex(e){var t,i;return this.isMoreTabMenuVisible&&0===this.getCurrentIndex(null==e?void 0:e.id)&&this.selected>(null===(t=this.tabsFilteredAsVisibleList)||void 0===t?void 0:t.length)-1||(null===(i=this.tabsFilteredAsVisibleList[this.selected])||void 0===i?void 0:i.id)===e.id?0:-1}getNormalizedTabId(e){return e.replace(C,"")}static get styles(){return[a.A,y.A]}ensureTabsUpdateComplete(e){return w(this,void 0,void 0,(function*(){const t=e.map((e=>void 0!==e.updateComplete?e.updateComplete:null)).filter((e=>null!==e));t.length&&(yield Promise.all(t))}))}measureTabsOffsetWidth(){return this.justified||"vertical"===this.direction?this.tabs.map((e=>{e.setAttribute("measuringrealwidth","");const t=e.closable?e.offsetWidth+g.TAB_CROSS_WIDTH:e.offsetWidth;return e.removeAttribute("measuringrealwidth"),t})):this.tabs.map((e=>e.closable?e.offsetWidth+g.TAB_CROSS_WIDTH:e.offsetWidth))}updateIsMoreTabTruncated(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-menu-overlay__overflow-label");if(t){const e=t.scrollWidth>t.clientWidth;this.isMoreTabTruncated!=e&&(this.isMoreTabTruncated=e)}}measureHiddenTabsCopiesOffsetHeight(){return this.tabsCopy.map((e=>e.offsetHeight))}manageOverflow(){return w(this,void 0,void 0,(function*(){var e,t;if("vertical"!==this.direction){let i;i=0===this.tabsFilteredAsVisibleList.length&&0===this.tabsFilteredAsHiddenList.length?[...this.tabs]:[...this.tabsFilteredAsVisibleList,...this.tabsFilteredAsHiddenList],i.forEach((e=>{var t,i,s,o,r;if((null===(t=e.children)||void 0===t?void 0:t.length)&&0===(null===(s=null===(i=e.children[0])||void 0===i?void 0:i.children)||void 0===s?void 0:s.length)){const t=null===(o=null==e?void 0:e.querySelector("slot"))||void 0===o?void 0:o.assignedNodes({flatten:!0})[0].cloneNode(!0);t&&(t.classList.add("tab-content"),null===(r=null==e?void 0:e.children[0])||void 0===r||r.appendChild(t))}}));const s=i.length;if(this.tabsListElement&&s){const o=(null===(e=this.tabsSettingsElement)||void 0===e?void 0:e.offsetWidth)?this.tabsListElement.offsetWidth-(null===(t=this.tabsSettingsElement)||void 0===t?void 0:t.offsetWidth):this.tabsListElement.offsetWidth;yield this.ensureTabsUpdateComplete(this.tabs);const r=this.measureTabsOffsetWidth(),n=i.reduce(((e,t,i)=>e+r[i]),0);if(n){yield this.setupMoreTab();let e=!0;o<n&&(e=!1);const t=[];let a=0;i.forEach(((i,n)=>{a+=r[n];const l=!e&&a+(n<s-1?this.moreTabMenuOffsetWidth:0)>o;t.push({isTabInViewportHidden:l,tabOffsetWidth:r[n]})})),this.tabsViewportDataList=t,this.tabsViewportDataList.forEach(((e,t)=>this.tabs[t].viewportHidden=e.isTabInViewportHidden)),this.isMoreTabMenuVisible=!!this.tabsViewportDataList.find((e=>e.isTabInViewportHidden)),this.tabsFilteredAsVisibleList=i.filter(((e,t)=>!this.tabsViewportDataList[t].isTabInViewportHidden)),this.tabsVisibleIdxHash=this.tabsFilteredAsVisibleList.reduce(((e,t,i)=>(e[t.id]=i,e)),{}),this.tabsFilteredAsHiddenList=i.filter(((e,t)=>this.tabsViewportDataList[t].isTabInViewportHidden)),this.tabsHiddenIdxHash=this.tabsFilteredAsHiddenList.reduce(((e,t,i)=>(e[t.id]=i,e)),{})}}this.updateIsMoreTabMenuSelected();const o=this.tabsFilteredAsHiddenList.find((e=>!e.disabled));this.updateHiddenIdPositiveTabIndex(o)}}))}updateIsMoreTabMenuSelected(){this.isMoreTabMenuSelected=!!this.tabsFilteredAsHiddenList.find((e=>e.selected))}updateHiddenIdPositiveTabIndex(e){this.tabHiddenIdPositiveTabIndex=e?e.id:void 0}sortTabsAndPanes(){if(!this.tabsOrderPrefsArray.length)return;const e=(e,t)=>{var i,s;const o=null!==(i=e.getAttribute("name"))&&void 0!==i?i:"",r=null!==(s=t.getAttribute("name"))&&void 0!==s?s:"";return this.tabsOrderPrefsArray.indexOf(o)-this.tabsOrderPrefsArray.indexOf(r)};this.tabs.sort(e),this.panels.sort(e)}linkPanelsAndTabs(){return w(this,void 0,void 0,(function*(){this.sortTabsAndPanes();const{tabs:e,panels:t}=this;if(0===e.length||0===t.length)return void console.warn("The tabs or panels count should't be equal zero.");e.length!==t.length&&console.warn(`The amount of tabs (${e.length}) doesn't match the amount of panels (${t.length}).`);const i="vertical"===this.direction;e.forEach(((e,s)=>{const o=(0,n.O)("tabs"),r="tab_"+o,a="tab_panel_"+o;e.setAttribute("id",r),e.setAttribute("aria-controls",a),e.selected=this.selected===s,e.vertical!==i&&(e.vertical=i),e.viewportHidden&&i&&(e.viewportHidden=!1);const l=t[s];l?(l.setAttribute("id",a),l.setAttribute("aria-labelledby",r),l.selected=this.selected===s,e.disabled&&(l.hidden=!0,l.selected=!1)):e.disabled=!0}));let s=this.selected;for(;s<e.length&&e[s].disabled;)s++;s=s===e.length?0:s,e[s].selected=!0,t[s].selected=!0,this.tabsHash=this.tabs.reduce(((e,t)=>(e[t.id]=t,e)),{}),this.tabsIdxHash=this.tabs.reduce(((e,t,i)=>(e[t.id]=i,e)),{})}))}get slotItem(){return this.tabSlotElement}filterSlotted(){return this.tabSlotElement.assignedElements()}handleResize(e){var t;null===(t=super.handleResize)||void 0===t||t.call(this,e),this.manageOverflow(),this.updateIsMoreTabTruncated()}getDragDirection(e){return e.from===this.visibleTabsContainerElement&&e.to===this.hiddenTabsContainerElement?$:e.from===this.visibleTabsContainerElement&&e.to===this.visibleTabsContainerElement?S:e.from===this.hiddenTabsContainerElement&&e.to===this.visibleTabsContainerElement?E:e.from===this.hiddenTabsContainerElement&&e.to===this.hiddenTabsContainerElement?k:void 0}makeTabCopyFocus(e){e&&e.focus()}handleTabClick(e){const{id:t}=e.detail;this.handleNewSelectedTab(t)}handleNewSelectedTab(e){const t=this.tabsHash[this.getNormalizedTabId(e)];if(t&&!t.disabled){const e=this.tabsIdxHash[t.id];-1!==e&&this.updateSelectedTab(e);{const e=this.tabsCopyHash[this.getCopyTabId(t)];e&&this.makeTabCopyFocus(e),this.updateHiddenIdPositiveTabIndex(t)}}}handleTabCrossClick(e){const{id:t}=e.detail;this.handleTabCloseEvent(t)}handleTabCloseClick(e){const{id:t}=e.detail;this.handleTabCloseEvent(t)}handleTabCloseEvent(e){var t,i;const s=this.tabsHash[this.getNormalizedTabId(e)];if(s&&!s.disabled&&("auto"===s.closable||"custom"===s.closable)){const s=this.tabsFilteredAsVisibleList.findIndex((t=>this.getNormalizedTabId(t.id)===this.getNormalizedTabId(e)));this.tabsFilteredAsVisibleList=this.tabsFilteredAsVisibleList.filter((t=>this.getNormalizedTabId(t.id)!==this.getNormalizedTabId(e))),null===(i=null===(t=this.visibleTabsContainerElement)||void 0===t?void 0:t.querySelector("#"+e))||void 0===i||i.remove(),0!==this.tabsFilteredAsHiddenList.length&&(this.tabsFilteredAsVisibleList.push(this.tabsFilteredAsHiddenList[0]),this.tabsFilteredAsHiddenList.splice(0,1)),0===this.tabsFilteredAsHiddenList.length&&(this.isMoreTabMenuVisible=!1,this.isMoreTabMenuMeasured=!1),this.handleUpdatedSeletedTabAfterCross(s)}}handleUpdatedSeletedTabAfterCross(e){var t;let i=e;for(;i<this.tabsFilteredAsVisibleList.length&&(null===(t=this.tabsFilteredAsVisibleList[i])||void 0===t?void 0:t.disabled);)i++;if(void 0===this.tabsFilteredAsVisibleList[i]||e===this.tabsFilteredAsVisibleList.length)for(i=e-1;i>=0&&this.tabsFilteredAsVisibleList[i].disabled;)i--;if(-1!==i){const e=this.tabs.findIndex((e=>e.id===this.tabsFilteredAsVisibleList[i].id));this.updateSelectedTab(e)}else this.updateSelectedTab(i);this.noTabsVisible=0===this.tabsFilteredAsVisibleList.length&&0===this.tabsFilteredAsHiddenList.length,this.requestUpdate()}setSelectedAttribute(e,t,i=!1){t&&(t.selected=i),e&&(e.selected=i,i&&(this.isMoreTabMenuSelected=this.isTabInMoreMenu(e)),this.isTabInMoreMenu(e)&&(this.isMoreTabMenuSelected=!0))}isTabInMoreMenu(e){return void 0!==this.tabsFilteredAsHiddenList.find((t=>t.id===e.id))}updateSelectedTab(e){const{tabs:t,panels:i}=this,s=this.tabs.findIndex((e=>e.hasAttribute("selected")));if(t&&i&&(this.setSelectedAttribute((0,r.Qx)(t,s),(0,r.Qx)(i,s),!1),this.setSelectedAttribute((0,r.Qx)(t,e),(0,r.Qx)(i,e),!0)),e>=0){this.dispatchSelectedChangedEvent(e);const i=this.currentTabsLayout.findIndex((i=>i.id===t[e].id));this.changeSelectedTabIdx(i)}}dispatchSelectedChangedEvent(e){const t=this.currentTabsLayout,i=this.tabs[e].id,s=t.findIndex((e=>e.id===i)),o=[];t.forEach((e=>{o.push(e.name)})),this.dispatchEvent(new CustomEvent("selected-changed",{detail:{value:s,tabsOrder:o},composed:!0,bubbles:!0}))}changeSelectedTabIdx(e){this.requestUpdate(),this.selected=e,this.updateComplete.then((()=>{var t,i;if(e<this.tabsFilteredAsVisibleList.length){const e=null===(t=this.visibleTabsContainerElement)||void 0===t?void 0:t.children[this.selected];null==e||e.focus()}else{const e=this.selected-this.tabsFilteredAsVisibleList.length,t=null===(i=this.hiddenTabsContainerElement)||void 0===i?void 0:i.children[e];this.moveFocusToTab(t);const s=this.tabsFilteredAsHiddenList[e];!(null==s?void 0:s.disabled)&&this.updateHiddenIdPositiveTabIndex(s)}})),this.updateIsMoreTabMenuSelected(),this.storeSelectedTabIndex(e)}storeSelectedTabIndex(e){this.persistSelection&&this.tabsId&&e>-1&&""!==this.tabsId.trim()&&sessionStorage.setItem(this.tabsId,`${e}`)}getCurrentIndex(e){var t,i,s;const o=null!==(i=null===(t=this.visibleTabsContainerElement)||void 0===t?void 0:t.children.length)&&void 0!==i?i:0;for(let t=0;t<o;t++)if((null===(s=this.visibleTabsContainerElement)||void 0===s?void 0:s.children[t].id)===e)return t;return this.tabsVisibleIdxHash[e]}moveFocusToAdjacentTab(e,t){var i,s;const o=this.getCurrentIndex(e),r=null===(i=this.visibleTabsContainerElement)||void 0===i?void 0:i.children,n=null!==(s=null==r?void 0:r.length)&&void 0!==s?s:0;if(!r||0===n)return;let a=0;t===T?a=0===o?n-1:o-1:t===I?a=o===n-1?0:o+1:t===A&&(a=this.selected>=n?0:this.selected),this.moveFocusToTab(r[a])}moveFocusToTab(e){(0,b.setTimeout)((()=>null==e?void 0:e.focus()),0)}handleOverlayClose(){(0,b.setTimeout)((()=>{this.menuOverlayElement&&(this.menuOverlayElement.isOpen=!1)}),0)}dispatchKeydownEvent(e,t){t&&this.dispatchEvent(new CustomEvent("tab-keydown",{detail:{id:t,key:e.code,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,srcEvent:e},bubbles:!0,composed:!0}))}handleTabKeydown(e){var t,i,o,r,n,a,l;const d=e.target;if(e.target!=this&&!this.tabs.find((e=>e.id===(null==d?void 0:d.id))))return!1;let h;if((null===(t=e.composedPath())||void 0===t?void 0:t.length)>0?h=e.composedPath()[0].id:e.originalTarget&&(h=e.originalTarget.id),!h)return;const c=this.getNormalizedTabId(h);this.dispatchKeydownEvent(e,c);const p=e.code,{shiftKey:u}=e,m=!!this.isMoreTabMenuVisible&&c===x,v=m&&this.isMoreTabMenuVisible?this.moreTabMenuElement:this.tabsHash[this.getNormalizedTabId(c)],b=!this.isMoreTabMenuVisible||v&&this.tabsVisibleIdxHash[v.id]>-1,y=!!this.isMoreTabMenuVisible&&v&&this.tabsHiddenIdxHash[v.id]>-1,g=this.isMoreTabMenuVisible?this.tabsFilteredAsVisibleList.length-1:this.tabs.length-1,f=this.isMoreTabMenuVisible?this.tabsFilteredAsVisibleList.length:-1,w=this.isMoreTabMenuVisible?this.tabsFilteredAsVisibleList.length+this.tabsFilteredAsHiddenList.length-1:-1;switch(p){case s.Uz.Tab:m&&!this.isMoreTabMenuOpen&&u&&(e.preventDefault(),this.moveFocusToAdjacentTab(h,A));break;case s.Uz.End:m||(b?(e.preventDefault(),this.moveFocusToTab(null===(i=this.visibleTabsContainerElement)||void 0===i?void 0:i.children[(null===(o=this.tabsFilteredAsVisibleList)||void 0===o?void 0:o.length)-1])):this.isMoreTabMenuOpen&&(e.preventDefault(),this.moveFocusToTab(null===(r=this.hiddenTabsContainerElement)||void 0===r?void 0:r.children[(null===(n=this.tabsFilteredAsHiddenList)||void 0===n?void 0:n.length)-1])));break;case s.Uz.Home:b?(e.preventDefault(),this.moveFocusToTab(null===(a=this.visibleTabsContainerElement)||void 0===a?void 0:a.children[0])):this.isMoreTabMenuOpen&&(e.preventDefault(),this.moveFocusToTab(null===(l=this.hiddenTabsContainerElement)||void 0===l?void 0:l.children[0]));break;case s.Uz.ArrowLeft:m||b&&(e.stopPropagation(),this.moveFocusToAdjacentTab(h,T));break;case s.Uz.ArrowRight:m||b&&(e.stopPropagation(),this.moveFocusToAdjacentTab(h,I));break;case s.Uz.ArrowUp:if(m);else if(b&&"vertical"===this.direction)e.preventDefault(),this.changeSelectedTabIdx(0===this.selected?g:this.selected-1);else if(y){e.preventDefault();const t=this.selected===f?w:this.selected-1;this.changeSelectedTabIdx(t)}break;case s.Uz.ArrowDown:if(m);else if(b&&"vertical"===this.direction)e.preventDefault(),this.changeSelectedTabIdx(this.selected===g?0:this.selected+1);else if(y){e.preventDefault();const t=this.selected===w?f:this.selected+1;this.changeSelectedTabIdx(t)}break;case s.Uz.Enter:case s.Uz.NumpadEnter:case s.Uz.Space:if(m){const e=this.tabsFilteredAsHiddenList.filter((e=>!e.disabled)),t=e.length?e.find((e=>e.selected))||e[0]:void 0;if(this.updateHiddenIdPositiveTabIndex(t),t){const e=this.tabsIdxHash[this.getNormalizedTabId(t.id)];-1!==e&&this.updateSelectedTab(e)}}else if(v&&!v.disabled){const t=this.tabsIdxHash[this.getNormalizedTabId(v.id)];-1!==t&&(e.preventDefault(),this.updateSelectedTab(t))}}}setupTabsEvents(){this.addEventListener("tab-click",this.handleTabClick),this.addEventListener("tab-cross-click",this.handleTabCrossClick),this.addEventListener("tab-close-click",this.handleTabCloseClick),this.addEventListener("keydown",this.handleTabKeydown),this.addEventListener("clear-tab-order-prefs",this.clearTabOrderPrefs)}teardownTabsEvents(){this.removeEventListener("tab-click",this.handleTabClick),this.removeEventListener("tab-cross-click",this.handleTabCrossClick),this.removeEventListener("tab-close-click",this.handleTabCloseClick),this.removeEventListener("keydown",this.handleTabKeydown),this.removeEventListener("clear-tab-order-prefs",this.clearTabOrderPrefs)}clearTabOrderPrefs(e){const{compUniqueId:t}=e.detail;t===this.compUniqueId&&(localStorage.removeItem(this.tabsId),sessionStorage.removeItem(this.tabsId),localStorage.removeItem(this.compUniqueId),this.tabsOrderPrefsArray=this.defaultTabsOrderArray,this.selected=0,this.initializeTabs(),this.dispatchSelectedChangedEvent(0))}setupPanelsAndTabs(){this.tabSlotElement&&(this.tabs=this.tabSlotElement.assignedElements()),this.panelSlotElement&&(this.panels=this.panelSlotElement.assignedElements()),this.defaultTabsOrderArray=this.tabs.map((e=>e.name))}setupMoreTab(){return w(this,void 0,void 0,(function*(){"vertical"!==this.direction&&this.moreTabMenuElement&&!this.isMoreTabMenuMeasured&&(this.moreTabMenuElement.classList.add("md-menu-overlay__more_tab--measuring"),yield this.moreTabMenuElement.updateComplete,this.moreTabMenuElement.offsetWidth&&(this.moreTabMenuOffsetWidth=this.moreTabMenuElement.offsetWidth,this.isMoreTabMenuMeasured=!0),this.moreTabMenuElement.classList.remove("md-menu-overlay__more_tab--measuring"))}))}initializeSortable(){this.visibleTabsContainerElement&&this.hiddenTabsContainerElement&&(this.visibleTabsSortableInstance=v().create(this.visibleTabsContainerElement,this.generateOptions()),this.hiddenTabsSortableInstance=v().create(this.hiddenTabsContainerElement,this.generateOptions()))}initializeTabs(){this.tabs=[],this.panels=[],this.tabsFilteredAsVisibleList=[],this.tabsFilteredAsHiddenList=[],this.isMoreTabMenuVisible=!1,this.setupPanelsAndTabs(),this.linkPanelsAndTabs(),this.draggable&&this.initializeSortable(),this.manageOverflow(),this.requestUpdate()}connectedCallback(){var e;if(super.connectedCallback(),this.setupTabsEvents(),this.persistSelection){if(!this.tabsId||""===this.tabsId.trim())return void console.error("Unique tabs-id attribute is mandatory for persist the selection of tab");const e=localStorage.getItem(this.tabsId);this.selected=e&&parseInt(e)>-1?parseInt(e):this.selected}this.compUniqueId&&(this.tabsOrderPrefsArray=(null===(e=localStorage.getItem(this.compUniqueId))||void 0===e?void 0:e.split(","))||[])}selectTabFromStorage(){if(this.persistSelection){if(!this.tabsId||""===this.tabsId.trim())return void console.error("Unique tabs-id attribute is mandatory for persist the selection of tab");const e=sessionStorage.getItem(this.tabsId);let t=0;if(e){const i=parseInt(e);t=i>-1?i:this.selected}const i=this.currentTabsLayout;i.length&&i[t].id?(this._selectedIndex=t,this.handleNewSelectedTab(i[t].id)):this.selected=t}}disconnectedCallback(){super.disconnectedCallback(),this.teardownTabsEvents()}firstUpdated(e){super.firstUpdated(e),this.setupPanelsAndTabs(),this.linkPanelsAndTabs(),this.selectTabFromStorage()}onDirectionChanged(){return w(this,void 0,void 0,(function*(){this.tabs=[],this.panels=[],this.tabsFilteredAsVisibleList=[],this.tabsFilteredAsHiddenList=[],this.isMoreTabMenuVisible=!1,this.setupPanelsAndTabs(),yield this.linkPanelsAndTabs(),this.draggable&&this.initializeSortable(),"horizontal"===this.direction&&(yield this.manageOverflow()),this.selectTabFromStorage()}))}updated(e){var t;if(super.updated(e),e.has("direction")&&e.get("direction")!==this.direction&&this.onDirectionChanged(),e.has("slotted")&&this.initializeTabs(),!this.draggable||this.visibleTabsSortableInstance||this.hiddenTabsSortableInstance||this.initializeSortable(),e.has("tabsFilteredAsHiddenList")&&(this.tabsCopy=Array.from((null===(t=this.tabsCopyHiddenListElements)||void 0===t?void 0:t.values())||[]),this.tabsCopyHash=this.tabsCopy.reduce(((e,t)=>(e[t.id]=t,e)),{})),(e.has("tabsFilteredAsVisibleList")||e.has("tabsFilteredAsHiddenList"))&&(this.tabsVisibleIdxHash=this.tabsFilteredAsVisibleList.reduce(((e,t,i)=>(e[t.id]=i,e)),{}),this.tabsHiddenIdxHash=this.tabsFilteredAsHiddenList.reduce(((e,t,i)=>(e[t.id]=i,e)),{})),e.has("isMoreTabMenuOpen")&&this.isMoreTabMenuVisible){const t=e.get("isMoreTabMenuOpen");this.isMoreTabMenuOpen&&!t&&(this.moreItemsScrollLimit<this.tabsCopy.length?(this.isMoreTabMenuScrollable=!0,this.moreTabMenuMaxHeight=`${this.measureHiddenTabsCopiesOffsetHeight().slice(0,this.moreItemsScrollLimit).reduce(((e,t)=>e+t),0)}px`):(this.isMoreTabMenuScrollable=!1,this.moreTabMenuMaxHeight=null))}e.has("tabsId")&&this.selectTabFromStorage(),e.has("selectedIndex")&&this.updateSelectedTab(this.selectedIndex),e.has("overflowLabel")&&this.updateIsMoreTabTruncated()}get moreMenuButtonTemplate(){return l.html`
1219
+ <md-tab
1220
+ slot="menu-trigger"
1221
+ id="${x}"
1222
+ aria-label="${this.overflowLabel}"
1223
+ aria-haspopup="true"
1224
+ role="button"
1225
+ tabindex="${this.isMoreTabMenuVisible?0:-1}"
1226
+ ?selected=${!!this.isMoreTabMenuVisible&&this.isMoreTabMenuSelected}
1227
+ class="md-menu-overlay__more_tab ${(0,h.classMap)({"md-menu-overlay__more_tab--hidden":!this.isMoreTabMenuVisible})}"
1228
+ ?newMomentum=${this.newMomentum}
1229
+ type=${this.type}
1230
+ >
1231
+ <md-tooltip placement="top" message=${this.overflowLabel} ?disabled=${!this.isMoreTabTruncated}>
1232
+ <span class="md-menu-overlay__overflow-label">${this.overflowLabel}</span>
1233
+ </md-tooltip>
1234
+ <md-icon
1235
+ name="${this.isMoreTabMenuOpen?"arrow-up-bold":"arrow-down-bold"}"
1236
+ iconSet="momentumDesign"
1237
+ size="16"
1238
+ class="more-icon"
1239
+ ></md-icon>
1240
+ </md-tab>
1241
+ `}get moreMenuListTemplate(){return l.html`
1242
+ ${(0,c.repeat)(this.tabsFilteredAsHiddenList,(()=>(0,n.O)("menuitem_tabs")),(e=>l.html`
1243
+ <md-tab
1244
+ slot="draggable-item"
1245
+ ?disabled=${e.disabled}
1246
+ ?selected=${e.selected}
1247
+ name="${e.name}"
1248
+ id="${this.getCopyTabId(e)}"
1249
+ aria-label=${e.ariaLabel}
1250
+ aria-controls="${this.getAriaControlId(e)}"
1251
+ @click="${()=>this.handleOverlayClose()}"
1252
+ tabIndex="${this.tabHiddenIdPositiveTabIndex===e.id?0:-1}"
1253
+ role="menuitem"
1254
+ ?newMomentum=${this.newMomentum}
1255
+ type=${e.type}
1256
+ ?onlyIcon=${e.onlyIcon}
1257
+ >
1258
+ ${(0,u.unsafeHTML)(e.innerHTML)}
1259
+ </md-tab>
1260
+ `))}
1261
+ `}get moreMenuTemplate(){return"vertical"===this.direction?d.nothing:l.html`
1225
1262
  <md-menu-overlay
1226
1263
  custom-width="${"226px"}"
1227
1264
  max-height="${"288px"}"
1228
- class="md-menu-overlay__more ${(0,d.classMap)({"md-menu-overlay__more--hidden":this.isMoreTabMenuMeasured&&!this.isMoreTabMenuVisible})}"
1265
+ class="md-menu-overlay__more ${(0,h.classMap)({"md-menu-overlay__more--hidden":this.isMoreTabMenuMeasured&&!this.isMoreTabMenuVisible})}"
1229
1266
  placement="bottom-end"
1230
1267
  @menu-overlay-open="${()=>this.isMoreTabMenuOpen=!0}"
1231
1268
  @menu-overlay-close="${()=>this.isMoreTabMenuOpen=!1}"
1232
1269
  >
1233
- <md-tab
1234
- slot="menu-trigger"
1235
- id="${w}"
1236
- aria-label="${this.overflowLabel}"
1237
- aria-haspopup="true"
1238
- tabindex="${this.isMoreTabMenuVisible?0:-1}"
1239
- .selected=${!!this.isMoreTabMenuVisible&&this.isMoreTabMenuSelected}
1240
- class="md-menu-overlay__more_tab ${(0,d.classMap)({"md-menu-overlay__more_tab--hidden":!this.isMoreTabMenuVisible})}"
1241
- ariaRole="button"
1242
- .newMomentum=${this.newMomentum}
1243
- type=${this.type}
1244
- >
1245
- <md-tooltip placement="top" message=${this.overflowLabel} ?disabled=${!this.isMoreTabTruncated}>
1246
- <span class="md-menu-overlay__overflow-label">${this.overflowLabel}</span>
1247
- </md-tooltip>
1248
- <md-icon
1249
- name="${this.isMoreTabMenuOpen?"arrow-up-bold":"arrow-down-bold"}"
1250
- iconSet="momentumDesign"
1251
- size="16"
1252
- class="more-icon"
1253
- ></md-icon>
1254
- </md-tab>
1270
+ ${this.moreMenuButtonTemplate}
1255
1271
  <div
1256
1272
  id="tabs-more-list"
1257
1273
  part="tabs-more-list"
1258
1274
  class="md-tab__list md-menu-overlay__more_list"
1259
- style="${(0,c.styleMap)(this.isMoreTabMenuScrollable&&this.moreTabMenuMaxHeight?{"overflow-y":"auto",height:this.moreTabMenuMaxHeight,"max-height":this.moreTabMenuMaxHeight}:{})}"
1275
+ style="${(0,p.styleMap)(this.isMoreTabMenuScrollable&&this.moreTabMenuMaxHeight?{"overflow-y":"auto",height:this.moreTabMenuMaxHeight,"max-height":this.moreTabMenuMaxHeight}:{})}"
1260
1276
  >
1261
- ${(0,h.repeat)(this.tabsFilteredAsHiddenList,(()=>(0,r.O)("tabs")),(e=>a.html`
1262
- <md-tab
1263
- slot="draggable-item"
1264
- .disabled="${e.disabled}"
1265
- .selected="${e.selected}"
1266
- name="${e.name}"
1267
- id="${this.getCopyTabId(e)}"
1268
- aria-label=${e.ariaLabel}
1269
- aria-controls="${this.getAriaControlId(e)}"
1270
- @click="${()=>this.handleOverlayClose()}"
1271
- tabIndex="${this.tabHiddenIdPositiveTabIndex===e.id?0:-1}"
1272
- ariaRole="menuitem"
1273
- .newMomentum=${this.newMomentum}
1274
- type=${this.type}
1275
- .onlyIcon="${e.onlyIcon}"
1276
- >
1277
- ${(0,p.unsafeHTML)(e.innerHTML)}
1278
- </md-tab>
1279
- `))}
1277
+ ${this.moreMenuListTemplate}
1280
1278
  </div>
1281
1279
  </md-menu-overlay>
1282
- `}render(){return a.html`
1280
+ `}get renderTabSlot(){return l.html`<slot
1281
+ name="tab"
1282
+ class="${(0,h.classMap)({"visible-tabs-slot":"horizontal"===this.direction})}"
1283
+ ></slot> `}get renderTabsWithMoreMenu(){return l.html`
1284
+ <div
1285
+ id="visible-tabs-list"
1286
+ class="visible-tabs-container ${(0,h.classMap)({"md-tab__justified":this.justified&&!this.isMoreTabMenuVisible,"md-tab__hug":this.hugTabs,"visible-new-tabs":this.newMomentum})}"
1287
+ >
1288
+ ${(0,c.repeat)(this.tabsFilteredAsVisibleList,(()=>(0,n.O)("tabs")),(e=>l.html`
1289
+ <md-tab
1290
+ .closable="${e.closable}"
1291
+ .disabled="${e.disabled}"
1292
+ .selected="${e.selected}"
1293
+ name="${e.name}"
1294
+ id="${this.getCopyTabId(e)}"
1295
+ aria-label=${e.ariaLabel}
1296
+ aria-controls="${this.getAriaControlId(e)}"
1297
+ .isCrossVisible=${!0}
1298
+ tabIndex="${this.getTabIndex(e)}"
1299
+ .newMomentum=${this.newMomentum}
1300
+ variant=${this.variant}
1301
+ type=${this.type}
1302
+ .onlyIcon="${e.onlyIcon}"
1303
+ >
1304
+ ${(0,u.unsafeHTML)(e.innerHTML)}
1305
+ </md-tab>
1306
+ `))}
1307
+ </div>
1308
+ ${this.moreMenuTemplate}
1309
+ `}render(){return l.html`
1283
1310
  <div
1284
1311
  part="tabs-list"
1285
- class="md-tab__list ${(0,d.classMap)({"md-tab__justified":this.justified&&!this.isMoreTabMenuVisible,"md-tab__hug":this.hugTabs,"no-tabs-visible":this.noTabsVisible,"vertical-tab-list":"vertical"===this.direction,"tab-new-momentum":this.newMomentum})}"
1312
+ class="md-tab__list ${(0,h.classMap)({"md-tab__justified":this.justified&&!this.isMoreTabMenuVisible,"md-tab__hug":this.hugTabs,"no-tabs-visible":this.noTabsVisible,"vertical-tab-list":"vertical"===this.direction,"tab-new-momentum":this.newMomentum})}"
1286
1313
  role="tablist"
1287
1314
  >
1288
- <slot
1289
- name="tab"
1290
- class="${(0,d.classMap)({"visible-tabs-slot":"horizontal"===this.direction})}"
1291
- ></slot>
1292
- <div
1293
- id="visible-tabs-list"
1294
- class="visible-tabs-container ${(0,d.classMap)({"md-tab__justified":this.justified&&!this.isMoreTabMenuVisible,"md-tab__hug":this.hugTabs,"visible-new-tabs":this.newMomentum})}"
1295
- >
1296
- ${(0,h.repeat)(this.tabsFilteredAsVisibleList,(()=>(0,r.O)("tabs")),(e=>a.html`
1297
- <md-tab
1298
- .closable="${e.closable}"
1299
- .disabled="${e.disabled}"
1300
- .selected="${e.selected}"
1301
- name="${e.name}"
1302
- id="${this.getCopyTabId(e)}"
1303
- aria-label=${e.ariaLabel}
1304
- aria-controls="${this.getAriaControlId(e)}"
1305
- .isCrossVisible=${!0}
1306
- tabIndex="${this.getTabIndex(e)}"
1307
- .newMomentum=${this.newMomentum}
1308
- variant=${this.variant}
1309
- type=${this.type}
1310
- .onlyIcon="${e.onlyIcon}"
1311
- >
1312
- ${(0,p.unsafeHTML)(e.innerHTML)}
1313
- </md-tab>
1314
- `))}
1315
- </div>
1316
- ${this.moreMenuTemplate}
1315
+ ${this.renderTabSlot} ${"horizontal"===this.direction?this.renderTabsWithMoreMenu:d.nothing}
1317
1316
  <div class="md-tabs__settings" part="md-tabs__settings">
1318
1317
  <slot name="settings"></slot>
1319
1318
  </div>
1320
1319
  </div>
1321
1320
  <div
1322
1321
  part="tabs-content"
1323
- class="md-tab__content ${(0,d.classMap)({"no-tabs-visible":this.noTabsVisible})}"
1322
+ class="md-tab__content ${(0,h.classMap)({"no-tabs-visible":this.noTabsVisible})}"
1324
1323
  >
1325
1324
  <slot name="panel"></slot>
1326
1325
  </div>
1327
- `}};g([(0,a.property)({type:Boolean})],t.prototype,"justified",void 0),g([(0,a.property)({type:Boolean,attribute:"hug-tabs"})],t.prototype,"hugTabs",void 0),g([(0,a.property)({type:String})],t.prototype,"overflowLabel",void 0),g([(0,a.property)({type:Boolean,attribute:"draggable"})],t.prototype,"draggable",void 0),g([(0,a.property)({type:String})],t.prototype,"direction",void 0),g([(0,a.property)({type:Number,attribute:"more-items-scroll-limit"})],t.prototype,"moreItemsScrollLimit",void 0),g([(0,a.property)({type:Number,reflect:!0,attribute:"selected-index"})],t.prototype,"selectedIndex",null),g([(0,a.property)({type:Number})],t.prototype,"delay",void 0),g([(0,a.property)({type:Number})],t.prototype,"animation",void 0),g([(0,a.property)({type:String,attribute:"ghost-class"})],t.prototype,"ghostClass",void 0),g([(0,a.property)({type:String,attribute:"chosen-class"})],t.prototype,"chosenClass",void 0),g([(0,a.property)({type:Boolean,attribute:"force-fallback"})],t.prototype,"forceFallback",void 0),g([(0,a.property)({type:String,attribute:"fallback-class"})],t.prototype,"fallbackClass",void 0),g([(0,a.property)({type:String,attribute:"tabs-id"})],t.prototype,"tabsId",void 0),g([(0,a.property)({type:Boolean,attribute:"persist-selection"})],t.prototype,"persistSelection",void 0),g([(0,a.property)({type:String,attribute:"comp-unique-id"})],t.prototype,"compUniqueId",void 0),g([(0,a.property)({type:String})],t.prototype,"type",void 0),g([(0,a.property)({type:Boolean})],t.prototype,"newMomentum",void 0),g([(0,a.property)({type:String})],t.prototype,"variant",void 0),g([(0,a.internalProperty)()],t.prototype,"isMoreTabMenuVisible",void 0),g([(0,a.internalProperty)()],t.prototype,"isMoreTabMenuMeasured",void 0),g([(0,a.internalProperty)()],t.prototype,"isMoreTabMenuOpen",void 0),g([(0,a.internalProperty)()],t.prototype,"isMoreTabMenuSelected",void 0),g([(0,a.internalProperty)()],t.prototype,"isMoreTabMenuScrollable",void 0),g([(0,a.internalProperty)()],t.prototype,"moreTabMenuOffsetWidth",void 0),g([(0,a.internalProperty)()],t.prototype,"moreTabMenuMaxHeight",void 0),g([(0,a.internalProperty)()],t.prototype,"tabsViewportDataList",void 0),g([(0,a.internalProperty)()],t.prototype,"tabsFilteredAsVisibleList",void 0),g([(0,a.internalProperty)()],t.prototype,"tabsFilteredAsHiddenList",void 0),g([(0,a.internalProperty)()],t.prototype,"noTabsVisible",void 0),g([(0,a.internalProperty)()],t.prototype,"defaultTabsOrderArray",void 0),g([(0,a.internalProperty)()],t.prototype,"tabsOrderPrefsArray",void 0),g([(0,a.internalProperty)()],t.prototype,"isMoreTabTruncated",void 0),g([(0,a.query)("slot[name='tab']")],t.prototype,"tabSlotElement",void 0),g([(0,a.query)("slot[name='panel']")],t.prototype,"panelSlotElement",void 0),g([(0,a.query)(".md-tab__list[part='tabs-list']")],t.prototype,"tabsListElement",void 0),g([(0,a.query)(".md-tabs__settings[part='md-tabs__settings']")],t.prototype,"tabsSettingsElement",void 0),g([(0,a.query)(".md-menu-overlay__more_tab")],t.prototype,"moreTabMenuElement",void 0),g([(0,a.query)("md-menu-overlay")],t.prototype,"menuOverlayElement",void 0),g([(0,a.query)(".md-tab__list[part='tabs-more-list']")],t.prototype,"tabsMoreListElement",void 0),g([(0,a.queryAll)(".md-menu-overlay__more_list md-tab")],t.prototype,"tabsCopyHiddenListElements",void 0),g([(0,a.query)("#visible-tabs-list")],t.prototype,"visibleTabsContainerElement",void 0),g([(0,a.query)("#tabs-more-list")],t.prototype,"hiddenTabsContainerElement",void 0),t=g([(0,o.wW)("md-tabs")],t),e.ELEMENT=t}(A||(A={}))},50565:(e,t,i)=>{i.d(t,{EditableTextfield:()=>s});var s,o=i(74548),r=i(26272),n=i(31347),a=i.n(n),l=i(31890),d=i(41488),h=i(40333),c=i(23968),p=i(97822),u=i(96408),m=i(18728),v=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends d.LitElement{constructor(){super(...arguments),this.alignment="left",this.disabled=!1,this.isEditing=!1,this.maxLines="",this.content="Click to edit text",this.message={type:"error",message:"That is not a valid input."},this.alert=!1,this.hideMessage=!1,this.pattern="",this.type=null,this.ariaLabel="editable field",this.ariaDescribedBy="",this.messageController=new u.Input.MessageController,this.reportValidity=()=>{this.dispatchEvent(new Event("invalid",{bubbles:!1,cancelable:!0,composed:!0}))},this.checkValidity=e=>{let t=!0;const i=i=>{null===e.match(i)&&(t=!1)};if(this.pattern)i(new RegExp(this.pattern));else if(e&&this.type)switch(this.type){case"integer":i(new RegExp(o.b.integerString));break;case"decimal":i(new RegExp(o.b.decimalString))}return t},this.handleFocus=()=>{this.disabled||(this.isEditing=!0,this.setRange())},this.handleKeydown=e=>{var t;const{key:i,code:s}=e;if(["Tab","Meta","Shift","Delete","Backspace","Arrow"].some((e=>s.includes(e))))return;("integer"===this.type&&i.includes(".")||("integer"===this.type||"decimal"===this.type)&&s.match("Space"))&&e.preventDefault();const o=(null===(t=this.editableField)||void 0===t?void 0:t.innerText.trim())+i;if(this.type)if(isNaN(Number(o)))e.preventDefault();else{if("integer"!==this.type||Number.isInteger(Number(o)))return;e.preventDefault()}},this.handleBlur=()=>{var e;this.isEditing=!1,this.maxLines.length>0&&this.editableField&&this.editableField.scrollTo(0,0),this.content=(null===(e=this.editableField)||void 0===e?void 0:e.innerText.trim())||"",this.alert=!1,this.handleValidation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.handleFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.handleFocus)}firstUpdated(e){super.firstUpdated(e),this.innerText&&this.innerText.length>0?this.content=this.innerText.trim():this.innerText=a().sanitize(this.content)}updated(e){super.updated(e),e.has("content")&&this.editableField&&(this.editableField.innerText=a().sanitize(this.content))}setRange(){var e;if(this.editableField){const t=document.createRange(),i=window.getSelection(),s=null===(e=this.editableField.childNodes[0].nodeValue)||void 0===e?void 0:e.length;if(t.setStart(this.editableField.childNodes[0],s||0),t.collapse(!0),!i||0!==i.toString().length)return;i.removeAllRanges(),i.addRange(t),this.maxLines.length>0&&(this.editableField.scrollTop=this.editableField.scrollHeight)}}handleValidation(){(this.type||this.pattern)&&(this.checkValidity&&this.checkValidity(this.content)||(this.reportValidity(),this.showAlert()))}showAlert(){this.alert=!0}static get styles(){return[r.A,m.A]}get overflowStyles(){return this.maxLines.length&&this.maxLines.length>0&&`max-height: ${2*parseInt(this.maxLines)}rem; -webkit-line-clamp: ${this.maxLines}; word-break: break-all;`}messagesTemplate(){var e,t,i;return this.alert?d.html`
1326
+ `}};f([(0,l.property)({type:Boolean})],t.prototype,"justified",void 0),f([(0,l.property)({type:Boolean,attribute:"hug-tabs"})],t.prototype,"hugTabs",void 0),f([(0,l.property)({type:String})],t.prototype,"overflowLabel",void 0),f([(0,l.property)({type:Boolean,attribute:"draggable"})],t.prototype,"draggable",void 0),f([(0,l.property)({type:String})],t.prototype,"direction",void 0),f([(0,l.property)({type:Number,attribute:"more-items-scroll-limit"})],t.prototype,"moreItemsScrollLimit",void 0),f([(0,l.property)({type:Number,reflect:!0,attribute:"selected-index"})],t.prototype,"selectedIndex",null),f([(0,l.property)({type:Number})],t.prototype,"delay",void 0),f([(0,l.property)({type:Number})],t.prototype,"animation",void 0),f([(0,l.property)({type:String,attribute:"ghost-class"})],t.prototype,"ghostClass",void 0),f([(0,l.property)({type:String,attribute:"chosen-class"})],t.prototype,"chosenClass",void 0),f([(0,l.property)({type:Boolean,attribute:"force-fallback"})],t.prototype,"forceFallback",void 0),f([(0,l.property)({type:String,attribute:"fallback-class"})],t.prototype,"fallbackClass",void 0),f([(0,l.property)({type:String,attribute:"tabs-id"})],t.prototype,"tabsId",void 0),f([(0,l.property)({type:Boolean,attribute:"persist-selection"})],t.prototype,"persistSelection",void 0),f([(0,l.property)({type:String,attribute:"comp-unique-id"})],t.prototype,"compUniqueId",void 0),f([(0,l.property)({type:String})],t.prototype,"type",void 0),f([(0,l.property)({type:Boolean})],t.prototype,"newMomentum",void 0),f([(0,l.property)({type:String})],t.prototype,"variant",void 0),f([(0,l.internalProperty)()],t.prototype,"isMoreTabMenuVisible",void 0),f([(0,l.internalProperty)()],t.prototype,"isMoreTabMenuMeasured",void 0),f([(0,l.internalProperty)()],t.prototype,"isMoreTabMenuOpen",void 0),f([(0,l.internalProperty)()],t.prototype,"isMoreTabMenuSelected",void 0),f([(0,l.internalProperty)()],t.prototype,"isMoreTabMenuScrollable",void 0),f([(0,l.internalProperty)()],t.prototype,"moreTabMenuOffsetWidth",void 0),f([(0,l.internalProperty)()],t.prototype,"moreTabMenuMaxHeight",void 0),f([(0,l.internalProperty)()],t.prototype,"tabsViewportDataList",void 0),f([(0,l.internalProperty)()],t.prototype,"tabsFilteredAsVisibleList",void 0),f([(0,l.internalProperty)()],t.prototype,"tabsFilteredAsHiddenList",void 0),f([(0,l.internalProperty)()],t.prototype,"noTabsVisible",void 0),f([(0,l.internalProperty)()],t.prototype,"defaultTabsOrderArray",void 0),f([(0,l.internalProperty)()],t.prototype,"tabsOrderPrefsArray",void 0),f([(0,l.internalProperty)()],t.prototype,"isMoreTabTruncated",void 0),f([(0,l.query)("slot[name='tab']")],t.prototype,"tabSlotElement",void 0),f([(0,l.query)("slot[name='panel']")],t.prototype,"panelSlotElement",void 0),f([(0,l.query)(".md-tab__list[part='tabs-list']")],t.prototype,"tabsListElement",void 0),f([(0,l.query)(".md-tabs__settings[part='md-tabs__settings']")],t.prototype,"tabsSettingsElement",void 0),f([(0,l.query)(".md-menu-overlay__more_tab")],t.prototype,"moreTabMenuElement",void 0),f([(0,l.query)("md-menu-overlay")],t.prototype,"menuOverlayElement",void 0),f([(0,l.query)(".md-tab__list[part='tabs-more-list']")],t.prototype,"tabsMoreListElement",void 0),f([(0,l.queryAll)(".md-menu-overlay__more_list md-tab")],t.prototype,"tabsCopyHiddenListElements",void 0),f([(0,l.query)("#visible-tabs-list")],t.prototype,"visibleTabsContainerElement",void 0),f([(0,l.query)("#tabs-more-list")],t.prototype,"hiddenTabsContainerElement",void 0),t=f([(0,o.wW)("md-tabs")],t),e.ELEMENT=t}(O||(O={}))},50565:(e,t,i)=>{i.d(t,{EditableTextfield:()=>s});var s,o=i(74548),r=i(26272),n=i(31347),a=i.n(n),l=i(31890),d=i(41488),h=i(40333),c=i(23968),p=i(97822),u=i(96408),m=i(18728),v=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends d.LitElement{constructor(){super(...arguments),this.alignment="left",this.disabled=!1,this.isEditing=!1,this.maxLines="",this.content="Click to edit text",this.message={type:"error",message:"That is not a valid input."},this.alert=!1,this.hideMessage=!1,this.pattern="",this.type=null,this.ariaLabel="editable field",this.ariaDescribedBy="",this.messageController=new u.Input.MessageController,this.reportValidity=()=>{this.dispatchEvent(new Event("invalid",{bubbles:!1,cancelable:!0,composed:!0}))},this.checkValidity=e=>{let t=!0;const i=i=>{null===e.match(i)&&(t=!1)};if(this.pattern)i(new RegExp(this.pattern));else if(e&&this.type)switch(this.type){case"integer":i(new RegExp(o.b.integerString));break;case"decimal":i(new RegExp(o.b.decimalString))}return t},this.handleFocus=()=>{this.disabled||(this.isEditing=!0,this.setRange())},this.handleKeydown=e=>{var t;const{key:i,code:s}=e;if(["Tab","Meta","Shift","Delete","Backspace","Arrow"].some((e=>s.includes(e))))return;("integer"===this.type&&i.includes(".")||("integer"===this.type||"decimal"===this.type)&&s.match("Space"))&&e.preventDefault();const o=(null===(t=this.editableField)||void 0===t?void 0:t.innerText.trim())+i;if(this.type)if(isNaN(Number(o)))e.preventDefault();else{if("integer"!==this.type||Number.isInteger(Number(o)))return;e.preventDefault()}},this.handleBlur=()=>{var e;this.isEditing=!1,this.maxLines.length>0&&this.editableField&&this.editableField.scrollTo(0,0),this.content=(null===(e=this.editableField)||void 0===e?void 0:e.innerText.trim())||"",this.alert=!1,this.handleValidation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.handleFocus)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.handleFocus)}firstUpdated(e){super.firstUpdated(e),this.innerText&&this.innerText.length>0?this.content=this.innerText.trim():this.innerText=a().sanitize(this.content)}updated(e){super.updated(e),e.has("content")&&this.editableField&&(this.editableField.innerText=a().sanitize(this.content))}setRange(){var e;if(this.editableField){const t=document.createRange(),i=window.getSelection(),s=null===(e=this.editableField.childNodes[0].nodeValue)||void 0===e?void 0:e.length;if(t.setStart(this.editableField.childNodes[0],s||0),t.collapse(!0),!i||0!==i.toString().length)return;i.removeAllRanges(),i.addRange(t),this.maxLines.length>0&&(this.editableField.scrollTop=this.editableField.scrollHeight)}}handleValidation(){(this.type||this.pattern)&&(this.checkValidity&&this.checkValidity(this.content)||(this.reportValidity(),this.showAlert()))}showAlert(){this.alert=!0}static get styles(){return[r.A,m.A]}get overflowStyles(){return this.maxLines.length&&this.maxLines.length>0&&`max-height: ${2*parseInt(this.maxLines)}rem; -webkit-line-clamp: ${this.maxLines}; word-break: break-all;`}messagesTemplate(){var e,t,i;return this.alert?d.html`
1328
1327
  <div class="md-editable-textfield__messages" style="display: ${this.hideMessage?"none":"block"}">
1329
1328
  <md-help-text
1330
1329
  id="alert-message"
@@ -1373,7 +1372,7 @@
1373
1372
  <div role="group" aria-labelledby="id-group-label">
1374
1373
  <slot name="checkbox"></slot>
1375
1374
  </div>
1376
- `}};h([(0,l.property)({type:String,attribute:"group-label"})],t.prototype,"label",void 0),h([(0,l.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),h([(0,l.query)("slot[name='checkbox']")],t.prototype,"checkboxSlot",void 0),t=h([(0,a.w)("md-checkboxgroup")],t),e.ELEMENT=t}(s||(s={}))},57346:e=>{e.exports=F},58088:e=>{e.exports=_},58287:(e,t,i)=>{i.d(t,{ProgressBar:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(23968),l=i(31107),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.dynamic=!1,this.color="",this.label="",this.displayFormat="percentage",this.type="indeterminate",this.min=0,this.max=100,this.value=25,this.adjustedValue=0,this.valueFraction=0,this.meterWidth="100",this.getDisplayFormat=()=>"indeterminate"===this.type?(this.value=100,null):(this.adjustedValue=this.max-this.value<0?this.max:this.value,this.valueFraction=this.adjustedValue/this.max*100||0,this.meterWidth=this.valueFraction.toFixed(0)+"%","none"===this.displayFormat?null:"percentage"===this.displayFormat?this.meterWidth:`${this.adjustedValue} / ${this.max}`),this.getColor=()=>this.color?this.color:this.dynamic?this.valueFraction<25?"success":this.valueFraction<50?"info":this.valueFraction<75?"warning":"danger":void 0}connectedCallback(){super.connectedCallback(),this.requestUpdate("value")}static get styles(){return[r.A,l.A]}render(){const e={[`progress--${this.type}`]:this.type,[`progress--${this.color}`]:this.color};return n.html`
1375
+ `}};h([(0,l.property)({type:String,attribute:"group-label"})],t.prototype,"label",void 0),h([(0,l.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),h([(0,l.query)("slot[name='checkbox']")],t.prototype,"checkboxSlot",void 0),t=h([(0,a.w)("md-checkboxgroup")],t),e.ELEMENT=t}(s||(s={}))},57346:e=>{e.exports=S},58088:e=>{e.exports=C},58287:(e,t,i)=>{i.d(t,{ProgressBar:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(23968),l=i(31107),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.dynamic=!1,this.color="",this.label="",this.displayFormat="percentage",this.type="indeterminate",this.min=0,this.max=100,this.value=25,this.adjustedValue=0,this.valueFraction=0,this.meterWidth="100",this.getDisplayFormat=()=>"indeterminate"===this.type?(this.value=100,null):(this.adjustedValue=this.max-this.value<0?this.max:this.value,this.valueFraction=this.adjustedValue/this.max*100||0,this.meterWidth=this.valueFraction.toFixed(0)+"%","none"===this.displayFormat?null:"percentage"===this.displayFormat?this.meterWidth:`${this.adjustedValue} / ${this.max}`),this.getColor=()=>this.color?this.color:this.dynamic?this.valueFraction<25?"success":this.valueFraction<50?"info":this.valueFraction<75?"warning":"danger":void 0}connectedCallback(){super.connectedCallback(),this.requestUpdate("value")}static get styles(){return[r.A,l.A]}render(){const e={[`progress--${this.type}`]:this.type,[`progress--${this.color}`]:this.color};return n.html`
1377
1376
  <span>
1378
1377
  <div class="progressbar-info" data-key="${this.min}">
1379
1378
  <span class="progressbar-label">${this.label}</span>
@@ -1472,7 +1471,7 @@
1472
1471
  <slot name="custom-right-content" part="chip-right"> </slot>
1473
1472
  </span>
1474
1473
  </md-tooltip>
1475
- `}};p([(0,a.property)({type:String})],t.prototype,"color",void 0),p([(0,a.property)({type:String})],t.prototype,"bgColor",void 0),p([(0,a.property)({type:String})],t.prototype,"textColor",void 0),p([(0,a.property)({type:String})],t.prototype,"height",void 0),p([(0,a.property)({type:String})],t.prototype,"icon",void 0),p([(0,a.property)({type:String})],t.prototype,"iconColor",void 0),p([(0,a.property)({type:String})],t.prototype,"iconSize",void 0),p([(0,a.property)({type:String})],t.prototype,"role",void 0),p([(0,a.property)({type:String,reflect:!0})],t.prototype,"id",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"small",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"readonly",void 0),p([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"disabled",void 0),p([(0,a.property)({type:Number})],t.prototype,"determinateProgress",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"indeterminateProgress",void 0),p([(0,a.property)({type:String})],t.prototype,"tooltipText",void 0),p([(0,a.property)({type:String})],t.prototype,"tooltipPlacement",void 0),p([(0,a.property)({type:String})],t.prototype,"iconSet",void 0),p([(0,a.property)({type:Boolean,attribute:"suppress-default-max-width"})],t.prototype,"suppressDefaultMaxWidth",void 0),p([(0,a.property)({type:String,hasChanged:(e,t)=>e!==t})],t.prototype,"value",void 0),p([(0,a.internalProperty)({hasChanged:(e,t)=>e!==t})],t.prototype,"textOverflow",void 0),p([(0,a.internalProperty)()],t.prototype,"renderedText",void 0),t=p([(0,r.w)("md-chip")],t),e.ELEMENT=t}(s||(s={}))},60554:e=>{e.exports=n},61200:(e,t,i)=>{i.d(t,{Icon:()=>s}),i(96798);var s,o=i(31890),r=i(26272),n=i(32022),a=i.n(n),l=i(60554),d=i.n(l),h=i(41488),c=i(40333),p=i(23968),u=i(97822),m=i(8229),v=i(42706),b=i(57955),y=i(66873),g=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},f=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){var t;let s=t=class extends h.LitElement{constructor(){super(...arguments),this.color="",this.description="",this.name="",this.id="",this.size="",this.title="",this.ariaHidden=null,this.type="",this.isActive=!1,this.isComboBoxIcon=!1,this.sizeOverrided=!1,this.iconSet="momentumUI",this.svgIcon=null,this._ariaLabel="",this.consoleHandler=(e,t)=>{switch(e){case"color-warn":console.warn(`[@momentum-ui/web-component] Icon: ${t} may not exist in the design system, please use a color name from https://momentum.design/styles/color/style`);break;case"name-error":console.warn(`[@momentum-ui/web-component] Icon: Icon ${t} does not exist in the design system. Visit https://momentum.design/icons for a list of available icons or to request a new icon.`)}}}isPath(e){return"object"!=typeof e&&e.endsWith(".svg")}decodeIfBase64EncodedSvg(e){const t=/data:image\/svg\+xml;base64,([A-Za-z0-9+/=]+)/.exec(e);if(null==t?void 0:t[1]){const e=t[1];return atob(e)}return e}getSvgContentFromFile(e){return f(this,void 0,void 0,(function*(){const t=yield fetch(e),i=yield t.text();return this.getSvgContentFromInline(i)}))}getSvgContentFromInline(e){let t="";return t="object"==typeof e&&"data"in e?e.data:this.decodeIfBase64EncodedSvg(e),this.parseSvgContent(t)}parseSvgContent(e){try{return(new DOMParser).parseFromString(e,"image/svg+xml").documentElement}catch(t){try{return(new DOMParser).parseFromString(e,"text/html").body.children[0]}catch(e){return console.error("Error parsing svg content: ",e),null}}}isSvgAlreadyLoaded(e){var t,i;return!!this.svgIcon&&(null===(i=null===(t=this.svgIcon)||void 0===t?void 0:t.getAttribute("class"))||void 0===i?void 0:i.includes(e))}loadSvgIcon(e){return f(this,void 0,void 0,(function*(){var t,s;if(this.isSvgAlreadyLoaded(e))return;const o="momentumBrandVisuals"===this.iconSet?v.c[e]:i(49785)(`./${e}.svg`);o?(this.isPath(o)?this.svgIcon=yield this.getSvgContentFromFile(o):this.svgIcon=this.getSvgContentFromInline(o),null===(t=this.svgIcon)||void 0===t||t.setAttribute("class",`icon ${e}`),null===(s=this.svgIcon)||void 0===s||s.setAttribute("part","icon"),this.setSvgIconAttributes(),this.requestUpdate()):console.error(`Icon: ${e} does not exist in the design system.`)}))}setSvgIconAttributes(){this.svgIcon&&(this.iconFontSize&&this.svgIcon.setAttribute("width",`${this.iconFontSize}px`),this.iconFontSize&&this.svgIcon.setAttribute("height",`${this.iconFontSize}px`),this.color?this.svgIcon.setAttribute("fill",this.iconColor):this.svgIcon.setAttribute("fill","currentColor"))}get svgIconName(){if("momentumDesign"===this.iconSet||"momentumBrandVisuals"===this.iconSet)return this.name;const e=this.momentumUIIconLookupName,i=t.designLookup.get(e);return null!=i?i:e}updated(e){if(super.updated(e),this.doesIconSetSupportSVG)if(e.has("name")||e.has("iconSet")){const e=this.svgIconName;e&&"Unknown"!==e&&this.loadSvgIcon(e)}else(e.has("iconFontSize")||e.has("color"))&&this.setSvgIconAttributes()}get ariaLabel(){return this._ariaLabel?this._ariaLabel:this.title&&this.description?`${this.title} ${this.description}`:this.title?this.title:this.description?this.description:"icon"}set ariaLabel(e){const t=this._ariaLabel;this._ariaLabel=e,this.requestUpdate("ariaLabel",t)}get buttonClassMap(){return{[`md-button--icon-${this.type}`]:!!this.type}}get iconFontSize(){const e=this.name.split("_")[1];return this.size||e||16}get iconColor(){return this.color.startsWith("#")?(this.consoleHandler("color-warn",this.color),this.color):this.color.startsWith("var(")?this.color:d()(this.color)}get iconClassMap(){return{"md-combobox-input__icon":this.isComboBoxIcon,"md-combobox-input__icon--active":this.isComboBoxIcon&&this.isActive,[`${this.iconName}`]:!!this.iconName}}get momentumUIIconLookupName(){let e=this.name;return e=e.startsWith("icon-")?e.substring(5):e,e=e.split("_")[0],e}getIconName(){let e=this.name;return e=e.startsWith("icon-")?e.substring(5):e,e}handleSizeOverride(e){return`${e.split("_")[0]}_${this.iconFontSize}`}get iconName(){const e=this.getIconName();return this.sizeOverrided?this.handleSizeOverride(e):a().includes(e)||""===e?`icon-${e}`:this.consoleHandler("name-error",e)}get iconStyleMap(){return Object.assign(Object.assign({},this.iconFontSize&&{"font-size":`${this.iconFontSize}px`}),this.color&&{color:this.iconColor})}static get styles(){return[r.A,y.A]}handleIconClick(e){this.dispatchEvent(new CustomEvent("icon-click",{bubbles:!0,composed:!0,detail:{srcEvent:e}}))}get doesIconSetSupportSVG(){return"momentumDesign"===this.iconSet||"preferMomentumDesign"===this.iconSet||"momentumBrandVisuals"===this.iconSet}get isSVGRender(){return this.svgIcon&&"preferMomentumDesign"===this.iconSet||"momentumDesign"===this.iconSet||"momentumBrandVisuals"===this.iconSet}render(){return this.isSVGRender?this.renderSVGIcon():this.renderFontIcon()}renderFontIcon(){var e;return h.html`
1474
+ `}};p([(0,a.property)({type:String})],t.prototype,"color",void 0),p([(0,a.property)({type:String})],t.prototype,"bgColor",void 0),p([(0,a.property)({type:String})],t.prototype,"textColor",void 0),p([(0,a.property)({type:String})],t.prototype,"height",void 0),p([(0,a.property)({type:String})],t.prototype,"icon",void 0),p([(0,a.property)({type:String})],t.prototype,"iconColor",void 0),p([(0,a.property)({type:String})],t.prototype,"iconSize",void 0),p([(0,a.property)({type:String})],t.prototype,"role",void 0),p([(0,a.property)({type:String,reflect:!0})],t.prototype,"id",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"small",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"readonly",void 0),p([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"disabled",void 0),p([(0,a.property)({type:Number})],t.prototype,"determinateProgress",void 0),p([(0,a.property)({type:Boolean})],t.prototype,"indeterminateProgress",void 0),p([(0,a.property)({type:String})],t.prototype,"tooltipText",void 0),p([(0,a.property)({type:String})],t.prototype,"tooltipPlacement",void 0),p([(0,a.property)({type:String})],t.prototype,"iconSet",void 0),p([(0,a.property)({type:Boolean,attribute:"suppress-default-max-width"})],t.prototype,"suppressDefaultMaxWidth",void 0),p([(0,a.property)({type:String,hasChanged:(e,t)=>e!==t})],t.prototype,"value",void 0),p([(0,a.internalProperty)({hasChanged:(e,t)=>e!==t})],t.prototype,"textOverflow",void 0),p([(0,a.internalProperty)()],t.prototype,"renderedText",void 0),t=p([(0,r.w)("md-chip")],t),e.ELEMENT=t}(s||(s={}))},60554:e=>{e.exports=n},61200:(e,t,i)=>{i.d(t,{Icon:()=>s}),i(96798);var s,o=i(31890),r=i(26272),n=i(32022),a=i.n(n),l=i(60554),d=i.n(l),h=i(41488),c=i(40333),p=i(23968),u=i(97822),m=i(8229),v=i(42706),b=i(57955),y=i(66873),g=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},f=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){var t;let s=t=class extends h.LitElement{constructor(){super(...arguments),this.color="",this.description="",this.name="",this.id="",this.size="",this.title="",this.ariaHidden=null,this.type="",this.isActive=!1,this.isComboBoxIcon=!1,this.sizeOverrided=!1,this.iconSet="momentumUI",this.svgIcon=null,this._ariaLabel="",this.consoleHandler=(e,t)=>{switch(e){case"color-warn":console.warn(`[@momentum-ui/web-component] Icon: ${t} may not exist in the design system, please use a color name from https://momentum.design/styles/color/style`);break;case"name-error":console.warn(`[@momentum-ui/web-component] Icon: Icon ${t} does not exist in the design system. Visit https://momentum.design/icons for a list of available icons or to request a new icon.`)}}}isPath(e){return"object"!=typeof e&&e.endsWith(".svg")}decodeIfBase64EncodedSvg(e){const t=/data:image\/svg\+xml;base64,([A-Za-z0-9+/=]+)/.exec(e);if(null==t?void 0:t[1]){const e=t[1];return atob(e)}return e}getSvgContentFromFile(e){return f(this,void 0,void 0,(function*(){const t=yield fetch(e),i=yield t.text();return this.getSvgContentFromInline(i)}))}getSvgContentFromInline(e){let t="";return t="object"==typeof e&&"data"in e?e.data:this.decodeIfBase64EncodedSvg(e),this.parseSvgContent(t)}parseSvgContent(e){try{return(new DOMParser).parseFromString(e,"image/svg+xml").documentElement}catch(t){try{return(new DOMParser).parseFromString(e,"text/html").body.children[0]}catch(e){return console.error("Error parsing svg content: ",e),null}}}isSvgAlreadyLoaded(e){var t,i;return!!this.svgIcon&&(null===(i=null===(t=this.svgIcon)||void 0===t?void 0:t.getAttribute("class"))||void 0===i?void 0:i.includes(e))}loadSvgIcon(e){return f(this,void 0,void 0,(function*(){var t,s;if(this.isSvgAlreadyLoaded(e))return;const o="momentumBrandVisuals"===this.iconSet?yield this.getBrandVisualIcon(e):i(49785)(`./${e}.svg`);o?(this.isPath(o)?this.svgIcon=yield this.getSvgContentFromFile(o):this.svgIcon=this.getSvgContentFromInline(o),null===(t=this.svgIcon)||void 0===t||t.setAttribute("class",`icon ${e}`),null===(s=this.svgIcon)||void 0===s||s.setAttribute("part","icon"),this.setSvgIconAttributes(),this.requestUpdate()):console.error(`Icon: ${e} does not exist in the design system.`)}))}setSvgIconAttributes(){this.svgIcon&&(this.iconFontSize&&this.svgIcon.setAttribute("width",`${this.iconFontSize}px`),this.iconFontSize&&this.svgIcon.setAttribute("height",`${this.iconFontSize}px`),this.color?this.svgIcon.setAttribute("fill",this.iconColor):this.svgIcon.setAttribute("fill","currentColor"))}getBrandVisualIcon(e){return f(this,void 0,void 0,(function*(){const t=v.c[e];return t?(yield t).default:null}))}get svgIconName(){if("momentumDesign"===this.iconSet||"momentumBrandVisuals"===this.iconSet)return this.name;const e=this.momentumUIIconLookupName,i=t.designLookup.get(e);return null!=i?i:e}updated(e){if(super.updated(e),this.doesIconSetSupportSVG)if(e.has("name")||e.has("iconSet")){const e=this.svgIconName;e&&"Unknown"!==e&&this.loadSvgIcon(e)}else(e.has("iconFontSize")||e.has("color"))&&this.setSvgIconAttributes()}get ariaLabel(){return this._ariaLabel?this._ariaLabel:this.title&&this.description?`${this.title} ${this.description}`:this.title?this.title:this.description?this.description:"icon"}set ariaLabel(e){const t=this._ariaLabel;this._ariaLabel=e,this.requestUpdate("ariaLabel",t)}get buttonClassMap(){return{[`md-button--icon-${this.type}`]:!!this.type}}get iconFontSize(){const e=this.name.split("_")[1];return this.size||e||16}get iconColor(){return this.color.startsWith("#")?(this.consoleHandler("color-warn",this.color),this.color):this.color.startsWith("var(")?this.color:d()(this.color)}get iconClassMap(){return{"md-combobox-input__icon":this.isComboBoxIcon,"md-combobox-input__icon--active":this.isComboBoxIcon&&this.isActive,[`${this.iconName}`]:!!this.iconName}}get momentumUIIconLookupName(){let e=this.name;return e=e.startsWith("icon-")?e.substring(5):e,e=e.split("_")[0],e}getIconName(){let e=this.name;return e=e.startsWith("icon-")?e.substring(5):e,e}handleSizeOverride(e){return`${e.split("_")[0]}_${this.iconFontSize}`}get iconName(){const e=this.getIconName();return this.sizeOverrided?this.handleSizeOverride(e):a().includes(e)||""===e?`icon-${e}`:this.consoleHandler("name-error",e)}get iconStyleMap(){return Object.assign(Object.assign({},this.iconFontSize&&{"font-size":`${this.iconFontSize}px`}),this.color&&{color:this.iconColor})}static get styles(){return[r.A,y.A]}handleIconClick(e){this.dispatchEvent(new CustomEvent("icon-click",{bubbles:!0,composed:!0,detail:{srcEvent:e}}))}get doesIconSetSupportSVG(){return"momentumDesign"===this.iconSet||"preferMomentumDesign"===this.iconSet||"momentumBrandVisuals"===this.iconSet}get isSVGRender(){return this.svgIcon&&"preferMomentumDesign"===this.iconSet||"momentumDesign"===this.iconSet||"momentumBrandVisuals"===this.iconSet}render(){return this.isSVGRender?this.renderSVGIcon():this.renderFontIcon()}renderFontIcon(){var e;return h.html`
1476
1475
  <i
1477
1476
  part="icon"
1478
1477
  id=${this.id}
@@ -1629,7 +1628,7 @@
1629
1628
  `)():a.nothing}
1630
1629
  <slot></slot>
1631
1630
  </span>
1632
- `}};c([(0,n.property)({type:String})],t.prototype,"ariaLabel",void 0),c([(0,n.property)({type:String})],t.prototype,"color",void 0),c([(0,n.property)({type:String})],t.prototype,"bgColor",void 0),c([(0,n.property)({type:String})],t.prototype,"textColor",void 0),c([(0,n.property)({type:String})],t.prototype,"height",void 0),c([(0,n.property)({type:String})],t.prototype,"width",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"outlined",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"compact",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"circle",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"small",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"split",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"disabled",void 0),c([(0,n.property)({type:String})],t.prototype,"tabIndexing",void 0),c([(0,n.property)({type:String})],t.prototype,"ariaHiddenSplits",void 0),t=c([(0,o.w)("md-badge")],t),e.ELEMENT=t}(s||(s={}))},63830:e=>{e.exports=d},64311:(e,t,i)=>{i.d(t,{CardAi:()=>o}),i(96798),i(61200);var s,o,r=i(31890),n=i(26272),a=i(41488),l=i(40333),d=i(17518),h=i(18227),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.USER_QUERY="user_query",e.RESPONSE="response"}(s||(s={})),function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.id="",this.title="",this.cardText="",this.timestamp="",this.summariseMoreVisible=!1,this.variant=s.RESPONSE,this.copyChecked=!1,this.thumbsUpChecked=!1,this.thumbsDownChecked=!1}static get styles(){return[n.A,h.A]}thumbsUpToggled(){this.thumbsDownChecked=!1,this.thumbsUpChecked=!this.thumbsUpChecked,this.dispatchEvent(new CustomEvent("thumbs-up-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}thumbsDownToggled(){this.thumbsUpChecked=!1,this.thumbsDownChecked=!this.thumbsDownChecked,this.dispatchEvent(new CustomEvent("thumbs-down-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}summariseMoreToggled(){this.dispatchEvent(new CustomEvent("summarise-more-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}copyToggled(){navigator.clipboard.writeText(this.cardText),this.copyChecked=!0,setTimeout((()=>{this.copyChecked=!1}),2e3)}get bottomBorderRadiusClass(){return this.timestamp?"with-bottom-border-radius":"no-bottom-border-radius"}get cardTextClassMap(){return{"md-card-ai-card-body-user-query":this.variant===s.USER_QUERY,[`md-card-ai-card-body-response-${this.bottomBorderRadiusClass}`]:this.variant===s.RESPONSE}}renderHeader(){return this.variant===s.RESPONSE&&""!==this.title?a.html`
1631
+ `}};c([(0,n.property)({type:String})],t.prototype,"ariaLabel",void 0),c([(0,n.property)({type:String})],t.prototype,"color",void 0),c([(0,n.property)({type:String})],t.prototype,"bgColor",void 0),c([(0,n.property)({type:String})],t.prototype,"textColor",void 0),c([(0,n.property)({type:String})],t.prototype,"height",void 0),c([(0,n.property)({type:String})],t.prototype,"width",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"outlined",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"compact",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"circle",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"small",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"split",void 0),c([(0,n.property)({type:Boolean})],t.prototype,"disabled",void 0),c([(0,n.property)({type:String})],t.prototype,"tabIndexing",void 0),c([(0,n.property)({type:String})],t.prototype,"ariaHiddenSplits",void 0),t=c([(0,o.w)("md-badge")],t),e.ELEMENT=t}(s||(s={}))},63830:e=>{e.exports=K},64311:(e,t,i)=>{i.d(t,{CardAi:()=>o}),i(96798),i(61200);var s,o,r=i(31890),n=i(26272),a=i(41488),l=i(40333),d=i(17518),h=i(18227),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.USER_QUERY="user_query",e.RESPONSE="response"}(s||(s={})),function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.id="",this.title="",this.cardText="",this.timestamp="",this.summariseMoreVisible=!1,this.variant=s.RESPONSE,this.copyChecked=!1,this.thumbsUpChecked=!1,this.thumbsDownChecked=!1}static get styles(){return[n.A,h.A]}thumbsUpToggled(){this.thumbsDownChecked=!1,this.thumbsUpChecked=!this.thumbsUpChecked,this.dispatchEvent(new CustomEvent("thumbs-up-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}thumbsDownToggled(){this.thumbsUpChecked=!1,this.thumbsDownChecked=!this.thumbsDownChecked,this.dispatchEvent(new CustomEvent("thumbs-down-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}summariseMoreToggled(){this.dispatchEvent(new CustomEvent("summarise-more-toggled",{detail:{id:this.id},bubbles:!0,composed:!0}))}copyToggled(){navigator.clipboard.writeText(this.cardText),this.copyChecked=!0,setTimeout((()=>{this.copyChecked=!1}),2e3)}get bottomBorderRadiusClass(){return this.timestamp?"with-bottom-border-radius":"no-bottom-border-radius"}get cardTextClassMap(){return{"md-card-ai-card-body-user-query":this.variant===s.USER_QUERY,[`md-card-ai-card-body-response-${this.bottomBorderRadiusClass}`]:this.variant===s.RESPONSE}}renderHeader(){return this.variant===s.RESPONSE&&""!==this.title?a.html`
1633
1632
  <div class="md-card-ai-header">
1634
1633
  <slot name="card-header-aside">
1635
1634
  <md-icon name="cisco-ai-assistant-color" iconSet="momentumBrandVisuals"></md-icon>
@@ -1705,15 +1704,15 @@
1705
1704
  ${this.renderHeader()}
1706
1705
  <div class="content-margin">${this.renderCardText()} ${this.renderFooter()}</div>
1707
1706
  </div>
1708
- `}};c([(0,a.property)({type:String})],t.prototype,"id",void 0),c([(0,a.property)({type:String})],t.prototype,"title",void 0),c([(0,a.property)({type:String})],t.prototype,"cardText",void 0),c([(0,a.property)({type:String})],t.prototype,"timestamp",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"summariseMoreVisible",void 0),c([(0,a.property)({type:String})],t.prototype,"variant",void 0),c([(0,a.internalProperty)()],t.prototype,"copyChecked",void 0),c([(0,a.internalProperty)()],t.prototype,"thumbsUpChecked",void 0),c([(0,a.internalProperty)()],t.prototype,"thumbsDownChecked",void 0),t=c([(0,r.w)("md-card-ai")],t),e.ELEMENT=t}(o||(o={}))},65796:e=>{e.exports=M},65875:e=>{e.exports=N},66245:(e,t,i)=>{i.d(t,{ListItem:()=>s});var s,o=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(23968),d=i(21392),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.yC)(a.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[n.A,d.A]}render(){return a.html`
1707
+ `}};c([(0,a.property)({type:String})],t.prototype,"id",void 0),c([(0,a.property)({type:String})],t.prototype,"title",void 0),c([(0,a.property)({type:String})],t.prototype,"cardText",void 0),c([(0,a.property)({type:String})],t.prototype,"timestamp",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"summariseMoreVisible",void 0),c([(0,a.property)({type:String})],t.prototype,"variant",void 0),c([(0,a.internalProperty)()],t.prototype,"copyChecked",void 0),c([(0,a.internalProperty)()],t.prototype,"thumbsUpChecked",void 0),c([(0,a.internalProperty)()],t.prototype,"thumbsDownChecked",void 0),t=c([(0,r.w)("md-card-ai")],t),e.ELEMENT=t}(o||(o={}))},65796:e=>{e.exports=g},65875:e=>{e.exports=I},66245:(e,t,i)=>{i.d(t,{ListItem:()=>s});var s,o=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(23968),d=i(21392),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.yC)(a.LitElement)){constructor(){super(...arguments),this.role="option",this.tabIndex=-1,this.shape="rounded",this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",`${e}`),this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,this.requestUpdate("selected",t)}get listItemTemplateClassMap(){return{[`md-list-item--${this.shape}`]:!!this.shape}}static get styles(){return[n.A,d.A]}render(){return a.html`
1709
1708
  <li class="md-list-item ${(0,l.classMap)(this.listItemTemplateClassMap)}" part="list-item">
1710
1709
  <slot></slot>
1711
1710
  </li>
1712
- `}};h([(0,a.property)({type:String,reflect:!0})],t.prototype,"role",void 0),h([(0,a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,a.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=h([(0,r.w)("md-list-item")],t),e.ELEMENT=t}(s||(s={}))},66677:(e,t,i)=>{i.d(t,{QZ:()=>r,sg:()=>o,ws:()=>s});const s=(e,t)=>{const i=[];[t].forEach((t=>{i.push(...((e,t)=>{const i=t.length;if(0===i)return[];const s=[],o=e.toLowerCase(),r=t.toLowerCase();let n=0,a=o.indexOf(r,n);for(;a>-1;)n=a+i,s.push([a,n]),a=o.indexOf(r,a+1);return s})(e,t))}));const s=(([...e])=>{if(!e.length)return[];e.sort(((e,t)=>e[0]!==t[0]?e[0]-t[0]:e[1]-t[1]));const t=[];let i=e[0][0],s=e[0][1];return e.shift(),e.forEach((([e,o])=>{e>=s?(t.push([i,s]),i=e,s=o):o>s&&(s=o)})),t.push([i,s]),t})(i),o=[];let r=0;return s.forEach((([t,i])=>{r!==t&&o.push({range:[t,i],matching:!1,text:e.slice(r,t)}),o.push({range:[t,i],matching:!0,text:e.slice(t,i)}),r=i})),r!==e.length&&o.push({range:[r],matching:!1,text:e.slice(r)}),o};function o(e,t,i){let s;return function(...o){const r=this,n=i&&!s;clearTimeout(s),s=setTimeout((function(){s=null,i||e.apply(r,o)}),t),n&&e.apply(r,o)}}function r(e,t){return function t(i){if(!i||i===document||i===window)return null;return i.closest(e)||t(i.getRootNode().host)}(t)}},68250:e=>{e.exports=T},68490:(e,t,i)=>{i.d(t,{List:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(97822),h=i(21392),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.Io)(l.LitElement)){constructor(){super(...arguments),this.alignment="vertical",this.label="option",this.activated=-1,this._role="listbox"}firstUpdated(e){super.firstUpdated(e),this.setAttribute("aria-label",this.label)}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}isFocusable(e){return!e.hasAttribute("hidden")}connectedCallback(){super.connectedCallback(),this._role=this.getAttribute("role")||"listbox",this.removeAttribute("role"),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}findListItemIndex(e){const t=e.composedPath();return this.slotted.findIndex((e=>t.includes(e)))}switchListItemOnArrowPress(e,t=1){const i=super.getAvailableSelectedIndex(e,t);-1!==i&&(this.selected=i)}setActivated(e){-1!==e&&(this.activated=e,this.selected=e,this.setSelected(e))}findSelectedListItemIndex(){return this.slotted.findIndex((e=>e.selected))}setSelected(e){const t=this.findSelectedListItemIndex();-1!==t&&t!==e&&(this.slotted[t].selected=!1),this.slotted[e]&&(this.slotted[e].selected=!0)}updated(e){super.updated(e),e.has("slotted")&&this.setActivated(this.activated),e.has("activated")&&this.setActivated(this.activated),e.has("label")&&this.setAttribute("aria-label",this.label)}isListItemDisabled(e){var t;const i=this.slotted[e];return null===(t=null==i?void 0:i.disabled)||void 0===t||t}handleClick(e){const t=this.findListItemIndex(e);-1!==t&&(this.isListItemDisabled(t)||(this.setActivated(t),this.notifySelectedChange()))}handleKeyDown(e){const{code:t}=e;switch(t){case o.Uz.End:this.switchListItemOnArrowPress(this.slotted.length-1);break;case o.Uz.Home:this.switchListItemOnArrowPress(0);break;case o.Uz.ArrowUp:case o.Uz.ArrowLeft:e.preventDefault(),0===this.selected?this.switchListItemOnArrowPress(this.slotted.length-1,-1):this.switchListItemOnArrowPress(this.selected-1,-1);break;case o.Uz.ArrowDown:case o.Uz.ArrowRight:e.preventDefault(),this.selected===this.slotted.length-1?this.switchListItemOnArrowPress(0):this.switchListItemOnArrowPress(this.selected+1);break;case o.Uz.Enter:case o.Uz.Space:this.isListItemDisabled(this.selected)||(this.setActivated(this.selected),this.notifySelectedChange())}}get slotElement(){return this.listItemSlot}static get styles(){return[a.A,h.A]}render(){return l.html`
1711
+ `}};h([(0,a.property)({type:String,reflect:!0})],t.prototype,"role",void 0),h([(0,a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,a.property)({type:String,reflect:!0})],t.prototype,"shape",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",null),t=h([(0,r.w)("md-list-item")],t),e.ELEMENT=t}(s||(s={}))},66677:(e,t,i)=>{i.d(t,{QZ:()=>r,Qx:()=>n,sg:()=>o,ws:()=>s});const s=(e,t)=>{const i=[];[t].forEach((t=>{i.push(...((e,t)=>{const i=t.length;if(0===i)return[];const s=[],o=e.toLowerCase(),r=t.toLowerCase();let n=0,a=o.indexOf(r,n);for(;a>-1;)n=a+i,s.push([a,n]),a=o.indexOf(r,a+1);return s})(e,t))}));const s=(([...e])=>{if(!e.length)return[];e.sort(((e,t)=>e[0]!==t[0]?e[0]-t[0]:e[1]-t[1]));const t=[];let i=e[0][0],s=e[0][1];return e.shift(),e.forEach((([e,o])=>{e>=s?(t.push([i,s]),i=e,s=o):o>s&&(s=o)})),t.push([i,s]),t})(i),o=[];let r=0;return s.forEach((([t,i])=>{r!==t&&o.push({range:[t,i],matching:!1,text:e.slice(r,t)}),o.push({range:[t,i],matching:!0,text:e.slice(t,i)}),r=i})),r!==e.length&&o.push({range:[r],matching:!1,text:e.slice(r)}),o};function o(e,t,i){let s;return function(...o){const r=this,n=i&&!s;clearTimeout(s),s=setTimeout((function(){s=null,i||e.apply(r,o)}),t),n&&e.apply(r,o)}}function r(e,t){return function t(i){if(!i||i===document||i===window)return null;const s=i.closest(e);return null!=s?s:t(i.getRootNode().host)}(t)}function n(e,t){return t>=0&&t<e.length?e[t]:void 0}},68250:e=>{e.exports=u},68490:(e,t,i)=>{i.d(t,{List:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(97822),h=i(21392),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.Io)(l.LitElement)){constructor(){super(...arguments),this.alignment="vertical",this.label="option",this.activated=-1,this._role="listbox"}firstUpdated(e){super.firstUpdated(e),this.setAttribute("aria-label",this.label)}notifySelectedChange(){this.dispatchEvent(new CustomEvent("list-item-change",{detail:{selected:this.selected},bubbles:!0,composed:!0}))}isFocusable(e){return!e.hasAttribute("hidden")}connectedCallback(){super.connectedCallback(),this._role=this.getAttribute("role")||"listbox",this.removeAttribute("role"),this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown),this.removeEventListener("click",this.handleClick)}findListItemIndex(e){const t=e.composedPath();return this.slotted.findIndex((e=>t.includes(e)))}switchListItemOnArrowPress(e,t=1){const i=super.getAvailableSelectedIndex(e,t);-1!==i&&(this.selected=i)}setActivated(e){-1!==e&&(this.activated=e,this.selected=e,this.setSelected(e))}findSelectedListItemIndex(){return this.slotted.findIndex((e=>e.selected))}setSelected(e){const t=this.findSelectedListItemIndex();-1!==t&&t!==e&&(this.slotted[t].selected=!1),this.slotted[e]&&(this.slotted[e].selected=!0)}updated(e){super.updated(e),e.has("slotted")&&this.setActivated(this.activated),e.has("activated")&&this.setActivated(this.activated),e.has("label")&&this.setAttribute("aria-label",this.label)}isListItemDisabled(e){var t;const i=this.slotted[e];return null===(t=null==i?void 0:i.disabled)||void 0===t||t}handleClick(e){const t=this.findListItemIndex(e);-1!==t&&(this.isListItemDisabled(t)||(this.setActivated(t),this.notifySelectedChange()))}handleKeyDown(e){const{code:t}=e;switch(t){case o.Uz.End:this.switchListItemOnArrowPress(this.slotted.length-1);break;case o.Uz.Home:this.switchListItemOnArrowPress(0);break;case o.Uz.ArrowUp:case o.Uz.ArrowLeft:e.preventDefault(),0===this.selected?this.switchListItemOnArrowPress(this.slotted.length-1,-1):this.switchListItemOnArrowPress(this.selected-1,-1);break;case o.Uz.ArrowDown:case o.Uz.ArrowRight:e.preventDefault(),this.selected===this.slotted.length-1?this.switchListItemOnArrowPress(0):this.switchListItemOnArrowPress(this.selected+1);break;case o.Uz.Enter:case o.Uz.Space:this.isListItemDisabled(this.selected)||(this.setActivated(this.selected),this.notifySelectedChange())}}get slotElement(){return this.listItemSlot}static get styles(){return[a.A,h.A]}render(){return l.html`
1713
1712
  <ul role=${(0,d.ifDefined)("list"!==this._role?this._role:void 0)} class="md-list" part="list">
1714
1713
  <slot name="list-item"></slot>
1715
1714
  </ul>
1716
- `}};c([(0,l.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),c([(0,l.property)({type:String})],t.prototype,"label",void 0),c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"activated",void 0),c([(0,l.query)("slot[name='list-item']")],t.prototype,"listItemSlot",void 0),t=c([(0,n.w)("md-list")],t),e.ELEMENT=t}(s||(s={}))},69e3:e=>{e.exports=B},69112:(e,t,i)=>{i.d(t,{Grabber:()=>s}),i(61200);var s,o=i(37719),r=i(3001),n=i(31890),a=i(26283),l=i(26272),d=i(41488),h=i(23968),c=i(97822),p=i(42215),u=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.yC)(d.LitElement)){constructor(){super(...arguments),this.label="Expand",this.checkedLabel="Collapse",this.hovered=!1,this.disabled=!1,this.checked=!1,this.visible=!0,this.focused=!1,this.disableClickToggle=!1,this.alignment="leading",this.dragger=!1,this.shadow=!1}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}static get styles(){return[l.A,p.A]}toggleGrabber(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("grabber-toggled",{detail:{checked:this.checked},bubbles:!0,composed:!0})))}handleMouseDown(){this.disableClickToggle||this.toggleGrabber()}handleKeyDown(e){this.disableClickToggle||(0,a.o)(e.code)&&(e.preventDefault(),this.toggleGrabber())}handleMouseEnter(){this.hovered=!0,this.dispatchHoverEvent()}handleMouseLeave(){this.hovered=!1,this.dispatchHoverEvent()}handleFocus(){this.focused=!0}handleBlur(){this.focused=!1}dispatchHoverEvent(){this.dispatchEvent(new CustomEvent("grabber-hover-changed",{bubbles:!0,composed:!0,detail:{hovered:this.hovered}}))}get collapsed(){return!this.checked}get grabberClassMap(){return{"md-grabber--active":this.checked,"md-grabber--disabled":this.disabled,"md-grabber--dragger":this.dragger,[`md-grabber--${this.alignment}`]:this.alignment,visible:this.visible||this.focused}}get grabberContainerClassMap(){return{[`${this.alignment}`]:!0,shadow:this.shadow&&(this.visible||this.checked)}}get iconName(){return this.dragger?"list-menu-bold":"leading"===this.alignment||"trailing"===this.alignment?this.checked?"arrow-left-bold":"arrow-right-bold":this.checked?"arrow-up-bold":"arrow-down-bold"}get iconSize(){return this.dragger||!1===o.themeManager.isMomentumV2Enabled?"10":"12"}render(){return d.html`
1715
+ `}};c([(0,l.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),c([(0,l.property)({type:String})],t.prototype,"label",void 0),c([(0,l.property)({type:Number,reflect:!0})],t.prototype,"activated",void 0),c([(0,l.query)("slot[name='list-item']")],t.prototype,"listItemSlot",void 0),t=c([(0,n.w)("md-list")],t),e.ELEMENT=t}(s||(s={}))},69e3:e=>{e.exports=$},69112:(e,t,i)=>{i.d(t,{Grabber:()=>s}),i(61200);var s,o=i(37719),r=i(3001),n=i(31890),a=i(26283),l=i(26272),d=i(41488),h=i(23968),c=i(97822),p=i(42215),u=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.yC)(d.LitElement)){constructor(){super(...arguments),this.label="Expand",this.checkedLabel="Collapse",this.hovered=!1,this.disabled=!1,this.checked=!1,this.visible=!0,this.focused=!1,this.disableClickToggle=!1,this.alignment="leading",this.dragger=!1,this.shadow=!1}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}static get styles(){return[l.A,p.A]}toggleGrabber(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("grabber-toggled",{detail:{checked:this.checked},bubbles:!0,composed:!0})))}handleMouseDown(){this.disableClickToggle||this.toggleGrabber()}handleKeyDown(e){this.disableClickToggle||(0,a.o)(e.code)&&(e.preventDefault(),this.toggleGrabber())}handleMouseEnter(){this.hovered=!0,this.dispatchHoverEvent()}handleMouseLeave(){this.hovered=!1,this.dispatchHoverEvent()}handleFocus(){this.focused=!0}handleBlur(){this.focused=!1}dispatchHoverEvent(){this.dispatchEvent(new CustomEvent("grabber-hover-changed",{bubbles:!0,composed:!0,detail:{hovered:this.hovered}}))}get collapsed(){return!this.checked}get grabberClassMap(){return{"md-grabber--active":this.checked,"md-grabber--disabled":this.disabled,"md-grabber--dragger":this.dragger,[`md-grabber--${this.alignment}`]:this.alignment,visible:this.visible||this.focused}}get grabberContainerClassMap(){return{[`${this.alignment}`]:!0,shadow:this.shadow&&(this.visible||this.checked)}}get iconName(){return this.dragger?"list-menu-bold":"leading"===this.alignment||"trailing"===this.alignment?this.checked?"arrow-left-bold":"arrow-right-bold":this.checked?"arrow-up-bold":"arrow-down-bold"}get iconSize(){return this.dragger||!1===o.themeManager.isMomentumV2Enabled?"10":"12"}render(){return d.html`
1717
1716
  <div class="md-grabber__container ${(0,h.classMap)(this.grabberContainerClassMap)}">
1718
1717
  <button
1719
1718
  class="md-grabber ${(0,h.classMap)(this.grabberClassMap)}"
@@ -1734,13 +1733,13 @@
1734
1733
  <md-icon name="${this.iconName}" size="${this.iconSize}" iconSet="momentumDesign"></md-icon>
1735
1734
  </button>
1736
1735
  </div>
1737
- `}};u([(0,d.property)({type:String})],t.prototype,"label",void 0),u([(0,d.property)({type:String})],t.prototype,"checkedLabel",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"hovered",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"disabled",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"checked",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"visible",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"focused",void 0),u([(0,d.property)({type:Boolean,attribute:"disable-click-toggle"})],t.prototype,"disableClickToggle",void 0),u([(0,d.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"dragger",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"shadow",void 0),t=u([(0,n.w)("md-grabber")],t),e.ELEMENT=t}(s||(s={}))},69371:e=>{e.exports=I},69494:(e,t,i)=>{i.d(t,{DateRangePicker:()=>s});var s,o=i(31890),r=i(41488),n=i(65796),a=i(38654),l=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.DatePicker.ELEMENT{constructor(){super(...arguments),this.startDate=void 0,this.endDate=void 0,this.updateValue=()=>{this.startDate&&this.endDate&&(this.value=`${this.sqlDateToSlashes(this.startDate)} - ${this.sqlDateToSlashes(this.endDate)}`)},this.handleDateSelection=e=>{const t=e.detail.data;this.startDate?this.endDate?(this.startDate=this.dateToSqlTranslate(t),this.endDate=void 0):t<n.DateTime.fromISO(this.startDate)?(this.endDate=this.startDate,this.startDate=this.dateToSqlTranslate(t)):this.endDate=this.dateToSqlTranslate(t):this.startDate=this.dateToSqlTranslate(t),this.emitDateRange(),this.updateValue()}}connectedCallback(){super.connectedCallback(),super.render(),this.addEventListener("date-selection-change",this.handleDateSelection)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("date-selection-change",this.handleDateSelection)}dateToSqlTranslate(e){return e.toSQLDate()}sqlDateToSlashes(e){return e.replace(/-+/g,"/")}emitDateRange(){if(!this.startDate||!this.endDate)return;const e=new CustomEvent("date-range-change",{detail:{startDate:this.startDate,endDate:this.endDate}});this.dispatchEvent(e)}};l([(0,r.property)({type:String,attribute:"start-date",reflect:!0})],t.prototype,"startDate",void 0),l([(0,r.property)({type:String,attribute:"end-date",reflect:!0})],t.prototype,"endDate",void 0),t=l([(0,o.w)("md-date-range-picker")],t),e.ELEMENT=t}(s||(s={}))},69788:(e,t,i)=>{i.d(t,{Loading:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(17518),l=i(76700),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.size="",this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[r.A,l.A]}firstUpdated(e){super.firstUpdated(e),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".md-loading__icon");if(!t)return;let i=null;const s=1400,o=e=>{if(!this.isAnimating)return;i||(i=e);const r=(e-i)%s;t.forEach(((e,t)=>{const i=(r-200*t+s)%s;let o=0,n=.1;if(i<280){const e=.1+i/280*.9;o=e,n=e}else if(i<1400){const e=Math.min((i-280)/1120*2,1);o=Math.max(1-.9*e,.9),n=Math.max(1-.9*e,.2)}e.style.transform=`scale(${o})`,e.style.opacity=`${n}`})),this.animationFrameId=requestAnimationFrame(o)};this.animationFrameId=requestAnimationFrame(o)}stopAnimation(){var e;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".md-loading__icon");t&&t.forEach((e=>{e.style.transform="scale(0, 0)",e.style.opacity="0.1"}))}get loadingClassMap(){return{[`md-loading--${this.size}`]:!!this.size}}get loadingIconClassMap(){return{"md-loading__icon":!0}}render(){return n.html`
1736
+ `}};u([(0,d.property)({type:String})],t.prototype,"label",void 0),u([(0,d.property)({type:String})],t.prototype,"checkedLabel",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"hovered",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"disabled",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"checked",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"visible",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"focused",void 0),u([(0,d.property)({type:Boolean,attribute:"disable-click-toggle"})],t.prototype,"disableClickToggle",void 0),u([(0,d.property)({type:String,reflect:!0})],t.prototype,"alignment",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"dragger",void 0),u([(0,d.property)({type:Boolean})],t.prototype,"shadow",void 0),t=u([(0,n.w)("md-grabber")],t),e.ELEMENT=t}(s||(s={}))},69371:e=>{e.exports=m},69494:(e,t,i)=>{i.d(t,{DateRangePicker:()=>s});var s,o=i(31890),r=i(41488),n=i(65796),a=i(38654),l=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends a.DatePicker.ELEMENT{constructor(){super(...arguments),this.startDate=void 0,this.endDate=void 0,this.updateValue=()=>{this.startDate&&this.endDate&&(this.value=`${this.sqlDateToSlashes(this.startDate)} - ${this.sqlDateToSlashes(this.endDate)}`)},this.handleDateSelection=e=>{const t=e.detail.data;this.startDate?this.endDate?(this.startDate=this.dateToSqlTranslate(t),this.endDate=void 0):t<n.DateTime.fromISO(this.startDate)?(this.endDate=this.startDate,this.startDate=this.dateToSqlTranslate(t)):this.endDate=this.dateToSqlTranslate(t):this.startDate=this.dateToSqlTranslate(t),this.emitDateRange(),this.updateValue()}}connectedCallback(){super.connectedCallback(),super.render(),this.addEventListener("date-selection-change",this.handleDateSelection)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("date-selection-change",this.handleDateSelection)}dateToSqlTranslate(e){return e.toSQLDate()}sqlDateToSlashes(e){return e.replace(/-+/g,"/")}emitDateRange(){if(!this.startDate||!this.endDate)return;const e=new CustomEvent("date-range-change",{detail:{startDate:this.startDate,endDate:this.endDate}});this.dispatchEvent(e)}};l([(0,r.property)({type:String,attribute:"start-date",reflect:!0})],t.prototype,"startDate",void 0),l([(0,r.property)({type:String,attribute:"end-date",reflect:!0})],t.prototype,"endDate",void 0),t=l([(0,o.w)("md-date-range-picker")],t),e.ELEMENT=t}(s||(s={}))},69788:(e,t,i)=>{i.d(t,{Loading:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(17518),l=i(76700),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.size="",this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[r.A,l.A]}firstUpdated(e){super.firstUpdated(e),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".md-loading__icon");if(!t)return;let i=null;const s=1400,o=e=>{if(!this.isAnimating)return;i||(i=e);const r=(e-i)%s;t.forEach(((e,t)=>{const i=(r-200*t+s)%s;let o=0,n=.1;if(i<280){const e=.1+i/280*.9;o=e,n=e}else if(i<1400){const e=Math.min((i-280)/1120*2,1);o=Math.max(1-.9*e,.9),n=Math.max(1-.9*e,.2)}e.style.transform=`scale(${o})`,e.style.opacity=`${n}`})),this.animationFrameId=requestAnimationFrame(o)};this.animationFrameId=requestAnimationFrame(o)}stopAnimation(){var e;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".md-loading__icon");t&&t.forEach((e=>{e.style.transform="scale(0, 0)",e.style.opacity="0.1"}))}get loadingClassMap(){return{[`md-loading--${this.size}`]:!!this.size}}get loadingIconClassMap(){return{"md-loading__icon":!0}}render(){return n.html`
1738
1737
  <div class="md-loading ${(0,a.classMap)(this.loadingClassMap)}">
1739
1738
  <span class=${(0,a.classMap)(this.loadingIconClassMap)}></span>
1740
1739
  <span class=${(0,a.classMap)(this.loadingIconClassMap)}></span>
1741
1740
  <span class=${(0,a.classMap)(this.loadingIconClassMap)}></span>
1742
1741
  </div>
1743
- `}};d([(0,n.property)({type:String})],t.prototype,"size",void 0),d([(0,n.internalProperty)()],t.prototype,"isAnimating",void 0),t=d([(0,o.w)("md-loading")],t),e.ELEMENT=t}(s||(s={}))},70369:e=>{e.exports=u},71128:(e,t,i)=>{i.d(t,{Popover:()=>s}),i(96798),i(61200);var s,o=i(90195),r=i(31890),n=i(28373),a=i(66677),l=i(26283),d=i(22962),h=i.n(d),c=i(84157),p=i.n(c),u=i(68250),m=i.n(u),v=i(69371),b=i.n(v),y=i(4863),g=i(41488),f=i(40333),w=i(73679),x=i(35211),C=i(50325),S=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},$=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){let t=class extends((0,n.d)(g.LitElement)){constructor(){super(...arguments),this.placement="bottom",this.isOpen=!1,this.showArrow=!0,this.showClose=!1,this.interactive=!1,this.shouldWrapFocus=()=>this.interactive,this.role="dialog",this.ariaLabel=null,this.offsetDistance=5,this.trigger="click",this.triggerElement=null,this.popperInstance=null,this.isMouseOver=!1,this.onOutsideOverlayClick=e=>{var t;if(null===(t=this.trigger)||void 0===t?void 0:t.includes("manual"))return;let i=!1;const s=e.composedPath();s.length&&(i=!!s.find((e=>e===this)),i||(this.isOpen=!1))},this.onWindowBlurEvent=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("manual"))||this.isOpen&&(this.isOpen=!1)},this.onOutsideOverlayKeydown=e=>$(this,void 0,void 0,(function*(){this.isOpen&&e.code===o.Uz.Escape&&(e.preventDefault(),this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onTriggerElementClicked=()=>{this.toggleOverlay()},this.onTriggerElementKeydown=e=>$(this,void 0,void 0,(function*(){(0,l.o)(e.code)&&(e.preventDefault(),this.toggleOverlay()),e.code===o.Uz.Escape&&this.isOpen&&(this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onFocusInTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&(this.isOpen=!0)},this.onFocusOutTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&!this.isMouseOver&&(this.isOpen=!1)},this.onMouseEnteredTriggerOrPopup=e=>{var t;this.isMouseOver=!0,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&this.setIsOpenDebounced(!0)},this.onMouseLeaveTriggerOrPopup=e=>{var t;this.isMouseOver=!1,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&!this.shouldStayOpenOnTriggerFocus()&&this.setIsOpenDebounced(!1)},this.setIsOpenDebounced=(0,a.sg)((e=>{this.isOpen=e}),100)}static get styles(){return[C.A]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){var e,t,i,s,o;super.disconnectedCallback(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.removeEventListener("click",this.onTriggerElementClicked),this.triggerElement.removeEventListener("keydown",this.onTriggerElementKeydown)),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(s=this.popoverContainer)||void 0===s||s.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(o=this.trigger)||void 0===o?void 0:o.includes("focus"))&&(this.triggerElement.removeEventListener("focusin",this.onFocusInTrigger),this.triggerElement.removeEventListener("focusout",this.onFocusOutTrigger)))}setupTriggerEvents(){var e,t,i,s,o;this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.addEventListener("click",this.onTriggerElementClicked.bind(this)),this.triggerElement.addEventListener("keydown",this.onTriggerElementKeydown.bind(this))),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(s=this.popoverContainer)||void 0===s||s.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(o=this.trigger)||void 0===o?void 0:o.includes("focus"))&&(this.triggerElement.addEventListener("focusin",this.onFocusInTrigger),this.triggerElement.addEventListener("focusout",this.onFocusOutTrigger)))}handleTriggerElementSlotChange(){const e=this.triggerSlot.assignedElements({flatten:!0});this.triggerElement=e.length>0?e[0]:null}onContentSlotChanged(){}shouldStayOpenOnTriggerFocus(){var e;return!!(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&this.getRootNode().activeElement===this.triggerElement}firstUpdated(e){var t;super.firstUpdated(e),this.handleTriggerElementSlotChange(),this.setupTriggerEvents(),this.popoverContainer&&this.isOpen&&(this.createInstance(),null===(t=this.popoverContainer)||void 0===t||t.setAttribute("data-show",""))}focusInsideOverlay(){var e,t;this.focusableElements&&(this.focusableElements.length>1?null===(e=this.setInitialFocus)||void 0===e||e.call(this,1):this.focusableElements.length&&(null===(t=this.setInitialFocus)||void 0===t||t.call(this)))}focusOnTrigger(){return $(this,void 0,void 0,(function*(){requestAnimationFrame((()=>{var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.focusableElements[0].focus()}))}))}toggleOverlay(){var e;(null===(e=this.triggerElement)||void 0===e?void 0:e.hasAttribute("disabled"))||(this.isOpen=!this.isOpen)}handleCreatePopperFirstUpdate(){return $(this,void 0,void 0,(function*(){var e;this.isOpen&&this.interactive&&(null===(e=this.setFocusableElements)||void 0===e||e.call(this),yield this.updateComplete,this.focusInsideOverlay())}))}createInstance(){this.triggerElement?this.popperInstance=(0,y.createPopper)(this.triggerElement,this.popoverContainer,{onFirstUpdate:()=>{this.isOpen&&this.handleCreatePopperFirstUpdate()},placement:this.placement,modifiers:[...y.defaultModifiers,p(),m(),b(),h(),{name:"preventOverflow",options:{padding:16}},{name:"offset",options:{offset:({placement:e,reference:t})=>"left"===e||"right"===e?[t.height+t.y+this.offsetDistance,x.KC]:[0,this.showArrow?x.KC+this.offsetDistance:this.offsetDistance]}},{name:"arrow",options:{element:this.popoverArrow,padding:x.KC}},{name:"computeStyles",options:{adaptive:!0}}]}):console.warn("No trigger element not creating popper instance")}destroyInstance(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}updated(e){if(super.updated(e),e.has("isOpen")){const t=e.get("isOpen");this.isOpenUpdated(t,this.isOpen)}}isOpenUpdated(e,t){var i,s,o,r,n,a;e!==t&&(t?(this.createInstance(),this.dispatchPopoverIsOpenChanged(t),window.addEventListener("blur",this.onWindowBlurEvent),document.addEventListener("click",this.onOutsideOverlayClick),document.addEventListener("keydown",this.onOutsideOverlayKeydown),this.interactive&&(null===(i=this.activateFocusTrap)||void 0===i||i.call(this)),null===(s=this.triggerElement)||void 0===s||s.setAttribute("aria-expanded","true"),null===(o=this.popoverContainer)||void 0===o||o.setAttribute("data-show","")):(this.destroyInstance(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.dispatchPopoverIsOpenChanged(t),null===(r=this.deactivateFocusTrap)||void 0===r||r.call(this),null===(n=this.triggerElement)||void 0===n||n.removeAttribute("aria-expanded"),null===(a=this.popoverContainer)||void 0===a||a.removeAttribute("data-show")))}dispatchPopoverIsOpenChanged(e){this.dispatchEvent(new CustomEvent("popover-open-changed",{detail:{isOpen:e},composed:!0,bubbles:!0}))}render(){var e;return g.html`
1742
+ `}};d([(0,n.property)({type:String})],t.prototype,"size",void 0),d([(0,n.internalProperty)()],t.prototype,"isAnimating",void 0),t=d([(0,o.w)("md-loading")],t),e.ELEMENT=t}(s||(s={}))},70369:e=>{e.exports=N},71128:(e,t,i)=>{i.d(t,{Popover:()=>s}),i(96798),i(61200);var s,o=i(90195),r=i(31890),n=i(28373),a=i(66677),l=i(26283),d=i(22962),h=i.n(d),c=i(84157),p=i.n(c),u=i(68250),m=i.n(u),v=i(69371),b=i.n(v),y=i(4863),g=i(41488),f=i(40333),w=i(73679),x=i(35211),C=i(50325),S=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},$=function(e,t,i,s){return new(i||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))};!function(e){let t=class extends((0,n.d)(g.LitElement)){constructor(){super(...arguments),this.placement="bottom",this.isOpen=!1,this.showArrow=!0,this.showClose=!1,this.interactive=!1,this.shouldWrapFocus=()=>this.interactive,this.role="dialog",this.ariaLabel=null,this.offsetDistance=5,this.trigger="click",this.triggerElement=null,this.popperInstance=null,this.isMouseOver=!1,this.onOutsideOverlayClick=e=>{var t;if(null===(t=this.trigger)||void 0===t?void 0:t.includes("manual"))return;let i=!1;const s=e.composedPath();s.length&&(i=!!s.find((e=>e===this)),i||(this.isOpen=!1))},this.onWindowBlurEvent=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("manual"))||this.isOpen&&(this.isOpen=!1)},this.onOutsideOverlayKeydown=e=>$(this,void 0,void 0,(function*(){this.isOpen&&e.code===o.Uz.Escape&&(e.preventDefault(),this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onTriggerElementClicked=()=>{this.toggleOverlay()},this.onTriggerElementKeydown=e=>$(this,void 0,void 0,(function*(){(0,l.o)(e.code)&&(e.preventDefault(),this.toggleOverlay()),e.code===o.Uz.Escape&&this.isOpen&&(this.isOpen=!1,yield this.updateComplete,this.focusOnTrigger())})),this.onFocusInTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&(this.isOpen=!0)},this.onFocusOutTrigger=()=>{var e;(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&!this.isMouseOver&&(this.isOpen=!1)},this.onMouseEnteredTriggerOrPopup=e=>{var t;this.isMouseOver=!0,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&this.setIsOpenDebounced(!0)},this.onMouseLeaveTriggerOrPopup=e=>{var t;this.isMouseOver=!1,(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&!this.shouldStayOpenOnTriggerFocus()&&this.setIsOpenDebounced(!1)},this.setIsOpenDebounced=(0,a.sg)((e=>{this.isOpen=e}),100)}static get styles(){return[C.A]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){var e,t,i,s,o;super.disconnectedCallback(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.removeEventListener("click",this.onTriggerElementClicked),this.triggerElement.removeEventListener("keydown",this.onTriggerElementKeydown)),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.removeEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(s=this.popoverContainer)||void 0===s||s.removeEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(o=this.trigger)||void 0===o?void 0:o.includes("focus"))&&(this.triggerElement.removeEventListener("focusin",this.onFocusInTrigger),this.triggerElement.removeEventListener("focusout",this.onFocusOutTrigger)))}setupTriggerEvents(){var e,t,i,s,o;this.triggerElement&&((null===(e=this.trigger)||void 0===e?void 0:e.includes("click"))&&(this.triggerElement.addEventListener("click",this.onTriggerElementClicked.bind(this)),this.triggerElement.addEventListener("keydown",this.onTriggerElementKeydown.bind(this))),(null===(t=this.trigger)||void 0===t?void 0:t.includes("mouseenter"))&&(this.triggerElement.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),this.triggerElement.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup),null===(i=this.popoverContainer)||void 0===i||i.addEventListener("mouseenter",this.onMouseEnteredTriggerOrPopup),null===(s=this.popoverContainer)||void 0===s||s.addEventListener("mouseleave",this.onMouseLeaveTriggerOrPopup)),(null===(o=this.trigger)||void 0===o?void 0:o.includes("focus"))&&(this.triggerElement.addEventListener("focusin",this.onFocusInTrigger),this.triggerElement.addEventListener("focusout",this.onFocusOutTrigger)))}handleTriggerElementSlotChange(){const e=this.triggerSlot.assignedElements({flatten:!0});this.triggerElement=e.length>0?e[0]:null}onContentSlotChanged(){}shouldStayOpenOnTriggerFocus(){var e;return!!(null===(e=this.trigger)||void 0===e?void 0:e.includes("focus"))&&this.getRootNode().activeElement===this.triggerElement}firstUpdated(e){var t;super.firstUpdated(e),this.handleTriggerElementSlotChange(),this.setupTriggerEvents(),this.popoverContainer&&this.isOpen&&(this.createInstance(),null===(t=this.popoverContainer)||void 0===t||t.setAttribute("data-show",""))}focusInsideOverlay(){var e,t;this.focusableElements&&(this.focusableElements.length>1?null===(e=this.setInitialFocus)||void 0===e||e.call(this,1):this.focusableElements.length&&(null===(t=this.setInitialFocus)||void 0===t||t.call(this)))}focusOnTrigger(){return $(this,void 0,void 0,(function*(){requestAnimationFrame((()=>{var e;(null===(e=this.focusableElements)||void 0===e?void 0:e.length)&&this.focusableElements[0].focus()}))}))}toggleOverlay(){var e;(null===(e=this.triggerElement)||void 0===e?void 0:e.hasAttribute("disabled"))||(this.isOpen=!this.isOpen)}handleCreatePopperFirstUpdate(){return $(this,void 0,void 0,(function*(){var e;this.isOpen&&this.interactive&&(null===(e=this.setFocusableElements)||void 0===e||e.call(this),yield this.updateComplete,this.focusInsideOverlay())}))}createInstance(){this.triggerElement?this.popperInstance=(0,y.createPopper)(this.triggerElement,this.popoverContainer,{onFirstUpdate:()=>{this.isOpen&&this.handleCreatePopperFirstUpdate()},placement:this.placement,modifiers:[...y.defaultModifiers,p(),m(),b(),h(),{name:"preventOverflow",options:{padding:16}},{name:"offset",options:{offset:({placement:e,reference:t})=>"left"===e||"right"===e?[t.height+t.y+this.offsetDistance,x.KC]:[0,this.showArrow?x.KC+this.offsetDistance:this.offsetDistance]}},{name:"arrow",options:{element:this.popoverArrow,padding:x.KC}},{name:"computeStyles",options:{adaptive:!0}}]}):console.warn("No trigger element not creating popper instance")}destroyInstance(){this.popperInstance&&(this.popperInstance.destroy(),this.popperInstance=null)}updated(e){if(super.updated(e),e.has("isOpen")){const t=e.get("isOpen");this.isOpenUpdated(t,this.isOpen)}}isOpenUpdated(e,t){var i,s,o,r,n,a;e!==t&&(t?(this.createInstance(),this.dispatchPopoverIsOpenChanged(t),window.addEventListener("blur",this.onWindowBlurEvent),document.addEventListener("click",this.onOutsideOverlayClick),document.addEventListener("keydown",this.onOutsideOverlayKeydown),this.interactive&&(null===(i=this.activateFocusTrap)||void 0===i||i.call(this)),null===(s=this.triggerElement)||void 0===s||s.setAttribute("aria-expanded","true"),null===(o=this.popoverContainer)||void 0===o||o.setAttribute("data-show","")):(this.destroyInstance(),window.removeEventListener("blur",this.onWindowBlurEvent),document.removeEventListener("click",this.onOutsideOverlayClick),document.removeEventListener("keydown",this.onOutsideOverlayKeydown),this.dispatchPopoverIsOpenChanged(t),null===(r=this.deactivateFocusTrap)||void 0===r||r.call(this),null===(n=this.triggerElement)||void 0===n||n.removeAttribute("aria-expanded"),null===(a=this.popoverContainer)||void 0===a||a.removeAttribute("data-show")))}dispatchPopoverIsOpenChanged(e){this.dispatchEvent(new CustomEvent("popover-open-changed",{detail:{isOpen:e},composed:!0,bubbles:!0}))}render(){var e;return g.html`
1744
1743
  <div class="md-popover">
1745
1744
  <slot name="triggerElement" aria-expanded=${this.isOpen}></slot>
1746
1745
  <div
@@ -1834,7 +1833,7 @@
1834
1833
  </md-floating-modal-minimized>
1835
1834
  </div>`:h.nothing}
1836
1835
  `:h.nothing}
1837
- `}};u([(0,d.property)({type:String})],t.prototype,"heading",void 0),u([(0,d.property)({type:String})],t.prototype,"label",void 0),u([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"show",void 0),u([(0,d.property)({type:Boolean,reflect:!0,attribute:"aspect-ratio"})],t.prototype,"aspectRatio",void 0),u([(0,d.property)({type:Boolean,reflect:!0,attribute:"fixed-strategy"})],t.prototype,"fixed",void 0),u([(0,d.property)({type:Boolean,reflect:!0,attribute:"full-screen"})],t.prototype,"full",void 0),u([(0,d.property)({type:String,attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",void 0),u([(0,d.property)({type:String,attribute:"resize-aria-label"})],t.prototype,"resizeAriaLabel",void 0),u([(0,d.property)({type:String,attribute:"maximize-aria-label"})],t.prototype,"maximizeScreenLabel",void 0),u([(0,d.property)({type:String,attribute:"minimize-aria-label"})],t.prototype,"minimizeAriaLabel",void 0),u([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"minimize",void 0),u([(0,d.property)({type:Object})],t.prototype,"position",void 0),u([(0,d.property)({type:Object})],t.prototype,"minPosition",void 0),u([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"minimizable",void 0),u([(0,d.property)({type:Object})],t.prototype,"containerRect",void 0),u([(0,d.internalProperty)()],t.prototype,"dragOccured",void 0),u([(0,d.query)(".md-floating")],t.prototype,"container",void 0),u([(0,d.query)(".md-floating__body")],t.prototype,"body",void 0),u([(0,d.query)(".md-floating__header")],t.prototype,"header",void 0),u([(0,d.query)(".md-floating-min-parent")],t.prototype,"minimizedHeader",void 0),u([(0,d.query)('slot[name="header"]')],t.prototype,"headerSlot",void 0),t=u([(0,r.w)("md-floating-modal")],t),e.ELEMENT=t}(s||(s={}))},73679:e=>{e.exports=O},74896:(e,t,i)=>{i.d(t,{Alert:()=>s}),i(61200),i(19026);var s,o=i(31890),r=i(26272),n=i(41488),a=i(40333),l=i(23968),d=i(62798),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.closable=!1,this.message="",this.show=!1,this.internalClose=!0,this.title="",this.btnlabel="Close",this.type="default",this.inline=!1,this.newMomentum=!1,this.primaryButton="",this.primaryButtonVariant="primary",this.primaryButtonColor="",this.secondaryButton="",this.link=!1,this.showMore=!1,this.href="",this.hasFooterSlotContent=!1,this.renderIconTemplate=()=>{switch(this.type){case"error":return n.html`
1836
+ `}};u([(0,d.property)({type:String})],t.prototype,"heading",void 0),u([(0,d.property)({type:String})],t.prototype,"label",void 0),u([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"show",void 0),u([(0,d.property)({type:Boolean,reflect:!0,attribute:"aspect-ratio"})],t.prototype,"aspectRatio",void 0),u([(0,d.property)({type:Boolean,reflect:!0,attribute:"fixed-strategy"})],t.prototype,"fixed",void 0),u([(0,d.property)({type:Boolean,reflect:!0,attribute:"full-screen"})],t.prototype,"full",void 0),u([(0,d.property)({type:String,attribute:"close-aria-label"})],t.prototype,"closeAriaLabel",void 0),u([(0,d.property)({type:String,attribute:"resize-aria-label"})],t.prototype,"resizeAriaLabel",void 0),u([(0,d.property)({type:String,attribute:"maximize-aria-label"})],t.prototype,"maximizeScreenLabel",void 0),u([(0,d.property)({type:String,attribute:"minimize-aria-label"})],t.prototype,"minimizeAriaLabel",void 0),u([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"minimize",void 0),u([(0,d.property)({type:Object})],t.prototype,"position",void 0),u([(0,d.property)({type:Object})],t.prototype,"minPosition",void 0),u([(0,d.property)({type:Boolean,reflect:!0})],t.prototype,"minimizable",void 0),u([(0,d.property)({type:Object})],t.prototype,"containerRect",void 0),u([(0,d.internalProperty)()],t.prototype,"dragOccured",void 0),u([(0,d.query)(".md-floating")],t.prototype,"container",void 0),u([(0,d.query)(".md-floating__body")],t.prototype,"body",void 0),u([(0,d.query)(".md-floating__header")],t.prototype,"header",void 0),u([(0,d.query)(".md-floating-min-parent")],t.prototype,"minimizedHeader",void 0),u([(0,d.query)('slot[name="header"]')],t.prototype,"headerSlot",void 0),t=u([(0,r.w)("md-floating-modal")],t),e.ELEMENT=t}(s||(s={}))},73679:e=>{e.exports=b},74896:(e,t,i)=>{i.d(t,{Alert:()=>s}),i(61200),i(19026);var s,o=i(31890),r=i(26272),n=i(41488),a=i(40333),l=i(23968),d=i(62798),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.closable=!1,this.message="",this.show=!1,this.internalClose=!0,this.title="",this.btnlabel="Close",this.type="default",this.inline=!1,this.newMomentum=!1,this.primaryButton="",this.primaryButtonVariant="primary",this.primaryButtonColor="",this.secondaryButton="",this.link=!1,this.showMore=!1,this.href="",this.hasFooterSlotContent=!1,this.renderIconTemplate=()=>{switch(this.type){case"error":return n.html`
1838
1837
  <md-icon
1839
1838
  name="error-legacy-bold"
1840
1839
  size="${this.newMomentum?24:32}"
@@ -2141,7 +2140,7 @@
2141
2140
  />
2142
2141
  <label for="radio-label" class="md-radio-label" part="radio-label"><slot></slot></label>
2143
2142
  </div>
2144
- `}};h([(0,a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,a.property)({type:String})],t.prototype,"label",void 0),h([(0,a.property)({type:String})],t.prototype,"value",void 0),h([(0,a.property)({type:String})],t.prototype,"ariaLabel",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,a.property)({type:Boolean,attribute:!1})],t.prototype,"checked",null),t=h([(0,r.w)("md-radio")],t),e.ELEMENT=t}(s||(s={}))},81187:e=>{e.exports=f},83192:(e,t,i)=>{i.d(t,{Tooltip:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(23968),h=i(77251),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.message="",this.placement="auto",this.disabled=!1,this.opened=!1,this.slotContent=null,this._keyDownListener=e=>{this.handleKeyDown(e)},this._wheelListener=e=>{this.opened&&this.notifyTooltipDestroy()}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this._keyDownListener),window.addEventListener("wheel",this._wheelListener,{passive:!0})}disconnectedCallback(){this.notifyTooltipDisconnected(),super.disconnectedCallback(),document.removeEventListener("keydown",this._keyDownListener),window.removeEventListener("wheel",this._wheelListener)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.notifyTooltipCreate()}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.notifyTooltipDestroy()}openTooltip(){this.dispatchEvent(new CustomEvent("tooltip-create",{bubbles:!0,composed:!0,detail:Object.assign({placement:this.placement,reference:this.reference,popper:this.popper},!this.message&&{slotContent:this.slotContent})}))}notifyTooltipDisconnected(){document.dispatchEvent(new CustomEvent("tooltip-disconnected",{bubbles:!0,composed:!0,detail:{}}))}closeTooltip(){this.dispatchEvent(new CustomEvent("tooltip-destroy",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeMessage(){this.dispatchEvent(new CustomEvent("tooltip-message",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeSlotContent(e){this.dispatchEvent(new CustomEvent("tooltip-slot",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper,slotContent:e}}))}notifyTooltipCreate(){this.disabled||(this.opened=!0)}notifyTooltipDestroy(){this.disabled||(this.opened=!1)}handleKeyDown(e){e.code===o.Uz.Escape&&this.notifyTooltipDestroy()}handleSlotContentChange(e){const t=e.target;if(t){const e=t.assignedElements({flatten:!0});e.length&&(this.slotContent&&this.changeSlotContent(e),this.slotContent=e)}}updated(e){super.updated(e),e.has("opened")&&(this.opened?this.openTooltip():this.closeTooltip()),e.has("message")&&this.changeMessage()}get tooltipClassMap(){return{"md-tooltip--disabled":this.disabled}}render(){return l.html`
2143
+ `}};h([(0,a.property)({type:Number,reflect:!0})],t.prototype,"tabIndex",void 0),h([(0,a.property)({type:String})],t.prototype,"label",void 0),h([(0,a.property)({type:String})],t.prototype,"value",void 0),h([(0,a.property)({type:String})],t.prototype,"ariaLabel",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"autofocus",void 0),h([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"disabled",null),h([(0,a.property)({type:Boolean,attribute:!1})],t.prototype,"checked",null),t=h([(0,r.w)("md-radio")],t),e.ELEMENT=t}(s||(s={}))},81187:e=>{e.exports=_},83192:(e,t,i)=>{i.d(t,{Tooltip:()=>s});var s,o=i(90195),r=i(3001),n=i(31890),a=i(26272),l=i(41488),d=i(23968),h=i(77251),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,r.yC)(l.LitElement)){constructor(){super(...arguments),this.message="",this.placement="auto",this.disabled=!1,this.opened=!1,this.slotContent=null,this._keyDownListener=e=>{this.handleKeyDown(e)},this._wheelListener=e=>{this.opened&&this.notifyTooltipDestroy()}}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this._keyDownListener),window.addEventListener("wheel",this._wheelListener,{passive:!0})}disconnectedCallback(){this.notifyTooltipDisconnected(),super.disconnectedCallback(),document.removeEventListener("keydown",this._keyDownListener),window.removeEventListener("wheel",this._wheelListener)}handleFocusIn(e){super.handleFocusIn&&super.handleFocusIn(e),this.notifyTooltipCreate()}handleFocusOut(e){super.handleFocusOut&&super.handleFocusOut(e),this.notifyTooltipDestroy()}openTooltip(){this.dispatchEvent(new CustomEvent("tooltip-create",{bubbles:!0,composed:!0,detail:Object.assign({placement:this.placement,reference:this.reference,popper:this.popper},!this.message&&{slotContent:this.slotContent})}))}notifyTooltipDisconnected(){document.dispatchEvent(new CustomEvent("tooltip-disconnected",{bubbles:!0,composed:!0,detail:{}}))}closeTooltip(){this.dispatchEvent(new CustomEvent("tooltip-destroy",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeMessage(){this.dispatchEvent(new CustomEvent("tooltip-message",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper}}))}changeSlotContent(e){this.dispatchEvent(new CustomEvent("tooltip-slot",{bubbles:!0,composed:!0,detail:{placement:this.placement,reference:this.reference,popper:this.popper,slotContent:e}}))}notifyTooltipCreate(){this.disabled||(this.opened=!0)}notifyTooltipDestroy(){this.disabled||(this.opened=!1)}handleKeyDown(e){e.code===o.Uz.Escape&&this.notifyTooltipDestroy()}handleSlotContentChange(e){const t=e.target;if(t){const e=t.assignedElements({flatten:!0});e.length&&(this.slotContent&&this.changeSlotContent(e),this.slotContent=e)}}updated(e){super.updated(e),e.has("opened")&&(this.opened?this.openTooltip():this.closeTooltip()),e.has("message")&&this.changeMessage()}get tooltipClassMap(){return{"md-tooltip--disabled":this.disabled}}render(){return l.html`
2145
2144
  <div class="md-tooltip ${(0,d.classMap)(this.tooltipClassMap)}">
2146
2145
  <div class="md-tooltip__popper" role="tooltip" part="tooltip-popper">
2147
2146
  <div id="md-tooltip__content" class="md-tooltip__content" part="tooltip-content">
@@ -2169,7 +2168,7 @@
2169
2168
  <slot></slot>
2170
2169
  </ul>
2171
2170
  </nav>
2172
- `}};m([(0,h.property)({type:Boolean})],t.prototype,"justified",void 0),m([(0,h.property)({type:String})],t.prototype,"direction",void 0),m([(0,h.query)("slot")],t.prototype,"menuSlotElement",void 0),m([(0,h.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=m([(0,r.w)("md-menu")],t),e.ELEMENT=t}(s||(s={}))},84157:e=>{e.exports=k},84205:(e,t,i)=>{i.d(t,{PhoneInput:()=>s}),i(4928),i(96408);var s,o=i(31890),r=i(26272),n=i(13060),a=i(65875),l=i(860),d=i(41488),h=i(40333),c=i(23968),p=i(6963),u=i(77833),m=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends d.LitElement{constructor(){super(...arguments),this.codePlaceholder="+1",this.numberPlaceholder="Enter Phone Number",this.countryCallingCode="",this.showFlags=!1,this.pill=!1,this.disabled=!1,this.value="",this.errorMessage="",this.showErrorMessage=!1,this.clearIconHeight="auto",this.countryCodeAriaLabel="",this.dialNumberAriaLabel="",this.clearAriaLabel="Clear Input",this.clearCountryCodeAriaLabel="Clear Country Code",this.id="",this.newMomentum=!1,this.countryCode="US",this.codeList=[],this.formattedValue="",this.isValid=!0}connectedCallback(){super.connectedCallback(),this.codeList=(0,n.customArray)({name:"{countryNameEn}",value:"{countryCallingCode}",code:"{countryCode}"}),""===this.id&&(this.id=`md-phone-input-${Math.random().toString(36).substring(2,6)}`),this.validateInput(this.value)}getCountryFlag(e){return d.html`
2171
+ `}};m([(0,h.property)({type:Boolean})],t.prototype,"justified",void 0),m([(0,h.property)({type:String})],t.prototype,"direction",void 0),m([(0,h.query)("slot")],t.prototype,"menuSlotElement",void 0),m([(0,h.query)("md-menu-overlay")],t.prototype,"menuSubElement",void 0),t=m([(0,r.w)("md-menu")],t),e.ELEMENT=t}(s||(s={}))},84157:e=>{e.exports=p},84205:(e,t,i)=>{i.d(t,{PhoneInput:()=>s}),i(4928),i(96408);var s,o=i(31890),r=i(26272),n=i(13060),a=i(65875),l=i(860),d=i(41488),h=i(40333),c=i(23968),p=i(6963),u=i(77833),m=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends d.LitElement{constructor(){super(...arguments),this.codePlaceholder="+1",this.numberPlaceholder="Enter Phone Number",this.countryCallingCode="",this.showFlags=!1,this.pill=!1,this.disabled=!1,this.value="",this.errorMessage="",this.showErrorMessage=!1,this.clearIconHeight="auto",this.countryCodeAriaLabel="",this.dialNumberAriaLabel="",this.clearAriaLabel="Clear Input",this.clearCountryCodeAriaLabel="Clear Country Code",this.id="",this.newMomentum=!1,this.countryCode="US",this.codeList=[],this.formattedValue="",this.isValid=!0}connectedCallback(){super.connectedCallback(),this.codeList=(0,n.customArray)({name:"{countryNameEn}",value:"{countryCallingCode}",code:"{countryCode}"}),""===this.id&&(this.id=`md-phone-input-${Math.random().toString(36).substring(2,6)}`),this.validateInput(this.value)}getCountryFlag(e){return d.html`
2173
2172
  <span class="flag-svg-wrapper">
2174
2173
  <img src="${(0,a.findFlagUrlByIso2Code)(e)}" />
2175
2174
  </span>
@@ -2239,7 +2238,7 @@
2239
2238
  .messageArr="${!this.isValid||this.showErrorMessage?[{type:"error",id:this.id,ariaLive:"polite",message:this.errorMessage}]:[]}"
2240
2239
  ></md-input>
2241
2240
  </div>
2242
- `}};m([(0,d.property)({type:String,reflect:!0})],t.prototype,"codePlaceholder",void 0),m([(0,d.property)({type:String})],t.prototype,"numberPlaceholder",void 0),m([(0,d.property)({type:String,attribute:"country-calling-code"})],t.prototype,"countryCallingCode",void 0),m([(0,d.property)({type:Boolean,attribute:"show-flags"})],t.prototype,"showFlags",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"pill",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"disabled",void 0),m([(0,d.property)({type:String})],t.prototype,"value",void 0),m([(0,d.property)({type:String})],t.prototype,"errorMessage",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"showErrorMessage",void 0),m([(0,d.property)({type:String,attribute:"clear-icon-height"})],t.prototype,"clearIconHeight",void 0),m([(0,d.property)({type:String})],t.prototype,"countryCodeAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"dialNumberAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"clearAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"clearCountryCodeAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"id",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"newMomentum",void 0),m([(0,d.internalProperty)()],t.prototype,"countryCode",void 0),m([(0,d.internalProperty)()],t.prototype,"codeList",void 0),m([(0,d.internalProperty)()],t.prototype,"formattedValue",void 0),m([(0,d.internalProperty)()],t.prototype,"isValid",void 0),m([(0,d.query)("md-combobox")],t.prototype,"combobox",void 0),t=m([(0,o.w)("md-phone-input")],t),e.ELEMENT=t}(s||(s={}))},85314:e=>{e.exports=P},85416:(e,t,i)=>{i.d(t,{DateTimePicker:()=>s}),i(96408),i(11323);var s,o=i(31890),r=i(81625),n=i(26272),a=i(41488),l=i(97822),d=i(65796),h=i(90195),c=i(33663),p=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends a.LitElement{constructor(){super(...arguments),this.maxDate=void 0,this.minDate=void 0,this.weekStart="Sunday",this.ariaLabel="",this.twoDigitAutoTab=!1,this.twentyFourHourFormat=!1,this.timeSpecificity=h.R5.SECOND,this.dateValue=void 0,this.timeValue="00:00:00-08:00",this.value=void 0,this.locale="en-US",this.disabled=!1,this.fullDateTime=void 0,this.selectedTimeObject=void 0,this.selectedDateObject=(0,r.tB)(),this.firstCycle=!0,this.handleDateChange=e=>{var t,i;this.selectedDateObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.dateValue=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate(),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleTimeChange=e=>{var t,i;this.selectedTimeObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.timeValue=null===(i=this.selectedTimeObject)||void 0===i?void 0:i.startOf("second").toISOTime({suppressMilliseconds:!0}),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleDateTimeInputChange=e=>{var t;this.value=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.value},this.parseValueForVisuals=e=>{e&&(this.dateValue=e.split("T")[0],this.timeValue=e.split("T")[1])},this.updateDateTimeObject=()=>{this.value?this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}):this.fullDateTime=d.DateTime.fromISO("",{locale:this.locale}),this.dispatchEvent(new CustomEvent("date-time-change",{bubbles:!0,composed:!0,detail:{dateTimeString:this.value,dateTime:this.fullDateTime,locale:this.locale,twentyFourHourFormat:this.twentyFourHourFormat}}))},this.combineDateAndTimeValues=(e,t)=>{e&&(this.value=t?`${e}T${t}`:e)}}firstUpdated(e){var t;if(super.firstUpdated(e),!this.value){const e=null===(t=this.selectedDateObject)||void 0===t?void 0:t.toISODate();this.combineDateAndTimeValues(e,this.timeValue)}(()=>{var e,t,i,s;e=this,t=void 0,s=function*(){yield new Promise((e=>setTimeout(e,0))),this.addEventListeners()},new((i=void 0)||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))})()}addEventListeners(){this.datePicker&&(this.datePicker.addEventListener("date-selection-change",this.handleDateChange),this.datePicker.addEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.addEventListener("time-selection-change",this.handleTimeChange)}updated(e){super.updated(e),e.has("value")&&(this.value&&this.parseValueForVisuals(this.value),this.firstCycle?this.firstCycle=!1:this.updateDateTimeObject()),this.dateValue&&this.timeValue&&(e.has("timeValue")||e.has("dateValue"))&&this.combineDateAndTimeValues(this.dateValue,this.timeValue),this.value&&e.has("locale")&&(this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}))}disconnectedCallback(){this.datePicker&&(this.datePicker.removeEventListener("date-selection-change",this.handleDateChange),this.datePicker.removeEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.removeEventListener("time-selection-change",this.handleTimeChange)}static get styles(){return[n.A,c.A]}render(){var e;return a.html`
2241
+ `}};m([(0,d.property)({type:String,reflect:!0})],t.prototype,"codePlaceholder",void 0),m([(0,d.property)({type:String})],t.prototype,"numberPlaceholder",void 0),m([(0,d.property)({type:String,attribute:"country-calling-code"})],t.prototype,"countryCallingCode",void 0),m([(0,d.property)({type:Boolean,attribute:"show-flags"})],t.prototype,"showFlags",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"pill",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"disabled",void 0),m([(0,d.property)({type:String})],t.prototype,"value",void 0),m([(0,d.property)({type:String})],t.prototype,"errorMessage",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"showErrorMessage",void 0),m([(0,d.property)({type:String,attribute:"clear-icon-height"})],t.prototype,"clearIconHeight",void 0),m([(0,d.property)({type:String})],t.prototype,"countryCodeAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"dialNumberAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"clearAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"clearCountryCodeAriaLabel",void 0),m([(0,d.property)({type:String})],t.prototype,"id",void 0),m([(0,d.property)({type:Boolean})],t.prototype,"newMomentum",void 0),m([(0,d.internalProperty)()],t.prototype,"countryCode",void 0),m([(0,d.internalProperty)()],t.prototype,"codeList",void 0),m([(0,d.internalProperty)()],t.prototype,"formattedValue",void 0),m([(0,d.internalProperty)()],t.prototype,"isValid",void 0),m([(0,d.query)("md-combobox")],t.prototype,"combobox",void 0),t=m([(0,o.w)("md-phone-input")],t),e.ELEMENT=t}(s||(s={}))},85314:e=>{e.exports=f},85416:(e,t,i)=>{i.d(t,{DateTimePicker:()=>s}),i(96408),i(11323);var s,o=i(31890),r=i(81625),n=i(26272),a=i(41488),l=i(97822),d=i(65796),h=i(90195),c=i(33663),p=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends a.LitElement{constructor(){super(...arguments),this.maxDate=void 0,this.minDate=void 0,this.weekStart="Sunday",this.ariaLabel="",this.twoDigitAutoTab=!1,this.twentyFourHourFormat=!1,this.timeSpecificity=h.R5.SECOND,this.dateValue=void 0,this.timeValue="00:00:00-08:00",this.value=void 0,this.locale="en-US",this.disabled=!1,this.fullDateTime=void 0,this.selectedTimeObject=void 0,this.selectedDateObject=(0,r.tB)(),this.firstCycle=!0,this.handleDateChange=e=>{var t,i;this.selectedDateObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.dateValue=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate(),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleTimeChange=e=>{var t,i;this.selectedTimeObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.timeValue=null===(i=this.selectedTimeObject)||void 0===i?void 0:i.startOf("second").toISOTime({suppressMilliseconds:!0}),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleDateTimeInputChange=e=>{var t;this.value=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.value},this.parseValueForVisuals=e=>{e&&(this.dateValue=e.split("T")[0],this.timeValue=e.split("T")[1])},this.updateDateTimeObject=()=>{this.value?this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}):this.fullDateTime=d.DateTime.fromISO("",{locale:this.locale}),this.dispatchEvent(new CustomEvent("date-time-change",{bubbles:!0,composed:!0,detail:{dateTimeString:this.value,dateTime:this.fullDateTime,locale:this.locale,twentyFourHourFormat:this.twentyFourHourFormat}}))},this.combineDateAndTimeValues=(e,t)=>{e&&(this.value=t?`${e}T${t}`:e)}}firstUpdated(e){var t;if(super.firstUpdated(e),!this.value){const e=null===(t=this.selectedDateObject)||void 0===t?void 0:t.toISODate();this.combineDateAndTimeValues(e,this.timeValue)}(()=>{var e,t,i,s;e=this,t=void 0,s=function*(){yield new Promise((e=>setTimeout(e,0))),this.addEventListeners()},new((i=void 0)||(i=Promise))((function(o,r){function n(e){try{l(s.next(e))}catch(e){r(e)}}function a(e){try{l(s.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(n,a)}l((s=s.apply(e,t||[])).next())}))})()}addEventListeners(){this.datePicker&&(this.datePicker.addEventListener("date-selection-change",this.handleDateChange),this.datePicker.addEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.addEventListener("time-selection-change",this.handleTimeChange)}updated(e){super.updated(e),e.has("value")&&(this.value&&this.parseValueForVisuals(this.value),this.firstCycle?this.firstCycle=!1:this.updateDateTimeObject()),this.dateValue&&this.timeValue&&(e.has("timeValue")||e.has("dateValue"))&&this.combineDateAndTimeValues(this.dateValue,this.timeValue),this.value&&e.has("locale")&&(this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}))}disconnectedCallback(){this.datePicker&&(this.datePicker.removeEventListener("date-selection-change",this.handleDateChange),this.datePicker.removeEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.removeEventListener("time-selection-change",this.handleTimeChange)}static get styles(){return[n.A,c.A]}render(){var e;return a.html`
2243
2242
  <md-datepicker
2244
2243
  includes-time
2245
2244
  ?disabled=${this.disabled}
@@ -2343,7 +2342,7 @@
2343
2342
  ${this.renderChatCount()}
2344
2343
  </div>
2345
2344
  </div>
2346
- `}};h([(0,n.property)({type:String})],t.prototype,"mediaType",void 0),h([(0,n.property)({type:String})],t.prototype,"status",void 0),h([(0,n.property)({type:String})],t.prototype,"popovertitle",void 0),h([(0,n.property)({type:String})],t.prototype,"queue",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"accepted",void 0),h([(0,n.property)({type:Number})],t.prototype,"quantity",void 0),h([(0,n.property)({type:String})],t.prototype,"lastmessage",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"selected",void 0),h([(0,n.property)({type:String})],t.prototype,"customAriaLabel",void 0),h([(0,n.property)({type:String})],t.prototype,"iconSrc",void 0),h([(0,n.property)({type:String})],t.prototype,"tabIndexForContainer",void 0),h([(0,n.property)({type:String,reflect:!0})],t.prototype,"title",null),h([(0,n.property)({type:String,reflect:!0,attribute:"item-title"})],t.prototype,"itemTitle",null),t=h([(0,o.w)("md-task-item")],t),e.ELEMENT=t}(s||(s={}))},86635:e=>{e.exports=x},87344:e=>{e.exports=v},88069:e=>{e.exports=g},90195:(e,t,i)=>{var s,o,r,n;i.d(t,{R5:()=>o,Uz:()=>s,iw:()=>n}),function(e){e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.ArrowUp="ArrowUp",e.Backspace="Backspace",e.Delete="Delete",e.End="End",e.Enter="Enter",e.Escape="Escape",e.Home="Home",e.Space="Space",e.Tab="Tab",e.Digit1="Digit1",e.Digit2="Digit2",e.Digit3="Digit3",e.Digit4="Digit4",e.Digit5="Digit5",e.Digit6="Digit6",e.Digit7="Digit7",e.Digit8="Digit8",e.Digit9="Digit9",e.NumpadEnter="NumpadEnter"}(s||(s={})),function(e){e.HOUR="hour",e.MINUTE="minute",e.SECOND="second",e.AM_PM="am_pm"}(o||(o={})),function(e){e.GRAMMAR="grammar",e.FALSE="false",e.SPELLING="spelling",e.TRUE="true"}(r||(r={})),function(e){e.AriaActivedescendant="aria-activedescendant"}(n||(n={}))},90827:(e,t,i)=>{i.d(t,{CardV2:()=>o}),i(96798),i(61200),i(83192);var s,o,r=i(31890),n=i(26272),a=i(41488),l=i(40333),d=i(23968),h=i(52759),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.DEFAULT="default",e.ACTIVE="active",e.INACTIVE="inactive"}(s||(s={})),function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.state=s.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.expandable=!1}connectedCallback(){super.connectedCallback()}static get styles(){return[n.A,h.A]}get isActive(){return this.state===s.ACTIVE}expandCardToggled(){var e;this.state=this.isActive?s.DEFAULT:s.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(e=this.identifier)&&void 0!==e?e:"",active:this.isActive},bubbles:!0,composed:!0}))}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===s.INACTIVE}}get footerClassMap(){return{"md-card-v2-footer":!0,hidden:!this.expandable}}renderHeader(){return a.html`
2345
+ `}};h([(0,n.property)({type:String})],t.prototype,"mediaType",void 0),h([(0,n.property)({type:String})],t.prototype,"status",void 0),h([(0,n.property)({type:String})],t.prototype,"popovertitle",void 0),h([(0,n.property)({type:String})],t.prototype,"queue",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"accepted",void 0),h([(0,n.property)({type:Number})],t.prototype,"quantity",void 0),h([(0,n.property)({type:String})],t.prototype,"lastmessage",void 0),h([(0,n.property)({type:Boolean})],t.prototype,"selected",void 0),h([(0,n.property)({type:String})],t.prototype,"customAriaLabel",void 0),h([(0,n.property)({type:String})],t.prototype,"iconSrc",void 0),h([(0,n.property)({type:String})],t.prototype,"tabIndexForContainer",void 0),h([(0,n.property)({type:String,reflect:!0})],t.prototype,"title",null),h([(0,n.property)({type:String,reflect:!0,attribute:"item-title"})],t.prototype,"itemTitle",null),t=h([(0,o.w)("md-task-item")],t),e.ELEMENT=t}(s||(s={}))},86635:e=>{e.exports=a},87344:e=>{e.exports=V},88069:e=>{e.exports=F},90195:(e,t,i)=>{var s,o,r,n;i.d(t,{R5:()=>o,Uz:()=>s,iw:()=>n}),function(e){e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.ArrowUp="ArrowUp",e.Backspace="Backspace",e.Delete="Delete",e.End="End",e.Enter="Enter",e.Escape="Escape",e.Home="Home",e.Space="Space",e.Tab="Tab",e.Digit1="Digit1",e.Digit2="Digit2",e.Digit3="Digit3",e.Digit4="Digit4",e.Digit5="Digit5",e.Digit6="Digit6",e.Digit7="Digit7",e.Digit8="Digit8",e.Digit9="Digit9",e.NumpadEnter="NumpadEnter"}(s||(s={})),function(e){e.HOUR="hour",e.MINUTE="minute",e.SECOND="second",e.AM_PM="am_pm"}(o||(o={})),function(e){e.GRAMMAR="grammar",e.FALSE="false",e.SPELLING="spelling",e.TRUE="true"}(r||(r={})),function(e){e.AriaActivedescendant="aria-activedescendant"}(n||(n={}))},90827:(e,t,i)=>{i.d(t,{CardV2:()=>o}),i(96798),i(61200),i(83192);var s,o,r=i(31890),n=i(26272),a=i(41488),l=i(40333),d=i(23968),h=i(52759),c=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){e.DEFAULT="default",e.ACTIVE="active",e.INACTIVE="inactive"}(s||(s={})),function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.state=s.DEFAULT,this.identifier=void 0,this.header=void 0,this.info=void 0,this.data=void 0,this.expandable=!1}connectedCallback(){super.connectedCallback()}static get styles(){return[n.A,h.A]}get isActive(){return this.state===s.ACTIVE}expandCardToggled(){var e;this.state=this.isActive?s.DEFAULT:s.ACTIVE,this.dispatchEvent(new CustomEvent("expand-card-toggled",{detail:{identifier:null!==(e=this.identifier)&&void 0!==e?e:"",active:this.isActive},bubbles:!0,composed:!0}))}get cardClassMap(){return{"md-card-v2":!0,[`md-card--${this.state}`]:!0}}get contentClassMap(){return{"md-card-v2-content":!0,inactive:this.state===s.INACTIVE}}get footerClassMap(){return{"md-card-v2-footer":!0,hidden:!this.expandable}}renderHeader(){return a.html`
2347
2346
  <div class="md-card-v2-header-title">
2348
2347
  <h3>${this.header}</h3>
2349
2348
  ${this.info?a.html`
@@ -2374,7 +2373,7 @@
2374
2373
  </div>
2375
2374
  ${this.renderFooter()}
2376
2375
  </div>
2377
- `}};c([(0,a.property)({type:String})],t.prototype,"state",void 0),c([(0,a.property)({type:String})],t.prototype,"identifier",void 0),c([(0,a.property)({type:String})],t.prototype,"header",void 0),c([(0,a.property)({type:String})],t.prototype,"info",void 0),c([(0,a.property)({type:String})],t.prototype,"data",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"expandable",void 0),t=c([(0,r.w)("md-card-v2")],t),e.ELEMENT=t}(o||(o={}))},92033:e=>{e.exports=p},92992:(e,t,i)=>{i.d(t,{Breadcrumb:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(97822),l=i(22818),d=i(46441),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[r.A,d.A]}setLastAnchorCurrent(){var e;(null===(e=this.anchors)||void 0===e?void 0:e.length)&&this.anchors[this.anchors.length-1].setAttribute("aria-current","page")}firstUpdated(e){super.firstUpdated(e),this.setLastAnchorCurrent()}update(e){super.update(e),e.has("navCrumbs")&&this.setLastAnchorCurrent()}handleClick(e){var t;const i=e.target;if(null===(t=this.anchors)||void 0===t?void 0:t.length){const e=Array.from(this.anchors).indexOf(i);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return n.html`
2376
+ `}};c([(0,a.property)({type:String})],t.prototype,"state",void 0),c([(0,a.property)({type:String})],t.prototype,"identifier",void 0),c([(0,a.property)({type:String})],t.prototype,"header",void 0),c([(0,a.property)({type:String})],t.prototype,"info",void 0),c([(0,a.property)({type:String})],t.prototype,"data",void 0),c([(0,a.property)({type:Boolean})],t.prototype,"expandable",void 0),t=c([(0,r.w)("md-card-v2")],t),e.ELEMENT=t}(o||(o={}))},92033:e=>{e.exports=U},92992:(e,t,i)=>{i.d(t,{Breadcrumb:()=>s});var s,o=i(31890),r=i(26272),n=i(41488),a=i(97822),l=i(22818),d=i(46441),h=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends n.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[r.A,d.A]}setLastAnchorCurrent(){var e;(null===(e=this.anchors)||void 0===e?void 0:e.length)&&this.anchors[this.anchors.length-1].setAttribute("aria-current","page")}firstUpdated(e){super.firstUpdated(e),this.setLastAnchorCurrent()}update(e){super.update(e),e.has("navCrumbs")&&this.setLastAnchorCurrent()}handleClick(e){var t;const i=e.target;if(null===(t=this.anchors)||void 0===t?void 0:t.length){const e=Array.from(this.anchors).indexOf(i);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return n.html`
2378
2377
  <nav aria-label="${(0,a.ifDefined)(this.label?this.label:void 0)}" class="md-breadcrumb">
2379
2378
  <ul @click=${e=>this.handleClick(e)}>
2380
2379
  ${(0,l.repeat)(this.navCrumbs,(e=>e.link),(e=>n.html`
@@ -2622,7 +2621,7 @@
2622
2621
  <div part="button-label" class="md-button__label">${this.label}</div>
2623
2622
  </div>
2624
2623
  `:l.html` ${this.buttonTemplate(this.tag)} `}
2625
- `}};u([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"active",null),u([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],t.prototype,"tabIndex",null),u([(0,l.property)({type:String})],t.prototype,"ariaLabel",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaLabelledBy",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaLive",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaExpanded",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaHaspopup",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaPressed",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"circle",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"rounded",void 0),u([(0,l.property)({type:String})],t.prototype,"color",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"containerLarge",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"disabled",void 0),u([(0,l.property)({type:String})],t.prototype,"href",void 0),u([(0,l.property)({type:String})],t.prototype,"id",void 0),u([(0,l.property)({type:String})],t.prototype,"value",void 0),u([(0,l.property)({type:String})],t.prototype,"keyboardKey",void 0),u([(0,l.property)({type:String})],t.prototype,"label",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"loading",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"outline",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"hasRemoveStyle",void 0),u([(0,l.property)({type:String})],t.prototype,"size",void 0),u([(0,l.property)({type:String})],t.prototype,"tag",void 0),u([(0,l.property)({type:String})],t.prototype,"type",void 0),u([(0,l.property)({type:String})],t.prototype,"role",void 0),u([(0,l.property)({type:String})],t.prototype,"variant",void 0),u([(0,l.property)({type:String})],t.prototype,"width",void 0),u([(0,l.property)({type:String})],t.prototype,"maxWidth",void 0),u([(0,l.property)({type:String})],t.prototype,"activityType",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"iconActive",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"isActive",void 0),u([(0,l.property)({attribute:!1})],t.prototype,"clickFunction",void 0),u([(0,l.property)({type:Boolean,attribute:"is-placeholder-text"})],t.prototype,"isPlaceholderText",void 0),u([(0,l.query)(".md-button")],t.prototype,"button",void 0),t=u([(0,r.w)("md-button")],t),e.ELEMENT=t}(s||(s={}))},97737:(e,t,i)=>{i.d(t,{TabPanel:()=>s});var s,o=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(30076),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.yC)(a.LitElement)){constructor(){super(...arguments),this.selected=!1,this.name="",this.focusablePanel="true"}static get styles(){return[n.A,l.A]}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","tabpanel"),"true"===this.focusablePanel&&this.setAttribute("tabindex","0")}render(){return a.html` <slot></slot> `}};d([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),d([(0,a.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),d([(0,a.property)({type:String,attribute:"focusable-panel"})],t.prototype,"focusablePanel",void 0),t=d([(0,r.w)("md-tab-panel")],t),e.ELEMENT=t}(s||(s={}))},97822:e=>{e.exports=o},97866:(e,t,i)=>{i.d(t,{Form:()=>s});var s,o=i(3001),r=i(41488),n=i(97822),a=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.TS)(r.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="get",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=e=>{e.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=e=>{this.allowRedirect||e.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}get formMethod(){return"GET"===this.method?"get":"POST"===this.method?"post":this.method}isSubmittable(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement}isDisabled(e){return e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}findSubmittable(e,t){const i=Array.from(e.children);for(const e of i)if(!this.isDisabled(e))if(this.isSubmittable(e)&&t.add(e),e.shadowRoot)this.findSubmittable(e.shadowRoot,t);else if("SLOT"===e.tagName){const i=e.assignedElements();if(i.length){const{parentElement:e}=i[0];e&&this.findSubmittable(e,t)}}else this.findSubmittable(e,t);return[...t]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:e}=this;e.requestSubmit?e.requestSubmit():e.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(e){e.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:e}=this;if(e.length)for(const t of e)this.deleteWrappedForm(t);this.formElement=[]}createWrappedForm(e){const t=document.createElement("form");t.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=e;e.autocomplete=this.token,e.id||(e.id=this.autofillname),e.name||(e.name=this.autofillname),i&&(this.formElement.push(t),i.insertBefore(t,e),t.append(e))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const e=this.findSubmittable(this.form,new Set);if(e.length)for(const t of e)this.createWrappedForm(t)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return r.html`
2624
+ `}};u([(0,l.property)({type:Boolean,reflect:!0})],t.prototype,"active",null),u([(0,l.property)({type:Number,attribute:"tab-index",reflect:!0})],t.prototype,"tabIndex",null),u([(0,l.property)({type:String})],t.prototype,"ariaLabel",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaLabelledBy",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaLive",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaExpanded",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaHaspopup",void 0),u([(0,l.property)({type:String})],t.prototype,"ariaPressed",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"circle",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"rounded",void 0),u([(0,l.property)({type:String})],t.prototype,"color",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"containerLarge",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"disabled",void 0),u([(0,l.property)({type:String})],t.prototype,"href",void 0),u([(0,l.property)({type:String})],t.prototype,"id",void 0),u([(0,l.property)({type:String})],t.prototype,"value",void 0),u([(0,l.property)({type:String})],t.prototype,"keyboardKey",void 0),u([(0,l.property)({type:String})],t.prototype,"label",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"loading",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"outline",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"hasRemoveStyle",void 0),u([(0,l.property)({type:String})],t.prototype,"size",void 0),u([(0,l.property)({type:String})],t.prototype,"tag",void 0),u([(0,l.property)({type:String})],t.prototype,"type",void 0),u([(0,l.property)({type:String})],t.prototype,"role",void 0),u([(0,l.property)({type:String})],t.prototype,"variant",void 0),u([(0,l.property)({type:String})],t.prototype,"width",void 0),u([(0,l.property)({type:String})],t.prototype,"maxWidth",void 0),u([(0,l.property)({type:String})],t.prototype,"activityType",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"iconActive",void 0),u([(0,l.property)({type:Boolean})],t.prototype,"isActive",void 0),u([(0,l.property)({attribute:!1})],t.prototype,"clickFunction",void 0),u([(0,l.property)({type:Boolean,attribute:"is-placeholder-text"})],t.prototype,"isPlaceholderText",void 0),u([(0,l.query)(".md-button")],t.prototype,"button",void 0),t=u([(0,r.w)("md-button")],t),e.ELEMENT=t}(s||(s={}))},97737:(e,t,i)=>{i.d(t,{TabPanel:()=>s});var s,o=i(3001),r=i(31890),n=i(26272),a=i(41488),l=i(30076),d=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.yC)(a.LitElement)){constructor(){super(...arguments),this.selected=!1,this.name="",this.focusablePanel="true"}static get styles(){return[n.A,l.A]}connectedCallback(){super.connectedCallback(),this.setAttribute("role","tabpanel")}firstUpdated(e){super.firstUpdated(e),"true"===this.focusablePanel&&this.setAttribute("tabindex","0")}render(){return a.html` <slot></slot> `}};d([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"selected",void 0),d([(0,a.property)({type:String,attribute:"name"})],t.prototype,"name",void 0),d([(0,a.property)({type:String,attribute:"focusable-panel"})],t.prototype,"focusablePanel",void 0),t=d([(0,r.w)("md-tab-panel")],t),e.ELEMENT=t}(s||(s={}))},97822:e=>{e.exports=o},97866:(e,t,i)=>{i.d(t,{Form:()=>s});var s,o=i(3001),r=i(41488),n=i(97822),a=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends((0,o.TS)(r.LitElement)){constructor(){super(...arguments),this.rel="",this.name="",this.action="",this.label="",this.method="get",this.target="_self",this.enctype="application/x-www-form-urlencoded",this.novalidate=!1,this.charset="UTF-8",this.isvalid=!1,this.token="on",this.allowRedirect=!1,this.autofillname="input-name",this.formElement=[],this.handleSubmit=e=>{e.preventDefault(),this.validated()&&this.submitForm()},this.handleFormSubmit=e=>{this.allowRedirect||e.preventDefault(),this.dispatchEvent(new CustomEvent("form-submitted",{composed:!0,bubbles:!0}))}}get formMethod(){return"GET"===this.method?"get":"POST"===this.method?"post":this.method}isSubmittable(e){return e instanceof HTMLInputElement||e instanceof HTMLSelectElement||e instanceof HTMLTextAreaElement}isDisabled(e){return e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}findSubmittable(e,t){const i=Array.from(e.children);for(const e of i)if(!this.isDisabled(e))if(this.isSubmittable(e)&&t.add(e),e.shadowRoot)this.findSubmittable(e.shadowRoot,t);else if("SLOT"===e.tagName){const i=e.assignedElements();if(i.length){const{parentElement:e}=i[0];e&&this.findSubmittable(e,t)}}else this.findSubmittable(e,t);return[...t]}validated(){return!!this.novalidate||this.isvalid}submitForm(){const{form:e}=this;e.requestSubmit?e.requestSubmit():e.submit()}get submitButton(){return this.querySelector("button[type='submit']")||this.querySelector("input[type='submit']")||this.querySelector("md-button[type='submit']")}disconnectedCallback(){super.disconnectedCallback(),this.cleanupWrappedForms(),this.teardownEvents()}deleteWrappedForm(e){e.removeEventListener("submit",this.handleFormSubmit)}cleanupWrappedForms(){const{formElement:e}=this;if(e.length)for(const t of e)this.deleteWrappedForm(t);this.formElement=[]}createWrappedForm(e){const t=document.createElement("form");t.addEventListener("submit",this.handleFormSubmit);const{parentNode:i}=e;e.autocomplete=this.token,e.id||(e.id=this.autofillname),e.name||(e.name=this.autofillname),i&&(this.formElement.push(t),i.insertBefore(t,e),t.append(e))}teardownEvents(){this.submitButton&&this.submitButton.removeEventListener("click",this.handleSubmit)}setupEvents(){this.submitButton&&this.submitButton.addEventListener("click",this.handleSubmit)}setupSubmittable(){const e=this.findSubmittable(this.form,new Set);if(e.length)for(const t of e)this.createWrappedForm(t)}slottedChanged(){this.setupSubmittable(),this.setupEvents()}render(){return r.html`
2626
2625
  <form
2627
2626
  class="md-form"
2628
2627
  role="form"
@@ -2695,4 +2694,4 @@
2695
2694
  size="16"
2696
2695
  ></md-icon>
2697
2696
  </label>
2698
- `}};p([(0,l.property)({type:Boolean})],t.prototype,"disabled",void 0),p([(0,l.property)({type:Boolean})],t.prototype,"checked",void 0),p([(0,l.property)({type:String})],t.prototype,"value",void 0),p([(0,l.property)({type:String})],t.prototype,"id",void 0),p([(0,l.property)({type:String})],t.prototype,"label",void 0),p([(0,l.internalProperty)()],t.prototype,"customId",void 0),t=p([(0,n.w)("md-favorite")],t),e.ELEMENT=t}(s||(s={}))}},te={};function ie(e){var t=te[e];if(void 0!==t)return t.exports;var i=te[e]={exports:{}};return ee[e].call(i.exports,i,i.exports,ie),i.exports}ie.m=ee,Y=[],ie.O=(e,t,i,s)=>{if(!t){var o=1/0;for(l=0;l<Y.length;l++){for(var[t,i,s]=Y[l],r=!0,n=0;n<t.length;n++)(!1&s||o>=s)&&Object.keys(ie.O).every((e=>ie.O[e](t[n])))?t.splice(n--,1):(r=!1,s<o&&(o=s));if(r){Y.splice(l--,1);var a=i();void 0!==a&&(e=a)}}return e}s=s||0;for(var l=Y.length;l>0&&Y[l-1][2]>s;l--)Y[l]=Y[l-1];Y[l]=[t,i,s]},ie.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return ie.d(t,{a:t}),t},Q=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,ie.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);ie.r(i);var s={};X=X||[null,Q({}),Q([]),Q(Q)];for(var o=2&t&&e;"object"==typeof o&&!~X.indexOf(o);o=Q(o))Object.getOwnPropertyNames(o).forEach((t=>s[t]=()=>e[t]));return s.default=()=>e,ie.d(i,s),i},ie.d=(e,t)=>{for(var i in t)ie.o(t,i)&&!ie.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},ie.f={},ie.e=e=>Promise.all(Object.keys(ie.f).reduce(((t,i)=>(ie.f[i](e,t),t)),[])),ie.u=e=>"chunks/md-"+e+".js",ie.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),ie.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Z={},J="@momentum-ui/web-components:",ie.l=(e,t,i,s)=>{if(Z[e])Z[e].push(t);else{var o,r;if(void 0!==i)for(var n=document.getElementsByTagName("script"),a=0;a<n.length;a++){var l=n[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==J+i){o=l;break}}o||(r=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,ie.nc&&o.setAttribute("nonce",ie.nc),o.setAttribute("data-webpack",J+i),o.src=e),Z[e]=[t];var d=(t,i)=>{o.onerror=o.onload=null,clearTimeout(h);var s=Z[e];if(delete Z[e],o.parentNode&&o.parentNode.removeChild(o),s&&s.forEach((e=>e(i))),t)return t(i)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),r&&document.head.appendChild(o)}},ie.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},ie.p="/",(()=>{var e={109:0,144:0,195:0,445:0,502:0,555:0,671:0,762:0,984:0,1037:0,1200:0,1266:0,1323:0,1439:0,1459:0,1462:0,1521:0,1528:0,1682:0,1745:0,1788:0,1807:0,2105:0,2139:0,2169:0,2176:0,2330:0,2434:0,2547:0,2576:0,2779:0,2781:0,2909:0,3001:0,3079:0,3192:0,3413:0,3539:0,3747:0,3938:0,3943:0,4131:0,4139:0,4259:0,4545:0,4908:0,4928:0,4971:0,5156:0,5310:0,5369:0,5382:0,5433:0,5517:0,6029:0,6060:0,6085:0,6132:0,6220:0,6396:0,6408:0,6433:0,6494:0,6587:0,6652:0,6677:0,6724:0,6754:0,6798:0,6834:0,6920:0,7145:0,7219:0,7455:0,7684:0,7711:0,7719:0,7763:0,7814:0,7927:0,8028:0,8111:0,8115:0,8220:0,8334:0,8339:0,8442:0,8510:0,8654:0,8894:0,9058:0,9237:0,9788:0};ie.f.j=(t,i)=>{var s=ie.o(e,t)?e[t]:void 0;if(0!==s)if(s)i.push(s[2]);else{var o=new Promise(((i,o)=>s=e[t]=[i,o]));i.push(s[2]=o);var r=ie.p+ie.u(t),n=new Error;ie.l(r,(i=>{if(ie.o(e,t)&&(0!==(s=e[t])&&(e[t]=void 0),s)){var o=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+r+")",n.name="ChunkLoadError",n.type=o,n.request=r,s[1](n)}}),"chunk-"+t,t)}},ie.O.j=t=>0===e[t];var t=(t,i)=>{var s,o,[r,n,a]=i,l=0;if(r.some((t=>0!==e[t]))){for(s in n)ie.o(n,s)&&(ie.m[s]=n[s]);if(a)var d=a(ie)}for(t&&t(i);l<r.length;l++)o=r[l],ie.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return ie.O(d)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var se=ie.O(void 0,[4367,7103,1890,6272,6325,6875,6248,8889,8210,3135,1598,4977,1572,6366,7251,4974,2243,3553,4548,6700,6795,76,528,1392,9164,2019,3625,6067,1625,8841,4663,3112,3866,1107,7330,7092,9719,6979,9130,9618,6273,8521,4400,779,573,5801,2043,8171,2798,182,2984,7919,1869,2215,5467,4392,630,3604,7833,8227,8728,1250,1705,7997,7875,6400,587,6441,6015,3663],(()=>ie(99687)));return ie.O(se)})()));
2697
+ `}};p([(0,l.property)({type:Boolean})],t.prototype,"disabled",void 0),p([(0,l.property)({type:Boolean})],t.prototype,"checked",void 0),p([(0,l.property)({type:String})],t.prototype,"value",void 0),p([(0,l.property)({type:String})],t.prototype,"id",void 0),p([(0,l.property)({type:String})],t.prototype,"label",void 0),p([(0,l.internalProperty)()],t.prototype,"customId",void 0),t=p([(0,n.w)("md-favorite")],t),e.ELEMENT=t}(s||(s={}))}},te={};function ie(e){var t=te[e];if(void 0!==t)return t.exports;var i=te[e]={exports:{}};return ee[e].call(i.exports,i,i.exports,ie),i.exports}ie.m=ee,Y=[],ie.O=(e,t,i,s)=>{if(!t){var o=1/0;for(l=0;l<Y.length;l++){for(var[t,i,s]=Y[l],r=!0,n=0;n<t.length;n++)(!1&s||o>=s)&&Object.keys(ie.O).every((e=>ie.O[e](t[n])))?t.splice(n--,1):(r=!1,s<o&&(o=s));if(r){Y.splice(l--,1);var a=i();void 0!==a&&(e=a)}}return e}s=s||0;for(var l=Y.length;l>0&&Y[l-1][2]>s;l--)Y[l]=Y[l-1];Y[l]=[t,i,s]},ie.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return ie.d(t,{a:t}),t},Q=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,ie.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var i=Object.create(null);ie.r(i);var s={};X=X||[null,Q({}),Q([]),Q(Q)];for(var o=2&t&&e;"object"==typeof o&&!~X.indexOf(o);o=Q(o))Object.getOwnPropertyNames(o).forEach((t=>s[t]=()=>e[t]));return s.default=()=>e,ie.d(i,s),i},ie.d=(e,t)=>{for(var i in t)ie.o(t,i)&&!ie.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},ie.f={},ie.e=e=>Promise.all(Object.keys(ie.f).reduce(((t,i)=>(ie.f[i](e,t),t)),[])),ie.u=e=>"chunks/md-"+e+".js",ie.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),ie.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Z={},J="@momentum-ui/web-components:",ie.l=(e,t,i,s)=>{if(Z[e])Z[e].push(t);else{var o,r;if(void 0!==i)for(var n=document.getElementsByTagName("script"),a=0;a<n.length;a++){var l=n[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==J+i){o=l;break}}o||(r=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,ie.nc&&o.setAttribute("nonce",ie.nc),o.setAttribute("data-webpack",J+i),o.src=e),Z[e]=[t];var d=(t,i)=>{o.onerror=o.onload=null,clearTimeout(h);var s=Z[e];if(delete Z[e],o.parentNode&&o.parentNode.removeChild(o),s&&s.forEach((e=>e(i))),t)return t(i)},h=setTimeout(d.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=d.bind(null,o.onerror),o.onload=d.bind(null,o.onload),r&&document.head.appendChild(o)}},ie.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},ie.p="/",(()=>{var e={109:0,144:0,195:0,445:0,502:0,555:0,671:0,762:0,984:0,1037:0,1200:0,1266:0,1323:0,1439:0,1459:0,1462:0,1521:0,1528:0,1682:0,1745:0,1788:0,1807:0,2105:0,2139:0,2169:0,2176:0,2330:0,2434:0,2547:0,2576:0,2779:0,2781:0,2909:0,3001:0,3079:0,3192:0,3413:0,3539:0,3747:0,3938:0,3943:0,4131:0,4139:0,4259:0,4545:0,4908:0,4928:0,4971:0,5156:0,5310:0,5369:0,5382:0,5433:0,5517:0,6029:0,6060:0,6085:0,6132:0,6220:0,6396:0,6408:0,6433:0,6494:0,6587:0,6652:0,6677:0,6724:0,6754:0,6798:0,6834:0,6920:0,7145:0,7219:0,7455:0,7684:0,7711:0,7719:0,7763:0,7814:0,7927:0,8028:0,8111:0,8115:0,8220:0,8334:0,8339:0,8442:0,8510:0,8654:0,8894:0,9058:0,9237:0,9788:0};ie.f.j=(t,i)=>{var s=ie.o(e,t)?e[t]:void 0;if(0!==s)if(s)i.push(s[2]);else{var o=new Promise(((i,o)=>s=e[t]=[i,o]));i.push(s[2]=o);var r=ie.p+ie.u(t),n=new Error;ie.l(r,(i=>{if(ie.o(e,t)&&(0!==(s=e[t])&&(e[t]=void 0),s)){var o=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+r+")",n.name="ChunkLoadError",n.type=o,n.request=r,s[1](n)}}),"chunk-"+t,t)}},ie.O.j=t=>0===e[t];var t=(t,i)=>{var s,o,[r,n,a]=i,l=0;if(r.some((t=>0!==e[t]))){for(s in n)ie.o(n,s)&&(ie.m[s]=n[s]);if(a)var d=a(ie)}for(t&&t(i);l<r.length;l++)o=r[l],ie.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return ie.O(d)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})();var se=ie.O(void 0,[4367,7103,1890,6272,6325,6283,9217,6248,8889,8210,3135,1598,4977,1572,6366,7251,4974,2243,3553,4548,6700,6795,76,528,1392,9164,2019,3625,6067,1625,8841,4663,3112,3866,1107,7330,7092,9719,6979,9130,9618,6273,8521,4400,779,573,5801,2043,8171,2798,182,2984,7919,1869,2215,5467,4392,630,3604,7833,8227,8728,1250,1705,7997,7875,6400,587,6441,6015,3663],(()=>ie(99687)));return ie.O(se)})()));