(o=>{"strict";class r extends HTMLElement{constructor(){super();const e=document.createElement("template");e.innerHTML=`
`,window.ShadyCSS&&window.ShadyCSS.prepareTemplate(e,"joomla-core-loader"),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(e.content.cloneNode(!0)),window.ShadyCSS&&window.ShadyCSS.styleElement(this)}connectedCallback(){this.style.backgroundColor=this.color,this.style.opacity=.8,this.shadowRoot.querySelector("div").classList.add("box")}static get observedAttributes(){return["color"]}get color(){return this.getAttribute("color")||"#fff"}set color(e){this.setAttribute("color",e)}attributeChangedCallback(e,i,t){switch(e){case"color":t&&t!==i&&(this.style.backgroundColor=this.color);break}}}o.get("joomla-core-loader")||o.define("joomla-core-loader",r)})(customElements);