// Copyright 2012 Google Inc. All rights reserved. (function(){ var data = { "resource": { "version":"15", "macros":[{"function":"__v","vtp_name":"gtm.elementClasses","vtp_dataLayerVersion":1},{"function":"__e"},{"function":"__v","vtp_name":"gtm.elementUrl","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.triggers","vtp_dataLayerVersion":2,"vtp_setDefaultValue":true,"vtp_defaultValue":""},{"function":"__gas","vtp_cookieDomain":"auto","vtp_doubleClick":false,"vtp_setTrackerName":false,"vtp_useDebugVersion":false,"vtp_useHashAutoLink":false,"vtp_decorateFormsAutoLink":false,"vtp_enableLinkId":false,"vtp_enableEcommerce":false,"vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false},{"function":"__v","vtp_name":"gtm.elementId","vtp_dataLayerVersion":1},{"function":"__u","vtp_component":"PATH"},{"function":"__aev","vtp_setDefaultValue":false,"vtp_varType":"ATTRIBUTE","vtp_attribute":"rel"},{"function":"__vis","vtp_elementSelector":"popup popup-subscribe visible","vtp_outputMethod":"BOOLEAN","vtp_selectorType":"CSS","vtp_onScreenRatio":"50"},{"function":"__u","vtp_component":"URL"},{"function":"__u","vtp_component":"HOST"},{"function":"__f","vtp_component":"URL"},{"function":"__e"},{"function":"__v","vtp_name":"gtm.element","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementTarget","vtp_dataLayerVersion":1},{"function":"__aev","vtp_varType":"TEXT"},{"function":"__v","vtp_name":"gtm.element","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementClasses","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementId","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementTarget","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.elementUrl","vtp_dataLayerVersion":1},{"function":"__aev","vtp_varType":"TEXT"},{"function":"__v","vtp_name":"gtm.errorMessage","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.newUrlFragment","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.oldUrlFragment","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.newHistoryState","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.oldHistoryState","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.historyChangeSource","vtp_dataLayerVersion":1},{"function":"__r"},{"function":"__hid"},{"function":"__v","vtp_name":"gtm.videoProvider","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoUrl","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoTitle","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoDuration","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoPercent","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoVisible","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoStatus","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.videoCurrentTime","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.scrollThreshold","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.scrollUnits","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.scrollDirection","vtp_dataLayerVersion":1},{"function":"__v","vtp_name":"gtm.visibleRatio","vtp_dataLayerVersion":1}], "tags":[{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Video","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Play","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":3},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Form Submission","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":4},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Form Submission","vtp_eventLabel":"Footer","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":5},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":false,"vtp_trackType":"TRACK_PAGEVIEW","vtp_gaSettings":["macro",4],"vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":7},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/checkout"],["map","fieldName","title","value","Checkout"]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":8},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Book Appointment","vtp_eventLabel":"\/contact-us","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":9},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Interest","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Play Video","vtp_eventLabel":"\/melbourne","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":12},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Sign Up","vtp_eventLabel":"\/contact-us","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":13},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Submit","vtp_eventLabel":"\/contact-us","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":14},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Enquire Button","vtp_eventLabel":"\/community","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":15},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Sign Up","vtp_eventLabel":"\/central","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":16},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Book Appointment","vtp_eventLabel":"\/Uni-place","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":17},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Interest","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Play Video","vtp_eventLabel":"\/uni-place","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":18},{"function":"__ua","once_per_event":true,"vtp_nonInteraction":false,"vtp_overrideGaSettings":true,"vtp_eventCategory":"Lead","vtp_trackType":"TRACK_EVENT","vtp_eventAction":"Sign Up","vtp_eventLabel":"\/community","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"vtp_trackTypeIsEvent":true,"tag_id":19},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/individual-standard-studio"],["map","fieldName","title","value","Selection - Individual Standard Studio"]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":20},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/individual-medium-studio"],["map","fieldName","title","value","Selection - Individual - Medium Studio"]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":21},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/shared-twin-share"],["map","fieldName","title","value","Selection - Shared - Twin Share"]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":22},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/individual-large-studio"],["map","fieldName","title","value","Selection - Individual - Large Studio"]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":23},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/shared-six-bed ensuite"],["map","fieldName","title","value","Selection - Shared - six-bed ensuite"]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":24},{"function":"__ua","once_per_event":true,"vtp_overrideGaSettings":true,"vtp_fieldsToSet":["list",["map","fieldName","page","value","\/virtual\/selection\/shared-four-bed-ensuite"],["map","fieldName","title","value","Selection - Shared - Four-bed Ensuite"]],"vtp_trackType":"TRACK_PAGEVIEW","vtp_trackingId":"UA-101273572-1","vtp_enableUaRlsa":false,"vtp_enableUseInternalVersion":false,"vtp_enableFirebaseCampaignData":true,"tag_id":25},{"function":"__fsl","vtp_waitForTagsTimeout":"2000","vtp_uniqueTriggerId":"7756780_7","tag_id":26},{"function":"__fsl","vtp_waitForTagsTimeout":"2000","vtp_uniqueTriggerId":"7756780_8","tag_id":27},{"function":"__cl","tag_id":28},{"function":"__lcl","vtp_waitForTags":false,"vtp_checkValidation":false,"vtp_waitForTagsTimeout":"2000","vtp_uniqueTriggerId":"7756780_11","tag_id":29},{"function":"__cl","tag_id":30},{"function":"__cl","tag_id":31},{"function":"__evl","vtp_useOnScreenDuration":false,"vtp_useDomChangeListener":false,"vtp_elementSelector":"form__reg","vtp_firingFrequency":"MANY_PER_ELEMENT","vtp_selectorType":"CSS","vtp_onScreenRatio":"50","vtp_uniqueTriggerId":"7756780_15","tag_id":32},{"function":"__evl","vtp_useOnScreenDuration":false,"vtp_useDomChangeListener":false,"vtp_elementSelector":"div.popup__inner","vtp_firingFrequency":"ONCE","vtp_selectorType":"CSS","vtp_onScreenRatio":"50","vtp_uniqueTriggerId":"7756780_16","tag_id":33},{"function":"__cl","tag_id":34},{"function":"__cl","tag_id":35},{"function":"__cl","tag_id":36},{"function":"__cl","tag_id":37},{"function":"__cl","tag_id":38},{"function":"__cl","tag_id":39},{"function":"__cl","tag_id":40},{"function":"__cl","tag_id":41},{"function":"__cl","tag_id":42},{"function":"__cl","tag_id":43},{"function":"__cl","tag_id":44},{"function":"__cl","tag_id":45},{"function":"__cl","tag_id":46},{"function":"__cl","tag_id":47},{"function":"__cl","tag_id":48},{"function":"__cl","tag_id":49},{"function":"__html","once_per_event":true,"vtp_html":"\u003Cscript type=\"text\/gtmscript\"\u003EpiAId=\"565832\";piCId=\"64798\";piHostname=\"pi.pardot.com\";(function(){function a(){var b=document.createElement(\"script\");b.type=\"text\/javascript\";b.src=(\"https:\"==document.location.protocol?\"https:\/\/pi\":\"http:\/\/cdn\")+\".pardot.com\/pd.js\";var a=document.getElementsByTagName(\"script\")[0];a.parentNode.insertBefore(b,a)}window.attachEvent?window.attachEvent(\"onload\",a):window.addEventListener(\"load\",a,!1)})();\u003C\/script\u003E","vtp_supportDocumentWrite":false,"vtp_enableIframeMode":false,"vtp_enableEditJsMacroBehavior":false,"tag_id":6}], "predicates":[{"function":"_re","arg0":["macro",0],"arg1":".*playBtn.*|\\_\\_placeholder|.*\\_\\_content.*"},{"function":"_eq","arg0":["macro",1],"arg1":"gtm.click"},{"function":"_eq","arg0":["macro",2],"arg1":"http:\/\/journalstudentliving.com.au\/resources\/images\/play-btn.svg"},{"function":"_eq","arg0":["macro",0],"arg1":"form__btn popup-message-btn"},{"function":"_cn","arg0":["macro",0],"arg1":"popup__inner"},{"function":"_eq","arg0":["macro",1],"arg1":"gtm.elementVisibility"},{"function":"_re","arg0":["macro",3],"arg1":"(^$|((^|,)7756780_16($|,)))"},{"function":"_eq","arg0":["macro",1],"arg1":"gtm.js"},{"function":"_cn","arg0":["macro",0],"arg1":"btn btn--teritary"},{"function":"_cn","arg0":["macro",5],"arg1":"submit-request-appointment"},{"function":"_cn","arg0":["macro",6],"arg1":"\/contact-us"},{"function":"_eq","arg0":["macro",0],"arg1":"btn btn-watch watch_video"},{"function":"_cn","arg0":["macro",6],"arg1":"\/melbourne"},{"function":"_cn","arg0":["macro",5],"arg1":"gform_submit_button_1"},{"function":"_cn","arg0":["macro",5],"arg1":"gform_submit_button_4"},{"function":"_cn","arg0":["macro",5],"arg1":"gform_submit_button_6"},{"function":"_cn","arg0":["macro",6],"arg1":"\/central"},{"function":"_cn","arg0":["macro",6],"arg1":"\/uni-place"},{"function":"_cn","arg0":["macro",0],"arg1":"btn btn-watch watch_video"},{"function":"_cn","arg0":["macro",5],"arg1":"gform_submit_button_2"},{"function":"_cn","arg0":["macro",6],"arg1":"\/community"},{"function":"_cn","arg0":["macro",7],"arg1":"form_UPLSS1DB"},{"function":"_cn","arg0":["macro",7],"arg1":"form_UPLSM1KS"},{"function":"_cn","arg0":["macro",7],"arg1":"form_UPLTW2KS"},{"function":"_cn","arg0":["macro",7],"arg1":"form_UPLSL1KZ"},{"function":"_cn","arg0":["macro",7],"arg1":"form_UPLC61KS"},{"function":"_cn","arg0":["macro",7],"arg1":"form_UPLC41KS"}], "rules":[[["if",0,1],["add",0]],[["if",1,2],["add",0]],[["if",1,3],["add",1]],[["if",4,5,6],["add",2]],[["if",7],["add",3,44,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43]],[["if",1,8],["add",4]],[["if",1,9,10],["add",5]],[["if",1,11,12],["add",6]],[["if",1,10,13],["add",7]],[["if",1,14],["add",8]],[["if",1,15],["add",9]],[["if",1,13,16],["add",10]],[["if",1,9,17],["add",11]],[["if",1,17,18],["add",12]],[["if",1,19,20],["add",13]],[["if",1,21],["add",14]],[["if",1,22],["add",15]],[["if",1,23],["add",16]],[["if",1,24],["add",17]],[["if",1,25],["add",18]],[["if",1,26],["add",19]]] }, "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="5p1";Yd.Z="dataLayer";Yd.Gh="ChEI8JDHlAYQ36WX9MyZg4qSARIkAHBRCfJd4mI+nQeffi9+zWt6FSv9VAJ6/QXvfGMTBpLMTl9FGgLSeg\x3d\x3d";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.qc="www.googletagmanager.com";var ce,de=Yd.qc+"/gtm.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 ye=function(){var a=H.body,b=H.documentElement||a&&a.parentElement,c,d;if(H.compatMode&&"BackCompat"!==H.compatMode)c=b?b.clientHeight:0,d=b?b.clientWidth:0;else{var e=function(f,g){return f&&g?Math.min(f,g):Math.max(f,g)};Q(7);c=e(b?b.clientHeight:0,a?a.clientHeight:0);d=e(b?b.clientWidth:0,a?a.clientWidth:0)}return{width:d,height:c}},ze=function(a){var b=ye(),c=b.height,d=b.width,e=a.getBoundingClientRect(),f=e.bottom-e.top,g=e.right-e.left;return f&&g?(1-Math.min((Math.max(0-e.left,0)+Math.max(e.right- d,0))/g,1))*(1-Math.min((Math.max(0-e.top,0)+Math.max(e.bottom-c,0))/f,1)):0};var Ae=[],Be=!(!G.IntersectionObserver||!G.IntersectionObserverEntry),Ce=function(a,b,c){for(var d=new G.IntersectionObserver(a,{threshold:c}),e=0;ee[l])for(;f[l]=c[f[l]+1];)d(b[l],m),f[l]++;else if(mc[d]&&(c[d]=0);if(Be){var e=!1;K(function(){e|| De(a,b,c)()});return Ce(function(f){e=!0;for(var g={jc:0};g.jcc?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||Rc("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:"GTM-TQ7BKDH",oc:""},Mh={hh:"GTM-TQ7BKDH",ih:"GTM-TQ7BKDH"},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=Sc("GTM"),d=Sc("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=gc(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=hc(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 lk=!1; var nk=function(a,b,c){if(!mk()&&!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=hk();g&&(e+="&sign="+Yd.Kd);var l=fk(b,d+e);if(!l){var m=Yd.qc+d;g&&$a&&f&&(m=$a.replace(/^(?:https?:\/\/)?/i,"").split(/[?#]/)[0]);l=kk("https://","http://",m+e)}Qh().container[a]=!0;fb(l)}},ok=function(a,b){if(lk){var c;if(c=!mk())c=!Qh().destination.hasOwnProperty(a);if(c){var d="/gtag/destination?id="+encodeURIComponent(a)+"&l="+Yd.Z+"&cx=c"; hk()&&(d+="&sign="+Yd.Kd);var e=fk(b,d);e||(e=kk("https://","http://",Yd.qc+d));Qh().destination[a]=!0;fb(e)}}else nk(a,b,!0)};function mk(){if(ik()){return!0}return!1}var pk=[];pk[1]=!0;pk[2]=!0;pk[6]=!0; pk[7]=!0;pk[8]=!0; pk[10]=!0;var qk=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},rk=function(a){var b=new qk;b.eventModel=a;return b},sk=function(a,b){a.targetConfig=b;return a},tk=function(a,b){a.containerConfig=b;return a}, uk=function(a,b){a.globalConfig=b;return a},vk=function(a,b){a.dataLayerConfig=b;return a},wk=function(a,b){a.remoteConfig=b;return a},xk=function(a,b){a.eventMetadata=b||{};return a},yk=function(a,b){a.onSuccess=b;return a},zk=function(a,b){a.setContainerTypeLoaded=b;return a},Ak=function(a,b){a.getContainerTypeLoaded=b;return a},Bk=function(a,b){a.onFailure=b;return a};h=qk.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];Ck(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},Uk=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){}},Jk(a.o,a.s))};var Vk=!0;Vk=!1;var Wk={1:0,3:0,4:0,7:3,9:3,10:3},Xk=Ik("",550),Yk=Ik("",500);function Zk(){var a=T.tcf||{};return T.tcf=a} var dl=function(){var a=Zk(),b=new Pk(G,Vk?3E3:-1);if(!0===G.gtag_enable_tcf_support&&!a.active&&("function"===typeof G.__tcfapi||"function"===typeof b.o.__tcfapi||null!=Tk(b))){a.active=!0;a.Tc={};$k();var c=null;Vk?c=G.setTimeout(function(){al(a);bl(a);c=null},Yk):a.tcString="tcunavailable";try{b.addEventListener(function(d){c&&(clearTimeout(c),c=null);if(0!==d.internalErrorState)al(a),bl(a);else{var e;a.gdprApplies=d.gdprApplies;if(!1===d.gdprApplies)e=cl(),b.removeEventListener(d);else if("tcloaded"=== d.eventStatus||"useractioncomplete"===d.eventStatus||"cmpuishown"===d.eventStatus){var f={},g;for(g in Wk)if(Wk.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=Ok(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:Sk(l,"1",0):!1}else f[g]=Sk(d,g,Wk[g]);e=f}e&&(a.tcString=d.tcString||"tcempty",a.Tc=e,bl(a))}})}catch(d){c&&(clearTimeout(c),c=null),al(a),bl(a)}}};function al(a){a.type="e";a.tcString="tcunavailable";Vk&&(a.Tc=cl())}function $k(){var a={},b=(a.ad_storage="denied",a.wait_for_update=Xk,a);sd(b)}function cl(){var a={},b;for(b in Wk)Wk.hasOwnProperty(b)&&(a[b]=!0);return a} function bl(a){var b={},c=(b.ad_storage=a.Tc["1"]?"granted":"denied",b);ud(c,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:el()})}var el=function(){var a=Zk();return a.active?a.tcString||"":""},fl=function(){var a=Zk();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},gl=function(a){if(!Wk.hasOwnProperty(String(a)))return!0;var b=Zk();return b.active&&b.Tc?!!b.Tc[String(a)]:!0};var nl=!1;var ol=function(){this.g={}},pl=function(a,b,c){null!=c&&(a.g[b]=c)},ql=function(a){return Object.keys(a.g).map(function(b){return encodeURIComponent(b)+"="+encodeURIComponent(a.g[b])}).join("&")},sl=function(a,b,c,d,e){}; var ul=/[A-Z]+/,vl=/\s/,wl=function(a){if(k(a)){a=Ba(a);var b=a.indexOf("-");if(!(0>b)){var c=a.substring(0,b);if(ul.test(c)){for(var d=a.substring(b+1).split("/"),e=0;eDa()-d){Rc("TAGGING",9);return}}else try{if(50<=H.querySelectorAll('iframe[allow="join-ad-interest-group"][data-tagging-id*="-"]').length){Rc("TAGGING",10);return}}catch(e){}hb(a,void 0,{allow:"join-ad-interest-group"},{taggingId:b,loadTime:Da()},c)};var rm=function(a,b,c){this.C=a;this.eventName=b;this.g=c;this.o={};this.metadata=N(c.eventMetadata||{});this.s=!1},sm=function(a,b,c){var d=a.g.getWithConfig(b);void 0!==d?a.o[b]=d:void 0!==c&&(a.o[b]=c)},tm=function(a,b,c){var d=we(a.C);return d&&d.hasOwnProperty(b)?d[b]:c};function um(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){sm(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 jn=function(){var a=!0;gl(7)&&gl(9)&&gl(10)||(a=!1);return a},kn=function(){var a=!0;gl(3)&&gl(4)||(a=!1);return a}; var on=function(a,b){},pn=function(a,b){var c=a[P.zc],d=b+".",e=a[P.O]||"",f=void 0===c?!!a.use_anchor:"fragment"=== c,g=!!a[P.Ub];e=String(e).replace(/\s+/g,"").split(",");var l=tj();l(d+"require","linker");l(d+"linker:autoLink",e,f,g)},tn=function(a,b,c){if(id()&&(!c.isGtmEvent||!qn[a])){var d=!vd(P.M),e=function(f){var g,l,m=tj(),n=rn(b,"",c),p,q=n.createOnlyFields._useUp;if(c.isGtmEvent||sn(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&&(qn[a]=!0)}},un=function(a,b){hk()&&b&&(a[P.sb]=b)},Dn=function(a,b,c){function d(){var I=c.getWithConfig(P.Rb);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(nn(I[O]));vn(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.Pb)&&(l.cookieName=x+"_ga")}}!1!==d(P.Sh)&& !1!==d(P.uc)&&jn()||(g.allowAdFeatures=!1);!1!==d(P.V)&&kn()||(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{vn(l,"cookieDomain","auto");vn(g,"forceSSL",!0);vn(e,"eventCategory",Zn(b));ao[b]&&vn(f,"nonInteraction",!0);"login"===b||"sign_up"===b||"share"===b?vn(e,"eventLabel",d(P.Yf)):"search"===b||"view_search_results"===b?vn(e,"eventLabel",d(P.hi)): "select_content"===b&&vn(e,"eventLabel",d(P.Wh));var C=e[P.la]||{},E=C[P.Tb];E||0!=E&&C[P.O]?l.allowLinker=!0:!1===E&&vn(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},wn=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?Gn(d,!0):d}if(b.promoView){c.action="promo_view";var e=b.promoView.promotions;c.Sc="promoView"===b.translateIfKeyEquals?Gn(e,!0):e}if(b.promoClick){c.action="promo_click";var f=b.promoClick.promotions;c.Sc="promoClick"===b.translateIfKeyEquals?Gn(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.Fb="products"===b.translateIfKeyEquals?Gn(l,!0):l;c.ib=b[g].actionField;break}return Object.keys(c).length?c:null},xn=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&&ge?1:dl?1:ga.length)&&k(c)){var d;if(2c-9E5};var Gq={};Gq.Cd=new String("undefined"); var Hq=function(a){this.g=function(b){for(var c=[],d=0;dOq.indexOf(b)||"input"===b&&0<=Pq.indexOf(a.type.toLowerCase())?!1:!0},Rq=function(a){return a.form?a.form.tagName?a.form:H.getElementById(a.form):ob(a,["form"],100)},Sq=function(a,b,c){if(!a.elements)return 0;for(var d=b.dataset[c],e=0,f=1;e=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)f-e.time)return e.value;e={time:f,value:null};var g=b.vtp_outputMethod,l=null;if("CSS"==b.vtp_selectorType)try{var m=Ad(b.vtp_elementSelector); m&&0=n&&!xe(l);break;case "PERCENT":e.value=0,xe(l)||(e.value=Math.round(1E3*ze(l))/10)}a[c]=e;return e.value})}(); Z.h.e=["google"],function(){(function(a){Z.__e=a;Z.__e.m="e";Z.__e.isVendorTemplate=!0;Z.__e.priorityOverride=0})(function(a){return String(a.vtp_gtmCachedValues.event)})}();Z.h.f=["google"],function(){(function(a){Z.__f=a;Z.__f.m="f";Z.__f.isVendorTemplate=!0;Z.__f.priorityOverride=0})(function(a){var b=mr("gtm.referrer",1)||H.referrer;return b?a.vtp_component&&"URL"!=a.vtp_component?Oe(Qe(String(b)),a.vtp_component,a.vtp_stripWww,a.vtp_defaultPages,a.vtp_queryKey):lr(String(b)):String(b)})}(); Z.h.cl=["google"],function(){function a(b){var c=b.target;if(c){var d=Jq(c,"gtm.click");nr(d)}}(function(b){Z.__cl=b;Z.__cl.m="cl";Z.__cl.isVendorTemplate=!0;Z.__cl.priorityOverride=0})(function(b){if(!sr("cl")){var c=X("document");jb(c,"click",a,!0);tr("cl")}K(b.vtp_gtmOnSuccess)})}();Z.h.r=["google"],function(){(function(a){Z.__r=a;Z.__r.m="r";Z.__r.isVendorTemplate=!0;Z.__r.priorityOverride=0})(function(a){return ta(a.vtp_min,a.vtp_max)})}(); Z.h.u=["google"],function(){var a=function(b){return{toString:function(){return b}}};(function(b){Z.__u=b;Z.__u.m="u";Z.__u.isVendorTemplate=!0;Z.__u.priorityOverride=0})(function(b){var c;c=(c=b.vtp_customUrlSource?b.vtp_customUrlSource:mr("gtm.url",1))||jr();var d=b[a("vtp_component")];if(!d||"URL"==d)return lr(String(c));var e=Qe(String(c)),f;if("QUERY"===d)a:{var g=b[a("vtp_multiQueryKeys").toString()],l=b[a("vtp_queryKey").toString()]||"",m=b[a("vtp_ignoreEmptyQueryParam").toString()],n;g?ra(l)? n=l:n=String(l).replace(/\s+/g,"").split(","):n=[String(l)];for(var p=0;p=l)l=2E3;var m=e.vtp_uniqueTriggerId||"0";if(f){var n=function(q){return Math.max(l,q)};Mq("fsl","mwt",n,0);g||Mq("fsl","nv.mwt",n,0)}var p=function(q){q.push(m);return q};Mq("fsl","ids",p,[]);g||Mq("fsl","nv.ids",p,[]);sr("fsl")||(a(),tr("fsl"));K(e.vtp_gtmOnSuccess)})}(); Z.h.hid=["google"],function(){(function(a){Z.__hid=a;Z.__hid.m="hid";Z.__hid.isVendorTemplate=!0;Z.__hid.priorityOverride=0})(function(){return Gq.Cd})}(); Z.h.html=["customScripts"],function(){function a(d,e,f,g){return function(){try{if(0=f)f=2E3;var g=c.vtp_uniqueTriggerId||"0";if(d){var l=function(n){return Math.max(f,n)};Mq("lcl","mwt",l,0);e||Mq("lcl","nv.mwt",l,0)}var m=function(n){n.push(g);return n};Mq("lcl","ids",m,[]);e||Mq("lcl","nv.ids",m,[]);sr("lcl")||(a(),tr("lcl"));K(c.vtp_gtmOnSuccess)})}(); Z.h.evl=["google"],function(){function a(){var f=Number(mr("gtm.start"))||0;return ir().getTime()-f}function b(f,g,l,m){function n(){if(!xe(f.target)){g.has(d.Id)||g.set(d.Id,""+a());g.has(d.Ke)||g.set(d.Ke,""+a());var q=0;g.has(d.Ld)&&(q=Number(g.get(d.Ld)));q+=100;g.set(d.Ld,""+q);if(q>=l){var r=Jq(f.target,"gtm.elementVisibility",[g.g]),t=ze(f.target);r["gtm.visibleRatio"]=Math.round(1E3*t)/10;r["gtm.visibleTime"]=l;r["gtm.visibleFirstTime"]=Number(g.get(d.Ke));r["gtm.visibleLastTime"]=Number(g.get(d.Id)); nr(r);m()}}}if(!g.has(d.Fc)&&(0==l&&n(),!g.has(d.Yb))){var p=X("self").setInterval(n,100);g.set(d.Fc,p)}}function c(f){f.has(d.Fc)&&(X("self").clearInterval(Number(f.get(d.Fc))),f.o(d.Fc))}var d={Fc:"polling-id-",Ke:"first-on-screen-",Id:"recent-on-screen-",Ld:"total-visible-time-",Yb:"has-fired-"},e=function(f,g){this.element=f;this.g=g};e.prototype.has=function(f){return!!this.element.getAttribute("data-gtm-vis-"+f+this.g)};e.prototype.get=function(f){return this.element.getAttribute("data-gtm-vis-"+ f+this.g)};e.prototype.set=function(f,g){this.element.setAttribute("data-gtm-vis-"+f+this.g,g)};e.prototype.o=function(f){this.element.removeAttribute("data-gtm-vis-"+f+this.g)};(function(f){Z.__evl=f;Z.__evl.m="evl";Z.__evl.isVendorTemplate=!0;Z.__evl.priorityOverride=0})(function(f){function g(){var y=!1,w=null;if("CSS"===m){try{w=Ad(n)}catch(F){Q(46)}y=!!w&&v.length!=w.length}else if("ID"===m){var B=H.getElementById(n);B&&(w=[B],y=1!=v.length||v[0]!==B)}w||(w=[],y=0=r?w.has(d.Yb)||b(y,w,q,"ONCE"===u?function(){for(var B=0;B