!function(){"use strict";var n=Object.prototype;var a=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)};var r=function(t,n){return function(e){return t(n(e))}}(Object.keys,Object),o=Object.prototype.hasOwnProperty;var i=function(e){if(!a(e))return r(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t},y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function e(e,t){return e(t={exports:{}},t.exports),t.exports}var s="object"==typeof y&&y&&y.Object===Object&&y,t="object"==typeof self&&self&&self.Object===Object&&self,c=s||t||Function("return this")(),l=c.Symbol,u=Object.prototype,d=u.hasOwnProperty,f=u.toString,g=l?l.toStringTag:void 0;var h=function(e){var t=d.call(e,g),n=e[g];try{var a=!(e[g]=void 0)}catch(e){}var r=f.call(e);return a&&(t?e[g]=n:delete e[g]),r},p=Object.prototype.toString;var m=function(e){return p.call(e)},v=l?l.toStringTag:void 0;var T=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":v&&v in Object(e)?h(e):m(e)};var w=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var A,b=function(e){if(!w(e))return!1;var t=T(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},S=c["__core-js_shared__"],E=(A=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+A:"";var C=function(e){return!!E&&E in e},O=Function.prototype.toString;var x=function(e){if(null!=e){try{return O.call(e)}catch(e){}try{return e+""}catch(e){}}return""},B=/^\[object .+?Constructor\]$/,M=Function.prototype,I=Object.prototype,_=M.toString,L=I.hasOwnProperty,P=RegExp("^"+_.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var k=function(e){return!(!w(e)||C(e))&&(b(e)?P:B).test(x(e))};var R=function(e,t){return null==e?void 0:e[t]};var D=function(e,t){var n=R(e,t);return k(n)?n:void 0},N=D(c,"DataView"),U=D(c,"Map"),j=D(c,"Promise"),F=D(c,"Set"),G=D(c,"WeakMap"),V="[object Map]",H="[object Promise]",X="[object Set]",W="[object WeakMap]",K="[object DataView]",z=x(N),J=x(U),q=x(j),Y=x(F),Z=x(G),$=T;(N&&$(new N(new ArrayBuffer(1)))!=K||U&&$(new U)!=V||j&&$(j.resolve())!=H||F&&$(new F)!=X||G&&$(new G)!=W)&&($=function(e){var t=T(e),n="[object Object]"==t?e.constructor:void 0,a=n?x(n):"";if(a)switch(a){case z:return K;case J:return V;case q:return H;case Y:return X;case Z:return W}return t});var Q=$;var ee=function(e){return null!=e&&"object"==typeof e};var te=function(e){return ee(e)&&"[object Arguments]"==T(e)},ne=Object.prototype,ae=ne.hasOwnProperty,re=ne.propertyIsEnumerable,oe=te(function(){return arguments}())?te:function(e){return ee(e)&&ae.call(e,"callee")&&!re.call(e,"callee")},ie=Array.isArray;var se=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991};var ce=function(e){return null!=e&&se(e.length)&&!b(e)};function le(){return!1}var ue=e(function(e,t){var n=t&&!t.nodeType&&t,a=n&&e&&!e.nodeType&&e,r=a&&a.exports===n?c.Buffer:void 0,o=(r?r.isBuffer:void 0)||le;e.exports=o}),de={};de["[object Float32Array]"]=de["[object Float64Array]"]=de["[object Int8Array]"]=de["[object Int16Array]"]=de["[object Int32Array]"]=de["[object Uint8Array]"]=de["[object Uint8ClampedArray]"]=de["[object Uint16Array]"]=de["[object Uint32Array]"]=!0,de["[object Arguments]"]=de["[object Array]"]=de["[object ArrayBuffer]"]=de["[object Boolean]"]=de["[object DataView]"]=de["[object Date]"]=de["[object Error]"]=de["[object Function]"]=de["[object Map]"]=de["[object Number]"]=de["[object Object]"]=de["[object RegExp]"]=de["[object Set]"]=de["[object String]"]=de["[object WeakMap]"]=!1;function fe(e){return ee(e)&&se(e.length)&&!!de[T(e)]}var ge=function(t){return function(e){return t(e)}},he=e(function(e,t){var n=t&&!t.nodeType&&t,a=n&&e&&!e.nodeType&&e,r=a&&a.exports===n&&s.process,o=function(){try{var e=a&&a.require&&a.require("util").types;return e||r&&r.binding&&r.binding("util")}catch(e){}}();e.exports=o}),pe=he&&he.isTypedArray,me=pe?ge(pe):fe,ve=Object.prototype.hasOwnProperty;var ye,Te=function(e){if(null==e)return!0;if(ce(e)&&(ie(e)||"string"==typeof e||"function"==typeof e.splice||ue(e)||me(e)||oe(e)))return!e.length;var t=Q(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(a(e))return!i(e).length;for(var n in e)if(ve.call(e,n))return!1;return!0},we=e(function(e,t){!function(e){var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof y?y:"undefined"!=typeof self?self:{},t,n=(function(e){
/*
  	* Fingerprintjs2 2.1.2 - Modern & flexible browser fingerprint library v2
  	* https://github.com/Valve/fingerprintjs2
  	* Copyright (c) 2020 Valentin Vasilyev (valentin@fingerprintjs.com)
  	* Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
  	*
  	* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  	* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  	* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  	* ARE DISCLAIMED. IN NO EVENT SHALL VALENTIN VASILYEV BE LIABLE FOR ANY
  	* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  	* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  	* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  	* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  	* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  	* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  	*/
var t,n;t=a,n=function(){void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});function d(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function f(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function g(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function h(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function p(e,t){return[e[0]^t[0],e[1]^t[1]]}function m(e){return e=p(e,[0,e[0]>>>1]),e=f(e,[4283543511,3981806797]),e=p(e,[0,e[0]>>>1]),e=f(e,[3301882366,444984403]),e=p(e,[0,e[0]>>>1])}function s(e,t){t=t||0;for(var n=(e=e||"").length%16,a=e.length-n,r=[0,t],o=[0,t],i=[0,0],s=[0,0],c=[2277735313,289559509],l=[1291169091,658871167],u=0;u<a;u+=16){i=[255&e.charCodeAt(u+4)|(255&e.charCodeAt(u+5))<<8|(255&e.charCodeAt(u+6))<<16|(255&e.charCodeAt(u+7))<<24,255&e.charCodeAt(u)|(255&e.charCodeAt(u+1))<<8|(255&e.charCodeAt(u+2))<<16|(255&e.charCodeAt(u+3))<<24],s=[255&e.charCodeAt(u+12)|(255&e.charCodeAt(u+13))<<8|(255&e.charCodeAt(u+14))<<16|(255&e.charCodeAt(u+15))<<24,255&e.charCodeAt(u+8)|(255&e.charCodeAt(u+9))<<8|(255&e.charCodeAt(u+10))<<16|(255&e.charCodeAt(u+11))<<24],i=f(i,c),i=g(i,31),i=f(i,l),r=p(r,i),r=g(r,27),r=d(r,o),r=d(f(r,[0,5]),[0,1390208809]),s=f(s,l),s=g(s,33),s=f(s,c),o=p(o,s),o=g(o,31),o=d(o,r),o=d(f(o,[0,5]),[0,944331445])}switch(i=[0,0],s=[0,0],n){case 15:s=p(s,h([0,e.charCodeAt(u+14)],48));case 14:s=p(s,h([0,e.charCodeAt(u+13)],40));case 13:s=p(s,h([0,e.charCodeAt(u+12)],32));case 12:s=p(s,h([0,e.charCodeAt(u+11)],24));case 11:s=p(s,h([0,e.charCodeAt(u+10)],16));case 10:s=p(s,h([0,e.charCodeAt(u+9)],8));case 9:s=p(s,[0,e.charCodeAt(u+8)]),s=f(s,l),s=g(s,33),s=f(s,c),o=p(o,s);case 8:i=p(i,h([0,e.charCodeAt(u+7)],56));case 7:i=p(i,h([0,e.charCodeAt(u+6)],48));case 6:i=p(i,h([0,e.charCodeAt(u+5)],40));case 5:i=p(i,h([0,e.charCodeAt(u+4)],32));case 4:i=p(i,h([0,e.charCodeAt(u+3)],24));case 3:i=p(i,h([0,e.charCodeAt(u+2)],16));case 2:i=p(i,h([0,e.charCodeAt(u+1)],8));case 1:i=p(i,[0,e.charCodeAt(u)]),i=f(i,c),i=g(i,31),i=f(i,l),r=p(r,i)}return r=p(r,[0,e.length]),o=p(o,[0,e.length]),r=d(r,o),o=d(o,r),r=m(r),o=m(o),r=d(r,o),o=d(o,r),("00000000"+(r[0]>>>0).toString(16)).slice(-8)+("00000000"+(r[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)}function c(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach){e.forEach(t)}else if(e.length===+e.length){for(var n=0,a=e.length;n<a;n++){t(e[n],n,e)}}else{for(var r in e){e.hasOwnProperty(r)&&t(e[r],r,e)}}}function l(e,a){var r=[];return null==e?r:Array.prototype.map&&e.map===Array.prototype.map?e.map(a):(c(e,function(e,t,n){r.push(a(e,t,n))}),r)}function a(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")}var e={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},n=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},r=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},o=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},i=function(e){if(null==navigator.plugins){return e.NOT_AVAILABLE}for(var t=[],n=0,a=navigator.plugins.length;n<a;n++){navigator.plugins[n]&&t.push(navigator.plugins[n])}return v(e)&&(t=t.sort(function(e,t){return e.name>t.name?1:e.name<t.name?-1:0})),l(t,function(e){var t=l(e,function(e){return[e.type,e.suffixes]});return[e.name,e.description,t]})},u=function(t){var e=[];return Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window?e=l(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],function(e){try{return new window.ActiveXObject(e),e}catch(e){return t.ERROR}}):e.push(t.NOT_AVAILABLE),navigator.plugins&&(e=e.concat(i(t))),e},v=function(e){for(var t=!1,n=0,a=e.plugins.sortPluginsFor.length;n<a;n++){var r=e.plugins.sortPluginsFor[n];if(navigator.userAgent.match(r)){t=!0;break}}return t},y=function(t){try{return!!window.sessionStorage}catch(e){return t.ERROR}},T=function(t){try{return!!window.localStorage}catch(e){return t.ERROR}},w=function(t){try{return!!window.indexedDB}catch(e){return t.ERROR}},A=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},b=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},S=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},E=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},t=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},C=function(e){var t=[],n=document.createElement("canvas");n.width=2e3,n.height=200,n.style.display="inline";var a=n.getContext("2d");return a.rect(0,0,10,10),a.rect(2,2,6,6),t.push("canvas winding:"+(!1===a.isPointInPath(5,5,"evenodd")?"yes":"no")),a.textBaseline="alphabetic",a.fillStyle="#f60",a.fillRect(125,1,62,20),a.fillStyle="#069",e.dontUseFakeFontInCanvas?a.font="11pt Arial":a.font="11pt no-real-font-123",a.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),a.fillStyle="rgba(102, 204, 0, 0.2)",a.font="18pt Arial",a.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),a.globalCompositeOperation="multiply",a.fillStyle="rgb(255,0,255)",a.beginPath(),a.arc(50,50,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(0,255,255)",a.beginPath(),a.arc(100,50,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(255,255,0)",a.beginPath(),a.arc(75,100,50,0,2*Math.PI,!0),a.closePath(),a.fill(),a.fillStyle="rgb(255,0,255)",a.arc(75,75,75,0,2*Math.PI,!0),a.arc(75,75,25,0,2*Math.PI,!0),a.fill("evenodd"),n.toDataURL&&t.push("canvas fp:"+n.toDataURL()),t},O=function(){function e(e){return o.clearColor(0,0,0,1),o.enable(o.DEPTH_TEST),o.depthFunc(o.LEQUAL),o.clear(o.COLOR_BUFFER_BIT|o.DEPTH_BUFFER_BIT),"["+e[0]+", "+e[1]+"]"}var o=j();if(!o){return null}var i=[],t=o.createBuffer();o.bindBuffer(o.ARRAY_BUFFER,t);var n=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);o.bufferData(o.ARRAY_BUFFER,n,o.STATIC_DRAW),t.itemSize=3,t.numItems=3;var a=o.createProgram(),r=o.createShader(o.VERTEX_SHADER);o.shaderSource(r,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),o.compileShader(r);n=o.createShader(o.FRAGMENT_SHADER);o.shaderSource(n,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),o.compileShader(n),o.attachShader(a,r),o.attachShader(a,n),o.linkProgram(a),o.useProgram(a),a.vertexPosAttrib=o.getAttribLocation(a,"attrVertex"),a.offsetUniform=o.getUniformLocation(a,"uniformOffset"),o.enableVertexAttribArray(a.vertexPosArray),o.vertexAttribPointer(a.vertexPosAttrib,t.itemSize,o.FLOAT,!1,0,0),o.uniform2f(a.offsetUniform,1,1),o.drawArrays(o.TRIANGLE_STRIP,0,t.numItems);try{i.push(o.canvas.toDataURL())}catch(e){}i.push("extensions:"+(o.getSupportedExtensions()||[]).join(";")),i.push("webgl aliased line width range:"+e(o.getParameter(o.ALIASED_LINE_WIDTH_RANGE))),i.push("webgl aliased point size range:"+e(o.getParameter(o.ALIASED_POINT_SIZE_RANGE))),i.push("webgl alpha bits:"+o.getParameter(o.ALPHA_BITS)),i.push("webgl antialiasing:"+(o.getContextAttributes().antialias?"yes":"no")),i.push("webgl blue bits:"+o.getParameter(o.BLUE_BITS)),i.push("webgl depth bits:"+o.getParameter(o.DEPTH_BITS)),i.push("webgl green bits:"+o.getParameter(o.GREEN_BITS)),i.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){t=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===t&&(t=2),t}return null}(o)),i.push("webgl max combined texture image units:"+o.getParameter(o.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),i.push("webgl max cube map texture size:"+o.getParameter(o.MAX_CUBE_MAP_TEXTURE_SIZE)),i.push("webgl max fragment uniform vectors:"+o.getParameter(o.MAX_FRAGMENT_UNIFORM_VECTORS)),i.push("webgl max render buffer size:"+o.getParameter(o.MAX_RENDERBUFFER_SIZE)),i.push("webgl max texture image units:"+o.getParameter(o.MAX_TEXTURE_IMAGE_UNITS)),i.push("webgl max texture size:"+o.getParameter(o.MAX_TEXTURE_SIZE)),i.push("webgl max varying vectors:"+o.getParameter(o.MAX_VARYING_VECTORS)),i.push("webgl max vertex attribs:"+o.getParameter(o.MAX_VERTEX_ATTRIBS)),i.push("webgl max vertex texture image units:"+o.getParameter(o.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),i.push("webgl max vertex uniform vectors:"+o.getParameter(o.MAX_VERTEX_UNIFORM_VECTORS)),i.push("webgl max viewport dims:"+e(o.getParameter(o.MAX_VIEWPORT_DIMS))),i.push("webgl red bits:"+o.getParameter(o.RED_BITS)),i.push("webgl renderer:"+o.getParameter(o.RENDERER)),i.push("webgl shading language version:"+o.getParameter(o.SHADING_LANGUAGE_VERSION)),i.push("webgl stencil bits:"+o.getParameter(o.STENCIL_BITS)),i.push("webgl vendor:"+o.getParameter(o.VENDOR)),i.push("webgl version:"+o.getParameter(o.VERSION));try{var s=o.getExtension("WEBGL_debug_renderer_info");s&&(i.push("webgl unmasked vendor:"+o.getParameter(s.UNMASKED_VENDOR_WEBGL)),i.push("webgl unmasked renderer:"+o.getParameter(s.UNMASKED_RENDERER_WEBGL)))}catch(e){}return o.getShaderPrecisionFormat&&c(["FLOAT","INT"],function(r){c(["VERTEX","FRAGMENT"],function(a){c(["HIGH","MEDIUM","LOW"],function(n){c(["precision","rangeMin","rangeMax"],function(e){var t=o.getShaderPrecisionFormat(o[a+"_SHADER"],o[n+"_"+r])[e];"precision"!==e&&(e="precision "+e);t=["webgl ",a.toLowerCase()," shader ",n.toLowerCase()," ",r.toLowerCase()," ",e,":",t].join("");i.push(t)})})})}),F(o),i},x=function(){try{var e=j(),t=e.getExtension("WEBGL_debug_renderer_info"),t=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return F(e),t}catch(e){return null}},B=function(){var e=document.createElement("div");e.innerHTML="&nbsp;";var t=!(e.className="adsbox");try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},M=function(){if(void 0!==navigator.languages){try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2)){return!0}}catch(e){return!0}}return!1},I=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},_=function(){var e=navigator.userAgent.toLowerCase(),t=navigator.oscpu,n=navigator.platform.toLowerCase(),a=0<=e.indexOf("windows phone")?"Windows Phone":0<=e.indexOf("windows")||0<=e.indexOf("win16")||0<=e.indexOf("win32")||0<=e.indexOf("win64")||0<=e.indexOf("win95")||0<=e.indexOf("win98")||0<=e.indexOf("winnt")||0<=e.indexOf("wow64")?"Windows":0<=e.indexOf("android")?"Android":0<=e.indexOf("linux")||0<=e.indexOf("cros")||0<=e.indexOf("x11")?"Linux":0<=e.indexOf("iphone")||0<=e.indexOf("ipad")||0<=e.indexOf("ipod")||0<=e.indexOf("crios")||0<=e.indexOf("fxios")?"iOS":0<=e.indexOf("macintosh")||0<=e.indexOf("mac_powerpc)")?"Mac":"Other";if(("ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)&&"Windows"!==a&&"Windows Phone"!==a&&"Android"!==a&&"iOS"!==a&&"Other"!==a&&-1===e.indexOf("cros")){return!0}if(void 0!==t){if(0<=(t=t.toLowerCase()).indexOf("win")&&"Windows"!==a&&"Windows Phone"!==a){return!0}if(0<=t.indexOf("linux")&&"Linux"!==a&&"Android"!==a){return!0}if(0<=t.indexOf("mac")&&"Mac"!==a&&"iOS"!==a){return!0}if((-1===t.indexOf("win")&&-1===t.indexOf("linux")&&-1===t.indexOf("mac"))!=("Other"===a)){return!0}}return 0<=n.indexOf("win")&&"Windows"!==a&&"Windows Phone"!==a||((0<=n.indexOf("linux")||0<=n.indexOf("android")||0<=n.indexOf("pike"))&&"Linux"!==a&&"Android"!==a||((0<=n.indexOf("mac")||0<=n.indexOf("ipad")||0<=n.indexOf("ipod")||0<=n.indexOf("iphone"))&&"Mac"!==a&&"iOS"!==a||!(0<=n.indexOf("arm")&&"Windows Phone"===a)&&(!(0<=n.indexOf("pike")&&0<=e.indexOf("opera mini"))&&((n.indexOf("win")<0&&n.indexOf("linux")<0&&n.indexOf("mac")<0&&n.indexOf("iphone")<0&&n.indexOf("ipad")<0&&n.indexOf("ipod")<0)!=("Other"===a)||void 0===navigator.plugins&&"Windows"!==a&&"Windows Phone"!==a))))},L=function(){var e=navigator.userAgent.toLowerCase(),t=navigator.productSub;if(0<=e.indexOf("edge/")||0<=e.indexOf("iemobile/")){return!1}if(0<=e.indexOf("opera mini")){return!1}if(("Chrome"===(e=0<=e.indexOf("firefox/")?"Firefox":0<=e.indexOf("opera/")||0<=e.indexOf(" opr/")?"Opera":0<=e.indexOf("chrome/")?"Chrome":0<=e.indexOf("safari/")?0<=e.indexOf("android 1.")||0<=e.indexOf("android 2.")||0<=e.indexOf("android 3.")||0<=e.indexOf("android 4.")?"AOSP":"Safari":0<=e.indexOf("trident/")?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==t){return!0}var n,t=eval.toString().length;if(37===t&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e){return!0}if(39===t&&"Internet Explorer"!==e&&"Other"!==e){return!0}if(33===t&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e){return!0}try{throw"a"}catch(e){try{e.toSource(),n=!0}catch(e){n=!1}}return n&&"Firefox"!==e&&"Other"!==e},P=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},k=function(){if(!P()){return!1}var e=j(),t=!!window.WebGLRenderingContext&&!!e;return F(e),t},R=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},D=function(){return void 0!==window.swfobject},N=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},U=function(t,e){var n="___fp_swf_loaded";window[n]=function(e){t(e)};var a,r,o=e.fonts.swfContainerId;(r=document.createElement("div")).setAttribute("id",a.fonts.swfContainerId),document.body.appendChild(r);n={onReady:n};window.swfobject.embedSWF(e.fonts.swfPath,o,"1","1","9.0.0",!1,n,{allowScriptAccess:"always",menu:"false"},{})},j=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t=t||null},F=function(e){e=e.getExtension("WEBGL_lose_context");null!=e&&e.loseContext()},G=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(A(t))}},{key:"screenResolution",getData:function(e,t){e(r(t))}},{key:"availableScreenResolution",getData:function(e,t){e(o(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(y(t))}},{key:"localStorage",getData:function(e,t){e(T(t))}},{key:"indexedDb",getData:function(e,t){e(w(t))}},{key:"addBehavior",getData:function(e){e(!(!document.body||!document.body.addBehavior))}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(b(t))}},{key:"platform",getData:function(e,t){e(S(t))}},{key:"doNotTrack",getData:function(e,t){e(E(t))}},{key:"plugins",getData:function(e,t){R()?t.plugins.excludeIE?e(t.EXCLUDED):e(u(t)):e(i(t))}},{key:"canvas",getData:function(e,t){P()?e(C(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){k()?e(O()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){k()?e(x()):e()}},{key:"adBlock",getData:function(e){e(B())}},{key:"hasLiedLanguages",getData:function(e){e(M())}},{key:"hasLiedResolution",getData:function(e){e(I())}},{key:"hasLiedOs",getData:function(e){e(_())}},{key:"hasLiedBrowser",getData:function(e){e(L())}},{key:"touchSupport",getData:function(e){e(t())}},{key:"fonts",getData:function(e,t){var l=["monospace","sans-serif","serif"],u=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];t.fonts.extendedJsFonts&&(u=u.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])),u=(u=u.concat(t.fonts.userDefinedFonts)).filter(function(e,t){return u.indexOf(e)===t});function d(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e}var t=document.getElementsByTagName("body")[0],r=document.createElement("div"),f=document.createElement("div"),a={},o={},n=function(){for(var e=[],t=0,n=l.length;t<n;t++){var a=d();a.style.fontFamily=l[t],r.appendChild(a),e.push(a)}return e}();t.appendChild(r);for(var i=0,s=l.length;i<s;i++){a[l[i]]=n[i].offsetWidth,o[l[i]]=n[i].offsetHeight}var c=function(){for(var e,t,n={},a=0,r=u.length;a<r;a++){for(var o=[],i=0,s=l.length;i<s;i++){var c=(e=u[a],t=l[i],c=void 0,(c=d()).style.fontFamily="'"+e+"',"+t,c);f.appendChild(c),o.push(c)}n[u[a]]=o}return n}();t.appendChild(f);for(var g=[],h=0,p=u.length;h<p;h++){!function(e){for(var t=!1,n=0;n<l.length;n++){if(t=e[n].offsetWidth!==a[l[n]]||e[n].offsetHeight!==o[l[n]]){return t}}return t}(c[u[h]])||g.push(u[h])}t.removeChild(f),t.removeChild(r),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(t,e){return D()?N()?e.fonts.swfPath?void U(function(e){t(e)},e):t("missing options.fonts.swfPath"):t("flash not installed"):t("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(n,e){var t=e.audio;if(t.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/)){return n(e.EXCLUDED)}var a=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==a){return n(e.NOT_AVAILABLE)}var r=new a(1,44100,44100),o=r.createOscillator();o.type="triangle",o.frequency.setValueAtTime(1e4,r.currentTime);var i=r.createDynamicsCompressor();c([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],function(e){void 0!==i[e[0]]&&"function"==typeof i[e[0]].setValueAtTime&&i[e[0]].setValueAtTime(e[1],r.currentTime)}),o.connect(i),i.connect(r.destination),o.start(0),r.startRendering();var s=setTimeout(function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/Valve/fingerprintjs2 with your user agent: "'+navigator.userAgent+'".'),r.oncomplete=function(){},r=null,n("audioTimeout")},t.timeout);r.oncomplete=function(e){var t;try{clearTimeout(s),t=e.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce(function(e,t){return e+Math.abs(t)},0).toString(),o.disconnect(),i.disconnect()}catch(e){return void n(e)}n(t)}}},{key:"enumerateDevices",getData:function(t,e){if(!n()){return t(e.NOT_AVAILABLE)}navigator.mediaDevices.enumerateDevices().then(function(e){t(e.map(function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label}))}).catch(function(e){t(e)})}}];return a.get=function(n,a){(function(e,t){if(null==t){return}var n,a;for(a in t){null==(n=t[a])||Object.prototype.hasOwnProperty.call(e,a)||(e[a]=n)}})(n=a?n||{}:(a=n,{}),e),n.components=n.extraComponents.concat(G);var r={data:[],addPreprocessedComponent:function(e,t){"function"==typeof n.preprocessor&&(t=n.preprocessor(e,t)),r.data.push({key:e,value:t})}},o=-1,i=function(e){if((o+=1)>=n.components.length){a(r.data)}else{var t=n.components[o];if(n.excludes[t.key]){i(!1)}else{if(!e&&t.pauseBefore){return--o,void setTimeout(function(){i(!0)},1)}try{t.getData(function(e){r.addPreprocessedComponent(t.key,e),i(!1)},n)}catch(e){r.addPreprocessedComponent(t.key,String(e)),i(!1)}}}};i(!1)},a.getPromise=function(n){return new Promise(function(e,t){a.get(n,e)})},a.getV18=function(o,i){return null==i&&(i=o,o={}),a.get(o,function(e){for(var t=[],n=0;n<e.length;n++){var a=e[n];a.value===(o.NOT_AVAILABLE||"not available")?t.push({key:a.key,value:"unknown"}):"plugins"===a.key?t.push({key:"plugins",value:l(a.value,function(e){var t=l(e[2],function(e){return e.join?e.join("~"):e}).join(",");return[e[0],e[1],t].join("::")})}):-1!==["canvas","webgl"].indexOf(a.key)&&Array.isArray(a.value)?t.push({key:a.key,value:a.value.join("~")}):-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(a.key)?a.value&&t.push({key:a.key,value:1}):a.value?t.push(a.value.join?{key:a.key,value:a.value.join(";")}:a):t.push({key:a.key,value:a.value})}var r=s(l(t,function(e){return e.value}).join("~~~"),31);i(r,t)})},a.x64hash128=s,a.VERSION="2.1.2",a},e.exports?e.exports=n():t.exports?t.exports=n():t.Fingerprint2=n()}(t={exports:{}}),t.exports),r={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{userDefinedFonts:[],extendedJsFonts:!0},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},o="",i=[];function s(e){o?e(o):i.push(e)}function c(){return f}function l(e,t,n){var u,d=window[n.pixelClientWindow],f=!1,n=function e(t,n,a,r){var o,i,s,c,l;"AMO_PIXEL_LOADING"===r.data?(clearTimeout(u),u=setTimeout(function(){d.postMessage("IS_AMO_PIXEL_READY?",r.origin)},100)):-1<["AMO_PIXEL_NOT_READY","AMO_PIXEL_READY"].indexOf(r.data)&&!f&&(clearTimeout(u),window.removeEventListener("message",e),o=t,i=n,s=a,c=r.origin,(l=new XMLHttpRequest).onload=function(){var t;try{t=JSON.parse(l.response)}catch(e){t={}}t.visitor_uid?(o(t.visitor_uid),window[s.pixelClientWindow].postMessage("SET_AMO_PIXEL_READY",c)):i()},l.onerror=function(){i()},l.open("GET",s.baseURL+"/humans/visitor"),l.send(),f=!0)}.bind(null,e,t,n);window.addEventListener("message",n),d.postMessage("IS_AMO_PIXEL_READY?","*")}function u(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n="POST"),v){var a,r=new FormData;Object.keys(t).forEach(function(e){r.append(e,t[e])}),e=e.replace("#PIXEL_ID#",v),void 0===window.navigator.sendBeacon?((a=new XMLHttpRequest).open(n,e),a.send(r)):window.navigator.sendBeacon(e,r)}else{if(!p){throw new Error("Load pixel id first")}m.push(arguments)}}setTimeout(function(){n.get(r,function(e){o=n.x64hash128(JSON.stringify(e),31),i.length&&(i.forEach(function(e){e(o)}),i=[])})},500);var d="",f="",g=["parent","top"],h={baseURL:"",pixelClientWindow:"parent"},p=!1,m=[],v="";e.configure=function(e){void 0===e&&(e={}),e.pixelClientWindow&&!g.includes(e.pixelClientWindow)&&(e.pixelClientWindow="parent"),Object.assign(h,e)},e.getHuman=function(t,n){void 0===t&&(t=function(){return!0}),void 0===n&&(n=function(){return!1});var a=new XMLHttpRequest;s(function(e){a.onload=t,a.onerror=n,a.open("GET",h.baseURL+"/humans/?id="+h.id+"&hash="+h.hash+"&visitor_uid="+v+"&fingerprint="+e),a.send()})},e.getManager=function(e,t,n){void 0===e&&(e=null),void 0===t&&(t=function(){return!0}),void 0===n&&(n=function(){return!1});var a=new XMLHttpRequest;a.onload=t,a.onerror=n;n="/feedback_button/manager/?id="+h.id+"&hash="+h.hash+"&visitor_uid="+v;null!==e&&(n+="&entity_hash="+e),a.open("GET",""+h.baseURL+n),a.send()},e.getProperties=function(e,t){void 0===e&&(e=function(){return!0}),void 0===t&&(t=function(){return!1});var n=new XMLHttpRequest;n.onload=e,n.onerror=t,n.open("GET",h.baseURL+"/forms/"+h.id+"/hash/"+h.hash+"/pixel?visitor_uid="+v),n.send()},e.getSessionUid=function(){return d?"VisitorUid_"+d:""},e.getShortSessionId=c,e.load=function(t,e){p=!0,l(function(e){v=e,m.forEach(function(e){return u.apply(void 0,e)}),m=m.slice(0,0),"function"==typeof t&&t()},function(){"function"==typeof e&&e()},h)},e.sendInternalMetadata=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=JSON.parse(JSON.stringify(e));n.time&&(n.time+=(performance.now()/1e3).toFixed(0)),s(function(e){u(h.baseURL+"/humans/visitors/"+(v||"#PIXEL_ID#")+"/sessions/"+d,Object.assign({},{id:h.id,hash:h.hash,data:JSON.stringify(n),fingerprint:e,gso_session_id:f},t),"PUT")})},e.sendKeyAction=function(t){t&&s(function(e){u(h.baseURL+"/humans/visitors/"+(v||"#PIXEL_ID#")+"/key_action/completed",{id:h.id,hash:h.hash,fingerprint:e,key_action_id:t})})},e.sendTrackingLink=function(e){e&&u(h.baseURL+"/humans/visitors/"+(v||"#PIXEL_ID#")+"/follow",{id:h.id,hash:h.hash,link:e})},e.sendUserMetadata=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),u(h.baseURL+"/humans/sessions/"+d+"/metadata",Object.assign({},{id:h.id,hash:h.hash,data:JSON.stringify(e)},t))},e.setSessionId=function(e){d=e},e.setShortSessionId=function(e){f=e},Object.defineProperty(e,"__esModule",{value:!0})}(t)}),Ae=(ye=we)&&ye.__esModule&&Object.prototype.hasOwnProperty.call(ye,"default")?ye.default:ye,be=new function(){var i=this,e="buttonscollapsed",t=-1<navigator.userAgent.indexOf("Chrome"),r=-1<navigator.userAgent.indexOf("Safari")&&!t;navigator.userAgent.indexOf("Android");this.callbacks={livechat:function(e){return e.preventDefault(),i.source_window&&(i.isInline?(i.socialTitleElements=i.socialTitleElements?i.socialTitleElements:document.querySelectorAll(".amo-button__title"),i.needHideTitles=i.isVertical||"top"===i.vPosition,i.livechatIsActive=!i.livechatIsActive,i.livechatIsActive?(i.source_window.postMessage("livechat:show","*"),e.currentTarget.style.opacity="0",i.needHideTitles&&i.socialTitleElements.forEach(function(e){e.style.display="none"})):(i.source_window.postMessage("livechat:hide","*"),e.currentTarget.style.opacity="",i.needHideTitles&&i.socialTitleElements.forEach(function(e){e.style.display=""}))):(i.collapseSocials(),i.source_window.postMessage("livechat:show","*"))),!1},vk:function(e){return Ae.sendInternalMetadata(i.metadata),i.openWindow(e.target.href+"?ref="+Ae.getSessionUid()),!1},facebook:function(e){return Ae.sendInternalMetadata(i.metadata),i.openWindow(e.target.href+"?ref="+Ae.getSessionUid()),!1},viber:function(e){return Ae.sendInternalMetadata(i.metadata),window.top.location=e.target.href+"&context="+Ae.getSessionUid(),!1},telegram:function(e){return Ae.sendInternalMetadata(i.metadata),e.target.href.includes("?start")||(e.target.href=e.target.href+"?start="+Ae.getSessionUid()),i.openWindow(e.target.href),!1},form:function(e){return e.preventDefault(),i.source_window&&i.source_window.postMessage("click_form","*"),!1},whatsapp:function(e){e.preventDefault();var t="ID: "+Ae.getShortSessionId();return Ae.sendInternalMetadata(i.metadata),i.openWindow(e.target.href+"?text="+t),!1},default:function(){return!0}},this.openWindow=function(e){var t,n,a=window.open(e);t=+new Date,a.onblur=function(){n=+new Date,r?1e3<n-t&&a.close():a.close()}},this.showSocials=function(){document.body.classList.remove(e)},this.collapseSocials=function(){document.body.classList.add(e)},this.handleBusMessage=function(e){var r=e.data,t=document.querySelector(".amo-button--livechat");switch(r&&r.method){case"button:click":if(Te(i.social_services))break;if(i.hasOwnProperty("source_window")||(i.source_window=e.source),r.payload&&r.payload.showSocials){var n=document.querySelector(".amo-inner-buttons-body");if(i.isVertical=n&&n.classList.contains("vertical"),i.isInline=r.payload&&r.payload.isInline,i.buttonTheme=r.payload&&r.payload.buttonTheme,!i.isVertical)t&&+t.getAttribute("data-badge")?(t.style.display="none",i.source_window.postMessage("livechat:show","*")):t&&(t.style.display=null);i.isInline&&Array.prototype.slice.call(document.querySelectorAll(".amo-button")).forEach(function(e){e.style.transition="none"}),i.showSocials()}else i.collapseSocials();break;case"badge":t&&t.setAttribute("data-badge",r.payload.count);break;case"livechat:onShow":Ae.sendInternalMetadata(i.metadata);break;case"send_meta":Ae.sendUserMetadata(r.payload.metaData);break;case"send_keyaction":Ae.sendKeyAction(r.payload.keyaction_id);break;case"livechat:click":window.document.querySelector(".amo-button--livechat").click();break;case"set_social":var o=r.payload.data||{};i.social_services={},i.locale=o.locale,i.button=o.button,i.metadata=r.payload.data.metadata,i.vPosition=2<parseInt(r.payload.data.button.position)?"bottom":"top",i.isMobile=r.payload.data.isMobile,Ae.configure({id:i.button.id,hash:i.button.hash}),Ae.setSessionId(r.payload.data.session_uid),Ae.setShortSessionId(r.payload.data.session_id),o=o.social_services||{};Ae.load(function(){!function(){for(var e in o){var t=o[e],n=0<=["form","viber","telegram","vk","facebook","livechat","whatsapp"].indexOf(t.type)?t.type:"default",a=document.getElementsByClassName("amo-button--"+t.type);a.length&&"function"==typeof i.callbacks[n]&&(i.social_services[t.type]=t,a[0].onclick=function(e,t,n){return i.source_window.postMessage(JSON.stringify({func:"buttonClick",service:t,link:"livechat"!==t?n.target.getAttribute("href"):""}),"*"),e(n)}.bind(null,i.callbacks[n],t.type),a[0].onmouseover=function(){document.body.classList.add("amo-button_hovered")},a[0].onmouseleave=function(){document.body.classList.remove("amo-button_hovered")})}r.payload.data.link&&Ae.sendTrackingLink(r.payload.data.link),r.payload.data.disable_titles&&document.body.classList.add("no-titles")}(),window.parent.postMessage("pixel_ready","*")},function(){window.parent.postMessage("pixel_ready","*")})}}};window.addEventListener&&window.addEventListener("message",be.handleBusMessage)}();
