diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 85f746a..fa485bc 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -24,23 +24,22 @@ function MyApp({ Component, pageProps }: AppProps) { window['_fs_script'] = 'edge.fullstory.com/s/fs.js'; window['_fs_org'] = 'o-19S9J2-na1'; window['_fs_namespace'] = 'FS'; - (function(m,n,e,t,l,o,g,y){ - if (e in m) {if(m.console && m.console.log) { m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].');} return;} - g=m[e]=function(a,b,s){g.q?g.q.push([a,b,s]):g._api(a,b,s);};g.q=[]; - o=n.createElement(t);o.async=1;o.crossOrigin='anonymous';o.src='https://'+_fs_script; - y=n.getElementsByTagName(t)[0];y.parentNode.insertBefore(o,y); - g.identify=function(i,v,s){g(l,{uid:i},s);if(v)g(l,v,s)};g.setUserVars=function(v,s){g(l,v,s)};g.event=function(i,v,s){g('event',{n:i,p:v},s)}; - g.anonymize=function(){g.identify(!!0)}; - g.shutdown=function(){g("rec",!1)};g.restart=function(){g("rec",!0)}; - g.log = function(a,b){g("log",[a,b])}; - g.consent=function(a){g("consent",!arguments.length||a)}; - g.identifyAccount=function(i,v){o='account';v=v||{};v.acctId=i;g(o,v)}; - g.clearUserCookie=function(){}; - g.setVars=function(n, p){g('setVars',[n,p]);}; - g._w={};y='XMLHttpRequest';g._w[y]=m[y];y='fetch';g._w[y]=m[y]; - if(m[y])m[y]=function(){return g._w[y].apply(this,arguments)}; - g._v="1.3.0"; - })(window,document,window['_fs_namespace'],'script','user');`} + !function(m,n,e,t,l,o,g,y){var s,f,a=function(h){ + return!(h in m)||(m.console&&m.console.log&&m.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].'),!1)}(e) + ;function p(b){var h,d=[];function j(){h&&(d.forEach((function(b){var d;try{d=b[h[0]]&&b[h[0]](h[1])}catch(h){return void(b[3]&&b[3](h))} + d&&d.then?d.then(b[2],b[3]):b[2]&&b[2](d)})),d.length=0)}function r(b){return function(d){h||(h=[b,d],j())}}return b(r(0),r(1)),{ + then:function(b,h){return p((function(r,i){d.push([b,h,r,i]),j()}))}}}a&&(g=m[e]=function(){var b=function(b,d,j,r){function i(i,c){ + h(b,d,j,i,c,r)}r=r||2;var c,u=/Async$/;return u.test(b)?(b=b.replace(u,""),"function"==typeof Promise?new Promise(i):p(i)):h(b,d,j,c,c,r)} + ;function h(h,d,j,r,i,c){return b._api?b._api(h,d,j,r,i,c):(b.q&&b.q.push([h,d,j,r,i,c]),null)}return b.q=[],b}(),y=function(b){function h(h){ + "function"==typeof h[4]&&h[4](new Error(b))}var d=g.q;if(d){for(var j=0;j