module.exports = "(function(e,t,n){var r=n(4527).get(\"stores/global\");t.getDocumentElement=function(){return document.documentElement},t.getCookieString=function(){return document.cookie||\"\"},t.setCookie=function(e){document.cookie=e},t.querySelector=function(e){return __EXPERIMENTAL_SHADOW_DOM__?n(8769).querySelector(e):document.querySelector(e)},t.querySelectorAll=function(e){return __EXPERIMENTAL_SHADOW_DOM__?n(8769).querySelectorAll(e):document.querySelectorAll(e)},t.parseUri=function(e){var n=t.createElement(\"a\");return n.href=e,n},t.childrenOf=function(e){return __EXPERIMENTAL_SHADOW_DOM__?Array.prototype.slice.call(n(8769).querySelectorAll(\"*\",e)):Array.prototype.slice.call(e.querySelectorAll(\"*\"))},t.createElement=function(e){return document.createElement(e)},t.isReady=function(){return r.domContentLoadedHasFired()||\"interactive\"===document.readyState||\"complete\"===document.readyState},t.isLoaded=function(){return\"complete\"===document.readyState},t.addReadyHandler=function(e){return document.addEventListener(\"DOMContentLoaded\",e),function(){t.removeReadyHandler(e)}},t.removeReadyHandler=function(e){return function(){document.removeEventListener(\"DOMContentLoaded\",e)}},t.getReferrer=function(){return document.referrer},t.getReadyState=function(){return document.readyState},t.write=function(e){if(\"loading\"!==t.getReadyState())throw new Error(\"Aborting attempt to write to already-loaded document\");document.write(e)},t.appendToHead=function(e){return t.appendTo(document.head,e)},t.appendTo=function(e,t){e.appendChild(t)},t.addEventListener=function(e,t,n){return document.addEventListener(e,t,n),function(){document.removeEventListener(e,t,n)}},t.getCurrentScript=function(){if(document.currentScript)return document.currentScript},t.parentElement=function(e){for(var t=e.parentNode;t.nodeType!==Node.ELEMENT_NODE;)t=t.parentNode;return t}})";