// Copyright 2012 Google Inc. All rights reserved. (function(){ var data = { "resource": { "version":"1", "macros":[{"function":"__e"},{"function":"__c","vtp_value":"google.com.pk"},{"function":"__c","vtp_value":0},{"vtp_signal":0,"function":"__c","vtp_value":0}], "tags":[{"function":"__gct","vtp_trackingId":"G-4H06J8XXQH","vtp_sessionDuration":0,"tag_id":1},{"function":"__ccd_conversion_marking","vtp_conversionRules":["list",["map","matchingRules","{\"type\":5,\"args\":[{\"stringValue\":\"purchase\"},{\"contextValue\":{\"namespaceType\":1,\"keyParts\":[\"eventName\"]}}]}"]],"vtp_instanceDestinationId":"G-4H06J8XXQH","tag_id":3},{"function":"__set_product_settings","vtp_instanceDestinationId":"G-4H06J8XXQH","vtp_foreignTldMacroResult":["macro",1],"vtp_isChinaVipRegionMacroResult":["macro",2],"tag_id":5},{"function":"__ogt_google_signals","vtp_googleSignals":"DISABLED","vtp_instanceDestinationId":"G-4H06J8XXQH","vtp_serverMacroResult":["macro",3],"tag_id":6}], "predicates":[{"function":"_eq","arg0":["macro",0],"arg1":"gtm.js"},{"function":"_eq","arg0":["macro",0],"arg1":"gtm.init"}], "rules":[[["if",0],["add",0]],[["if",1],["add",1,2,3]]] }, "runtime":[ [50,"__ccd_conversion_marking",[46,"a"],[22,[30,[28,[17,[15,"a"],"conversionRules"]],[20,[17,[17,[15,"a"],"conversionRules"],"length"],0]],[46,[2,[15,"a"],"gtmOnSuccess",[7]],[36]]],[52,"b",["require","internal.copyPreHit"]],[52,"c",["require","internal.evaluateBooleanExpression"]],[52,"d",["require","internal.registerCcdCallback"]],[52,"e","is_conversion"],[52,"f","is_first_visit"],[52,"g","is_first_visit_conversion"],[52,"h","is_session_start"],[52,"i","is_session_start_conversion"],[52,"j","first_visit"],[52,"k","session_start"],[41,"l"],[41,"m"],["d",[17,[15,"a"],"instanceDestinationId"],[51,"",[7,"n"],[52,"o",[8,"preHit",[15,"n"]]],[65,"p",[17,[15,"a"],"conversionRules"],[46,[22,["c",[17,[15,"p"],"matchingRules"],[15,"o"]],[46,[2,[15,"n"],"setMetadata",[7,[15,"e"],true]],[4]]]]],[22,[2,[15,"n"],"getMetadata",[7,[15,"f"]]],[46,[22,[28,[15,"l"]],[46,[53,[52,"p",["b",[15,"n"],[8,"omitHitData",true,"omitMetadata",true]]],[2,[15,"p"],"setEventName",[7,[15,"j"]]],[3,"l",[8,"preHit",[15,"p"]]]]]],[65,"p",[17,[15,"a"],"conversionRules"],[46,[22,["c",[17,[15,"p"],"matchingRules"],[15,"l"]],[46,[2,[15,"n"],"setMetadata",[7,[15,"g"],true]],[4]]]]]]],[22,[2,[15,"n"],"getMetadata",[7,[15,"h"]]],[46,[22,[28,[15,"m"]],[46,[53,[52,"p",["b",[15,"n"],[8,"omitHitData",true,"omitMetadata",true]]],[2,[15,"p"],"setEventName",[7,[15,"k"]]],[3,"m",[8,"preHit",[15,"p"]]]]]],[65,"p",[17,[15,"a"],"conversionRules"],[46,[22,["c",[17,[15,"p"],"matchingRules"],[15,"m"]],[46,[2,[15,"n"],"setMetadata",[7,[15,"i"],true]],[4]]]]]]]]],[2,[15,"a"],"gtmOnSuccess",[7]],[36]] ,[50,"__ogt_google_signals",[46,"a"],[52,"b",["require","internal.setProductSettingsParameter"]],[52,"c",["require","getContainerVersion"]],[52,"d",[13,[41,"$0"],[3,"$0",["require","internal.getFlags"]],["$0"]]],[52,"e",[30,[17,[15,"a"],"instanceDestinationId"],[17,["c"],"containerId"]]],["b",[15,"e"],"google_signals",[20,[17,[15,"a"],"serverMacroResult"],1]],[22,[17,[15,"d"],"enableGa4OnoRemarketing"],[46,["b",[15,"e"],"google_ono",[20,[17,[15,"a"],"serverMacroResult"],2]]]],[2,[15,"a"],"gtmOnSuccess",[7]]] ,[50,"__set_product_settings",[46,"a"],[52,"b",["require","internal.setProductSettingsParameter"]],[52,"c",["require","getContainerVersion"]],[52,"d",[30,[17,[15,"a"],"instanceDestinationId"],[17,["c"],"containerId"]]],["b",[15,"d"],"google_tld",[17,[15,"a"],"foreignTldMacroResult"]],["b",[15,"d"],"ga_restrict_domain",[20,[17,[15,"a"],"isChinaVipRegionMacroResult"],1]],[2,[15,"a"],"gtmOnSuccess",[7]]] ] ,"entities":{ "__ccd_conversion_marking":{"2":true} , "__ogt_google_signals":{"2":true} , "__set_product_settings":{"2":true} } ,"permissions":{ "__ccd_conversion_marking":{} , "__ogt_google_signals":{"read_container_data":{}} , "__set_product_settings":{"read_container_data":{}} } ,"security_groups":{ "google":[ "__ccd_conversion_marking" , "__ogt_google_signals" , "__set_product_settings" ] } }; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var ba,ca=function(a){var b=0;return function(){return b b)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},Oa=function(a,b){for(var c=new Na,d=0;d >2,n=(f&3) <<4|g>>4,p=(g&15) <<2|h>>6,q=h&63;e||(q=64,d||(p=64));b.push(rb[l],rb[n],rb[p],rb[q])}return b.join("")} function vb(a){function b(l){for(;d >4);64!=g&&(c+=String.fromCharCode(f <<4&240|g>>2),64!=h&&(c+=String.fromCharCode(g <<6&192|h)))}};var wb={},xb=function(a,b){wb[a]=wb[a]||[];wb[a][b]=!0},yb=function(){delete wb.GA4_EVENT},Ab=function(a){var b=wb[a];if(!b||0===b.length)return "";for(var c=[],d=0,e=0;e"+a+ "");1===c.nodeType&&fc(c);c.innerHTML=$b(d);b=b.lastChild;for(var e=[];b.firstChild;)e.push(b.removeChild(b.firstChild));return e},zc=function(a,b,c){c=c||100;for(var d={},e=0;ee&&(e=Math.max(d+e,0));for(var f=e;f c?d+c:Math.min(c,e));for(var f=e;0 <=f;f--)if(this.has(f)&&this.get(f)===b)return f;return-1},map:function(a,b){for(var c=this.length(),d=[],e=0;ed)throw Error("TypeError: ReduceRight on List with no elements.");}for(var h=f;0 <=h;h--)this.has(h)&&(e=b.h(a,e,this.get(h),h,this));return e},reverse:function(){for(var a=Yc(this),b=a.length-1,c=0;0<=b;b--,c++)a.hasOwnProperty(b)?this.set(c,a[b]):Aa(this,c);return this},shift:function(){return this.shift()},slice:function(a,b,c){var d=this.length();void 0===b&&(b=0);b=0>b?Math.max(d+b,0):Math.min(b,d);c=void 0===c?d:0>c? Math.max(d+c,0):Math.min(c,d);c=Math.max(b,c);for(var e=[],f=b;f C(this, b)},Ed=function(a,b){return C(this,a)>=C(this,b)},Fd=function(a,b){a=C(this,a);b=C(this,b);a instanceof Pc&&(a=a.Ua);b instanceof Pc&&(b=b.Ua);return a===b},Gd=function(a,b){return!Fd.call(this,a,b)},Hd=function(a,b,c){var d=[];C(this,a)?d=C(this,b):c&&(d=C(this,c));var e=kb(this.h,d);if(e instanceof ua)return e},Id=function(a,b){return C(this,a) >Number(C(this,b))},ge=function(a,b){return Number(C(this,a))>>>Number(C(this,b))},he=function(a,b){return Number(C(this,a))&Number(C(this,b))},ie=function(a,b){return Number(C(this,a))^Number(C(this,b))},je=function(a,b){return Number(C(this,a))|Number(C(this,b))};var le=function(){this.h=new nb;ke(this)};le.prototype.execute=function(a){return me(this.h.m(a))}; var ne=function(a,b,c){return me(a.h.D(b,c))},ke=function(a){var b=function(d,e){pb(a.h,d,String(e))};b("control",49);b("fn",51);b("list",7);b("map",8);b("undefined",44);var c=function(d,e){ob(a.h,String(d),e)};c(0,dd);c(1,ed);c(2,fd);c(3,gd);c(53,hd);c(4,id);c(5,jd);c(52,kd);c(6,ld);c(9,jd);c(50,md);c(10,nd);c(12,od);c(13,pd);c(47,sd);c(54,td);c(55,ud);c(63,zd);c(64,wd);c(65,xd);c(66,yd);c(15,Bd);c(16,Cd);c(17,Cd);c(18,Dd);c(19,Ed);c(20,Fd);c(21,Gd);c(22,Hd);c(23,Id);c(24,Jd);c(25,Kd);c(26,Ld);c(27, Md);c(28,Nd);c(29,Od);c(45,Pd);c(30,Qd);c(32,Rd);c(33,Rd);c(34,Sd);c(35,Sd);c(46,Td);c(36,Ud);c(43,Vd);c(37,Wd);c(38,Xd);c(39,Yd);c(40,Zd);c(41,$d);c(42,ae);c(58,be);c(57,ce);c(60,de);c(61,ge);c(56,he);c(62,ie);c(59,je)};function me(a){if(a instanceof ua||a instanceof hb||a instanceof za||a instanceof lb||a instanceof Pc||null===a||void 0===a||"string"===typeof a||"number"===typeof a||"boolean"===typeof a)return a};function oe(a){switch(a){case 1:return"1";case 2:case 4:return"0";default:return"-"}}function pe(a){switch(a){case 1:return"G";case 3:return"g";case 2:return"D";case 4:return"d";case 0:return"g";default:return"g"}}function qe(a,b){var c=a[1]||0,d=a[2]||0,e=a[3]||0,f=a[4]||0;switch(b){case 0:return"G1"+oe(c)+oe(d);case 1:return"G2"+pe(c)+pe(d);case 2:return"G2"+pe(c)+pe(d)+pe(e)+pe(f);default:return"g1--"}};var re=function(){var a=function(b){return{toString:function(){return b}}};return{Rj:a("consent"),ei:a("convert_case_to"),fi:a("convert_false_to"),gi:a("convert_null_to"),hi:a("convert_true_to"),ii:a("convert_undefined_to"),Am:a("debug_mode_metadata"),Sb:a("function"),Vg:a("instance_name"),xk:a("live_only"),yk:a("malware_disabled"),zk:a("metadata"),Ck:a("original_activity_id"),Hm:a("original_vendor_template_id"),Gm:a("once_on_load"),Bk:a("once_per_event"),Yi:a("once_per_load"),Lm:a("priority_override"), Mm:a("respected_consent_types"),cj:a("setup_tags"),ne:a("tag_id"),ij:a("teardown_tags")}}();var Ne; var Oe=[],Pe=[],Qe=[],Re=[],Se=[],Te={},Ue,Ve,Xe=function(){var a=We;Ve=Ve||a},Ye,Ze=[],$e=function(a,b){var c={};c["function"]="__"+a;for(var d in b)b.hasOwnProperty(d)&&(c["vtp_"+d]=b[d]);return c},af=function(a,b){var c=a["function"],d=b&&b.event;if(!c)throw Error("Error: No function name given for function call.");var e=Te[c],f=b&&2===b.type&&d.Fj&&e&&-1!==Ze.indexOf(c),g={},h={},l;for(l in a)a.hasOwnProperty(l)&&0===l.indexOf("vtp_")&&(e&&d&&d.nj&&d.nj(a[l]),e&&(g[l]=a[l]),!e||f)&&(h[l.substr(4)]= a[l]);e&&d&&d.mj&&(g.vtp_gtmCachedValues=d.mj);if(b){if(null==b.name){var n;a:{var p=b.index;if(null==p)n="";else{var q;switch(b.type){case 2:q=Oe[p];break;case 1:q=Re[p];break;default:n="";break a}var r=q&&q[re.Vg];n=r?String(r):""}}b.name=n}e&&(g.vtp_gtmEntityIndex=b.index,g.vtp_gtmEntityName=b.name)}var t,u;e&&(t=e(g));if(!e||f)u=Ne(c,h,b);f&&t!==u&&d&&d.Fj(d.id,c);return e?t:u},cf=function(a,b,c){c=c||[];var d={},e;for(e in a)a.hasOwnProperty(e)&&(d[e]=bf(a[e],b,c));return d},bf=function(a,b, c){if(Ka(a)){var d;switch(a[0]){case "function_id":return a[1];case "list":d=[];for(var e=1;e c){var r=String.fromCharCode(10>c?48+c:65+c-10);b["k"+r]=(""+String(e)).replace(/~/g,"~~");b["v"+r]=f;c++}});var d=[];m(b,function(e,f){d.push(""+e+f)});return d.join("~")}, Bf={item_id:"id",item_name:"nm",item_brand:"br",item_category:"ca",item_category2:"c2",item_category3:"c3",item_category4:"c4",item_category5:"c5",item_variant:"va",price:"pr",quantity:"qt",coupon:"cp",item_list_name:"ln",index:"lp",item_list_id:"li",discount:"ds",affiliation:"af",promotion_id:"pi",promotion_name:"pn",creative_name:"cn",creative_slot:"cs",location_id:"lo"},Cf={id:"id",name:"nm",brand:"br",variant:"va",list_name:"ln",list_position:"lp",list:"ln",position:"lp",creative:"cn"},Df=["ca", "c2","c3","c4","c5"];var Ff=function(a){var b=[];m(a,function(c,d){null!=d&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(String(d)))});return b.join("&")},Gf=function(a,b,c,d){this.Ra=a.Ra;this.Gc=a.Gc;this.mh=a.mh;this.m=b;this.D=c;this.B=Ff(a.Ra);this.h=Ff(a.mh);this.K=this.h.length;if(d&&16384 this.events.length&&16384>a.K+this.B,c=this.Ra===a.B&&this.h===a.m&&this.m===a.D;return 0==this.events.length||b&&c}; var If=function(a,b){m(a,function(c,d){null!=d&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))})},Jf=function(a,b){var c=[];a.B&&c.push(a.B);b&&c.push("_s="+b);If(a.Gc,c);var d=!1;a.h&&(c.push(a.h),d=!0);var e=c.join("&"),f="",g=e.length+a.m.length+1;d&&2048 w&&(v=y,w=B)});x==c.length&&(g[t]=v)});If(g,d);b&&d.push("_s="+b);for(var h=d.join("&"),l=[],n={},p=0;p =Number(b)}function Vf(a,b){return Number(a) <=Number(b)}function Wf(a,b){return Number(a)>Number(b)}function Xf(a,b){return Number(a) a.length?void 0:Ag(c.getHitData(a[1]),a.slice(2));case "metadata":return 2>a.length?void 0:Ag(c.getMetadata(a[1]),a.slice(2));case "eventName":return c.getEventName();case "destinationId":return c.getDestinationId();default:throw Error(d+" is not a valid field that can be accessed\n from PreHit data.");}}}, Cg=function(a,b){if(a){if(void 0!==a.contextValue){var c;a:{var d=a.contextValue,e=d.keyParts;if(e&&0!==e.length){var f=d.namespaceType;switch(f){case 1:c=Bg(e,b);break a;case 2:var g=b.macro;c=g?g[e[0]]:void 0;break a;default:throw Error("Unknown Namespace Type used: "+f);}}c=void 0}return c}if(void 0!==a.booleanExpressionValue)return zg(a.booleanExpressionValue,b);if(void 0!==a.booleanValue)return!!a.booleanValue;if(void 0!==a.stringValue)return String(a.stringValue);if(void 0!==a.integerValue)return Number(a.integerValue); if(void 0!==a.doubleValue)return Number(a.doubleValue);throw Error("Unknown field used for variable of type ExpressionValue:"+a);}},zg=function(a,b){var c=a.args;if(!Ka(c)||0===c.length)throw Error('Invalid boolean expression format. Expected "args":'+c+" property to\n be non-empty array.");var d=function(g){return Cg(g,b)};switch(a.type){case 1:for(var e=0;e e?c.push(e):2048>e?c.push(192|e>>6,128|e&63):55296>e||57344 <=e?c.push(224|e>>12,128|e>>6&63,128|e&63):(e=65536+((e&1023) <<10|a.charCodeAt(++d)&1023),c.push(240|e>>18,128|e>>12&63,128| e>>6&63,128|e&63))}b=new Uint8Array(c)}return b},fh=/[0-9`~!@#$%^&*()_\-+=:; <>,.?|/\\[\]]/g,ih=/^\S+@\S+\.\S+$/,gh=/^\+\d{10,15}$/,bh=/[.~]/g,ph=/^[0-9A-Za-z_-]{43}$/,nh=/^[0-9A-Fa-f]{64}$/,qh={},rh=(qh.email="em",qh.phone_number="pn",qh.first_name="fn",qh.last_name="ln",qh.street="sa",qh.city="ct",qh.region="rg",qh.country="co",qh.postal_code="pc",qh.error_code="ec",qh),sh={},th=(sh.email="sha256_email_address",sh.phone_number="sha256_phone_number",sh.first_name="sha256_first_name",sh.last_name= "sha256_last_name",sh.street="sha256_street",sh),uh=function(a,b){function c(t,u,v,w){var x=ah(t);""!==x&&(nh.test(x)?l.push({name:u,value:x,index:w}):l.push({name:u,value:v(x),index:w}))}function d(t,u){var v=t;if(k(v)||Ka(v)){v=Ka(t)?t:[t];for(var w=0;w =f)return!0;(d=d.parentElement)&&(e=z.getComputedStyle(d,null))}return!1};var Zi=/:[0-9]+$/,$i=/^\d+\.fls\.doubleclick\.net$/,aj=function(a,b,c,d){for(var e=[],f=a.split("&"),g=0;g c?a.href:a.href.substr(0,c)}return b},fj=function(a){var b=I.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||xb("TAGGING",1),c="/"+c);var d=b.hostname.replace(Zi,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},gj=function(a){function b(n){var p=n.split("=")[0];return 0>d.indexOf(p)?n: p+"=0"}function c(n){return n.split("&").map(b).filter(function(p){return void 0!==p}).join("&")}var d="gclid dclid gbraid wbraid gclaw gcldc gclha gclgf gclgb _gl".split(" "),e=fj(a),f=a.split(/[?#]/)[0],g=e.search,h=e.hash;"?"===g[0]&&(g=g.substring(1));"#"===h[0]&&(h=h.substring(1));g=c(g);h=c(h);""!==g&&(g="?"+g);""!==h&&(h="#"+h);var l=""+f+g+h;"/"===l[l.length-1]&&(l=l.substring(0,l.length-1));return l},hj=function(a){var b=fj(z.location.href),c=dj(b,"host",!1);if(c&&c.match($i)){var d=dj(b, "path").split(a+"=");if(1 =a.length)return a;var c=a.filter(b);return 0==c.length?a:c},ij=function(a){var b;if(a===I.body)b="body";else{var c;if(a.id)c="#"+a.id;else{var d;if(a.parentElement){var e;a:{var f=a.parentElement;if(f){for(var g=0;g :nth-child("+e+ ")"}else d="" ;c=d}b=c}return b},rj=function(a){for(var b=[],c=0;cd;d++){var e=c[d];if(!(0 <=sj.indexOf(e.tagName.toUpperCase()))&&e.children instanceof HTMLCollection){for(var f=!1,g=0;gg;g++)if(!(0 <=tj.indexOf(e.children[g].tagName.toUpperCase()))){f=!0;break}(!f||V(114)&&-1!==uj.indexOf(e.tagName))&&a.push(e)}}return{elements:a,status:1E4Wa()-c.timestamp)return c.result;var d=vj(),e=d.status, f=[],g,h,l=[];if(!V(114)){if(a.Wa&&a.Wa.email){var n=rj(d.elements);f=pj(n,a&&a.jd);g=oj(f);10 >21:b;return b};var gl=function(a,b,c){for(var d=[],e=b.split(";"),f=0;fd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))},dm=/[?&]($|#)/,em=function(a,b,c){for(var d,e=a.search(bm),f=0,g,h=[];0<=(g=am(a,f,b,e));)h.push(a.substring(f, g)),f=Math.min(a.indexOf("&",g)+1||e,e);h.push(a.slice(f));d=h.join("").replace(dm,"$1");var l,n=null!=c?"="+encodeURIComponent(String(c)):"";var p=b+n;if(p){var q,r=d.indexOf("#");0>r&&(r=d.length);var t=d.indexOf("?"),u;0>t||t>r?(t=r,u=""):u=d.substring(t+1,r);q=[d.slice(0,t),u,d.slice(r)];var v=q[1];q[1]=p?v?v+"&"+p:p:v;l=q[0]+(q[1]?"?"+q[1]:"")+q[2]}else l=d;return l};var fm=function(a){try{var b;if(b=!!a&&null!=a.location.href)a:{try{fk(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}},gm=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)};function hm(a){if(!a||!I.head)return null;var b=im("META");I.head.appendChild(b);b.httpEquiv="origin-trial";b.content=a;return b} var jm=function(){if(z.top==z)return 0;var a=z.location.ancestorOrigins;return a?a[a.length-1]==z.location.origin?1:2:fm(z.top)?1:2},im=function(a,b){b=void 0===b?document:b;return b.createElement(String(a).toLowerCase())};function km(a,b,c,d){d=void 0===d?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=im("IMG",a.document);if(c){var f=function(){if(c){var g=a.google_image_requests,h=Bb(g,e);0<=h&&Array.prototype.splice.call(g,h,1)}e.removeEventListener&&e.removeEventListener("load",f,!1);e.removeEventListener&&e.removeEventListener("error",f,!1)};Wl(e,"load",f);Wl(e,"error",f)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)} var Dm=function(a){var b;b=void 0===b?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=tcfe";gm(a,function(d,e){if(d||0===d)c+="&"+e+"="+encodeURIComponent(""+d)});lm(c,b)},lm=function(a,b){var c=window,d;b=void 0===b?!1:b;d=void 0===d?!1:d;if(c.fetch){var e={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"};d&&(e.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?e.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}: e.headers={"Attribution-Reporting-Eligible":"event-source"});c.fetch(a,e)}else km(c,a,void 0===b?!1:b,void 0===d?!1:d)};var Em=function(){};var Fm=function(a){void 0!==a.addtlConsent&&"string"!==typeof a.addtlConsent&&(a.addtlConsent=void 0);void 0!==a.gdprApplies&&"boolean"!==typeof a.gdprApplies&&(a.gdprApplies=void 0);return void 0!==a.tcString&&"string"!==typeof a.tcString||void 0!==a.listenerId&&"number"!==typeof a.listenerId?2:a.cmpStatus&&"error"!==a.cmpStatus?0:3},Gm=function(a,b){b=void 0===b?{}:b;this.m=a;this.h=null;this.K={};this.rb=0;var c;this.R=null!=(c=b.rm)?c:500;var d;this.D=null!=(d=b.Om)?d:!1;this.B=null};ra(Gm,Em); Gm.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.D},d=il(function(){return a(c)}),e=0;-1!==this.R&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.R));var f=function(g,h){clearTimeout(e);g?(c=g,c.internalErrorState=Fm(c),c.internalBlockOnErrors=b.D,h&&0===c.internalErrorState||(c.tcString="tcunavailable",h||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{Hm(this,"addEventListener",f)}catch(g){c.tcString= "tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};Gm.prototype.removeEventListener=function(a){a&&a.listenerId&&Hm(this,"removeEventListener",null,a.listenerId)}; var Jm=function(a,b,c){var d;d=void 0===d?"755":d;var e;a:{if(a.publisher&&a.publisher.restrictions){var f=a.publisher.restrictions[b];if(void 0!==f){e=f[void 0===d?"755":d];break a}}e=void 0}var g=e;if(0===g)return!1;var h=c;2===c?(h=0,2===g&&(h=1)):3===c&&(h=1,1===g&&(h=0));var l;if(0===h)if(a.purpose&&a.vendor){var n=Im(a.vendor.consents,void 0===d?"755":d);l=n&&"1"===b&&a.purposeOneTreatment&&"CH"===a.publisherCC?!0:n&&Im(a.purpose.consents,b)}else l=!0;else l=1===h?a.purpose&&a.vendor?Im(a.purpose.legitimateInterests, b)&&Im(a.vendor.legitimateInterests,void 0===d?"755":d):!0:!0;return l},Im=function(a,b){return!(!a||!a[b])},Hm=function(a,b,c,d){c||(c=function(){});if("function"===typeof a.m.__tcfapi){var e=a.m.__tcfapi;e(b,2,c,d)}else if(Km(a)){Lm(a);var f=++a.rb;a.K[f]=c;if(a.h){var g={};a.h.postMessage((g.__tcfapiCall={command:b,version:2,callId:f,parameter:d},g),"*")}}else c({},!1)},Km=function(a){if(a.h)return a.h;var b;a:{for(var c=a.m,d=0;50>d;++d){var e;try{e=!(!c.frames||!c.frames.__tcfapiLocator)}catch(h){e= !1}if(e){b=c;break a}var f;b:{try{var g=c.parent;if(g&&g!=c){f=g;break b}}catch(h){}f=null}if(!(c=f))break}b=null}a.h=b;return a.h},Lm=function(a){a.B||(a.B=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).__tcfapiReturn;a.K[c.callId](c.returnValue,c.success)}catch(d){}},Wl(a.m,"message",a.B))},Mm=function(a){if(!1===a.gdprApplies)return!0;void 0===a.internalErrorState&&(a.internalErrorState=Fm(a));return"error"===a.cmpStatus||0!==a.internalErrorState?a.internalBlockOnErrors? (Dm({e:String(a.internalErrorState)}),!1):!0:"loaded"!==a.cmpStatus||"tcloaded"!==a.eventStatus&&"useractioncomplete"!==a.eventStatus?!1:!0};var Nm={1:0,3:0,4:0,7:3,9:3,10:3},Om=Vl(' ',500);function Pm(){var a=Mh.tcf||{};return Mh.tcf=a} var Vm=function(){var a=Pm(),b=new Gm(z,{rm:-1});Qm(b)&&Rm()&&P(124);if(!Rm()&&!a.active&&Qm(b)){a.active=!0;a.Sf={};Sm();a.tcString="tcunavailable";try{b.addEventListener(function(c){if(0!==c.internalErrorState)Tm(a),Um(a);else{var d;a.gdprApplies=c.gdprApplies;if(!1===c.gdprApplies){var e={},f;for(f in Nm)Nm.hasOwnProperty(f)&&(e[f]=!0);d=e;b.removeEventListener(c)}else if("tcloaded"===c.eventStatus||"useractioncomplete"===c.eventStatus||"cmpuishown"===c.eventStatus){var g={},h;for(h in Nm)if(Nm.hasOwnProperty(h))if("1"=== h){var l,n=c,p=!0;p=void 0===p?!1:p;l=Mm(n)?!1===n.gdprApplies||"tcunavailable"===n.tcString||void 0===n.gdprApplies&&!p||"string"!==typeof n.tcString||!n.tcString.length?!0:Jm(n,"1",0):!1;g["1"]=l}else g[h]=Jm(c,h,Nm[h]);d=g}d&&(a.tcString=c.tcString||"tcempty",a.Sf=d,Um(a))}})}catch(c){Tm(a),Um(a)}}};function Tm(a){a.type="e";a.tcString="tcunavailable"}function Sm(){var a={},b=(a.ad_storage="denied",a.wait_for_update=Om,a);Sk(b)} function Qm(a){return"function"===typeof z.__tcfapi||"function"===typeof a.m.__tcfapi||null!=Km(a)?!0:!1}var Rm=function(){return!0!==z.gtag_enable_tcf_support};function Um(a){var b={},c=(b.ad_storage=a.Sf["1"]?"granted":"denied",b);Tk(c,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:Wm()})} var Wm=function(){var a=Pm();return a.active?a.tcString||"":""},Xm=function(){var a=Pm();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},Ym=function(a){if(!Nm.hasOwnProperty(String(a)))return!0;var b=Pm();return b.active&&b.Sf?!!b.Sf[String(a)]:!0};var Zm=function(a){var b=String(a[re.Sb]||"").replace(/_/g,"");0===b.indexOf("cvt")&&(b="cvt");return b},$m=0<=z.location.search.indexOf("?gtm_latency=")||0<=z.location.search.indexOf(">m_latency=");var an={sampleRate:"0.005000",Oj:"",Nj:Number("5"),Tm:Number("")},bn=[];function cn(a){bn.push(a)}var dn=!1,en;if(!(en=$m)){var fn=Math.random(),gn=an.sampleRate;en=fnWa()-nn.B[nn.h%nn.m]);if(a||0>=on--)P(1),ln[kn]=!0;else{var b=nn.h++%nn.m;nn.B[b]=Wa();var c=pn(!0);tc(c);if(dn){var d=c.replace("/a?","/td?");tc(d)}rn=dn=!1}}}var rn=!1;function sn(a){ln[a]||(a!==kn&&(qn(),kn=a),rn=!0,mn||(mn=z.setTimeout(qn,500)),2022<=pn().length&&qn())}var tn=Ma();function un(){tn=Ma()}function vn(){return["&v=3&t=t","&pid="+tn].join("")};var wn=void 0;function xn(a){var b="";return b};var yn=function(a){for(var b=[],c=0,d=0;de?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b};Wb();Yl()||Tb("iPod");Tb("iPad");!Tb("Android")||Xb()||Wb()||Vb()||Tb("Silk");Xb();!Tb("Safari")||Xb()||(Ub()?0:Tb("Coast"))||Vb()||(Ub()?0:Tb("Edge"))||(Ub()?Sb("Microsoft Edge"):Tb("Edg/"))||(Ub()?Sb("Opera"):Tb("OPR"))||Wb()||Tb("Silk")||Tb("Android")||Zl();var zn={},An=null,Bn=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}var f=4;void 0===f&&(f=0);if(!An){An={};for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),h=["+/=","+/","-_=","-_.","-_"],l=0;5>l;l++){var n=g.concat(h[l].split(""));zn[l]=n;for(var p=0;p>2],D=r[(x&3)<<4|y>>4],E=r[(y&15)<<2|A>>6],G=r[A&63];t[w++]=""+B+D+E+G}var H=0,N=u;switch(b.length-v){case 2:H=b[v+1],N=r[(H&15)<<2]||u;case 1:var Q=b[v];t[w]=""+r[Q>>2]+r[(Q&3)<<4|H>>4]+N+u}return t.join("")};var Cn="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function Dn(a){var b;return null!=(b=a.google_tag_data)?b:a.google_tag_data={}}function En(){var a=z.google_tag_data,b;if(null!=a&&a.uach){var c=a.uach,d=Object.assign({},c);c.fullVersionList&&(d.fullVersionList=c.fullVersionList.slice(0));b=d}else b=null;return b}function Fn(){var a,b;return null!=(b=null==(a=z.google_tag_data)?void 0:a.uach_promise)?b:null} function Gn(a){var b,c;return"function"===typeof(null==(b=a.navigator)?void 0:null==(c=b.userAgentData)?void 0:c.getHighEntropyValues)}function Hn(){var a=z;if(!Gn(a))return null;var b=Dn(a);if(b.uach_promise)return b.uach_promise;var c=a.navigator.userAgentData.getHighEntropyValues(Cn).then(function(d){null!=b.uach||(b.uach=d);return d});return b.uach_promise=c}; var In,Jn=function(){if(Gn(z)&&(In=Wa(),!Fn())){var a=Hn();a&&(a.then(function(){P(95);}),a.catch(function(){P(96)}))}},Ln=function(a){var b=Kn.xm,c=function(g,h){try{a(g,h)}catch(l){}},d=En();if(d)c(d);else{var e=Fn();if(e){b= Math.min(Math.max(isFinite(b)?b:0,0),1E3);var f=z.setTimeout(function(){c.Ce||(c.Ce=!0,P(106),c(null,Error("Timeout")))},b);e.then(function(g){c.Ce||(c.Ce=!0,P(104),z.clearTimeout(f),c(g))}).catch(function(g){c.Ce||(c.Ce=!0,P(105),z.clearTimeout(f),c(null,g))})}else c(null)}},Mn=function(a,b){a&&(b.m[R.g.Wd]=a.architecture,b.m[R.g.Xd]=a.bitness,a.fullVersionList&&(b.m[R.g.Yd]=a.fullVersionList.map(function(c){return encodeURIComponent(c.brand||"")+";"+encodeURIComponent(c.version||"")}).join("|")), b.m[R.g.Zd]=a.mobile?"1":"0",b.m[R.g.ae]=a.model,b.m[R.g.be]=a.platform,b.m[R.g.ce]=a.platformVersion,b.m[R.g.de]=a.wow64?"1":"0")};function Nn(a,b,c,d){var e,f=Number(null!=a.Eb?a.Eb:void 0);0!==f&&(e=new Date((b||Wa())+1E3*(f||7776E3)));return{path:a.path,domain:a.domain,flags:a.flags,encode:!!c,expires:e,Gb:d}};var On;var Sn=function(){var a=Pn,b=Qn,c=Rn(),d=function(g){a(g.target||g.srcElement||{})},e=function(g){b(g.target||g.srcElement||{})};if(!c.init){uc(I,"mousedown",d);uc(I,"keyup",d);uc(I,"submit",e);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},Tn=function(a,b,c,d,e){var f={callback:a,domains:b,fragment:2===c,placement:c,forms:d,sameHost:e};Rn().decorators.push(f)},Un=function(a,b,c){for(var d=Rn().decorators,e={},f=0;ff;f++){for(var g=f,h=0;8>h;h++)g=g&1?g>>>1^3988292384:g>>>1;e[f]=g}d=e}On=d;for(var l=4294967295,n=0;n>>8^On[(l^c.charCodeAt(n))&255];return((l^-1)>>>0).toString(36)} function bo(){return function(a){var b=fj(z.location.href),c=b.search.replace("?",""),d=aj(c,"_gl",!1,!0)||"";a.query=co(d)||{};var e=dj(b,"fragment").match(Zn("_gl"));a.fragment=co(e&&e[3]||"")||{}}}function eo(a,b){var c=Zn(a).exec(b),d=b;if(c){var e=c[2],f=c[4];d=c[1];f&&(d=d+e+f)}return d} var fo=function(a,b){b||(b="_gl");var c=Yn.exec(a);if(!c)return"";var d=c[1],e=eo(b,(c[2]||"").slice(1)),f=eo(b,(c[3]||"").slice(1));e.length&&(e="?"+e);f.length&&(f="#"+f);return""+d+e+f},go=function(a){var b=bo(),c=Rn();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(Za(d,e.query),a&&Za(d,e.fragment));return d},co=function(a){try{var b=ho(a,3);if(void 0!==b){for(var c={},d=b?b.split("*"):[],e=0;e+1e;++e){var f=Vn.exec(d);if(f){c=f;break a}d=decodeURIComponent(d)}c=void 0}var g=c;if(g&&"1"===g[1]){var h=g[3],l;a:{for(var n=g[2],p=0;pf.length||!b&&3!==f.length)&&Number(f[1])){d[c[e].Vh]||(d[c[e].Vh]=[]);var g={version:f[0],timestamp:1E3*Number(f[1]),fa:f[2]};b&&3p){n=!0;break b}n=!1}if(!n){var t=Nn(b,l,!0);t.Gb="ad_storage";vl(g,h,t)}}}}So(Qo(c.gclid,c.gclsrc),!1,b)})},Uo=function(a,b){var c=Ho[a];if(void 0!==c)return b+c},Vo=function(a){return 0!==Xo(a.split(".")).length?1E3*(Number(a.split(".")[1])|| 0):0};function Mo(a){var b=Xo(a.split("."));return 0===b.length?null:{version:b[0],fa:b[2],timestamp:1E3*(Number(b[1])||0),labels:b.slice(3)}}function Xo(a){return 3>a.length||"GCL"!==a[0]&&"1"!==a[0]||!/^\d+$/.test(a[1])||!Go.test(a[2])?[]:a} var Yo=function(a,b,c,d,e){if(Ka(b)&&jl(z)){var f=Po(e),g=function(){for(var h={},l=0;lb};var jp=/[A-Z]+/,kp=/\s/,lp=function(a,b){if(k(a)){a=Ta(a);var c=a.indexOf("-");if(!(0>c)){var d=a.substring(0,c);if(jp.test(d)){var e=a.substring(c+1),f;if(b&&V(120)){var g=function(n){var p=n.indexOf("/");return 0>p?[n]:[n.substring(0,p),n.substring(p+1)]};f=g(e);if("DC"===d&&2===f.length){var h=g(f[1]);2===h.length&&(f[1]=h[0],f.push(h[1]))}}else{f=e.split("/");for(var l=0;lq;q++){var r=p[q].src;if(r){r=r.toLowerCase();if(0===r.indexOf(l)){f=3;break a}1===n&&0===r.indexOf(h)&&(n=2)}}f=n}else f=e;return(2===f||d||"http:"!=z.location.protocol?a:b)+c};var Ap=function(a,b,c){this.target=a;this.eventName=b;this.h=c;this.m={};this.metadata=K(c.eventMetadata||{});this.isAborted=!1};Ap.prototype.copyToHitData=function(a,b){var c=W(this.h,a);void 0!==c?this.m[a]=c:void 0!==b&&(this.m[a]=b)};var Bp=function(a,b,c){var d=Oi(a.target.ba);return d&&d.hasOwnProperty(b)?d[b]:c};function Cp(a){return{getDestinationId:function(){return a.target.ba},getEventName:function(){return a.eventName},setEventName:function(b){a.eventName=b},getHitData:function(b){return a.m[b]},setHitData:function(b,c){a.m[b]=c},setHitDataIfNotDefined:function(b,c){void 0===a.m[b]&&(a.m[b]=c)},copyToHitData:function(b,c){a.copyToHitData(b,c)},getMetadata:function(b){return a.metadata[b]},setMetadata:function(b,c){a.metadata[b]=c},isAborted:function(){return a.isAborted},abort:function(){a.isAborted= !0},getFromEventContext:function(b){return W(a.h,b)},Nf:function(){return a},getHitKeys:function(){return Object.keys(a.m)}}};var Ep=function(a){var b=Dp[a.target.ba];if(!a.isAborted&&b)for(var c=Cp(a),d=0;dWa()-d){xb("TAGGING",9);return}}else try{if(50<=I.querySelectorAll('iframe[allow="join-ad-interest-group" ][data-tagging-id*="-" ] ').length){xb("TAGGING",10);return}}catch(e){}sc(a,void 0,{allow:"join-ad-interest-group"},{taggingId:b,loadTime:Wa()},c)}function xq(){return"https://td.doubleclick.net"};var yq=RegExp("^UA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*(?:%3BUA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*)*$"),zq=/^~?[\w-]+(?:\.~?[\w-]+)*$/,Aq=/^\d+\.fls\.doubleclick\.net$/,Bq=/;gac=([^;?]+)/,Cq=/;gacgb=([^;?]+)/,Dq=/;gclaw=([^;?]+)/,Eq=/;gclgb=([^;?]+)/; function Fq(a,b){if(Aq.test(I.location.host)){var c=I.location.href.match(b);return c&&2==c.length&&c[1].match(yq)?decodeURIComponent(c[1]):""}var d=[],e;for(e in a){for(var f=[],g=a[e],h=0;hc.indexOf(h))if(l&&0c.indexOf(l[t])){P(11);r=!1;break a}}else{r=!1;break a}r=!0}n=r}var u=!1;if(d){var v=0<=e.indexOf(h);if(v)u=v;else{var w=Oa(e,l||[]);w&&P(10);u=w}}var x=!n||u;x||!(0<=l.indexOf("sandboxedScripts"))||c&&-1!==c.indexOf("sandboxedScripts")||(x=Oa(e,Ps));return f[h]=x}},Rs=!1;var Qs=function(){return Ms.test(z.location&&z.location.hostname)};var Ts="",Us=[];function Vs(a){var b="";Ts&&(b="&dl="+encodeURIComponent(Ts));0ft){ft++;try{I.documentElement.doScroll("left"),ht()}catch(a){z.setTimeout(it,50)}}}var jt=function(a){et?a():gt.push(a)};var lt=function(a,b,c){return{entityType:a,indexInOriginContainer:b,nameInOriginContainer:c,originContainerId:L.C}};function mt(a,b){if(data.entities&&data.entities[a])return data.entities[a][b]};var ot=function(a,b){this.h=!1;this.D=[];this.K={tags:[]};this.R=!1;this.m=this.B=0;nt(this,a,b)},pt=function(a,b,c,d){if(Ph.hasOwnProperty(b)||"__zone"===b)return-1;var e={};Vc(d)&&(e=K(d,e));e.id=c;e.status="timeout";return a.K.tags.push(e)-1},qt=function(a,b,c,d){var e=a.K.tags[b];e&&(e.status=c,e.executionTime=d)},rt=function(a){if(!a.h){for(var b=a.D,c=0;c=a.B&&rt(a)})},tt=function(a){a.R=!0;a.m>=a.B&&rt(a)};var ut={},wt=function(){return z[vt()]},xt=!1; function vt(){return z.GoogleAnalyticsObject||"ga"} var Bt=function(a){},Ct=function(a,b){return function(){var c=wt(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),h=f.get("hitCallback"),l=0>g.indexOf("&tid="+b);l&&(f.set("hitPayload",g.replace(/&tid=UA-[0-9]+-[0-9]+/,"&tid="+b),!0),f.set("hitCallback",void 0,!0));e(f);l&&(f.set("hitPayload", g,!0),f.set("hitCallback",h,!0),f.set("_x_19",void 0,!0),e(f))})}}};var Ht={},It={};function Jt(a,b){if(hn){var c;c=b.match(/^(gtm|gtag)\./)?encodeURIComponent(b):"*";Ht[a]="&e="+c+"&eid="+a;sn(a)}}function Kt(a){var b=a.eventId,c=a.Xb;if(!Ht[b])return"";var d=It[b]?"":"&es=1";d+=Ht[b];c&&(It[b]=!0);return d};var Lt={};function Mt(a,b){hn&&(Lt[a]=Lt[a]||{},Lt[a][b]=(Lt[a][b]||0)+1)}function Nt(a){for(var b=a.eventId,c=a.Xb,d=Object.entries(Lt[b]||{}),e=[],f=0;fe?1:dh?1:ga.length)&&k(a[1])){var e={};if(2E.indexOf(A)&&E.push(A)}}else{Bv(f.id);var G=f.id,H=e[R.g.Pd]||"default";H=H.toString().split(",");for(var N=0;NQ.indexOf(G)&&Q.push(G)}}delete e[R.g.Pd];var da=b.eventMetadata||{};da.hasOwnProperty("is_external_event")||(da.is_external_event=!b.fromContainerExecution);b.eventMetadata=da;delete e[R.g.mc];for(var aa=u?[f.id]:Ll(),U=0;U< aa.length;U++){var S=e,ma=K(b),ha=lp(aa[U],ma.isGtmEvent);ha&&nv.push("config",[S],ha,ma)}}}}},consent:function(a,b){if(3===a.length){P(39);var c=Gv(a,b),d=a[1];"default"===d?Sk(a[2]):"update"===d?Tk(a[2],c):"declare"===d?b.fromContainerExecution&&Rk(a[2]):"core_platform_services"===d&&Uk(a[2])}},event:function(a,b){var c=a[1];if(!(2>a.length)&&k(c)){var d;if(2jw&&(jw=u)}ow=!1}}}return!a}function yw(){if(V(70)){var a=Br(wr.H.cg,L.C);Cr(a);if(zw()){var b=Br(wr.H.di,L.C);if(Cr(b)){var c=Br(wr.H.eg,L.C);Dr(b,c)}}}var d=ww();try{Nv(L.C)}catch(e){}return d} function Ou(a){if(jwp)for(P(4),c.pruned=!0;this.length>p;)this.shift();var q="boolean"!==typeof n||n;return ww()&&q};var e=b.slice(0).map(function(g){return a(g)});lw.push.apply(lw,e);if(zw()){if(V(70)){var f=Br(wr.H.eg,L.C);Cr(f)}J(yw)}},zw=function(){var a=!0; a=!1;return a};function Bw(a){if(null==a||0===a.length)return!1;var b=Number(a),c=Wa();return bc-9E5}function Cw(a){return a&&0===a.indexOf("pending:")?Bw(a.substr(8)):!1};var We={};We.xf=new String("undefined");var yx=z.clearTimeout,zx=z.setTimeout,Ax=function(a,b,c,d){if(Fl()){b&&J(b)}else return qc(a,b,c,d)},Bx=function(){return new Date},Cx=function(){return z.location.href},Dx=function(a){return dj(fj(a),"fragment")},Ex=function(a){return ej(fj(a))},Fx=function(a,b){return li(a,b||2)},Gx=function(a,b,c){return b?rw(a,b,c):qw(a)},Hx=function(a,b){z[a]=b},X=function(a,b,c){b&&(void 0===z[a]||c&&!z[a])&&(z[a]=b);return z[a]}, Ix=function(a,b,c){return ml(a,b,void 0===c?!0:!!c)},Jx=function(a,b,c){return 0===vl(a,b,c)},Kx=function(a,b){if(Fl()){b&&J(b)}else sc(a,b)},Lx=function(a){return!!dx(a,"init",!1)},Mx=function(a){bx(a,"init",!0)},Nx=function(a,b,c){Zc(a)||Qt(c,b,a)}; function ky(a,b){function c(g){var h=fj(g),l=dj(h,"protocol"),n=dj(h,"host",!0),p=dj(h,"port"),q=dj(h,"path").toLowerCase().replace(/\/$/,"");if(void 0===l||"http"===l&&"80"===p||"https"===l&&"443"===p)l="web",p="default";return[l,n,p,q]}for(var d=c(String(a)),e=c(String(b)),f=0;fd.De+60*f))return a;var g=zB(b);if(!g)return a;g.Fc=d.Fc+1;var h;return null!=(h=AB(g.sessionId,g.Fc,g.md,g.De,g.zh,g.Dc,g.se))?h:b},EB=function(a,b){var c=b.metadata.cookie_options,d=CB(b,c),e=Dl(a,DB[0],c.domain,c.path),f={Gb:R.g.O,domain:c.domain,path:c.path,expires:c.Eb?new Date(Wa()+1E3*c.Eb):void 0,flags:c.flags};V(52)&& vl(d,void 0,f);return 1!==vl(d,e,f)},FB=function(a){var b=a.metadata.cookie_options,c=CB(a,b),d=Cl(c,b.domain,b.path,DB,R.g.O);if(!d||!hn&&!V(52))return d;var e=ml(c,void 0,void 0,R.g.O);if(d&&1l.length)){var n=Number(l[5]);n&&(!g||n>g)&&(g=n,f=e[h])}}f&&!f.endsWith(d)&&(P(115),V(52)&&(d=f.split(".").slice(2).join(".")))}return d},AB=function(a,b,c,d,e,f,g){if(a&&b){var h=[a,b,Qa(c),d,e];h.push(f?"1":"0"); h.push(g||"0");return h.join(".")}},DB=["GS1"],CB=function(a,b){return b.prefix+"_ga_"+a.target.J[0]},zB=function(a){if(a){var b=a.split(".");if(!(5>b.length||7b.length&&P(67);var c=Number(b[1]),d=Number(b[3]),e=Number(b[4]||0);c||P(118);d||P(119);isNaN(e)&&P(120);if(!V(74)||c&&d&&!isNaN(e))return{sessionId:b[0],Fc:c,md:!!Number(b[2]),De:d,zh:e,Dc:"1"===b[5],se:"0"!==b[6]?b[6]:void 0}}}},GB=function(a){return AB(a.m[R.g.jb],a.m[R.g.Ud],a.m[R.g.Td],Math.floor(a.metadata.event_start_timestamp_ms/ 1E3),a.metadata.join_timer_sec||0,!!a.metadata[R.g.ef],a.m[R.g.Xc])}; var HB=function(a){var b=W(a.h,R.g.za),c=a.h.B[R.g.za];if(c===b)return c;var d=K(b);c&&c[R.g.T]&&(d[R.g.T]=(d[R.g.T]||[]).concat(c[R.g.T]));return d},IB=function(a,b){var c=go(!0);return"1"!==c._up?{}:{clientId:c[a],Wf:c[b]}},JB=function(a,b,c){var d=go(!0),e=d[b];e&&(uB(a,e,2),xB(e,a));var f=d[c];f&&EB(f,a);return{clientId:e,Wf:f}},KB=!1,LB=function(a){var b=HB(a)||{},c=a.metadata.cookie_options,d=c.prefix+"_ga",e=CB(a,c),f={};po(b[R.g.qc],!!b[R.g.T])&&(f=JB(a,d,e),f.clientId&&f.Wf&&(KB=!0));b[R.g.T]&& mo(function(){var g={},h=vB(a);h&&(g[d]=h);var l=FB(a);l&&(g[e]=l);var n=ml("FPLC",void 0,void 0,R.g.O);n.length&&(g._fplc=n[0]);return g},b[R.g.T],b[R.g.Ob],!!b[R.g.Ab]);return f},NB=function(a){if(!W(a.h,R.g.kb))return{};var b=a.metadata.cookie_options,c=b.prefix+"_ga",d=CB(a,b);no(function(){var e;if(Ak("analytics_storage"))e={};else{var f={};e=(f._up="1",f[c]=a.m[R.g.cb],f[d]=GB(a),f)}return e},1);return!Ak("analytics_storage")&&MB()?IB(c,d):{}},MB=function(){var a=cj(z.location,"host"),b=cj(fj(I.referrer), "host");return a&&b?a===b||0<=a.indexOf("."+b)||0<=b.indexOf("."+a)?!0:!1:!1},OB=function(a){if(!a)return a;var b=String(a);b=fo(b);return b=fo(b,"_ga")};var PB=function(){var a=Wa(),b=a+864E5,c=20,d=5E3;return function(){var e=Wa();e>=b&&(b=e+864E5,d=5E3);if(1>d)return!1;c=Math.min(c+(e-a)/1E3*5,20);a=e;if(1>c)return!1;d--;c--;return!0}};var QB=function(){var a=!0;Ym(7)&&Ym(9)&&Ym(10)||(a=!1);return a},RB=function(){var a=!0;Ym(3)&&Ym(4)||(a=!1);return a}; var SB=function(a,b){Dk()&&(a.gcs=Wk(),V(106)&&(a.gcd=$k()),b.metadata.is_consent_update&&(a.gcu="1"))},VB=function(a){if(a.metadata.is_merchant_center)return"https://www.merchant-center-analytics.goog/mc/collect";var b=Ds(Fs(a.h),"/g/collect");if(b)return b;var c=Bp(a,R.g.ib,W(a.h,R.g.ib));c=c||eB(a);var d=W(a.h,R.g.vb);return c&&!Gi()&&!1!==d&&QB()&&Ak(R.g.F)&&Ak(R.g.O)?TB():UB()}, WB=!1;WB=!0;var XB={};XB[R.g.cb]="cid";XB[R.g.ff]="_fid";XB[R.g.yg]="_geo";XB[R.g.yb]="gdid";XB[R.g.Qd]="ir";XB[R.g.ya]="ul";XB[R.g.ad]="_rdi";XB[R.g.Cb]="sr";XB[R.g.Qi]="tid";XB[R.g.uf]="tt";XB[R.g.vf]="ec_mode";XB[R.g.Xi]="gtm_up";XB[R.g.Wd]="uaa",XB[R.g.Xd]="uab",XB[R.g.Yd]="uafvl",XB[R.g.Zd]="uamb",XB[R.g.ae]="uam",XB[R.g.be]="uap",XB[R.g.ce]="uapv",XB[R.g.de]="uaw";var YB={};YB[R.g.Mc]="cc";YB[R.g.Nc]="ci";YB[R.g.Oc]="cm";YB[R.g.Pc]= "cn";YB[R.g.Rc]="cs";YB[R.g.Sc]="ck";YB[R.g.sa]="cu";YB[R.g.ia]="dl";YB[R.g.Fa]="dr";YB[R.g.Bb]="dt";YB[R.g.Td]="seg";YB[R.g.jb]="sid";YB[R.g.Ud]="sct";YB[R.g.Aa]="uid";V(80)&&(YB[R.g.Pb]="dp");var ZB={};ZB[R.g.Hd]="_et";ZB[R.g.xb]="edid";var $B={};$B[R.g.Mc]="cc";$B[R.g.Nc]="ci";$B[R.g.Oc]="cm";$B[R.g.Pc]="cn";$B[R.g.Rc]="cs";$B[R.g.Sc]="ck";var aC={},bC=Object.freeze((aC[R.g.oa]=1,aC)),UB=function(){var a="www";WB&&Ii()&&(a=Ii());return"https://"+a+".google-analytics.com/g/collect"},TB=function(){var a; WB&&""!==Ii()&&(a=Ii());return"https://"+(a?a+".":"")+"analytics.google.com/g/collect"},cC=function(a,b,c){var d={},e={},f={};d.v="2";d.tid=a.target.ba;eB(a)&&!Gi()&&(d._ono=1);d.gtm=Ul();d._p=sB();c&&(d.em=c);a.metadata.create_google_join&&(d._gaz=1);SB(d,a);V(109)&&(bl()&&(d.dma_cps=al()),Hi()&&(d.dma="1"));var g=a.m[R.g.yb];g&&(d.gdid=g);e.en=String(a.eventName);a.metadata.is_first_visit&& (e._fv=a.metadata.is_first_visit_conversion?2:1);a.metadata.is_new_to_site&&(e._nsi=1);a.metadata.is_session_start&&(e._ss=a.metadata.is_session_start_conversion?2:1);a.metadata.is_conversion&&(e._c=1);a.metadata.is_external_event&&(e._ee=1);if(a.metadata.is_ecommerce){var h=a.m[R.g.Z]||W(a.h,R.g.Z);if(Ka(h))for(var l=0;ll;l++)e["pr"+(l+1)]=Ef(h[l])}var n=a.m[R.g.xb];n&&(e.edid=n);var p=function(r,t){if("object"!==typeof t||!bC[r]){var u="ep."+r,v="epn."+r;r=Ia(t)?v:u;var w=Ia(t)?u: v;e.hasOwnProperty(w)&&delete e[w];e[r]=String(t)}};m(a.m,function(r,t){if(void 0!==t&&!yh.hasOwnProperty(r)){null===t&&(t="");var u;r!==R.g.Xc?u=!1:a.metadata.euid_mode_enabled?(d.ecid=t,u=!0):u=void 0;if(!u&&r!==R.g.ef){var v=t;!0===t&&(v="1");!1===t&&(v="0");v=String(v);var w;if(XB[r])w=XB[r],d[w]=v;else if(YB[r])w=YB[r],f[w]=v;else if(ZB[r])w=ZB[r],e[w]=v;else if("_"===r.charAt(0))d[r]=v;else{var x;$B[r]?x=!0:r!==R.g.Qc?x=!1:("object"!==typeof t&&p(r,t),x=!0);x||p(r,t)}}}});(function(r){fB(a)&& "object"===typeof r&&m(r||{},function(t,u){"object"!==typeof u&&(d["sst."+t]=String(u))})})(a.m[R.g.me]);var q=a.m[R.g.Qa]||{};!1!==W(a.h,R.g.X)&&RB()||(q._npa="1");V(28)&&!1===W(a.h,R.g.vb)&&(d.ngs="1");m(q,function(r,t){void 0!==t&&((null===t&&(t=""),r!==R.g.Aa||f.uid)?b[r]!==t&&(e[(Ia(t)?"upn.":"up.")+String(r)]=String(t),b[r]=t):f.uid=String(t))});return Gf.call(this,{Ra:d,Gc:f,mh:e},VB(a),fB(a))||this};ra(cC,Gf); var dC=function(a,b){return a.replace(/\$\{([^\}]+)\}/g,function(c,d){return b[d]||c})},eC=function(a){var b=a.search;return a.protocol+"//"+a.hostname+a.pathname+(b?b+"&richsstsse":"?richsstsse")},fC=function(a){var b={},c="",d=a.pathname.indexOf("/g/collect");0<=d&&(c=a.pathname.substring(0,d));b.transport_url=a.protocol+"//"+a.hostname+c;return b},gC=function(a,b){var c=new z.XMLHttpRequest;c.withCredentials=!0;var d=b?"POST":"GET",e="",f=0,g=fj(a),h=fC(g),l=eC(g);c.onprogress=function(n){if(200=== c.status){e+=c.responseText.substring(f);f=n.loaded;for(var p=dC(e,h),q=p.indexOf("\n\n");-1!==q;){var r;a:{var t=fa(p.substring(0,q).split("\n")),u=t.next().value,v=t.next().value;if(u.startsWith("event: message")&&v.startsWith("data: "))try{r=JSON.parse(v.substring(v.indexOf(":")+1));break a}catch(D){}r=void 0}var w=r;if(w){var x=w.send_pixel||[];if(Array.isArray(x))for(var y=0;ythis.m){var f=z.setTimeout,g;fB(a)?mC?(mC=!1,g=nC):g=oC:g=5E3;this.m=f.call(z,function(){return c.flush()},g)}}else{var h=Jf(d,this.D++); jC(d.m,h.Jh,h.body,d.D);var l=a.metadata.create_dc_join,n=a.metadata.create_google_join,p=!1!==W(a.h,R.g.Da),q=!1!==W(a.h,R.g.X),r={eventId:a.h.eventId,priorityId:a.h.priorityId},t={im:l,jm:n,jl:Ki(),Ik:p,Hk:q,xl:Gi(),wl:a.metadata.euid_mode_enabled,Qm:r};kC(d,t)}as(a)};lC.prototype.add=function(a){a.metadata.euid_mode_enabled&&!jB?this.R(a):this.B(a)};lC.prototype.flush=function(){if(this.h.events.length){var a=Kf(this.h,this.D++);jC(this.h.h,a.Jh,a.body,this.h.m);this.h=new Hf;0<=this.m&&(z.clearTimeout(this.m), this.m=-1)}};lC.prototype.R=function(a){var b=this,c=gB(a);c?vh(c,function(d){b.B(a,1===d.split("~").length?void 0:d)}):this.B(a)};var iC=function(a,b,c){var d=a+"?"+b;if(c)try{ic.sendBeacon&&ic.sendBeacon(d,c)}catch(e){xb("TAGGING",15)}else Ac(d)},nC=Vl(' ',500),oC=Vl(' ',5E3),mC=!0;var pC=function(a,b,c){void 0===c&&(c={});if("object"===typeof b)for(var d in b)pC(a+"."+d,b[d],c);else c[a]=b;return c},qC=function(a){if(fB(a)){var b=function(d){var e=pC(R.g.oa,d);m(e,function(f,g){a.m[f]=g})},c=W(a.h,R.g.oa);void 0!==c?b(c):b(a.metadata.user_data);a.metadata.user_data=void 0}};var rC=window,sC=document,tC=function(a){var b=rC._gaUserPrefs;if(b&&b.ioo&&b.ioo()||sC.documentElement.hasAttribute("data-google-analytics-opt-out")||a&&!0===rC["ga-disable-"+a])return!0;try{var c=rC.external;if(c&&c._gaUserPrefs&&"oo"==c._gaUserPrefs)return!0}catch(f){}for(var d=gl("AMP_TOKEN",String(sC.cookie),!0),e=0;ela.De+60*Ha&&(Ja=!0,la.sessionId=String(ha),la.Fc++,la.md=!1,la.se=void 0);if(Ja)a.metadata.is_session_start=!0,N.pl(a);else if(N.fl()>Va||a.eventName==R.g.fc)la.md=!0;a.metadata.euid_mode_enabled?W(a.h,R.g.Aa)?la.Dc=!0:(la.Dc&&(la.se=void 0),la.Dc=!1):la.Dc=!1;var db=la.se;if(a.metadata.euid_mode_enabled){var zb=W(a.h,R.g.Xc),oc=zb?1:8;zb||(zb=db,oc=4);zb||(zb=yl(),oc=7);var Ad=oc,Wt=a.metadata.enhanced_client_id_source;if(void 0===Wt|| Ad<=Wt)a.m[R.g.Xc]=zb.toString(),a.metadata.enhanced_client_id_source=Ad}Q?(a.copyToHitData(R.g.jb,la.sessionId),a.copyToHitData(R.g.Ud,la.Fc),a.copyToHitData(R.g.Td,la.md?1:0)):(a.m[R.g.jb]=la.sessionId,a.m[R.g.Ud]=la.Fc,a.m[R.g.Td]=la.md?1:0);a.metadata[R.g.ef]=la.Dc?1:0;BC(a);if(!W(a.h,R.g.oc)||!W(a.h,R.g.zb)){var Xt="",mg=I.location;if(mg){var oi=mg.pathname||"";"/"!=oi.charAt(0)&&(oi="/"+oi);Xt=mg.protocol+"//"+mg.hostname+oi+mg.search}a.copyToHitData(R.g.ia,Xt);var yF=a.copyToHitData,zF=R.g.Fa, pi;a:{var Yt=ml("_opt_expid",void 0,void 0,R.g.O)[0];if(Yt){var Zt=decodeURIComponent(Yt).split("$");if(3===Zt.length){pi=Zt[2];break a}}if(void 0!==Mh.ga4_referrer_override)pi=Mh.ga4_referrer_override;else{var $t=li("gtm.gtagReferrer."+a.target.ba);pi=$t?""+$t:I.referrer}}yF.call(a,zF,pi||void 0);a.copyToHitData(R.g.Bb,I.title);a.copyToHitData(R.g.ya,(ic.language||"").toLowerCase());var au=Pi();a.copyToHitData(R.g.Cb,au.width+"x"+au.height);V(80)&&a.copyToHitData(R.g.Pb)}a.metadata.create_dc_join= !1;a.metadata.create_google_join=!1;if(!(V(125)&&fB(a)||a.metadata.is_merchant_center||!1===W(a.h,R.g.vb))&&QB()&&Ak(R.g.F)){var qi=Bp(a,R.g.ib,W(a.h,R.g.ib));qi=qi||eB(a);(a.metadata.is_session_start||W(a.h,R.g.hf))&&(a.metadata.create_dc_join=!!qi);var bu;bu=a.metadata.join_timer_sec;qi&&0===(bu||0)&&(a.metadata.join_timer_sec=60,a.metadata.create_google_join=!0)}CC(a);Ch.hasOwnProperty(a.eventName)&& (a.metadata.is_ecommerce=!0,a.copyToHitData(R.g.Z),a.copyToHitData(R.g.sa));a.copyToHitData(R.g.uf);for(var cu=W(a.h,R.g.jf)||[],mm=0;mmG.length){if(0===G.length)continue;break a}y&&y[E]&&y[E].length&&ff(G,y[E]);try{sF.execute(G),V(119)&&hn&&50===G[0]&&D.push(G[1])}catch(Ad){}}V(119)&&(Ze=D)}if(void 0!==u)for(var H=["sandboxedScripts"],N=0;N