D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
test
/
public
/
login_files
/
Filename :
snippet.min.js
back
Copy
function _tty_api_callback(a){}function _tty_populate(a){if('container' in a&&'content' in a){var b=document.getElementById(a.container);b.innerHTML=a.content;}}function _tty_catch(a){return function b(){try{a.apply(this,arguments);}catch(b){window[TrackuityObject]('onsite_error',{name:b.name,stacktrace:b.stack||b.message||b.description||''+b});throw b;}};}(function(a){a.consent=a.consent||{itemwiseRecommendations:false,facebookAds:false,googleAds:false};function b(a){return a===true||a==='true'||a===1||a==='1';}function c(b,c){if(!a.initialized)a.q.splice(a.q.length,0,[b,c]);else f(b,c);}function d(d){var f=d[0];var g=d[1]||{};if(f==='init'||f==='cookie-consent'){if(g.key)a.key=g.key;e({itemwiseRecommendations:true,facebookAds:true,googleAds:true});}else if(f==='cookie-decline')e({itemwiseRecommendations:false,facebookAds:false,googleAds:false});else if(f==='consent')e(g);else{if(g.withCookies!==undefined){var h=b(g.withCookies);e({itemwiseRecommendations:h,facebookAds:h,googleAds:h});}c(f,g);}}function e(c){var e='_tty=';var f='_ttydev=';a.consent={itemwiseRecommendations:b(c.itemwiseRecommendations),facebookAds:b(c.facebookAds),googleAds:b(c.googleAds)};if(!a.consent.itemwiseRecommendations){var g=document.location.hostname.split('.');for(var h=g.length-2;h>=0;h--){var i=g.slice(h).join('.');var j=e+'; path=/; domain=.'+i+';expires=Thu, 01 Jan 1970 00:00:00 GMT;SameSite=None;Secure';document.cookie=j;}a.cookieId=null;}else{var k=document.cookie.split(';');for(var h=0;h<k.length;h++){var l=k[h].trim();if(l.indexOf(e)==0)a.cookieId=l.substring(e.length,l.length);else if(l.indexOf(f)==0)a.devCookieId=l.substring(f.length,l.length);}if(!a.cookieId||a.cookieId==='test'||a.cookieId==="undefined"){var m=function(){var a=new Uint32Array(1);window.crypto.getRandomValues(a);return a[0]&2147483647;};a.cookieId=m().toString()+m().toString();}var n=new Date();n.setTime(n.getTime()+(365*24*60*60*1000));var g=document.location.hostname.split('.');for(var h=g.length-2;h>=0;h--){var i=g.slice(h).join('.');document.cookie=e+a.cookieId+'; expires='+n.toGMTString()+'; domain=.'+i+'; path=/; SameSite=None; Secure';if(document.cookie.indexOf(e+a.cookieId)>=0)break;}}if(!a.initialized){a.initialized=true;for(var h=0;h<a.q.length;h++)d(a.q[h]);a.q.splice(0,a.q.length);}}function f(b,c){var d=document.createElement('script');d.type='text/javascript';d.async=true;var e;if(a.localCalls)e='http://localhost:7777';else e=document.location.protocol+'//api.trackuity.com';var f=['ts='+a.l,'url='+encodeURIComponent(document.location.href),"itemwiseRecommendationsConsent="+a.consent.itemwiseRecommendations,"facebookAdsConsent="+a.consent.facebookAds,"googleAdsConsent="+a.consent.googleAds];if(a.cookieId){f.push('cookie='+a.cookieId);f.push('referrer='+encodeURIComponent(document.referrer));}if((c==null||!('key' in c))&&a.key)f.push('key='+encodeURIComponent(a.key));for(param in c){if(param==='withCookies')continue;f.push(encodeURIComponent(param)+'='+encodeURIComponent(c[param]));}if(a.devCookieId)f.push('dev='+encodeURIComponent(a.devCookieId));d.src=e+'/'+b+'?'+f.join('&');var g=function g(){if(!document.body)setTimeout(g,50);else document.body.insertBefore(d,document.body.lastChild);};g();}a.q=a.q||[];var g=-1;for(var h=a.q.length-1;h>=0;h--){var i=a.q[h][0];var j=a.q[h][1];if(['cookie-consent','cookie-decline','init','consent'].includes(i)||(i=='auto'&&j&&j.withCookies!==undefined&&g===-1))g=h;}if(g>-1){var k=a.q.splice(g,1)[0];d(k);}a.q.push=d;})(window[TrackuityObject]);