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

const iconPenCss = ".sc-digi-icon-pen-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-pen-h svg.sc-digi-icon-pen{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 DigiIconPenStyle0 = iconPenCss;

const IconPen = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: 'a9f9fc5eed64bdb987c25e0e4e6931cb4b2b8469', class: "digi-icon-pen", width: "26", height: "26", viewBox: "0 0 26 26", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined }, this.afTitle && h("title", { key: 'f01cefa4b9f3fc00db96d8a28d11fafa610b08a1', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '374f686e7f8cf182f90103da13f3cb3865b9a3b5' }, this.afDesc), h("path", { key: 'c7cb75af8fbc66c6c771097b62f9df53d76666a1', class: "digi-icon-pen__shape", d: "M15.295 5.068l5.637 5.637a.61.61 0 010 .863L7.15 25.35l-5.794.64A1.218 1.218 0 01.01 24.644l.645-5.8L14.432 5.069a.61.61 0 01.863 0zm9.989-1.3L22.232.716a2.443 2.443 0 00-3.448 0l-2.341 2.341a.61.61 0 000 .863l5.637 5.637a.61.61 0 00.863 0l2.341-2.341a2.434 2.434 0 000-3.448z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
};
IconPen.style = DigiIconPenStyle0;

export { IconPen as digi_icon_pen };
