let extendedWindow=window;extendedWindow.WebComponents=extendedWindow.WebComponents||{flags:{}};let file="webcomponents-bundle",script=document.querySelector('script[src*="webcomponents-bundle"]'),flagMatcher=/wc-(.+)/,flags={};if(!flags.noOpts){if(location.search.slice(1).split("&").forEach(function(e){let t,o=e.split("=");o[0]&&(t=o[0].match(flagMatcher))&&(flags[t[1]]=o[1]||!0)}),script)for(let e=0,t;t=script.attributes[e];e++)"src"!==t.name&&(flags[t.name]=t.value||!0);let e={};flags.log&&flags.log.split&&flags.log.split(",").forEach(function(t){e[t]=!0}),flags.log=e}extendedWindow.WebComponents.flags=flags;let forceShady=flags.shadydom;if(forceShady){extendedWindow.ShadyDOM=extendedWindow.ShadyDOM||{},extendedWindow.ShadyDOM.force=forceShady;let e=flags.noPatch;extendedWindow.ShadyDOM.noPatch="true"===e||e}let forceCE=flags.register||flags.ce;forceCE&&window.customElements&&(extendedWindow.customElements.forcePolyfill=forceCE);export{};