export const __webpack_esm_id__=1161;export const __webpack_esm_ids__=[1161];export const __webpack_esm_modules__={1161(t,s,a){a.d(s,{R:()=>i});var i,n=a(9609),e=a(4084),o=a(2927),l=a(8899),r=a(4955),c=a(1392),d=function(t,s,a,i){var n,e=arguments.length,o=e<3?s:null===i?i=Object.getOwnPropertyDescriptor(s,a):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,a,i);else for(var l=t.length-1;l>=0;l--)(n=t[l])&&(o=(e<3?n(o):e>3?n(s,a,o):n(s,a))||o);return e>3&&o&&Object.defineProperty(s,a,o),o};!function(t){let s=class extends o.LitElement{constructor(){super(...arguments),this.size="",this.isAnimating=!1,this.animationFrameId=null}static get styles(){return[e.A,c.A]}firstUpdated(t){super.firstUpdated(t),this.isAnimating=!0,this.startAnimation()}disconnectedCallback(){super.disconnectedCallback(),this.isAnimating=!1,this.stopAnimation()}startAnimation(){var t;const s=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".md-loading__icon");if(!s)return;let a=null;const i=1400,n=t=>{if(!this.isAnimating)return;a||(a=t);const e=(t-a)%i;s.forEach((t,s)=>{const a=(e-200*s+i)%i;let n=0,o=.1;if(a<280){const t=.1+a/280*.9;n=t,o=t}else if(a<1400){const t=Math.min((a-280)/1120*2,1);n=Math.max(1-.9*t,.9),o=Math.max(1-.9*t,.2)}t.style.transform=`scale(${n})`,t.style.opacity=`${o}`}),this.animationFrameId=requestAnimationFrame(n)};this.animationFrameId=requestAnimationFrame(n)}stopAnimation(){var t;null!==this.animationFrameId&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null);const s=null===(t=this.shadowRoot)||void 0===t?void 0:t.querySelectorAll(".md-loading__icon");s&&s.forEach(t=>{t.style.transform="scale(0, 0)",t.style.opacity="0.1"})}get loadingClassMap(){return{[`md-loading--${this.size}`]:!!this.size}}get loadingIconClassMap(){return{"md-loading__icon":!0}}render(){return o.html`
        <div class="md-loading ${(0,r.classMap)(this.loadingClassMap)}">
          <span class=${(0,r.classMap)(this.loadingIconClassMap)}></span>
          <span class=${(0,r.classMap)(this.loadingIconClassMap)}></span>
          <span class=${(0,r.classMap)(this.loadingIconClassMap)}></span>
        </div>
      `}};d([(0,l.property)({type:String})],s.prototype,"size",void 0),s=d([(0,n.w)("md-loading")],s),t.ELEMENT=s}(i||(i={}))}};