/* eslint-disable global-require */
require('@webcomponents/template');

if (!window.customElements) require('@webcomponents/custom-elements');
if (!document.body.attachShadow) require('@webcomponents/shadydom');

require('@webcomponents/shadycss/scoping-shim.min');
require('@webcomponents/shadycss/apply-shim.min');

/* eslint-disable global-require */
require('@webcomponents/template');

if (!document.body.attachShadow) require('@webcomponents/shadydom');
if (!window.customElements) require('@webcomponents/custom-elements');

require('@webcomponents/shadycss/scoping-shim.min');
require('@webcomponents/shadycss/apply-shim.min');

Fix ShadyDOM before Custom Elements polyfill
Fix ShadyDOM before Custom Elements polyfill
