module.exports = "(function(r,t,e){var n=e(8737),c=e(4810),o=e(6474);t.addScriptAsync=function(r,t){var e=n.querySelector(\"head\"),o=n.createElement(\"script\");o.type=\"text/javascript\",o.async=!0,o.src=r,t&&(o.onload=t),e.insertBefore(o,e.firstChild),c.debug(\"Asynchronously requesting \"+r)},t.addScriptSync=function(r,e){try{var i=\"optimizely_synchronous_script_\"+Math.floor(1e5*Math.random());if(-1!==r.indexOf('\"'))return c.error(\"Blocked attempt to load unsafe script: \"+r),void 0;n.write(\"<scr\"),n.write('ipt id=\"'+i+'\" src=\"'+r+'\"></scr'),n.write(\"ipt>\");var s=n.querySelector(\"#\"+i);if(!s)throw new Error(\"DocumentEnv.write failed to append script\");s.onload=e,s.onerror=function(n){c.warn(\"Failed to load script (\"+r+\") synchronously:\",n),t.addScriptAsync(r,e)}}catch(n){if(c.debug(\"DocumentEnv.write failed for \"+r+\": \"+n.message),!__CSP__){return o.request({url:r,async:!1,contentType:\"text/plain\",success:function(r){new Function(r.responseText)(),e&&e()}}).catch((function(n){c.error(\"Failed to load \"+r+\" via synchronous XHR: \"+n.message),t.addScriptAsync(r,e)}))}t.addScriptAsync(r,e)}}})";