import{p as e,H as s,j as t,c as i,t as n}from"./index2.js";import{d as a}from"./icon.js";const r=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}get el(){return this}size="m";render(){const{size:e}=this;return t(i,{size:e,part:"root",children:t("dds-icon",{"aria-label":"Loading",role:"status",name:"loader-circle",size:e,part:"spinner"},"66ff94842c778643433e2c1a6510bfb7a0895d1a")},"b5bee4ef03cb1aaebab5a9a6119695fa9c2e43ee")}static get style(){return"@layer reset, base, variants, states, sizes;  @layer reset {   :host {     display: contents;     -moz-text-size-adjust: none;     -webkit-text-size-adjust: none;     text-size-adjust: none;     font-family: var(--dds-font-family-sans);     font-feature-settings: var(--dds-font-features-sans);     text-rendering: optimizeLegibility;     -webkit-font-smoothing: antialiased;      *,     *::after,     *::before,     *::backdrop,     *::file-selector-button {       box-sizing: border-box;       margin: 0;       padding: 0;       min-inline-size: 0;       min-block-size: 0;     }      * {       scrollbar-width: thin;       scrollbar-color: color-mix(gray 50%, transparent);     }      *:focus-visible {       z-index: 1;     }      > * {       interpolate-size: allow-keywords;       -webkit-tap-highlight-color: transparent;     }   } } @layer base {   :host {     dds-icon {       animation: dds-spinner-rotate 1s linear infinite;       transform-origin: center;       color: inherit;     }   } }  @layer animations {   @keyframes dds-spinner-rotate {     to {       rotate: 360deg;     }   } }  @layer reset, base, sizes, animations; "}},[513,"dds-spinner",{size:[1025]}]);function o(){"undefined"!=typeof customElements&&["dds-spinner","dds-icon"].forEach((e=>{switch(e){case"dds-spinner":customElements.get(n(e))||customElements.define(n(e),r);break;case"dds-icon":customElements.get(n(e))||a()}}))}export{r as S,o as d}