/*! * Web analytics for Snowplow v3.1.0 (http://bit.ly/sp-js) * Copyright 2021 Snowplow Analytics Ltd, 2010 Anthon Pang * Licensed under BSD-3-Clause */ "use strict";!function(){function e(e,n){var t,r={};for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&0>n.indexOf(t)&&(r[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(e);o<t.length;o++)0>n.indexOf(t[o])&&Object.prototype.propertyIsEnumerable.call(e,t[o])&&(r[t[o]]=e[t[o]])}return r}function n(e,n){for(var t=0,r=n.length,o=e.length;t<r;t++,o++)e[o]=n[t];return e}function t(e){var n={exports:{}};return e(n,n.exports),n.exports}function r(e){if(!e)return e;var n=0,t=0,r=[];if(e){e=unescape(encodeURIComponent(e));do{var o=e.charCodeAt(n++),i=e.charCodeAt(n++),a=e.charCodeAt(n++),s=o<<16|i<<8|a;o=s>>18&63,i=s>>12&63,a=s>>6&63,s&=63,r[t++]=de.charAt(o)+de.charAt(i)+de.charAt(a)+de.charAt(s)}while(n<e.length);n=r.join(""),e=((e=e.length%3)?n.slice(0,e-3):n)+"===".slice(e||3)}return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function o(){var e,n={},t=[],r=[],o=function(e,t){null!=t&&""!==t&&(n[e]=t)};return{add:o,addDict:function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&o(n,e[n])},addJson:function(e,n,o){o&&i(o)&&(e={keyIfEncoded:e,keyIfNotEncoded:n,json:o},r.push(e),t.push(e))},getPayload:function(){return n},getJson:function(){return t},withJsonProcessor:function(n){e=n},build:function(){return null==e||e(this,r),n}}}function i(e){if(!a(e))return!1;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))return!0;return!1}function a(e){return null!=e&&(e.constructor==={}.constructor||e.constructor===[].constructor)}function s(){var e=[],n=[];return{getGlobalPrimitives:function(){return e},getConditionalProviders:function(){return n},addGlobalContexts:function(t){for(var r=[],o=[],i=0;i<t.length;i++){var a=t[i];y(a)?r.push(a):g(a)&&o.push(a)}e=e.concat(o),n=n.concat(r)},clearGlobalContexts:function(){n=[],e=[]},removeGlobalContexts:function(t){for(var r=function(t){y(t)?n=n.filter((function(e){return JSON.stringify(e)===JSON.stringify(t)})):g(t)&&(e=e.filter((function(e){return JSON.stringify(e)===JSON.stringify(t)})))},o=0;o<t.length;o++)r(t[o])},getApplicableContexts:function(t){e:{for(var r=0,o=t.getJson();r<o.length;r++){var i=o[r];if("ue_px"===i.keyIfEncoded&&"object"==typeof i.json.data&&"string"==typeof(i=i.json.data.schema)){r=i;break e}}r=""}i="string"==typeof(o=t.getPayload().e)?o:"",o=[];var a=b(e,t,i,r);return o.push.apply(o,a),t=function(e,n,t,r){var o;return e=k(e).map((function(e){e:{if(v(e)){var o=e[0],i=!1;try{i=o({event:n.getPayload(),eventType:t,eventSchema:r})}catch(e){i=!1}if(!0===i){e=b(e[1],n,t,r);break e}}else if(h(e)&&function(e,n){var t=0,r=0,o=e.accept;return Array.isArray(o)?e.accept.some((function(e){return A(e,n)}))&&r++:"string"==typeof o&&A(o,n)&&r++,o=e.reject,Array.isArray(o)?e.reject.some((function(e){return A(e,n)}))&&t++:"string"==typeof o&&A(o,n)&&t++,0<r&&0===t}(e[0],r)){e=b(e[1],n,t,r);break e}e=[]}if(e&&0!==e.length)return e})),(o=[]).concat.apply(o,e.filter((function(e){return null!=e&&e.filter(Boolean)})))}(n,t,i,r),o.push.apply(o,t),o}}}function c(e){return!!((e=e.split("."))&&1<e.length)&&function(e){if("*"===e[0]||"*"===e[1])return!1;if(0<e.slice(2).length){var n=!1,t=0;for(e=e.slice(2);t<e.length;t++)if("*"===e[t])n=!0;else if(n)return!1;return!0}return 2==e.length}(e)}function u(e){if(null!==(e=/^iglu:((?:(?:[a-zA-Z0-9-_]+|\*).)+(?:[a-zA-Z0-9-_]+|\*))\/([a-zA-Z0-9-_.]+|\*)\/jsonschema\/([1-9][0-9]*|\*)-(0|[1-9][0-9]*|\*)-(0|[1-9][0-9]*|\*)$/.exec(e))&&c(e[1]))return e.slice(1,6)}function l(e){if(e=u(e)){var n=e[0];return 5===e.length&&c(n)}return!1}function f(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function d(e){return f(e)?e.every((function(e){return l(e)})):"string"==typeof e&&l(e)}function m(e){return!!(i(e)&&"schema"in e&&"data"in e)&&("string"==typeof e.schema&&"object"==typeof e.data)}function p(e){return"function"==typeof e&&1>=e.length}function g(e){return p(e)||m(e)}function v(e){return!(!Array.isArray(e)||2!==e.length)&&(Array.isArray(e[1])?p(e[0])&&e[1].every(g):p(e[0])&&g(e[1]))}function h(e){return!(!Array.isArray(e)||2!==e.length)&&(!!function(e){var n=0;if(null!=e&&"object"==typeof e&&!Array.isArray(e)){if(Object.prototype.hasOwnProperty.call(e,"accept")){if(!d(e.accept))return!1;n+=1}if(Object.prototype.hasOwnProperty.call(e,"reject")){if(!d(e.reject))return!1;n+=1}return 0<n&&2>=n}return!1}(e[0])&&(Array.isArray(e[1])?e[1].every(g):g(e[1])))}function y(e){return v(e)||h(e)}function A(e,n){if(!l(e))return!1;if(e=u(e),n=null!==(n=/^iglu:([a-zA-Z0-9-_.]+)\/([a-zA-Z0-9-_]+)\/jsonschema\/([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$/.exec(n))?n.slice(1,6):void 0,e&&n){if(!function(e,n){if(n=n.split("."),e=e.split("."),n&&e){if(n.length!==e.length)return!1;for(var t=0;t<e.length;t++)if(!w(n[t],e[t]))return!1;return!0}return!1}(e[0],n[0]))return!1;for(var t=1;5>t;t++)if(!w(e[t],n[t]))return!1;return!0}return!1}function w(e,n){return e&&n&&"*"===e||e===n}function k(e){return Array.isArray(e)?e:[e]}function b(e,n,t,r){var o;return e=k(e).map((function(e){e:if(m(e))e=[e];else{if(p(e)){n:{var o=void 0;try{if(o=e({event:n.getPayload(),eventType:t,eventSchema:r}),Array.isArray(o)&&o.every(m)||m(o)){var i=o;break n}i=void 0;break n}catch(e){}i=void 0}if(m(i)){e=[i];break e}if(Array.isArray(i)){e=i;break e}}e=void 0}if(e&&0!==e.length)return e})),(o=[]).concat.apply(o,e.filter((function(e){return null!=e&&e.filter(Boolean)})))}function T(e){void 0===e&&(e={});var n=e.base64,t=e.corePlugins,o=null!=t?t:[];e=function(e,n,t){function o(e,n){e=c.getApplicableContexts(e);var t=[];return n&&n.length&&t.push.apply(t,n),e&&e.length&&t.push.apply(t,e),t}var i=function(e){return{addPluginContexts:function(n){var t=null!=n?n:[];return e.forEach((function(e){try{e.contexts&&t.push.apply(t,e.contexts())}catch(e){me.error("Error adding plugin contexts",e)}})),t}}}(n),c=s(),u=e,l={};return{track:function(e,a,s){e.withJsonProcessor(function(e){return function(n,t){for(var o=0;o<t.length;o++){var i=t[o],a=JSON.stringify(i.json);e?n.add(i.keyIfEncoded,r(a)):n.add(i.keyIfNotEncoded,a)}t.length=0}}(u)),e.add("eid",fe.v4()),e.addDict(l),s=function(e){return null==e?{type:"dtm",value:(new Date).getTime()}:"number"==typeof e?{type:"dtm",value:e}:"ttm"===e.type?{type:"ttm",value:e.value}:{type:"dtm",value:e.value||(new Date).getTime()}}(s),e.add(s.type,s.value.toString()),void 0!==(a=(a=o(e,i.addPluginContexts(a)))&&a.length?{schema:"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",data:a}:void 0)&&e.addJson("cx","co",a),n.forEach((function(n){try{n.beforeTrack&&n.beforeTrack(e)}catch(e){me.error("Plugin beforeTrack",e)}})),"function"==typeof t&&t(e);var c=e.build();return n.forEach((function(e){try{e.afterTrack&&e.afterTrack(c)}catch(e){me.error("Plugin afterTrack",e)}})),c},addPayloadPair:function(e,n){l[e]=n},getBase64Encoding:function(){return u},setBase64Encoding:function(e){u=e},addPayloadDict:function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(l[n]=e[n])},resetPayloadPairs:function(e){l=a(e)?e:{}},setTrackerVersion:function(e){l.tv=e},setTrackerNamespace:function(e){l.tna=e},setAppId:function(e){l.aid=e},setPlatform:function(e){l.p=e},setUserId:function(e){l.uid=e},setScreenResolution:function(e,n){l.res=e+"x"+n},setViewport:function(e,n){l.vp=e+"x"+n},setColorDepth:function(e){l.cd=e},setTimezone:function(e){l.tz=e},setLang:function(e){l.lang=e},setIpAddress:function(e){l.ip=e},setUseragent:function(e){l.ua=e},addGlobalContexts:function(e){c.addGlobalContexts(e)},clearGlobalContexts:function(){c.clearGlobalContexts()},removeGlobalContexts:function(e){c.removeGlobalContexts(e)}}}(null==n||n,o,e.callback);var i=$($({},e),{addPlugin:function(e){var n,t;e=e.plugin,o.push(e),null===(n=e.logger)||void 0===n||n.call(e,me),null===(t=e.activateCorePlugin)||void 0===t||t.call(e,i)}});return null==o||o.forEach((function(e){var n,t;null===(n=e.logger)||void 0===n||n.call(e,me),null===(t=e.activateCorePlugin)||void 0===t||t.call(e,i)})),i}function S(e){var n=e.event;return e={schema:"iglu:com.snowplowanalytics.snowplow/unstruct_event/jsonschema/1-0-0",data:{schema:e=n.schema,data:n.data}},(n=o()).add("e","ue"),n.addJson("ue_px","ue_pr",e),n}function P(e){var n=e.pageUrl,t=e.pageTitle;e=e.referrer;var r=o();return r.add("e","pv"),r.add("url",n),r.add("page",t),r.add("refr",e),r}function C(e){var n=e.pageUrl,t=e.pageTitle,r=e.referrer,i=e.minXOffset,a=e.maxXOffset,s=e.minYOffset;e=e.maxYOffset;var c=o();return c.add("e","pp"),c.add("url",n),c.add("page",t),c.add("refr",r),i&&!isNaN(Number(i))&&c.add("pp_mix",i.toString()),a&&!isNaN(Number(a))&&c.add("pp_max",a.toString()),s&&!isNaN(Number(s))&&c.add("pp_miy",s.toString()),e&&!isNaN(Number(e))&&c.add("pp_may",e.toString()),c}function O(e){e={targetUrl:e.targetUrl,elementId:e.elementId,elementClasses:e.elementClasses,elementTarget:e.elementTarget,elementContent:e.elementContent};var n=void 0;void 0===n&&(n={});var t,r={};for(t in e)(n[t]||null!==e[t]&&void 0!==e[t])&&(r[t]=e[t]);return S({event:{schema:"iglu:com.snowplowanalytics.snowplow/link_click/jsonschema/1-0-1",data:r}})}function x(e){return Number.isInteger&&Number.isInteger(e)||"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function E(e){if(!e||"string"!=typeof e.valueOf()){e=e.text||"";var n=document.getElementsByTagName("title");n&&null!=n[0]&&(e=n[0].text)}return e}function _(e){var n=/^(?:(?:https?|ftp):)\/*(?:[^@]+@)?([^:/#]+)/.exec(e);return n?n[1]:e}function I(e){var n=e.length;return"."===e.charAt(--n)&&(e=e.slice(0,n)),"*."===e.slice(0,2)&&(e=e.slice(1)),e}function D(e){var n=window,t="",r=j("referrer",n.location.href)||j("referer",n.location.href);if(r)return r;if(e)return e;try{t=n.top.document.referrer}catch(e){if(n.parent)try{t=n.parent.document.referrer}catch(e){t=""}}return""===t&&(t=document.referrer),t}function L(e,n,t,r){return e.addEventListener?(e.addEventListener(n,t,r),!0):e.attachEvent?e.attachEvent("on"+n,t):void(e["on"+n]=t)}function j(e,n){return(e=new RegExp("^[^#]*[?&]"+e+"=([^&#]*)").exec(n))?decodeURIComponent(e[1].replace(/\+/g," ")):null}function B(e,n,t){void 0===t&&(t=63072e3);try{var r=window.localStorage,o=Date.now()+1e3*t;return r.setItem(e+".expires",o.toString()),r.setItem(e,n),!0}catch(e){return!1}}function N(e){try{var n=window.localStorage;return n.removeItem(e),n.removeItem(e+".expires"),!0}catch(e){return!1}}function U(e,n,t,r,o,i,a){return 1<arguments.length?document.cookie=e+"="+encodeURIComponent(null!=n?n:"")+(t?"; Expires="+new Date(+new Date+1e3*t).toUTCString():"")+(r?"; Path="+r:"")+(o?"; Domain="+o:"")+(i?"; SameSite="+i:"")+(a?"; Secure":""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}function z(e){if(null==e||"object"!=typeof e||Array.isArray(e))return function(){return!0};var n=Object.prototype.hasOwnProperty.call(e,"allowlist"),t=function(e){var n={};if(e=e.allowlist||e.denylist){Array.isArray(e)||(e=[e]);for(var t=0;t<e.length;t++)n[e[t]]=!0}return n}(e);return function(e,n){return e.hasOwnProperty("filter")&&e.filter?e.filter:n}(e,(function(e){e:{var r=0;for(e=e.className.match(/\S+/g)||[];r<e.length;r++)if(t[e[r]]){r=!0;break e}r=!1}return r===n}))}function M(e,n,t,r,o,i,a,s,c,u,l){function f(e){for(var n=0,t=0;t<e.length;t++){var r=e.charCodeAt(t);127>=r?n+=1:2047>=r?n+=2:55296<=r&&57343>=r?(n+=4,t++):n=65535>r?n+3:n+4}return n}function d(e){for(void 0===e&&(e=!1);A.length&&"string"!=typeof A[0]&&"object"!=typeof A[0];)A.shift();if(1>A.length)y=!1;else{if(!h||"string"!=typeof h.valueOf())throw"No collector configured";if(y=!0,S){var n=function(e){for(var n=0,t=0;n<e.length&&!((t+=e[n].bytes)>=a);)n+=1;return n},r=void 0;if(E(A))var o=m(r=h,!0,e),i=n(A);else r=v(A[0]),o=m(r,!1,e),i=1;var s=setTimeout((function(){o.abort(),y=!1}),u),f=function(e){for(var n=0;n<e;n++)A.shift();t&&B(O,JSON.stringify(A.slice(0,c))),d()};if(o.onreadystatechange=function(){4===o.readyState&&200<=o.status&&400>o.status?(clearTimeout(s),f(i)):4===o.readyState&&400<=o.status&&(clearTimeout(s),y=!1)},E(A)){if(0<(n=A.slice(0,i)).length){if(e=!1,n=n.map((function(e){return e.evt})),T){var w=new Blob([p(g(n))],{type:"application/json"});try{e=navigator.sendBeacon(r,w)}catch(n){e=!1}}!0===e?f(i):o.send(p(g(n)))}}else o.send()}else if(l||E(A))y=!1;else{r=new Image(1,1);var k=!0;r.onload=function(){k&&(k=!1,A.shift(),t&&B(O,JSON.stringify(A.slice(0,c))),d())},r.onerror=function(){k&&(y=k=!1)},r.src=v(A[0]),setTimeout((function(){k&&y&&(k=!1,d())}),u)}}}function m(e,n,t){var r=new XMLHttpRequest;return n?(r.open("POST",e,!t),r.setRequestHeader("Content-Type","application/json; charset=UTF-8")):r.open("GET",e,!t),r.withCredentials=!0,l&&r.setRequestHeader("SP-Anonymous","*"),r}function p(e){return JSON.stringify({schema:"iglu:com.snowplowanalytics.snowplow/payload_data/jsonschema/1-0-4",data:e})}function g(e){for(var n=(new Date).getTime().toString(),t=0;t<e.length;t++)e[t].stm=n;return e}function v(e){return s?h+e.replace("?","?stm="+(new Date).getTime()+"&"):h+e}var h,y=!1,A=[];r="string"==typeof r?r.toLowerCase():r;var w=window.localStorage,k=window.navigator,b=null===r||!0===r||"beacon"===r||"true"===r,T=!(!(b&&k&&k.sendBeacon)||function(e){return function(e,n){return!(!(n=n.match("(iP.+; CPU .*OS (d+)[_d]*.*) AppleWebKit/"))||!n.length)&&parseInt(n[0])<=13}(0,e)||function(e,n,t){return!(!(t=t.match("(Macintosh;.*Mac OS X (d+)_(d+)[_d]*.*) AppleWebKit/"))||!t.length)&&(parseInt(t[0])<=e||parseInt(t[0])===e&&parseInt(t[1])<=n)}(10,15,e)&&function(e){return e.match("Version/.* Safari/")&&!e.match("Chrom(e|ium)")}(e)}(k.userAgent))&&b,S=!(!window.XMLHttpRequest||!("withCredentials"in new XMLHttpRequest)),P="get"!==r&&S&&("post"===r||b),C=P?o:"/i",O="snowplowOutQueue_"+e+"_"+(P?"post2":"get");if(i=function(){try{var e=!!window.localStorage}catch(n){e=!0}if(!e)return!1;try{var n=window.localStorage;return n.setItem("modernizr","modernizr"),n.removeItem("modernizr"),!0}catch(e){return!1}}()&&t&&P&&i||1,t)try{var x=w.getItem(O);A=x?JSON.parse(x):[]}catch(e){}Array.isArray(A)||(A=[]),n.outQueues.push(A),S&&1<i&&n.bufferFlushers.push((function(e){y||d(e)}));var E=function(e){return"object"==typeof e[0]};return{enqueueRequest:function(e,n){if(h=n+C,P){if((e=function(e){var n=Object.keys(e).map((function(n){return[n,e[n]]})).reduce((function(e,n){return e[n[0]]=n[1].toString(),e}),{});return{evt:n,bytes:f(JSON.stringify(n))}}(e)).bytes>=a)return me.warn("Event ("+e.bytes+"B) too big, max is "+a),void m(h,!0,!1).send(p(g([e.evt])));A.push(e)}else A.push(function(e){var n,t="?",r={co:!0,cx:!0},o=!0;for(n in e)e.hasOwnProperty(n)&&!r.hasOwnProperty(n)&&(o?o=!1:t+="&",t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));for(var i in r)e.hasOwnProperty(i)&&r.hasOwnProperty(i)&&(t+="&"+i+"="+encodeURIComponent(e[i]));return t}(e));e=!1,t&&(e=B(O,JSON.stringify(A.slice(0,c)))),y||e&&!(A.length>=i)||d()},executeQueue:function(){y||d()},setUseLocalStorage:function(e){t=e},setAnonymousTracking:function(e){l=e},setCollectorUrl:function(e){h=e+C},setBufferSize:function(e){i=e}}}function H(e,n,t){return"translate.googleusercontent.com"===e?(""===t&&(t=n),e=_(n=null!=(e=(e=/^(?:https?|ftp)(?::\/*(?:[^?]+))([?][^#]+)/.exec(n))&&1<(null==e?void 0:e.length)?j("u",e[1]):null)?e:"")):"cc.bingj.com"!==e&&"webcache.googleusercontent.com"!==e||(e=_(n=document.links[0].href)),[e,n,t]}function V(e,n,t,r,o,i){var a;void 0===i&&(i={}),e=function(e,n,t,r,o,i){function a(){(Be=H(window.location.hostname,window.location.href,D()))[1]!==Ue&&(ze=D(Ue)),Ne=I(Be[0]),Ue=Be[1]}function s(e){var n=(new Date).getTime();if(null!=(e=e.target)&&e.href){n="_sp="+Ee+"."+n;var t=e.href.split("#"),r=t[0].split("?"),o=r.shift();if(r=r.join("?")){for(var i=!0,a=r.split("&"),s=0;s<a.length;s++)if("_sp="===a[s].substr(0,4)){i=!1,a[s]=n,r=a.join("&");break}i&&(r=n+"&"+r)}else r=n;t[0]=o+"?"+r,n=t.join("#"),e.href=n}}function c(e){for(var n=0;n<document.links.length;n++){var t=document.links[n];!t.spDecorationEnabled&&e(t)&&(L(t,"click",s,!0),L(t,"mousedown",s,!0),t.spDecorationEnabled=!0)}}function u(e){if(we){var n=/#.*/;e=e.replace(n,"")}return ke&&(n=/[{}]/g,e=e.replace(n,"")),e}function l(e){return(e=/^([a-z]+):/.exec(e))?e[1]:null}function f(e){if(e=Je+e+"."+xe,"localStorage"==rn){try{var n=window.localStorage,t=n.getItem(e+".expires");if(null===t||+t>Date.now())var r=n.getItem(e);else n.removeItem(e),n.removeItem(e+".expires"),r=void 0}catch(e){r=void 0}return r}if("cookie"==rn||"cookieAndLocalStorage"==rn)return U(e)}function d(){a(),xe=he((qe||Ne)+(Ye||"/")).slice(0,4)}function m(){Te=(new Date).getTime()}function p(){var e=g(),n=e[0];n<Se?Se=n:n>Pe&&(Pe=n),(e=e[1])<Ce?Ce=e:e>Oe&&(Oe=e),m()}function g(){var e=document.documentElement;return e?[e.scrollLeft||window.pageXOffset,e.scrollTop||window.pageYOffset]:[0,0]}function v(){var e=g(),n=e[0];Pe=Se=n,Oe=Ce=e=e[1]}function h(){A(Je+"ses."+xe,"*",$e)}function y(e,n,t,r,o,i){A(Je+"id."+xe,e+"."+n+"."+t+"."+r+"."+o+"."+i,Ze)}function A(e,n,t){tn&&!en||("localStorage"==rn?B(e,n,t):("cookie"==rn||"cookieAndLocalStorage"==rn)&&U(e,n,t,Ye,qe,Xe,Ke))}function w(e){var n=Je+"id."+xe,t=Je+"ses."+xe;N(n),N(t),U(n,"",-1,"/",qe,Xe,Ke),U(t,"",-1,"/",qe,Xe,Ke),null!=e&&e.preserveSession||(_e=fe.v4(),an=0),null!=e&&e.preserveUser||(Ee=fe.v4(),Ie=null)}function k(e){e&&e.stateStorageStrategy&&(i.stateStorageStrategy=e.stateStorageStrategy,rn=de(i)),tn=!!i.anonymousTracking,en=pe(i),nn=ge(i),sn.setUseLocalStorage("localStorage"==rn||"cookieAndLocalStorage"==rn),sn.setAnonymousTracking(nn)}function b(){if(!tn||en){var e="none"!=rn&&!!f("ses"),n=S();n[1]?Ee=n[1]:(Ee=tn?"":fe.v4(),n[1]=Ee),_e=n[6],e||(n[3]++,_e=fe.v4(),n[6]=_e,n[5]=n[4]),"none"!=rn&&(h(),n[4]=Math.round((new Date).getTime()/1e3),n.shift(),y.apply(null,n))}}function S(){if("none"==rn)return[];var e=Math.round((new Date).getTime()/1e3),n=f("id");return n?(e=n.split(".")).unshift("0"):e=["1",Ee,e,0,e,""],e[6]||(e[6]=fe.v4()),e}function O(e){return 0===e.indexOf("http")?e:("https:"===document.location.protocol?"https":"http")+"://"+e}function z(){cn&&null!=o.pageViewId||(o.pageViewId=fe.v4())}function V(){return null==o.pageViewId&&(o.pageViewId=fe.v4()),o.pageViewId}function R(e,n,t){var r=function(e,n){a(),e({context:n,pageViewId:V(),minXOffset:Se,minYOffset:Ce,maxXOffset:Pe,maxYOffset:Oe}),v()},o=function(){Te+e.configHeartBeatTimer>(new Date).getTime()&&r(e.callback,(n||[]).concat(t?t():[]))};e.activityInterval=0!=e.configMinimumVisitLength?window.setTimeout((function(){Te+e.configMinimumVisitLength>(new Date).getTime()&&r(e.callback,(n||[]).concat(t?t():[])),e.activityInterval=window.setInterval(o,e.configHeartBeatTimer)}),e.configMinimumVisitLength):window.setInterval(o,e.configHeartBeatTimer)}function F(e){var n=e.minimumVisitLength,t=e.heartbeatDelay;if(e=e.callback,x(n)&&x(t))return{configMinimumVisitLength:1e3*n,configHeartBeatTimer:1e3*t,callback:e};me.warn("Activity tracking not enabled, please provide integer values for minimumVisitLength and heartbeatDelay.")}function G(e){var n=e.context,t=e.minXOffset,r=e.minYOffset,o=e.maxXOffset;e=e.maxYOffset;var i=document.title;i!==Fe&&(Fe=i,Ae=void 0),De.track(C({pageUrl:u(ye||Ue),pageTitle:E(Ae||Fe),referrer:u(ve||ze),minXOffset:Math.round(t),maxXOffset:Math.round(o),minYOffset:Math.round(r),maxYOffset:Math.round(e)}),n)}var J,q,Y,X,K,W,Q,Z,ee,ne,te,re,oe,ie,ae,se,ce,ue,le;i.eventMethod=null!==(J=i.eventMethod)&&void 0!==J?J:"post";var de=function(e){var n;return null!==(n=e.stateStorageStrategy)&&void 0!==n?n:"cookieAndLocalStorage"},pe=function(e){var n,t;return"boolean"!=typeof e.anonymousTracking&&(null!==(t=!0===(null===(n=e.anonymousTracking)||void 0===n?void 0:n.withSessionTracking))&&void 0!==t&&t)},ge=function(e){var n,t;return"boolean"!=typeof e.anonymousTracking&&(null!==(t=!0===(null===(n=e.anonymousTracking)||void 0===n?void 0:n.withServerAnonymisation))&&void 0!==t&&t)};i.plugins=null!==(q=i.plugins)&&void 0!==q?q:[],(null===(X=null===(Y=null==i?void 0:i.contexts)||void 0===Y?void 0:Y.webPage)||void 0===X||X)&&i.plugins.push({contexts:function(){return[{schema:"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0",data:{id:V()}}]}});var ve,ye,Ae,we,ke,be,Te,Se,Pe,Ce,Oe,xe,Ee,_e,Ie,De=T({base64:i.encodeBase64,corePlugins:i.plugins,callback:function(e){var n=Math.round((new Date).getTime()/1e3),t=f("ses"),r=S(),o=r[0],i=r[1],s=r[2],c=r[3],l=r[4],d=r[5];r=r[6];var m=!!be&&!!U(be);Qe||m?w():("0"===o?(_e=r,t||"none"==rn||(c++,d=l,_e=fe.v4()),an=c):(new Date).getTime()-on>1e3*$e&&(_e=fe.v4(),an++),e.add("vp",function(){if("innerWidth"in window)var e=window.innerWidth,n=window.innerHeight;else e=(n=document.documentElement||document.body).clientWidth,n=n.clientHeight;return 0<=e&&0<=n?e+"x"+n:null}()),e.add("ds",function(){var e=document.documentElement,n=document.body,t=Math.max(e.clientWidth,e.offsetWidth,e.scrollWidth);return e=Math.max(e.clientHeight,e.offsetHeight,e.scrollHeight,n?Math.max(n.offsetHeight,n.scrollHeight):0),isNaN(t)||isNaN(e)?"":t+"x"+e}()),e.add("vid",en?an:tn?null:an),e.add("sid",en?_e:tn?null:_e),e.add("duid",tn?null:i),e.add("uid",tn?null:Ie),a(),e.add("refr",u(ve||ze)),e.add("url",u(ye||Ue)),"none"!=rn&&(y(i,s,an,n,d,_e),h()),on=(new Date).getTime()),n=!!be&&!!U(be),Qe||n||sn.enqueueRequest(e.build(),He)}}),Le=navigator.userLanguage||navigator.language,je=document.characterSet||document.charset,Be=H(window.location.hostname,window.location.href,D()),Ne=I(Be[0]),Ue=Be[1],ze=Be[2],Me=null!==(K=i.platform)&&void 0!==K?K:"web",He=O(r),Ve=null!==(W=i.postPath)&&void 0!==W?W:"/com.snowplowanalytics.snowplow/tp2",Re=null!==(Q=i.appId)&&void 0!==Q?Q:"",Fe=document.title,Ge=null===(Z=i.resetActivityTrackingOnPageView)||void 0===Z||Z,Je=null!==(ee=i.cookieName)&&void 0!==ee?ee:"_sp_",qe=null!==(ne=i.cookieDomain)&&void 0!==ne?ne:void 0,Ye="/",Xe=null!==(te=i.cookieSameSite)&&void 0!==te?te:"None",Ke=null===(re=i.cookieSecure)||void 0===re||re,We=navigator.doNotTrack||navigator.msDoNotTrack||window.doNotTrack,Qe=void 0!==i.respectDoNotTrack&&(i.respectDoNotTrack&&("yes"===We||"1"===We)),Ze=null!==(oe=i.cookieLifetime)&&void 0!==oe?oe:63072e3,$e=null!==(ie=i.sessionCookieTimeout)&&void 0!==ie?ie:1800,en=pe(i),nn=ge(i),tn=!!i.anonymousTracking,rn=de(i),on=(new Date).getTime(),an=1,sn=M(e,o,"localStorage"==rn||"cookieAndLocalStorage"==rn,i.eventMethod,Ve,null!==(ae=i.bufferSize)&&void 0!==ae?ae:1,null!==(se=i.maxPostBytes)&&void 0!==se?se:4e4,null===(ce=i.useStm)||void 0===ce||ce,null!==(ue=i.maxLocalStorageQueueSize)&&void 0!==ue?ue:1e3,null!==(le=i.connectionTimeout)&&void 0!==le?le:5e3,nn),cn=!1,un=!1,ln={enabled:!1,installed:!1,configurations:{}};return i.hasOwnProperty("discoverRootDomain")&&i.discoverRootDomain&&(qe=function(e,n){for(var t=window.location.hostname,r="_sp_root_domain_test_"+(new Date).getTime(),o="_test_value_"+(new Date).getTime(),i=t.split("."),a=i.length-1;0<=a;){var s=i.slice(a,i.length).join(".");if(U(r,o,0,"/",s,e,n),U(r)===o){for(U(r,"",-1,"/",s,e,n),t=document.cookie.split("; "),r=[],o=0;o<t.length;o++)"_sp_root_domain_test_"===t[o].substring(0,21)&&r.push(t[o]);for(t=r,r=0;r<t.length;r++)U(t[r],"",-1,"/",s,e,n);return s}--a}return t}(Xe,Ke)),De.setTrackerVersion(t),De.setTrackerNamespace(n),De.setAppId(Re),De.setPlatform(Me),De.addPayloadPair("cookie",navigator.cookieEnabled?"1":"0"),De.addPayloadPair("cs",je),De.addPayloadPair("lang",Le),De.addPayloadPair("res",screen.width+"x"+screen.height),De.addPayloadPair("cd",screen.colorDepth),d(),b(),i.crossDomainLinker&&c(i.crossDomainLinker),$($({},{getDomainSessionIndex:function(){return an},getPageViewId:function(){return V()},newSession:function(){var e=Math.round((new Date).getTime()/1e3),n=S(),t=n[1],r=n[2],o=n[3],i=n[4],a=n[5],s=n[6];"0"===n[0]?(_e=s,"none"!=rn&&(o++,a=i,_e=fe.v4()),an=o,h()):(_e=fe.v4(),an++),"none"!=rn&&(y(t,r,an,e,a,_e),h()),on=(new Date).getTime()},getCookieName:function(e){return Je+e+"."+xe},getUserId:function(){return Ie},getDomainUserId:function(){return S()[1]},getDomainUserInfo:function(){return S()},setReferrerUrl:function(e){ve=e},setCustomUrl:function(e){a();var n,t=Ue;l(e)?ye=e:"/"===e.slice(0,1)?ye=l(t)+"://"+_(t)+e:(0<=(n=(t=u(t)).indexOf("?"))&&(t=t.slice(0,n)),(n=t.lastIndexOf("/"))!==t.length-1&&(t=t.slice(0,n+1)),ye=t+e)},setDocumentTitle:function(e){Fe=document.title,Ae=e},discardHashTag:function(e){we=e},discardBrace:function(e){ke=e},setCookiePath:function(e){Ye=e,d()},setVisitorCookieTimeout:function(e){Ze=e},crossDomainLinker:function(e){c(e)},enableActivityTracking:function(e){ln.enabled=!0,ln.configurations.pagePing=F($($({},e),{callback:G}))},enableActivityTrackingCallback:function(e){ln.enabled=!0,ln.configurations.callback=F(e)},updatePageActivity:function(){m()},setOptOutCookie:function(e){be=e},setUserId:function(e){Ie=e},setUserIdFromLocation:function(e){a(),Ie=j(e,Ue)},setUserIdFromReferrer:function(e){a(),Ie=j(e,ze)},setUserIdFromCookie:function(e){Ie=U(e)},setCollectorUrl:function(e){He=O(e),sn.setCollectorUrl(He)},setBufferSize:function(e){sn.setBufferSize(e)},flushBuffer:function(e){void 0===e&&(e={}),sn.executeQueue(),e.newBufferSize&&sn.setBufferSize(e.newBufferSize)},trackPageView:function(e){void 0===e&&(e={}),function(e){var n=e.title,t=e.context,r=e.timestamp;if(e=e.contextCallback,a(),un&&z(),un=!0,Fe=document.title,n=E((Ae=n)||Fe),De.track(P({pageUrl:u(ye||Ue),pageTitle:n,referrer:u(ve||ze)}),(t||[]).concat(e?e():[]),r),r=new Date,n=!1,ln.enabled&&!ln.installed){n=ln.installed=!0;var o={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,n=Object.defineProperty({},"passive",{get:function(){e=!0}}),t=function(){};window.addEventListener("testPassiveEventSupport",t,n),window.removeEventListener("testPassiveEventSupport",t,n),o.hasSupport=e}}};o.update();var i="onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll";Object.prototype.hasOwnProperty.call(o,"hasSupport")?L(document,i,m,{passive:!0}):L(document,i,m),v(),i=function(e,n){return void 0===n&&(n=m),function(e){return L(document,e,n)}},"click mouseup mousedown mousemove keypress keydown keyup".split(" ").forEach(i(document)),["resize","focus","blur"].forEach(i(window)),i(window,p)("scroll")}if(ln.enabled&&(Ge||n))for(r in Te=r.getTime(),r=void 0,ln.configurations)(n=ln.configurations[r])&&(window.clearInterval(n.activityInterval),R(n,t,e))}(e)},preservePageViewId:function(){cn=!0},disableAnonymousTracking:function(e){i.anonymousTracking=!1,k(e),b(),sn.executeQueue()},enableAnonymousTracking:function(e){i.anonymousTracking=e&&(null==e?void 0:e.options)||!0,k(e),en||z()},clearUserData:w}),{id:e,namespace:n,core:De,sharedState:o})}(e,n,t,r,o,i);var s=$($({},e),{addPlugin:function(e){var n,t;s.core.addPlugin(e),null===(t=(n=e.plugin).activateBrowserPlugin)||void 0===t||t.call(n,s)}});return null===(a=i.plugins)||void 0===a||a.forEach((function(e){var n;null===(n=e.activateBrowserPlugin)||void 0===n||n.call(e,s)})),s}function R(e,n){try{G(null!=e?e:Object.keys(ye),ye).forEach(n)}catch(e){me.error("Function failed",e)}}function F(e,n,t,r,o,i){return ye.hasOwnProperty(e)?null:(ye[e]=V(e,n,t,r,o,i),ye[e])}function G(e,n){for(var t=[],r=0;r<e.length;r++){var o=e[r];n.hasOwnProperty(o)?t.push(n[o]):me.warn(o+" not configured")}return t}function J(){function e(){var e;if(!n.hasLoaded)for(n.hasLoaded=!0,e=0;e<n.registeredOnLoadHandlers.length;e++)n.registeredOnLoadHandlers[e]();return!0}var n=new Ae,t=document,r=window;return t.visibilityState&&L(t,"visibilitychange",(function(){"hidden"==t.visibilityState&&n.bufferFlushers.forEach((function(e){e(!1)}))}),!1),L(r,"beforeunload",(function(){n.bufferFlushers.forEach((function(e){e(!1)}))}),!1),"loading"===document.readyState?(t.addEventListener?t.addEventListener("DOMContentLoaded",(function n(){t.removeEventListener("DOMContentLoaded",n,!1),e()})):t.attachEvent&&t.attachEvent("onreadystatechange",(function n(){"complete"===t.readyState&&(t.detachEvent("onreadystatechange",n),e())})),L(r,"load",e,!1)):e(),n}function q(){return{contexts:function(){var e=window,n=(e=e.performance||e.mozPerformance||e.msPerformance||e.webkitPerformance).timing;return e=e?[{schema:"iglu:org.w3/PerformanceTiming/jsonschema/1-0-0",data:{navigationStart:n.navigationStart,redirectStart:n.redirectStart,redirectEnd:n.redirectEnd,fetchStart:n.fetchStart,domainLookupStart:n.domainLookupStart,domainLookupEnd:n.domainLookupEnd,connectStart:n.connectStart,secureConnectionStart:n.secureConnectionStart,connectEnd:n.connectEnd,requestStart:n.requestStart,responseStart:n.responseStart,responseEnd:n.responseEnd,unloadEventStart:n.unloadEventStart,unloadEventEnd:n.unloadEventEnd,domLoading:n.domLoading,domInteractive:n.domInteractive,domContentLoadedEventStart:n.domContentLoadedEventStart,domContentLoadedEventEnd:n.domContentLoadedEventEnd,domComplete:n.domComplete,loadEventStart:n.loadEventStart,loadEventEnd:n.loadEventEnd,msFirstPaint:n.msFirstPaint,chromeFirstPaint:n.chromeFirstPaint,requestEnd:n.requestEnd,proxyStart:n.proxyStart,proxyEnd:n.proxyEnd}}]:[]}}}function Y(){return{activateBrowserPlugin:function(e){Te[e.id]=e}}}function X(e,n,t){for(var r,o,i,a;null!==(r=n.parentElement)&&null!=r&&"A"!==(o=n.tagName.toUpperCase())&&"AREA"!==o;)n=r;if(null!=(r=n).href){i=(o=r.hostname||_(r.href)).toLowerCase();var s=r.href.replace(o,i);/^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto):/i.test(s)||(o=r.id,i=r.className.match(/\S+/g)||[],a=r.target,r=Se[e.id].linkTrackingContent?r.innerHTML:void 0,s=unescape(s),e.core.track(O({targetUrl:s,elementId:o,elementClasses:i,elementTarget:a,elementContent:r}),function(e){for(var n,t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return null!==(n=null==e?void 0:e.map((function(e){if("function"!=typeof e)return e;try{return e.apply(void 0,t)}catch(e){}})).filter(Boolean))&&void 0!==n?n:[]}(t,n)))}}function K(e,n){return function(t){var r=(t=t||window.event).which||t.button,o=t.target||t.srcElement;"click"===t.type?o&&X(Te[e],o,n):"mousedown"===t.type?1!==r&&2!==r||!o?Se[e].lastButton=Se[e].lastTarget=null:(Se[e].lastButton=r,Se[e].lastTarget=o):"mouseup"===t.type&&(r===Se[e].lastButton&&o===Se[e].lastTarget&&X(Te[e],o,n),Se[e].lastButton=Se[e].lastTarget=null)}}function W(e,n){e=void 0===e?{}:e,Se[n]={linkTrackingContent:e.trackContent,linkTrackingContext:e.context,linkTrackingPseudoClicks:e.pseudoClicks,linkTrackingFilter:z(e.options)}}function Q(e){var n,t,r,o=document.links;for(r=0;r<o.length;r++)if(null!==(t=(n=Se[e]).linkTrackingFilter)&&void 0!==t&&t.call(n,o[r])&&!o[r][e]){var i=e,a=o[r];Se[i].linkTrackingPseudoClicks?(L(a,"mouseup",K(i,Se[i].linkTrackingContext),!1),L(a,"mousedown",K(i,Se[i].linkTrackingContext),!1)):L(a,"click",K(i,Se[i].linkTrackingContext),!1),o[r][e]=!0}}function Z(){return{activateBrowserPlugin:function(e){e.core.setTimezone(Ce.determine("undefined"!=typeof Intl).name())}}}for(var $=function(){return($=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},ee=t((function(e){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var t=new Uint8Array(16);e.exports=function(){return n(t),t}}else{var r=Array(16);e.exports=function(){for(var e,n=0;16>n;n++)0==(3&n)&&(e=4294967296*Math.random()),r[n]=e>>>((3&n)<<3)&255;return r}}})),ne=[],te=0;256>te;++te)ne[te]=(te+256).toString(16).substr(1);var re,oe,ie=function(e,n){return n=n||0,[ne[e[n++]],ne[e[n++]],ne[e[n++]],ne[e[n++]],"-",ne[e[n++]],ne[e[n++]],"-",ne[e[n++]],ne[e[n++]],"-",ne[e[n++]],ne[e[n++]],"-",ne[e[n++]],ne[e[n++]],ne[e[n++]],ne[e[n++]],ne[e[n++]],ne[e[n++]]].join("")},ae=0,se=0,ce=function(e,n,t){if(t=n&&t||0,"string"==typeof e&&(n="binary"===e?Array(16):null,e=null),(e=(e=e||{}).random||(e.rng||ee)())[6]=15&e[6]|64,e[8]=63&e[8]|128,n)for(var r=0;16>r;++r)n[t+r]=e[r];return n||ie(e)};ce.v1=function(e,n,t){t=n&&t||0;var r=n||[],o=(e=e||{}).node||re,i=void 0!==e.clockseq?e.clockseq:oe;if(null==o||null==i){var a=ee();null==o&&(o=re=[1|a[0],a[1],a[2],a[3],a[4],a[5]]),null==i&&(i=oe=16383&(a[6]<<8|a[7]))}a=void 0!==e.msecs?e.msecs:(new Date).getTime();var s=void 0!==e.nsecs?e.nsecs:se+1,c=a-ae+(s-se)/1e4;if(0>c&&void 0===e.clockseq&&(i=i+1&16383),(0>c||a>ae)&&void 0===e.nsecs&&(s=0),1e4<=s)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");for(ae=a,se=s,oe=i,e=(1e4*(268435455&(a+=122192928e5))+s)%4294967296,r[t++]=e>>>24&255,r[t++]=e>>>16&255,r[t++]=e>>>8&255,r[t++]=255&e,e=a/4294967296*1e4&268435455,r[t++]=e>>>8&255,r[t++]=255&e,r[t++]=e>>>24&15|16,r[t++]=e>>>16&255,r[t++]=i>>>8|128,r[t++]=255&i,i=0;6>i;++i)r[t+i]=o[i];return n||ie(r)};var ue,le,fe=ce.v4=ce,de="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";(le=ue||(ue={}))[le.none=0]="none",le[le.error=1]="error",le[le.warn=2]="warn",le[le.debug=3]="debug",le[le.info=4]="info";var me=function(e){return void 0===e&&(e=ue.warn),{setLogLevel:function(n){e=ue[n]?n:ue.warn},warn:function(t,r){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];e>=ue.warn&&"undefined"!=typeof console&&(i="Snowplow: "+t,r?console.warn.apply(console,n([i+"\n",r],o)):console.warn.apply(console,n([i],o)))},error:function(t,r){for(var o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];e>=ue.error&&"undefined"!=typeof console&&(i="Snowplow: "+t+"\n",r?console.error.apply(console,n([i+"\n",r],o)):console.error.apply(console,n([i],o)))},debug:function(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];e>=ue.debug&&"undefined"!=typeof console&&console.debug.apply(console,n(["Snowplow: "+t],r))},info:function(t){for(var r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];e>=ue.info&&"undefined"!=typeof console&&console.info.apply(console,n(["Snowplow: "+t],r))}}}(),pe=t((function(e){var n;n={rotl:function(e,n){return e<<n|e>>>32-n},rotr:function(e,n){return e<<32-n|e>>>n},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var n=[];0<e;e--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(e){for(var n=[],t=0,r=0;t<e.length;t++,r+=8)n[r>>>5]|=e[t]<<24-r%32;return n},wordsToBytes:function(e){for(var n=[],t=0;t<32*e.length;t+=8)n.push(e[t>>>5]>>>24-t%32&255);return n},bytesToHex:function(e){for(var n=[],t=0;t<e.length;t++)n.push((e[t]>>>4).toString(16)),n.push((15&e[t]).toString(16));return n.join("")},hexToBytes:function(e){for(var n=[],t=0;t<e.length;t+=2)n.push(parseInt(e.substr(t,2),16));return n},bytesToBase64:function(e){for(var n=[],t=0;t<e.length;t+=3)for(var r=e[t]<<16|e[t+1]<<8|e[t+2],o=0;4>o;o++)8*t+6*o<=8*e.length?n.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],t=0,r=0;t<e.length;r=++t%4)0!=r&&n.push(("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t-1))&Math.pow(2,-2*r+8)-1)<<2*r|"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(e.charAt(t))>>>6-2*r);return n}},e.exports=n})),ge={utf8:{stringToBytes:function(e){return ge.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(ge.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var n=[],t=0;t<e.length;t++)n.push(255&e.charCodeAt(t));return n},bytesToString:function(e){for(var n=[],t=0;t<e.length;t++)n.push(String.fromCharCode(e[t]));return n.join("")}}},ve=ge,he=t((function(e){var n,t,r,o;n=ve.utf8,t=ve.bin,r=function(e){e.constructor==String?e=n.stringToBytes(e):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());var t=pe.bytesToWords(e),r=8*e.length;e=[];var o=1732584193,i=-271733879,a=-1732584194,s=271733878,c=-1009589776;for(t[r>>5]|=128<<24-r%32,t[15+(r+64>>>9<<4)]=r,r=0;r<t.length;r+=16){for(var u=o,l=i,f=a,d=s,m=c,p=0;80>p;p++){if(16>p)e[p]=t[r+p];else{var g=e[p-3]^e[p-8]^e[p-14]^e[p-16];e[p]=g<<1|g>>>31}g=(o<<5|o>>>27)+c+(e[p]>>>0)+(20>p?1518500249+(i&a|~i&s):40>p?1859775393+(i^a^s):60>p?(i&a|i&s|a&s)-1894007588:(i^a^s)-899497514),c=s,s=a,a=i<<30|i>>>2,i=o,o=g}o+=u,i+=l,a+=f,s+=d,c+=m}return[o,i,a,s,c]},(o=function(e,n){return e=pe.wordsToBytes(r(e)),n&&n.asBytes?e:n&&n.asString?t.bytesToString(e):pe.bytesToHex(e)})._blocksize=16,o._digestsize=20,e.exports=o})),ye={},Ae=function(){this.outQueues=[],this.bufferFlushers=[],this.hasLoaded=!1,this.registeredOnLoadHandlers=[]},we="undefined"!=typeof window?J():void 0,ke=Object.freeze({__proto__:null,addGlobalContexts:function(e,n){R(n,(function(n){n.core.addGlobalContexts(e)}))},addPlugin:function(e,n){R(n,(function(n){n.addPlugin(e)}))},clearGlobalContexts:function(e){R(e,(function(e){e.core.clearGlobalContexts()}))},clearUserData:function(e,n){R(n,(function(n){n.clearUserData(e)}))},crossDomainLinker:function(e,n){R(n,(function(n){n.crossDomainLinker(e)}))},disableAnonymousTracking:function(e,n){R(n,(function(n){n.disableAnonymousTracking(e)}))},discardBrace:function(e,n){R(n,(function(n){n.discardBrace(e)}))},discardHashTag:function(e,n){R(n,(function(n){n.discardHashTag(e)}))},enableActivityTracking:function(e,n){R(n,(function(n){n.enableActivityTracking(e)}))},enableActivityTrackingCallback:function(e,n){R(n,(function(n){n.enableActivityTrackingCallback(e)}))},enableAnonymousTracking:function(e,n){R(n,(function(n){n.enableAnonymousTracking(e)}))},flushBuffer:function(e,n){R(n,(function(n){n.flushBuffer(e)}))},newSession:function(e){R(e,(function(e){e.newSession()}))},newTracker:function(e,n,t){if(void 0===t&&(t={}),we)return F(e,e,"js-3.1.0",n,we,t)},preservePageViewId:function(e){R(e,(function(e){e.preservePageViewId()}))},removeGlobalContexts:function(e,n){R(n,(function(n){n.core.removeGlobalContexts(e)}))},setBufferSize:function(e,n){R(n,(function(n){n.setBufferSize(e)}))},setCollectorUrl:function(e,n){R(n,(function(n){n.setCollectorUrl(e)}))},setCookiePath:function(e,n){R(n,(function(n){n.setCookiePath(e)}))},setCustomUrl:function(e,n){R(n,(function(n){n.setCustomUrl(e)}))},setDocumentTitle:function(e,n){R(n,(function(n){n.setDocumentTitle(e)}))},setOptOutCookie:function(e,n){R(n,(function(n){n.setOptOutCookie(e)}))},setReferrerUrl:function(e,n){R(n,(function(n){n.setReferrerUrl(e)}))},setUserId:function(e,n){R(n,(function(n){n.setUserId(e)}))},setUserIdFromCookie:function(e,n){R(n,(function(n){n.setUserIdFromCookie(e)}))},setUserIdFromLocation:function(e,n){R(n,(function(n){n.setUserIdFromLocation(e)}))},setUserIdFromReferrer:function(e,n){R(n,(function(n){n.setUserIdFromReferrer(e)}))},setVisitorCookieTimeout:function(e,n){R(n,(function(n){n.setVisitorCookieTimeout(e)}))},trackPageView:function(e,n){R(n,(function(n){n.trackPageView(e)}))},trackSelfDescribingEvent:function(e,n){R(n,(function(n){n.core.track(S({event:e.event}),e.context,e.timestamp)}))},trackStructEvent:function(e,n){R(n,(function(n){n.core.track(function(e){var n=e.category,t=e.action,r=e.label,i=e.property;e=e.value;var a=o();return a.add("e","se"),a.add("se_ca",n),a.add("se_ac",t),a.add("se_la",r),a.add("se_pr",i),a.add("se_va",null==e?void 0:e.toString()),a}(e),e.context,e.timestamp)}))},updatePageActivity:function(e){R(e,(function(e){e.updatePageActivity()}))},version:"3.1.0"}),be=Object.freeze({__proto__:null,PerformanceTimingPlugin:q}),Te={},Se={},Pe=Object.freeze({__proto__:null,LinkClickTrackingPlugin:Y,enableLinkClickTracking:function(e,n){void 0===e&&(e={}),void 0===n&&(n=Object.keys(Te)),n.forEach((function(n){Te[n]&&(Te[n].sharedState.hasLoaded?(W(e,n),Q(n)):Te[n].sharedState.registeredOnLoadHandlers.push((function(){W(e,n),Q(n)})))}))},refreshLinkClickTracking:function(e){void 0===e&&(e=Object.keys(Te)),e.forEach((function(e){Te[e]&&(Te[e].sharedState.hasLoaded?Q(e):Te[e].sharedState.registeredOnLoadHandlers.push((function(){Q(e)})))}))},trackLinkClick:function(e,n){void 0===n&&(n=Object.keys(Te)),function(e,n,t){try{G(null!=e?e:Object.keys(n),n).forEach(t)}catch(e){me.error("Function failed",e)}}(n,Te,(function(n){n.core.track(O(e),e.context,e.timestamp)}))}}),Ce=t((function(e){var n;(n=function(){var e={"America/Denver":["America/Mazatlan"],"America/Chicago":["America/Mexico_City"],"America/Asuncion":["America/Campo_Grande","America/Santiago"],"America/Montevideo":["America/Sao_Paulo","America/Santiago"],"Asia/Beirut":"Asia/Amman Asia/Jerusalem Europe/Helsinki Asia/Damascus Africa/Cairo Asia/Gaza Europe/Minsk Africa/Windhoek".split(" "),"Pacific/Auckland":["Pacific/Fiji"],"America/Los_Angeles":["America/Santa_Isabel"],"America/New_York":["America/Havana"],"America/Halifax":["America/Goose_Bay"],"America/Godthab":["America/Miquelon"],"Asia/Dubai":["Asia/Yerevan"],"Asia/Jakarta":["Asia/Krasnoyarsk"],"Asia/Shanghai":["Asia/Irkutsk","Australia/Perth"],"Australia/Sydney":["Australia/Lord_Howe"],"Asia/Tokyo":["Asia/Yakutsk"],"Asia/Dhaka":["Asia/Omsk"],"Asia/Baku":["Asia/Yerevan"],"Australia/Brisbane":["Asia/Vladivostok"],"Pacific/Noumea":["Asia/Vladivostok"],"Pacific/Majuro":["Asia/Kamchatka","Pacific/Fiji"],"Pacific/Tongatapu":["Pacific/Apia"],"Asia/Baghdad":["Europe/Minsk","Europe/Moscow"],"Asia/Karachi":["Asia/Yekaterinburg"],"Africa/Johannesburg":["Asia/Gaza","Africa/Cairo"]},t=function(){for(var e=[],n=0;11>=n;n++)for(var t=1;28>=t;t++){var r=-new Date(2014,n,t).getTimezoneOffset();r=null!==r?r:0,e?e&&e[e.length-1]!==r&&e.push(r):e.push()}return e},r=function e(n,t,r){void 0===t&&(t=864e5,r=36e5);var o=new Date(n.getTime()-t).getTime();n=n.getTime()+t;for(var i=new Date(o).getTimezoneOffset(),a=null;o<n-r;){var s=new Date(o);if(s.getTimezoneOffset()!==i){a=s;break}o+=r}return 864e5===t?e(a,36e5,6e4):36e5===t?e(a,6e4,1e3):a},o=function(e,n,t,r){if("N/A"!==t)return t;if("Asia/Beirut"===n){if("Africa/Cairo"===r.name&&13983768e5===e[6].s&&14116788e5===e[6].e||"Asia/Jerusalem"===r.name&&13959648e5===e[6].s&&14118588e5===e[6].e)return 0}else if("America/Santiago"===n){if("America/Asuncion"===r.name&&14124816e5===e[6].s&&1397358e6===e[6].e||"America/Campo_Grande"===r.name&&14136912e5===e[6].s&&13925196e5===e[6].e)return 0}else if("America/Montevideo"===n){if("America/Sao_Paulo"===r.name&&14136876e5===e[6].s&&1392516e6===e[6].e)return 0}else if("Pacific/Auckland"===n&&"Pacific/Fiji"===r.name&&14142456e5===e[6].s&&13961016e5===e[6].e)return 0;return t},i=function(t,r){for(var i={},a=n.olson.dst_rules.zones,s=a.length,c=e[r],u=0;u<s;u++){for(var l=a[u],f=a[u],d=0,m=0;m<t.length;m++)if(f.rules[m]&&t[m]){if(!(t[m].s>=f.rules[m].s&&t[m].e<=f.rules[m].e)){d="N/A";break}if(d=0,d+=Math.abs(t[m].s-f.rules[m].s),864e6<(d+=Math.abs(f.rules[m].e-t[m].e))){d="N/A";break}}"N/A"!==(f=o(t,r,d,f))&&(i[l.name]=f)}for(var p in i)if(i.hasOwnProperty(p))for(t=0;t<c.length;t++)if(c[t]===p)return p;return r},a=function(e){var t=function(){for(var e=[],t=0;t<n.olson.dst_rules.years.length;t++){var o=n.olson.dst_rules.years[t],i=new Date(o,0,1,0,0,1,0).getTime();o=new Date(o,12,31,23,59,59).getTime();for(var a=new Date(i).getTimezoneOffset(),s=null,c=null;i<o-864e5;){var u=new Date(i),l=u.getTimezoneOffset();l!==a&&(l<a&&(s=u),l>a&&(c=u),a=l),i+=864e5}o=!(!s||!c)&&{s:r(s).getTime(),e:r(c).getTime()},e.push(o)}return e}();return function(e){for(var n=0;n<e.length;n++)if(!1!==e[n])return!0;return!1}(t)?i(t,e):e};return{determine:function(r){var o=!1,i=function(){var e=0,n=t();return 1<n.length&&(e=n[0]-n[1]),3<n.length?n[0]+",1,weird":0>e?n[0]+",1":0<e?n[1]+",1,s":n[0]+",0"}();return(r||void 0===r)&&(o=function(){var e,n;if(Intl&&"undefined"!=typeof Intl&&void 0!==Intl.DateTimeFormat&&void 0!==(e=Intl.DateTimeFormat())&&void 0!==e.resolvedOptions)return(n=e.resolvedOptions().timeZone)&&(-1<n.indexOf("/")||"UTC"===n)?n:void 0}()),o||(o=n.olson.timezones[i],void 0!==e[o]&&(o=a(o))),{name:function(){return o},using_intl:r||void 0===r,needle:i,offsets:t()}}}}()).olson=n.olson||{},n.olson.timezones={"-720,0":"Etc/GMT+12","-660,0":"Pacific/Pago_Pago","-660,1,s":"Pacific/Apia","-600,1":"America/Adak","-600,0":"Pacific/Honolulu","-570,0":"Pacific/Marquesas","-540,0":"Pacific/Gambier","-540,1":"America/Anchorage","-480,1":"America/Los_Angeles","-480,0":"Pacific/Pitcairn","-420,0":"America/Phoenix","-420,1":"America/Denver","-360,0":"America/Guatemala","-360,1":"America/Chicago","-360,1,s":"Pacific/Easter","-300,0":"America/Bogota","-300,1":"America/New_York","-270,0":"America/Caracas","-240,1":"America/Halifax","-240,0":"America/Santo_Domingo","-240,1,s":"America/Asuncion","-210,1":"America/St_Johns","-180,1":"America/Godthab","-180,0":"America/Buenos_Aires","-180,1,s":"America/Montevideo","-120,0":"America/Noronha","-120,1":"America/Noronha","-60,1":"Atlantic/Azores","-60,0":"Atlantic/Cape_Verde","0,0":"UTC","0,1":"Europe/London","0,1,weird":"Africa/Casablanca","60,1":"Europe/Berlin","60,0":"Africa/Lagos","60,1,weird":"Africa/Casablanca","120,1":"Asia/Beirut","120,1,weird":"Africa/Cairo","120,0":"Africa/Johannesburg","180,0":"Asia/Baghdad","180,1":"Europe/Moscow","210,1":"Asia/Tehran","240,0":"Asia/Dubai","240,1":"Asia/Baku","270,0":"Asia/Kabul","300,1":"Asia/Yekaterinburg","300,0":"Asia/Karachi","330,0":"Asia/Calcutta","345,0":"Asia/Katmandu","360,0":"Asia/Dhaka","360,1":"Asia/Omsk","390,0":"Asia/Rangoon","420,1":"Asia/Krasnoyarsk","420,0":"Asia/Jakarta","480,0":"Asia/Shanghai","480,1":"Asia/Irkutsk","525,0":"Australia/Eucla","525,1,s":"Australia/Eucla","540,1":"Asia/Yakutsk","540,0":"Asia/Tokyo","570,0":"Australia/Darwin","570,1,s":"Australia/Adelaide","600,0":"Australia/Brisbane","600,1":"Asia/Vladivostok","600,1,s":"Australia/Sydney","630,1,s":"Australia/Lord_Howe","660,1":"Asia/Kamchatka","660,0":"Pacific/Noumea","690,0":"Pacific/Norfolk","720,1,s":"Pacific/Auckland","720,0":"Pacific/Majuro","765,1,s":"Pacific/Chatham","780,0":"Pacific/Tongatapu","780,1,s":"Pacific/Apia","840,0":"Pacific/Kiritimati"},n.olson.dst_rules={years:[2008,2009,2010,2011,2012,2013,2014],zones:[{name:"Africa/Cairo",rules:[{e:12199572e5,s:12090744e5},{e:1250802e6,s:1240524e6},{e:12858804e5,s:12840696e5},!1,!1,!1,{e:14116788e5,s:1406844e6}]},{name:"America/Asuncion",rules:[{e:12050316e5,s:12243888e5},{e:12364812e5,s:12558384e5},{e:12709548e5,s:12860784e5},{e:13024044e5,s:1317528e6},{e:1333854e6,s:13495824e5},{e:1364094e6,s:1381032e6},{e:13955436e5,s:14124816e5}]},{name:"America/Campo_Grande",rules:[{e:12032172e5,s:12243888e5},{e:12346668e5,s:12558384e5},{e:12667212e5,s:1287288e6},{e:12981708e5,s:13187376e5},{e:13302252e5,s:1350792e6},{e:136107e7,s:13822416e5},{e:13925196e5,s:14136912e5}]},{name:"America/Goose_Bay",rules:[{e:122559486e4,s:120503526e4},{e:125704446e4,s:123648486e4},{e:128909886e4,s:126853926e4},{e:13205556e5,s:129998886e4},{e:13520052e5,s:13314456e5},{e:13834548e5,s:13628952e5},{e:14149044e5,s:13943448e5}]},{name:"America/Havana",rules:[{e:12249972e5,s:12056436e5},{e:12564468e5,s:12364884e5},{e:12885012e5,s:12685428e5},{e:13211604e5,s:13005972e5},{e:13520052e5,s:13332564e5},{e:13834548e5,s:13628916e5},{e:14149044e5,s:13943412e5}]},{name:"America/Mazatlan",rules:[{e:1225008e6,s:12074724e5},{e:12564576e5,s:1238922e6},{e:1288512e6,s:12703716e5},{e:13199616e5,s:13018212e5},{e:13514112e5,s:13332708e5},{e:13828608e5,s:13653252e5},{e:14143104e5,s:13967748e5}]},{name:"America/Mexico_City",rules:[{e:12250044e5,s:12074688e5},{e:1256454e6,s:12389184e5},{e:12885084e5,s:1270368e6},{e:1319958e6,s:13018176e5},{e:13514076e5,s:13332672e5},{e:13828572e5,s:13653216e5},{e:14143068e5,s:13967712e5}]},{name:"America/Miquelon",rules:[{e:12255984e5,s:12050388e5},{e:1257048e6,s:12364884e5},{e:12891024e5,s:12685428e5},{e:1320552e6,s:12999924e5},{e:13520016e5,s:1331442e6},{e:13834512e5,s:13628916e5},{e:14149008e5,s:13943412e5}]},{name:"America/Santa_Isabel",rules:[{e:12250116e5,s:1207476e6},{e:12564612e5,s:12389256e5},{e:12891204e5,s:12685608e5},{e:132057e7,s:13000104e5},{e:13520196e5,s:133146e7},{e:13834692e5,s:13629096e5},{e:14149188e5,s:13943592e5}]},{name:"America/Santiago",rules:[{e:1206846e6,s:1223784e6},{e:1237086e6,s:12552336e5},{e:127035e7,s:12866832e5},{e:13048236e5,s:13138992e5},{e:13356684e5,s:13465584e5},{e:1367118e6,s:13786128e5},{e:13985676e5,s:14100624e5}]},{name:"America/Sao_Paulo",rules:[{e:12032136e5,s:12243852e5},{e:12346632e5,s:12558348e5},{e:12667176e5,s:12872844e5},{e:12981672e5,s:1318734e6},{e:13302216e5,s:13507884e5},{e:13610664e5,s:1382238e6},{e:1392516e6,s:14136876e5}]},{name:"Asia/Amman",rules:[{e:1225404e6,s:12066552e5},{e:12568536e5,s:12381048e5},{e:12883032e5,s:12695544e5},{e:13197528e5,s:13016088e5},!1,!1,{e:14147064e5,s:13959576e5}]},{name:"Asia/Damascus",rules:[{e:12254868e5,s:120726e7},{e:125685e7,s:12381048e5},{e:12882996e5,s:12701592e5},{e:13197492e5,s:13016088e5},{e:13511988e5,s:13330584e5},{e:13826484e5,s:1364508e6},{e:14147028e5,s:13959576e5}]},{name:"Asia/Dubai",rules:[!1,!1,!1,!1,!1,!1,!1]},{name:"Asia/Gaza",rules:[{e:12199572e5,s:12066552e5},{e:12520152e5,s:12381048e5},{e:1281474e6,s:126964086e4},{e:1312146e6,s:130160886e4},{e:13481784e5,s:13330584e5},{e:13802292e5,s:1364508e6},{e:1414098e6,s:13959576e5}]},{name:"Asia/Irkutsk",rules:[{e:12249576e5,s:12068136e5},{e:12564072e5,s:12382632e5},{e:12884616e5,s:12697128e5},!1,!1,!1,!1]},{name:"Asia/Jerusalem",rules:[{e:12231612e5,s:12066624e5},{e:1254006e6,s:1238112e6},{e:1284246e6,s:12695616e5},{e:131751e7,s:1301616e6},{e:13483548e5,s:13330656e5},{e:13828284e5,s:13645152e5},{e:1414278e6,s:13959648e5}]},{name:"Asia/Kamchatka",rules:[{e:12249432e5,s:12067992e5},{e:12563928e5,s:12382488e5},{e:12884508e5,s:12696984e5},!1,!1,!1,!1]},{name:"Asia/Krasnoyarsk",rules:[{e:12249612e5,s:12068172e5},{e:12564108e5,s:12382668e5},{e:12884652e5,s:12697164e5},!1,!1,!1,!1]},{name:"Asia/Omsk",rules:[{e:12249648e5,s:12068208e5},{e:12564144e5,s:12382704e5},{e:12884688e5,s:126972e7},!1,!1,!1,!1]},{name:"Asia/Vladivostok",rules:[{e:12249504e5,s:12068064e5},{e:12564e8,s:1238256e6},{e:12884544e5,s:12697056e5},!1,!1,!1,!1]},{name:"Asia/Yakutsk",rules:[{e:1224954e6,s:120681e7},{e:12564036e5,s:12382596e5},{e:1288458e6,s:12697092e5},!1,!1,!1,!1]},{name:"Asia/Yekaterinburg",rules:[{e:12249684e5,s:12068244e5},{e:1256418e6,s:1238274e6},{e:12884724e5,s:12697236e5},!1,!1,!1,!1]},{name:"Asia/Yerevan",rules:[{e:1224972e6,s:1206828e6},{e:12564216e5,s:12382776e5},{e:1288476e6,s:12697272e5},{e:13199256e5,s:13011768e5},!1,!1,!1]},{name:"Australia/Lord_Howe",rules:[{e:12074076e5,s:12231342e5},{e:12388572e5,s:12545838e5},{e:12703068e5,s:12860334e5},{e:13017564e5,s:1317483e6},{e:1333206e6,s:13495374e5},{e:13652604e5,s:1380987e6},{e:139671e7,s:14124366e5}]},{name:"Australia/Perth",rules:[{e:12068136e5,s:12249576e5},!1,!1,!1,!1,!1,!1]},{name:"Europe/Helsinki",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Europe/Minsk",rules:[{e:12249792e5,s:12068352e5},{e:12564288e5,s:12382848e5},{e:12884832e5,s:12697344e5},!1,!1,!1,!1]},{name:"Europe/Moscow",rules:[{e:12249756e5,s:12068316e5},{e:12564252e5,s:12382812e5},{e:12884796e5,s:12697308e5},!1,!1,!1,!1]},{name:"Pacific/Apia",rules:[!1,!1,!1,{e:13017528e5,s:13168728e5},{e:13332024e5,s:13489272e5},{e:13652568e5,s:13803768e5},{e:13967064e5,s:14118264e5}]},{name:"Pacific/Fiji",rules:[!1,!1,{e:12696984e5,s:12878424e5},{e:13271544e5,s:1319292e6},{e:1358604e6,s:13507416e5},{e:139005e7,s:1382796e6},{e:14215032e5,s:14148504e5}]},{name:"Europe/London",rules:[{e:12249828e5,s:12068388e5},{e:12564324e5,s:12382884e5},{e:12884868e5,s:1269738e6},{e:13199364e5,s:13011876e5},{e:1351386e6,s:13326372e5},{e:13828356e5,s:13646916e5},{e:14142852e5,s:13961412e5}]},{name:"Africa/Windhoek",rules:[{e:12207492e5,s:120744e7},{e:12521988e5,s:12388896e5},{e:12836484e5,s:12703392e5},{e:1315098e6,s:13017888e5},{e:13465476e5,s:13332384e5},{e:13779972e5,s:13652928e5},{e:14100516e5,s:13967424e5}]}]},e.exports=n})),Oe=Object.freeze({__proto__:null,TimezonePlugin:Z}),xe=window.GlobalSnowplowNamespace.shift(),Ee=window[xe];Ee.q=function(n,t){function r(e){var n=e.split(":");return[e=n[0],n=1<n.length?n[1].split(";"):void 0]}function o(e,n){if(y[e])try{y[e].apply(null,n)}catch(n){me.error(e+" failed",n)}else me.warn(e+" is not an available function")}function i(){0===Object.keys(g).length&&v.forEach((function(e){var n=e[1];void 0!==y[e[0]]&&y[e[0]].length>n.length&&Array.isArray(n[0])&&(n=[{},n[0]]),o(e[0],n)}))}function a(e){y=$($({},y),e)}function s(t){if("string"!=typeof t[0]||"string"!=typeof t[1]||void 0!==t[2]&&"object"!=typeof t[2])me.error("newTracker failed",Error("Invalid parameters"));else{var r=n+"_"+t[0],o=t[2],i=function(n){var t;return n=null!==(t=null==n?void 0:n.contexts)&&void 0!==t?t:{},t=n.performanceTiming,n.gaCookies,n.geolocation,n.optimizelyExperiments,n.optimizelyStates,n.optimizelyVariations,n.optimizelyVisitor,n.optimizelyAudiences,n.optimizelyDimensions,n.optimizelySummary,n.optimizelyXSummary,n.clientHints,n=[],t&&(t=e(be,["PerformanceTimingPlugin"]),n.push([q(),t])),t=e(Pe,["LinkClickTrackingPlugin"]),n.push([Y(),t]),t=e(Oe,["TimezonePlugin"]),n.push([Z(),t]),n}(o);(r=F(r,t[0],"js-"+h,t[1],m,$($({},o),{plugins:i.map((function(e){return e[0]}))})))?(p.push(r.id),i.forEach((function(e){a(e[1])}))):me.warn(t[0]+" already exists")}}function c(n,t){function r(e){Object.prototype.hasOwnProperty.call(g,e)&&(l.clearTimeout(g[e].timeout),delete g[e],i())}var o;if("string"==typeof n[0]&&f(n[1])&&(void 0===n[2]||Array.isArray(n[2]))){var s=n[0],c=n[1],u=n[2];(null===(o=n[3])||void 0===o||o)&&(o=l.setTimeout((function(){r(s)}),5e3),g[s]={timeout:o}),(o=d.createElement("script")).setAttribute("src",s),o.setAttribute("async","1"),L(o,"error",(function(){r(s),me.warn("Failed to load plugin "+c[0]+" from "+s)}),!0),L(o,"load",(function(){var n=c[1],o=l[c[0]];if(o&&"object"==typeof o){var i=o[n];n=e(o,["symbol"==typeof n?n:n+""]),y.addPlugin.apply(null,[{plugin:i.apply(null,u)},t]),a(n)}r(s)}),!0),d.head.appendChild(o)}else{if("object"==typeof n[0]&&"string"==typeof n[1]&&(void 0===n[2]||Array.isArray(n[2]))){var m=n[0],p=n[1];if(o=n[2],m)return n=m[p],m=e(m,["symbol"==typeof p?p:p+""]),y.addPlugin.apply(null,[{plugin:n.apply(null,o)},t]),void a(m)}me.warn("Failed to add Plugin: "+n[1])}}function u(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(t=0;t<e.length;t+=1){var i=e[t],a=Array.prototype.shift.call(i),u=!(!a||"function"!=typeof a);if(u)try{u={};for(var l=0,f=G(p,ye);l<f.length;l++){var d=f[l];u[d.id.replace(n+"_","")]=d}a.apply(u,i)}catch(e){me.error("Tracker callback failed",e)}finally{continue}a=(u=r(a))[0],u=u[1],"newTracker"===a?s(i):(u=u?u.map((function(e){return n+"_"+e})):p,"addPlugin"===a?c(i,u):(l=void 0,l=void 0!==i[0]?[i[0],u]:void 0!==y[a]&&2===y[a].length?[{},u]:[u],0<Object.keys(g).length?v.push([a,l]):o(a,l)))}}for(var l=window,d=document,m=J(),p=[],g={},v=[],h="3.1.0",y=e(ke,["version"]),A=0;A<t.length;A++)u(t[A]);return{push:u}}(xe,Ee.q)}();