@momentum-ui/web-components 3.2.2 → 3.2.4

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 (198) hide show
  1. package/dist/2492.js +1 -1
  2. package/dist/4739.js +1 -1
  3. package/dist/861.js +2 -2
  4. package/dist/8881.js +1 -1
  5. package/dist/9488.js +1 -1
  6. package/dist/953.js +18 -18
  7. package/dist/comp/md-accordion-entry.js +2 -2
  8. package/dist/comp/md-accordion-item-entry.js +2 -2
  9. package/dist/comp/md-activity-button-entry.js +2 -2
  10. package/dist/comp/md-advance-list-entry.js +2 -2
  11. package/dist/comp/md-alert-banner-entry.js +2 -2
  12. package/dist/comp/md-alert-entry.js +37 -37
  13. package/dist/comp/md-audio-player-entry.js +2 -2
  14. package/dist/comp/md-avatar-entry.js +2 -2
  15. package/dist/comp/md-badge-entry.js +2 -2
  16. package/dist/comp/md-breadcrumb-entry.js +2 -2
  17. package/dist/comp/md-button-entry.js +2 -2
  18. package/dist/comp/md-button-group-entry.js +2 -2
  19. package/dist/comp/md-card-ai-entry.js +2 -2
  20. package/dist/comp/md-card-entry.js +26 -26
  21. package/dist/comp/md-card-v2-entry.js +2 -2
  22. package/dist/comp/md-chat-message-entry.js +2 -2
  23. package/dist/comp/md-checkbox-entry.js +2 -2
  24. package/dist/comp/md-checkboxgroup-entry.js +2 -2
  25. package/dist/comp/md-chip-entry.js +2 -2
  26. package/dist/comp/md-coachmark-entry.js +2 -2
  27. package/dist/comp/md-coachmark-popover-entry.js +18 -18
  28. package/dist/comp/md-combobox-entry.js +2 -2
  29. package/dist/comp/md-composite-avatar-entry.js +2 -2
  30. package/dist/comp/md-country-code-picker-entry.js +2 -2
  31. package/dist/comp/md-date-range-picker-entry.js +1 -1
  32. package/dist/comp/md-date-time-picker-entry.js +2 -2
  33. package/dist/comp/md-datepicker-calendar-entry.js +2 -2
  34. package/dist/comp/md-datepicker-day-entry.js +2 -2
  35. package/dist/comp/md-datepicker-entry.js +2 -2
  36. package/dist/comp/md-datepicker-month-entry.js +2 -2
  37. package/dist/comp/md-datepicker-week-entry.js +2 -2
  38. package/dist/comp/md-draggable-entry.js +2 -2
  39. package/dist/comp/md-draggable-item-entry.js +2 -2
  40. package/dist/comp/md-dropdown-entry.js +2 -2
  41. package/dist/comp/md-editable-field-entry.js +2 -2
  42. package/dist/comp/md-favorite-entry.js +1 -1
  43. package/dist/comp/md-floating-minimize-entry.js +2 -2
  44. package/dist/comp/md-floating-modal-entry.js +44 -44
  45. package/dist/comp/md-form-entry.js +2 -2
  46. package/dist/comp/md-grabber-entry.js +2 -2
  47. package/dist/comp/md-help-text-entry.js +2 -2
  48. package/dist/comp/md-icon-entry.js +2 -2
  49. package/dist/comp/md-input-entry.js +2 -2
  50. package/dist/comp/md-input-file.js +2 -2
  51. package/dist/comp/md-label-entry.js +2 -2
  52. package/dist/comp/md-link-entry.js +2 -2
  53. package/dist/comp/md-list-entry.js +2 -2
  54. package/dist/comp/md-list-item-entry.js +2 -2
  55. package/dist/comp/md-loading-entry.js +2 -2
  56. package/dist/comp/md-meeting-alert-entry.js +2 -2
  57. package/dist/comp/md-menu-entry.js +2 -2
  58. package/dist/comp/md-menu-item-entry.js +2 -2
  59. package/dist/comp/md-menu-overlay-entry.js +2 -2
  60. package/dist/comp/md-modal-entry.js +2 -2
  61. package/dist/comp/md-pagination-entry.js +2 -2
  62. package/dist/comp/md-phone-input-entry.js +38 -38
  63. package/dist/comp/md-popover-entry.js +2 -2
  64. package/dist/comp/md-presence-entry.js +2 -2
  65. package/dist/comp/md-progress-bar-entry.js +2 -2
  66. package/dist/comp/md-radio-entry.js +2 -2
  67. package/dist/comp/md-radiogroup-entry.js +2 -2
  68. package/dist/comp/md-slider-entry.js +2 -2
  69. package/dist/comp/md-spinner-entry.js +2 -2
  70. package/dist/comp/md-tab-entry.js +1 -1
  71. package/dist/comp/md-tab-panel-entry.js +1 -1
  72. package/dist/comp/md-table-advanced-entry.js +2 -2
  73. package/dist/comp/md-table-entry.js +2 -2
  74. package/dist/comp/md-tabs-entry.js +2 -2
  75. package/dist/comp/md-task-item-entry.js +34 -34
  76. package/dist/comp/md-theme-entry.js +4 -4
  77. package/dist/comp/md-timepicker-entry.js +2 -2
  78. package/dist/comp/md-toggle-switch-entry.js +2 -2
  79. package/dist/comp/md-tooltip-entry.js +2 -2
  80. package/dist/esm/2492.js +1 -1
  81. package/dist/esm/4739.js +1 -1
  82. package/dist/esm/861.js +2 -2
  83. package/dist/esm/8881.js +1 -1
  84. package/dist/esm/9488.js +1 -1
  85. package/dist/esm/953.js +18 -18
  86. package/dist/esm/comp/md-accordion-entry.js +2 -2
  87. package/dist/esm/comp/md-accordion-item-entry.js +2 -2
  88. package/dist/esm/comp/md-activity-button-entry.js +2 -2
  89. package/dist/esm/comp/md-alert-banner-entry.js +2 -2
  90. package/dist/esm/comp/md-alert-entry.js +37 -37
  91. package/dist/esm/comp/md-audio-player-entry.js +2 -2
  92. package/dist/esm/comp/md-avatar-entry.js +1 -1
  93. package/dist/esm/comp/md-badge-entry.js +1 -1
  94. package/dist/esm/comp/md-breadcrumb-entry.js +2 -2
  95. package/dist/esm/comp/md-button-entry.js +2 -2
  96. package/dist/esm/comp/md-button-group-entry.js +1 -1
  97. package/dist/esm/comp/md-card-ai-entry.js +2 -2
  98. package/dist/esm/comp/md-card-entry.js +26 -26
  99. package/dist/esm/comp/md-card-v2-entry.js +2 -2
  100. package/dist/esm/comp/md-chat-message-entry.js +2 -2
  101. package/dist/esm/comp/md-checkbox-entry.js +2 -2
  102. package/dist/esm/comp/md-checkboxgroup-entry.js +2 -2
  103. package/dist/esm/comp/md-chip-entry.js +2 -2
  104. package/dist/esm/comp/md-coachmark-entry.js +2 -2
  105. package/dist/esm/comp/md-coachmark-popover-entry.js +18 -18
  106. package/dist/esm/comp/md-combobox-entry.js +1 -1
  107. package/dist/esm/comp/md-composite-avatar-entry.js +2 -2
  108. package/dist/esm/comp/md-country-code-picker-entry.js +1 -1
  109. package/dist/esm/comp/md-date-range-picker-entry.js +1 -1
  110. package/dist/esm/comp/md-date-time-picker-entry.js +2 -2
  111. package/dist/esm/comp/md-datepicker-calendar-entry.js +1 -1
  112. package/dist/esm/comp/md-datepicker-day-entry.js +1 -1
  113. package/dist/esm/comp/md-datepicker-entry.js +2 -2
  114. package/dist/esm/comp/md-datepicker-month-entry.js +1 -1
  115. package/dist/esm/comp/md-datepicker-week-entry.js +1 -1
  116. package/dist/esm/comp/md-draggable-entry.js +2 -2
  117. package/dist/esm/comp/md-draggable-item-entry.js +2 -2
  118. package/dist/esm/comp/md-dropdown-entry.js +2 -2
  119. package/dist/esm/comp/md-editable-field-entry.js +4 -4
  120. package/dist/esm/comp/md-favorite-entry.js +1 -1
  121. package/dist/esm/comp/md-floating-minimize-entry.js +1 -1
  122. package/dist/esm/comp/md-floating-modal-entry.js +44 -44
  123. package/dist/esm/comp/md-form-entry.js +2 -2
  124. package/dist/esm/comp/md-grabber-entry.js +2 -2
  125. package/dist/esm/comp/md-help-text-entry.js +1 -1
  126. package/dist/esm/comp/md-icon-entry.js +2 -2
  127. package/dist/esm/comp/md-input-entry.js +2 -2
  128. package/dist/esm/comp/md-input-file.js +2 -2
  129. package/dist/esm/comp/md-label-entry.js +1 -1
  130. package/dist/esm/comp/md-link-entry.js +2 -2
  131. package/dist/esm/comp/md-list-entry.js +1 -1
  132. package/dist/esm/comp/md-list-item-entry.js +1 -1
  133. package/dist/esm/comp/md-loading-entry.js +1 -1
  134. package/dist/esm/comp/md-meeting-alert-entry.js +2 -2
  135. package/dist/esm/comp/md-menu-entry.js +2 -2
  136. package/dist/esm/comp/md-menu-item-entry.js +2 -2
  137. package/dist/esm/comp/md-menu-overlay-entry.js +2 -2
  138. package/dist/esm/comp/md-modal-entry.js +2 -2
  139. package/dist/esm/comp/md-pagination-entry.js +2 -2
  140. package/dist/esm/comp/md-phone-input-entry.js +38 -38
  141. package/dist/esm/comp/md-popover-entry.js +1 -1
  142. package/dist/esm/comp/md-presence-entry.js +1 -1
  143. package/dist/esm/comp/md-progress-bar-entry.js +1 -1
  144. package/dist/esm/comp/md-radio-entry.js +2 -2
  145. package/dist/esm/comp/md-radiogroup-entry.js +2 -2
  146. package/dist/esm/comp/md-slider-entry.js +2 -2
  147. package/dist/esm/comp/md-spinner-entry.js +1 -1
  148. package/dist/esm/comp/md-tab-entry.js +2 -2
  149. package/dist/esm/comp/md-tab-panel-entry.js +1 -1
  150. package/dist/esm/comp/md-table-advanced-entry.js +2 -2
  151. package/dist/esm/comp/md-table-entry.js +2 -2
  152. package/dist/esm/comp/md-tabs-entry.js +3 -3
  153. package/dist/esm/comp/md-task-item-entry.js +34 -34
  154. package/dist/esm/comp/md-theme-entry.js +4 -4
  155. package/dist/esm/comp/md-timepicker-entry.js +2 -2
  156. package/dist/esm/comp/md-toggle-switch-entry.js +2 -2
  157. package/dist/esm/comp/md-tooltip-entry.js +2 -2
  158. package/dist/esm/index-entry.js +1887 -1887
  159. package/dist/index-entry.js +2256 -2256
  160. package/dist/types/[sandbox]/examples/editable-field.d.ts +1 -1
  161. package/dist/types/components/avatar/Avatar.d.ts +3 -3
  162. package/dist/types/components/badge/Badge.d.ts +1 -1
  163. package/dist/types/components/button/Button.d.ts +2 -2
  164. package/dist/types/components/chat-message/ChatMessage.stories.d.ts +1 -1
  165. package/dist/types/components/chip/Chip.d.ts +3 -3
  166. package/dist/types/components/coachmark/Coachmark.stories.d.ts +1 -1
  167. package/dist/types/components/code-editor/CodeEditor.stories.d.ts +1 -1
  168. package/dist/types/components/combobox/ComboBox.d.ts +3 -3
  169. package/dist/types/components/combobox/ComboBox.stories.d.ts +1 -1
  170. package/dist/types/components/country-code-picker/CountryCodePicker.stories.d.ts +1 -1
  171. package/dist/types/components/date-time-picker/DateTimePicker.stories.d.ts +1 -1
  172. package/dist/types/components/datepicker/DatePicker.stories.d.ts +1 -1
  173. package/dist/types/components/dropdown/Dropdown.d.ts +2 -2
  174. package/dist/types/components/dropdown/Dropdown.stories.d.ts +1 -1
  175. package/dist/types/components/editable-textfield/EditableTextfield.d.ts +1 -1
  176. package/dist/types/components/favorite/Favorite.stories.d.ts +1 -1
  177. package/dist/types/components/floating-modal/FloatingModal.stories.d.ts +1 -1
  178. package/dist/types/components/form/index.d.ts +1 -1
  179. package/dist/types/components/icon/Icon.stories.d.ts +1 -1
  180. package/dist/types/components/input/Input.d.ts +5 -5
  181. package/dist/types/components/input-file/InputFile.stories.d.ts +1 -1
  182. package/dist/types/components/label/Label.stories.d.ts +1 -1
  183. package/dist/types/components/menu/Menu.stories.d.ts +1 -1
  184. package/dist/types/components/menu-overlay/MenuOverlay.stories.d.ts +1 -1
  185. package/dist/types/components/pagination/Pagination.stories.d.ts +1 -1
  186. package/dist/types/components/phone-input/PhoneInput.stories.d.ts +1 -1
  187. package/dist/types/components/radio/Radio.d.ts +1 -1
  188. package/dist/types/components/radio/RadioGroup.stories.d.ts +1 -1
  189. package/dist/types/components/skeleton/Skeleton.stories.d.ts +1 -1
  190. package/dist/types/components/slider/Slider.stories.d.ts +1 -1
  191. package/dist/types/components/spinner/Spinner.stories.d.ts +1 -1
  192. package/dist/types/components/table/Table.stories.d.ts +1 -1
  193. package/dist/types/components/tabs/Tabs.stories.d.ts +1 -1
  194. package/dist/types/components/taskitem/TaskItem.stories.d.ts +1 -1
  195. package/dist/types/components/taskitem/TaskItem.utils.d.ts +1 -1
  196. package/dist/types/index.d.ts +1 -1
  197. package/dist/types/internal-components/color-table/ColorTable.d.ts +1 -1
  198. package/package.json +1 -1
package/dist/esm/953.js CHANGED
@@ -1,20 +1,4 @@
1
- export const __webpack_esm_id__=953;export const __webpack_esm_ids__=[405,837,953,2050,4431,6812,9669];export const __webpack_esm_modules__={405(e,t,i){i.d(t,{I:()=>g}),i(5983),i(1821);var r=i(9609),o=i(9938),s=i(2050),n=i(4098),l=i(2927),a=i(8899),h=i(1334),d=i(2450),c=i(8775),p=i(2962),u=i(5601),v=function(e,t,i,r){var o,s=arguments.length,n=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(s<3?o(n):s>3?o(t,i,n):o(t,i))||n);return s>3&&n&&Object.defineProperty(t,i,n),n},m=function(e,t,i,r){return new(i||(i=Promise))(function(o,s){function n(e){try{a(r.next(e))}catch(e){s(e)}}function l(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i(function(e){e(t)})).then(n,l)}a((r=r.apply(e,t||[])).next())})};class g{show(e){}hide(){}toggle(){}isVisible(){return!1}}let y=class extends((0,o.d)(l.LitElement)){set controller(e){e?(e.show=(e=!1)=>this.showPopover(e),e.hide=()=>this.hidePopover(),e.toggle=()=>this.togglePopoverVisible(),e.isVisible=()=>this.visible,this._controller=e):this._controller=null}get controller(){return this._controller}constructor(){super(),this.id="",this.triggerID="",this.trigger=h.zY.TRIGGER,this.placement=h.zY.PLACEMENT,this.strategy=h.zY.STRATEGY,this.color=h.zY.COLOR,this.visible=h.zY.VISIBLE,this.offset=h.zY.OFFSET,this.focusTrap=h.zY.FOCUS_TRAP,this.preventScroll=h.zY.PREVENT_SCROLL,this.showArrow=h.zY.ARROW,this.closeButton=h.zY.CLOSE_BUTTON,this.interactive=h.zY.INTERACTIVE,this.delay=h.zY.DELAY,this.hideOnEscape=h.zY.HIDE_ON_ESCAPE,this.hideOnBlur=h.zY.HIDE_ON_BLUR,this.hideOnWindowBlur=h.zY.HIDE_ON_WINDOW_BLUR,this.hideOnOutsideClick=h.zY.HIDE_ON_CLICK_OUTSIDE,this.focusBackToTrigger=h.zY.FOCUS_BACK,this.backdrop=h.zY.BACKDROP,this.flip=h.zY.FLIP,this.size=h.zY.SIZE,this.zIndex=h.zY.Z_INDEX,this.appendTo="",this.closeButtonAriaLabel=null,this.role=h.zY.ROLE,this.ariaLabelledby=null,this.ariaDescribedby=null,this.disableAriaExpanded=h.zY.DISABLE_ARIA_EXPANDED,this.animationFrame=h.zY.ANIMATION_FRAME,this._controller=null,this.arrowElement=null,this.triggerElement=null,this.hoverTimer=null,this.isTriggerClicked=!1,this.openDelay=0,this.closeDelay=0,this.backdropElement=null,this.useLegacyFindFocusable=()=>!1,this.cleanupAutoUpdate=null,this.previousActiveElement=null,this.onOutsidePopoverClick=e=>{const t=e.composedPath();this.triggerElement&&t.includes(this.triggerElement)||t.includes(this)||c.S.shouldDeferToTopForOutsideClick(this)||this.hideThisPopover()},this.hideThisPopover=()=>{setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1,this.utils.handleAppendTo(!1)},this.closeDelay)},this.onEscapeKeydown=e=>{this.visible&&"Escape"===e.code&&(e.preventDefault(),this.hidePopover())},this.onPopoverFocusOut=e=>{const t=e.relatedTarget;!t||this.isElementInPopover(t)?t||setTimeout(()=>{const e=(0,s.dw)();this.isElementInPopover(e)||this.hidePopover()},0):this.hidePopover()},this.handleWindowBlurEvent=()=>{this.visible&&this.hidePopover()},this.startCloseDelay=()=>{if(this.interactive){if(this.isTriggerClicked)return;this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay)}else this.hidePopover()},this.cancelCloseDelay=()=>{this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)},this.showPopover=(e=!1)=>{this.cancelCloseDelay(),e&&this.openDelay>0?setTimeout(()=>{this.utils.handleAppendTo(!0),this.visible=!0},this.openDelay):(this.utils.handleAppendTo(!0),this.visible=!0)},this.hidePopover=()=>{c.S.peek()===this&&setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1,this.utils.handleAppendTo(!1)},this.closeDelay)},this.togglePopoverVisible=()=>{this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0)},this.onMouseEnterTrigger=()=>{this.trigger.includes("mouseenter")&&(this.visible||(this.previousActiveElement=(0,s.dw)()),this.showPopover(!0))},this.onFocusInTrigger=()=>{this.trigger.includes("focusin")&&this.showPopover(!1)},this.onTriggerClick=e=>{this.trigger.includes("mouseenter")&&this.isMouseOverTrigger(e)||this.togglePopoverVisible()},this.utils=new p.h(this),this.preventClickOutside=!0}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return m(this,void 0,void 0,function*(){t.firstUpdated.call(this,e),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.utils.setupAccessibility(),this.style.zIndex=`${this.zIndex}`,d.T.onCreatedPopover(this),this.visible&&(this.utils.handleAppendTo(!0),this.positionPopover(),yield this.handleCreatePopoverFirstUpdate())})}disconnectedCallback(){const e=Object.create(null,{disconnectedCallback:{get:()=>super.disconnectedCallback}});return m(this,void 0,void 0,function*(){e.disconnectedCallback.call(this),this.cleanupAutoUpdate&&(this.cleanupAutoUpdate(),this.cleanupAutoUpdate=null),this._controller=null,this.previousActiveElement=null,this.removeEventListeners(),d.T.onDestroyedPopover(this),c.S.remove(this)})}setupTriggerListener(){if(!this.triggerID)return;const e=this.getRootNode();if(this.triggerElement=(0,s.qi)(`[id="${this.triggerID}"]`,e),!this.triggerElement){const t=null==e?void 0:e.host;if(t){const e=t.querySelector("[slot]");(null==e?void 0:e.id)===this.triggerID&&(this.triggerElement=e)}}if(this.triggerElement){if("mouseenter"===this.trigger&&(this.interactive?this.trigger="mouseenter click":this.trigger="mouseenter focusin"),this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.onTriggerClick),this.trigger.includes("mouseenter")){const e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.addEventListener("mouseenter",this.onMouseEnterTrigger),this.triggerElement.addEventListener("mouseleave",this.startCloseDelay),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay),null==e||e.addEventListener("mouseenter",this.cancelCloseDelay)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.onFocusInTrigger),this.interactive||this.triggerElement.addEventListener("focusout",this.hidePopover)),this.addEventListener("focus-trap-exit",this.hidePopover)}}removeEventListeners(){if(!this.triggerElement)return;const e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.removeEventListener("click",this.onTriggerClick),this.triggerElement.removeEventListener("mouseenter",this.onMouseEnterTrigger),this.triggerElement.removeEventListener("mouseleave",this.hidePopover),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),this.triggerElement.removeEventListener("focusin",this.onFocusInTrigger),this.triggerElement.removeEventListener("focusout",this.hidePopover),null==e||e.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("focus-trap-exit",this.hidePopover)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return m(this,void 0,void 0,function*(){if(t.updated.call(this,e),e.has("visible")){const t=e.get("visible")||!1;yield this.isOpenUpdated(t,this.visible),this.utils.updateAriaExpandedAttribute()}if(e.has("placement")&&this.setAttribute("placement",Object.values(h.ME).includes(this.placement)?this.placement:h.zY.PLACEMENT),e.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),e.has("trigger")){const e=this.trigger.split(" ").filter(e=>Object.values(h.tr).includes(e));this.setAttribute("trigger",e.length>0?this.trigger:h.zY.TRIGGER),this.removeEventListeners(),this.setupTriggerListener()}e.has("triggerID")&&(this.removeEventListeners(),this.setupTriggerListener(),this.utils.setupAccessibility()),e.has("color")&&this.setAttribute("color",Object.values(h.o$).includes(this.color)?this.color:h.zY.COLOR),e.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),(e.has("interactive")||e.has("aria-label")||e.has("aria-labelledby"))&&this.utils.setupAccessibility(),e.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),e.has("interactive")&&this.utils.updateAriaHasPopupAttribute()})}isElementInPopover(e){return!!e&&(!!this.contains(e)||(0,s.QZ)("md-popover",e)===this)}isOpenUpdated(e,t){return m(this,void 0,void 0,function*(){var i,r,o,s;if(e!==t&&this.triggerElement)if(t)c.S.peek()!==this&&c.S.push(this),this.focusTrap&&(null===(i=this.activateFocusTrap)||void 0===i||i.call(this)),this.backdrop&&(this.utils.createBackdrop(),this.triggerElement.style.zIndex=`${this.zIndex}`),this.utils.handleAppendTo(!0),this.positionPopover(),yield this.handleCreatePopoverFirstUpdate(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),"click"===this.trigger&&(this.triggerElement.style.pointerEvents="none")),this.hideOnWindowBlur&&window.addEventListener("blur",this.handleWindowBlurEvent),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&document.addEventListener("keydown",this.onEscapeKeydown),d.T.onShowPopover(this);else{if(this.cleanupAutoUpdate&&(this.cleanupAutoUpdate(),this.cleanupAutoUpdate=null),c.S.removeItem(this),this.utils.handleAppendTo(!1),this.backdropElement&&(null===(r=this.backdropElement)||void 0===r||r.remove(),this.backdropElement=null),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),"click"===this.trigger&&(this.triggerElement.style.pointerEvents="")),this.hideOnWindowBlur&&window.removeEventListener("blur",this.handleWindowBlurEvent),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&document.removeEventListener("keydown",this.onEscapeKeydown),null===(o=this.deactivateFocusTrap)||void 0===o||o.call(this),this.disableAriaExpanded||this.triggerElement.removeAttribute("aria-expanded"),this.interactive){const e=this.triggerElement.getAttribute("aria-haspopup");"dialog"!==e&&"alertdialog"!==e||this.triggerElement.removeAttribute("aria-haspopup")}this.focusBackToTrigger&&(this.previousActiveElement instanceof HTMLElement?this.previousActiveElement.focus():null===(s=this.setFocusOnDeepestNestedElement)||void 0===s||s.call(this,this.triggerElement)),this.previousActiveElement=null,d.T.onHidePopover(this)}})}isRectOverTrigger(e,t){if(this.triggerElement&&"undefined"!=typeof window&&"undefined"!=typeof document){const i=this.triggerElement.getBoundingClientRect();return e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}return!1}isMouseOverTrigger(e){const{clientX:t,clientY:i}=e instanceof MouseEvent?e:{clientX:0,clientY:0};return this.isRectOverTrigger(t,i)}setFocusableElements(){var e;null===(e=super.setFocusableElements)||void 0===e||e.call(this);const t=this.triggerElement;this.appendTo&&this.activeFocusTrap&&t&&this.focusableElements&&(this.focusableElements.includes(t)||this.focusableElements.push(t))}handleCreatePopoverFirstUpdate(){return m(this,void 0,void 0,function*(){var e,t;this.visible&&this.interactive&&(null===(e=this.setFocusableElements)||void 0===e||e.call(this),yield this.updateComplete,null===(t=this.setInitialFocus)||void 0===t||t.call(this))})}positionPopover(){if(!this.triggerElement)return;this.cleanupAutoUpdate&&(this.cleanupAutoUpdate(),this.cleanupAutoUpdate=null);const e=[(0,n.shift)()];let t=this.offset;if(this.flip&&e.push((0,n.flip)()),this.size){const t=this.renderRoot.querySelector('[part="popover-content"]');e.push((0,n.size)({apply({availableHeight:e}){t&&Object.assign(t.style,{maxHeight:`${e}px`,overflowY:"auto"})},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){const i=this.arrowElement.offsetHeight;t=Math.sqrt(2*i**2)/2+this.offset,e.push((0,n.arrow)({element:this.arrowElement,padding:12}))}e.push((0,n.offset)(t)),this.cleanupAutoUpdate=(0,n.autoUpdate)(this.triggerElement,this,()=>m(this,void 0,void 0,function*(){if(!this.triggerElement)return;const{x:t,y:i,middlewareData:r,placement:o}=yield(0,n.computePosition)(this.triggerElement,this,{placement:this.placement,middleware:e,strategy:this.strategy});this.utils.updatePopoverStyle(t,i),r.arrow&&this.arrowElement&&this.utils.updateArrowStyle(r.arrow,o),this.trigger.includes("mouseenter")&&this.utils.setupHoverBridge(o)}),{animationFrame:this.animationFrame})}render(){return l.html`
2
- <div class="popover-hover-bridge"></div>
3
- ${this.closeButton?l.html` <md-button
4
- class="popover-close"
5
- hasRemoveStyle
6
- size="20"
7
- circle
8
- .ariaLabel=${this.closeButtonAriaLabel}
9
- @button-click=${this.hidePopover}
10
- >
11
- <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
12
- </md-button>`:l.nothing}
13
- ${this.showArrow?l.html`<div class="popover-arrow"></div>`:l.nothing}
14
- <div part="popover-content">
15
- <slot></slot>
16
- </div>
17
- `}static get styles(){return[u.A]}};v([(0,a.property)({type:String,reflect:!0})],y.prototype,"id",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"triggerID",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"trigger",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"placement",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"strategy",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"color",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"visible",void 0),v([(0,a.property)({type:Number,reflect:!0})],y.prototype,"offset",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"focus-trap"})],y.prototype,"focusTrap",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],y.prototype,"preventScroll",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"show-arrow"})],y.prototype,"showArrow",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"close-button"})],y.prototype,"closeButton",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"interactive",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"delay",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],y.prototype,"hideOnEscape",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],y.prototype,"hideOnBlur",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-window-blur"})],y.prototype,"hideOnWindowBlur",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],y.prototype,"hideOnOutsideClick",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],y.prototype,"focusBackToTrigger",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"backdrop",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"flip",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"size",void 0),v([(0,a.property)({type:Number,reflect:!0,attribute:"z-index"})],y.prototype,"zIndex",void 0),v([(0,a.property)({type:String,reflect:!0,attribute:"append-to"})],y.prototype,"appendTo",void 0),v([(0,a.property)({type:String,attribute:"close-button-aria-label",reflect:!0})],y.prototype,"closeButtonAriaLabel",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"role",void 0),v([(0,a.property)({type:String,reflect:!0,attribute:"aria-labelledby"})],y.prototype,"ariaLabelledby",void 0),v([(0,a.property)({type:String,reflect:!0,attribute:"aria-describedby"})],y.prototype,"ariaDescribedby",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],y.prototype,"disableAriaExpanded",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"animation-frame"})],y.prototype,"animationFrame",void 0),v([(0,a.property)({type:Object,attribute:!1})],y.prototype,"controller",null),y=v([(0,r.w)("md-popover")],y)},837(e,t,i){i(8371),i(1821),i(9773);var r,o=i(9609),s=i(878),n=i(4084),l=i(2927),a=i(8899),h=i(3842),d=function(e,t,i,r){var o,s=arguments.length,n=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(s<3?o(n):s>3?o(t,i,n):o(t,i))||n);return s>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.monthFormat="MMMM yyyy",this.filterParams=void 0,this.handleMonthChange=void 0,this.onRetry=void 0,this.datePickerProps=void 0,this.errorMessages={},this.shortDay=!1,this.isDatePickerMonthLoading=!1,this.isDatePickerMonthError=!1,this.viewAnchorDate=(0,s.tB)(),this.localeMonth=void 0,this.setDate=(e,t)=>{this.viewAnchorDate=e,null==t||t()},this.increaseMonth=e=>{const{handleMonthChange:t}=this,{viewAnchorDate:i}=this;this.setDate((0,s.PS)(i,1),()=>t&&t(e,this.viewAnchorDate))},this.decreaseMonth=e=>{const{handleMonthChange:t}=this,{viewAnchorDate:i}=this;this.setDate((0,s.SL)(i,1),()=>t&&t(e,this.viewAnchorDate))},this.handleRetryClick=()=>{this.onRetry&&this.onRetry()},this.renderMonthName=()=>l.html` <div class="md-datepicker__navigation--current-month" aria-live="polite">${this.localeMonth}</div> `,this.renderPreviousMonthButton=()=>{var e,t;const i=(null===(e=this.filterParams)||void 0===e?void 0:e.minDate)&&(0,s.PD)(this.viewAnchorDate,null===(t=this.filterParams)||void 0===t?void 0:t.minDate);return l.html`
1
+ export const __webpack_esm_id__=953;export const __webpack_esm_ids__=[405,837,953,2050,4431,6812,9669];export const __webpack_esm_modules__={837(e,t,i){i(8371),i(1821),i(9773);var r,o=i(9609),s=i(878),n=i(4084),l=i(2927),a=i(8899),h=i(3842),d=function(e,t,i,r){var o,s=arguments.length,n=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(s<3?o(n):s>3?o(t,i,n):o(t,i))||n);return s>3&&n&&Object.defineProperty(t,i,n),n};!function(e){let t=class extends l.LitElement{constructor(){super(...arguments),this.monthFormat="MMMM yyyy",this.filterParams=void 0,this.handleMonthChange=void 0,this.onRetry=void 0,this.datePickerProps=void 0,this.errorMessages={},this.shortDay=!1,this.isDatePickerMonthLoading=!1,this.isDatePickerMonthError=!1,this.viewAnchorDate=(0,s.tB)(),this.localeMonth=void 0,this.setDate=(e,t)=>{this.viewAnchorDate=e,null==t||t()},this.increaseMonth=e=>{const{handleMonthChange:t}=this,{viewAnchorDate:i}=this;this.setDate((0,s.PS)(i,1),()=>t&&t(e,this.viewAnchorDate))},this.decreaseMonth=e=>{const{handleMonthChange:t}=this,{viewAnchorDate:i}=this;this.setDate((0,s.SL)(i,1),()=>t&&t(e,this.viewAnchorDate))},this.handleRetryClick=()=>{this.onRetry&&this.onRetry()},this.renderMonthName=()=>l.html` <div class="md-datepicker__navigation--current-month" aria-live="polite">${this.localeMonth}</div> `,this.renderPreviousMonthButton=()=>{var e,t;const i=(null===(e=this.filterParams)||void 0===e?void 0:e.minDate)&&(0,s.PD)(this.viewAnchorDate,null===(t=this.filterParams)||void 0===t?void 0:t.minDate);return l.html`
18
2
  <md-button
19
3
  variant="ghost"
20
4
  circle
@@ -79,4 +63,20 @@ export const __webpack_esm_id__=953;export const __webpack_esm_ids__=[405,837,95
79
63
  </div>
80
64
  `}static get styles(){return[n.A,h.A]}render(){return l.html`
81
65
  <div class="md-datepicker__calendar" id="Datepicker-Calendar">${this.viewAnchorDate&&this.renderMonth()}</div>
82
- `}};d([(0,a.property)({attribute:!1})],t.prototype,"monthFormat",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"filterParams",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"handleMonthChange",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"onRetry",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"datePickerProps",void 0),d([(0,a.property)({type:Object,attribute:!1})],t.prototype,"errorMessages",void 0),d([(0,a.property)({type:Boolean,reflect:!0,attribute:"short-day"})],t.prototype,"shortDay",void 0),d([(0,a.property)({type:Boolean,reflect:!0,attribute:"is-date-picker-month-loading"})],t.prototype,"isDatePickerMonthLoading",void 0),d([(0,a.property)({type:Boolean,reflect:!0,attribute:"is-date-picker-month-error"})],t.prototype,"isDatePickerMonthError",void 0),d([(0,a.state)()],t.prototype,"viewAnchorDate",void 0),d([(0,a.state)()],t.prototype,"localeMonth",void 0),t=d([(0,o.w)("md-datepicker-calendar")],t),e.ELEMENT=t}(r||(r={}))},2050(e,t,i){function r(e,t,i){let r;return function(...o){const s=this,n=i&&!r;clearTimeout(r),r=setTimeout(function(){r=null,i||e.apply(s,o)},t),n&&e.apply(s,o)}}function o(e,t){return function t(i){if(!i||i===document||i===window)return null;const r=i.closest(e);return null!=r?r:t(i.getRootNode().host)}(t)}function s(e,t=document){var i;const r=t instanceof ShadowRoot||t instanceof Document?t.querySelector(e):null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelector(e);if(r)return r;const o=Array.from(t.querySelectorAll("*")).map(e=>{var t;return null!==(t=e.shadowRoot)&&void 0!==t?t:null}).filter(e=>null!==e);for(const t of o){const i=s(e,t);if(i)return i}return null}function n(e,t=document){if(t instanceof ShadowRoot||t instanceof Document){const i=t.getElementById(e);if(i)return i}const i=Array.from(t.querySelectorAll("*")).map(e=>{var t;return null!==(t=e.shadowRoot)&&void 0!==t?t:null}).filter(e=>null!==e);for(const t of i){const i=n(e,t);if(i)return i}return null}function l(){var e;let t=document.activeElement;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}i.d(t,{QZ:()=>o,XI:()=>n,dw:()=>l,qi:()=>s,sg:()=>r})}};
66
+ `}};d([(0,a.property)({attribute:!1})],t.prototype,"monthFormat",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"filterParams",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"handleMonthChange",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"onRetry",void 0),d([(0,a.property)({attribute:!1})],t.prototype,"datePickerProps",void 0),d([(0,a.property)({type:Object,attribute:!1})],t.prototype,"errorMessages",void 0),d([(0,a.property)({type:Boolean,reflect:!0,attribute:"short-day"})],t.prototype,"shortDay",void 0),d([(0,a.property)({type:Boolean,reflect:!0,attribute:"is-date-picker-month-loading"})],t.prototype,"isDatePickerMonthLoading",void 0),d([(0,a.property)({type:Boolean,reflect:!0,attribute:"is-date-picker-month-error"})],t.prototype,"isDatePickerMonthError",void 0),d([(0,a.state)()],t.prototype,"viewAnchorDate",void 0),d([(0,a.state)()],t.prototype,"localeMonth",void 0),t=d([(0,o.w)("md-datepicker-calendar")],t),e.ELEMENT=t}(r||(r={}))},405(e,t,i){i.d(t,{I:()=>g}),i(5983),i(1821);var r=i(9609),o=i(9938),s=i(2050),n=i(4098),l=i(2927),a=i(8899),h=i(1334),d=i(2450),c=i(8775),p=i(2962),u=i(5601),v=function(e,t,i,r){var o,s=arguments.length,n=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(n=(s<3?o(n):s>3?o(t,i,n):o(t,i))||n);return s>3&&n&&Object.defineProperty(t,i,n),n},m=function(e,t,i,r){return new(i||(i=Promise))(function(o,s){function n(e){try{a(r.next(e))}catch(e){s(e)}}function l(e){try{a(r.throw(e))}catch(e){s(e)}}function a(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i(function(e){e(t)})).then(n,l)}a((r=r.apply(e,t||[])).next())})};class g{show(e){}hide(){}toggle(){}isVisible(){return!1}}let y=class extends((0,o.d)(l.LitElement)){set controller(e){e?(e.show=(e=!1)=>this.showPopover(e),e.hide=()=>this.hidePopover(),e.toggle=()=>this.togglePopoverVisible(),e.isVisible=()=>this.visible,this._controller=e):this._controller=null}get controller(){return this._controller}constructor(){super(),this.id="",this.triggerID="",this.trigger=h.zY.TRIGGER,this.placement=h.zY.PLACEMENT,this.strategy=h.zY.STRATEGY,this.color=h.zY.COLOR,this.visible=h.zY.VISIBLE,this.offset=h.zY.OFFSET,this.focusTrap=h.zY.FOCUS_TRAP,this.preventScroll=h.zY.PREVENT_SCROLL,this.showArrow=h.zY.ARROW,this.closeButton=h.zY.CLOSE_BUTTON,this.interactive=h.zY.INTERACTIVE,this.delay=h.zY.DELAY,this.hideOnEscape=h.zY.HIDE_ON_ESCAPE,this.hideOnBlur=h.zY.HIDE_ON_BLUR,this.hideOnWindowBlur=h.zY.HIDE_ON_WINDOW_BLUR,this.hideOnOutsideClick=h.zY.HIDE_ON_CLICK_OUTSIDE,this.focusBackToTrigger=h.zY.FOCUS_BACK,this.backdrop=h.zY.BACKDROP,this.flip=h.zY.FLIP,this.size=h.zY.SIZE,this.zIndex=h.zY.Z_INDEX,this.appendTo="",this.closeButtonAriaLabel=null,this.role=h.zY.ROLE,this.ariaLabelledby=null,this.ariaDescribedby=null,this.disableAriaExpanded=h.zY.DISABLE_ARIA_EXPANDED,this.animationFrame=h.zY.ANIMATION_FRAME,this._controller=null,this.arrowElement=null,this.triggerElement=null,this.hoverTimer=null,this.isTriggerClicked=!1,this.openDelay=0,this.closeDelay=0,this.backdropElement=null,this.useLegacyFindFocusable=()=>!1,this.cleanupAutoUpdate=null,this.previousActiveElement=null,this.onOutsidePopoverClick=e=>{const t=e.composedPath();this.triggerElement&&t.includes(this.triggerElement)||t.includes(this)||c.S.shouldDeferToTopForOutsideClick(this)||this.hideThisPopover()},this.hideThisPopover=()=>{setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1,this.utils.handleAppendTo(!1)},this.closeDelay)},this.onEscapeKeydown=e=>{this.visible&&"Escape"===e.code&&(e.preventDefault(),this.hidePopover())},this.onPopoverFocusOut=e=>{const t=e.relatedTarget;!t||this.isElementInPopover(t)?t||setTimeout(()=>{const e=(0,s.dw)();this.isElementInPopover(e)||this.hidePopover()},0):this.hidePopover()},this.handleWindowBlurEvent=()=>{this.visible&&this.hidePopover()},this.startCloseDelay=()=>{if(this.interactive){if(this.isTriggerClicked)return;this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay)}else this.hidePopover()},this.cancelCloseDelay=()=>{this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)},this.showPopover=(e=!1)=>{this.cancelCloseDelay(),e&&this.openDelay>0?setTimeout(()=>{this.utils.handleAppendTo(!0),this.visible=!0},this.openDelay):(this.utils.handleAppendTo(!0),this.visible=!0)},this.hidePopover=()=>{c.S.peek()===this&&setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1,this.utils.handleAppendTo(!1)},this.closeDelay)},this.togglePopoverVisible=()=>{this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0)},this.onMouseEnterTrigger=()=>{this.trigger.includes("mouseenter")&&(this.visible||(this.previousActiveElement=(0,s.dw)()),this.showPopover(!0))},this.onFocusInTrigger=()=>{this.trigger.includes("focusin")&&this.showPopover(!1)},this.onTriggerClick=e=>{this.trigger.includes("mouseenter")&&this.isMouseOverTrigger(e)||this.togglePopoverVisible()},this.utils=new p.h(this),this.preventClickOutside=!0}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});return m(this,void 0,void 0,function*(){t.firstUpdated.call(this,e),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.utils.setupAccessibility(),this.style.zIndex=`${this.zIndex}`,d.T.onCreatedPopover(this),this.visible&&(this.utils.handleAppendTo(!0),this.positionPopover(),yield this.handleCreatePopoverFirstUpdate())})}disconnectedCallback(){const e=Object.create(null,{disconnectedCallback:{get:()=>super.disconnectedCallback}});return m(this,void 0,void 0,function*(){e.disconnectedCallback.call(this),this.cleanupAutoUpdate&&(this.cleanupAutoUpdate(),this.cleanupAutoUpdate=null),this._controller=null,this.previousActiveElement=null,this.removeEventListeners(),d.T.onDestroyedPopover(this),c.S.remove(this)})}setupTriggerListener(){if(!this.triggerID)return;const e=this.getRootNode();if(this.triggerElement=(0,s.qi)(`[id="${this.triggerID}"]`,e),!this.triggerElement){const t=null==e?void 0:e.host;if(t){const e=t.querySelector("[slot]");(null==e?void 0:e.id)===this.triggerID&&(this.triggerElement=e)}}if(this.triggerElement){if("mouseenter"===this.trigger&&(this.interactive?this.trigger="mouseenter click":this.trigger="mouseenter focusin"),this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.onTriggerClick),this.trigger.includes("mouseenter")){const e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.addEventListener("mouseenter",this.onMouseEnterTrigger),this.triggerElement.addEventListener("mouseleave",this.startCloseDelay),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay),null==e||e.addEventListener("mouseenter",this.cancelCloseDelay)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.onFocusInTrigger),this.interactive||this.triggerElement.addEventListener("focusout",this.hidePopover)),this.addEventListener("focus-trap-exit",this.hidePopover)}}removeEventListeners(){if(!this.triggerElement)return;const e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.removeEventListener("click",this.onTriggerClick),this.triggerElement.removeEventListener("mouseenter",this.onMouseEnterTrigger),this.triggerElement.removeEventListener("mouseleave",this.hidePopover),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),this.triggerElement.removeEventListener("focusin",this.onFocusInTrigger),this.triggerElement.removeEventListener("focusout",this.hidePopover),null==e||e.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("focus-trap-exit",this.hidePopover)}updated(e){const t=Object.create(null,{updated:{get:()=>super.updated}});return m(this,void 0,void 0,function*(){if(t.updated.call(this,e),e.has("visible")){const t=e.get("visible")||!1;yield this.isOpenUpdated(t,this.visible),this.utils.updateAriaExpandedAttribute()}if(e.has("placement")&&this.setAttribute("placement",Object.values(h.ME).includes(this.placement)?this.placement:h.zY.PLACEMENT),e.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),e.has("trigger")){const e=this.trigger.split(" ").filter(e=>Object.values(h.tr).includes(e));this.setAttribute("trigger",e.length>0?this.trigger:h.zY.TRIGGER),this.removeEventListeners(),this.setupTriggerListener()}e.has("triggerID")&&(this.removeEventListeners(),this.setupTriggerListener(),this.utils.setupAccessibility()),e.has("color")&&this.setAttribute("color",Object.values(h.o$).includes(this.color)?this.color:h.zY.COLOR),e.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),(e.has("interactive")||e.has("aria-label")||e.has("aria-labelledby"))&&this.utils.setupAccessibility(),e.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),e.has("interactive")&&this.utils.updateAriaHasPopupAttribute()})}isElementInPopover(e){return!!e&&(!!this.contains(e)||(0,s.QZ)("md-popover",e)===this)}isOpenUpdated(e,t){return m(this,void 0,void 0,function*(){var i,r,o,s;if(e!==t&&this.triggerElement)if(t)c.S.peek()!==this&&c.S.push(this),this.focusTrap&&(null===(i=this.activateFocusTrap)||void 0===i||i.call(this)),this.backdrop&&(this.utils.createBackdrop(),this.triggerElement.style.zIndex=`${this.zIndex}`),this.utils.handleAppendTo(!0),this.positionPopover(),yield this.handleCreatePopoverFirstUpdate(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),"click"===this.trigger&&(this.triggerElement.style.pointerEvents="none")),this.hideOnWindowBlur&&window.addEventListener("blur",this.handleWindowBlurEvent),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&document.addEventListener("keydown",this.onEscapeKeydown),d.T.onShowPopover(this);else{if(this.cleanupAutoUpdate&&(this.cleanupAutoUpdate(),this.cleanupAutoUpdate=null),c.S.removeItem(this),this.utils.handleAppendTo(!1),this.backdropElement&&(null===(r=this.backdropElement)||void 0===r||r.remove(),this.backdropElement=null),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),"click"===this.trigger&&(this.triggerElement.style.pointerEvents="")),this.hideOnWindowBlur&&window.removeEventListener("blur",this.handleWindowBlurEvent),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&document.removeEventListener("keydown",this.onEscapeKeydown),null===(o=this.deactivateFocusTrap)||void 0===o||o.call(this),this.disableAriaExpanded||this.triggerElement.removeAttribute("aria-expanded"),this.interactive){const e=this.triggerElement.getAttribute("aria-haspopup");"dialog"!==e&&"alertdialog"!==e||this.triggerElement.removeAttribute("aria-haspopup")}this.focusBackToTrigger&&(this.previousActiveElement instanceof HTMLElement?this.previousActiveElement.focus():null===(s=this.setFocusOnDeepestNestedElement)||void 0===s||s.call(this,this.triggerElement)),this.previousActiveElement=null,d.T.onHidePopover(this)}})}isRectOverTrigger(e,t){if(this.triggerElement&&"undefined"!=typeof window&&"undefined"!=typeof document){const i=this.triggerElement.getBoundingClientRect();return e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom}return!1}isMouseOverTrigger(e){const{clientX:t,clientY:i}=e instanceof MouseEvent?e:{clientX:0,clientY:0};return this.isRectOverTrigger(t,i)}setFocusableElements(){var e;null===(e=super.setFocusableElements)||void 0===e||e.call(this);const t=this.triggerElement;this.appendTo&&this.activeFocusTrap&&t&&this.focusableElements&&(this.focusableElements.includes(t)||this.focusableElements.push(t))}handleCreatePopoverFirstUpdate(){return m(this,void 0,void 0,function*(){var e,t;this.visible&&this.interactive&&(null===(e=this.setFocusableElements)||void 0===e||e.call(this),yield this.updateComplete,null===(t=this.setInitialFocus)||void 0===t||t.call(this))})}positionPopover(){if(!this.triggerElement)return;this.cleanupAutoUpdate&&(this.cleanupAutoUpdate(),this.cleanupAutoUpdate=null);const e=[(0,n.shift)()];let t=this.offset;if(this.flip&&e.push((0,n.flip)()),this.size){const t=this.renderRoot.querySelector('[part="popover-content"]');e.push((0,n.size)({apply({availableHeight:e}){t&&Object.assign(t.style,{maxHeight:`${e}px`,overflowY:"auto"})},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){const i=this.arrowElement.offsetHeight;t=Math.sqrt(2*i**2)/2+this.offset,e.push((0,n.arrow)({element:this.arrowElement,padding:12}))}e.push((0,n.offset)(t)),this.cleanupAutoUpdate=(0,n.autoUpdate)(this.triggerElement,this,()=>m(this,void 0,void 0,function*(){if(!this.triggerElement)return;const{x:t,y:i,middlewareData:r,placement:o}=yield(0,n.computePosition)(this.triggerElement,this,{placement:this.placement,middleware:e,strategy:this.strategy});this.utils.updatePopoverStyle(t,i),r.arrow&&this.arrowElement&&this.utils.updateArrowStyle(r.arrow,o),this.trigger.includes("mouseenter")&&this.utils.setupHoverBridge(o)}),{animationFrame:this.animationFrame})}render(){return l.html`
67
+ <div class="popover-hover-bridge"></div>
68
+ ${this.closeButton?l.html` <md-button
69
+ class="popover-close"
70
+ hasRemoveStyle
71
+ size="20"
72
+ circle
73
+ .ariaLabel=${this.closeButtonAriaLabel}
74
+ @button-click=${this.hidePopover}
75
+ >
76
+ <md-icon name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
77
+ </md-button>`:l.nothing}
78
+ ${this.showArrow?l.html`<div class="popover-arrow"></div>`:l.nothing}
79
+ <div part="popover-content">
80
+ <slot></slot>
81
+ </div>
82
+ `}static get styles(){return[u.A]}};v([(0,a.property)({type:String,reflect:!0})],y.prototype,"id",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"triggerID",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"trigger",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"placement",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"strategy",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"color",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"visible",void 0),v([(0,a.property)({type:Number,reflect:!0})],y.prototype,"offset",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"focus-trap"})],y.prototype,"focusTrap",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],y.prototype,"preventScroll",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"show-arrow"})],y.prototype,"showArrow",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"close-button"})],y.prototype,"closeButton",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"interactive",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"delay",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],y.prototype,"hideOnEscape",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],y.prototype,"hideOnBlur",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-window-blur"})],y.prototype,"hideOnWindowBlur",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],y.prototype,"hideOnOutsideClick",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],y.prototype,"focusBackToTrigger",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"backdrop",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"flip",void 0),v([(0,a.property)({type:Boolean,reflect:!0})],y.prototype,"size",void 0),v([(0,a.property)({type:Number,reflect:!0,attribute:"z-index"})],y.prototype,"zIndex",void 0),v([(0,a.property)({type:String,reflect:!0,attribute:"append-to"})],y.prototype,"appendTo",void 0),v([(0,a.property)({type:String,attribute:"close-button-aria-label",reflect:!0})],y.prototype,"closeButtonAriaLabel",void 0),v([(0,a.property)({type:String,reflect:!0})],y.prototype,"role",void 0),v([(0,a.property)({type:String,reflect:!0,attribute:"aria-labelledby"})],y.prototype,"ariaLabelledby",void 0),v([(0,a.property)({type:String,reflect:!0,attribute:"aria-describedby"})],y.prototype,"ariaDescribedby",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],y.prototype,"disableAriaExpanded",void 0),v([(0,a.property)({type:Boolean,reflect:!0,attribute:"animation-frame"})],y.prototype,"animationFrame",void 0),v([(0,a.property)({type:Object,attribute:!1})],y.prototype,"controller",null),y=v([(0,r.w)("md-popover")],y)},2050(e,t,i){function r(e,t,i){let r;return function(...o){const s=this,n=i&&!r;clearTimeout(r),r=setTimeout(function(){r=null,i||e.apply(s,o)},t),n&&e.apply(s,o)}}function o(e,t){return function t(i){if(!i||i===document||i===window)return null;const r=i.closest(e);return null!=r?r:t(i.getRootNode().host)}(t)}function s(e,t=document){var i;const r=t instanceof ShadowRoot||t instanceof Document?t.querySelector(e):null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelector(e);if(r)return r;const o=Array.from(t.querySelectorAll("*")).map(e=>{var t;return null!==(t=e.shadowRoot)&&void 0!==t?t:null}).filter(e=>null!==e);for(const t of o){const i=s(e,t);if(i)return i}return null}function n(e,t=document){if(t instanceof ShadowRoot||t instanceof Document){const i=t.getElementById(e);if(i)return i}const i=Array.from(t.querySelectorAll("*")).map(e=>{var t;return null!==(t=e.shadowRoot)&&void 0!==t?t:null}).filter(e=>null!==e);for(const t of i){const i=n(e,t);if(i)return i}return null}function l(){var e;let t=document.activeElement;for(;null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement;)t=t.shadowRoot.activeElement;return t}i.d(t,{QZ:()=>o,XI:()=>n,dw:()=>l,qi:()=>s,sg:()=>r})}};
@@ -1,5 +1,5 @@
1
- import*as e from"lit";import*as t from"lit/decorators.js";var o,s,r={2927(t,o,s){var r,i;t.exports=(r={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html},i={},s.d(i,r),i)},3701(e,t,o){o.d(t,{n:()=>s});var s,r=o(2900),i=o(7704),c=o(9609),n=o(4084),d=o(2927),a=o(8899),l=o(742),m=function(e,t,o,s){var r,i=arguments.length,c=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(c=(i<3?r(c):i>3?r(t,o,c):r(t,o))||c);return i>3&&c&&Object.defineProperty(t,o,c),c};!function(e){let t=class extends((0,i.TS)(d.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.suppressContainerFocus=!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")),o=this.slotted.length;let s=t;for(s=(o+s+e)%o;this.slotted[s].disabled;)s=(o+s+e)%o;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 o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{this.suppressContainerFocus||(e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur))})}removeFocusAccordionItems(){this.slotted.forEach(e=>{this.suppressContainerFocus||(e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur))})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case r.Uz.Space:case r.Uz.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case r.Uz.ArrowDown:this.switchFocusedAccordionItem(1);break;case r.Uz.ArrowUp:this.switchFocusedAccordionItem(-1);break;case r.Uz.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case r.Uz.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}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[n.A,l.A]}render(){return d.html`
1
+ import*as e from"lit";import*as t from"lit/decorators.js";var o,s,r={3701(e,t,o){o.d(t,{n:()=>s});var s,r=o(2900),i=o(7704),c=o(9609),n=o(4084),d=o(2927),a=o(8899),l=o(742),m=function(e,t,o,s){var r,i=arguments.length,c=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,s);else for(var n=e.length-1;n>=0;n--)(r=e[n])&&(c=(i<3?r(c):i>3?r(t,o,c):r(t,o))||c);return i>3&&c&&Object.defineProperty(t,o,c),c};!function(e){let t=class extends((0,i.TS)(d.LitElement)){constructor(){super(...arguments),this.multiple=!1,this.suppressContainerFocus=!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")),o=this.slotted.length;let s=t;for(s=(o+s+e)%o;this.slotted[s].disabled;)s=(o+s+e)%o;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 o=t;o.expanded&&!t.isEqualNode(e)&&(o.expanded=!1)}),e.expanded=!0)}setupExpandedAccordionItems(){this.multiple||this.slotted.filter(e=>e.expanded).forEach((e,t)=>{const o=e;o.expanded&&t>0&&(o.expanded=!1)})}setupFocusAccordionItems(){this.slotted.forEach(e=>{this.suppressContainerFocus||(e.addEventListener("focus",this.handleAccordionItemFocus),e.addEventListener("blur",this.handleAccordionItemBlur))})}removeFocusAccordionItems(){this.slotted.forEach(e=>{this.suppressContainerFocus||(e.removeEventListener("focus",this.handleAccordionItemFocus),e.removeEventListener("blur",this.handleAccordionItemBlur))})}handleKeyDown(e){const{srcEvent:t}=e.detail,{code:o}=t;switch(o){case r.Uz.Space:case r.Uz.Enter:{const{target:t}=e;t&&this.setActiveAccordionItem(t);break}case r.Uz.ArrowDown:this.switchFocusedAccordionItem(1);break;case r.Uz.ArrowUp:this.switchFocusedAccordionItem(-1);break;case r.Uz.Home:{const e=this.slotted[0];this.focusAccordionItem(e);break}case r.Uz.End:{const e=this.slotted[this.slotted.length-1];this.focusAccordionItem(e);break}}}handleClick(e){const{target:t}=e,o=this.slotted.find(e=>e.isSameNode(t));o&&this.setActiveAccordionItem(o)}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[n.A,l.A]}render(){return d.html`
2
2
  <div class="md-accordion" part="accordion">
3
3
  <slot name="accordion-item"></slot>
4
4
  </div>
5
- `}};m([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),m([(0,a.property)({type:Boolean,attribute:"suppress-container-focus"})],t.prototype,"suppressContainerFocus",void 0),m([(0,a.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=m([(0,c.w)("md-accordion")],t),e.ELEMENT=t}(s||(s={}))},7704(e,t,o){o.d(t,{TS:()=>s.T}),o(2364),o(3203),o(9938),o(5201),o(4781);var s=o(608)},8899(e,o,s){var r,i;e.exports=(r={property:()=>t.property,query:()=>t.query},i={},s.d(i,r),i)}},i={};function c(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return r[e](o,o.exports,c),o.exports}c.m=r,o=[],c.O=(e,t,s,r)=>{if(!t){var i=1/0;for(l=0;l<o.length;l++){for(var[t,s,r]=o[l],n=!0,d=0;d<t.length;d++)(!1&r||i>=r)&&Object.keys(c.O).every(e=>c.O[e](t[d]))?t.splice(d--,1):(n=!1,r<i&&(i=r));if(n){o.splice(l--,1);var a=s();void 0!==a&&(e=a)}}return e}r=r||0;for(var l=o.length;l>0&&o[l-1][2]>r;l--)o[l]=o[l-1];o[l]=[t,s,r]},c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{c as __webpack_require__};s={561:0,2942:0,5323:0,6220:0,7704:0,8180:0},c.C=e=>{var t,o,{__webpack_esm_ids__:r,__webpack_esm_modules__:i,__webpack_esm_runtime__:n}=e,d=0;for(t in i)c.o(i,t)&&(c.m[t]=i[t]);for(n&&n(c);d<r.length;d++)o=r[d],c.o(s,o)&&s[o]&&s[o][0](),s[r[d]]=0;c.O()},c.O.j=e=>0===s[e];import*as n from"../9609.js";c.C(n);import*as d from"../4084.js";c.C(d);import*as a from"../2364.js";c.C(a);import*as l from"../9938.js";c.C(l);import*as m from"../4781.js";c.C(m);import*as p from"../5201.js";c.C(p);import*as h from"../2900.js";c.C(h);import*as u from"../608.js";c.C(u);import*as f from"../3203.js";c.C(f);import*as v from"../742.js";c.C(v);var A=c.O(void 0,[9609,4084,2364,9938,4781,5201,2900,608,3203,742],()=>c(3701));const b=(A=c.O(A)).n;export{b as Accordion};
5
+ `}};m([(0,a.property)({type:Boolean,reflect:!0})],t.prototype,"multiple",void 0),m([(0,a.property)({type:Boolean,attribute:"suppress-container-focus"})],t.prototype,"suppressContainerFocus",void 0),m([(0,a.query)('slot[name="accordion-item"]')],t.prototype,"accordionItemSlotElement",void 0),t=m([(0,c.w)("md-accordion")],t),e.ELEMENT=t}(s||(s={}))},7704(e,t,o){o.d(t,{TS:()=>s.T}),o(2364),o(3203),o(9938),o(5201),o(4781);var s=o(608)},2927(t,o,s){var r,i;t.exports=(r={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html},i={},s.d(i,r),i)},8899(e,o,s){var r,i;e.exports=(r={property:()=>t.property,query:()=>t.query},i={},s.d(i,r),i)}},i={};function c(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return r[e](o,o.exports,c),o.exports}c.m=r,o=[],c.O=(e,t,s,r)=>{if(!t){var i=1/0;for(l=0;l<o.length;l++){for(var[t,s,r]=o[l],n=!0,d=0;d<t.length;d++)(!1&r||i>=r)&&Object.keys(c.O).every(e=>c.O[e](t[d]))?t.splice(d--,1):(n=!1,r<i&&(i=r));if(n){o.splice(l--,1);var a=s();void 0!==a&&(e=a)}}return e}r=r||0;for(var l=o.length;l>0&&o[l-1][2]>r;l--)o[l]=o[l-1];o[l]=[t,s,r]},c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{c as __webpack_require__};s={561:0,2942:0,5323:0,6220:0,7704:0,8180:0},c.C=e=>{var t,o,{__webpack_esm_ids__:r,__webpack_esm_modules__:i,__webpack_esm_runtime__:n}=e,d=0;for(t in i)c.o(i,t)&&(c.m[t]=i[t]);for(n&&n(c);d<r.length;d++)o=r[d],c.o(s,o)&&s[o]&&s[o][0](),s[r[d]]=0;c.O()},c.O.j=e=>0===s[e];import*as n from"../9609.js";c.C(n);import*as d from"../4084.js";c.C(d);import*as a from"../2364.js";c.C(a);import*as l from"../9938.js";c.C(l);import*as m from"../4781.js";c.C(m);import*as p from"../5201.js";c.C(p);import*as h from"../2900.js";c.C(h);import*as u from"../608.js";c.C(u);import*as f from"../3203.js";c.C(f);import*as v from"../742.js";c.C(v);var A=c.O(void 0,[9609,4084,2364,9938,4781,5201,2900,608,3203,742],()=>c(3701));const b=(A=c.O(A)).n;export{b as Accordion};
@@ -1,4 +1,4 @@
1
- import*as e from"lit/directives/style-map.js";import*as t from"lit";import*as o from"@momentum-ui/utils/lib/getColorValue";import*as s from"lit/directives/if-defined.js";import*as r from"lit/directives/class-map.js";import*as i from"mobx";import*as a from"lit/decorators.js";import*as d from"@momentum-ui/icons/data/momentumUiIconsNames.json";var n,l,p={1156(t,o,s){var r,i;t.exports=(r={styleMap:()=>e.styleMap},i={},s.d(i,r),i)},2927(e,o,s){var r,i;e.exports=(r={LitElement:()=>t.LitElement,css:()=>t.css,html:()=>t.html,nothing:()=>t.nothing},i={},s.d(i,r),i)},3496(e,t,s){var r,i;e.exports=(r={default:()=>o.default},i={},s.d(i,r),i)},3517(e,t,o){var r,i;e.exports=(r={ifDefined:()=>s.ifDefined},i={},o.d(i,r),i)},4466(e,t,o){o.d(t,{A:()=>s}),o(1821);var s,r=o(7704),i=o(9609),a=o(93),d=o(4084),n=o(2927),l=o(8899),p=o(3517),m=o(742),c=function(e,t,o,s){var r,i=arguments.length,a=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,s);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};!function(e){let t=class extends((0,r.yC)(n.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=(0,a.O)("accordion-item"),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[d.A,m.A]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return n.html`
1
+ import*as e from"@momentum-ui/icons/data/momentumUiIconsNames.json";import*as t from"@momentum-ui/utils/lib/getColorValue";import*as o from"lit";import*as s from"lit/decorators.js";import*as r from"lit/directives/class-map.js";import*as i from"lit/directives/if-defined.js";import*as a from"lit/directives/style-map.js";import*as d from"mobx";var n,l,p={4466(e,t,o){o.d(t,{A:()=>s}),o(1821);var s,r=o(7704),i=o(9609),a=o(93),d=o(4084),n=o(2927),l=o(8899),p=o(3517),m=o(742),c=function(e,t,o,s){var r,i=arguments.length,a=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,s);else for(var d=e.length-1;d>=0;d--)(r=e[d])&&(a=(i<3?r(a):i>3?r(t,o,a):r(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};!function(e){let t=class extends((0,r.yC)(n.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=(0,a.O)("accordion-item"),this.label="",this.disabled=!1}get expanded(){return this._expanded}set expanded(e){const t=this._expanded;this._expanded=e,e?(this.notifyAccordionFocus(),this.notifyExpandedHeader()):this.notifyCollapsedHeader(),this.requestUpdate("expanded",t)}get level(){return this._level}set level(e){const t=this.level;e<1||e>6?(console.warn("Please set appropriate section heading level"),this._level=3):this._level=e,this.requestUpdate("level",t)}notifyExpandedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-expanded",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyCollapsedHeader(){this.dispatchEvent(new CustomEvent("accordion-item-collapsed",{composed:!0,bubbles:!0,detail:{id:this.uniqueId}}))}notifyAccordionFocus(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}firstUpdated(e){super.firstUpdated(e),this.setAttribute("id",this.uniqueId)}static get styles(){return[d.A,m.A]}handleMouseDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-click",{detail:{srcEvent:e},composed:!0,bubbles:!0}))}handleKeyDown(e){this.disabled||this.dispatchEvent(new CustomEvent("accordion-item-keydown",{detail:{srcEvent:e},bubbles:!0,composed:!0}))}render(){return n.html`
2
2
  <div class="md-accordion-item">
3
3
  <div role="heading" aria-level=${this.level} class="md-accordion-header" part="accordion-header">
4
4
  <button
@@ -31,4 +31,4 @@ import*as e from"lit/directives/style-map.js";import*as t from"lit";import*as o
31
31
  <slot></slot>
32
32
  </div>
33
33
  </div>
34
- `}};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,i.w)("md-accordion-item")],t),e.ELEMENT=t}(s||(s={}))},4955(e,t,o){var s,i;e.exports=(s={classMap:()=>r.classMap},i={},o.d(i,s),i)},4980(e,t,o){var s,r;e.exports=(s={action:()=>i.action,observable:()=>i.observable},r={},o.d(r,s),r)},8899(e,t,o){var s,r;e.exports=(s={property:()=>a.property,query:()=>a.query,state:()=>a.state},r={},o.d(r,s),r)},9500(e,t,o){var s,r;e.exports=(s={default:()=>d.default},r={},o.d(r,s),r)}},m={};function c(e){var t=m[e];if(void 0!==t)return t.exports;var o=m[e]={exports:{}};return p[e](o,o.exports,c),o.exports}c.m=p,n=[],c.O=(e,t,o,s)=>{if(!t){var r=1/0;for(l=0;l<n.length;l++){for(var[t,o,s]=n[l],i=!0,a=0;a<t.length;a++)(!1&s||r>=s)&&Object.keys(c.O).every(e=>c.O[e](t[a]))?t.splice(a--,1):(i=!1,s<r&&(r=s));if(i){n.splice(l--,1);var d=o();void 0!==d&&(e=d)}}return e}s=s||0;for(var l=n.length;l>0&&n[l-1][2]>s;l--)n[l]=n[l-1];n[l]=[t,o,s]},c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{c as __webpack_require__};l={502:0,1745:0,2330:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8442:0},c.C=e=>{var t,o,{__webpack_esm_ids__:s,__webpack_esm_modules__:r,__webpack_esm_runtime__:i}=e,a=0;for(t in r)c.o(r,t)&&(c.m[t]=r[t]);for(i&&i(c);a<s.length;a++)o=s[a],c.o(l,o)&&l[o]&&l[o][0](),l[s[a]]=0;c.O()},c.O.j=e=>0===l[e];import*as u from"../9609.js";c.C(u);import*as f from"../4084.js";c.C(f);import*as h from"../3305.js";c.C(h);import*as v from"../4739.js";c.C(v);import*as b from"../7154.js";c.C(b);import*as y from"../9773.js";c.C(y);import*as x from"../5983.js";c.C(x);import*as j from"../9488.js";c.C(j);import*as C from"../1821.js";c.C(C);import*as _ from"../2364.js";c.C(_);import*as w from"../9938.js";c.C(w);import*as E from"../4781.js";c.C(E);import*as g from"../5201.js";c.C(g);import*as O from"../5584.js";c.C(O);import*as $ from"../8227.js";c.C($);import*as q from"../2900.js";c.C(q);import*as D from"../7704.js";c.C(D);import*as I from"../93.js";c.C(I);import*as A from"../742.js";c.C(A);var k=c.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,2364,9938,4781,5201,5584,8227,2900,7704,93,742],()=>c(4466));const M=(k=c.O(k)).A;export{M as AccordionItem};
34
+ `}};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,i.w)("md-accordion-item")],t),e.ELEMENT=t}(s||(s={}))},9500(t,o,s){var r,i;t.exports=(r={default:()=>e.default},i={},s.d(i,r),i)},3496(e,o,s){var r,i;e.exports=(r={default:()=>t.default},i={},s.d(i,r),i)},2927(e,t,s){var r,i;e.exports=(r={LitElement:()=>o.LitElement,css:()=>o.css,html:()=>o.html,nothing:()=>o.nothing},i={},s.d(i,r),i)},8899(e,t,o){var r,i;e.exports=(r={property:()=>s.property,query:()=>s.query,state:()=>s.state},i={},o.d(i,r),i)},4955(e,t,o){var s,i;e.exports=(s={classMap:()=>r.classMap},i={},o.d(i,s),i)},3517(e,t,o){var s,r;e.exports=(s={ifDefined:()=>i.ifDefined},r={},o.d(r,s),r)},1156(e,t,o){var s,r;e.exports=(s={styleMap:()=>a.styleMap},r={},o.d(r,s),r)},4980(e,t,o){var s,r;e.exports=(s={action:()=>d.action,observable:()=>d.observable},r={},o.d(r,s),r)}},m={};function c(e){var t=m[e];if(void 0!==t)return t.exports;var o=m[e]={exports:{}};return p[e](o,o.exports,c),o.exports}c.m=p,n=[],c.O=(e,t,o,s)=>{if(!t){var r=1/0;for(l=0;l<n.length;l++){for(var[t,o,s]=n[l],i=!0,a=0;a<t.length;a++)(!1&s||r>=s)&&Object.keys(c.O).every(e=>c.O[e](t[a]))?t.splice(a--,1):(i=!1,s<r&&(r=s));if(i){n.splice(l--,1);var d=o();void 0!==d&&(e=d)}}return e}s=s||0;for(var l=n.length;l>0&&n[l-1][2]>s;l--)n[l]=n[l-1];n[l]=[t,o,s]},c.d=(e,t)=>{for(var o in t)c.o(t,o)&&!c.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{c as __webpack_require__};l={502:0,1745:0,2330:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8442:0},c.C=e=>{var t,o,{__webpack_esm_ids__:s,__webpack_esm_modules__:r,__webpack_esm_runtime__:i}=e,a=0;for(t in r)c.o(r,t)&&(c.m[t]=r[t]);for(i&&i(c);a<s.length;a++)o=s[a],c.o(l,o)&&l[o]&&l[o][0](),l[s[a]]=0;c.O()},c.O.j=e=>0===l[e];import*as u from"../9609.js";c.C(u);import*as f from"../4084.js";c.C(f);import*as h from"../3305.js";c.C(h);import*as v from"../4739.js";c.C(v);import*as b from"../7154.js";c.C(b);import*as y from"../9773.js";c.C(y);import*as x from"../5983.js";c.C(x);import*as j from"../9488.js";c.C(j);import*as C from"../1821.js";c.C(C);import*as _ from"../2364.js";c.C(_);import*as w from"../9938.js";c.C(w);import*as E from"../4781.js";c.C(E);import*as g from"../5201.js";c.C(g);import*as O from"../5584.js";c.C(O);import*as $ from"../8227.js";c.C($);import*as q from"../2900.js";c.C(q);import*as D from"../7704.js";c.C(D);import*as I from"../93.js";c.C(I);import*as A from"../742.js";c.C(A);var k=c.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,2364,9938,4781,5201,5584,8227,2900,7704,93,742],()=>c(4466));const M=(k=c.O(k)).A;export{M as AccordionItem};
@@ -1,4 +1,4 @@
1
- import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as r from"@momentum-ui/utils/lib/getColorValue";import*as o from"lit/directives/if-defined.js";import*as i from"lit/directives/class-map.js";import*as s from"mobx";import*as a from"lit/decorators.js";import*as p from"@momentum-ui/icons/data/momentumUiIconsNames.json";var n,m,l={1156(e,r,o){var i,s;e.exports=(i={styleMap:()=>t.styleMap},s={},o.d(s,i),s)},2160(t,e,r){r.d(e,{q:()=>l,rx:()=>m,uo:()=>c}),r(5983),r(1821);var o=r(9609),i=r(4084),s=r(2927),a=r(8899),p=r(6616),n=function(t,e,r,o){var i,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var p=t.length-1;p>=0;p--)(i=t[p])&&(a=(s<3?i(a):s>3?i(e,r,a):i(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a};const m=["56","68","84",56,68,84],l=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var c;!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;l.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,[`md-activity__${this.type}`]:this.type}}static get styles(){return[i.A,p.A]}render(){return s.html`
1
+ import*as t from"@momentum-ui/icons/data/momentumUiIconsNames.json";import*as e from"@momentum-ui/utils/lib/getColorValue";import*as r from"lit";import*as o from"lit/decorators.js";import*as i from"lit/directives/class-map.js";import*as s from"lit/directives/if-defined.js";import*as a from"lit/directives/style-map.js";import*as p from"mobx";var n,m,l={2160(t,e,r){r.d(e,{q:()=>l,rx:()=>m,uo:()=>c}),r(5983),r(1821);var o=r(9609),i=r(4084),s=r(2927),a=r(8899),p=r(6616),n=function(t,e,r,o){var i,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var p=t.length-1;p>=0;p--)(i=t[p])&&(a=(s<3?i(a):s>3?i(e,r,a):i(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a};const m=["56","68","84",56,68,84],l=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var c;!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;l.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,[`md-activity__${this.type}`]:this.type}}static get styles(){return[i.A,p.A]}render(){return s.html`
2
2
  <md-button
3
3
  aria-label=${this.ariaLabel}
4
4
  circle
@@ -10,4 +10,4 @@ import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as r
10
10
  >
11
11
  <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
12
12
  </md-button>
13
- `}};n([(0,a.property)({type:String})],e.prototype,"ariaLabel",void 0),n([(0,a.property)({type:Boolean})],e.prototype,"disabled",void 0),n([(0,a.property)({type:String})],e.prototype,"label",void 0),n([(0,a.property)({type:String})],e.prototype,"size",void 0),n([(0,a.property)({type:String})],e.prototype,"type",null),e=n([(0,o.w)("md-activity-button")],e),t.ELEMENT=e}(c||(c={}))},2927(t,r,o){var i,s;t.exports=(i={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html,nothing:()=>e.nothing},s={},o.d(s,i),s)},3496(t,e,o){var i,s;t.exports=(i={default:()=>r.default},s={},o.d(s,i),s)},3517(t,e,r){var i,s;t.exports=(i={ifDefined:()=>o.ifDefined},s={},r.d(s,i),s)},4955(t,e,r){var o,s;t.exports=(o={classMap:()=>i.classMap},s={},r.d(s,o),s)},4980(t,e,r){var o,i;t.exports=(o={action:()=>s.action,observable:()=>s.observable},i={},r.d(i,o),i)},8899(t,e,r){var o,i;t.exports=(o={property:()=>a.property,query:()=>a.query,state:()=>a.state},i={},r.d(i,o),i)},9500(t,e,r){var o,i;t.exports=(o={default:()=>p.default},i={},r.d(i,o),i)}},c={};function d(t){var e=c[t];if(void 0!==e)return e.exports;var r=c[t]={exports:{}};return l[t](r,r.exports,d),r.exports}d.m=l,n=[],d.O=(t,e,r,o)=>{if(!e){var i=1/0;for(m=0;m<n.length;m++){for(var[e,r,o]=n[m],s=!0,a=0;a<e.length;a++)(!1&o||i>=o)&&Object.keys(d.O).every(t=>d.O[t](e[a]))?e.splice(a--,1):(s=!1,o<i&&(i=o));if(s){n.splice(m--,1);var p=r();void 0!==p&&(t=p)}}return t}o=o||0;for(var m=n.length;m>0&&n[m-1][2]>o;m--)n[m]=n[m-1];n[m]=[e,r,o]},d.d=(t,e)=>{for(var r in e)d.o(e,r)&&!d.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},d.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{d as __webpack_require__};m={502:0,1745:0,2434:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8442:0},d.C=t=>{var e,r,{__webpack_esm_ids__:o,__webpack_esm_modules__:i,__webpack_esm_runtime__:s}=t,a=0;for(e in i)d.o(i,e)&&(d.m[e]=i[e]);for(s&&s(d);a<o.length;a++)r=o[a],d.o(m,r)&&m[r]&&m[r][0](),m[o[a]]=0;d.O()},d.O.j=t=>0===m[t];import*as y from"../9609.js";d.C(y);import*as f from"../4084.js";d.C(f);import*as u from"../3305.js";d.C(u);import*as v from"../4739.js";d.C(v);import*as h from"../7154.js";d.C(h);import*as b from"../9773.js";d.C(b);import*as _ from"../5983.js";d.C(_);import*as g from"../9488.js";d.C(g);import*as j from"../1821.js";d.C(j);import*as x from"../519.js";d.C(x);var O=d.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519],()=>d(2160));const C=(O=d.O(O)).uo,$=O.rx,z=O.q;export{C as ActivityButton,$ as activityButtonSize,z as activityButtonType};
13
+ `}};n([(0,a.property)({type:String})],e.prototype,"ariaLabel",void 0),n([(0,a.property)({type:Boolean})],e.prototype,"disabled",void 0),n([(0,a.property)({type:String})],e.prototype,"label",void 0),n([(0,a.property)({type:String})],e.prototype,"size",void 0),n([(0,a.property)({type:String})],e.prototype,"type",null),e=n([(0,o.w)("md-activity-button")],e),t.ELEMENT=e}(c||(c={}))},9500(e,r,o){var i,s;e.exports=(i={default:()=>t.default},s={},o.d(s,i),s)},3496(t,r,o){var i,s;t.exports=(i={default:()=>e.default},s={},o.d(s,i),s)},2927(t,e,o){var i,s;t.exports=(i={LitElement:()=>r.LitElement,css:()=>r.css,html:()=>r.html,nothing:()=>r.nothing},s={},o.d(s,i),s)},8899(t,e,r){var i,s;t.exports=(i={property:()=>o.property,query:()=>o.query,state:()=>o.state},s={},r.d(s,i),s)},4955(t,e,r){var o,s;t.exports=(o={classMap:()=>i.classMap},s={},r.d(s,o),s)},3517(t,e,r){var o,i;t.exports=(o={ifDefined:()=>s.ifDefined},i={},r.d(i,o),i)},1156(t,e,r){var o,i;t.exports=(o={styleMap:()=>a.styleMap},i={},r.d(i,o),i)},4980(t,e,r){var o,i;t.exports=(o={action:()=>p.action,observable:()=>p.observable},i={},r.d(i,o),i)}},c={};function d(t){var e=c[t];if(void 0!==e)return e.exports;var r=c[t]={exports:{}};return l[t](r,r.exports,d),r.exports}d.m=l,n=[],d.O=(t,e,r,o)=>{if(!e){var i=1/0;for(m=0;m<n.length;m++){for(var[e,r,o]=n[m],s=!0,a=0;a<e.length;a++)(!1&o||i>=o)&&Object.keys(d.O).every(t=>d.O[t](e[a]))?e.splice(a--,1):(s=!1,o<i&&(i=o));if(s){n.splice(m--,1);var p=r();void 0!==p&&(t=p)}}return t}o=o||0;for(var m=n.length;m>0&&n[m-1][2]>o;m--)n[m]=n[m-1];n[m]=[e,r,o]},d.d=(t,e)=>{for(var r in e)d.o(e,r)&&!d.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},d.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{d as __webpack_require__};m={502:0,1745:0,2434:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8442:0},d.C=t=>{var e,r,{__webpack_esm_ids__:o,__webpack_esm_modules__:i,__webpack_esm_runtime__:s}=t,a=0;for(e in i)d.o(i,e)&&(d.m[e]=i[e]);for(s&&s(d);a<o.length;a++)r=o[a],d.o(m,r)&&m[r]&&m[r][0](),m[o[a]]=0;d.O()},d.O.j=t=>0===m[t];import*as y from"../9609.js";d.C(y);import*as f from"../4084.js";d.C(f);import*as u from"../3305.js";d.C(u);import*as v from"../4739.js";d.C(v);import*as h from"../7154.js";d.C(h);import*as b from"../9773.js";d.C(b);import*as _ from"../5983.js";d.C(_);import*as g from"../9488.js";d.C(g);import*as j from"../1821.js";d.C(j);import*as x from"../519.js";d.C(x);var O=d.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519],()=>d(2160));const C=(O=d.O(O)).uo,$=O.rx,z=O.q;export{C as ActivityButton,$ as activityButtonSize,z as activityButtonType};
@@ -1,4 +1,4 @@
1
- import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as s from"@momentum-ui/utils/lib/getColorValue";import*as r from"lit/directives/if-defined.js";import*as i from"lit/directives/class-map.js";import*as o from"mobx";import*as a from"lit/decorators.js";import*as n from"@momentum-ui/icons/data/momentumUiIconsNames.json";var l,p,c={1156(e,s,r){var i,o;e.exports=(i={styleMap:()=>t.styleMap},o={},r.d(o,i),o)},2927(t,s,r){var i,o;t.exports=(i={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html,nothing:()=>e.nothing},o={},r.d(o,i),o)},3496(t,e,r){var i,o;t.exports=(i={default:()=>s.default},o={},r.d(o,i),o)},3517(t,e,s){var i,o;t.exports=(i={ifDefined:()=>r.ifDefined},o={},s.d(o,i),o)},4955(t,e,s){var r,o;t.exports=(r={classMap:()=>i.classMap},o={},s.d(o,r),o)},4980(t,e,s){var r,i;t.exports=(r={action:()=>o.action,observable:()=>o.observable},i={},s.d(i,r),i)},8899(t,e,s){var r,i;t.exports=(r={property:()=>a.property,query:()=>a.query,state:()=>a.state},i={},s.d(i,r),i)},9144(t,e,s){s.d(e,{$_:()=>m,ZT:()=>d,wH:()=>h}),s(5983),s(1821);var r=s(9609),i=s(7154),o=s(4084),a=s(2927),n=s(8899),l=s(4955),p=s(4839),c=function(t,e,s,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,r);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(a=(o<3?i(a):o>3?i(e,s,a):i(e,s))||a);return o>3&&a&&Object.defineProperty(e,s,a),a};const m=["default","accent","warning","error","success","default-momentum","promotional"],h=["center","leading"];var d;!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.type="",this.titleText="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner",this.showBannerTypeIcon=!1,this.showRefreshButton=!1,this.alignment="center"}connectedCallback(){super.connectedCallback()}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide"))}onRefreshClick(){this.dispatchEvent(new CustomEvent("alertBanner-refresh-button-click"))}handleKeyDown(t){const{code:e}=t;(0,i.o)(e)&&this.onHide()}get isLeadingAlignment(){return"leading"===this.alignment}static get styles(){return[o.A,p.A]}getIconForType(){switch(this.type){case"error":return"error-legacy-bold";case"warning":return"warning-bold";case"success":return"check-circle-bold";default:return"info-circle-bold"}}get alertBannerClassMap(){return{"md-alert-banner":!0,[`md-alert-banner--${this.type}`]:this.type,"md-alert-banner--leading":this.isLeadingAlignment||this.titleText,closable:this.closable,"with-title":!!this.titleText}}get alertBannerTextClassMap(){return{"md-alert-banner__text":!0,"md-alert-banner__with-title":!!this.titleText,leading:this.isLeadingAlignment||this.titleText}}get alertBannerRightClassMap(){return{trailing:this.isLeadingAlignment||this.titleText}}get closeButtonTemplate(){const t=this.titleText?"close-div with-title":"close-div";return a.html`
1
+ import*as t from"@momentum-ui/icons/data/momentumUiIconsNames.json";import*as e from"@momentum-ui/utils/lib/getColorValue";import*as s from"lit";import*as r from"lit/decorators.js";import*as i from"lit/directives/class-map.js";import*as o from"lit/directives/if-defined.js";import*as a from"lit/directives/style-map.js";import*as n from"mobx";var l,p,c={9144(t,e,s){s.d(e,{$_:()=>m,ZT:()=>d,wH:()=>h}),s(5983),s(1821);var r=s(9609),i=s(7154),o=s(4084),a=s(2927),n=s(8899),l=s(4955),p=s(4839),c=function(t,e,s,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,s):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,s,r);else for(var n=t.length-1;n>=0;n--)(i=t[n])&&(a=(o<3?i(a):o>3?i(e,s,a):i(e,s))||a);return o>3&&a&&Object.defineProperty(e,s,a),a};const m=["default","accent","warning","error","success","default-momentum","promotional"],h=["center","leading"];var d;!function(t){let e=class extends a.LitElement{constructor(){super(...arguments),this.type="",this.titleText="",this.message="",this.closable=!1,this.show=!1,this.closeAriaLabel="Close Banner",this.showBannerTypeIcon=!1,this.showRefreshButton=!1,this.alignment="center"}connectedCallback(){super.connectedCallback()}onHide(){this.show=!this.show,this.dispatchEvent(new CustomEvent("alertBanner-hide"))}onRefreshClick(){this.dispatchEvent(new CustomEvent("alertBanner-refresh-button-click"))}handleKeyDown(t){const{code:e}=t;(0,i.o)(e)&&this.onHide()}get isLeadingAlignment(){return"leading"===this.alignment}static get styles(){return[o.A,p.A]}getIconForType(){switch(this.type){case"error":return"error-legacy-bold";case"warning":return"warning-bold";case"success":return"check-circle-bold";default:return"info-circle-bold"}}get alertBannerClassMap(){return{"md-alert-banner":!0,[`md-alert-banner--${this.type}`]:this.type,"md-alert-banner--leading":this.isLeadingAlignment||this.titleText,closable:this.closable,"with-title":!!this.titleText}}get alertBannerTextClassMap(){return{"md-alert-banner__text":!0,"md-alert-banner__with-title":!!this.titleText,leading:this.isLeadingAlignment||this.titleText}}get alertBannerRightClassMap(){return{trailing:this.isLeadingAlignment||this.titleText}}get closeButtonTemplate(){const t=this.titleText?"close-div with-title":"close-div";return a.html`
2
2
  <div class="${t}">
3
3
  <md-button
4
4
  class="md-alert-banner__close"
@@ -61,4 +61,4 @@ import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as s
61
61
  ${t}
62
62
  </div>
63
63
  `:a.nothing}
64
- `}};c([(0,n.property)({type:String})],e.prototype,"type",void 0),c([(0,n.property)({type:String})],e.prototype,"titleText",void 0),c([(0,n.property)({type:String})],e.prototype,"message",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"closable",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"show",void 0),c([(0,n.property)({type:String,attribute:"close-aria-label"})],e.prototype,"closeAriaLabel",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"showBannerTypeIcon",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"showRefreshButton",void 0),c([(0,n.property)({type:String})],e.prototype,"alignment",void 0),e=c([(0,r.w)("md-alert-banner")],e),t.ELEMENT=e}(d||(d={}))},9500(t,e,s){var r,i;t.exports=(r={default:()=>n.default},i={},s.d(i,r),i)}},m={};function h(t){var e=m[t];if(void 0!==e)return e.exports;var s=m[t]={exports:{}};return c[t](s,s.exports,h),s.exports}h.m=c,l=[],h.O=(t,e,s,r)=>{if(!e){var i=1/0;for(p=0;p<l.length;p++){for(var[e,s,r]=l[p],o=!0,a=0;a<e.length;a++)(!1&r||i>=r)&&Object.keys(h.O).every(t=>h.O[t](e[a]))?e.splice(a--,1):(o=!1,r<i&&(i=r));if(o){l.splice(p--,1);var n=s();void 0!==n&&(t=n)}}return t}r=r||0;for(var p=l.length;p>0&&l[p-1][2]>r;p--)l[p]=l[p-1];l[p]=[e,s,r]},h.d=(t,e)=>{for(var s in e)h.o(e,s)&&!h.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},h.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{h as __webpack_require__};p={502:0,1745:0,4545:0,4928:0,5369:0,6029:0,6060:0,6920:0,8111:0,8442:0},h.C=t=>{var e,s,{__webpack_esm_ids__:r,__webpack_esm_modules__:i,__webpack_esm_runtime__:o}=t,a=0;for(e in i)h.o(i,e)&&(h.m[e]=i[e]);for(o&&o(h);a<r.length;a++)s=r[a],h.o(p,s)&&p[s]&&p[s][0](),p[r[a]]=0;h.O()},h.O.j=t=>0===p[t];import*as d from"../9609.js";h.C(d);import*as v from"../4084.js";h.C(v);import*as g from"../3305.js";h.C(g);import*as f from"../4739.js";h.C(f);import*as u from"../7154.js";h.C(u);import*as y from"../9773.js";h.C(y);import*as b from"../5983.js";h.C(b);import*as _ from"../9488.js";h.C(_);import*as w from"../1821.js";h.C(w);import*as x from"../519.js";h.C(x);import*as T from"../4839.js";h.C(T);var $=h.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519,4839],()=>h(9144));const C=($=h.O($)).ZT,B=$.wH,j=$.$_;export{C as AlertBanner,B as alertBannerAlignment,j as alertBannerType};
64
+ `}};c([(0,n.property)({type:String})],e.prototype,"type",void 0),c([(0,n.property)({type:String})],e.prototype,"titleText",void 0),c([(0,n.property)({type:String})],e.prototype,"message",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"closable",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"show",void 0),c([(0,n.property)({type:String,attribute:"close-aria-label"})],e.prototype,"closeAriaLabel",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"showBannerTypeIcon",void 0),c([(0,n.property)({type:Boolean})],e.prototype,"showRefreshButton",void 0),c([(0,n.property)({type:String})],e.prototype,"alignment",void 0),e=c([(0,r.w)("md-alert-banner")],e),t.ELEMENT=e}(d||(d={}))},9500(e,s,r){var i,o;e.exports=(i={default:()=>t.default},o={},r.d(o,i),o)},3496(t,s,r){var i,o;t.exports=(i={default:()=>e.default},o={},r.d(o,i),o)},2927(t,e,r){var i,o;t.exports=(i={LitElement:()=>s.LitElement,css:()=>s.css,html:()=>s.html,nothing:()=>s.nothing},o={},r.d(o,i),o)},8899(t,e,s){var i,o;t.exports=(i={property:()=>r.property,query:()=>r.query,state:()=>r.state},o={},s.d(o,i),o)},4955(t,e,s){var r,o;t.exports=(r={classMap:()=>i.classMap},o={},s.d(o,r),o)},3517(t,e,s){var r,i;t.exports=(r={ifDefined:()=>o.ifDefined},i={},s.d(i,r),i)},1156(t,e,s){var r,i;t.exports=(r={styleMap:()=>a.styleMap},i={},s.d(i,r),i)},4980(t,e,s){var r,i;t.exports=(r={action:()=>n.action,observable:()=>n.observable},i={},s.d(i,r),i)}},m={};function h(t){var e=m[t];if(void 0!==e)return e.exports;var s=m[t]={exports:{}};return c[t](s,s.exports,h),s.exports}h.m=c,l=[],h.O=(t,e,s,r)=>{if(!e){var i=1/0;for(p=0;p<l.length;p++){for(var[e,s,r]=l[p],o=!0,a=0;a<e.length;a++)(!1&r||i>=r)&&Object.keys(h.O).every(t=>h.O[t](e[a]))?e.splice(a--,1):(o=!1,r<i&&(i=r));if(o){l.splice(p--,1);var n=s();void 0!==n&&(t=n)}}return t}r=r||0;for(var p=l.length;p>0&&l[p-1][2]>r;p--)l[p]=l[p-1];l[p]=[e,s,r]},h.d=(t,e)=>{for(var s in e)h.o(e,s)&&!h.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},h.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{h as __webpack_require__};p={502:0,1745:0,4545:0,4928:0,5369:0,6029:0,6060:0,6920:0,8111:0,8442:0},h.C=t=>{var e,s,{__webpack_esm_ids__:r,__webpack_esm_modules__:i,__webpack_esm_runtime__:o}=t,a=0;for(e in i)h.o(i,e)&&(h.m[e]=i[e]);for(o&&o(h);a<r.length;a++)s=r[a],h.o(p,s)&&p[s]&&p[s][0](),p[r[a]]=0;h.O()},h.O.j=t=>0===p[t];import*as d from"../9609.js";h.C(d);import*as v from"../4084.js";h.C(v);import*as g from"../3305.js";h.C(g);import*as f from"../4739.js";h.C(f);import*as u from"../7154.js";h.C(u);import*as y from"../9773.js";h.C(y);import*as b from"../5983.js";h.C(b);import*as _ from"../9488.js";h.C(_);import*as w from"../1821.js";h.C(w);import*as x from"../519.js";h.C(x);import*as T from"../4839.js";h.C(T);var $=h.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519,4839],()=>h(9144));const C=($=h.O($)).ZT,B=$.wH,j=$.$_;export{C as AlertBanner,B as alertBannerAlignment,j as alertBannerType};
@@ -1,39 +1,4 @@
1
- import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as o from"@momentum-ui/utils/lib/getColorValue";import*as r from"lit/directives/if-defined.js";import*as i from"lit/directives/class-map.js";import*as n from"mobx";import*as s from"lit/decorators.js";import*as a from"@momentum-ui/icons/data/momentumUiIconsNames.json";var l,d,p={1156(e,o,r){var i,n;e.exports=(i={styleMap:()=>t.styleMap},n={},r.d(n,i),n)},2927(t,o,r){var i,n;t.exports=(i={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html,nothing:()=>e.nothing},n={},r.d(n,i),n)},3496(t,e,r){var i,n;t.exports=(i={default:()=>o.default},n={},r.d(n,i),n)},3517(t,e,o){var i,n;t.exports=(i={ifDefined:()=>r.ifDefined},n={},o.d(n,i),n)},4955(t,e,o){var r,n;t.exports=(r={classMap:()=>i.classMap},n={},o.d(n,r),n)},4980(t,e,o){var r,i;t.exports=(r={action:()=>n.action,observable:()=>n.observable},i={},o.d(i,r),i)},5095(t,e,o){var r,i=o(9609),n=o(4084),s=o(2927),a=o(8899),l=o(4955),d=o(3517),p=o(476),m=function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};!function(t){let e=class extends s.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,this.autofocus=!1}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}static get styles(){return[n.A,p.A]}firstUpdated(){this.autofocus&&requestAnimationFrame(()=>{this.focus()})}focus(){var t;null===(t=this.linkRef)||void 0===t||t.focus()}blur(){var t;null===(t=this.linkRef)||void 0===t||t.blur()}get linkClassNamesInfo(){return{[`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}}get linkElement(){switch(this.tag){case"div":return s.html`
2
- <div
3
- class="md-link ${(0,l.classMap)(this.linkClassNamesInfo)}"
4
- tabindex=${this.tabIndex}
5
- aria-label=${(0,d.ifDefined)(this.ariaLabel||void 0)}
6
- aria-disabled=${(0,d.ifDefined)(this.disabled||void 0)}
7
- role=${this.ariaRole}
8
- part="link"
9
- >
10
- <slot></slot>
11
- </div>
12
- `;case"span":return s.html`
13
- <span
14
- class="md-link ${(0,l.classMap)(this.linkClassNamesInfo)}"
15
- tabindex=${this.tabIndex}
16
- aria-label=${(0,d.ifDefined)(this.ariaLabel||void 0)}
17
- aria-disabled=${(0,d.ifDefined)(this.disabled||void 0)}
18
- role=${this.ariaRole}
19
- part="link"
20
- >
21
- <slot></slot>
22
- </span>
23
- `;default:return s.html`
24
- <a
25
- class="md-link ${(0,l.classMap)(this.linkClassNamesInfo)}"
26
- .target="${this.target}"
27
- href=${(0,d.ifDefined)(this.disabled?void 0:this.href)}
28
- tabindex=${this.tabIndex}
29
- aria-label=${(0,d.ifDefined)(this.ariaLabel||void 0)}
30
- aria-disabled=${(0,d.ifDefined)(this.disabled||void 0)}
31
- role=${this.ariaRole}
32
- part="link"
33
- >
34
- <slot></slot>
35
- </a>
36
- `}}render(){return s.html` ${this.linkElement} `}};m([(0,a.property)({type:String,attribute:!1})],e.prototype,"color",void 0),m([(0,a.property)({type:String})],e.prototype,"ariaLabel",void 0),m([(0,a.property)({type:String})],e.prototype,"ariaRole",void 0),m([(0,a.property)({type:Boolean})],e.prototype,"disabled",void 0),m([(0,a.property)({type:Boolean})],e.prototype,"inline",void 0),m([(0,a.property)({type:String,attribute:"inline-style"})],e.prototype,"inlineStyle",void 0),m([(0,a.property)({type:Boolean})],e.prototype,"inverted",void 0),m([(0,a.property)({type:String})],e.prototype,"href",void 0),m([(0,a.property)({type:String})],e.prototype,"tag",void 0),m([(0,a.property)({type:String})],e.prototype,"target",void 0),m([(0,a.property)({type:String})],e.prototype,"size",void 0),m([(0,a.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),m([(0,a.property)({type:Boolean})],e.prototype,"autofocus",void 0),m([(0,a.query)(".md-link")],e.prototype,"linkRef",void 0),e=m([(0,i.w)("md-link")],e),t.ELEMENT=e}(r||(r={}))},5925(t,e,o){o.d(e,{F:()=>r}),o(1821),o(5095);var r,i=o(9609),n=o(4084),s=o(2927),a=o(8899),l=o(4955),d=o(226),p=function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};!function(t){let e=class extends s.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 s.html`
1
+ import*as t from"@momentum-ui/icons/data/momentumUiIconsNames.json";import*as e from"@momentum-ui/utils/lib/getColorValue";import*as o from"lit";import*as r from"lit/decorators.js";import*as i from"lit/directives/class-map.js";import*as n from"lit/directives/if-defined.js";import*as s from"lit/directives/style-map.js";import*as a from"mobx";var l,d,p={5925(t,e,o){o.d(e,{F:()=>r}),o(1821),o(5095);var r,i=o(9609),n=o(4084),s=o(2927),a=o(8899),l=o(4955),d=o(226),p=function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};!function(t){let e=class extends s.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 s.html`
37
2
  <md-icon
38
3
  name="error-legacy-bold"
39
4
  size="${this.newMomentum?24:32}"
@@ -153,4 +118,39 @@ import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as o
153
118
  </div>
154
119
  ${this.primaryButton||this.secondaryButton||this.link?this.renderNewAlertDefaultFooter():this.renderSlottedFooter()}
155
120
  </div>
156
- `}get alertRender(){return this.newMomentum?this.newRender():this.legacyRender()}render(){return s.html` ${this.show?this.alertRender:s.nothing} `}};p([(0,a.property)({type:Boolean})],e.prototype,"closable",void 0),p([(0,a.property)({type:String})],e.prototype,"message",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"show",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"internalClose",void 0),p([(0,a.property)({type:String})],e.prototype,"title",void 0),p([(0,a.property)({type:String})],e.prototype,"btnlabel",void 0),p([(0,a.property)({type:String})],e.prototype,"type",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"inline",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryButton",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryButtonVariant",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryButtonColor",void 0),p([(0,a.property)()],e.prototype,"primaryButtonClickFunction",void 0),p([(0,a.property)({type:String})],e.prototype,"secondaryButton",void 0),p([(0,a.property)()],e.prototype,"secondaryButtonClickFunction",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"link",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"showMore",void 0),p([(0,a.property)({type:String})],e.prototype,"href",void 0),p([(0,a.query)('slot[name="alert-footer"]')],e.prototype,"alertFooterSlot",void 0),p([(0,a.state)()],e.prototype,"hasFooterSlotContent",void 0),e=p([(0,i.w)("md-alert")],e),t.ELEMENT=e}(r||(r={}))},8899(t,e,o){var r,i;t.exports=(r={property:()=>s.property,query:()=>s.query,state:()=>s.state},i={},o.d(i,r),i)},9500(t,e,o){var r,i;t.exports=(r={default:()=>a.default},i={},o.d(i,r),i)}},m={};function c(t){var e=m[t];if(void 0!==e)return e.exports;var o=m[t]={exports:{}};return p[t](o,o.exports,c),o.exports}c.m=p,l=[],c.O=(t,e,o,r)=>{if(!e){var i=1/0;for(d=0;d<l.length;d++){for(var[e,o,r]=l[d],n=!0,s=0;s<e.length;s++)(!1&r||i>=r)&&Object.keys(c.O).every(t=>c.O[t](e[s]))?e.splice(s--,1):(n=!1,r<i&&(i=r));if(n){l.splice(d--,1);var a=o();void 0!==a&&(t=a)}}return t}r=r||0;for(var d=l.length;d>0&&l[d-1][2]>r;d--)l[d]=l[d-1];l[d]=[e,o,r]},c.d=(t,e)=>{for(var o in e)c.o(e,o)&&!c.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{c as __webpack_require__};d={502:0,1745:0,4545:0,4928:0,5369:0,6060:0,6132:0,6724:0,6920:0,8111:0,8442:0},c.C=t=>{var e,o,{__webpack_esm_ids__:r,__webpack_esm_modules__:i,__webpack_esm_runtime__:n}=t,s=0;for(e in i)c.o(i,e)&&(c.m[e]=i[e]);for(n&&n(c);s<r.length;s++)o=r[s],c.o(d,o)&&d[o]&&d[o][0](),d[r[s]]=0;c.O()},c.O.j=t=>0===d[t];import*as h from"../9609.js";c.C(h);import*as y from"../4084.js";c.C(y);import*as u from"../3305.js";c.C(u);import*as v from"../4739.js";c.C(v);import*as f from"../7154.js";c.C(f);import*as b from"../9773.js";c.C(b);import*as g from"../5983.js";c.C(g);import*as $ from"../9488.js";c.C($);import*as _ from"../1821.js";c.C(_);import*as k from"../519.js";c.C(k);import*as w from"../476.js";c.C(w);import*as C from"../226.js";c.C(C);var S=c.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519,476,226],()=>c(5925));const x=(S=c.O(S)).F;export{x as Alert};
121
+ `}get alertRender(){return this.newMomentum?this.newRender():this.legacyRender()}render(){return s.html` ${this.show?this.alertRender:s.nothing} `}};p([(0,a.property)({type:Boolean})],e.prototype,"closable",void 0),p([(0,a.property)({type:String})],e.prototype,"message",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"show",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"internalClose",void 0),p([(0,a.property)({type:String})],e.prototype,"title",void 0),p([(0,a.property)({type:String})],e.prototype,"btnlabel",void 0),p([(0,a.property)({type:String})],e.prototype,"type",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"inline",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"newMomentum",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryButton",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryButtonVariant",void 0),p([(0,a.property)({type:String})],e.prototype,"primaryButtonColor",void 0),p([(0,a.property)()],e.prototype,"primaryButtonClickFunction",void 0),p([(0,a.property)({type:String})],e.prototype,"secondaryButton",void 0),p([(0,a.property)()],e.prototype,"secondaryButtonClickFunction",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"link",void 0),p([(0,a.property)({type:Boolean})],e.prototype,"showMore",void 0),p([(0,a.property)({type:String})],e.prototype,"href",void 0),p([(0,a.query)('slot[name="alert-footer"]')],e.prototype,"alertFooterSlot",void 0),p([(0,a.state)()],e.prototype,"hasFooterSlotContent",void 0),e=p([(0,i.w)("md-alert")],e),t.ELEMENT=e}(r||(r={}))},5095(t,e,o){var r,i=o(9609),n=o(4084),s=o(2927),a=o(8899),l=o(4955),d=o(3517),p=o(476),m=function(t,e,o,r){var i,n=arguments.length,s=n<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(s=(n<3?i(s):n>3?i(e,o,s):i(e,o))||s);return n>3&&s&&Object.defineProperty(e,o,s),s};!function(t){let e=class extends s.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,this.autofocus=!1}get tabIndex(){return this._tabIndex}set tabIndex(t){const e=this._tabIndex;this._tabIndex=t,this.requestUpdate("tabIndex",e)}static get styles(){return[n.A,p.A]}firstUpdated(){this.autofocus&&requestAnimationFrame(()=>{this.focus()})}focus(){var t;null===(t=this.linkRef)||void 0===t||t.focus()}blur(){var t;null===(t=this.linkRef)||void 0===t||t.blur()}get linkClassNamesInfo(){return{[`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}}get linkElement(){switch(this.tag){case"div":return s.html`
122
+ <div
123
+ class="md-link ${(0,l.classMap)(this.linkClassNamesInfo)}"
124
+ tabindex=${this.tabIndex}
125
+ aria-label=${(0,d.ifDefined)(this.ariaLabel||void 0)}
126
+ aria-disabled=${(0,d.ifDefined)(this.disabled||void 0)}
127
+ role=${this.ariaRole}
128
+ part="link"
129
+ >
130
+ <slot></slot>
131
+ </div>
132
+ `;case"span":return s.html`
133
+ <span
134
+ class="md-link ${(0,l.classMap)(this.linkClassNamesInfo)}"
135
+ tabindex=${this.tabIndex}
136
+ aria-label=${(0,d.ifDefined)(this.ariaLabel||void 0)}
137
+ aria-disabled=${(0,d.ifDefined)(this.disabled||void 0)}
138
+ role=${this.ariaRole}
139
+ part="link"
140
+ >
141
+ <slot></slot>
142
+ </span>
143
+ `;default:return s.html`
144
+ <a
145
+ class="md-link ${(0,l.classMap)(this.linkClassNamesInfo)}"
146
+ .target="${this.target}"
147
+ href=${(0,d.ifDefined)(this.disabled?void 0:this.href)}
148
+ tabindex=${this.tabIndex}
149
+ aria-label=${(0,d.ifDefined)(this.ariaLabel||void 0)}
150
+ aria-disabled=${(0,d.ifDefined)(this.disabled||void 0)}
151
+ role=${this.ariaRole}
152
+ part="link"
153
+ >
154
+ <slot></slot>
155
+ </a>
156
+ `}}render(){return s.html` ${this.linkElement} `}};m([(0,a.property)({type:String,attribute:!1})],e.prototype,"color",void 0),m([(0,a.property)({type:String})],e.prototype,"ariaLabel",void 0),m([(0,a.property)({type:String})],e.prototype,"ariaRole",void 0),m([(0,a.property)({type:Boolean})],e.prototype,"disabled",void 0),m([(0,a.property)({type:Boolean})],e.prototype,"inline",void 0),m([(0,a.property)({type:String,attribute:"inline-style"})],e.prototype,"inlineStyle",void 0),m([(0,a.property)({type:Boolean})],e.prototype,"inverted",void 0),m([(0,a.property)({type:String})],e.prototype,"href",void 0),m([(0,a.property)({type:String})],e.prototype,"tag",void 0),m([(0,a.property)({type:String})],e.prototype,"target",void 0),m([(0,a.property)({type:String})],e.prototype,"size",void 0),m([(0,a.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),m([(0,a.property)({type:Boolean})],e.prototype,"autofocus",void 0),m([(0,a.query)(".md-link")],e.prototype,"linkRef",void 0),e=m([(0,i.w)("md-link")],e),t.ELEMENT=e}(r||(r={}))},9500(e,o,r){var i,n;e.exports=(i={default:()=>t.default},n={},r.d(n,i),n)},3496(t,o,r){var i,n;t.exports=(i={default:()=>e.default},n={},r.d(n,i),n)},2927(t,e,r){var i,n;t.exports=(i={LitElement:()=>o.LitElement,css:()=>o.css,html:()=>o.html,nothing:()=>o.nothing},n={},r.d(n,i),n)},8899(t,e,o){var i,n;t.exports=(i={property:()=>r.property,query:()=>r.query,state:()=>r.state},n={},o.d(n,i),n)},4955(t,e,o){var r,n;t.exports=(r={classMap:()=>i.classMap},n={},o.d(n,r),n)},3517(t,e,o){var r,i;t.exports=(r={ifDefined:()=>n.ifDefined},i={},o.d(i,r),i)},1156(t,e,o){var r,i;t.exports=(r={styleMap:()=>s.styleMap},i={},o.d(i,r),i)},4980(t,e,o){var r,i;t.exports=(r={action:()=>a.action,observable:()=>a.observable},i={},o.d(i,r),i)}},m={};function c(t){var e=m[t];if(void 0!==e)return e.exports;var o=m[t]={exports:{}};return p[t](o,o.exports,c),o.exports}c.m=p,l=[],c.O=(t,e,o,r)=>{if(!e){var i=1/0;for(d=0;d<l.length;d++){for(var[e,o,r]=l[d],n=!0,s=0;s<e.length;s++)(!1&r||i>=r)&&Object.keys(c.O).every(t=>c.O[t](e[s]))?e.splice(s--,1):(n=!1,r<i&&(i=r));if(n){l.splice(d--,1);var a=o();void 0!==a&&(t=a)}}return t}r=r||0;for(var d=l.length;d>0&&l[d-1][2]>r;d--)l[d]=l[d-1];l[d]=[e,o,r]},c.d=(t,e)=>{for(var o in e)c.o(e,o)&&!c.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{c as __webpack_require__};d={502:0,1745:0,4545:0,4928:0,5369:0,6060:0,6132:0,6724:0,6920:0,8111:0,8442:0},c.C=t=>{var e,o,{__webpack_esm_ids__:r,__webpack_esm_modules__:i,__webpack_esm_runtime__:n}=t,s=0;for(e in i)c.o(i,e)&&(c.m[e]=i[e]);for(n&&n(c);s<r.length;s++)o=r[s],c.o(d,o)&&d[o]&&d[o][0](),d[r[s]]=0;c.O()},c.O.j=t=>0===d[t];import*as h from"../9609.js";c.C(h);import*as y from"../4084.js";c.C(y);import*as u from"../3305.js";c.C(u);import*as v from"../4739.js";c.C(v);import*as f from"../7154.js";c.C(f);import*as b from"../9773.js";c.C(b);import*as g from"../5983.js";c.C(g);import*as $ from"../9488.js";c.C($);import*as _ from"../1821.js";c.C(_);import*as k from"../519.js";c.C(k);import*as w from"../476.js";c.C(w);import*as C from"../226.js";c.C(C);var S=c.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519,476,226],()=>c(5925));const x=(S=c.O(S)).F;export{x as Alert};
@@ -1,4 +1,4 @@
1
- import*as e from"lit/directives/style-map.js";import*as t from"lit";import*as i from"@momentum-ui/utils/lib/getColorValue";import*as o from"lit/directives/if-defined.js";import*as s from"lit/directives/class-map.js";import*as a from"mobx";import*as l from"lit/decorators.js";import*as r from"@momentum-ui/icons/data/momentumUiIconsNames.json";var n,d,p={1156(t,i,o){var s,a;t.exports=(s={styleMap:()=>e.styleMap},a={},o.d(a,s),a)},2927(e,i,o){var s,a;e.exports=(s={LitElement:()=>t.LitElement,css:()=>t.css,html:()=>t.html,nothing:()=>t.nothing},a={},o.d(a,s),a)},3496(e,t,o){var s,a;e.exports=(s={default:()=>i.default},a={},o.d(a,s),a)},3517(e,t,i){var s,a;e.exports=(s={ifDefined:()=>o.ifDefined},a={},i.d(a,s),a)},3764(e,t,i){i.d(t,{Y$:()=>c,c6:()=>m,ys:()=>u}),i(5983),i(1821),i(9613);var o=i(2900),s=i(9609),a=i(4084),l=i(2927),r=i(8899),n=i(4955),d=i(9404),p=function(e,t,i,o){var s,a=arguments.length,l=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(l=(a<3?s(l):a>3?s(t,i,l):s(t,i))||l);return a>3&&l&&Object.defineProperty(t,i,l),l};const u=[{value:.25,label:"0.25"},{value:.5,label:"0.50"},{value:.75,label:"0.75"},{value:1,label:"Normal"},{value:1.25,label:"1.25"},{value:1.5,label:"1.50"},{value:1.75,label:"1.75"},{value:2,label:"2"}],m={playBtn:{ariaLabel:"Play",tooltipText:"Play"},pauseBtn:{ariaLabel:"Pause",tooltipText:"Pause"},duration:{ariaLabel:"Duration:",tooltipText:"Duration"},timeline:{ariaLabel:"Audio Seekbar",tooltipText:"Audio Seekbar"},volumeBtn:{ariaLabel:"Mute / Unmute Audio",tooltipText:"Mute / Unmute"},volumeSlider:{ariaLabel:"Volume level",tooltipText:"Volume level"},playbackSpeedBtn:{ariaLabel:"Playback speed",tooltipText:"Playback speed"}};var c;!function(e){let t=class extends l.LitElement{constructor(){super(),this.src="",this.events=[],this.isPlaying=!1,this.isMuted=!1,this.duration=0,this.volume=100,this.currentTime=0,this.showSpeedPopup=!1,this.playbackSpeed=1,this.volumeExpanded=!1,this.bufferedRange=0,this.selectedPlaybackSpeed=this.playbackSpeed,this.currentlySelectingPlaybackSpeed=!1,this.onOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find(e=>"speed-btn"===e.id),t||(this.showSpeedPopup=!1))},this.handleKeyDown=e=>{const{code:t}=e;switch(t){case o.Uz.ArrowLeft:this.volumeExpanded?this.setVolumeKeydown(this.volume-.01):this.setTimeKeydown(this.currentTime-1);break;case o.Uz.ArrowRight:this.volumeExpanded?this.setVolumeKeydown(this.volume+.01):this.setTimeKeydown(this.currentTime+1);break;case o.Uz.ArrowUp:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=u.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.max(0,t-1);this.selectedPlaybackSpeed=u[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.ArrowDown:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=u.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.min(u.length-1,t+1);this.selectedPlaybackSpeed=u[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.Enter:this.showSpeedPopup&&(this.setPlaybackSpeed(this.selectedPlaybackSpeed),e.preventDefault())}},this.audio=new Audio,this.setAudioEventListeners(),this.labelMap=m}firstUpdated(e){super.firstUpdated(e),e.has("src")&&(this.audio.src=this.src)}updated(e){super.updated(e),e.has("src")&&(this.audio.src=this.src)}connectedCallback(){super.connectedCallback(),this.requestUpdate("src"),document.addEventListener("click",this.onOutsideClick),document.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.onOutsideClick),document.removeEventListener("keydown",this.handleKeyDown),this.audio.pause(),this.isPlaying=!1}setAudioEventListeners(){this.audio.onloadeddata=()=>{this.duration=this.audio.duration,this.audio.volume=.75},this.audio.onerror=()=>{this.audio.src&&this.dispatchEvent(new CustomEvent("playback-error",{composed:!0,bubbles:!0}))},this.audio.onended=()=>{this.audio.currentTime=0,this.isPlaying=!1},this.audio.ontimeupdate=()=>{this.currentTime=this.audio.currentTime},this.audio.onvolumechange=()=>{this.volume=this.audio.volume},this.audio.onprogress=()=>{this.audio.buffered.length>0&&(this.bufferedRange=this.audio.buffered.end(this.audio.buffered.length-1))}}togglePlay(){this.isPlaying=!this.isPlaying,this.isPlaying?(this.audio.play(),this.dispatchEvent(new CustomEvent("play-clicked",{composed:!0,bubbles:!0}))):this.audio.pause()}toTimecode(e){const t=Math.floor(e);return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}setTime(e){const t=this.getBarPercentage(e,"timeline"),i=Math.floor(t*this.duration);this.audio.currentTime=i}setVolumeElement(e){this.volumeElement="volume"===e.target.className?e.target:e.target.parentElement}handleVolumeChange(e){let t=!1;this.setVolumeElement(e),this.setVolume(e);const i=e=>{t||(t=!0),this.volumeExpanded?this.setVolume(e):s()},o=()=>{s()},s=()=>{t=!1,window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",o)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",o),e.preventDefault()}getVolumeFromSlider(e){if(null===this.volumeElement)return 0;const t=this.volumeElement.getBoundingClientRect(),i=e.clientX-t.x;return Math.max(0,Math.min(1,i/t.width))}setVolume(e){const t=this.getVolumeFromSlider(e);this.audio.volume=t}getBarPercentage(e,t){const i=(e.target.className===t?e.target:e.target.parentElement).getBoundingClientRect();return(e.clientX-i.x)/i.width}toggleSoundMute(){this.isMuted=!this.isMuted,this.audio.muted=this.isMuted}toggleSpeedPopup(){this.showSpeedPopup=!this.showSpeedPopup}setTimeKeydown(e){e>this.duration?(this.currentTime=this.duration,this.audio.currentTime=this.duration):e<0?(this.currentTime=0,this.audio.currentTime=0):(this.currentTime=e,this.audio.currentTime=e)}setVolumeKeydown(e){e>1?(this.volume=1,this.audio.volume=1):e<0?(this.isMuted||this.toggleSoundMute(),this.volume=0,this.audio.volume=0):(this.isMuted&&this.toggleSoundMute(),this.volume=e,this.audio.volume=e)}get popupClassMap(){return{"popup-open":this.showSpeedPopup}}setPlaybackSpeed(e){this.playbackSpeed=e,this.selectedPlaybackSpeed=e,this.audio.playbackRate=this.playbackSpeed,this.showSpeedPopup=!1}toggleVolumeExpand(e){this.volumeExpanded=e}static get styles(){return[a.A,d.A]}render(){return l.html`
1
+ import*as e from"@momentum-ui/icons/data/momentumUiIconsNames.json";import*as t from"@momentum-ui/utils/lib/getColorValue";import*as i from"lit";import*as o from"lit/decorators.js";import*as s from"lit/directives/class-map.js";import*as a from"lit/directives/if-defined.js";import*as l from"lit/directives/style-map.js";import*as r from"mobx";var n,d,p={3764(e,t,i){i.d(t,{Y$:()=>c,c6:()=>m,ys:()=>u}),i(5983),i(1821),i(9613);var o=i(2900),s=i(9609),a=i(4084),l=i(2927),r=i(8899),n=i(4955),d=i(9404),p=function(e,t,i,o){var s,a=arguments.length,l=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(s=e[r])&&(l=(a<3?s(l):a>3?s(t,i,l):s(t,i))||l);return a>3&&l&&Object.defineProperty(t,i,l),l};const u=[{value:.25,label:"0.25"},{value:.5,label:"0.50"},{value:.75,label:"0.75"},{value:1,label:"Normal"},{value:1.25,label:"1.25"},{value:1.5,label:"1.50"},{value:1.75,label:"1.75"},{value:2,label:"2"}],m={playBtn:{ariaLabel:"Play",tooltipText:"Play"},pauseBtn:{ariaLabel:"Pause",tooltipText:"Pause"},duration:{ariaLabel:"Duration:",tooltipText:"Duration"},timeline:{ariaLabel:"Audio Seekbar",tooltipText:"Audio Seekbar"},volumeBtn:{ariaLabel:"Mute / Unmute Audio",tooltipText:"Mute / Unmute"},volumeSlider:{ariaLabel:"Volume level",tooltipText:"Volume level"},playbackSpeedBtn:{ariaLabel:"Playback speed",tooltipText:"Playback speed"}};var c;!function(e){let t=class extends l.LitElement{constructor(){super(),this.src="",this.events=[],this.isPlaying=!1,this.isMuted=!1,this.duration=0,this.volume=100,this.currentTime=0,this.showSpeedPopup=!1,this.playbackSpeed=1,this.volumeExpanded=!1,this.bufferedRange=0,this.selectedPlaybackSpeed=this.playbackSpeed,this.currentlySelectingPlaybackSpeed=!1,this.onOutsideClick=e=>{let t=!1;const i=e.composedPath();i.length&&(t=!!i.find(e=>"speed-btn"===e.id),t||(this.showSpeedPopup=!1))},this.handleKeyDown=e=>{const{code:t}=e;switch(t){case o.Uz.ArrowLeft:this.volumeExpanded?this.setVolumeKeydown(this.volume-.01):this.setTimeKeydown(this.currentTime-1);break;case o.Uz.ArrowRight:this.volumeExpanded?this.setVolumeKeydown(this.volume+.01):this.setTimeKeydown(this.currentTime+1);break;case o.Uz.ArrowUp:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=u.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.max(0,t-1);this.selectedPlaybackSpeed=u[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.ArrowDown:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=u.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.min(u.length-1,t+1);this.selectedPlaybackSpeed=u[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.Uz.Enter:this.showSpeedPopup&&(this.setPlaybackSpeed(this.selectedPlaybackSpeed),e.preventDefault())}},this.audio=new Audio,this.setAudioEventListeners(),this.labelMap=m}firstUpdated(e){super.firstUpdated(e),e.has("src")&&(this.audio.src=this.src)}updated(e){super.updated(e),e.has("src")&&(this.audio.src=this.src)}connectedCallback(){super.connectedCallback(),this.requestUpdate("src"),document.addEventListener("click",this.onOutsideClick),document.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.onOutsideClick),document.removeEventListener("keydown",this.handleKeyDown),this.audio.pause(),this.isPlaying=!1}setAudioEventListeners(){this.audio.onloadeddata=()=>{this.duration=this.audio.duration,this.audio.volume=.75},this.audio.onerror=()=>{this.audio.src&&this.dispatchEvent(new CustomEvent("playback-error",{composed:!0,bubbles:!0}))},this.audio.onended=()=>{this.audio.currentTime=0,this.isPlaying=!1},this.audio.ontimeupdate=()=>{this.currentTime=this.audio.currentTime},this.audio.onvolumechange=()=>{this.volume=this.audio.volume},this.audio.onprogress=()=>{this.audio.buffered.length>0&&(this.bufferedRange=this.audio.buffered.end(this.audio.buffered.length-1))}}togglePlay(){this.isPlaying=!this.isPlaying,this.isPlaying?(this.audio.play(),this.dispatchEvent(new CustomEvent("play-clicked",{composed:!0,bubbles:!0}))):this.audio.pause()}toTimecode(e){const t=Math.floor(e);return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}setTime(e){const t=this.getBarPercentage(e,"timeline"),i=Math.floor(t*this.duration);this.audio.currentTime=i}setVolumeElement(e){this.volumeElement="volume"===e.target.className?e.target:e.target.parentElement}handleVolumeChange(e){let t=!1;this.setVolumeElement(e),this.setVolume(e);const i=e=>{t||(t=!0),this.volumeExpanded?this.setVolume(e):s()},o=()=>{s()},s=()=>{t=!1,window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",o)};window.addEventListener("mousemove",i),window.addEventListener("mouseup",o),e.preventDefault()}getVolumeFromSlider(e){if(null===this.volumeElement)return 0;const t=this.volumeElement.getBoundingClientRect(),i=e.clientX-t.x;return Math.max(0,Math.min(1,i/t.width))}setVolume(e){const t=this.getVolumeFromSlider(e);this.audio.volume=t}getBarPercentage(e,t){const i=(e.target.className===t?e.target:e.target.parentElement).getBoundingClientRect();return(e.clientX-i.x)/i.width}toggleSoundMute(){this.isMuted=!this.isMuted,this.audio.muted=this.isMuted}toggleSpeedPopup(){this.showSpeedPopup=!this.showSpeedPopup}setTimeKeydown(e){e>this.duration?(this.currentTime=this.duration,this.audio.currentTime=this.duration):e<0?(this.currentTime=0,this.audio.currentTime=0):(this.currentTime=e,this.audio.currentTime=e)}setVolumeKeydown(e){e>1?(this.volume=1,this.audio.volume=1):e<0?(this.isMuted||this.toggleSoundMute(),this.volume=0,this.audio.volume=0):(this.isMuted&&this.toggleSoundMute(),this.volume=e,this.audio.volume=e)}get popupClassMap(){return{"popup-open":this.showSpeedPopup}}setPlaybackSpeed(e){this.playbackSpeed=e,this.selectedPlaybackSpeed=e,this.audio.playbackRate=this.playbackSpeed,this.showSpeedPopup=!1}toggleVolumeExpand(e){this.volumeExpanded=e}static get styles(){return[a.A,d.A]}render(){return l.html`
2
2
  <div class="md-audio-player">
3
3
  <div class="inner-container">
4
4
  <div class="play-container">
@@ -95,4 +95,4 @@ import*as e from"lit/directives/style-map.js";import*as t from"lit";import*as i
95
95
  </div>
96
96
  </div>
97
97
  </div>
98
- `}};p([(0,r.property)({type:String})],t.prototype,"src",void 0),p([(0,r.property)({type:Object})],t.prototype,"labelMap",void 0),p([(0,r.state)()],t.prototype,"events",void 0),p([(0,r.state)()],t.prototype,"audio",void 0),p([(0,r.state)()],t.prototype,"volumeElement",void 0),p([(0,r.state)()],t.prototype,"isPlaying",void 0),p([(0,r.state)()],t.prototype,"isMuted",void 0),p([(0,r.state)()],t.prototype,"duration",void 0),p([(0,r.state)()],t.prototype,"volume",void 0),p([(0,r.state)()],t.prototype,"currentTime",void 0),p([(0,r.state)()],t.prototype,"showSpeedPopup",void 0),p([(0,r.state)()],t.prototype,"playbackSpeed",void 0),p([(0,r.state)()],t.prototype,"volumeExpanded",void 0),p([(0,r.state)()],t.prototype,"bufferedRange",void 0),p([(0,r.state)()],t.prototype,"selectedPlaybackSpeed",void 0),p([(0,r.state)()],t.prototype,"currentlySelectingPlaybackSpeed",void 0),t=p([(0,s.w)("md-audio-player")],t),e.ELEMENT=t}(c||(c={}))},4955(e,t,i){var o,a;e.exports=(o={classMap:()=>s.classMap},a={},i.d(a,o),a)},4980(e,t,i){var o,s;e.exports=(o={action:()=>a.action,observable:()=>a.observable},s={},i.d(s,o),s)},8899(e,t,i){var o,s;e.exports=(o={property:()=>l.property,query:()=>l.query,state:()=>l.state},s={},i.d(s,o),s)},9500(e,t,i){var o,s;e.exports=(o={default:()=>r.default},s={},i.d(s,o),s)}},u={};function m(e){var t=u[e];if(void 0!==t)return t.exports;var i=u[e]={exports:{}};return p[e](i,i.exports,m),i.exports}m.m=p,n=[],m.O=(e,t,i,o)=>{if(!t){var s=1/0;for(d=0;d<n.length;d++){for(var[t,i,o]=n[d],a=!0,l=0;l<t.length;l++)(!1&o||s>=o)&&Object.keys(m.O).every(e=>m.O[e](t[l]))?t.splice(l--,1):(a=!1,o<s&&(s=o));if(a){n.splice(d--,1);var r=i();void 0!==r&&(e=r)}}return e}o=o||0;for(var d=n.length;d>0&&n[d-1][2]>o;d--)n[d]=n[d-1];n[d]=[t,i,o]},m.d=(e,t)=>{for(var i in t)m.o(t,i)&&!m.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{m as __webpack_require__};d={502:0,1745:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8220:0,8442:0},m.C=e=>{var t,i,{__webpack_esm_ids__:o,__webpack_esm_modules__:s,__webpack_esm_runtime__:a}=e,l=0;for(t in s)m.o(s,t)&&(m.m[t]=s[t]);for(a&&a(m);l<o.length;l++)i=o[l],m.o(d,i)&&d[i]&&d[i][0](),d[o[l]]=0;m.O()},m.O.j=e=>0===d[e];import*as c from"../9609.js";m.C(c);import*as h from"../4084.js";m.C(h);import*as v from"../3305.js";m.C(v);import*as b from"../4739.js";m.C(b);import*as y from"../7154.js";m.C(y);import*as g from"../9773.js";m.C(g);import*as f from"../5983.js";m.C(f);import*as S from"../9488.js";m.C(S);import*as k from"../1821.js";m.C(k);import*as P from"../2364.js";m.C(P);import*as w from"../9938.js";m.C(w);import*as M from"../4781.js";m.C(M);import*as x from"../5584.js";m.C(x);import*as T from"../8227.js";m.C(T);import*as $ from"../2900.js";m.C($);import*as C from"../2050.js";m.C(C);import*as E from"../6343.js";m.C(E);import*as j from"../7582.js";m.C(j);import*as L from"../9613.js";m.C(L);import*as D from"../5323.js";m.C(D);import*as O from"../9404.js";m.C(O);var V=m.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,2364,9938,4781,5584,8227,2900,2050,6343,7582,9613,5323,9404],()=>m(3764));const _=(V=m.O(V)).Y$,B=V.c6,R=V.ys;export{_ as AudioPlayer,B as defaultLabelMap,R as playbackSpeeds};
98
+ `}};p([(0,r.property)({type:String})],t.prototype,"src",void 0),p([(0,r.property)({type:Object})],t.prototype,"labelMap",void 0),p([(0,r.state)()],t.prototype,"events",void 0),p([(0,r.state)()],t.prototype,"audio",void 0),p([(0,r.state)()],t.prototype,"volumeElement",void 0),p([(0,r.state)()],t.prototype,"isPlaying",void 0),p([(0,r.state)()],t.prototype,"isMuted",void 0),p([(0,r.state)()],t.prototype,"duration",void 0),p([(0,r.state)()],t.prototype,"volume",void 0),p([(0,r.state)()],t.prototype,"currentTime",void 0),p([(0,r.state)()],t.prototype,"showSpeedPopup",void 0),p([(0,r.state)()],t.prototype,"playbackSpeed",void 0),p([(0,r.state)()],t.prototype,"volumeExpanded",void 0),p([(0,r.state)()],t.prototype,"bufferedRange",void 0),p([(0,r.state)()],t.prototype,"selectedPlaybackSpeed",void 0),p([(0,r.state)()],t.prototype,"currentlySelectingPlaybackSpeed",void 0),t=p([(0,s.w)("md-audio-player")],t),e.ELEMENT=t}(c||(c={}))},9500(t,i,o){var s,a;t.exports=(s={default:()=>e.default},a={},o.d(a,s),a)},3496(e,i,o){var s,a;e.exports=(s={default:()=>t.default},a={},o.d(a,s),a)},2927(e,t,o){var s,a;e.exports=(s={LitElement:()=>i.LitElement,css:()=>i.css,html:()=>i.html,nothing:()=>i.nothing},a={},o.d(a,s),a)},8899(e,t,i){var s,a;e.exports=(s={property:()=>o.property,query:()=>o.query,state:()=>o.state},a={},i.d(a,s),a)},4955(e,t,i){var o,a;e.exports=(o={classMap:()=>s.classMap},a={},i.d(a,o),a)},3517(e,t,i){var o,s;e.exports=(o={ifDefined:()=>a.ifDefined},s={},i.d(s,o),s)},1156(e,t,i){var o,s;e.exports=(o={styleMap:()=>l.styleMap},s={},i.d(s,o),s)},4980(e,t,i){var o,s;e.exports=(o={action:()=>r.action,observable:()=>r.observable},s={},i.d(s,o),s)}},u={};function m(e){var t=u[e];if(void 0!==t)return t.exports;var i=u[e]={exports:{}};return p[e](i,i.exports,m),i.exports}m.m=p,n=[],m.O=(e,t,i,o)=>{if(!t){var s=1/0;for(d=0;d<n.length;d++){for(var[t,i,o]=n[d],a=!0,l=0;l<t.length;l++)(!1&o||s>=o)&&Object.keys(m.O).every(e=>m.O[e](t[l]))?t.splice(l--,1):(a=!1,o<s&&(s=o));if(a){n.splice(d--,1);var r=i();void 0!==r&&(e=r)}}return e}o=o||0;for(var d=n.length;d>0&&n[d-1][2]>o;d--)n[d]=n[d-1];n[d]=[t,i,o]},m.d=(e,t)=>{for(var i in t)m.o(t,i)&&!m.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);export{m as __webpack_require__};d={502:0,1745:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8220:0,8442:0},m.C=e=>{var t,i,{__webpack_esm_ids__:o,__webpack_esm_modules__:s,__webpack_esm_runtime__:a}=e,l=0;for(t in s)m.o(s,t)&&(m.m[t]=s[t]);for(a&&a(m);l<o.length;l++)i=o[l],m.o(d,i)&&d[i]&&d[i][0](),d[o[l]]=0;m.O()},m.O.j=e=>0===d[e];import*as c from"../9609.js";m.C(c);import*as h from"../4084.js";m.C(h);import*as v from"../3305.js";m.C(v);import*as b from"../4739.js";m.C(b);import*as y from"../7154.js";m.C(y);import*as g from"../9773.js";m.C(g);import*as f from"../5983.js";m.C(f);import*as S from"../9488.js";m.C(S);import*as k from"../1821.js";m.C(k);import*as P from"../2364.js";m.C(P);import*as w from"../9938.js";m.C(w);import*as M from"../4781.js";m.C(M);import*as x from"../5584.js";m.C(x);import*as T from"../8227.js";m.C(T);import*as $ from"../2900.js";m.C($);import*as C from"../2050.js";m.C(C);import*as E from"../6343.js";m.C(E);import*as j from"../7582.js";m.C(j);import*as L from"../9613.js";m.C(L);import*as D from"../5323.js";m.C(D);import*as O from"../9404.js";m.C(O);var V=m.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,2364,9938,4781,5584,8227,2900,2050,6343,7582,9613,5323,9404],()=>m(3764));const _=(V=m.O(V)).Y$,B=V.c6,R=V.ys;export{_ as AudioPlayer,B as defaultLabelMap,R as playbackSpeeds};
@@ -1 +1 @@
1
- import*as r from"lit/directives/style-map.js";import*as o from"lit/directives/until.js";import*as t from"lit";import*as s from"@momentum-ui/utils/lib/getColorValue";import*as e from"lit/directives/if-defined.js";import*as a from"lit/directives/class-map.js";import*as m from"mobx";import*as i from"lit/decorators.js";import*as p from"@momentum-ui/icons/data/momentumUiIconsNames.json";var f,l,n={1156(o,t,s){var e,a;o.exports=(e={styleMap:()=>r.styleMap},a={},s.d(a,e),a)},1666(r,t,s){var e,a;r.exports=(e={until:()=>o.until},a={},s.d(a,e),a)},2927(r,o,s){var e,a;r.exports=(e={LitElement:()=>t.LitElement,css:()=>t.css,html:()=>t.html,nothing:()=>t.nothing},a={},s.d(a,e),a)},3496(r,o,t){var e,a;r.exports=(e={default:()=>s.default},a={},t.d(a,e),a)},3517(r,o,t){var s,a;r.exports=(s={ifDefined:()=>e.ifDefined},a={},t.d(a,s),a)},4955(r,o,t){var s,e;r.exports=(s={classMap:()=>a.classMap},e={},t.d(e,s),e)},4980(r,o,t){var s,e;r.exports=(s={action:()=>m.action,observable:()=>m.observable},e={},t.d(e,s),e)},8899(r,o,t){var s,e;r.exports=(s={property:()=>i.property,query:()=>i.query,state:()=>i.state},e={},t.d(e,s),e)},9500(r,o,t){var s,e;r.exports=(s={default:()=>p.default},e={},t.d(e,s),e)}},d={};function v(r){var o=d[r];if(void 0!==o)return o.exports;var t=d[r]={exports:{}};return n[r](t,t.exports,v),t.exports}v.m=n,f=[],v.O=(r,o,t,s)=>{if(!o){var e=1/0;for(p=0;p<f.length;p++){for(var[o,t,s]=f[p],a=!0,m=0;m<o.length;m++)(!1&s||e>=s)&&Object.keys(v.O).every(r=>v.O[r](o[m]))?o.splice(m--,1):(a=!1,s<e&&(e=s));if(a){f.splice(p--,1);var i=t();void 0!==i&&(r=i)}}return r}s=s||0;for(var p=f.length;p>0&&f[p-1][2]>s;p--)f[p]=f[p-1];f[p]=[o,t,s]},v.d=(r,o)=>{for(var t in o)v.o(o,t)&&!v.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:o[t]})},v.o=(r,o)=>Object.prototype.hasOwnProperty.call(r,o);export{v as __webpack_require__};l={502:0,1745:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8115:0,8442:0},v.C=r=>{var o,t,{__webpack_esm_ids__:s,__webpack_esm_modules__:e,__webpack_esm_runtime__:a}=r,m=0;for(o in e)v.o(e,o)&&(v.m[o]=e[o]);for(a&&a(v);m<s.length;m++)t=s[m],v.o(l,t)&&l[t]&&l[t][0](),l[s[m]]=0;v.O()},v.O.j=r=>0===l[r];import*as j from"../9609.js";v.C(j);import*as c from"../4084.js";v.C(c);import*as u from"../3305.js";v.C(u);import*as C from"../4739.js";v.C(C);import*as _ from"../7154.js";v.C(_);import*as x from"../9773.js";v.C(x);import*as b from"../5983.js";v.C(b);import*as y from"../9488.js";v.C(y);import*as O from"../1821.js";v.C(O);import*as h from"../519.js";v.C(h);import*as g from"../6325.js";v.C(g);import*as k from"../4449.js";v.C(k);import*as w from"../1392.js";v.C(w);import*as M from"../1618.js";v.C(M);import*as q from"../4621.js";v.C(q);import*as D from"../9244.js";v.C(D);import*as E from"../2245.js";v.C(E);var L=v.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519,6325,4449,1392,1618,4621,9244,2245],()=>v(2245));const P=(L=v.O(L)).e;export{P as Avatar};
1
+ import*as r from"@momentum-ui/icons/data/momentumUiIconsNames.json";import*as o from"@momentum-ui/utils/lib/getColorValue";import*as t from"lit";import*as s from"lit/decorators.js";import*as e from"lit/directives/class-map.js";import*as a from"lit/directives/if-defined.js";import*as m from"lit/directives/style-map.js";import*as i from"lit/directives/until.js";import*as p from"mobx";var f,l,n={9500(o,t,s){var e,a;o.exports=(e={default:()=>r.default},a={},s.d(a,e),a)},3496(r,t,s){var e,a;r.exports=(e={default:()=>o.default},a={},s.d(a,e),a)},2927(r,o,s){var e,a;r.exports=(e={LitElement:()=>t.LitElement,css:()=>t.css,html:()=>t.html,nothing:()=>t.nothing},a={},s.d(a,e),a)},8899(r,o,t){var e,a;r.exports=(e={property:()=>s.property,query:()=>s.query,state:()=>s.state},a={},t.d(a,e),a)},4955(r,o,t){var s,a;r.exports=(s={classMap:()=>e.classMap},a={},t.d(a,s),a)},3517(r,o,t){var s,e;r.exports=(s={ifDefined:()=>a.ifDefined},e={},t.d(e,s),e)},1156(r,o,t){var s,e;r.exports=(s={styleMap:()=>m.styleMap},e={},t.d(e,s),e)},1666(r,o,t){var s,e;r.exports=(s={until:()=>i.until},e={},t.d(e,s),e)},4980(r,o,t){var s,e;r.exports=(s={action:()=>p.action,observable:()=>p.observable},e={},t.d(e,s),e)}},d={};function v(r){var o=d[r];if(void 0!==o)return o.exports;var t=d[r]={exports:{}};return n[r](t,t.exports,v),t.exports}v.m=n,f=[],v.O=(r,o,t,s)=>{if(!o){var e=1/0;for(p=0;p<f.length;p++){for(var[o,t,s]=f[p],a=!0,m=0;m<o.length;m++)(!1&s||e>=s)&&Object.keys(v.O).every(r=>v.O[r](o[m]))?o.splice(m--,1):(a=!1,s<e&&(e=s));if(a){f.splice(p--,1);var i=t();void 0!==i&&(r=i)}}return r}s=s||0;for(var p=f.length;p>0&&f[p-1][2]>s;p--)f[p]=f[p-1];f[p]=[o,t,s]},v.d=(r,o)=>{for(var t in o)v.o(o,t)&&!v.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:o[t]})},v.o=(r,o)=>Object.prototype.hasOwnProperty.call(r,o);export{v as __webpack_require__};l={502:0,1745:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8115:0,8442:0},v.C=r=>{var o,t,{__webpack_esm_ids__:s,__webpack_esm_modules__:e,__webpack_esm_runtime__:a}=r,m=0;for(o in e)v.o(e,o)&&(v.m[o]=e[o]);for(a&&a(v);m<s.length;m++)t=s[m],v.o(l,t)&&l[t]&&l[t][0](),l[s[m]]=0;v.O()},v.O.j=r=>0===l[r];import*as j from"../9609.js";v.C(j);import*as c from"../4084.js";v.C(c);import*as u from"../3305.js";v.C(u);import*as C from"../4739.js";v.C(C);import*as _ from"../7154.js";v.C(_);import*as x from"../9773.js";v.C(x);import*as b from"../5983.js";v.C(b);import*as y from"../9488.js";v.C(y);import*as O from"../1821.js";v.C(O);import*as h from"../519.js";v.C(h);import*as g from"../6325.js";v.C(g);import*as k from"../4449.js";v.C(k);import*as w from"../1392.js";v.C(w);import*as M from"../1618.js";v.C(M);import*as q from"../4621.js";v.C(q);import*as D from"../9244.js";v.C(D);import*as E from"../2245.js";v.C(E);var L=v.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519,6325,4449,1392,1618,4621,9244,2245],()=>v(2245));const P=(L=v.O(L)).e;export{P as Avatar};
@@ -1 +1 @@
1
- import*as r from"lit";import*as e from"lit/directives/if-defined.js";import*as o from"lit/directives/class-map.js";import*as t from"lit/decorators.js";var s,i,a={2927(e,o,t){var s,i;e.exports=(s={LitElement:()=>r.LitElement,css:()=>r.css,html:()=>r.html,nothing:()=>r.nothing},i={},t.d(i,s),i)},3517(r,o,t){var s,i;r.exports=(s={ifDefined:()=>e.ifDefined},i={},t.d(i,s),i)},4955(r,e,t){var s,i;r.exports=(s={classMap:()=>o.classMap},i={},t.d(i,s),i)},8899(r,e,o){var s,i;r.exports=(s={property:()=>t.property},i={},o.d(i,s),i)}},p={};function m(r){var e=p[r];if(void 0!==e)return e.exports;var o=p[r]={exports:{}};return a[r](o,o.exports,m),o.exports}m.m=a,s=[],m.O=(r,e,o,t)=>{if(!e){var i=1/0;for(n=0;n<s.length;n++){for(var[e,o,t]=s[n],a=!0,p=0;p<e.length;p++)(!1&t||i>=t)&&Object.keys(m.O).every(r=>m.O[r](e[p]))?e.splice(p--,1):(a=!1,t<i&&(i=t));if(a){s.splice(n--,1);var f=o();void 0!==f&&(r=f)}}return r}t=t||0;for(var n=s.length;n>0&&s[n-1][2]>t;n--)s[n]=s[n-1];s[n]=[e,o,t]},m.d=(r,e)=>{for(var o in e)m.o(e,o)&&!m.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},m.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);export{m as __webpack_require__};i={502:0,1745:0,4928:0,5369:0,6060:0,8111:0,8442:0},m.C=r=>{var e,o,{__webpack_esm_ids__:t,__webpack_esm_modules__:s,__webpack_esm_runtime__:a}=r,p=0;for(e in s)m.o(s,e)&&(m.m[e]=s[e]);for(a&&a(m);p<t.length;p++)o=t[p],m.o(i,o)&&i[o]&&i[o][0](),i[t[p]]=0;m.O()},m.O.j=r=>0===i[r];import*as f from"../9609.js";m.C(f);import*as n from"../4084.js";m.C(n);import*as l from"../3543.js";m.C(l);import*as v from"../7901.js";m.C(v);import*as c from"../4958.js";m.C(c);var d=m.O(void 0,[9609,4084,3543,7901,4958],()=>m(7901));const _=(d=m.O(d)).E;export{_ as Badge};
1
+ import*as r from"lit";import*as e from"lit/decorators.js";import*as o from"lit/directives/class-map.js";import*as t from"lit/directives/if-defined.js";var s,i,a={2927(e,o,t){var s,i;e.exports=(s={LitElement:()=>r.LitElement,css:()=>r.css,html:()=>r.html,nothing:()=>r.nothing},i={},t.d(i,s),i)},8899(r,o,t){var s,i;r.exports=(s={property:()=>e.property},i={},t.d(i,s),i)},4955(r,e,t){var s,i;r.exports=(s={classMap:()=>o.classMap},i={},t.d(i,s),i)},3517(r,e,o){var s,i;r.exports=(s={ifDefined:()=>t.ifDefined},i={},o.d(i,s),i)}},p={};function m(r){var e=p[r];if(void 0!==e)return e.exports;var o=p[r]={exports:{}};return a[r](o,o.exports,m),o.exports}m.m=a,s=[],m.O=(r,e,o,t)=>{if(!e){var i=1/0;for(n=0;n<s.length;n++){for(var[e,o,t]=s[n],a=!0,p=0;p<e.length;p++)(!1&t||i>=t)&&Object.keys(m.O).every(r=>m.O[r](e[p]))?e.splice(p--,1):(a=!1,t<i&&(i=t));if(a){s.splice(n--,1);var f=o();void 0!==f&&(r=f)}}return r}t=t||0;for(var n=s.length;n>0&&s[n-1][2]>t;n--)s[n]=s[n-1];s[n]=[e,o,t]},m.d=(r,e)=>{for(var o in e)m.o(e,o)&&!m.o(r,o)&&Object.defineProperty(r,o,{enumerable:!0,get:e[o]})},m.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);export{m as __webpack_require__};i={502:0,1745:0,4928:0,5369:0,6060:0,8111:0,8442:0},m.C=r=>{var e,o,{__webpack_esm_ids__:t,__webpack_esm_modules__:s,__webpack_esm_runtime__:a}=r,p=0;for(e in s)m.o(s,e)&&(m.m[e]=s[e]);for(a&&a(m);p<t.length;p++)o=t[p],m.o(i,o)&&i[o]&&i[o][0](),i[t[p]]=0;m.O()},m.O.j=r=>0===i[r];import*as f from"../9609.js";m.C(f);import*as n from"../4084.js";m.C(n);import*as l from"../3543.js";m.C(l);import*as v from"../7901.js";m.C(v);import*as c from"../4958.js";m.C(c);var d=m.O(void 0,[9609,4084,3543,7901,4958],()=>m(7901));const _=(d=m.O(d)).E;export{_ as Badge};
@@ -1,4 +1,4 @@
1
- import*as e from"lit/directives/repeat.js";import*as r from"lit";import*as t from"lit/directives/if-defined.js";import*as a from"lit/decorators.js";var s,o,i={2577(r,t,a){var s,o;r.exports=(s={repeat:()=>e.repeat},o={},a.d(o,s),o)},2927(e,t,a){var s,o;e.exports=(s={LitElement:()=>r.LitElement,css:()=>r.css,html:()=>r.html},o={},a.d(o,s),o)},3445(e,r,t){t.d(r,{Q:()=>a});var a,s=t(9609),o=t(4084),i=t(2927),n=t(8899),l=t(3517),p=t(2577),c=t(9485),d=function(e,r,t,a){var s,o=arguments.length,i=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,r,t,a);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(i=(o<3?s(i):o>3?s(r,t,i):s(r,t))||i);return o>3&&i&&Object.defineProperty(r,t,i),i};!function(e){let r=class extends i.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[o.A,c.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 r;const t=e.target;if(null===(r=this.anchors)||void 0===r?void 0:r.length){const e=Array.from(this.anchors).indexOf(t);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return i.html`
1
+ import*as e from"lit";import*as r from"lit/decorators.js";import*as t from"lit/directives/if-defined.js";import*as a from"lit/directives/repeat.js";var s,o,i={3445(e,r,t){t.d(r,{Q:()=>a});var a,s=t(9609),o=t(4084),i=t(2927),n=t(8899),l=t(3517),p=t(2577),c=t(9485),d=function(e,r,t,a){var s,o=arguments.length,i=o<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,r,t,a);else for(var n=e.length-1;n>=0;n--)(s=e[n])&&(i=(o<3?s(i):o>3?s(r,t,i):s(r,t))||i);return o>3&&i&&Object.defineProperty(r,t,i),i};!function(e){let r=class extends i.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[o.A,c.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 r;const t=e.target;if(null===(r=this.anchors)||void 0===r?void 0:r.length){const e=Array.from(this.anchors).indexOf(t);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return i.html`
2
2
  <nav aria-label="${(0,l.ifDefined)(this.label?this.label:void 0)}" class="md-breadcrumb">
3
3
  <ul @click=${e=>this.handleClick(e)}>
4
4
  ${(0,p.repeat)(this.navCrumbs,e=>e.link,e=>i.html`
@@ -8,4 +8,4 @@ import*as e from"lit/directives/repeat.js";import*as r from"lit";import*as t fro
8
8
  `)}
9
9
  </ul>
10
10
  </nav>
11
- `}};d([(0,n.property)({type:String,attribute:"aria-label"})],r.prototype,"label",void 0),d([(0,n.property)({type:Array,attribute:"nav-crumbs",reflect:!0})],r.prototype,"navCrumbs",void 0),d([(0,n.queryAll)("a[href]")],r.prototype,"anchors",void 0),r=d([(0,s.w)("md-breadcrumb")],r),e.ELEMENT=r}(a||(a={}))},3517(e,r,a){var s,o;e.exports=(s={ifDefined:()=>t.ifDefined},o={},a.d(o,s),o)},8899(e,r,t){var s,o;e.exports=(s={property:()=>a.property,queryAll:()=>a.queryAll},o={},t.d(o,s),o)}},n={};function l(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return i[e](t,t.exports,l),t.exports}l.m=i,s=[],l.O=(e,r,t,a)=>{if(!r){var o=1/0;for(c=0;c<s.length;c++){for(var[r,t,a]=s[c],i=!0,n=0;n<r.length;n++)(!1&a||o>=a)&&Object.keys(l.O).every(e=>l.O[e](r[n]))?r.splice(n--,1):(i=!1,a<o&&(o=a));if(i){s.splice(c--,1);var p=t();void 0!==p&&(e=p)}}return e}a=a||0;for(var c=s.length;c>0&&s[c-1][2]>a;c--)s[c]=s[c-1];s[c]=[r,t,a]},l.d=(e,r)=>{for(var t in r)l.o(r,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},l.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);export{l as __webpack_require__};o={555:0,6060:0},l.C=e=>{var r,t,{__webpack_esm_ids__:a,__webpack_esm_modules__:s,__webpack_esm_runtime__:i}=e,n=0;for(r in s)l.o(s,r)&&(l.m[r]=s[r]);for(i&&i(l);n<a.length;n++)t=a[n],l.o(o,t)&&o[t]&&o[t][0](),o[a[n]]=0;l.O()},l.O.j=e=>0===o[e];import*as p from"../9609.js";l.C(p);import*as c from"../4084.js";l.C(c);import*as d from"../9485.js";l.C(d);var f=l.O(void 0,[9609,4084,9485],()=>l(3445));const u=(f=l.O(f)).Q;export{u as Breadcrumb};
11
+ `}};d([(0,n.property)({type:String,attribute:"aria-label"})],r.prototype,"label",void 0),d([(0,n.property)({type:Array,attribute:"nav-crumbs",reflect:!0})],r.prototype,"navCrumbs",void 0),d([(0,n.queryAll)("a[href]")],r.prototype,"anchors",void 0),r=d([(0,s.w)("md-breadcrumb")],r),e.ELEMENT=r}(a||(a={}))},2927(r,t,a){var s,o;r.exports=(s={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html},o={},a.d(o,s),o)},8899(e,t,a){var s,o;e.exports=(s={property:()=>r.property,queryAll:()=>r.queryAll},o={},a.d(o,s),o)},3517(e,r,a){var s,o;e.exports=(s={ifDefined:()=>t.ifDefined},o={},a.d(o,s),o)},2577(e,r,t){var s,o;e.exports=(s={repeat:()=>a.repeat},o={},t.d(o,s),o)}},n={};function l(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return i[e](t,t.exports,l),t.exports}l.m=i,s=[],l.O=(e,r,t,a)=>{if(!r){var o=1/0;for(c=0;c<s.length;c++){for(var[r,t,a]=s[c],i=!0,n=0;n<r.length;n++)(!1&a||o>=a)&&Object.keys(l.O).every(e=>l.O[e](r[n]))?r.splice(n--,1):(i=!1,a<o&&(o=a));if(i){s.splice(c--,1);var p=t();void 0!==p&&(e=p)}}return e}a=a||0;for(var c=s.length;c>0&&s[c-1][2]>a;c--)s[c]=s[c-1];s[c]=[r,t,a]},l.d=(e,r)=>{for(var t in r)l.o(r,t)&&!l.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},l.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);export{l as __webpack_require__};o={555:0,6060:0},l.C=e=>{var r,t,{__webpack_esm_ids__:a,__webpack_esm_modules__:s,__webpack_esm_runtime__:i}=e,n=0;for(r in s)l.o(s,r)&&(l.m[r]=s[r]);for(i&&i(l);n<a.length;n++)t=a[n],l.o(o,t)&&o[t]&&o[t][0](),o[a[n]]=0;l.O()},l.O.j=e=>0===o[e];import*as p from"../9609.js";l.C(p);import*as c from"../4084.js";l.C(c);import*as d from"../9485.js";l.C(d);var f=l.O(void 0,[9609,4084,9485],()=>l(3445));const u=(f=l.O(f)).Q;export{u as Breadcrumb};
@@ -1,4 +1,4 @@
1
- import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as i from"lit/directives/if-defined.js";import*as o from"lit/directives/class-map.js";import*as r from"lit/decorators.js";var a,s,n={1156(e,i,o){var r,a;e.exports=(r={styleMap:()=>t.styleMap},a={},o.d(a,r),a)},2927(t,i,o){var r,a;t.exports=(r={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html,nothing:()=>e.nothing},a={},o.d(a,r),a)},3517(t,e,o){var r,a;t.exports=(r={ifDefined:()=>i.ifDefined},a={},o.d(a,r),a)},4955(t,e,i){var r,a;t.exports=(r={classMap:()=>o.classMap},a={},i.d(a,r),a)},5983(t,e,i){i.d(e,{$n:()=>$,El:()=>c,Fr:()=>u,Gh:()=>g,MS:()=>b,Sq:()=>f,r3:()=>v,uZ:()=>m});var o=i(6616),r=(i(9773),i(9609)),a=i(7154),s=i(4084),n=i(2927),p=i(8899),d=i(4955),l=i(3517),h=i(680),y=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const c=["20","24","28","32","36","40","44","52","56","72","68","84","size-none",20,24,28,32,36,40,44,52,56,68,72,68,84],u=["button","input","a"],v=["button","reset","submit"],b=["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],m=["primary","secondary","red","green","ghost","ghostInheritTextColor","white","darkGrey","promotional","tab","available","unavailable","engaged","idle","inverted-primary","inverted-secondary","inverted-ghost","dropdown","secondary-negative","secondary-positive","secondary-accent"],f=["blue","red","green","orange","yellow","mint","purple","pink","cyan","white","dark-gray","duck-egg","violet","color-none",""],g=["","off","polite","assertive"];var $;!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this._active=!1,this._tabIndex=0,this.ariaLabel="",this.ariaLabelledBy="",this.ariaLive="",this.ariaExpanded="",this.ariaHaspopup="false",this.ariaPressed="",this.circle=!1,this.rounded=!1,this.color="",this.containerLarge=!1,this.disabled=!1,this.href="",this.id="",this.value="",this.keyboardKey="",this.label="",this.loading=!1,this.outline=!1,this.hasRemoveStyle=!1,this.size="32",this.tag="button",this.type="button",this.role="button",this.variant="secondary",this.width="",this.maxWidth="",this.activityType="",this.iconActive=!1,this.isActive=!1,this.autofocus=!1,this.renderWidth=()=>this.width?`width: ${this.width};`:n.nothing,this.renderMaxWidth=()=>this.maxWidth?`max-width: ${this.maxWidth};`:n.nothing,this.getStyles=()=>{if(this.width||this.maxWidth)return n.html`
1
+ import*as t from"lit";import*as e from"lit/decorators.js";import*as i from"lit/directives/class-map.js";import*as o from"lit/directives/if-defined.js";import*as r from"lit/directives/style-map.js";var a,s,n={5983(t,e,i){i.d(e,{$n:()=>$,El:()=>c,Fr:()=>u,Gh:()=>g,MS:()=>b,Sq:()=>f,r3:()=>v,uZ:()=>m});var o=i(6616),r=(i(9773),i(9609)),a=i(7154),s=i(4084),n=i(2927),p=i(8899),d=i(4955),l=i(3517),h=i(680),y=function(t,e,i,o){var r,a=arguments.length,s=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(s=(a<3?r(s):a>3?r(e,i,s):r(e,i))||s);return a>3&&s&&Object.defineProperty(e,i,s),s};const c=["20","24","28","32","36","40","44","52","56","72","68","84","size-none",20,24,28,32,36,40,44,52,56,68,72,68,84],u=["button","input","a"],v=["button","reset","submit"],b=["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],m=["primary","secondary","red","green","ghost","ghostInheritTextColor","white","darkGrey","promotional","tab","available","unavailable","engaged","idle","inverted-primary","inverted-secondary","inverted-ghost","dropdown","secondary-negative","secondary-positive","secondary-accent"],f=["blue","red","green","orange","yellow","mint","purple","pink","cyan","white","dark-gray","duck-egg","violet","color-none",""],g=["","off","polite","assertive"];var $;!function(t){let e=class extends n.LitElement{constructor(){super(...arguments),this._active=!1,this._tabIndex=0,this.ariaLabel="",this.ariaLabelledBy="",this.ariaLive="",this.ariaExpanded="",this.ariaHaspopup="false",this.ariaPressed="",this.circle=!1,this.rounded=!1,this.color="",this.containerLarge=!1,this.disabled=!1,this.href="",this.id="",this.value="",this.keyboardKey="",this.label="",this.loading=!1,this.outline=!1,this.hasRemoveStyle=!1,this.size="32",this.tag="button",this.type="button",this.role="button",this.variant="secondary",this.width="",this.maxWidth="",this.activityType="",this.iconActive=!1,this.isActive=!1,this.autofocus=!1,this.renderWidth=()=>this.width?`width: ${this.width};`:n.nothing,this.renderMaxWidth=()=>this.maxWidth?`max-width: ${this.maxWidth};`:n.nothing,this.getStyles=()=>{if(this.width||this.maxWidth)return n.html`
2
2
  <style>
3
3
  :host .md-button--${this.size} {
4
4
  ${this.renderWidth()};
@@ -76,4 +76,4 @@ import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as i
76
76
  <div part="button-label" class="md-button__label">${this.label}</div>
77
77
  </div>
78
78
  `:n.html` ${this.buttonTemplate(this.tag)} `}
79
- `}};y([(0,p.property)({type:Boolean,reflect:!0})],e.prototype,"active",null),y([(0,p.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),y([(0,p.property)({type:String})],e.prototype,"ariaLabel",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaLabelledBy",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaLive",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaExpanded",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaHaspopup",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaPressed",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"circle",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"rounded",void 0),y([(0,p.property)({type:String})],e.prototype,"color",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"containerLarge",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"disabled",void 0),y([(0,p.property)({type:String})],e.prototype,"href",void 0),y([(0,p.property)({type:String})],e.prototype,"id",void 0),y([(0,p.property)({type:String})],e.prototype,"value",void 0),y([(0,p.property)({type:String})],e.prototype,"keyboardKey",void 0),y([(0,p.property)({type:String})],e.prototype,"label",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"loading",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"outline",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"hasRemoveStyle",void 0),y([(0,p.property)({type:String})],e.prototype,"size",void 0),y([(0,p.property)({type:String})],e.prototype,"tag",void 0),y([(0,p.property)({type:String})],e.prototype,"type",void 0),y([(0,p.property)({type:String})],e.prototype,"role",void 0),y([(0,p.property)({type:String})],e.prototype,"variant",void 0),y([(0,p.property)({type:String})],e.prototype,"width",void 0),y([(0,p.property)({type:String})],e.prototype,"maxWidth",void 0),y([(0,p.property)({type:String})],e.prototype,"activityType",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"iconActive",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"isActive",void 0),y([(0,p.property)({type:String,attribute:"aria-describedby"})],e.prototype,"ariaDescribedBy",void 0),y([(0,p.property)({attribute:!1})],e.prototype,"clickFunction",void 0),y([(0,p.property)({type:Boolean,attribute:"is-placeholder-text"})],e.prototype,"isPlaceholderText",void 0),y([(0,p.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),y([(0,p.query)(".md-button")],e.prototype,"button",void 0),e=y([(0,r.w)("md-button")],e),t.ELEMENT=e}($||($={}))},8899(t,e,i){var o,a;t.exports=(o={property:()=>r.property,query:()=>r.query},a={},i.d(a,o),a)}},p={};function d(t){var e=p[t];if(void 0!==e)return e.exports;var i=p[t]={exports:{}};return n[t](i,i.exports,d),i.exports}d.m=n,a=[],d.O=(t,e,i,o)=>{if(!e){var r=1/0;for(l=0;l<a.length;l++){for(var[e,i,o]=a[l],s=!0,n=0;n<e.length;n++)(!1&o||r>=o)&&Object.keys(d.O).every(t=>d.O[t](e[n]))?e.splice(n--,1):(s=!1,o<r&&(r=o));if(s){a.splice(l--,1);var p=i();void 0!==p&&(t=p)}}return t}o=o||0;for(var l=a.length;l>0&&a[l-1][2]>o;l--)a[l]=a[l-1];a[l]=[e,i,o]},d.d=(t,e)=>{for(var i in e)d.o(e,i)&&!d.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},d.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{d as __webpack_require__};s={502:0,1745:0,4545:0,4928:0,5156:0,5369:0,5983:0,6060:0,8111:0,8442:0},d.C=t=>{var e,i,{__webpack_esm_ids__:o,__webpack_esm_modules__:r,__webpack_esm_runtime__:a}=t,n=0;for(e in r)d.o(r,e)&&(d.m[e]=r[e]);for(a&&a(d);n<o.length;n++)i=o[n],d.o(s,i)&&s[i]&&s[i][0](),s[o[n]]=0;d.O()},d.O.j=t=>0===s[t];import*as l from"../9609.js";d.C(l);import*as h from"../4084.js";d.C(h);import*as y from"../3305.js";d.C(y);import*as c from"../4739.js";d.C(c);import*as u from"../7154.js";d.C(u);import*as v from"../9773.js";d.C(v);import*as b from"../519.js";d.C(b);var m=d.O(void 0,[9609,4084,3305,4739,7154,9773,519],()=>d(5983));const f=(m=d.O(m)).$n,g=m.Gh,$=m.Sq,x=m.MS,_=m.El,S=m.Fr,D=m.r3,w=m.uZ;export{f as Button,g as buttonAriaLive,$ as buttonColor,x as buttonRoles,_ as buttonSize,S as buttonTag,D as buttonType,w as buttonVariant};
79
+ `}};y([(0,p.property)({type:Boolean,reflect:!0})],e.prototype,"active",null),y([(0,p.property)({type:Number,attribute:"tab-index",reflect:!0})],e.prototype,"tabIndex",null),y([(0,p.property)({type:String})],e.prototype,"ariaLabel",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaLabelledBy",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaLive",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaExpanded",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaHaspopup",void 0),y([(0,p.property)({type:String})],e.prototype,"ariaPressed",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"circle",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"rounded",void 0),y([(0,p.property)({type:String})],e.prototype,"color",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"containerLarge",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"disabled",void 0),y([(0,p.property)({type:String})],e.prototype,"href",void 0),y([(0,p.property)({type:String})],e.prototype,"id",void 0),y([(0,p.property)({type:String})],e.prototype,"value",void 0),y([(0,p.property)({type:String})],e.prototype,"keyboardKey",void 0),y([(0,p.property)({type:String})],e.prototype,"label",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"loading",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"outline",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"hasRemoveStyle",void 0),y([(0,p.property)({type:String})],e.prototype,"size",void 0),y([(0,p.property)({type:String})],e.prototype,"tag",void 0),y([(0,p.property)({type:String})],e.prototype,"type",void 0),y([(0,p.property)({type:String})],e.prototype,"role",void 0),y([(0,p.property)({type:String})],e.prototype,"variant",void 0),y([(0,p.property)({type:String})],e.prototype,"width",void 0),y([(0,p.property)({type:String})],e.prototype,"maxWidth",void 0),y([(0,p.property)({type:String})],e.prototype,"activityType",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"iconActive",void 0),y([(0,p.property)({type:Boolean})],e.prototype,"isActive",void 0),y([(0,p.property)({type:String,attribute:"aria-describedby"})],e.prototype,"ariaDescribedBy",void 0),y([(0,p.property)({attribute:!1})],e.prototype,"clickFunction",void 0),y([(0,p.property)({type:Boolean,attribute:"is-placeholder-text"})],e.prototype,"isPlaceholderText",void 0),y([(0,p.property)({type:Boolean,reflect:!0})],e.prototype,"autofocus",void 0),y([(0,p.query)(".md-button")],e.prototype,"button",void 0),e=y([(0,r.w)("md-button")],e),t.ELEMENT=e}($||($={}))},2927(e,i,o){var r,a;e.exports=(r={LitElement:()=>t.LitElement,css:()=>t.css,html:()=>t.html,nothing:()=>t.nothing},a={},o.d(a,r),a)},8899(t,i,o){var r,a;t.exports=(r={property:()=>e.property,query:()=>e.query},a={},o.d(a,r),a)},4955(t,e,o){var r,a;t.exports=(r={classMap:()=>i.classMap},a={},o.d(a,r),a)},3517(t,e,i){var r,a;t.exports=(r={ifDefined:()=>o.ifDefined},a={},i.d(a,r),a)},1156(t,e,i){var o,a;t.exports=(o={styleMap:()=>r.styleMap},a={},i.d(a,o),a)}},p={};function d(t){var e=p[t];if(void 0!==e)return e.exports;var i=p[t]={exports:{}};return n[t](i,i.exports,d),i.exports}d.m=n,a=[],d.O=(t,e,i,o)=>{if(!e){var r=1/0;for(l=0;l<a.length;l++){for(var[e,i,o]=a[l],s=!0,n=0;n<e.length;n++)(!1&o||r>=o)&&Object.keys(d.O).every(t=>d.O[t](e[n]))?e.splice(n--,1):(s=!1,o<r&&(r=o));if(s){a.splice(l--,1);var p=i();void 0!==p&&(t=p)}}return t}o=o||0;for(var l=a.length;l>0&&a[l-1][2]>o;l--)a[l]=a[l-1];a[l]=[e,i,o]},d.d=(t,e)=>{for(var i in e)d.o(e,i)&&!d.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},d.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{d as __webpack_require__};s={502:0,1745:0,4545:0,4928:0,5156:0,5369:0,5983:0,6060:0,8111:0,8442:0},d.C=t=>{var e,i,{__webpack_esm_ids__:o,__webpack_esm_modules__:r,__webpack_esm_runtime__:a}=t,n=0;for(e in r)d.o(r,e)&&(d.m[e]=r[e]);for(a&&a(d);n<o.length;n++)i=o[n],d.o(s,i)&&s[i]&&s[i][0](),s[o[n]]=0;d.O()},d.O.j=t=>0===s[t];import*as l from"../9609.js";d.C(l);import*as h from"../4084.js";d.C(h);import*as y from"../3305.js";d.C(y);import*as c from"../4739.js";d.C(c);import*as u from"../7154.js";d.C(u);import*as v from"../9773.js";d.C(v);import*as b from"../519.js";d.C(b);var m=d.O(void 0,[9609,4084,3305,4739,7154,9773,519],()=>d(5983));const f=(m=d.O(m)).$n,g=m.Gh,$=m.Sq,x=m.MS,_=m.El,S=m.Fr,D=m.r3,w=m.uZ;export{f as Button,g as buttonAriaLive,$ as buttonColor,x as buttonRoles,_ as buttonSize,S as buttonTag,D as buttonType,w as buttonVariant};