!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/style-map.js"],t);else{var r="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"],e["lit/directives/style-map.js"]);for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}}(self,(e,t,r,i)=>(()=>{"use strict";var s,n={9773(e,t,r){r.r(t),r.d(t,{Spinner:()=>i});var i,s=r(9609),n=r(4084),o=r(7161),a=r(429),l=r(5125),p=r(318),d=r(3305),c=function(e,t,r,i){var s,n=arguments.length,o=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(n<3?s(o):n>3?s(t,r,o):s(t,r))||o);return n>3&&o&&Object.defineProperty(t,r,o),o};!function(e){let t=class extends o.LitElement{constructor(){super(...arguments),this.size=56,this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[n.A,d.A]}get spinnerStyleMap(){return{width:`${this.size}px`,height:`${this.size}px`}}firstUpdated(e){super.firstUpdated(e),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var e;const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-spinner");if(!t)return;let r=null;const i=e=>{if(!this.isAnimating)return;r||(r=e);const s=e-r,n=s/1e3*360;t.style.transform=`rotate(${n}deg)`,s>=1e3&&(r=e),this.animationFrameId=requestAnimationFrame(i)};this.animationFrameId=requestAnimationFrame(i)}stopAnimation(){var e;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const t=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelector(".md-spinner");t&&(t.style.transform="")}render(){return o.html`
        <i
          class="md-spinner ${(0,l.classMap)({large:this.size>=56})}"
          part="spinner"
          style=${(0,p.styleMap)(this.spinnerStyleMap)}
        ></i>
      `}};c([(0,a.property)({type:Number,reflect:!0})],t.prototype,"size",void 0),t=c([(0,s.w)("md-spinner")],t),e.ELEMENT=t}(i||(i={}))},7161(t){t.exports=e},429(e){e.exports=t},5125(e){e.exports=r},318(e){e.exports=i}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,a),r.exports}a.m=n,s=[],a.O=(e,t,r,i)=>{if(!t){var n=1/0;for(d=0;d<s.length;d++){for(var[t,r,i]=s[d],o=!0,l=0;l<t.length;l++)(!1&i||n>=i)&&Object.keys(a.O).every(e=>a.O[e](t[l]))?t.splice(l--,1):(o=!1,i<n&&(n=i));if(o){s.splice(d--,1);var p=r();void 0!==p&&(e=p)}}return e}i=i||0;for(var d=s.length;d>0&&s[d-1][2]>i;d--)s[d]=s[d-1];s[d]=[t,r,i]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={4545:0,9773:0};a.O.j=t=>0===e[t];var t=(t,r)=>{var i,s,[n,o,l]=r,p=0;if(n.some(t=>0!==e[t])){for(i in o)a.o(o,i)&&(a.m[i]=o[i]);if(l)var d=l(a)}for(t&&t(r);p<n.length;p++)s=n[p],a.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return a.O(d)},r=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var l=a.O(void 0,[9609,4084,3305],()=>a(9773));return a.O(l)})());