KEMBAR78
F | PDF | Internet Protocols | Application Layer Protocols
0% found this document useful (0 votes)
112 views7 pages

F

The document discusses JavaScript code for tracking events on a website. It defines several functions related to getting, setting, and reading cookie values. The code appears to be for handling Google Analytics tracking and other analytics tasks.

Uploaded by

ina_smkl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views7 pages

F

The document discusses JavaScript code for tracking events on a website. It defines several functions related to getting, setting, and reading cookie values. The code appears to be for handling Google Analytics tracking and other analytics tasks.

Uploaded by

ina_smkl
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

(function(){var aa="function"==typeof Object.defineProperties?

Object.defineProperty:function(a,b,d){a!=Array.prototype&&a!
=Object.prototype&&(a[b]=d.value)},ba="undefined"!=typeof window&&window===this?
this:"undefined"!=typeof global&&null!=global?global:this;function da(a,b){if(b)
{var d=ba;a=a.split(".");for(var c=0;c<a.length-1;c++){var e=a[c];e in d||
(d[e]={});d=d[e]}a=a[a.length-1];c=d[a];b=b(c);b!=c&&null!=b&&aa(d,a,
{configurable:!0,writable:!0,value:b})}}
da("Object.values",function(a){return a?a:function(b){var d=[],c;for(c in
b)Object.prototype.hasOwnProperty.call(b,c)&&d.push(b[c]);return d}});var h=this||
self,ea=/^[\w+/_-]+[=]{0,2}$/,t=null;function v(a){a=parseFloat(a);return
isNaN(a)||1<a||0>a?0:a};var
fa=v("0.20"),ha=v("0.002"),ia=v("0.00"),ja=v("0.00");function w(a){w[" "](a);return
a}w[" "]=function(){};function ka(a){var b=!1,d;return function(){b||(d=a(),b=!
0);return d}};function x(){this.a="";this.b=la}var la={};function ma(a){var b=new
x;b.a=a;return b};var A;a:{var na=h.navigator;if(na){var oa=na.userAgent;if(oa)
{A=oa;break a}}A=""};function pa(a,b){a.src=b instanceof
x&&b.constructor===x&&b.b===la?b.a:"type_error:TrustedResourceUrl";if(null===t)b:
{b=h.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce|
|b.getAttribute("nonce"))&&ea.test(b)){t=b;break
b}t=""}b=t;b&&a.setAttribute("nonce",b)};var qa=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?
#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?
$/;function ra(a){var b=a.match(qa);a=b[5];var d=b[6];b=b[7];var
c="";a&&(c+=a);d&&(c+="?"+d);b&&(c+="#"+b);return c}function C(a,b,d,c){for(var
e=d.length;0<=(b=a.indexOf(d,b))&&b<c;){var f=a.charCodeAt(b-1);if(38==f||
63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1}var
D=/#|$/;
function E(a,b){var d=a.search(D),c=C(a,0,b,d);if(0>c)return null;var
e=a.indexOf("&",c);if(0>e||e>d)e=d;c+=b.length+1;return
decodeURIComponent(a.substr(c,e-c).replace(/\+/g," "))}var sa=/[?&]($|#)/;
function F(a,b,d){for(var
c=a.search(D),e=0,f,g=[];0<=(f=C(a,e,b,c));)g.push(a.substring(e,f)),e=Math.min(a.i
ndexOf("&",f)+1||c,c);g.push(a.substr(e));a=g.join("").replace(sa,"$1");d=null!
=d?"="+encodeURIComponent(String(d)):"";(b+=d)?
(d=a.indexOf("#"),0>d&&(d=a.length),c=a.indexOf("?"),0>c||c>d?
(c=d,e=""):e=a.substring(c+1,d),d=[a.substr(0,c),e,a.substr(d)],a=d[1],d[1]=b?a?
a+"&"+b:b:a,b=d[0]+(d[1]?"?"+d[1]:"")+d[2]):b=a;return b};function ta(){if(!
h.crypto)return Math.random();try{var a=new
Uint32Array(1);h.crypto.getRandomValues(a);return a[0]/65536/65536}catch(b){return
Math.random()}}function ua(a,b){if(a)for(var d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(void 0,a[d],d,a)}var
va=ka(function(){return-1!=A.indexOf("Google Web Preview")||1E-
4>Math.random()}),wa=ka(function(){return-1!=A.indexOf("MSIE")});var
G=null;function xa(){if(null===G){G="";try{var
a="";try{a=h.top.location.hash}catch(d){a=h.location.hash}if(a){var
b=a.match(/\bdeid=([\d,]+)/);G=b?b[1]:""}}catch(d){}}return G}function H(a,b,d){var
c=I;if(d?c.a.hasOwnProperty(d)&&""==c.a[d]:1){var e;e=(e=xa())?(e=e.match(new
RegExp("\\b("+a.join("|")+")\\b")))?e[0]:null:null;if(e)a=e;else a:{if(!wa()&&!
va()&&(e=Math.random(),e<b)){e=ta();a=a[Math.floor(e*a.length)];break
a}a=null}a&&""!=a&&(d?c.a.hasOwnProperty(d)&&(c.a[d]=a):c.b[a]=!0)}}
function J(a){var b=I;return b.a.hasOwnProperty(a)?b.a[a]:""}function ya(){var
a=I,b=[];ua(a.b,function(d,c){b.push(c)});ua(a.a,function(d){""!
=d&&b.push(d)});return b};var za={m:2,w:13,v:14,o:16},I=null;function K(){return!!
I&&"592230571"==J(16)};var L=window,Aa=document;var M={};function Ba()
{M.TAGGING=M.TAGGING||[];M.TAGGING[1]=!0};function Ca(a,b)
{if(Array.prototype.indexOf)return a=a.indexOf(b),"number"==typeof a?a:-1;for(var
d=0;d<a.length;d++)if(a[d]===b)return d;return-1}function Da(a,b){for(var d in
a)Object.prototype.hasOwnProperty.call(a,d)&&b(d,a[d])};var N=/:[0-9]+$/;function
O(a,b){a=a.split("&");for(var d=0;d<a.length;d++){var
c=a[d].split("=");if(decodeURIComponent(c[0]).replace(/\+/g," ")===b)return
decodeURIComponent(c.slice(1).join("=")).replace(/\+/g," ")}}
function P(a,b){var
d="query";if("protocol"===d||"port"===d)a.protocol=Q(a.protocol)||
Q(L.location.protocol);"port"===d?a.port=String(Number(a.hostname?
a.port:L.location.port)||("http"==a.protocol?80:"https"==a.protocol?
443:"")):"host"===d&&(a.hostname=(a.hostname||
L.location.hostname).replace(N,"").toLowerCase());var
c=Q(a.protocol);d&&(d=String(d).toLowerCase());switch(d){case
"url_no_fragment":b="";a&&a.href&&(b=a.href.indexOf("#"),b=0>b?
a.href:a.href.substr(0,b));a=b;break;case "protocol":a=c;
break;case "host":a=a.hostname.replace(N,"").toLowerCase();break;case
"port":a=String(Number(a.port)||("http"==c?80:"https"==c?443:""));break;case
"path":a.pathname||a.hostname||Ba();a="/"==a.pathname.charAt(0)?
a.pathname:"/"+a.pathname;a=a.split("/");0<=Ca([],a[a.length-1])&&(a[a.length-
1]="");a=a.join("/");break;case
"query":a=a.search.replace("?","");b&&(a=O(a,b));break;case
"extension":a=a.pathname.split(".");a=1<a.length?a[a.length-1]:"";a=a.split("/")
[0];break;case "fragment":a=a.hash.replace("#",
"");break;default:a=a&&a.href}return a}function Q(a){return a?
a.replace(":","").toLowerCase():""};function R(a,b){var d=[];b=String(b||
document.cookie).split(";");for(var c=0;c<b.length;c++){var
e=b[c].split("="),f=e[0].replace(/^\s*|\s*$/g,"");f&&f==a&&d.push(e.slice(1).join("
=").replace(/^\s*|\s*$/g,""))}return d}function Ea(a,b,d){var
c=document.cookie;document.cookie=a;a=document.cookie;return c!=a||void 0!
=d&&0<=R(b,a).indexOf(d)}var Fa=/^(www\.)?google(\.com?)?(\.[a-z]{2})?$/,Ga=/
(^|\.)doubleclick\.net$/i;function Ha(a,b){return
Ga.test(document.location.hostname)||"/"===b&&Fa.test(a)};var Ia={};var Ja=/^\w+
$/,Ka=/^[\w-]+$/,La=/^~?[\w-]+$/,Ma={aw:"_aw",dc:"_dc",gf:"_gf",ha:"_ha"};function
Na(a,b){var d=[];if(!a.cookie)return d;a=R(b,a.cookie);if(!a||0==a.length)return
d;for(b=0;b<a.length;b++){var c=Oa(a[b]);c&&-1===Ca(d,c)&&d.push(c)}return
Pa(d)}function Qa(a){return a&&"string"==typeof a&&a.match(Ja)?a:"_gcl"}
function Ra(a,b,d){function c(f,g){e[g]||(e[g]=[]);e[g].push(f)}var e={};if(void 0!
==a&&a.match(Ka))switch(b){case void 0:c(a,"aw");break;case
"aw.ds":c(a,"aw");c(a,"dc");break;case "ds":c(a,"dc");break;case "3p.ds":(void
0==Ia.gtm_3pds?0:Ia.gtm_3pds)&&c(a,"dc");break;case "gf":c(a,"gf");break;case
"ha":c(a,"ha")}d&&c(d,"dc");return e}
function Sa(){var a=L.location.href;var b=Aa.createElement("a");a&&(b.href=a);var
d=b.pathname;"/"!==d[0]&&(a||Ba(),d="/"+d);a=b.hostname.replace(N,"");var
c={href:b.href,protocol:b.protocol,host:b.host,hostname:a,pathname:d,search:b.searc
h,hash:b.hash,port:b.port};b=P(c,"gclid");d=P(c,"gclsrc");a=P(c,"dclid");b&&d||
(c=c.hash.replace("#",""),b=b||O(c,"gclid"),d=d||O(c,"gclsrc"));b=Ra(b,d,a);Ta(b,
{h:!0})}
function Ta(a,b,d){function c(p){return["GCL",B,p].join(".")}function e(p,y)
{p=Ma[p];p=void 0!==p?f+p:void 0;if(p){var u=g;u=u||"auto";var
n={path:k||"/"};q&&(n.expires=q);"none"!==u&&(n.domain=u);a:{void 0==y?
u=p+"=deleted; expires="+(new Date(0)).toUTCString():
((y=encodeURIComponent(y))&&1200<y.length&&(y=y.substring(0,1200)),u=p+"="+y);var
m=void 0,ca=void 0;for(r in n)if(n.hasOwnProperty(r)){var z=n[r];if(null!
=z)switch(r){case "secure":z&&(u+="; secure");break;case
"domain":m=z;break;default:"path"==
r&&(ca=z),"expires"==r&&z instanceof Date&&(z=z.toUTCString()),u+=";
"+r+"="+z}}if("auto"===m){b:{var
r=[];n=document.location.hostname.split(".");if(4===n.length&&(m=n[n.length-
1],parseInt(m,10).toString()===m)){r=["none"];break b}for(m=n.length-
2;0<=m;m--)r.push(n.slice(m).join("."));r.push("none")}for(n=0;n<r.length;+
+n)if(m="none"!=r[n]?r[n]:void 0,!Ha(m,ca)&&Ea(u+(m?"; domain="+m:""),p,y))break
a}else m&&"none"!=m&&(u+="; domain="+m),!Ha(m,ca)&&Ea(u,p,y)}}}b=b||{};var
f=Qa(b.prefix),g=b.domain||
"auto",k=b.path||"/",l=void 0==b.g?7776E3:b.g;d=d||(new Date).getTime();var q=0==l?
void 0:new Date(d+1E3*l),B=Math.round(d/1E3);a.aw&&(!0===b.h?
e("aw",c("~"+a.aw[0])):e("aw",c(a.aw[0])));a.dc&&e("dc",c(a.dc[0]));a.gf&&e("gf",c(
a.gf[0]));a.ha&&e("ha",c(a.ha[0]))}function Oa(a)
{a=a.split(".");if(3==a.length&&"GCL"==a[0]&&a[1])return a[2]}function Pa(a){return
a.filter(function(b){return La.test(b)})}
function Ua(){for(var a=["aw"],b=Qa(void 0),d={},c=0;c<a.length;c+
+)Ma[a[c]]&&(d[a[c]]=Ma[a[c]]);Da(d,function(e,f){f=R(b+f,Aa.cookie);if(f.length)
{f=f[0];var g=f.split(".");g=3!==g.length||"GCL"!==g[0]?0:1E3*(Number(g[1])||0);var
k={};k[e]=[Oa(f)];Ta(k,void 0,g)}})};var Va=/^UA-\d+-\d+%3A[\w-]+(?:%2C[\w-]+)*(?:
%3BUA-\d+-\d+%3A[\w-]+(?:%2C[\w-]+)*)*$/,Wa=/^~?[\w-]+(?:\.~?[\w-]
+)*$/,Xa=/^\d+\.fls\.doubleclick\.net$/,Ya=/;gac=([^;?]+)/,Za=/;gclaw=([^;?]
+)/;function $a(a,b){if(Xa.test(a.location.host))
{if((a=a.location.href.match(Za))&&2==a.length&&a[1].match(Wa))return a[1]}else
if(a=Na(a,(b||"_gcl")+"_aw"),0<a.length)return a.join(".");return""}
function ab(a){var b=bb,d=Na(document,"_gcl_aw");a&&"_gcl"!
=a&&(d=d.concat(Na(document,a+"_aw")));d.every(function(c){return
c.match("~")})&&(Sa(),b&&Ua())};function cb(){var a=void 0===a?
h:a;return(a=a.performance)&&a.now?a.now():null}function db(a){var
b=h.performance;return b&&b.timing&&b.timing[a]||0};var
eb={s:0,i:1,u:2,l:3,j:4};function S(){this.a={}}function T(a,b,d){"number"==typeof
d&&0<d&&(a.a[b]=Math.round(d))}function fb(){function a(){return
T(b,0,db("loadEventStart")-db("navigationStart"))}var b=S.a();0!
=db("loadEventStart")?a():window.addEventListener("load",a)}function gb(){var
a=S.a();return Object.values(eb).map(function(b){return[b,a.a[b]||0]})}S.b=void
0;S.a=function(){return S.b?S.b:S.b=new S};function hb(a,b,d){a=ib(a,!
0);if(a[b])return!1;a[b]=[];a[b][0]=d;return!0}function ib(a,b){var
d=a.GooglebQhCsO;d||(d={},b&&(a.GooglebQhCsO=d));return d};var jb=null,kb=null;
function lb(a){for(var b=[],d=0,c=0;c<a.length;c++){var
e=a.charCodeAt(c);255<e&&(b[d++]=e&255,e>>=8);b[d++]=e}if(!
jb)for(jb={},kb={},a=0;65>a;a+
+)jb[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(
a),kb[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-
_.".charAt(a);a=kb;d=[];for(c=0;c<b.length;c+=3){var f=b[c],g=(e=c+1<b.length)?
b[c+1]:0,k=c+2<b.length,l=k?b[c+2]:0,q=f>>2;f=(f&3)<<4|g>>4;g=(g&15)<<2|
l>>6;l&=63;k||(l=64,e||(g=64));d.push(a[q],a[f],a[g],
a[l])}return d.join("")};function mb(a,b,d,c){var e=E(d,"fmt");if(c){var
f=E(d,"random"),g=E(d,"label")||"";if(!f)return!
1;f=lb(decodeURIComponent(g.replace(/\+/g," "))+":"+decodeURIComponent(f.replace(/\
+/g," "))).replace(/[.]*$/,"");if(!hb(a,f,c))return!1}e&&4!
=e&&(d=F(d,"rfmt",e));e=F(d,"fmt",4);d=document.createElement("SCRIPT");e=ma(e);pa(
d,e);d.onload=function()
{a.google_noFurtherRedirects&&c&&c.call&&(a.google_noFurtherRedirects=null,c())};b.
getElementsByTagName("script")[0].parentElement.appendChild(d);return!0};var
nb=/^true$/.test("false"),bb=/^true$/.test("true");var ob={id:!0,origin:!
0,destination:!0,start_date:!0,end_date:!0,location_id:!0},pb="google_conversion_id
google_conversion_format google_conversion_type google_conversion_order_id
google_conversion_language google_conversion_value google_conversion_evaluemrc
google_conversion_currency google_conversion_domain google_conversion_label
google_conversion_color google_disable_viewthrough
google_enable_display_cookie_match google_gtag_event_data google_remarketing_only
google_conversion_linker google_tag_for_child_directed_treatment
google_tag_for_under_age_of_consent google_allow_ad_personalization_signals
google_conversion_items google_conversion_merchant_id google_user_id
google_custom_params google_conversion_date google_conversion_time
google_conversion_js_version onload_callback opt_image_generator
google_conversion_page_url google_conversion_referrer_url google_gtm
google_gcl_cookie_prefix google_read_gcl_cookie_opt_out google_basket_feed_country
google_basket_feed_language google_basket_discount google_basket_transaction_type
google_disable_merchant_reported_conversions
google_additional_conversion_params".split(" ");
function U(a){return null!=a?encodeURIComponent(String(a)):""}function qb(a)
{if(null!=a){a=String(a).substring(0,512);var b=a.indexOf("#");return-1==b?
a:a.substring(0,b)}return""}function V(a,b){b=U(b);return""!=b&&(a=U(a),""!
=a)?"&".concat(a,"=",b):""}function rb(a){var b=typeof a;return
null==a||"object"==b||"function"==b?
null:String(a).replace(/,/g,"\\,").replace(/;/g,"\\;").replace(/=/g,"\\=")}
function sb(a){if(!a||"object"!=typeof a||"function"==typeof a.join)return"";var
b=[],d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var
c=a[d];if(c&&"function"==typeof c.join){for(var e=[],f=0;f<c.length;++f){var
g=rb(c[f]);null!=g&&e.push(g)}c=0==e.length?null:e.join(",")}else c=rb(c);
(e=rb(d))&&null!=c&&b.push(e+"="+c)}return b.join(";")}
function tb(a,b){b=void 0===b?
null:b;a=sb(a.google_custom_params);b=sb(b);b=a.concat(0<a.length&&0<b.length?";":"
",b);return""==b?"":"&".concat("data=",encodeURIComponent(b))}function ub(a){return
null==a||0!=a&&1!=a?"":V("tfcd",a)}function vb(a){return null==a||0!=a&&1!
=a?"":V("tfua",a)}function wb(a){return!1===a?V("npa",1):!0===a?V("npa",0):""}
function xb(a){if(null!=a){a=a.toString();if(2==a.length)return
V("hl",a);if(5==a.length)return V("hl",a.substring(0,2))
+V("gl",a.substring(3,5))}return""}function W(a){return"number"!=typeof
a&&"string"!=typeof a?"":U(a.toString())}
function yb(a){if(!a)return"";a=a.google_conversion_items;if(!a)return"";for(var
b=[],d=0,c=a.length;d<c;d++){var
e=a[d],f=[];e&&(f.push(W(e.value)),f.push(W(e.quantity)),f.push(W(e.item_id)),f.pus
h(W(e.start_date)),f.push(W(e.end_date)),b.push("("+f.join("*")+")"))}return
0<b.length?"&item="+b.join(""):""}
function zb(a,b){if(b.google_read_gcl_cookie_opt_out||b.google_remarketing_only||
b.google_conversion_domain&&(!
b.google_gcl_cookie_prefix||!/^_ycl/.test(b.google_gcl_cookie_prefix)))return"";var
d="";if(b.google_gcl_cookie_prefix&&/^[a-zA-Z0-9_]+
$/.test(b.google_gcl_cookie_prefix)&&"_gcl"!=b.google_gcl_cookie_prefix)return
d=$a(a,b.google_gcl_cookie_prefix),V("gclaw",d);
(b=$a(a))&&(d=V("gclaw",b));if(Xa.test(a.location.host))var
c=(c=a.location.href.match(Ya))&&2==c.length&&c[1].match(Va)?
decodeURIComponent(c[1]):
"";else{b=[];a=a.cookie.split(";");for(var e=/^\s*_gac_(UA-\d+-\d+)=\s*(.
+?)\s*$/,f=0;f<a.length;f++){var
g=a[f].match(e);g&&b.push({c:g[1],value:g[2]})}a={};if(b&&b.length)for(e=0;e<b.leng
th;e++)f=b[e].value.split("."),"1"==f[0]&&3==f.length&&f[1]&&(a[b[e].c]||
(a[b[e].c]=[]),a[b[e].c].push({timestamp:f[1],f:f[2]}));b=[];for(c in a)
{e=[];f=a[c];for(g=0;g<f.length;g+
+)e.push(f[g].f);b.push(c+":"+e.join(","))}c=0<b.length?b.join(";"):""}return d+(c?
V("gac",c):"")}
function Ab(a,b,d){var c=[];if(a){var
e=a.screen;e&&(c.push(V("u_h",e.height)),c.push(V("u_w",e.width)),c.push(V("u_ah",e
.availHeight)),c.push(V("u_aw",e.availWidth)),c.push(V("u_cd",e.colorDepth)));a.his
tory&&c.push(V("u_his",a.history.length))}d&&"function"==typeof
d.getTimezoneOffset&&c.push(V("u_tz",-
d.getTimezoneOffset()));b&&("function"==typeof
b.javaEnabled&&c.push(V("u_java",b.javaEnabled())),b.plugins&&c.push(V("u_nplug",b.
plugins.length)),b.mimeTypes&&c.push(V("u_nmime",b.mimeTypes.length)));
return c.join("")}function Bb(a){function b(c){try{return decodeURIComponent(c),!
0}catch(e){return!1}}a=a?a.title:"";if(void
0==a||""==a)return"";a=encodeURIComponent(a);for(var d=256;!
b(a.substr(0,d));)d--;return"&tiba="+a.substr(0,d)}
function Cb(a,b,d,c){var e="";if(b){if(a.top==a)var f=0;else{var
g=a.location.ancestorOrigins;if(g)f=g[g.length-1]==a.location.origin?
1:2;else{g=a.top;try{var k;if(k=!!g&&null!=g.location.href)c:{try{w(g.foo);k=!
0;break c}catch(l){}k=!1}f=k}catch(l){f=!1}f=f?1:2}}a=d?d:1==f?
a.top.location.href:a.location.href;e+=V("frm",f);e+=V("url",qb(a));e+=V("ref",qb(c
||b.referrer))}return e}
function Db(a,b,d,c,e){e=void 0===e?null:e;var
f="/?";"landing"==c.google_conversion_type&&(f="/extclk?");f=[c.google_remarketing_
only?"/pagead/viewthroughconversion/":"/pagead/conversion/",U(c.google_conversion_i
d),f,"random=",U(c.google_conversion_time)].join("");f="https://"+
(c.google_remarketing_only?"googleads.g.doubleclick.net":c.google_conversion_domain
||"www.googleadservices.com")+f;e=void 0===e?
null:e;a=[V("cv",c.google_conversion_js_version),V("fst",c.google_conversion_first_
time),V("num",
c.google_conversion_snippets),V("fmt",c.google_conversion_format),c.google_remarket
ing_only?
V("userId",c.google_user_id):"",ub(c.google_tag_for_child_directed_treatment),vb(c.
google_tag_for_under_age_of_consent),wb(c.google_allow_ad_personalization_signals),
V("value",c.google_conversion_value),V("evaluemrc",c.google_conversion_evaluemrc),V
("currency_code",c.google_conversion_currency),V("label",c.google_conversion_label)
,V("oid",c.google_conversion_order_id),V("bg",c.google_conversion_color),xb(c.googl
e_conversion_language),
V("guid","ON"),!c.google_conversion_domain&&"GooglemKTybQhCsO"in
h&&"function"==typeof h.GooglemKTybQhCsO?
V("resp","GooglemKTybQhCsO"):"",V("disvt",c.google_disable_viewthrough),V("eid",ya(
).join()),Ab(a,b,c.google_conversion_date),V("gtm",c.google_gtm),b&&b.sendBeacon?
V("sendb","1"):"",Eb(),tb(c,e),zb(d,c),Cb(a,d,c.google_conversion_page_url,c.google
_conversion_referrer_url),Bb(d),c.google_remarketing_only||!
c.google_additional_conversion_params?"":Fb(c.google_additional_conversion_params)]
.join("");
b=xa();a+=0<b.length?"&debug_experiment_id="+b:"";c.google_remarketing_only||
c.google_conversion_domain?c=a:(Gb(c)&&!
c.google_basket_transaction_type&&(c.google_basket_transaction_type="mrc"),b=[V("mi
d",c.google_conversion_merchant_id),V("fcntr",c.google_basket_feed_country),V("flng
",c.google_basket_feed_language),V("dscnt",c.google_basket_discount),V("bttype",c.g
oogle_basket_transaction_type)].join(""),c=[a,b,yb(c)].join(""),c=4E3<c.length?
[a,V("item","elngth")].join(""):c);return f+c}
function Hb(a){if(!nb){var
b=document.createElement("IFRAME");b.style.display="none";b.src="https://bid.g.doub
leclick.net/xbbe/pixel?d=KAE";a.body.appendChild(b)}}function Ib(){return new
Image}function Jb(a,b,d,c){var e=d.onload_callback,f;e&&e.call?f=e:f=function()
{};c+=V("async","1");var g=(e=d.opt_image_generator)&&e.call,k;if(!(k=g||!1))
{if(d.google_conversion_domain)var l=!1;else try{l=mb(a,b,c,f)}catch(q){l=!1}k=!
l}k&&(a=Ib,g&&(a=e),a=a(),a.src=c,a.onload=f)}
function Kb(a){for(var
b=document.createElement("IFRAME"),d=[],c=[],e=0;e<a.google_conversion_items.length
;e++){var f=a.google_conversion_items[e];f&&f.quantity&&(f.sku||
f.item_id)&&(d.push(f.sku||f.item_id),c.push(f.quantity))}e="";null!
=a.google_basket_feed_language&&null!=a.google_basket_feed_country?
e="&mrc_language="+a.google_basket_feed_language.toString()
+"&mrc_country="+a.google_basket_feed_country.toString():null!
=a.google_conversion_language&&(f=a.google_conversion_language.toString(),5==
f.length&&(e="&mrc_language="+f.substring(0,2)+"&mrc_country="+f.substring(3,5)));b
.src="https://www.google.com/ads/mrc?sku="+d.join(",")+"&qty="+c.join(",")
+"&oid="+a.google_conversion_order_id+"&mcid="+a.google_conversion_merchant_id+e;b.
style.width="1px";b.style.height="1px";b.style.display="none";return b}function
Lb(a,b,d){function c()
{d.documentElement.appendChild(Kb(b))}"complete"===d.readyState?
c():a.addEventListener?a.addEventListener("load",c):a.attachEvent("onload",c)}
function Mb(a,b){I&&"376635471"==J(2)&&("complete"===b.readyState?
Hb(b):a.addEventListener?a.addEventListener("load",function()
{Hb(b)}):a.attachEvent("onload",function(){Hb(b)}))}function Gb(a){return!
a.google_disable_merchant_reported_conversions&&!!
a.google_conversion_merchant_id&&!!a.google_conversion_order_id&&!!
a.google_conversion_items}function Nb(a,b){function d(f){c[f]=b&&null!=b[f]?
b[f]:a[f]}for(var c={},e=0;e<pb.length;e++)d(pb[e]);d("onload_callback");return c}
function Ob(a){for(var b={},d=0;d<a.length;d++){var c=a[d],e=void
0;c.hasOwnProperty("google_business_vertical")?
(e=c.google_business_vertical,b[e]=b[e]||{google_business_vertical:e}):
(e="",Object.prototype.hasOwnProperty.call(b,e)||(b[e]={}));e=b[e];for(var
f=Object.keys(c).filter(function(l){return ob.hasOwnProperty(l)}),g=0;g<f.length;g+
+){var k=f[g];k in e||(e[k]=[]);e[k].push(c[k])}}return Object.values(b)}
function Eb(){var a="";K()&&(a=gb().map(function(b){return
b.join("-")}).join("_"));return V("li",a)}function Fb(a){var b="",d;for(d in
a)a.hasOwnProperty(d)&&(b+=V(d,a[d]));return b};function Pb(a,b,d,c){function e()
{}var f=Ob(c.google_gtag_event_data.items);if(c.onload_callback&&"function"==typeof
c.onload_callback.call){var g=c.onload_callback,k=f.length;e=function(){--
k;0>=k&&g()}}c.onload_callback=e;for(var l=0;l<f.length;l+
+)Jb(a,d,c,Db(a,b,d,c,f[l])),c.google_conversion_time=c.google_conversion_time+1};I
=new function(){var a=[],b=0,d;for(d in za)a[b++]=za[d];this.b={};this.a={};a=a||
[];b=0;for(d=a.length;b<d;+
+b)this.a[a[b]]=""};H(["592230570","592230571"],ha,16);if(K()){var
Qb=S.a();T(Qb,1,cb());fb()}
function Rb(a,b,d){function c(q,B){var p=new Image;p.onload=q;p.src=B}function e()
{--f;if(0>=f){var q=ib(a,!1),B=q[b];B&&(delete q[b],(q=B[0])&&q.call&&q())}}var
f=d.length+1;if(2==d.length){var
g=d[0],k=d[1];0<=C(g,0,"rmt_tld",g.search(D))&&0<=C(g,0,"ipr",g.search(D))&&!
k.match(qa)[6]&&(k+=ra(g),d[1]=F(k,"rmt_tld","1"))}for(g=0;g<d.length;g++)
{k=d[g];var l=E(k,"fmt");switch(parseInt(l,10)){case 1:case 2:
(l=a.document.getElementById("goog_conv_iframe"))&&!l.src?
(l.onload=e,l.src=k):c(e,k);break;case 4:mb(a,
a.document,k,e);break;case
5:if(a.navigator&&a.navigator.sendBeacon)if(a.navigator.sendBeacon(k,""))
{e();break}else k=F(k,"sendb",2);k=F(k,"fmt",3);default:c(e,k)}}e()}var
X=["GooglemKTybQhCsO"],Y=h;X[0]in Y||"undefined"==typeof Y.execScript||
Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());){var Sb;if(Sb=!
X.length)Sb=void 0!==Rb;Sb?Y[Z]=Rb:Y[Z]&&Y[Z]!==Object.prototype[Z]?
Y=Y[Z]:Y=Y[Z]={}}
window.google_trackConversion=function(a){var b=window;var
d=navigator,c=document;a=Nb(b,a);a.google_conversion_format=3;if(K()){var
e=S.a();T(e,2,cb());if(a.google_gtm&&(e=S.a(),b.google_tag_manager&&b.google_tag_ma
nager._li)){var f=b.google_tag_manager._li;T(e,4,f.cbt);T(e,3,f.cst)}}e=!
1;if(a&&3==a.google_conversion_format)
{try{if("landing"==a.google_conversion_type||!a.google_conversion_id||
a.google_remarketing_only&&a.google_disable_viewthrough)var g=!1;else
a.google_conversion_date=new Date,
a.google_conversion_time=a.google_conversion_date.getTime(),a.google_conversion_sni
ppets="number"==typeof
a.google_conversion_snippets&&0<a.google_conversion_snippets?
a.google_conversion_snippets+1:1,"number"!=typeof
a.google_conversion_first_time&&(a.google_conversion_first_time=a.google_conversion
_time),a.google_conversion_js_version="9",0!=a.google_conversion_format&&1!
=a.google_conversion_format&&2!=a.google_conversion_format&&3!
=a.google_conversion_format&&(a.google_conversion_format=3),!1!==
a.google_enable_display_cookie_match&&(a.google_enable_display_cookie_match=!0),g=!
0;g&&(a.google_remarketing_only&&a.google_enable_display_cookie_match&&!
nb&&I&&H(["376635470","376635471"],fa,2),a.google_remarketing_only&&!
a.google_conversion_domain&&I&&H(["759238990","759238991"],ja,13),!
a.google_remarketing_only||a.google_conversion_domain||
I&&("759248991"==J(14)||"759248990"==J(14))||
I&&H(["759248990","759248991"],ia,14),!1===a.google_conversion_linker||
a.google_gtm||ab(a.google_gcl_cookie_prefix),
1==a.google_remarketing_only&&null!=a.google_gtag_event_data&&null!
=a.google_gtag_event_data.items&&a.google_gtag_event_data.items.constructor===Array
&&0<a.google_gtag_event_data.items.length?
Pb(b,d,c,a):Jb(b,c,a,Db(b,d,c,a)),a.google_remarketing_only&&a.google_enable_displa
y_cookie_match&&Mb(b,c),e=!0);Gb(a)&&(Lb(b,a,c),e=!0)}catch(k){}b=e}else b=!
1;return b};}).call(this);

You might also like