!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(e,t,n){"use strict";n.d(t,"j",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"h",(function(){return a})),n.d(t,"l",(function(){return c})),n.d(t,"i",(function(){return u})),n.d(t,"b",(function(){return s})),n.d(t,"f",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"g",(function(){return p})),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return g})),n.d(t,"k",(function(){return v})),n.d(t,"a",(function(){return m}));var r={get:function(e){for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""},set:function(e,t,n){var r=new Date;n=void 0===n?60:n,r.setTime(r.getTime()+6e4*n),document.cookie=e+"="+t+";expires="+r.toUTCString()+";path=/"}};var o=window.navigator.language.slice(0,2),i=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):null},a=function(e,t){return e.length===t.length&&e.every((function(e,n){return e===t[n]}),t)},c=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")};function u(e,t){return new Promise((function(n,r){var o=document.createElement("script");o.async=1,o.src=e,o.onload=function(){n(t())},o.error=r,document.body.appendChild(o)}))}function s(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild}function l(){var e=p();return window.ad_sub||e.promo||e.source||e.sub||r.get("source")||0}function d(e,t,n,r){null!=window.screenLeft?window.screenLeft:window.screenX,null!=window.screenTop?window.screenTop:window.screenY;var o=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,i=(window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,o/window.screen.availWidth),a=window.open(e,t,"scrollbars=yes, width="+n/i+", height="+r/i+", top=0, left=0");return window.focus&&a.focus(),a}function f(e){var t=document.createElement("a");return t.href=e,t.protocol+"//"+t.host}function p(e){if(""===location.search)return{};var t=location.search.substr(1).split("&").reduce((function(e,t){var n=t.split("=");return e[n[0]]=n[1],e}),{});return void 0!==e?e.reduce((function(e,n){return t[n]&&(e[n]=t[n]),e}),{}):t}function h(e){var t=p(),n={};return e.forEach((function(e){var r=localStorage.getItem("_tcpu_"+e),o=t[e]||r;o&&(n[e]=o),t[e]&&localStorage.setItem("_tcpu_"+e,t[e])})),n}var g=function(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),n=window.atob(t),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);return r};var v=function(e,t,n){if(t&&e&&n){document.body.addEventListener(e,(function(e){var r=Array.from(function(e){if(e.path)return e.path;for(var t=[],n=e.target;n.parentNode;)t.push(n),n=n.parentNode;return t.push(document,window),t}(e)).filter((function(e){return e!=document&&e!=window})).filter((function(e){return(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector).call(e,t)}))[0];r&&n.call(r,e)}))}};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(n){var r=new XMLHttpRequest;for(var o in t.headers=t.headers||{},t.method=t.method||"GET",r.open(t.method,e,!0),t.headers)r.setRequestHeader(o,t.headers[o]);"number"==typeof t.timeout&&(r.timeout=t.timeout),r.onloadend=function(e){n({data:e.target.responseText,status:e.target.status})},r.onerror=function(e){n({status:e.target.status,error:"status code error"})},r.ontimeout=function(e){n({status:e.target.status,error:"Connection timeout"})},r.onabort=function(e){n({status:null,error:"Connection abort"})};try{t.body?r.send(t.body):r.send()}catch(e){n({error:"send error: "+e,status:null})}}))}},function(e,t,n){"use strict";function r(e){return{get:function(t){try{return e.getItem(t)}catch(e){return console.warn(e),null}},add:function(t,n){try{e.setItem(t,n)}catch(e){console.warn(e)}},delete:function(t){try{e.removeItem(t)}catch(e){console.warn(e)}}}}function o(e){return Object.assign({},e,{get:function(t){var n=null;try{n=JSON.parse(e.get(t))}catch(e){console.error(e)}return!n||n.timestamp&&Date.now()>=n.timestamp?(e.delete(t),null):n.value},add:function(t,n,r){var o=60*r*1e3;return e.add(t,JSON.stringify({value:n,timestamp:Date.now()+o})),n}})}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var i=r(window.sessionStorage),a=(o(i),r(window.localStorage)),c=o(a)},function(e,t,n){"use strict";var r=n(0);t.a={eventsStack:{},fireAll:function(e,t){var n=this.eventsStack[e];Array.isArray(n)&&n.forEach((function(e){e(t)}))},dispatch:function(e,t){this.fireAll(e,t)},on:function(e,t){if(null==typeof e)return new Error("Bad tcpusher messager event");if("function"!=typeof t)return new Error("tcpusher messager callback must be a function");var n=this.eventsStack[e];n?n.push(t):this.eventsStack[e]=[t]},sendParent:function(e,t){window.opener?window.opener.postMessage({event:e,data:t},"*"):console.warn("Cannot run in parent window")},init:function(e){var t=this;window.addEventListener("message",(function(n){n.origin===Object(r.e)(e)&&t.dispatch(n.data.event,n.data.data)}))}}},function(e,t,n){"use strict";t.a=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r,o;!function(i,a,c){"use strict";"undefined"!=typeof window&&n(13)?void 0===(o="function"==typeof(r=c)?r.call(t,n,t,e):r)||(e.exports=o):e.exports?e.exports=c():a.exports?a.exports=c():a.Fingerprint2=c()}(0,this,(function(){"use strict";var e=function(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]]},t=function(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]]},n=function(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])},r=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},o=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=o(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=o(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=o(e,[0,e[0]>>>1])},a=function(a,c){c=c||0;for(var u=(a=a||"").length%16,s=a.length-u,l=[0,c],d=[0,c],f=[0,0],p=[0,0],h=[2277735313,289559509],g=[1291169091,658871167],v=0;v<s;v+=16)f=[255&a.charCodeAt(v+4)|(255&a.charCodeAt(v+5))<<8|(255&a.charCodeAt(v+6))<<16|(255&a.charCodeAt(v+7))<<24,255&a.charCodeAt(v)|(255&a.charCodeAt(v+1))<<8|(255&a.charCodeAt(v+2))<<16|(255&a.charCodeAt(v+3))<<24],p=[255&a.charCodeAt(v+12)|(255&a.charCodeAt(v+13))<<8|(255&a.charCodeAt(v+14))<<16|(255&a.charCodeAt(v+15))<<24,255&a.charCodeAt(v+8)|(255&a.charCodeAt(v+9))<<8|(255&a.charCodeAt(v+10))<<16|(255&a.charCodeAt(v+11))<<24],f=t(f,h),f=n(f,31),f=t(f,g),l=o(l,f),l=n(l,27),l=e(l,d),l=e(t(l,[0,5]),[0,1390208809]),p=t(p,g),p=n(p,33),p=t(p,h),d=o(d,p),d=n(d,31),d=e(d,l),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],p=[0,0],u){case 15:p=o(p,r([0,a.charCodeAt(v+14)],48));case 14:p=o(p,r([0,a.charCodeAt(v+13)],40));case 13:p=o(p,r([0,a.charCodeAt(v+12)],32));case 12:p=o(p,r([0,a.charCodeAt(v+11)],24));case 11:p=o(p,r([0,a.charCodeAt(v+10)],16));case 10:p=o(p,r([0,a.charCodeAt(v+9)],8));case 9:p=o(p,[0,a.charCodeAt(v+8)]),p=t(p,g),p=n(p,33),p=t(p,h),d=o(d,p);case 8:f=o(f,r([0,a.charCodeAt(v+7)],56));case 7:f=o(f,r([0,a.charCodeAt(v+6)],48));case 6:f=o(f,r([0,a.charCodeAt(v+5)],40));case 5:f=o(f,r([0,a.charCodeAt(v+4)],32));case 4:f=o(f,r([0,a.charCodeAt(v+3)],24));case 3:f=o(f,r([0,a.charCodeAt(v+2)],16));case 2:f=o(f,r([0,a.charCodeAt(v+1)],8));case 1:f=o(f,[0,a.charCodeAt(v)]),f=t(f,h),f=n(f,31),f=t(f,g),l=o(l,f)}return l=o(l,[0,a.length]),d=o(d,[0,a.length]),l=e(l,d),d=e(d,l),l=i(l),d=i(d),l=e(l,d),d=e(d,l),("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},c={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"},u=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,r=e.length;n<r;n++)t(e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t(e[o],o,e)},s=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(u(e,(function(e,r,o){n.push(t(e,r,o))})),n)},l=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=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},p=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,r=navigator.plugins.length;n<r;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return g(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),s(t,(function(e){var t=s(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},h=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=s(["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(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(p(e))),t},g=function(e){for(var t=!1,n=0,r=e.plugins.sortPluginsFor.length;n<r;n++){var o=e.plugins.sortPluginsFor[n];if(navigator.userAgent.match(o)){t=!0;break}}return t},v=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},m=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},y=function(e){try{return!!window.indexedDB}catch(t){return e.ERROR}},w=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},b=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},T=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},S=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},x=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]},A=function(e){var t=[],n=document.createElement("canvas");n.width=2e3,n.height=200,n.style.display="inline";var r=n.getContext("2d");return r.rect(0,0,10,10),r.rect(2,2,6,6),t.push("canvas winding:"+(!1===r.isPointInPath(5,5,"evenodd")?"yes":"no")),r.textBaseline="alphabetic",r.fillStyle="#f60",r.fillRect(125,1,62,20),r.fillStyle="#069",e.dontUseFakeFontInCanvas?r.font="11pt Arial":r.font="11pt no-real-font-123",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),r.fillStyle="rgba(102, 204, 0, 0.2)",r.font="18pt Arial",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),r.globalCompositeOperation="multiply",r.fillStyle="rgb(255,0,255)",r.beginPath(),r.arc(50,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(0,255,255)",r.beginPath(),r.arc(100,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,255,0)",r.beginPath(),r.arc(75,100,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,0,255)",r.arc(75,75,75,0,2*Math.PI,!0),r.arc(75,75,25,0,2*Math.PI,!0),r.fill("evenodd"),n.toDataURL&&t.push("canvas fp:"+n.toDataURL()),t},E=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=N()))return null;var n=[],r=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,r);var o=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,o,e.STATIC_DRAW),r.itemSize=3,r.numItems=3;var i=e.createProgram(),a=e.createShader(e.VERTEX_SHADER);e.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(a);var c=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(c,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(c),e.attachShader(i,a),e.attachShader(i,c),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,r.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,r.numItems);try{n.push(e.canvas.toDataURL())}catch(e){}n.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),n.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),n.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),n.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),n.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),n.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),n.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),n.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),n.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){var n=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===n&&(n=2),n}return null}(e)),n.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),n.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),n.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),n.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),n.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),n.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),n.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),n.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),n.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),n.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),n.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),n.push("webgl red bits:"+e.getParameter(e.RED_BITS)),n.push("webgl renderer:"+e.getParameter(e.RENDERER)),n.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),n.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),n.push("webgl vendor:"+e.getParameter(e.VENDOR)),n.push("webgl version:"+e.getParameter(e.VERSION));try{var s=e.getExtension("WEBGL_debug_renderer_info");s&&(n.push("webgl unmasked vendor:"+e.getParameter(s.UNMASKED_VENDOR_WEBGL)),n.push("webgl unmasked renderer:"+e.getParameter(s.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(u(["FLOAT","INT"],(function(t){u(["VERTEX","FRAGMENT"],(function(r){u(["HIGH","MEDIUM","LOW"],(function(o){u(["precision","rangeMin","rangeMax"],(function(i){var a=e.getShaderPrecisionFormat(e[r+"_SHADER"],e[o+"_"+t])[i];"precision"!==i&&(i="precision "+i);var c=["webgl ",r.toLowerCase()," shader ",o.toLowerCase()," ",t.toLowerCase()," ",i,":",a].join("");n.push(c)}))}))}))})),n):n},O=function(){try{var e=N(),t=e.getExtension("WEBGL_debug_renderer_info");return e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL)}catch(e){return null}},C=function(){var e=document.createElement("div");e.innerHTML="&nbsp;",e.className="adsbox";var t=!1;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},P=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},k=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.oscpu,r=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("win")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0?"iOS":t.indexOf("mac")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e)return!0;if(void 0!==n){if((n=n.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(n.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(n.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"===e))return!0}return r.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((r.indexOf("linux")>=0||r.indexOf("android")>=0||r.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((r.indexOf("mac")>=0||r.indexOf("ipad")>=0||r.indexOf("ipod")>=0||r.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||((r.indexOf("win")<0&&r.indexOf("linux")<0&&r.indexOf("mac")<0&&r.indexOf("iphone")<0&&r.indexOf("ipad")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e)))},L=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(("Chrome"===(e=t.indexOf("firefox")>=0?"Firefox":t.indexOf("opera")>=0||t.indexOf("opr")>=0?"Opera":t.indexOf("chrome")>=0?"Chrome":t.indexOf("safari")>=0?"Safari":t.indexOf("trident")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var r,o=eval.toString().length;if(37===o&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===o&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===o&&"Chrome"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),r=!0}catch(e){r=!1}}return r&&"Firefox"!==e&&"Other"!==e},B=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},I=function(){if(!B())return!1;var e=N();return!!window.WebGLRenderingContext&&!!e},j=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},_=function(){return void 0!==window.swfobject},D=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},R=function(e,t){window.___fp_swf_loaded=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var r={onReady:"___fp_swf_loaded"};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,r,{allowScriptAccess:"always",menu:"false"},{})},N=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},F=[{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(w(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(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(v(t))}},{key:"localStorage",getData:function(e,t){e(m(t))}},{key:"indexedDb",getData:function(e,t){e(y(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(T(t))}},{key:"doNotTrack",getData:function(e,t){e(S(t))}},{key:"plugins",getData:function(e,t){j()?t.plugins.excludeIE?e(t.EXCLUDED):e(h(t)):e(p(t))}},{key:"canvas",getData:function(e,t){B()?e(A(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){I()?e(E()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){I()?e(O()):e()}},{key:"adBlock",getData:function(e){e(C())}},{key:"hasLiedLanguages",getData:function(e){e(M())}},{key:"hasLiedResolution",getData:function(e){e(P())}},{key:"hasLiedOs",getData:function(e){e(k())}},{key:"hasLiedBrowser",getData:function(e){e(L())}},{key:"touchSupport",getData:function(e){e(x())}},{key:"fonts",getData:function(e,t){var n=["monospace","sans-serif","serif"],r=["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"];if(t.fonts.extendedJsFonts){r=r.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"])}r=(r=r.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return r.indexOf(e)===t}));var o=document.getElementsByTagName("body")[0],i=document.createElement("div"),a=document.createElement("div"),c={},u={},s=function(){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},l=function(e,t){var n=s();return n.style.fontFamily="'"+e+"',"+t,n},d=function(e){for(var t=!1,r=0;r<n.length;r++)if(t=e[r].offsetWidth!==c[n[r]]||e[r].offsetHeight!==u[n[r]])return t;return t},f=function(){for(var e=[],t=0,r=n.length;t<r;t++){var o=s();o.style.fontFamily=n[t],i.appendChild(o),e.push(o)}return e}();o.appendChild(i);for(var p=0,h=n.length;p<h;p++)c[n[p]]=f[p].offsetWidth,u[n[p]]=f[p].offsetHeight;var g=function(){for(var e={},t=0,o=r.length;t<o;t++){for(var i=[],c=0,u=n.length;c<u;c++){var s=l(r[t],n[c]);a.appendChild(s),i.push(s)}e[r[t]]=i}return e}();o.appendChild(a);for(var v=[],m=0,y=r.length;m<y;m++)d(g[r[m]])&&v.push(r[m]);o.removeChild(a),o.removeChild(i),e(v)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return _()?D()?t.fonts.swfPath?void R((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var n=t.audio;if(n.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var r=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==r)return e(t.NOT_AVAILABLE);var o=new r(1,44100,44100),i=o.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,o.currentTime);var a=o.createDynamicsCompressor();u([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==a[e[0]]&&"function"==typeof a[e[0]].setValueAtTime&&a[e[0]].setValueAtTime(e[1],o.currentTime)})),i.connect(a),a.connect(o.destination),i.start(0),o.startRendering();var c=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/Valve/fingerprintjs2 with your user agent: "'+navigator.userAgent+'".'),o.oncomplete=function(){},o=null,e("audioTimeout")}),n.timeout);o.oncomplete=function(t){var n;try{clearTimeout(c),n=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),a.disconnect()}catch(t){return void e(t)}e(n)}}},{key:"enumerateDevices",getData:function(e,t){if(!l())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],G=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")};return G.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,r;for(r in t)null==(n=t[r])||Object.prototype.hasOwnProperty.call(e,r)||(e[r]=n)}(e,c),e.components=e.extraComponents.concat(F);var n={data:[],addPreprocessedComponent:function(t,r){"function"==typeof e.preprocessor&&(r=e.preprocessor(t,r)),n.data.push({key:t,value:r})}},r=-1,o=function(i){if((r+=1)>=e.components.length)t(n.data);else{var a=e.components[r];if(e.excludes[a.key])o(!1);else{if(!i&&a.pauseBefore)return r-=1,void setTimeout((function(){o(!0)}),1);try{a.getData((function(e){n.addPreprocessedComponent(a.key,e),o(!1)}),e)}catch(e){n.addPreprocessedComponent(a.key,String(e)),o(!1)}}}};o(!1)},G.getPromise=function(e){return new Promise((function(t,n){G.get(e,t)}))},G.getV18=function(e,t){return null==t&&(t=e,e={}),G.get(e,(function(n){for(var r=[],o=0;o<n.length;o++){var i=n[o];if(i.value===(e.NOT_AVAILABLE||"not available"))r.push({key:i.key,value:"unknown"});else if("plugins"===i.key)r.push({key:"plugins",value:s(i.value,(function(e){var t=s(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key))r.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;r.push({key:i.key,value:1})}else i.value?r.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):r.push({key:i.key,value:i.value})}var c=a(s(r,(function(e){return e.value})).join("~~~"),31);t(c,r)}))},G.x64hash128=a,G.VERSION="2.1.0",G}))},function(e,t,n){"use strict";(function(e){var r=n(3),o=setTimeout;function i(e){return Boolean(e&&void 0!==e.length)}function a(){}function c(e){if(!(this instanceof c))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],p(e,this)}function u(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,c._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,r)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof c)return e._state=3,e._value=t,void d(e);if("function"==typeof n)return void p((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,d(e)}catch(t){l(e,t)}var r,o}function l(e,t){e._state=2,e._value=t,d(e)}function d(e){2===e._state&&0===e._deferreds.length&&c._immediateFn((function(){e._handled||c._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)u(e,e._deferreds[t]);e._deferreds=null}function f(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function p(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){var n=new this.constructor(a);return u(this,new f(e,t,n)),n},c.prototype.finally=r.a,c.all=function(e){return new c((function(t,n){if(!i(e))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var o=r.length;function a(e,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var c=i.then;if("function"==typeof c)return void c.call(i,(function(t){a(e,t)}),n)}r[e]=i,0==--o&&t(r)}catch(e){n(e)}}for(var c=0;c<r.length;c++)a(c,r[c])}))},c.resolve=function(e){return e&&"object"==typeof e&&e.constructor===c?e:new c((function(t){t(e)}))},c.reject=function(e){return new c((function(t,n){n(e)}))},c.race=function(e){return new c((function(t,n){if(!i(e))return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=e.length;r<o;r++)c.resolve(e[r]).then(t,n)}))},c._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){o(e,0)},c._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},t.a=c}).call(this,n(10).setImmediate)},function(e,t,n){n(8),e.exports=n(17)},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof l?t:l,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===s)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=u(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var s={};function l(){}function d(){}function f(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,g=h&&h(h(x([])));g&&g!==t&&n.call(g,o)&&(p=g);var v=f.prototype=l.prototype=Object.create(p);function m(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function b(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(b,this),this.reset(!0)}function x(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return d.prototype=v.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},m(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},m(v),v[a]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";(function(e){var t=n(6),r=n(3),o=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==e)return e;throw new Error("unable to locate global object")}();"Promise"in o?o.Promise.prototype.finally||(o.Promise.prototype.finally=r.a):o.Promise=t.a}).call(this,n(4))},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(11),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(4))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,c,u=1,s={},l=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var o={callback:e,args:t};return s[u]=o,r(u),u++},f.clearImmediate=p}function p(e){delete s[e]}function h(e){if(l)setTimeout(h,0,e);else{var t=s[e];if(t){l=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{p(e),l=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(4),n(12))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,s=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?s=u.concat(s):d=-1,s.length&&p())}function p(){if(!l){var e=c(f);l=!0;for(var t=s.length;t;){for(u=s,s=[];++d<t;)u&&u[d].run();d=-1,t=s.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new h(e,t)),1!==s.length||l||c(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(9);"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},writable:!0,configurable:!0}),String.prototype.repeat||(String.prototype.repeat=function(e){if(null==this)throw new TypeError("can't convert "+this+" to object");var t=""+this;if((e=+e)!=e&&(e=0),e<0)throw new RangeError("repeat count must be non-negative");if(e==1/0)throw new RangeError("repeat count must be less than infinity");if(e=Math.floor(e),0==t.length||0==e)return"";if(t.length*e>=1<<28)throw new RangeError("repeat count must not overflow maximum string size");var n=t.length*e;for(e=Math.floor(Math.log(e)/Math.log(2));e;)t+=t,e--;return t+=t.substring(0,n-t.length)});var r=n(0);function o(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function c(e){o(a,r,i,c,u,"next",e)}function u(e){o(a,r,i,c,u,"throw",e)}c(void 0)}))}}var a="undefined"!=typeof ServiceWorkerRegistration?ServiceWorkerRegistration.prototype.unregister:null,c="undefined"!=typeof PushSubscription?PushSubscription.prototype.unsubscribe:null,u=window.MutationObserver;var s=function(e){c&&a&&function(e,t){if(u){var n=window.document;new u((function(t,n){t&&t.forEach((function(t){[].forEach.call(t.addedNodes,(function(t){if("IFRAME"===t.nodeName||"FRAME"===t.nodeName)try{t.contentWindow.ServiceWorkerRegistration.prototype.unregister=i(regeneratorRuntime.mark((function t(){var n,o,i,c,u=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.pushManager.getSubscription();case 2:if(!(n=t.sent)||!Object(r.h)(new Uint8Array(n.options.applicationServerKey),e)){t.next=5;break}return t.abrupt("return",Promise.resolve());case 5:for(o=u.length,i=new Array(o),c=0;c<o;c++)i[c]=u[c];return t.abrupt("return",a.call.apply(a,[this].concat(i)));case 7:case"end":return t.stop()}}),t,this)}))),t.contentWindow.PushSubscription.prototype.unsubscribe=i(regeneratorRuntime.mark((function t(){var n,o,i,c=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(r.h)(new Uint8Array(this.options.applicationServerKey),e)){t.next=2;break}return t.abrupt("return",Promise.resolve());case 2:for(n=c.length,o=new Array(n),i=0;i<n;i++)o[i]=c[i];return t.abrupt("return",a.call.apply(a,[this].concat(o)));case 4:case"end":return t.stop()}}),t,this)})))}catch(e){}}))}))})).observe(n,{attributes:!0,childList:!0,subtree:!0})}t.ServiceWorkerRegistration.prototype.unregister=i(regeneratorRuntime.mark((function t(){var n,o,i,c,u=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.pushManager.getSubscription();case 2:if(!(n=t.sent)||!Object(r.h)(new Uint8Array(n.options.applicationServerKey),e)){t.next=5;break}return t.abrupt("return",Promise.resolve());case 5:for(o=u.length,i=new Array(o),c=0;c<o;c++)i[c]=u[c];return t.abrupt("return",a.call.apply(a,[this].concat(i)));case 7:case"end":return t.stop()}}),t,this)}))),t.PushSubscription.prototype.unsubscribe=i(regeneratorRuntime.mark((function t(){var n,o,i,c=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!Object(r.h)(new Uint8Array(this.options.applicationServerKey),e)){t.next=2;break}return t.abrupt("return",Promise.resolve());case 2:for(n=c.length,o=new Array(n),i=0;i<n;i++)o[i]=c[i];return t.abrupt("return",a.call.apply(a,[this].concat(o)));case 4:case"end":return t.stop()}}),t,this)})))}(e,window)},l=n(2),d=n(1),f=n(5),p=n.n(f);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,c,"next",e)}function c(e){m(i,r,o,a,c,"throw",e)}a(void 0)}))}}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var b=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.registration=t,this.registerUrl=(n._psubdomain||"https://subscribers.production.wpu.sh")+"/register",this.params=n,this.registerParams=Object.assign({},r,{tube:r.tube||"other",sub:+r.sub||0,subid1:r.subid1||"",subid2:r.subid2||"",subid3:r.subid3||"",subid4:r.subid4||"",tcid:+r.tcid||0,spot_id:+r.spot_id||0})}var t,n,o,i,a,c;return t=e,(n=[{key:"getSubscription",value:function(){return this.registration.pushManager.getSubscription()}},{key:"createSubscription",value:(c=y(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.registration.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:this.params.vapKey}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"subscribe",value:(a=y(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getSubscription();case 2:if(!e.sent||!d.a.get("tcPusherRegister")){e.next=6;break}return t=JSON.parse(d.a.get("tcPusherRegister")),e.abrupt("return",t);case 6:return e.next=9,this.createSubscription();case 9:return n=e.sent,e.next=12,p.a.getPromise();case 12:return r=e.sent,o=p.a.x64hash128(r.find((function(e){return"webgl"===e.key})).value[0],31),i=n.getKey("p256dh"),a=n.getKey("auth"),e.next=18,this.registerSubscription(g({contentEncoding:(PushManager.supportedContentEncodings||["aesgcm"])[0],authToken:a?btoa(String.fromCharCode.apply(null,new Uint8Array(a))):null,publicKey:i?btoa(String.fromCharCode.apply(null,new Uint8Array(i))):null,referrer:document.referrer||"",endpoint:n.endpoint,sdkVersion:"2.1.9",href:window.location.href,fp:o},this.registerParams));case 18:return(c=e.sent)&&c.sid&&d.a.add("tcPusherRegister",JSON.stringify(c)),e.abrupt("return",c);case 21:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"registerSubscription",value:(i=y(regeneratorRuntime.mark((function e(t){var n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(r.a)(this.registerUrl,{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify(t)});case 3:if(!(n=e.sent).error){e.next=6;break}throw new Error(n.error);case 6:return o=JSON.parse(n.data),e.abrupt("return",o);case 10:return e.prev=10,e.t0=e.catch(0),console.log("Error with sub api",e.t0),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(e){return i.apply(this,arguments)})}])&&w(t.prototype,n),o&&w(t,o),e}();function T(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/service-worker.js",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};S(this,e),this.path=t,this.options=Object.assign(n,{updateViaCache:"none"})}var t,n,r,o,i;return t=e,(n=[{key:"register",value:(o=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.serviceWorker.register(this.path,this.options);case 3:return t=e.sent,e.next=6,t.update();case 6:return e.abrupt("return",t);case 9:return e.prev=9,e.t0=e.catch(0),console.log("TCPusher service worker register error: ".e),e.abrupt("return",null);case 13:case"end":return e.stop()}}),e,this,[[0,9]])})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){T(i,n,r,a,c,"next",e)}function c(e){T(i,n,r,a,c,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})}])&&x(t.prototype,n),r&&x(t,r),e}();function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var O={possEvents:["click"],made:!1,wait:function(e){var t=this;return new Promise((function(n){t.made&&n(!0),"object"===E(e)&&0!==Object.keys(e).length||n(!0),t.possEvents.indexOf(event)>-1&&n(!0);var o=function(o){Array.isArray(e[o])&&e[o].forEach((function(e){Object(r.k)(o,e,(function(e,r){t.made=!0,n(!0)}))}))};for(var i in e)o(i)}))}};function C(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}var M=function(){return"denied"===Notification.permission},P=function(){return"granted"===Notification.permission},k=function(){return"PushManager"in window},L=function(){return"https:"===location.protocol},B=function(){return!(!opener||!Object(r.g)().remTSub)},I=function(){return null!==navigator.userAgent.match(/Firefox\/\d+/)},j=function(){return new Promise((function(e){var t=document.createElement("script");t.async=1,t.src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",t.onload=function(){return e(!1)},t.onerror=function(){return e(!0)},document.head.appendChild(t)}))},_=function(){return new Promise((function(e){var t=function(){return e(!0)},n=function(){return e(!1)};if("https:"!==location.protocol)return n();if(!window.webkitRequestFileSystem&&!window.RequestFileSystem){if("MozAppearance"in document.documentElement.style){if(null===indexedDB)return t();var r=indexedDB.open("test");return r.onerror=t,void(r.onsuccess=n)}var o=navigator.userAgent.match(/Version\/([0-9\._]+).*Safari/);if(o){if(parseInt(o[1],10)<11)return function(){try{localStorage.length||(localStorage.x=1,localStorage.removeItem("x")),n()}catch(e){navigator.cookieEnabled?t():n()}}();try{return window.openDatabase(null,null,null,null),n()}catch(e){return t()}}return window.indexedDB||!window.PointerEvent&&!window.MSPointerEvent?n():t()}(function(){var e,r=(e=regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!("storage"in navigator)||!("estimate"in navigator.storage)){e.next=11;break}return e.next=3,navigator.storage.estimate();case 3:if((r=e.sent).usage,!(r.quota<12e7)){e.next=10;break}return e.abrupt("return",t());case 10:return e.abrupt("return",n());case 11:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){C(i,r,o,a,c,"next",e)}function c(e){C(i,r,o,a,c,"throw",e)}a(void 0)}))});return function(){return r.apply(this,arguments)}})()()}))},D=(n(14),"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNTEyIDUxMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBjbGFzcz0iIj48Zz48Zz4KCTxnPgoJCTxwYXRoIGQ9Ik00NjcuODEyLDQzMS44NTFsLTM2LjYyOS02MS4wNTZjLTE2LjkxNy0yOC4xODEtMjUuODU2LTYwLjQ1OS0yNS44NTYtOTMuMzEyVjIyNGMwLTY3LjUyLTQ1LjA1Ni0xMjQuNjI5LTEwNi42NjctMTQzLjA0ICAgIFY0Mi42NjdDMjk4LjY2LDE5LjEzNiwyNzkuNTI0LDAsMjU1Ljk5Mywwcy00Mi42NjcsMTkuMTM2LTQyLjY2Nyw0Mi42NjdWODAuOTZDMTUxLjcxNiw5OS4zNzEsMTA2LjY2LDE1Ni40OCwxMDYuNjYsMjI0djUzLjQ4MyAgICBjMCwzMi44NTMtOC45MzksNjUuMTA5LTI1LjgzNSw5My4yOTFsLTM2LjYyOSw2MS4wNTZjLTEuOTg0LDMuMzA3LTIuMDI3LDcuNDAzLTAuMTI4LDEwLjc1MmMxLjg5OSwzLjM0OSw1LjQxOSw1LjQxOSw5LjI1OSw1LjQxOSAgICBINDU4LjY2YzMuODQsMCw3LjM4MS0yLjA2OSw5LjI4LTUuMzk3QzQ2OS44MzksNDM5LjI3NSw0NjkuNzc1LDQzNS4xMzYsNDY3LjgxMiw0MzEuODUxeiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgY2xhc3M9ImFjdGl2ZS1wYXRoIiBzdHlsZT0iZmlsbDojMUM3MkJEIiBkYXRhLW9sZF9jb2xvcj0iIzFjNzJiZCI + PC9wYXRoPgoJPC9nPgo8L2c + PGc + Cgk8Zz4KCQk8cGF0aCBkPSJNMTg4LjgxNSw0NjkuMzMzQzIwMC44NDcsNDk0LjQ2NCwyMjYuMzE5LDUxMiwyNTUuOTkzLDUxMnM1NS4xNDctMTcuNTM2LDY3LjE3OS00Mi42NjdIMTg4LjgxNXoiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSJhY3RpdmUtcGF0aCIgc3R5bGU9ImZpbGw6IzFDNzJCRCIgZGF0YS1vbGRfY29sb3I9IiMxYzcyYmQiPjwvcGF0aD4KCTwvZz4KPC9nPjwvZz4gPC9zdmc + "),R={en:{title:"Subscribe to our push notifications.",buttonAction:"Allow",buttonDecline:"No Thanks"},ru:{title:"Подпишитесь на наши push-уведомления!",buttonAction:"Разрешить",buttonDecline:"Позже"},de:{title:"Abonnieren Sie unsere Push-Benachrichtigungen!",buttonAction:"Ermöglichen",buttonDecline:"Später"},fr:{title:"Abonnez-vous à nos notifications push!",buttonAction:"Retirer",buttonDecline:"Plus tard"},it:{title:"Iscriviti alle nostre notifiche push!",buttonAction:"Permettere",buttonDecline:"Dopo"},es:{title:"Suscríbete a nuestras notificaciones push!",buttonAction:"Permitir",buttonDecline:"Luego"},ja:{title:"私たちのプッシュ通知を購読する!",buttonAction:"許可する",buttonDecline:"後"},hi:{title:"हमारे पुश सूचनाओं की सदस्यता लें!",buttonAction:"अनुमति दें",buttonDecline:"बाद में"}},N=R[r.j]||R.en,F={negative:"actor-negative",positive:"actor-positive"};function G(e){var t="";if(e.style)for(var n in e.style)t+="".concat(n,":").concat(e.style[n],";");return'<button class="poper-button '.concat(F[e.type],'" style="').concat(t,'">').concat(e.text,"</button>")}var U,H,z,V={pop:null,show:function(e){this.pop&&(this.pop.classList.add("poper_show"),Object(r.d)(e,this))},close:function(e){this.pop&&(this.pop.classList.remove("poper_show"),Object(r.d)(e,this))},setEvents:function(e,t){var n=this;this.pop.addEventListener("click",(function(r){r.target.matches(".actor-negative")&&n.close(e),r.target.matches(".actor-positive")&&n.close(t)}),!1)},create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.title,n=void 0===t?N.title:t,o=e.buttonAction,i=void 0===o?{}:o,a=e.buttonDecline,c=void 0===a?{}:a,u=[Object.assign(c,{text:c.text||N.buttonDecline,order:c.order||"0",style:c.style,type:"negative"}),Object.assign(i,{text:i.text||N.buttonAction,order:i.order||"1",style:i.style,type:"positive"})].sort((function(e,t){return e.order-t.order})).map((function(e){return G(e)})).join(""),s=Object(r.b)('<div class="poper"><div class="poper-content"><img class="poper-bell" src="'+D+'" />'+n+'</div><div class="poper-buttons">'+u+"</div></div>");return document.body.appendChild(s),s},init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.pop=this.create({title:e.title,buttonAction:e.buttonAction,buttonDecline:e.buttonDecline}),this.setEvents(e.onClose,e.onAccept),this}};n(15);function W(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}H=document.scrollingElement||document.documentElement,z=null,U=null;var X=function(){return z=H.scrollTop,U=document.body.style.cssText,document.body.style.cssText=";overflow: hidden; position: fixed; height: 100%; width: 100%; top:"+-z+"px; "},Y=function(){return document.body.style.cssText=U,H.scrollTop=z},K=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.params=Object.assign(t,{transparency:t.transparency||".8",text:t.text||"Press “Allow” to continue!",onShow:t.onShow,onClose:t.onClose}),this.overlay=this.createOverlay(),this.is=!1}var t,n,o;return t=e,(n=[{key:"createOverlay",value:function(){var e=Object(r.b)('<div id="puoverlay" class="puoverlay puoverlay-hidden">\n    <div id="puoverlay-box" class="puoverlay-box puoverlay-hidden noselect">\n    <img class="puoverlay-img" src="'.concat(URL.createObjectURL(new Blob(['<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 489 489" style="enable-background:new 0 0 489 489;" xml:space="preserve" width="512px" height="512px" class=""><path d="M429.4,255.033c-35.4-43.1-102.1-94.4-219.7-98.8v-79.8c0-4.7-2.7-9.1-7-11.1s-9.4-1.4-13,1.6L4.5,219.633   c-2.8,2.3-4.5,5.8-4.5,9.4c0,3.7,1.6,7.1,4.4,9.4l185.2,153.3c3.7,3,8.7,3.7,13,1.6c4.3-2,7-6.3,7-11.1v-79.5   c76.8,0.3,194.2,6,256.5,115.9c2.2,3.9,6.3,6.2,10.7,6.2c1,0,2.1-0.1,3.1-0.4c5.4-1.4,9.1-6.3,9.1-11.8   C489.1,371.533,473.4,308.633,429.4,255.033z M197.4,278.233L197.4,278.233c-3.3,0-6.4,1.3-8.7,3.6s-3.6,5.4-3.6,8.7v65.7   l-153.5-127.1l153.6-126.7v65.7c0,6.7,5.4,12.2,12.1,12.3c176,1.7,241.6,109,260.7,184.4   C382.2,278.333,268.7,278.233,197.4,278.233z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#FFFFFF"/></svg>'],{type:"image/svg+xml"})),'">\n    <div class="puoverlay-text">').concat(this.params.text,"</div>\n    </div>\n    </div>"));return document.body.appendChild(e),e}},{key:"show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.helperTopMargin,n=void 0===t?null:t,o=e.showHelper,i=void 0!==o&&o;if(!this.is){if(i){var a=document.getElementById("puoverlay-box");n&&(a.style.marginTop=n),a.classList.remove("puoverlay-hidden")}this.overlay.classList.remove("puoverlay-hidden"),this.is=!0,X(),Object(r.d)(this.params.onShow)}}},{key:"close",value:function(){this.is&&(this.overlay.classList.add("puoverlay-hidden"),this.is=!1,Y(),Object(r.d)(this.params.onClose))}},{key:"showHelper",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.is){var t=document.getElementById("puoverlay-box");e&&(t.style.marginTop=e),t.classList.remove("puoverlay-hidden")}}}])&&W(t.prototype,n),o&&W(t,o),e}();function Z(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Q=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.overlay=t?new K(t):null;var r=document.createElement("link");r.href=(n||"https://sw.wpu.sh")+"/npc/sdk/push/styles.css",r.rel="stylesheet",document.head.appendChild(r)}var t,n,o,i,a;return t=e,(n=[{key:"showNativePrompt",value:(i=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.overlay&&this.overlay.show({showHelper:!0}),e.next=3,Notification.requestPermission();case 3:return t=e.sent,this.overlay&&this.overlay.close(),e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)})),a=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=i.apply(e,t);function a(e){Z(o,n,r,a,c,"next",e)}function c(e){Z(o,n,r,a,c,"throw",e)}a(void 0)}))},function(){return a.apply(this,arguments)})},{key:"showPopupPrompt",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(n){var o=t.id?"tcPPopupStoper_".concat(t.id):"tcPPopupStoper";if(d.b.get(o))return n({status:!1});e.overlay&&!t.noOverlay&&e.overlay.show({showHelper:t.showHelper,helperTopMargin:"170px"});var i=V.init({title:t.title,buttonAction:t.buttonAction,buttonDecline:t.buttonDecline,onClose:function(){e.overlay&&e.overlay.close(),d.b.add(o,1,t.capping||360),Object(r.d)(t.onClose),n({status:!1})},onAccept:function(){Object(r.d)(t.onAccept),n({status:!0,end:function(){e.overlay&&e.overlay.close()}})}});setTimeout((function(){return i.show(t.onShow)}),t.showDelay)}))}}])&&J(t.prototype,n),o&&J(t,o),e}();var q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&e.blocked){var n=e.blocked[r.j]||e.default&&e.default[r.j]||e.blocked.en;if(n)return n}return e.default&&(e.default[r.j]||e.default.en)||e};function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}var oe=Object(r.n)("BA+ojkq9so7q7OARyvfbHGohFYx7mCLSzi2lztFiKoL5Nrnh2Iqdx7/3A12uiiYs4zRO9qotEtHApQ02R7KeY/Y=");s(oe);var ie={serviceWorkerRegistration:null,isRemote:B(),uriParams:Object(r.g)()},ae={init:function(e){return(t=regeneratorRuntime.mark((function t(){var n,o,i,a,c,u,s,d,f,p,h,g,v,m,y,w,T,S,x,E,C,B,D,R,N,F,G,U,H,z,V,W,X,Y,K,Z,J,$,te,re,ae,ce,ue,se,le,de,fe,pe,he,ge,ve,me,ye,we,be,Te,Se,xe,Ae,Ee,Oe;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e._pdomain,o=void 0===n?null:n,i=e._psubdomain,a=void 0===i?null:i,c=e.initActions,u=void 0===c?null:c,s=e.withoutPermissionRegister,d=void 0===s||s,f=e.serviceWorkerPath,p=void 0===f?"/tcpusher.js":f,h=e.serviceWorkerOptions,g=void 0===h?{}:h,v=e.isRemoteSW,m=void 0!==v&&v,y=e.promptOptions,w=void 0===y?{}:y,T=e.subLocker,S=void 0===T?null:T,x=e.remoteSubOnDenied,E=void 0!==x&&x,C=e.remoteSub,B=void 0===C?{poperText:{},tryDelay:360}:C,D=e.tube,R=void 0===D?"tcpublisher":D,N=e.sub,F=void 0===N?Object(r.f)():N,G=e.subid1,U=void 0===G?"":G,H=e.subid2,z=void 0===H?"":H,V=e.subid3,W=void 0===V?"":V,X=e.subid4,Y=void 0===X?"":X,K=e.tcid,Z=void 0===K?0:K,J=e.spot_id,$=void 0===J?0:J,te=e.extSubParams,re=void 0===te?{}:te,ae=e.skipsw,ce=void 0!==ae&&ae,ue=e.onProcessPermission,se=void 0===ue?null:ue,le=e.onRequestPermission,de=void 0===le?null:le,fe=e.onSubscribed,pe=void 0===fe?null:fe,he=e.onSubProcess,ge=void 0===he?null:he,+Z>0&&document.body.appendChild(Object.assign(document.createElement("script"),{onload:function(){"function"==typeof window["__fp-init"]&&window["__fp-init"]({tcid:Z,subid:F,site:R})},src:"https://sw.wpu.sh/ps/natpsdk.js",async:1})),!ce){t.next=9;break}if("object"!==ne(ce)){t.next=8;break}if(!ce.ff||!I()){t.next=6;break}return t.abrupt("return");case 6:t.next=9;break;case 8:return t.abrupt("return");case 9:return t.next=11,_();case 11:if(t.t0=t.sent,t.t0){t.next=14;break}t.t0=!k();case 14:if(!t.t0){t.next=16;break}return t.abrupt("return");case 16:if(!d){t.next=21;break}return ve=new A(p,g),t.next=20,ve.register();case 20:ie.serviceWorkerRegistration=t.sent;case 21:if(!u||P()){t.next=24;break}return t.next=24,O.wait(u);case 24:if(me=new Q(S,o),ie.isRemote||!(!L()||E&&M())){t.next=43;break}return t.next=28,Object(r.i)("https://sw.wpu.sh/npc/sdk/push/remotesub.js",(function(){return window.getRemoteSubscriber()}));case 28:if(ye=t.sent,(we=new ye(B)).isPossible()){t.next=32;break}return t.abrupt("return");case 32:return be=q(B.poperText,M()),t.next=35,me.showPopupPrompt({title:be.title,buttonAction:be.buttonAction,buttonDecline:be.buttonDecline,onClose:B.onPoperDecline,onAccept:B.onPoperAction,onShow:B.onPoperShow,showDelay:B.showPoperDelay,capping:B.tryDelay,noOverlay:B.noOverlay,showHelper:!0,id:"remote"});case 35:if((Te=t.sent).status){t.next=38;break}return t.abrupt("return");case 38:return t.next=40,we.subscribe({sub:F,subid1:U,subid2:z,subid3:W,subid4:Y,tcid:Z,spot_id:$,tube:R});case 40:return t.sent,Te.end(),t.abrupt("return");case 43:if(!M()){t.next=45;break}return t.abrupt("return");case 45:if(P()){t.next=61;break}if(Object(r.d)(se),!(I()||Object.keys(w).length>0)){t.next=53;break}return t.next=50,me.showPopupPrompt(Object.assign(w,{title:w.title,buttonAction:w.buttonAction,buttonDecline:w.buttonDecline,onAccept:w.onAccept,onClose:w.onClose,onShow:w.onShow,capping:w.closeCapping,showHelper:!1,id:"prompt"}));case 50:if(t.sent.status){t.next=53;break}return t.abrupt("return");case 53:return(new Image).src="https://notification.tubecup.net/in/subscription-offers?".concat(Object(r.l)(ee(ee({href:location.href,tcid:Z,spot_id:$,site:R,source_id:F},Object(r.m)(["utm_source","utm_medium","utm_campaign","utm_content"])),re))),t.next=56,me.showNativePrompt();case 56:if(Se=t.sent,Object(r.d)(de,Se),"granted"===Se){t.next=61;break}return ie.isRemote&&l.a.sendParent("sub","denied"===Se?2:3),t.abrupt("return");case 61:if(ie.serviceWorkerRegistration){t.next=66;break}return xe=new A(p,g),t.next=65,xe.register();case 65:ie.serviceWorkerRegistration=t.sent;case 66:return Ae=ee(ee({},Object(r.m)(["utm_source","utm_medium","utm_campaign","utm_content"])),{},{tube:R,sub:F,subid1:U,subid2:z,subid3:W,subid4:Y,tcid:Z,spot_id:$},re),m&&(Ae=Object.assign(Ae,ie.uriParams)),t.next=70,j();case 70:if(!t.sent){t.next=72;break}Ae.is_adblock=1;case 72:return Ee=new b(ie.serviceWorkerRegistration,{_psubdomain:a,vapKey:oe},Ae),Object(r.d)(ge),t.next=76,Ee.subscribe();case 76:Oe=t.sent,Object(r.d)(pe,Oe),ie.isRemote&&l.a.sendParent("sub",Oe?1:3);case 79:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(e){re(i,r,o,a,c,"next",e)}function c(e){re(i,r,o,a,c,"throw",e)}a(void 0)}))})();var t}};window.tcpusher=function(){ae[arguments[0]].apply(this,[].slice.call(arguments,1))},function(e,t,n){try{(n=new Event(e))._init=t,window.dispatchEvent(n)}catch(n){"function"==typeof window[e]&&window[e](t)}}("push-init",(function(e){window.tcpusher("init",e)}))}]);