/** 
 * HubSpot Analytics Tracking Code Build Number 1.159
 * Copyright 2017 HubSpot, Inc.  http://www.hubspot.com
 */
var _hsq = _hsq || [];
var _paq = _paq || [];
_hsq.push(['setPortalId', 1920510]);
_hsq.push(['trackPageView']);
_hsq.push(['setLegacy', false]);
_hsq.push(['addCookieDomain', '.hs-sites.com']);
_hsq.push(['addCookieDomain', '.era.ca']);
_hsq.push(['enableAutomaticLinker', true]);
_hsq.push(['embedHubSpotScript', 'https://api.usemessages.com/messages/v2/embed/1920510.js', 'messages-1920510']);
_hsq.push(['embedHubSpotScript', 'https://js.hs-scripts.com/1920510.js', 'hs-script-loader']);
/** _anon_wrapper_ **/ (function() {
function load(){function t(t){try{if("function"==typeof t)t(s,hstc);else if(t&&hstc.utils.isArray(t)&&s[t[0]])return s[t[0]].apply(s,t.slice(1))}catch(e){hstc.utils.logError(e)}}function e(){if(!r){for(r=win[ran_param]=!0,hstc.log("Processing HSQ"),hstc.utils.search2dArray(i,1,["setCookiesToSubdomain","addCookieDomain"],t),s._initialize(i),hstc.utils.search2dArray(i,1,PRIORITY_FUNCTIONS,t);i.length;)t(i.shift());i.push=t}}function n(){var t=context.getDocument();return!t.readyState||"complete"==t.readyState||t.addEventListener&&"loaded"==t.readyState?(e(),!0):!1}win[loaded_param]=!0;var i=win[hsq];hstc.utils.isArray(i)||(i=[]);var r=win[ran_param]||!1,s=new hstc.tracking.Tracker(context);n()||hstc.utils.addEventListener(win,"load",e,!0)}var hstc=hstc||{};hstc.JS_VERSION=1.1,hstc.ANALYTICS_HOST="track.hubspot.com";var hstc=hstc||{};hstc.Math={uuid:function(){if(window.navigator.userAgent.indexOf("googleweblight")>-1)return hstc.Math._mathRandomUuid();var t=window.crypto||window.msCrypto;return"undefined"!=typeof t&&"undefined"!=typeof t.getRandomValues&&"undefined"!=typeof window.Uint16Array?hstc.Math._cryptoUuid():hstc.Math._mathRandomUuid()},_mathRandomUuid:function(){var t=(new Date).getTime();return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:3&n|8).toString(16)})},_cryptoUuid:function(){var t=window.crypto||window.msCrypto,e=new Uint16Array(8);t.getRandomValues(e);var n=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return n(e[0])+n(e[1])+n(e[2])+n(e[3])+n(e[4])+n(e[5])+n(e[6])+n(e[7])}},Math.uuid=Math.uuid||function(){return hstc.utils.logError(new Error("Attempt to use Math.uuid()")),hstc.Math.uuid()};var hstc=hstc||{};hstc.debug=!1,hstc.log=function(){try{var t=new hstc.cookies.Cookie,e="hs_dbg",n=document.location.hash.indexOf("#hsdbg")>-1;if(hstc.debug||n||"1"===t.get(e)){var i=window.console;i&&"function"==typeof i.log&&i.log.apply(i,arguments),t.set(e,1)}}catch(r){}};var hstc=hstc||{};hstc.global={},hstc.global.Context=function(t,e,n,i,r,s,o){this.doc=t||document,this.nav=e||navigator,this.scr=n||screen,this.win=i||window,this.loc=r||this.win.location,this.top=s||top,this.parent=o||parent},hstc.global.Context.prototype.getDocument=function(){return this.doc},hstc.global.Context.prototype.getNavigator=function(){return this.nav},hstc.global.Context.prototype.getScreen=function(){return this.scr},hstc.global.Context.prototype.getWindow=function(){return this.win},hstc.global.Context.prototype.getLocation=function(){return this.loc},hstc.global.Context.prototype.getHostName=function(){try{return this.loc.hostname}catch(t){return this.doc.domain}},hstc.global.Context.prototype.getTop=function(){return this.top},hstc.global.Context.prototype.getParent=function(){return this.parent},hstc.global.Context.prototype.getReferrer=function(){var t="";try{t=this.top.document.referrer}catch(e){if(parent)try{t=this.parent.document.referrer}catch(n){t=""}}return""===t&&(t=this.doc.referrer),t},hstc.global.Context.prototype.getCharacterSet=function(){return this.doc.characterSet?this.doc.characterSet:this.doc.charset?this.doc.charset:""},hstc.global.Context.prototype.getLanguage=function(){return this.nav.language?this.nav.language:this.nav.browserLanguage?this.nav.browserLanguage:""};var hstc=hstc||{};hstc.utils={},hstc.utils.tostr=function(){return Object.prototype.toString}(),hstc.utils.getNextWeekStart=function(t){var e=t||new Date,n=e.getDay(),i=e.getDate()+(0==n?7:7-n);return hstc.utils.clearTimePart(new Date(e.setDate(i)))},hstc.utils.getNextMonthStart=function(t){for(var e=t||new Date,n=e.getMonth(),i=0;n==e.getMonth();)i++,e.setDate(e.getDate()+1);return hstc.utils.clearTimePart(e)},hstc.utils.clearTimePart=function(t){return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t},hstc.utils.truncateString=function(t,e){return t?t.length>e?t.substr(0,e):t:""},hstc.utils.search2dArray=function(t,e,n,i){for(var r=0;r<t.length;r++){var s=t[r];s&&hstc.utils.isArray(s)&&-1!==hstc.utils.inArray(s[e-1],n)&&(i(s,r),t.splice(r--,1))}},hstc.utils.removeDomain=function(t){return"/"+t.split("//")[1].split("/").slice(1).join("/")},hstc.utils.removeItem=function(t,e,n){var i=t.slice((n||e)+1||this.length);return this.length=0>e?t.length+e:e,t.push.apply(t,i)},hstc.utils.isArray=function(t){return"[object Array]"===hstc.utils.tostr.call(t)},hstc.utils.inArray=function(t,e){for(var n=0,i=e.length;i>n;n++)if(e[n]===t)return n;return-1},hstc.utils.extend=function(){var t,e=arguments[0]||{},n=1,i=arguments.length,r=!1;for("boolean"==typeof e&&(r=e,e=arguments[1]||{},n=2),"object"==typeof e||hstc.utils.isFunction(e)||(e={}),i==n&&(e=this,--n);i>n;n++)if(null!=(t=arguments[n]))for(var s in t){var o=e[s],c=t[s];e!==c&&(r&&c&&"object"==typeof c&&!c.nodeType?e[s]=hstc.utils.extend(r,o||(null!==c.length?[]:{}),c):void 0!==c&&(e[s]=c))}return e},hstc.utils.each=function(t,e){var n,i=0,r=t.length;if(void 0===r){for(n in t)if(e.call(t[n],n,t[n])===!1)break}else for(var s=t[0];r>i&&e.call(s,i,s)!==!1;s=t[++i]);return t},hstc.utils.isDefined=function(t){return"undefined"!=typeof t},hstc.utils.addEventListener=function(t,e,n,i){return t.addEventListener?(t.addEventListener(e,n,i),!0):t.attachEvent?t.attachEvent("on"+e,n):void(t["on"+e]=n)},hstc.utils.preventDefault=function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},hstc.utils.loadImage=function(t,e,n){var i=new Date,r=new Image(1,1);expireDateTime=i.getTime()+e,r.onload=function(){n&&n()},r.src=t},hstc.utils.isEmpty=function(t){return void 0==t||"-"==t||""==t},hstc.utils.isEmptyObject=function(t){for(var e in t)return!1;return!0},hstc.utils.safeString=function(t){return hstc.utils.isEmpty(t)?"":t},hstc.utils.makeLowerCase=function(t){return hstc.utils.safeString(t).toLowerCase()},hstc.utils.encodeParam=function(t,e){var n=encodeURIComponent;return n instanceof Function?e?encodeURI(t):n(t):escape(t)},hstc.utils.decodeParam=function(t,e){var n,i=decodeURIComponent;if(t=t.split("+").join(" "),i instanceof Function)try{n=e?decodeURI(t):i(t)}catch(r){n=unescape(t)}else n=unescape(t);return n},hstc.utils.isFunction=function(t){return"[object Function]"===hstc.utils.tostr.call(t)},hstc.utils.utcnow=function(){return(new Date).getTime()},hstc.utils.hashDomain=function(t){for(var e=0,n=t.length-1;n>=0;n--){var i=t.charCodeAt(n);e=(e<<6&268435455)+i+(i<<14),i=266338304&e,e=0!==i?e^i>>21:e}return e},hstc.utils.extractDomain=function(t){var e=t.split(".");return e.length>2&&(e=e.slice(1)),"."+e.join(".")},hstc.utils.createElement=function(t){var e=document.createDocumentFragment(),n=document.createElement("div");for(n.innerHTML=t;n.firstChild;)e.appendChild(n.firstChild);return e},hstc.utils.deparam=function(t,e){var n={},i={"true":!0,"false":!1,"null":null};return t=hstc.utils.trim(hstc.utils.safeString(t)),(hstc.utils.startsWith(t,"?")||hstc.utils.startsWith(t,"#"))&&(t=t.slice(1)),hstc.utils.each(t.split("+").join(" ").split("&"),function(t,r){var s,o=r.split("="),c=hstc.utils.decodeParam(o[0]),a=n,h=0,u=c.split("]["),l=u.length-1;if(/\[/.test(u[0])&&/\]$/.test(u[l])?(u[l]=u[l].replace(/\]$/,""),u=u.shift().split("[").concat(u),l=u.length-1):l=0,2===o.length)if(s=hstc.utils.decodeParam(o[1]),e&&(s=s&&!isNaN(s)?+s:"undefined"===s?void 0:void 0!==i[s]?i[s]:s),l)for(;l>=h;h++)c=""===u[h]?a.length:u[h],a=a[c]=l>h?a[c]||(u[h+1]&&isNaN(u[h+1])?{}:[]):s;else hstc.utils.isArray(n[c])?n[c].push(s):void 0!==n[c]?n[c]=[n[c],s]:n[c]=s;else c&&(n[c]=e?void 0:"")}),n},hstc.utils.param=function(t,e){function n(t,e){i[i.length]=hstc.utils.encodeParam(t)+"="+hstc.utils.encodeParam(e)}var i=[];e=e||"&";for(var r in t)hstc.utils.isArray(t[r])?hstc.utils.each(t[r],function(){n(r,this)}):n(r,hstc.utils.isFunction(t[r])?t[r]():t[r]);return i.join(e).replace(/%20/g,"+")},hstc.utils.updateQueryStringParameter=function(t,e,n){var i=new RegExp("([?|&])"+e+"=.*?(&|#|$)(.*)","gi");if(i.test(t))return n?t.replace(i,"$1"+e+"="+n+"$2$3"):t.replace(i,"$1$3").replace(/(&|\?)$/,"");if(n){var r=t.indexOf("#"),s=t.indexOf("?"),o=-1!==s&&(-1===r||r>s)?"&":"?",c=t.split("#");return t=c[0]+o+e+"="+n,c[1]&&(t+="#"+c[1]),t}return t},hstc.utils.trim=function(t){return(t||"").replace(/^\s+|\s+$/g,"")},hstc.utils.startsWith=function(t,e){return t.substr(0,e.length)==e},hstc.utils.endsWith=function(t,e){var n=t.length-e.length;return n>=0&&t.lastIndexOf(e)===n},hstc.utils.mergeObject=function(t,e){if(t=t||{},!e)return e;for(var n in e)t[n]=e[n];return t},hstc.utils.hasClass=function(t,e){return t&&t.className?hstc.utils.inArray(e,t.className.split(" "))>-1:void 0},hstc.utils.stripNumericBrackets=function(t){return(t||"").replace(/(^.+?)\[(.+?)\]/,"$1_$2")},hstc.utils.parseCurrency=function(t,e){if("number"==typeof t)return t;var n=t.match(/([^\d]*)([\d\.,]+)([^\d\.,]*)/);if(n){var i,r=n[2],s=r.split("."),o=r.split(",");i=s.length>2||2==s.length&&s[1].length>2&&(0===o.length||s[0].length<o[0].length)||2==o.length&&2==o[1].length?o:s;var c=decimalPart=0;i.length>1?(decimalPart=i.pop(),c=i.join("")):c=i.join(""),c=c.replace(/[\.,]/g,"");var a=parseInt(c);return decimalPart&&(a+=parseFloat(decimalPart)/Math.pow(10,decimalPart.length)),a}return null},hstc.utils.logError=function(t,e){e=e||{};var n={w:hstc.utils.utcnow(),m:t.message||t.toString?t.toString():"-",j:hstc.JS_VERSION};n=hstc.utils.extend(n,e),t.name&&(n.n=t.name),t.fileName&&(n.f=t.fileName),t.lineNumber&&(n.l=t.lineNumber);try{n.x=t.stack||t.stacktrace||""}catch(i){}hstc.log("Encountered a JS error"),hstc.log(n),hstc.utils.loadImage("//"+hstc.ANALYTICS_HOST+"/__pto.gif?"+hstc.utils.param(n))},hstc.utils.objectsAreEqual=function(t,e){return eq(t,e,[])},hstc.utils.eq=function(t,e,n){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;if(t._chain&&(t=t._wrapped),e._chain&&(e=e._wrapped),t.isEqual&&_.isFunction(t.isEqual))return t.isEqual(e);if(e.isEqual&&_.isFunction(e.isEqual))return e.isEqual(t);var i=toString.call(t);if(i!=toString.call(e))return!1;switch(i){case"[object String]":return t==String(e);case"[object Number]":return t!=+t?e!=+e:0==t?1/t==1/e:t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object RegExp]":return t.source==e.source&&t.global==e.global&&t.multiline==e.multiline&&t.ignoreCase==e.ignoreCase}if("object"!=typeof t||"object"!=typeof e)return!1;for(var r=n.length;r--;)if(n[r]==t)return!0;n.push(t);var s=0,o=!0;if("[object Array]"==i){if(s=t.length,o=s==e.length)for(;s--&&(o=s in t==s in e&&eq(t[s],e[s],n)););}else{if("constructor"in t!="constructor"in e||t.constructor!=e.constructor)return!1;for(var c in t)if(_.has(t,c)&&(s++,!(o=_.has(e,c)&&eq(t[c],e[c],n))))break;if(o){for(c in e)if(_.has(e,c)&&!s--)break;o=!s}}return n.pop(),o};var hstc=hstc||{};hstc.cookies={},hstc.cookies.Cookie=function(t){this.context=t||new hstc.global.Context,this.cookies=[],this.currentDomain=null,this.domains=[]},hstc.cookies.Cookie.prototype.addDomain=function(t){hstc.utils.endsWith("."+this.context.getHostName(),t)&&(!this.currentDomain||t.length<this.currentDomain.length)&&(this.currentDomain=t),this.domains.push(t)},hstc.cookies.Cookie.prototype.getDomains=function(){return this.domains},hstc.cookies.Cookie.prototype.set=function(t,e,n){n=n||{};var i,r,s=!1;n.minsToExpire?(i=new Date,i.setTime(i.getTime()+1e3*n.minsToExpire*60)):n.daysToExpire?(i=new Date,i.setTime(i.getTime()+1e3*n.daysToExpire*60*60*24)):n.expiryDate&&n.expiryDate.toGMTString?i=n.expiryDate:n.expiryDate&&(i=new Date(n.expiryDate)),void 0!==i&&(r=i.toGMTString(),s=!0),this._set(t,n.alreadyEncoded?e:hstc.utils.encodeParam(e,!0),{expires:s?";expires="+r:"",expiresTime:s?i:null,path:";path="+(n.path?n.path:"/"),domain:!this.setCookiesToSubdomain&&this.currentDomain?";domain="+this.currentDomain:"",secure:n.secure?";secure":""})},hstc.cookies.Cookie.prototype._set=function(t,e,n){var i=n.expires+n.path+n.domain+n.secure;this._writeCookie(t+"="+e+i);var r=this.get(t);r&&r==e||""==n.domain||n.expiresTime&&!(n.expiresTime-new Date>0)||(i=n.expires+n.path+n.secure,this._writeCookie(t+"="+e+i)),this.get(t)&&this.cookies.push({name:t,value:e,extras:i})},hstc.cookies.Cookie.prototype._writeCookie=function(t){this.context.getDocument().cookie=t},hstc.cookies.Cookie.prototype.get=function(t){var e=new RegExp("(^|;)[ ]*"+t+"=([^;]*)"),n=e.exec(this.context.getDocument().cookie);return n?hstc.utils.decodeParam(n[2],!0):""},hstc.cookies.Cookie.prototype.has=function(t){if(hstc.utils.isDefined(this.context.getNavigator().cookieEnabled)||"cookie"in this.context.getDocument()&&this.context.getDocument().cookie.length>0)return!0;if(t)return!1;var e="__hs_testcookie";return this.set(e,"1"),"1"===this.get(e)},hstc.cookies.Cookie.prototype.remove=function(t){this.set(t,"",{expiryDate:"Thu, 01-Jan-1970 00:00:01 GMT"})},hstc.cookies.Cookie.prototype.removeAll=function(){for(var t=0;t<this.cookies.length;t++)this.remove(this.cookies[t].name);this.cookies=[]};var hstc=hstc||{};hstc.identities={},hstc.identities.Identity=function(t){this.raw=t},hstc.identities.Identity.prototype.get=function(){return this.raw},hstc.identities.Identity.prototype.equals=function(t){return hstc.utils.objectsAreEqual(this,t)},hstc.identities.Identity.prototype.merge=function(t){this.raw=hstc.utils.mergeObject(this.raw,t)};var hstc=hstc||{};hstc.migrations={},hstc.migrations.MigrationHelper=function(t,e){this.context=t,this.cookie=e||new hstc.cookies.Cookie(this.context),this.injectedKeys={}},hstc.migrations.MigrationHelper.HS_UTK_COOKIE="hubspotutk",hstc.migrations.MigrationHelper.HS_FIRST_VISIT_COOKIE="hsfirstvisit",hstc.migrations.MigrationHelper.EXPIRATION=3650,hstc.migrations.MigrationHelper.prototype.getHubspotutk=function(t){var e=this.cookie.get(hstc.migrations.MigrationHelper.HS_UTK_COOKIE);return hstc.utils.isEmpty(e)?null:[e].join(".").toLowerCase()},hstc.migrations.MigrationHelper.prototype.ensureHubspotutk=function(t){this.cookie.set(hstc.migrations.MigrationHelper.HS_UTK_COOKIE,t,{daysToExpire:hstc.migrations.MigrationHelper.EXPIRATION})},hstc.migrations.MigrationHelper.prototype.clearFirstVisitCookie=function(){this.cookie.set(hstc.migrations.MigrationHelper.HS_FIRST_VISIT_COOKIE,"",{expiryDate:11360736e5})},hstc.migrations.MigrationHelper.prototype.insertUserTokenIntoForms=function(t){this.injectKeyValueIntoForms("hsUserToken",t)},hstc.migrations.MigrationHelper.prototype.injectKeyValueIntoForms=function(t,e){if(this.injectedKeys[t]&&this.injectedKeys[t].length>0){hstc.log("Updating existing "+t+" hidden fields with new value");for(var n=0;n<this.injectedKeys[t].length;n++)this.injectedKeys[t][n].setAttribute("value",e)}else{for(var i=[],r=0;r<document.forms.length;r++){var s=document.forms[r];if(s.ContactFormId){var o=document.createElement("input");o.setAttribute("type","hidden"),o.setAttribute("value",e),o.setAttribute("name",t),i.push(o),s.appendChild(o)}}this.injectedKeys[t]=i,hstc.log("Injected "+t+" into "+i.length+" forms.")}};var hstc=hstc||{};hstc.browser=function(t){t=t||new hstc.global.Context;var e=t.getNavigator(),n=e.userAgent.toLowerCase(),i={init:function(){this.browser=this.searchString(this.dataBrowser)||"",this.version=this.searchVersion(e.userAgent)||this.searchVersion(e.appVersion)||"",this.OS=this.searchString(this.dataOS)||""},searchString:function(t){for(var e=0;e<t.length;e++){var n=t[e].string,i=t[e].prop;if(this.versionSearchString=t[e].versionSearch||t[e].identity,n){if(-1!==n.indexOf(t[e].subString))return t[e].identity;if(i)return t[e].identity}}},searchVersion:function(t){var e=t.indexOf(this.versionSearchString);if(-1!==e)return parseFloat(t.substring(e+this.versionSearchString.length+1))},dataBrowser:[{string:e.userAgent,subString:"Chrome",identity:"Chrome"},{string:e.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:e.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:e.vendor,subString:"iCab",identity:"iCab"},{string:e.vendor,subString:"KDE",identity:"Konqueror"},{string:e.userAgent,subString:"Firefox",identity:"Firefox"},{string:e.vendor,subString:"Camino",identity:"Camino"},{string:e.userAgent,subString:"Netscape",identity:"Netscape"},{string:e.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:e.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:e.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:e.platform,subString:"Win",identity:"Windows"},{string:e.platform,subString:"Mac",identity:"Mac"},{string:e.userAgent,subString:"iPhone",identity:"iPhone/iPod"},{string:e.platform,subString:"Linux",identity:"Linux"}]};i.init(),this.version=(n.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],this.os=i.OS,this.brand=i.browser,this.webkit=/webkit/.test(n),this.opera=/opera/.test(n),this.msie=/msie/.test(n)&&!/opera/.test(n),this.mozilla=/mozilla/.test(n)&&!/(compatible|webkit)/.test(n)};var hstc=hstc||{};hstc.tracking={},hstc.tracking.Tracker=function(t,e){this.context=t||new hstc.global.Context,this.cookie=e||new hstc.cookies.Cookie(this.context),this.now=hstc.utils.utcnow(),this.session=null,this.utk=null,this.managedCookies=!1,this.cookiesEnabled=!0,this.limitTrackingToCookieDomains=!1,this.crossDomainLinkingEnabled=!1,this.hasResetVisitor=!1,this.clickSelectors=[],this.userTokenListeners=[],this.cookieListeners=[],this.pageIdListeners=[],this.contentMetadataListeners=[],this.contentTypeListeners=[]},hstc.tracking.Tracker.DO_NOT_TRACK="__hs_do_not_track",hstc.tracking.Tracker.DO_NOT_TRACK_EXPIRATION=730,hstc.tracking.Tracker.prototype._initialize=function(t){this._handlePrivacy(t),this._handleMigrations(),this.setRelCanonicalUrl()},hstc.tracking.Tracker.prototype.setPortalId=function(t){this.portalId=t,this._manageCookies()},hstc.tracking.Tracker.prototype.setCanonicalUrl=function(t){this.canonicalUrl=t},hstc.tracking.Tracker.prototype.setPath=function(t){""==t&&(t="/"),this.referrerPath=this.path,this.path=t},hstc.tracking.Tracker.prototype.setRelCanonicalUrl=function(){for(var t=document.getElementsByTagName("link"),e=0;e<t.length;e++)if("canonical"===t[e].rel)return void(this.relCanonicalUrl=t[e].href)},hstc.tracking.Tracker.prototype.setContentType=function(t){this.contentType=t;for(var e=0;e<this.contentTypeListeners.length;e++)this.contentTypeListeners[e](this.contentType)},hstc.tracking.Tracker.prototype.setPageId=function(t){this.pageId=t;for(var e=0;e<this.pageIdListeners.length;e++)this.pageIdListeners[e](this.pageId)},hstc.tracking.Tracker.prototype.setContentMetadata=function(t){this.contentMetadata=t;for(var e=0;e<this.contentMetadataListeners.length;e++)this.contentMetadataListeners[e](this.contentMetadata)},hstc.tracking.Tracker.prototype.setTargetedContentMetadata=function(t){this.targetedContentMetadata=t},hstc.tracking.Tracker.prototype.setDebugMode=function(t){hstc.debug=t},hstc.tracking.Tracker.prototype.setCookiesToSubdomain=function(t){this.cookie.setCookiesToSubdomain=t},hstc.tracking.Tracker.prototype.setLimitTrackingToCookieDomains=function(t){this.limitTrackingToCookieDomains=t},hstc.tracking.Tracker.prototype.addUserTokenListener=function(t){this.utk&&this.utk.visitor&&t(this.utk.visitor),this.userTokenListeners.push(t)},hstc.tracking.Tracker.prototype.addCookieListener=function(t){var e=null,n=null;this.utk&&this.utk.visitor&&(e=this.utk.get()),this.session&&(n=this.session.get()),(e||n)&&t(e,n,this._getFingerprint()),this.cookieListeners.push(t)},hstc.tracking.Tracker.prototype.addPageIdListener=function(t){this.pageId&&t(this.pageId),this.pageIdListeners.push(t)},hstc.tracking.Tracker.prototype.addContentMetadataListener=function(t){this.contentMetadata&&t(this.contentMetadata),this.contentMetadataListeners.push(t)},hstc.tracking.Tracker.prototype.addContentTypeListener=function(t){this.contentType&&t(this.contentType),this.contentTypeListeners.push(t)},hstc.tracking.Tracker.prototype.addCookieDomain=function(t){this.cookie.addDomain(t)},hstc.tracking.Tracker.prototype.enableAutomaticLinker=function(){var t=this;if(t.crossDomainLinkingEnabled=!0,t._manageCookies(),this.cookie.getDomains()&&!(this.cookie.getDomains().length<=0)){var e=[];hstc.utils.each(this.cookie.getDomains(),function(n,i){if(!t.cookie.currentDomain||t.cookie.currentDomain!==i){var r=i.replace(/\./g,"\\.");r=0===r.indexOf("\\.")?r.replace(/^\\\./,"(^|\\.)"):"^"+r,e.push(r)}});var n=new RegExp("("+e.join("|")+")$");hstc.utils.each(hstc.find("a"),function(e,i){if(t.utk&&t.utk.visitor)try{if(i.hostname&&i.hostname!==t.context.getHostName()&&i.hostname.match(n))try{i.href=t.handleLink(i.href,i.target,!0)}catch(r){i&&i.href&&hstc.utils.logError("Unable to modify link to "+i.href)}}catch(s){hstc.log("Can't modify a link without a hostname")}})}},hstc.tracking.Tracker.prototype.handleLink=function(t,e,n){var i=t,r=this._getFingerprint();return null!==r&&(i=hstc.utils.updateQueryStringParameter(i,"__hstc",this.utk.get()),i=hstc.utils.updateQueryStringParameter(i,"__hssc",this.session.get()),i=hstc.utils.updateQueryStringParameter(i,"__hsfp",r)),n?i:void this.context.getWindow().open(i,e||"_self")},hstc.tracking.Tracker.prototype.identify=function(t,e){e||this._manageCookies(),this.identity?this.identity.merge(t):this.identity=new hstc.identities.Identity(t)},hstc.tracking.Tracker.prototype.trackPageView=function(t){this._manageCookies();var e=hstc.utils.mergeObject(t,{k:1});this._loadImage(e)},hstc.tracking.Tracker.prototype.trackConversion=function(t,e){this._manageCookies(),("string"==typeof t||"number"==typeof t)&&(t={id:hstc.utils.safeString(t)},hstc.utils.isDefined(e)&&(t=hstc.utils.mergeObject(t,e))),hstc.utils.isFunction(t.value)&&(t.value=t.value(hstc));var n=hstc.utils.mergeObject(t,{k:3,n:hstc.utils.safeString(t.id),m:hstc.utils.safeString(t.value)});this._loadImage(n)},hstc.tracking.Tracker.prototype.trackEvent=hstc.tracking.Tracker.prototype.trackConversion,hstc.tracking.Tracker.prototype.trackClick=function(t,e,n){hstc.log("trackClick",arguments),this._manageCookies();var i=this;this.clickSelectors.push(t);try{hstc.utils.each(hstc.find(t),function(t,r){hstc.log("Attaching mousedown listener to:"),hstc.log(r),hstc.utils.addEventListener(r,"mousedown",function(){try{i.trackEvent(e,n)}catch(t){hstc.utils.logError(t)}})})}catch(r){hstc.log("Bad selector for "+this.portalId+": "+t+", for event "+e)}},hstc.tracking.Tracker.prototype.trackFormView=function(t,e,n){this._trackFormActivity(15,t,e,n)},hstc.tracking.Tracker.prototype.trackFormInstall=function(t,e,n){this._trackFormActivity(16,t,e,n)},hstc.tracking.Tracker.prototype.trackFormVisible=function(t,e,n){this._trackFormActivity(17,t,e,n)},hstc.tracking.Tracker.prototype.trackFormInteraction=function(t,e,n){this._trackFormActivity(18,t,e,n)},hstc.tracking.Tracker.prototype.trackFormCompletion=function(t,e,n){this._trackFormActivity(19,t,e,n)},hstc.tracking.Tracker.prototype._trackFormActivity=function(t,e,n,i){"object"==typeof n&&(i=n,n="");var r=hstc.utils.mergeObject(i,{k:t,fi:hstc.utils.safeString(e)});hstc.utils.isEmpty(n)||(r.fci=n),this._loadImage(r)},hstc.tracking.Tracker.prototype.trackCtaView=function(t,e){var n={k:12,aij:JSON.stringify([hstc.utils.safeString(t),hstc.utils.safeString(e)]),rfc:8};this._loadImage(n)},hstc.tracking.Tracker.prototype.doNotTrack=function(t){t&&t.track?this.cookie.remove(hstc.tracking.Tracker.DO_NOT_TRACK):this.cookie.set(hstc.tracking.Tracker.DO_NOT_TRACK,"yes",{daysToExpire:hstc.tracking.Tracker.DO_NOT_TRACK_EXPIRATION})},hstc.tracking.Tracker.prototype.urlMatches=function(t,e){if(e||(e=this.context.getDocument().location.toString().toLowerCase()),t=t.toLowerCase(),e==t)return!0;if(-1===t.indexOf("?")){var n=e.indexOf("?");-1!==n&&(e=e.substring(0,n))}if(-1==t.indexOf("*"))return t=t.replace(/\/$/,""),e=e.replace(/\/$/,""),t==e?!0:0===t.indexOf("/")?hstc.utils.removeDomain(e)==t:!1;if(t==e)return!0;if(0===t.length)return!1;var i=new RegExp("[.+?|()\\[\\]{}\\\\]","g");return regex=t.replace(i,"\\$&").replace(new RegExp("\\*","g"),"(.*?)"),regex=/\/$/.test(regex)?"^"+regex+"$":"^"+regex+"/?$",regex=new RegExp(regex,"i"),regex.test(e)?!0:0===t.indexOf("/")?(e="/"+e.split("//")[1].split("/").splice(1).join("/"),regex.test(e)):!1},hstc.tracking.Tracker.prototype.resetVisitor=function(){this.hasResetVisitor=!0,this.utk=new hstc.tracking.Utk(this.cookie),this.session=new hstc.tracking.Session(this.cookie),this.identity=null,this._manageCookies(this.utk,this.session,!0),this.crossDomainLinkingEnabled&&this.enableAutomaticLinker()},hstc.tracking.Tracker.prototype._manageCookies=function(t,e,n){if(!this.managedCookies||n){this.hasResetVisitor||this._extractIdentitiesFromQueryString(),this.utk||(this.utk=t||hstc.tracking.Utk.parse(this.cookie)),this.session||(this.session=e||hstc.tracking.Session.parse(this.cookie)),this.session.isNew()&&!n?this.utk.isNew()||this.utk.rotate(this.session.start):n||this.session.increment(),this.cookiesEnabled&&(this.utk.save(),this.session.save());for(var i=0;i<this.userTokenListeners.length;i++)this.userTokenListeners[i](this.utk.visitor);for(var r=0;r<this.cookieListeners.length;r++)this.cookieListeners[r](this.utk.get(),this.session.get(),this._getFingerprint());this.managedCookies=!0}},hstc.tracking.Tracker.prototype._extractIdentitiesFromQueryString=function(){var t=this._getUrlParams();if(t.__hs_email&&this.identify({email:hstc.utils.decodeParam(t.__hs_email)},!0),0!==this.cookie.getDomains().length){var e=this;if(t.__hsfp){var n=parseInt(hstc.utils.safeString(t.__hsfp),10),i=this._getFingerprint();if(null===i||i!=n)return;if(t.__hstc){var r=hstc.tracking.Utk.parse(this.cookie,hstc.utils.safeString(t.__hstc)),s=hstc.tracking.Utk.parse(this.cookie);hstc.utils.each(this.cookie.getDomains(),function(t,n){return hstc.utils.hashDomain(n)==r.domain?(s&&s.recovered?s.visitor!==r.visitor&&(e.utk=s,e.identify({visitor:r.visitor},!0)):(e.utk=r,e.utk.resetDomain()),!1):void 0})}if(t.__hssc){var o=hstc.tracking.Session.parse(this.cookie,hstc.utils.safeString(t.__hssc)),s=hstc.tracking.Session.parse(this.cookie);hstc.utils.each(this.cookie.getDomains(),function(t,n){return hstc.utils.hashDomain(n)==o.domain?(s&&s.recovered?e.session=s.merge(o):(e.session=o,e.session.resetDomain(),e.session.recovered=!0),!1):void 0})}}}},hstc.tracking.Tracker.prototype._loadImage=function(t,e){if(!this.limitTrackingToCookieDomains||this.cookie.currentDomain)this._hasDoNotTrack()||(hstc.log("Sending Request"),t&&hstc.log(t),e=e||this._generateURL(t),hstc.log(e),hstc.utils.loadImage(e,0));else try{hstc.log("Invalid domain for portal "+this.portalId+": "+this.context.getHostName())}catch(n){}},hstc.tracking.Tracker.prototype._generateURL=function(t){var e="//"+hstc.ANALYTICS_HOST+"/__ptq.gif",n=hstc.utils.extend(t,this._getClientInfo(),this._getPageInfo(),this._getUserData());return e+"?"+hstc.utils.param(n)},hstc.tracking.Tracker.prototype._getUserData=function(){var t={};t.cts=hstc.utils.utcnow(),this.identity&&(t.i=hstc.utils.param(this.identity.get())),this.hasResetVisitor&&(t.rv=1),t.vi=this.utk.visitor,t.nc=this.utk.isNew();var e=this.cookie.get(hstc.tracking.Utk.COOKIE);hstc.utils.isEmpty(e)||(t.u=e);var n=this.cookie.get(hstc.tracking.Session.COOKIE);return hstc.utils.isEmpty(n)||(t.b=n),this.cookiesEnabled||(t.ce=!1),t},hstc.tracking.Tracker.prototype._getPageInfo=function(){var t={};if(t.v=hstc.JS_VERSION,t.a=this.portalId,hstc.utils.isEmpty(this.pageId)||(t.pi=this.pageId),hstc.utils.isEmpty(this.contentType)||(t.ct=this.contentType),hstc.utils.isEmpty(this.canonicalUrl)||(t.ccu=this.canonicalUrl),hstc.utils.isEmpty(this.path)||(t.po=this.path),hstc.utils.isEmpty(this.referrerPath)||(t.rpo=this.referrerPath),hstc.utils.isEmpty(this.relCanonicalUrl)||(t.rcu=this.relCanonicalUrl),!hstc.utils.isEmpty(this.contentMetadata)){var e=this.contentMetadata;hstc.utils.isEmpty(e.contentPageId)||(t.cpi=e.contentPageId),hstc.utils.isEmpty(e.contentGroupId)||(t.cgi=e.contentGroupId),hstc.utils.isEmpty(e.legacyPageId)||(t.lpi=e.legacyPageId),hstc.utils.isEmpty(e.abTestId)||(t.abi=e.abTestId),hstc.utils.isEmpty(e.languageVariantId)||(t.lvi=e.languageVariantId),hstc.utils.isEmpty(e.languageCode)||(t.lvc=e.languageCode)}if(hstc.utils.isArray(this.targetedContentMetadata)&&this.targetedContentMetadata.length){for(var n=[],i=Math.min(this.targetedContentMetadata.length,5),r=0;i>r;r++){var s=this.targetedContentMetadata[r];3===s.length&&n.push(s[0]+"-"+s[1]+"-"+s[2])}n.length&&(t.tc=n)}var o=this.context.getReferrer();hstc.utils.isEmpty(o)||(t.r=o);var c=this.context.getDocument().title;return hstc.utils.isEmpty(c)||(t.t=c),t},hstc.tracking.Tracker.prototype._getClientInfo=function(){var t={},e=this.context.getScreen();e&&(t.sd=e.width+"x"+e.height,t.cd=e.colorDepth+"-bit");var n=this.context.getCharacterSet();hstc.utils.isEmpty(n)||(t.cs=n);var i=this.context.getNavigator(),r=i.language?i.language:i.browserLanguage?i.browserLanguage:"";if(hstc.utils.isEmpty(r)||(t.ln=hstc.utils.makeLowerCase(r)),!this._hasDoNotTrack()){var s=this._getFingerprint();null!==s&&(t.bfp=s)}return t},hstc.tracking.Tracker.prototype._hasDoNotTrack=function(){try{if(this.cookie.get(hstc.tracking.Tracker.DO_NOT_TRACK)&&"yes"==this.cookie.get(hstc.tracking.Tracker.DO_NOT_TRACK))return!0}catch(t){}return!1},hstc.tracking.Tracker.prototype.showTargetedElements=function(){hstc.utils.each(this.clickSelectors,function(t,e){hstc.utils.each(hstc.find(e),function(t,e){e._hs_oldStyle=e.style.border,e.style.border="dotted 2px red"})})},hstc.tracking.Tracker.prototype.hideTargetedElements=function(){var t=function(t,e){hstc.utils.each(hstc.find(e),function(t,e){hstc.utils.isDefined(e._hs_oldStyle)&&(e.style.border=e._hs_oldStyle)})};hstc.utils.each(this.clickSelectors,t)},hstc.tracking.Tracker.prototype._handleMigrations=function(){var t=new hstc.migrations.MigrationHelper(this.context,this.cookie);if(this.migrationHelper=t,this.addUserTokenListener(function(e){t.insertUserTokenIntoForms.call(t,e)}),this.cookiesEnabled){this.addUserTokenListener(function(e){t.ensureHubspotutk.call(t,e)});var e=t.getHubspotutk()||window.hubspotutk,n=this.cookie.get(hstc.tracking.Utk.COOKIE);if(!hstc.utils.isEmpty(e)&&/[0123456789abcdef]{32}/.test(e)&&hstc.utils.isEmpty(n)){var i=hstc.tracking.Utk.parse(this.cookie,e);this._manageCookies(i)}t.clearFirstVisitCookie()}},hstc.tracking.Tracker.prototype._handlePrivacy=function(t){var e=null,n=null,i=null,r=null,s=!1,o=!1;hstc.utils.search2dArray(t,1,["setPrivacyPolicyWording","setPrivacyAcceptWording","setPrivacyDismissWording","setPrivacyDisclaimerWording","setPrivacyActive","setPrivacyHideDecline"],function(c,a){var h=c[0];"setPrivacyPolicyWording"===h?e=c[1]:"setPrivacyAcceptWording"===h?n=c[1]:"setPrivacyDismissWording"===h?i=c[1]:"setPrivacyDisclaimerWording"==h?r=c[1]:"setPrivacyActive"==h?s=c[1]:"setPrivacyHideDecline"==h&&(o=c[1]),delete t[a]});var c=this;hstc.utils.search2dArray(t,1,["setPrivacyPolicy"],function(a,h){a[1](c,hstc,s,e,n,i,r,o),delete t[h]})},hstc.tracking.Tracker.prototype._getFingerprint=function(){try{return(new hstc.Fingerprint).get()}catch(t){return hstc.utils.logError(t),null}},hstc.tracking.Tracker.prototype._getUrlParams=function(){var t,e,n=this.context.getLocation();try{t=n.search,e=n.hash}catch(i){t=window.location.search,e=window.location.hash}return hstc.utils.deparam(t||e)},hstc.tracking.Tracker.prototype.embedHubSpotScript=function(t,n){if(!document.getElementById(n)){var i=document.createElement("script");i.src=t,i.type="text/javascript",i.id=n,e=document.getElementsByTagName("script")[0],e.parentNode.insertBefore(i,e)}},hstc.tracking.Utk=function(t,e,n,i,r,s,o,c,a){this.context=t?t.context:new hstc.global.Context,this.cookie=t||new hstc.cookies.Cookie(this.context),this.rawDomain=this.cookie.currentDomain||hstc.utils.extractDomain(this.context.getHostName()),this.domain=e&&!c?e:hstc.utils.hashDomain(this.rawDomain),this.visitor=n?n.toLowerCase():hstc.Math.uuid(),this.initial=i||hstc.utils.utcnow(),this.previous=r||hstc.utils.utcnow(),
this.current=s||hstc.utils.utcnow(),this.session=o||1,this.recovered=c,this.returningVisitor=a},hstc.tracking.Utk.COOKIE="__hstc",hstc.tracking.Utk.EXPIRATION=730,hstc.tracking.Utk.parse=function(t,e){var n=t?t.context:new hstc.global.Context;t=t||new hstc.cookies.Cookie(n);var i=e?!1:!0;e=e||t.get(hstc.tracking.Utk.COOKIE);try{var r=e.split(".");if(6==r.length&&r[1].length>0)return r[5]=parseInt(r[5],10),new hstc.tracking.Utk(t,r[0],r[1],r[2],r[3],r[4],r[5],i,!0);if(1==r.length&&r[0].length>0)return new hstc.tracking.Utk(t,null,r[0],null,null,null,null,!0,!1)}catch(s){}return new hstc.tracking.Utk(t)},hstc.tracking.Utk.prototype.isNew=function(){return!this.returningVisitor},hstc.tracking.Utk.prototype.rotate=function(t){this.previous=this.current||t,this.current=t,this.session+=1},hstc.tracking.Utk.prototype.get=function(){var t=[this.domain,this.visitor,this.initial,this.previous,this.current,this.session];return t.join(".")},hstc.tracking.Utk.prototype.save=function(){this.cookie.set(hstc.tracking.Utk.COOKIE,this.get(),{daysToExpire:hstc.tracking.Utk.EXPIRATION})},hstc.tracking.Utk.prototype.resetDomain=function(){this.domain=hstc.utils.hashDomain(this.rawDomain)},hstc.tracking.Session=function(t,e,n,i,r){this.context=t?t.context:new hstc.global.Context,this.cookie=t||new hstc.cookies.Cookie(this.context),this.rawDomain=this.cookie.currentDomain||hstc.utils.extractDomain(this.context.getHostName()),this.domain=e&&!r?e:hstc.utils.hashDomain(this.rawDomain),this.viewCount=n||1,this.start=i||hstc.utils.utcnow(),this.recovered=r},hstc.tracking.Session.COOKIE="__hssc",hstc.tracking.Session.RESTART_COOKIE="__hssrc",hstc.tracking.Session.prototype.isNew=function(){return this.recovered!==!0},hstc.tracking.Session.parse=function(t,e){var n=t?t.context:new hstc.global.Context;t=t||new hstc.cookies.Cookie(n);var i=e?!1:!0;if(e||"1"===t.get(hstc.tracking.Session.RESTART_COOKIE)){e=e||t.get(hstc.tracking.Session.COOKIE);try{var r=e.split(".");if(3==r.length)return new hstc.tracking.Session(t,r[0],r[1],r[2],i)}catch(s){}}return new hstc.tracking.Session(t)},hstc.tracking.Session.prototype.increment=function(){try{this.viewCount=parseInt(this.viewCount||1,10)+1}catch(t){this.viewCount=1}},hstc.tracking.Session.prototype.get=function(){var t=[this.domain,this.viewCount,this.start];return t.join(".")},hstc.tracking.Session.prototype.save=function(){this.cookie.set(hstc.tracking.Session.RESTART_COOKIE,"1"),this.cookie.set(hstc.tracking.Session.COOKIE,this.get(),{minsToExpire:30})},hstc.tracking.Session.prototype.merge=function(t){return t.start&&t.start<this.start&&(this.start=t.start),t.viewCount&&(this.viewCount+=t.viewCount),this},hstc.tracking.Session.prototype.resetDomain=function(){this.domain=hstc.utils.hashDomain(this.rawDomain)},function(t){function e(t,e,n,i){var r,s,o,c,a,h,u,p,f,d;if((e?e.ownerDocument||e:H)!==O&&A(e),e=e||O,n=n||[],!t||"string"!=typeof t)return n;if(1!==(c=e.nodeType)&&9!==c)return[];if(P&&!i){if(r=kt.exec(t))if(o=r[1]){if(9===c){if(s=e.getElementById(o),!s||!s.parentNode)return n;if(s.id===o)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(o))&&j(e,s)&&s.id===o)return n.push(s),n}else{if(r[2])return tt.apply(n,e.getElementsByTagName(t)),n;if((o=r[3])&&T.getElementsByClassName&&e.getElementsByClassName)return tt.apply(n,e.getElementsByClassName(o)),n}if(T.qsa&&(!M||!M.test(t))){if(p=u=F,f=e,d=9===c&&t,1===c&&"object"!==e.nodeName.toLowerCase()){for(h=l(t),(u=e.getAttribute("id"))?p=u.replace(Ct,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",a=h.length;a--;)h[a]=p+g(h[a]);f=gt.test(t)&&e.parentNode||e,d=h.join(",")}if(d)try{return tt.apply(n,f.querySelectorAll(d)),n}catch(m){}finally{u||e.removeAttribute("id")}}}return w(t.replace(ht,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+=" ")>S.cacheLength&&delete t[e.shift()],t[n]=i}var e=[];return t}function i(t){return t[F]=!0,t}function r(t){var e=O.createElement("div");try{return!!t(e)}catch(n){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var n=t.split("|"),i=t.length;i--;)S.attrHandle[n[i]]=e}function o(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||X)-(~t.sourceIndex||X);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function c(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function a(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function h(t){return i(function(e){return e=+e,i(function(n,i){for(var r,s=t([],n.length,e),o=s.length;o--;)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))})})}function u(){}function l(t,n){var i,r,s,o,c,a,h,u=B[t+" "];if(u)return n?0:u.slice(0);for(c=t,a=[],h=S.preFilter;c;){(!i||(r=ut.exec(c)))&&(r&&(c=c.slice(r[0].length)||c),a.push(s=[])),i=!1,(r=lt.exec(c))&&(i=r.shift(),s.push({value:i,type:r[0].replace(ht," ")}),c=c.slice(i.length));for(o in S.filter)!(r=mt[o].exec(c))||h[o]&&!(r=h[o](r))||(i=r.shift(),s.push({value:i,type:o,matches:r}),c=c.slice(i.length));if(!i)break}return n?c.length:c?e.error(t):B(t,a).slice(0)}function g(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function p(t,e,n){var i=e.dir,r=n&&"parentNode"===i,s=q++;return e.first?function(e,n,s){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,s)}:function(e,n,o){var c,a,h,u=K+" "+s;if(o){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,o))return!0}else for(;e=e[i];)if(1===e.nodeType||r)if(h=e[F]||(e[F]={}),(a=h[i])&&a[0]===u){if((c=a[1])===!0||c===b)return c===!0}else if(a=h[i]=[u],a[1]=t(e,n,o)||b,a[1]===!0)return!0}}function f(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function d(t,e,n,i,r){for(var s,o=[],c=0,a=t.length,h=null!=e;a>c;c++)(s=t[c])&&(!n||n(s,i,r))&&(o.push(s),h&&e.push(c));return o}function m(t,e,n,r,s,o){return r&&!r[F]&&(r=m(r)),s&&!s[F]&&(s=m(s,o)),i(function(i,o,c,a){var h,u,l,g=[],p=[],f=o.length,m=i||v(e||"*",c.nodeType?[c]:c,[]),y=!t||!i&&e?m:d(m,g,t,c,a),k=n?s||(i?t:f||r)?[]:o:y;if(n&&n(y,k,c,a),r)for(h=d(k,p),r(h,[],c,a),u=h.length;u--;)(l=h[u])&&(k[p[u]]=!(y[p[u]]=l));if(i){if(s||t){if(s){for(h=[],u=k.length;u--;)(l=k[u])&&h.push(y[u]=l);s(null,k=[],h,a)}for(u=k.length;u--;)(l=k[u])&&(h=s?nt.call(i,l):g[u])>-1&&(i[h]=!(o[h]=l))}}else k=d(k===o?k.splice(f,k.length):k),s?s(null,o,k,a):tt.apply(o,k)})}function y(t){for(var e,n,i,r=t.length,s=S.relative[t[0].type],o=s||S.relative[" "],c=s?1:0,a=p(function(t){return t===e},o,!0),h=p(function(t){return nt.call(e,t)>-1},o,!0),u=[function(t,n,i){return!s&&(i||n!==I)||((e=n).nodeType?a(t,n,i):h(t,n,i))}];r>c;c++)if(n=S.relative[t[c].type])u=[p(f(u),n)];else{if(n=S.filter[t[c].type].apply(null,t[c].matches),n[F]){for(i=++c;r>i&&!S.relative[t[i].type];i++);return m(c>1&&f(u),c>1&&g(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(ht,"$1"),n,i>c&&y(t.slice(c,i)),r>i&&y(t=t.slice(i)),r>i&&g(t))}u.push(n)}return f(u)}function k(t,n){var r=0,s=n.length>0,o=t.length>0,c=function(i,c,a,h,u){var l,g,p,f=[],m=0,y="0",k=i&&[],v=null!=u,w=I,C=i||o&&S.find.TAG("*",u&&c.parentNode||c),x=K+=null==w?1:Math.random()||.1,T=C.length;for(v&&(I=c!==O&&c,b=r);y!==T&&null!=(l=C[y]);y++){if(o&&l){for(g=0;p=t[g++];)if(p(l,c,a)){h.push(l);break}v&&(K=x,b=++r)}s&&((l=!p&&l)&&m--,i&&k.push(l))}if(m+=y,s&&y!==m){for(g=0;p=n[g++];)p(k,f,c,a);if(i){if(m>0)for(;y--;)k[y]||f[y]||(f[y]=Y.call(h));f=d(f)}tt.apply(h,f),v&&!i&&f.length>0&&m+n.length>1&&e.uniqueSort(h)}return v&&(K=x,I=w),k};return s?i(c):c}function v(t,n,i){for(var r=0,s=n.length;s>r;r++)e(t,n[r],i);return i}function w(t,e,n,i){var r,s,o,c,a,h=l(t);if(!i&&1===h.length){if(s=h[0]=h[0].slice(0),s.length>2&&"ID"===(o=s[0]).type&&T.getById&&9===e.nodeType&&P&&S.relative[s[1].type]){if(e=(S.find.ID(o.matches[0].replace(xt,Tt),e)||[])[0],!e)return n;t=t.slice(s.shift().value.length)}for(r=mt.needsContext.test(t)?0:s.length;r--&&(o=s[r],!S.relative[c=o.type]);)if((a=S.find[c])&&(i=a(o.matches[0].replace(xt,Tt),gt.test(s[0].type)&&e.parentNode||e))){if(s.splice(r,1),t=i.length&&g(s),!t)return tt.apply(n,i),n;break}}return D(t,h)(i,e,!P,n,gt.test(t)),n}function C(t){if(!t)return null;var e=/\[\w+(\*|\$|\||~|!|\^)?=(.+)]/,n=e.test(t);if(n&&(n=e.exec(t),n&&3==n.length)){var i=/'.+'/,r=/".+"/;if(!i.test(n[2])&&!r.test(n[2]))return t.replace("="+n[2],"='"+n[2]+"'")}}var x,T,b,S,E,_,D,I,N,A,O,L,P,M,R,U,j,F="sizzle"+-new Date,H=t.document,K=0,q=0,$=n(),B=n(),V=n(),W=!1,z=function(t,e){return t===e?(W=!0,0):0},G="undefined",X=1<<31,Q={}.hasOwnProperty,J=[],Y=J.pop,Z=J.push,tt=J.push,et=J.slice,nt=J.indexOf||function(t){for(var e=0,n=this.length;n>e;e++)if(this[e]===t)return e;return-1},it="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",rt="[\\x20\\t\\r\\n\\f]",st="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=st.replace("w","w#"),ct="\\["+rt+"*("+st+")"+rt+"*(?:([*^$|!~]?=)"+rt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ot+")|)|)"+rt+"*\\]",at=":("+st+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+ct.replace(3,8)+")*)|.*)\\)|)",ht=new RegExp("^"+rt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+rt+"+$","g"),ut=new RegExp("^"+rt+"*,"+rt+"*"),lt=new RegExp("^"+rt+"*([>+~]|"+rt+")"+rt+"*"),gt=new RegExp(rt+"*[+~]"),pt=new RegExp("="+rt+"*([^\\]'\"]*)"+rt+"*\\]","g"),ft=new RegExp(at),dt=new RegExp("^"+ot+"$"),mt={ID:new RegExp("^#("+st+")"),CLASS:new RegExp("^\\.("+st+")"),TAG:new RegExp("^("+st.replace("w","w*")+")"),ATTR:new RegExp("^"+ct),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+rt+"*(even|odd|(([+-]|)(\\d*)n|)"+rt+"*(?:([+-]|)"+rt+"*(\\d+)|))"+rt+"*\\)|)","i"),bool:new RegExp("^(?:"+it+")$","i"),needsContext:new RegExp("^"+rt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+rt+"*((?:-\\d)?\\d*)"+rt+"*\\)|)(?=[^-]|$)","i")},yt=/^[^{]+\{\s*\[native \w/,kt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/^(?:input|select|textarea|button)$/i,wt=/^h\d$/i,Ct=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+rt+"?|("+rt+")|.)","ig"),Tt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{tt.apply(J=et.call(H.childNodes),H.childNodes),J[H.childNodes.length].nodeType}catch(bt){tt={apply:J.length?function(t,e){Z.apply(t,et.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}_=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},T=e.support={},A=e.setDocument=function(t){var e=t?t.ownerDocument||t:H,n=e.defaultView;return e!==O&&9===e.nodeType&&e.documentElement?(O=e,L=e.documentElement,P=!_(e),n&&n.attachEvent&&n!==n.top&&n.attachEvent("onbeforeunload",function(){A()}),T.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),T.getElementsByTagName=r(function(t){return t.appendChild(e.createComment("")),!t.getElementsByTagName("*").length}),T.getElementsByClassName=r(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),T.getById=r(function(t){return L.appendChild(t).id=F,!e.getElementsByName||!e.getElementsByName(F).length}),T.getById?(S.find.ID=function(t,e){if(typeof e.getElementById!==G&&P){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},S.filter.ID=function(t){var e=t.replace(xt,Tt);return function(t){return t.getAttribute("id")===e}}):(delete S.find.ID,S.filter.ID=function(t){var e=t.replace(xt,Tt);return function(t){var n=typeof t.getAttributeNode!==G&&t.getAttributeNode("id");return n&&n.value===e}}),S.find.TAG=T.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==G?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;n=s[r++];)1===n.nodeType&&i.push(n);return i}return s},S.find.CLASS=T.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==G&&P?e.getElementsByClassName(t):void 0},R=[],M=[],(T.qsa=yt.test(e.querySelectorAll))&&(r(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||M.push("\\["+rt+"*(?:value|"+it+")"),t.querySelectorAll(":checked").length||M.push(":checked")}),r(function(t){var n=e.createElement("input");n.setAttribute("type","hidden"),t.appendChild(n).setAttribute("t",""),t.querySelectorAll("[t^='']").length&&M.push("[*^$]="+rt+"*(?:''|\"\")"),t.querySelectorAll(":enabled").length||M.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),M.push(",.*:")})),(T.matchesSelector=yt.test(U=L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&r(function(t){T.disconnectedMatch=U.call(t,"div"),U.call(t,"[s!='']:x"),R.push("!=",at)}),M=M.length&&new RegExp(M.join("|")),R=R.length&&new RegExp(R.join("|")),j=yt.test(L.contains)||L.compareDocumentPosition?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},z=L.compareDocumentPosition?function(t,n){if(t===n)return W=!0,0;var i=n.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(n);return i?1&i||!T.sortDetached&&n.compareDocumentPosition(t)===i?t===e||j(H,t)?-1:n===e||j(H,n)?1:N?nt.call(N,t)-nt.call(N,n):0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,n){var i,r=0,s=t.parentNode,c=n.parentNode,a=[t],h=[n];if(t===n)return W=!0,0;if(!s||!c)return t===e?-1:n===e?1:s?-1:c?1:N?nt.call(N,t)-nt.call(N,n):0;if(s===c)return o(t,n);for(i=t;i=i.parentNode;)a.unshift(i);for(i=n;i=i.parentNode;)h.unshift(i);for(;a[r]===h[r];)r++;return r?o(a[r],h[r]):a[r]===H?-1:h[r]===H?1:0},e):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&A(t),n=n.replace(pt,"='$1']"),T.matchesSelector&&P&&(!R||!R.test(n))&&(!M||!M.test(n)))try{var i=U.call(t,n);if(i||T.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(r){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&A(t),j(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&A(t);var n=S.attrHandle[e.toLowerCase()],i=n&&Q.call(S.attrHandle,e.toLowerCase())?n(t,e,!P):void 0;return void 0===i?T.attributes||!P?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null:i},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(W=!T.detectDuplicates,N=!T.sortStable&&t.slice(0),t.sort(z),W){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return t},E=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=E(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i];i++)n+=E(e);return n},S=e.selectors={cacheLength:50,createPseudo:i,match:mt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(xt,Tt),t[3]=(t[4]||t[5]||"").replace(xt,Tt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[5]&&t[2];return mt.CHILD.test(t[0])?null:(t[3]&&void 0!==t[4]?t[2]=t[4]:n&&ft.test(n)&&(e=l(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(xt,Tt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=new RegExp("(^|"+rt+")"+t+"("+rt+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==G&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var s=e.attr(r,t);return null==s?"!="===n:n?(s+="","="===n?s===i:"!="===n?s!==i:"^="===n?i&&0===s.indexOf(i):"*="===n?i&&s.indexOf(i)>-1:"$="===n?i&&s.slice(-i.length)===i:"~="===n?(" "+s+" ").indexOf(i)>-1:"|="===n?s===i||s.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,n,i,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),c="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,a){var h,u,l,g,p,f,d=s!==o?"nextSibling":"previousSibling",m=e.parentNode,y=c&&e.nodeName.toLowerCase(),k=!a&&!c;if(m){if(s){for(;d;){for(l=e;l=l[d];)if(c?l.nodeName.toLowerCase()===y:1===l.nodeType)return!1;f=d="only"===t&&!f&&"nextSibling"}return!0}if(f=[o?m.firstChild:m.lastChild],o&&k){for(u=m[F]||(m[F]={}),h=u[t]||[],p=h[0]===K&&h[1],g=h[0]===K&&h[2],l=p&&m.childNodes[p];l=++p&&l&&l[d]||(g=p=0)||f.pop();)if(1===l.nodeType&&++g&&l===e){u[t]=[K,p,g];break}}else if(k&&(h=(e[F]||(e[F]={}))[t])&&h[0]===K)g=h[1];else for(;(l=++p&&l&&l[d]||(g=p=0)||f.pop())&&((c?l.nodeName.toLowerCase()!==y:1!==l.nodeType)||!++g||(k&&((l[F]||(l[F]={}))[t]=[K,g]),l!==e)););return g-=r,g===i||g%i===0&&g/i>=0}}},PSEUDO:function(t,n){var r,s=S.pseudos[t]||S.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return s[F]?s(n):s.length>1?(r=[t,t,"",n],S.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=s(t,n),o=r.length;o--;)i=nt.call(t,r[o]),t[i]=!(e[i]=r[o])}):function(t){return s(t,0,r)}):s}},pseudos:{not:i(function(t){var e=[],n=[],r=D(t.replace(ht,"$1"));return r[F]?i(function(t,e,n,i){for(var s,o=r(t,null,i,[]),c=t.length;c--;)(s=o[c])&&(t[c]=!(e[c]=s))}):function(t,i,s){return e[0]=t,r(e,null,s,n),!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return function(e){return(e.textContent||e.innerText||E(e)).indexOf(t)>-1}}),lang:i(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xt,Tt).toLowerCase(),function(e){var n;do if(n=P?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===L},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!S.pseudos.empty(t)},header:function(t){return wt.test(t.nodeName)},input:function(t){return vt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:h(function(){return[0]}),last:h(function(t,e){return[e-1]}),eq:h(function(t,e,n){return[0>n?n+e:n]}),even:h(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:h(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:h(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:h(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},S.pseudos.nth=S.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[x]=c(x);for(x in{submit:!0,reset:!0})S.pseudos[x]=a(x);u.prototype=S.filters=S.pseudos,S.setFilters=new u,D=e.compile=function(t,e){var n,i=[],r=[],s=V[t+" "];if(!s){for(e||(e=l(t)),n=e.length;n--;)s=y(e[n]),s[F]?i.push(s):r.push(s);s=V(t,k(r,i))}return s},T.sortStable=F.split("").sort(z).join("")===F,T.detectDuplicates=W,A(),T.sortDetached=r(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||s("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),T.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||s("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||s(it,function(t,e,n){var i;return n?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),hstc.find=function(){try{return e.apply(null,arguments)}catch(t){var n=C(arguments[0]);if(n)return arguments[0]=n,e.apply(null,arguments);throw t}},hstc.expr=e.selectors,hstc.expr[":"]=hstc.expr.filters,hstc.unique=e.uniqueSort,hstc.text=e.getText,hstc.isXMLDoc=e.isXML,hstc.contains=e.contains}(window),function(t,e,n){e[t]=n()}("Fingerprint",hstc,function(){"use strict";var t=function(t){var e,n;e=Array.prototype.forEach,n=Array.prototype.map,this.each=function(t,n,i){if(null!==t)if(e&&t.forEach===e)t.forEach(n,i);else if(t.length===+t.length){for(var r=0,s=t.length;s>r;r++)if(n.call(i,t[r],r,t)==={})return}else for(var o in t)if(t.hasOwnProperty(o)&&n.call(i,t[o],o,t)==={})return},this.map=function(t,e,i){var r=[];return null==t?r:n&&t.map===n?t.map(e,i):(this.each(t,function(t,n,s){r[r.length]=e.call(i,t,n,s)}),r)},"object"==typeof t?(this.hasher=t.hasher,this.screen_resolution=t.screen_resolution,this.screen_orientation=t.screen_orientation):"function"==typeof t&&(this.hasher=t)};return t.prototype={get:function(){var t=[];if(t.push(navigator.userAgent),t.push(navigator.language),t.push(screen.colorDepth),this.screen_resolution){var e=this.getScreenResolution();"undefined"!=typeof e&&t.push(e.join("x"))}return t.push((new Date).getTimezoneOffset()),t.push(this.hasSessionStorage()),t.push(this.hasLocalStorage()),t.push(!!window.indexedDB),document&&document.body?t.push(typeof document.body.addBehavior):t.push("undefined"),t.push(typeof window.openDatabase),t.push(navigator.cpuClass),t.push(navigator.platform),t.push(navigator.doNotTrack),this.hasher?this.hasher(t.join("###"),31):this.murmurhash3_32_gc(t.join("###"),31)},murmurhash3_32_gc:function(t,e){var n,i,r,s,o,c,a,h;for(n=3&t.length,i=t.length-n,r=e,o=3432918353,c=461845907,h=0;i>h;)a=255&t.charCodeAt(h)|(255&t.charCodeAt(++h))<<8|(255&t.charCodeAt(++h))<<16|(255&t.charCodeAt(++h))<<24,++h,a=(65535&a)*o+(((a>>>16)*o&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*c+(((a>>>16)*c&65535)<<16)&4294967295,r^=a,r=r<<13|r>>>19,s=5*(65535&r)+((5*(r>>>16)&65535)<<16)&4294967295,r=(65535&s)+27492+(((s>>>16)+58964&65535)<<16);switch(a=0,n){case 3:a^=(255&t.charCodeAt(h+2))<<16;case 2:a^=(255&t.charCodeAt(h+1))<<8;case 1:a^=255&t.charCodeAt(h),a=(65535&a)*o+(((a>>>16)*o&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*c+(((a>>>16)*c&65535)<<16)&4294967295,r^=a}return r^=t.length,r^=r>>>16,r=2246822507*(65535&r)+((2246822507*(r>>>16)&65535)<<16)&4294967295,r^=r>>>13,r=3266489909*(65535&r)+((3266489909*(r>>>16)&65535)<<16)&4294967295,r^=r>>>16,r>>>0},hasLocalStorage:function(){try{return!!window.localStorage}catch(t){return!0}},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},getScreenResolution:function(){var t;return t=this.screen_orientation?screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.height,screen.width]}},t});var PRIORITY_FUNCTIONS=["setPortalId","setCanonicalUrl","setPath","setContentType","setContentMetadata","setPageId","setTargetedContentMetadata","identify","setDebugMode","setLimitTrackingToCookieDomains"],hsq="_hsq",ran_param="_hstc_ran",loaded_param="_hstc_loaded";try{var context=new hstc.global.Context,win=context.getWindow();win[loaded_param]?hstc.utils.logError(new Error("Found multiple instances of the tracking code. Preventing additional tracker.")):load()}catch(err){hstc.utils.logError(err)}

})(); /** _anon_wrapper_ **/
