!function(t,e){'object'==typeof exports&&'object'==typeof module?module.exports=e():'function'==typeof define&&define.amd?define([],e):'object'==typeof exports?exports.__CTR_FP_TRACKING=e():t.__CTR_FP_TRACKING=e()}(window,function(){return o={},r.m=n=[function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var o=n(10),r=n(11),i=n(2),a=n(12);t.exports=function(t){return o(t)||r(t)||i(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e,n){var o=n(3);t.exports=function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);nthis._renderBoundaries[2]&&(this._renderBoundaries[2]=h+2*_),f+2*_>this._renderBoundaries[3]&&(this._renderBoundaries[3]=f+2*_)}},_colorize:function(){for(var t=this._renderBoundaries[0],e=this._renderBoundaries[1],n=this._renderBoundaries[2]-t,o=this._renderBoundaries[3]-e,r=this._width,i=this._height,a=this._opacity,c=this._maxOpacity,s=this._minOpacity,d=this._useGradientOpacity,o=this.shadowCtx.getImageData(t=t<0?0:t,e=e<0?0:e,n=r>0},getDataURL:function(){return this.canvas.toDataURL()}},n);function a(t){var e=t.gradient||t.defaultGradient,n=document.createElement('canvas'),t=n.getContext('2d');n.width=256,n.height=1;var o,r=t.createLinearGradient(0,0,256,1);for(o in e)r.addColorStop(o,e[o]);return t.fillStyle=r,t.fillRect(0,0,256,1),t.getImageData(0,0,256,1).data}function n(t){var e=t.container,n=this.shadowCanvas=document.createElement('canvas'),o=this.canvas=t.canvas||document.createElement('canvas'),r=(this._renderBoundaries=[1e4,1e4,0,0],getComputedStyle(t.container)||{});o.className='heatmap-canvas',this._width=o.width=n.width=t.width||+r.width.replace(/px/,''),this._height=o.height=n.height=t.height||+r.height.replace(/px/,''),this.shadowCtx=n.getContext('2d'),this.ctx=o.getContext('2d'),o.style.cssText=n.style.cssText='position:absolute;left:0;top:0;',e.style.position='relative',e.appendChild(o),this._palette=a(t),this._templates={},this._setStyles(t)}var o,c,s=(o=!1,o='canvas2d'===r.defaultRenderer?e:o),l=function(){for(var t={},e=arguments.length,n=0;n=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,a=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return i=t.done,t},e:function(t){a=!0,r=t},f:function(){try{i||null==n.return||n.return()}finally{if(a)throw r}}}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);nNumber(o)})).length&&((navigator.sendBeacon?ct:st)(t,e),t=Math.max.apply(Math,f()(t.map(function(t){return t.y})).concat([o])),q().setItem(n,"".concat(t)))},n=200,$(document).on("scroll",function(){var t=o?"_ctrScrollTimeoutSp":"_ctrScrollTimeout";window[t]&&clearTimeout(window[t]),window[t]=setTimeout(e,n)})}function ft(t){!function(t,e){var n=1n&&t&&t(),setInterval(function(){t&&t()},n),setInterval(function(){localStorage.setItem('timestamp',(new Date).getTime())},1e3)}(function(){q().setItem(m,"ctr_hm_ssid_".concat(K())),_t(t)})}function wt(t){var e,n;J()||q().setItem(m,"ctr_hm_ssid_".concat(K())),_t(t),e=t,dt(v.Move)&&it({funnelId:L(),nodeId:B(),actionType:v.Move,sessionId:J(),isApplySplitTest:e}).then(function(t){t&&pt(e)}),n=t,dt(v.Scroll)&&it({funnelId:L(),nodeId:B(),actionType:v.Scroll,sessionId:J(),isApplySplitTest:n}).then(function(t){t&&ht(n)}),ft(t)}function gt(t){t=0=t.pixels_scrolled-n&&e<=t.pixels_scrolled})}function Ut(t,e){var n=t.width,o=t.height,r=t.getContext('2d');r.globalAlpha=.8,console.log({canvasHeight:o});for(var i=0;i