(function(){window.hj=window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)};window._hjSettings=window._hjSettings||{};hj.defaults={host:"in.hotjar.com",insightsHost:"insights.hotjar.com",staticHost:"static.hotjar.com",varsHost:"vars.hotjar.com",errorUrl:"https://ba52622b91a54161b30d42dd31ccd293@sentry.hotjar.com/10"};hj.host=_hjSettings.host||hj.defaults.host;hj.insightsHost=_hjSettings.insightsHost||hj.defaults.insightsHost;hj.staticHost=_hjSettings.staticHost||hj.defaults.staticHost; hj.varsHost=_hjSettings.varsHost||hj.defaults.varsHost;hj.errorUrl="undefined"!==typeof _hjSettings.errorUrl?_hjSettings.errorUrl:hj.defaults.errorUrl;hj.ExceptionLogger=function(m,a){function d(){w.filter(function(c){return"unloaded"===c.state}).forEach(function(c){if(c.check())k(c);else{c.state="loading";var f=document.createElement("script");f.src=c.url;document.getElementsByTagName("head")[0].appendChild(f);b(c)}})}function b(c){var f=setInterval(function(){c.check()&&(clearInterval(f),k(c))}, 10)}function k(c){c.state="loaded";c.onLoad();g()&&h.startProcessing()}function g(){return w.every(function(c){return"loaded"===c.state})}function e(c){hj.hq.each(c,function(f,a){a&&"object"===typeof a?e(a):a&&("string"===typeof a&&-1==t.indexOf(f))&&(a=a.replace(x,""),a=a.replace(v,""),a=a.replace(z,"123456789012"),a=a.replace(B,"<******>"),a=a.replace(y,""),c[f]=a)});return c}function c(c,f,a){("undefined"!==typeof hj.log?hj.log.debug: function(){})(c,f,a)}a=a||{};var f,p=null,h={},n=[],l=0,r=null!==m,q=0=u&&h.stopProcessing()},s))};h.isProcessing=function(){return null!==p};h.stopProcessing=function(){h.isProcessing()&&(clearInterval(p),p=null)};return h};hj.exceptions=new hj.ExceptionLogger(hj.errorUrl);hj.tryCatch=hj.exceptions.tryCatch})(); try{(function(m,a){var d=function(a){return new b(a)};d.isValidSelector=function(a){try{return hj.hq(a),!0}catch(b){return!1}};d.isEmptyObject=function(a){return Object.keys(a).length?!1:!0};d.isFunction=function(a){return"function"===typeof a};d.isWindow=function(a){return a===window};d.isDocument=function(a){return a===window.document};d.noop=function(){};d.each=function(a,b){var e,c;if("object"===typeof a&&"[object Array]"!==Object.prototype.toString.call(a))if((c=a[Object.keys(a)[0]])&&void 0!== c.nodeName)for(e in a){if(a.hasOwnProperty(e)&&"length"!==e&&!1===b(e,a[e],a))break}else for(e in a){if(a.hasOwnProperty(e)&&!1===b(e,a[e],a))break}else if("undefined"!==typeof a)for(e=0;eb.status?d.isFunction(a.success)&&a.success(b.responseText&&JSON.parse(b.responseText),b):d.isFunction(a.error)&&a.error(b)};b.onerror=function(){d.isFunction(a.error)&&a.error(b)};d.isFunction(a.requestAnnotator)&& a.requestAnnotator(b);"POST"===a.type&&a.data?b.send(a.data):b.send()};d.get=function(a,b){var e=new XMLHttpRequest;e.open("GET",a,!0);e.onload=function(){200<=e.status&&400>e.status&&b&&b(e.responseText)};e.send()};d.eventHandlers={};d.selector="";var b=function(b){var g;d.selector=b;if(d.isWindow(b))this[0]=window,this.length=1;else if(d.isDocument(b))this[0]=a,this.length=1;else if("object"===typeof b)this[0]=b,this.length=1;else if("string"===typeof b&&"<"===b.charAt(0)&&">"===b.charAt(b.length- 1)&&3<=b.length)g=a.createElement("div"),g.innerHTML=b,this[0]=g.childNodes[0],this.length=1;else if("string"===typeof b){if(!isNaN(b.charAt(1))&&("."===b.charAt(0)||"#"===b.charAt(0)))b=b.charAt(0)+"\\3"+b.charAt(1)+" "+b.slice(2);try{g=a.querySelectorAll(b)}catch(e){return this.length=0,this}for(b=0;b=this[0].offsetWidth&&0>=this[0].offsetHeight);if(":hidden"===a)return 0>=this[0].offsetWidth&&0>=this[0].offsetHeight;if(":checked"===a)return this[0].checked;if(-1>>0};a.prototype.nodeId=function(c){var b=c[a.ID_PROP];b||(b=c[a.ID_PROP]=a.nextId_++);return b};a.prototype.set=function(a,c){var b=this.nodeId(a);this.nodes[b]=a;this.values[b]=c};a.prototype.get=function(a){a=this.nodeId(a);return this.values[a]};a.prototype.has=function(a){return this.nodeId(a)in this.nodes};a.prototype.deleteNode=function(a){a=this.nodeId(a); delete this.nodes[a];this.values[a]=void 0};a.prototype.keys=function(){var a=[],c;for(c in this.nodes)this.isIndex(c)&&a.push(this.nodes[c]);return a};a.ID_PROP="__hj_mutation_summary_node_map_id__";a.nextId_=1;return a}(),b;(function(a){a[a.STAYED_OUT=0]="STAYED_OUT";a[a.ENTERED=1]="ENTERED";a[a.STAYED_IN=2]="STAYED_IN";a[a.REPARENTED=3]="REPARENTED";a[a.REORDERED=4]="REORDERED";a[a.EXITED=5]="EXITED"})(b||(b={}));var k=function(){function a(c,b,f,e,h,p,d,n){"undefined"===typeof b&&(b=!1);"undefined"=== typeof f&&(f=!1);"undefined"===typeof e&&(e=!1);"undefined"===typeof h&&(h=null);"undefined"===typeof p&&(p=!1);"undefined"===typeof d&&(d=null);"undefined"===typeof n&&(n=null);this.node=c;this.childList=b;this.attributes=f;this.characterData=e;this.oldParentNode=h;this.added=p;this.attributeOldValues=d;this.characterDataOldValue=n;this.isCaseInsensitive=this.node.nodeType===Node.ELEMENT_NODE&&this.node instanceof HTMLElement&&this.node.ownerDocument instanceof HTMLDocument}a.prototype.getAttributeOldValue= function(a){if(this.attributeOldValues)return this.isCaseInsensitive&&(a=a.toLowerCase()),this.attributeOldValues[a]};a.prototype.getAttributeNamesMutated=function(){var a=[];if(!this.attributeOldValues)return a;for(var c in this.attributeOldValues)a.push(c);return a};a.prototype.attributeMutated=function(a,c){this.attributes=!0;this.attributeOldValues=this.attributeOldValues||{};a in this.attributeOldValues||(this.attributeOldValues[a]=c)};a.prototype.characterDataMutated=function(a){this.characterData|| (this.characterData=!0,this.characterDataOldValue=a)};a.prototype.removedFromParent=function(a){this.childList=!0;this.added||this.oldParentNode?this.added=!1:this.oldParentNode=a};a.prototype.insertedIntoParent=function(){this.added=this.childList=!0};a.prototype.getOldParent=function(){if(this.childList){if(this.oldParentNode)return this.oldParentNode;if(this.added)return null}return this.node.parentNode};return a}(),g=function(){return function(){this.added=new d;this.removed=new d;this.maybeMoved= new d;this.oldPrevious=new d;this.moved=void 0}}(),e=function(a){function c(b,f){a.call(this);this.rootNode=b;this.wasReachableCache=this.reachableCache=void 0;this.anyCharacterDataChanged=this.anyAttributesChanged=this.anyParentsChanged=!1;for(var e=0;escreen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.height,screen.width];"undefined"!== typeof d&&a.push(d);screen.availWidth&&screen.availHeight&&(b=this.options.detectScreenOrientation?screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:[screen.availHeight,screen.availWidth]);"undefined"!==typeof b&&a.push(b);return a},timezoneOffsetKey:function(a){a.push((new Date(1979,3,13)).getTimezoneOffset());return a},sessionStorageKey:function(a){this.hasSessionStorage()&&a.push("sessionStorageKey");return a},localStorageKey:function(a){this.hasLocalStorage()&& a.push("localStorageKey");return a},indexedDbKey:function(a){this.hasIndexedDB()&&a.push("indexedDbKey");return a},addBehaviorKey:function(a){document.body&&document.body.addBehavior&&a.push("addBehaviorKey");return a},openDatabaseKey:function(a){window.openDatabase&&a.push("openDatabase");return a},cpuClassKey:function(a){a.push(this.getNavigatorCpuClass());return a},platformKey:function(a){a.push(this.getNavigatorPlatform());return a},doNotTrackKey:function(a){a.push(this.getDoNotTrack());return a}, adBlockKey:function(a){a.push(this.getAdBlock());return a},hasLiedLanguagesKey:function(a){a.push(this.getHasLiedLanguages());return a},hasLiedResolutionKey:function(a){a.push(this.getHasLiedResolution());return a},hasLiedOsKey:function(a){a.push(this.getHasLiedOs());return a},hasLiedBrowserKey:function(a){a.push(this.getHasLiedBrowser());return a},pluginsKey:function(a){this.isIE()||a.push(this.getRegularPluginsString());return a},getRegularPluginsString:function(){var a=[],d=["Shockwave Flash"]; if("undefined"===typeof navigator.plugins)return"no-plugins";for(var b=0,k=navigator.plugins.length;bd.indexOf(navigator.plugins[b].name)&&a.push(navigator.plugins[b]);this.pluginsShouldBeSorted()&&(a=a.sort(function(a,b){return a.name>b.name?1:a.name>>16,a[0]&65535,a[1]>>>16,a[1]&65535];d=[d[0]>>>16,d[0]&65535,d[1]>>>16,d[1]&65535];var b=[0, 0,0,0];b[3]+=a[3]+d[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]+d[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]+d[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]+d[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]},x64Multiply:function(a,d){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]&65535];d=[d[0]>>>16,d[0]&65535,d[1]>>>16,d[1]&65535];var b=[0,0,0,0];b[3]+=a[3]*d[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]*d[3];b[1]+=b[2]>>>16;b[2]&=65535;b[2]+=a[3]*d[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]*d[3];b[0]+=b[1]>>>16; b[1]&=65535;b[1]+=a[2]*d[2];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[3]*d[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]*d[3]+a[1]*d[2]+a[2]*d[1]+a[3]*d[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]},x64Rotl:function(a,d){d%=64;if(32===d)return[a[1],a[0]];if(32>d)return[a[0]<>>32-d,a[1]<>>32-d];d-=32;return[a[1]<>>32-d,a[0]<>>32-d]},x64LeftShift:function(a,d){d%=64;return 0===d?a:32>d?[a[0]<>>32-d,a[1]<>>1]);a=this.x64Multiply(a,[4283543511,3981806797]);a=this.x64Xor(a,[0,a[0]>>>1]);a=this.x64Multiply(a,[3301882366,444984403]);return a=this.x64Xor(a,[0,a[0]>>>1])},x64hash128:function(a,d){a=a||"";d=d||0;for(var b=a.length%16,k=a.length-b,g=[0,d],e=[0,d],c=[0,0],f=[0,0],p=[2277735313,289559509],h=[1291169091,658871167],n=0;n>>0).toString(16)).slice(-8)+("00000000"+(g[1]>>>0).toString(16)).slice(-8)+("00000000"+(e[0]>>>0).toString(16)).slice(-8)+("00000000"+(e[1]>>>0).toString(16)).slice(-8)}};hj.fingerprinter.VERSION="0.7.1";return hj.fingerprinter},"fingerprinter")(); hj.tryCatch(function(m,a,d){hj.deviceDetection={getDevice:d(m,a)}}("categorizr",this,function(m,a){function d(){for(var a=b.length;a--;)c["is"+b[a]]=e(b[a].toLowerCase())}var b=["Tv","Desktop","Tablet","Mobile"],k=function(a){return a.match(/GoogleTV|SmartTV|Internet.TV|NetCast|NETTV|AppleTV|boxee|Kylo|Roku|DLNADOC|CE\-HTML/i)?"tv":a.match(/Xbox|PLAYSTATION.3|Wii/i)?"tv":a.match(/iPad/i)||a.match(/tablet/i)&&!a.match(/RX-34/i)||a.match(/FOLIO/i)?"tablet":a.match(/Linux/i)&&a.match(/Android/i)&&!a.match(/Fennec|mobi|HTC.Magic|HTCX06HT|Nexus.One|SC-02B|fone.945/i)? "tablet":a.match(/Kindle/i)||a.match(/Mac.OS/i)&&a.match(/Silk/i)?"tablet":a.match(/GT-P10|SC-01C|SHW-M180S|SGH-T849|SCH-I800|SHW-M180L|SPH-P100|SGH-I987|zt180|HTC(.Flyer|\_Flyer)|Sprint.ATP51|ViewPad7|pandigital(sprnova|nova)|Ideos.S7|Dell.Streak.7|Advent.Vega|A101IT|A70BHT|MID7015|Next2|nook/i)||a.match(/MB511/i)&&a.match(/RUTEM/i)?"tablet":a.match(/BOLT|Fennec|Iris|Maemo|Minimo|Mobi|mowser|NetFront|Novarra|Prism|RX-34|Skyfire|Tear|XV6875|XV6975|Google.Wireless.Transcoder/i)?"mobile":a.match(/Opera/i)&& a.match(/Windows.NT.5/i)&&a.match(/HTC|Xda|Mini|Vario|SAMSUNG\-GT\-i8000|SAMSUNG\-SGH\-i9/i)?"mobile":a.match(/Windows.(NT|XP|ME|9)/)&&!a.match(/Phone/i)||a.match(/Win(9|.9|NT)/i)?"desktop":a.match(/Macintosh|PowerPC/i)&&!a.match(/Silk/i)?"desktop":a.match(/Linux/i)&&a.match(/X11/i)?"desktop":a.match(/Solaris|SunOS|BSD/i)?"desktop":a.match(/Bot|Crawler|Spider|Yahoo|ia_archiver|Covario-IDS|findlinks|DataparkSearch|larbin|Mediapartners-Google|NG-Search|Snappy|Teoma|Jeeves|TinEye/i)&&!a.match(/Mobile/i)? "desktop":"mobile"},g=k(a.navigator?a.navigator.userAgent:a.request?a.request.headers["user-agent"]:"No User-Agent Provided"),e=function(a){return g===a},c=function(){var a=[].slice.call(arguments,0);2===a.length&&g===a[0]?(g=a[1],d()):1===a.length&&"string"===typeof a[0]&&(g=a[0],d());return g};c.is=e;c.test=k;d();return c}),"device-detection"); hj.tryCatch(function(){function m(c,f){var e=c[0],h=c[1],n=c[2],l=c[3],e=d(e,h,n,l,f[0],7,-680876936),l=d(l,e,h,n,f[1],12,-389564586),n=d(n,l,e,h,f[2],17,606105819),h=d(h,n,l,e,f[3],22,-1044525330),e=d(e,h,n,l,f[4],7,-176418897),l=d(l,e,h,n,f[5],12,1200080426),n=d(n,l,e,h,f[6],17,-1473231341),h=d(h,n,l,e,f[7],22,-45705983),e=d(e,h,n,l,f[8],7,1770035416),l=d(l,e,h,n,f[9],12,-1958414417),n=d(n,l,e,h,f[10],17,-42063),h=d(h,n,l,e,f[11],22,-1990404162),e=d(e,h,n,l,f[12],7,1804603682),l=d(l,e,h,n,f[13], 12,-40341101),n=d(n,l,e,h,f[14],17,-1502002290),h=d(h,n,l,e,f[15],22,1236535329),e=b(e,h,n,l,f[1],5,-165796510),l=b(l,e,h,n,f[6],9,-1069501632),n=b(n,l,e,h,f[11],14,643717713),h=b(h,n,l,e,f[0],20,-373897302),e=b(e,h,n,l,f[5],5,-701558691),l=b(l,e,h,n,f[10],9,38016083),n=b(n,l,e,h,f[15],14,-660478335),h=b(h,n,l,e,f[4],20,-405537848),e=b(e,h,n,l,f[9],5,568446438),l=b(l,e,h,n,f[14],9,-1019803690),n=b(n,l,e,h,f[3],14,-187363961),h=b(h,n,l,e,f[8],20,1163531501),e=b(e,h,n,l,f[13],5,-1444681467),l=b(l,e, h,n,f[2],9,-51403784),n=b(n,l,e,h,f[7],14,1735328473),h=b(h,n,l,e,f[12],20,-1926607734),e=a(h^n^l,e,h,f[5],4,-378558),l=a(e^h^n,l,e,f[8],11,-2022574463),n=a(l^e^h,n,l,f[11],16,1839030562),h=a(n^l^e,h,n,f[14],23,-35309556),e=a(h^n^l,e,h,f[1],4,-1530992060),l=a(e^h^n,l,e,f[4],11,1272893353),n=a(l^e^h,n,l,f[7],16,-155497632),h=a(n^l^e,h,n,f[10],23,-1094730640),e=a(h^n^l,e,h,f[13],4,681279174),l=a(e^h^n,l,e,f[0],11,-358537222),n=a(l^e^h,n,l,f[3],16,-722521979),h=a(n^l^e,h,n,f[6],23,76029189),e=a(h^n^ l,e,h,f[9],4,-640364487),l=a(e^h^n,l,e,f[12],11,-421815835),n=a(l^e^h,n,l,f[15],16,530742520),h=a(n^l^e,h,n,f[2],23,-995338651),e=k(e,h,n,l,f[0],6,-198630844),l=k(l,e,h,n,f[7],10,1126891415),n=k(n,l,e,h,f[14],15,-1416354905),h=k(h,n,l,e,f[5],21,-57434055),e=k(e,h,n,l,f[12],6,1700485571),l=k(l,e,h,n,f[3],10,-1894986606),n=k(n,l,e,h,f[10],15,-1051523),h=k(h,n,l,e,f[1],21,-2054922799),e=k(e,h,n,l,f[8],6,1873313359),l=k(l,e,h,n,f[15],10,-30611744),n=k(n,l,e,h,f[6],15,-1560198380),h=k(h,n,l,e,f[13],21, 1309151649),e=k(e,h,n,l,f[4],6,-145523070),l=k(l,e,h,n,f[11],10,-1120210379),n=k(n,l,e,h,f[2],15,718787259),h=k(h,n,l,e,f[9],21,-343485551);c[0]=g(e,c[0]);c[1]=g(h,c[1]);c[2]=g(n,c[2]);c[3]=g(l,c[3])}function a(a,b,e,h,d,l){b=g(g(b,a),g(h,l));return g(b<>>32-d,e)}function d(c,b,e,h,d,l,g){return a(b&e|~b&h,c,b,d,l,g)}function b(c,b,e,h,d,l,g){return a(b&h|e&~h,c,b,d,l,g)}function k(c,b,e,h,d,l,g){return a(e^(b|~h),c,b,d,l,g)}function g(a,b){return a+b&4294967295}if("undefined"!==typeof hj.scriptLoaded)window.console= window.console||{warn:function(){}},console.warn("Hotjar Tracking Warning: Multiple Hotjar tracking codes were detected on this page. Tracking will not work as expected."),hj.verifyInstall&&hj.notification.show("Hotjar installation invalid.","It appears you have more than one Hotjar tracking code set up on this page. Hotjar cannot work properly if multiple Hotjar scripts are loaded concurrently. Please make sure you only install the one tracking code provided for this site.","bad");else{window.hj= window.hj||function(){(window.hj.q=window.hj.q||[]).push(arguments)};window.hj.q=window.hj.q||[];hj.hostname=hj.host.split(":")[0];hj.port=443;hj.apiUrlBase="https://"+hj.host+"/api/v1";hj.includedInSample=!1;hj.isPreview=Boolean(_hjSettings.preview);hj.settings={};hj.userDeviceType=null;hj.optOut=!1;hj.windowSize=null;hj.scriptVersion=16041304;hj.currentDeferredPageContentId=null;hj.maxRecordingTagLength=50;hj.locationListener=function(){var a={},b="manual",e;a.setMode=hj.tryCatch(function(a){b= a;e&&clearInterval(e);"automatic_with_fragments"===b?e=setInterval(function(){var a=location.origin+location.pathname+location.search+location.hash;hj.currentUrl&&hj.currentUrl!=a&&hj._init.reinit(a)},200):"automatic"===b&&(e=setInterval(function(){var a=location.origin+location.pathname+location.search;hj.currentUrl&&hj.currentUrl.split("#")[0]!=a&&hj._init.reinit(a)},200))});return a}();var e="0123456789abcdef".split("");hj.encodeAsUtf8=function(a){return unescape(encodeURIComponent(a))};hj.md5= function(a,b){var d="";try{var h=hj.encodeAsUtf8(a),n=h.length,l=[1732584193,-271733879,-1732584194,271733878],g;for(g=64;g<=h.length;g+=64){for(var q=l,s=h.substring(g-64,g),k=[],t=void 0,t=0;64>t;t+=4)k[t>>2]=s.charCodeAt(t)+(s.charCodeAt(t+1)<<8)+(s.charCodeAt(t+2)<<16)+(s.charCodeAt(t+3)<<24);m(q,k)}h=h.substring(g-64);q=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(g=0;g>2]|=h.charCodeAt(g)<<(g%4<<3);q[g>>2]|=128<<(g%4<<3);if(55g;g++)q[g]=0}q[14]=8*n;m(l,q);for(h= 0;hs;s++)q+=e[v>>8*s+4&15]+e[v>>8*s&15];n[g]=q}d=l.join("")}catch(x){b?d="":hj.exceptions.log(x,"md5")}return d};hj.b64EncodeUnicode=function(a){return btoa(hj.encodeAsUtf8(a))};"5d41402abc4b2a76b9719d911017c592"!=hj.md5("hello")&&(g=function(a,b){var e=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(e>>16)<<16|e&65535});hj.time=function(){var a={},b=(new Date).getTime();a.reset=function(){b=(new Date).getTime()};a.getNow=function(){return(new Date).getTime()- b};return a}();hj.debug=function(){return{on:function(a){_hjSettings.hjdebug=!0;a&&hj.cookie.set("hjDebug",!0)},off:function(){_hjSettings.hjdebug=!1;hj.cookie.set("hjDebug",!1)},emit:function(a,b){"undefined"!==typeof _hjEmitters&&_hjEmitters.includes&&_hjEmitters.includes(a)&&window.postMessage({data:b,message:"hjDebug",type:a},"*")}}}();hj.url=function(){var a={};a.getParameter=hj.tryCatch(function(a){var b,c=[];for(a=RegExp("[^?&]?"+a.replace(/\[/,"\\[").replace(/]/,"\\]")+"=([^&]+)","g");b=a.exec(location.search);)c.push(hj.url.tryDecodeURIComponent(b[1])); switch(c.length){case 0:return"";case 1:return c[0];default:return c}},"common");a.tryDecodeURIComponent=hj.tryCatch(function(a){try{return decodeURIComponent(a)}catch(b){return a}},"common");a.getUrlFromString=hj.tryCatch(function(a){a=a||window.location.href;a.startsWith("http")||(a.startsWith("/")||(a="/"+a),a=location.protocol+"//"+location.hostname+(""!=location.port?":"+location.port:"")+a);return a},"common");return a}();hj.cookie=function(){var a={};a.get=hj.tryCatch(function(a){return(a= RegExp("(?:^|; )"+a+"=([^;]*)").exec(document.cookie))?a[1]:null},"common");a.set=hj.tryCatch(function(a,b,c){var e=new Date,d=c||365;a=a+"="+b+"; path=/; ";0!==c&&(e.setTime(e.getTime()+864E5*d),a+="expires="+e.toUTCString());document.cookie=a},"common");a.add=hj.tryCatch(function(a,b){var c=hj.cookie.get(a),c=c?c.split(","):[];hj.hq.inArray(b.toString(),c)||(c.push(b),hj.cookie.set(a,c.join(",")))},"common");a.find=hj.tryCatch(function(a,b){var c=hj.cookie.get(a),e,c=c?c.split(","):[];for(e=0;e< c.length;e++)if(b.toString()===c[e])return!0;return!1},"common");return a}();hj.log=function(){var a={},b=!1,e="",d={init:"#6600cc",recording:"#c00000",heatmap:"#c00000",forms:"#c00000",tester:"#009900",survey:"#009900",poll:"#009900",integration:"#2a9072",events:"#ffc000",event:"#ffc000",property:"#ff33cc",deferredpagecontent:"#7c7c7c",websocket:"#0dc0ff",data:"#009bd2",command:"#0079a4",visitdata:"#00668a",dataqueue:"#00445c",targeting:"#00ee00",rendering:"#bd00ea"};a.init=function(){"undefined"=== typeof window.console&&(window.console={debug:function(){},trace:function(){},log:function(){},info:function(){},warn:function(){},error:function(){}})};a.debug=function(g,l,r){var q=!l?"#333":d[l.toLowerCase()]||"#333";e!=g&&b&&(console.groupEnd(),b=!1);e=g;_hjSettings.hjdebug&&("object"===typeof g?hj.hq.each(g,function(b,e){a.debug(b+": "+e,l,null)}):(g=l&&"string"===typeof g?l.toUpperCase()+": "+g:g,g="%c"+(new Date).toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/,"$1")+":%c "+g,r?(b||(console.groupCollapsed(g+ ":","color: #999;","color: "+q+";"),b=!0),console.log(r)):console.log(g,"color: #999;","color: "+q+";")))};a.info=function(a){console.log("%c"+a,"color: #006EFF")};a.warn=function(a){console.log("%c"+a,"color: #E8910C")};a.error=function(a){console.error("Hotjar error: "+a)};return a}();hj.loader=function(){var a={},b=[];a.getModules=hj.tryCatch(function(){return b},"common");a.registerModule=hj.tryCatch(function(a,c,e){b.push({name:a,module:c,nonTracking:"undefined"!==typeof e?e:!1})},"common"); a.loadScripts=hj.tryCatch(function(a,b){function c(f){e+=1;hj.log.debug("Script loaded: "+e+" ("+f+")");e===a.length&&hj.tryCatch(b,"URL")()}var e=0,f={},d;0===a.length&&hj.tryCatch(b,"URL")();for(d=0;dNumber(a.pattern)},less_than:function(a,b){return k(a.pattern,b)?{error:"Cannot compare non-numeric values."}:Number(b)=c}};return q}();hj.utils=function(){var a={};a.ieVersion=hj.tryCatch(function(a){a=a||navigator.userAgent;return 0()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(a)},"common");a.deviceType=hj.tryCatch(function(){hj.userDeviceType||(hj.userDeviceType=hj.deviceDetection.getDevice(),"mobile"===hj.userDeviceType&&(hj.userDeviceType="phone"));return hj.userDeviceType},"common"); return a}();hj.rendering=function(){function a(b,c){hj.tryCatch(c,"Rendering")(b)}function b(a,c){hj.widgetDelay.set(function(){hj.tryCatch(c,"Rendering")(a)},1E3*a.display_delay)}function e(a,b,c){function f(){hj.tryCatch(b,"Rendering")(a);d.off("mousemove."+c);d.off("mouseout."+c)}var d=hj.hq(document),h=hj.hq(window),g=[];l.push(c);d.off("mousemove."+c);d.off("mouseout."+c);d.on("mousemove."+c,hj.tryCatch(function(a){g.push({x:a.clientX,y:a.clientY});2=a.y)&&!(0<(b|0)))&&(a.x===c.x&&f(),b=(a.y-c.y)/(a.x-c.x),a=a.y-b*a.x,a=-a/b,0$1');e=e.replace(/(^|[^/])(www\.[\S]+(\b|$))/gim,'$1$2'); f[d]=e}else b[c]=a[c]}return b}var l=[],k={},q={};k.clearAllAbandonEvents=hj.tryCatch(function(){l.forEach(function(a){hj.log.debug("Removing abandon events for "+a,"rendering");hj.hq(document).off("mousemove."+a);hj.hq(document).off("mouseout."+a)});l=[]},"common");k.renderTemplate=hj.tryCatch(function(a,b){var c=q[a];c||(c="var pieces=[],print=function(){pieces.push.apply(pieces,arguments);};with(obj){pieces.push('"+a.replace(/[\r\t\n]/g," ").replace(/'(?=[^%]*%>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<%=(.+?)%>/g, "',$1,'").split("<%").join("');").split("%>").join("pieces.push('")+"');}return pieces.join('');",c=new Function("obj",c),q[a]=c);var e=g(b);return c(e)},"common");k.addToDom=hj.tryCatch(function(a,b){if(!a)throw Error("container id not defined");if(!b)throw Error("cannot append html to container #"+a+", html not defined.");hj.hq("#"+a).remove();hj.hq("body").append(b);return hj.hq("#"+a+">div")},"common.addToDom");k.TrustedString=function(a){this.value=a};k.callAccordingToCondition=hj.tryCatch(function(g, l,n){var q={immediate:a,delay:b,abandon:e,scroll:d}[g.display_condition];hj.log.debug("Calling active item ("+l+"): "+g.display_condition,"rendering");if(q){var k=!0;"undefined"!==typeof g.targeting_percentage&&!hj.isPreview&&(k=(new hj.fingerprinter).compareRatio(g.targeting_percentage,!0));k?hj.tryCatch(q,"Rendering")(g,n,l):hj.log.debug("Fingerprinter not in targeting percentage. Widget will not render.","rendering")}else throw Error('Unhandled display condition: "'+g.display_condition+'"');}, "common");var m={"&":"&","<":"<",">":">",'"':""","'":"'"};k.escapeHtml=function(a){return a.replace(/&(?!(amp|lt|gt|quot|#39);)/g,function(a){return m[a]}).replace(/[<>"']/g,function(a){return m[a]})};return k}();hj.survey=hj.tryCatch(function(){return{ctrl:void 0,data:void 0,model:{},activeLanguageDirection:"ltr"}},"common")();hj.ui=function(){var a={};a.getWindowSize=hj.tryCatch(function(){var a;try{a=window.self!==window.top}catch(b){a=!0}var c=!a&&window.screen?window.screen.width: document.body.clientWidth;a=!a&&window.screen?window.screen.height:document.body.clientHeight;return{width:window.innerWidth||document.documentElement.clientWidth||c,height:window.innerHeight||document.documentElement.clientHeight||a}},"common");a.getDocumentSize=hj.tryCatch(function(){var b,e;document&&document.documentElement&&document.documentElement.clientWidth?(b=document.documentElement.clientWidth,e=document.documentElement.clientHeight):(e=a.getWindowSize(),b=e.width,e=e.height);return{width:b, height:e}},"common");a.getScrollPosition=hj.tryCatch(function(a){a=a||window;return{left:hj.hq(a).scrollLeft(),top:hj.hq(a).scrollTop()}},"common");a.getBottomAsPercentage=hj.tryCatch(function(){var a=parseInt(1E3*(hj.hq(window).scrollTop()+hj.ui.getWindowSize().height)/hj.hq(document).height(),10);return Math.min(1E3,a)},"common");a.disableScrolling=hj.tryCatch(function(a){var b=hj.ui.getScrollPosition();hj.hq(document).on("scroll.hotjarDisable resize.hotjarDisable mousewheel.hotjarDisable DOMMouseScroll.hotjarDisable touchmove.hotjarDisable", hj.tryCatch(function(c){c.preventDefault();window.scrollTo(b.left,b.top);a&&a()},"common"))},"common");a.enableScrolling=hj.tryCatch(function(){hj.hq(document).off("scroll.hotjarDisable");hj.hq(document).off("resize.hotjarDisable");hj.hq(document).off("mousewheel.hotjarDisable");hj.hq(document).off("DOMMouseScroll.hotjarDisable");hj.hq(document).off("touchmove.hotjarDisable")},"common");return a}();hj.dom=function(){return{getCSSURLs:function(){var a=[],b=document.styleSheets;hj.log.debug("Getting CSS", "dpc","Starting");b&&0\n"},"common");return b}();hj.features=function(){var a={};a.getFeatures=hj.tryCatch(function(){return hj.settings.features||[]},"hj.features.getFeatures");a.hasFeature=hj.tryCatch(function(b){return-1=(new Date).getTime()-n)return!0;sessionStorage.removeItem("_hjRecordingEnabled");e.close()}return!1},"data");e.send=hj.tryCatch(function(a){n= (new Date).getTime();hj.log.debug("Sending data to Web Socket","websocket",a);r.send(a)},"data");e.close=hj.tryCatch(function(){hj.log.debug("Closing Web Socket.","websocket");r.close()},"data");e.getBufferedAmount=hj.tryCatch(function(){return r.bufferedAmount},"data");k=hj.tryCatch(function(){p?(hj.log.debug("Unload event triggered, don't reconnect"),!1===l&&(l=!0,setTimeout(function(){l=p=!1},1E3))):(f=!0,hj.log.debug("Connecting to Web Socket ["+q+"]","websocket"),r=new WebSocket(q),r.onopen= a,r.onclose=d,window.addEventListener("beforeunload",hj.tryCatch(e.disconnect,"Data"),!1))},"data");g=hj.tryCatch(function(){c&&(hj.log.debug("Pinging Web Socket.","websocket"),r.send("ping"))},"data");a=hj.tryCatch(function(){hj.log.debug("Web Socket opened.","websocket");h=setInterval(g,3E4);c=!0;f=!1;hj.eventStream.flush()},"data");d=hj.tryCatch(function(a){hj.log.debug("Web Socket closed.","websocket");a.wasClean||hj.log.warn("Websocket close was unclean: "+a.code);c&&(clearInterval(h),c=!1)}, "data");b=hj.tryCatch(function(){var a=hj.globals.get("userId");return hj.host===hj.defaults.host?(a=parseInt(a.slice(-10),16)%10+1,"ws"+a+".hotjar.com"):hj.host},"data");return e},"data")();hj.resource=function(){function a(a,b){var c=[],d,p,h;for(h=0;h/;b.StorePageContentResource=function(b,e){var c={},f=function(){var a=b.split("/"),c=[],e,d;for(d=0;d/content",{post:["POST",["content"]]});return b}();hj.ajax=function(){var a={};a.get=hj.tryCatch(function(a,b,k){b=b||hj.hq.noop;k=k||hj.hq.noop;hj.hq.ajax({url:a,success:hj.tryCatch(b,"Data"),error:hj.tryCatch(k,"Data")})},"data");a.post=hj.tryCatch(function(a,b,k,g){k=k||hj.hq.noop;g=g||hj.hq.noop; hj.hq.ajax({url:a,type:"POST",data:JSON.stringify(b),contentType:"application/json",success:hj.tryCatch(k,"Data"),error:hj.tryCatch(g,"Data")})},"data");return a}();hj.eventStream=hj.tryCatch(function(){var a,d,b,k,g,e={},c=[],f="",p=void 0;e.setCurrentPageVisitKey=hj.tryCatch(function(b){f!==b&&(f=b,a());e.flush()},"data");e.writeNewFrame=hj.tryCatch(function(b,c){a(c);e.write(b);a();return e});e.write=hj.tryCatch(function(a,b,d){var f;if(hj.isPreview)return e;hj.webSocket.connect();if("object"=== typeof a)return hj.hq.each(a,function(a,b){e.write(a,b,!0)}),e;f=c.pop();d?f[a]=b:(f[a]=f[a]||[],f[a].push(b));c.push(f);return e},"data");e.flush=hj.tryCatch(function(){var b=hj.globals.get("userId"),c,f;p&&clearInterval(p);b||(hj.globals.ready("userId",e.flush),a());if(hj.webSocket.isConnected()&&b){c=d();f=c.length;if(0hj.time.getNow()-c.autotag_recording[0].time?e.push(c):d.push(b(c))});return{leftover:e,sendable:d}},"data.filterRageClicks");b=hj.tryCatch(function(a){hj.hq.each(a,function(b,c){hj.hq.isFunction(c)&&(a[b]=c())});a.page_visit_key=a.pageVisitKey;delete a.pageVisitKey;"object"===typeof a.mutation&&(a.mutation=k(a.mutation));return a},"data");k=hj.tryCatch(function(a){var b,c="";if("object"===typeof a)return hj.hq.each(a,function(e,d){"object"=== typeof d.c&&(hj.hq.each(d.c,function(d,f){"object"===typeof f.attributes&&"string"===typeof f.attributes.style&&(f.attributes.style===b&&f.id===c&&(a[e].c[d]=null),b=f.attributes.style,c=f.id)}),a[e].c=a[e].c.filter(function(a){return a}),a[e].c.length||delete a[e].c);"undefined"===typeof a[e].a&&("undefined"===typeof a[e].b&&"undefined"===typeof a[e].c&&"undefined"===typeof a[e].d)&&(a[e]=null)}),a.filter(function(a){return a})},"data");return e})();hj.property=hj.tryCatch(function(){var a={};a.create= hj.tryCatch(function(){var a={key:hj.utils.uuid4()},b={},k={};a.ready=hj.tryCatch(function(g,e){e=hj.tryCatch(e,"Data");k[g]?(hj.log.debug("Property "+g+" is ready. Calling callback() now.","property",e),e(a)):(hj.log.debug("Property "+g+" is not ready. Saving callback().","property",e),b[g]?b[g].push({callback:e,executed:!1}):b[g]=[{callback:e,executed:!1}])},"data");a.set=hj.tryCatch(function(g,e){hj.log.debug("Setting properties."+g+" to "+e,"property");k[g]=e;"object"===typeof b[g]&&hj.hq.each(b[g], function(b,e){e.executed||(hj.log.debug("Calling "+g+" callback.","property"),e.callback(a),e.executed=!0)})},"data");a.get=hj.tryCatch(function(a){return k[a]},"data");return a},"data");hj.globals=a.create();return a},"data")();hj.event=hj.tryCatch(function(){var a={},d=[],b={},k;a.listen=hj.tryCatch(function(a,b){d.unshift({eventIds:a,callback:hj.tryCatch(b,"Data")});k()},"data");a.signal=hj.tryCatch(function(a,e){"undefined"===typeof e?hj.log.debug('Event signalled: "'+a+'".',"event"):hj.log.debug('Event signalled: "'+ a+'". Data: "'+JSON.stringify(e)+'".',"event");b[a]="undefined"===typeof e?!0:e;k()},"data");a.clearAllListeners=hj.tryCatch(function(){d=[]},"data");k=hj.tryCatch(function(){var a,e,c,f;for(e in b)if(b.hasOwnProperty(e))for(a=d.length-1;0<=a;a-=1)f=d[a],c=hj.hq.indexOf(e,f.eventIds),-1!==c&&(hj.log.debug('Event triggered: "'+e+'".',"event"),f.callback(b[e]),delete b[e])},"data");return a},"data")()},"data")(); hj.tryCatch(function(){hj.remoteStorage=hj.tryCatch(function(){function m(a){if((a.origin||a.originalEvent.origin)==e)try{var c=JSON.parse(a.data);(0,b[c.messageId])(c);delete b[c.messageId]}catch(d){return null}}function a(a,d){var h;g||(window.addEventListener?window.addEventListener("message",m,!1):window.attachEvent("onmessage",m));d&&(h=k++,b[h]=d,a.messageId=h);a=JSON.stringify(a);window.hjBootstrap.varsLoaded?c.contentWindow.postMessage(a,e):hj.event.listen(["varsLoaded"],function(){c.contentWindow.postMessage(a, e)})}var d={},b={},k=0,g=!1,e="https://"+hj.varsHost.replace(/:$/,""),c=window.hjBootstrap.varsJar;d.get=hj.tryCatch(function(b,c,e){a({action:"_hjGet",key:b,siteId:e||hj.settings.site_id},function(a){c(a.value)})});d.set=hj.tryCatch(function(b,c,e,d){a({action:"_hjSet",key:b,value:c,expiresMinutes:e||525600,siteId:d||hj.settings.site_id})});return d},"remoteStorage")();hj.remoteCookieJar=hj.remoteStorage},"remoteStorage")(); hj.tryCatch(function(){hj.loader.registerModule("IntegrationsModule",function(){var m={};hj.integrations=hj.tryCatch(function(){var a={};a.google_analytics=hj.tryCatch(function(){var a,b,k,g,e,c,f={},p=60,h=!0,n,l,m;f.setup=hj.tryCatch(function(b){if((b=b.hjuid_dimension_index)&&"string"===typeof b&&b.match("^[1-9][0-9]*$"))n="dimension"+b,hj.log.debug("GA - setup complete. Looking for GA module.","integration"),a(),k()});a=hj.tryCatch(function(){hj.log.debug("GA - waiting for userId.","integration"); hj.globals.ready("userId",b)},"integrations");b=hj.tryCatch(function(a){if((a=a.get("userId"))&&"string"===typeof a&&!(8>a.length))hj.log.debug("GA - got userId.","integration"),m=a.substring(0,8),c()},"integrations");k=hj.tryCatch(function(){var a;l||(a=window.GoogleAnalyticsObject,a=window[a||"ga"],"function"===typeof a?(hj.log.debug("GA - found GA module; waiting for tracker.","integration"),a(g)):0>=p?hj.log.debug("GA - has given up looking for GA module.","integration"):(p-=1,setTimeout(k,500)))}, "integrations");g=hj.tryCatch(function(a){e(a,!0)},"integrations");f.setTracker=hj.tryCatch(function(a){e(a,!1)},"integrations");e=hj.tryCatch(function(a,b){if(n&&a&&(!l||!b))l!==a&&(hj.log.debug("GA - got fresh tracker.","integration"),h=!0),l=a,c()},"integrations");c=hj.tryCatch(function(){h&&(m&&l&&n)&&(hj.log.debug("GA - ready to fire.","integration"),h=!1,l.set(n,m),l.send("event","Hotjar","detect_user",m,{nonInteraction:1}),hj.log.debug("GA - successfully sent detect_user event.","integration"))}, "integrations");return f},"integrations")();a.optimizely=function(){function a(b){"applied"===b.name&&(hj.log.debug("Optimizely - campaign decided; ready to tag experiments.","integration"),k())}function b(){hj.log.debug("Optimizely - refreshing active experiment variation map.","integration");var a=[],b,d,g,l,k;e={};c&&"get"in c&&(l=c.get("state"),k=c.get("data"),a=l.getActiveExperimentIds(),a.forEach(function(a){d=k.experiments[a].name||a;b=l.getVariationMap()[a];g=b.name||b.id;e[d]=g}))}function k(){hj.log.debug("Optimizely - attempting to tag active experiments.", "integration");b();var a=hj;hj.log.debug("Optimizely - looking for tags.","integration");var c=[],d;for(d in e)c.push(d+"/"+e[d]);0 #'+d+", #"+d+' * { font-family: "Open Sans", Helvetica, Arial, sans-serif, Tahoma !important; } #'+d+" { transition-duration: .3s; opacity: 0; transform: scale(.9); } #"+ d+"."+d+"_active { opacity: 1; transform: scale(1); } #"+d+" { background: #263345; border-radius: 2px; position: fixed; z-index: 2147483646; top: 20px; left: 20px; width: 400px; padding: 25px; -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); } #"+ d+" ."+d+"_status { float: left; margin: 0 20px 0 0; border-radius: 50%; width: 50px; height: 50px; -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); box-shadow: 0 2px 4px 0 rgba(0,0,0,.3); } #"+ d+" ."+d+"_status_good { background: url(https://<%= hjStaticHost %>/static/client/modules/assets/checkmark@2x.png) no-repeat 52% 53% #3ACC40; background-size: 25px 18px; } #"+d+" ."+d+"_status_bad { background: url(https://<%= hjStaticHost %>/static/client/modules/assets/attention@2x.png) no-repeat center center #EA4031; background-size: 6px 30px; } #"+ d+" ."+d+"_status { float: left; } #"+d+" ."+d+"_content { float: left; color: #dedede; font-size: 13px; width: 78%; min-height: 50px; vertical-align: middle; } #"+ d+" ."+d+"_title { color: white; font-size: 16px; font-weight: bold; margin: 0 0 4px 0; display: inline-block } ."+d+"_close { position: absolute; top: 15px; right: 15px; font-size: 22px; color: white; cursor: pointer; line-height: 11px; } _hj-f5b2a1eb-9b07_clear { clear: both; } ", k='
×
<% if (status) { %>
">
<% } %>
<% if (title) { %> <%= title %> <% } %> <% if (message) { %>
<%= message %> <% } %>
'; a.show=function(a,e,c){(a=hj.rendering.renderTemplate(b+k,{title:a,message:e,status:c||"good",hjStaticHost:new hj.rendering.TrustedString(hj.staticHost)}))?(hj.rendering.addToDom(d,a),hj.hq("."+d+"_close").on("click",m),setTimeout(function(){hj.hq("#"+d).addClass(d+"_active")},1)):hj.log.debug("Notification could not be rendered.","notifications")};return a}()},"notifications")(); hj.tryCatch(function(){hj.user=function(){var m={properties:{}};m.set=hj.tryCatch(function(a){hj.hq.each(a,function(a,b){m.properties[a]=b});hj.event.signal("updated-user-properties")},"user.set");m.get=hj.tryCatch(function(a){return m.properties[a]},"user.get");return m}()},"user")(); hj.tryCatch(function(){function m(a,b){var k=/(#|@|&|~|=|>|`|'|:|"|!|;|,|\?|%|\}|\{|\.|\*|\+|\||\[|\]|\(|\)|\/|\^|\$)/g,g={test:function(){return!1}},e=b.ignoreUUIDClasses?/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/:g,g=hj.tryCatch(function(a){var b=void 0===a.attr("data-hj-ignore-attributes"),e,d,g,k;g=function(a,b){d=hj.hq(b);for(e=0;e"+g+e)},"common"),f=function(a){var c=[];a=hj.hq.trim((a||"").replace(/\s\s+/g, " "));if("undefined"===typeof a||""===a||-1d?2:d;a[d]||(a[d]={get:function(a){return m(a,b[d])}});return a[d]}})(); hj.tryCatch(function(){hj.loader.registerModule("Command",function(){function m(){k.push=function(){var b;for(b=0;bMath.random()?-1:1)))}):a(c+(0.5>Math.random()?-1:1))}, "Suppresser.textHandler"),h=hj.tryCatch(function(a){hj.settings.anonymize_emails&&(a=a.replace(t,g));hj.settings.anonymize_digits&&(a=a.replace(n,g));return a=a.replace(q,function(a){return a.replace(n,g)})},"Suppresser.textContentHandler"),l=hj.tryCatch(function(){return a()},"Suppresser.passwordHandler"),k=hj.tryCatch(function(){return a(c,1)},"Suppresser.numberHandler"),p=hj.tryCatch(function(a){return(new Date(1979,0,1)).toISOString().substring(0,a?16:10)},"Suppresser.getLocalDateStr"),r=hj.tryCatch(function(){return p(!1)}, "Suppresser.dateHandler"),A=hj.tryCatch(function(){return p(!0)},"Suppresser.datetimeHandler"),s=hj.tryCatch(function(){return"00:00"},"Suppresser.timeHandler"),u=hj.tryCatch(function(){return"1979-01"},"Suppresser.monthHandler"),C=hj.tryCatch(function(){return"1979-W1"},"Suppresser.weekHandler"),D=hj.tryCatch(function(a){if(a)return a.replace(d,"")},"Suppresser.imageStyleHandler"),y={full:g,partial:h,textContent:h,password:l,number:k,date:r,datetime:A,"datetime-local":A,time:s,month:u,imgStyle:D, week:C};return{getSuppressedText:function(a,b){return y[a]?y[a](b):g(b)},getSuppressedImageNode:function(a){var b={src:"",meta:{style:f(a)}};(a=m.getSuppressedText("imgStyle",a.getAttribute("style")))&&(b.style=a);return b}}}(),a=["button","reset","submit"],d=hj.tryCatch(function(b){var c=b.tagName.toLowerCase();b=b.type.toLowerCase();return"input"===c&&-1a.attrs.indexOf(b)?!1:"undefined"!==typeof a.shouldSuppressAttrValueCheck?a.shouldSuppressAttrValueCheck(c):!0},"hj.privacy.isAttributeSuppressable");a.hasPotentialPIIData=hj.tryCatch(function(a, b){b=E(b)?null:b;return y(a,b)},"hj.privacy.hasPotentialPIIData");a.getSuppressedText=hj.tryCatch(function(a,b){return m.getSuppressedText(a,b)},"hj.privacy.getSuppressedText");a.getSuppressedTextNode=hj.tryCatch(function(b,c){var e=b.parentNode||null,d=(c=c||a.isRiskyNotWhitelistedOrSuppressedElement(e))||e&&"textarea"===e.type?"full":"partial";c=!B(e)&&(c||a.hasPotentialPIIData(b.textContent,e));return{content:c?m.getSuppressedText(d,b.textContent):b.textContent,shouldSuppressNode:c}});a.getSuppressedNodeAttribute= hj.tryCatch(function(b,c,e){var d=c.value,f=c.name;if("data-hj-suppressed"!==f){if("IMG"===b.tagName&&("src"===f||"srcset"===f||"style"===f))e=a.isRiskyNotWhitelistedOrSuppressedElement(b,c),a.isRiskyNotWhitelistedOrSuppressedElement(b,c)&&(f="data-hj-suppressed",d=m.getSuppressedImageNode(b));a.isAttributeSuppressable(b.tagName,f,d,b.attributes)&&((e=e||a.isRiskyNotWhitelistedOrSuppressedElement(b))||"META"===b.tagName?d=m.getSuppressedText("full",d):a.hasPotentialPIIData(d)&&(d=m.getSuppressedText("partial", d)));return{name:f,value:d,shouldSuppressNode:e}}});a.getSuppressedNode=hj.tryCatch(function(b,c){for(var e={},d=c,f=0;fc&&(c=a,hj.eventStream.write("scroll_reach", {max_bottom:c},!0))}},"behavior-data.scrollReach.send");return a},"behavior-data.scrollReach")();q=hj.tryCatch(function(){var b={},c=!1,e=!1,d;b.listen=hj.tryCatch(function(){c||(hj.log.debug("Setting up scroll listeners.","events"),window.addEventListener("scroll",b.update,!0),setInterval(b.send,100),0!==hj.ui.getScrollPosition().top&&b.update(),c=!0)},"behavior-data.scroll.listen");b.update=hj.tryCatch(function(a){d=a?a.target===window.document?window:a.target:window;e=!0},"behavior-data.scroll.update"); b.send=hj.tryCatch(function(){var b,c;a&&e&&(d=d||window,b=d===window?"window":hj.selector(w).get(hj.hq(d))||"window",c=hj.ui.getScrollPosition(d),hj.eventStream.write("scroll",{elem:b,time:hj.time.getNow(),timestamp:Date.now(),x:c.left,y:c.top}),e=!1)},"behavior-data.scroll.send");return b},"behavior-data.scroll")();t=hj.tryCatch(function(){var b={},c=!1,e;b.listen=hj.tryCatch(function(){c||(hj.log.debug("Setting up screen size change listeners.","events"),e=hj.ui.getWindowSize(),setInterval(b.checkResize, 1E3),b.checkResize(),c=!0)},"behavior-data.viewportResize.listen");b.checkResize=hj.tryCatch(function(){var a=hj.ui.getWindowSize();if(a.width!==e.width||a.height!==e.height)e=a,b.send()},"behavior-data.viewportResize.checkResize");b.send=hj.tryCatch(function(){a&&hj.eventStream.write("viewport_resize",{time:hj.time.getNow(),timestamp:Date.now(),w:e.width,h:e.height}).flush()},"behavior-data.viewportResize.send");return b},"behavior-data.viewportResize")();h=hj.tryCatch(function(){var b={},c=!1,e= !1,d=!1,f=[];b.listen=hj.tryCatch(function(){c||(hj.log.debug("Setting up key press listeners.","events"),hj.hq(document).on("input","input",b.update),hj.hq(document).on("blur","input",b.send),hj.hq(document).on("input","textarea",b.update),hj.hq(document).on("blur","textarea",b.send),c=!0)},"behavior-data.keyPress.listen");b.update=hj.tryCatch(function(a){var b=hj.hq(a.target),c=b.val();d=d||hj.privacy.isRiskyNotWhitelistedOrSuppressedElement(a.target);f.push({time:hj.time.getNow(),timestamp:Date.now(), selector:hj.selector().get(b),text:c,type:a.target.type,suppression:d?"full":"none"});e=!0},"behavior-data.keyPress.update");b.send=hj.tryCatch(function(){if(a&&e){if(d){var b=f[0],c=f[f.length-1],g=hj.privacy.getSuppressedText(b.type,c.text),h=Math.floor((c.time-b.time)/Math.max(g.length,1));f=[];for(var l=0;ldocument.body.clientWidth||document.body.clientHeight&&c.clientY>document.body.clientHeight)){n++; l&&clearInterval(l);l=setTimeout(e,h.time);var d=c.clientY,f=Math.abs(c.clientX-a),d=Math.abs(d-b);Math.sqrt(Math.pow(f,2)+Math.pow(d,2))>h.distance&&e();a=c.clientX;b=c.clientY;n===h.clicks&&hj.userBehavior.send("rageclick")}}var d={},m={desktop:{time:600,distance:200,clicks:6},mobile:{time:600,distance:200,clicks:6},tablet:{time:600,distance:200,clicks:6}},h,n=0;b=a=null;var l;d.listen=function(){h=m[hj.deviceDetection.getDevice()];hj.hq(document).on("mousedown.user_behavior_rageclick",c)};d.disable= function(){hj.hq(document).on("mousedown.user_behavior_rageclick")};return d}();d=function(){function a(){m=0;h=!1}function b(){n&&clearInterval(n);n=setTimeout(a,d.time);var c=hj.hq(window).scrollTop(),e=0>l-c?"down":"up";h&&e!==h&&(m++,m===d.directionChanges&&hj.userBehavior.send("wildscroll"));h=e;l=c}var e={},c={desktop:{time:1E3,directionChanges:4},mobile:{time:1E3,directionChanges:4},tablet:{time:1E3,directionChanges:4}},d,m=0,h=!1,n,l=0;e.listen=function(){d=c[hj.deviceDetection.getDevice()]; hj.hq(document).on("scroll.user_behavior_wildscroll",b)};e.disable=function(){hj.hq(document).on("scroll.user_behavior_wildscroll")};return e}();b=function(){function a(){m=0;h.x=!1;h.y=!1}function b(c){c={x:c.clientX,y:c.clientY};var e={x:c.xa.length&&(a=a[0]+a[0]+a[1]+a[1]+a[2]+a[2]);b=b||0;var d="#",g,h;for(h=0;3>h;h++)g=parseInt(a.substr(2*h,2),16),g=Math.round(Math.min(Math.max(0,g+255*b),255)).toString(16),d+=("00"+g).substr(g.length);return d},"common");m.changeState=hj.tryCatch(function(b, c){c=c||b.data.state;if("open"===c||"collapsed"===c)a=c;hj.widget.ctrl.removeClass("_hj-f5b2a1eb-9b07_widget_open").removeClass("_hj-f5b2a1eb-9b07_widget_collapsed").removeClass("_hj-f5b2a1eb-9b07_widget_thankyou").removeClass("_hj-f5b2a1eb-9b07_widget_thankyou_consent").removeClass("_hj-f5b2a1eb-9b07_widget_hidden").addClass("_hj-f5b2a1eb-9b07_widget_"+c)},"common");m.collapseWidget=hj.tryCatch(function(){var b=hj.isPreview?0:450;hj.widget.ctrl.removeClass("_hj-f5b2a1eb-9b07_widget_open").addClass("_hj-f5b2a1eb-9b07_widget_collapsed").animate({bottom:"0"}, b);a="collapsed"},"common");m.clearWidget=hj.tryCatch(function(){var a=hj.hq("._hj-f5b2a1eb-9b07_widget");0!==a.length&&(hj.log.debug("Removing previously shown widget from DOM","widgets"),a.parent().remove())},"widgets");m.disableSubmit=hj.tryCatch(function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").addClass("_hj-f5b2a1eb-9b07_btn_disabled")},"common");m.dismissWidget=hj.tryCatch(function(){hj.widget.setDone();hj.widget.ctrl.hide()},"common");m.emptyMatchingWidgets=function(){k=[]; hj.rendering.clearAllAbandonEvents();g=!1};m.enableSubmit=hj.tryCatch(function(){hj.widget.ctrl.find("#_hj-f5b2a1eb-9b07_action_submit").removeClass("_hj-f5b2a1eb-9b07_btn_disabled")},"common");m.renderLegal=hj.tryCatch(function(a){var b=hj.settings.legal_name||"",d=hj.settings.privacy_policy_url||"",g="";a&&(""!==b&&""!==d)&&(g=hj.rendering.renderTemplate('', {p:m.widgetAttributePrefix,legalName:b,privacyPolicyUrl:new hj.rendering.TrustedString(d)}));return g});m.enterFullScreen=hj.tryCatch(function(){var a,b;m.isPhoneOrTablet()&&(a=hj.hq("body"),a.addClass("_hj-f5b2a1eb-9b07_position_fixed"),0===hj.hq("#hotjar-viewport-meta").length&&(b=document.createElement("meta"),b.id="hotjar-viewport-meta",b.name="viewport",b.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",document.getElementsByTagName("head")[0].appendChild(b)), a.addClass("_hj-f5b2a1eb-9b07_fullscreen_page"))},"common");m.exitFullScreen=hj.tryCatch(function(){hj.hq("#hotjar-viewport-meta").remove();hj.hq("body").removeClass("_hj-f5b2a1eb-9b07_fullscreen_page").removeClass("_hj-f5b2a1eb-9b07_position_fixed")},"common");m.init=hj.tryCatch(function(){hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_action_toggle_widget").on("click",hj.widget.toggleWidget);hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_action_open_widget").on("click",{state:"open"},hj.widget.changeState);hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_action_dismiss_widget").on("click", hj.widget.dismissWidget)},"common");m.isNarrowScreen=hj.tryCatch(function(){return 768>hj.hq(window).width()},"common");m.isPhoneOrTablet=hj.tryCatch(function(){return hj.widget.isVeryNarrowScreen()||"phone"===hj.utils.deviceType()||"tablet"===hj.utils.deviceType()},"common");m.isShortScreen=hj.tryCatch(function(){return 400>hj.hq(window).height()},"common");m.isVeryNarrowScreen=hj.tryCatch(function(){return 450>=hj.hq(window).width()},"common");m.openWidget=hj.tryCatch(function(){var b=hj.isPreview? 0:300;hj.widget.ctrl.removeClass("_hj-f5b2a1eb-9b07_widget_collapsed").addClass("_hj-f5b2a1eb-9b07_widget_open").animate({bottom:"0"},b);a="open"},"common");m.removeActiveWidget=function(a){a=a||function(){};m.activeWidget?(m.activeWidget.removeCallback(a),delete m.activeWidget):a()};m.runLatestMatchingWidget=function(){var a;k.forEach(function(b){if(!a||a.created /*reset css*/ .<%=p%>_widget, .<%=p%>_widget * { line-height: normal; font-family: Arial, sans-serif, Tahoma !important; text-transform: initial !important; letter-spacing: normal !important; } .<%=p%>_widget, .<%=p%>_widget div { height: auto; } .<%=p%>_widget div, .<%=p%>_widget span, .<%=p%>_widget p, .<%=p%>_widget a, .<%=p%>_widget img, .<%=p%>_widget strong, .<%=p%>_widget form, .<%=p%>_widget label { border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent; margin: 0; padding: 0; float: none !important; } .<%=p%>_widget span {color:inherit} .<%=p%>_widget ol, .<%=p%>_widget ul, .<%=p%>_widget li { list-style-type:none !important; margin: 0 !important; padding: 0 !important; } .<%=p%>_widget li:before, .<%=p%>_widget li:after { content: none !important; } .<%=p%>_widget hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; } .<%=p%>_widget input[type=submit], .<%=p%>_widget input[type=button], .<%=p%>_widget button { margin: 0; padding:0; float: none !important; } .<%=p%>_widget input, .<%=p%>_widget select, .<%=p%>_widget a img { vertical-align:middle; } .<%=p%>_widget *:after, .<%=p%>_widget *::before { -webkit-box-sizing: initial; -moz-box-sizing: initial; box-sizing: initial; } /******************* * GENERIC ********************/ @font-face { font-family: "hotjar"; src: url("https://<%= hjStaticHost %>/static/client/modules/assets/font-hotjar_5.eot?r9zir0"); src: url("https://<%= hjStaticHost %>/static/client/modules/assets/font-hotjar_5.eot?r9zir0#iefix") format("embedded-opentype"), url("https://<%= hjStaticHost %>/static/client/modules/assets/font-hotjar_5.woff2?r9zir0") format("woff2"), url("https://<%= hjStaticHost %>/static/client/modules/assets/font-hotjar_5.ttf?r9zir0") format("truetype"), url("https://<%= hjStaticHost %>/static/client/modules/assets/font-hotjar_5.woff?r9zir0") format("woff"), url("https://<%= hjStaticHost %>/static/client/modules/assets/font-hotjar_5.svg?r9zir0#hotjar") format("svg"); font-weight: normal; font-style: normal; } .<%=p%>_widget .<%=p%>_icon { speak: none !important; font-style: normal !important; font-weight: normal !important; font-variant: normal !important; text-transform: none !important; overflow-wrap: normal !important; word-break: normal !important; word-wrap: normal !important; white-space: nowrap !important; line-height: normal !important; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; } div.<%=p%>_widget .<%=p%>_icon, div.<%=p%>_widget .<%=p%>_icon:before, div.<%=p%>_widget .<%=p%>_icon:after, div.<%=p%>_widget .<%=p%>_icon *, div.<%=p%>_widget .<%=p%>_icon *:before, div.<%=p%>_widget .<%=p%>_icon *:after { font-family: "hotjar" !important; display: inline-block !important; direction: ltr !important; } .<%=p%>_widget .<%=p%>_icon:before { color: inherit !important; } .<%=p%>_icon-left:before {content: "\\\\e805";} .<%=p%>_icon-down:before {content: "\\\\e800";} .<%=p%>_icon-up:before {content: "\\\\e801";} .<%=p%>_icon-right:before {content: "\\\\e802";} .<%=p%>_icon-x:before {content: "\\\\e803";} .<%=p%>_icon-ok:before {content: "\\\\e804";} .<%=p%>_icon-hotjar:before {content: "\\\\e806";} .<%=p%>_icon-select-element:before {content: "\\\\e91a";} /*generic css*/ body.<%=p%>_fullscreen_page { height: 100% !important; width: 100% !important; } body.<%=p%>_position_fixed { position: fixed; -webkit-overflow-scrolling: touch; } .<%=p%>_lower_zindex:not(.<%=p%>_widget) { z-index: 2147483600 !important; } .<%=p%>_widget { font-size:13px !important; position: fixed; z-index: 2147483640; bottom: -400px; right: 100px; width: 300px; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; -webkit-transform: translateZ(0) !important; } .<%=p%>_widget.<%=p%>_position_left { right: auto; left: 100px; } .<%=p%>_widget .<%=p%>_rounded_corners { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } .<%=p%>_widget .<%=p%>_shadow { -webkit-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15); -moz-box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15); box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.15); } .<%=p%>_widget .<%=p%>_transition { -webkit-transition: all .2s ease-in-out; -moz-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; -ms-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } .<%=p%>_widget .<%=p%>_transition_duration_0 { -webkit-transition-duration: 0s; -moz-transition-duration: 0s; -o-transition-duration: 0s; -ms-transition-duration: 0s; transition-duration: 0s; } .<%=p%>_widget .<%=p%>_pull_left { float: left !important; } .<%=p%>_widget .<%=p%>_pull_right { float: right !important; } .<%=p%>_widget .<%=p%>_clear_both {display: block !important; clear: both !important;} .<%=p%>_widget .<%=p%>_hidden {display: none !important;} .<%=p%>_widget .<%=p%>_link_no_underline, .<%=p%>_widget .<%=p%>_link_no_underline:hover { text-decoration: none !important; } .<%=p%>_widget .<%=p%>_wordwrap { word-break: break-word; word-wrap: break-word; } /*common css*/ .<%=p%>_widget.<%=p%>_widget_centered { right:50%; margin-right: -150px; left: auto; } .<%=p%>_widget .<%=p%>_widget_state {display: none;} .<%=p%>_widget .<%=p%>_widget_icon { background-repeat: no-repeat; width: 16px; height: 16px; display: -moz-inline-stack; display: inline-block !important; zoom: 1; *display: inline !important; vertical-align: top; } .<%=p%>_widget .<%=p%>_widget_open_close { text-align: center; position: absolute; top: -18px; right: 20px; width: 40px; height: 18px; padding-top: 2px; cursor: pointer; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .<%=p%>_widget .<%=p%>_widget_open_close .<%=p%>_widget_icon { background-position: -32px 0; } .<%=p%>_widget .<%=p%>_widget_open_close::before { content: ""; position: absolute; left: -4px; right: -4px; bottom: -8px; height: 8px; } .<%=p%>_widget .<%=p%>_widget_hidden_handle { display:none; height: 4px; cursor:pointer; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0; } .<%=p%>_widget .<%=p%>_widget_title { font-weight: bold; text-align: center; padding: 12px !important; margin: 0; line-height: 17px !important; min-height: 17px; word-break: break-word; word-wrap: break-word; cursor: pointer; } .<%=p%>_widget .<%=p%>_widget_initiator { display: none; padding: 0 12px 12px 12px; text-align: center; } .<%=p%>_widget .<%=p%>_widget_initiator button { padding-left: 20px; padding-right: 20px; } .<%=p%>_widget .<%=p%>_btn, .<%=p%>_widget .<%=p%>_btn_clear, .<%=p%>_widget .<%=p%>_btn_primary { cursor: pointer; text-decoration: none !important; font-size: 13px !important; font-weight: bold !important; padding: 7px 10px !important; border: 0 !important; outline: 0 !important; height: initial !important; min-height: initial !important; display: -moz-inline-stack; display: inline-block; *display: inline; vertical-align: top; width: auto !important; min-width: initial !important; zoom: 1; } .<%=p%>_widget .<%=p%>_btn:after, .<%=p%>_widget .<%=p%>_btn_clear:after, .<%=p%>_widget .<%=p%>_btn_primary:after { content:none !important; } .<%=p%>_widget .<%=p%>_btn_primary { background: #00C764 !important; color: white; } .<%=p%>_widget .<%=p%>_btn_primary:hover, .<%=p%>_widget .<%=p%>_btn_primary:focus, .<%=p%>_widget .<%=p%>_btn_primary:active { background: #00a251 !important; } .<%=p%>_widget .<%=p%>_btn_clear { background: transparent !important; font-weight: normal !important; text-decoration: underline !important; color: <%= widgetStyle.footerTextColor %> !important; } .<%=p%>_widget .<%=p%>_btn_clear:hover, .<%=p%>_widget .<%=p%>_btn_clear:focus, .<%=p%>_widget .<%=p%>_btn_clear:active { background: transparent !important; color: <%= widgetStyle.footerTextColor %> !important; } .<%=p%>_widget .<%=p%>_btn_disabled, .<%=p%>_widget .<%=p%>_btn_disabled:hover, .<%=p%>_widget .<%=p%>_btn_disabled:focus, .<%=p%>_widget .<%=p%>_btn_disabled:active { cursor: default; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } /*content*/ .<%=p%>_widget .<%=p%>_widget_content {padding:0 12px;} .<%=p%>_widget .<%=p%>_widget_content_overflow { max-height: 280px; overflow-y: auto; overflow-x: hidden; } .<%=p%>_widget.<%=p%>_widget_short .<%=p%>_widget_content { padding:0 11px 0 12px; max-height: 120px; overflow-y: auto; overflow-x: hidden; } /*open ended*/ .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_input_field { font-family: Arial, sans-serif, Tahoma; font-size: 14px; color: #333 !important; padding: 6px !important; text-indent: 0 !important; height: 30px; width: 100%; min-width: 100%; margin: 0 0 12px 0; background: white; border: 1px solid <%= widgetStyle.footerBorderColor %> !important; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; outline: none !important; max-width: none !important; float: none; } .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_input_field:focus { border: 1px solid #00a251; } .<%=p%>_widget .<%=p%>_widget_content textarea.<%=p%>_input_field { resize: none; height: 100px; } /*close ended*/ .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_button_radio_checkbox { position: relative; min-height: 45px; text-align:left !important; height:auto !important; height: 45px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_button_radio_checkbox span.<%=p%>_widget_icon { -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; border: 2px solid #AAA; width: 22px; height: 22px; display: block; position: absolute; left: 12px; top: 50%; margin-top: -14px; background-position: -64px -100px; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_button_radio_checkbox span.<%=p%>_radio_checkbox_text { text-align: left !important; padding: 14px 20px 14px 50px; position: relative; display: block; word-break: break-word; word-wrap: break-word; } .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_button_radio_checkbox_full { margin-left:-12px; margin-right: -12px; } .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_button_radio_checkbox.<%=p%>_button_radio_checkbox_active span { border-color: white; background-position: -97px 4px; } .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_button_checkbox span.<%=p%>_widget_icon { -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; } .<%=p%>_widget .<%=p%>_double_control { margin: 0 0 12px 0; width: 100%; } .<%=p%>_widget .<%=p%>_double_control .<%=p%>_double_first { min-width:49% !important; width:49% !important; float:left !important; margin-bottom: 0; } .<%=p%>_widget .<%=p%>_double_control .<%=p%>_double_second { min-width:49% !important; width:49% !important; float:left !important; margin-bottom: 0; margin-left:2%; } /* footer*/ .<%=p%>_widget .<%=p%>_widget_footer {width: 100%;} .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left { padding: 21px 0 0 12px; font-size: 11px; } .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left a, .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left a:hover, .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left a:focus, .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left a:active { text-decoration: underline; } .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left span { background-position: -16px 0; margin-right: 4px; } .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_right {padding: 12px 12px 12px 0;} .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_right button {padding-right: 5px;} .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_right button span { background-position: -64px 0; margin-left: 8px; } .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_right button.<%=p%>_btn_disabled span { background-position: -48px 0; } /*state: hidden*/ .<%=p%>_widget.<%=p%>_widget_hidden .<%=p%>_widget_open_close .<%=p%>_widget_icon {background-position: 0 0;} .<%=p%>_widget.<%=p%>_widget_hidden .<%=p%>_widget_title {display: none;} .<%=p%>_widget.<%=p%>_widget_hidden .<%=p%>_widget_hidden_handle {display: block;} /*state: collapsed */ .<%=p%>_widget.<%=p%>_widget_collapsed .<%=p%>_widget_initiator {display: block;} /*state: open*/ .<%=p%>_widget.<%=p%>_widget_open .<%=p%>_widget_state_open {display: block;} /*state: thankyou*/ .<%=p%>_widget.<%=p%>_widget_thankyou .<%=p%>_widget_state_thankyou, .<%=p%>_widget.<%=p%>_widget_thankyou_consent .<%=p%>_widget_state_thankyou_consent {display: block;} .<%=p%>_widget.<%=p%>_widget_thankyou .<%=p%>_widget_open_close, .<%=p%>_widget.<%=p%>_widget_thankyou_consent .<%=p%>_widget_open_close {display: none;} .<%=p%>_widget.<%=p%>_widget_thankyou .<%=p%>_widget_title, .<%=p%>_widget.<%=p%>_widget_thankyou_consent .<%=p%>_widget_title {display: none;} .<%=p%>_widget.<%=p%>_widget_thankyou .<%=p%>_widget_footer .<%=p%>_pull_right .<%=p%>_btn span, .<%=p%>_widget.<%=p%>_widget_thankyou_consent .<%=p%>_widget_footer .<%=p%>_pull_right .<%=p%>_btn span { background-position: -80px 0; } .<%=p%>_widget .<%=p%>_thankyou_message {text-align: center; padding: 20px; margin: 0;} .<%=p%>_widget .<%=p%>_thankyou_message button {margin-top: 12px; padding: 7px 20px !important;} .<%=p%>_widget .<%=p%>_thankyou_message .<%=p%>_consent_message_title { display: block; font-weight: bold; font-size: 14px; margin-bottom: 16px; } .<%=p%>_widget .<%=p%>_thankyou_message .<%=p%>_consent_message_text, .<%=p%>_widget .<%=p%>_thankyou_message .<%=p%>_consent_message_text a { color: <%= widgetStyle.footerTextColor %> !important; } .<%=p%>_widget .<%=p%>_thankyou_message .<%=p%>_consent_actions button { font-size: 18px !important; margin: 20px 5px 0 5px; padding: 7px 10px !important; width: 50px !important; } /* theme css */ .<%=p%>_widget { background: <%= widgetStyle.primaryColor %> !important; color: <%= widgetStyle.fontColor %> !important; } .<%=p%>_widget a, .<%=p%>_widget a:link, .<%=p%>_widget a:hover, .<%=p%>_widget a:active { color: <%= widgetStyle.fontColor %> !important; } .<%=p%>_widget p {color: <%= widgetStyle.fontColor %> !important;} .<%=p%>_widget .<%=p%>_widget_open_close::before { background: <%= widgetStyle.primaryColor %> !important; } .<%=p%>_widget .<%=p%>_widget_icon { background-image: url(https://<%= hjStaticHost %>/static/client/modules/assets/widget_icons_light.png) !important; } .<%=p%>_widget .<%=p%>_widget_open_close {background: <%= widgetStyle.primaryColor %> !important;} .<%=p%>_widget .<%=p%>_widget_hidden_handle { background: <%= widgetStyle.primaryColor %> !important; } .<%=p%>_widget .<%=p%>_btn { background: <%= widgetStyle.secondaryColor %> !important; color: <%= widgetStyle.fontColor %> !important; } .<%=p%>_widget .<%=p%>_btn:hover, .<%=p%>_widget .<%=p%>_btn:focus, .<%=p%>_btn:active { background: #666 !important; } .<%=p%>_widget .<%=p%>_widget_content .<%=p%>_input_field { border: 1px solid <%= widgetStyle.footerBorderColor %> !important; } .<%=p%>_widget .<%=p%>_button_radio_checkbox { border-bottom: 1px solid <%= widgetStyle.primaryColor %> !important; border-top: 1px solid <%= widgetStyle.alternateColor %> !important; background: <%= widgetStyle.secondaryColor %> !important; cursor: pointer !important; } .<%=p%>_widget .<%=p%>_button_radio_checkbox_last {border-bottom:0 !important;} .<%=p%>_widget .<%=p%>_button_radio_checkbox:hover { background: <%= widgetStyle.alternateColor %> !important; color: <%= widgetStyle.fontColorNegative %>; } .<%=p%>_widget .<%=p%>_button_radio_checkbox.<%=p%>_button_radio_checkbox_active, .<%=p%>_widget .<%=p%>_button_radio_checkbox.<%=p%>_button_radio_checkbox_active:hover { background: <%= widgetStyle.alternateColor %> !important; color: white !important; cursor: default; } .<%=p%>_widget .<%=p%>_switch { position: relative; display: inline-block; width: 46px; height: 28px; vertical-align: middle; margin: -3px 8px 0 0; } .<%=p%>_widget.<%=p%>_rtl .<%=p%>_switch { margin: -3px 0 0 8px; } .<%=p%>_widget .<%=p%>_switch > input { cursor: pointer; display: block !important; width: 46px; height: 28px; position: absolute; left: 0; right: 0; z-index: 2; opacity: 0; margin: 0; } .<%=p%>_widget .<%=p%>_switch > input + label { cursor: pointer; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,1); border: 2px solid rgba(255,255,255,.3); border-radius: 100px; -webkit-transition: 400ms all; -moz-transition: 400ms all; transition: 400ms all; } .<%=p%>_widget .<%=p%>_switch > input:checked + label { background: rgba(0,0,0,.3); border-color: transparent; -webkit-transition: 250ms all; -moz-transition: 250ms all; transition: 250ms all; } .<%=p%>_widget .<%=p%>_switch > input + label:before { content: ""; transition: 300ms all; position: absolute; left: 0; top: 0; display: block; width: 24px; height: 24px; border-radius: 40px; background-color: #ffffff; background-position: center center; background-repeat: no-repeat; background-size: 5px; -webkit-box-shadow: 0 0 12px 0 rgba(0,0,0,.06), 0 0 0 0 rgba(0,0,0,.06), 0 6px 10px 0 rgba(0,0,0,.15), 0 0 2px 0 rgba(0,0,0,.07), 0 4px 6px 0 rgba(0,0,0,.06), 0 1px 1px 0 rgba(0,0,0,.11); -moz-box-shadow: 0 0 12px 0 rgba(0,0,0,.06), 0 0 0 0 rgba(0,0,0,.06), 0 6px 10px 0 rgba(0,0,0,.15), 0 0 2px 0 rgba(0,0,0,.07), 0 4px 6px 0 rgba(0,0,0,.06), 0 1px 1px 0 rgba(0,0,0,.11); box-shadow: 0 0 12px 0 rgba(0,0,0,.06), 0 0 0 0 rgba(0,0,0,.06), 0 6px 10px 0 rgba(0,0,0,.15), 0 0 2px 0 rgba(0,0,0,.07), 0 4px 6px 0 rgba(0,0,0,.06), 0 1px 1px 0 rgba(0,0,0,.11); } .<%=p%>_widget .<%=p%>_switch > input + label > span { position: absolute; z-index: 3; color: <%= widgetStyle.accentColor %>; background-color: transparent !important; border: 0 !important; width: 13px !important; height: 14px !important; left: 6px; top: 5px; margin: 0 !important; opacity: 0; font-size: 14px; pointer-events: none !important; -webkit-transition: 250ms all; -moz-transition: 250ms all; transition: 250ms all; } .<%=p%>_widget .<%=p%>_switch > input:checked + label:before { left: 18px; } .<%=p%>_widget .<%=p%>_switch > input:checked + label > span { left: 24px; opacity: 1; } .<%=p%>_widget .<%=p%>_switch > input:checked + label > span:after { content: initial !important; } .<%=p%>_widget .<%=p%>_widget_footer { border-top: 1px solid <%= widgetStyle.footerBorderColor %> !important; } .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left, .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left a, .<%=p%>_widget .<%=p%>_widget_footer .<%=p%>_pull_left a:hover { color: <%= widgetStyle.footerTextColor %> !important; } .<%=p%>_widget .<%=p%>_btn_disabled, .<%=p%>_widget .<%=p%>_btn_disabled:hover, .<%=p%>_widget .<%=p%>_btn_disabled:focus, .<%=p%>_widget .<%=p%>_btn_disabled:active { color: <%= widgetStyle.primaryColor %> !important; background: <%= widgetStyle.secondaryColor %> !important; } /*light theme css*/ .<%=p%>_widget.<%=p%>_skin_light, .<%=p%>_widget.<%=p%>_skin_light .<%=p%>_widget_open_close { -webkit-box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3) !important; -moz-box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3) !important; box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.3) !important; } .<%=p%>_widget.<%=p%>_skin_light .<%=p%>_widget_icon { background-image: url(https://<%= hjStaticHost %>/static/client/modules/assets/widget_icons_light.png) !important; } /*dark theme css*/ .<%=p%>_widget.<%=p%>_skin_dark, .<%=p%>_widget.<%=p%>_skin_dark .<%=p%>_widget_open_close { -webkit-box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.6) !important; -moz-box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.6) !important; box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.6) !important; } .<%=p%>_widget.<%=p%>_skin_dark .<%=p%>_widget_icon { background-image: url(https://<%= hjStaticHost %>/static/client/modules/assets/widget_icons_dark.png) !important; } /*right-to-left css*/ .<%=p%>_widget.<%=p%>_rtl, .<%=p%>_widget.<%=p%>_rtl * {direction: rtl !important;} .<%=p%>_widget.<%=p%>_rtl .<%=p%>_widget_footer .<%=p%>_pull_left {direction: ltr !important;} .<%=p%>_widget.<%=p%>_rtl .<%=p%>_widget_footer .<%=p%>_pull_right button {padding-right: 10px;} .<%=p%>_widget.<%=p%>_rtl .<%=p%>_widget_footer .<%=p%>_pull_right button span {margin-left: 0;} .<%=p%>_widget.<%=p%>_rtl.<%=p%>_widget_open .<%=p%>_widget_footer .<%=p%>_pull_right button span { display: none; } .<%=p%>_widget.<%=p%>_rtl .<%=p%>_widget_content .<%=p%>_button_radio_checkbox { text-align:right !important; } .<%=p%>_widget.<%=p%>_rtl .<%=p%>_widget_content .<%=p%>_button_radio_checkbox span.<%=p%>_widget_icon { left: auto; right: 12px; } .<%=p%>_widget.<%=p%>_rtl .<%=p%>_widget_content .<%=p%>_button_radio_checkbox span.<%=p%>_radio_checkbox_text { text-align:right !important; padding: 14px 50px 14px 20px; } .<%=p%>_widget.<%=p%>_rtl .<%=p%>_double_control .<%=p%>_double_first { float:right; margin-left:2%;} .<%=p%>_widget.<%=p%>_rtl .<%=p%>_double_control .<%=p%>_double_second { float:left; margin-left:0;} .<%=p%>_widget .<%=p%>_thankyou_message .<%=p%>_more_info_link { text-decoration: underline !important; } /* legal footer */ .<%=p%>_widget .<%=p%>_widget_legal { border-top: 0 !important; } .<%=p%>_widget .<%=p%>_widget_legal .<%=p%>_pull_left { padding: 0px 0px 12px 12px; font-size: 11px; } .<%=p%>_widget .<%=p%>_widget_legal .<%=p%>_pull_right { padding: 0px 12px 12px 0px; font-size: 11px; } .<%=p%>_widget .<%=p%>_widget_legal .<%=p%>_pull_right a { color: <%= widgetStyle.footerTextColor %> !important; } #<%=p%>_feedback[data-state="consent"] #<%=p%>_feedback_open .<%=p%>_widget_legal .<%=p%>_pull_left, #<%=p%>_feedback[data-state="consent"] #<%=p%>_feedback_open .<%=p%>_widget_legal .<%=p%>_pull_right a { color: #333 !important; } .<%=p%>_widget .<%=p%>_widget_legal .<%=p%>_pull_left a, .<%=p%>_widget .<%=p%>_widget_legal .<%=p%>_pull_left a:hover, .<%=p%>_widget .<%=p%>_widget_legal .<%=p%>_pull_left a:focus, .<%=p%>_widget .<%=p%>_widget_legal .<%=p%>_pull_left a:active { text-decoration: underline !important; } '; return m}();hj.widgetDelay=function(){var m={},a=null;m.clear=hj.tryCatch(function(){clearTimeout(a);a=null},"hj.widgetDelay.clear");m.set=hj.tryCatch(function(d,b){m.clear();a=setTimeout(d,b)},"hj.widgetDelay.set");return m}()},"widgets")(); hj.tryCatch(function(){hj.loader.registerModule("Feedback",function(){function m(){var a,b={showMinimizedMessageTimer:function(){}},f=hj.isPreview?0:200,g=hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_minimized_message"),h=hj.hq("#"+hj.widget.widgetAttributePrefix+"_action_submit");a=hj.hq("#"+hj.widget.widgetAttributePrefix+"_action_skip");var m=hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback");b.resetDataValues=hj.tryCatch(function(){return{comment:null,email:null,emotion:null,page_content:null, selectors:hj.widget.feedbackData.auto_screenshot?["html"]:null,viewport:[]}},"feedback");b.goToFinalState=hj.tryCatch(function(){k.granted?b.endIncomingFeedback(!0):b.goToState("consent")},"feedback");b.goToState=hj.tryCatch(function(a,d){d=d||0;var e=f;"initialized"===a&&(e=0,a="minimized");b.currentState=a;0===d?m.attr("data-state",a):setTimeout(function(){m.attr("data-state",a)},d);switch(a){case "minimized":hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").removeClass("fade");hj.widget.zIndexPositionReset(); hj.widget.exitFullScreen();b.resetScreenshotState(e);setTimeout(function(){b.resetWidget()},d);break;case "emotion":hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").addClass("fade");hj.widget.zIndexPositionTop();b.animateFaces();k.request=hj.widget.feedbackData.ask_for_consent;hj.isPreview?k.granted=!1:hj.request.getConsentGranted(function(a){k.granted=a});b.setViewportContent();break;case "comment":(hj.widget.isPhoneOrTablet()||"phone"===hj.widget.feedbackData.previewDevice)&&hj.widget.enterFullScreen(); hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").addClass("fade");!hj.isPreview&&"desktop"===hj.utils.deviceType()&&hj.hq("#"+hj.widget.widgetAttributePrefix+"_emotion_comment").focus();break;case "email":hj.hq("#"+hj.widget.widgetAttributePrefix+"_feedback_open").addClass("fade");b.resetScreenshotState(e);h.addClass(""+hj.widget.widgetAttributePrefix+"_btn_disabled");hj.isPreview||hj.hq("#"+hj.widget.widgetAttributePrefix+"_email").focus();break;case "consent":hj.hq("#"+hj.widget.widgetAttributePrefix+ "_feedback_open").addClass("fade")}},"feedback");b.submitState=hj.tryCatch(function(a,d){a=a||b.currentState;switch(a){case "emotion":b.data.emotion=d;b.canSendResponse=!0;b.setViewportContent(function(){b.goToState("comment")});break;case "comment":b.data.comment=hj.hq("#"+hj.widget.widgetAttributePrefix+"_emotion_comment").val();""===b.data.comment&&(b.data.comment=null);b.setViewportContent(function(){!1===hj.widget.feedbackData.content.email?k.request?(b.canSendResponse&&(b.sendFeedbackResponse(), b.canSendResponse=!1),b.goToFinalState()):b.endIncomingFeedback(!0):b.goToState("email")});break;case "email":b.validateCurrentState()&&(b.data.email=hj.hq('[data-bind="email"]').val(),k.request?(b.canSendResponse&&(b.sendFeedbackResponse(),b.canSendResponse=!1),b.goToFinalState()):b.endIncomingFeedback(!0));break;case "consent":b.goToState("minimized",f)}},"feedback");b.skipCurrentState=hj.tryCatch(function(){"email"===b.currentState&&(k.request?(b.canSendResponse&&(b.sendFeedbackResponse(),b.canSendResponse= !1),b.goToFinalState()):(b.data.email=null,b.endIncomingFeedback(!0)))},"feedback");b.validateCurrentState=hj.tryCatch(function(){var a=!1,d=hj.hq('[data-bind="comment"]').val(),e=hj.hq('[data-bind="email"]').val();switch(b.currentState){case "comment":d&&(a=!0);break;case "email":e&&hj.utils.validateEmail(e)&&(a=!0)}return a},"feedback");b.startIncomingFeedback=hj.tryCatch(function(){var a=hj.widget.feedbackData.position,d=hj.cookie.get("_hjShownFeedbackMessage"),e=hj.isPreview?0:2E3;b.goToState("initialized"); if(("bottom_left"===a||"bottom_right"===a)&&(!d||hj.isPreview))g.attr("data-message","initial"),b.showMinimizedMessageTimer=setTimeout(function(){b.setMinimizedMessageVisibility(!0);hj.isPreview||hj.cookie.set("_hjShownFeedbackMessage",!0,1)},e)},"feedback");b.endIncomingFeedback=hj.tryCatch(function(a){b.canSendResponse&&b.sendFeedbackResponse();b.goToState("minimized",f);a&&b.showThankYouMessage()},"feedback");b.sendFeedbackResponse=hj.tryCatch(function(){var a;a={response:{emotion:parseInt(b.data.emotion, 10),message:b.data.comment,email:b.data.email},window_width:b.data.window_width,window_height:b.data.window_height};null!==b.data.selectors&&(a.page_content=b.data.page_content,a.viewport=b.data.viewport,a.selectors=b.data.selectors);hj.isPreview||hj.request.saveFeedbackResponse(a,function(a){b.feedbackResponseId=a.feedback_response_id;b.awaitResponseId&&b.awaitResponseId()})},"feedback");b.setViewportContent=hj.tryCatch(function(a){var d=hj.hq("body").hasClass(hj.widget.widgetAttributePrefix+"_position_fixed"), e=hj.ui.getScrollPosition(),f=hj.ui.getDocumentSize(),g=e.top,h=e.left,k=g+f.height,m=h+f.width;if(!b.data.window_width||!b.data.window_height)b.data.window_width=f.width,b.data.window_height=f.height;!d&&(b.data.viewport[0]!==g||b.data.viewport[1]!==h||b.data.viewport[2]!==k||b.data.viewport[3]!==m)?hj.html.getPageContent(function(d){b.data.viewport=[g,h,k,m];b.data.window_width=f.width;b.data.window_height=f.height;b.data.page_content=d;a&&a(d)},"#_hj_feedback_container"):a&&a()},"feedback");b.setScreenshotState= hj.tryCatch(function(a){var d=hj.hq("body"),e=hj.hq("#"+hj.widget.widgetAttributePrefix+"_toolset_action_select");if(!hj.isPreview)switch(m.attr("data-screenshot",a),a){case "default":b.data.selectors=b.resetDataValues().selectors;m.removeAttr("data-screenshot");e.removeClass(hj.widget.widgetAttributePrefix+"_toolset_action_active");hj.widget.isPhoneOrTablet()&&d.addClass(hj.widget.widgetAttributePrefix+"_position_fixed");b.cancelElementHighlighting();hj.ui.enableScrolling();break;case "element":b.resetHighlight(); b.enableElementHighlighting();hj.ui.enableScrolling();d.removeClass(hj.widget.widgetAttributePrefix+"_position_fixed");break;case "elementSelected":hj.widget.isPhoneOrTablet()&&b.setViewportContent(function(){d.addClass(hj.widget.widgetAttributePrefix+"_position_fixed")}),!hj.isPreview&&"desktop"===hj.utils.deviceType()&&hj.hq("#"+hj.widget.widgetAttributePrefix+"_emotion_comment").focus(),b.cancelElementHighlighting(),e.addClass(hj.widget.widgetAttributePrefix+"_toolset_action_active")}},"feedback"); b.enableElementHighlighting=hj.tryCatch(function(){function a(d){var f=hj.hq(d)[0];e(d)&&b.highlightElement(f)}function d(a){var e=hj.hq(a);b.data.selectors=[hj.selector().get(e)];b.setScreenshotState("elementSelected");hj.ui.disableScrolling(function(){b.highlightElement(e[0])})}function e(a){return!hj.hq(a).hasClass(hj.widget.widgetAttributePrefix+"_feedback_selection_ignore")}var f=0,g=0;hj.hq("html").attr("data-hotjar-cursor-pointer","true");hj.hq("body").on("mouseover.feedback",hj.tryCatch(function(b){b.stopPropagation(); a(b.target);"desktop"===hj.utils.deviceType()&&(f=b.clientX,g=b.clientY)},"feedback"));hj.hq(document).on("scroll.feedback resize.feedback",hj.tryCatch(function(){a(document.elementFromPoint(f,g))},"feedback"));hj.hq("body").on("mousedown.feedback",hj.tryCatch(function(b){b.stopPropagation();b.preventDefault();e(b.target)&&(a(b.target),d(b.target))},"feedback"),void 0,!0)},"feedback");b.cancelElementHighlighting=hj.tryCatch(function(){hj.hq("body").off("mouseover.feedback");hj.hq("body").off("mousedown.feedback", void 0,void 0,!0);hj.hq(document).off("scroll.feedback resize.feedback");hj.hq("html").removeAttr("data-hotjar-cursor-pointer")},"feedback");b.resetHighlight=hj.tryCatch(function(){var a=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_top"),b=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_right"),c=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_bottom"),d=document.getElementById(hj.widget.widgetAttributePrefix+ "_feedback_content_dimmer_left"),e=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_highlighter");hj.hq(a).removeAttr("style");hj.hq(b).removeAttr("style");hj.hq(c).removeAttr("style");hj.hq(d).removeAttr("style");hj.hq(e).removeAttr("style")});b.highlightElement=hj.tryCatch(function(a){var b=a.getBoundingClientRect();a=b.top;var c=b.left,d=b.width,b=b.height,e=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_top"),f=document.getElementById(hj.widget.widgetAttributePrefix+ "_feedback_content_dimmer_right"),g=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_bottom"),h=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_dimmer_left"),k=document.getElementById(hj.widget.widgetAttributePrefix+"_feedback_content_highlighter"),m=8,n=a-m,p=c-8,A=b+2*m,C=d+16;0>a&&(A=b+a+m,m=0,b+=a,n=a=1);e.style.top="0";e.style.right="0";e.style.left="0";e.style.height=Math.max(0,n)+"px";f.style.top=n+"px";f.style.right="0";f.style.left= p+C+"px";f.style.bottom="0";g.style.top=n+A+"px";g.style.width=Math.max(0,C)+"px";g.style.left=p+"px";g.style.bottom="0";h.style.top=n+"px";h.style.width=Math.max(0,p)+"px";h.style.left="0";h.style.bottom="0";0>b?k.style.top="-400px":(k.style.top=a-2-m+"px",k.style.left=c-2-m+"px",k.style.width=d-4+16+"px",k.style.height=b-4+2*m+"px")},"feedback");b.showThankYouMessage=hj.tryCatch(function(){var a=hj.isPreview?0:500;hj.widget.feedbackData.content.thankyou&&(g.attr("data-message","thankyou"),b.setMinimizedMessageVisibility(!0), setTimeout(function(){b.wink()},a),hj.isPreview||setTimeout(function(){b.setMinimizedMessageVisibility(!1)},5E3))},"feedback");b.setMinimizedMessageVisibility=hj.tryCatch(function(a){a?m.attr("data-show-message","true"):(clearTimeout(b.showMinimizedMessageTimer),m.removeAttr("data-show-message"))},"feedback");b.resetWidget=hj.tryCatch(function(){b.canSendResponse=!1;b.currentState=null;b.data=b.resetDataValues();hj.widget.enableSubmit();hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_state-1").removeAttr("data-emotion-chosen"); hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_toolset_action_select").removeClass(hj.widget.widgetAttributePrefix+"_toolset_action_active");hj.widget.ctrl.find("[data-emotion-option]").removeClass("fade").removeClass("fadeTransition").removeAttr("data-emotion-active");hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_icon_emotion_star").attr("data-score-state","off");h.addClass(hj.widget.widgetAttributePrefix+"_btn_disabled");hj.widget.ctrl.find('[data-bind="comment"]').val(""); hj.widget.ctrl.find('[data-bind="email"]').val("");hj.hq("body *").off("mouseover.feedback mousedown.feedback");hj.hq(document).off("scroll.feedback resize.feedback")},"feedback");b.resetScreenshotState=hj.tryCatch(function(a){m.attr("data-screenshot","");a?setTimeout(function(){m.removeAttr("data-screenshot")},a):m.removeAttr("data-screenshot");hj.hq("html").removeAttr("data-hotjar-cursor-pointer");hj.ui.enableScrolling()},"feedback");b.selectStarRating=hj.tryCatch(function(a){var b;if(!isNaN(a))for(var c= -1;4>c;c++)b=c+1<=parseInt(a)?"on":"off",hj.hq("."+hj.widget.widgetAttributePrefix+'_icon_emotion_star[data-emotion-score="'+(c+1)+'"]').attr("data-score-state",b)},"feedback");b.animateFaces=hj.tryCatch(function(){var a=hj.hq("[data-emotion-option]");a.addClass("fadeTransition");setTimeout(function(){a.addClass("fade")},f);setTimeout(function(){a.removeClass("fadeTransition")},4*f)},"feedback");b.wink=hj.tryCatch(function(){var a=hj.hq("."+hj.widget.widgetAttributePrefix+"_hotjar_buddy");a.attr("data-emotion-score", "wink");setTimeout(function(){a.attr("data-emotion-score","3")},800)},"feedback");hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_feedback_minimized_message_close").on("click",hj.tryCatch(function(a){a.stopPropagation();b.setMinimizedMessageVisibility(!1)},"feedback"));hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_hotjar_buddy, ."+hj.widget.widgetAttributePrefix+"_feedback_minimized_message, ."+hj.widget.widgetAttributePrefix+"_feedback_minimized_label").on("click",hj.tryCatch(function(){b.goToState("emotion"); b.setMinimizedMessageVisibility(!1)},"feedback"));hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_feedback_open_close, #"+hj.widget.widgetAttributePrefix+"_feedback_open_close_phone").on("click",hj.tryCatch(function(){b.endIncomingFeedback()},"feedback"));hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_emotion_type_star ."+hj.widget.widgetAttributePrefix+"_emotion_option").on("mouseover",hj.tryCatch(function(a){a=hj.hq(a.target).find("[data-emotion-score]").attr("data-emotion-score"); b.selectStarRating(a)},"feedback"));hj.widget.ctrl.find("._hj-f5b2a1eb-9b07_emotion_content._hj-f5b2a1eb-9b07_emotion_type_star").on("mouseleave",hj.tryCatch(function(){var a=hj.hq("#"+hj.widget.widgetAttributePrefix+"_state-1").attr("data-emotion-chosen");b.selectStarRating(a)},"feedback"));hj.widget.ctrl.find('[data-bind="emotion"]').on("click",hj.tryCatch(function(){var a=hj.hq(this).attr("data-emotion-option");hj.hq("#"+hj.widget.widgetAttributePrefix+"_state-1").attr("data-emotion-chosen",a); hj.hq("[data-emotion-active]").removeAttr("data-emotion-active");hj.hq("#"+hj.widget.widgetAttributePrefix+'_state-1 [data-emotion-option="'+a+'"]').attr("data-emotion-active","true");b.selectStarRating(a);b.submitState("emotion",a)},"feedback"));hj.widget.ctrl.find("[data-consent]").on("click",hj.tryCatch(function(){var a="true"===hj.hq(this).attr("data-consent")?!0:!1;!hj.isPreview&&a&&(b.feedbackResponseId?hj.request.grantConsent({response_type:"feedback_response",response_id:b.feedbackResponseId, message:hj.widget._("consent")}):b.awaitResponseId=function(){hj.request.grantConsent({response_type:"feedback_response",response_id:b.feedbackResponseId,message:hj.widget._("consent")})});b.submitState("consent",a)},"feedback"));h.on("click",hj.tryCatch(function(){hj.hq(this).hasClass(hj.widget.widgetAttributePrefix+"_btn_disabled")||b.submitState()},"feedback"));a.on("click",hj.tryCatch(function(){b.skipCurrentState()},"feedback"));hj.widget.ctrl.find('[data-bind="email"]').on("keyup change",hj.tryCatch(function(a){b.validateCurrentState()? hj.widget.enableSubmit():hj.widget.disableSubmit();13===a.keyCode&&b.submitState()},"feedback"));hj.widget.ctrl.find('[data-bind="comment"]').on("keyup change",hj.tryCatch(function(){b.validateCurrentState()?hj.widget.enableSubmit():hj.widget.disableSubmit()},"feedback"));hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_feedback_content_highlighter, #"+hj.widget.widgetAttributePrefix+"_toolset_action_select").on("click",hj.tryCatch(function(){b.setScreenshotState("element")},"feedback")); hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_feedback_top_message_select_close span, #"+hj.widget.widgetAttributePrefix+"_feedback_content_highlighter_close").on("click",hj.tryCatch(function(a){b.setScreenshotState("default");a.stopPropagation()},"feedback"));a=hj.widget.feedbackData.activeStepInPreview;hj.isPreview&&(b.resetWidget(),hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_transition").addClass(hj.widget.widgetAttributePrefix+"_transition_duration_0"),"initial"===a|| !a?b.startIncomingFeedback():"thankYou"===a?b.endIncomingFeedback(!0):"email"===a&&!1===hj.widget.feedbackData.content.email?b.goToState("emotion"):"consent"===a?b.goToState("consent"):b.goToState(a));hj.hq(window).on("resize",hj.tryCatch(function(){d()},"feedback"));hj.tryCatch(d,"feedback")();hj.isPreview||b.startIncomingFeedback()}function a(){var a=100',hj.widget.commonCSS,'
\x3c!-- Minimized State --\x3e
<%=hj.widget._("feedback")%>
<% if (widgetStyle.emotion === "default") { %>
<% } %>
<%= feedback.content.initial %> <%= feedback.content.thankyou %>
\x3c!-- Opened State --\x3e
\x3c!-- STEP 1: EMOTION --\x3e

<%= feedback.content.emotion %>

<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("hate")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("dislike")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("neutral")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("like")%>
<% if (widgetStyle.emotion === "default" || widgetStyle.emotion === "smiley" || widgetStyle.emotion === "emoji") { %> <% if (widgetStyle.emotion === "default") { %> <% } %> <% } %> <% if (widgetStyle.emotion === "star") { %> <% } %> <%=hj.widget._("love")%>
<% if (features.selectElement) { %>
<%=hj.widget._("select_the_area")%>
<% } %>
\x3c!-- STEP 2: EMAIL --\x3e

<%= feedback.content.email %>

\x3c!-- STEP 3: THANK YOU AND CONSENT --\x3e

<%= feedback.content.thankyou %>

<%=hj.widget.renderLegal(feedback.showLegal)%>
\x3c!-- FOOTER --\x3e
\x3c!-- PAGE HIGHLIGHTER --\x3e
<%=hj.widget._("select_the_area")%>
\x3c!-- DIMMERS (OVERLAY) + ELEMENT HIGHLIGHTER --\x3e
'].join(""); b.run=hj.tryCatch(function(d){hj.hq.each(hj.settings.feedback_widgets||[],function(c,f){hj.targeting.matchRules(f.targeting,d,hj.tryCatch(function(){hj.log.debug("Feedback widget #"+f.id+" has matched.","feedback");hj.widget.data&&!(hj.widget.data.id===f.id&&"incoming"===hj.widget.data.type)?hj.log.debug("Another feedback widget is already present.","feedback"):(f.created_epoch_time-=31536E4,hj.widget.addMatchingWidget("incoming",f.id,f.created_epoch_time,function(){hj.widget.feedbackData=f;hj.rendering.callAccordingToCondition(hj.widget.feedbackData, "feedback",hj.tryCatch(a,"feedback"))},b.remove))},"feedback.run.matchRules-callback"))})},"feedback");b.remove=hj.tryCatch(function(a){hj.widget.feedbackData?(0div").off("click.consent")}));hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_radio_checkbox textarea").on("click",hj.tryCatch(function(a){a.stopPropagation()}, "polls"));hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_radio").on("click",hj.tryCatch(function(){var b=hj.hq(this),c=b.find("."+hj.widget.widgetAttributePrefix+"_input_field");hj.hq(hj.hq("#"+hj.widget.widgetAttributePrefix+"_question_content_"+hj.widget.currentQuestionIndex)[0]).find("."+hj.widget.widgetAttributePrefix+"_button_radio_checkbox").removeClass(hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active");b.addClass(hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active"); c.focus();a()?hj.widget.enableSubmit():hj.widget.disableSubmit()},"polls"));hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_checkbox").on("click",hj.tryCatch(function(){var b=hj.hq(this),c=b.find("."+hj.widget.widgetAttributePrefix+"_input_field");b.toggleClass(hj.widget.widgetAttributePrefix+"_button_radio_checkbox_active");c.focus();a()?hj.widget.enableSubmit():hj.widget.disableSubmit()},"polls"));hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_score").on("click", hj.tryCatch(function(){var a=hj.hq(this);hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_button_score").removeClass(hj.widget.widgetAttributePrefix+"_button_score_active");a.addClass(hj.widget.widgetAttributePrefix+"_button_score_active");hj.widget.enableSubmit()},"polls"));hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_input_field").on("keyup",hj.tryCatch(function(){var b=hj.widget.ctrl.find("#"+hj.widget.widgetAttributePrefix+"_question_content_"+hj.widget.currentQuestionIndex); ("email"===b.attr("_hj_question_type")?hj.utils.validateEmail(hj.hq(this).val()):"single-open-ended-multiple-line"===b.attr("_hj_question_type")||"single-open-ended-single-line"===b.attr("_hj_question_type")?0"+a+"").text()}function b(a){hj.hq.each(a.content.questions,function(a,b){b.answers&&hj.hq.each(b.answers,function(a,b){b.index=a})})}function k(a){hj.hq.each(a.content.questions,function(a,b){b.randomize_answer_order&&hj.utils.shuffle(b.answers)})}var g={},e=[],c=[],f=0,p={granted:null,request:!1},h=['
', hj.widget.commonCSS,'

<% for (var q = 0; q < poll.questions.length; q++) { %> <%= poll.questions[q].text %> <% } %>

<% for (var q = 0; q < poll.questions.length; q++) { %>
<% if (poll.questions[q].type === "single-close-ended") { %>
<% for (var i = 0; i < poll.questions[q].answers.length; i++) { %>
<% if (poll.questions[q].answers.length > 1) { %> <%= poll.questions[q].answers[i].text %>
<% } %>
<% } %>
<% } else if (poll.questions[q].type === "multiple-close-ended") { %>
<% for (var i = 0; i < poll.questions[q].answers.length; i++) { %>
<% if (poll.questions[q].answers.length > 1) { %> <%= poll.questions[q].answers[i].text %>
<% } %>
<% } %>
<% } else if (poll.questions[q].type === "single-open-ended-single-line" || poll.questions[q].type === "email") { %>
" />
<% } else if (poll.questions[q].type === "single-open-ended-multiple-line") { %>
<% } else if (poll.questions[q].type === "net-promoter-score") { %>
    <% for (var i = 0; i < 11; i++) { %>
  • <%=i%>
  • <% } %>
<%= poll.questions[q].labels[0].text %>
<%= poll.questions[q].labels[1].text %>
<% } else if (poll.questions[q].type === "rating-scale-5" || poll.questions[q].type === "rating-scale-7") { %>
    <% for (var i = 1; i < (poll.questions[q].scaleCount +1); i++) { %>
  • <%=i%>
  • <% } %>
<%= poll.questions[q].labels[0].text %>
<%= poll.questions[q].labels[1].text %>
<% } %>
<% } %>

<%= poll.thankyou %>

<%=hj.widget.renderLegal(poll.showLegal)%>
'].join(""); g.run=hj.tryCatch(function(c){hj.hq.each(hj.settings.polls||[],function(d,e){hj.targeting.matchRules(e.targeting,c,hj.tryCatch(function(){hj.log.debug("Poll #"+e.id+" has matched.","poll");hj.cookie.find("_hjDonePolls",e.id)?hj.log.debug("Poll was already submitted.","poll"):hj.widget.addMatchingWidget("poll",e.id,e.created_epoch_time,function(){hj.tryCatch(b,"polls")(e);hj.tryCatch(k,"polls")(e);hj.widget.pollData=e;hj.tryCatch(hj.rendering.callAccordingToCondition,"polls")(hj.widget.pollData,"poll", a)},g.remove)},"polls.run.matchRules-callback"))})},"polls");g.remove=hj.tryCatch(function(a){hj.widget.pollData?(0hj.hq(window).width()?hj.survey.ctrl.addClass("_hj-f5b2a1eb-9b07_survey_full"):hj.survey.ctrl.removeClass("_hj-f5b2a1eb-9b07_survey_full")}var b={},k='
<%= survey.title %>
<%= survey.description %>
<%= survey.button %>
<% if (survey.effectiveShowBranding) { %>
Not using Hotjar yet?
<% } %>
'; b.run=hj.tryCatch(function(a){hj.hq.each(hj.settings.surveys||[],function(d,c){hj.targeting.matchRules(c.targeting,a,hj.tryCatch(function(){hj.log.debug("Survey #"+c.id+" has matched.","survey");hj.cookie.find("_hjClosedSurveyInvites",c.id)?hj.log.debug("Survey was already viewed.","survey"):hj.widget.addMatchingWidget("survey",c.id,c.created_epoch_time,function(){hj.survey.data=c;hj.rendering.callAccordingToCondition(hj.survey.data,"survey",m)},b.remove)},"surveys.run.matchRules-callback"))})},"surveys"); b.remove=hj.tryCatch(function(a){hj.survey.data?(0', hj.widget.commonCSS,'

<%= testersWidget.invitation %>

<%= testersWidget.description %>

<% if (testersWidget.fields.name) { %> " data-bind /> <% } %>
class="<%=p%>_double_control" <% } %>> <% if (testersWidget.fields.age) { %> " data-bind /> <% } %> <% if (testersWidget.fields.city) { %> " data-bind /> <% } %>
<% if (testersWidget.fields.email) { %> " data-bind /> <% } %> <% if (testersWidget.fields.phone) { %> " data-bind /> <% } %> <% if (testersWidget.fields.sex) { %>
<%= hj.widget._("male")%>
<%= hj.widget._("female")%>
<% } %>

<%= testersWidget.thankyou %>

<%=hj.widget.renderLegal(testersWidget.showLegal)%>\n
'].join(""); d.run=hj.tryCatch(function(b){hj.hq.each(hj.settings.testers_widgets||[],function(e,c){hj.targeting.matchRules(c.targeting,b,hj.tryCatch(function(){hj.log.debug("Tester #"+c.id+" has matched.","tester");hj.cookie.find("_hjDoneTestersWidgets",c.id)?hj.log.debug("Tester was already submitted.","tester"):hj.widget.addMatchingWidget("tester",c.id,c.created_epoch_time,function(){hj.widget.testersData=c;hj.tryCatch(hj.rendering.callAccordingToCondition,"testers")(hj.widget.testersData,"testersWidget",a)}, d.remove)},"testers.run.matchRules-callback"))})},"testers");d.remove=hj.tryCatch(function(a){hj.widget.testersData?(0parseInt(d);throw Error("Invalid selector_type: "+m.selector_type);},"forms"),f=hj.tryCatch(function(a){hj.log.debug("Saving forms using manual tracking: "+JSON.stringify(a),"forms");sessionStorage.setItem("_hjFormsManualTracking",JSON.stringify(a))},"forms"), p=hj.tryCatch(function(){var a=JSON.parse(sessionStorage.getItem("_hjFormsManualTracking"))||[];a.length&&hj.log.debug("Getting forms using manual tracking: "+JSON.stringify(a),"forms");return a},"forms"),h=hj.tryCatch(function(a){hj.hq.inArray(a.id,b)||(b.push(a.id),hj.log.debug("Form using manual tracking added: form[id="+a.id+"]","forms"),f(b))},"forms"),n=hj.tryCatch(function(){hj.log.debug("Saving active form: form[id="+m.id+"]","forms");sessionStorage.setItem("_hjForm",JSON.stringify(m))},"forms"), l=hj.tryCatch(function(){return Boolean(sessionStorage.getItem("_hjForm"))},"forms"),r=hj.tryCatch(function(){var a=sessionStorage.getItem("_hjForm"),b;sessionStorage.removeItem("_hjForm");a=JSON.parse(a);b=!c(a.selector,a.selector_type)&&hj.targeting.matchRules(a.targeting,document.referrer);q(a,b,!0)},"forms"),q=hj.tryCatch(function(a,c,d){d||h(m);if(!d||!hj.hq.inArray(a.id,b))hj.eventStream.write({form_id:a.id,form_event:c?"form_submit_successful":"form_submit_failed"}).flush()},"forms"),s=hj.tryCatch(function(){d= new Date},"forms"),u=hj.tryCatch(function(a,b){d&&(hj.eventStream.write({form_id:m.id,form_field_event:{form_field_id:b.id,interaction_time:new Date-d,content_hash:hj.md5(hj.hq(a).val())}}).flush(),d=null)},"forms"),t=hj.tryCatch(function(a,b){hj.eventStream.write({form_id:m.id,form_field_event:{form_field_id:b.id,interaction_time:null,content_hash:hj.md5(hj.hq(a).val())}}).flush()},"forms"),v=hj.tryCatch(function(a,b){var c=g(b),d=[],e;for(e=0;eg);h+=1)if(fb;++b){var c=a.trim(g[b]).match(/[^\.]+/i)[0];var d=a(this),h=c,c=e,d=f? d.data("events"):a._data(d[0]).events,h=d[h];f?c?d.live.unshift(d.live.pop()):h.unshift(h.pop()):(d=c?h.splice(h.delegateCount-1,1)[0]:h.pop(),h.splice(c?0:h.delegateCount||0,0,d))}})}function c(d){a.fn[d+"First"]=function(){var c=a.makeArray(arguments).shift();return c&&(a.fn[d].apply(this,arguments),b(this,c)),this}}var d=a.fn.jquery.split("."),e=parseInt(d[0]),d=parseInt(d[1]),f=1>e||1==e&&7>d;c("bind");c("one");a.fn.delegateFirst=function(){var c=a.makeArray(arguments),d=c[1];return d&&(c.splice(0, 2),a.fn.delegate.apply(this,arguments),b(this,d,!0)),this};a.fn.liveFirst=function(){var b=a.makeArray(arguments);return b.unshift(this.selector),a.fn.delegateFirst.apply(a(document),b),this};f||(a.fn.onFirst=function(c,d){var e=a(this),f="string"==typeof d;if(a.fn.on.apply(e,arguments),"object"==typeof c)for(type in c)c.hasOwnProperty(type)&&b(e,type,f);else"string"==typeof c&&b(e,c,f);return e})}(jQuery),x(window.jQuery.fn.jquery,"1.7"))b.onFirst("submit",n);else x(window.jQuery.fn.jquery,"1.3")&& b.liveFirst("submit",n);else hj.hq(b).on("submit",n);else hj.log.debug('Could not find form with selector "'+m.selector+'".',"forms")},"forms");hj.forms=hj.tryCatch(function(){return{cmdFormSubmitSuccessful:function(){null!==m&&q(m,!0,!1)},cmdFormSubmitFailed:function(){null!==m&&q(m,!1,!1)}}},"forms")();a.run=hj.tryCatch(function(a){var c=l();if(hj.includedInSample&&(e(a),m||c))b=p(),hj.eventStream.write({form_id:m.id,form_event:"form_helo"}).flush(),c?r():m&&(k("focus",["*"],["checkbox","radio"], s),k("blur",["*"],["checkbox","radio"],u),k("change",["checkbox"],[],v),k("focus",["radio"],[],t),z())},"forms");return a}())},"forms")(); hj.tryCatch(function(){hj.loader.registerModule("HeatmapScreenshotter",function(){function m(){var a={showMinimizedMessageTimer:function(){}},b=hj.hq("#"+hj.widget.widgetAttributePrefix+"_heatmap_screenshotter_container"),d=hj.widget.ctrl.find("."+hj.widget.widgetAttributePrefix+"_camera");a.endScreenshotter=hj.tryCatch(function(){hj.log.debug("Closing the heatmap screenshot retaker.","heatmap-screenshotter");b.remove();hj.remoteStorage.set("screenshot_retake",!1,1,hj.settings.siteId)},"heatmap-screenshotter"); a.sendHeatmapScreenshots=hj.tryCatch(function(){k.retakes.forEach(function(a){hj.log.debug("Sending heatmap screenshot retake for DPC ID "+a.id+" ("+a.device+").","heatmap-screenshotter");hj.sendPageContent(a.id,a.token)})},"heatmap-screenshotter");a.flash=hj.tryCatch(function(){hj.hq("#"+hj.widget.widgetAttributePrefix+"_heatmap_screenshotter_flash").on("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",function(){hj.hq(this).removeClass(hj.widget.widgetAttributePrefix+"_flash");d.addClass(hj.widget.widgetAttributePrefix+ "_done");a.endScreenshotter()});hj.hq("#"+hj.widget.widgetAttributePrefix+"_heatmap_screenshotter_flash").addClass(hj.widget.widgetAttributePrefix+"_flash");d.addClass(hj.widget.widgetAttributePrefix+"_success");a.sendHeatmapScreenshots()},"heatmap-screenshotter");d.on("click",hj.tryCatch(function(){a.flash()},"heatmap-screenshotter"))}function a(){var a=100',hj.widget.commonCSS,'
\x3c!-- Minimized State --\x3e
'].join(""); b.run=hj.tryCatch(function(a){hj.remoteStorage.get("screenshot_retake",function(b){b&&(k=b,hj.hq.each(hj.settings.heatmaps||[],function(b,c){c.id===k.heatmap_id&&hj.targeting.matchRules(c.targeting,a,hj.tryCatch(function(){d(c)},"heatmap-screenshotter.run.matchRules-callback"))}))},hj.settings.siteId)},"heatmap-screenshotter");b.remove=hj.tryCatch(function(a){hj.widget.heatmapData?(0hj.utils.ieVersion()?(hj.log.debug("IE < 11 is not supported.","init"),"1"===hj.url.getParameter("hjVerifyInstallation")&&hj.notification.show("Hotjar installation cannot be verified.","Sorry \u2013 your browser is not supported.","bad"),!1):!0},"init");m._checkDebug=hj.tryCatch(function(){var a=hj.url.getParameter("hjDebug"); if(a)if("1"===a||"true"===a)hj.debug.on(!0);else hj.debug.off();if("true"===hj.cookie.get("hjDebug"))hj.debug.on(!1)},"init");m._canUseCookies=hj.tryCatch(function(){if(!navigator.cookieEnabled||!("cookie"in document))return!1;if(0