var xex_pulse_Class=function(){function $a(a){const b="atlas lumen nova orion stark razor".split(" ");for(var c=[],d=Math.min(ya[a].lb_count||1,b.length),e=0;e>>0).toString(16)}function ab(a){if(a&&a.vid)return"vid:"+String(a.vid);if(a&&a.dg)return"dg:"+ String(a.dg);if(a&&a.sid)return"sid:"+String(a.sid);a=xe_getLS("cnt-pulse_lb-hrw");a&&a!=="null"||(a=za(),xe_setLS("cnt-pulse_lb-hrw",a,365));return"ls:"+a}function bb(a,b){if(!ya[a])return null;var c=$a(a);if(!c||!c.length)return null;var d=Math.floor(E()/6E5);b=ab(b);d=a+"|"+b+"|"+d;a=[];for(b=0;bl[0]?1:0:l[1]-k[1]});c=[];for(d=0;dd&&(e.sort(function(l,r){return l[1]-r[1]}),e=e.slice(e.length-d));a={};for(b=0;b0&&c-e=0?d.slice(0,e):d;d=e>=0?d.slice(e+1):"";if(f=Ea(f).trim())d=Ea(d),b.push([f,d])}}return b}function Ga(a){a=v(a).toLowerCase();if(!a)return"";L(a,"www.")&&(a=a.slice(4));return a}function eb(){try{var a=v(document.referrer||"");if(!a)return"";var b="";try{b=(new URL(a)).hostname||""}catch(e){var c=document.createElement("a");c.href=a;b=c.hostname||""}b=Ga(b); var d=Ga(location.hostname||"");return b&&b!==d?b:""}catch(e){return""}}function q(a,b,c){a=v(a);if(!a)return"";c&&(a=a.toLowerCase());a=a.replace(/[|]/g,"_");a=a.replace(/\s+/g," ").trim();b>0&&a.length>b&&(a=a.slice(0,b));return a}function Ha(a){a=xe_getLS(a);if(!a||a==="null")return null;try{var b=JSON.parse(a);return b&&typeof b==="object"?{source:q(b.source,80,!0),medium:q(b.medium,80,!0),campaign:q(b.campaign,160,!0),term:q(b.term,160,!0),content:q(b.content,160,!0),utm_id:q(b.utm_id,120,!0), click_id_type:q(b.click_id_type,24,!0),referrer_host:q(b.referrer_host,120,!0),channel_group:q(b.channel_group,40,!0)}:null}catch(c){return null}}function aa(a,b){try{xe_setLS(a,JSON.stringify(b||{}),90)}catch(c){}}function Ia(a){a=a||{};try{xe_setLS("cnt-pulse_vst",JSON.stringify({fs:isFinite(a.fs)&&a.fs>0?Math.floor(a.fs):0,ls:isFinite(a.ls)&&a.ls>0?Math.floor(a.ls):0,csid:v(a.csid),cvt:v(a.cvt).toLowerCase(),clv:isFinite(a.clv)&&a.clv>0?Math.floor(a.clv):0,cra:isFinite(a.cra)&&a.cra>0?Math.floor(a.cra): 0}))}catch(b){}}function ia(a){a=a||{};a={source:q(a.source,80,!0)||"(direct)",medium:q(a.medium,80,!0)||"(none)",campaign:q(a.campaign,160,!0)||"-",term:q(a.term,160,!0)||"-",content:q(a.content,160,!0)||"-",utm_id:q(a.utm_id,120,!0)||"-",click_id_type:q(a.click_id_type,24,!0)||"-",referrer_host:q(a.referrer_host,120,!0)||"-"};var b=a.medium,c=a.click_id_type,d=a.referrer_host;var e=q(a.source,80,!0);b=q(b,80,!0);c=q(c,24,!0);d=q(d,120,!0);e=b==="(none)"||e==="(direct)"?"direct":b==="email"?"email": b==="affiliate"||b==="affiliates"?"affiliate":b==="display"||b==="banner"||b==="cpm"||b==="programmatic"?"display":b==="organic"?"organic_search":b==="referral"||d?"referral":b==="paid_social"||L(b,"social_paid")||c==="fbclid"||c==="ttclid"||c==="igclid"?"paid_social":b==="social"||b==="organic_social"?"organic_social":b==="cpc"||b==="ppc"||b==="paidsearch"||b==="paid_search"||c==="gclid"||c==="msclkid"||c==="gbraid"||c==="wbraid"||c==="dclid"?"paid_search":"other";a.channel_group=e;return a}function fb(){var a= eb(),b,c=Z(location.search||"");if((b=location.hash||"")&&b.length>1)if(L(b,"#/")){b=b.slice(1);var d=b.indexOf("?");d>=0&&(c=c.concat(Z(b.slice(d+1))))}else L(b,"#!/")&&(b=b.slice(2),d=b.indexOf("?"),d>=0&&(c=c.concat(Z(b.slice(d+1)))));b=c;c={source:"",medium:"",campaign:"",term:"",content:"",utm_id:"",click_id_type:"",has_signal:!1};for(d=0;d1&&(L(b,"#/")?c=b.slice(1):L(b,"#!/")&&(c=b.slice(2)));b=c;var d="",e=c.indexOf("?");e>=0&&(b=c.slice(0,e)||"/",d=c.slice(e+1));var f=Z(a);if(d){var k=Z(d);k&&k.length&&(f=f.concat(k))}if(!f.length)return b==="/"&&(b="homepage"),b.length>700&&(b=b.slice(0,700)),b;a=[];for(c=0;c=8))break}if(!a.length)return b==="/"&&(b="homepage"),b.length>700&&(b=b.slice(0,700)),b;a.sort(function(w,B){return w[0]B[0]?1:w[1]B[1]?1:0});f="";for(l=0;l700&&(b=b.slice(0,700));return b}catch(w){return b=(location.pathname||"/")+(location.search||""),(f=location.hash||"")&&f.length>1&&(L(f,"#/")?b=f.slice(1): L(f,"#!/")&&(b=f.slice(2))),b==="/"&&(b="homepage"),b.length>700&&(b=b.slice(0,700)),b}}function ib(a,b){try{if(navigator.sendBeacon){var c=new Blob([JSON.stringify(b)],{type:"text/plain"});return navigator.sendBeacon(a,c)}}catch(d){}return!1}async function jb(a,b,c){if(typeof fetch!=="function")return!1;var d="AbortController"in window?new AbortController:null,e=null;d&&(e=setTimeout(function(){try{d.abort()}catch(f){}},c||800));try{return await fetch(a,{method:"POST",headers:{"Content-Type":"text/plain"}, body:JSON.stringify(b),keepalive:!0,credentials:"omit",mode:"no-cors",cache:"no-store",signal:d?d.signal:void 0}),!0}catch(f){return!1}finally{e&&clearTimeout(e)}}function kb(a,b,c){return new Promise(function(d){try{var e=new Image,f=!1,k=setTimeout(function(){f||(f=!0,d(!1))},c||700);e.onload=function(){f||(f=!0,clearTimeout(k),d(!0))};e.onerror=function(){f||(f=!0,clearTimeout(k),d(!1))};e.src=a+"?"+b}catch(l){d(!1)}})}function ba(a,b,c,d){function e(){if(!(f>=k.length)){var l=k[f]+"/"+b;try{if(ib(l, c))return}catch(r){}jb(l,c,800).then(function(r){r||kb(l,d,700).then(function(w){w||(f++,e())})})}}var f=0,k=bb(a,c);k&&k.length&&e()}function qa(){var a={dm:xe_config&&xe_config.DOMAIN?String(xe_config.DOMAIN):"",dg:xe_config&&xe_config.GUID?String(xe_config.GUID):"",ts:E()};a.vid=(xe_core.callService("visitorInfo")||{}).id||"";return a}function Ka(){var a=qa();a.md=lb(ra&&ra.modifier!=null?ra.modifier:"");a.sid=M;a.ns=ca?1:0;a.rv=La;var b=fb();var c=b.source;var d=b.medium;var e=b.campaign;var f= b.term;var k=b.content;var l=b.utm_id;var r=b.click_id_type;var w=b.referrer_host;b=b.channel_group;a.us=c;a.um=d;a.uc=e;a.ut=f;a.uco=k;a.ui=l;a.ct=r;a.rf=w;a.cg=b;return a}function Ma(){var a={dm:xe_config&&xe_config.DOMAIN?String(xe_config.DOMAIN):"",dg:xe_config&&xe_config.GUID?String(xe_config.GUID):"",ts:E()};if(a.dg&&a.dm){var b="dg\x3d"+encodeURIComponent(a.dg)+"\x26dm\x3d"+encodeURIComponent(a.dm)+"\x26ts\x3d"+a.ts;ba("pvw","ins",a,b)}}function Na(){var a=Ka();if(a.dg&&a.dm&&a.vid){a.pn=A(); var b="dg\x3d"+encodeURIComponent(a.dg)+"\x26dm\x3d"+encodeURIComponent(a.dm)+"\x26pn\x3d"+encodeURIComponent(a.pn)+"\x26ts\x3d"+a.ts+"\x26vid\x3d"+encodeURIComponent(a.vid)+"\x26sid\x3d"+encodeURIComponent(a.sid)+"\x26ns\x3d"+(a.ns|0);(a.ns|0)===1&&(b+="\x26rv\x3d"+(a.rv|0));a.md&&(b+="\x26md\x3d"+encodeURIComponent(a.md));a.us&&a.us!=="-"&&(b+="\x26us\x3d"+encodeURIComponent(a.us));a.um&&a.um!=="-"&&(b+="\x26um\x3d"+encodeURIComponent(a.um));a.uc&&a.uc!=="-"&&(b+="\x26uc\x3d"+encodeURIComponent(a.uc)); a.ut&&a.ut!=="-"&&(b+="\x26ut\x3d"+encodeURIComponent(a.ut));a.uco&&a.uco!=="-"&&(b+="\x26uco\x3d"+encodeURIComponent(a.uco));a.ui&&a.ui!=="-"&&(b+="\x26ui\x3d"+encodeURIComponent(a.ui));a.ct&&a.ct!=="-"&&(b+="\x26ct\x3d"+encodeURIComponent(a.ct));a.rf&&a.rf!=="-"&&(b+="\x26rf\x3d"+encodeURIComponent(a.rf));a.cg&&a.cg!=="-"&&(b+="\x26cg\x3d"+encodeURIComponent(a.cg));ba("pht","ins",a,b)}}function Oa(){var a=qa();if(a.dg&&a.dm&&a.vid){a.sid=M;var b="dg\x3d"+encodeURIComponent(a.dg)+"\x26dm\x3d"+encodeURIComponent(a.dm)+ "\x26vid\x3d"+encodeURIComponent(a.vid)+"\x26sid\x3d"+encodeURIComponent(a.sid);ba("pht","kal",a,b)}}async function h(a,b){if(xe_isset(a,"string")){var c=Pa(a);if(c){if(a=Ka(),a.dg&&a.dm&&a.vid){b=b||{};var d=oa((a.dg||"")+"|"+(a.sid||"")+"|"+c+"|"+cb(b));Ca("cnt-pulse_dedupe_event_map",d,a.ts,2E3)||(a.ev=c,c="dm\x3d"+encodeURIComponent(a.dm)+"\x26dg\x3d"+encodeURIComponent(a.dg)+"\x26vid\x3d"+encodeURIComponent(a.vid)+"\x26sid\x3d"+encodeURIComponent(a.sid)+"\x26ts\x3d"+a.ts+"\x26ns\x3d"+(a.ns|0)+ "\x26ev\x3d"+encodeURIComponent(a.ev),a.md&&(c+="\x26md\x3d"+encodeURIComponent(a.md)),b&&typeof b==="object"?(a.pr=b,c+="\x26pr\x3d"+encodeURIComponent(JSON.stringify(b))):typeof b==="string"&&(a.pr=b,c+="\x26pr\x3d"+encodeURIComponent(b)),ba("pev","ins",a,c))}}else Q("invalid event name: "+String(a||""))}}function g(a,b,c,d){if(xe_isset(a,"string")){var e=qa();if(e.dg&&e.dm&&e.vid){if(b&&typeof b==="object"){var f=b||{};b=f.ot!=null?f.ot:f.object_type!=null?f.object_type:"";c=f.oid!=null?f.oid: f.object_id!=null?f.object_id:"";f.val!=null?d=f.val:f.value!=null&&(d=f.value)}e.ev=Pa(a);if(e.ev){if(b!=null&&b!==""&&(e.ot=sa(b),!e.ot)){Q("invalid action object_type: "+String(b||""));return}if(c!=null&&c!==""&&(e.oid=N(c),!e.oid)){Q("invalid action object_id");return}if(d!==void 0&&d!==null&&d!==""&&(e.val=G(d),e.val===null)){Q("invalid action value: "+String(d));return}a=oa((e.dg||"")+"|"+(e.vid||"")+"|"+(e.ev||"")+"|"+(e.ot||"")+"|"+(e.oid||"")+"|"+(e.val!==void 0&&e.val!==null?String(e.val): ""));Ca("cnt-pulse_dedupe_action_map",a,e.ts,2E3)||(a="dm\x3d"+encodeURIComponent(e.dm)+"\x26dg\x3d"+encodeURIComponent(e.dg)+"\x26vid\x3d"+encodeURIComponent(e.vid)+"\x26ts\x3d"+e.ts+"\x26ev\x3d"+encodeURIComponent(e.ev),e.ot&&(a+="\x26ot\x3d"+encodeURIComponent(e.ot)),e.oid&&(a+="\x26oid\x3d"+encodeURIComponent(e.oid)),e.val===void 0||e.val===null||e.val===""||isNaN(e.val)||(a+="\x26val\x3d"+encodeURIComponent(String(e.val))),ba("trk","ins",e,a))}else Q("invalid action event type: "+String(a||""))}}} function O(){return!document.visibilityState||document.visibilityState==="visible"}function Qa(){if(x.activeStartedAt){var a=E()-x.activeStartedAt;isFinite(a)&&a>0&&(x.activeAccumMs+=a);x.activeStartedAt=0}}function ta(){var a=x.activeAccumMs||0;if(x.activeStartedAt){var b=E()-x.activeStartedAt;isFinite(b)&&b>0&&(a+=b)}if(!isFinite(a)||a<0)a=0;return a}function ua(a){if(a!=="pagehide"&&a!=="beforeunload"||!x.unloadFlushed){var b=ta();Qa();b=Math.floor(b/1E3);b>0&&(b>86400&&(b=86400),g("time/page", "page",x.pageId||A()||"page",b));a==="pagehide"||a==="beforeunload"?x.unloadFlushed=!0:(a=A(),x.pageId=a||A()||"/",x.activeAccumMs=0,x.activeStartedAt=O()?E():0,x.unloadFlushed=!1)}}function Ra(){try{window["cnt-pulse_kal_timer"]||(O()&&Oa(),window["cnt-pulse_kal_timer"]=setInterval(function(){O()&&Oa()},18E4))}catch(a){}}function y(a){return a&&typeof a==="object"?Object.assign({},a):{}}function v(a){return a==null?"":String(a).trim()}function Pa(a){a=v(a);return/^[A-Za-z0-9_./:-]{1,40}$/.test(a)? a:""}function sa(a){a=v(a);return/^[A-Za-z0-9_.:-]{1,24}$/.test(a)?a:""}function N(a){a=v(a);if(!a)return"";a.length>ja&&(a=a.slice(0,ja));return a}function m(a){a=v(a).toLowerCase();if(!a)return"";a=a.replace(/[^a-z0-9_-]+/g,"_");a=a.replace(/_+/g,"_");a=a.replace(/^_+|_+$/g,"");if(!a)return"";a.length>ja&&(a=a.slice(0,ja));return a}function G(a){a=Number(a);return isFinite(a)?a:null}function H(a,b,c){return ac?c:a}function lb(a){if(a===null||a===void 0||typeof a==="boolean")return"";a=v(a); if(!a)return"";var b=a.toLowerCase();if(b==="false"||b==="null"||b==="undefined"||b==="nan")return"";a=a.replace(/[^A-Za-z0-9_-]/g,"");if(!a)return"";a.length>20&&(a=a.slice(0,20));return a}function Q(a){try{window.console&&console.warn&&console.warn("[xex_pulse]",a)}catch(b){}}function Sa(a){a=v(a).toLowerCase();if(!a)return"";if(a==="*")return"*";a=a.split(".");if(a.length<2)return"";for(var b=0;b=2&&b[a[a.length-2]+".*"])return!0;for(c=a.length-1;c>=1;c--){var d=a.slice(0,c).join(".")+".*";if(b[d])return!0}return!1}function mb(a,b,c){return function(){if(Ta(a,b))return c.apply(this,arguments);Q("blocked helper: "+a+"."+b)}}function R(a,b){var c={},d;for(d in b)Object.prototype.hasOwnProperty.call(b, d)&&typeof b[d]==="function"&&(c[d]=mb(a,d,b[d]));return c}function W(a,b,c,d){d=y(d);var e=d.pr&&typeof d.pr==="object"?Object.assign({},d.pr):{};a=m(a);if(e.showcase_id!==void 0){var f=m(e.showcase_id);f?e.showcase_id=f:delete e.showcase_id}a&&e.showcase_id===void 0&&(e.showcase_id=a);b!==void 0&&b!==null&&b!==""&&e.product_id===void 0&&(e.product_id=String(b));c!==void 0&&c!==null&&c!==""&&e.pos===void 0&&(b=Number(c),isFinite(b)&&(e.pos=b));d.showcase_type!==void 0&&e.showcase_type===void 0&& (e.showcase_type=String(d.showcase_type||""));d.strategy!==void 0&&e.strategy===void 0&&(e.strategy=String(d.strategy||""));d.query!==void 0&&e.query===void 0&&(e.query=String(d.query||""));d.pr=e;return d}function va(a,b){b=y(b);b.showcase_type===void 0&&(b.showcase_type=a);return b}function D(a,b){a=N(a);return a?a:(Q((b||"product helper")+": invalid product_id"),"")}function I(a,b){a=y(a);b=String(b||"").trim();a.pr&&typeof a.pr==="object"||(a.pr={});b!==""&&a.pr.id===void 0&&(a.pr.id=b);return a} function p(a,b){a=y(a);if(a.pr===void 0)return a.pr=b,a;if(a.pr&&typeof a.pr==="object"&&b&&typeof b==="object")for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a.pr[c]===void 0&&(a.pr[c]=b[c]);return a}function Ua(){return J&&typeof J==="object"?{visitor_type:String(J.visitor_type||""),first_seen_ts_ms:Number(J.first_seen_ts_ms||0),last_visit_ts_ms:Number(J.last_visit_ts_ms||0),return_after_sec:Number(J.return_after_sec||0)}:null}function da(){var a=document.documentElement||{},b=document.body|| {},c=window.pageYOffset!=null?Number(window.pageYOffset||0):Number(a.scrollTop||b.scrollTop||0),d=Number(window.innerHeight||a.clientHeight||b.clientHeight||0);a=Math.max(Number(a.scrollHeight||0),Number(b.scrollHeight||0),d);b=Math.max(a-d,0);b=b>0?c/b*100:100;isFinite(b)||(b=0);b=H(b,0,100);return{scrollTop:c,viewportH:d,docH:a,pct:b,remaining:Math.max(a-(c+d),0)}}function Va(a){return a&&typeof a.extras==="object"?y(a.extras):{}}function Wa(a,b,c,d){(a=N(a||A()||"page"))||(a="page");d=d||da(); b=p(b,{page_id:a,scroll_pct:Number((d.pct||0).toFixed(2)),viewport_h:Number(d.viewportH||0),doc_h:Number(d.docH||0),reason:String(c||"scroll")});h("view/page_bottom",b);g("view/page_bottom","page",a,1)}function nb(a,b){function c(){if(!K){K=!0;try{window.removeEventListener("scroll",f,X)}catch(C){}try{window.removeEventListener("resize",k,X)}catch(C){}try{document.removeEventListener("visibilitychange",l,!0)}catch(C){}delete t.pageBottom[w]}}function d(C,S){P||K||(P=!0,Wa(r,V,C,S),c())}function e(C){if(!P&& !K){var S=da();(S.pct>=B||S.remaining<=F)&&d(C||"scroll",S)}}function f(C){C&&C.isTrusted===!1||e("scroll")}function k(){e("resize")}function l(){O()||e("hidden")}b=y(b);var r=N(a||A()||"page");r||="page";var w="pageBottom::"+r;if(t.pageBottom[w])return t.pageBottom[w];var B=G(b.threshold_pct);B===null&&(B=98);B=H(B,60,100);var F=G(b.bottom_offset_px);F===null&&(F=24);F=H(F,0,4096);var V=Va(b),P=!1,K=!1,X={passive:!0};try{window.addEventListener("scroll",f,X)}catch(C){}try{window.addEventListener("resize", k,X)}catch(C){}try{document.addEventListener("visibilitychange",l,!0)}catch(C){}setTimeout(function(){e("init")},0);t.pageBottom[w]={stop:c,flush:function(){d("manual",da())}};return t.pageBottom[w]}function Xa(a,b,c,d,e,f){if(a=N(a)){b=G(b);b===null&&(b=0);b=H(b,0,86400);c=G(c);c===null&&(c=0);c=H(c,0,100);var k=N(A()||"page");d=p(e,{product_id:a,page_id:k,seconds_on_page:Number(b.toFixed(2)),scroll_pct_max:Number(c.toFixed(2)),reached_bottom:d?1:0,reason:String(f||"manual")});h("engage/product_interest", d);g("time/product","product",a,Number(b.toFixed(2)));g("scroll/product","product",a,Number(c.toFixed(2)))}}function ob(){for(var a in t.productInterest)if(Object.prototype.hasOwnProperty.call(t.productInterest,a)){var b=t.productInterest[a];try{b&&typeof b.stop==="function"&&b.stop()}catch(c){}delete t.productInterest[a]}}function pb(a,b){function c(){var u=da();u.pct>wa&&(wa=u.pct);if(u.pct>=P||u.remaining<=K)Ya=!0}function d(){if(!xa){xa=!0;try{window.removeEventListener("scroll",f,ka)}catch(u){}try{window.removeEventListener("resize", k,ka)}catch(u){}try{document.removeEventListener("visibilitychange",l,!0)}catch(u){}try{window.removeEventListener("pagehide",r,!0)}catch(u){}try{window.removeEventListener("beforeunload",w,!0)}catch(u){}delete t.productInterest[F]}}function e(u){if(!S&&!xa){S=!0;c();var Y=ta()-C;if(!isFinite(Y)||Y<0)Y=0;Y/=1E3;Y=0;a--){var b=localStorage.key(a);b&&(b.indexOf("cnt-pulse_event_dedupe_")!==0&&b.indexOf("cnt-pulse_action_dedupe_")!==0||localStorage.removeItem(b))}}catch(c){}})();var hb="sku id pid product product_id variant variation v ref code variant_id product_variant item_id item_variant item_group_id gtin".split(" "),gb="gclid fbclid msclkid yclid ttclid gbraid wbraid gad_source gad_campaignid gad_adgroupid gad_creativeid _ga _gid _gac _gl _fbp _fbc mc_cid mc_eid".split(" "), Ja="gclid fbclid msclkid ttclid gbraid wbraid yclid dclid igclid".split(" "),M=xe_getLS("cnt-pulse_sid"),n=parseInt(xe_getLS("cnt-pulse_sid_time")||"0",10),fa=E(),ca=!M||fa-n>18E5;if(!M||ca)M=za();xe_setLS("cnt-pulse_sid",M,la);xe_setLS("cnt-pulse_sid_time",String(fa),la);n=parseInt(xe_getLS("cnt-pulse_sid_fs")||"0",10);var T=isFinite(n)&&n>0,U=T?n:fa,La=T?1:0;T||xe_setLS("cnt-pulse_sid_fs",String(U));n=function(){var a=xe_getLS("cnt-pulse_vst");if(!a||a==="null")return{fs:0,ls:0,csid:"",cvt:"",clv:0, cra:0};try{var b=JSON.parse(a),c=parseInt(b&&b.fs,10),d=parseInt(b&&b.ls,10),e=parseInt(b&&b.clv,10),f=parseInt(b&&b.cra,10);return{fs:isFinite(c)&&c>0?c:0,ls:isFinite(d)&&d>0?d:0,csid:v(b&&b.csid),cvt:v(b&&b.cvt).toLowerCase(),clv:isFinite(e)&&e>0?e:0,cra:isFinite(f)&&f>0?f:0}}catch(k){return{fs:0,ls:0,csid:"",cvt:"",clv:0,cra:0}}}();!n.fs&&T&&(n.fs=U);var ha=null,J=null;if(ca){T=n.fs>0||T?"returning":"new";U=n.fs>0?n.fs:U;var ma=n.ls>0?n.ls:0,Za=ma>0?Math.max(0,Math.floor((fa-ma)/1E3)):0;ha=J={visitor_type:T, first_seen_ts_ms:U,last_visit_ts_ms:ma,return_after_sec:Za};n.fs=U;n.ls=fa;n.csid=M;n.cvt=T;n.clv=ma;n.cra=Za;Ia(n)}else n.csid!==M||n.cvt!=="new"&&n.cvt!=="returning"?(J={visitor_type:La?"returning":"new",first_seen_ts_ms:n.fs>0?n.fs:U,last_visit_ts_ms:0,return_after_sec:0},n.csid=M,n.cvt=J.visitor_type,n.clv=0,n.cra=0,Ia(n)):J={visitor_type:n.cvt,first_seen_ts_ms:n.fs>0?n.fs:U,last_visit_ts_ms:n.clv||0,return_after_sec:n.cra||0};var x={pageId:A()||"/",activeStartedAt:O()?E():0,activeAccumMs:0,unloadFlushed:!1}, t={pageBottom:{},productInterest:{}};Ma();Na();ca&&ha&&(h("session/start",ha),g("session/start","visitor",ha.visitor_type||"new",Number(ha.return_after_sec||0)));Ra();(function(){function a(){if(location.href!==b){var e=[],f;for(f in t.productInterest)Object.prototype.hasOwnProperty.call(t.productInterest,f)&&e.push(f);for(f=0;f