@momentum-ui/web-components 2.13.19 → 2.13.21

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 (100) hide show
  1. package/dist/chunks/md-10.js +2 -2
  2. package/dist/chunks/md-11.js +1 -1
  3. package/dist/chunks/md-16.js +1 -1
  4. package/dist/chunks/md-17.js +1 -1
  5. package/dist/chunks/md-18.js +1 -1
  6. package/dist/chunks/md-26.js +1 -1
  7. package/dist/chunks/md-27.js +1 -1
  8. package/dist/chunks/md-29.js +1 -1
  9. package/dist/chunks/md-33.js +1 -1
  10. package/dist/chunks/md-34.js +1 -1
  11. package/dist/chunks/md-35.js +1 -1
  12. package/dist/chunks/md-39.js +1 -1
  13. package/dist/chunks/md-41.js +1 -1
  14. package/dist/chunks/md-42.js +1 -1
  15. package/dist/chunks/md-44.js +1 -1
  16. package/dist/chunks/md-46.js +1 -1
  17. package/dist/chunks/md-49.js +101 -42
  18. package/dist/chunks/md-50.js +1 -1
  19. package/dist/chunks/md-51.js +1 -1
  20. package/dist/chunks/md-53.js +1 -1
  21. package/dist/chunks/md-54.js +1 -1
  22. package/dist/chunks/md-57.js +1 -1
  23. package/dist/chunks/md-61.js +1 -1
  24. package/dist/chunks/md-63.js +1 -1
  25. package/dist/chunks/md-64.js +1 -1
  26. package/dist/chunks/md-65.js +1 -1
  27. package/dist/chunks/md-66.js +1 -1
  28. package/dist/chunks/md-67.js +1 -1
  29. package/dist/chunks/md-68.js +1 -1
  30. package/dist/chunks/md-69.js +1 -1
  31. package/dist/chunks/md-7.js +1 -1
  32. package/dist/chunks/md-70.js +1 -1
  33. package/dist/chunks/md-71.js +1 -1
  34. package/dist/chunks/md-73.js +1 -1
  35. package/dist/chunks/md-74.js +1 -1
  36. package/dist/chunks/md-75.js +1 -1
  37. package/dist/chunks/md-76.js +1 -1
  38. package/dist/chunks/md-78.js +1 -1
  39. package/dist/chunks/md-80.js +2 -2
  40. package/dist/chunks/md-81.js +1 -1
  41. package/dist/chunks/md-83.js +1 -1
  42. package/dist/chunks/md-84.js +2 -2
  43. package/dist/chunks/md-85.js +1 -1
  44. package/dist/chunks/md-86.js +1 -1
  45. package/dist/comp/md-accordion-item-entry.js +1 -1
  46. package/dist/comp/md-activity-button-entry.js +1 -1
  47. package/dist/comp/md-alert-banner-entry.js +1 -1
  48. package/dist/comp/md-alert-entry.js +1 -1
  49. package/dist/comp/md-audio-player-entry.js +1 -1
  50. package/dist/comp/md-avatar-entry.js +1 -1
  51. package/dist/comp/md-badge-entry.js +1 -1
  52. package/dist/comp/md-breadcrumb-entry.js +1 -1
  53. package/dist/comp/md-button-entry.js +1 -1
  54. package/dist/comp/md-card-entry.js +1 -1
  55. package/dist/comp/md-chat-message-entry.js +1 -1
  56. package/dist/comp/md-chip-entry.js +1 -1
  57. package/dist/comp/md-coachmark-entry.js +1 -1
  58. package/dist/comp/md-combobox-entry.js +1 -1
  59. package/dist/comp/md-date-range-picker-entry.js +1 -1
  60. package/dist/comp/md-date-time-picker-entry.js +1 -1
  61. package/dist/comp/md-datepicker-calendar-entry.js +1 -1
  62. package/dist/comp/md-datepicker-day-entry.js +1 -1
  63. package/dist/comp/md-datepicker-entry.js +1 -1
  64. package/dist/comp/md-datepicker-month-entry.js +1 -1
  65. package/dist/comp/md-datepicker-week-entry.js +1 -1
  66. package/dist/comp/md-draggable-item-entry.js +1 -1
  67. package/dist/comp/md-dropdown-entry.js +1 -1
  68. package/dist/comp/md-editable-field-entry.js +1 -1
  69. package/dist/comp/md-favorite-entry.js +1 -1
  70. package/dist/comp/md-floating-minimize-entry.js +1 -1
  71. package/dist/comp/md-floating-modal-entry.js +1 -1
  72. package/dist/comp/md-form-entry.js +1 -1
  73. package/dist/comp/md-grabber-entry.js +1 -1
  74. package/dist/comp/md-icon-entry.js +1 -1
  75. package/dist/comp/md-input-entry.js +1 -1
  76. package/dist/comp/md-input-file.js +1 -1
  77. package/dist/comp/md-link-entry.js +1 -1
  78. package/dist/comp/md-list-entry.js +1 -1
  79. package/dist/comp/md-meeting-alert-entry.js +1 -1
  80. package/dist/comp/md-menu-entry.js +1 -1
  81. package/dist/comp/md-menu-item-entry.js +1 -1
  82. package/dist/comp/md-menu-overlay-entry.js +1 -1
  83. package/dist/comp/md-modal-entry.js +1 -1
  84. package/dist/comp/md-pagination-entry.js +1 -1
  85. package/dist/comp/md-phone-input-entry.js +1 -1
  86. package/dist/comp/md-radio-entry.js +1 -1
  87. package/dist/comp/md-slider-entry.js +1 -1
  88. package/dist/comp/md-tab-entry.js +1 -1
  89. package/dist/comp/md-table-advanced-entry.js +1 -1
  90. package/dist/comp/md-table-entry.js +1 -1
  91. package/dist/comp/md-tabs-entry.js +1 -1
  92. package/dist/comp/md-task-item-entry.js +1 -1
  93. package/dist/comp/md-timepicker-entry.js +1 -1
  94. package/dist/comp/md-toggle-switch-entry.js +1 -1
  95. package/dist/index-entry.js +1 -1
  96. package/dist/index.js +1 -1
  97. package/dist/types/components/alert/Alert.d.ts +15 -0
  98. package/dist/types/components/timepicker/TimePicker.d.ts +1 -1
  99. package/dist/types/utils/enums.d.ts +1 -0
  100. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[41],{65:function(t,i,e){"use strict";var n=e(0);i.a=n.css`.md-floating{background-color:var(--floating-modal-main-bg-color,#fff);border:1px solid var(--floating-modal-outer-border-color,#ededed);border-radius:8px;box-shadow:var(--floating-modal-main-box-shadow,0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16));display:flex;flex-direction:column;max-height:100%;max-width:100%;position:absolute;touch-action:none;user-select:none;z-index:1040}.md-floating.fixed{position:fixed}.md-floating.hide{display:block;height:0;visibility:hidden;width:0}.md-floating.md-floating-minimize{background:var(--floating-modal-main-bg-color-alternate,#545454);border-radius:8px;width:100%}.md-floating.md-floating-minimize:focus{box-shadow:0 0 0 .125rem #005e7d;outline:0}.md-floating .md-floating__header{align-items:center;border-bottom:1px solid var(--floating-modal-main-border-color,#dedede);color:var(--floating-modal-main-text-color,#121212);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;max-height:3rem;padding:.5rem .5rem .5rem .75rem;width:100%}.md-floating .md-floating__header-text{flex:2 1 auto;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:16px;line-height:16px;text-align:left}.md-floating .md-floating__body{height:calc(100% - 3rem);overflow:auto;padding:.75rem 1.25rem}.md-floating .md-floating-body-minimize{display:block;height:0;visibility:hidden}.md-floating .md-floating__header-minimize{border-bottom:0;color:var(--floating-modal-main-text-color-alternate,#f7f7f7);font-size:16px;line-height:24px;width:100%}.md-floating-min-parent{bottom:0;height:3rem!important;position:absolute;right:0;width:223px!important}`},76:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingMinimizedModal",(function(){return n}));e(17),e(15);var n,o=e(1),a=e(7),r=e(6),s=e(16),l=e(5),d=(e(46),e(47),e(48),e(21)),c=e.n(d),m=(e(49),e(0)),h=e(3),p=e(2),u=e(65),f=function(t,i,e,n){var o,a=arguments.length,r=a<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(i,e,r):o(i,e))||r);return a>3&&r&&Object.defineProperty(i,e,r),r},g=function(t,i,e,n){return new(e||(e=Promise))((function(o,a){function r(t){try{l(n.next(t))}catch(t){a(t)}}function s(t){try{l(n.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?o(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,s)}l((n=n.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(a.a)(m.LitElement)){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.closeAriaLabel="Close Modal",this.minimize=!1,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.minPosition?{initialX:Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.minPosition)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:n}=this.getTransformValues(t);this.setTargetPosition(i,e,n),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[l.a,u.a]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance(),this.setFocusOnContainer()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("minPosition")&&!t.has("show")&&this.setInitialTargetPosition(),t.has("minimize")&&void 0!==t.get("minimize")&&this.setFocusOnContainer()}isNewPositionNotSame(){var t,i,e,n;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.minPosition)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(n=this.minPosition)||void 0===n?void 0:n.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),Number(null===(i=this.minPosition)||void 0===i?void 0:i.y))}setFocusOnContainer(){this.container&&(this.container.setAttribute("tabindex","0"),this.container.focus())}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-minimize-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>g(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&c()(this.container).draggable({autoScroll:!0,allowFrom:this.header,listeners:{move:this.dragMoveListener,end:this.dragEndListener},modifiers:[c.a.modifiers.restrictRect({restriction:document.body.getBoundingClientRect(),endOnly:!0})]})})}handleKeyDown(t){t.code!==o.b.Enter&&t.code!==o.b.Space||this.handleMinimize(t)}handleClose(t){this.show=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),t.stopPropagation()}handleMinimize(t){this.dragOccured||this.dispatchEvent(new CustomEvent("floating-min-modal-minimize",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),this.dragOccured=!1}getTransformValues(t){const{target:i,dx:e,dy:n}=t,{initialX:o,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+o,y:(parseFloat(i.getAttribute("data-y"))||0)+n+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&c.a.isSet(this.container)&&c()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance(),window.removeEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}render(){return m.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[41],{65:function(t,i,e){"use strict";var n=e(0);i.a=n.css`.md-floating{background-color:var(--floating-modal-main-bg-color,#fff);border:1px solid var(--floating-modal-outer-border-color,#ededed);border-radius:8px;box-shadow:var(--floating-modal-main-box-shadow,0 4px 8px rgba(0,0,0,.16),0 0 1px rgba(0,0,0,.16));display:flex;flex-direction:column;max-height:100%;max-width:100%;position:absolute;touch-action:none;user-select:none;z-index:1040}.md-floating.fixed{position:fixed}.md-floating.hide{display:block;height:0;visibility:hidden;width:0}.md-floating.md-floating-minimize{background:var(--floating-modal-main-bg-color-alternate,#545454);border-radius:8px;width:100%}.md-floating.md-floating-minimize:focus{box-shadow:0 0 0 .125rem #005e7d;outline:0}.md-floating .md-floating__header{align-items:center;border-bottom:1px solid var(--floating-modal-main-border-color,#dedede);color:var(--floating-modal-main-text-color,#121212);display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;max-height:3rem;padding:.5rem .5rem .5rem .75rem;width:100%}.md-floating .md-floating__header-text{flex:2 1 auto;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:16px;line-height:16px;text-align:left}.md-floating .md-floating__body{height:calc(100% - 3rem);overflow:auto;padding:.75rem 1.25rem}.md-floating .md-floating-body-minimize{display:block;height:0;visibility:hidden}.md-floating .md-floating__header-minimize{border-bottom:0;color:var(--floating-modal-main-text-color-alternate,#f7f7f7);font-size:16px;line-height:24px;width:100%}.md-floating-min-parent{bottom:0;height:3rem!important;position:absolute;right:0;width:223px!important}`},76:function(t,i,e){"use strict";e.r(i),e.d(i,"FloatingMinimizedModal",(function(){return n}));e(17),e(15);var n,o=e(1),a=e(7),r=e(6),s=e(16),l=e(5),d=(e(46),e(47),e(48),e(21)),c=e.n(d),m=(e(49),e(0)),h=e(2),p=e(3),u=e(65),f=function(t,i,e,n){var o,a=arguments.length,r=a<3?i:null===n?n=Object.getOwnPropertyDescriptor(i,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,i,e,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(r=(a<3?o(r):a>3?o(i,e,r):o(i,e))||r);return a>3&&r&&Object.defineProperty(i,e,r),r},g=function(t,i,e,n){return new(e||(e=Promise))((function(o,a){function r(t){try{l(n.next(t))}catch(t){a(t)}}function s(t){try{l(n.throw(t))}catch(t){a(t)}}function l(t){var i;t.done?o(t.value):(i=t.value,i instanceof e?i:new e((function(t){t(i)}))).then(r,s)}l((n=n.apply(t,i||[])).next())}))};!function(t){let i=class extends(Object(a.a)(m.LitElement)){constructor(){super(...arguments),this.heading="",this.label="",this.show=!1,this.closeAriaLabel="Close Modal",this.minimize=!1,this.dragOccured=!1,this.containerTransform="",this.applyInitialPosition=!0,this.getInitialPosition=()=>{var t,i;return this.applyInitialPosition&&this.minPosition?{initialX:Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),initialY:Number(null===(i=this.minPosition)||void 0===i?void 0:i.y)}:{initialX:0,initialY:0}},this.dragMoveListener=t=>{const{target:i}=t,{x:e,y:n}=this.getTransformValues(t);this.setTargetPosition(i,e,n),this.applyInitialPosition=!1},this.dragEndListener=()=>{this.dragOccured=!0,this.setContainerRect()}}static get styles(){return[l.a,u.a]}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}updated(t){super.updated(t),t.has("show")&&(this.container&&this.show?(this.applyInitialPosition=!0,this.setContainerRect(),this.setInteractInstance(),this.setFocusOnContainer()):(this.cleanContainerStyles(),this.destroyInteractInstance())),this.container&&t.has("minPosition")&&!t.has("show")&&this.setInitialTargetPosition(),t.has("minimize")&&void 0!==t.get("minimize")&&this.setFocusOnContainer()}isNewPositionNotSame(){var t,i,e,n;if(this.container)return Number(null===(t=this.container)||void 0===t?void 0:t.getAttribute("data-x"))!==(null===(i=this.minPosition)||void 0===i?void 0:i.x)||Number(null===(e=this.container)||void 0===e?void 0:e.getAttribute("data-y"))!==(null===(n=this.minPosition)||void 0===n?void 0:n.y)}setInitialTargetPosition(){var t,i;this.container&&this.isNewPositionNotSame()&&this.setTargetPosition(this.container,Number(null===(t=this.minPosition)||void 0===t?void 0:t.x),Number(null===(i=this.minPosition)||void 0===i?void 0:i.y))}setFocusOnContainer(){this.container&&(this.container.setAttribute("tabindex","0"),this.container.focus())}cleanContainerStyles(){this.containerTransform=""}getContainerTransform(){const t=this.container.getAttribute("data-x"),i=this.container.getAttribute("data-y");return t&&i?(this.dispatchEvent(new CustomEvent("floating-modal-minimize-location",{composed:!0,bubbles:!0,detail:{transform:{x:t,y:i}}})),`translate(${t}px, ${i}px)`):this.container.style.transform}setContainerRect(){requestAnimationFrame(()=>g(this,void 0,void 0,(function*(){yield this.updateComplete,this.containerTransform=this.getContainerTransform()})))}setInteractInstance(){requestAnimationFrame(()=>{this.container&&c()(this.container).draggable({autoScroll:!0,allowFrom:this.header,listeners:{move:this.dragMoveListener,end:this.dragEndListener},modifiers:[c.a.modifiers.restrictRect({restriction:document.body.getBoundingClientRect(),endOnly:!0})]})})}handleKeyDown(t){t.code!==o.b.Enter&&t.code!==o.b.Space||this.handleMinimize(t)}handleClose(t){this.show=!1,this.dispatchEvent(new CustomEvent("floating-modal-close",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),t.stopPropagation()}handleMinimize(t){this.dragOccured||this.dispatchEvent(new CustomEvent("floating-min-modal-minimize",{composed:!0,bubbles:!0,detail:{srcEvent:t}})),this.dragOccured=!1}getTransformValues(t){const{target:i,dx:e,dy:n}=t,{initialX:o,initialY:a}=this.getInitialPosition();return{x:(parseFloat(i.getAttribute("data-x"))||0)+e+o,y:(parseFloat(i.getAttribute("data-y"))||0)+n+a}}setTargetPosition(t,i,e){t.style.transform=`translate(${i}px, ${e}px)`,t.setAttribute("data-x",""+i),t.setAttribute("data-y",""+e)}destroyInteractInstance(){this.container&&c.a.isSet(this.container)&&c()(this.container).unset()}disconnectedCallback(){super.disconnectedCallback(),this.destroyInteractInstance(),window.removeEventListener("resize",Object(s.b)(()=>this.setInteractInstance(),250))}render(){return m.html`
2
2
  ${this.show?m.html`
3
3
  <div
4
4
  class="md-floating ${this.minimize?"":"hide"} md-floating-minimize"
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{57:function(e,t,d){"use strict";d.r(t),d.d(t,"MenuItem",(function(){return s}));var s,i=d(5),n=d(6),a=d(0),l=d(4),r=d(2),m=d(66),o=function(e,t,d,s){var i,n=arguments.length,a=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,d):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(t,d,a):i(t,d))||a);return n>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[i.a,m.a]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return a.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[42],{57:function(e,t,d){"use strict";d.r(t),d.d(t,"MenuItem",(function(){return s}));var s,i=d(5),n=d(6),a=d(0),l=d(4),r=d(3),m=d(66),o=function(e,t,d,s){var i,n=arguments.length,a=n<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,d):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,d,s);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(n<3?i(a):n>3?i(t,d,a):i(t,d))||a);return n>3&&a&&Object.defineProperty(t,d,a),a};!function(e){let t=class extends a.LitElement{constructor(){super(...arguments),this.href="",this.label="",this.tabIndex=-1,this._disabled=!1,this._selected=!1}get disabled(){return this._disabled}set disabled(e){const t=this._disabled;this._disabled=e,this.setAttribute("aria-disabled",""+e),this.tabIndex=e?-1:0,this.requestUpdate("disabled",t)}get selected(){return this._selected}set selected(e){const t=this._selected;this._selected=e,e&&this.notifySelectedItem(),this.setAttribute("aria-selected",""+e),this.requestUpdate("selected",t)}static get styles(){return[i.a,m.a]}setupEvents(){this.addEventListener("mousedown",this.handleClick),this.addEventListener("keydown",this.handleKeyDown)}firstUpdated(e){super.firstUpdated(e),this.label&&this.setAttribute("aria-label",this.label),this.setupEvents()}update(e){super.update(e),e.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}handleClick(e){e.preventDefault(),this.dispatchEvent(new CustomEvent("menu-item-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleKeyDown(e){this.dispatchEvent(new CustomEvent("menu-item-keydown",{detail:{id:this.id,key:e.code,srcEvent:e},bubbles:!0,composed:!0}))}notifySelectedItem(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}get menuItemClassMap(){return{"md-menu-item--selected":this.selected,disabled:this.disabled}}render(){return a.html`
2
2
  <li
3
3
  role="menuitem"
4
4
  part="menu-item"
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{44:function(t,e,s){"use strict";s.r(e),s.d(e,"TAB_CROSS_WIDTH",(function(){return b})),s.d(e,"Tab",(function(){return h}));var i=s(1),o=s(7),a=s(6),l=s(5),r=s(0),n=s(4),d=s(2),c=s(38),p=function(t,e,s,i){var o,a=arguments.length,l=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,s,i);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(l=(a<3?o(l):a>3?o(e,s,l):o(e,s))||l);return a>3&&l&&Object.defineProperty(e,s,l),l};const b=22;var h;!function(t){let e=class extends(Object(o.a)(r.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this.type="Line",this.newMomentum=!1,this.onlyIcon=!1,this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",""+t),this.tabIndex=t?-1:0,this.requestUpdate("disabled",e)}get selected(){return this._selected}set selected(t){const e=this._selected;this._selected=t,t&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+t),this.requestUpdate("selected",e)}static get styles(){return[l.a,c.a]}handleClick(t){t.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(t){t.stopPropagation(),t.code===i.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(t){t.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(t){super.update(t),t.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(t){super.firstUpdated(t),this.ariaRole&&this.setAttribute("role",this.ariaRole)}renderCrossButton(){return r.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[44],{44:function(t,e,s){"use strict";s.r(e),s.d(e,"TAB_CROSS_WIDTH",(function(){return b})),s.d(e,"Tab",(function(){return h}));var i=s(1),o=s(7),a=s(6),l=s(5),r=s(0),n=s(4),d=s(3),c=s(38),p=function(t,e,s,i){var o,a=arguments.length,l=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(t,e,s,i);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(l=(a<3?o(l):a>3?o(e,s,l):o(e,s))||l);return a>3&&l&&Object.defineProperty(e,s,l),l};const b=22;var h;!function(t){let e=class extends(Object(o.a)(r.LitElement)){constructor(){super(...arguments),this.tabIndex=-1,this.ariaLabel="",this.closable="",this.name="",this.isCrossVisible=!1,this.ariaRole="tab",this.type="Line",this.newMomentum=!1,this.onlyIcon=!1,this._disabled=!1,this._selected=0===this.tabIndex,this.vertical=!1,this.viewportHidden=!1}get disabled(){return this._disabled}set disabled(t){const e=this._disabled;this._disabled=t,this.setAttribute("aria-disabled",""+t),this.tabIndex=t?-1:0,this.requestUpdate("disabled",e)}get selected(){return this._selected}set selected(t){const e=this._selected;this._selected=t,t&&this.notifySelectedTab(),this.setAttribute("aria-selected",""+t),this.requestUpdate("selected",e)}static get styles(){return[l.a,c.a]}handleClick(t){t.preventDefault(),this.id&&this.dispatchEvent(new CustomEvent("tab-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCrossKeydown(t){t.stopPropagation(),t.code===i.b.Enter&&this.handleCrossEventDispatch()}handleCrossClick(t){t.preventDefault(),!0!==this.disabled&&this.handleCrossEventDispatch()}handleCrossEventDispatch(){this.id&&("auto"===this.closable?this.dispatchEvent(new CustomEvent("tab-cross-click",{detail:{id:this.id},bubbles:!0,composed:!0})):"custom"===this.closable&&this.dispatchEvent(new CustomEvent("tab-close-click",{detail:{id:this.id,name:this.name},bubbles:!0,composed:!0})))}notifySelectedTab(){this.dispatchEvent(new CustomEvent("focus-visible",{composed:!0,bubbles:!0}))}update(t){super.update(t),t.has("disabled")&&(this.selected=!1,this.setAttribute("aria-disabled",""+this.disabled))}connectedCallback(){super.connectedCallback()}firstUpdated(t){super.firstUpdated(t),this.ariaRole&&this.setAttribute("role",this.ariaRole)}renderCrossButton(){return r.html`
2
2
  <div
3
3
  ?disabled=${this.disabled}
4
4
  tabindex="-1"
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{85:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));d(15);var i,n=d(7),o=d(6),s=d(5),a=d(0),l=d(2),r=d(22),c=d(58),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),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[s.a,c.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 a.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[46],{85:function(e,t,d){"use strict";d.r(t),d.d(t,"AccordionItem",(function(){return i}));d(15);var i,n=d(7),o=d(6),s=d(5),a=d(0),l=d(3),r=d(22),c=d(58),p=function(e,t,d,i){var n,o=arguments.length,s=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,d):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,d,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(o<3?n(s):o>3?n(t,d,s):n(t,d))||s);return o>3&&s&&Object.defineProperty(t,d,s),s};!function(e){let t=class extends(Object(n.a)(a.LitElement)){constructor(){super(...arguments),this._expanded=!1,this._level=3,this.uniqueId=Object(r.nanoid)(),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[s.a,c.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 a.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
@@ -1,61 +1,120 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[49],{106:function(e,t,r){"use strict";r.r(t),r.d(t,"Alert",(function(){return o}));r(17),r(15);var o,l=r(6),i=r(5),a=r(0),n=r(3),s=r(4),c=a.css`:host{--alert-icon-size:var(--alert-default-icon-size, $lm-alert-default-icon-size-light);--alert-close-btn:var(--alert-close-bg-color, $lm-alert-close-bg-color-light)}:host(md-alert){display:flex;flex:1 1 100%}.md-alert{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:.3125rem;border-top-right-radius:.3125rem;border-bottom-left-radius:.3125rem;border-bottom-right-radius:.3125rem;background-color:var(--alert-default-bg-color,#fff);border:1px solid var(--alert-default-border-color,rgba(0,0,0,.12));box-shadow:0 8px 16px 0 rgba(0,0,0,.08);flex:1 1 100%;margin-bottom:.5rem;max-height:19.25rem;max-width:23rem;min-height:4.875rem;padding:.75rem}.md-alert__icon{align-self:center}.md-alert__icon md-icon::part(icon){font-size:var(--alert-default-icon-size,24px)!important;line-height:var(--alert-default-icon-size,24px)!important}.md-alert__content{display:flex;flex-basis:0;flex-direction:column;flex-grow:2;max-width:17rem;padding-left:.75rem;padding-right:.125rem;align-self:center}.md-alert__title{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;color:var(--alert-title-text-color,#121212);font-size:var(--alert-title-font-size,1rem);line-height:1.5rem;width:100%}.md-alert__message{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:var(--alert-default-text-color,#545454);font-family:var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:var(--body-secondary-font-size,.875rem);line-height:1.35;width:100%;word-wrap:break-word}.md-alert__button{margin-left:.25rem;align-self:center}.md-alert__button md-button::part(button){align-items:center;background-color:var(--alert-close-bg-color,#fff);border-radius:50%;display:inline-flex;height:var(--alert-close-size,1rem);justify-content:center;width:var(--alert-close-size,1rem)}.md-alert__button md-icon::part(icon){color:var(--alert-close-text-color,#121212)}.md-alert.md-alert__inline{border:0;box-shadow:none;margin-bottom:0}@media(forced-colors:active){.md-alert__button md-icon::part(icon){color:ButtonText}.md-alert__icon{background:0 0}.md-alert__icon md-icon::part(icon){color:CanvasText}.md-alert .md-badge{background-color:inherit}}`,d=function(e,t,r,o){var l,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(l=e[n])&&(a=(i<3?l(a):i>3?l(t,r,a):l(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};!function(e){let t=class extends a.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.renderIconTemplate=()=>{switch(this.type){case"error":return a.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[49],{106:function(e,t,r){"use strict";r.r(t),r.d(t,"Alert",(function(){return o}));r(17),r(15);var o,i=r(6),n=r(5),l=r(0),a=r(2),s=r(4),c=l.css`:host{--alert-icon-size:var(--alert-default-icon-size, $lm-alert-default-icon-size-light);--alert-close-btn:var(--alert-close-bg-color, $lm-alert-close-bg-color-light)}:host(md-alert){display:flex;flex:1 1 100%}.md-alert{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;border-top-left-radius:.3125rem;border-top-right-radius:.3125rem;border-bottom-left-radius:.3125rem;border-bottom-right-radius:.3125rem;background-color:var(--alert-default-bg-color);border:1px solid var(--alert-default-border-color,rgba(0,0,0,.12));box-shadow:0 8px 16px 0 rgba(0,0,0,.08);flex:1 1 100%;margin-bottom:.5rem;max-height:19.25rem;max-width:23rem;min-height:4.875rem;padding:.75rem}.md-alert__icon{align-self:center}.md-alert__icon md-icon::part(icon){font-size:var(--alert-default-icon-size,24px)!important;line-height:var(--alert-default-icon-size,24px)!important}.md-alert__content{display:flex;flex-basis:0;flex-direction:column;flex-grow:2;max-width:17rem;padding-left:.75rem;padding-right:.125rem;align-self:center}.md-alert__title{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;color:var(--alert-title-text-color);font-size:var(--alert-title-font-size,1rem);line-height:1.5rem;width:100%}.md-alert__message{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;color:var(--alert-default-text-color);font-family:var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:var(--body-secondary-font-size,.875rem);line-height:1.35;width:100%;word-wrap:break-word}.md-alert__button{margin-left:.25rem;align-self:center}.md-alert__button md-button::part(button){align-items:center;background-color:var(--alert-close-bg-color);border-radius:50%;display:inline-flex;height:var(--alert-close-size,1rem);justify-content:center;width:var(--alert-close-size,1rem)}.md-alert__button md-icon::part(icon){color:var(--alert-close-text-color,#121212)}.md-alert.md-alert__inline{border:0;box-shadow:none;margin-bottom:0}.md-new-alert{border-top-left-radius:.5rem;border-top-right-radius:.5rem;border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem;background-color:var(--alert-default-bg-color);border:1px solid var(--alert-default-new-border-color,rgba(0,0,0,.12));box-shadow:0 24px 48px 0 var(--alert-default-border-color,rgba(0,0,0,.12));flex:1 1 100%;margin-bottom:.5rem;max-height:13.75rem;max-width:21.25rem;min-height:3.5rem;padding:1rem;flex-direction:column}.md-new-alert__body{align-content:center;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;width:100%}.md-new-alert__icon md-icon::part(icon){font-size:var(--alert-default-icon-size,24px)!important;line-height:var(--alert-default-icon-size,24px)!important}.md-new-alert__content{display:flex;flex-basis:0;flex-direction:column;flex-grow:2;max-width:15.25rem;align-self:center}.md-new-alert__title{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;color:var(--alert-title-text-color);font-size:var(--alert-title-font-size,1rem);line-height:1.5rem;width:100%}.md-new-alert__message{-webkit-box-orient:vertical;display:-webkit-box;-webkit-line-clamp:5;line-clamp:5;overflow:hidden;color:var(--alert-title-text-color);font-family:var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:var(--body-secondary-font-size,.875rem);line-height:1.25rem;width:100%;word-wrap:break-word;margin-top:.25rem}.md-new-alert__message md-link::part(link){font-size:var(--body-secondary-font-size,.875rem);color:var(--md-hyperlink-text-color)}.md-new-alert__button{margin-left:.125rem}.md-new-alert__button md-button::part(button){align-items:center;background-color:var(--alert-close-bg-color);border-radius:50%;display:inline-flex;height:var(--alert-close-size,1rem);justify-content:center;width:var(--alert-close-size,1rem);margin-top:.1875rem}.md-new-alert__button md-icon::part(icon){color:var(--alert-close-text-color,#121212)}.md-new-alert__footer{display:flex;justify-content:end;margin-top:1rem;width:100%}.md-new-alert__footer md-button:not(:first-child){margin-left:.5rem}.md-new-alert__link{margin-top:.25rem;display:flex;justify-content:center;font-family:var(--brand-font-light, "CiscoSansTT Light", "Helvetica Neue", Helvetica, Arial, sans-serif)}.md-new-alert__link md-icon{margin-left:.5rem}.md-new-alert.md-alert__inline{border:0;box-shadow:none;margin-bottom:0}@media(forced-colors:active){.md-alert__button md-icon::part(icon){color:ButtonText}.md-alert__icon{background:0 0}.md-alert__icon md-icon::part(icon){color:CanvasText}.md-alert .md-badge{background-color:inherit}}`,d=function(e,t,r,o){var i,n=arguments.length,l=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(l=(n<3?i(l):n>3?i(t,r,l):i(t,r))||l);return n>3&&l&&Object.defineProperty(t,r,l),l};!function(e){let t=class extends l.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.renderIconTemplate=()=>{switch(this.type){case"error":return l.html`
2
2
  <md-icon
3
- name="warning-regular"
4
- size="32"
3
+ name="error-legacy-bold"
4
+ size="${this.newMomentum?24:32}"
5
5
  iconSet="momentumDesign"
6
6
  color="var(--md-alert-error-text-color, red)"
7
7
  ></md-icon>
8
- `;case"info":return a.html`
8
+ `;case"info":return l.html`
9
9
  <md-icon
10
10
  name="info-circle-regular"
11
- size="32"
11
+ size="${this.newMomentum?24:32}"
12
12
  iconSet="momentumDesign"
13
13
  color="var(--md-alert-info-text-color, blue)"
14
14
  ></md-icon>
15
- `;case"success":return a.html`
15
+ `;case"success":return l.html`
16
16
  <md-icon
17
- name="check-circle-regular"
18
- size="32"
17
+ name="check-circle-bold"
18
+ size="${this.newMomentum?24:32}"
19
19
  iconSet="momentumDesign"
20
20
  color="var(--md-alert-success-text-color, green)"
21
21
  ></md-icon>
22
- `;case"warn":case"warning":return a.html`
22
+ `;case"warn":case"warning":return l.html`
23
23
  <md-icon
24
- name="warning-regular"
25
- size="32"
24
+ name="warning-bold"
25
+ size="${this.newMomentum?24:32}"
26
26
  iconSet="momentumDesign"
27
+ D
27
28
  color="var(--md-alert-warning-text-color, orange)"
28
29
  ></md-icon>
29
- `;default:return a.html` <slot name="alert-icon"></slot> `}}}close(){this.dispatchEvent(new CustomEvent("alert-close",{composed:!0,bubbles:!0})),this.internalClose&&(this.show=!1)}static get styles(){return[i.a,c]}get alertClassMap(){return{["md-alert--"+this.type]:!!this.type,"md-alert__inline":this.inline}}render(){return a.html`
30
- ${this.show?a.html`
31
- <div role="alert" aria-live="polite" part="alert" class="md-alert ${Object(s.classMap)(this.alertClassMap)}">
32
- <div class="md-alert__icon aria-hidden="true">
33
- ${this.renderIconTemplate()}
34
- </div>
35
- <div part="content" class="md-alert__content">
36
- ${this.title&&""!==this.title?a.html` <div class="md-alert__title" role="heading" aria-level="1">${this.title}</div> `:n.nothing}
37
- <div class="md-alert__message">
38
- ${this.message}
39
- <slot name="alert-body"></slot>
30
+ `;case"message":return l.html`
31
+ <md-icon
32
+ name="chat-bold"
33
+ size="${this.newMomentum?24:32}"
34
+ iconSet="momentumDesign"
35
+ color="var(--alert-title-text-color)"
36
+ ></md-icon>
37
+ `;case"loading":return l.html`<md-spinner size="24"></md-spinner>`;default:return l.html` <slot name="alert-icon"></slot> `}}}close(){this.dispatchEvent(new CustomEvent("alert-close",{composed:!0,bubbles:!0})),this.internalClose&&(this.show=!1)}static get styles(){return[n.a,c]}get alertClassMap(){return{["md-alert--"+this.type]:!!this.type,"md-alert__inline":this.inline}}legacyRender(){return l.html`
38
+ <div role="alert" aria-live="polite" part="alert" class="md-alert ${Object(s.classMap)(this.alertClassMap)}">
39
+ <div class="md-alert__icon aria-hidden="true">
40
+ ${this.renderIconTemplate()}
41
+ </div>
42
+ <div part="content" class="md-alert__content">
43
+ ${this.title&&""!==this.title?l.html` <div class="md-alert__title" role="heading" aria-level="1">${this.title}</div> `:a.nothing}
44
+ <div class="md-alert__message">
45
+ ${this.message}
46
+ <slot name="alert-body"></slot>
47
+ </div>
48
+ </div>
49
+ ${this.closable?l.html`
50
+ <div class="md-alert__button">
51
+ <md-button
52
+ arialabel="${this.btnlabel}"
53
+ hasRemoveStyle
54
+ color="color-none"
55
+ circle
56
+ @click="${()=>this.close()}"
57
+ >
58
+ <md-icon slot="icon" name="cancel-bold" size="18" iconSet="momentumDesign"></md-icon>
59
+ </md-button>
60
+ </div>
61
+ `:l.html`
62
+ <div class="md-alert__footer">
63
+ <slot name="alert-footer"></slot>
64
+ </div>
65
+ `}
66
+ </div>
67
+ `}newRender(){return l.html`
68
+ <div role="alert" aria-live="polite" part="alert" class="md-new-alert ${Object(s.classMap)(this.alertClassMap)}">
69
+ <div class="md-new-alert__body">
70
+ <div class="md-new-alert__icon aria-hidden="true">
71
+ ${this.renderIconTemplate()}
72
+ </div>
73
+ <div part="content" class="md-new-alert__content">
74
+ ${this.title&&""!==this.title?l.html` <div class="md-new-alert__title" role="heading" aria-level="1">${this.title}</div> `:a.nothing}
75
+ <div class="md-new-alert__message" title="${this.message}">
76
+ ${this.message}
77
+ <slot name="alert-body"></slot>
78
+ ${this.showMore?l.html`<md-link href=${this.href} inline>Show more...</md-link>`:a.nothing}
79
+ </div>
80
+ </div>
81
+ ${this.closable?l.html`
82
+ <div class="md-new-alert__button">
83
+ <md-button
84
+ arialabel="${this.btnlabel}"
85
+ hasRemoveStyle
86
+ color="color-none"
87
+ circle
88
+ @click="${()=>this.close()}"
89
+ >
90
+ <md-icon slot="icon" name="cancel-bold" size="16" iconSet="momentumDesign"></md-icon>
91
+ </md-button>
40
92
  </div>
93
+ `:a.nothing}
94
+ </div>
95
+ ${this.primaryButton||this.secondaryButton||this.link?l.html`
96
+ <div class="md-new-alert__footer">
97
+ ${this.link?l.html`
98
+ <md-link href="${this.href}"
99
+ ><span class="md-new-alert__link">Link
100
+ <md-icon
101
+ name="pop-out-bold"
102
+ size="16"
103
+ iconSet="momentumDesign"
104
+ color="var(--md-alert-info-text-color, blue)"
105
+ ></md-icon
106
+ ><span></md-link>
107
+ `:a.nothing}
108
+ ${this.secondaryButton?l.html`<md-button variant="secondary" .clickFunction="${this.secondaryButtonClickFunction}"
109
+ >${this.secondaryButton}</md-button
110
+ >`:a.nothing}
111
+ ${this.primaryButton?l.html`<md-button
112
+ variant=${this.primaryButtonVariant}
113
+ color=${this.primaryButtonColor}
114
+ .clickFunction="${this.primaryButtonClickFunction}"
115
+ >${this.primaryButton}</md-button
116
+ >`:a.nothing}
41
117
  </div>
42
- ${this.closable?a.html`
43
- <div class="md-alert__button">
44
- <md-button
45
- arialabel="${this.btnlabel}"
46
- hasRemoveStyle
47
- color="color-none"
48
- circle
49
- @click="${()=>this.close()}"
50
- >
51
- <md-icon slot="icon" name="cancel-bold" size="18" iconSet="momentumDesign"></md-icon>
52
- </md-button>
53
- </div>
54
- `:a.html`
55
- <div class="md-alert__footer">
56
- <slot name="alert-footer"></slot>
57
- </div>
58
- `}
59
- </div>
60
- `:n.nothing}
61
- `}};d([Object(a.property)({type:Boolean})],t.prototype,"closable",void 0),d([Object(a.property)({type:String})],t.prototype,"message",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"internalClose",void 0),d([Object(a.property)({type:String})],t.prototype,"title",void 0),d([Object(a.property)({type:String})],t.prototype,"btnlabel",void 0),d([Object(a.property)({type:String})],t.prototype,"type",void 0),d([Object(a.property)({type:Boolean})],t.prototype,"inline",void 0),t=d([Object(l.a)("md-alert")],t),e.ELEMENT=t}(o||(o={}))}}]);
118
+ `:a.nothing}
119
+ </div>
120
+ `}render(){return l.html` ${this.show?this.newMomentum?this.newRender():this.legacyRender():a.nothing} `}};d([Object(l.property)({type:Boolean})],t.prototype,"closable",void 0),d([Object(l.property)({type:String})],t.prototype,"message",void 0),d([Object(l.property)({type:Boolean})],t.prototype,"show",void 0),d([Object(l.property)({type:Boolean})],t.prototype,"internalClose",void 0),d([Object(l.property)({type:String})],t.prototype,"title",void 0),d([Object(l.property)({type:String})],t.prototype,"btnlabel",void 0),d([Object(l.property)({type:String})],t.prototype,"type",void 0),d([Object(l.property)({type:Boolean})],t.prototype,"inline",void 0),d([Object(l.property)({type:Boolean})],t.prototype,"newMomentum",void 0),d([Object(l.property)({type:String})],t.prototype,"primaryButton",void 0),d([Object(l.property)({type:String})],t.prototype,"primaryButtonVariant",void 0),d([Object(l.property)({type:String})],t.prototype,"primaryButtonColor",void 0),d([Object(l.property)({type:Function})],t.prototype,"primaryButtonClickFunction",void 0),d([Object(l.property)({type:String})],t.prototype,"secondaryButton",void 0),d([Object(l.property)({type:Function})],t.prototype,"secondaryButtonClickFunction",void 0),d([Object(l.property)({type:Boolean})],t.prototype,"link",void 0),d([Object(l.property)({type:Boolean})],t.prototype,"showMore",void 0),d([Object(l.property)({type:String})],t.prototype,"href",void 0),t=d([Object(i.a)("md-alert")],t),e.ELEMENT=t}(o||(o={}))}}]);
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[50],{107:function(e,t,i){"use strict";i.r(t),i.d(t,"playbackSpeeds",(function(){return p})),i.d(t,"defaultLabelMap",(function(){return c})),i.d(t,"AudioPlayer",(function(){return m}));i(17),i(15),i(40);var o=i(1),a=i(6),l=i(5),n=i(0),s=i(3),r=i(4),d=n.css`:host(md-audio-player){display:block}.md-audio-player{background:var(--audio-player-background-body,#ededed);box-shadow:inset 0 0 1.25rem rgba(176,176,176,.25);border-radius:1.875rem;height:3.75rem;color:var(--audio-player-font-color,#121212);flex-direction:column;justify-content:center;display:flex;padding:0 1.25rem;font-size:14px}.inner-container{display:flex;gap:.625rem;align-items:center;justify-items:center}.timeline-container{flex:1;z-index:0}.timeline-container md-tooltip{display:unset}md-button::part(button){vertical-align:text-bottom}md-button::part(button):focus::after{outline:0;box-shadow:none}md-button::part(button):focus-visible{box-shadow:0 0 0 .125rem var(--aido-player-focus-ring-color,#007aa3)}.timeline{background:var(--audio-player-background-timeline,#ccc);cursor:pointer;height:.375rem;width:100%;border-radius:.25rem;position:relative}.progress-bar{background:var(--audio-player-background-progress-bar,#3b3b3b);height:100%;width:0;transition:.25s;border-radius:.25rem;position:absolute;z-index:2}.buffer-bar{background:var(--audio-player-background-buffer-bar,#b2b2b2);height:100%;width:0;transition:.25s;border-radius:.25rem;position:absolute;top:0;opacity:.6}.text-container{display:flex;justify-content:space-between}.play-btn{cursor:pointer}.play-btn md-icon{vertical-align:sub}.volume-container{height:1.75rem;border-radius:1.875rem;display:flex;align-items:center;justify-content:center;transition:.25s}.volume-container md-icon{cursor:pointer}.volume-container:hover{background:var(--audio-player-background-body,#ededed);box-shadow:inset 0 0 1.25rem rgba(176,176,176,.25);padding:0 .9375rem}.volume-container:hover .volume{width:5rem;margin-right:.625rem}.volume{cursor:pointer;height:.375rem;width:0;overflow:hidden;border-radius:.625rem;transition:.25s;background:var(--audio-player-background-timeline,#ccc)}.volume-slider{background:var(--audio-player-background-progress-bar,#3b3b3b);height:100%;width:24%}.speed-icon-container{position:relative}#speed-btn{cursor:pointer}.speed-popup{display:none;position:absolute;z-index:1;bottom:-.375rem;right:4.75rem;height:100%;width:100%;justify-content:center;align-items:flex-end}.speed-popup.popup-open{display:flex}.speed-popup ul{list-style:none;padding:.375rem 0;text-align:left;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--audio-player-background-speed-popup,#fff);box-shadow:0 .25rem .5rem rgba(0,0,0,.2),0 0 .0625rem rgba(0,0,0,.12);border-radius:.5rem}.speed-popup ul li{padding:.125rem .75rem .125rem .75rem;color:var(--audio-player-font-color,#121212);width:10rem;height:1.875rem;cursor:pointer;transition:background .1s ease;display:inline-flex;justify-content:space-between;align-items:center}.speed-popup ul li:hover{background:var(--audio-player-background-speed-popup-hover,#f7f7f7)}.speed-popup-selected-speed{background:var(--audio-player-background-speed-popup-hover,#f7f7f7)}@media(forced-colors:active){.md-audio-player{outline:1px solid transparent!important}.buffer-bar{forced-color-adjust:none;opacity:.3;background-color:GrayText}.progress-bar{forced-color-adjust:none;background-color:Highlight}.volume{forced-color-adjust:none;background-color:HighlightText;outline:1px solid Highlight;outline-offset:-1px}.volume-slider{forced-color-adjust:none;background-color:Highlight}.speed-popup ul{outline:1px solid Highlight}.speed-popup ul li:hover{forced-color-adjust:none;color:Canvas;background:Highlight}#speed-popup-menu>.speed-popup-selected-speed{forced-color-adjust:none;color:Canvas;background:Highlight}}`,u=function(e,t,i,o){var a,l=arguments.length,n=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(l<3?a(n):l>3?a(t,i,n):a(t,i))||n);return l>3&&n&&Object.defineProperty(t,i,n),n};const p=[{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"}],c={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 m;!function(e){let t=class extends n.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.b.ArrowLeft:this.volumeExpanded?this.setVolumeKeydown(this.volume-.01):this.setTimeKeydown(this.currentTime-1);break;case o.b.ArrowRight:this.volumeExpanded?this.setVolumeKeydown(this.volume+.01):this.setTimeKeydown(this.currentTime+1);break;case o.b.ArrowUp:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.max(0,t-1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.b.ArrowDown:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.min(p.length-1,t+1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.b.Enter:this.showSpeedPopup&&(this.setPlaybackSpeed(this.selectedPlaybackSpeed),e.preventDefault())}},this.audio=new Audio,this.setAudioEventListeners(),this.labelMap=c}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):a()},o=()=>{a()},a=()=>{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.audio.playbackRate=this.playbackSpeed,this.showSpeedPopup=!1}toggleVolumeExpand(e){this.volumeExpanded=e}static get styles(){return[l.a,d]}render(){return n.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[50],{107:function(e,t,i){"use strict";i.r(t),i.d(t,"playbackSpeeds",(function(){return p})),i.d(t,"defaultLabelMap",(function(){return c})),i.d(t,"AudioPlayer",(function(){return m}));i(17),i(15),i(40);var o=i(1),a=i(6),l=i(5),n=i(0),s=i(2),r=i(4),d=n.css`:host(md-audio-player){display:block}.md-audio-player{background:var(--audio-player-background-body,#ededed);box-shadow:inset 0 0 1.25rem rgba(176,176,176,.25);border-radius:1.875rem;height:3.75rem;color:var(--audio-player-font-color,#121212);flex-direction:column;justify-content:center;display:flex;padding:0 1.25rem;font-size:14px}.inner-container{display:flex;gap:.625rem;align-items:center;justify-items:center}.timeline-container{flex:1;z-index:0}.timeline-container md-tooltip{display:unset}md-button::part(button){vertical-align:text-bottom}md-button::part(button):focus::after{outline:0;box-shadow:none}md-button::part(button):focus-visible{box-shadow:0 0 0 .125rem var(--aido-player-focus-ring-color,#007aa3)}.timeline{background:var(--audio-player-background-timeline,#ccc);cursor:pointer;height:.375rem;width:100%;border-radius:.25rem;position:relative}.progress-bar{background:var(--audio-player-background-progress-bar,#3b3b3b);height:100%;width:0;transition:.25s;border-radius:.25rem;position:absolute;z-index:2}.buffer-bar{background:var(--audio-player-background-buffer-bar,#b2b2b2);height:100%;width:0;transition:.25s;border-radius:.25rem;position:absolute;top:0;opacity:.6}.text-container{display:flex;justify-content:space-between}.play-btn{cursor:pointer}.play-btn md-icon{vertical-align:sub}.volume-container{height:1.75rem;border-radius:1.875rem;display:flex;align-items:center;justify-content:center;transition:.25s}.volume-container md-icon{cursor:pointer}.volume-container:hover{background:var(--audio-player-background-body,#ededed);box-shadow:inset 0 0 1.25rem rgba(176,176,176,.25);padding:0 .9375rem}.volume-container:hover .volume{width:5rem;margin-right:.625rem}.volume{cursor:pointer;height:.375rem;width:0;overflow:hidden;border-radius:.625rem;transition:.25s;background:var(--audio-player-background-timeline,#ccc)}.volume-slider{background:var(--audio-player-background-progress-bar,#3b3b3b);height:100%;width:24%}.speed-icon-container{position:relative}#speed-btn{cursor:pointer}.speed-popup{display:none;position:absolute;z-index:1;bottom:-.375rem;right:4.75rem;height:100%;width:100%;justify-content:center;align-items:flex-end}.speed-popup.popup-open{display:flex}.speed-popup ul{list-style:none;padding:.375rem 0;text-align:left;display:flex;align-items:center;justify-content:center;flex-direction:column;background:var(--audio-player-background-speed-popup,#fff);box-shadow:0 .25rem .5rem rgba(0,0,0,.2),0 0 .0625rem rgba(0,0,0,.12);border-radius:.5rem}.speed-popup ul li{padding:.125rem .75rem .125rem .75rem;color:var(--audio-player-font-color,#121212);width:10rem;height:1.875rem;cursor:pointer;transition:background .1s ease;display:inline-flex;justify-content:space-between;align-items:center}.speed-popup ul li:hover{background:var(--audio-player-background-speed-popup-hover,#f7f7f7)}.speed-popup-selected-speed{background:var(--audio-player-background-speed-popup-hover,#f7f7f7)}@media(forced-colors:active){.md-audio-player{outline:1px solid transparent!important}.buffer-bar{forced-color-adjust:none;opacity:.3;background-color:GrayText}.progress-bar{forced-color-adjust:none;background-color:Highlight}.volume{forced-color-adjust:none;background-color:HighlightText;outline:1px solid Highlight;outline-offset:-1px}.volume-slider{forced-color-adjust:none;background-color:Highlight}.speed-popup ul{outline:1px solid Highlight}.speed-popup ul li:hover{forced-color-adjust:none;color:Canvas;background:Highlight}#speed-popup-menu>.speed-popup-selected-speed{forced-color-adjust:none;color:Canvas;background:Highlight}}`,u=function(e,t,i,o){var a,l=arguments.length,n=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(n=(l<3?a(n):l>3?a(t,i,n):a(t,i))||n);return l>3&&n&&Object.defineProperty(t,i,n),n};const p=[{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"}],c={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 m;!function(e){let t=class extends n.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.b.ArrowLeft:this.volumeExpanded?this.setVolumeKeydown(this.volume-.01):this.setTimeKeydown(this.currentTime-1);break;case o.b.ArrowRight:this.volumeExpanded?this.setVolumeKeydown(this.volume+.01):this.setTimeKeydown(this.currentTime+1);break;case o.b.ArrowUp:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.max(0,t-1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.b.ArrowDown:if(this.showSpeedPopup){this.currentlySelectingPlaybackSpeed=!0;const t=p.findIndex(e=>e.value===this.selectedPlaybackSpeed),i=Math.min(p.length-1,t+1);this.selectedPlaybackSpeed=p[i].value,e.preventDefault(),this.currentlySelectingPlaybackSpeed=!1}break;case o.b.Enter:this.showSpeedPopup&&(this.setPlaybackSpeed(this.selectedPlaybackSpeed),e.preventDefault())}},this.audio=new Audio,this.setAudioEventListeners(),this.labelMap=c}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):a()},o=()=>{a()},a=()=>{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.audio.playbackRate=this.playbackSpeed,this.showSpeedPopup=!1}toggleVolumeExpand(e){this.volumeExpanded=e}static get styles(){return[l.a,d]}render(){return n.html`
2
2
  <div class="md-audio-player">
3
3
  <div class="inner-container">
4
4
  <div class="play-container">
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[51],{108:function(e,r,t){"use strict";t.r(r),t.d(r,"Breadcrumb",(function(){return a}));var a,n=t(5),s=t(6),o=t(0),c=o.css`:host(:focus){box-shadow:none;outline:0!important}:host(md-breadcrumb) .md-breadcrumb ul{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;margin:0;padding:.5625rem .875rem .5625rem;list-style:none}:host(md-breadcrumb) .md-breadcrumb li{display:flex;text-transform:capitalize;font-size:.875rem}:host(md-breadcrumb) .md-breadcrumb li:not(:first-child)::before{display:flex;margin:0 .75rem;color:var(--breadcrumb-color-slash,#949494);content:"/"}:host(md-breadcrumb) .md-breadcrumb a{color:var(--breadcrumb-color,#00a0d1)}:host(md-breadcrumb) .md-breadcrumb a[aria-current=page]{pointer-events:none;cursor:default;color:var(--breadcrumb-color-current,#292929)}`,i=t(12),l=t(2),b=function(e,r,t,a){var n,s=arguments.length,o=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,r,t,a);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(o=(s<3?n(o):s>3?n(r,t,o):n(r,t))||o);return s>3&&o&&Object.defineProperty(r,t,o),o};!function(e){let r=class extends o.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[n.a,c]}setLastAnchorCurrent(){this.anchors&&this.anchors.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){const r=e.target;if(this.anchors&&this.anchors.length){const e=Array.from(this.anchors).indexOf(r);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return o.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[51],{108:function(e,r,t){"use strict";t.r(r),t.d(r,"Breadcrumb",(function(){return a}));var a,n=t(5),s=t(6),o=t(0),c=o.css`:host(:focus){box-shadow:none;outline:0!important}:host(md-breadcrumb) .md-breadcrumb ul{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:flex-start;margin:0;padding:.5625rem .875rem .5625rem;list-style:none}:host(md-breadcrumb) .md-breadcrumb li{display:flex;text-transform:capitalize;font-size:.875rem}:host(md-breadcrumb) .md-breadcrumb li:not(:first-child)::before{display:flex;margin:0 .75rem;color:var(--breadcrumb-color-slash,#949494);content:"/"}:host(md-breadcrumb) .md-breadcrumb a{color:var(--breadcrumb-color,#00a0d1)}:host(md-breadcrumb) .md-breadcrumb a[aria-current=page]{pointer-events:none;cursor:default;color:var(--breadcrumb-color-current,#292929)}`,i=t(12),l=t(3),b=function(e,r,t,a){var n,s=arguments.length,o=s<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,r,t,a);else for(var c=e.length-1;c>=0;c--)(n=e[c])&&(o=(s<3?n(o):s>3?n(r,t,o):n(r,t))||o);return s>3&&o&&Object.defineProperty(r,t,o),o};!function(e){let r=class extends o.LitElement{constructor(){super(...arguments),this.label="Breadcrumb",this.navCrumbs=[]}static get styles(){return[n.a,c]}setLastAnchorCurrent(){this.anchors&&this.anchors.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){const r=e.target;if(this.anchors&&this.anchors.length){const e=Array.from(this.anchors).indexOf(r);-1!==e&&(this.navCrumbs=[...this.navCrumbs.splice(0,e+1)])}}render(){return o.html`
2
2
  <nav aria-label="${Object(l.ifDefined)(this.label?this.label:void 0)}" class="md-breadcrumb">
3
3
  <ul @click=${e=>this.handleClick(e)}>
4
4
  ${Object(i.repeat)(this.navCrumbs,e=>e.link,e=>o.html`
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[53],{110:function(e,t,d){"use strict";d.r(t),d.d(t,"Card",(function(){return r}));d(17),d(78),d(15),d(70),d(71),d(30),d(40);var r,o=d(6),a=d(5),i=d(0),n=d(3),c=d(12),m=d(1),s=i.css`:host(md-card){display:inline-block}:host(md-card) .md-card{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-tertiary-white-bg-color);border:var(--md-quaternary-bg-color);border-radius:.5rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.16),0 0 .0625rem rgba(0,0,0,.16);color:var(--md-secondary-text-color);cursor:pointer;max-width:26.5rem;padding:calc(.5rem*2);position:relative;width:100%}:host(md-card) .md-card-header{align-content:flex-start;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;flex:1 0 100%;margin-bottom:.5rem}:host(md-card) .md-card-header md-favorite{padding-top:calc(.5rem*.5)}:host(md-card) .md-card-header-title{display:flex;flex:1 1 100%;flex-direction:column;margin:0 .5rem}:host(md-card) .md-card-header-title h1{color:var(--md-primary-text-color);font-family:var(--brand-font-medium, "CiscoSans-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:16px;line-height:calc(.5rem*3);margin:0}:host(md-card) .md-card-header-title h2{color:var(--md-secondary-text-color);font-size:12px;line-height:calc(.5rem*2.25)}:host(md-card) .md-card-header-actions{align-self:stretch;display:inline-flex;position:relative;z-index:1}:host(md-card) .md-card-header-actions .md-card-info-icon,:host(md-card) .md-card-header-actions .md-card-max-icon{padding-right:.5rem}:host(md-card) .md-card-header-actions md-menu-overlay::part(overlay-content){max-width:9rem}:host(md-card) .md-card .md-card-menu-icon{border-radius:calc(.5rem/2);display:inline-flex}:host(md-card) .md-card .md-card-menu-icon::part(button){padding:calc(.5rem*.25)}:host(md-card) .md-card .md-card-menu-icon:hover{background-color:var(--md-tertiary-bg-color)}:host(md-card) .md-card .md-card-menu-icon:active{background-color:var(--md-quaternary-bg-color)}:host(md-card) .md-card .md-card-menu-list-items{padding:calc(.5rem*.25)}:host(md-card) .md-card-content{background:var(--md-secondary-bg-color);border:var(--md-quaternary-bg-color);border-radius:calc(.5rem/2);height:14rem;margin-bottom:calc(.5rem*2);overflow:hidden}:host(md-card) .md-card.full-screen{display:inline-block;height:100%!important;left:0;max-width:100%;position:absolute;top:0;width:100%}:host(md-card) .md-card.full-screen .md-card-content{height:auto}:host(md-card) .md-card-footer{display:flex;flex-wrap:wrap;gap:.5rem}@media(forced-colors:active){:host(md-card) .md-card{box-shadow:none;outline:1px solid CanvasText}:host(md-card) .md-card:focus{outline:2px solid Highlight}:host(md-card) .md-card-header md-favorite{color:windowText}}`,l=function(e,t,d,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,d):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,d,r);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(i=(a<3?o(i):a>3?o(t,d,i):o(t,d))||i);return a>3&&i&&Object.defineProperty(t,d,i),i};!function(e){let t=class extends i.LitElement{constructor(){super(...arguments),this.title="title",this.subtitle="",this.id="",this.info="",this.infoAriaLabel="Card Info",this.menuAriaLabel="Card Menu",this.menuOptions=[]}static get styles(){return[a.a,s]}handleCardClick(){this.dispatchEvent(new CustomEvent("card-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardKeyDown(e){e.code!==m.b.Enter&&e.code!==m.b.Space||this.dispatchEvent(new CustomEvent("card-keydown",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardMenuEvent(e,t){e.stopPropagation();const d=t.toLowerCase();this.dispatchEvent(new CustomEvent("card-menu-click",{detail:{id:this.id,type:d},bubbles:!0,composed:!0}))}handleCardMenuKeyDown(e,t){e.preventDefault(),this.dispatchEvent(new CustomEvent("card-menu-keydown",{detail:{id:this.id,type:t.toLowerCase(),keyCode:e.code},bubbles:!0,composed:!0}))}render(){return i.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[53],{110:function(e,t,d){"use strict";d.r(t),d.d(t,"Card",(function(){return r}));d(17),d(78),d(15),d(70),d(71),d(30),d(40);var r,o=d(6),a=d(5),i=d(0),n=d(2),c=d(12),m=d(1),s=i.css`:host(md-card){display:inline-block}:host(md-card) .md-card{align-content:center;align-items:stretch;display:flex;flex-flow:column nowrap;justify-content:flex-start;background:var(--md-tertiary-white-bg-color);border:var(--md-quaternary-bg-color);border-radius:.5rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.16),0 0 .0625rem rgba(0,0,0,.16);color:var(--md-secondary-text-color);cursor:pointer;max-width:26.5rem;padding:calc(.5rem*2);position:relative;width:100%}:host(md-card) .md-card-header{align-content:flex-start;align-items:flex-start;display:flex;flex-flow:row nowrap;justify-content:space-between;flex:1 0 100%;margin-bottom:.5rem}:host(md-card) .md-card-header md-favorite{padding-top:calc(.5rem*.5)}:host(md-card) .md-card-header-title{display:flex;flex:1 1 100%;flex-direction:column;margin:0 .5rem}:host(md-card) .md-card-header-title h1{color:var(--md-primary-text-color);font-family:var(--brand-font-medium, "CiscoSans-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif);font-size:16px;line-height:calc(.5rem*3);margin:0}:host(md-card) .md-card-header-title h2{color:var(--md-secondary-text-color);font-size:12px;line-height:calc(.5rem*2.25)}:host(md-card) .md-card-header-actions{align-self:stretch;display:inline-flex;position:relative;z-index:1}:host(md-card) .md-card-header-actions .md-card-info-icon,:host(md-card) .md-card-header-actions .md-card-max-icon{padding-right:.5rem}:host(md-card) .md-card-header-actions md-menu-overlay::part(overlay-content){max-width:9rem}:host(md-card) .md-card .md-card-menu-icon{border-radius:calc(.5rem/2);display:inline-flex}:host(md-card) .md-card .md-card-menu-icon::part(button){padding:calc(.5rem*.25)}:host(md-card) .md-card .md-card-menu-icon:hover{background-color:var(--md-tertiary-bg-color)}:host(md-card) .md-card .md-card-menu-icon:active{background-color:var(--md-quaternary-bg-color)}:host(md-card) .md-card .md-card-menu-list-items{padding:calc(.5rem*.25)}:host(md-card) .md-card-content{background:var(--md-secondary-bg-color);border:var(--md-quaternary-bg-color);border-radius:calc(.5rem/2);height:14rem;margin-bottom:calc(.5rem*2);overflow:hidden}:host(md-card) .md-card.full-screen{display:inline-block;height:100%!important;left:0;max-width:100%;position:absolute;top:0;width:100%}:host(md-card) .md-card.full-screen .md-card-content{height:auto}:host(md-card) .md-card-footer{display:flex;flex-wrap:wrap;gap:.5rem}@media(forced-colors:active){:host(md-card) .md-card{box-shadow:none;outline:1px solid CanvasText}:host(md-card) .md-card:focus{outline:2px solid Highlight}:host(md-card) .md-card-header md-favorite{color:windowText}}`,l=function(e,t,d,r){var o,a=arguments.length,i=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,d):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,d,r);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(i=(a<3?o(i):a>3?o(t,d,i):o(t,d))||i);return a>3&&i&&Object.defineProperty(t,d,i),i};!function(e){let t=class extends i.LitElement{constructor(){super(...arguments),this.title="title",this.subtitle="",this.id="",this.info="",this.infoAriaLabel="Card Info",this.menuAriaLabel="Card Menu",this.menuOptions=[]}static get styles(){return[a.a,s]}handleCardClick(){this.dispatchEvent(new CustomEvent("card-click",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardKeyDown(e){e.code!==m.b.Enter&&e.code!==m.b.Space||this.dispatchEvent(new CustomEvent("card-keydown",{detail:{id:this.id},bubbles:!0,composed:!0}))}handleCardMenuEvent(e,t){e.stopPropagation();const d=t.toLowerCase();this.dispatchEvent(new CustomEvent("card-menu-click",{detail:{id:this.id,type:d},bubbles:!0,composed:!0}))}handleCardMenuKeyDown(e,t){e.preventDefault(),this.dispatchEvent(new CustomEvent("card-menu-keydown",{detail:{id:this.id,type:t.toLowerCase(),keyCode:e.code},bubbles:!0,composed:!0}))}render(){return i.html`
2
2
  <div
3
3
  class="md-card"
4
4
  id="${this.id}"
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[54],{111:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessage",(function(){return a}));var a,i=s(5),o=s(6),c=s(0),r=c.css`:host(:focus){box-shadow:none;outline:0!important}:host(md-chat-message) .md-chat-message{color:var(--chat-message-color,#1c1c1c);display:flex;font-size:.875rem;line-height:1.375rem;margin:.75rem 0}:host(md-chat-message) .md-chat-message_content{display:flex;flex-direction:column;padding-left:.75rem}:host(md-chat-message) .md-chat-message_heading{color:var(--chat-message-color-heading,#3b3b3b);display:flex;flex:0 1 auto;font-size:.75rem;line-height:.75rem;margin-bottom:calc(.75rem*.5)}:host(md-chat-message) .md-chat-message_title{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;flex:0 1 auto}:host(md-chat-message) .md-chat-message_title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;display:block}:host(md-chat-message) .md-chat-message_time{margin-left:calc(.75rem*1.5)}@media(forced-colors:active){.md-alert__icon{background-color:Canvas}}`,l=(s(50),s(2)),n=function(e,t,s,a){var i,o=arguments.length,c=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,a);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(c=(o<3?i(c):o>3?i(t,s,c):i(t,s))||c);return o>3&&c&&Object.defineProperty(t,s,c),c};!function(e){let t=class extends c.LitElement{constructor(){super(...arguments),this.title="",this.src="",this.time="",this.label="Avatar",this.self=!1}static get styles(){return[i.a,r]}render(){return c.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[54],{111:function(e,t,s){"use strict";s.r(t),s.d(t,"ChatMessage",(function(){return a}));var a,i=s(5),o=s(6),c=s(0),r=c.css`:host(:focus){box-shadow:none;outline:0!important}:host(md-chat-message) .md-chat-message{color:var(--chat-message-color,#1c1c1c);display:flex;font-size:.875rem;line-height:1.375rem;margin:.75rem 0}:host(md-chat-message) .md-chat-message_content{display:flex;flex-direction:column;padding-left:.75rem}:host(md-chat-message) .md-chat-message_heading{color:var(--chat-message-color-heading,#3b3b3b);display:flex;flex:0 1 auto;font-size:.75rem;line-height:.75rem;margin-bottom:calc(.75rem*.5)}:host(md-chat-message) .md-chat-message_title{align-content:center;align-items:center;display:flex;flex-flow:row nowrap;justify-content:center;flex:0 1 auto}:host(md-chat-message) .md-chat-message_title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;display:block}:host(md-chat-message) .md-chat-message_time{margin-left:calc(.75rem*1.5)}@media(forced-colors:active){.md-alert__icon{background-color:Canvas}}`,l=(s(50),s(3)),n=function(e,t,s,a){var i,o=arguments.length,c=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,s):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,s,a);else for(var r=e.length-1;r>=0;r--)(i=e[r])&&(c=(o<3?i(c):o>3?i(t,s,c):i(t,s))||c);return o>3&&c&&Object.defineProperty(t,s,c),c};!function(e){let t=class extends c.LitElement{constructor(){super(...arguments),this.title="",this.src="",this.time="",this.label="Avatar",this.self=!1}static get styles(){return[i.a,r]}render(){return c.html`
2
2
  <div class="md-chat-message">
3
3
  <md-avatar
4
4
  type=${Object(l.ifDefined)(this.self?"self":void 0)}
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[57],{112:function(o,e,r){"use strict";r.r(e),r.d(e,"tooltipPlacement",(function(){return v})),r.d(e,"Chip",(function(){return h}));r(15),r(79),r(40);var t=r(1),c=r(6),a=r(5),l=r(0),i=r(3),d=r(4),g=r(2),n=l.css`:focus{outline:0}.md-chip{padding:.25rem 1rem;font-size:var(--body-secondary-font-size,.75rem);align-items:center;background-color:var(--md-secondary-bg-color,#f7f7f7);color:var(--md-primary-text-color,#121212);cursor:pointer;display:inline-flex;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-weight:400;height:2rem;justify-content:space-between;line-height:1rem;margin-bottom:auto;max-width:12.5rem;overflow:auto;position:relative;text-align:center;text-decoration:none;white-space:nowrap;width:auto}.md-chip{border-radius:1.125rem}.md-chip{--left-content-right-margin:0.625rem}.md-chip--small{padding:.1875rem .75rem;font-size:var(--body-secondary-font-size,.75rem);height:1.5rem;min-width:auto}.md-chip:focus{box-shadow:0 0 0 .0625rem var(--md-default-focus-outline-color,#005e7d)}.md-chip:hover{background-color:var(--md-tertiary-bg-color,#ededed)}.md-chip:active,.md-chip[aria-selected=true]{background-color:var(--button-secondary-active-normal-bg-color,var(--md-quaternary-bg-color,#dedede))}.md-chip--blue,.md-chip--cobalt{background-color:var(--badge-blue-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover,.md-chip--cobalt:hover{background-color:var(--badge-blue-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active,.md-chip--cobalt:active{background-color:var(--badge-blue-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover,.md-chip--cobalt:hover{background-color:var(--badge-blue-hover-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover:hover,.md-chip--cobalt:hover:hover{background-color:var(--badge-blue-hover-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover:active,.md-chip--cobalt:hover:active{background-color:var(--badge-blue-hover-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active,.md-chip--cobalt:active{background-color:var(--badge-blue-active-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active:hover,.md-chip--cobalt:active:hover{background-color:var(--badge-blue-active-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active:active,.md-chip--cobalt:active:active{background-color:var(--badge-blue-active-bg-color);color:var(--badge-blue-text-color)}.md-chip--gray{background-color:var(--badge-gray-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover{background-color:var(--badge-gray-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active{background-color:var(--badge-gray-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover{background-color:var(--badge-gray-hover-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover:hover{background-color:var(--badge-gray-hover-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover:active{background-color:var(--badge-gray-hover-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active{background-color:var(--badge-gray-active-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active:hover{background-color:var(--badge-gray-active-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active:active{background-color:var(--badge-gray-active-bg-color);color:var(--badge-gray-text-color)}.md-chip--mint{background-color:var(--badge-mint-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover{background-color:var(--badge-mint-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active{background-color:var(--badge-mint-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover{background-color:var(--badge-mint-hover-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover:hover{background-color:var(--badge-mint-hover-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover:active{background-color:var(--badge-mint-hover-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active{background-color:var(--badge-mint-active-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active:hover{background-color:var(--badge-mint-active-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active:active{background-color:var(--badge-mint-active-bg-color);color:var(--badge-mint-text-color)}.md-chip--darkmint{background-color:var(--badge-darkmint-bg-color);color:var(--badge-darkmint-text-color)}.md-chip--darkmint:hover{background-color:var(--badge-darkmint-bg-color);color:var(--badge-darkmint-text-color)}.md-chip--darkmint:active{background-color:var(--badge-darkmint-bg-color);color:var(--badge-darkmint-text-color)}.md-chip--green{background-color:var(--badge-green-bg-color);color:var(--badge-green-text-color)}.md-chip--green:hover{background-color:var(--badge-green-bg-color);color:var(--badge-green-text-color)}.md-chip--green:active{background-color:var(--badge-green-bg-color);color:var(--badge-green-text-color)}.md-chip--yellow{background-color:var(--badge-yellow-bg-color);color:var(--badge-yellow-text-color)}.md-chip--yellow:hover{background-color:var(--badge-yellow-bg-color);color:var(--badge-yellow-text-color)}.md-chip--yellow:active{background-color:var(--badge-yellow-bg-color);color:var(--badge-yellow-text-color)}.md-chip--red{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color)}.md-chip--red:hover{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color)}.md-chip--red:active{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color)}.md-chip--orange{background-color:var(--badge-orange-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover{background-color:var(--badge-orange-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active{background-color:var(--badge-orange-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover{background-color:var(--badge-orange-hover-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover:hover{background-color:var(--badge-orange-hover-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover:active{background-color:var(--badge-orange-hover-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active{background-color:var(--badge-orange-active-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active:hover{background-color:var(--badge-orange-active-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active:active{background-color:var(--badge-orange-active-bg-color);color:var(--badge-orange-text-color)}.md-chip--gold{background-color:var(--badge-gold-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover{background-color:var(--badge-gold-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active{background-color:var(--badge-gold-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover{background-color:var(--badge-gold-hover-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover:hover{background-color:var(--badge-gold-hover-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover:active{background-color:var(--badge-gold-hover-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active{background-color:var(--badge-gold-active-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active:hover{background-color:var(--badge-gold-active-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active:active{background-color:var(--badge-gold-active-bg-color);color:var(--badge-gold-text-color)}.md-chip--lime{background-color:var(--badge-lime-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover{background-color:var(--badge-lime-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active{background-color:var(--badge-lime-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover{background-color:var(--badge-lime-hover-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover:hover{background-color:var(--badge-lime-hover-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover:active{background-color:var(--badge-lime-hover-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active{background-color:var(--badge-lime-active-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active:hover{background-color:var(--badge-lime-active-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active:active{background-color:var(--badge-lime-active-bg-color);color:var(--badge-lime-text-color)}.md-chip--pink{background-color:var(--badge-pink-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover{background-color:var(--badge-pink-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active{background-color:var(--badge-pink-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover{background-color:var(--badge-pink-hover-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover:hover{background-color:var(--badge-pink-hover-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover:active{background-color:var(--badge-pink-hover-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active{background-color:var(--badge-pink-active-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active:hover{background-color:var(--badge-pink-active-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active:active{background-color:var(--badge-pink-active-bg-color);color:var(--badge-pink-text-color)}.md-chip--purple{background-color:var(--badge-purple-bg-color);color:var(--badge-purple-text-color)}.md-chip--purple:hover{background-color:var(--badge-purple-bg-color);color:var(--badge-purple-text-color)}.md-chip--purple:active{background-color:var(--badge-purple-bg-color);color:var(--badge-purple-text-color)}.md-chip--violet{background-color:var(--badge-violet-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover{background-color:var(--badge-violet-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active{background-color:var(--badge-violet-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover{background-color:var(--badge-violet-hover-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover:hover{background-color:var(--badge-violet-hover-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover:active{background-color:var(--badge-violet-hover-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active{background-color:var(--badge-violet-active-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active:hover{background-color:var(--badge-violet-active-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active:active{background-color:var(--badge-violet-active-bg-color);color:var(--badge-violet-text-color)}.md-chip--cyan{background-color:var(--badge-cyan-bg-color);color:var(--badge-cyan-text-color)}.md-chip--cyan:hover{background-color:var(--badge-cyan-bg-color);color:var(--badge-cyan-text-color)}.md-chip--cyan:active{background-color:var(--badge-cyan-bg-color);color:var(--badge-cyan-text-color)}.md-chip--positive{--left-content-right-margin:4px;padding:8px 4px;font-weight:500;font-family:var(--brand-font-regular);background-color:var(--badge-positive-bg-color);color:var(--badge-positive-text-color);border:1px solid var(--badge-positive-border-color);border-radius:4px}.md-chip--positive:hover{background-color:var(--badge-positive-hover-bg-color)}.md-chip--positive:active{background-color:var(--badge-positive-active-bg-color)}.md-chip--negative{--left-content-right-margin:4px;padding:8px 4px;font-weight:500;font-family:var(--brand-font-regular);background-color:var(--badge-negative-bg-color);color:var(--badge-negative-text-color);border:1px solid var(--badge-negative-border-color);border-radius:4px}.md-chip--negative:hover{background-color:var(--badge-negative-hover-bg-color)}.md-chip--negative:active{background-color:var(--badge-negative-active-bg-color)}.md-chip--neutral{--left-content-right-margin:4px;padding:8px 4px;font-weight:500;font-family:var(--brand-font-regular);background-color:var(--badge-neutral-bg-color);color:var(--badge-neutral-text-color);border:1px solid var(--badge-neutral-border-color);border-radius:4px}.md-chip--neutral:hover{background-color:var(--badge-neutral-hover-bg-color)}.md-chip--neutral:active{background-color:var(--badge-neutral-active-bg-color)}.md-chip .md-chip--clear{display:flow-root;margin-left:.625rem;margin-right:0;height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-chip .md-chip--clear::before{font-size:.875rem}.md-chip .md-chip--loading{left:0;overflow:hidden;position:absolute;top:-.125rem;width:100%}.md-chip .md-chip--textcontent{max-width:9.375rem}.md-chip md-icon{display:flex;margin-right:var(--left-content-right-margin)}.md-chip.md-chip--disabled{color:var(--md-disabled-text-color,#b2b2b2);cursor:default;align-items:center;background-color:var(--md-secondary-bg-color,#f7f7f7);color:var(--md-primary-text-color,#121212);cursor:pointer;display:inline-flex;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-weight:400;height:2rem;justify-content:space-between;line-height:1rem;margin-bottom:auto;max-width:12.5rem;overflow:auto;position:relative;text-align:center;text-decoration:none;white-space:nowrap;width:auto}.md-chip.md-chip--disabled{border-radius:1.125rem}.md-chip.md-chip--disabled md-icon{color:var(--md-disabled-text-color,#b2b2b2)}::slotted(*){line-height:normal}::slotted([slot=custom-left-content]){margin-right:var(--left-content-right-margin)}::slotted([slot=custom-right-content]){margin-left:.625rem}@media(forced-colors:active){.md-chip{outline:1px solid CanvasText}.md-chip:focus,.md-chip:hover{box-shadow:none;outline:2px solid Highlight}.md-chip.md-chip--disabled{color:GrayText;outline:1px solid GrayText}.md-chip.md-chip--disabled:focus,.md-chip.md-chip--disabled:hover{outline:2px solid Highlight}.md-chip.md-chip--disabled md-icon{color:GrayText}}`,b=function(o,e,r,t){var c,a=arguments.length,l=a<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,e,r,t);else for(var i=o.length-1;i>=0;i--)(c=o[i])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l};const v=["auto","auto-start","auto-end","left-start","left","left-end","right-start","right","right-end","top-start","top","top-end","bottom-start","bottom","bottom-end"];var h;!function(o){let e=class extends l.LitElement{constructor(){super(...arguments),this.color="",this.bgColor="",this.textColor="",this.height="",this.icon="",this.iconColor="",this.iconSize="",this.role="group",this.id="",this.small=!1,this.readonly=!1,this.selected=!1,this.disabled=!1,this.determinateProgress=0,this.indeterminateProgress=!1,this.tooltipText="",this.tooltipPlacement="auto",this.iconSet="momentumUI",this.value="",this.textOverflow=!1,this.renderedText="",this.MAX_LENGTH=18,this.PRE_TRUNC_CHARS=6,this.POST_TRUNC_CHARS=9,this.DOT_COUNT=3,this.selectionChange=o=>{this.dispatchEvent(new CustomEvent("chip-selected",{composed:!0,bubbles:!0,detail:{selected:o}}))},this.handleClear=o=>{this.dispatchEvent(new CustomEvent("chip-deleted",{composed:!0,bubbles:!0,detail:{id:o}}))},this.handleSelect=()=>{this.disabled||(this.selected=!0,this.selectionChange(!0))},this.handleDeSelect=()=>{this.selected=!1,this.selectionChange(!1)},this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:i.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:i.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:i.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?l.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[57],{112:function(o,e,r){"use strict";r.r(e),r.d(e,"tooltipPlacement",(function(){return v})),r.d(e,"Chip",(function(){return h}));r(15),r(79),r(40);var t=r(1),c=r(6),a=r(5),l=r(0),i=r(2),d=r(4),g=r(3),n=l.css`:focus{outline:0}.md-chip{padding:.25rem 1rem;font-size:var(--body-secondary-font-size,.75rem);align-items:center;background-color:var(--md-secondary-bg-color,#f7f7f7);color:var(--md-primary-text-color,#121212);cursor:pointer;display:inline-flex;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-weight:400;height:2rem;justify-content:space-between;line-height:1rem;margin-bottom:auto;max-width:12.5rem;overflow:auto;position:relative;text-align:center;text-decoration:none;white-space:nowrap;width:auto}.md-chip{border-radius:1.125rem}.md-chip{--left-content-right-margin:0.625rem}.md-chip--small{padding:.1875rem .75rem;font-size:var(--body-secondary-font-size,.75rem);height:1.5rem;min-width:auto}.md-chip:focus{box-shadow:0 0 0 .0625rem var(--md-default-focus-outline-color,#005e7d)}.md-chip:hover{background-color:var(--md-tertiary-bg-color,#ededed)}.md-chip:active,.md-chip[aria-selected=true]{background-color:var(--button-secondary-active-normal-bg-color,var(--md-quaternary-bg-color,#dedede))}.md-chip--blue,.md-chip--cobalt{background-color:var(--badge-blue-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover,.md-chip--cobalt:hover{background-color:var(--badge-blue-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active,.md-chip--cobalt:active{background-color:var(--badge-blue-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover,.md-chip--cobalt:hover{background-color:var(--badge-blue-hover-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover:hover,.md-chip--cobalt:hover:hover{background-color:var(--badge-blue-hover-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:hover:active,.md-chip--cobalt:hover:active{background-color:var(--badge-blue-hover-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active,.md-chip--cobalt:active{background-color:var(--badge-blue-active-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active:hover,.md-chip--cobalt:active:hover{background-color:var(--badge-blue-active-bg-color);color:var(--badge-blue-text-color)}.md-chip--blue:active:active,.md-chip--cobalt:active:active{background-color:var(--badge-blue-active-bg-color);color:var(--badge-blue-text-color)}.md-chip--gray{background-color:var(--badge-gray-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover{background-color:var(--badge-gray-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active{background-color:var(--badge-gray-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover{background-color:var(--badge-gray-hover-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover:hover{background-color:var(--badge-gray-hover-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:hover:active{background-color:var(--badge-gray-hover-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active{background-color:var(--badge-gray-active-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active:hover{background-color:var(--badge-gray-active-bg-color);color:var(--badge-gray-text-color)}.md-chip--gray:active:active{background-color:var(--badge-gray-active-bg-color);color:var(--badge-gray-text-color)}.md-chip--mint{background-color:var(--badge-mint-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover{background-color:var(--badge-mint-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active{background-color:var(--badge-mint-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover{background-color:var(--badge-mint-hover-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover:hover{background-color:var(--badge-mint-hover-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:hover:active{background-color:var(--badge-mint-hover-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active{background-color:var(--badge-mint-active-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active:hover{background-color:var(--badge-mint-active-bg-color);color:var(--badge-mint-text-color)}.md-chip--mint:active:active{background-color:var(--badge-mint-active-bg-color);color:var(--badge-mint-text-color)}.md-chip--darkmint{background-color:var(--badge-darkmint-bg-color);color:var(--badge-darkmint-text-color)}.md-chip--darkmint:hover{background-color:var(--badge-darkmint-bg-color);color:var(--badge-darkmint-text-color)}.md-chip--darkmint:active{background-color:var(--badge-darkmint-bg-color);color:var(--badge-darkmint-text-color)}.md-chip--green{background-color:var(--badge-green-bg-color);color:var(--badge-green-text-color)}.md-chip--green:hover{background-color:var(--badge-green-bg-color);color:var(--badge-green-text-color)}.md-chip--green:active{background-color:var(--badge-green-bg-color);color:var(--badge-green-text-color)}.md-chip--yellow{background-color:var(--badge-yellow-bg-color);color:var(--badge-yellow-text-color)}.md-chip--yellow:hover{background-color:var(--badge-yellow-bg-color);color:var(--badge-yellow-text-color)}.md-chip--yellow:active{background-color:var(--badge-yellow-bg-color);color:var(--badge-yellow-text-color)}.md-chip--red{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color)}.md-chip--red:hover{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color)}.md-chip--red:active{background-color:var(--badge-red-bg-color);color:var(--badge-red-text-color)}.md-chip--orange{background-color:var(--badge-orange-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover{background-color:var(--badge-orange-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active{background-color:var(--badge-orange-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover{background-color:var(--badge-orange-hover-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover:hover{background-color:var(--badge-orange-hover-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:hover:active{background-color:var(--badge-orange-hover-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active{background-color:var(--badge-orange-active-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active:hover{background-color:var(--badge-orange-active-bg-color);color:var(--badge-orange-text-color)}.md-chip--orange:active:active{background-color:var(--badge-orange-active-bg-color);color:var(--badge-orange-text-color)}.md-chip--gold{background-color:var(--badge-gold-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover{background-color:var(--badge-gold-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active{background-color:var(--badge-gold-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover{background-color:var(--badge-gold-hover-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover:hover{background-color:var(--badge-gold-hover-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:hover:active{background-color:var(--badge-gold-hover-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active{background-color:var(--badge-gold-active-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active:hover{background-color:var(--badge-gold-active-bg-color);color:var(--badge-gold-text-color)}.md-chip--gold:active:active{background-color:var(--badge-gold-active-bg-color);color:var(--badge-gold-text-color)}.md-chip--lime{background-color:var(--badge-lime-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover{background-color:var(--badge-lime-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active{background-color:var(--badge-lime-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover{background-color:var(--badge-lime-hover-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover:hover{background-color:var(--badge-lime-hover-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:hover:active{background-color:var(--badge-lime-hover-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active{background-color:var(--badge-lime-active-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active:hover{background-color:var(--badge-lime-active-bg-color);color:var(--badge-lime-text-color)}.md-chip--lime:active:active{background-color:var(--badge-lime-active-bg-color);color:var(--badge-lime-text-color)}.md-chip--pink{background-color:var(--badge-pink-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover{background-color:var(--badge-pink-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active{background-color:var(--badge-pink-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover{background-color:var(--badge-pink-hover-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover:hover{background-color:var(--badge-pink-hover-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:hover:active{background-color:var(--badge-pink-hover-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active{background-color:var(--badge-pink-active-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active:hover{background-color:var(--badge-pink-active-bg-color);color:var(--badge-pink-text-color)}.md-chip--pink:active:active{background-color:var(--badge-pink-active-bg-color);color:var(--badge-pink-text-color)}.md-chip--purple{background-color:var(--badge-purple-bg-color);color:var(--badge-purple-text-color)}.md-chip--purple:hover{background-color:var(--badge-purple-bg-color);color:var(--badge-purple-text-color)}.md-chip--purple:active{background-color:var(--badge-purple-bg-color);color:var(--badge-purple-text-color)}.md-chip--violet{background-color:var(--badge-violet-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover{background-color:var(--badge-violet-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active{background-color:var(--badge-violet-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover{background-color:var(--badge-violet-hover-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover:hover{background-color:var(--badge-violet-hover-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:hover:active{background-color:var(--badge-violet-hover-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active{background-color:var(--badge-violet-active-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active:hover{background-color:var(--badge-violet-active-bg-color);color:var(--badge-violet-text-color)}.md-chip--violet:active:active{background-color:var(--badge-violet-active-bg-color);color:var(--badge-violet-text-color)}.md-chip--cyan{background-color:var(--badge-cyan-bg-color);color:var(--badge-cyan-text-color)}.md-chip--cyan:hover{background-color:var(--badge-cyan-bg-color);color:var(--badge-cyan-text-color)}.md-chip--cyan:active{background-color:var(--badge-cyan-bg-color);color:var(--badge-cyan-text-color)}.md-chip--positive{--left-content-right-margin:4px;padding:0 4px;font-weight:500;font-family:var(--brand-font-regular);background-color:var(--badge-positive-bg-color);color:var(--badge-positive-text-color);border:1px solid var(--badge-positive-border-color);border-radius:4px}.md-chip--positive:hover{background-color:var(--badge-positive-hover-bg-color)}.md-chip--positive:active{background-color:var(--badge-positive-active-bg-color)}.md-chip--negative{--left-content-right-margin:4px;padding:0 4px;font-weight:500;font-family:var(--brand-font-regular);background-color:var(--badge-negative-bg-color);color:var(--badge-negative-text-color);border:1px solid var(--badge-negative-border-color);border-radius:4px}.md-chip--negative:hover{background-color:var(--badge-negative-hover-bg-color)}.md-chip--negative:active{background-color:var(--badge-negative-active-bg-color)}.md-chip--neutral{--left-content-right-margin:4px;padding:0 4px;font-weight:500;font-family:var(--brand-font-regular);background-color:var(--badge-neutral-bg-color);color:var(--badge-neutral-text-color);border:1px solid var(--badge-neutral-border-color);border-radius:4px}.md-chip--neutral:hover{background-color:var(--badge-neutral-hover-bg-color)}.md-chip--neutral:active{background-color:var(--badge-neutral-active-bg-color)}.md-chip .md-chip--clear{display:flow-root;margin-left:.625rem;margin-right:0;height:.875rem;right:.75rem;top:.75rem;width:.875rem}.md-chip .md-chip--clear::before{font-size:.875rem}.md-chip .md-chip--loading{left:0;overflow:hidden;position:absolute;top:-.125rem;width:100%}.md-chip .md-chip--textcontent{max-width:9.375rem}.md-chip md-icon{display:flex;margin-right:var(--left-content-right-margin)}.md-chip.md-chip--disabled{color:var(--md-disabled-text-color,#b2b2b2);cursor:default;align-items:center;background-color:var(--md-secondary-bg-color,#f7f7f7);color:var(--md-primary-text-color,#121212);cursor:pointer;display:inline-flex;font-family:var(--brand-font-regular, "CiscoSansTT Regular", "Helvetica Neue", Helvetica, Arial, sans-serif);font-weight:400;height:2rem;justify-content:space-between;line-height:1rem;margin-bottom:auto;max-width:12.5rem;overflow:auto;position:relative;text-align:center;text-decoration:none;white-space:nowrap;width:auto}.md-chip.md-chip--disabled{border-radius:1.125rem}.md-chip.md-chip--disabled md-icon{color:var(--md-disabled-text-color,#b2b2b2)}::slotted(*){line-height:normal}::slotted([slot=custom-left-content]){margin-right:var(--left-content-right-margin)}::slotted([slot=custom-right-content]){margin-left:.625rem}@media(forced-colors:active){.md-chip{outline:1px solid CanvasText}.md-chip:focus,.md-chip:hover{box-shadow:none;outline:2px solid Highlight}.md-chip.md-chip--disabled{color:GrayText;outline:1px solid GrayText}.md-chip.md-chip--disabled:focus,.md-chip.md-chip--disabled:hover{outline:2px solid Highlight}.md-chip.md-chip--disabled md-icon{color:GrayText}}`,b=function(o,e,r,t){var c,a=arguments.length,l=a<3?e:null===t?t=Object.getOwnPropertyDescriptor(e,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(o,e,r,t);else for(var i=o.length-1;i>=0;i--)(c=o[i])&&(l=(a<3?c(l):a>3?c(e,r,l):c(e,r))||l);return a>3&&l&&Object.defineProperty(e,r,l),l};const v=["auto","auto-start","auto-end","left-start","left","left-end","right-start","right","right-end","top-start","top","top-end","bottom-start","bottom","bottom-end"];var h;!function(o){let e=class extends l.LitElement{constructor(){super(...arguments),this.color="",this.bgColor="",this.textColor="",this.height="",this.icon="",this.iconColor="",this.iconSize="",this.role="group",this.id="",this.small=!1,this.readonly=!1,this.selected=!1,this.disabled=!1,this.determinateProgress=0,this.indeterminateProgress=!1,this.tooltipText="",this.tooltipPlacement="auto",this.iconSet="momentumUI",this.value="",this.textOverflow=!1,this.renderedText="",this.MAX_LENGTH=18,this.PRE_TRUNC_CHARS=6,this.POST_TRUNC_CHARS=9,this.DOT_COUNT=3,this.selectionChange=o=>{this.dispatchEvent(new CustomEvent("chip-selected",{composed:!0,bubbles:!0,detail:{selected:o}}))},this.handleClear=o=>{this.dispatchEvent(new CustomEvent("chip-deleted",{composed:!0,bubbles:!0,detail:{id:o}}))},this.handleSelect=()=>{this.disabled||(this.selected=!0,this.selectionChange(!0))},this.handleDeSelect=()=>{this.selected=!1,this.selectionChange(!1)},this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:i.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:i.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:i.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height?l.html`
2
2
  <style>
3
3
  :host .md-chip {
4
4
  ${this.renderBgColor()};
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[61],{114:function(e,t,i){"use strict";i.r(t),i.d(t,"DateTimePicker",(function(){return a}));i(28),i(30);var a,o=i(6),r=i(9),l=i(5),s=i(0),n=i(2),d=i(14),c=i(1),u=s.css`.included-timepicker-wrapper{border-top:1px solid var(--md-primary-seperator-color);display:flex;justify-content:center;padding:1rem 0;white-space:nowrap}`,h=function(e,t,i,a){var o,r=arguments.length,l=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(l=(r<3?o(l):r>3?o(t,i,l):o(t,i))||l);return r>3&&l&&Object.defineProperty(t,i,l),l},p=function(e,t,i,a){return new(i||(i=Promise))((function(o,r){function l(e){try{n(a.next(e))}catch(e){r(e)}}function s(e){try{n(a.throw(e))}catch(e){r(e)}}function n(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(l,s)}n((a=a.apply(e,t||[])).next())}))};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends s.LitElement{constructor(){super(...arguments),this.maxDate=void 0,this.minDate=void 0,this.weekStart="Sunday",this.ariaLabel="",this.twoDigitAutoTab=!1,this.twentyFourHourFormat=!1,this.timeSpecificity=c.c.SECOND,this.dateValue=void 0,this.timeValue="00:00:00-08:00",this.value=void 0,this.locale="en-US",this.disabled=!1,this.fullDateTime=void 0,this.selectedTimeObject=void 0,this.selectedDateObject=Object(r.n)(),this.firstCycle=!0,this.handleDateChange=e=>{var t,i;this.selectedDateObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.dateValue=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate(),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleTimeChange=e=>{var t,i;this.selectedTimeObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.timeValue=null===(i=this.selectedTimeObject)||void 0===i?void 0:i.startOf("second").toISOTime({suppressMilliseconds:!0}),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleDateTimeInputChange=e=>{var t,i;(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.value)&&(this.value=null===(i=null==e?void 0:e.detail)||void 0===i?void 0:i.value)},this.parseValueForVisuals=e=>{e&&(this.dateValue=e.split("T")[0],this.timeValue=e.split("T")[1])},this.updateDateTimeObject=()=>{this.value&&(this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}),this.dispatchEvent(new CustomEvent("date-time-change",{bubbles:!0,composed:!0,detail:{dateTimeString:this.value,dateTime:this.fullDateTime,locale:this.locale,twentyFourHourFormat:this.twentyFourHourFormat}})))},this.combineDateAndTimeValues=(e,t)=>{e&&(this.value=t?`${e}T${t}`:e)}}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});var i;return p(this,void 0,void 0,(function*(){if(t.firstUpdated.call(this,e),!this.value){const e=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate();this.combineDateAndTimeValues(e,this.timeValue)}yield new Promise(e=>setTimeout(e,0)),this.datePicker&&(this.datePicker.addEventListener("date-selection-change",this.handleDateChange),this.datePicker.addEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.addEventListener("time-selection-change",this.handleTimeChange)}))}updated(e){super.updated(e),this.value&&e.has("value")&&(this.parseValueForVisuals(this.value),this.firstCycle?this.firstCycle=!1:this.updateDateTimeObject()),this.dateValue&&this.timeValue&&(e.has("timeValue")||e.has("dateValue"))&&this.combineDateAndTimeValues(this.dateValue,this.timeValue),this.value&&e.has("locale")&&(this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}))}disconnectedCallback(){this.datePicker&&(this.datePicker.removeEventListener("date-selection-change",this.handleDateChange),this.datePicker.removeEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.removeEventListener("time-selection-change",this.handleTimeChange)}static get styles(){return[l.a,u]}render(){return s.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[61],{114:function(e,t,i){"use strict";i.r(t),i.d(t,"DateTimePicker",(function(){return a}));i(28),i(30);var a,o=i(6),r=i(9),l=i(5),s=i(0),n=i(3),d=i(14),c=i(1),u=s.css`.included-timepicker-wrapper{border-top:1px solid var(--md-primary-seperator-color);display:flex;justify-content:center;padding:1rem 0;white-space:nowrap}`,h=function(e,t,i,a){var o,r=arguments.length,l=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,i,a);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(l=(r<3?o(l):r>3?o(t,i,l):o(t,i))||l);return r>3&&l&&Object.defineProperty(t,i,l),l},p=function(e,t,i,a){return new(i||(i=Promise))((function(o,r){function l(e){try{n(a.next(e))}catch(e){r(e)}}function s(e){try{n(a.throw(e))}catch(e){r(e)}}function n(e){var t;e.done?o(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(l,s)}n((a=a.apply(e,t||[])).next())}))};!function(e){e.weekStartDays=["Sunday","Monday"];let t=class extends s.LitElement{constructor(){super(...arguments),this.maxDate=void 0,this.minDate=void 0,this.weekStart="Sunday",this.ariaLabel="",this.twoDigitAutoTab=!1,this.twentyFourHourFormat=!1,this.timeSpecificity=c.c.SECOND,this.dateValue=void 0,this.timeValue="00:00:00-08:00",this.value=void 0,this.locale="en-US",this.disabled=!1,this.fullDateTime=void 0,this.selectedTimeObject=void 0,this.selectedDateObject=Object(r.n)(),this.firstCycle=!0,this.handleDateChange=e=>{var t,i;this.selectedDateObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.dateValue=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate(),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleTimeChange=e=>{var t,i;this.selectedTimeObject=null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.data,this.timeValue=null===(i=this.selectedTimeObject)||void 0===i?void 0:i.startOf("second").toISOTime({suppressMilliseconds:!0}),this.combineDateAndTimeValues(this.dateValue,this.timeValue)},this.handleDateTimeInputChange=e=>{var t,i;(null===(t=null==e?void 0:e.detail)||void 0===t?void 0:t.value)&&(this.value=null===(i=null==e?void 0:e.detail)||void 0===i?void 0:i.value)},this.parseValueForVisuals=e=>{e&&(this.dateValue=e.split("T")[0],this.timeValue=e.split("T")[1])},this.updateDateTimeObject=()=>{this.value&&(this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}),this.dispatchEvent(new CustomEvent("date-time-change",{bubbles:!0,composed:!0,detail:{dateTimeString:this.value,dateTime:this.fullDateTime,locale:this.locale,twentyFourHourFormat:this.twentyFourHourFormat}})))},this.combineDateAndTimeValues=(e,t)=>{e&&(this.value=t?`${e}T${t}`:e)}}firstUpdated(e){const t=Object.create(null,{firstUpdated:{get:()=>super.firstUpdated}});var i;return p(this,void 0,void 0,(function*(){if(t.firstUpdated.call(this,e),!this.value){const e=null===(i=this.selectedDateObject)||void 0===i?void 0:i.toISODate();this.combineDateAndTimeValues(e,this.timeValue)}yield new Promise(e=>setTimeout(e,0)),this.datePicker&&(this.datePicker.addEventListener("date-selection-change",this.handleDateChange),this.datePicker.addEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.addEventListener("time-selection-change",this.handleTimeChange)}))}updated(e){super.updated(e),this.value&&e.has("value")&&(this.parseValueForVisuals(this.value),this.firstCycle?this.firstCycle=!1:this.updateDateTimeObject()),this.dateValue&&this.timeValue&&(e.has("timeValue")||e.has("dateValue"))&&this.combineDateAndTimeValues(this.dateValue,this.timeValue),this.value&&e.has("locale")&&(this.fullDateTime=d.DateTime.fromISO(this.value,{locale:this.locale}))}disconnectedCallback(){this.datePicker&&(this.datePicker.removeEventListener("date-selection-change",this.handleDateChange),this.datePicker.removeEventListener("date-input-change",this.handleDateTimeInputChange)),this.timePicker&&this.timePicker.removeEventListener("time-selection-change",this.handleTimeChange)}static get styles(){return[l.a,u]}render(){return s.html`
2
2
  <md-datepicker
3
3
  includes-time
4
4
  ?disabled=${this.disabled}
@@ -1,4 +1,4 @@
1
- (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[63],{94:function(e,t,d){"use strict";d.r(t),d.d(t,"DraggableItem",(function(){return n}));var n,o=d(7),i=d(6),r=d(5),a=d(0),l=d(3),s=d(4),c=d(64),p=function(e,t,d,n){var o,i=arguments.length,r=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,d):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,d,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(i<3?o(r):i>3?o(t,d,r):o(t,d))||r);return i>3&&r&&Object.defineProperty(t,d,r),r};!function(e){let t=class extends(Object(o.a)(a.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.extended=!1,this.editable=!1}static get styles(){return[r.a,c.a]}get draggableItemClassMap(){return{extended:this.extended,default:!this.extended,disabled:this.disabled}}render(){return a.html`
1
+ (window["momentum-web-components-[id]"]=window["momentum-web-components-[id]"]||[]).push([[63],{94:function(e,t,d){"use strict";d.r(t),d.d(t,"DraggableItem",(function(){return n}));var n,o=d(7),i=d(6),r=d(5),a=d(0),l=d(2),s=d(4),c=d(64),p=function(e,t,d,n){var o,i=arguments.length,r=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,d):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,d,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(r=(i<3?o(r):i>3?o(t,d,r):o(t,d))||r);return i>3&&r&&Object.defineProperty(t,d,r),r};!function(e){let t=class extends(Object(o.a)(a.LitElement)){constructor(){super(...arguments),this.disabled=!1,this.extended=!1,this.editable=!1}static get styles(){return[r.a,c.a]}get draggableItemClassMap(){return{extended:this.extended,default:!this.extended,disabled:this.disabled}}render(){return a.html`
2
2
  <div
3
3
  class="md-draggable-item ${Object(s.classMap)(this.draggableItemClassMap)}"
4
4
  part="draggable-item"