import { r as registerInstance, g as getElement, j as jsx, H as Host } from './index-C7YNCRgy.js';

const resetCss = () => `@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;     }   } } `;

const flagCss = () => ``;

const Flag = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
    }
    get host() { return getElement(this); }
    country = 'us';
    size = "m";
    render() {
        const { country, size } = this;
        return (jsx(Host, { size: size, children: jsx("img", { src: `https://unpkg.com/@dentsu-design-system/assets/flags/${country}.svg` }, 'a9e07fd5c022d4a0810bb8b8efa405c473a9d380') }, '23acd05df37913fbcd6981495dc451f4447ac30b'));
    }
};
Flag.style = resetCss() + flagCss();

export { Flag as dds_flag };
