import { E as Env } from './index-a966f57a.js';

const injectAbdsCommonStylesheet = (function (document, tagName, last = false) {
  const id = 'abds-common-stylesheet';
  if (document.querySelectorAll(id).length === 0) {
    const tag = Object.assign(document.createElement(tagName), {
      as: 'style',
      crossorigin: 'anonymous',
      href: `https://unpkg.com/@abds/components@${Env.packageVersion}/dist/apollo/apollo.css`,
      id,
      rel: 'preload stylesheet',
      type: 'text/css',
    });
    (last && document.head.appendChild(tag)) || document.head.insertBefore(tag, document.head.firstElementChild);
  }
})(window.document, 'link');
/** Injects the AbdsCommon stylesheet into the DOM. from stencil's globalscript option. **/
const appGlobalScript = () => {
  injectAbdsCommonStylesheet;
};

const globalScripts = appGlobalScript;

export { globalScripts as g };

//# sourceMappingURL=app-globals-9b195c04.js.map