import { r as registerInstance, h } from './index-148a7577.js';
import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';

const iconSpinnerCss = ".sc-digi-icon-spinner-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-spinner-h svg.sc-digi-icon-spinner{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
const DigiIconSpinnerStyle0 = iconSpinnerCss;

const IconSpinner = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this._path = 'M25 42c9.389 0 17-7.611 17-17S34.389 8 25 8 8 15.611 8 25s7.611 17 17 17zm0 8C11.193 50 0 38.807 0 25S11.193 0 25 0s25 11.193 25 25-11.193 25-25 25z';
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '596ecd2ef504f955a1e99d6443d7fc35d39edcb3', class: "digi-icon-spinner", height: "50", viewBox: "0 0 50 50", width: "50", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && h("title", { key: '080a592d90dee459dcfe78a191588cba1158912a', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'bae4f7999a0aed720172bc1d468c9e47403f4bba' }, this.afDesc), h("g", { key: '6adbd1c169b95f415cb744391d28e0c9214f768e', class: "digi-icon-spinner__shape", fill: "none", "fill-rule": "evenodd" }, h("mask", { key: '6667eff9a9720fced7d323ded476643e1f184a62', fill: "#fff", id: "iconSpinnerPath" }, h("path", { key: '0d8f2dd6da06b61ce38239625e17c7dbad098bc6', d: this._path })), h("path", { key: '34b63d54a7b189ecfb555fda8e3e4c8263008cb0', d: this._path, fill: "#dddddd", "fill-rule": "nonzero" }), h("path", { key: 'f3e2ffa3682b767aef695b524609a625013950e8', d: "M19 26L54-5v62z", fill: "currentColor", mask: "url(#iconSpinnerPath)" }))));
    }
};
IconSpinner.style = DigiIconSpinnerStyle0;

export { IconSpinner as digi_icon_spinner };
