// 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 h,aa=function(a){var b=0;return function(){return bb)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},va=function(a,b){for(var c=new ua,d=0;d"+a+"");void 0!==c.tagName&&Ya(c);c.innerHTML=Wa(d);b=b.lastChild;for(var e=[];b.firstChild;)e.push(b.removeChild(b.firstChild));return e},ob=function(a,b,c){c=c||100;for(var d={},e=0;ed&&Q(66);td=c},vd=function(a){var b=fd(a);return void 0!=b?b:!0},wd=function(){return"G1"+qd(fd)},xd=function(a,b){nd(a,b)}, yd=function(a,b){md(a,b)};var Ad=function(a){return zd?H.querySelectorAll(a):null},Bd=function(a,b){if(!zd)return null;if(Element.prototype.closest)try{return a.closest(b)}catch(e){return null}var c=Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector,d=a;if(!H.documentElement.contains(d))return null;do{try{if(c.call(d,b))return d}catch(e){break}d=d.parentElement||d.parentNode}while(null!==d&&1===d.nodeType); return null},Cd=!1;if(H.querySelectorAll)try{var Dd=H.querySelectorAll(":root");Dd&&1==Dd.length&&Dd[0]==H.documentElement&&(Cd=!0)}catch(a){}var zd=Cd;var Yd={},T=G.google_tag_manager=G.google_tag_manager||{},Zd=Math.random();Yd.Jd="5n0";Yd.Z="dataLayer";Yd.Gh="ChAI8OGslAYQutj3nI6C3790EicAmdS9Ly0l/nKKuVHx1zqDeUHD25hSEYVoDPCPJ5/e7cHWsrQlzwAaAj/G";var $d={__cl:!0,__ecl:!0,__ehl:!0,__evl:!0,__fal:!0,__fil:!0,__fsl:!0,__hl:!0,__jel:!0,__lcl:!0,__sdl:!0,__tl:!0,__ytl:!0},ae={__paused:!0,__tg:!0},be;for(be in $d)$d.hasOwnProperty(be)&&(ae[be]=!0);Yd.sc="www.googletagmanager.com";var ce,de=Yd.sc+"/gtm.js";de=Yd.sc+"/gtag/js";ce=de; var ee=za(""),fe=null,ge=null,he={},ie={},je=function(){var a=T.sequence||1;T.sequence=a+1;return a};Yd.Fh="";var ke="";Yd.Kd=ke;var le=new ua,me={},ne={},qe={name:Yd.Z,set:function(a,b){N(Ja(a,b),me);oe()},get:function(a){return pe(a,2)},reset:function(){le=new ua;me={};oe()}},pe=function(a,b){return 2!=b?le.get(a):re(a)},re=function(a){var b,c=a.split(".");b=b||[];for(var d=me,e=0;e=f)return!0;(d=d.parentElement)&&(e=G.getComputedStyle(d, null))}return!1};var Ke=/:[0-9]+$/,Le=function(a,b,c){for(var d=a.split("&"),e=0;ec?a.href:a.href.substr(0,c)}return b},Qe=function(a){var b=H.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||Qc("TAGGING",1),c="/"+c);var d=b.hostname.replace(Ke,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},Re=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=Qe(a),f=a.split(/[?#]/)[0],g=e.search,l=e.hash;"?"===g[0]&&(g=g.substring(1));"#"===l[0]&&(l=l.substring(1));g=c(g);l=c(l);""!==g&&(g="?"+g);""!==l&&(l="#"+l);var m=""+f+g+l;"/"===m[m.length-1]&&(m=m.substring(0,m.length-1));return m};var Se={};var lf={},mf=function(a,b){if(G._gtmexpgrp&&G._gtmexpgrp.hasOwnProperty(a))return G._gtmexpgrp[a];void 0===lf[a]&&(lf[a]=Math.floor(Math.random()*b));return lf[a]};var nf=function(a){var b=1,c,d,e;if(a)for(b=0,d=a.length-1;0<=d;d--)e=a.charCodeAt(d),b=(b<<6&268435455)+e+(e<<14),c=b&266338304,b=0!==c?b^c>>21:b;return b};var of=function(a,b,c){for(var d=[],e=b.split(";"),f=0;ff.length||!b&&3!==f.length)&&Number(f[1])){d[c[e].Af]||(d[c[e].Af]=[]);var g={version:f[0],timestamp:1E3*Number(f[1]),Da:f[2]};b&&3>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=l&&(c+=String.fromCharCode(g<<6&192|l)))}};var bg;var fg=function(){var a=cg,b=dg,c=eg(),d=function(g){a(g.target||g.srcElement||{})},e=function(g){b(g.target||g.srcElement||{})};if(!c.init){jb(H,"mousedown",d);jb(H,"keyup",d);jb(H,"submit",e);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},gg=function(a,b,c,d,e){var f={callback:a,domains:b,fragment:2===c,placement:c,forms:d,sameHost:e};eg().decorators.push(f)},hg=function(a,b,c){for(var d=eg().decorators,e={},f=0;f>2,x=(r&3)<<4|t>>4,y=(t&15)<<2|u>>6,w=u&63;q||(w=64,p||(y=64));m.push(Yf[v],Yf[x],Yf[y],Yf[w])}g=m.join("");f.call(e,g)}}var B=b.join("*");return["1",ng(B), B].join("*")};function ng(a,b){var c=[G.navigator.userAgent,(new Date).getTimezoneOffset(),Za.userLanguage||Za.language,Math.floor(Da()/60/1E3)-(void 0===b?0:b),a].join("*"),d;if(!(d=bg)){for(var e=Array(256),f=0;256>f;f++){for(var g=f,l=0;8>l;l++)g=g&1?g>>>1^3988292384:g>>>1;e[f]=g}d=e}bg=d;for(var m=4294967295,n=0;n>>8^bg[(m^c.charCodeAt(n))&255];return((m^-1)>>>0).toString(36)} function pg(){return function(a){var b=Qe(G.location.href),c=b.search.replace("?",""),d=Le(c,"_gl",!0)||"";a.query=qg(d)||{};var e=Oe(b,"fragment").match(mg("_gl"));a.fragment=qg(e&&e[3]||"")||{}}}function rg(a,b){var c=mg(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 sg=function(a,b){b||(b="_gl");var c=lg.exec(a);if(!c)return"";var d=c[1],e=rg(b,(c[2]||"").slice(1)),f=rg(b,(c[3]||"").slice(1));e.length&&(e="?"+e);f.length&&(f="#"+f);return""+d+e+f},tg=function(a){var b=pg(),c=eg();c.data||(c.data={query:{},fragment:{}},b(c.data));var d={},e=c.data;e&&(Ga(d,e.query),a&&Ga(d,e.fragment));return d},qg=function(a){try{var b=ug(a,3);if(void 0!==b){for(var c={},d=b?b.split("*"):[],e=0;e+1e;++e){var f=ig.exec(d);if(f){c=f;break a}d=decodeURIComponent(d)}c=void 0}var g=c;if(g&&"1"===g[1]){var l=g[3],m;a:{for(var n=g[2],p=0;pp){n=!0;break b}n=!1}if(!n){var t=Mf(b,m,!0);t.Va="ad_storage";Df(g,l,t)}}}}$g(Yg(c.gclid,c.gclsrc),!1,b)})},bh=function(a,b){var c=Pg[a];if(void 0!==c)return b+c},ch=function(a){return 0!==eh(a.split(".")).length?1E3*(Number(a.split(".")[1])|| 0):0};function Ug(a){var b=eh(a.split("."));return 0===b.length?null:{version:b[0],Da:b[2],timestamp:1E3*(Number(b[1])||0),labels:b.slice(3)}}function eh(a){return 3>a.length||"GCL"!==a[0]&&"1"!==a[0]||!/^\d+$/.test(a[1])||!Og.test(a[2])?[]:a} var fh=function(a,b,c,d,e){if(ra(b)&&rf(G)){var f=Xg(e),g=function(){for(var l={},m=0;mc.indexOf(l))if(m&&0c.indexOf(m[q])){Q(11);p=!1;break a}}else{p=!1;break a}p=!0}n=p}var r=!1;if(d){var t=0<=e.indexOf(l);if(t)r=t;else{var u=va(e,m||[]);u&&Q(10);r=u}}var v=!n||r;v||!(0<=m.indexOf("sandboxedScripts"))||c&&-1!==c.indexOf("sandboxedScripts")||(v=va(e,Hh));return f[l]=v}},Jh=function(){return Eh.test(G.location&&G.location.hostname)};var Lh={F:"UA-121813223-1",qc:""},Mh={hh:"UA-121813223-1",ih:"UA-121813223-1"},Nh=function(){var a=[Lh.F];return a},Oh=function(){var a=[Lh.F]; return a},Ph=function(){this.container={};this.destination={};this.canonical={}},Rh=function(a){return Qh().container.hasOwnProperty(a)};function Qh(){var a=T.tidr;a||(a=new Ph,T.tidr=a);return a} var Uh=function(a){},Yh=function(a){},Zh= function(){return"&tc="+Yb.filter(function(a){return a}).length},bi=function(){2022<=$h().length&&ai()},ci=function(a){return 0===a.indexOf("gtm.")?encodeURIComponent(a):"*"},ei=function(){di||(di=G.setTimeout(ai,500))},ai=function(){di&&(G.clearTimeout(di),di=void 0);if(void 0!==fi&&(!gi[fi]||hi||ii))if(ji[fi]||ki.jj()||0>=li--)Q(1),ji[fi]=!0;else{ki.Hj();var a=$h(!0);ib(a);gi[fi]=!0;ni=mi=pi=qi=ri=ii=hi="";oi=[]}},$h=function(a){var b=fi;if(void 0===b)return"";var c=Rc("GTM"),d=Rc("TAGGING");return[si,gi[b]?"":"&es=1",ti[b],Uh(b),c?"&u="+c:"",d?"&ut="+d:"",Zh(),hi,ii,ri,qi,Yh(a),pi,mi,ni?"&dl="+encodeURIComponent(ni):"",0aj){aj++;try{H.documentElement.doScroll("left"),cj()}catch(a){G.setTimeout(dj,50)}}}var ej=function(a){$i?a():bj.push(a)};var fj=function(a,b){return{entityType:1,indexInOriginContainer:a,nameInOriginContainer:b,originContainerId:Lh.F}};var hj=function(a,b){this.g=!1;this.C=[];this.I={tags:[]};this.U=!1;this.o=this.s=0;gj(this,a,b)},ij=function(a,b,c,d){if(ae.hasOwnProperty(b)||"__zone"===b)return-1;var e={};ub(d)&&(e=N(d,e));e.id=c;e.status="timeout";return a.I.tags.push(e)-1},jj=function(a,b,c,d){var e=a.I.tags[b];e&&(e.status=c,e.executionTime=d)},kj=function(a){if(!a.g){for(var b=a.C,c=0;c=a.s&&kj(a)})},nj=function(a){a.U=!0;a.o>=a.s&&kj(a)};var oj=function(){function a(d){return!qa(d)||0>d?0:d}if(!T._li&&G.performance&&G.performance.timing){var b=G.performance.timing.navigationStart,c=qa(qe.get("gtm.start"))?qe.get("gtm.start"):0;T._li={cst:a(c-b),cbt:a(ge-b)}}},pj=function(a){G.performance&&G.performance.mark(Lh.F+"_"+a+"_start")},qj=function(a){if(G.performance){var b=Lh.F+"_"+a+"_start",c=Lh.F+"_"+a+"_duration";G.performance.measure(c,b);var d=G.performance.getEntriesByName(c)[0];G.performance.clearMarks(b);G.performance.clearMeasures(c); var e=T._p||{};void 0===e[a]&&(e[a]=d.duration,T._p=e);return d.duration}},rj=function(){if(G.performance&&G.performance.now){var a=T._p||{};a.PAGEVIEW=G.performance.now();T._p=a}};var sj={},tj=function(){return G.GoogleAnalyticsObject&&G[G.GoogleAnalyticsObject]},uj=!1;var vj=function(a){G.GoogleAnalyticsObject||(G.GoogleAnalyticsObject=a||"ga");var b=G.GoogleAnalyticsObject;if(G[b])G.hasOwnProperty(b)||Q(12);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(Ca());G[b]=c}oj();return G[b]},wj=function(a){if(id()){var b=tj();b(a+"require","linker");b(a+"linker:passthrough",!0)}}; function xj(){return G.GoogleAnalyticsObject||"ga"} var yj=function(a){},zj=function(a,b){return function(){var c=tj(),d=c&&c.getByName&&c.getByName(a);if(d){var e=d.get("sendHitTask");d.set("sendHitTask",function(f){var g=f.get("hitPayload"),l=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",l,!0),f.set("_x_19",void 0,!0),e(f))})}}};function Ej(a,b,c,d){var e=Yb[a],f=Fj(a,b,c,d);if(!f)return null;var g=fc(e[wb.vg],c,[]);if(g&&g.length){var l=g[0];f=Ej(l.index,{onSuccess:f,onFailure:1===l.Sg?b.terminate:f,terminate:b.terminate},c,d)}return f} function Fj(a,b,c,d){function e(){if(f[wb.ri])l();else{var x=gc(f,c,[]);var y=x[wb.Dh];if(null!=y)for(var w=0;wl;l++){var m=g[l].src;if(m){m=m.toLowerCase();if(0===m.indexOf(e)){b=3;break a}1===f&&0===m.indexOf(d)&&(f=2)}}b=f}else b=a;return b};var jk=!1; var lk=function(a,b,c){if(!kk()&&!Rh(a)){var d=c?"/gtag/js":"/gtm.js",e="?id="+encodeURIComponent(a)+"&l="+Yd.Z,f=0===a.indexOf("GTM-");f||(e+="&cx=c");var g=fk();g&&(e+="&sign="+Yd.Kd);var l=dk(b,d+e);if(!l){var m=Yd.sc+d;g&&$a&&f&&(m=$a.replace(/^(?:https?:\/\/)?/i,"").split(/[?#]/)[0]);l=ik("https://","http://",m+e)}Qh().container[a]=!0;fb(l)}},mk=function(a,b){if(jk){var c;if(c=!kk())c=!Qh().destination.hasOwnProperty(a);if(c){var d="/gtag/destination?id="+encodeURIComponent(a)+"&l="+Yd.Z+"&cx=c"; fk()&&(d+="&sign="+Yd.Kd);var e=dk(b,d);e||(e=ik("https://","http://",Yd.sc+d));Qh().destination[a]=!0;fb(e)}}else lk(a,b,!0)};function kk(){if(gk()){return!0}return!1}var nk=[];nk[1]=!0; var ok=function(){this.eventModel={};this.targetConfig={};this.containerConfig={};this.globalConfig={};this.dataLayerConfig={};this.remoteConfig={};this.eventMetadata={};this.onSuccess=function(){};this.onFailure=function(){};this.setContainerTypeLoaded=function(){};this.getContainerTypeLoaded=function(){};this.priorityId=this.eventId=void 0;this.isGtmEvent=!1},pk=function(a){var b=new ok;b.eventModel=a;return b},qk=function(a,b){a.targetConfig=b;return a},rk=function(a,b){a.containerConfig=b;return a}, sk=function(a,b){a.globalConfig=b;return a},tk=function(a,b){a.dataLayerConfig=b;return a},uk=function(a,b){a.remoteConfig=b;return a},vk=function(a,b){a.eventMetadata=b||{};return a},wk=function(a,b){a.onSuccess=b;return a},xk=function(a,b){a.setContainerTypeLoaded=b;return a},yk=function(a,b){a.getContainerTypeLoaded=b;return a},zk=function(a,b){a.onFailure=b;return a};h=ok.prototype; h.getWithConfig=function(a){if(void 0!==this.eventModel[a])return this.eventModel[a];if(void 0!==this.targetConfig[a])return this.targetConfig[a];if(void 0!==this.containerConfig[a])return this.containerConfig[a];Ak(this,this.globalConfig[a],this.dataLayerConfig[a])&&(Q(71),Q(79));if(void 0!==this.globalConfig[a])return this.globalConfig[a]; if(void 0!==this.remoteConfig[a])return this.remoteConfig[a]}; h.getTopLevelKeys=function(){function a(f){for(var g=Object.keys(f),l=0;ld;++d){var e;try{e=!(!c.frames||!c.frames.__tcfapiLocator)}catch(l){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(l){}f=null}if(!(c=f))break}b=null}a.g=b;return a.g},Sk=function(a){a.s||(a.s=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).__tcfapiReturn;a.I[c.callId](c.returnValue,c.success)}catch(d){}},Hk(a.o,a.s))};var Tk=!0;Tk=!1;var Uk={1:0,3:0,4:0,7:3,9:3,10:3},Vk=Gk("",550),Wk=Gk("",500);function Xk(){var a=T.tcf||{};return T.tcf=a} var bl=function(){var a=Xk(),b=new Nk(G,Tk?3E3:-1);if(!0===G.gtag_enable_tcf_support&&!a.active&&("function"===typeof G.__tcfapi||"function"===typeof b.o.__tcfapi||null!=Rk(b))){a.active=!0;a.Tc={};Yk();var c=null;Tk?c=G.setTimeout(function(){Zk(a);$k(a);c=null},Wk):a.tcString="tcunavailable";try{b.addEventListener(function(d){c&&(clearTimeout(c),c=null);if(0!==d.internalErrorState)Zk(a),$k(a);else{var e;a.gdprApplies=d.gdprApplies;if(!1===d.gdprApplies)e=al(),b.removeEventListener(d);else if("tcloaded"=== d.eventStatus||"useractioncomplete"===d.eventStatus||"cmpuishown"===d.eventStatus){var f={},g;for(g in Uk)if(Uk.hasOwnProperty(g))if("1"===g){var l=d,m=!0;m=void 0===m?!1:m;var n;var p=l;!1===p.gdprApplies?n=!0:(void 0===p.internalErrorState&&(p.internalErrorState=Mk(p)),n="error"===p.cmpStatus||0!==p.internalErrorState?!p.internalBlockOnErrors:"loaded"!==p.cmpStatus||"tcloaded"!==p.eventStatus&&"useractioncomplete"!==p.eventStatus?!1:!0);f["1"]=n?!1===l.gdprApplies||"tcunavailable"===l.tcString|| void 0===l.gdprApplies&&!m||"string"!==typeof l.tcString||!l.tcString.length?!0:Qk(l,"1",0):!1}else f[g]=Qk(d,g,Uk[g]);e=f}e&&(a.tcString=d.tcString||"tcempty",a.Tc=e,$k(a))}})}catch(d){c&&(clearTimeout(c),c=null),Zk(a),$k(a)}}};function Zk(a){a.type="e";a.tcString="tcunavailable";Tk&&(a.Tc=al())}function Yk(){var a={},b=(a.ad_storage="denied",a.wait_for_update=Vk,a);sd(b)}function al(){var a={},b;for(b in Uk)Uk.hasOwnProperty(b)&&(a[b]=!0);return a} function $k(a){var b={},c=(b.ad_storage=a.Tc["1"]?"granted":"denied",b);ud(c,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:cl()})}var cl=function(){var a=Xk();return a.active?a.tcString||"":""},dl=function(){var a=Xk();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},el=function(a){if(!Uk.hasOwnProperty(String(a)))return!0;var b=Xk();return b.active&&b.Tc?!!b.Tc[String(a)]:!0};var ll=!1;var ml=function(){this.g={}},nl=function(a,b,c){null!=c&&(a.g[b]=c)},ol=function(a){return Object.keys(a.g).map(function(b){return encodeURIComponent(b)+"="+encodeURIComponent(a.g[b])}).join("&")},ql=function(a,b,c,d,e){}; var sl=/[A-Z]+/,tl=/\s/,ul=function(a){if(k(a)){a=Ba(a);var b=a.indexOf("-");if(!(0>b)){var c=a.substring(0,b);if(sl.test(c)){for(var d=a.substring(b+1).split("/"),e=0;eDa()-d){Qc("TAGGING",9);return}}else try{if(50<=H.querySelectorAll('iframe[allow="join-ad-interest-group"][data-tagging-id*="-"]').length){Qc("TAGGING",10);return}}catch(e){}hb(a,void 0,{allow:"join-ad-interest-group"},{taggingId:b,loadTime:Da()},c)};var pm=function(a,b,c){this.C=a;this.eventName=b;this.g=c;this.o={};this.metadata=N(c.eventMetadata||{});this.s=!1},qm=function(a,b,c){var d=a.g.getWithConfig(b);void 0!==d?a.o[b]=d:void 0!==c&&(a.o[b]=c)},rm=function(a,b,c){var d=we(a.C);return d&&d.hasOwnProperty(b)?d[b]:c};function sm(a){return{getDestinationId:function(){return a.C},getEventName:function(){return a.eventName},setEventName:function(b){return void(a.eventName=b)},getHitData:function(b){return a.o[b]},setHitData:function(b,c){return void(a.o[b]=c)},setHitDataIfNotDefined:function(b,c){void 0===a.o[b]&&(a.o[b]=c)},copyToHitData:function(b,c){qm(a,b,c)},getMetadata:function(b){return a.metadata[b]},setMetadata:function(b,c){return void(a.metadata[b]=c)},abort:function(){return void(a.s=!0)},getProcessedEvent:function(){return a}}} ;var gn=function(){var a=!0;el(7)&&el(9)&&el(10)||(a=!1);return a},hn=function(){var a=!0;el(3)&&el(4)||(a=!1);return a}; var mn=function(a,b){if(b.isGtmEvent)return;var c=b.getWithConfig(P.Ia),d=b.getWithConfig(P.Qa),e=b.getWithConfig(c);if(void 0===e){var f=void 0;jn.hasOwnProperty(c)?f=jn[c]:kn.hasOwnProperty(c)&&(f=kn[c]);1===f&&(f=ln(c));k(f)?tj()(function(){var g=tj().getByName(a).get(f);d(g)}):d(void 0)}else d(e);},nn=function(a,b){var c=a[P.Ac],d=b+".",e=a[P.O]||"",f=void 0===c?!!a.use_anchor:"fragment"=== c,g=!!a[P.Vb];e=String(e).replace(/\s+/g,"").split(",");var l=tj();l(d+"require","linker");l(d+"linker:autoLink",e,f,g)},rn=function(a,b,c){if(id()&&(!c.isGtmEvent||!on[a])){var d=!vd(P.M),e=function(f){var g,l,m=tj(),n=pn(b,"",c),p,q=n.createOnlyFields._useUp;if(c.isGtmEvent||qn(b,n.createOnlyFields)){c.isGtmEvent&&(g="gtm"+je(),l=n.createOnlyFields,n.gtmTrackerName&&(l.name=g));m(function(){var t=m.getByName(b);t&&(p=t.get("clientId"));c.isGtmEvent||m.remove(b)});m("create",a,c.isGtmEvent?l:n.createOnlyFields); d&&vd(P.M)&&(d=!1,m(function(){var t=tj().getByName(c.isGtmEvent?g:b);!t||t.get("clientId")==p&&q||(c.isGtmEvent?(n.fieldsToSet["&gcu"]="1",n.fieldsToSet["&gcut"]=P.ie[f]):(n.fieldsToSend["&gcu"]="1",n.fieldsToSend["&gcut"]=P.ie[f]),t.set(n.fieldsToSet),c.isGtmEvent?t.send("pageview"):t.send("pageview",n.fieldsToSend))})); c.isGtmEvent&&m(function(){m.remove(g)})}};xd(function(){return e(P.M)},P.M);xd(function(){return e(P.D)},P.D);c.isGtmEvent&&(on[a]=!0)}},sn=function(a,b){fk()&&b&&(a[P.sb]=b)},Bn=function(a,b,c){function d(){var I=c.getWithConfig(P.Sb);l(function(){if(!c.isGtmEvent&&ub(I)){var M=u.fieldsToSend,R=m().getByName(n),O;for(O in I)if(I.hasOwnProperty(O)&&/^(dimension|metric)\d+$/.test(O)&&void 0!=I[O]){var L=R.get(ln(I[O]));tn(M,O,L)}}})}function e(){if(u.displayfeatures){var I="_dc_gtm_"+f.replace(/[^A-Za-z0-9-]/g, "");p("require","displayfeatures",void 0,{cookieName:I})}}var f=a,g="https://www.google-analytics.com/analytics.js",l=c.isGtmEvent?vj(c.getWithConfig("gaFunctionName")):vj();if(pa(l)){var m=tj,n;c.isGtmEvent?n=c.getWithConfig("name")||c.getWithConfig("gtmTrackerName"):n="gtag_"+f.split("-").join("_");var p=function(I){var M=[].slice.call(arguments,0);M[0]=n?n+"."+M[0]:""+M[0];l.apply(window,M)},q=function(I){var M=function(S,ka){for(var oa=0;ka&&oar.indexOf(P.Qb)&&(l.cookieName=x+"_ga")}}!1!==d(P.Sh)&& !1!==d(P.vc)&&gn()||(g.allowAdFeatures=!1);!1!==d(P.V)&&hn()||(g.allowAdPersonalizationSignals=!1);!c.isGtmEvent&&d(P.Ta)&&(l._useUp=!0);if(c.isGtmEvent){l.name=l.name||e.gtmTrackerName;var z=g.hitCallback;g.hitCallback=function(){pa(z)&&z();c.onSuccess()}}else{tn(l,"cookieDomain","auto");tn(g,"forceSSL",!0);tn(e,"eventCategory",Xn(b));Zn[b]&&tn(f,"nonInteraction",!0);"login"===b||"sign_up"===b||"share"===b?tn(e,"eventLabel",d(P.Yf)):"search"===b||"view_search_results"===b?tn(e,"eventLabel",d(P.hi)): "select_content"===b&&tn(e,"eventLabel",d(P.Wh));var C=e[P.la]||{},E=C[P.Ub];E||0!=E&&C[P.O]?l.allowLinker=!0:!1===E&&tn(l,"useAmpClientId",!1);f.hitCallback=c.onSuccess;l.name=a}id()&&(g["&gcs"]=wd(),vd(P.M)||(l.storage="none"),vd(P.D)||(g.allowAdFeatures=!1,l.storeGac=!1));var F=d(P.W)||d(P.sb),D=d(P.qd);F&&(c.isGtmEvent||(l[P.sb]=F),l._cd2l=!0);D&&!c.isGtmEvent&&(l[P.qd]=D);e.fieldsToSend=f;e.fieldsToSet=g;e.createOnlyFields=l;return e},un=function(a){var b=a.gtmEcommerceData;if(!b)return null; var c={};b.currencyCode&&(c.af=b.currencyCode);if(b.impressions){c.action="impressions";var d=b.impressions;c.bh="impressions"===b.translateIfKeyEquals?En(d,!0):d}if(b.promoView){c.action="promo_view";var e=b.promoView.promotions;c.Sc="promoView"===b.translateIfKeyEquals?En(e,!0):e}if(b.promoClick){c.action="promo_click";var f=b.promoClick.promotions;c.Sc="promoClick"===b.translateIfKeyEquals?En(f,!0):f;c.ib=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 l=b[g].products;c.Gb="products"===b.translateIfKeyEquals?En(l,!0):l;c.ib=b[g].actionField;break}return Object.keys(c).length?c:null},vn=function(a,b){function c(t){return{id:d(P.Sa),affiliation:d(P.Xh),revenue:d(P.fa),tax:d(P.Tf),shipping:d(P.ye),coupon:d(P.Yh),list:d(P.xe)||t}}for(var d=function(t){return b.getWithConfig(t)},e=d(P.X),f,g=0;e&&gd.indexOf(a)&&d.push(a)}},Oo=function(a,b){b=String(b).split(",");for(var c=0;cd.indexOf(a)&&d.push(a)}},Po=function(a){for(var b=[],c=[],d={},e=0;ee?1:dl?1:ga.length||!k(a[1]))return;var c={};if(2a.length)&&k(c)){var d;if(2c-9E5};var Hq={};Hq.Cd=new String("undefined");var hr=G.clearTimeout,ir=G.setTimeout,V=function(a,b,c,d){if(gk()){b&&K(b)}else return fb(a,b,c,d)},jr=function(){return new Date},kr=function(){return G.location.href},lr=function(a){return Oe(Qe(a),"fragment")},mr=function(a){return Pe(Qe(a))},nr=function(a,b){return pe(a,b||2)},or=function(a,b,c){var d;b?(a.eventCallback=b,c&&(a.eventTimeout=c),d=xq(a)):d=xq(a);return d},pr=function(a,b){G[a]=b},X=function(a,b,c){b&& (void 0===G[a]||c&&!G[a])&&(G[a]=b);return G[a]},qr=function(a,b,c){return uf(a,b,void 0===c?!0:!!c)},rr=function(a,b,c){return 0===Df(a,b,c)},sr=function(a,b){if(gk()){b&&K(b)}else hb(a,b)},tr=function(a){return!!Oq(a,"init",!1)},ur=function(a){Mq(a,"init",!0)},vr=function(a,b,c){Ci&&(vb(a)||Qi(c,b,a))}; var Tr=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"];function Ur(a,b){a=String(a);b=String(b);var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)===c}var Vr=new ua;function Wr(a,b,c){var d=c?"i":void 0;try{var e=String(b)+d,f=Vr.get(e);f||(f=new RegExp(b,d),Vr.set(e,f));return f.test(a)}catch(g){return!1}} function Xr(a,b){function c(g){var l=Qe(g),m=Oe(l,"protocol"),n=Oe(l,"host",!0),p=Oe(l,"port"),q=Oe(l,"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)