import{r as t,h as s,H as e}from"./p-21516f8c.js";import{c as a}from"./p-86bff9b3.js";const r=":host{display:inline-flex;color:var(--color);user-select:none}:host svg{width:100%;height:100%;transform:translateZ(0)}:host circle{animation:dash-rotate 1.4s ease-in-out infinite;fill:transparent;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:3.6px;stroke:currentColor}:host svg{animation:spinner-rotate 1.4s linear infinite;transition:transform 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}:host(.lu-color){color:var(--lu-color-base)}:host([data-paused]) svg,:host([data-paused]) circle{animation-play-state:paused}:host([data-hidden]){position:absolute !important;width:1px;height:1px;overflow:hidden !important;clip-path:polygon(0px 0px, 0px 0px, 0px 0px);clip:rect(1px, 1px, 1px, 1px)}@keyframes spinner-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes dash-rotate{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}";const o=class{constructor(s){t(this,s);this.dataScale=1;this.dataDuration=1e3;this.dataPaused=false;this.dataHidden=false;this.dataMessage="Please wait while the next step loads."}render(){return s(e,{class:Object.assign({},a(this.dataColor)),style:{height:`${this.dataScale*28}px`,width:`${this.dataScale*28}px`},role:"progressbar","data-paused":this.dataHidden||this.dataPaused},s("svg",{role:"img",style:{"animation-duration":`${this.dataDuration*1.2}ms`},viewBox:"22 22 44 44"},s("title",{role:"alert","aria-live":"assertive"},this.dataHidden?null:this.dataMessage),s("circle",{style:{"animation-duration":`${this.dataDuration*1.4}ms`},cx:"44",cy:"44",r:"20.2"})))}};o.style=r;export{o as lu_spinner};
//# sourceMappingURL=p-5a332df8.entry.js.map