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: `/${window.location.host === 'localhost:3333' ? 'build' : '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. **/
export default () => {
  injectAbdsCommonStylesheet;
};
//# sourceMappingURL=global-dev.js.map