// Copyright 2012 Google Inc. All rights reserved. (function(){ var data = { "resource": { "version":"1", "macros":[{"function":"__e"},{"function":"__cid"}], "tags":[{"function":"__rep","once_per_event":true,"vtp_containerId":["macro",1],"tag_id":1}], "predicates":[{"function":"_eq","arg0":["macro",0],"arg1":"gtm.js"}], "rules":[[["if",0],["add",0]]] }, "runtime":[] }; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var aa,ba=function(a){var b=0;return function(){return bb)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},xa=function(a,b){for(var c=new ua,d=0;d>2,n=(f&3)<<4|g>>4,p=(g&15)<<2|k>>6,q=k&63;e||(q=64,d||(p=64));b.push(Sa[m],Sa[n],Sa[p],Sa[q])}return b.join("")} function Wa(a){function b(m){for(;d>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=k&&(c+=String.fromCharCode(g<<6&192|k)))}};var Xa={},Ya=function(a,b){Xa[a]=Xa[a]||[];Xa[a][b]=!0},Za=function(){delete Xa.GA4_EVENT},$a=function(a){var b=Xa[a];if(!b||0===b.length)return"";for(var c=[],d=0,e=0;e"+a+""));b=b.lastChild;for(var c=[];b.firstChild;)c.push(b.removeChild(b.firstChild));return c},Qb=function(a,b,c){c=c||100;for(var d={},e=0;ec?a.href:a.href.substr(0,c)}return b},yf=function(a){var b=D.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||Ya("TAGGING",1),c="/"+c);var d=b.hostname.replace(rf,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},zf=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=yf(a),f=a.split(/[?#]/)[0],g=e.search,k=e.hash;"?"===g[0]&&(g=g.substring(1));"#"===k[0]&&(k=k.substring(1));g=c(g);k=c(k);""!==g&&(g="?"+g);""!==k&&(k="#"+k);var m=""+f+g+k;"/"===m[m.length-1]&&(m=m.substring(0,m.length-1));return m},Af=function(a){var b=yf(z.location.href),c=wf(b,"host",!1);if(c&&c.match(sf)){var d=wf(b,"path").split(a+"=");if(1>21:b;return b};var Cf=function(a,b,c){for(var d=[],e=b.split(";"),f=0;ff;f++){for(var g=f,k=0;8>k;k++)g=g&1?g>>>1^3988292384:g>>>1;e[f]=g}d=e}ag=d;for(var m=4294967295,n=0;n>>8^ag[(m^c.charCodeAt(n))&255];return((m^-1)>>>0).toString(36)} function og(){return function(a){var b=yf(z.location.href),c=b.search.replace("?",""),d=tf(c,"_gl",!0)||"";a.query=pg(d)||{};var e=wf(b,"fragment").match(lg("_gl"));a.fragment=pg(e&&e[3]||"")||{}}}function qg(a,b){var c=lg(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 rg=function(a,b){b||(b="_gl");var c=kg.exec(a);if(!c)return"";var d=c[1],e=qg(b,(c[2]||"").slice(1)),f=qg(b,(c[3]||"").slice(1));e.length&&(e="?"+e);f.length&&(f="#"+f);return""+d+e+f},sg=function(a){var b=og(),c=dg();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(Ia(d,e.query),a&&Ia(d,e.fragment));return d},pg=function(a){try{var b=tg(a,3);if(void 0!==b){for(var c={},d=b?b.split("*"):[],e=0;e+1e;++e){var f=hg.exec(d);if(f){c=f;break a}d=decodeURIComponent(d)}c=void 0}var g=c;if(g&&"1"===g[1]){var k=g[3],m;a:{for(var n=g[2],p=0;p=f)return!0;(d=d.parentElement)&&(e=z.getComputedStyle(d,null))}return!1};function Nh(){}function Oh(){};function Ph(a){for(var b=[],c=0;cd)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," "))},ti=/[?&]($|#)/,ui=function(a,b,c){for(var d,e=a.search(ri),f=0,g,k=[];0<=(g=qi(a,f,b,e));)k.push(a.substring(f, g)),f=Math.min(a.indexOf("&",g)+1||e,e);k.push(a.slice(f));d=k.join("").replace(ti,"$1");var m,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;m=q[0]+(q[1]?"?"+q[1]:"")+q[2]}else m=d;return m};var vi=function(a){try{var b;if(b=!!a&&null!=a.location.href)a:{try{Re(a.foo);b=!0;break a}catch(c){}b=!1}return b}catch(c){return!1}},wi=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)};function xi(){if(!D.head)return null;var a=yi("META");D.head.appendChild(a);a.httpEquiv="origin-trial";a.content='A727AcAeLCei/ZogJHBlJUS63SxP6AeIROo7qXrkjrxkoxBu0eSSmypAHmGYwk4HjBMQp5nxCFODzfVnUIe31AQAAAB7eyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbTo0NDMiLCJmZWF0dXJlIjoiUHJpdmFjeVNhbmRib3hBZHNBUElzIiwiZXhwaXJ5IjoxNjg4MDgzMTk5LCJpc1RoaXJkUGFydHkiOnRydWV9';return a} var zi=function(){if(z.top==z)return 0;var a=z.location.ancestorOrigins;return a?a[a.length-1]==z.location.origin?1:2:vi(z.top)?1:2},yi=function(a,b){b=void 0===b?document:b;return b.createElement(String(a).toLowerCase())};function Ai(a,b,c,d){d=void 0===d?!1:d;a.google_image_requests||(a.google_image_requests=[]);var e=yi("IMG",a.document);if(c){var f=function(){if(c){var g=a.google_image_requests,k=ab(g,e);0<=k&&Array.prototype.splice.call(g,k,1)}e.removeEventListener&&e.removeEventListener("load",f,!1);e.removeEventListener&&e.removeEventListener("error",f,!1)};li(e,"load",f);li(e,"error",f)}d&&(e.attributionSrc="");e.src=b;a.google_image_requests.push(e)} var Ci=function(a){var b;b=void 0===b?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=tcfe";wi(a,function(d,e){if(d||0===d)c+="&"+e+"="+encodeURIComponent(""+d)});Bi(c,b)},Bi=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",e.headers={"Attribution-Reporting-Eligible":"event-source"});c.fetch(a,e)}else Ai(c,a,void 0===b?!1:b,void 0===d?!1:d)};var Di=function(){};var Ei=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},Fi=function(a,b){b=void 0===b?{}:b;this.m=a;this.h=null;this.M={};this.qb=0;var c;this.V=null!=(c=b.zk)?c:500;var d;this.I=null!=(d=b.Tk)?d:!1;this.B=null};la(Fi,Di); Fi.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.I},d=Ef(function(){return a(c)}),e=0;-1!==this.V&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.V));var f=function(g,k){clearTimeout(e);g?(c=g,c.internalErrorState=Ei(c),c.internalBlockOnErrors=b.I,k&&0===c.internalErrorState||(c.tcString="tcunavailable",k||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{Gi(this,"addEventListener",f)}catch(g){c.tcString= "tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};Fi.prototype.removeEventListener=function(a){a&&a.listenerId&&Gi(this,"removeEventListener",null,a.listenerId)}; var Ii=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 k=c;2===c?(k=0,2===g&&(k=1)):3===c&&(k=1,1===g&&(k=0));var m;if(0===k)if(a.purpose&&a.vendor){var n=Hi(a.vendor.consents,void 0===d?"755":d);m=n&&"1"===b&&a.purposeOneTreatment&&"CH"===a.publisherCC?!0:n&&Hi(a.purpose.consents,b)}else m=!0;else m=1===k?a.purpose&&a.vendor?Hi(a.purpose.legitimateInterests, b)&&Hi(a.vendor.legitimateInterests,void 0===d?"755":d):!0:!0;return m},Hi=function(a,b){return!(!a||!a[b])},Gi=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(Ji(a)){Ki(a);var f=++a.qb;a.M[f]=c;if(a.h){var g={};a.h.postMessage((g.__tcfapiCall={command:b,version:2,callId:f,parameter:d},g),"*")}}else c({},!1)},Ji=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(k){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(k){}f=null}if(!(c=f))break}b=null}a.h=b;return a.h},Ki=function(a){a.B||(a.B=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).__tcfapiReturn;a.M[c.callId](c.returnValue,c.success)}catch(d){}},li(a.m,"message",a.B))},Li=function(a){if(!1===a.gdprApplies)return!0;void 0===a.internalErrorState&&(a.internalErrorState=Ei(a));return"error"===a.cmpStatus||0!==a.internalErrorState?a.internalBlockOnErrors? (Ci({e:String(a.internalErrorState)}),!1):!0:"loaded"!==a.cmpStatus||"tcloaded"!==a.eventStatus&&"useractioncomplete"!==a.eventStatus?!1:!0};var Mi={1:0,3:0,4:0,7:3,9:3,10:3},Ni=ki('',500);function Oi(){var a=le.tcf||{};return le.tcf=a} var Ui=function(){var a=Oi(),b=new Fi(z,{zk:-1});Pi(b)&&Qi()&&J(124);if(!Qi()&&!a.active&&Pi(b)){a.active=!0;a.ee={};Ri();a.tcString="tcunavailable";try{b.addEventListener(function(c){if(0!==c.internalErrorState)Si(a),Ti(a);else{var d;a.gdprApplies=c.gdprApplies;if(!1===c.gdprApplies){var e={},f;for(f in Mi)Mi.hasOwnProperty(f)&&(e[f]=!0);d=e;b.removeEventListener(c)}else if("tcloaded"===c.eventStatus||"useractioncomplete"===c.eventStatus||"cmpuishown"===c.eventStatus){var g={},k;for(k in Mi)if(Mi.hasOwnProperty(k))if("1"=== k){var m,n=c,p=!0;p=void 0===p?!1:p;m=Li(n)?!1===n.gdprApplies||"tcunavailable"===n.tcString||void 0===n.gdprApplies&&!p||"string"!==typeof n.tcString||!n.tcString.length?!0:Ii(n,"1",0):!1;g["1"]=m}else g[k]=Ii(c,k,Mi[k]);d=g}d&&(a.tcString=c.tcString||"tcempty",a.ee=d,Ti(a))}})}catch(c){Si(a),Ti(a)}}};function Si(a){a.type="e";a.tcString="tcunavailable"}function Ri(){var a={},b=(a.ad_storage="denied",a.wait_for_update=Ni,a);Sh(b)} function Pi(a){return"function"===typeof z.__tcfapi||"function"===typeof a.m.__tcfapi||null!=Ji(a)?!0:!1}var Qi=function(){return!0!==z.gtag_enable_tcf_support};function Ti(a){var b={},c=(b.ad_storage=a.ee["1"]?"granted":"denied",b);Th(c,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:Vi()})} var Vi=function(){var a=Oi();return a.active?a.tcString||"":""},Wi=function(){var a=Oi();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},Xi=function(a){if(!Mi.hasOwnProperty(String(a)))return!0;var b=Oi();return b.active&&b.ee?!!b.ee[String(a)]:!0};var Yi=function(a){var b=String(a[$b.Na]||"").replace(/_/g,"");0===b.indexOf("cvt")&&(b="cvt");return b},Zi=0<=z.location.search.indexOf("?gtm_latency=")||0<=z.location.search.indexOf(">m_latency=");var $i=["L","S","Y"],aj=["S","E"],bj={sampleRate:"0.005000",Qh:"",Ph:Number("5"),Oh:Number("")},cj;if(!(cj=Zi)){var dj=Math.random(),ej=bj.sampleRate;cj=dj=Vj--)J(1),Rj[yj]=!0;else{Uj.jk();var a=Xj(!0);Kb(a);if(pj||rj&&0>=8);b[c++]=e}var f=4;void 0===f&&(f=0);if(!tk){tk={};for(var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),k=["+/=","+/","-_=","-_.","-_"],m=0;5>m;m++){var n=g.concat(k[m].split(""));sk[m]=n;for(var p=0;p>2],C=r[(y&3)<<4|x>>4],H=r[(x&15)<<2|B>>6],I=r[B&63];t[w++]=""+A+C+H+I}var E=0,K=u;switch(b.length-v){case 2:E=b[v+1],K=r[(E&15)<<2]||u;case 1:var M=b[v];t[w]=""+r[M>>2]+r[(M&3)<<4|E>>4]+K+u}return t.join("")};var vk="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function wk(){var a;return null!=(a=z.google_tag_data)?a:z.google_tag_data={}}function xk(){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 yk(){var a,b;return null!=(b=null==(a=z.google_tag_data)?void 0:a.uach_promise)?b:null} function zk(){var a,b;return"function"===typeof(null==(a=z.navigator)?void 0:null==(b=a.userAgentData)?void 0:b.getHighEntropyValues)}function Ak(){if(!zk())return null;var a=wk();if(a.uach_promise)return a.uach_promise;var b=z.navigator.userAgentData.getHighEntropyValues(vk).then(function(c){null!=a.uach||(a.uach=c);return c});return a.uach_promise=b};var Gk=function(a){for(var b=[],c=D.cookie.split(";"),d=new RegExp("^\\s*"+(a||"_gac")+"_(UA-\\d+-\\d+)=\\s*(.+?)\\s*$"),e=0;ef.length||!b&&3!==f.length)&&Number(f[1])){d[c[e].Hf]||(d[c[e].Hf]=[]);var g={version:f[0],timestamp:1E3*Number(f[1]),aa:f[2]};b&&3p){n=!0;break b}n=!1}if(!n){var t=$f(b,m,!0);t.Xa="ad_storage";Rf(g,k,t)}}}}Vk(Tk(c.gclid,c.gclsrc),!1,b)})},Xk=function(a,b){var c=Kk[a];if(void 0!==c)return b+c},Yk=function(a){return 0!==$k(a.split(".")).length?1E3*(Number(a.split(".")[1])|| 0):0};function Pk(a){var b=$k(a.split("."));return 0===b.length?null:{version:b[0],aa:b[2],timestamp:1E3*(Number(b[1])||0),labels:b.slice(3)}}function $k(a){return 3>a.length||"GCL"!==a[0]&&"1"!==a[0]||!/^\d+$/.test(a[1])||!Jk.test(a[2])?[]:a} var al=function(a,b,c,d,e){if(ra(b)&&Ff(z)){var f=Sk(e),g=function(){for(var k={},m=0;mb};var ml=/[A-Z]+/,nl=/\s/,ol=function(a){if(h(a)){a=Da(a);var b=a.indexOf("-");if(!(0>b)){var c=a.substring(0,b);if(ml.test(c)){for(var d=a.substring(b+1).split("/"),e=0;eq;q++){var r=p[q].src;if(r){r=r.toLowerCase();if(0===r.indexOf(m)){f=3;break a}1===n&&0===r.indexOf(k)&&(n=2)}}f=n}else f=e;return(2===f||d||"http:"!=z.location.protocol?a:b)+c}; var tl=function(a,b,c){if(z[a.functionName])return b.yf&&F(b.yf),z[a.functionName];var d=sl();z[a.functionName]=d;if(a.Vd)for(var e=0;eFa()-d){Ya("TAGGING",9);return}}else try{if(50<=D.querySelectorAll('iframe[allow="join-ad-interest-group"][data-tagging-id*="-"]').length){Ya("TAGGING",10);return}}catch(e){}Jb(a,void 0,{allow:"join-ad-interest-group"},{taggingId:b,loadTime:Fa()},c)}function ym(){return Q(60)?"https://td.doubleclick.net":"https://googleads.g.doubleclick.net"};var zm=RegExp("^UA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*(?:%3BUA-\\d+-\\d+%3A[\\w-]+(?:%2C[\\w-]+)*)*$"),Am=/^~?[\w-]+(?:\.~?[\w-]+)*$/,Bm=/^\d+\.fls\.doubleclick\.net$/,Cm=/;gac=([^;?]+)/,Dm=/;gacgb=([^;?]+)/,Em=/;gclaw=([^;?]+)/,Fm=/;gclgb=([^;?]+)/; function Gm(a,b){if(Bm.test(D.location.host)){var c=D.location.href.match(b);return c&&2==c.length&&c[1].match(zm)?decodeURIComponent(c[1]):""}var d=[],e;for(e in a){for(var f=[],g=a[e],k=0;kc.indexOf(k))if(m&&0c.indexOf(m[q])){J(11);p=!1;break a}}else{p=!1;break a}p=!0}n=p}var r=!1;if(d){var t=0<=e.indexOf(k);if(t)r=t;else{var u=xa(e,m||[]);u&&J(10);r=u}}var v=!n||r;v||!(0<=m.indexOf("sandboxedScripts"))||c&&-1!==c.indexOf("sandboxedScripts")||(v=xa(e,Po));return f[k]=v}},Ro=!1; var Qo=function(){return Mo.test(z.location&&z.location.hostname)};var To={initialized:11,complete:12,interactive:13},Uo={},Vo=Object.freeze((Uo[N.g.Ga]=!0,Uo)),Wo=0<=D.location.search.indexOf("?gtm_diagnostics=")||0<=D.location.search.indexOf(">m_diagnostics="),Yo=function(a,b,c){if(fj&&"config"===a&&!(1ap){ap++;try{D.documentElement.doScroll("left"),cp()}catch(a){z.setTimeout(dp,50)}}}var ep=function(a){$o?a():bp.push(a)};var fp=function(a,b){return{entityType:1,indexInOriginContainer:a,nameInOriginContainer:b,originContainerId:S.C}};var hp=function(a,b){this.h=!1;this.I=[];this.M={tags:[]};this.V=!1;this.m=this.B=0;gp(this,a,b)},ip=function(a,b,c,d){if(oe.hasOwnProperty(b)||"__zone"===b)return-1;var e={};Yb(d)&&(e=G(d,e));e.id=c;e.status="timeout";return a.M.tags.push(e)-1},jp=function(a,b,c,d){var e=a.M.tags[b];e&&(e.status=c,e.executionTime=d)},kp=function(a){if(!a.h){for(var b=a.I,c=0;c=a.B&&kp(a)})},np=function(a){a.V=!0;a.m>=a.B&&kp(a)};var op={},pp=function(){return z.GoogleAnalyticsObject&&z[z.GoogleAnalyticsObject]},qp=!1;var rp=function(a){z.GoogleAnalyticsObject||(z.GoogleAnalyticsObject=a||"ga");var b=z.GoogleAnalyticsObject;if(z[b])z.hasOwnProperty(b);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(Ea());z[b]=c}return z[b]},sp=function(a){if(lf()){var b=pp();b(a+"require","linker");b(a+"linker:passthrough",!0)}}; function tp(){return z.GoogleAnalyticsObject||"ga"} var up=function(a){},vp=function(a,b){return function(){var c=pp(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),k=f.get("hitCallback"),m=0>g.indexOf("&tid="+b);m&&(f.set("hitPayload",g.replace(/&tid=UA-[0-9]+-[0-9]+/,"&tid="+b),!0),f.set("hitCallback",void 0,!0));e(f);m&&(f.set("hitPayload", g,!0),f.set("hitCallback",k,!0),f.set("_x_19",void 0,!0),e(f))})}}};function dq(a,b,c,d){var e=zc[a],f=eq(a,b,c,d);if(!f)return null;var g=Ic(e[$b.Xg],c,[]);if(g&&g.length){var k=g[0];f=dq(k.index,{R:f,P:1===k.nh?b.terminate:f,terminate:b.terminate},c,d)}return f} function eq(a,b,c,d){function e(){if(f[$b.Li])k();else{var w=Jc(f,c,[]),y=w[$b.Th];if(null!=y)for(var x=0;xe?1:dk?1:ga.length)&&h(a[1])){var d={};if(2r.indexOf(n)&&r.push(n)}}else{Yq(e.id);var t=e.id,u=d[N.g.Id]||"default";u=u.toString().split(",");for(var v=0;vw.indexOf(t)&&w.push(t)}}delete d[N.g.Id];var y=b.eventMetadata||{};y.hasOwnProperty("is_external_event")||(y.is_external_event=!b.fromContainerExecution);b.eventMetadata= y;delete d[N.g.Nb];for(var x=g?[e.id]:bi(),B=0;Ba.length)&&h(c)){var d;if(2Cr&&(Cr=x)}Hr=!1}}}return!a} function Qr(){if(Q(70)){var b=Cn(xn.D.pe,S.C);Dn(b);if(Rr()){var c=Cn(xn.D.Of,S.C);if(Dn(c)){var d=Cn(xn.D.se,S.C);En(c,d)}}}var e=Or();try{fr(S.C)}catch(f){}return e}function pq(a){if(Crp)for(J(4),c.pruned=!0;this.length>p;)this.shift();var q="boolean"!==typeof n||n;return Or()&&q};var e=b.slice(0).map(function(g){return a(g)});Er.push.apply(Er,e);if(Rr()){if(Q(70)){var f=Cn(xn.D.se,S.C);Dn(f)}F(Qr)}},Rr=function(){var a=!0;return a};function Tr(a){if(null==a||0===a.length)return!1;var b=Number(a),c=Fa();return bc-9E5}function Ur(a){return a&&0===a.indexOf("pending:")?Tr(a.substr(8)):!1};var Ec={};Ec.Pd=new String("undefined");var us=z.clearTimeout,vs=z.setTimeout,T=function(a,b,c,d){if(Zh()){b&&F(b)}else return Hb(a,b,c,d)},ws=function(){return new Date},xs=function(){return z.location.href},ys=function(a){return wf(yf(a),"fragment")},zs=function(a){return xf(yf(a))},As=function(a,b){return Le(a,b||2)},Bs=function(a,b,c){var d;b?(a.eventCallback=b,c&&(a.eventTimeout=c),d=Jr(a)):d=Jr(a);return d},Cs=function(a,b){z[a]=b},U=function(a,b,c){b&& (void 0===z[a]||c&&!z[a])&&(z[a]=b);return z[a]},Ds=function(a,b,c){return If(a,b,void 0===c?!0:!!c)},Es=function(a,b,c){return 0===Rf(a,b,c)},Fs=function(a,b){if(Zh()){b&&F(b)}else Jb(a,b)},Gs=function(a){return!!as(a,"init",!1)},Hs=function(a){Zr(a,"init",!0)},Is=function(a,b,c){fj&&(Zb(a)||rk(c,b,a))}; function ft(a,b){function c(g){var k=yf(g),m=wf(k,"protocol"),n=wf(k,"host",!0),p=wf(k,"port"),q=wf(k,"path").toLowerCase().replace(/\/$/,"");if(void 0===m||"http"===m&&"80"===p||"https"===m&&"443"===p)m="web",p="default";return[m,n,p,q]}for(var d=c(String(a)),e=c(String(b)),f=0;f=Number(c);case "_gt":return Number(b)>Number(c); case "_lc":return 0<=String(b).split(",").indexOf(String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)t.indexOf(N.g.Mb)&&(k.cookieName=y+"_ga");Q(96)&&aw[v]&&(c.m.hasOwnProperty(v)||b===N.g.oa&& c.h.hasOwnProperty(v))&&(r=!1)}}Q(96)&&r&&(f["&jsscut"]="1");!1!==d(N.g.gi)&&!1!==d(N.g.fb)&&du()||(g.allowAdFeatures=!1);!1!==d(N.g.W)&&eu()||(g.allowAdPersonalizationSignals=!1);!c.F&&d(N.g.kb)&&(k._useUp=!0);if(c.F){k.name=k.name||e.gtmTrackerName;var C=g.hitCallback;g.hitCallback=function(){pa(C)&&C();c.R()}}else{Mv(k,"cookieDomain","auto");Mv(g,"forceSSL",!0);Mv(e,"eventCategory",rw(b));tw[b]&&Mv(f,"nonInteraction",!0);"login"===b||"sign_up"===b||"share"===b?Mv(e,"eventLabel",d(N.g.pg)):"search"=== b||"view_search_results"===b?Mv(e,"eventLabel",d(N.g.Bi)):"select_content"===b&&Mv(e,"eventLabel",d(N.g.ji));var H=e[N.g.ra]||{},I=H[N.g.Qb];I||0!=I&&H[N.g.N]?k.allowLinker=!0:!1===I&&Mv(k,"useAmpClientId",!1);f.hitCallback=c.R;k.name=a}lf()&&(g["&gcs"]=Vh(),Uh(N.g.O)||(k.storage="none"),Uh(N.g.H)||(g.allowAdFeatures=!1,k.storeGac=!1));var E=d(N.g.ma)||d(N.g.vb),K=d(N.g.Fd);E&&(c.F||(k[N.g.vb]=E),k._cd2l=!0);K&&!c.F&&(k[N.g.Fd]=K);e.fieldsToSend=f;e.fieldsToSet=g;e.createOnlyFields=k;return e},Nv= function(a){var b=a.gtmEcommerceData;if(!b)return null;var c={};b.currencyCode&&(c.ef=b.currencyCode);if(b.impressions){c.action="impressions";var d=b.impressions;c.sh="impressions"===b.translateIfKeyEquals?Xv(d):d}if(b.promoView){c.action="promo_view";var e=b.promoView.promotions;c.Wc="promoView"===b.translateIfKeyEquals?Xv(e):e}if(b.promoClick){c.action="promo_click";var f=b.promoClick.promotions;c.Wc="promoClick"===b.translateIfKeyEquals?Xv(f):f;c.Oa=b.promoClick.actionField;return c}for(var g in b)if(b.hasOwnProperty(g)&& "translateIfKeyEquals"!==g&&"impressions"!==g&&"promoView"!==g&&"promoClick"!==g&&"currencyCode"!==g){c.action=g;var k=b[g].products;c.Db="products"===b.translateIfKeyEquals?Xv(k):k;c.Oa=b[g].actionField;break}return Object.keys(c).length?c:null},Ov=function(a,b){function c(u){return{id:d(N.g.Ma),affiliation:d(N.g.oi),revenue:d(N.g.ja),tax:d(N.g.cg),shipping:d(N.g.zd),coupon:d(N.g.ri),list:d(N.g.ze)||d(N.g.ye)||u}}for(var d=function(u){return R(b,u)},e=d(N.g.ba),f,g=0;e&&g