w3.mp.lura.live Open in urlscan Pro
2600:1901:0:2954::  Public Scan

URL: https://w3.mp.lura.live/player/3.12.14-beta/v3/scripts/anvload.js
Submission: On August 22 via manual from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

/*!
 * Anvato Universal Player 3.12.14-beta
 * Copyright (c) 2023 Google LLC
 * For license information, see anvload.js.licenses.txt
 */!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=504)}([function(e,t,n){"use strict";n(17),n(18),n(23),n(11),n(58),n(55),n(70),n(34),n(14),n(44),n(63),n(45),n(92),n(119),n(215),n(155),n(35),n(133),n(69),n(15),n(112),n(118),n(25),n(29),n(20),n(197),n(43),n(209),n(52),n(211),n(83),n(198),n(283),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(59),n(22),n(241);var r,i=n(33),o=n.n(i),a=n(137),s=n.n(a),c=n(279),l=n(89),f=n.n(l);n(292);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e){return function(e){if(Array.isArray(e))return e}(e)||p(e)||m(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){return function(e){if(Array.isArray(e))return v(e)}(e)||p(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function b(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=m(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,o=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==r.return||r.return()}finally{if(a)throw i}}}}function m(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e){return(g="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 y,w="data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAABIltZGF03gIATGF2YzU3LjkzLjEwMABCIAjBGDghEARgjBwAAABLBgRHtQAxR0E5NAPU//yUIP2cIPyAgP2AgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgPqAgP+AAAACaQYF//9l3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDEyMCAtIEguMjY0L01QRUctNCBBVkMgY29kZWMgLSBDb3B5bGVmdCAyMDAzLTIwMTEgLSBodHRwOi8vd3d3LnZpZGVvbGFuLm9yZy94MjY0Lmh0bWwgLSBvcHRpb25zOiBjYWJhYz0xIHJlZj0xIGRlYmxvY2s9MTowOjAgYW5hbHlzZT0weDM6MHgxMTMgbWU9aGV4IHN1Ym1lPTYgcHN5PTEgcHN5X3JkPTEuMDA6MC4wMCBtaXhlZF9yZWY9MCBtZV9yYW5nZT0xNiBjaHJvbWFfbWU9MCB0cmVsbGlzPTEgOHg4ZGN0PTEgY3FtPTAgZGVhZHpvbmU9MjEsMTEgZmFzdF9wc2tpcD0xIGNocm9tYV9xcF9vZmZzZXQ9LTIgdGhyZWFkcz04IHNsaWNlZF90aHJlYWRzPTAgbnI9MCBkZWNpbWF0ZT0xIGludGVybGFjZWQ9MCBibHVyYXlfY29tcGF0PTAgY29uc3RyYWluZWRfaW50cmE9MCBiZnJhbWVzPTAgd2VpZ2h0cD0yIGtleWludD0xNTAga2V5aW50X21pbj0yNSBzY2VuZWN1dD0wIGludHJhX3JlZnJlc2g9MCByYz0ycGFzcyBtYnRyZWU9MCBiaXRyYXRlPTEyMDAgcmF0ZXRvbD0xLjAgcWNvbXA9MC42MCBxcG1pbj0xMCBxcG1heD01MSBxcHN0ZXA9NCBjcGx4Ymx1cj0yMC4wIHFibHVyPTAuNSBpcF9yYXRpbz0xLjQwIGFxPTE6MS4wMACAAAABnmWIhD/+2+gEqfgU2VgP++gqR0L7aDULYnT4iugAAAMAAAMAAAMAAAMAAKIwmzvGytzHNAAAAwAAAwAAMCAAABFQAAAIWAAABqAAAAZIAAAHEAAAB/AAAAmQAAAQ0AAAICAAADFAAAB2AAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAADAAAICSEQBGCMHAAABO9tb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAARgABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAACA3RyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAEAAAAAAAAARgAAAAAAAAAAAAAAAQEAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAAC4AAAQAAAEAAAAAAXttZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAAKxEAAAMAFXEAAAAAAAtaGRscgAAAAAAAAAAc291bgAAAAAAAAAAAAAAAFNvdW5kSGFuZGxlcgAAAAEmbWluZgAAABBzbWhkAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAADqc3RibAAAAGpzdHNkAAAAAAAAAAEAAABabXA0YQAAAAAAAAABAAAAAAAAAAAAAgAQAAAAAKxEAAAAAAA2ZXNkcwAAAAADgICAJQABAASAgIAXQBUAAAAAAfQAAAAPswWAgIAFEhBW5QAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAwAABAAAAAAoc3RzYwAAAAAAAAACAAAAAQAAAAIAAAABAAAAAgAAAAEAAAABAAAAIHN0c3oAAAAAAAAAAAAAAAMAAAAXAAAABgAAAAYAAAAYc3RjbwAAAAAAAAACAAAAMAAABKsAAAIWdHJhawAAAFx0a2hkAAAAAwAAAAAAAAAAAAAAAgAAAAAAAAAqAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAeAAAAEOAAAAAAAJGVkdHMAAAAcZWxzdAAAAAAAAAABAAAAKgAAAAAAAQAAAAABjm1kaWEAAAAgbWRoZAAAAAAAAAAAAAAAAABMS0AAAzRQVcQAAAAAAC1oZGxyAAAAAAAAAAB2aWRlAAAAAAAAAAAAAAAAVmlkZW9IYW5kbGVyAAAAATltaW5mAAAAFHZtaGQAAAABAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAAD5c3RibAAAAJVzdHNkAAAAAAAAAAEAAACFYXZjMQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAeABDgASAAAAEgAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABj//wAAAC9hdmNDAWQAKP/hABdnZAAorLQDwBE/LCAAZbmgExLQAeMGVAEABWjvMsiwAAAAGHN0dHMAAAAAAAAAAQAAAAEAAzRQAAAAHHN0c2MAAAAAAAAAAQAAAAEAAAABAAAAAQAAABRzdHN6AAAAAAAABF4AAAABAAAAFHN0Y28AAAAAAAAAAQAAAE0AAABidWR0YQAAAFptZXRhAAAAAAAAACFoZGxyAAAAAAAAAABtZGlyYXBwbAAAAAAAAAAAAAAAAC1pbHN0AAAAJal0b28AAAAdZGF0YQAAAAEAAAAATGF2ZjU3LjcyLjEwMQ==",S={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"},A=0,E=function(){var e="undefined",t=window,n=document,r=navigator,i=g(n.getElementById)!=e&&g(n.getElementsByTagName)!=e&&g(n.createElement)!=e,o=r.userAgent.toLowerCase(),a=r.platform.toLowerCase(),s=r.vendor,c=/win/.test(a||o),l=/mac/.test(a||o),f=/iphone/.test(a||o),u=/ipad/.test(a||o),d=/ipod/.test(a||o),h=!!a&&/cros/.test(a),p=/(smart.*tv|maple|tizen)/.test(o),b=/nexus player/.test(o),m=/amazonwebappplatform|aft\w+/.test(o),v=/android/.test(a||o),y=m||b;v=(v=(v=(v=(v=(v=(v=v||/linux arm/.test(a||o))||/linux.+arch/.test(a||o))||/android/.test(o))&&!h)&&!m)&&!b)&&!p;var w=/windows phone/.test(o),S=/bb10|black.*berry/.test(o),A=!!/webkit/.test(o)&&parseFloat(o.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")),E=!1,_=!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,k="undefined"!=typeof InstallTrigger;k=k||(u||f)&&/fxios/.test(o);var x=/^((?!chrome|android).)*safari/.test(o)&&s&&/apple/i.test(s)||Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,M=!!window.chrome&&!_;E=(E=!!document.documentMode)||/msie|trident/.test(o);var T=/edge/.test(o),C=/fb4a/.test(o),O=[0,0,0],R=v&&/version\//.test(o),N=null,I=function(){var e,t=navigator.userAgent,n=navigator.appName,r=t.match(/(opera|chrome|safari|firefox|msie|trident)\/?\s*([\d\.]+)/i)||[];(r=r[2]?[r[1],r[2]]:[n,navigator.appVersion,"-?"])&&null!=(e=t.match(/version\/([\.\d]+)/i))&&(r[2]=e[1]);r.length>1&&"trident"==r[0]&&(r[0]="msie",r[1]=parseInt(r[1])+4);return r}();if(g(r.plugins)!=e&&"object"==g(r.plugins["Shockwave Flash"]))!(N=r.plugins["Shockwave Flash"].description)||g(r.mimeTypes)!=e&&r.mimeTypes["application/x-shockwave-flash"]&&!r.mimeTypes["application/x-shockwave-flash"].enabledPlugin||(!0,N=N.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),O[0]=parseInt(N.replace(/^(.*)\..*$/,"$1"),10),O[1]=parseInt(N.replace(/^.*\.(.*)\s.*$/,"$1"),10),O[2]=/[a-zA-Z]/.test(N)?parseInt(N.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(g(t.ActiveXObject)!=e)try{var D=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash");D&&(N=D.GetVariable("$version"))&&(E=!0,N=N.split(" ")[1].split(","),O=[parseInt(N[0],10),parseInt(N[1],10),parseInt(N[2],10)])}catch(e){}var P=m||f||u||d||v||w||S;return{browserInfo:I,w3:i,pv:O,wk:A,ie:E,edge:T,win:c,mac:l,ios:f||u||d,iphone:f,ipad:u,ipod:d,android:v&!S&&!w&&!p,windowsPhone:w,blackberry:S,smartTV:p,isMobileBrowser:P,deviceType:P?m?"firetv":b?"androidtv":u?"tablet":f||d||w||S?"phone":window.devicePixelRatio&&screen.width&&screen.width/window.devicePixelRatio>=700?"tablet":"phone":"desktop",firefox:k,safari:x,chrome:M,opera:_,firetv:m,androidTV:b,ott:y,facebookForAndroid:C,androidWebview:R}}(),_={getItem:function(e){return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},setItem:function(e,t,n,r,i,o){if(!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e))return!1;var a="";if(n)switch(n.constructor){case Number:a=n===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:a="; expires="+n;break;case Date:a="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+a+(i?"; domain="+i:"")+(r?"; path="+r:"")+(o?"; secure":""),!0},hasItem:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},expireItem:function(e,t,n){return!(!e||!new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie))&&(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:"")+(t?"; path="+t:""),!0)},removeItem:function(e,t,n){var r,i,o;if(t)return _.expireItem(e,t,n);if(!(r=location.pathname))return!1;i=(r=r.replace(/^\/|\/$/g,"")).split("/"),o="",_.expireItem(e),_.expireItem(e,"/",n);for(var a=0;a<i.length;a++)o+="/"+i[a],_.expireItem(e,o,n);return!0},keys:function(){for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=decodeURIComponent(e[t]);return e}};function k(e,t){var n=[],r=0,i=e.length;t&&(i>32&&(e=e.slice(0,32)),i<16?r=16-e.length:i<24?r=24-e.length:i<32&&(r=32-e.length));for(var o=0,a=e.length;o<a;o++)n.push(e.charCodeAt(o));for(;r;)n.push(0),r--;return n}function x(e){for(var t,n=[],r=0,i=e.length;r<i;r++)1==(t=e[r].toString(16)).length&&(t="0"+t),n.push(t);return n.join("-")}function M(e,t){for(var n=[],r=0,i=e.length;r<i;r++)!e[r]&&t||n.push(String.fromCharCode(e[r]));return n.join("")}function T(e){for(var t,n,r,i,o,a,s,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",f=0;f<e.length;)i=(t=e[f++])>>2,o=(3&t)<<4|(n=e[f++])>>4,a=(15&n)<<2|(r=e[f++])>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),l=l+c.charAt(i)+c.charAt(o)+c.charAt(a)+c.charAt(s);return l}var C={ZERO:0,PKCS7:1};function O(e){for(var t=e.length;--t&&0==e[t];);return e=e.slice(0,t+1)}function R(e){var t;if(e.length%16==0)return e;for(t=16-e.length%16;t>0&&t--;)e.push(0);return e}function N(e){for(var t,n=[],r=0,i=e.length;r<i/2;r++)t=parseInt(e[2*r]+e[2*r+1],16),n.push(t);return n}function I(e){return(e<10?"0":"")+e}function D(e,t){var n=/((https*:)*\/\/[^/]*)\/*(.*)/;if(/^(https*:\/\/|\/\/)/.test(t))return t;var r=n.exec(e);if(n.length<4)return null;var i=[r[1]].concat(r[3].split("/")),o=t.split("/");""===i[i.length-1]&&i.pop();for(var a=0,s=o.length;a<s;a++)if(".."==o[a]){if(i.pop(),!i.length)return null}else"."!=o[a]&&i.push(o[a]);return i.join("/")}function P(e,t){var n,r=window.location.href+"";if(/^(https*:\/\/|\/\/)/.test(e)||((n=document.createElement("a")).href="./",e=D(n.href,e)),r.match(/https/)){var i=e.match(/http:\/\/(.*)\.s3.amazonaws.com\/(.*)/);i&&(e="https://s3.amazonaws.com/"+i[1]+"/"+i[2])}var o=document.getElementsByTagName("body")[0],a=document.createElement("script");a.type="text/javascript",t&&(a.onload=t),a.src=e,o.appendChild(a)}function F(e){var t,n,r,i,o,a,s,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",f=0;for(e=ee(e);f<e.length;)i=(t=e.charCodeAt(f++))>>2,o=(3&t)<<4|(n=e.charCodeAt(f++))>>4,a=(15&n)<<2|(r=e.charCodeAt(f++))>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),l=l+c.charAt(i)+c.charAt(o)+c.charAt(a)+c.charAt(s);return l}function L(e){return V(j(q(e),8*e.length))}function j(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n=Array(80),r=1732584193,i=-271733879,o=-1732584194,a=271733878,s=-1009589776,c=0;c<e.length;c+=16){for(var l=r,f=i,u=o,d=a,h=s,p=0;p<80;p++){n[p]=p<16?e[c+p]:H(n[p-3]^n[p-8]^n[p-14]^n[p-16],1);var b=z(z(H(r,5),B(p,i,o,a)),z(z(s,n[p]),U(p)));s=a,a=o,o=H(i,30),i=r,r=b}r=z(r,l),i=z(i,f),o=z(o,u),a=z(a,d),s=z(s,h)}return[r,i,o,a,s]}function B(e,t,n,r){return e<20?t&n|~t&r:e<40?t^n^r:e<60?t&n|t&r|n&r:t^n^r}function U(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function z(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function H(e,t){return e<<t|e>>>32-t}function q(e){for(var t=[],n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<24-n%32;return t}function V(e){for(var t="",n=0;n<4*e.length;n+=3)for(var r=(e[n>>2]>>8*(3-n%4)&255)<<16|(e[n+1>>2]>>8*(3-(n+1)%4)&255)<<8|e[n+2>>2]>>8*(3-(n+2)%4)&255,i=0;i<4;i++)8*n+6*i>32*e.length?t+="=":t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r>>6*(3-i)&63);return t}function K(){return window.location.protocol.indexOf("https")>-1}function W(){try{return"localStorage"in window&&!!window.localStorage}catch(e){return!1}}var Y={evaluationCompleted:!1},G=[];function J(e,t){"error"==e?$():"ended"!=e||Y.evaluationCompleted||X(t)}function Z(e,t,n,r){var i=document.createElement("video"),o=document.createElement("source");i.appendChild(o),i.setAttribute("playsinline",""),t&&(i.muted=!0),o.src=e,o.type="video/mp4",i.onerror=J.bind(null,"error",t),o.onerror=J.bind(null,"error",t),i.onended=J.bind(null,"ended",t),i.load();var a=i.play();void 0!==a?a.then(n.bind(null,t)).catch(r.bind(null,e,t)):n(!1)}function X(e){var t;e?(Y.mutedAutoPlay=!0,t="MUTED_AUTOPLAY"):(Y.unmutedAutoPlay=!0,t="UNMUTED_AUTOPLAY"),window.cacheAutoPlayStatus&&W()&&window.localStorage.setItem(t,1),$()}function Q(e,t,n){var r;n&&n.message&&/play.*interrupt.*pause/.test(n.message)?$():(t?(Y.mutedAutoPlay=!1,r="MUTED_AUTOPLAY",$()):(Y.unmutedAutoPlay=!1,r="UNMUTED_AUTOPLAY",Z(e,!0,X,Q)),window.cacheAutoPlayStatus&&W()&&window.localStorage.setItem(r,0))}function $(){var e;if(!Y.evaluationCompleted)for(Y.evaluationCompleted=!0;G.length;)"function"==typeof(e=G.shift()).fn&&e.fn.apply(null,e.args)}function ee(e){var t="";if("function"==typeof unescape)return unescape(encodeURIComponent(e));e=e.replace(/\x0d\x0a/g,"\n");for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}function te(e){for(var t,n="",r=0,i=0,o=0;r<e.length;)(i=e.charCodeAt(r))<128?(n+=String.fromCharCode(i),r++):i>191&&i<224?(o=e.charCodeAt(r+1),n+=String.fromCharCode((31&i)<<6|63&o),r+=2):(o=e.charCodeAt(r+1),t=e.charCodeAt(r+2),n+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&t),r+=3);return n}function ne(e,t){var n,r,i=[];for(var o in e)e.hasOwnProperty(o)&&(n=t?o:encodeURIComponent(o),(r=t?e[o]:encodeURIComponent(e[o]))||null!=r||(r=""),i.push(n+"="+r));return i.join("&")}function re(e){var t,n=/.*(\?.*)/.exec(e),r={};if(n)for(var i=0,o=(t=(t=(n=n[1].replace(/\?/,"")).split("&")).map((function(e){return e.split("=")}))).length;i<o;i++)t[i]&&t[i].length&&t[i][0]&&t[i][0].length&&(r[t[i][0]]=t[i][1]);return r}function ie(e,t,n){return n&&(t="anv-"+t),e.className+=" "+t,t}function oe(e,t,n,r){e.addEventListener?(r=void 0!==r&&r,e.addEventListener(t,n,r)):e.attachEvent("on"+t,n)}function ae(e,t){e.pause(),t.remove()}function se(e,t){e.remove()}function ce(e){var t,n,r;return"string"==typeof e?t=e:"object"===g(e)&&null!==e&&("string"==typeof e.filename&&(t=e.filename),"string"==typeof e.type&&(n=e.type),isNaN(e.quality)||(r=e.quality)),t||(t="snapshot.png"),n||(n=function(e){var t=e.split("."),n=t.length>=2?t.pop().toLowerCase():"png";switch(n){case"ico":case"cur":return"image/x-icon";case"jpg":case"jfif":case"pjpeg":case"pjp":return"image/jpeg";case"svg":return"image/svg+xml";case"tif":return"image/tiff";default:return"image/"+n}}(t)),{filename:t,mimeType:n,quality:r}}function le(e){var t=document.createElement("canvas");return t.width=e.clientWidth,t.height=e.clientHeight,t.getContext("2d").drawImage(e,0,0,t.width,t.height),t}function fe(e){var t=parseInt(e,10),n=Math.floor(t/3600),r=Math.floor((t-3600*n)/60),i=t-3600*n-60*r;return n<10&&(n="0"+n),r<10&&(r="0"+r),i<10&&(i="0"+i),n+":"+r+":"+i}function ue(e,t,n){var r={t:"live",_i:t,_ep:e,_apt:"a:".concat(n),w:"pr"},i=[];for(var o in r)r.hasOwnProperty(o)&&i.push(encodeURIComponent(o)+"="+encodeURIComponent(r[o]));r=i.join("&");var a=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var i=e[n],o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);o>=0&&(null==t&&(t=e),t[n]="HR_OgEWXetKB6TyJfbD3VU42zNLx.90mosjv1cSl8AaCGQphIdP5qFYnru7MwZki ".charAt(o))}return null!=t?t.toString().replace(new RegExp(",","g"),""):e}(F(r)).trim();return"https://dcs-png.mp.lura.live/a?q=".concat(a)}window.cacheAutoPlayStatus&&W()&&(Y.unmutedAutoPlay=window.localStorage.getItem("UNMUTED_AUTOPLAY"),Y.mutedAutoPlay=window.localStorage.getItem("MUTED_AUTOPLAY"),"string"==typeof Y.unmutedAutoPlay&&(Y.unmutedAutoPlay="1"==Y.unmutedAutoPlay),"string"==typeof Y.mutedAutoPlay&&(Y.mutedAutoPlay="1"==Y.mutedAutoPlay)),!0===Y.unmutedAutoPlay?$():"boolean"==typeof Y.mutedAutoPlay?(Y.unmutedAutoPlay=!1,$()):(Z(w,!1===Y.unmutedAutoPlay||E.isMobileBrowser,X,Q),setTimeout($,1500)),t.a=(u(r={getDcsApiPattern:function(){return/dcs/},requestFullScreen:function(e){e.requestFullScreen?e.requestFullScreen():e.requestFullscreen?e.requestFullscreen():e.webkitEnterFullScreen?e.webkitEnterFullScreen(Element.ALLOW_KEYBOARD_INPUT):e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(E.safari?void 0:Element.ALLOW_KEYBOARD_INPUT):e.msRequestFullscreen&&e.msRequestFullscreen(e)},checkFullscreen:function(e){var t=!1;return!E.facebookForAndroid&&!E.androidWebview&&(e.requestFullScreen?t=!0:e.requestFullscreen?t=!0:e.webkitEnterFullScreen?t=!0:e.mozRequestFullScreen?t=!0:e.webkitRequestFullscreen?t=!0:e.msRequestFullscreen&&(t=!0),t)},cancelFullScreen:function(e){document.cancelFullScreen?document.cancelFullScreen():document.cancelFullscreen?document.cancelFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():e&&e.webkitExitFullscreen&&e.webkitExitFullscreen()},aesStdEncrypt:function(e,t,n,r,i,a){var s,c=k(n),l=ee(t),f={},u={};if(f[C.ZERO]=R,f[C.PKCS7]=o.a.padding.pkcs7.pad,u[C.ZERO]=O,u[C.PKCS7]=o.a.padding.pkcs7.strip,void 0===a&&(a=C.ZERO),t=k(l),"string"==typeof i&&(i=k(i)),!(e in o.a.ModeOfOperation))throw new Error("Specified AES mode of operation is not supported/valid");return s=new o.a.ModeOfOperation[e](c,i).encrypt(f[a](t)),"hex"==r?x(s):"base64"==r?T(s):M(s,!0)},log:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,o=t[0];t[1];r=1,">"===o.charAt(0)&&(i=o.slice(1),r=2);var a=Array.prototype.slice.call(t,r);i?console.log("["+i+"] ",a.join(" ")):console.log(a.join(" "))},getWindowSize:function(){return{w:screen.width,h:screen.height}},getCumulativeOffset:function(e){var t,n,r;if(t=n=0,window.self!==window.top&&e.offsetWidth<e.clientWidth&&e.getBoundingClientRect().width<100)n=100*(r=e.getBoundingClientRect()).top,t=100*r.left;else if(e.offsetParent)do{t+=e.offsetLeft,n+=e.offsetTop}while(e=e.offsetParent);return{x:t,y:n}},getRelativeOffset:function(e,t){var n,r;if(n=r=0,e.offsetParent)for(;e&&e!=t;)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{x:n,y:r}},getBitrateForScreenSize:function(e,t,n){return.5*e*t*n},postMessage:function(e){parent.window.postMessage(e,"*")},getDeviceInfo:E,node2Obj:function(e){return{getNode:function(){return e},getLayout:function(){}}},getSnapshot:function(e,t){var n=ce(t);return le(e).toDataURL(n.mimeType,n.quality)},saveSnapshot:function(e,t){var n=ce(t);!function(e,t,n,r){if(e.toBlob)e.toBlob(r,t,n);else{for(var i=e.toDataURL(t,n),o=atob(i.substr(i.indexOf(",")+1)),a=new Uint8Array(o.length),s=0;s<o.length;++s)a[s]=o.charCodeAt(s);r(new Blob([a],{type:t}))}}(le(e),n.mimeType,n.quality,(function(e){Object(c.saveAs)(e,n.filename)}))},download:function(e,t,n,r,i,o,a,s){var c,l=0==e.indexOf("file:")||0==window.location.href.indexOf("file:")&&-1==e.indexOf("http:"),f={};t&&(e+="?"+("object"==g(t)?ne(t):t));var u=new XMLHttpRequest;K()&&(e=e.replace(/^https*:\/\//,"https://"));try{if(u.open("GET",e),o&&(u.withCredentials=!0),s&&(u.responseType=s),i)for(var d in i)i.hasOwnProperty(d)&&u.setRequestHeader(d,i[d])}catch(e){return r&&r(0,"Problem opening request"),!1}u.onreadystatechange=function(){if(4==u.readyState)if(200==u.status||l&&0==u.status){"function"==typeof u.getAllResponseHeaders&&(c=u.getAllResponseHeaders()),f.url=e,f.responseUrl=u.responseURL;try{var t,i;if(null===(t=JSON.parse(u.response))||void 0===t?void 0:t.breaks)y=null===(i=JSON.parse(u.response))||void 0===i?void 0:i.breaks}catch(e){y={}}n("arraybuffer"==s?u.response:u.responseText,c,f)}else r&&("arraybuffer"==s?r(u.status):r(u.status,u.responseText))};try{return u.send(),!0}catch(e){return r&&r(0,"Problem sending request"),!1}},parseDFXP:function(e){var t=[];function n(e){var t,n;if(e){if(n=0,(t=e.split(":")).length<=3)for(var r=t.length-1,i=0;r>=0;r--,i++)n+=parseFloat(t[r])*Math.pow(60,i);else if(4==t.length){for(var o=2,a=0;o>=0;o--,a++)n+=parseFloat(t[o])*Math.pow(60,a);n+=parseFloat(t[3])/100}else n=parseFloat(e);return n}return null}for(var r=this.str2XML(e).getElementsByTagName("p"),i=0,o=r.length;i<o;i++){var a=r[i],s={id:i,begin:n(a.getAttribute("begin")),end:n(a.getAttribute("end")),text:a.textContent||a.innerText};t.push(s)}return t.sort((function(e,t){return e.begin===t.begin?e.end-t.end:e.begin-t.begin}))},parseJSON:function(e){var t;try{t=JSON.parse(e)}catch(e){t={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}for(var n=0,r=t.length,i=[];n<r;n++){var o=n+1,a=parseFloat(t[n].ts),s={id:o,begin:a,end:a+parseFloat(t[n].dur),text:t[n].line};i.push(s)}return i},parseVTT:function(e){function t(e){var t,n,r,i,o=e.split(":"),a=0;3==o.length?(t=o[0],n=o[1],r=o[2]):(t=0,n=o[0],r=o[1]),i=(i=(r=r.split(/\s+/)).splice(0,1)[0]).split(/\.|,/);var s=parseFloat(i[1]);return i=i[0],a+=3600*parseFloat(t),a+=60*parseFloat(n),a+=parseFloat(i),s&&(a+=s/1e3),a}var n,r=e.split("\n"),i=1,o={cues:[]},a=r[i].trim().toUpperCase();if(a){if(a.startsWith("X-TIMESTAMP-MAP")){o.timestampMap={local:0,mpegts:0};try{var s,c=b(a.split("=")[1].trim().split(","));try{for(c.s();!(s=c.n()).done;){var l=d(s.value.trim().split(":").map((function(e){return e.trim()}))),f=l[0],u=l.slice(1).join(":");"LOCAL"===f?o.timestampMap.local=t(u):"MPEGTS"===f&&(o.timestampMap.mpegts=parseFloat(u)/9e4||0)}}catch(e){c.e(e)}finally{c.f()}}catch(e){console.warn("Failed to parse VTT X-TIMESTAMP-MAP")}}i++}for(;i<r.length;i++)if(a=r[i].trim()){if(-1==a.indexOf("--\x3e")){n=n||a;continue}var h={id:n},p=a.split(" --\x3e ");h.begin=t(p[0]),h.end=t(p[1].split(" ")[0]);for(var m=[];r[++i]&&(a=r[i].trim());)m.push(a);h.text=m.join("<br/>"),o.cues.push(h)}return o},parseSRT:function(e){function t(e){var t,n,r,i,o=e.split(":"),a=0;3==o.length?(t=o[0],n=o[1],r=o[2]):(t=0,n=o[0],r=o[1]),i=(i=(r=r.split(/\s+/)).splice(0,1)[0]).split(/\.|,/);var s=parseFloat(i[1]);return i=i[0],a+=3600*parseFloat(t),a+=60*parseFloat(n),a+=parseFloat(i),s&&(a+=s/1e3),a}var n,r=e.split("\n"),i=0,o={cues:[]},a=r[i].trim().toUpperCase();if(a){if(a.startsWith("X-TIMESTAMP-MAP")){o.timestampMap={local:0,mpegts:0};try{var s,c=b(a.split("=")[1].trim().split(","));try{for(c.s();!(s=c.n()).done;){var l=d(s.value.trim().split(":").map((function(e){return e.trim()}))),f=l[0],u=l.slice(1).join(":");"LOCAL"===f?o.timestampMap.local=t(u):"MPEGTS"===f&&(o.timestampMap.mpegts=parseFloat(u)/9e4||0)}}catch(e){c.e(e)}finally{c.f()}}catch(e){console.warn("Failed to parse VTT X-TIMESTAMP-MAP")}}i++}for(;i<r.length;i++)if(a=r[i].trim()){if(-1==a.indexOf("--\x3e")){n=n||a;continue}var h={id:n},p=a.split(" --\x3e ");h.begin=t(p[0]),h.end=t(p[1].split(" ")[0]);for(var m=[];r[++i]&&(a=r[i].trim());)m.push(a);h.text=m.join("<br/>"),o.cues.push(h)}return o},str2XML:function(e){return(new DOMParser).parseFromString(e,"text/xml")},generateChild:function(e,t,n,r,i){return function(e,t,n,r,i){var o,a,s=document.createElement(t);if(n&&(s.id=e.id+"-"+n),r)for(o=r.split(" "),a=0;a<o.length;a++)ie(s,o[a],!0);return i&&(s.innerHTML=i),e.appendChild(s),s}(e,t,n,r,i)},addClass:ie,removeClass:function(e,t,n){n&&(t="anv-"+t),e.className=e.className.split(" ").filter((function(e){return e!==t})).join(" ")},capitalize:function(e){return function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(e)},styleComponent:function(e,t,n){var r,i,o;for(r in n)if(n.hasOwnProperty(r))switch(r){case"text":e.innerHTML=(o=n[r],String(o).replace(/[&<>"'\/`=]/g,(function(e){return S[e]})));break;case"location":i=n.location.toLowerCase(),e.style[i.indexOf("l")>-1?"left":"right"]="0",e.style[i.indexOf("b")>-1?"bottom":"top"]="0",e.style[i.indexOf("r")>-1?"left":"right"]="",e.style[i.indexOf("t")>-1?"bottom":"top"]="";break;case"sizeFactor":e.style.fontSize=parseFloat(n.sizeFactor)*(11+7*(parseInt(t)-225)/575)+"px";break;default:e.style[r]=n[r]}},sendPostRequest:function(e,t,n,r,i,o,a,s){var c,l=0===e.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===e.indexOf("http:"),f={},u=new XMLHttpRequest;K()&&(e=e.replace(/^https*:\/\//,"https://"));try{if(u.open("POST",e,!0),o&&(u.withCredentials=!0),s&&(u.responseType=s),i)for(var d in i)i.hasOwnProperty(d)&&u.setRequestHeader(d,i[d]);a?"arraybuffer"!=a&&u.setRequestHeader("Content-type",a):u.setRequestHeader("Content-type","application/x-www-form-urlencoded")}catch(e){r&&(r(e.message||e.description),console.error("POST request error",e))}u.onreadystatechange=function(){4===u.readyState&&(200===u.status||l&&0===u.status?("function"==typeof u.getAllResponseHeaders&&(c=u.getAllResponseHeaders()),f.url=e,f.responseUrl=u.responseURL,n("arraybuffer"==s?u.response:u.responseText,c,f)):r&&("arraybuffer"==s?r(u.status):r(u.status,u.responseText)))},a||"object"!=g(t)||(t=ne(t));try{u.send(t)}catch(e){r&&(r(e.message||e.description),console.error("POST request error",e))}},openURIInNewWindow:function(e,t){var n=window.open(e,t||"_blank");return n&&n.focus&&n.focus(),n},setFloat:function(e,t){e.style.cssFloat=t,e.style.styleFloat=t},encodeURLParams:ne,decodeURLParams:re,updateURLParam:function(e,t,n,r){var i,o=re(e);return i=(i=/([^\?]*)(.*)/.exec(e))&&i.length>1?i[1]:e,n?o[t]=n:o&&delete o[t],i+((o=ne(o,r)).length?"?":"")+o},getBaseUrl:function(e){var t=/([^\?]*)[\?]?.*/.exec(e);return t.length>1?t[1]:-1},sec2TimeString:function(e){var t,n="",r="";return e<0&&(n="-",e*=-1),t=parseInt(e/60,10),e=parseInt(e%60,10),t>=60&&(r=parseInt(t/60,10),t=parseInt(t%60,10),r=I(r),r+=":"),n+r+I(t)+":"+I(e)},timeString2Sec:function(e){var t,n,r,i=e.split(":");return i.length>2?(t=parseInt(i[0]),n=parseInt(i[1]),r=parseInt(i[2])):(t=0,n=parseInt(i[0]),r=parseInt(i[1])),3600*t+60*n+r},timeString2Millisecond:function(e){var t,n,r,i,o,a=0;if("string"==typeof e)for(i=(o=(t=e.split(":"))[(r=n=t.length)-1].length>2)?1:1e3;r&&r--;)a+=parseInt(t[r])*i,i*=r==n-1&&o?1e3:60;return a},preventDefaultMouseDown:function(e){for(var t=0;t<e.length;t++)oe(e[t],"mousedown",(function(e){e.preventDefault()}),!1)},merge:function e(t,n){var r,i={};if(t&&t.constructor==Object)for(r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);if(n&&n.constructor==Object)for(r in n)n.hasOwnProperty(r)&&(r in i&&i[r]&&i[r].constructor==Object&&n[r]&&n[r].constructor==Object?i[r]=e(i[r],n[r]):i[r]=n[r]);return i},cacheImages:function(e,t,n){for(var r,i=0,o=e.length,a=[];i<o;i++)a[i]=new Image,function(e){oe(a[e],"load",(function(n){t(n.currentTarget,e)}),!1)}(i),n&&function(e){oe(a[i],"error",(function(t){n(t.currentTarget,e)}),!1)}(i),e[i]?a[i].src=e[i]:t(a[r=i],r)},base64ToUint8Array:function(e){for(var t=atob(e),n=t.length,r=new Uint8Array(new ArrayBuffer(n)),i=0;i<n;i++)r[i]=t.charCodeAt(i);return r},arrayEquals:function(e,t){if(e||t){if(e&&t&&e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return!1}return!0},base64Encode:F,base64Decode:function(e){var t,n,r,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",l=0,f=e.length%4;if(f)for(f=4-f;f--;)e+="=";for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");l<e.length;)t=s.indexOf(e.charAt(l++))<<2|(i=s.indexOf(e.charAt(l++)))>>4,n=(15&i)<<4|(o=s.indexOf(e.charAt(l++)))>>2,r=(3&o)<<6|(a=s.indexOf(e.charAt(l++))),c+=String.fromCharCode(t),64!=o&&(c+=String.fromCharCode(n)),64!=a&&(c+=String.fromCharCode(r));return c=te(c)},uTF8Encode:function(e){return ee(e)},uTF8Decode:function(e){return te(e)},addEventListener:function(e,t,n,r){oe(e,t,n,r)},removeEventListener:function(e,t,n){!function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent&&e.detachEvent("on"+t,n)}(e,t,n)},setReadOnly:function(e,t,n){t||(n?(oe(e,"keydown",(function(e){e.preventDefault()}),!1),oe(e,"cut",(function(e){e.preventDefault()}),!1)):e.readOnly=!0)},createUUID:function(){for(var e,t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=new Array(36),r=0,i=0;i<36;i++)8==i||13==i||18==i||23==i?n[i]="-":14==i?n[i]="4":(r<=2&&(r=33554432+16777216*Math.random()|0),e=15&r,r>>=4,n[i]=t[19==i?3&e|8:e]);return n.join("")},touchURL:function(e,t,n){e.startsWith("http://")||e.startsWith("https://")||e.startsWith("//")||(e="//".concat(e));var r=new Image;"function"==typeof t&&(r.onload=t),"function"==typeof n&&(r.onerror=n),r.src=e},isSecureSocket:K,isLocalHost:function(){return"localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname},isHostEmpty:function(){return""===window.location.host},isFileHost:function(){return window.location.href.startsWith("file://")},setCookie:_.setItem,removeCookie:_.removeItem,getCookie:_.getItem,setCookies:function(e){for(var t in e)e.hasOwnProperty(t)&&void 0!==e[t]&&_.setItem(t,e[t])},removeCookies:function(e){for(var t in e)_.removeItem(t)},getCookies:function(e){var t={};for(var n in e){var r=_.getItem(n);t[n]=r}return t},deepCopy:function(e){var t;try{t=JSON.parse(JSON.stringify(e))}catch(e){t={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}return t},md5:function(e){return(new f.a).update(e).digest("hex")}},"aesStdEncrypt",(function(e,t,n,r,i,a){var s,c=k(n),l=ee(t),f={},u={};if(f[C.ZERO]=R,f[C.PKCS7]=o.a.padding.pkcs7.pad,u[C.ZERO]=O,u[C.PKCS7]=o.a.padding.pkcs7.strip,void 0===a&&(a=C.ZERO),t=k(l),"string"==typeof i&&(i=k(i)),!(e in o.a.ModeOfOperation))throw new Error("Specified AES mode of operation is not supported/valid");return s=new o.a.ModeOfOperation[e](c,i).encrypt(f[a](t)),"hex"==r?x(s):"base64"==r?T(s):M(s,!0)})),u(r,"aesStdDecrypt",(function(e,t,n,r,i,a){var s,c,l={},f={};l[C.ZERO]=R,l[C.PKCS7]=o.a.padding.pkcs7.pad,f[C.ZERO]=O,f[C.PKCS7]=o.a.padding.pkcs7.strip,void 0===a&&(a=C.ZERO),s="hex"==r?N(t):"base64"==r?function(e){for(var t=[],n=0,r=(e=atob(e)).length;n<r;n++)t[n]=e.charCodeAt(n);return t}(t):k(t),"string"==typeof i&&(i=k(i));var u=k(n);if(e in o.a.ModeOfOperation)return c=new o.a.ModeOfOperation[e](u,i).decrypt(s),c=f[a](c),o.a.utils.utf8.fromBytes(c);throw new Error("Specified AES mode of operation is not supported/valid")})),u(r,"str2AscArray",k),u(r,"ascArray2Str",M),u(r,"importKey",(function(e,t,n,r,i){return window.crypto&&window.crypto.subtle?window.crypto.subtle.importKey(e,t,n,r,i):window.msCrypto&&window.msCrypto.subtle?function(e,t,n,r,i){return new Promise((function(o,a){var s=window.msCrypto.subtle.importKey(e,t,n,r,i);s.addEventListener("complete",(function(e){o(e.target.result)})),s.addEventListener("error",a)}))}(e,t,n,r,i):Promise.reject("Browser does not support the Web Crypto API")})),u(r,"decrypt",(function(e,t,n){return window.crypto&&window.crypto.subtle?window.crypto.subtle.decrypt(e,t,n):window.msCrypto&&window.msCrypto.subtle?function(e,t,n){return new Promise((function(r,i){var o=window.msCrypto.subtle.decrypt(e,t,n);o.addEventListener("complete",(function(e){r(e.target.result)})),o.addEventListener("error",i),o.addEventListener("abort",i)}))}(e,t,n):Promise.reject("Browser does not support the Web Crypto API")})),u(r,"hex2AscArray",N),u(r,"prettifyDate",(function(e,t){var n,r,i=new Date,o=new Date(e),a=o.getDate(),s=o.getMonth(),c=o.getFullYear(),l=o.getHours(),f=o.getMinutes(),u=o.getSeconds(),d=o.getMilliseconds(),h="";i.setHours(0,0,0,0),t&&(n=i.getTime(),r=o.getTime(),h=(i.getDate()==a&&i.getMonth()==s&&i.getFullYear()==c?"Today":r>n+864e5&&r<n+1728e5&&"Tomorrow")||"");var p=h||["Sun","Mon","Tue","Wed","Thr","Fri","Sat"][o.getDay()];return s=I(++s),a=I(a),{string:(l=I(l))+":"+(f=I(f))+" "+(h||s+"/"+a+"/"+c),hour:l+":"+f,hourDetailed:[l,f,u=I(u),d].join(":"),year:c,month:s,day:a,hours:l,minutes:f,dayOfWeek:p}})),u(r,"getParameterByName",(function(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t||window.location.search);return null==n?null:decodeURIComponent(n[1])})),u(r,"getJsonp",P),u(r,"loadJS",P),u(r,"loadExternalJS",(function(e,t,n,r){if(function(e){var t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol}(e)){var i=document.createElement("script");i.type="text/javascript",i.async=!1,i.onload=n,i.onerror=r,K()&&(e=e.replace(/^https*:\/\//,"https://")),i.src=e,document.getElementsByTagName(t)[0].appendChild(i)}else r&&r()})),u(r,"array2Object",(function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n]]=1;return t})),u(r,"object2Array",(function(e){var t=0,n=[];for(var r in e)e.hasOwnProperty(r)&&(n[t]=r,t++);return n})),u(r,"invertObjectKeysAndValues",(function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];r in t?(t[r].constructor!==Array&&(t[r]=[t[r]]),t[r]=t[r].concat(n)):t[r]=n})),t})),u(r,"generateWsseHeader",(function(e,t){var n,r,i,o,a,s,c,l=(n=t,r=[],i=new Date,o=L(i.toISOString()+1e3*Math.round(Math.random())+"There is more than words"),a=F(o),s=i.toISOString(),c=L(o+s+n),r[0]=a,r[1]=s,r[2]=c,r);return'UsernameToken Username="'+e+'", PasswordDigest="'+l[2]+'", Created="'+l[1]+'", Nonce="'+l[0]+'"'})),u(r,"getUrlParts",(function(e){var t;return e&&(t=/^((blob:http|blob:https|http[s]?|ftp)?:)?\/\/([^:\/\s]+)((:)([0-9]+))?((\/\w+)*\/)?([\w\-\.]+[^#?\s]+)?(.*)?(#[\w\-]+)?$/.exec(e)),t&&t.length>11?{url:t[0],protocol:t[2],host:t[3],port:t[6],path:t[7],file:t[9],query:t[10],hash:t[11]}:{}})),u(r,"replaceAll",(function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(r.length){var o,a=new RegExp(t,"i"),s=b(r);try{for(s.s();!(o=s.n()).done;){var c=o.value;e=e.replace(a,c)}}catch(e){s.e(e)}finally{s.f()}}return e})),u(r,"isWebGLSupported",(function(){var e,t,n=!1;try{e=(t=document.createElement("canvas")).getContext("webgl")}catch(t){e=null}if(null==e)try{e=t.getContext("experimental-webgl"),n=!0}catch(t){e=null}return!!e&&{isExperimental:n}})),u(r,"isWebGLCorsSupported",(function(){var e=document.createElement("video");return e.crossOrigin="anonymous",e.hasAttribute("crossorigin")})),u(r,"isVideoVolumeSetSupported",(function(){var e=document.createElement("video");return e.volume=0,!e.volume})),u(r,"isVideoMutedSupported",(function(){var e=document.createElement("video");return e.muted=!0,e.muted})),u(r,"isInlineVideoSupported",(function(){return"playsInline"in document.createElement("video")})),u(r,"getAutoPlaySupport",(function(){return Y})),u(r,"getArrayUnique",(function(e){for(var t={},n=[],r=0,i=e.length;r<i;++r)t.hasOwnProperty(e[r])||(n.push(e[r]),t[e[r]]=1);return n})),u(r,"stringToUint16Array",(function(e){for(var t=new ArrayBuffer(2*e.length),n=new Uint16Array(t),r=0,i=e.length;r<i;r++)n[r]=e.charCodeAt(r);return n})),u(r,"uint8ArrayToBase64",T),u(r,"getClosestVersion",(function(e,t,n){var r=n;if(e&&e in t)return t[e];if(e){var i=1,o=e.toString().trim().split(".");for(var a in t)if(t.hasOwnProperty(a)){var s=0,c=a.trim().split(".");for(s=0;s<o.length&&(void 0!==c[s]&&o[s]==c[s]);s++);s>=i&&(i=s,r=a)}}return t[r]})),u(r,"registerAutoPlayDetectionCallback",(function(e,t){G.push({fn:e,args:t})})),u(r,"stripPkcs7",(function(e){var t;if(e.length%16!=0)return e;if((t=e.charCodeAt(e.length-1))>=16)return e;for(var n=e.length.length-1;n>e.length-t;n--)if(e.charCodeAt(n)!=t)return e;return e.slice(0,e.length-t)})),u(r,"paddingSchemes",C),u(r,"getScaledFontSize",(function(e){return 11+7*(parseInt(e)-225)/575})),u(r,"getConnectionStatus",(function(e,t){"onoffline"in window?(e&&oe(window,"online",e),t&&oe(window,"offline",t)):function e(t,n){var r;r=navigator&&"onLine"in navigator?navigator.onLine:function(){var e=new(window.ActiveXObject||XMLHttpRequest)("Microsoft.XMLHTTP");e.open("HEAD","//"+window.location.hostname+"/?rand="+Math.floor(65536*(1+Math.random())),!1);try{return e.send(),e.status>=200&&(e.status<300||304===e.status)}catch(e){return!1}}();window.anvOnline!=r&&void 0!==window.anvOnline&&(r?t&&t():n&&n());window.anvOnline=r,setTimeout((function(){e(t,n)}),3e4)}(e,t)})),u(r,"isDocumentHidden",(function(){return document.hidden||document.msHidden||document.webkitHidden})),u(r,"debounce",(function(e,t){var n;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];clearTimeout(n),n=setTimeout((function(){e.apply(void 0,h(i)),i=null,n=null}),t)}})),u(r,"convertToUnderscore",(function(e){var t,n=0,r=[];if(e.indexOf("_")>-1)return e;for(var i=0,o=e.length;i<o;i++)(t=e[i])==t.toUpperCase()&&i&&(r.push(e.slice(n,i).toUpperCase()),n=i),i==o-1&&r.push(e.slice(n-o).toUpperCase());return r.join("_")})),u(r,"populateMacros",(function(e,t,n){var r,i,o=/(.*)\[\[(.*)\]\](.*)/;for(var a in e)e.hasOwnProperty(a)&&(i=o.exec(e[a]))&&i.length>3&&i[2]in t&&(r=i[1]+(t[i[2]]||null)+i[3],e[a]=n?encodeURIComponent(r):r);return e})),u(r,"makeAbsoluteUrl",D),u(r,"printBufferZones",(function(e,t){var n,r;if(e&&(!e||e.buffered))for(var i=0,o=e.buffered.length;i<o;i++)n=e.currentTime>e.buffered.start(i)&&e.currentTime<e.buffered.end(i),r=e.buffered.start(i)+"-"+e.buffered.end(i)+(n?"*":""),"function"==typeof t?t(r):window.console&&window.console.info&&console.info(r)})),u(r,"getLogger",(function(e){return{getLogFn:function(t){return function(){if("test"!=e){for(var n,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(n=console).log.apply(n,["[!"+t+"!]\t"].concat(i))}}},stringify:JSON.stringify}})),u(r,"isLocalStorageSupported",W),u(r,"simulatePlay",(function(e){var t=document.createElement("source");e.appendChild(t),e.setAttribute("playsinline",""),t.src=w,t.type="video/mp4",e.load();var n=e.play();void 0!==n&&n.then(ae.bind(null,e,t)).catch(se.bind(null,t))})),u(r,"xssFilter",s.a),u(r,"safeSetInnerHtml",(function(e,t,n){e&&(e.innerHTML=s()(t,n))})),u(r,"markFaultZone",(function(e,t,n,r,i){var o;e[t]=e[t]||[],n=Math.round(10*parseFloat(n))/10;var a=!1,s=!1,c=!1,l=null,f=null;if(e[t].length){for(var u=null,d=null,h=null,p=null,b=0,m=e[t].length;b<m;b++){var v=e[t][b].start,g=e[t][b].end;if(n>=v&&n<g)return g;(u=n-g)>=0&&(u<d||null===d)&&(d=u,l=b),(h=v-n)>=0&&(h<p||null===p)&&(p=h,f=b)}if(null!=l&&null!=f){if(d+p<r)return e[t][l].end=e[t][f].end,o=e[t][l].end,e[t].splice(f,1),o;d<r?s=!0:p<r?c=!0:a=!0}else null==l?p<r?c=!0:a=!0:null==f&&(d<r?s=!0:a=!0)}else a=!0;return s?(n+=i,e[t][l].end=n,n):c?(e[t][f].start=n,e[t][f].end):a?(o=n+i,e[t].push({start:n,end:o}),o):n})),u(r,"getElementById",(function(e,t){var n,r=document.getElementById(e);return r&&r.shadowRoot&&(n=r.shadowRoot.getElementById(t)),n||document.getElementById(t)})),u(r,"querySelectorAll",(function(e,t){var n,r=document.getElementById(e);return r&&r.shadowRoot&&(n=r.shadowRoot.querySelectorAll(t)),n||document.querySelectorAll(t)})),u(r,"xssSanitizeObject",(function e(t,n,r){if("function"!=typeof t||"object"!=g(n))return n;for(var i in n)if(n.hasOwnProperty(i)){var o=t(i);if(o==i)if("string"==typeof n[i]){var a=t(n[i],r);a!=n[i]&&console.warn("Value of",i,"has been modified due to possible XSS vulnerability:",a),n[i]=a}else"object"==g(n[i])&&(n[i]=e(t,n[i],r));else console.warn("Entry",o,"has been removed due to possible XSS vulnerability."),delete n[i]}return n})),u(r,"pluralize",(function(e,t){return(e||"")+(1==t?"":"s")})),u(r,"convertTimeRangesToArray",(function(e){for(var t=[],n=0;n<e.length;++n)t.push({start:e.start(n),end:e.end(n)});return t})),u(r,"appendLink",(function(e){var t=document.head,n=document.createElement("link");n.rel="stylesheet",n.href=e,t.appendChild(n)})),u(r,"getAdsInfo",(function(){return y})),u(r,"isEdgeLegacy",(function(){return!!window.navigator.userAgent.match(/Edge\/(\d+)/)})),u(r,"createAdBlock",(function(e,t,n,r){var i,o,a,s,c,l,f,u,d,h,p,b,m,v,g=[],y={embed_url:null==t?void 0:null===(i=t.ads[r])||void 0===i?void 0:null===(o=i.creatives[0])||void 0===o?void 0:o.mediaFiles[0].fileURL,protocol:"https",format:"mp4",segment_template:r,width:"Variant",height:"Variant",cdn_name:"Akta",state:10,replaced:!0,adBreakInfo:{session_id:null==t?void 0:null===(a=t.ads[r])||void 0===a?void 0:null===(s=a.creatives[0])||void 0===s?void 0:s.adId,master_m3u8:null==t?void 0:null===(c=t.ads[r])||void 0===c?void 0:null===(l=c.creatives[0])||void 0===l?void 0:l.mediaFiles[0].fileURL,interstitials:{content:{output_duration:10},cues:[{ads:[],break_idx:0,simid:null==t?void 0:null===(f=t.ads[r])||void 0===f?void 0:null===(u=f.creatives[0])||void 0===u?void 0:u.interactiveCreativeFile,break_duration:10,start:0,end:10}]},info:{raw_url:n.preroll.adTagUrl,url:n.preroll.adTagUrl},breaks:[{ads:[],id:null==t?void 0:null===(d=t.ads[r])||void 0===d?void 0:null===(h=d.creatives[0])||void 0===h?void 0:h.id,offset:"00:00:0.000",tracking:{},type:null==t?void 0:null===(p=t.ads[r])||void 0===p?void 0:null===(b=p.creatives[0])||void 0===b?void 0:b.type}]}},w=0;if(t.ads.forEach((function(n){var i,o,a,s,c,l,f,u,d,h,p,b,m,v,S,E,_,k,x,M,T,C,O,R,N,I,D,P,F,L,j,B,U,z,H,q,V,K,W,Y,G,J,Z,X,Q,$,ee,te,ne,re,ie,oe,ae,se,ce,le,de,he,pe,be,me,ve,ge,ye,we,Se,Ae,Ee;g.push({slot_id:n.id,ts:"",dur:n.creatives[0].duration,poskeys:"",negkeys:"",frames:""}),y.adBreakInfo.interstitials.cues[0].ads.push({sequence:r+1,duration:n.creatives[0].duration}),y.adBreakInfo.breaks[0].ads.push({ad_id:null==n?void 0:null===(i=n.creatives[0])||void 0===i?void 0:i.adId,buffet:!1,companions:[],error_urls:[],icons:[],pars:[],ad_parameters:null==t?void 0:null===(o=t.ads[0])||void 0===o?void 0:null===(a=o.creatives[0])||void 0===a?void 0:a.adParameters,interactive_files:[null==t?void 0:null===(s=t.ads[0])||void 0===s?void 0:null===(c=s.creatives[0])||void 0===c?void 0:c.interactiveCreativeFile],videoClickThroughURLTemplate:null==t?void 0:null===(l=t.ads[0])||void 0===l?void 0:null===(f=l.creatives[0])||void 0===f?void 0:f.videoClickThroughURLTemplate,skip_offset:fe(null==t?void 0:null===(u=t.ads[0])||void 0===u?void 0:null===(d=u.creatives[0])||void 0===d?void 0:d.skipDelay),media:[{bitrate:null==n?void 0:null===(h=n.creatives[0])||void 0===h?void 0:h.mediaFiles[0].bitrate,type:null==n?void 0:null===(p=n.creatives[0])||void 0===p?void 0:p.mediaFiles[0].mimeType,url:null==n?void 0:null===(b=n.creatives[0])||void 0===b?void 0:b.mediaFiles[0].fileURL}],verification:[],tracking:[{type:"impression",url:(null==n?void 0:null===(m=n.creatives[0])||void 0===m?void 0:null===(v=m.trackingEvents)||void 0===v?void 0:v.impression)?null==n?void 0:null===(S=n.creatives[0])||void 0===S?void 0:null===(E=S.trackingEvents)||void 0===E?void 0:E.impression[0]:ue(e.streamId,e.sessionId,A)},{type:"ClickThrough",url:(null==n?void 0:null===(_=n.creatives[0])||void 0===_?void 0:null===(k=_.trackingEvents)||void 0===k?void 0:k.ClickThrough)?null==n?void 0:null===(x=n.creatives[0])||void 0===x?void 0:null===(M=x.trackingEvents)||void 0===M?void 0:M.ClickThrough[0]:""},{type:"start",url:(null==n?void 0:null===(T=n.creatives[0])||void 0===T?void 0:null===(C=T.trackingEvents)||void 0===C?void 0:C.start)?null==n?void 0:null===(O=n.creatives[0])||void 0===O?void 0:null===(R=O.trackingEvents)||void 0===R?void 0:R.start[0]:""},{type:"firstQuartile",url:(null==n?void 0:null===(N=n.creatives[0])||void 0===N?void 0:null===(I=N.trackingEvents)||void 0===I?void 0:I.firstQuartile)?null==n?void 0:null===(D=n.creatives[0])||void 0===D?void 0:null===(P=D.trackingEvents)||void 0===P?void 0:P.firstQuartile[0]:""},{type:"midpoint",url:(null==n?void 0:null===(F=n.creatives[0])||void 0===F?void 0:null===(L=F.trackingEvents)||void 0===L?void 0:L.midpoint)?null==n?void 0:null===(j=n.creatives[0])||void 0===j?void 0:null===(B=j.trackingEvents)||void 0===B?void 0:B.midpoint[0]:""},{type:"thirdQuartile",url:(null==n?void 0:null===(U=n.creatives[0])||void 0===U?void 0:null===(z=U.trackingEvents)||void 0===z?void 0:z.thirdQuartile)?null==n?void 0:null===(H=n.creatives[0])||void 0===H?void 0:null===(q=H.trackingEvents)||void 0===q?void 0:q.thirdQuartile[0]:""},{type:"complete",url:(null==n?void 0:null===(V=n.creatives[0])||void 0===V?void 0:null===(K=V.trackingEvents)||void 0===K?void 0:K.complete)?null==n?void 0:null===(W=n.creatives[0])||void 0===W?void 0:null===(Y=W.trackingEvents)||void 0===Y?void 0:Y.complete[0]:""},{type:"mute",url:(null==n?void 0:null===(G=n.creatives[0])||void 0===G?void 0:null===(J=G.trackingEvents)||void 0===J?void 0:J.mute)?null==n?void 0:null===(Z=n.creatives[0])||void 0===Z?void 0:null===(X=Z.trackingEvents)||void 0===X?void 0:X.mute[0]:""},{type:"unmute",url:(null==n?void 0:null===(Q=n.creatives[0])||void 0===Q?void 0:null===($=Q.trackingEvents)||void 0===$?void 0:$.unmute)?null==n?void 0:null===(ee=n.creatives[0])||void 0===ee?void 0:null===(te=ee.trackingEvents)||void 0===te?void 0:te.unmute[0]:""},{type:"pause",url:(null==n?void 0:null===(ne=n.creatives[0])||void 0===ne?void 0:null===(re=ne.trackingEvents)||void 0===re?void 0:re.pause)?null==n?void 0:null===(ie=n.creatives[0])||void 0===ie?void 0:null===(oe=ie.trackingEvents)||void 0===oe?void 0:oe.pause[0]:""},{type:"resume",url:(null==n?void 0:null===(ae=n.creatives[0])||void 0===ae?void 0:null===(se=ae.trackingEvents)||void 0===se?void 0:se.resume)?null==n?void 0:null===(ce=n.creatives[0])||void 0===ce?void 0:null===(le=ce.trackingEvents)||void 0===le?void 0:le.resume[0]:""},{type:"creativeView",url:(null==n?void 0:null===(de=n.creatives[0])||void 0===de?void 0:null===(he=de.trackingEvents)||void 0===he?void 0:he.creativeView)?null==n?void 0:null===(pe=n.creatives[0])||void 0===pe?void 0:null===(be=pe.trackingEvents)||void 0===be?void 0:be.creativeView[0]:""},{type:"skip",url:(null==n?void 0:null===(me=n.creatives[0])||void 0===me?void 0:null===(ve=me.trackingEvents)||void 0===ve?void 0:ve.skip)?null==n?void 0:null===(ge=n.creatives[0])||void 0===ge?void 0:null===(ye=ge.trackingEvents)||void 0===ye?void 0:ye.skip[0]:""},{type:"fullscreen",url:(null==n?void 0:null===(we=n.creatives[0])||void 0===we?void 0:null===(Se=we.trackingEvents)||void 0===Se?void 0:Se.fullscreen)?null==n?void 0:null===(Ae=n.creatives[0])||void 0===Ae?void 0:null===(Ee=Ae.trackingEvents)||void 0===Ee?void 0:Ee.fullscreen[0]:""}]}),w+=n.creatives[0].duration,A++})),y.adBreakInfo.interstitials.content.output_duration=w,y.adBreakInfo.interstitials.cues[0].break_duration=w,y.adBreakInfo.interstitials.cues[0].end=w+1,r>0)for(var S=0;S<r;S++)w-=t.ads[S].creatives[0].duration,y.adBreakInfo.interstitials.cues[0].ads[S].duration=0,y.adBreakInfo.interstitials.cues[0].break_duration=w,y.adBreakInfo.interstitials.content.output_duration=w,y.adBreakInfo.interstitials.cues[0].end=w+1;var E={preroll:!0};return E.videoId=null==t?void 0:null===(m=t.ads[0])||void 0===m?void 0:null===(v=m.creatives[0])||void 0===v?void 0:v.adId,E.ad_slots=g,E.duration=w,E.def_title=null==e?void 0:e.def_title,E.videoType="0",E.published_urls=[y],E})),u(r,"randomString",(function(e,t){for(var n="",r=e;r>0;--r)n+=t[Math.floor(Math.random()*t.length)];return n})),u(r,"withoutPropagation",(function(e){return function(t){t.preventDefault(),t.stopPropagation(),e(t)}})),r)},function(e,t,n){var r=n(2),i=n(51).f,o=n(28),a=n(27),s=n(94),c=n(143),l=n(79);e.exports=function(e,t){var n,f,u,d,h,p=e.target,b=e.global,m=e.stat;if(n=b?r:m?r[p]||s(p,{}):(r[p]||{}).prototype)for(f in t){if(d=t[f],u=e.noTargetGet?(h=i(n,f))&&h.value:n[f],!l(b?f:p+(m?".":"#")+f,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(e.sham||u&&u.sham)&&o(d,"sham",!0),a(n,f,d,e)}}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(32))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(2),i=n(108),o=n(13),a=n(74),s=n(109),c=n(145),l=i("wks"),f=r.Symbol,u=c?f:f&&f.withoutSetter||a;e.exports=function(e){return o(l,e)||(s&&o(f,e)?l[e]=f[e]:l[e]=u("Symbol."+e)),l[e]}},function(e,t,n){var r=n(12),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";var r,i=n(237),o=n(16),a=n(2),s=n(10),c=n(13),l=n(71),f=n(28),u=n(27),d=n(19).f,h=n(93),p=n(81),b=n(6),m=n(74),v=a.Int8Array,g=v&&v.prototype,y=a.Uint8ClampedArray,w=y&&y.prototype,S=v&&h(v),A=g&&h(g),E=Object.prototype,_=E.isPrototypeOf,k=b("toStringTag"),x=m("TYPED_ARRAY_TAG"),M=i&&!!p&&"Opera"!==l(a.opera),T=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},O=function(e){return s(e)&&c(C,l(e))};for(r in C)a[r]||(M=!1);if((!M||"function"!=typeof S||S===Function.prototype)&&(S=function(){throw TypeError("Incorrect invocation")},M))for(r in C)a[r]&&p(a[r],S);if((!M||!A||A===E)&&(A=S.prototype,M))for(r in C)a[r]&&p(a[r].prototype,A);if(M&&h(w)!==A&&p(w,A),o&&!c(A,k))for(r in T=!0,d(A,k,{get:function(){return s(this)?this[x]:void 0}}),C)a[r]&&f(a[r],x,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:T&&x,aTypedArray:function(e){if(O(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(_.call(S,e))return e}else for(var t in C)if(c(C,r)){var n=a[t];if(n&&(e===n||_.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(o){if(n)for(var r in C){var i=a[r];i&&c(i.prototype,e)&&delete i.prototype[e]}A[e]&&!n||u(A,e,n?t:M&&g[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,i;if(o){if(p){if(n)for(r in C)(i=a[r])&&c(i,e)&&delete i[e];if(S[e]&&!n)return;try{return u(S,e,n?t:M&&v[e]||t)}catch(e){}}for(r in C)!(i=a[r])||i[e]&&!n||u(i,e,t)}},isView:function(e){var t=l(e);return"DataView"===t||c(C,t)},isTypedArray:O,TypedArray:S,TypedArrayPrototype:A}},function(e,t,n){var r=n(48),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r=n(1),i=n(3),o=n(75),a=n(10),s=n(26),c=n(9),l=n(80),f=n(117),u=n(76),d=n(6),h=n(110),p=d("isConcatSpreadable"),b=h>=51||!i((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),m=u("concat"),v=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:o(e)};r({target:"Array",proto:!0,forced:!b||!m},{concat:function(e){var t,n,r,i,o,a=s(this),u=f(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?a:arguments[t],v(o)){if(d+(i=c(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,d++)n in o&&l(u,d,o[n])}else{if(d>=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(u,d++,o)}return u.length=d,u}})},function(e,t,n){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var r=n(304),i=n(305),o=n(226);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=c.prototype:(null===e&&(e=new c(t)),e.length=t),e}function c(e,t,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);c.TYPED_ARRAY_SUPPORT?(e=t).__proto__=c.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(t,n),i=(e=s(e,r)).write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(c.isBuffer(t)){var n=0|h(t.length);return 0===(e=s(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):d(e,t);if("Buffer"===t.type&&o(t.data))return d(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function f(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t){if(f(t),e=s(e,t<0?0:0|h(t)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|h(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function h(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function p(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(r)return U(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return C(this,t,n);case"utf8":case"utf-8":return x(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,a=1,s=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,c/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var f=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===f?0:o-f)){if(-1===f&&(f=o),o-f+1===c)return f*a}else-1!==f&&(o-=o-f),f=-1}else for(n+c>s&&(n=s-c),o=n;o>=0;o--){for(var u=!0,d=0;d<c;d++)if(l(e,o+d)!==l(t,d)){u=!1;break}if(u)return o}return-1}function y(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function w(e,t,n,r){return H(U(t,e.length-n),e,n,r)}function S(e,t,n,r){return H(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function A(e,t,n,r){return S(e,t,n,r)}function E(e,t,n,r){return H(z(t),e,n,r)}function _(e,t,n,r){return H(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function x(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,c,l=e[i],f=null,u=l>239?4:l>223?3:l>191?2:1;if(i+u<=n)switch(u){case 1:l<128&&(f=l);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)>127&&(f=c);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(c=(15&l)<<12|(63&o)<<6|63&a)>2047&&(c<55296||c>57343)&&(f=c);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&c<1114112&&(f=c)}null===f?(f=65533,u=1):f>65535&&(f-=65536,r.push(f>>>10&1023|55296),f=56320|1023&f),r.push(f),i+=u}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=c,t.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return l(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return function(e,t,n,r){return f(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},c.allocUnsafe=function(e){return u(null,e)},c.allocUnsafeSlow=function(e){return u(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!c.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},c.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},c.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?x(this,0,e):b.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,t,n,r,i){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),f=e.slice(t,n),u=0;u<s;++u)if(l[u]!==f[u]){o=l[u],a=f[u];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return A(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function C(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=B(e[o]);return i}function O(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function N(e,t,n,r,i,o){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function D(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function P(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,r,o){return o||P(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,o){return o||P(e,0,n,8),i.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=c.prototype;else{var i=t-e;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},c.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),i.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),i.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||N(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);N(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||N(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return L(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},c.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=c.isBuffer(e)?e:U(new c(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(j,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n(32))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=n(38),i=n(202),o=n(66),a=n(42),s=n(147),c=a.set,l=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},function(e,t,n){var r=n(96),i=n(27),o=n(220);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(e,t,n){var r=n(3);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(36),a=n(21),s=n(16),c=n(109),l=n(145),f=n(3),u=n(13),d=n(75),h=n(10),p=n(5),b=n(26),m=n(38),v=n(61),g=n(56),y=n(62),w=n(91),S=n(60),A=n(280),E=n(116),_=n(51),k=n(19),x=n(111),M=n(28),T=n(27),C=n(108),O=n(78),R=n(68),N=n(74),I=n(6),D=n(191),P=n(192),F=n(57),L=n(42),j=n(39).forEach,B=O("hidden"),U=I("toPrimitive"),z=L.set,H=L.getterFor("Symbol"),q=Object.prototype,V=i.Symbol,K=o("JSON","stringify"),W=_.f,Y=k.f,G=A.f,J=x.f,Z=C("symbols"),X=C("op-symbols"),Q=C("string-to-symbol-registry"),$=C("symbol-to-string-registry"),ee=C("wks"),te=i.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&f((function(){return 7!=y(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=W(q,t);r&&delete q[t],Y(e,t,n),r&&e!==q&&Y(q,t,r)}:Y,ie=function(e,t){var n=Z[e]=y(V.prototype);return z(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=l?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},ae=function(e,t,n){e===q&&ae(X,t,n),p(e);var r=v(t,!0);return p(n),u(Z,r)?(n.enumerable?(u(e,B)&&e[B][r]&&(e[B][r]=!1),n=y(n,{enumerable:g(0,!1)})):(u(e,B)||Y(e,B,g(1,{})),e[B][r]=!0),re(e,r,n)):Y(e,r,n)},se=function(e,t){p(e);var n=m(t),r=w(n).concat(ue(n));return j(r,(function(t){s&&!ce.call(n,t)||ae(e,t,n[t])})),e},ce=function(e){var t=v(e,!0),n=J.call(this,t);return!(this===q&&u(Z,t)&&!u(X,t))&&(!(n||!u(this,t)||!u(Z,t)||u(this,B)&&this[B][t])||n)},le=function(e,t){var n=m(e),r=v(t,!0);if(n!==q||!u(Z,r)||u(X,r)){var i=W(n,r);return!i||!u(Z,r)||u(n,B)&&n[B][r]||(i.enumerable=!0),i}},fe=function(e){var t=G(m(e)),n=[];return j(t,(function(e){u(Z,e)||u(R,e)||n.push(e)})),n},ue=function(e){var t=e===q,n=G(t?X:m(e)),r=[];return j(n,(function(e){!u(Z,e)||t&&!u(q,e)||r.push(Z[e])})),r};(c||(T((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===q&&n.call(X,e),u(this,B)&&u(this[B],t)&&(this[B][t]=!1),re(this,t,g(1,e))};return s&&ne&&re(q,t,{configurable:!0,set:n}),ie(t,e)}).prototype,"toString",(function(){return H(this).tag})),T(V,"withoutSetter",(function(e){return ie(N(e),e)})),x.f=ce,k.f=ae,_.f=le,S.f=A.f=fe,E.f=ue,D.f=function(e){return ie(I(e),e)},s&&(Y(V.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||T(q,"propertyIsEnumerable",ce,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),j(w(ee),(function(e){P(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(u(Q,t))return Q[t];var n=V(t);return Q[t]=n,$[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(u($,e))return $[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?y(e):se(y(e),t)},defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:fe,getOwnPropertySymbols:ue}),r({target:"Object",stat:!0,forced:f((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(b(e))}}),K)&&r({target:"JSON",stat:!0,forced:!c||f((function(){var e=V();return"[null]"!=K([e])||"{}"!=K({a:e})||"{}"!=K(Object(e))}))},{stringify:function(e,t,n){for(var r,i=[e],o=1;arguments.length>o;)i.push(arguments[o++]);if(r=t,(h(t)||void 0!==e)&&!oe(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),i[1]=t,K.apply(null,i)}});V.prototype[U]||M(V.prototype,U,V.prototype.valueOf),F(V,"Symbol"),R[B]=!0},function(e,t,n){"use strict";var r=n(1),i=n(16),o=n(2),a=n(13),s=n(10),c=n(19).f,l=n(143),f=o.Symbol;if(i&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var u={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new f(e):void 0===e?f():f(e);return""===e&&(u[t]=!0),t};l(d,f);var h=d.prototype=f.prototype;h.constructor=d;var p=h.toString,b="Symbol(test)"==String(f("test")),m=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=p.call(e);if(a(u,e))return"";var n=b?t.slice(7,-1):t.replace(m,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(e,t,n){var r=n(16),i=n(138),o=n(5),a=n(61),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var r=n(141).charAt,i=n(42),o=n(147),a=i.set,s=i.getterFor("String Iterator");o(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=r(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t){e.exports=!1},function(e,t,n){var r=n(2),i=n(210),o=n(14),a=n(28),s=n(6),c=s("iterator"),l=s("toStringTag"),f=o.values;for(var u in i){var d=r[u],h=d&&d.prototype;if(h){if(h[c]!==f)try{a(h,c,f)}catch(e){h[c]=f}if(h[l]||a(h,l,u),i[u])for(var p in o)if(h[p]!==o[p])try{a(h,p,o[p])}catch(e){h[p]=o[p]}}}},function(e,t,n){n(192)("iterator")},function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a=n(355).Buffer}catch(e){}function s(e,t,n){for(var r=0,i=Math.min(e.length,n),o=t;o<i;o++){var a=e.charCodeAt(o)-48;r<<=4,r|=a>=49&&a<=54?a-49+10:a>=17&&a<=22?a-17+10:15&a}return r}function c(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===n)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,i,o=0;for(n=e.length-6,r=0;n>=t;n-=6)i=s(e,n,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=s(e,t,n+6),this.words[r]|=i<<o&67108863,this.words[r+1]|=i>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,a=o%r,s=Math.min(o,o-a)+n,l=0,f=n;f<s;f+=r)l=c(e,f,f+r,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var u=1;for(l=c(e,f,e.length,t),f=0;f<a;f++)u*=t;this.imuln(u),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var l=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],u=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,c=a/67108864|0;n.words[0]=s;for(var l=1;l<r;l++){for(var f=c>>>26,u=67108863&c,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;f+=(a=(i=0|e.words[p])*(o=0|t.words[h])+u)/67108864|0,u=67108863&a}n.words[l]=0|u,c=0|f}return 0!==c?n.words[l]=0|c:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],c=(16777215&(s<<i|o)).toString(16);n=0!==(o=s>>>24-i&16777215)||a!==this.length-1?l[6-c.length]+c+n:c+n,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var d=f[e],h=u[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var b=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?b+n:l[d-b.length]+b+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var a,s,c="le"===t,l=new e(o),f=this.clone();if(c){for(s=0;!f.isZero();s++)a=f.andln(255),f.iushrn(8),l[s]=a;for(;s<o;s++)l[s]=0}else{for(s=0;s<o-i;s++)l[s]=0;for(s=0;!f.isZero();s++)a=f.andln(255),f.iushrn(8),l[o-s-1]=a}return l},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var n=this._zeroBits(this.words[t]);if(e+=n,26!==n)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return r(0==(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;n<t.length;n++)this.words[n]=this.words[n]&e.words[n];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r(0==(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;r<n.length;r++)this.words[r]=t.words[r]^n.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r(0==(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return n>0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<<i:this.words[n]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,n,r;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o<r.length;o++)t=(0|n.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<n.length;o++)t=(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;o<n.length;o++)this.words[o]=n.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,a=0;a<r.length;a++)o=(t=(0|n.words[a])-(0|r.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<n.length;a++)o=(t=(0|n.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<n.length&&n!==this)for(;a<n.length;a++)this.words[a]=n.words[a];return this.length=Math.max(this.length,a),n!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var h=function(e,t,n){var r,i,o,a=e.words,s=t.words,c=n.words,l=0,f=0|a[0],u=8191&f,d=f>>>13,h=0|a[1],p=8191&h,b=h>>>13,m=0|a[2],v=8191&m,g=m>>>13,y=0|a[3],w=8191&y,S=y>>>13,A=0|a[4],E=8191&A,_=A>>>13,k=0|a[5],x=8191&k,M=k>>>13,T=0|a[6],C=8191&T,O=T>>>13,R=0|a[7],N=8191&R,I=R>>>13,D=0|a[8],P=8191&D,F=D>>>13,L=0|a[9],j=8191&L,B=L>>>13,U=0|s[0],z=8191&U,H=U>>>13,q=0|s[1],V=8191&q,K=q>>>13,W=0|s[2],Y=8191&W,G=W>>>13,J=0|s[3],Z=8191&J,X=J>>>13,Q=0|s[4],$=8191&Q,ee=Q>>>13,te=0|s[5],ne=8191&te,re=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],ce=8191&se,le=se>>>13,fe=0|s[8],ue=8191&fe,de=fe>>>13,he=0|s[9],pe=8191&he,be=he>>>13;n.negative=e.negative^t.negative,n.length=19;var me=(l+(r=Math.imul(u,z))|0)+((8191&(i=(i=Math.imul(u,H))+Math.imul(d,z)|0))<<13)|0;l=((o=Math.imul(d,H))+(i>>>13)|0)+(me>>>26)|0,me&=67108863,r=Math.imul(p,z),i=(i=Math.imul(p,H))+Math.imul(b,z)|0,o=Math.imul(b,H);var ve=(l+(r=r+Math.imul(u,V)|0)|0)+((8191&(i=(i=i+Math.imul(u,K)|0)+Math.imul(d,V)|0))<<13)|0;l=((o=o+Math.imul(d,K)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(v,z),i=(i=Math.imul(v,H))+Math.imul(g,z)|0,o=Math.imul(g,H),r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(b,V)|0,o=o+Math.imul(b,K)|0;var ge=(l+(r=r+Math.imul(u,Y)|0)|0)+((8191&(i=(i=i+Math.imul(u,G)|0)+Math.imul(d,Y)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(w,z),i=(i=Math.imul(w,H))+Math.imul(S,z)|0,o=Math.imul(S,H),r=r+Math.imul(v,V)|0,i=(i=i+Math.imul(v,K)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,K)|0,r=r+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(b,Y)|0,o=o+Math.imul(b,G)|0;var ye=(l+(r=r+Math.imul(u,Z)|0)|0)+((8191&(i=(i=i+Math.imul(u,X)|0)+Math.imul(d,Z)|0))<<13)|0;l=((o=o+Math.imul(d,X)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(E,z),i=(i=Math.imul(E,H))+Math.imul(_,z)|0,o=Math.imul(_,H),r=r+Math.imul(w,V)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(S,V)|0,o=o+Math.imul(S,K)|0,r=r+Math.imul(v,Y)|0,i=(i=i+Math.imul(v,G)|0)+Math.imul(g,Y)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(p,Z)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(b,Z)|0,o=o+Math.imul(b,X)|0;var we=(l+(r=r+Math.imul(u,$)|0)|0)+((8191&(i=(i=i+Math.imul(u,ee)|0)+Math.imul(d,$)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(x,z),i=(i=Math.imul(x,H))+Math.imul(M,z)|0,o=Math.imul(M,H),r=r+Math.imul(E,V)|0,i=(i=i+Math.imul(E,K)|0)+Math.imul(_,V)|0,o=o+Math.imul(_,K)|0,r=r+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,G)|0)+Math.imul(S,Y)|0,o=o+Math.imul(S,G)|0,r=r+Math.imul(v,Z)|0,i=(i=i+Math.imul(v,X)|0)+Math.imul(g,Z)|0,o=o+Math.imul(g,X)|0,r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(b,$)|0,o=o+Math.imul(b,ee)|0;var Se=(l+(r=r+Math.imul(u,ne)|0)|0)+((8191&(i=(i=i+Math.imul(u,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(C,z),i=(i=Math.imul(C,H))+Math.imul(O,z)|0,o=Math.imul(O,H),r=r+Math.imul(x,V)|0,i=(i=i+Math.imul(x,K)|0)+Math.imul(M,V)|0,o=o+Math.imul(M,K)|0,r=r+Math.imul(E,Y)|0,i=(i=i+Math.imul(E,G)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,G)|0,r=r+Math.imul(w,Z)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(S,Z)|0,o=o+Math.imul(S,X)|0,r=r+Math.imul(v,$)|0,i=(i=i+Math.imul(v,ee)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(b,ne)|0,o=o+Math.imul(b,re)|0;var Ae=(l+(r=r+Math.imul(u,oe)|0)|0)+((8191&(i=(i=i+Math.imul(u,ae)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,ae)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(N,z),i=(i=Math.imul(N,H))+Math.imul(I,z)|0,o=Math.imul(I,H),r=r+Math.imul(C,V)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,K)|0,r=r+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,G)|0,r=r+Math.imul(E,Z)|0,i=(i=i+Math.imul(E,X)|0)+Math.imul(_,Z)|0,o=o+Math.imul(_,X)|0,r=r+Math.imul(w,$)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(S,$)|0,o=o+Math.imul(S,ee)|0,r=r+Math.imul(v,ne)|0,i=(i=i+Math.imul(v,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(b,oe)|0,o=o+Math.imul(b,ae)|0;var Ee=(l+(r=r+Math.imul(u,ce)|0)|0)+((8191&(i=(i=i+Math.imul(u,le)|0)+Math.imul(d,ce)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(P,z),i=(i=Math.imul(P,H))+Math.imul(F,z)|0,o=Math.imul(F,H),r=r+Math.imul(N,V)|0,i=(i=i+Math.imul(N,K)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,K)|0,r=r+Math.imul(C,Y)|0,i=(i=i+Math.imul(C,G)|0)+Math.imul(O,Y)|0,o=o+Math.imul(O,G)|0,r=r+Math.imul(x,Z)|0,i=(i=i+Math.imul(x,X)|0)+Math.imul(M,Z)|0,o=o+Math.imul(M,X)|0,r=r+Math.imul(E,$)|0,i=(i=i+Math.imul(E,ee)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,ee)|0,r=r+Math.imul(w,ne)|0,i=(i=i+Math.imul(w,re)|0)+Math.imul(S,ne)|0,o=o+Math.imul(S,re)|0,r=r+Math.imul(v,oe)|0,i=(i=i+Math.imul(v,ae)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,ae)|0,r=r+Math.imul(p,ce)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(b,ce)|0,o=o+Math.imul(b,le)|0;var _e=(l+(r=r+Math.imul(u,ue)|0)|0)+((8191&(i=(i=i+Math.imul(u,de)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(j,z),i=(i=Math.imul(j,H))+Math.imul(B,z)|0,o=Math.imul(B,H),r=r+Math.imul(P,V)|0,i=(i=i+Math.imul(P,K)|0)+Math.imul(F,V)|0,o=o+Math.imul(F,K)|0,r=r+Math.imul(N,Y)|0,i=(i=i+Math.imul(N,G)|0)+Math.imul(I,Y)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(C,Z)|0,i=(i=i+Math.imul(C,X)|0)+Math.imul(O,Z)|0,o=o+Math.imul(O,X)|0,r=r+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(M,$)|0,o=o+Math.imul(M,ee)|0,r=r+Math.imul(E,ne)|0,i=(i=i+Math.imul(E,re)|0)+Math.imul(_,ne)|0,o=o+Math.imul(_,re)|0,r=r+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(S,oe)|0,o=o+Math.imul(S,ae)|0,r=r+Math.imul(v,ce)|0,i=(i=i+Math.imul(v,le)|0)+Math.imul(g,ce)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(b,ue)|0,o=o+Math.imul(b,de)|0;var ke=(l+(r=r+Math.imul(u,pe)|0)|0)+((8191&(i=(i=i+Math.imul(u,be)|0)+Math.imul(d,pe)|0))<<13)|0;l=((o=o+Math.imul(d,be)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(j,V),i=(i=Math.imul(j,K))+Math.imul(B,V)|0,o=Math.imul(B,K),r=r+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,G)|0)+Math.imul(F,Y)|0,o=o+Math.imul(F,G)|0,r=r+Math.imul(N,Z)|0,i=(i=i+Math.imul(N,X)|0)+Math.imul(I,Z)|0,o=o+Math.imul(I,X)|0,r=r+Math.imul(C,$)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(O,$)|0,o=o+Math.imul(O,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(M,ne)|0,o=o+Math.imul(M,re)|0,r=r+Math.imul(E,oe)|0,i=(i=i+Math.imul(E,ae)|0)+Math.imul(_,oe)|0,o=o+Math.imul(_,ae)|0,r=r+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,le)|0)+Math.imul(S,ce)|0,o=o+Math.imul(S,le)|0,r=r+Math.imul(v,ue)|0,i=(i=i+Math.imul(v,de)|0)+Math.imul(g,ue)|0,o=o+Math.imul(g,de)|0;var xe=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,be)|0)+Math.imul(b,pe)|0))<<13)|0;l=((o=o+Math.imul(b,be)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(j,Y),i=(i=Math.imul(j,G))+Math.imul(B,Y)|0,o=Math.imul(B,G),r=r+Math.imul(P,Z)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(F,Z)|0,o=o+Math.imul(F,X)|0,r=r+Math.imul(N,$)|0,i=(i=i+Math.imul(N,ee)|0)+Math.imul(I,$)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(C,ne)|0,i=(i=i+Math.imul(C,re)|0)+Math.imul(O,ne)|0,o=o+Math.imul(O,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,ae)|0)+Math.imul(M,oe)|0,o=o+Math.imul(M,ae)|0,r=r+Math.imul(E,ce)|0,i=(i=i+Math.imul(E,le)|0)+Math.imul(_,ce)|0,o=o+Math.imul(_,le)|0,r=r+Math.imul(w,ue)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(S,ue)|0,o=o+Math.imul(S,de)|0;var Me=(l+(r=r+Math.imul(v,pe)|0)|0)+((8191&(i=(i=i+Math.imul(v,be)|0)+Math.imul(g,pe)|0))<<13)|0;l=((o=o+Math.imul(g,be)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(j,Z),i=(i=Math.imul(j,X))+Math.imul(B,Z)|0,o=Math.imul(B,X),r=r+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(F,$)|0,o=o+Math.imul(F,ee)|0,r=r+Math.imul(N,ne)|0,i=(i=i+Math.imul(N,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,r=r+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(M,ce)|0,o=o+Math.imul(M,le)|0,r=r+Math.imul(E,ue)|0,i=(i=i+Math.imul(E,de)|0)+Math.imul(_,ue)|0,o=o+Math.imul(_,de)|0;var Te=(l+(r=r+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,be)|0)+Math.imul(S,pe)|0))<<13)|0;l=((o=o+Math.imul(S,be)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(j,$),i=(i=Math.imul(j,ee))+Math.imul(B,$)|0,o=Math.imul(B,ee),r=r+Math.imul(P,ne)|0,i=(i=i+Math.imul(P,re)|0)+Math.imul(F,ne)|0,o=o+Math.imul(F,re)|0,r=r+Math.imul(N,oe)|0,i=(i=i+Math.imul(N,ae)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,ae)|0,r=r+Math.imul(C,ce)|0,i=(i=i+Math.imul(C,le)|0)+Math.imul(O,ce)|0,o=o+Math.imul(O,le)|0,r=r+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(M,ue)|0,o=o+Math.imul(M,de)|0;var Ce=(l+(r=r+Math.imul(E,pe)|0)|0)+((8191&(i=(i=i+Math.imul(E,be)|0)+Math.imul(_,pe)|0))<<13)|0;l=((o=o+Math.imul(_,be)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(j,ne),i=(i=Math.imul(j,re))+Math.imul(B,ne)|0,o=Math.imul(B,re),r=r+Math.imul(P,oe)|0,i=(i=i+Math.imul(P,ae)|0)+Math.imul(F,oe)|0,o=o+Math.imul(F,ae)|0,r=r+Math.imul(N,ce)|0,i=(i=i+Math.imul(N,le)|0)+Math.imul(I,ce)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(C,ue)|0,i=(i=i+Math.imul(C,de)|0)+Math.imul(O,ue)|0,o=o+Math.imul(O,de)|0;var Oe=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,be)|0)+Math.imul(M,pe)|0))<<13)|0;l=((o=o+Math.imul(M,be)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(j,oe),i=(i=Math.imul(j,ae))+Math.imul(B,oe)|0,o=Math.imul(B,ae),r=r+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,le)|0)+Math.imul(F,ce)|0,o=o+Math.imul(F,le)|0,r=r+Math.imul(N,ue)|0,i=(i=i+Math.imul(N,de)|0)+Math.imul(I,ue)|0,o=o+Math.imul(I,de)|0;var Re=(l+(r=r+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,be)|0)+Math.imul(O,pe)|0))<<13)|0;l=((o=o+Math.imul(O,be)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(j,ce),i=(i=Math.imul(j,le))+Math.imul(B,ce)|0,o=Math.imul(B,le),r=r+Math.imul(P,ue)|0,i=(i=i+Math.imul(P,de)|0)+Math.imul(F,ue)|0,o=o+Math.imul(F,de)|0;var Ne=(l+(r=r+Math.imul(N,pe)|0)|0)+((8191&(i=(i=i+Math.imul(N,be)|0)+Math.imul(I,pe)|0))<<13)|0;l=((o=o+Math.imul(I,be)|0)+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(j,ue),i=(i=Math.imul(j,de))+Math.imul(B,ue)|0,o=Math.imul(B,de);var Ie=(l+(r=r+Math.imul(P,pe)|0)|0)+((8191&(i=(i=i+Math.imul(P,be)|0)+Math.imul(F,pe)|0))<<13)|0;l=((o=o+Math.imul(F,be)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var De=(l+(r=Math.imul(j,pe))|0)+((8191&(i=(i=Math.imul(j,be))+Math.imul(B,pe)|0))<<13)|0;return l=((o=Math.imul(B,be))+(i>>>13)|0)+(De>>>26)|0,De&=67108863,c[0]=me,c[1]=ve,c[2]=ge,c[3]=ye,c[4]=we,c[5]=Se,c[6]=Ae,c[7]=Ee,c[8]=_e,c[9]=ke,c[10]=xe,c[11]=Me,c[12]=Te,c[13]=Ce,c[14]=Oe,c[15]=Re,c[16]=Ne,c[17]=Ie,c[18]=De,0!==l&&(c[19]=l,n.length++),n};function p(e,t,n){return(new b).mulp(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(h=d),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o<n.length-1;o++){var a=i;i=0;for(var s=67108863&r,c=Math.min(o,t.length-1),l=Math.max(0,o-e.length+1);l<=c;l++){var f=o-l,u=(0|e.words[f])*(0|t.words[l]),d=67108863&u;s=67108863&(d=d+s|0),i+=(a=(a=a+(u/67108864|0)|0)+(d>>>26)|0)>>>26,a&=67108863}n.words[o]=s,r=a,a=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):p(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,n,e);return t},b.prototype.revBin=function(e,t,n){if(0===e||e===n-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},b.prototype.permute=function(e,t,n,r,i,o){for(var a=0;a<o;a++)r[a]=t[e[a]],i[a]=n[e[a]]},b.prototype.transform=function(e,t,n,r,i,o){this.permute(o,e,t,n,r,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,c=Math.cos(2*Math.PI/s),l=Math.sin(2*Math.PI/s),f=0;f<i;f+=s)for(var u=c,d=l,h=0;h<a;h++){var p=n[f+h],b=r[f+h],m=n[f+h+a],v=r[f+h+a],g=u*m-d*v;v=u*v+d*m,m=g,n[f+h]=p+m,r[f+h]=b+v,n[f+h+a]=p-m,r[f+h+a]=b-v,h!==s&&(g=c*u-l*d,d=c*d+l*u,u=g)}},b.prototype.guessLen13b=function(e,t){var n=1|Math.max(t,e),r=1&n,i=0;for(n=n/2|0;n;n>>>=1)i++;return 1<<i+1+r},b.prototype.conjugate=function(e,t,n){if(!(n<=1))for(var r=0;r<n/2;r++){var i=e[r];e[r]=e[n-r-1],e[n-r-1]=i,i=t[r],t[r]=-t[n-r-1],t[n-r-1]=-i}},b.prototype.normalize13b=function(e,t){for(var n=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+n;e[r]=67108863&i,n=i<67108864?0:i/67108864|0}return e},b.prototype.convert13b=function(e,t,n,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],n[2*a]=8191&o,o>>>=13,n[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)n[a]=0;r(0===o),r(0==(-8192&o))},b.prototype.stub=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=0;return t},b.prototype.mulp=function(e,t,n){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),a=new Array(r),s=new Array(r),c=new Array(r),l=new Array(r),f=new Array(r),u=new Array(r),d=n.words;d.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,l,r),this.transform(a,o,s,c,r,i),this.transform(l,o,f,u,r,i);for(var h=0;h<r;h++){var p=s[h]*f[h]-c[h]*u[h];c[h]=s[h]*u[h]+c[h]*f[h],s[h]=p}return this.conjugate(s,c,r),this.transform(s,c,d,o,r,i),this.conjugate(d,o,r),this.normalize13b(d,r),n.negative=e.negative^t.negative,n.length=e.length+t.length,n.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),p(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,n=0;n<this.length;n++){var i=(0|this.words[n])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n<t.length;n++){var r=n/26|0,i=n%26;t[n]=(e.words[r]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r<t.length&&0===t[r];r++,n=n.sqr());if(++r<t.length)for(var i=n.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(n=n.mul(i));return n},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,c=(0|this.words[t])-s<<n;this.words[t]=c|a,a=s>>>26-n}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,n){var i;r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,c=n;if(i-=a,i=Math.max(0,i),c){for(var l=0;l<a;l++)c.words[l]=this.words[l];c.length=a}if(0===a);else if(this.length>a)for(this.length-=a,l=0;l<this.length;l++)this.words[l]=this.words[l+a];else this.words[0]=0,this.length=1;var f=0;for(l=this.length-1;l>=0&&(0!==f||l>=i);l--){var u=0|this.words[l];this.words[l]=f<<26-o|u>>>o,f=u&s}return c&&0!==f&&(c.words[c.length++]=f),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<<t;return!(this.length<=n)&&!!(this.words[n]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return r("number"==typeof e),r(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,n){var i,o,a=e.length+n;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+n])+s;var c=(0|e.words[i])*t;s=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+n]=67108863&o}for(;i<this.length-n;i++)s=(o=(0|this.words[i+n])+s)>>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,a=0|i.words[i.length-1];0!==(n=26-this._countBits(a))&&(i=i.ushln(n),r.iushln(n),a=0|i.words[i.length-1]);var s,c=r.length-i.length;if("mod"!==t){(s=new o(null)).length=c+1,s.words=new Array(s.length);for(var l=0;l<s.length;l++)s.words[l]=0}var f=r.clone()._ishlnsubmul(i,1,c);0===f.negative&&(r=f,s&&(s.words[c]=1));for(var u=c-1;u>=0;u--){var d=67108864*(0|r.words[i.length+u])+(0|r.words[i.length+u-1]);for(d=Math.min(d/a|0,67108863),r._ishlnsubmul(i,d,u);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,u),r.isZero()||(r.negative^=1);s&&(s.words[u]=d)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),n&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),c=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var f=n.clone(),u=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(f),a.isub(u)),i.iushrn(1),a.iushrn(1);for(var p=0,b=1;0==(n.words[0]&b)&&p<26;++p,b<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(f),c.isub(u)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),a.isub(c)):(n.isub(t),s.isub(i),c.isub(a))}return{a:s,b:c,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),c=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,f=1;0==(t.words[0]&f)&&l<26;++l,f<<=1);if(l>0)for(t.iushrn(l);l-- >0;)a.isOdd()&&a.iadd(c),a.iushrn(1);for(var u=0,d=1;0==(n.words[0]&d)&&u<26;++u,d<<=1);if(u>0)for(n.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(n)>=0?(t.isub(n),a.isub(s)):(n.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<<t;if(this.length<=n)return this._expand(n+1),this.words[n]|=i,this;for(var o=i,a=n;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,n=this.length-1;n>=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new A(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var m={k256:null,p224:null,p192:null,p25519:null};function v(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function A(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){A.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},v.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t<this.n?-1:n.ucmp(this.p);return 0===r?(n.words[0]=0,n.length=1):r>0?n.isub(this.p):n.strip(),n},v.prototype.split=function(e,t){e.iushrn(this.n,0,t)},v.prototype.imulK=function(e){return e.imul(this.k)},i(g,v),g.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r<n;r++)t.words[r]=e.words[r];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var i=e.words[9];for(t.words[t.length++]=4194303&i,r=10;r<e.length;r++){var o=0|e.words[r];e.words[r-10]=(4194303&o)<<4|i>>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},g.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n<e.length;n++){var r=0|e.words[n];t+=977*r,e.words[n]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(y,v),i(w,v),i(S,v),S.prototype.imulK=function(e){for(var t=0,n=0;n<e.length;n++){var r=19*(0|e.words[n])+t,i=67108863&r;r>>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(m[e])return m[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new y;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return m[e]=t,t},A.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},A.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},A.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},A.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},A.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},A.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},A.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},A.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},A.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},A.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},A.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},A.prototype.isqr=function(e){return this.imul(e,e.clone())},A.prototype.sqr=function(e){return this.mul(e,e)},A.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var s=new o(1).toRed(this),c=s.redNeg(),l=this.m.subn(1).iushrn(1),f=this.m.bitLength();for(f=new o(2*f*f).toRed(this);0!==this.pow(f,l).cmp(c);)f.redIAdd(c);for(var u=this.pow(f,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=a;0!==h.cmp(s);){for(var b=h,m=0;0!==b.cmp(s);m++)b=b.redSqr();r(m<p);var v=this.pow(u,new o(1).iushln(p-m-1));d=d.redMul(v),u=v.redSqr(),h=h.redMul(u),p=m}return d},A.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},A.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var n=new Array(16);n[0]=new o(1).toRed(this),n[1]=e;for(var r=2;r<n.length;r++)n[r]=this.mul(n[r-1],e);var i=n[0],a=0,s=0,c=t.bitLength()%26;for(0===c&&(c=26),r=t.length-1;r>=0;r--){for(var l=t.words[r],f=c-1;f>=0;f--){var u=l>>f&1;i!==n[0]&&(i=this.sqr(i)),0!==u||0!==a?(a<<=1,a|=u,(4===++s||0===r&&0===f)&&(i=this.mul(i,n[a]),s=0,a=0)):s=0}c=26}return i},A.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},A.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},i(E,A),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n(354)(e))},function(e,t,n){"use strict";var r=n(1),i=n(123);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},function(e,t,n){var r=n(37);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(2),i=n(28),o=n(13),a=n(94),s=n(107),c=n(42),l=c.get,f=c.enforce,u=String(String).split("String");(e.exports=function(e,t,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||i(n,"name",t),f(n).source=u.join("string"==typeof t?t:"")),e!==r?(c?!d&&e[t]&&(l=!0):delete e[t],l?e[t]=n:i(e,t,n)):l?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(e,t,n){var r=n(16),i=n(19),o=n(56);e.exports=r?function(e,t,n){return i.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var r=n(27),i=n(5),o=n(3),a=n(114),s=RegExp.prototype,c=s.toString,l=o((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),f="toString"!=c.name;(l||f)&&r(RegExp.prototype,"toString",(function(){var e=i(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!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:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,l=[],f=!1,u=-1;function d(){f&&c&&(f=!1,c.length?l=c.concat(l):u=-1,l.length&&h())}function h(){if(!f){var e=s(d);f=!0;for(var t=l.length;t;){for(c=l,l=[];++u<t;)c&&c[u].run();u=-1,t=l.length}c=null,f=!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 p(e,t){this.fun=e,this.array=t}function b(){}i.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];l.push(new p(e,t)),1!==l.length||f||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=b,i.addListener=b,i.once=b,i.off=b,i.removeListener=b,i.removeAllListeners=b,i.emit=b,i.prependListener=b,i.prependOnceListener=b,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},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){
/*! MIT License. Copyright 2015-2018 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
!function(t){"use strict";function n(e){return parseInt(e)===e}function r(e){if(!n(e.length))return!1;for(var t=0;t<e.length;t++)if(!n(e[t])||e[t]<0||e[t]>255)return!1;return!0}function i(e,t){if(e.buffer&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!r(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(n(e.length)&&r(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function o(e){return new Uint8Array(e)}function a(e,t,n,r,i){null==r&&null==i||(e=e.slice?e.slice(r,i):Array.prototype.slice.call(e,r,i)),t.set(e,n)}var s,c={toBytes:function(e){var t=[],n=0;for(e=encodeURI(e);n<e.length;){var r=e.charCodeAt(n++);37===r?(t.push(parseInt(e.substr(n,2),16)),n+=2):t.push(r)}return i(t)},fromBytes:function(e){for(var t=[],n=0;n<e.length;){var r=e[n];r<128?(t.push(String.fromCharCode(r)),n++):r>191&&r<224?(t.push(String.fromCharCode((31&r)<<6|63&e[n+1])),n+=2):(t.push(String.fromCharCode((15&r)<<12|(63&e[n+1])<<6|63&e[n+2])),n+=3)}return t.join("")}},l=(s="0123456789abcdef",{toBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},fromBytes:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(s[(240&r)>>4]+s[15&r])}return t.join("")}}),f={16:10,24:12,32:14},u=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],d=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],h=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],b=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],m=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],v=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],g=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],y=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],w=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],S=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],A=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],E=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],_=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],k=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function x(e){for(var t=[],n=0;n<e.length;n+=4)t.push(e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]);return t}var M=function(e){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");Object.defineProperty(this,"key",{value:i(e,!0)}),this._prepare()};M.prototype._prepare=function(){var e=f[this.key.length];if(null==e)throw new Error("invalid key size (must be 16, 24 or 32 bytes)");this._Ke=[],this._Kd=[];for(var t=0;t<=e;t++)this._Ke.push([0,0,0,0]),this._Kd.push([0,0,0,0]);var n,r=4*(e+1),i=this.key.length/4,o=x(this.key);for(t=0;t<i;t++)n=t>>2,this._Ke[n][t%4]=o[t],this._Kd[e-n][t%4]=o[t];for(var a,s=0,c=i;c<r;){if(a=o[i-1],o[0]^=d[a>>16&255]<<24^d[a>>8&255]<<16^d[255&a]<<8^d[a>>24&255]^u[s]<<24,s+=1,8!=i)for(t=1;t<i;t++)o[t]^=o[t-1];else{for(t=1;t<i/2;t++)o[t]^=o[t-1];a=o[i/2-1],o[i/2]^=d[255&a]^d[a>>8&255]<<8^d[a>>16&255]<<16^d[a>>24&255]<<24;for(t=i/2+1;t<i;t++)o[t]^=o[t-1]}for(t=0;t<i&&c<r;)l=c>>2,h=c%4,this._Ke[l][h]=o[t],this._Kd[e-l][h]=o[t++],c++}for(var l=1;l<e;l++)for(var h=0;h<4;h++)a=this._Kd[l][h],this._Kd[l][h]=A[a>>24&255]^E[a>>16&255]^_[a>>8&255]^k[255&a]},M.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,n=[0,0,0,0],r=x(e),i=0;i<4;i++)r[i]^=this._Ke[0][i];for(var a=1;a<t;a++){for(i=0;i<4;i++)n[i]=p[r[i]>>24&255]^b[r[(i+1)%4]>>16&255]^m[r[(i+2)%4]>>8&255]^v[255&r[(i+3)%4]]^this._Ke[a][i];r=n.slice()}var s,c=o(16);for(i=0;i<4;i++)s=this._Ke[t][i],c[4*i]=255&(d[r[i]>>24&255]^s>>24),c[4*i+1]=255&(d[r[(i+1)%4]>>16&255]^s>>16),c[4*i+2]=255&(d[r[(i+2)%4]>>8&255]^s>>8),c[4*i+3]=255&(d[255&r[(i+3)%4]]^s);return c},M.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,n=[0,0,0,0],r=x(e),i=0;i<4;i++)r[i]^=this._Kd[0][i];for(var a=1;a<t;a++){for(i=0;i<4;i++)n[i]=g[r[i]>>24&255]^y[r[(i+3)%4]>>16&255]^w[r[(i+2)%4]>>8&255]^S[255&r[(i+1)%4]]^this._Kd[a][i];r=n.slice()}var s,c=o(16);for(i=0;i<4;i++)s=this._Kd[t][i],c[4*i]=255&(h[r[i]>>24&255]^s>>24),c[4*i+1]=255&(h[r[(i+3)%4]>>16&255]^s>>16),c[4*i+2]=255&(h[r[(i+2)%4]>>8&255]^s>>8),c[4*i+3]=255&(h[255&r[(i+1)%4]]^s);return c};var T=function(e){if(!(this instanceof T))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new M(e)};T.prototype.encrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),r=0;r<e.length;r+=16)a(e,n,0,r,r+16),a(n=this._aes.encrypt(n),t,r);return t},T.prototype.decrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),r=0;r<e.length;r+=16)a(e,n,0,r,r+16),a(n=this._aes.decrypt(n),t,r);return t};var C=function(e,t){if(!(this instanceof C))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Block Chaining",this.name="cbc",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=o(16);this._lastCipherblock=i(t,!0),this._aes=new M(e)};C.prototype.encrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),r=0;r<e.length;r+=16){a(e,n,0,r,r+16);for(var s=0;s<16;s++)n[s]^=this._lastCipherblock[s];this._lastCipherblock=this._aes.encrypt(n),a(this._lastCipherblock,t,r)}return t},C.prototype.decrypt=function(e){if((e=i(e)).length%16!=0)throw new Error("invalid ciphertext size (must be multiple of 16 bytes)");for(var t=o(e.length),n=o(16),r=0;r<e.length;r+=16){a(e,n,0,r,r+16),n=this._aes.decrypt(n);for(var s=0;s<16;s++)t[r+s]=n[s]^this._lastCipherblock[s];a(e,this._lastCipherblock,0,r,r+16)}return t};var O=function(e,t,n){if(!(this instanceof O))throw Error("AES must be instanitated with `new`");if(this.description="Cipher Feedback",this.name="cfb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 size)")}else t=o(16);n||(n=1),this.segmentSize=n,this._shiftRegister=i(t,!0),this._aes=new M(e)};O.prototype.encrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid plaintext size (must be segmentSize bytes)");for(var t,n=i(e,!0),r=0;r<n.length;r+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var o=0;o<this.segmentSize;o++)n[r+o]^=t[o];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(n,this._shiftRegister,16-this.segmentSize,r,r+this.segmentSize)}return n},O.prototype.decrypt=function(e){if(e.length%this.segmentSize!=0)throw new Error("invalid ciphertext size (must be segmentSize bytes)");for(var t,n=i(e,!0),r=0;r<n.length;r+=this.segmentSize){t=this._aes.encrypt(this._shiftRegister);for(var o=0;o<this.segmentSize;o++)n[r+o]^=t[o];a(this._shiftRegister,this._shiftRegister,0,this.segmentSize),a(e,this._shiftRegister,16-this.segmentSize,r,r+this.segmentSize)}return n};var R=function(e,t){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");if(this.description="Output Feedback",this.name="ofb",t){if(16!=t.length)throw new Error("invalid initialation vector size (must be 16 bytes)")}else t=o(16);this._lastPrecipher=i(t,!0),this._lastPrecipherIndex=16,this._aes=new M(e)};R.prototype.encrypt=function(e){for(var t=i(e,!0),n=0;n<t.length;n++)16===this._lastPrecipherIndex&&(this._lastPrecipher=this._aes.encrypt(this._lastPrecipher),this._lastPrecipherIndex=0),t[n]^=this._lastPrecipher[this._lastPrecipherIndex++];return t},R.prototype.decrypt=R.prototype.encrypt;var N=function(e){if(!(this instanceof N))throw Error("Counter must be instanitated with `new`");0===e||e||(e=1),"number"==typeof e?(this._counter=o(16),this.setValue(e)):this.setBytes(e)};N.prototype.setValue=function(e){if("number"!=typeof e||parseInt(e)!=e)throw new Error("invalid counter value (must be an integer)");if(e>Number.MAX_SAFE_INTEGER)throw new Error("integer value out of safe range");for(var t=15;t>=0;--t)this._counter[t]=e%256,e=parseInt(e/256)},N.prototype.setBytes=function(e){if(16!=(e=i(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},N.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var I=function(e,t){if(!(this instanceof I))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof N||(t=new N(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new M(e)};I.prototype.encrypt=function(e){for(var t=i(e,!0),n=0;n<t.length;n++)16===this._remainingCounterIndex&&(this._remainingCounter=this._aes.encrypt(this._counter._counter),this._remainingCounterIndex=0,this._counter.increment()),t[n]^=this._remainingCounter[this._remainingCounterIndex++];return t},I.prototype.decrypt=I.prototype.encrypt;var D={AES:M,Counter:N,ModeOfOperation:{ecb:T,cbc:C,cfb:O,ofb:R,ctr:I},utils:{hex:l,utf8:c},padding:{pkcs7:{pad:function(e){var t=16-(e=i(e,!0)).length%16,n=o(e.length+t);a(e,n);for(var r=e.length;r<n.length;r++)n[r]=t;return n},strip:function(e){if((e=i(e,!0)).length<16)throw new Error("PKCS#7 invalid length");var t=e[e.length-1];if(t>16)throw new Error("PKCS#7 padding byte out of range");for(var n=e.length-t,r=0;r<t;r++)if(e[n+r]!==t)throw new Error("PKCS#7 invalid padding byte");var s=o(n);return a(e,s,0,0,n),s}}},_arrayTest:{coerceArray:i,createArray:o,copyArray:a}};e.exports=D}()},function(e,t,n){"use strict";var r=n(1),i=n(90).indexOf,o=n(77),a=n(54),s=[].indexOf,c=!!s&&1/[1].indexOf(1,-0)<0,l=o("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:c||!l||!f},{indexOf:function(e){return c?s.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(16),i=n(19).f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/;!r||"name"in o||i(o,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){var r=n(144),i=n(2),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e])||o(i[e]):r[e]&&r[e][t]||i[e]&&i[e][t]}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(73),i=n(37);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(40),i=n(73),o=n(26),a=n(9),s=n(117),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,f=4==e,u=6==e,d=5==e||u;return function(h,p,b,m){for(var v,g,y=o(h),w=i(y),S=r(p,b,3),A=a(w.length),E=0,_=m||s,k=t?_(h,A):n?_(h,0):void 0;A>E;E++)if((d||E in w)&&(g=S(v=w[E],E,y),e))if(t)k[E]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:c.call(k,v)}else if(f)return!1;return u?-1:l||f?f:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6)}},function(e,t,n){var r=n(31);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r,i,o,a=n(216),s=n(2),c=n(10),l=n(28),f=n(13),u=n(78),d=n(68),h=s.WeakMap;if(a){var p=new h,b=p.get,m=p.has,v=p.set;r=function(e,t){return v.call(p,e,t),t},i=function(e){return b.call(p,e)||{}},o=function(e){return m.call(p,e)}}else{var g=u("state");d[g]=!0,r=function(e,t){return l(e,g,t),t},i=function(e){return f(e,g)?e[g]:{}},o=function(e){return f(e,g)}}e.exports={set:r,get:i,has:o,enforce:function(e){return o(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){"use strict";var r=n(124),i=n(5),o=n(26),a=n(9),s=n(48),c=n(37),l=n(150),f=n(125),u=Math.max,d=Math.min,h=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,b=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(e,t,n,r){var m=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=r.REPLACE_KEEPS_$0,g=m?"$":"$0";return[function(n,r){var i=c(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!m&&v||"string"==typeof r&&-1===r.indexOf(g)){var o=n(t,e,this,r);if(o.done)return o.value}var c=i(e),h=String(this),p="function"==typeof r;p||(r=String(r));var b=c.global;if(b){var w=c.unicode;c.lastIndex=0}for(var S=[];;){var A=f(c,h);if(null===A)break;if(S.push(A),!b)break;""===String(A[0])&&(c.lastIndex=l(h,a(c.lastIndex),w))}for(var E,_="",k=0,x=0;x<S.length;x++){A=S[x];for(var M=String(A[0]),T=u(d(s(A.index),h.length),0),C=[],O=1;O<A.length;O++)C.push(void 0===(E=A[O])?E:String(E));var R=A.groups;if(p){var N=[M].concat(C,T,h);void 0!==R&&N.push(R);var I=String(r.apply(void 0,N))}else I=y(M,h,T,C,R,r);T>=k&&(_+=h.slice(k,T)+I,k=T+M.length)}return _+h.slice(k)}];function y(e,n,r,i,a,s){var c=r+e.length,l=i.length,f=b;return void 0!==a&&(a=o(a),f=p),t.call(s,f,(function(t,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return t;if(f>l){var u=h(f/10);return 0===u?t:u<=l?void 0===i[u-1]?o.charAt(1):i[u-1]+o.charAt(1):t}s=i[f-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(1),i=n(73),o=n(38),a=n(77),s=[].join,c=i!=Object,l=a("join",",");r({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(1),i=n(10),o=n(75),a=n(64),s=n(9),c=n(38),l=n(80),f=n(6),u=n(76),d=n(54),h=u("slice"),p=d("slice",{ACCESSORS:!0,0:0,1:2}),b=f("species"),m=[].slice,v=Math.max;r({target:"Array",proto:!0,forced:!h||!p},{slice:function(e,t){var n,r,f,u=c(this),d=s(u.length),h=a(e,d),p=a(void 0===t?d:t,d);if(o(u)&&("function"!=typeof(n=u.constructor)||n!==Array&&!o(n.prototype)?i(n)&&null===(n=n[b])&&(n=void 0):n=void 0,n===Array||void 0===n))return m.call(u,h,p);for(r=new(void 0===n?Array:n)(v(p-h,0)),f=0;h<p;h++,f++)h in u&&l(r,f,u[h]);return r.length=f,r}})},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){"use strict";var r=t,i=n(24),o=n(46),a=n(266);r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=function(e,t,n){var r=new Array(Math.max(e.bitLength(),n)+1);r.fill(0);for(var i=1<<t+1,o=e.clone(),a=0;a<r.length;a++){var s,c=o.andln(i-1);o.isOdd()?(s=c>(i>>1)-1?(i>>1)-c:c,o.isubn(s)):s=0,r[a]=s,o.iushrn(1)}return r},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var o,a,s,c=e.andln(3)+r&3,l=t.andln(3)+i&3;if(3===c&&(c=-1),3===l&&(l=-1),0==(1&c))o=0;else o=3!==(s=e.andln(7)+r&7)&&5!==s||2!==l?c:-c;if(n[0].push(o),0==(1&l))a=0;else a=3!==(s=t.andln(7)+i&7)&&5!==s||2!==c?l:-l;n[1].push(a),2*r===o+1&&(r=1-r),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(5),i=n(122),o=n(9),a=n(40),s=n(82),c=n(149),l=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,f,u){var d,h,p,b,m,v,g,y=a(t,n,f?2:1);if(u)d=e;else{if("function"!=typeof(h=s(e)))throw TypeError("Target is not iterable");if(i(h)){for(p=0,b=o(e.length);b>p;p++)if((m=f?y(r(g=e[p])[0],g[1]):y(e[p]))&&m instanceof l)return m;return new l(!1)}d=h.call(e)}for(v=d.next;!(g=v.call(d)).done;)if("object"==typeof(m=c(d,y,g.value,f))&&m&&m instanceof l)return m;return new l(!1)}).stop=function(e){return new l(!0,e)}},function(e,t,n){var r=n(5),i=n(31),o=n(6)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[o])?t:i(n)}},function(e,t,n){var r=n(16),i=n(111),o=n(56),a=n(38),s=n(61),c=n(13),l=n(138),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=a(e),t=s(t,!0),l)try{return f(e,t)}catch(e){}if(c(e,t))return o(!i.f.call(e,t),e[t])}},function(e,t,n){"use strict";var r=n(124),i=n(134),o=n(5),a=n(37),s=n(50),c=n(150),l=n(9),f=n(125),u=n(123),d=n(3),h=[].push,p=Math.min,b=!d((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,o);for(var s,c,l,f=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,b=new RegExp(e.source,d+"g");(s=u.call(b,r))&&!((c=b.lastIndex)>p&&(f.push(r.slice(p,s.index)),s.length>1&&s.index<r.length&&h.apply(f,s.slice(1)),l=s[0].length,p=c,f.length>=o));)b.lastIndex===s.index&&b.lastIndex++;return p===r.length?!l&&b.test("")||f.push(""):f.push(r.slice(p)),f.length>o?f.slice(0,o):f}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=a(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var a=n(r,e,this,i,r!==t);if(a.done)return a.value;var u=o(e),d=String(this),h=s(u,RegExp),m=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(b?"y":"g"),g=new h(b?u:"^(?:"+u.source+")",v),y=void 0===i?4294967295:i>>>0;if(0===y)return[];if(0===d.length)return null===f(g,d)?[d]:[];for(var w=0,S=0,A=[];S<d.length;){g.lastIndex=b?S:0;var E,_=f(g,b?d:d.slice(S));if(null===_||(E=p(l(g.lastIndex+(b?0:S)),d.length))===w)S=c(d,S,m);else{if(A.push(d.slice(w,S)),A.length===y)return A;for(var k=1;k<=_.length-1;k++)if(A.push(_[k]),A.length===y)return A;S=w=E}}return A.push(d.slice(w)),A}]}),!b)},function(e,t,n){"use strict";var r=n(46),i=n(4);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=a(i)),n+=c(i.toString(16))}return n},t.zero2=s,t.zero8=c,t.join32=function(e,t,n,i){var o=n-t;r(o%4==0);for(var a=new Array(o/4),s=0,c=t;s<a.length;s++,c+=4){var l;l="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],a[s]=l>>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o<r?1:0)+n+i;e[t]=a>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,a,s){var c=0,l=t;return c+=(l=l+r>>>0)<t?1:0,c+=(l=l+o>>>0)<o?1:0,e+n+i+a+(c+=(l=l+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,a,s,c,l){var f=0,u=t;return f+=(u=u+r>>>0)<t?1:0,f+=(u=u+o>>>0)<o?1:0,f+=(u=u+s>>>0)<s?1:0,e+n+i+a+c+(f+=(u=u+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,o,a,s,c,l){return t+r+o+s+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){var r=n(16),i=n(3),o=n(13),a=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,t){if(o(s,e))return s[e];t||(t={});var n=[][e],l=!!o(t,"ACCESSORS")&&t.ACCESSORS,f=o(t,0)?t[0]:c,u=o(t,1)?t[1]:void 0;return s[e]=!!n&&!i((function(){if(l&&!r)return!0;var e={length:-1};l?a(e,1,{enumerable:!0,get:c}):e[1]=1,n.call(e,f,u)}))}},function(e,t,n){"use strict";var r=n(1),i=n(217);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(19).f,i=n(13),o=n(6)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){"use strict";var r=n(1),i=n(39).filter,o=n(76),a=n(54),s=o("filter"),c=a("filter");r({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(2),i=n(210),o=n(217),a=n(28);for(var s in i){var c=r[s],l=c&&c.prototype;if(l&&l.forEach!==o)try{a(l,"forEach",o)}catch(e){l.forEach=o}}},function(e,t,n){var r=n(140),i=n(95).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(10);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r,i=n(5),o=n(148),a=n(95),s=n(68),c=n(146),l=n(106),f=n(78),u=f("IE_PROTO"),d=function(){},h=function(e){return"<script>"+e+"<\/script>"},p=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;p=r?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete p.prototype[a[n]];return p()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=i(e),n=new d,d.prototype=null,n[u]=e):n=p(),void 0===t?n:o(n,t)}},function(e,t,n){"use strict";var r=n(1),i=n(39).map,o=n(76),a=n(54),s=o("map"),c=a("map");r({target:"Array",proto:!0,forced:!s||!c},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(48),i=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},function(e,t,n){var r=n(7).Buffer,i=n(245).Transform,o=n(99).StringDecoder;function a(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n(4)(a,i),a.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=a},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(126),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var o=n(101);o.inherits=n(4);var a=n(246),s=n(182);o.inherits(u,a);for(var c=i(s.prototype),l=0;l<c.length;l++){var f=c[l];u.prototype[f]||(u.prototype[f]=s.prototype[f])}function u(e){if(!(this instanceof u))return new u(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",d)}function d(){this.allowHalfOpen||this._writableState.ended||r(h,this)}function h(e){e.end()}Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),u.prototype._destroy=function(e,t){this.push(null),this.end(),r(t,e)}},function(e,t){e.exports={}},function(e,t,n){var r=n(1),i=n(26),o=n(91);r({target:"Object",stat:!0,forced:n(3)((function(){o(1)}))},{keys:function(e){return o(i(e))}})},function(e,t,n){var r=n(1),i=n(212);r({target:"Array",stat:!0,forced:!n(113)((function(e){Array.from(e)}))},{from:i})},function(e,t,n){var r=n(96),i=n(41),o=n(6)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?i(t):"Object"==(r=i(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(3),i=n(41),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(41);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(3),i=n(6),o=n(110),a=i("species");e.exports=function(e){return o>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){var r=n(108),i=n(74),o=r("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var r=n(3),i=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==l||n!=c&&("function"==typeof t?r(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},function(e,t,n){"use strict";var r=n(61),i=n(19),o=n(56);e.exports=function(e,t,n){var a=r(t);a in e?i.f(e,a,o(0,n)):e[a]=n}},function(e,t,n){var r=n(5),i=n(219);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return r(n),i(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},function(e,t,n){var r=n(71),i=n(66),o=n(6)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(1),i=n(205).trim;r({target:"String",proto:!0,forced:n(298)("trim")},{trim:function(){return i(this)}})},function(e,t,n){"use strict";var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function o(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,a,s;if("string"==typeof t&&(i="not ",t.substr(!a||a<0?0:+a,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(r," ").concat(o(t,"type"));else{var c=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(c," ").concat(r," ").concat(o(t,"type"))}return s+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=r},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=l;var i=n(227),o=n(231);n(85)(l,i);for(var a=r(o.prototype),s=0;s<a.length;s++){var c=a[s];l.prototype[c]||(l.prototype[c]=o.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),o.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||t.nextTick(u,this)}function u(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,n(30))},function(e,t,n){"use strict";(function(t,r){var i=n(7).Buffer,o=t.crypto||t.msCrypto;o&&o.getRandomValues?e.exports=function(e,t){if(e>4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(e);if(e>0)if(e>65536)for(var a=0;a<e;a+=65536)o.getRandomValues(n.slice(a,a+65536));else o.getRandomValues(n);if("function"==typeof t)return r.nextTick((function(){t(null,n)}));return n}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,n(32),n(30))},function(e,t,n){var r=n(7).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,o=e.length,a=this._len,s=0;s<o;){for(var c=a%i,l=Math.min(o-s,i-c),f=0;f<l;f++)n[c+f]=e[s+f];s+=l,(a+=l)%i==0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},function(e,t,n){"use strict";var r=n(4),i=n(225),o=n(314).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function c(e,t){return e<<t|e>>>32-t}function l(e,t,n,r,i,o,a){return c(e+(t&n|~t&r)+i+o|0,a)+t|0}function f(e,t,n,r,i,o,a){return c(e+(t&r|n&~r)+i+o|0,a)+t|0}function u(e,t,n,r,i,o,a){return c(e+(t^n^r)+i+o|0,a)+t|0}function d(e,t,n,r,i,o,a){return c(e+(n^(t|~r))+i+o|0,a)+t|0}r(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=l(n,r,i,o,e[0],3614090360,7),o=l(o,n,r,i,e[1],3905402710,12),i=l(i,o,n,r,e[2],606105819,17),r=l(r,i,o,n,e[3],3250441966,22),n=l(n,r,i,o,e[4],4118548399,7),o=l(o,n,r,i,e[5],1200080426,12),i=l(i,o,n,r,e[6],2821735955,17),r=l(r,i,o,n,e[7],4249261313,22),n=l(n,r,i,o,e[8],1770035416,7),o=l(o,n,r,i,e[9],2336552879,12),i=l(i,o,n,r,e[10],4294925233,17),r=l(r,i,o,n,e[11],2304563134,22),n=l(n,r,i,o,e[12],1804603682,7),o=l(o,n,r,i,e[13],4254626195,12),i=l(i,o,n,r,e[14],2792965006,17),n=f(n,r=l(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=f(o,n,r,i,e[6],3225465664,9),i=f(i,o,n,r,e[11],643717713,14),r=f(r,i,o,n,e[0],3921069994,20),n=f(n,r,i,o,e[5],3593408605,5),o=f(o,n,r,i,e[10],38016083,9),i=f(i,o,n,r,e[15],3634488961,14),r=f(r,i,o,n,e[4],3889429448,20),n=f(n,r,i,o,e[9],568446438,5),o=f(o,n,r,i,e[14],3275163606,9),i=f(i,o,n,r,e[3],4107603335,14),r=f(r,i,o,n,e[8],1163531501,20),n=f(n,r,i,o,e[13],2850285829,5),o=f(o,n,r,i,e[2],4243563512,9),i=f(i,o,n,r,e[7],1735328473,14),n=u(n,r=f(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=u(o,n,r,i,e[8],2272392833,11),i=u(i,o,n,r,e[11],1839030562,16),r=u(r,i,o,n,e[14],4259657740,23),n=u(n,r,i,o,e[1],2763975236,4),o=u(o,n,r,i,e[4],1272893353,11),i=u(i,o,n,r,e[7],4139469664,16),r=u(r,i,o,n,e[10],3200236656,23),n=u(n,r,i,o,e[13],681279174,4),o=u(o,n,r,i,e[0],3936430074,11),i=u(i,o,n,r,e[3],3572445317,16),r=u(r,i,o,n,e[6],76029189,23),n=u(n,r,i,o,e[9],3654602809,4),o=u(o,n,r,i,e[12],3873151461,11),i=u(i,o,n,r,e[15],530742520,16),n=d(n,r=u(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=d(o,n,r,i,e[7],1126891415,10),i=d(i,o,n,r,e[14],2878612391,15),r=d(r,i,o,n,e[5],4237533241,21),n=d(n,r,i,o,e[12],1700485571,6),o=d(o,n,r,i,e[3],2399980690,10),i=d(i,o,n,r,e[10],4293915773,15),r=d(r,i,o,n,e[1],2240044497,21),n=d(n,r,i,o,e[8],1873313359,6),o=d(o,n,r,i,e[15],4264355552,10),i=d(i,o,n,r,e[6],2734768916,15),r=d(r,i,o,n,e[13],1309151649,21),n=d(n,r,i,o,e[4],4149444226,6),o=d(o,n,r,i,e[11],3174756917,10),i=d(i,o,n,r,e[2],718787259,15),r=d(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},function(e,t,n){var r=n(38),i=n(9),o=n(64),a=function(e){return function(t,n,a){var s,c=r(t),l=i(c.length),f=o(a,l);if(e&&n!=n){for(;l>f;)if((s=c[f++])!=s)return!0}else for(;l>f;f++)if((e||f in c)&&c[f]===n)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(140),i=n(95);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(1),i=n(31),o=n(26),a=n(3),s=n(77),c=[],l=c.sort,f=a((function(){c.sort(void 0)})),u=a((function(){c.sort(null)})),d=s("sort");r({target:"Array",proto:!0,forced:f||!u||!d},{sort:function(e){return void 0===e?l.call(o(this)):l.call(o(this),i(e))}})},function(e,t,n){var r=n(13),i=n(26),o=n(78),a=n(218),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,n){var r=n(2),i=n(28);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r={};r[n(6)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r=n(36),i=n(19),o=n(6),a=n(16),s=o("species");e.exports=function(e){var t=r(e),n=i.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function f(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){var i,o,a,s;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=f(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length)}function b(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return f(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var l=c.length,f=m(c,l);for(n=0;n<l;++n)o(f[n],this,t)}return!0},s.prototype.addListener=function(e,t){return u(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return u(this,e,t,!0)},s.prototype.once=function(e,t){return l(t),this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return p(this,e,!0)},s.prototype.rawListeners=function(e){return p(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},s.prototype.listenerCount=b,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){"use strict";var r=n(7).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=f,this.end=u,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�".repeat(n+2)}}(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function f(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function u(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�".repeat(this.lastTotal-this.lastNeed):t},o.prototype.text=function(e,t){var n=function(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--r<n)return 0;if((i=a(t[r]))>=0)return i>0&&(e.lastNeed=i-2),i;if(--r<n)return 0;if((i=a(t[r]))>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";var r=n(4),i=n(89),o=n(179),a=n(180),s=n(65);function c(e){s.call(this,"digest"),this._hash=e}r(c,s),c.prototype._update=function(e){this._hash.update(e)},c.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new c(a(e))}},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(12).Buffer)},function(e,t,n){(function(t){e.exports=function(e,n){for(var r=Math.min(e.length,n.length),i=new t(r),o=0;o<r;++o)i[o]=e[o]^n[o];return i}}).call(this,n(12).Buffer)},function(e,t,n){"use strict";var r=n(53),i=n(46);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},function(e,t,n){var r=t;r.bignum=n(24),r.define=n(380).define,r.base=n(105),r.constants=n(272),r.decoders=n(385),r.encoders=n(387)},function(e,t,n){var r=t;r.Reporter=n(382).Reporter,r.DecoderBuffer=n(271).DecoderBuffer,r.EncoderBuffer=n(271).EncoderBuffer,r.Node=n(383)},function(e,t,n){var r=n(2),i=n(10),o=r.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(139),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return i.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(21),i=n(139);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(3);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r,i,o=n(2),a=n(132),s=o.process,c=s&&s.versions,l=c&&c.v8;l?i=(r=l.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),e.exports=i&&+i},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t,n){"use strict";var r,i,o,a,s=n(1),c=n(21),l=n(2),f=n(36),u=n(281),d=n(27),h=n(121),p=n(57),b=n(97),m=n(10),v=n(31),g=n(72),y=n(41),w=n(107),S=n(49),A=n(113),E=n(50),_=n(194).set,k=n(287),x=n(282),M=n(288),T=n(196),C=n(289),O=n(42),R=n(79),N=n(6),I=n(110),D=N("species"),P="Promise",F=O.get,L=O.set,j=O.getterFor(P),B=u,U=l.TypeError,z=l.document,H=l.process,q=f("fetch"),V=T.f,K=V,W="process"==y(H),Y=!!(z&&z.createEvent&&l.dispatchEvent),G=R(P,(function(){if(!(w(B)!==String(B))){if(66===I)return!0;if(!W&&"function"!=typeof PromiseRejectionEvent)return!0}if(c&&!B.prototype.finally)return!0;if(I>=51&&/native code/.test(B))return!1;var e=B.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[D]=t,!(e.then((function(){}))instanceof t)})),J=G||!A((function(e){B.all(e).catch((function(){}))})),Z=function(e){var t;return!(!m(e)||"function"!=typeof(t=e.then))&&t},X=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;k((function(){for(var i=t.value,o=1==t.state,a=0;r.length>a;){var s,c,l,f=r[a++],u=o?f.ok:f.fail,d=f.resolve,h=f.reject,p=f.domain;try{u?(o||(2===t.rejection&&te(e,t),t.rejection=1),!0===u?s=i:(p&&p.enter(),s=u(i),p&&(p.exit(),l=!0)),s===f.promise?h(U("Promise-chain cycle")):(c=Z(s))?c.call(s,d,h):d(s)):h(i)}catch(e){p&&!l&&p.exit(),h(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&$(e,t)}))}},Q=function(e,t,n){var r,i;Y?((r=z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},(i=l["on"+e])?i(r):"unhandledrejection"===e&&M("Unhandled promise rejection",n)},$=function(e,t){_.call(l,(function(){var n,r=t.value;if(ee(t)&&(n=C((function(){W?H.emit("unhandledRejection",r,e):Q("unhandledrejection",e,r)})),t.rejection=W||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){_.call(l,(function(){W?H.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)}))},ne=function(e,t,n,r){return function(i){e(t,n,i,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,X(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var i=Z(n);i?k((function(){var r={done:!1};try{i.call(n,ne(ie,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}})):(t.value=n,t.state=1,X(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};G&&(B=function(e){g(this,B,P),v(e),r.call(this);var t=F(this);try{e(ne(ie,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},(r=function(e){L(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(B.prototype,{then:function(e,t){var n=j(this),r=V(E(this,B));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=W?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&X(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r,t=F(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(re,e,t)},T.f=V=function(e){return e===B||e===o?new i(e):K(e)},c||"function"!=typeof u||(a=u.prototype.then,d(u.prototype,"then",(function(e,t){var n=this;return new B((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof q&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return x(B,q.apply(l,arguments))}}))),s({global:!0,wrap:!0,forced:G},{Promise:B}),p(B,P,!1,!0),b(P),o=f(P),s({target:P,stat:!0,forced:G},{reject:function(e){var t=V(this);return t.reject.call(void 0,e),t.promise}}),s({target:P,stat:!0,forced:c||G},{resolve:function(e){return x(c&&this===o?B:this,e)}}),s({target:P,stat:!0,forced:J},{all:function(e){var t=this,n=V(t),r=n.resolve,i=n.reject,o=C((function(){var n=v(t.resolve),o=[],a=0,s=1;S(e,(function(e){var c=a++,l=!1;o.push(void 0),s++,n.call(t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=V(t),r=n.reject,i=C((function(){var i=v(t.resolve);S(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},function(e,t,n){var r=n(6)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(5);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(21),i=n(234);e.exports=r?i:function(e){return Map.prototype.entries.call(e)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(10),i=n(75),o=n(6)("species");e.exports=function(e,t){var n;return i(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(16),i=n(2),o=n(79),a=n(120),s=n(19).f,c=n(60).f,l=n(134),f=n(114),u=n(214),d=n(27),h=n(3),p=n(42).set,b=n(97),m=n(6)("match"),v=i.RegExp,g=v.prototype,y=/a/g,w=/a/g,S=new v(y)!==y,A=u.UNSUPPORTED_Y;if(r&&o("RegExp",!S||A||h((function(){return w[m]=!1,v(y)!=y||v(w)==w||"/a/i"!=v(y,"i")})))){for(var E=function(e,t){var n,r=this instanceof E,i=l(e),o=void 0===t;if(!r&&i&&e.constructor===E&&o)return e;S?i&&!o&&(e=e.source):e instanceof E&&(o&&(t=f.call(e)),e=e.source),A&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=a(S?new v(e,t):v(e,t),r?this:g,E);return A&&n&&p(s,{sticky:n}),s},_=function(e){e in E||s(E,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},k=c(v),x=0;k.length>x;)_(k[x++]);g.constructor=E,E.prototype=g,d(i,"RegExp",E)}b("RegExp")},function(e,t,n){"use strict";var r=n(1),i=n(64),o=n(48),a=n(9),s=n(26),c=n(117),l=n(80),f=n(76),u=n(54),d=f("splice"),h=u("splice",{ACCESSORS:!0,0:0,1:2}),p=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!d||!h},{splice:function(e,t){var n,r,f,u,d,h,m=s(this),v=a(m.length),g=i(e,v),y=arguments.length;if(0===y?n=r=0:1===y?(n=0,r=v-g):(n=y-2,r=b(p(o(t),0),v-g)),v+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(f=c(m,r),u=0;u<r;u++)(d=g+u)in m&&l(f,u,m[d]);if(f.length=r,n<r){for(u=g;u<v-r;u++)h=u+n,(d=u+r)in m?m[h]=m[d]:delete m[h];for(u=v;u>v-r+n;u--)delete m[u-1]}else if(n>r)for(u=v-r;u>g;u--)h=u+n-1,(d=u+r-1)in m?m[h]=m[d]:delete m[h];for(u=0;u<n;u++)m[u+g]=arguments[u+2];return m.length=v-r+n,f}})},function(e,t,n){var r=n(10),i=n(81);e.exports=function(e,t,n){var o,a;return i&&"function"==typeof(o=t.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(e,a),e}},function(e,t,n){var r=n(27);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){var r=n(6),i=n(66),o=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},function(e,t,n){"use strict";var r,i,o=n(114),a=n(214),s=RegExp.prototype.exec,c=String.prototype.replace,l=s,f=(r=/a/,i=/b*/g,s.call(r,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),u=a.UNSUPPORTED_Y||a.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(f||d||u)&&(l=function(e){var t,n,r,i,a=this,l=u&&a.sticky,h=o.call(a),p=a.source,b=0,m=e;return l&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),m=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(p="(?: "+p+")",m=" "+m,b++),n=new RegExp("^(?:"+p+")",h)),d&&(n=new RegExp("^"+p+"$(?!\\s)",h)),f&&(t=a.lastIndex),r=s.call(l?n:a,m),l?r?(r.input=r.input.slice(b),r[0]=r[0].slice(b),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:f&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),d&&r&&r.length>1&&c.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),e.exports=l},function(e,t,n){"use strict";n(25);var r=n(27),i=n(3),o=n(6),a=n(123),s=n(28),c=o("species"),l=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f="$0"==="a".replace(/./,"$0"),u=o("replace"),d=!!/./[u]&&""===/./[u]("a","$0"),h=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,u){var p=o(e),b=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),m=b&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!b||!m||"replace"===e&&(!l||!f||d)||"split"===e&&!h){var v=/./[p],g=n(p,""[e],(function(e,t,n,r,i){return t.exec===a?b&&!i?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),y=g[0],w=g[1];r(String.prototype,e,y),r(RegExp.prototype,p,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}u&&s(RegExp.prototype[p],"sham",!0)}},function(e,t,n){var r=n(41),i=n(123);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";(function(t){!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports=function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick((function(){e.apply(null,o)}))}}:e.exports=t.nextTick}).call(this,n(30))},function(e,t,n){var r=n(7).Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,n=new Array(t),i=0;i<t;i++)n[i]=e.readUInt32BE(4*i);return n}function o(e){for(;0<e.length;e++)e[0]=0}function a(e,t,n,r,i){for(var o,a,s,c,l=n[0],f=n[1],u=n[2],d=n[3],h=e[0]^t[0],p=e[1]^t[1],b=e[2]^t[2],m=e[3]^t[3],v=4,g=1;g<i;g++)o=l[h>>>24]^f[p>>>16&255]^u[b>>>8&255]^d[255&m]^t[v++],a=l[p>>>24]^f[b>>>16&255]^u[m>>>8&255]^d[255&h]^t[v++],s=l[b>>>24]^f[m>>>16&255]^u[h>>>8&255]^d[255&p]^t[v++],c=l[m>>>24]^f[h>>>16&255]^u[p>>>8&255]^d[255&b]^t[v++],h=o,p=a,b=s,m=c;return o=(r[h>>>24]<<24|r[p>>>16&255]<<16|r[b>>>8&255]<<8|r[255&m])^t[v++],a=(r[p>>>24]<<24|r[b>>>16&255]<<16|r[m>>>8&255]<<8|r[255&h])^t[v++],s=(r[b>>>24]<<24|r[m>>>16&255]<<16|r[h>>>8&255]<<8|r[255&p])^t[v++],c=(r[m>>>24]<<24|r[h>>>16&255]<<16|r[p>>>8&255]<<8|r[255&b])^t[v++],[o>>>=0,a>>>=0,s>>>=0,c>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],c=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,c=0;c<256;++c){var l=s^s<<1^s<<2^s<<3^s<<4;l=l>>>8^255&l^99,n[a]=l,r[l]=a;var f=e[a],u=e[f],d=e[u],h=257*e[l]^16843008*l;i[0][a]=h<<24|h>>>8,i[1][a]=h<<16|h>>>16,i[2][a]=h<<8|h>>>24,i[3][a]=h,h=16843009*d^65537*u^257*f^16843008*a,o[0][l]=h<<24|h>>>8,o[1][l]=h<<16|h>>>16,o[2][l]=h<<8|h>>>24,o[3][l]=h,0===a?a=s=1:(a=f^e[e[e[d^f]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<r;o++){var a=i[o-1];o%t==0?(a=a<<8|a>>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t==4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),i[o]=i[o-t]^a}for(var l=[],f=0;f<r;f++){var u=r-f,d=i[u-(f%4?0:4)];l[f]=f<4||u<=4?d:c.INV_SUB_MIX[0][c.SBOX[d>>>24]]^c.INV_SUB_MIX[1][c.SBOX[d>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[d>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,c.SUB_MIX,c.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},l.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=l},function(e,t,n){var r=n(7).Buffer,i=n(89);e.exports=function(e,t,n,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=n/8,s=r.alloc(a),c=r.alloc(o||0),l=r.alloc(0);a>0||o>0;){var f=new i;f.update(l),f.update(e),t&&f.update(t),l=f.digest();var u=0;if(a>0){var d=s.length-a;u=Math.min(a,l.length),l.copy(s,d,0,u),a-=u}if(u<l.length&&o>0){var h=c.length-o,p=Math.min(o,l.length-u);l.copy(c,h,u,u+p),o-=p}}return l.fill(0),{key:s,iv:c}}},function(e,t,n){"use strict";var r=n(24),i=n(47),o=i.getNAF,a=i.getJSF,s=i.assert;function c(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var n=this.n&&this.p.div(this.n);!n||n.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=c,c.prototype.point=function(){throw new Error("Not implemented")},c.prototype.validate=function(){throw new Error("Not implemented")},c.prototype._fixedNafMul=function(e,t){s(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<<n.step+1)-(n.step%2==0?2:1);i/=3;for(var a=[],c=0;c<r.length;c+=n.step){var l=0;for(t=c+n.step-1;t>=c;t--)l=(l<<1)+r[t];a.push(l)}for(var f=this.jpoint(null,null,null),u=this.jpoint(null,null,null),d=i;d>0;d--){for(c=0;c<a.length;c++){(l=a[c])===d?u=u.mixedAdd(n.points[c]):l===-d&&(u=u.mixedAdd(n.points[c].neg()))}f=f.add(u)}return f.toP()},c.prototype._wnafMul=function(e,t){var n=4,r=e._getNAFPoints(n);n=r.wnd;for(var i=r.points,a=o(t,n,this._bitLength),c=this.jpoint(null,null,null),l=a.length-1;l>=0;l--){for(t=0;l>=0&&0===a[l];l--)t++;if(l>=0&&t++,c=c.dblp(t),l<0)break;var f=a[l];s(0!==f),c="affine"===e.type?f>0?c.mixedAdd(i[f-1>>1]):c.mixedAdd(i[-f-1>>1].neg()):f>0?c.add(i[f-1>>1]):c.add(i[-f-1>>1].neg())}return"affine"===e.type?c.toP():c},c.prototype._wnafMulAdd=function(e,t,n,r,i){for(var s=this._wnafT1,c=this._wnafT2,l=this._wnafT3,f=0,u=0;u<r;u++){var d=(k=t[u])._getNAFPoints(e);s[u]=d.wnd,c[u]=d.points}for(u=r-1;u>=1;u-=2){var h=u-1,p=u;if(1===s[h]&&1===s[p]){var b=[t[h],null,null,t[p]];0===t[h].y.cmp(t[p].y)?(b[1]=t[h].add(t[p]),b[2]=t[h].toJ().mixedAdd(t[p].neg())):0===t[h].y.cmp(t[p].y.redNeg())?(b[1]=t[h].toJ().mixedAdd(t[p]),b[2]=t[h].add(t[p].neg())):(b[1]=t[h].toJ().mixedAdd(t[p]),b[2]=t[h].toJ().mixedAdd(t[p].neg()));var m=[-3,-1,-5,-7,0,7,5,1,3],v=a(n[h],n[p]);f=Math.max(v[0].length,f),l[h]=new Array(f),l[p]=new Array(f);for(var g=0;g<f;g++){var y=0|v[0][g],w=0|v[1][g];l[h][g]=m[3*(y+1)+(w+1)],l[p][g]=0,c[h]=b}}else l[h]=o(n[h],s[h],this._bitLength),l[p]=o(n[p],s[p],this._bitLength),f=Math.max(l[h].length,f),f=Math.max(l[p].length,f)}var S=this.jpoint(null,null,null),A=this._wnafT4;for(u=f;u>=0;u--){for(var E=0;u>=0;){var _=!0;for(g=0;g<r;g++)A[g]=0|l[g][u],0!==A[g]&&(_=!1);if(!_)break;E++,u--}if(u>=0&&E++,S=S.dblp(E),u<0)break;for(g=0;g<r;g++){var k,x=A[g];0!==x&&(x>0?k=c[g][x-1>>1]:x<0&&(k=c[g][-x-1>>1].neg()),S="affine"===k.type?S.mixedAdd(k):S.add(k))}}for(u=0;u<r;u++)c[u]=null;return i?S:S.toP()},c.BasePoint=l,l.prototype.eq=function(){throw new Error("Not implemented")},l.prototype.validate=function(){return this.curve.validate(this)},c.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var n=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*n)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+n),e.slice(1+n,1+2*n));if((2===e[0]||3===e[0])&&e.length-1===n)return this.pointFromX(e.slice(1,1+n),3===e[0]);throw new Error("Unknown point format")},l.prototype.encodeCompressed=function(e){return this.encode(e,!0)},l.prototype._encode=function(e){var t=this.curve.p.byteLength(),n=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(n):[4].concat(n,this.getY().toArray("be",t))},l.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},l.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},l.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)r=r.dbl();n.push(r)}return{step:e,points:n}},l.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],n=(1<<e)-1,r=1===n?null:this.dbl(),i=1;i<n;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},l.prototype._getBeta=function(){return null},l.prototype.dblp=function(e){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}},function(e,t,n){var r=n(379),i=n(390),o=n(391),a=n(184),s=n(253),c=n(7).Buffer;function l(e){var t;"object"!=typeof e||c.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=c.from(e));var n,l,f=o(e,t),u=f.tag,d=f.data;switch(u){case"CERTIFICATE":l=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=r.PublicKey.decode(d,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=r.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":d=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,f=e.subjectPrivateKey,u=parseInt(o.split("-")[1],10)/8,d=s.pbkdf2Sync(t,n,r,u,"sha1"),h=a.createDecipheriv(o,d,l),p=[];return p.push(h.update(f)),p.push(h.final()),c.concat(p)}(d=r.EncryptedPrivateKey.decode(d,"der"),t);case"PRIVATE KEY":switch(n=(l=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:r.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=r.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+u)}}e.exports=l,l.signature=r.signature},function(e,t,n){var r=n(12),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){var r=n(36);e.exports=r("navigator","userAgent")||""},function(e,t,n){"use strict";var r=n(16),i=n(2),o=n(79),a=n(27),s=n(13),c=n(41),l=n(120),f=n(61),u=n(3),d=n(62),h=n(60).f,p=n(51).f,b=n(19).f,m=n(205).trim,v=i.Number,g=v.prototype,y="Number"==c(d(g)),w=function(e){var t,n,r,i,o,a,s,c,l=f(e,!1);if("string"==typeof l&&l.length>2)if(43===(t=(l=m(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+l}for(a=(o=l.slice(2)).length,s=0;s<a;s++)if((c=o.charCodeAt(s))<48||c>i)return NaN;return parseInt(o,r)}return+l};if(o("Number",!v(" 0o1")||!v("0b1")||v("+0x1"))){for(var S,A=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof A&&(y?u((function(){g.valueOf.call(n)})):"Number"!=c(n))?l(new v(w(t)),n,A):w(t)},E=r?h(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;E.length>_;_++)s(v,S=E[_])&&!s(A,S)&&b(A,S,p(v,S));A.prototype=g,g.constructor=A,a(i,"Number",A)}},function(e,t,n){var r=n(10),i=n(41),o=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(1),i=n(3),o=n(26),a=n(93),s=n(218);r({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},function(e,t,n){var r=n(1),i=n(36),o=n(31),a=n(5),s=n(10),c=n(62),l=n(428),f=n(3),u=i("Reflect","construct"),d=f((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),h=!f((function(){u((function(){}))})),p=d||h;r({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(h&&!d)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var i=n.prototype,f=c(s(i)?i:Object.prototype),p=Function.apply.call(e,f,t);return s(p)?p:f}})},function(e,t,n){var r=n(221),i=n(224),o=n(302);for(var a in(t=e.exports=function(e,t){return new o(t).process(e)}).FilterXSS=o,r)t[a]=r[a];for(var a in i)t[a]=i[a];"undefined"!=typeof window&&(window.filterXSS=e.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=e.exports)},function(e,t,n){var r=n(16),i=n(3),o=n(106);e.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(2),i=n(94),o=r["__core-js_shared__"]||i("__core-js_shared__",{});e.exports=o},function(e,t,n){var r=n(13),i=n(38),o=n(90).indexOf,a=n(68);e.exports=function(e,t){var n,s=i(e),c=0,l=[];for(n in s)!r(a,n)&&r(s,n)&&l.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},function(e,t,n){var r=n(48),i=n(37),o=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return(i?"/":"")+(t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"))||"."},t.normalize=function(e){var o=t.isAbsolute(e),a="/"===i(e,-1);return(e=n(r(e.split("/"),(function(e){return!!e})),!o).join("/"))||o||(e="."),e&&a&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var l=[];for(c=s;c<i.length;c++)l.push("..");return(l=l.concat(o.slice(s))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n(30))},function(e,t,n){var r=n(13),i=n(201),o=n(51),a=n(19);e.exports=function(e,t){for(var n=i(t),s=a.f,c=o.f,l=0;l<n.length;l++){var f=n[l];r(e,f)||s(e,f,c(t,f))}}},function(e,t,n){var r=n(2);e.exports=r},function(e,t,n){var r=n(109);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(36);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(1),i=n(203),o=n(93),a=n(81),s=n(57),c=n(28),l=n(27),f=n(6),u=n(21),d=n(66),h=n(193),p=h.IteratorPrototype,b=h.BUGGY_SAFARI_ITERATORS,m=f("iterator"),v=function(){return this};e.exports=function(e,t,n,f,h,g,y){i(n,t,f);var w,S,A,E=function(e){if(e===h&&T)return T;if(!b&&e in x)return x[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},_=t+" Iterator",k=!1,x=e.prototype,M=x[m]||x["@@iterator"]||h&&x[h],T=!b&&M||E(h),C="Array"==t&&x.entries||M;if(C&&(w=o(C.call(new e)),p!==Object.prototype&&w.next&&(u||o(w)===p||(a?a(w,p):"function"!=typeof w[m]&&c(w,m,v)),s(w,_,!0,!0),u&&(d[_]=v))),"values"==h&&M&&"values"!==M.name&&(k=!0,T=function(){return M.call(this)}),u&&!y||x[m]===T||c(x,m,T),d[t]=T,h)if(S={values:E("values"),keys:g?T:E("keys"),entries:E("entries")},y)for(A in S)!b&&!k&&A in x||l(x,A,S[A]);else r({target:t,proto:!0,forced:b||k},S);return S}},function(e,t,n){var r=n(16),i=n(19),o=n(5),a=n(91);e.exports=r?Object.defineProperties:function(e,t){o(e);for(var n,r=a(t),s=r.length,c=0;s>c;)i.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){"use strict";var r=n(141).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(222),i=n(300);for(var o in(t=e.exports=function(e,t){return new i(t).process(e)}).FilterCSS=i,r)t[o]=r[o];"undefined"!=typeof window&&(window.filterCSS=e.exports)},function(e,t){e.exports={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,i;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/.exec(e);return t?t.index:-1}}},function(e,t,n){"use strict";var r=n(84).codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(o||i);var a=n.readable||!1!==n.readable&&t.readable,s=n.writable||!1!==n.writable&&t.writable,c=function(){t.writable||f()},l=t._writableState&&t._writableState.finished,f=function(){s=!1,l=!0,a||o.call(t)},u=t._readableState&&t._readableState.endEmitted,d=function(){a=!1,u=!0,s||o.call(t)},h=function(e){o.call(t,e)},p=function(){var e;return a&&!u?(t._readableState&&t._readableState.ended||(e=new r),o.call(t,e)):s&&!l?(t._writableState&&t._writableState.ended||(e=new r),o.call(t,e)):void 0},b=function(){t.req.on("finish",f)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",c),t.on("close",c)):(t.on("complete",f),t.on("abort",p),t.req?b():t.on("request",b)),t.on("end",d),t.on("finish",f),!1!==n.error&&t.on("error",h),t.on("close",p),function(){t.removeListener("complete",f),t.removeListener("abort",p),t.removeListener("request",b),t.req&&t.req.removeListener("finish",f),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",f),t.removeListener("end",d),t.removeListener("error",h),t.removeListener("close",p)}}},function(e,t,n){"use strict";var r=n(2),i=n(16),o=n(237),a=n(28),s=n(121),c=n(3),l=n(72),f=n(48),u=n(9),d=n(238),h=n(315),p=n(93),b=n(81),m=n(60).f,v=n(19).f,g=n(239),y=n(57),w=n(42),S=w.get,A=w.set,E=r.ArrayBuffer,_=E,k=r.DataView,x=k&&k.prototype,M=Object.prototype,T=r.RangeError,C=h.pack,O=h.unpack,R=function(e){return[255&e]},N=function(e){return[255&e,e>>8&255]},I=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},D=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},P=function(e){return C(e,23,4)},F=function(e){return C(e,52,8)},L=function(e,t){v(e.prototype,t,{get:function(){return S(this)[t]}})},j=function(e,t,n,r){var i=d(n),o=S(e);if(i+t>o.byteLength)throw T("Wrong index");var a=S(o.buffer).bytes,s=i+o.byteOffset,c=a.slice(s,s+t);return r?c:c.reverse()},B=function(e,t,n,r,i,o){var a=d(n),s=S(e);if(a+t>s.byteLength)throw T("Wrong index");for(var c=S(s.buffer).bytes,l=a+s.byteOffset,f=r(+i),u=0;u<t;u++)c[l+u]=f[o?u:t-u-1]};if(o){if(!c((function(){E(1)}))||!c((function(){new E(-1)}))||c((function(){return new E,new E(1.5),new E(NaN),"ArrayBuffer"!=E.name}))){for(var U,z=(_=function(e){return l(this,_),new E(d(e))}).prototype=E.prototype,H=m(E),q=0;H.length>q;)(U=H[q++])in _||a(_,U,E[U]);z.constructor=_}b&&p(x)!==M&&b(x,M);var V=new k(new _(2)),K=x.setInt8;V.setInt8(0,2147483648),V.setInt8(1,2147483649),!V.getInt8(0)&&V.getInt8(1)||s(x,{setInt8:function(e,t){K.call(this,e,t<<24>>24)},setUint8:function(e,t){K.call(this,e,t<<24>>24)}},{unsafe:!0})}else _=function(e){l(this,_,"ArrayBuffer");var t=d(e);A(this,{bytes:g.call(new Array(t),0),byteLength:t}),i||(this.byteLength=t)},k=function(e,t,n){l(this,k,"DataView"),l(e,_,"DataView");var r=S(e).byteLength,o=f(t);if(o<0||o>r)throw T("Wrong offset");if(o+(n=void 0===n?r-o:u(n))>r)throw T("Wrong length");A(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},i&&(L(_,"byteLength"),L(k,"buffer"),L(k,"byteLength"),L(k,"byteOffset")),s(k.prototype,{getInt8:function(e){return j(this,1,e)[0]<<24>>24},getUint8:function(e){return j(this,1,e)[0]},getInt16:function(e){var t=j(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=j(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return D(j(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return D(j(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return O(j(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return O(j(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){B(this,1,e,R,t)},setUint8:function(e,t){B(this,1,e,R,t)},setInt16:function(e,t){B(this,2,e,N,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){B(this,2,e,N,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){B(this,4,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){B(this,4,e,I,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){B(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){B(this,8,e,F,t,arguments.length>2?arguments[2]:void 0)}});y(_,"ArrayBuffer"),y(k,"DataView"),e.exports={ArrayBuffer:_,DataView:k}},function(e,t,n){"use strict";var r=n(1),i=n(3),o=n(154),a=n(5),s=n(64),c=n(9),l=n(50),f=o.ArrayBuffer,u=o.DataView,d=f.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new f(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),i=s(void 0===t?n:t,n),o=new(l(this,f))(c(i-r)),h=new u(this),p=new u(o),b=0;r<i;)p.setUint8(b++,h.getUint8(r++));return o}})},function(e,t,n){"use strict";var r=n(8),i=n(319),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return i.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=n(39).every,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=n(239),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return i.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(8),i=n(39).filter,o=n(50),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=i(a(this),e,arguments.length>1?arguments[1]:void 0),n=o(this,this.constructor),r=0,c=t.length,l=new(s(n))(c);c>r;)l[r]=t[r++];return l}))},function(e,t,n){"use strict";var r=n(8),i=n(39).find,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=n(39).findIndex,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=n(39).forEach,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=n(90).includes,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=n(90).indexOf,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(2),i=n(8),o=n(14),a=n(6)("iterator"),s=r.Uint8Array,c=o.values,l=o.keys,f=o.entries,u=i.aTypedArray,d=i.exportTypedArrayMethod,h=s&&s.prototype[a],p=!!h&&("values"==h.name||null==h.name),b=function(){return c.call(u(this))};d("entries",(function(){return f.call(u(this))})),d("keys",(function(){return l.call(u(this))})),d("values",b,!p),d(a,b,!p)},function(e,t,n){"use strict";var r=n(8),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=[].join;o("join",(function(e){return a.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(8),i=n(294),o=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return i.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(8),i=n(39).map,o=n(50),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(o(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(8),i=n(204).left,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=n(204).right,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return i(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var e,t=i(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(8),i=n(9),o=n(240),a=n(26),s=n(3),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){c(this);var t=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=i(r.length),l=0;if(s+t>n)throw RangeError("Wrong length");for(;l<s;)this[t+l]=r[l++]}),s((function(){new Int8Array(1).set({})})))},function(e,t,n){"use strict";var r=n(8),i=n(50),o=n(3),a=r.aTypedArray,s=r.aTypedArrayConstructor,c=r.exportTypedArrayMethod,l=[].slice;c("slice",(function(e,t){for(var n=l.call(a(this),e,t),r=i(this,this.constructor),o=0,c=n.length,f=new(s(r))(c);c>o;)f[o]=n[o++];return f}),o((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(8),i=n(39).some,o=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),i=r.aTypedArray,o=r.exportTypedArrayMethod,a=[].sort;o("sort",(function(e){return a.call(i(this),e)}))},function(e,t,n){"use strict";var r=n(8),i=n(9),o=n(64),a=n(50),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,c=o(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,i((void 0===t?r:o(t,r))-c))}))},function(e,t,n){"use strict";var r=n(2),i=n(8),o=n(3),a=r.Int8Array,s=i.aTypedArray,c=i.exportTypedArrayMethod,l=[].toLocaleString,f=[].slice,u=!!a&&o((function(){l.call(new a(1))}));c("toLocaleString",(function(){return l.apply(u?f.call(s(this)):s(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(8).exportTypedArrayMethod,i=n(3),o=n(2).Uint8Array,a=o&&o.prototype||{},s=[].toString,c=[].join;i((function(){s.call({})}))&&(s=function(){return c.call(this)});var l=a.toString!=s;r("toString",s,l)},function(e,t,n){"use strict";var r=n(12).Buffer,i=n(4),o=n(225),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],c=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],l=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],f=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],u=[0,1518500249,1859775393,2400959708,2840853838],d=[1352829926,1548603684,1836072691,2053994217,0];function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function p(e,t){return e<<t|e>>>32-t}function b(e,t,n,r,i,o,a,s){return p(e+(t^n^r)+o+a|0,s)+i|0}function m(e,t,n,r,i,o,a,s){return p(e+(t&n|~t&r)+o+a|0,s)+i|0}function v(e,t,n,r,i,o,a,s){return p(e+((t|~n)^r)+o+a|0,s)+i|0}function g(e,t,n,r,i,o,a,s){return p(e+(t&r|n&~r)+o+a|0,s)+i|0}function y(e,t,n,r,i,o,a,s){return p(e+(t^(n|~r))+o+a|0,s)+i|0}i(h,o),h.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,w=0|this._a,S=0|this._b,A=0|this._c,E=0|this._d,_=0|this._e,k=0;k<80;k+=1){var x,M;k<16?(x=b(n,r,i,o,h,e[s[k]],u[0],l[k]),M=y(w,S,A,E,_,e[c[k]],d[0],f[k])):k<32?(x=m(n,r,i,o,h,e[s[k]],u[1],l[k]),M=g(w,S,A,E,_,e[c[k]],d[1],f[k])):k<48?(x=v(n,r,i,o,h,e[s[k]],u[2],l[k]),M=v(w,S,A,E,_,e[c[k]],d[2],f[k])):k<64?(x=g(n,r,i,o,h,e[s[k]],u[3],l[k]),M=m(w,S,A,E,_,e[c[k]],d[3],f[k])):(x=y(n,r,i,o,h,e[s[k]],u[4],l[k]),M=b(w,S,A,E,_,e[c[k]],d[4],f[k])),n=h,h=o,o=p(i,10),i=r,r=x,w=_,_=E,E=p(A,10),A=S,S=M}var T=this._b+i+E|0;this._b=this._c+o+_|0,this._c=this._d+h+w|0,this._d=this._e+n+S|0,this._e=this._a+r+A|0,this._a=T},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},function(e,t,n){(t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n}).sha=n(323),t.sha1=n(324),t.sha224=n(325),t.sha256=n(243),t.sha384=n(326),t.sha512=n(244)},function(e,t,n){(t=e.exports=n(246)).Stream=t,t.Readable=t,t.Writable=n(182),t.Duplex=n(67),t.Transform=n(249),t.PassThrough=n(329)},function(e,t,n){"use strict";(function(t,r,i){var o=n(126);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=g;var s,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:o;g.WritableState=v;var l=n(101);l.inherits=n(4);var f={deprecate:n(232)},u=n(247),d=n(7).Buffer,h=i.Uint8Array||function(){};var p,b=n(248);function m(){}function v(e,t){s=s||n(67),e=e||{},this.objectMode=!!e.objectMode,t instanceof s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var l=!1===e.decodeStrings;this.decodeStrings=!l,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(o(i,r),o(_,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(i(r),e._writableState.errorEmitted=!0,e.emit("error",r),_(e,t))}(e,n,r,t,i);else{var a=A(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||S(e,n),r?c(w,e,n,a,i):w(e,n,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function g(e){if(s=s||n(67),!(p.call(g,this)||this instanceof s))return new g(e);this._writableState=new v(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function y(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),_(e,t)}function S(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var s=0,c=!0;n;)i[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;i.allBuffers=c,y(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t)}else{for(;n;){var l=n.chunk,f=n.encoding,u=n.callback;if(y(e,t,!1,t.objectMode?1:l.length,l,f,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function A(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function E(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),_(e,t)}))}function _(e,t){var n=A(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o(E,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}l.inherits(g,u),v.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(v.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||e&&e._writableState instanceof v}})):p=function(e){return e instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(e,t,n){var r,i=this._writableState,a=!1,s=(r=e,(d.isBuffer(r)||r instanceof h)&&!i.objectMode);return s&&!d.isBuffer(e)&&(e=function(e){return d.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof n&&(n=m),i.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),o(t,n)}(this,n):(s||function(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o(r,a),i=!1),i}(this,i,e,n))&&(i.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=d.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else y(e,t,!1,s,r,i,o);return c}(this,i,s,e,t,n)),a},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||S(this,e))},g.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},g.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?o(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),g.prototype.destroy=b.destroy,g.prototype._undestroy=b.undestroy,g.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(30),n(290).setImmediate,n(32))},function(e,t,n){"use strict";var r=n(46);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var n=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<n;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=n,n},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,n=0,r=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(n+=this._flushBuffer(i,n)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,n),n+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,n=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t,n){var r=n(343),i=n(351),o=n(261);t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(o)}},function(e,t,n){var r={ECB:n(344),CBC:n(345),CFB:n(346),CFB8:n(347),CFB1:n(348),OFB:n(349),CTR:n(259),GCM:n(259)},i=n(261);for(var o in i)i[o].module=r[i[o].mode];e.exports=i},function(e,t,n){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),n=0;n<t.length;n++)t[n]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=n(356);if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},function(e,t,n){(function(t){var r=n(24),i=n(87);function o(e,n){var i=function(e){var t=a(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(n),o=n.modulus.byteLength(),s=(r.mont(n.modulus),new r(e).mul(i.blinder).umod(n.modulus)),c=s.toRed(r.mont(n.prime1)),l=s.toRed(r.mont(n.prime2)),f=n.coefficient,u=n.prime1,d=n.prime2,h=c.redPow(n.exponent1),p=l.redPow(n.exponent2);h=h.fromRed(),p=p.fromRed();var b=h.isub(p).imul(f).umod(u);return b.imul(d),p.iadd(b),new t(p.imul(i.unblinder).umod(n.modulus).toArray(!1,o))}function a(e){for(var t=e.modulus.byteLength(),n=new r(i(t));n.cmp(e.modulus)>=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new r(i(t));return n}e.exports=o,o.getr=a}).call(this,n(12).Buffer)},function(e,t,n){"use strict";var r=t;r.version=n(361).version,r.utils=n(47),r.rand=n(186),r.curve=n(267),r.curves=n(189),r.ec=n(372),r.eddsa=n(376)},function(e,t,n){"use strict";var r,i=t,o=n(190),a=n(267),s=n(47).assert;function c(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new c(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=c,l("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),l("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),l("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=n(371)}catch(e){r=void 0}l("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},function(e,t,n){var r=t;r.utils=n(53),r.common=n(103),r.sha=n(365),r.ripemd=n(369),r.hmac=n(370),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},function(e,t,n){var r=n(6);t.f=r},function(e,t,n){var r=n(144),i=n(13),o=n(191),a=n(19).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});i(t,e)||a(t,e,{value:o.f(e)})}},function(e,t,n){"use strict";var r,i,o,a=n(93),s=n(28),c=n(13),l=n(6),f=n(21),u=l("iterator"),d=!1;[].keys&&("next"in(o=[].keys())?(i=a(a(o)))!==Object.prototype&&(r=i):d=!0),null==r&&(r={}),f||c(r,u)||s(r,u,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r,i,o,a=n(2),s=n(3),c=n(41),l=n(40),f=n(146),u=n(106),d=n(195),h=a.location,p=a.setImmediate,b=a.clearImmediate,m=a.process,v=a.MessageChannel,g=a.Dispatch,y=0,w={},S=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},A=function(e){return function(){S(e)}},E=function(e){S(e.data)},_=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};p&&b||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(y),y},b=function(e){delete w[e]},"process"==c(m)?r=function(e){m.nextTick(A(e))}:g&&g.now?r=function(e){g.now(A(e))}:v&&!d?(o=(i=new v).port2,i.port1.onmessage=E,r=l(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(_)||"file:"===h.protocol?r="onreadystatechange"in u("script")?function(e){f.appendChild(u("script")).onreadystatechange=function(){f.removeChild(this),S(e)}}:function(e){setTimeout(A(e),0)}:(r=_,a.addEventListener("message",E,!1))),e.exports={set:p,clear:b}},function(e,t,n){var r=n(132);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(31),i=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){"use strict";var r=n(124),i=n(5),o=n(9),a=n(37),s=n(150),c=n(125);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=i(e),l=String(this);if(!a.global)return c(a,l);var f=a.unicode;a.lastIndex=0;for(var u,d=[],h=0;null!==(u=c(a,l));){var p=String(u[0]);d[h]=p,""===p&&(a.lastIndex=s(l,o(a.lastIndex),f)),h++}return 0===h?null:d}]}))},function(e,t,n){n(199)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(16),a=n(316),s=n(8),c=n(154),l=n(72),f=n(56),u=n(28),d=n(9),h=n(238),p=n(240),b=n(61),m=n(13),v=n(71),g=n(10),y=n(62),w=n(81),S=n(60).f,A=n(318),E=n(39).forEach,_=n(97),k=n(19),x=n(51),M=n(42),T=n(120),C=M.get,O=M.set,R=k.f,N=x.f,I=Math.round,D=i.RangeError,P=c.ArrayBuffer,F=c.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,j=s.TYPED_ARRAY_TAG,B=s.TypedArray,U=s.TypedArrayPrototype,z=s.aTypedArrayConstructor,H=s.isTypedArray,q=function(e,t){for(var n=0,r=t.length,i=new(z(e))(r);r>n;)i[n]=t[n++];return i},V=function(e,t){R(e,t,{get:function(){return C(this)[t]}})},K=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},W=function(e,t){return H(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return W(e,t=b(t,!0))?f(2,e[t]):N(e,t)},G=function(e,t,n){return!(W(e,t=b(t,!0))&&g(n)&&m(n,"value"))||m(n,"get")||m(n,"set")||n.configurable||m(n,"writable")&&!n.writable||m(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};o?(L||(x.f=Y,k.f=G,V(U,"buffer"),V(U,"byteOffset"),V(U,"byteLength"),V(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Y,defineProperty:G}),e.exports=function(e,t,n){var o=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,f="set"+e,b=i[s],m=b,v=m&&m.prototype,k={},x=function(e,t){R(e,t,{get:function(){return function(e,t){var n=C(e);return n.view[c](t*o+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var i=C(e);n&&(r=(r=I(r))<0?0:r>255?255:255&r),i.view[f](t*o+i.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};L?a&&(m=t((function(e,t,n,r){return l(e,m,s),T(g(t)?K(t)?void 0!==r?new b(t,p(n,o),r):void 0!==n?new b(t,p(n,o)):new b(t):H(t)?q(m,t):A.call(m,t):new b(h(t)),e,m)})),w&&w(m,B),E(S(b),(function(e){e in m||u(m,e,b[e])})),m.prototype=v):(m=t((function(e,t,n,r){l(e,m,s);var i,a,c,f=0,u=0;if(g(t)){if(!K(t))return H(t)?q(m,t):A.call(m,t);i=t,u=p(n,o);var b=t.byteLength;if(void 0===r){if(b%o)throw D("Wrong length");if((a=b-u)<0)throw D("Wrong length")}else if((a=d(r)*o)+u>b)throw D("Wrong length");c=a/o}else c=h(t),i=new P(a=c*o);for(O(e,{buffer:i,byteOffset:u,byteLength:a,length:c,view:new F(i)});f<c;)x(e,f++)})),w&&w(m,B),v=m.prototype=y(U)),v.constructor!==m&&u(v,"constructor",m),j&&u(v,j,s),k[s]=m,r({global:!0,forced:m!=b,sham:!L},k),"BYTES_PER_ELEMENT"in m||u(m,"BYTES_PER_ELEMENT",o),"BYTES_PER_ELEMENT"in v||u(v,"BYTES_PER_ELEMENT",o),_(s)}):e.exports=function(){}},function(e,t){},function(e,t,n){var r=n(36),i=n(60),o=n(116),a=n(5);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(6),i=n(62),o=n(19),a=r("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){"use strict";var r=n(193).IteratorPrototype,i=n(62),o=n(56),a=n(57),s=n(66),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=i(r,{next:o(1,n)}),a(e,l,!1,!0),s[l]=c,e}},function(e,t,n){var r=n(31),i=n(26),o=n(73),a=n(9),s=function(e){return function(t,n,s,c){r(n);var l=i(t),f=o(l),u=a(l.length),d=e?u-1:0,h=e?-1:1;if(s<2)for(;;){if(d in f){c=f[d],d+=h;break}if(d+=h,e?d<0:u<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:u>d;d+=h)d in f&&(c=n(c,f[d],d,l));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){var r=n(37),i="["+n(206)+"]",o=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(o,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){var r=n(1),i=n(3),o=n(38),a=n(51).f,s=n(16),c=i((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(o(e),t)}})},function(e,t,n){var r=n(1),i=n(16),o=n(201),a=n(38),s=n(51),c=n(80);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),i=s.f,l=o(r),f={},u=0;l.length>u;)void 0!==(n=i(r,t=l[u++]))&&c(f,t,n);return f}})},function(e,t,n){"use strict";var r=n(124),i=n(5),o=n(37),a=n(297),s=n(125);r("search",1,(function(e,t,n){return[function(t){var n=o(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var o=i(e),c=String(this),l=o.lastIndex;a(l,0)||(o.lastIndex=0);var f=s(o,c);return a(o.lastIndex,l)||(o.lastIndex=l),null===f?-1:f.index}]}))},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";var r,i=n(1),o=n(51).f,a=n(9),s=n(235),c=n(37),l=n(236),f=n(21),u="".startsWith,d=Math.min,h=l("startsWith");i({target:"String",proto:!0,forced:!!(f||h||(r=o(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=String(c(this));s(e);var n=a(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return u?u.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(40),i=n(26),o=n(149),a=n(122),s=n(9),c=n(80),l=n(82);e.exports=function(e){var t,n,f,u,d,h,p=i(e),b="function"==typeof this?this:Array,m=arguments.length,v=m>1?arguments[1]:void 0,g=void 0!==v,y=l(p),w=0;if(g&&(v=r(v,m>2?arguments[2]:void 0,2)),null==y||b==Array&&a(y))for(n=new b(t=s(p.length));t>w;w++)h=g?v(p[w],w):p[w],c(n,w,h);else for(d=(u=y.call(p)).next,n=new b;!(f=d.call(u)).done;w++)h=g?o(u,v,[f.value,w],!0):f.value,c(n,w,h);return n.length=w,n}},function(e,t,n){"use strict";var r=n(1),i=n(204).left,o=n(77),a=n(54),s=o("reduce"),c=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!c},{reduce:function(e){return i(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(154),a=n(97),s=o.ArrayBuffer;r({global:!0,forced:i.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(e,t,n){var r=n(2),i=n(107),o=r.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},function(e,t,n){"use strict";var r=n(39).forEach,i=n(77),o=n(54),a=i("forEach"),s=o("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r=n(3);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(10);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(96),i=n(71);e.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var r=n(151).FilterCSS,i=n(151).getDefaultWhiteList,o=n(152);function a(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]}}var s=new r;function c(e){return e.replace(l,"&lt;").replace(f,"&gt;")}var l=/</g,f=/>/g,u=/"/g,d=/&quot;/g,h=/&#([a-zA-Z0-9]*);?/gim,p=/&colon;?/gim,b=/&newline;?/gim,m=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,v=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,g=/u\s*r\s*l\s*\(.*/gi;function y(e){return e.replace(u,"&quot;")}function w(e){return e.replace(d,'"')}function S(e){return e.replace(h,(function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))}))}function A(e){return e.replace(p,":").replace(b," ")}function E(e){for(var t="",n=0,r=e.length;n<r;n++)t+=e.charCodeAt(n)<32?" ":e.charAt(n);return o.trim(t)}function _(e){return e=E(e=A(e=S(e=w(e))))}function k(e){return e=c(e=y(e))}var x=/<!--[\s\S]*?-->/g;t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]},t.getDefaultWhiteList=a,t.onTag=function(e,t,n){},t.onIgnoreTag=function(e,t,n){},t.onTagAttr=function(e,t,n){},t.onIgnoreTagAttr=function(e,t,n){},t.safeAttrValue=function(e,t,n,r){if(n=_(n),"href"===t||"src"===t){if("#"===(n=o.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===t){if(m.lastIndex=0,m.test(n))return""}else if("style"===t){if(v.lastIndex=0,v.test(n))return"";if(g.lastIndex=0,g.test(n)&&(m.lastIndex=0,m.test(n)))return"";!1!==r&&(n=(r=r||s).process(n))}return n=k(n)},t.escapeHtml=c,t.escapeQuote=y,t.unescapeQuote=w,t.escapeHtmlEntities=S,t.escapeDangerHtml5Entities=A,t.clearNonPrintableCharacter=E,t.friendlyAttrValue=_,t.escapeAttrValue=k,t.onIgnoreTagStripAll=function(){return""},t.StripTagBody=function(e,t){"function"!=typeof t&&(t=function(){});var n=!Array.isArray(e),r=[],i=!1;return{onIgnoreTag:function(a,s,c){if(function(t){return!!n||-1!==o.indexOf(e,t)}(a)){if(c.isClosing){var l="[/removed]",f=c.position+l.length;return r.push([!1!==i?i:c.position,f]),i=!1,l}return i||(i=c.position),"[removed]"}return t(a,s,c)},remove:function(e){var t="",n=0;return o.forEach(r,(function(r){t+=e.slice(n,r[0]),n=r[1]})),t+=e.slice(n)}}},t.stripCommentTag=function(e){return e.replace(x,"")},t.stripBlankChar=function(e){var t=e.split("");return(t=t.filter((function(e){var t=e.charCodeAt(0);return 127!==t&&(!(t<=31)||(10===t||13===t))}))).join("")},t.cssFilter=s,t.getDefaultCSSWhiteList=i},function(e,t){function n(){var e={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return e}var r=/javascript\s*\:/gim;t.whiteList=n(),t.getDefaultWhiteList=n,t.onAttr=function(e,t,n){},t.onIgnoreAttr=function(e,t,n){},t.safeAttrValue=function(e,t){return r.test(t)?"":t}},function(e,t){e.exports={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},forEach:function(e,t,n){var r,i;if(Array.prototype.forEach)return e.forEach(t,n);for(r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}},function(e,t,n){var r=n(152);function i(e){var t=r.spaceIndex(e);if(-1===t)var n=e.slice(1,-1);else n=e.slice(1,t+1);return"/"===(n=r.trim(n).toLowerCase()).slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n}function o(e){return"</"===e.slice(0,2)}var a=/[^a-zA-Z0-9_:\.\-]/gim;function s(e,t){for(;t<e.length;t++){var n=e[t];if(" "!==n)return"="===n?t:-1}}function c(e,t){for(;t>0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}}function l(e){return function(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}(e)?e.substr(1,e.length-2):e}t.parseTag=function(e,t,n){var r="",a=0,s=!1,c=!1,l=0,f=e.length,u="",d="";for(l=0;l<f;l++){var h=e.charAt(l);if(!1===s){if("<"===h){s=l;continue}}else if(!1===c){if("<"===h){r+=n(e.slice(a,l)),s=l,a=l;continue}if(">"===h){r+=n(e.slice(a,s)),u=i(d=e.slice(s,l+1)),r+=t(s,r.length,u,d,o(d)),a=l+1,s=!1;continue}if(('"'===h||"'"===h)&&"="===e.charAt(l-1)){c=h;continue}}else if(h===c){c=!1;continue}}return a<e.length&&(r+=n(e.substr(a))),r},t.parseAttr=function(e,t){var n=0,i=[],o=!1,f=e.length;function u(e,n){if(!((e=(e=r.trim(e)).replace(a,"").toLowerCase()).length<1)){var o=t(e,n||"");o&&i.push(o)}}for(var d=0;d<f;d++){var h,p=e.charAt(d);if(!1!==o||"="!==p)if(!1===o||d!==n||'"'!==p&&"'"!==p||"="!==e.charAt(d-1))if(/\s|\n|\t/.test(p)){if(e=e.replace(/\s|\n|\t/g," "),!1===o){if(-1===(h=s(e,d))){u(r.trim(e.slice(n,d))),o=!1,n=d+1;continue}d=h-1;continue}if(-1===(h=c(e,d-1))){u(o,l(r.trim(e.slice(n,d)))),o=!1,n=d+1;continue}}else;else{if(-1===(h=e.indexOf(p,d+1)))break;u(o,r.trim(e.slice(n+1,h))),o=!1,n=(d=h)+1}else o=e.slice(n,d),n=d+1}return n<e.length&&(!1===o?u(e.slice(n)):u(o,l(r.trim(e.slice(n))))),r.trim(i.join(" "))}},function(e,t,n){"use strict";var r=n(303).Buffer,i=n(306).Transform;function o(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n(85)(o,i),o.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)n[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)n[this._blockOffset++]=e[i++];for(var a=0,s=8*e.length;s>0;++a)this._length[a]+=s,(s=this._length[a]/4294967296|0)>0&&(this._length[a]-=4294967296*s);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";(function(t,r){var i;e.exports=k,k.ReadableState=_;n(98).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=n(228),s=n(12).Buffer,c=t.Uint8Array||function(){};var l,f=n(307);l=f&&f.debuglog?f.debuglog("stream"):function(){};var u,d,h,p=n(308),b=n(229),m=n(230).getHighWaterMark,v=n(84).codes,g=v.ERR_INVALID_ARG_TYPE,y=v.ERR_STREAM_PUSH_AFTER_EOF,w=v.ERR_METHOD_NOT_IMPLEMENTED,S=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n(85)(k,a);var A=b.errorOrDestroy,E=["error","close","destroy","pause","resume"];function _(e,t,r){i=i||n(86),e=e||{},"boolean"!=typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=m(this,e,"readableHighWaterMark",r),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(u||(u=n(99).StringDecoder),this.decoder=new u(e.encoding),this.encoding=e.encoding)}function k(e){if(i=i||n(86),!(this instanceof k))return new k(e);var t=this instanceof i;this._readableState=new _(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function x(e,t,n,r,i){l("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(l("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?C(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,O(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof c||"string"==typeof t||void 0===t||e.objectMode||(n=new g("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)A(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r)a.endEmitted?A(e,new S):M(e,a,t,!0);else if(a.ended)A(e,new y);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?M(e,a,t,!1):R(e,a)):M(e,a,t,!1)}else r||(a.reading=!1,R(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function M(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&C(e)),R(e,t)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=b.destroy,k.prototype._undestroy=b.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=s.from(e,t),t=""),n=!0),x(this,e,t,!1,n)},k.prototype.unshift=function(e){return x(this,e,null,!0,!1)},k.prototype.isPaused=function(){return!1===this._readableState.flowing},k.prototype.setEncoding=function(e){u||(u=n(99).StringDecoder);var t=new u(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var r=this._readableState.buffer.head,i="";null!==r;)i+=t.write(r.data),r=r.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};function T(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function C(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(O,e))}function O(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,F(e)}function R(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(N,e,t))}function N(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(l("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function I(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){l("readable nexttick read 0"),e.read(0)}function P(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function j(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(B,t,e))}function B(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function U(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}k.prototype.read=function(e){l("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?j(this):C(this),null;if(0===(e=T(e,t))&&t.ended)return 0===t.length&&j(this),null;var r,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&l("length less than watermark",i=!0),t.ended||t.reading?l("reading or ended",i=!1):i&&(l("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=T(n,t))),null===(r=e>0?L(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&j(this)),null!==r&&this.emit("data",r),r},k.prototype._read=function(e){A(this,new w("_read()"))},k.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var a=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?c:m;function s(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",p),e.removeListener("finish",b),e.removeListener("drain",f),e.removeListener("error",h),e.removeListener("unpipe",s),n.removeListener("end",c),n.removeListener("end",m),n.removeListener("data",d),u=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){l("onend"),e.end()}i.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",s);var f=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,F(e))}}(n);e.on("drain",f);var u=!1;function d(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==U(i.pipes,e))&&!u&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(t){l("onerror",t),m(),e.removeListener("error",h),0===o(e,"error")&&A(e,t)}function p(){e.removeListener("finish",b),m()}function b(){l("onfinish"),e.removeListener("close",p),m()}function m(){l("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",p),e.once("finish",b),e.emit("pipe",n),i.flowing||(l("pipe resume"),n.resume()),e},k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=U(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},k.prototype.on=function(e,t){var n=a.prototype.on.call(this,e,t),i=this._readableState;return"data"===e?(i.readableListening=this.listenerCount("readable")>0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?C(this):i.reading||r.nextTick(D,this))),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var n=a.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},k.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(I,this),t},k.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(P,e,t))}(this,e)),e.paused=!1,this},k.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<E.length;o++)e.on(E[o],this.emit.bind(this,E[o]));return this._read=function(t){l("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(k.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=n(310)),d(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=L,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(k.from=function(e,t){return void 0===h&&(h=n(311)),h(k,e,t)})}).call(this,n(32),n(30))},function(e,t,n){e.exports=n(98).EventEmitter},function(e,t,n){"use strict";(function(t){function n(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var a=this,s=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return s||c?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?a._writableState?a._writableState.errorEmitted?t.nextTick(r,a):(a._writableState.errorEmitted=!0,t.nextTick(n,a,e)):t.nextTick(n,a,e):o?(t.nextTick(r,a),o(e)):t.nextTick(r,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,n(30))},function(e,t,n){"use strict";var r=n(84).codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}var o;e.exports=k,k.WritableState=_;var a={deprecate:n(232)},s=n(228),c=n(12).Buffer,l=t.Uint8Array||function(){};var f,u=n(229),d=n(230).getHighWaterMark,h=n(84).codes,p=h.ERR_INVALID_ARG_TYPE,b=h.ERR_METHOD_NOT_IMPLEMENTED,m=h.ERR_MULTIPLE_CALLBACK,v=h.ERR_STREAM_CANNOT_PIPE,g=h.ERR_STREAM_DESTROYED,y=h.ERR_STREAM_NULL_VALUES,w=h.ERR_STREAM_WRITE_AFTER_END,S=h.ERR_UNKNOWN_ENCODING,A=u.errorOrDestroy;function E(){}function _(e,t,a){o=o||n(86),e=e||{},"boolean"!=typeof a&&(a=t instanceof o),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,i=n.sync,o=n.writecb;if("function"!=typeof o)throw new m;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,i,o){--t.pendingcb,n?(r.nextTick(o,i),r.nextTick(R,e,t),e._writableState.errorEmitted=!0,A(e,i)):(o(i),e._writableState.errorEmitted=!0,A(e,i),R(e,t))}(e,n,i,t,o);else{var a=C(n)||e.destroyed;a||n.corked||n.bufferProcessing||!n.bufferedRequest||T(e,n),i?r.nextTick(M,e,n,a,o):M(e,n,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function k(e){var t=this instanceof(o=o||n(86));if(!t&&!f.call(k,this))return new k(e);this._writableState=new _(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function x(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function M(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),R(e,t)}function T(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var s=0,c=!0;n;)o[s]=n,n.isBuf||(c=!1),n=n.next,s+=1;o.allBuffers=c,x(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,f=n.encoding,u=n.callback;if(x(e,t,!1,t.objectMode?1:l.length,l,f,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function O(e,t){e._final((function(n){t.pendingcb--,n&&A(e,n),t.prefinished=!0,e.emit("prefinish"),R(e,t)}))}function R(e,t){var n=C(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,r.nextTick(O,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var i=e._readableState;(!i||i.autoDestroy&&i.endEmitted)&&e.destroy()}return n}n(85)(k,s),_.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(_.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(f=Function.prototype[Symbol.hasInstance],Object.defineProperty(k,Symbol.hasInstance,{value:function(e){return!!f.call(this,e)||this===k&&(e&&e._writableState instanceof _)}})):f=function(e){return e instanceof this},k.prototype.pipe=function(){A(this,new v)},k.prototype.write=function(e,t,n){var i,o=this._writableState,a=!1,s=!o.objectMode&&(i=e,c.isBuffer(i)||i instanceof l);return s&&!c.isBuffer(e)&&(e=function(e){return c.from(e)}(e)),"function"==typeof t&&(n=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=E),o.ending?function(e,t){var n=new w;A(e,n),r.nextTick(t,n)}(this,n):(s||function(e,t,n,i){var o;return null===n?o=new y:"string"==typeof n||t.objectMode||(o=new p("chunk",["string","Buffer"],n)),!o||(A(e,o),r.nextTick(i,o),!1)}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var f=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},f?f.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else x(e,t,!1,s,r,i,o);return l}(this,o,s,e,t,n)),a},k.prototype.cork=function(){this._writableState.corked++},k.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||T(this,e))},k.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),k.prototype._write=function(e,t,n){n(new b("_write()"))},k.prototype._writev=null,k.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,R(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),k.prototype.destroy=u.destroy,k.prototype._undestroy=u.undestroy,k.prototype._destroy=function(e,t){t(e)}}).call(this,n(32),n(30))},function(e,t,n){(function(t){function n(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}}).call(this,n(32))},function(e,t,n){"use strict";e.exports=f;var r=n(84).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n(86);function l(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function f(e){if(!(this instanceof f))return new f(e);c.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function u(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?d(this,null,null):this._flush((function(t,n){d(e,t,n)}))}function d(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}n(85)(f,c),f.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},f.prototype._transform=function(e,t,n){n(new i("_transform()"))},f.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},f.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},f.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,(function(e){t(e)}))}},function(e,t,n){var r=n(5),i=n(82);e.exports=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){var r=n(134);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(48),i=n(9);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var r=n(26),i=n(64),o=n(9);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,l=void 0===c?n:i(c,n);l>s;)t[s++]=e;return t}},function(e,t,n){var r=n(317);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){"use strict";n(20);var r,i=n(1),o=n(16),a=n(242),s=n(2),c=n(148),l=n(27),f=n(72),u=n(13),d=n(295),h=n(212),p=n(141).codeAt,b=n(320),m=n(57),v=n(321),g=n(42),y=s.URL,w=v.URLSearchParams,S=v.getState,A=g.set,E=g.getterFor("URL"),_=Math.floor,k=Math.pow,x=/[A-Za-z]/,M=/[\d+-.A-Za-z]/,T=/\d/,C=/^(0x|0X)/,O=/^[0-7]+$/,R=/^\d+$/,N=/^[\dA-Fa-f]+$/,I=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,D=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,P=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\u0009\u000A\u000D]/g,L=function(e,t){var n,r,i;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=B(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=b(t),I.test(t))return"Invalid host";if(null===(n=j(t)))return"Invalid host";e.host=n}else{if(D.test(t))return"Invalid host";for(n="",r=h(t),i=0;i<r.length;i++)n+=K(r[i],z);e.host=n}},j=function(e){var t,n,r,i,o,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(i=c[r]))return e;if(o=10,i.length>1&&"0"==i.charAt(0)&&(o=C.test(i)?16:8,i=i.slice(8==o?1:2)),""===i)a=0;else{if(!(10==o?R:8==o?O:N).test(i))return e;a=parseInt(i,o)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},B=function(e){var t,n,r,i,o,a,s,c=[0,0,0,0,0,0,0,0],l=0,f=null,u=0,d=function(){return e.charAt(u)};if(":"==d()){if(":"!=e.charAt(1))return;u+=2,f=++l}for(;d();){if(8==l)return;if(":"!=d()){for(t=n=0;n<4&&N.test(d());)t=16*t+parseInt(d(),16),u++,n++;if("."==d()){if(0==n)return;if(u-=n,l>6)return;for(r=0;d();){if(i=null,r>0){if(!("."==d()&&r<4))return;u++}if(!T.test(d()))return;for(;T.test(d());){if(o=parseInt(d(),10),null===i)i=o;else{if(0==i)return;i=10*i+o}if(i>255)return;u++}c[l]=256*c[l]+i,2!=++r&&4!=r||l++}if(4!=r)return;break}if(":"==d()){if(u++,!d())return}else if(d())return;c[l++]=t}else{if(null!==f)return;u++,f=++l}}if(null!==f)for(a=l-f,l=7;0!=l&&a>0;)s=c[l],c[l--]=c[f+a-1],c[f+--a]=s;else if(8!=l)return;return c},U=function(e){var t,n,r,i;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=_(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,i=0,o=0;o<8;o++)0!==e[o]?(i>n&&(t=r,n=i),r=null,i=0):(null===r&&(r=o),++i);return i>n&&(t=r,n=i),t}(e),n=0;n<8;n++)i&&0===e[n]||(i&&(i=!1),r===n?(t+=n?":":"::",i=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},z={},H=d({},z,{" ":1,'"':1,"<":1,">":1,"`":1}),q=d({},H,{"#":1,"?":1,"{":1,"}":1}),V=d({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var n=p(e,0);return n>32&&n<127&&!u(t,e)?e:encodeURIComponent(e)},W={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return u(W,e.scheme)},G=function(e){return""!=e.username||""!=e.password},J=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Z=function(e,t){var n;return 2==e.length&&x.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Q=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Z(t[0],!0)||t.pop()},$=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},ie={},oe={},ae={},se={},ce={},le={},fe={},ue={},de={},he={},pe={},be={},me={},ve={},ge={},ye={},we={},Se=function(e,t,n,i){var o,a,s,c,l,f=n||ee,d=0,p="",b=!1,m=!1,v=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(P,"")),t=t.replace(F,""),o=h(t);d<=o.length;){switch(a=o[d],f){case ee:if(!a||!x.test(a)){if(n)return"Invalid scheme";f=ne;continue}p+=a.toLowerCase(),f=te;break;case te:if(a&&(M.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";p="",f=ne,d=0;continue}if(n&&(Y(e)!=u(W,p)||"file"==p&&(G(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(Y(e)&&W[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?f=he:Y(e)&&i&&i.scheme==e.scheme?f=re:Y(e)?f=se:"/"==o[d+1]?(f=ie,d++):(e.cannotBeABaseURL=!0,e.path.push(""),f=ge)}break;case ne:if(!i||i.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(i.cannotBeABaseURL&&"#"==a){e.scheme=i.scheme,e.path=i.path.slice(),e.query=i.query,e.fragment="",e.cannotBeABaseURL=!0,f=we;break}f="file"==i.scheme?he:oe;continue;case re:if("/"!=a||"/"!=o[d+1]){f=oe;continue}f=ce,d++;break;case ie:if("/"==a){f=le;break}f=ve;continue;case oe:if(e.scheme=i.scheme,a==r)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query;else if("/"==a||"\\"==a&&Y(e))f=ae;else if("?"==a)e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query="",f=ye;else{if("#"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.path.pop(),f=ve;continue}e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,e.path=i.path.slice(),e.query=i.query,e.fragment="",f=we}break;case ae:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=i.username,e.password=i.password,e.host=i.host,e.port=i.port,f=ve;continue}f=le}else f=ce;break;case se:if(f=ce,"/"!=a||"/"!=p.charAt(d+1))continue;d++;break;case ce:if("/"!=a&&"\\"!=a){f=le;continue}break;case le:if("@"==a){b&&(p="%40"+p),b=!0,s=h(p);for(var g=0;g<s.length;g++){var y=s[g];if(":"!=y||v){var w=K(y,V);v?e.password+=w:e.username+=w}else v=!0}p=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(b&&""==p)return"Invalid authority";d-=h(p).length+1,p="",f=fe}else p+=a;break;case fe:case ue:if(n&&"file"==e.scheme){f=be;continue}if(":"!=a||m){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==p)return"Invalid host";if(n&&""==p&&(G(e)||null!==e.port))return;if(c=L(e,p))return c;if(p="",f=me,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),p+=a}else{if(""==p)return"Invalid host";if(c=L(e,p))return c;if(p="",f=de,n==ue)return}break;case de:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=p){var S=parseInt(p,10);if(S>65535)return"Invalid port";e.port=Y(e)&&S===W[e.scheme]?null:S,p=""}if(n)return;f=me;continue}return"Invalid port"}p+=a;break;case he:if(e.scheme="file","/"==a||"\\"==a)f=pe;else{if(!i||"file"!=i.scheme){f=ve;continue}if(a==r)e.host=i.host,e.path=i.path.slice(),e.query=i.query;else if("?"==a)e.host=i.host,e.path=i.path.slice(),e.query="",f=ye;else{if("#"!=a){X(o.slice(d).join(""))||(e.host=i.host,e.path=i.path.slice(),Q(e)),f=ve;continue}e.host=i.host,e.path=i.path.slice(),e.query=i.query,e.fragment="",f=we}}break;case pe:if("/"==a||"\\"==a){f=be;break}i&&"file"==i.scheme&&!X(o.slice(d).join(""))&&(Z(i.path[0],!0)?e.path.push(i.path[0]):e.host=i.host),f=ve;continue;case be:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Z(p))f=ve;else if(""==p){if(e.host="",n)return;f=me}else{if(c=L(e,p))return c;if("localhost"==e.host&&(e.host=""),n)return;p="",f=me}continue}p+=a;break;case me:if(Y(e)){if(f=ve,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(f=ve,"/"!=a))continue}else e.fragment="",f=we;else e.query="",f=ye;break;case ve:if(a==r||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(l=(l=p).toLowerCase())||"%2e."===l||".%2e"===l||"%2e%2e"===l?(Q(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):$(p)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",f=ye):"#"==a&&(e.fragment="",f=we)}else p+=K(a,q);break;case ge:"?"==a?(e.query="",f=ye):"#"==a?(e.fragment="",f=we):a!=r&&(e.path[0]+=K(a,z));break;case ye:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,z)):(e.fragment="",f=we);break;case we:a!=r&&(e.fragment+=K(a,H))}d++}},Ae=function(e){var t,n,r=f(this,Ae,"URL"),i=arguments.length>1?arguments[1]:void 0,a=String(e),s=A(r,{type:"URL"});if(void 0!==i)if(i instanceof Ae)t=E(i);else if(n=Se(t={},String(i)))throw TypeError(n);if(n=Se(s,a,null,t))throw TypeError(n);var c=s.searchParams=new w,l=S(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},o||(r.href=_e.call(r),r.origin=ke.call(r),r.protocol=xe.call(r),r.username=Me.call(r),r.password=Te.call(r),r.host=Ce.call(r),r.hostname=Oe.call(r),r.port=Re.call(r),r.pathname=Ne.call(r),r.search=Ie.call(r),r.searchParams=De.call(r),r.hash=Pe.call(r))},Ee=Ae.prototype,_e=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,i=e.host,o=e.port,a=e.path,s=e.query,c=e.fragment,l=t+":";return null!==i?(l+="//",G(e)&&(l+=n+(r?":"+r:"")+"@"),l+=U(i),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},ke=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},xe=function(){return E(this).scheme+":"},Me=function(){return E(this).username},Te=function(){return E(this).password},Ce=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Oe=function(){var e=E(this).host;return null===e?"":U(e)},Re=function(){var e=E(this).port;return null===e?"":String(e)},Ne=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ie=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},Pe=function(){var e=E(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(Ee,{href:Fe(_e,(function(e){var t=E(this),n=String(e),r=Se(t,n);if(r)throw TypeError(r);S(t.searchParams).updateSearchParams(t.query)})),origin:Fe(ke),protocol:Fe(xe,(function(e){var t=E(this);Se(t,String(e)+":",ee)})),username:Fe(Me,(function(e){var t=E(this),n=h(String(e));if(!J(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=K(n[r],V)}})),password:Fe(Te,(function(e){var t=E(this),n=h(String(e));if(!J(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=K(n[r],V)}})),host:Fe(Ce,(function(e){var t=E(this);t.cannotBeABaseURL||Se(t,String(e),fe)})),hostname:Fe(Oe,(function(e){var t=E(this);t.cannotBeABaseURL||Se(t,String(e),ue)})),port:Fe(Re,(function(e){var t=E(this);J(t)||(""==(e=String(e))?t.port=null:Se(t,e,de))})),pathname:Fe(Ne,(function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Se(t,e+"",me))})),search:Fe(Ie,(function(e){var t=E(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Se(t,e,ye)),S(t.searchParams).updateSearchParams(t.query)})),searchParams:Fe(De),hash:Fe(Pe,(function(e){var t=E(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Se(t,e,we)):t.fragment=null}))}),l(Ee,"toJSON",(function(){return _e.call(this)}),{enumerable:!0}),l(Ee,"toString",(function(){return _e.call(this)}),{enumerable:!0}),y){var Le=y.createObjectURL,je=y.revokeObjectURL;Le&&l(Ae,"createObjectURL",(function(e){return Le.apply(y,arguments)})),je&&l(Ae,"revokeObjectURL",(function(e){return je.apply(y,arguments)}))}m(Ae,"URL"),i({global:!0,forced:!a,sham:!o},{URL:Ae})},function(e,t,n){var r=n(3),i=n(6),o=n(21),a=i("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){var r=n(4),i=n(88),o=n(7).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function c(){this.init(),this._w=s,i.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function f(e,t,n){return e&t|n&(e|t)}function u(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(c,i),c.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,p=0|this._f,b=0|this._g,m=0|this._h,v=0;v<16;++v)n[v]=e.readInt32BE(4*v);for(;v<64;++v)n[v]=0|(((t=n[v-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[v-7]+h(n[v-15])+n[v-16];for(var g=0;g<64;++g){var y=m+d(c)+l(c,p,b)+a[g]+n[g]|0,w=u(r)+f(r,i,o)|0;m=b,b=p,p=c,c=s+y|0,s=o,o=i,i=r,r=y+w|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0,this._f=p+this._f|0,this._g=b+this._g|0,this._h=m+this._h|0},c.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=c},function(e,t,n){var r=n(4),i=n(88),o=n(7).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function c(){this.init(),this._w=s,i.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function f(e,t,n){return e&t|n&(e|t)}function u(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function v(e,t){return e>>>0<t>>>0?1:0}r(c,i),c.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},c.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,c=0|this._fh,g=0|this._gh,y=0|this._hh,w=0|this._al,S=0|this._bl,A=0|this._cl,E=0|this._dl,_=0|this._el,k=0|this._fl,x=0|this._gl,M=0|this._hl,T=0;T<32;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;T<160;T+=2){var C=t[T-30],O=t[T-30+1],R=h(C,O),N=p(O,C),I=b(C=t[T-4],O=t[T-4+1]),D=m(O,C),P=t[T-14],F=t[T-14+1],L=t[T-32],j=t[T-32+1],B=N+F|0,U=R+P+v(B,N)|0;U=(U=U+I+v(B=B+D|0,D)|0)+L+v(B=B+j|0,j)|0,t[T]=U,t[T+1]=B}for(var z=0;z<160;z+=2){U=t[z],B=t[z+1];var H=f(n,r,i),q=f(w,S,A),V=u(n,w),K=u(w,n),W=d(s,_),Y=d(_,s),G=a[z],J=a[z+1],Z=l(s,c,g),X=l(_,k,x),Q=M+Y|0,$=y+W+v(Q,M)|0;$=($=($=$+Z+v(Q=Q+X|0,X)|0)+G+v(Q=Q+J|0,J)|0)+U+v(Q=Q+B|0,B)|0;var ee=K+q|0,te=V+H+v(ee,K)|0;y=g,M=x,g=c,x=k,c=s,k=_,s=o+$+v(_=E+Q|0,E)|0,o=i,E=A,i=r,A=S,r=n,S=w,n=$+te+v(w=Q+ee|0,Q)|0}this._al=this._al+w|0,this._bl=this._bl+S|0,this._cl=this._cl+A|0,this._dl=this._dl+E|0,this._el=this._el+_|0,this._fl=this._fl+k|0,this._gl=this._gl+x|0,this._hl=this._hl+M|0,this._ah=this._ah+n+v(this._al,w)|0,this._bh=this._bh+r+v(this._bl,S)|0,this._ch=this._ch+i+v(this._cl,A)|0,this._dh=this._dh+o+v(this._dl,E)|0,this._eh=this._eh+s+v(this._el,_)|0,this._fh=this._fh+c+v(this._fl,k)|0,this._gh=this._gh+g+v(this._gl,x)|0,this._hh=this._hh+y+v(this._hl,M)|0},c.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=c},function(e,t,n){e.exports=i;var r=n(98).EventEmitter;function i(){r.call(this)}n(4)(i,r),i.Readable=n(181),i.Writable=n(330),i.Duplex=n(331),i.Transform=n(332),i.PassThrough=n(333),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",c));var a=!1;function s(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(f(),0===r.listenerCount(this,"error"))throw e}function f(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",c),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",f),n.removeListener("close",f),e.removeListener("close",f)}return n.on("error",l),e.on("error",l),n.on("end",f),n.on("close",f),e.on("close",f),e.emit("pipe",n),e}},function(e,t,n){"use strict";(function(t,r){var i=n(126);e.exports=y;var o,a=n(226);y.ReadableState=g;n(98).EventEmitter;var s=function(e,t){return e.listeners(t).length},c=n(247),l=n(7).Buffer,f=t.Uint8Array||function(){};var u=n(101);u.inherits=n(4);var d=n(327),h=void 0;h=d&&d.debuglog?d.debuglog("stream"):function(){};var p,b=n(328),m=n(248);u.inherits(y,c);var v=["error","close","destroy","pause","resume"];function g(e,t){o=o||n(67),e=e||{},this.objectMode=!!e.objectMode,t instanceof o&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n(99).StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function y(e){if(o=o||n(67),!(this instanceof y))return new y(e);this._readableState=new g(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,n,r,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,E(e)}(e,a)):(i||(o=function(e,t){var n;r=t,l.isBuffer(r)||r instanceof f||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):S(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?S(e,a,t,!1):k(e,a)):S(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function S(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&E(e)),k(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=l.from(e,t),t=""),n=!0),w(this,e,t,!1,n)},y.prototype.unshift=function(e){return w(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return p||(p=n(99).StringDecoder),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};function A(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i(_,e):_(e))}function _(e){h("emit readable"),e.emit("readable"),C(e)}function k(e,t){t.readingMore||(t.readingMore=!0,i(x,e,t))}function x(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(h("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function M(e){h("readable nexttick read 0"),e.read(0)}function T(e,t){t.reading||(h("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),C(e),t.flowing&&!t.reading&&e.read(0)}function C(e){var t=e._readableState;for(h("flow",t.flowing);t.flowing&&null!==e.read(););}function O(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function R(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i(N,t,e))}function N(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}y.prototype.read=function(e){h("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?R(this):E(this),null;if(0===(e=A(e,t))&&t.ended)return 0===t.length&&R(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&h("length less than watermark",i=!0),t.ended||t.reading?h("reading or ended",i=!1):i&&(h("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=A(n,t))),null===(r=e>0?O(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&R(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?f:y;function l(t,r){h("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),e.removeListener("close",v),e.removeListener("finish",g),e.removeListener("drain",u),e.removeListener("error",m),e.removeListener("unpipe",l),n.removeListener("end",f),n.removeListener("end",y),n.removeListener("data",b),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function f(){h("onend"),e.end()}o.endEmitted?i(c):n.once("end",c),e.on("unpipe",l);var u=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,C(e))}}(n);e.on("drain",u);var d=!1;var p=!1;function b(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==I(o.pipes,e))&&!d&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function m(t){h("onerror",t),y(),e.removeListener("error",m),0===s(e,"error")&&e.emit("error",t)}function v(){e.removeListener("finish",g),y()}function g(){h("onfinish"),e.removeListener("close",v),y()}function y(){h("unpipe"),n.unpipe(e)}return n.on("data",b),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",v),e.once("finish",g),e.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,n);return this}var a=I(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n),this)},y.prototype.on=function(e,t){var n=c.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&E(this):i(M,this))}return n},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i(T,e,t))}(this,e)),this},y.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on("end",(function(){if(h("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)})),e.on("data",(function(i){(h("wrapped data"),t.decoder&&(i=t.decoder.write(i)),t.objectMode&&null==i)||(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<v.length;o++)e.on(v[o],r.emit.bind(r,v[o]));return r._read=function(t){h("wrapped _read",t),n&&(n=!1,e.resume())},r},y._fromList=O}).call(this,n(32),n(30))},function(e,t,n){e.exports=n(98).EventEmitter},function(e,t,n){"use strict";var r=n(126);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;o||a?t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r(i,this,e):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})))},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,n){"use strict";e.exports=a;var r=n(67),i=n(101);function o(e){this.afterTransform=function(t,n){return function(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=n&&e.push(n);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function a(e){if(!(this instanceof a))return new a(e);r.call(this,e),this._transformState=new o(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",(function(){"function"==typeof this._flush?this._flush((function(e,n){s(t,e,n)})):s(t)}))}function s(e,t,n){if(t)return e.emit("error",t);null!=n&&e.push(n);var r=e._writableState,i=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(i.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=n(4),i.inherits(a,r),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var n=this;r.prototype._destroy.call(this,e,(function(e){t(e),n.emit("close")}))}},function(e,t,n){"use strict";var r=n(4),i=n(334),o=n(65),a=n(7).Buffer,s=n(251),c=n(179),l=n(180),f=a.alloc(128);function u(e,t){o.call(this,"digest"),"string"==typeof t&&(t=a.from(t));var n="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>n)?t=("rmd160"===e?new c:l(e)).update(t).digest():t.length<n&&(t=a.concat([t,f],n));for(var r=this._ipad=a.allocUnsafe(n),i=this._opad=a.allocUnsafe(n),s=0;s<n;s++)r[s]=54^t[s],i[s]=92^t[s];this._hash="rmd160"===e?new c:l(e),this._hash.update(r)}r(u,o),u.prototype._update=function(e){this._hash.update(e)},u.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new c:l(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new u("rmd160",t):"md5"===e?new i(s,t):new u(e,t)}},function(e,t,n){var r=n(89);e.exports=function(e){return(new r).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t,n){t.pbkdf2=n(336),t.pbkdf2Sync=n(256)},function(e,t,n){(function(t){var n=Math.pow(2,30)-1;function r(e,n){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(n+" must be a buffer or string")}e.exports=function(e,t,i,o){if(r(e,"Password"),r(t,"Salt"),"number"!=typeof i)throw new TypeError("Iterations not a number");if(i<0)throw new TypeError("Bad iterations");if("number"!=typeof o)throw new TypeError("Key length not a number");if(o<0||o>n||o!=o)throw new TypeError("Bad key length")}}).call(this,n(12).Buffer)},function(e,t,n){(function(t){var n;t.browser?n="utf-8":n=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=n}).call(this,n(30))},function(e,t,n){var r=n(251),i=n(179),o=n(180),a=n(254),s=n(255),c=n(7).Buffer,l=c.alloc(128),f={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function u(e,t,n){var a=function(e){return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?r:function(t){return o(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=a(t):t.length<s&&(t=c.concat([t,l],s));for(var u=c.allocUnsafe(s+f[e]),d=c.allocUnsafe(s+f[e]),h=0;h<s;h++)u[h]=54^t[h],d[h]=92^t[h];var p=c.allocUnsafe(s+n+4);u.copy(p,0,0,s),this.ipad1=p,this.ipad2=u,this.opad=d,this.alg=e,this.blocksize=s,this.hash=a,this.size=f[e]}u.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,n,r,i){a(e,t,n,r),c.isBuffer(e)||(e=c.from(e,s)),c.isBuffer(t)||(t=c.from(t,s));var o=new u(i=i||"sha1",e,t.length),l=c.allocUnsafe(r),d=c.allocUnsafe(t.length+4);t.copy(d,0,0,t.length);for(var h=0,p=f[i],b=Math.ceil(r/p),m=1;m<=b;m++){d.writeUInt32BE(m,t.length);for(var v=o.run(d,o.ipad1),g=v,y=1;y<n;y++){g=o.run(g,o.ipad2);for(var w=0;w<p;w++)v[w]^=g[w]}v.copy(l,h),h+=p}return l}},function(e,t,n){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}n[r+0]=i>>>0,n[r+1]=o>>>0},t.rip=function(e,t,n,r){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.pc1=function(e,t,n,r){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,n,i){for(var o=0,a=0,s=r.length>>>1,c=0;c<s;c++)o<<=1,o|=e>>>r[c]&1;for(c=s;c<r.length;c++)a<<=1,a|=t>>>r[c]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var i=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(e>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(t>>>18-6*r&63)]}return n>>>0};var o=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,n=0;n<o.length;n++)t<<=1,t|=e>>>o[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var i=[],o=0;o<t;o+=n)i.push(r.slice(o,o+n));return i.join(" ")}},function(e,t,n){"use strict";var r=n(46),i=n(4),o=n(257),a=n(183);function s(){this.tmp=new Array(2),this.keys=null}function c(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}i(c,a),e.exports=c,c.create=function(e){return new c(e)};var l=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];c.prototype.deriveKeys=function(e,t){e.keys=new Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var n=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(n,i,e.tmp,0),n=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=l[a>>>1];n=o.r28shl(n,s),i=o.r28shl(i,s),o.pc2(n,i,e.keys,a)}},c.prototype._update=function(e,t,n,r){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(n,a,r),o.writeUInt32BE(n,s,r+4)},c.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r<e.length;r++)e[r]=n;return!0},c.prototype._unpad=function(e){for(var t=e[e.length-1],n=e.length-t;n<e.length;n++)r.equal(e[n],t);return e.slice(0,e.length-t)},c.prototype._encrypt=function(e,t,n,r,i){for(var a=t,s=n,c=0;c<e.keys.length;c+=2){var l=e.keys[c],f=e.keys[c+1];o.expand(s,e.tmp,0),l^=e.tmp[0],f^=e.tmp[1];var u=o.substitute(l,f),d=s;s=(a^o.permute(u))>>>0,a=d}o.rip(s,a,r,i)},c.prototype._decrypt=function(e,t,n,r,i){for(var a=n,s=t,c=e.keys.length-2;c>=0;c-=2){var l=e.keys[c],f=e.keys[c+1];o.expand(a,e.tmp,0),l^=e.tmp[0],f^=e.tmp[1];var u=o.substitute(l,f),d=a;a=(s^o.permute(u))>>>0,s=d}o.rip(a,s,r,i)}},function(e,t,n){var r=n(102),i=n(7).Buffer,o=n(260);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}t.encrypt=function(e,t){var n=Math.ceil(t.length/16),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*n)]);for(var s=0;s<n;s++){var c=a(e),l=o+16*s;e._cache.writeUInt32BE(c[0],l+0),e._cache.writeUInt32BE(c[1],l+4),e._cache.writeUInt32BE(c[2],l+8),e._cache.writeUInt32BE(c[3],l+12)}var f=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,f)}},function(e,t){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(e,t,n){var r=n(127),i=n(7).Buffer,o=n(65),a=n(4),s=n(350),c=n(102),l=n(260);function f(e,t,n,a){o.call(this);var c=i.alloc(4,0);this._cipher=new r.AES(t);var f=this._cipher.encryptBlock(c);this._ghash=new s(f),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new s(n),o=t.length,a=o%16;r.update(t),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var c=8*o,f=i.alloc(8);f.writeUIntBE(c,0,8),r.update(f),e._finID=r.state;var u=i.from(e._finID);return l(u),u}(this,n,f),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(f,o),f.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},f.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)n+=e[i]^t[i];return n}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},f.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},f.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},f.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=f},function(e,t,n){var r=n(127),i=n(7).Buffer,o=n(65);function a(e,t,n,a){o.call(this),this._cipher=new r.AES(t),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=e}n(4)(a,o),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},function(e,t,n){var r=n(87);e.exports=g,g.simpleSieve=m,g.fermatTest=v;var i=n(24),o=new i(24),a=new(n(265)),s=new i(1),c=new i(2),l=new i(5),f=(new i(16),new i(8),new i(10)),u=new i(3),d=(new i(7),new i(11)),h=new i(4),p=(new i(12),null);function b(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,n=3;n<1048576;n+=2){for(var r=Math.ceil(Math.sqrt(n)),i=0;i<t&&e[i]<=r&&n%e[i]!=0;i++);t!==i&&e[i]<=r||(e[t++]=n)}return p=e,e}function m(e){for(var t=b(),n=0;n<t.length;n++)if(0===e.modn(t[n]))return 0===e.cmpn(t[n]);return!0}function v(e){var t=i.mont(e);return 0===c.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function g(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var n,p;for(t=new i(t);;){for(n=new i(r(Math.ceil(e/8)));n.bitLength()>e;)n.ishrn(1);if(n.isEven()&&n.iadd(s),n.testn(1)||n.iadd(c),t.cmp(c)){if(!t.cmp(l))for(;n.mod(f).cmp(u);)n.iadd(h)}else for(;n.mod(o).cmp(d);)n.iadd(h);if(m(p=n.shrn(1))&&m(n)&&v(p)&&v(n)&&a.test(p)&&a.test(n))return n}}},function(e,t,n){var r=n(24),i=n(186);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),a=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),c=0;!s.testn(c);c++);for(var l=e.shrn(c),f=s.toRed(o);t>0;t--){var u=this._randrange(new r(2),s);n&&n(u);var d=u.toRed(o).redPow(l);if(0!==d.cmp(a)&&0!==d.cmp(f)){for(var h=1;h<c;h++){if(0===(d=d.redSqr()).cmp(a))return!1;if(0===d.cmp(f))break}if(h===c)return!1}}return!0},o.prototype.getDivisor=function(e,t){var n=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,n/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var c=e.shrn(s),l=a.toRed(i);t>0;t--){var f=this._randrange(new r(2),a),u=e.gcd(f);if(0!==u.cmpn(1))return u;var d=f.toRed(i).redPow(c);if(0!==d.cmp(o)&&0!==d.cmp(l)){for(var h=1;h<s;h++){if(0===(d=d.redSqr()).cmp(o))return d.fromRed().subn(1).gcd(e);if(0===d.cmp(l))break}if(h===s)return(d=d.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},function(e,t,n){"use strict";var r=t;function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",n=0;n<e.length;n++)t+=i(e[n].toString(16));return t}r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)n[r]=0|e[r];return n}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(r=0;r<e.length;r+=2)n.push(parseInt(e[r]+e[r+1],16))}else for(r=0;r<e.length;r++){var i=e.charCodeAt(r),o=i>>8,a=255&i;o?n.push(o,a):n.push(a)}return n},r.zero2=i,r.toHex=o,r.encode=function(e,t){return"hex"===t?o(e):e}},function(e,t,n){"use strict";var r=t;r.base=n(129),r.short=n(362),r.mont=n(363),r.edwards=n(364)},function(e,t,n){"use strict";var r=n(53).rotr32;function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?a(t,n,r):2===e?o(t,n,r):void 0},t.ch32=i,t.maj32=o,t.p32=a,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){"use strict";var r=n(53),i=n(103),o=n(268),a=n(46),s=r.sum32,c=r.sum32_4,l=r.sum32_5,f=o.ch32,u=o.maj32,d=o.s0_256,h=o.s1_256,p=o.g0_256,b=o.g1_256,m=i.BlockHash,v=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=v,this.W=new Array(64)}r.inherits(g,m),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=c(b(n[r-2]),n[r-7],p(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],m=this.h[2],v=this.h[3],g=this.h[4],y=this.h[5],w=this.h[6],S=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var A=l(S,h(g),f(g,y,w),this.k[r],n[r]),E=s(d(i),u(i,o,m));S=w,w=y,y=g,g=s(v,A),v=m,m=o,o=i,i=s(A,E)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],m),this.h[3]=s(this.h[3],v),this.h[4]=s(this.h[4],g),this.h[5]=s(this.h[5],y),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],S)},g.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){"use strict";var r=n(53),i=n(103),o=n(46),a=r.rotr64_hi,s=r.rotr64_lo,c=r.shr64_hi,l=r.shr64_lo,f=r.sum64,u=r.sum64_hi,d=r.sum64_lo,h=r.sum64_4_hi,p=r.sum64_4_lo,b=r.sum64_5_hi,m=r.sum64_5_lo,v=i.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function w(e,t,n,r,i){var o=e&n^~e&i;return o<0&&(o+=4294967296),o}function S(e,t,n,r,i,o){var a=t&r^~t&o;return a<0&&(a+=4294967296),a}function A(e,t,n,r,i){var o=e&n^e&i^n&i;return o<0&&(o+=4294967296),o}function E(e,t,n,r,i,o){var a=t&r^t&o^r&o;return a<0&&(a+=4294967296),a}function _(e,t){var n=a(e,t,28)^a(t,e,2)^a(t,e,7);return n<0&&(n+=4294967296),n}function k(e,t){var n=s(e,t,28)^s(t,e,2)^s(t,e,7);return n<0&&(n+=4294967296),n}function x(e,t){var n=a(e,t,14)^a(e,t,18)^a(t,e,9);return n<0&&(n+=4294967296),n}function M(e,t){var n=s(e,t,14)^s(e,t,18)^s(t,e,9);return n<0&&(n+=4294967296),n}function T(e,t){var n=a(e,t,1)^a(e,t,8)^c(e,t,7);return n<0&&(n+=4294967296),n}function C(e,t){var n=s(e,t,1)^s(e,t,8)^l(e,t,7);return n<0&&(n+=4294967296),n}function O(e,t){var n=a(e,t,19)^a(t,e,29)^c(e,t,6);return n<0&&(n+=4294967296),n}function R(e,t){var n=s(e,t,19)^s(t,e,29)^l(e,t,6);return n<0&&(n+=4294967296),n}r.inherits(y,v),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var n=this.W,r=0;r<32;r++)n[r]=e[t+r];for(;r<n.length;r+=2){var i=O(n[r-4],n[r-3]),o=R(n[r-4],n[r-3]),a=n[r-14],s=n[r-13],c=T(n[r-30],n[r-29]),l=C(n[r-30],n[r-29]),f=n[r-32],u=n[r-31];n[r]=h(i,o,a,s,c,l,f,u),n[r+1]=p(i,o,a,s,c,l,f,u)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var n=this.W,r=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],c=this.h[4],l=this.h[5],h=this.h[6],p=this.h[7],v=this.h[8],g=this.h[9],y=this.h[10],T=this.h[11],C=this.h[12],O=this.h[13],R=this.h[14],N=this.h[15];o(this.k.length===n.length);for(var I=0;I<n.length;I+=2){var D=R,P=N,F=x(v,g),L=M(v,g),j=w(v,g,y,T,C),B=S(v,g,y,T,C,O),U=this.k[I],z=this.k[I+1],H=n[I],q=n[I+1],V=b(D,P,F,L,j,B,U,z,H,q),K=m(D,P,F,L,j,B,U,z,H,q);D=_(r,i),P=k(r,i),F=A(r,i,a,s,c),L=E(r,i,a,s,c,l);var W=u(D,P,F,L),Y=d(D,P,F,L);R=C,N=O,C=y,O=T,y=v,T=g,v=u(h,p,V,K),g=d(p,p,V,K),h=c,p=l,c=a,l=s,a=r,s=i,r=u(V,K,W,Y),i=d(V,K,W,Y)}f(this.h,0,r,i),f(this.h,2,a,s),f(this.h,4,c,l),f(this.h,6,h,p),f(this.h,8,v,g),f(this.h,10,y,T),f(this.h,12,C,O),f(this.h,14,R,N)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){var r=n(4),i=n(105).Reporter,o=n(12).Buffer;function a(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(a,i),t.DecoderBuffer=a,a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new a(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=s,s.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},function(e,t,n){var r=t;r._reverse=function(e){var t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n})),t},r.der=n(384)},function(e,t,n){var r=n(4),i=n(104),o=i.base,a=i.bignum,s=i.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.Node.call(this,"der",e)}function f(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var r=s.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){var o=n;for(n=0;128==(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:s.tag[n]}}function u(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var o=0;o<i;o++){r<<=8;var a=e.readUInt8(n);if(e.isError(a))return a;r|=a}return r}e.exports=c,c.prototype.decode=function(e,t){return e instanceof o.DecoderBuffer||(e=new o.DecoderBuffer(e,t)),this.tree._decode(e,t)},r(l,o.Node),l.prototype._peekTag=function(e,t,n){if(e.isEmpty())return!1;var r=e.save(),i=f(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||n)},l.prototype._decodeTag=function(e,t,n){var r=f(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;var i=u(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!n&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var o=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},l.prototype._skipUntilEnd=function(e,t){for(;;){var n=f(e,t);if(e.isError(n))return n;var r,i=u(e,n.primitive,t);if(e.isError(i))return i;if(r=n.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(r))return r;if("end"===n.tagStr)break}},l.prototype._decodeList=function(e,t,n,r){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var a=n.decode(e,"der",r);if(e.isError(a)&&o)break;i.push(a)}return i},l.prototype._decodeStr=function(e,t){if("bitstr"===t){var n=e.readUInt8();return e.isError(n)?n:{unused:n,data:e.raw()}}if("bmpstr"===t){var r=e.raw();if(r.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<r.length/2;o++)i+=String.fromCharCode(r.readUInt16BE(2*o));return i}if("numstr"===t){var a=e.raw().toString("ascii");return this._isNumstr(a)?a:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},l.prototype._decodeObjid=function(e,t,n){for(var r,i=[],o=0;!e.isEmpty();){var a=e.readUInt8();o<<=7,o|=127&a,0==(128&a)&&(i.push(o),o=0)}128&a&&i.push(o);var s=i[0]/40|0,c=i[0]%40;if(r=n?i:[s,c].concat(i.slice(1)),t){var l=t[r.join(" ")];void 0===l&&(l=t[r.join(".")]),void 0!==l&&(r=l)}return r},l.prototype._decodeTime=function(e,t){var n=e.raw().toString();if("gentime"===t)var r=0|n.slice(0,4),i=0|n.slice(4,6),o=0|n.slice(6,8),a=0|n.slice(8,10),s=0|n.slice(10,12),c=0|n.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");r=0|n.slice(0,2),i=0|n.slice(2,4),o=0|n.slice(4,6),a=0|n.slice(6,8),s=0|n.slice(8,10),c=0|n.slice(10,12);r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,a,s,c,0)},l.prototype._decodeNull=function(e){return null},l.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},l.prototype._decodeInt=function(e,t){var n=e.raw(),r=new a(n);return t&&(r=t[r.toString(10)]||r),r},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},function(e,t,n){var r=n(4),i=n(12).Buffer,o=n(104),a=o.base,s=o.constants.der;function c(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){a.Node.call(this,"der",e)}function f(e){return e<10?"0"+e:e}e.exports=c,c.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(l,a.Node),l.prototype._encodeComposite=function(e,t,n,r){var o,a=function(e,t,n,r){var i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))i=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}if(i>=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=s.tagClassByName[n||"universal"]<<6}(e,t,n,this.reporter);if(r.length<128)return(o=new i(2))[0]=a,o[1]=r.length,this._createEncoderBuffer([o,r]);for(var c=1,l=r.length;l>=256;l>>=8)c++;(o=new i(2+c))[0]=a,o[1]=128|c;l=1+c;for(var f=r.length;f>0;l--,f>>=8)o[l]=255&f;return this._createEncoderBuffer([o,r])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new i(2*e.length),r=0;r<e.length;r++)n.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(n)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},l.prototype._encodeObjid=function(e,t,n){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var r=0;r<e.length;r++)e[r]|=0}else if(Array.isArray(e)){e=e.slice();for(r=0;r<e.length;r++)e[r]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!n){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(r=0;r<e.length;r++){var a=e[r];for(o++;a>=128;a>>=7)o++}var s=new i(o),c=s.length-1;for(r=e.length-1;r>=0;r--){a=e[r];for(s[c--]=127&a;(a>>=7)>0;)s[c--]=128|127&a}return this._createEncoderBuffer(s)},l.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[f(r.getFullYear()),f(r.getUTCMonth()+1),f(r.getUTCDate()),f(r.getUTCHours()),f(r.getUTCMinutes()),f(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[f(r.getFullYear()%100),f(r.getUTCMonth()+1),f(r.getUTCDate()),f(r.getUTCHours()),f(r.getUTCMinutes()),f(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new i(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var o=new i(r);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);r=1;for(var a=e;a>=256;a>>=8)r++;for(a=(o=new Array(r)).length-1;a>=0;a--)o[a]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,n){var r,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r<o.length;r++)if(o[r]!==i.defaultBuffer[r])return!1;return!0}},function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(e,t,n){var r=n(100),i=n(131).Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var n,a=i.alloc(0),s=0;a.length<t;)n=o(s++),a=i.concat([a,r("sha1").update(e).update(n).digest()]);return a.slice(0,t)}},function(e,t){e.exports=function(e,t){for(var n=e.length,r=-1;++r<n;)e[r]^=t[r];return e}},function(e,t,n){var r=n(24),i=n(131).Buffer;e.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},function(e,t,n){(function(n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){a(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n&&n.global===n?n:void 0,a=o.saveAs||("object"!=typeof window||window!==o?function(){}:"download"in HTMLAnchorElement.prototype?function(e,n,a){var s=o.URL||o.webkitURL,c=document.createElement("a");n=n||e.name||"download",c.download=n,c.rel="noopener","string"==typeof e?(c.href=e,c.origin===location.origin?i(c):r(c.href)?t(e,n,a):i(c,c.target="_blank")):(c.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){i(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,o){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,o),n);else if(r(e))t(e,n,o);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){i(a)}))}}:function(e,n,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var a="application/octet-stream"===e.type,s=/constructor/i.test(o.HTMLElement)||o.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||a&&s)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},l.readAsDataURL(e)}else{var f=o.URL||o.webkitURL,u=f.createObjectURL(e);i?i.location=u:location.href=u,i=null,setTimeout((function(){f.revokeObjectURL(u)}),4e4)}});o.saveAs=a.saveAs=a,e.exports=a})?r.apply(t,i):r)||(e.exports=o)}).call(this,n(32))},function(e,t,n){var r=n(38),i=n(60).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(r(e))}},function(e,t,n){var r=n(2);e.exports=r.Promise},function(e,t,n){var r=n(5),i=n(10),o=n(196);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){n(199)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n(87),t.createHash=t.Hash=n(100),t.createHmac=t.Hmac=n(250);var r=n(335),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var a=n(253);t.pbkdf2=a.pbkdf2,t.pbkdf2Sync=a.pbkdf2Sync;var s=n(337);t.Cipher=s.Cipher,t.createCipher=s.createCipher,t.Cipheriv=s.Cipheriv,t.createCipheriv=s.createCipheriv,t.Decipher=s.Decipher,t.createDecipher=s.createDecipher,t.Decipheriv=s.Decipheriv,t.createDecipheriv=s.createDecipheriv,t.getCiphers=s.getCiphers,t.listCiphers=s.listCiphers;var c=n(353);t.DiffieHellmanGroup=c.DiffieHellmanGroup,t.createDiffieHellmanGroup=c.createDiffieHellmanGroup,t.getDiffieHellman=c.getDiffieHellman,t.createDiffieHellman=c.createDiffieHellman,t.DiffieHellman=c.DiffieHellman;var l=n(359);t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n(393);var f=n(394);t.publicEncrypt=f.publicEncrypt,t.privateEncrypt=f.privateEncrypt,t.publicDecrypt=f.publicDecrypt,t.privateDecrypt=f.privateDecrypt;var u=n(397);t.randomFill=u.randomFill,t.randomFillSync=u.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(17),n(18),n(23),n(11),n(14),n(44),n(15),n(25),n(20),n(43),n(22);var r=n(0);function i(e){return(i="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 o(e,t,n,o,a,s){var c,l,f=[],u={PluginLoader:"#0000ff"},d=0,h=0,p=n||50,b=null,m=(new Date).getTime(),v=!1,g=r.a.getParameterByName("anvperf");function y(t,n){var i;e&&(t in u?i=u[t]:(i="#7"+(i=r.a.md5(t)).substr(3,5),u[t]=i),(!v||v&&t in v)&&console.log("%c "+n,"color: "+i)),b&&b(n),d>=p&&(f.shift(),d--),f.push(n),d++,++h%p==0&&s&&a.dispatchEvent({name:"LOG_CHUNK",info:"Player has sent a key-value pair",time:w(),args:[Math.floor(h)/p,f]})}function w(e){var t,n,r,i,a,s=e?o?new Date(e):e:new Date;o?(t=s.getHours(),n=s.getMinutes(),r=s.getSeconds(),i=s.getMilliseconds()):(a=s-m,a-=1e3*(t=Math.floor(a/1e3/60/60))*60*60,a-=1e3*(n=Math.floor(a/1e3/60))*60,i=a-=1e3*(r=Math.floor(a/1e3))),t<10&&(t="0"+t),n<10&&(n="0"+n),r<10&&(r="0"+r),i<10?i="00"+i:i<100&&(i="0"+i);var c=[n,r,i];return o&&c.unshift(t),"("+c.join(":")+")"}function S(n){if(e){for(var r=t?w():"",i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];var s="["+n+"] \t"+o.join(" ")+"\t "+r;y(n,s)}}return g="1"==g||"true"==g,{getLogFn:function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];S.apply(void 0,[e].concat(n))}},on:function(t){if("object"==i(t)&&t.length){v=[];for(var n=0,r=t.length;n<r;n++)v[t[n]]=1}e=!0},off:function(){e=!1},displayLogs:function(){for(var e=0;e<d;e++)console.log(f[e])},getTotalLogs:function(){return d},setExposeFn:function(e){b=e},getTime:function(e){return w(e).replace("(","").replace(")","")},getInitialOffset:function(){return m},getLogs:function(){return f},stringify:function(t){return e?JSON.stringify(t):null},perf:function(e){if(g){c=c||0,l=l||0;var t=performance.now(),n=t-c;c&&(l+=n);var r="[PERF] @"+e+"\t\t delta:"+parseInt(n)+"\t cumulativeDelta:"+parseInt(l);console.log("%c "+r,"color: blue;font-weight: bold;"),c=t}}}}},function(e,t,n){var r,i,o,a,s,c,l,f,u=n(2),d=n(51).f,h=n(41),p=n(194).set,b=n(195),m=u.MutationObserver||u.WebKitMutationObserver,v=u.process,g=u.Promise,y="process"==h(v),w=d(u,"queueMicrotask"),S=w&&w.value;S||(r=function(){var e,t;for(y&&(e=v.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?a():o=void 0,e}}o=void 0,e&&e.enter()},y?a=function(){v.nextTick(r)}:m&&!b?(s=!0,c=document.createTextNode(""),new m(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):g&&g.resolve?(l=g.resolve(void 0),f=l.then,a=function(){f.call(l,r)}):a=function(){p.call(u,r)}),e.exports=S||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},function(e,t,n){var r=n(2);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.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(299),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(32))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));n(15),n(112),n(25),n(43),n(52),n(83),n(322);function r(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 i=0,o=null,a=!1,s=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.simidInfo=null,this.playerObj=t,this.simidIframe=document.querySelector(".anv-simid"),this.adInfo=null,this.isPaused=!1,this.currentTime=0,this.prevAdsTime=0,window.addEventListener("message",this.simidMessage),window.addEventListener("resize",(function(){return n.notifySimidEvent(["resize",document.querySelector("body").getBoundingClientRect().width,document.querySelector("body").getBoundingClientRect().height])}))}var t,n,s;return t=e,(n=[{key:"notifySimidEvent",value:function(e){switch(e[0]){case"AD_BREAK_STARTED":break;case"AD_BREAK_COMPLETED":this.prevAdsTime=0,"about:blank"!==this.simidIframe.src&&window.simid&&(this.simidIframe.src="about:blank",this.simidIframe.style.visibility="hidden",this.playerObj.controlObj.setHiddenMode(!1));break;case"AD_STARTED":this.playerObj.controlObj.setHiddenMode(!0),this.simidIframe.src="about:blank",this.simidIframe.style.visibility="hidden",e[4].interactive_files[0].url&&(this.simidInfo=e[4].interactive_files[0],this.adInfo=e[4],this.simidIframe=document.querySelector(".anv-simid"),this.simidIframe.style.visibility="visible",this.simidIframe.src=e[4].interactive_files[0].url.trim(),this.simidIframe.style.width=document.querySelector("body").getBoundingClientRect().width,this.simidIframe.style.height=document.querySelector("body").getBoundingClientRect().height,i=0);case"USER_RESUME":"about:blank"!==this.simidIframe.src&&window.simid&&this.sendMessage(o,++i,"SIMID:Media:play",{},this.simidIframe);break;case"USER_PAUSE":"about:blank"!==this.simidIframe.src&&window.simid&&this.sendMessage(o,++i,"SIMID:Media:pause",{},this.simidIframe);break;case"VOLUME_CHANGED":"about:blank"!==this.simidIframe.src&&window.simid&&this.sendMessage(o,++i,"SIMID:Media:volumechange",{volume:e[0],muted:!(e[0]>0)},this.simidIframe),mediaEvents.volumeChange(e[0]);break;case"PLAYING_START":"about:blank"!==this.simidIframe.src&&window.simid&&this.sendMessage(o,++i,"SIMID:Media:playing",{},this.simidIframe);break;case"PRESENTATION_UPDATED":"about:blank"!==this.simidIframe.src&&window.simid&&(this.sendMessage(o,++i,"SIMID:Media:timeupdate",{currentTime:e[1]-this.prevAdsTime},this.simidIframe),this.currentTime=e[1]-this.prevAdsTime,a=!1),"about:blank"!==this.simidIframe.src&&"ad"!==e[3]&&(this.simidIframe.src="about:blank",this.simidIframe.style.visibility="hidden",this.playerObj.controlObj.setHiddenMode(!1));break;case"AD_COMPLETED":this.prevAdsTime+=Math.round(e[4].duration),"about:blank"!==this.simidIframe.src&&window.simid&&(this.sendMessage(o,++i,"SIMID:Media:ended",{code:2},this.simidIframe),this.sendMessage(o,++i,"SIMID:Player:adStopped",{code:2},this.simidIframe));break;case"STATE_CHANGE":"playingAdContent"==e[1]&&(this.isPaused=!1,a=!1),"pausedAdContent"==e[1]&&(this.isPaused=!0);break;case"USER_FULLSCREEN":"about:blank"!==this.simidIframe.src&&window.simid&&(this.sendMessage(o,++i,"SIMID:Player:resize",{videoDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:document.querySelector("body").getBoundingClientRect().width,height:document.querySelector("body").getBoundingClientRect().height},creativeDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:document.querySelector("body").getBoundingClientRect().width,height:document.querySelector("body").getBoundingClientRect().height},fullscreen:this.playerObj.isFullscreen()}),this.simidIframe.style.width=document.querySelector("body").getBoundingClientRect().width,this.simidIframe.style.height=document.querySelector("body").getBoundingClientRect().height,a=this.isPaused);break;case"USER_CANCEL_FULLSCREEN":"about:blank"!==this.simidIframe.src&&window.simid&&(a||(window.simid.playerObj.play(),this.playerObj.controlObj.setHiddenMode(!0)),this.sendMessage(o,++i,"SIMID:Player:resize",{videoDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:document.querySelector("body").getBoundingClientRect().width,height:document.querySelector("body").getBoundingClientRect().height},creativeDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:document.querySelector("body").getBoundingClientRect().width,height:document.querySelector("body").getBoundingClientRect().height},fullscreen:this.playerObj.isFullscreen()}),this.simidIframe.style.width=document.querySelector("body").getBoundingClientRect().width,this.simidIframe.style.height=document.querySelector("body").getBoundingClientRect().height);break;case"IMPLICIT_PAUSE":"about:blank"!==this.simidIframe.src&&window.simid&&(a||(window.simid.playerObj.play(),this.playerObj.controlObj.setHiddenMode(!0)));break;case"resize":"about:blank"!==this.simidIframe.src&&window.simid&&(this.sendMessage(o,++i,"SIMID:Player:resize",{videoDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:e[1],height:e[2]},creativeDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:e[1],height:e[2]},fullscreen:this.playerObj.isFullscreen()}),this.simidIframe.style.width=e[1],this.simidIframe.style.height=e[2]);break;case"PLAYER_ERROR":"about:blank"!==this.simidIframe.src&&window.simid&&e[3]&&(this.sendMessage(o,++i,"SIMID:Player:adStopped",{errorCode:e[0],errorMessage:e[1]},this.simidIframe),this.simidIframe.src="about:blank",this.simidIframe.style.visibility="hidden",this.playerObj.controlObj.setHiddenMode(!1))}}},{key:"simidMessage",value:function(e){var t,n;if(e.origin=="https://".concat(null===(t=window.simid.simidInfo)||void 0===t?void 0:null===(n=t.url.trim())||void 0===n?void 0:n.split("/")[2])){var r=JSON.parse(e.data);switch(r.type){case"createSession":o=r.sessionId,window.simid.simidIframe.style.visibility="visible",window.simid.sendResolve(r,++i),window.simid.createSession(r,++i);break;case"resolve":2==r.messageId?window.simid.sendMessage(r.sessionId,++i,"SIMID:Player:startCreative",{}):3==r.messageId&&(window.simid.sendMessage(r.sessionId,++i,"SIMID:Media:durationchange",{duration:Math.round(window.simid.adInfo.duration)}),window.simid.sendMessage(o,++i,"SIMID:Media:playing",{}));break;case"reject":break;case"SIMID:Creative:requestSkip":window.simid.playerObj.skipAd(),window.simid.simidIframe.style.visibility="hidden",window.simid.playerObj.controlObj.setHiddenMode(!1),window.simid.sendMessage(r,++i),window.simid.sendMessage(r.sessionId,++i,"SIMID:Player:adSkipped",{});break;case"SIMID:Creative:requestPause":a=!0,window.simid.playerObj.pause(),window.simid.sendResolve(r,++i),document.querySelector(".anv-splash").style.display="none";break;case"SIMID:Creative:requestPlay":a=!1,window.simid.playerObj.play(),window.simid.sendResolve(r,++i);break;case"SIMID:Creative:requestStop":window.simid.simidIframe.src="about:blank",window.simid.simidIframe.style.visibility="hidden",window.simid.playerObj.controlObj.setHiddenMode(!1),window.simid.sendResolve(r,++i);break;case"SIMID:Creative:requestResize":window.simid.sendResolve(r,++i);break;case"SIMID:Creative:requestFullScreen":case"SIMID:Creative:requestFullscreen":window.simid.sendResolve(r,++i),window.simid.playerObj.setFullscreen(!0);break;case"SIMID:Creative:requestExitFullscreen":window.simid.sendResolve(r,++i),window.simid.playerObj.setFullscreen(!1);break;case"SIMID:Creative:requestNavigation":window.simid.sendResolve(r,++i),window.open(r.args.uri,"_blank");break;case"SIMID:Creative:requestChangeVolume":window.simid.sendResolve(r,++i),window.simid.playerObj.setVolume(r.args.volume);break;case"SIMID:Creative:reportTracking":window.simid.sendResolve(r,++i),fetch(r.args.trackingUrls[0]);break;case"SIMID:Creative:log":console.log(r.args.message);break;case"SIMID:Creative:getMediaState":var s={sessionId:r.sessionId,type:"resolve",messageId:i,timestamp:Date.now(),args:{messageId:r.messageId,value:{currentSrc:window.simid.simidInfo.trim(),currentTime:window.simid.currentTime,duration:window.simid.adInfo.duration,ended:window.simid.adInfo.duration,muted:window.simid.playerObj.isPlayerMuted(),paused:window.simid.isPaused,volume:window.simid.playerObj.getValue(),fullscreen:window.simid.playerObj.isFullscreen()}}};window.simid.simidIframe.contentWindow.postMessage(JSON.stringify(s),"*");break;case"SIMID:Creative:fatalError":window.simid.simidIframe.src="about:blank",window.simid.simidIframe.style.visibility="hidden",window.simid.playerObj.controlObj.setHiddenMode(!1);break;case"SIMID:Creative:expandNonlinear":window.simid.playerObj.pause(),window.simid.sendResolve(r,++i);break;case"SIMID:Creative:collapseNonlinear":window.simid.playerObj.play(),window.simid.sendResolve(r,++i);break;case"SIMID:Creative:clickThru":window.simid.playerObj.play(),window.simid.sendResolve(r,++i),window.open(r.args.trim(),"_blank")}}}},{key:"sendResolve",value:function(e,t){var n={sessionId:e.sessionId,type:"resolve",messageId:t,timestamp:Date.now(),args:{messageId:e.messageId,value:{}}};window.simid.simidIframe.contentWindow.postMessage(JSON.stringify(n),"*")}},{key:"createSession",value:function(e,t){var n,r,i,o,a,s,l,f,u={sessionId:e.sessionId,type:"SIMID:Player:init",messageId:t,timestamp:Date.now(),args:{environmentData:{videoDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:document.querySelector("body").getBoundingClientRect().width,height:document.querySelector("body").getBoundingClientRect().height},creativeDimensions:{x:document.querySelector("body").getBoundingClientRect().x,y:document.querySelector("body").getBoundingClientRect().y,width:document.querySelector("body").getBoundingClientRect().width,height:document.querySelector("body").getBoundingClientRect().height},fullscreen:window.simid.playerObj.isFullscreen(),fullscreenAllowed:!0,variableDurationAllowed:!0,skippableState:(null===(n=window.simid.adInfo)||void 0===n?void 0:n.skip_offset)?"adHandles":"notSkippable",skipoffset:"%"!==(null===(r=window.simid.adInfo)||void 0===r?void 0:r.skip_offset[(null===(i=window.simid.adInfo)||void 0===i?void 0:i.skip_offset.length)-1])?null===(o=window.simid.adInfo)||void 0===o?void 0:o.skip_offset:c(Math.round(Math.round(null===(a=window.simid.adInfo)||void 0===a?void 0:a.duration)*(null===(s=window.simid.adInfo)||void 0===s?void 0:s.skip_offset.replace("%",""))/100)),version:"3",appId:"com.akta.web",useragent:navigator.userAgent,muted:window.simid.playerObj.isPlayerMuted(),navigationSupport:"playerHandles",closeButtonSupport:"adHandles"},creativeData:{adParameters:window.simid.adInfo.ad_parameters.trim(),clickThruUri:null===(l=window.simid.adInfo)||void 0===l?void 0:null===(f=l.videoClickThroughURLTemplate)||void 0===f?void 0:f.url.trim()}}};window.simid.simidIframe.contentWindow.postMessage(JSON.stringify(u),"*")}},{key:"sendMessage",value:function(e,t,n,r){window.simid.simidIframe.contentWindow.postMessage(JSON.stringify({sessionId:e,type:n,messageId:t,timestamp:Date.now(),args:r}),"*")}}])&&r(t.prototype,n),s&&r(t,s),e}();function c(e){var t=parseInt(e,10),n=Math.floor(t/3600),r=Math.floor((t-3600*n)/60),i=t-3600*n-60*r;return n<10&&(n="0"+n),r<10&&(r="0"+r),i<10&&(i="0"+i),n+":"+r+":"+i}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));n(17),n(18),n(23),n(11),n(34),n(14),n(44),n(45),n(35),n(15),n(25),n(29),n(20),n(43),n(52),n(211),n(83),n(22);var r=n(0),i=function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[!Configurator!]\t"].concat(n))},o={api:{event_metadata_by_mcpeventid:"eventByMcpId",event_metadata_by_upid:"eventByUpId",schedule:"eventNow",seckey:"encryptionKey"},plugins:{},freewheel:{},dfp:{server_url:"serverUrl",cust_params:"customParameters"},adobepass:{adobepass_password:"password",server_url:"serverUrl",resource_id:"resource",temp_pass_short:"long",temp_pass_long:"short"}},a={};for(var s in o)if(o.hasOwnProperty(s))for(var c in o[s])o[s].hasOwnProperty(c)&&(a[s]=a[s]||{},a[s][o[s][c]]=c);function l(e,t,n){console.error("@swapKeys",e,t,n);var r={},i=n?o:a;for(var s in t)t.hasOwnProperty(s)&&i[e]&&(r[i[e][s]||s]=t[s]);return r}var f={convertToV3:function(e){i("@convertToV3",JSON.stringify(e,null,3));var t={};return"4"==e.version?(t.api=l("api",e.api,!1),t.plugins=l("plugins",e.plugins,!1),t.plugins.adobepass=l("adobepass",e.plugins.adobepass,!1),e.plugins.freewheel&&e.plugins.freewheel.serverSide&&(t.plugins.freewheel=e.plugins.freewheel.serverSide),e.plugins.dfp&&e.plugins.dfp.serverSide&&(t.plugins.dfp=l("dfp",e.plugins.dfp.serverSide,!1),t.plugins.dfp.parameters&&(t.plugins.dfp=r.a.merge(t.plugins.dfp,t.plugins.dfp.parameters),delete t.plugins.dfp.parameters),t.plugins.dfp.cust_params&&(t.plugins.dfp.cust_params=r.a.encodeURLParams(t.plugins.dfp.cust_params,!0),t.plugins.dfp.cust_params=encodeURIComponent(t.plugins.dfp.cust_params,!0))),t):(i("Config version is already < 4"),e)},convertToV4:function(e){i("@convertToV4",JSON.stringify(e,null,3));var t={};return"4"!=e.version?(t.api=l("api",e.api,!0),t.plugins=l("plugins",e.plugins,!0),t.plugins.adobepass=l("adobepass",e.plugins.adobepass,!0),t):(i("Config version is already 4"),e)}};function u(e){return(u="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 d(e,t,n){var i=["https://access.mp.lura.live/anvacks/{{ANVACK}}?apikey=3hwbSuqqT690uxjNYBktSQpa5ZrpYYR0Iofx7NcJHyA","https://access-stage.mp.lura.live/anvacks/{{ANVACK}}?apikey=3hwbSuqqT690uxjNYBktSQpa5ZrpYYR0Iofx7NcJHyA"],o=e.configurationUrl?e.configurationUrl+"/anvacks/{{ANVACK}}?apikey=3hwbSuqqT690uxjNYBktSQpa5ZrpYYR0Iofx7NcJHyA":null,a=0,s=r.a.deepCopy(i),c="tpi",l="upid",d="eventId",h="videoMetadata",p="schedule",b="time",m="video",v="tve",g="decryptionKey",y="updateAdSession",w="vtseil8lRfZvEW2lvrGLTqqr9/v83Sx/7ggCK55kyGqhftOsfAy9gUSqG5rkKsKGrP/lD5oBDM0aio5g9QcC/bw03jfT0p72DoxgpLtnGIp88Xw4Yfmri4jQ0myZXa6ahlWylgscyJNWdHIKRUxZKmmJDPCo+T8xtJnpZLIpBi8dloxlCuiQ0SmIAShZ3X5eR8mADT6ayjiVEXTQnemB4akLg+X/YvrftV/GNJMynqV5w5k0sW0jMYc62h+mxyKHfGWxOdmDyJZ4CmiSO6Gp1UOKOyQ1wfVtAikbrS8/5kGB+qPS9UcnvqeMft7CV4i7m6rHpQTnAnvH2/3SepxJA/PwE1/XBhhyA3KiIRdPjgSfNU+btRHPHjHvwrWRfJAUVrLWeaIgCiYprfc6q4z+Hp1gUFku0hJmJw77qQpgNJQaXJCRUtWT77lDYB/cWt5f5a2IgsDL9AfaFtIcDDdAgxK3IgKXySg2twEPGNhg7eIRm9F7MfydXSpRzAtDgbmFdNjTQ/9TZ+c5fSYyx55B6rb6nfIqjItfNootUli0qGIAo4r3U9oVVAqqXO4F/gRUTESVVwNpdoPgnQhPOHqFvkYZ2FacOs4Goa8C3H6HJdmfIDlrw61Ykc6/ZTE9xGSAVoHqzchYw4RzCJ7BGtgaA8FwZ8xkUE82pYDy9tKH5mqbt4viYP6YPpxHiI2iwFSZKicE1K+dv7JD90S0XNlU3Db84kwIOGkSOBzStDqSL6lGGdhWnDrOBqGvAtx+hyXZXsafEI3MVvcRfY9fBC9Svmv6krsU316RCedCkhEUYgexbmP4IY3RLDnrzQUVw2iCmpBc3LD97vmSrF6ol0VdQvDc/8gu7keCwS7hHvwCOV2MUQe+BW0OAoBQbpWZgmuatfiUGjgogS27UEkd9lKBb+qXDoVIqZhShXvfpdz82ZlReJIg2rUs7FGMAlmRkZeqYE+0zkzbldZuG2m+oaqjaDoethknYyWvppukps2G991csEQRnR0px1IjVUhil0X1XObGv7c2v7sygMiADxShCj+E4JoIvxGG0MljOgREpPwrU8jQyK+ucbxMpqyKnHX5ewGEjGLvBvU/Lg6hCSlV1IiyLOdv5nP2Acf5VbxT5KJGZ9UVr+SAFih2mpyOHtWvZJV7HtXVbwL5VdSAt3+v+jdhK3iA1UJiHKscDrUj/pJm3U6Erazm93/r9+rQCkqKBrZHpM7/p9Vucv+x82ejDe3OAgWYgo7RjIWIKzArXRtknfRFuSQl3uCpy+CM2U9d/IjKYjT34iHiaY+VfODoFT6TIpPqQBwbvAu2UkF99fPQYl+/INH7QpcvQk4kgeDb/QrSooDbnMZ150DTlRRVyFohZgrlDdgr8HKeq9RDDNOYPOvu2VvfIfpoCJwEzrAPmdmyObs2hHuelb/Jfvm6U3PN3yAqfDP7/nRHryLxa53wieIJZHTpY6xM+oquKiVezbFbKH24qwFV+E7HoWPz8Xnq61XvYf1yOqSi2AWIE4YJQso9fnzo4yIMQIc6a0y+oWFYC6fkyK27gAv+h1nMYYl7dP0KSGmpfAV7lg7GHHIsWv+KYlEZZm2ZF1RDc8G7UFI7O3ukwLnIw/7n/nzafm/vY/WV6DmjyMcZYkFvKclBMFIGBep0biInOEdWl9WhRNY0oiDDETo+7NCkBywBUQdPDfnfjB6P6eOpYid9hUZ+THzLsbDGh3X2IdqGZwK1/MqSvP1E6Hy7rJmj7h6mpn5TraDUfC0Sh13pnH59BFPVnyWF/EG1ncZYzG8gLQh+2eW66KBo27/rXUbd4kdhYxoijaCa6BKwges2t2Ji/SQg+cFJD/vu5oG6yy6Wwnd6nMalLLh7MfxzvF36uN5g6BVW/TePGNVS9nOJqZclA479D6hUK3yAuxzjPwUe42BShuH3SaVvOI9TYKDYP+f6leDDgegDdiq53Dx0NQooh5y10M207S3r/HwpeH37mpmrGionElqg54dXCaIMQLsBz+4qBz20VF54BpUKaDBD5nHwRopwcuhLg0aIhmjI8WeQ0mIs06lXNPe9sD3jWBUecza6lKKWZEntkuQGa9JowzJU+cM55nZ031n0NGpVqobKrUo1eaulbns3iidrVxklznpMBmrD9bhcFdO60PBNry9DckyMC4PBcWXUO9FvYczBI8GfAmBg3ver4oN/XB0OzOoW92CiW95pRD6Ik4kROYaYxRqBRUsUHAQ78wMU+WeelOqhZPw9LGP6KupjksKRdMoE0z/t4+aJ7BmPU0SIjQG7R3B6N+sa3ouummk447H3jFq2pyHA9Pjm9f1c5HWDaySQVgpDkXs9D/0j+HcFeaG+55haBLmGvzUrjvvxolD1S/Ko5lzsmQr/MZyu+9Ovpxe6K4Vx/zDE7PxnWBwovKATyV63cdGaRpWPBD66wQU1AkVKZ8XYmBSinH+a5eeHyViMRJWyB4HQnORhYWI8jRp/T4QN24jwUjCJj/QZ2hrEJtAjAx4tF7x71TLdvhQzJQ91fk0hSL1sod6X7wsu/jNZ4W7sz7ygrICmJYf+SXimzsiOTY6roH8PeYvFJLGDKZqAObfRaYwz0g6m8uBRUg0ZrxeLRnfvnqpGmTgPz9L5IVCXc0aV0LhgdlHDGBd9k6MDG2b11D/UNUtT4W3eIxP85iU/XTJcZFXbLD7dbDFTrtANEhDzwtg4GzIN1waz6wA4Fw3Axrch8jtHup0sPGFDm/Xwn3i1QdN9DViP/m8HNvJh/1K+pQhcciKhzQJ5kdts0SlUqhoUFoATTMegXGa6rFiOJww+U8sx8wGa4+Kz1YlphwAvfn5fBOd8CZl/C75Vwe6J3sDpKByde6rK7Vu7Vno7fRXGBraSm+SYaoO99PDV9N6JA3keODHkPvIFKeU00I0GUtm3ppBz84vJRfps+yourlPSsUHnu4nePMtyS1iH4GM4NypkojbeG0fU9SpLt1u87f9DrJrlt97vLLU6g8F/t0t8F5kq9kJnXFOIvgwdce50oqgy9lime3knhUrQa3ekmAgHJbwmuerOIM6lKEspdx50NQ/NlUmwENjDMBhPLzXL0OkF7mJqJcaCFnav25ay0R3czJkXzdluv8SDvsLGULa4yPDBnagMw0eKg6Vf6fspwm3rXpOHXUQFH5EAwglWvikLqkllXQxQlC7ZgKr6bBwaCZSU1nuhjWkRgJTCMoIkA9Rm7QlPh4IwaBNij8Y9pcBxzmghtwat943c87vT8cGlA91OMG5k3b39TdwzJ1ieSUz7/+YS4soDzUyegWTZdxfNamt60HvK8n2YPXRzW032Bpfqr1/pgCeHtdEoA4aYeCOVqeA+HXTSgvW5zjE9l/6dYQ39YBcjIzK7+D825JF8jWZ20UiIK4oep+8Ch2jpFbOcGMCcX3GjIfxlK5W1pkMF1UPkhcpfQPHsCs8lTdE809W+DsTNRYID30TAMDL85UfXdAy+KOEEPrFUpazipBNk3DmKn4Vhbbutej302mZ4S0EdsAw53pr/jNYdctMBBFE0OJrDTUIWH8mulJ69hLLMmLa3NYsqGdFCmQ+3FkFTcOMsgIRZd5zQJjIzsT3U10KvUnFA31zA8vS8/hKXk47h5oF93CFJchMRb68UsL0rm0sKVMawbk2kF6z5OFaxcpKhxLzp+yOOf2ZOhehXvSZlrKruhakwP9/XA6BlXjKBk22yaMZpcjCAc3BlEVEo2H6KVy6M7cvzH5exGzhf56M9S26a+O0djT44DZZe5ZlwbS+GXXUJP8VysjFN5it27FoHWXSJd5yd4mHhoSQwhb4KbVqmOrYA/xoKFgSRVVRuM4bBveRlAhJxMSYTcB4IgHVjIG/s3U/NuCveHHDpI4o4A5Ljv6jKYE4WwfaFkeQivPgHHYEf2c9dW3TNQ8WbG9+2UvfVS63RMRMQBLgOzr3liwnSW5mJPJIsvoqgl4sS9mb8VzNjMiZOjgCF1+7phhfRuO2tbIsUnZPppG7nag+gL5gch0dm6xURbehe+0sBzJSkkpMTrecAHy258oDTwTBSB8C3HrpFysl+aF2gLaowiAxR+5nzS48usmf2H8hfI1iys0vWNpYhrxZufYtMFK49JL/SOO8Xj1CCu6rdvZTbaAyKr6U83F5/BIRus3qdRWULHFM8R1UIcpNN2oFXYGCvtWWObs7p/lVFJc+GpZSqOGKtKzuoM4E1VNaGKBEQ0QGcrAS5bAfDrVE4IlmFFL+irtZsC3Zuf+nmuPfZIXeFJD816e6uOzk0vic8LC3EU/82pkHdhzqs/p0tfdNyNtSmamjvc7yuEnfp8Ji35FrLdh3a/sOjfqnbIjpHLS+RzgKMRX8DLvOoNzCGd4F1oc/DUazke7vUY9ZIKO5HfKqAMjMDu4q5jzTCqKhLP8ZO6QvWiooUjytOtPZGyCjzH8agSlaDHQxhWBLmTVyeWlRR+PGAyKSAMXGrTbRQafbvw6zP61FjLro1p9CipULBfQ97cwRxnO78DtjrFX6zaOatNHxBJ3ixpf05+bB8n2FovFIDPUxZLXXzVmcqVuVHNzy5i2q03o+9nbIlu6b/+0H03U4byBbCrtril36Wh1aBjPC1bA+UjKwdNg42QIOG+1BnqGne/ly+Mtl3aJd7fNHpyxbiGUdA+X2MIMby6YnluKTYACQ1iC6cxugj1VN96znccy4UAiek9rkxmocDqpnRZo91QCXb70KUb2Hqk3xfrpL3BlaU2bb0x6yb1ajbAc071n1sgPC/R7/Dt8ZlKoxcgNe08CgSjveeIUirKTh/CPPep7XgVEr9/EGgpcwRmCVDTo5JJK65E0frHPXJlXDWiNgJ+zGAKXBnmv8DzA9uEwHyS5qZ2Kw0PnU2kouIz/m+HRvvsOzEniaeFiAfsd/FKPN0VA5/r1DxqDpiX1A4KJ+TzrwYex6Tyz005gLqTWTe4yre0wsZy7MBcboOF+LJPnPdxt9Y4BMLwOmqELtcAjR6f/aOHyb01SKHLMNeyUQZM4zm+Zt1rpqx0YDmSNFJeR4GYkQ668T6LgWl+EjGzM+FRlJQCZePP6K71/rkfFlMPiPUdatw9usR4wOwjaCXEvVJ8P9D8yFO31+xPyNxyOm1OWNFUWmij+xuhDlgtmgs96u2sHJxXNuLI8LKjlZMQZAar9YDyPHPkqw7iRRlP06oGw8ef8ZUvvKXVg9drxHQX7ZKBw1rrrtqhPnb/tsOvvWl0dfrH7s5F1cMgE6BYs/faoOnuBkUb3J2ClvDAueYJAA32ybCQqsfxqXJWV8ixqUV8eMJBA2IZBEvVNbVYg8gZCKegoRrGEirhiDVEpEw3z7hPEtTafdxjI+tyLMae1EpnipJA3od5a8YOPKuoe3cwxfTSeKPkLPM0Z38CuZedMhaZRdQk1zVTuPejCxQYHTeCUlxJWepVGoAnp48VesKiQ51HB1ZL29lqxSLo2x2E9zg3yG9mW1TX0CBEyaQZYDMLpmnJpdP5AKMi7LZIAgHmzADhjhiWHqMr28us6Cw1bor5kVnB5K3FC2ibqlTNBtO2769GoQ254Q6dwFISpyvj6qV6xpcOUKoIb3iAHCfxBVfZJe3GZC8pF94L0ftebLvJs3OlEQcmbHGDUr8SN1krLVOg9Y8bP/zKhQdGVExqWkbxtLNPuO78IbHSDy2WDH91AJUPRy1tz+E4YXZXu7QnyjT3J0aHuOJO6G7QwGCrDkNoh5azCku2HKjhruEvc2L5zHVmkMI1k/x5SrS2996QzcQLt5KnG4LAIlY/FTXBLtAtFn7PgO41SNYsV78lp0LVJZsrbqs83/tFzN2xAHvAy5bFxNEInNiNhgW4sCUCVKPbvic1WUMK1NUCu6fnUHqataujrr/ifphDdAAw7oGtNJ2ux0mCttbVsBHPRBwofpoMCpq+YZZi3PaIdp6Q7GXyrNZ4WzmZIe4CX3v/uHbVC0Zfzq+dC102uonHGI9tkgo6D6/+TAp99tDdrKwY3i1gKioKgqT3U4ubYFm317U7g+FPGYIp1qCe22e2oiYKjJCrBAFvI3I1q5+dy/fnuBJIupaTRf94XvBenVXx+ZC8UXxfnOy5mJRUa8vQ1vh4qV30diLvbT0j3qnzQhe8YZsRSRxaLqfnNWBAkgCTtnBM/u2drl9hSqgyEPDn1vwmNfXcB3Kij1k2dJ/KjwkvKUhDgZEl3boHWsQBKxMi+wjWKTN0BVrRZIiDps3wMOJHDhfN1iilwqLsO2pA0e8n35fv93QT/sgbI0fkWxzDjWm6B+1dfbi2pWh51rYHF0tM/RpCTb4pzUDS63jEh/GupnUgZgI9LPZkA0EkVKf72AsCXTFSd55KDO046kuvH/bA2isTZLrSVTFaOvhdAJWujMIizK2vKMgeRfF84z3IWfgKyGx5Xv4/otJCZbmsolDeI35WLPx9tHVQSldvNs0OQOR5osKDxwntFzQSMd3YHTl+YKR/vqyJAwGgUTabRdF7E2CS5pGGijAHjQp1iRfaQBZBIbpe67AVh0R731Mef0lOqHmFlg5L7iVJdHD7euL4Yw6EUmI606t7Btti+HTrM7Qq1Mmr9eCR+ksPDfVN5edaRVqfkPQI8CBvDpAkmTxSZzrR/FWSxTvDyQnR/gXANevFcjin4vktOfHqipyoMXwml8iftGl4/b2ADbTKSl99rJYIBUOxuEZH7P6/a+xSII69FUdTOoCD7GuGAGEDYlq2JxS+8Pc8uylikVGl4shcjoDuYkg74U5wqYAL6GTFBrqxNzSSKbijcvojOsDELwoBLRVGkMuuuWx3XhTY/EuxTdCaoQ7IoKJZaYqF1iwEAoJmMoYNR2hCTDeqQOn2XZk3XYfjA+JMqgKAV98aL73IRHoweaZhDtocN0abMp7lspz3mgRObWZA4hhc62u+kX59ueXz9wuS/YClrs64HGBJaauv9R2M2jF6/3vkXgAIHVoJi/Qn6YmaGIhQtKmtAk+RH+1ulgIu6S0KtkHqJpmA1kfz47QQ7YDM3NhRJMy0XSEGuugbw69sLXAyQKUgEUhiy3AJC8rSOPKHbzQkbB9wHY6TMHmSkq6QqlsoVSaml0H9SgoKj85dDb2yIkJd81+bf+isUtYvaBcqGoTfC672fWjlKje/T5Hy6/ESdTuguaJWf9nDtdDbYyHHj3tQGus/BtFaHqrup9fF7bDBU5xWG1xVRsAed38y+mqyOQZUtKBQed2Js1b6D8JpyTziBaEEuie63iSn2IQVdTCQGnpI4SV7k3317PFmw1xZOyxg42xaCrWmXEorHbhsoXI+MRezpbI5QnUwuA5XPjVCt67E6gK9J+YF2/vxWXwHmzzw2p93V+HVj50CNOnttK1yOSklQijpxnDBRQWVSV4KKDtuzH0Wo458K1KPJcA6C8MjU/Md9n35MnQOW9PjulYUUcHFpK4YW9gP8g0YjVaXd40jwB/umwLhy7d7vrfaDTEAgNYQt1xDlk8Be/u8v1IsBVenzoeUk9xPij0iCRBNM4NkgDE1KHSV0fwk1os8fZ6HBTF9hgP9JMhC+5QWwopCQFTuFf4AoKkjkBpLVc8aktz5gU+TP5qkNrMBlWKDpC7jXWry+Bup0RaMDmVgRUwS91U1Jbe+OB+fB72fqEamW9xR6o6vZBETg52E2iyRMWSXgBq20J6gQcVZbkF4pl/6dfZ8Hz6zdMKatXDNkZcEbZHP2MfVcKcvmJTUcgszULlOOg/m/p/3Vk28YcyS1AvJ23/y6xsoxeizOGi/Ic87ZhDk8TLfbOGOv8pojQ8w8wnpw57/f+zk6sYS4JuvOBmp9ktxWHQzhtHNjY70RfCDLZYGcD1DAuRthKFudNp+s8T/Wtd+G+gam+bBHJzmK5M64jgNhEG4/SujUhsQmOE+bO30ShBzhWs6HCZwJnO7Dd38WXWNkOuVIiRH6JYHPemxh1u54X9OwTLX50K6bIhpER1A2T6E2cWRL0gegAkwuGmLlAh0Mi6I70brGViFfnOK6V56+anYtGFXXrl2vXmupfjVxNzYaxPvh/F+yWpk+x/Q5SVf/fAUwVIK5rxFFkF8wa3xX/F2z0Rxm8LqeMiRX8DG3ZTMRN4K0T9dmcUESWrIwxYw9t5W8lBQJ++eTeQ1t+ZHFiHHwPKCj8QZ/StJkHxbgzS9Zx2ag+z23wLhGFRS2wJGJRP+sXejpH0JYuq9x0v8wi3zfAyFJCV3cVBt27DuYtgNAgisQqdv+x7kGMcw8+rfC9NP8BhyWI3GK/oaOo2aV4FGQ3YsnO6BYaOP2mCKBl8aL8DfvK2U4aXWgjcwF3PQUdR8kBU0x1BBMSr/vRhYcg1MArk1rrJ+SpxsIp4xfUSmndAJSku2HKjhruEvc2L5zHVmkPYbo3f2QHrcRyEGhlb/BkX7ZPXW3fhX9V8CLMBLFtsFrKYeqRA/C1nzXmLCstRGxIZVLX9HwH9ZL9CshEPCsLDiotg9jtTSNpobrIEj35sX8EhbIT7scbaue+HOtT54heEOII/Qpmx90FF0jbygJx0n4tbyzt9dqcFp7VtHH/WM1G/mt/j3XPIpaiOkNc5EiGozrA9Pp+HpZA9dDN/w8Uksw/dWBsL19wWa8Xr3fo5XAZAT4H/CzBGxKehA3/5M458UCCmnZqs+I0pxLyaDnlt3jbIxUYJkvVBfcsfx8k/vER8sK43Rf0xBpKkZvH8yU1TMtEsOZcnG8tKeCJL8aNVPDFMpuUp341qUZp0L9s8J8C76ulVscqDDhJ5n4NrOaZZ90cqwzJveqLlc7SfIAYjFjCGXQ28C8GostEEedLb96FblFgtyXfEjGWiWAfAuXjnRodG6UiZksTbVTSqTXA0RBLBplWCCmHya1JObRMN9hLTz5jCjllfGiL/phe561anqChCMzaSN/Rk4DSglB858zo3QY6kUlZ3f79LkOf1oqi/Qir5A2amwfYQkvDIX6J9LHok+wt7KGOOMzYV1OntGK+Ty5ErwgLgYD8Xv/CV6u+biZexZws/g1F/ZbOCXJMWF2D5YvIin8RAHDq9m4gLhdPPhHkR1F3jXDcLEz5mgp8Wkd4XzUDHJ7xDRAWE0zcxO7g8hBqoBQxPcUXzRxdQ+AVKvPZVWcQa/Y5lJgjIT00+BwiM4a/xRv5D3Wpw4KsDu2TZCqWmre94QS3h/AotrcrBjTKjl293GTOSFprNraUzalHWgi6Uq4+/WYtxqCx6PB8qNcFkgxW33n5XTQ+E/K0+9M3A2QkoX4sySKlMKUg0TkoBw+E4PdiJBKnX+rT4FxJtBQZXHVyTVd27s/2m+nBn+dPQbYKTcYbq6x/1He/iwQN7fKCP2wfMBURTTlvp6a+x8y5809K27YQxK7rjZhc9XxnL9Sn6Fpdtsew24S8blSJLqLy1XTCafM8jYfVW+9v6fvAzaeuDo5DhGySjspUg9FGvQwzPAasssB9CSxA7qTMaVGU+Iz5DtuRADpZqvss4vwb5NkLn16BCdx0p5uzMFRxFAuPxhaMNBELGNfvJpo+UboSZAuSTi2/0bjHSeQXlAP44adteDzd2yARS6oHweDcJchjY5Y3DH38uqhHFsbxjWP9zSZoU5M5nuR/YJ0UXKa0dI1Pl4DfNo+vtkrEMcwIjgsR/20qT2whhgGqB3IdpMkGO4IKAZ/Kv278THbO2aFz8V+LE2FZxTN2q2Hei+H6JgzUy+dg7xbjMXqzx5Izi08XfmrCuxAZqmIXNKEEJk/gcwzGIoxxJ0ls7neYaO9nsx4ujhMM25EG+f2L1zwfibUadsbhHyWgF05LmqoZMx+Zs5g/4Kw1tzAeXujOABzpys2OUuWhKs/UEcARsucS6wjttRqkJmekIsXgmaZHtfRGMRyuYgA2sd35hpAKnRBT/CMJXUsf7reoJpZRwORT5C/zMQ6X7Y38f9nlgYUF+Ymb5265w4Xj4jo1wqHrlO3iOPvaxQhJxSCCtafJXtmi/39jVNUFMkoUBQbsSbXGk3N7Holn0vbmVMyzo6CleeMLT9S1gc9UL30ktkceSTPNjSwQ65ZbphmeoUyVMxOMZtMr8sjk0L96hV2ZoVYrU9q+XM9nzqoSqjC2JaweaPvjU6jx/pJ2ooh+c9nCH5caFRD5LzhOetjn+/lLDcZcRxAEngXqzjbQxDvbSuai/Qir5A2amwfYQkvDIX6J/cP55BZQoKG2RQWRFPuZyYhPYJMurcXQhaUUSlsODLX8UUhp8kmET08JjNGL8fNCGgvqA0nDLHYTQ/xAeOngGWPRiByBjKT/ADMEyOZCkMrl+bMjYyqB7CKmIUykOm2F/kGC2KdQ1h9TKAwghgD0u/azhK0tpSFe4GtCyDR6JZ9P67fsMm4bP0A3jNZ1Gft6MoHp3LPO8gAOaEYKp5KZ3kxKq2YzdgiovpRIrtNuZM5ygoCBs8asmi1w9XxDb6ocH/ZgRV6nC8MbTlSmRUZ7runkThLIdJxLnibuG/rNd6peYtvw36nJG46vpuOEi1B6d4g9BOjUKxwVTM+b5a42H2ZsYa7/NiwXDXI8e0TfOXqBuG3JGddS9X7NfwlAQnNLcJNm+c7Y3yh5f0/GmbZvAuQ+jHEeG86buJAZQLOQpMZ20eIVsdZP4pxLsQjLBK9IPsjvNxaOdZzeyi35AVzpnJre4mfH7REemTtTaJRhHMEjQy1Krc8R+pqQt9an49iLe0AEL7tD0Tq9uNtpqKNkyRh6ZF8zPvPjxCqBKp0zX99MTNwGFPhEu8c8lve7cHCZ8Beagdug0u6H2/sx2RXYp3DPyJnOkQL8dJcHx7NEELGuDOSTD6hkW+vwqC05ccnyNmFRBow1J1fQukfEWdqrA3EDPdF7uMohh22UapPZfEH55AtEj/4qC5nCiCFV3u6tTkz47aPN9ydUep0D3WYTCxoZ4UjS51M5lx32nGbI+ERdachQttGYwNfkmw0FChkL8QkrV9zvFAqenGnTASz+E3jkajOF9NbIQRLhOLbV7jK35USBoSC6npMd0nVM7RC5fSsNZQy1aLX5qnIohQVrnunJyU/1YjSG1A94m/uBxBb9uR/Op7UYEoq0AacbO61qFZ53xMyjIRFiLJG3QAtVfthQPUAUNPn1oZP93HvWaPnRZl6Sfh3fKArwx3wGRSIr7ZEH2F7uZff53Qq+NGZYabVHloso9q5v5keoYi7LASMMS4yUPE6hMm9/DVf4HYnYj7V0wD3DdzBGpbcKnf7xX4PanR3crdVcjxtLb7rOIt0NbYAR7AFXoTixvAbi8eSh0/GfGww67dR6zwRm1H9rxpxp9oc0tEcaCIQQ7LHBdzG5S3y6P+XGGJYWSc/JP5CSuj4YIc8PQeW8jZAmaP5qChuFtNQcHRakL9VUgCw82nijXkWuZqofi6PeB6z3/B8Sk+b9EsfKQWoKAPzW/bJd7A58KhTXEZx6/JnMuMHsW4uOAMdnjcLxtH55N0FTvrscFUqM9OQu4d5HjoWCMhUf+Pqkt7gikjIqUN2jbw/eCFKFvrj5k1HRWovSJMHacJyILMjmz+ydgyZT/ynGpTi6W+pK72ZPTSERj168xj9ch0Y0lJkOOO9E9/7jz/+wYFiVXtGF3J5HGA5/wG1lrYukbVcUK23j7vlX++Py9IJwrGQ6Fj3l1JMv+0jHkHexSsZ3f5/wuHWiH+vVNzIhCSh4R0viDa7X3Z4xYztFHv0z2fOgc+y4e8CvhVONO2wea7QAb9xVfJXwiMduDm57Uv9LztkGFtlZQSjab49tC8tkh+A1dnEIxSAX6gVbt+EbLVSBmGI98DSeB2yNQgsV/z3Tua/cOiypW+29Rkos6QKJv1Kw4FtyZLFiRjGJhCDB314RMmd2VjJ7JoDoLUeXD2aZq/pdTKKdXVzdm8FNIh1hgOHfMhugvd41dTe77m4+HnvvyooQKqPediI4vTvHTe/8iXNhlbfThbb+VwvnseHhYTIDbOPsB0eUz9eSGFQZGwvklz4LM6wNv0wEsk9CFbauAEHhhBVTIOu94blZpB+0z9Hcs0Z4NTv4N7mDg/NujC18TOftJ6xx+n4B2S5Fv9fxK5kDtLYCxnz9lLYUy1aeNcnCHHHzQxdv2qLyWlblhP+UCRUpnxdiYFKKcf5rl54fJskOl2G6P7SFmWi1hpZmrvDHbre/3yx+yh7s2GvgTCD8BPD0goNqUrTkTApj3RxOh3ImlGKSdS+Ct5+XawnspBuNHlECU/1Dr6B2DDcDNtc4Y2TbUpTUwqweAACkNkm+NVQS3NKp8MJPj6yCCQecCY9AvXWxz+qHm0aSN+j41VxGM+SNaA9LzYNIQOGwL2jWsMJEyuBMl4rtp0+/6rBPndmqZzZcESLBmvYE6WxN0uOZZ0eFhXEUgCehbGjfuv8WNEy1CCjMoEAnQYuOMSpveQBV6FQiK1vpAJfh4TRozmsjl3N7qrk9fXMzCekRa7tQDUjzhkjghA/6ITaw4JZEmuEq7qcrEiBTLHE3RSEWmR2wZINyJ8OOa8C0UtU/WmX8ZatELkI72r/943DCPj4nHZxoCqWPfeSbaHT7zGwgJoZ1Be8kFTA4PpnkKtBPXP3XLMNVMbuAr+kiwbxpyAb2S4TvKp2/QPcnJaYosraFUpWFvdnfIeZT4Mib6mmDR612VFVos1h+CFuzriCqNkkYzguuT8M9lLL7UvLrLdOzxyhME5GaV5q6e7DKx99INK4mZf5g/kaHqzynpF8FULh4c/weWSg4hlrUolWbiCYTcxfRPO51oCii0P5ZiDlQn/Jd9t9o3m4AFwO1D45GIT+ujj5bgjNqBrJCRY9DFLG8XWCaDccvzk5Y0m1cimB2WOEWz4m50Ee2yyl1mWCbxeBZC1KhBPxHFlbvBaGgMzsgpbl2zbD8dPKMLtqJVppj3GRH8w59QT5j62scX2pyfsOECAm2FQRhyTc/v2BWld9rtHyXxmImcGlflgMqmERBVPKhJ2PMqw91OUp6l0+8kjiExuOqrBtqoNaDZMfkgBZjEcwBey2IpdDZaH33GmGP8WSjShn7Oe7VEgtOHsUDPpC3hZFtK4IJBMdpyi5eGlLjXrHFLDPuMCkS2bPFf/KDCt7lk6JHEuPzr4IardbN4lMJQDohD7DaU/3BB+7ETFuzaRN1ZX15abWBRsl1HiWzTPbBcdHX/ARiGrRoilQoy5oOyQoU/A+WsdUpBoImllxwZIR29tKFTJ56k7R+l5zgwmIXOmWMAJm3GNYn2khehS5mDmQoynmSgCGKpyMQq2Xl45V4QA5vLdH6QjJTCp/Kjv8JTgwpMq9pTRK3HXNI+LVQvZyFWe95GYkuyHiEv61wL4S59zAetT0zPVZmjNWLEbhQGC4WN/DSCnl1MwdgNwjPjaRV4rVtEjxjE5XjgnnbdmcANIWtgO9A7f7B8rgAOr3KOSuv7GauNyK6kXqEOshALsqpB7ehAzUi+s5Sz/mm1uniBiF2okNFDbOUgBmDGyTCmxdO6j4Q57urexEKm0ZbhcJe72pAN5ZLsRUckkBaBKCzV6Zi74eBIT0iuG+UO98mmNSl1ZA15Nwbhm8ZldoeiP2cjUkpAHLtp/6mmWVGv8yqEVjo0Ew0e3xRKciBgjmdnXZeq3fanHl+p7BT4Ty+M4GZwPwDbu7z3++sEPoarh2MaRQcskZ/3IB/NBVEB3jnNv4WVb4RzyKiVKiZsNLQi5g6MGludPQvEz5ZB590yZZoYHW8XuFldyAr6JscO4X8QYi073hnn/JNnRB7aiDhb7HDYht5NZ5GuaNt90fhFNWvFFppM2XI8vB3Mg92COlS8i3n82QjiGNOvKki5Y4RW9kvKBDm0mFix0+y82R1GryV1ynMkRmsYepTaY7D3IkVbYAEXb2nJUB2ftSjkaB2nYS9Jfjk565ApB9Ywg306hKgpJVb4OapijPeKbPtVnswoeOVo/heyqOh2n1kPPM5eS0ypsDZW2K7MDPCN9OpgEPMDhKoXLdm3YKfue62fviB9CqJleVnX6LVI2RD0PDwrp3wEINPu+YgXbJPaASgXpSYMrVHgt/rMO2K+8VwjFE2Es4n80tTw5FHAkSf7ts5tyfxtURo7t7nJoecIAADLxRrQaGMXt2NIYWS0jywKqJixl82lw2V9stYB0JcgJcQzOx/m3ADbKT6zWYxLWaEeKsUAjO7bz8l1TpFzFP8YM9dAN4p5XApViGXPD4dz4btHmc4f6vSk/IG/i0fjMacCpQPUwC+XaWj7FllH9lwED0tM4mqrDzSHM23OOT58OZZnLL/2F5zygKXO02lJb0+g1YdkTwSqOgEOX0SBxVbxTG+OEDbxfTushyTTftnsiL3guIPxKnzRLS2TXjsy3YY4flilapir8fSr5vGHYk2YqgqDwoiPF2EEfqTbRtIpwh2V2EhDmFCibZXmNzOtZq1YuO/TTUfgkBeSWDq1JyGCEIrnkZU9kqpwo5n/kWEpSh01OTaVGYKj3K8cqAofmil2RgQl+nLFrHXvuMu97Llv61WyixKpBNof+FWzGRNuo4JnS5WQXSztwfLHeH2zV8tNVStFi3Wiw4zvm8qSf9HHbsRP/ExBJpcW+hJEFYLIHj/MlD75LgNtIShaayh/A1djw1ZMRL+5ttOzfniOTuX2tHJIjuwCct9oLlC9jwRVJw8lzprTuG5m1t7J5pvkClzkoWR9uwQKqJhNmuAHCTZBhc/rboD+HTTt0KJ1WTVq6kRGbvYc2Xf4P2OKLfWH44ON5JrcfUBGOPE3O4NsG62CZL1ri4JnZheZ7lntTj1AqFIH5N+xpdUC5wS5RPnr7owbWq5tuByFGQxJTlBWzidK5KF/DMuoWXoHjLEPxfh6Yt5ZkYQbfUhRL4un21jnEy2HRNKWfR7Cfx1C8W2imDXTkrb5lX5BDUoQZPZFaVe8d0MP/kt2IQHU3HpuDXa5MDEI3fk0aluMu0jT2uNfM4BUL/zTGhMyGixxW4s5gfUEE5yk+E7n95fc1xPll70g5EScHmNt+HcLTpGi+8UEC+tVGhVlJOSaZbi0E/INuwdncpzzf3G2b1B/gRGO2UHOHFK1un9QUZVm5xpYSGTja3JeG0rSNMLYJv5qzks9Y2yo4qVn4SG3bYW20DXg1jM6YFLCPTtI1X7abc9fIgg9yC48NS6PZKPAm8Nfj0YP6Tp/TfD4XAOOkMQJfbyvMYSZyC1tzQ+M4a3cF87MHc9aFyOSjalWGGMfy+VAHrit7xh4Cqe3pqVZfnF4u1Cuj4UwSowGWQ0+IjJx8DzCHkfuowJZdNtuySn7RZnX8HNjnDwqQ31xvAxWSFOUqdKFpJivm4vqnRsUQ+7iJsRtifUJz0VafG5IHjUhn5tJjHPizJa2iUYo/dwPajsxgPFqqz/514es2g5V0etulLDhmwJL3SQQpW1/V66OWHhA45KSwLGlKr5ObjXVLn8Axd7Hu5vOdMA9tv1bzotkVen4EoTvXqRXGGn/CpFJRRJ9LdZV7895GMPCajNvQ/t9hnYQ+EjEO0L/CXFXwAs0xbl82L63OIZ51GQ0/RsatvJb9wR8e7/R/Y1ugrJ1K/tq8ZDR2yYAMKKdBNOkChPomntDCK7wqkG6Q0Db+D+6rEvwyh7uIOgKAyc8gz4wYFPAFVP6raXzc0B4l3TnvOM4oXKbc/NxephPKKuKvNw2YJ0j/GnCg6AIGp2DP6168pmJWK4M8thDut0iyS0Apl3CUbXqWEskQby0CgQWIvXgh+owzt7Hn4Q3/MU7m/DX6m1cpE0f6VYuOEiyOH0+Dd4Kjuort4ff9KMXGkI15LXprVJPSoyCLu4gPgFz4nHMmpK0nhO3s0hblMlhjeCgNsvbrUxM94T65SCFUcWiKkgcVHTLCOxpb2O9iepGiJFw+cr/bsmjoKzJ11oe1O+t09cvQUZbxR2rLdwFBwjj3dnN/yKlx1QjUf1QvcMLydTgS4ybyNjE35wxQ0Tg5L71jOaKlM5cB37kOBg+RqlUZufA5M6K/S2WiCJpWvI9ju2ZqUUVmTQOUDAZOilnaehHzpuqKuyx+KP82t+w+tYmWkH5KbyCZo888PeJwhFJ8AWHCZ3mvUnPCdlp/rfi8JUSoO1oSEMB3/fB9cQitQiQadNzCeT8qFuTPEyjqN/hDcifp7SAKZ6M1Ors7L6LsxDh4G1NeVtTXlZMjlZDiW5gfxOKvtOWPNPXWgw5+ayrRrrOYs/TWKYSUyGM5z9nt84CDTkEFBrYIYlcsbxXFIT0A3lm5Vrba/mXj9q6wLCyKxgF5tFK2EMTzmay8bLCPDvy2jpDoMRtDlTEdc+GKcMDxSWrtwpGKmPqRgfeS/vMwvJc7If6E6nTOlhetDczxerci+NMTLkkCE3UODi0yUIBSHsUYvfU8fD8rgxqYNLWl1crNxs2ndt9C16BeeZYkfOULKeE9y5BLTRfWVSCLULSjLE3oWHHO1JNM21uVE3gsx+RevM+gBP7bHUio1JDqX0b7ZtaLa2w6rssA0dZu5v5eTiM493Wb/IRNi3JiKMfC07Ujfc6st3oEwrdxEr4AsVPvsCEue03d26NY4QCyr3hc4eGzzQbj78QmcLNclXTNYITB5vS0fdonKeVObqyVQeonnKkP/ZfQ4zWpPM5DUJHgKBykUsHBxN1tmoirIkbHjDCucNMczcv2DYspvs2lR8ND4fPQHDyAPgFF7ae6Juu5xAPmQ3wEZZ5y39lLsUJlto/o26lyDrzW4vD7mtLqnXXG1NNAjpwtQ5tRippLlCCjzRyql8Jg/jgG/YaffOgZlXjR0BmeDf5K2IGgMSJJLvw4gUGW3lmCIgT27hB0FgZJraZqQjv6OUYHeW6FL5akSTmE/yqYwq2j+t7aI4jOoAs2im6K4889103YcBW1sfqogA8L18xA6HOqjTAQjbtNLw3ahh3ccGJhbugP9tTTCabUhAQy45Et33JUTGUd6dxrx3GAsQ2OYayOu3G6pWAbFIo6k4bmJof/UHTTNGbdELR2oLx2LSdcSK/qSdaWsNUq9grI1RHh45L94Z2SVRz6x8VPGVFd/qceKBhDwg23bU1+L1AARO6QJLhi0tfDzXOoq2OmnaPIiOY4TpbWuuqkYXaT2mjp/qqRuIoX7wwY+w4+xv4YbhMo0xWdJsnRRxqSyaWMCjfjD97Dq9hKn8K4FFZdZMLcDItG/Kltk6KlxprOheYSrYes8w49ZvMaEa/oO1iBR49VurVOqXDPQ+YmFu5dKZlw+sjoTyMSdZd1+6M+PC9yHni2gIiuW7I+Uh5rFaNN4bGo62xHdU9fJQCD7EksfFOMJyjPIKpNYCe4X3SuibJKbZSPufI1gMxbvMKNof971HmPRIQI3vvCCNlQI+89Qn4JKlAdhHSVqO9Z0OjIRFEEZ8GFM3ZTfbAy57hFcv1VfQPMX07gYpAzwK0OFVyubuisGrL0NKyEWF/JNLVhVjelg8XnhLKn6NWuVdjfL6kBmz9WbwSTWyF+v3MXfxSJFvX/lWYnIpWwlWfrCgyNCYnkm3eUkrrNYzhHPltAnKmR8OU+4mAEJ9lCR3A9gdOTJDefRAE6b5kTfXv8vLnwEyldSXYOkzkshd3fYUD4iv8rjmHBpPlFZejQyH93xO5rHLv0sIDtj9EeLiQv9/iIqZI7EIdU+O0fGb8UrxzH8txm+fWYbwWXRkf6Q9U1EKzGz8mh2/0mnEFgzkguj3PZjfnCDq3uhcQXbQ5ncEBoIf5MfJyGQ1LYIy8PMlVUArrVRpcJgtMSGiSJaJorPD+XXYS5joVYKXLYrFlpPoes9jpiEFwq2HfTpnoxyW1+ArjXw64ogqnIPD4YY33mzF4NUXk0ol1ISpqzKD13Q9jsdYiYcP5pFcuo7PgWK4UpYijRBhkalMmoBqMqyWEG3PyZ/31LqtqrmLPwE7bzr2GWPvP/qc90AJjGeBL54YxSi18QqXJ1veJb8w2/wY/mrv51XWIbWqvgB5+5K6LGBSXS92SAE4dNvTDfvubTntfFR2SvP1AmXJVBOu0RkEQraGmNMyLF88BM16pqWyIK3wSotpMROQwnDr91tnvEMJ9PMHY+lbyWsLKgoLewDYIyO7SPUVANWTq5yi5jJCTbM1hFJAP1HINymc8t1qfU/OX04o7FC6ES8Im8cJF3qKfvFBq7IJH/PPWdZQyeqSYSm2poDW0Po/k7CE6rXpvPvdXmKMdyhxSylb0DwXAWuoyX9+/kLLbrobK1cd+SDBCzsAEEmuX7kMz4dV2a+PWEyPQPMPiGtu9+czTQ1lSeE2DywgN+Zh/2e1e9HA/eSLCfHCweFBFFjt//4H+YSJPZ8byfEJmCuU6bmLgwj04bRovdGuP7c1KMbGGMdJirTieK516ENpsc7f0dgCv6eCX823geGzPdqyVcniobxMcShA5dD4KUs3HGzgoP7/G5RpPVlGXrm3rAM2PrcBL2/28odaA4jBGWufwT7G9lcBHT+2WjO2gO1U8WJWqQjH1h0MovcbuW7nAz6NDikCBaZ+bvWvw3p7X1JkVitB5SDJDz6QwkVUi/Y1s5OhQCqf5/g4A7Snc+dSJr3kR8wjpqUaS2Nkd5y0rUcDEQp72QKEfLA+MM/yXUYGxgwy7LxAQUzaKRkxpPiFCn0enHjkj/AaFjWxZtmI80l22xTh2mILnd7LPdNxGbH4nWAA1B4b2nP9kQcztRW1FxtJS8LR05Ym4V4Pp1yl+Un54NScswqjNrLxMIs+kEqdbHCoIPleyAqVt6ZL0dOH7NbHPBYN4B26osNP7ya+wE6HBAn1G1tCL6Cf0eJJucE5a2Kox5ucQTRmM/cOOIG/FToIX6YG22ATutGEX9GUYDUHQ9Ns5PiC9naREV+K/TzUOikfCAKGCk43qIXEN2NfYMSMDaRe3DAgzJX34f0BG4kJzHCy4KjM6ShzijpZELFI4UGugTzza74M9U+nBWFWgFHzQAiQQeu/MMhIMAsvZsO4Ae8j/220sOpvq3djVQvfQAfmwWrG7eZPjQi8w3EohvlwsCp4vkRHqOYiXTx7pgBJCKMmnZ0UfCdjFqStpVSNppyBuZrGb9JCd+DTfAE9W1AZ2152fn292MPjvZQ==";e.accessKey&&function(){var t;if("string"==typeof w)if(e.token||e.secretKey)w={};else try{t=["b2f75b3a","anvrocks"].join("~"),t=r.a.md5(t).slice(-16),w=r.a.aesStdDecrypt("ecb",w,t,"base64"),w=JSON.parse(w)}catch(e){console.error("Error decrypting/parsing the ACCESS_KEY_MAP",e,e.message),w={}}}();var S,A,E,_,k={},x={},M={},T=t?t.getLogFn("TVEAPI"):function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[!TVEAPI!]\t"].concat(n))},C={},O="{{UPID}}",R="{{MCP_EVENT_ID}}",N="{{ANVACK}}",I="{{VIDEO_ID}}",D="{{KEYREF}}",P=0,F=null,L=!1;function j(e){var t=(new Date).getTime()+P,n=t.toString()+"~"+r.a.md5(e)+"~",i=r.a.md5(t.toString()),o=Math.max(64-n.length,0);return n+=i=i.slice(0,o),n=r.a.aesStdEncrypt("ecb",n,"31c242849e73a0ce","base64")}function B(e,t,n){if(T("@getConfig",e),k.getConfigError=n,k.getConfigSuccess=t,S=e,a!=i.length&&e){var s=o?o.replace(N,S):i[a].replace(N,S);T("selected url:",s);try{r.a.download(s,null,q,K)}catch(e){T("Error while downloading config:",e.message)}}else q(null)}function U(e,t,n){T("@getConfigV4"),k.getConfigError=n||k.getConfigError,k.getConfigSuccess=t||k.getConfigSuccess,S=S||e;var i="https://tkx2-stage.anvato.net/rest/v2/access/appcfg?anvack="+e;try{r.a.download(i,null,z,H)}catch(e){T("Error while downloading config:",e.message)}}function z(e){var n;T("@onGetConfigV4Success",e);try{e="string"==typeof e?JSON.parse(e):e}catch(t){e="string"==typeof e?{}:e,console.error("JSON.parse error. "+t+"\n Value is set to {}.")}var i=e.server_time;if(e.encrypted){n=r.a.md5(w[S]).slice(0,16),T("@onGetConfigV4Success key:",n),e=r.a.aesStdDecrypt("ecb",e.appcfg,n,"base64");try{e="string"==typeof e?JSON.parse(e):e}catch(t){e="string"==typeof e?{}:e,console.error("JSON.parse error. "+t+"\n Value is set to {}.")}}i&&(e.server_time=i,A=!0,P=1e3*e.server_time-(new Date).getTime(),T("@onGetConfigV4Success server time:",e.server_time)),T("@onGetConfigV4Success",t.stringify(e,null,3)),e=f.convertToV3(e),T("@onGetConfigV4Success translated",JSON.stringify(e,null,3)),q(e)}function H(e){T("error:",e),U()}function q(e){T("@onGetConfigSuccess"),a=0,i=r.a.deepCopy(s),0,T(e),T(s);try{e="string"==typeof e?JSON.parse(e):e}catch(t){e="string"==typeof e?{}:e,console.error("JSON.parse error. "+t+"\n Value is set to {}.")}for(var t in e&&e.api&&(C[S]={},e.api.event_metadata_by_mcpeventid&&(C[S].eventId=e.api.event_metadata_by_mcpeventid),e.api.event_metadata_by_upid&&(C[S].upid=e.api.event_metadata_by_upid),e.api.video_metadata_by_mcpvideoid&&(C[S].videoMetadata=e.api.video_metadata_by_mcpvideoid),e.api.tve&&(C[S].tve=e.api.tve),e.api.time&&(C[S].time=e.api.time),e.api.schedule&&(C[S].schedule=e.api.schedule),e.api.video&&(C[S].video=e.api.video),e.api.seckey&&(C[S].decryptionKey=e.api.seckey),e.api.tpi&&(C[S].tpi=e.api.tpi)),C[S])C[S].hasOwnProperty(t)&&C[S][t]&&/^\/\//.test(C[S][t])&&(C[S][t]=C[S][t].replace(/^\/\//i,r.a.isSecureSocket()?"https://":"http://"));A||!S?(k.getConfigSuccess&&(k.getConfigSuccess(e),delete k.getConfigSuccess),x.getConfig&&x.getConfig.apply(null,M.getConfig)):(E=k.getConfigSuccess,_=[e],re(S))}function V(t,n){var i;return C&&C[t]&&C[t][n]?(i=["w",e.revision,r.a.md5(Date.now().toString()).slice(-24)].join(""),r.a.updateURLParam(C[t][n],"anvtrid",i,!0)):null}function K(e,t){T(o),a++,B(S,k.getConfigSuccess,k.getConfigError)}function W(e){k.getTpiSuccess&&k.getTpiSuccess(e)}function Y(e,t){k.getTpiError&&k.getTpiError(e)}function G(e){var t;T("metadata",e);try{e=JSON.parse(e)}catch(t){e={},console.error("JSON.parse error. "+t+"\n Value is set to {}.")}e.server_time&&(oe(e.server_time),T("timeDelta:",P)),e.exception?(t=e.exception.user_msg,k.getMetadataError&&k.getMetadataError(t)):k.getMetadataSuccess&&k.getMetadataSuccess(e)}function J(e,t){T("ERROR @getMetadata",e),k.getMetadataError&&k.getMetadataError(e)}function Z(e){var t;T("metadata",e);try{e=JSON.parse(e)}catch(t){e={},console.error("JSON.parse error. "+t+"\n Value is set to {}.")}e.server_time&&(oe(e.server_time),T("timeDelta:",P)),e.exception?(t=e.exception.user_msg,k.getVideoMetadataError&&k.getVideoMetadataError(t)):k.getVideoMetadataSuccess&&k.getVideoMetadataSuccess(e)}function X(e){T("ERROR @getMetadata",e),k.getVideoMetadataError&&k.getVideoMetadataError(e)}function Q(e,t,n){var i;if(w[e])return i=[e,t,n,w[e]].join("|"),r.a.md5(i)}function $(){return r.a.md5(String((new Date).getTime()*Math.random())).slice(0,30)}function ee(e){var t,n,r={};for(var i in e)e.hasOwnProperty(i)&&(t=e[i].name,n=e[i].value,r[t]=n);return r}function te(e){if(T("onScheduleSuccess"),e){try{e=JSON.parse(e)}catch(t){e={},console.error("JSON.parse error. "+t+"\n Value is set to {}.")}(e=function(e){var t;for(var n in e)if("object"==u(e[n])&&"length"in e[n])for(var i=0,o=e[n].length;i<o;i++)(t=e[n][i]).custom_metadata_map=r.a.deepCopy(ee(t.custom_metadata)),delete t.custom_metadata;else(t=e[n]).custom_metadata_map=r.a.deepCopy(ee(t.custom_metadata)),delete t.custom_metadata;return e}(e=e.schedule)).server_time&&(oe(e.server_time),T("timeDelta:",P)),k.getScheduleSuccess&&k.getScheduleSuccess(e)}else ne("Schedule service returned an empty response")}function ne(e,t){k.getScheduleError&&k.getScheduleError(e)}function re(e,t,n){var i=V(e,b).replace(N,e);Q(e,null,null),r.a.download(i,null,ie,ae),k.getTimeSuccess=t,k.getTimeError=n}function ie(e){A=!0;try{e=JSON.parse(e)}catch(t){e={},console.error("JSON.parse error. "+t+"\n Value is set to {}.")}P=1e3*e.server_time-(new Date).getTime(),T("server time:",e.server_time),T("time delta:",P),k.getTimeSuccess&&k.getTimeSuccess(1e3*e.server_time,P),E&&(E.apply(null,Array.prototype.slice.call(_)),E=null)}function oe(e){P=1e3*e-(new Date).getTime()}function ae(e){k.getTimeError&&k.getTimeError(e),A=!0,P=0,E&&(E.apply(null,Array.prototype.slice.call(_)),E=null)}function se(e){try{e=JSON.parse(e)}catch(t){e={},console.error("JSON.parse error. "+t+"\n Value is set to {}.")}k.getLogosSuccess&&k.getLogosSuccess(e)}function ce(e){k.getLogosError&&k.getLogosError(e)}function le(t,n,i,o){var a,s,c,l="_vpng=",f=/_vpng=[0-9]/,u=r.a.getDcsApiPattern(),d=!("clientSideAdTracking"in e)||e.clientSideAdTracking;n=(n=n.replace(/anvatoVideoJSONLoaded *\( */,"")).replace(/\} *\)/,"}");try{n=JSON.parse(n)}catch(e){if("string"==typeof i&&(i=function(e){for(var t,n={},r=e.split("\n"),i=0,o=r.length;i<o;i++)2==(t=r[i].split(":")).length&&(n[t[0].trim().toLowerCase()]=t[1].trim().toLowerCase());return n}(i)),!(n=function(e,t,n){T("@generateVideoJsonFromContentType",t,n);var r={"application/x-mpegurl":"m3u8-variant","application/dash+xml":"dash"};return n in r?{upload_id:e.videoId,def_title:"",published_urls:[{format:r[n],embed_url:t}]}:null}(t,o.responseUrl||o.url,i["content-type"])))return void console.error("Failed to parse videoJSON.");console.warn("Found a manifest while expecting a videoJSON. \nProceeding with the videoJSON generated from this manifest URL...")}var h="2"==n.video_type;if(l+=d?h?"{{NEED_SERVER_SIDE_AD_TRACKING}}":0:1,n.published_urls&&n.published_urls.length){n.resolvedUrls={};for(var p=0,b=n.published_urls.length;p<b;p++)if(a={},"format"in n.published_urls[p]&&"embed_url"in n.published_urls[p]&&n.published_urls[p].format in{"m3u8-variant":1,dash:1}){for(var m in a.primary=n.published_urls[p].embed_url,a.backup=n.published_urls[p].backup_url,a)a.hasOwnProperty(m)&&u.test(a[m])&&"string"==typeof a[m]&&(s=a[m].indexOf("?")>-1?"&":"?",f.test(a[m])?a[m]=a[m].replace(f,l):a[m]+=s+l);T("for",n.published_urls[p].format,"pushing",a),n.published_urls[p].embed_url=a.primary,n.published_urls[p].backup_url=a.backup,n.resolvedUrls[r.a.md5(n.published_urls[p].embed_url)]=a,n.published_urls[p].replaced=!1,n.published_urls[p].anvrid=t.anvrid}}else n.exception=n.exception||{cause:{dev_msg:"Failed to retrieve the video publish URLs."},code:99,type:"exception",user_msg:"Failed to retrieve publish URLs."};if(n.exception)de(n.exception);else if(k.getVideoJSONSuccess)if(n.atvm)for(var v in T("@onGetVideoJSONSuccess resolved",JSON.stringify(n.resolvedUrls,null,3)),n.resolvedUrls){n.resolvedUrls.hasOwnProperty(v)&&(c=n.resolvedUrls[v].primary,T("@onGetVideoJSONSuccess detected atvm entry, entering atvm flow for",c),T("@onGetVideoJSONSuccess request ad break info",c),r.a.download(c,null,fe.bind(null,n,v),ue.bind(null,n)));break}else k.getVideoJSONSuccess(n)}function fe(e,t,n){var i=!0;T("@onAdBreakInfo",t);try{n=JSON.parse(n)}catch(t){return void ue(e,"Malformed ad break info; resuming without ad presentation")}if(n&&"master_m3u8"in n){n.interstitials=n.interstitials||{cues:[]};for(var o=0,a=e.published_urls.length;o<a;o++)(e.published_urls[o].format.indexOf("m3u8")>-1||e.published_urls[o].format.indexOf("dash")>-1)&&(t==r.a.md5(e.published_urls[o].embed_url)&&(T("@onAdBreakInfo replacing",e.published_urls[o].embed_url,"with",n.master_m3u8),e.published_urls[o].embed_url=n.master_m3u8,e.published_urls[o].adBreakInfo=n,e.published_urls[o].replaced=!0),"replaced"in e.published_urls[o]&&!1===e.published_urls[o].replaced&&(i=!1))}else e.exception={cause:{dev_msg:"Failed to retrieve the video publish URLs."},code:99,type:"exception",user_msg:"Failed to retrieve publish URLs."};(i||e.published_urls[0].replaced)&&(e.exception?de(e.exception):k.getVideoJSONSuccess&&k.getVideoJSONSuccess(e,n))}function ue(e,t){console.error(t||"Error while getting ad info, resuming without ad presentation"),k.getVideoJSONSuccess&&k.getVideoJSONSuccess(e)}function de(e,t){var n;"string"==typeof t&&0==t.indexOf("anvatoVideoJSONLoaded")&&(t=(t=t.replace(/anvatoVideoJSONLoaded *\( */,"")).replace(/\} *\)/,"}"));try{n=JSON.parse(t)}catch(e){T("@onGetVideoJSONError Error parsing responseText")}k.getVideoJSONError&&k.getVideoJSONError(n&&n.exception?n.exception:e)}function he(e){var t={current:{},next:{}};try{e=JSON.parse(e)}catch(t){e={},console.error("JSON.parse error. "+t+"\n Value is set to {}.")}e.user&&(t.tveAuthorized=e.user["tve-authorized"],t.notAuthorizedCode=e.user.not_authorized_code,t.notAuthorizedReason=e.user.not_authorized_reason,e.user["home-station"]&&(t.hasHomeStationRights=e.user["home-station"].has_tve_rights),e.user["geo-station"]&&(t.hasGeoStationRights=e.user["geo-station"].has_tve_rights)),e.station&&(t.callsign=e.station.callsign,e.station.current_event&&e.station.current_event.title&&e.station.current_event.event_id&&(t.current.title=e.station.current_event.title,t.current.id=e.station.current_event.event_id),e.station.next_event&&e.station.next_event.title&&e.station.next_event.event_id&&(t.next.title=e.station.next_event.title,t.next.id=e.station.next_event.event_id)),e.server_time&&(oe(e.server_time),T("timeDelta:",P)),T("@onTVECheckSuccess:",t),k.tveCheckSuccess&&k.tveCheckSuccess(t)}function pe(e,t){T("@onTVECheckError:",e),k.tveCheckError&&k.tveCheckError(e)}function be(e,t,n){T("@generatePostObject static:",JSON.stringify(t,null,3)),T("@generatePostObject dynamic:",JSON.stringify(n,null,3));var i=$(),o=(new Date).getTime()+P,a=function(e,t){var n={};e&&e.plugins&&e.plugins.freewheel&&e.plugins.freewheel.serverSide&&(n=r.a.deepCopy(e.plugins.freewheel.serverSide));e&&e.plugins&&e.plugins.dfp&&e.plugins.dfp.serverSide&&t.adKeyValues&&(e.plugins.dfp.serverSide=r.a.merge(e.plugins.dfp.serverSide,t.adKeyValues));return t=t||{},function(e,t){t.video_asset_id=t.videoAssetId||e.caid,t.site_section_id=t.siteSectionId||e.csid,t.network_id=t.networkId||e.fwNetwork,t.profile_id=t.profileId||e.fwProf,t.server_url=t.serverUrl||t.serverURL||e.fwServerUrl,t.event_type=t.eventType||e.fwEventType,t.companion=t.companion||e.fwCompanion,t.mvpd=t.mvpd||e.mvpd,delete t.videoAssetId,delete t.siteSectionId,delete t.networkId,delete t.profileId,delete t.serverUrl,delete t.eventType}(e=e||{},n),{ads:{freewheel:n,dfp:e&&e.plugins&&e.plugins.dfp&&e.plugins.dfp.serverSide?e.plugins.dfp.serverSide:void 0},content:{mcp_video_id:e.video,mpx_guid:e.mpx?e.video:"",video_type:e.xUrl?e.live?"2":"1":void 0,xurl:e.xUrl,xurlAdTag:e.xUrlAdTag,video_format:e.xUrl?"hls":void 0,def_title:e.title,extarnal_id:e.xUrl?"123456":void 0},user:{glg:"",glt:"",gst:"",gzip:e.geozip||t.geoZip||(e.user?e.user.geoZip:""),hst:"",hzip:(e.user?e.user.homeZip:"")||t.homeZip,ehzip:(e.user?e.user.encryptedHomeZip:"")||t.encryptedZip,device:r.a.getDeviceInfo.ott?"ftv":"web",device_id:e.deviceId,sdkver:[e.version,e.built,e.revision].join("."),sdkenv:e.desktop?"desktop":"html5",host:e.host,referrer:e.referrer,adobepass:e.accessControl&&"alternate"==e.accessControl.authenticator?{}:{mvpd:t.provider||(e.accessControl?e.accessControl.mvpd:void 0),max_rating:t.maxRating,requestor:t.requestor,resource:t.resource,short_token:e.accessControl&&e.accessControl.token?e.accessControl.token:t.token?decodeURIComponent(t.token):void 0,environment:e.accessControl?e.accessControl.environment:void 0,server_url:e.accessControl?e.accessControl.serverUrl:void 0},mvpd_authorization:e.accessControl&&"alternate"==e.accessControl.authenticator?{mvpd:e.accessControl?e.accessControl.mvpd:void 0,token:e.accessControl?e.accessControl.token:void 0,max_rating:e.user?e.user.maxRating:void 0}:{},mvpd:t.provider||(e.accessControl?e.accessControl.mvpd:e.user?e.user.mvpd:void 0)}}}(t,n),s=Math.round(o/1e3);return(a=a||{}).api={anvrid:i,anvstk:Q(e,i,s),anvts:s},(t.token||n.tkxToken)&&(delete a.api.anvstk,a.api.anvstk2=n.tkxToken||t.token),a}function me(e){k.getDecryptionKeySuccess&&k.getDecryptionKeySuccess(e)}function ve(){T("@onUpdateAdSessionSuccess")}function ge(){T("@onUpdateAdSessionError")}return e&&e.accessKey&&e.secretKey&&!w[e.accessKey]&&(w[e.accessKey]=e.secretKey),T("TVE API initialized"),{getConfig:B,getConfigV4:U,getRandomConfigURL:function(){var e=Math.floor(10*Math.random())%i.length;return o||i[e]},getMetadata:function(e,t,n,i,o){var a,s,c;if(k.getMetadataSuccess=i,k.getMetadataError=o,n?(a=V(e,l),s=O,c=n):(a=V(e,d),s=R,c=t),T(a,s,c),a){var f=a.replace(s,c);f=f.replace(N,e),T(">> URL:",f),r.a.sendPostRequest(f,null,G,J)}else console.warn("Metadata lookup service URL is not available.")},getVideoMetadata:function(e,t,n,i){k.getVideoMetadataSuccess=n,k.getVideoMetadataError=i;var o=V(e,h),a=I;if(!o)throw new Error("No templateURL to generate metadata lookup URL.");var s=o.replace(a,t);s=s.replace(N,e),T(">> URL:",s),r.a.download(s,null,Z,X)},md5:function(e){return r.a.md5(e)},generateSecurityToken:Q,generatePostObject:be,getSchedule:function(e,t,n,i,o){var a=be(e,t,n);a=JSON.stringify(a);var s=V(e,p);s&&s.length?(s=(s=s.replace(I,t.video)).replace(N,e),T("scheduleURL:",s),k.getScheduleSuccess=i,k.getScheduleError=o,r.a.sendPostRequest(s,a,te,ne)):ne("No schedule service")},tveCheck:function(e,t,n,i,o){var a=be(e,t,n);a=JSON.stringify(a);var s=V(e,v)+"&"+r.a.encodeURLParams({schedule:!1});s=s.replace(N,e),k.tveCheckSuccess=i,k.tveCheckError=o,r.a.sendPostRequest(s,a,he,pe)},getVideoJSON:function e(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var o,a,s,c,l,f,u=n[0],d=n[1],h=n[2],p=n[3],b=n[4],v={};if("function"==typeof F&&!L)return x.onPreVideoJsonTaskCompleted=e,M.onPreVideoJsonTaskCompleted=n,void F();if(delete x.getConfig,d&&d.accessKey&&d.secretKey&&!w[d.accessKey]&&(w[d.accessKey]=d.secretKey),o=be(u,d,h),k.getVideoJSONSuccess=p,k.getVideoJSONError=b,o&&o.api&&(o.api.anvstk||o.api.anvstk2))if(C[u]){if(l=o.api.anvrid,o=JSON.stringify(o),s="adBreakDetail"in d&&d.adBreakDetail||!("adBreakDetail"in d)?"fp":"plan",d.video||d.xUrl){var g=(f=V(u,m)).startsWith("http:")?"https:"+f.substring(5):f;g=(g=d.xUrl?g.replace(I,"xurl"):g.replace(I,d.video)).replace(N,u),T("videoURL:",g),a=j(g),c=g.indexOf("?")>-1?"&":"?",v.rtyp=s,v["X-Anvato-Adst-Auth"]=a,d.debug&&(v.anvsrt="375231e94afeb649223f2e67e05fba3d"),g+=c+r.a.encodeURLParams(v,!1),d.rstv&&(d.rstv.event?(c=g.indexOf("?")>-1?"&":"?",g+=c+"rstv_event="+d.rstv.event):d.rstv.dvr&&(c=g.indexOf("?")>-1?"&":"?",g+=c+"rstv_drv="+d.rstv.dvr)),null!==localStorage.getItem(d.video)?le({anvrid:l,videoId:d.video},localStorage.getItem(d.video),"content-type: application/x-javascript",{videoURL:g}):r.a.sendPostRequest(g,o,le.bind(null,{anvrid:l,videoId:d.video}),de)}}else x.getConfig=e,M.getConfig=n,B(u,null,null);else de({cause:{dev_msg:"Failed to generate security token"},code:99,sdkErrorCode:"ACTRL070",type:"exception",user_msg:"Failed to generate security token"})},getTime:re,getTimeDelta:function(){return P},getLogos:function(e,t,n){k.getLogosSuccess=t,k.getLogosError=n,e.station.logo_url?r.a.download(e.station.logo_url,null,se,ce):ce("There is no logo url in schedule JSON")},getDecryptionKey:function(e,t,n,i){var o;k.getDecryptionKeySuccess=n,k.getDecryptionKeyError=i,S=S||e;var a=V(e,g);a&&(o=(o=a.replace(N,S)).replace(D,encodeURIComponent(t)),r.a.download(o,null,me,(function(e){!function(e,t){k.getDecryptionKeyError&&k.getDecryptionKeyError(e,t)}(t,e)})))},getTpiToken:function(e,n,i,o){T("@getTpiToken",e);var a=V(e,c),s=be(e),l=r.a.deepCopy(n);T("@getTpiToken",t.stringify(s,null,3)),l.api=s.api,k.getTpiSuccess=i,k.getTpiError=o;var f=a.replace(N,e);r.a.sendPostRequest(f,JSON.stringify(l),W,Y)},getVerificationObject:function(e,t){T("@generateVerificationObject",e);var n=$(),r=(new Date).getTime()+P,i=Math.round(r/1e3),o={};return o.api={anvrid:n,anvstk:Q(e,n,i),anvts:i},o.user={anvkey:e,secret:w[e]},t&&(delete o.api.anvstk,delete o.user.secret,o.api.anvstk2=t),o},registerPreVideoJsonTask:function(e){F=e,L=!1},onPreVideoJsonTaskCompleted:function(){L=!0,"function"==typeof x.onPreVideoJsonTaskCompleted&&(x.onPreVideoJsonTaskCompleted.apply(null,M.onPreVideoJsonTaskCompleted),delete x.onPreVideoJsonTaskCompleted,delete M.onPreVideoJsonTaskCompleted),L=!1},registerAdSessionUpdateUrl:function(e){C[y]=e},updateAdSession:function(e){var t=C[y];t?r.a.sendPostRequest(t,JSON.stringify(e),ve,ge):console.warn("Remote config (anvack) does not have a service for updating the ad session.")}}}},function(e,t,n){"use strict";var r=n(38),i=n(48),o=n(9),a=n(77),s=n(54),c=Math.min,l=[].lastIndexOf,f=!!l&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),d=s("indexOf",{ACCESSORS:!0,1:0}),h=f||!u||!d;e.exports=h?function(e){if(f)return l.apply(this,arguments)||0;var t=r(this),n=o(t.length),a=n-1;for(arguments.length>1&&(a=c(a,i(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:l},function(e,t,n){"use strict";var r=n(16),i=n(3),o=n(91),a=n(116),s=n(111),c=n(26),l=n(73),f=Object.assign,u=Object.defineProperty;e.exports=!f||i((function(){if(r&&1!==f({b:1},f(u({},"a",{enumerable:!0,get:function(){u(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=f({},e)[n]||"abcdefghijklmnopqrst"!=o(f({},t)).join("")}))?function(e,t){for(var n=c(e),i=arguments.length,f=1,u=a.f,d=s.f;i>f;)for(var h,p=l(arguments[f++]),b=u?o(p).concat(u(p)):o(p),m=b.length,v=0;m>v;)h=b[v++],r&&!d.call(p,h)||(n[h]=p[h]);return n}:f},,function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(3),i=n(206);e.exports=function(e){return r((function(){return!!i[e]()||"​…᠎"!="​…᠎"[e]()||i[e].name!==e}))}},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,c=1,l={},f=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){p(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?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},r=function(e){o.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,r=function(e){var t=u.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(p,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&p(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),d.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 i={callback:e,args:t};return l[c]=i,r(c),c++},d.clearImmediate=h}function h(e){delete l[e]}function p(e){if(f)setTimeout(p,0,e);else{var t=l[e];if(t){f=!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{h(e),f=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(32),n(30))},function(e,t,n){var r=n(222),i=n(301);n(223);function o(e){return null==e}function a(e){(e=function(e){var t={};for(var n in e)t[n]=e[n];return t}(e||{})).whiteList=e.whiteList||r.whiteList,e.onAttr=e.onAttr||r.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||r.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||r.safeAttrValue,this.options=e}a.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,n=t.whiteList,r=t.onAttr,a=t.onIgnoreAttr,s=t.safeAttrValue;return i(e,(function(e,t,i,c,l){var f=n[i],u=!1;if(!0===f?u=f:"function"==typeof f?u=f(c):f instanceof RegExp&&(u=f.test(c)),!0!==u&&(u=!1),c=s(i,c)){var d,h={position:t,sourcePosition:e,source:l,isWhite:u};return u?o(d=r(i,c,h))?i+":"+c:d:o(d=a(i,c,h))?void 0:d}}))},e.exports=a},function(e,t,n){var r=n(223);e.exports=function(e,t){";"!==(e=r.trimRight(e))[e.length-1]&&(e+=";");var n=e.length,i=!1,o=0,a=0,s="";function c(){if(!i){var n=r.trim(e.slice(o,a)),c=n.indexOf(":");if(-1!==c){var l=r.trim(n.slice(0,c)),f=r.trim(n.slice(c+1));if(l){var u=t(o,s.length,l,f,n);u&&(s+=u+"; ")}}}o=a+1}for(;a<n;a++){var l=e[a];if("/"===l&&"*"===e[a+1]){var f=e.indexOf("*/",a+2);if(-1===f)break;o=(a=f+1)+1,i=!1}else"("===l?i=!0:")"===l?i=!1:";"===l?i||c():"\n"===l&&c()}return r.trim(s)}},function(e,t,n){var r=n(151).FilterCSS,i=n(221),o=n(224),a=o.parseTag,s=o.parseAttr,c=n(152);function l(e){return null==e}function f(e){(e=function(e){var t={};for(var n in e)t[n]=e[n];return t}(e||{})).stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=i.onIgnoreTagStripAll),e.whiteList=e.whiteList||i.whiteList,e.onTag=e.onTag||i.onTag,e.onTagAttr=e.onTagAttr||i.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||i.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||i.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||i.safeAttrValue,e.escapeHtml=e.escapeHtml||i.escapeHtml,this.options=e,!1===e.css?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new r(e.css))}f.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,n=t.whiteList,r=t.onTag,o=t.onIgnoreTag,f=t.onTagAttr,u=t.onIgnoreTagAttr,d=t.safeAttrValue,h=t.escapeHtml,p=this.cssFilter;t.stripBlankChar&&(e=i.stripBlankChar(e)),t.allowCommentTag||(e=i.stripCommentTag(e));var b=!1;if(t.stripIgnoreTagBody){b=i.StripTagBody(t.stripIgnoreTagBody,o);o=b.onIgnoreTag}var m=a(e,(function(e,t,i,a,b){var m,v={sourcePosition:e,position:t,isClosing:b,isWhite:n.hasOwnProperty(i)};if(!l(m=r(i,a,v)))return m;if(v.isWhite){if(v.isClosing)return"</"+i+">";var g=function(e){var t=c.spaceIndex(e);if(-1===t)return{html:"",closing:"/"===e[e.length-2]};var n="/"===(e=c.trim(e.slice(t+1,-1)))[e.length-1];return n&&(e=c.trim(e.slice(0,-1))),{html:e,closing:n}}(a),y=n[i],w=s(g.html,(function(e,t){var n,r=-1!==c.indexOf(y,e);return l(n=f(i,e,t,r))?r?(t=d(i,e,t,p))?e+'="'+t+'"':e:l(n=u(i,e,t,r))?void 0:n:n}));a="<"+i;return w&&(a+=" "+w),g.closing&&(a+=" /"),a+=">"}return l(m=o(i,a,v))?h(a):m}),h);return b&&(m=b.remove(m)),m},e.exports=f},function(e,t,n){var r=n(12),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),f=0,u=s>0?a-4:a;for(n=0;n<u;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[f++]=t>>16&255,c[f++]=t>>8&255,c[f++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[f++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[f++]=t>>8&255,c[f++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(f(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=a.length;s<c;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function f(e,t,n){for(var i,o,a=[],s=t;s<n;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,c=(1<<s)-1,l=c>>1,f=-7,u=n?i-1:0,d=n?-1:1,h=e[t+u];for(u+=d,o=h&(1<<-f)-1,h>>=-f,f+=s;f>0;o=256*o+e[t+u],u+=d,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=r;f>0;a=256*a+e[t+u],u+=d,f-=8);if(0===o)o=1-l;else{if(o===c)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,c,l=8*o-i-1,f=(1<<l)-1,u=f>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=f):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+u>=1?d/c:d*Math.pow(2,1-u))*c>=2&&(a++,c/=2),a+u>=f?(s=0,a=f):a+u>=1?(s=(t*c-1)*Math.pow(2,i),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*b}},function(e,t,n){(t=e.exports=n(227)).Stream=t,t.Readable=t,t.Writable=n(231),t.Duplex=n(86),t.Transform=n(233),t.PassThrough=n(312),t.finished=n(153),t.pipeline=n(313)},function(e,t){},function(e,t,n){"use strict";function r(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 i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(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=n(12).Buffer,s=n(309).inspect,c=s&&s.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,n,l;return t=e,(n=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return a.alloc(0);for(var t,n,r,i=a.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,a.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=a.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return s(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}])&&o(t.prototype,n),l&&o(t,l),e}()},function(e,t){},function(e,t,n){"use strict";(function(t){var r;function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(153),a=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),f=Symbol("lastPromise"),u=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[a];if(null!==t){var n=e[d].read();null!==n&&(e[f]=null,e[a]=null,e[s]=null,t(h(n,!1)))}}function b(e){t.nextTick(p,e)}var m=Object.getPrototypeOf((function(){})),v=Object.setPrototypeOf((i(r={get stream(){return this[d]},next:function(){var e=this,n=this[c];if(null!==n)return Promise.reject(n);if(this[l])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise((function(n,r){t.nextTick((function(){e[c]?r(e[c]):n(h(void 0,!0))}))}));var r,i=this[f];if(i)r=new Promise(function(e,t){return function(n,r){e.then((function(){t[l]?n(h(void 0,!0)):t[u](n,r)}),r)}}(i,this));else{var o=this[d].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[u])}return this[f]=r,r}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),m);e.exports=function(e){var t,n=Object.create(v,(i(t={},d,{value:e,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,u,{value:function(e,t){var r=n[d].read();r?(n[f]=null,n[a]=null,n[s]=null,e(h(r,!1))):(n[a]=e,n[s]=t)},writable:!0}),t));return n[f]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[s];return null!==t&&(n[f]=null,n[a]=null,n[s]=null,t(e)),void(n[c]=e)}var r=n[a];null!==r&&(n[f]=null,n[a]=null,n[s]=null,r(h(void 0,!0))),n[l]=!0})),e.on("readable",b.bind(null,n)),n}}).call(this,n(30))},function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(e,t,n){"use strict";e.exports=i;var r=n(233);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(85)(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){"use strict";var r;var i=n(84).codes,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function c(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",(function(){s=!0})),void 0===r&&(r=n(153)),r(e,{readable:t,writable:i},(function(e){if(e)return o(e);s=!0,o()}));var c=!1;return function(t){if(!s&&!c)return c=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}function l(e){e()}function f(e,t){return e.pipe(t)}function u(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}e.exports=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=u(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var a=t.map((function(e,n){var o=n<t.length-1;return c(e,o,n>0,(function(e){r||(r=e),e&&a.forEach(l),o||(a.forEach(l),i(r))}))}));return t.reduce(f)}},function(e,t,n){var r=n(12),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t){var n=Math.abs,r=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;e.exports={pack:function(e,t,s){var c,l,f,u=new Array(s),d=8*s-t-1,h=(1<<d)-1,p=h>>1,b=23===t?r(2,-24)-r(2,-77):0,m=e<0||0===e&&1/e<0?1:0,v=0;for((e=n(e))!=e||e===1/0?(l=e!=e?1:0,c=h):(c=i(o(e)/a),e*(f=r(2,-c))<1&&(c--,f*=2),(e+=c+p>=1?b/f:b*r(2,1-p))*f>=2&&(c++,f/=2),c+p>=h?(l=0,c=h):c+p>=1?(l=(e*f-1)*r(2,t),c+=p):(l=e*r(2,p-1)*r(2,t),c=0));t>=8;u[v++]=255&l,l/=256,t-=8);for(c=c<<t|l,d+=t;d>0;u[v++]=255&c,c/=256,d-=8);return u[--v]|=128*m,u},unpack:function(e,t){var n,i=e.length,o=8*i-t-1,a=(1<<o)-1,s=a>>1,c=o-7,l=i-1,f=e[l--],u=127&f;for(f>>=7;c>0;u=256*u+e[l],l--,c-=8);for(n=u&(1<<-c)-1,u>>=-c,c+=t;c>0;n=256*n+e[l],l--,c-=8);if(0===u)u=1-s;else{if(u===a)return n?NaN:f?-1/0:1/0;n+=r(2,t),u-=s}return(f?-1:1)*n*r(2,u-t)}}},function(e,t,n){var r=n(2),i=n(3),o=n(113),a=n(8).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||i((function(){return 1!==new c(new s(2),1,void 0).length}))},function(e,t,n){var r=n(48);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){var r=n(26),i=n(9),o=n(82),a=n(122),s=n(40),c=n(8).aTypedArrayConstructor;e.exports=function(e){var t,n,l,f,u,d,h=r(e),p=arguments.length,b=p>1?arguments[1]:void 0,m=void 0!==b,v=o(h);if(null!=v&&!a(v))for(d=(u=v.call(h)).next,h=[];!(f=d.call(u)).done;)h.push(f.value);for(m&&p>2&&(b=s(b,arguments[2],2)),n=i(h.length),l=new(c(this))(n),t=0;n>t;t++)l[t]=m?b(h[t],t):h[t];return l}},function(e,t,n){"use strict";var r=n(26),i=n(64),o=n(9),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n.length),c=i(e,s),l=i(t,s),f=arguments.length>2?arguments[2]:void 0,u=a((void 0===f?s:i(f,s))-l,s-c),d=1;for(l<c&&c<l+u&&(d=-1,l+=u-1,c+=u-1);u-- >0;)l in n?n[c]=n[l]:delete n[c],c+=d,l+=d;return n}},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,c=function(e){return e+22+75*(e<26)},l=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},f=function(e){var t,n,r=[],i=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&i)<<10)+(1023&o)+65536):(t.push(i),n--)}else t.push(i)}return t}(e)).length,f=128,u=0,d=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var h=r.length,p=h;for(h&&r.push("-");p<i;){var b=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=f&&n<b&&(b=n);var m=p+1;if(b-f>a((2147483647-u)/m))throw RangeError(o);for(u+=(b-f)*m,f=b,t=0;t<e.length;t++){if((n=e[t])<f&&++u>2147483647)throw RangeError(o);if(n==f){for(var v=u,g=36;;g+=36){var y=g<=d?1:g>=d+26?26:g-d;if(v<y)break;var w=v-y,S=36-y;r.push(s(c(y+w%S))),v=a(w/S)}r.push(s(c(v))),d=l(u,m,p==h),u=0,++p}}++u,++f}return r.join("")};e.exports=function(e){var t,n,o=[],a=e.toLowerCase().replace(i,".").split(".");for(t=0;t<a.length;t++)n=a[t],o.push(r.test(n)?"xn--"+f(n):n);return o.join(".")}},function(e,t,n){"use strict";n(14);var r=n(1),i=n(36),o=n(242),a=n(27),s=n(121),c=n(57),l=n(203),f=n(42),u=n(72),d=n(13),h=n(40),p=n(71),b=n(5),m=n(10),v=n(62),g=n(56),y=n(234),w=n(82),S=n(6),A=i("fetch"),E=i("Headers"),_=S("iterator"),k=f.set,x=f.getterFor("URLSearchParams"),M=f.getterFor("URLSearchParamsIterator"),T=/\+/g,C=Array(4),O=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},R=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(T," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(O(n--),R);return t}},I=/[!'()~]|%20/g,D={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},P=function(e){return D[e]},F=function(e){return encodeURIComponent(e).replace(I,P)},L=function(e,t){if(t)for(var n,r,i=t.split("&"),o=0;o<i.length;)(n=i[o++]).length&&(r=n.split("="),e.push({key:N(r.shift()),value:N(r.join("="))}))},j=function(e){this.entries.length=0,L(this.entries,e)},B=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=l((function(e,t){k(this,{type:"URLSearchParamsIterator",iterator:y(x(e).entries),kind:t})}),"Iterator",(function(){var e=M(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),z=function(){u(this,z,"URLSearchParams");var e,t,n,r,i,o,a,s,c,l=arguments.length>0?arguments[0]:void 0,f=this,h=[];if(k(f,{type:"URLSearchParams",entries:h,updateURL:function(){},updateSearchParams:j}),void 0!==l)if(m(l))if("function"==typeof(e=w(l)))for(n=(t=e.call(l)).next;!(r=n.call(t)).done;){if((a=(o=(i=y(b(r.value))).next).call(i)).done||(s=o.call(i)).done||!o.call(i).done)throw TypeError("Expected sequence with length 2");h.push({key:a.value+"",value:s.value+""})}else for(c in l)d(l,c)&&h.push({key:c,value:l[c]+""});else L(h,"string"==typeof l?"?"===l.charAt(0)?l.slice(1):l:l+"")},H=z.prototype;s(H,{append:function(e,t){B(arguments.length,2);var n=x(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){B(arguments.length,1);for(var t=x(this),n=t.entries,r=e+"",i=0;i<n.length;)n[i].key===r?n.splice(i,1):i++;t.updateURL()},get:function(e){B(arguments.length,1);for(var t=x(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){B(arguments.length,1);for(var t=x(this).entries,n=e+"",r=[],i=0;i<t.length;i++)t[i].key===n&&r.push(t[i].value);return r},has:function(e){B(arguments.length,1);for(var t=x(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){B(arguments.length,1);for(var n,r=x(this),i=r.entries,o=!1,a=e+"",s=t+"",c=0;c<i.length;c++)(n=i[c]).key===a&&(o?i.splice(c--,1):(o=!0,n.value=s));o||i.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=x(this),i=r.entries,o=i.slice();for(i.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(i[t].key>e.key){i.splice(t,0,e);break}t===n&&i.push(e)}r.updateURL()},forEach:function(e){for(var t,n=x(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(H,_,H.entries),a(H,"toString",(function(){for(var e,t=x(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(F(e.key)+"="+F(e.value));return n.join("&")}),{enumerable:!0}),c(z,"URLSearchParams"),r({global:!0,forced:!o},{URLSearchParams:z}),o||"function"!=typeof A||"function"!=typeof E||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,i=[e];return arguments.length>1&&(t=arguments[1],m(t)&&(n=t.body,"URLSearchParams"===p(n)&&((r=t.headers?new E(t.headers):new E).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:g(0,String(n)),headers:g(0,r)}))),i.push(t)),A.apply(this,i)}}),e.exports={URLSearchParams:z,getState:x}},function(module,exports,__webpack_require__){(function(process,__dirname,Buffer){var Module;Module||(Module=(void 0!==Module?Module:null)||{});var moduleOverrides={};for(var key in Module)Module.hasOwnProperty(key)&&(moduleOverrides[key]=Module[key]);var ENVIRONMENT_IS_WEB=!1,ENVIRONMENT_IS_WORKER=!1,ENVIRONMENT_IS_NODE=!1,ENVIRONMENT_IS_SHELL=!1,nodeFS,nodePath;if(Module.ENVIRONMENT)if("WEB"===Module.ENVIRONMENT)ENVIRONMENT_IS_WEB=!0;else if("WORKER"===Module.ENVIRONMENT)ENVIRONMENT_IS_WORKER=!0;else if("NODE"===Module.ENVIRONMENT)ENVIRONMENT_IS_NODE=!0;else{if("SHELL"!==Module.ENVIRONMENT)throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.");ENVIRONMENT_IS_SHELL=!0}else ENVIRONMENT_IS_WEB="object"==typeof window,ENVIRONMENT_IS_WORKER="function"==typeof importScripts,ENVIRONMENT_IS_NODE="object"==typeof process&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER,ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE)Module.print||(Module.print=console.log),Module.printErr||(Module.printErr=console.warn),Module.read=function(e,t){nodeFS||(nodeFS=__webpack_require__(200)),nodePath||(nodePath=__webpack_require__(142)),e=nodePath.normalize(e);var n=nodeFS.readFileSync(e);return n||e==nodePath.resolve(e)||(e=path.join(__dirname,"..","src",e),n=nodeFS.readFileSync(e)),n&&!t&&(n=n.toString()),n},Module.readBinary=function(e){var t=Module.read(e,!0);return t.buffer||(t=new Uint8Array(t)),assert(t.buffer),t},Module.load=function(e){globalEval(read(e))},Module.thisProgram||(process.argv.length>1?Module.thisProgram=process.argv[1].replace(/\\/g,"/"):Module.thisProgram="unknown-program"),Module.arguments=process.argv.slice(2),module.exports=Module,process.on("uncaughtException",(function(e){if(!(e instanceof ExitStatus))throw e})),Module.inspect=function(){return"[Emscripten Module object]"};else if(ENVIRONMENT_IS_SHELL)Module.print||(Module.print=print),"undefined"!=typeof printErr&&(Module.printErr=printErr),"undefined"!=typeof read?Module.read=read:Module.read=function(){throw"no read() available (jsc?)"},Module.readBinary=function(e){if("function"==typeof readbuffer)return new Uint8Array(readbuffer(e));var t=read(e,"binary");return assert("object"==typeof t),t},"undefined"!=typeof scriptArgs?Module.arguments=scriptArgs:void 0!==arguments&&(Module.arguments=arguments);else{if(!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER)throw"Unknown runtime environment. Where are we?";if(Module.read=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},Module.readAsync=function(e,t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=function(){200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)},void 0!==arguments&&(Module.arguments=arguments),"undefined"!=typeof console)Module.print||(Module.print=function(e){console.log(e)}),Module.printErr||(Module.printErr=function(e){console.warn(e)});else{var TRY_USE_DUMP=!1;Module.print||(Module.print=TRY_USE_DUMP&&"undefined"!=typeof dump?function(e){dump(e)}:function(e){})}ENVIRONMENT_IS_WORKER&&(Module.load=importScripts),void 0===Module.setWindowTitle&&(Module.setWindowTitle=function(e){document.title=e})}function globalEval(e){eval.call(null,e)}for(var key in!Module.load&&Module.read&&(Module.load=function(e){globalEval(Module.read(e))}),Module.print||(Module.print=function(){}),Module.printErr||(Module.printErr=Module.print),Module.arguments||(Module.arguments=[]),Module.thisProgram||(Module.thisProgram="./this.program"),Module.print=Module.print,Module.printErr=Module.printErr,Module.preRun=[],Module.postRun=[],moduleOverrides)moduleOverrides.hasOwnProperty(key)&&(Module[key]=moduleOverrides[key]);moduleOverrides=void 0;var Runtime={setTempRet0:function(e){tempRet0=e},getTempRet0:function(){return tempRet0},stackSave:function(){return STACKTOP},stackRestore:function(e){STACKTOP=e},getNativeTypeSize:function(e){switch(e){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:if("*"===e[e.length-1])return Runtime.QUANTUM_SIZE;if("i"===e[0]){var t=parseInt(e.substr(1));return assert(t%8==0),t/8}return 0}},getNativeFieldSize:function(e){return Math.max(Runtime.getNativeTypeSize(e),Runtime.QUANTUM_SIZE)},STACK_ALIGN:16,prepVararg:function(e,t){return"double"===t||"i64"===t?7&e&&(assert(4==(7&e)),e+=4):assert(0==(3&e)),e},getAlignSize:function(e,t,n){return n||"i64"!=e&&"double"!=e?e?Math.min(t||(e?Runtime.getNativeFieldSize(e):0),Runtime.QUANTUM_SIZE):Math.min(t,8):8},dynCall:function(e,t,n){return n&&n.length?(n.splice||(n=Array.prototype.slice.call(n)),n.splice(0,0,t),Module["dynCall_"+e].apply(null,n)):Module["dynCall_"+e].call(null,t)},functionPointers:[],addFunction:function(e){for(var t=0;t<Runtime.functionPointers.length;t++)if(!Runtime.functionPointers[t])return Runtime.functionPointers[t]=e,2*(1+t);throw"Finished up all reserved function pointers. Use a higher value for RESERVED_FUNCTION_POINTERS."},removeFunction:function(e){Runtime.functionPointers[(e-2)/2]=null},warnOnce:function(e){Runtime.warnOnce.shown||(Runtime.warnOnce.shown={}),Runtime.warnOnce.shown[e]||(Runtime.warnOnce.shown[e]=1,Module.printErr(e))},funcWrappers:{},getFuncWrapper:function(e,t){assert(t),Runtime.funcWrappers[t]||(Runtime.funcWrappers[t]={});var n=Runtime.funcWrappers[t];return n[e]||(n[e]=function(){return Runtime.dynCall(t,e,arguments)}),n[e]},getCompilerSetting:function(e){throw"You must build with -s RETAIN_COMPILER_SETTINGS=1 for Runtime.getCompilerSetting or emscripten_get_compiler_setting to work"},stackAlloc:function(e){var t=STACKTOP;return STACKTOP=(STACKTOP=STACKTOP+e|0)+15&-16,t},staticAlloc:function(e){var t=STATICTOP;return STATICTOP=(STATICTOP=STATICTOP+e|0)+15&-16,t},dynamicAlloc:function(e){var t=DYNAMICTOP;if((DYNAMICTOP=(DYNAMICTOP=DYNAMICTOP+e|0)+15&-16)>=TOTAL_MEMORY&&!enlargeMemory())return DYNAMICTOP=t,0;return t},alignMemory:function(e,t){return e=Math.ceil(e/(t||16))*(t||16)},makeBigInt:function(e,t,n){return n?+(e>>>0)+4294967296*+(t>>>0):+(e>>>0)+4294967296*+(0|t)},GLOBAL_BASE:8,QUANTUM_SIZE:4,__dummy__:0};Module.Runtime=Runtime;var ABORT=!1,EXITSTATUS=0,cwrap,ccall;function assert(e,t){e||abort("Assertion failed: "+t)}function getCFunc(ident){var func=Module["_"+ident];if(!func)try{func=eval("_"+ident)}catch(e){}return assert(func,"Cannot call unknown function "+ident+" (perhaps LLVM optimizations or closure removed it?)"),func}function setValue(e,t,n,r){switch("*"===(n=n||"i8").charAt(n.length-1)&&(n="i32"),n){case"i1":case"i8":HEAP8[e>>0]=t;break;case"i16":HEAP16[e>>1]=t;break;case"i32":HEAP32[e>>2]=t;break;case"i64":tempI64=[t>>>0,(tempDouble=t,+Math_abs(tempDouble)>=1?tempDouble>0?(0|Math_min(+Math_floor(tempDouble/4294967296),4294967295))>>>0:~~+Math_ceil((tempDouble-+(~~tempDouble>>>0))/4294967296)>>>0:0)],HEAP32[e>>2]=tempI64[0],HEAP32[e+4>>2]=tempI64[1];break;case"float":HEAPF32[e>>2]=t;break;case"double":HEAPF64[e>>3]=t;break;default:abort("invalid type for setValue: "+n)}}function getValue(e,t,n){switch("*"===(t=t||"i8").charAt(t.length-1)&&(t="i32"),t){case"i1":case"i8":return HEAP8[e>>0];case"i16":return HEAP16[e>>1];case"i32":case"i64":return HEAP32[e>>2];case"float":return HEAPF32[e>>2];case"double":return HEAPF64[e>>3];default:abort("invalid type for setValue: "+t)}return null}!function(){var JSfuncs={stackSave:function(){Runtime.stackSave()},stackRestore:function(){Runtime.stackRestore()},arrayToC:function(e){var t=Runtime.stackAlloc(e.length);return writeArrayToMemory(e,t),t},stringToC:function(e){var t=0;return null!=e&&0!==e&&writeStringToMemory(e,t=Runtime.stackAlloc(1+(e.length<<2))),t}},toC={string:JSfuncs.stringToC,array:JSfuncs.arrayToC};ccall=function(e,t,n,r,i){var o=getCFunc(e),a=[],s=0;if(r)for(var c=0;c<r.length;c++){var l=toC[n[c]];l?(0===s&&(s=Runtime.stackSave()),a[c]=l(r[c])):a[c]=r[c]}var f=o.apply(null,a);if("string"===t&&(f=Pointer_stringify(f)),0!==s){if(i&&i.async)return void EmterpreterAsync.asyncFinalizers.push((function(){Runtime.stackRestore(s)}));Runtime.stackRestore(s)}return f};var sourceRegex=/^function\s*[a-zA-Z$_0-9]*\s*\(([^)]*)\)\s*{\s*([^*]*?)[\s;]*(?:return\s*(.*?)[;\s]*)?}$/;function parseJSFunc(e){var t=e.toString().match(sourceRegex).slice(1);return{arguments:t[0],body:t[1],returnValue:t[2]}}var JSsource=null;function ensureJSsource(){if(!JSsource)for(var e in JSsource={},JSfuncs)JSfuncs.hasOwnProperty(e)&&(JSsource[e]=parseJSFunc(JSfuncs[e]))}cwrap=function cwrap(ident,returnType,argTypes){argTypes=argTypes||[];var cfunc=getCFunc(ident),numericArgs=argTypes.every((function(e){return"number"===e})),numericRet="string"!==returnType;if(numericRet&&numericArgs)return cfunc;var argNames=argTypes.map((function(e,t){return"$"+t})),funcstr="(function("+argNames.join(",")+") {",nargs=argTypes.length;if(!numericArgs){ensureJSsource(),funcstr+="var stack = "+JSsource.stackSave.body+";";for(var i=0;i<nargs;i++){var arg=argNames[i],type=argTypes[i];if("number"!==type){var convertCode=JSsource[type+"ToC"];funcstr+="var "+convertCode.arguments+" = "+arg+";",funcstr+=convertCode.body+";",funcstr+=arg+"=("+convertCode.returnValue+");"}}}var cfuncname=parseJSFunc((function(){return cfunc})).returnValue;if(funcstr+="var ret = "+cfuncname+"("+argNames.join(",")+");",!numericRet){var strgfy=parseJSFunc((function(){return Pointer_stringify})).returnValue;funcstr+="ret = "+strgfy+"(ret);"}return numericArgs||(ensureJSsource(),funcstr+=JSsource.stackRestore.body.replace("()","(stack)")+";"),funcstr+="return ret})",eval(funcstr)}}(),Module.ccall=ccall,Module.cwrap=cwrap,Module.setValue=setValue,Module.getValue=getValue;var ALLOC_NORMAL=0,ALLOC_STACK=1,ALLOC_STATIC=2,ALLOC_DYNAMIC=3,ALLOC_NONE=4;function allocate(e,t,n,r){var i,o;"number"==typeof e?(i=!0,o=e):(i=!1,o=e.length);var a,s="string"==typeof t?t:null;if(a=n==ALLOC_NONE?r:["function"==typeof _malloc?_malloc:Runtime.staticAlloc,Runtime.stackAlloc,Runtime.staticAlloc,Runtime.dynamicAlloc][void 0===n?ALLOC_STATIC:n](Math.max(o,s?1:t.length)),i){var c;r=a;for(assert(0==(3&a)),c=a+(-4&o);r<c;r+=4)HEAP32[r>>2]=0;for(c=a+o;r<c;)HEAP8[r++>>0]=0;return a}if("i8"===s)return e.subarray||e.slice?HEAPU8.set(e,a):HEAPU8.set(new Uint8Array(e),a),a;for(var l,f,u,d=0;d<o;){var h=e[d];"function"==typeof h&&(h=Runtime.getFunctionIndex(h)),0!==(l=s||t[d])?("i64"==l&&(l="i32"),setValue(a+d,h,l),u!==l&&(f=Runtime.getNativeTypeSize(l),u=l),d+=f):d++}return a}function getMemory(e){return staticSealed?void 0!==_sbrk&&!_sbrk.called||!runtimeInitialized?Runtime.dynamicAlloc(e):_malloc(e):Runtime.staticAlloc(e)}function Pointer_stringify(e,t){if(0===t||!e)return"";for(var n,r=0,i=0;r|=n=HEAPU8[e+i>>0],(0!=n||t)&&(i++,!t||i!=t););t||(t=i);var o="";if(r<128){for(var a;t>0;)a=String.fromCharCode.apply(String,HEAPU8.subarray(e,e+Math.min(t,1024))),o=o?o+a:a,e+=1024,t-=1024;return o}return Module.UTF8ToString(e)}function AsciiToString(e){for(var t="";;){var n=HEAP8[e++>>0];if(!n)return t;t+=String.fromCharCode(n)}}function stringToAscii(e,t){return writeAsciiToMemory(e,t,!1)}function UTF8ArrayToString(e,t){for(var n,r,i,o,a,s="";;){if(!(n=e[t++]))return s;if(128&n)if(r=63&e[t++],192!=(224&n))if(i=63&e[t++],224==(240&n)?n=(15&n)<<12|r<<6|i:(o=63&e[t++],240==(248&n)?n=(7&n)<<18|r<<12|i<<6|o:(a=63&e[t++],n=248==(252&n)?(3&n)<<24|r<<18|i<<12|o<<6|a:(1&n)<<30|r<<24|i<<18|o<<12|a<<6|63&e[t++])),n<65536)s+=String.fromCharCode(n);else{var c=n-65536;s+=String.fromCharCode(55296|c>>10,56320|1023&c)}else s+=String.fromCharCode((31&n)<<6|r);else s+=String.fromCharCode(n)}}function UTF8ToString(e){return UTF8ArrayToString(HEAPU8,e)}function stringToUTF8Array(e,t,n,r){if(!(r>0))return 0;for(var i=n,o=n+r-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(n>=o)break;t[n++]=s}else if(s<=2047){if(n+1>=o)break;t[n++]=192|s>>6,t[n++]=128|63&s}else if(s<=65535){if(n+2>=o)break;t[n++]=224|s>>12,t[n++]=128|s>>6&63,t[n++]=128|63&s}else if(s<=2097151){if(n+3>=o)break;t[n++]=240|s>>18,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}else if(s<=67108863){if(n+4>=o)break;t[n++]=248|s>>24,t[n++]=128|s>>18&63,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}else{if(n+5>=o)break;t[n++]=252|s>>30,t[n++]=128|s>>24&63,t[n++]=128|s>>18&63,t[n++]=128|s>>12&63,t[n++]=128|s>>6&63,t[n++]=128|63&s}}return t[n]=0,n-i}function stringToUTF8(e,t,n){return stringToUTF8Array(e,HEAPU8,t,n)}function lengthBytesUTF8(e){for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);r>=55296&&r<=57343&&(r=65536+((1023&r)<<10)|1023&e.charCodeAt(++n)),r<=127?++t:t+=r<=2047?2:r<=65535?3:r<=2097151?4:r<=67108863?5:6}return t}function demangle(e){if(!!Module.___cxa_demangle)try{var t=_malloc(e.length);writeStringToMemory(e.substr(1),t);var n=_malloc(4),r=Module.___cxa_demangle(t,0,0,n);if(0===getValue(n,"i32")&&r)return Pointer_stringify(r)}catch(t){return e}finally{t&&_free(t),n&&_free(n),r&&_free(r)}return Runtime.warnOnce("warning: build with  -s DEMANGLE_SUPPORT=1  to link in libcxxabi demangling"),e}function demangleAll(e){return e.replace(/__Z[\w\d_]+/g,(function(e){var t=demangle(e);return e===t?e:e+" ["+t+"]"}))}function jsStackTrace(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(t){e=t}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}function stackTrace(){return demangleAll(jsStackTrace())}Module.ALLOC_NORMAL=ALLOC_NORMAL,Module.ALLOC_STACK=ALLOC_STACK,Module.ALLOC_STATIC=ALLOC_STATIC,Module.ALLOC_DYNAMIC=ALLOC_DYNAMIC,Module.ALLOC_NONE=ALLOC_NONE,Module.allocate=allocate,Module.getMemory=getMemory,Module.Pointer_stringify=Pointer_stringify,Module.AsciiToString=AsciiToString,Module.stringToAscii=stringToAscii,Module.UTF8ArrayToString=UTF8ArrayToString,Module.UTF8ToString=UTF8ToString,Module.stringToUTF8Array=stringToUTF8Array,Module.stringToUTF8=stringToUTF8,Module.lengthBytesUTF8=lengthBytesUTF8,Module.stackTrace=stackTrace;var PAGE_SIZE=4096,HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function alignMemoryPage(e){return e%4096>0&&(e+=4096-e%4096),e}function updateGlobalBufferViews(){Module.HEAP8=HEAP8=new Int8Array(buffer),Module.HEAP16=HEAP16=new Int16Array(buffer),Module.HEAP32=HEAP32=new Int32Array(buffer),Module.HEAPU8=HEAPU8=new Uint8Array(buffer),Module.HEAPU16=HEAPU16=new Uint16Array(buffer),Module.HEAPU32=HEAPU32=new Uint32Array(buffer),Module.HEAPF32=HEAPF32=new Float32Array(buffer),Module.HEAPF64=HEAPF64=new Float64Array(buffer)}var STATIC_BASE=0,STATICTOP=0,staticSealed=!1,STACK_BASE=0,STACKTOP=0,STACK_MAX=0,DYNAMIC_BASE=0,DYNAMICTOP=0;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value "+TOTAL_MEMORY+", (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}for(var TOTAL_STACK=Module.TOTAL_STACK||5242880,TOTAL_MEMORY=Module.TOTAL_MEMORY||16777216,totalMemory=65536;totalMemory<TOTAL_MEMORY||totalMemory<2*TOTAL_STACK;)totalMemory<16777216?totalMemory*=2:totalMemory+=16777216;if(totalMemory!==TOTAL_MEMORY&&(TOTAL_MEMORY=totalMemory),buffer=Module.buffer?Module.buffer:new ArrayBuffer(TOTAL_MEMORY),updateGlobalBufferViews(),HEAP32[0]=255,255!==HEAPU8[0]||0!==HEAPU8[3])throw"Typed arrays 2 must be run on a little-endian system";function callRuntimeCallbacks(e){for(;e.length>0;){var t=e.shift();if("function"!=typeof t){var n=t.func;"number"==typeof n?void 0===t.arg?Runtime.dynCall("v",n):Runtime.dynCall("vi",n,[t.arg]):n(void 0===t.arg?null:t.arg)}else t()}}Module.HEAP=HEAP,Module.buffer=buffer,Module.HEAP8=HEAP8,Module.HEAP16=HEAP16,Module.HEAP32=HEAP32,Module.HEAPU8=HEAPU8,Module.HEAPU16=HEAPU16,Module.HEAPU32=HEAPU32,Module.HEAPF32=HEAPF32,Module.HEAPF64=HEAPF64;var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATEXIT__=[],__ATPOSTRUN__=[],runtimeInitialized=!1,runtimeExited=!1;function preRun(){if(Module.preRun)for("function"==typeof Module.preRun&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){runtimeInitialized||(runtimeInitialized=!0,callRuntimeCallbacks(__ATINIT__))}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__),runtimeExited=!0}function postRun(){if(Module.postRun)for("function"==typeof Module.postRun&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(e){__ATPRERUN__.unshift(e)}function addOnInit(e){__ATINIT__.unshift(e)}function addOnPreMain(e){__ATMAIN__.unshift(e)}function addOnExit(e){__ATEXIT__.unshift(e)}function addOnPostRun(e){__ATPOSTRUN__.unshift(e)}function intArrayFromString(e,t,n){var r=n>0?n:lengthBytesUTF8(e)+1,i=new Array(r),o=stringToUTF8Array(e,i,0,i.length);return t&&(i.length=o),i}function intArrayToString(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r>255&&(r&=255),t.push(String.fromCharCode(r))}return t.join("")}function writeStringToMemory(e,t,n){for(var r=intArrayFromString(e,n),i=0;i<r.length;){var o=r[i];HEAP8[t+i>>0]=o,i+=1}}function writeArrayToMemory(e,t){for(var n=0;n<e.length;n++)HEAP8[t++>>0]=e[n]}function writeAsciiToMemory(e,t,n){for(var r=0;r<e.length;++r)HEAP8[t++>>0]=e.charCodeAt(r);n||(HEAP8[t>>0]=0)}Module.addOnPreRun=addOnPreRun,Module.addOnInit=addOnInit,Module.addOnPreMain=addOnPreMain,Module.addOnExit=addOnExit,Module.addOnPostRun=addOnPostRun,Module.intArrayFromString=intArrayFromString,Module.intArrayToString=intArrayToString,Module.writeStringToMemory=writeStringToMemory,Module.writeArrayToMemory=writeArrayToMemory,Module.writeAsciiToMemory=writeAsciiToMemory,Math.imul&&-5===Math.imul(4294967295,5)||(Math.imul=function(e,t){var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16)|0}),Math.imul=Math.imul,Math.clz32||(Math.clz32=function(e){e>>>=0;for(var t=0;t<32;t++)if(e&1<<31-t)return t;return 32}),Math.clz32=Math.clz32;var Math_abs=Math.abs,Math_cos=Math.cos,Math_sin=Math.sin,Math_tan=Math.tan,Math_acos=Math.acos,Math_asin=Math.asin,Math_atan=Math.atan,Math_atan2=Math.atan2,Math_exp=Math.exp,Math_log=Math.log,Math_sqrt=Math.sqrt,Math_ceil=Math.ceil,Math_floor=Math.floor,Math_pow=Math.pow,Math_imul=Math.imul,Math_fround=Math.fround,Math_min=Math.min,Math_clz32=Math.clz32,runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(e){return e}function addRunDependency(e){runDependencies++,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies)}function removeRunDependency(e){if(runDependencies--,Module.monitorRunDependencies&&Module.monitorRunDependencies(runDependencies),0==runDependencies&&(null!==runDependencyWatcher&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var t=dependenciesFulfilled;dependenciesFulfilled=null,t()}}Module.addRunDependency=addRunDependency,Module.removeRunDependency=removeRunDependency,Module.preloadedImages={},Module.preloadedAudios={};var ASM_CONSTS=[];STATIC_BASE=8,STATICTOP=STATIC_BASE+6224,__ATINIT__.push(),allocate([0,119,1,0,136,88,1,0,0,250,0,0,128,187,0,0,68,172,0,0,0,125,0,0,192,93,0,0,34,86,0,0,128,62,0,0,224,46,0,0,17,43,0,0,64,31,0,0,182,28,0,0,11,0,0,0,255,255,255,255,1,0,0,0,2,0,0,0,3,0,0,0,4,0,0,0,12,0,0,0,13,0,0,0,14,0,0,0,15,0,0,0,5,0,0,0,6,0,0,0,7,0,0,0,8,0,0,0,9,0,0,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,4,0,0,0,8,0,0,0,8,0,0,0,12,0,0,0,12,0,0,0,16,0,0,0,16,0,0,0,20,0,0,0,20,0,0,0,24,0,0,0,24,0,0,0,28,0,0,0,28,0,0,0,0,1,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,69,20,0,0,0,4,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,120,1,0,0,5,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,77,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,65,100,100,105,110,103,32,110,101,119,32,80,73,68,58,32,37,100,10,0,76,101,102,116,111,118,101,114,32,100,97,116,97,32,105,110,32,84,83,32,99,111,110,116,101,120,116,10,0,69,82,82,79,82,58,32,85,110,115,117,112,112,111,114,116,101,100,32,115,97,109,112,108,105,110,103,32,102,114,101,113,117,101,110,99,121,0,70,97,116,97,108,32,69,114,114,111,114,46,32,65,116,111,109,32,98,101,103,105,110,32,105,115,32,97,102,116,101,114,32,101,110,100,0,102,116,121,112,0,105,115,111,109,0,105,115,111,53,0,97,118,99,49,0,109,112,52,50,0,100,97,115,104,0,115,116,121,112,0,109,115,100,104,0,109,115,105,120,0,109,111,111,118,0,109,118,104,100,0,109,118,101,120,0,116,114,97,107,0,116,114,101,120,0,116,107,104,100,0,109,100,105,97,0,116,114,97,102,0,116,102,104,100,0,116,102,100,116,0,116,114,117,110,0,109,100,104,100,0,104,100,108,114,0,109,105,110,102,0,118,109,104,100,0,115,109,104,100,0,100,105,110,102,0,115,116,98,108,0,100,114,101,102,0,101,100,116,115,0,101,108,115,116,0,109,111,111,102,0,109,102,104,100,0,115,116,115,100,0,115,116,116,115,0,115,116,115,99,0,115,116,115,122,0,115,116,99,111,0,0,0,1,109,101,104,100,0,118,105,100,101,0,115,111,117,110,0,65,110,118,97,116,111,32,101,68,65,83,72,32,50,46,49,0,109,112,52,97,0,97,110,118,50,0,97,118,99,67,0,101,115,100,115,0,115,105,100,120,0,105,111,100,115,0,109,100,97,116,0,85,78,72,65,78,68,76,69,68,58,32,37,115,10,0,69,114,114,111,114,0,80,97,99,107,101,116,32,99,111,117,110,116,58,32,37,100,32,43,32,49,10,0,66,97,100,32,65,65,67,32,112,97,99,107,101,116,10,0,69,82,82,79,82,10,0,40,117,110,99,108,101,97,110,32,101,110,100,32,111,102,32,97,97,99,32,102,114,97,109,101,115,46,32,37,100,32,98,121,116,101,115,41,10,0,83,80,83,32,84,111,111,32,108,97,114,103,101,46,32,37,100,10,0,80,80,83,32,84,111,111,32,108,97,114,103,101,46,32,37,100,10,0,73,68,51,4,0,0,71,69,79,66,71,69,79,66,32,98,117,102,102,101,114,32,110,111,116,32,101,110,111,117,103,104,10,0,71,69,79,66,32,69,110,99,111,100,105,110,103,32,109,117,115,116,32,98,101,32,51,10,0,37,115,46,99,117,101,0,119,0,37,115,46,54,48,56,0,40,68,73,83,67,79,78,84,73,78,85,73,84,89,41,0,66,101,103,105,110,32,119,114,105,116,101,95,100,97,115,104,32,37,115,10,0,65,80,84,83,58,32,37,102,32,45,32,37,102,10,0,86,80,84,83,58,32,37,102,32,45,32,37,102,10,0,80,114,101,45,66,101,103,105,110,32,79,102,102,115,101,116,32,80,84,83,58,32,37,102,44,32,83,101,99,116,105,111,110,32,80,84,83,58,32,37,102,44,32,83,101,103,109,101,110,116,32,110,111,58,32,37,100,44,32,83,97,109,112,108,101,115,58,32,37,100,47,37,100,10,0,68,105,115,99,111,110,116,105,110,117,105,116,121,32,104,97,110,100,108,105,110,103,58,0,65,116,32,100,105,115,99,111,110,116,105,110,117,105,116,121,44,32,97,95,100,116,32,61,32,37,102,10,0,65,116,32,100,105,115,99,111,110,116,105,110,117,105,116,121,44,32,118,95,100,116,32,61,32,37,102,10,0,65,116,32,100,105,115,99,111,110,116,105,110,117,105,116,121,44,32,112,116,115,95,115,101,99,116,105,111,110,32,61,32,37,102,10,0,80,111,115,116,45,66,101,103,105,110,32,79,102,102,115,101,116,32,80,84,83,58,32,37,102,44,32,83,101,99,116,105,111,110,32,80,84,83,58,32,37,102,44,32,83,101,103,109,101,110,116,32,110,111,58,32,37,100,44,32,83,97,109,112,108,101,115,58,32,37,100,47,37,100,10,0,118,105,100,101,111,0,97,117,100,105,111,0,40,37,115,41,32,83,77,80,80,84,83,58,32,37,102,32,45,32,37,102,10,0,40,37,115,41,32,98,101,103,105,110,32,116,105,109,101,58,32,37,102,32,40,32,37,108,108,100,32,45,32,37,108,108,100,32,41,10,0,40,37,115,41,32,66,101,103,105,110,32,61,32,37,100,44,32,99,110,116,58,32,37,100,10,0,105,110,105,116,0,100,97,116,97,0,37,115,45,37,99,45,37,115,46,109,112,52,0,67,97,110,110,111,116,32,111,112,101,110,32,37,115,10,0,114,98,0,102,105,108,101,32,110,111,116,32,102,111,117,110,100,10,0,67,97,110,110,111,116,32,108,111,97,100,32,115,101,103,109,101,110,116,0,67,97,110,110,111,116,32,119,114,105,116,101,32,100,97,115,104,0,37,46,51,102,32,37,99,37,99,32,40,37,48,50,120,32,37,48,50,120,41,10,0,226,150,136,0,195,169,0,195,173,0,195,179,0,195,186,0,195,186,0,195,183,0,195,145,0,195,177,0,195,161,0,37,46,51,102,32,91,109,105,100,114,111,119,93,10,0,194,174,0,194,176,0,194,189,0,194,191,0,226,132,162,0,194,162,0,194,163,0,226,153,170,0,195,160,0,32,0,195,168,0,195,162,0,195,170,0,195,174,0,195,180,0,195,187,0,37,46,51,102,32,83,112,101,99,105,97,108,32,37,99,32,37,99,32,40,37,48,50,120,32,37,48,50,120,41,10,0,37,46,51,102,32,91,112,114,101,97,109,98,108,101,32,64,32,37,100,44,37,100,93,10,0,37,46,51,102,32,91,116,97,98,93,10,0,82,67,76,0,0,0,0,0,66,83,32,0,0,0,0,0,65,79,70,0,0,0,0,0,65,79,78,0,0,0,0,0,68,69,82,0,0,0,0,0,82,85,50,0,0,0,0,0,82,85,51,0,0,0,0,0,82,85,52,0,0,0,0,0,70,79,78,0,0,0,0,0,82,68,67,0,0,0,0,0,84,82,32,0,0,0,0,0,82,84,68,0,0,0,0,0,69,68,77,0,0,0,0,0,67,82,32,0,0,0,0,0,69,78,77,0,0,0,0,0,69,79,67,0,0,0,0,0,37,46,51,102,32,91,101,114,114,111,114,45,117,110,107,110,111,119,110,32,98,121,116,101,115,32,37,48,50,120,32,37,48,50,120,93,10,0,37,46,51,102,32,91,37,115,93,10,0,37,46,51,102,32,69,110,116,101,114,32,112,111,112,45,111,110,32,109,111,100,101,10,0,37,46,51,102,32,69,110,116,101,114,32,112,97,105,110,116,32,111,110,32,109,111,100,101,10,0,37,46,51,102,32,69,110,116,101,114,32,114,111,108,108,32,117,112,32,109,111,100,101,10,0,85,110,107,110,111,119,110,32,99,111,110,116,114,111,108,32,99,111,100,101,32,37,48,50,120,32,37,48,50,120,10,0,84,33,34,25,13,1,2,3,17,75,28,12,16,4,11,29,18,30,39,104,110,111,112,113,98,32,5,6,15,19,20,21,26,8,22,7,40,36,23,24,9,10,14,27,31,37,35,131,130,125,38,42,43,60,61,62,63,67,71,74,77,88,89,90,91,92,93,94,95,96,97,99,100,101,102,103,105,106,107,108,114,115,116,121,122,123,124,0,73,108,108,101,103,97,108,32,98,121,116,101,32,115,101,113,117,101,110,99,101,0,68,111,109,97,105,110,32,101,114,114,111,114,0,82,101,115,117,108,116,32,110,111,116,32,114,101,112,114,101,115,101,110,116,97,98,108,101,0,78,111,116,32,97,32,116,116,121,0,80,101,114,109,105,115,115,105,111,110,32,100,101,110,105,101,100,0,79,112,101,114,97,116,105,111,110,32,110,111,116,32,112,101,114,109,105,116,116,101,100,0,78,111,32,115,117,99,104,32,102,105,108,101,32,111,114,32,100,105,114,101,99,116,111,114,121,0,78,111,32,115,117,99,104,32,112,114,111,99,101,115,115,0,70,105,108,101,32,101,120,105,115,116,115,0,86,97,108,117,101,32,116,111,111,32,108,97,114,103,101,32,102,111,114,32,100,97,116,97,32,116,121,112,101,0,78,111,32,115,112,97,99,101,32,108,101,102,116,32,111,110,32,100,101,118,105,99,101,0,79,117,116,32,111,102,32,109,101,109,111,114,121,0,82,101,115,111,117,114,99,101,32,98,117,115,121,0,73,110,116,101,114,114,117,112,116,101,100,32,115,121,115,116,101,109,32,99,97,108,108,0,82,101,115,111,117,114,99,101,32,116,101,109,112,111,114,97,114,105,108,121,32,117,110,97,118,97,105,108,97,98,108,101,0,73,110,118,97,108,105,100,32,115,101,101,107,0,67,114,111,115,115,45,100,101,118,105,99,101,32,108,105,110,107,0,82,101,97,100,45,111,110,108,121,32,102,105,108,101,32,115,121,115,116,101,109,0,68,105,114,101,99,116,111,114,121,32,110,111,116,32,101,109,112,116,121,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,112,101,101,114,0,79,112,101,114,97,116,105,111,110,32,116,105,109,101,100,32,111,117,116,0,67,111,110,110,101,99,116,105,111,110,32,114,101,102,117,115,101,100,0,72,111,115,116,32,105,115,32,100,111,119,110,0,72,111,115,116,32,105,115,32,117,110,114,101,97,99,104,97,98,108,101,0,65,100,100,114,101,115,115,32,105,110,32,117,115,101,0,66,114,111,107,101,110,32,112,105,112,101,0,73,47,79,32,101,114,114,111,114,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,32,111,114,32,97,100,100,114,101,115,115,0,66,108,111,99,107,32,100,101,118,105,99,101,32,114,101,113,117,105,114,101,100,0,78,111,32,115,117,99,104,32,100,101,118,105,99,101,0,78,111,116,32,97,32,100,105,114,101,99,116,111,114,121,0,73,115,32,97,32,100,105,114,101,99,116,111,114,121,0,84,101,120,116,32,102,105,108,101,32,98,117,115,121,0,69,120,101,99,32,102,111,114,109,97,116,32,101,114,114,111,114,0,73,110,118,97,108,105,100,32,97,114,103,117,109,101,110,116,0,65,114,103,117,109,101,110,116,32,108,105,115,116,32,116,111,111,32,108,111,110,103,0,83,121,109,98,111,108,105,99,32,108,105,110,107,32,108,111,111,112,0,70,105,108,101,110,97,109,101,32,116,111,111,32,108,111,110,103,0,84,111,111,32,109,97,110,121,32,111,112,101,110,32,102,105,108,101,115,32,105,110,32,115,121,115,116,101,109,0,78,111,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,115,32,97,118,97,105,108,97,98,108,101,0,66,97,100,32,102,105,108,101,32,100,101,115,99,114,105,112,116,111,114,0,78,111,32,99,104,105,108,100,32,112,114,111,99,101,115,115,0,66,97,100,32,97,100,100,114,101,115,115,0,70,105,108,101,32,116,111,111,32,108,97,114,103,101,0,84,111,111,32,109,97,110,121,32,108,105,110,107,115,0,78,111,32,108,111,99,107,115,32,97,118,97,105,108,97,98,108,101,0,82,101,115,111,117,114,99,101,32,100,101,97,100,108,111,99,107,32,119,111,117,108,100,32,111,99,99,117,114,0,83,116,97,116,101,32,110,111,116,32,114,101,99,111,118,101,114,97,98,108,101,0,80,114,101,118,105,111,117,115,32,111,119,110,101,114,32,100,105,101,100,0,79,112,101,114,97,116,105,111,110,32,99,97,110,99,101,108,101,100,0,70,117,110,99,116,105,111,110,32,110,111,116,32,105,109,112,108,101,109,101,110,116,101,100,0,78,111,32,109,101,115,115,97,103,101,32,111,102,32,100,101,115,105,114,101,100,32,116,121,112,101,0,73,100,101,110,116,105,102,105,101,114,32,114,101,109,111,118,101,100,0,68,101,118,105,99,101,32,110,111,116,32,97,32,115,116,114,101,97,109,0,78,111,32,100,97,116,97,32,97,118,97,105,108,97,98,108,101,0,68,101,118,105,99,101,32,116,105,109,101,111,117,116,0,79,117,116,32,111,102,32,115,116,114,101,97,109,115,32,114,101,115,111,117,114,99,101,115,0,76,105,110,107,32,104,97,115,32,98,101,101,110,32,115,101,118,101,114,101,100,0,80,114,111,116,111,99,111,108,32,101,114,114,111,114,0,66,97,100,32,109,101,115,115,97,103,101,0,70,105,108,101,32,100,101,115,99,114,105,112,116,111,114,32,105,110,32,98,97,100,32,115,116,97,116,101,0,78,111,116,32,97,32,115,111,99,107,101,116,0,68,101,115,116,105,110,97,116,105,111,110,32,97,100,100,114,101,115,115,32,114,101,113,117,105,114,101,100,0,77,101,115,115,97,103,101,32,116,111,111,32,108,97,114,103,101,0,80,114,111,116,111,99,111,108,32,119,114,111,110,103,32,116,121,112,101,32,102,111,114,32,115,111,99,107,101,116,0,80,114,111,116,111,99,111,108,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,80,114,111,116,111,99,111,108,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,83,111,99,107,101,116,32,116,121,112,101,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,78,111,116,32,115,117,112,112,111,114,116,101,100,0,80,114,111,116,111,99,111,108,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,0,65,100,100,114,101,115,115,32,102,97,109,105,108,121,32,110,111,116,32,115,117,112,112,111,114,116,101,100,32,98,121,32,112,114,111,116,111,99,111,108,0,65,100,100,114,101,115,115,32,110,111,116,32,97,118,97,105,108,97,98,108,101,0,78,101,116,119,111,114,107,32,105,115,32,100,111,119,110,0,78,101,116,119,111,114,107,32,117,110,114,101,97,99,104,97,98,108,101,0,67,111,110,110,101,99,116,105,111,110,32,114,101,115,101,116,32,98,121,32,110,101,116,119,111,114,107,0,67,111,110,110,101,99,116,105,111,110,32,97,98,111,114,116,101,100,0,78,111,32,98,117,102,102,101,114,32,115,112,97,99,101,32,97,118,97,105,108,97,98,108,101,0,83,111,99,107,101,116,32,105,115,32,99,111,110,110,101,99,116,101,100,0,83,111,99,107,101,116,32,110,111,116,32,99,111,110,110,101,99,116,101,100,0,67,97,110,110,111,116,32,115,101,110,100,32,97,102,116,101,114,32,115,111,99,107,101,116,32,115,104,117,116,100,111,119,110,0,79,112,101,114,97,116,105,111,110,32,97,108,114,101,97,100,121,32,105,110,32,112,114,111,103,114,101,115,115,0,79,112,101,114,97,116,105,111,110,32,105,110,32,112,114,111,103,114,101,115,115,0,83,116,97,108,101,32,102,105,108,101,32,104,97,110,100,108,101,0,82,101,109,111,116,101,32,73,47,79,32,101,114,114,111,114,0,81,117,111,116,97,32,101,120,99,101,101,100,101,100,0,78,111,32,109,101,100,105,117,109,32,102,111,117,110,100,0,87,114,111,110,103,32,109,101,100,105,117,109,32,116,121,112,101,0,78,111,32,101,114,114,111,114,32,105,110,102,111,114,109,97,116,105,111,110,0,0,17,0,10,0,17,17,17,0,0,0,0,5,0,0,0,0,0,0,9,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,15,10,17,17,17,3,10,7,0,1,19,9,11,11,0,0,9,6,11,0,0,11,0,6,17,0,0,0,17,17,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,17,0,10,10,17,17,17,0,10,0,0,2,0,9,11,0,0,0,9,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,13,0,0,0,4,13,0,0,0,0,9,14,0,0,0,0,0,14,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,15,0,0,0,0,9,16,0,0,0,0,0,16,0,0,16,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,0,0,0,18,18,18,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,10,0,0,0,0,9,11,0,0,0,0,0,11,0,0,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,12,0,0,0,0,9,12,0,0,0,0,0,12,0,0,12,0,0,48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,45,43,32,32,32,48,88,48,120,0,40,110,117,108,108,41,0,45,48,88,43,48,88,32,48,88,45,48,120,43,48,120,32,48,120,0,105,110,102,0,73,78,70,0,110,97,110,0,78,65,78,0,46,0,114,119,97,0],"i8",ALLOC_NONE,Runtime.GLOBAL_BASE);var tempDoublePtr=STATICTOP;function ___setErrNo(e){return Module.___errno_location&&(HEAP32[Module.___errno_location()>>2]=e),e}STATICTOP+=16,Module._i64Subtract=_i64Subtract;var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};function _sysconf(e){switch(e){case 30:return PAGE_SIZE;case 85:return totalMemory/PAGE_SIZE;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 79:return 0;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return ___setErrNo(ERRNO_CODES.EINVAL),-1}function _pthread_cleanup_push(e,t){__ATEXIT__.push((function(){Runtime.dynCall("vi",e,[t])})),_pthread_cleanup_push.level=__ATEXIT__.length}Module._memset=_memset,Module._bitshift64Lshr=_bitshift64Lshr;var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can   access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"},PATH={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e},normalize:function(e){var t="/"===e.charAt(0),n="/"===e.substr(-1);return(e=PATH.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},dirname:function(e){var t=PATH.splitPath(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},basename:function(e){if("/"===e)return"/";var t=e.lastIndexOf("/");return-1===t?e:e.substr(t+1)},extname:function(e){return PATH.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return PATH.normalize(e.join("/"))},join2:function(e,t){return PATH.normalize(e+"/"+t)},resolve:function(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:FS.cwd();if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,t="/"===r.charAt(0)}return(t?"/":"")+(e=PATH.normalizeArray(e.split("/").filter((function(e){return!!e})),!t).join("/"))||"."},relative:function(e,t){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:e.slice(t,n-t+1)}e=PATH.resolve(e).substr(1),t=PATH.resolve(t).substr(1);for(var r=n(e.split("/")),i=n(t.split("/")),o=Math.min(r.length,i.length),a=o,s=0;s<o;s++)if(r[s]!==i[s]){a=s;break}var c=[];for(s=a;s<r.length;s++)c.push("..");return(c=c.concat(i.slice(a))).join("/")}},TTY={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){TTY.ttys[e]={input:[],output:[],ops:t},FS.registerDevice(e,TTY.stream_ops)},stream_ops:{open:function(e){var t=TTY.ttys[e.node.rdev];if(!t)throw new FS.ErrnoError(ERRNO_CODES.ENODEV);e.tty=t,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,t,n,r,i){if(!e.tty||!e.tty.ops.get_char)throw new FS.ErrnoError(ERRNO_CODES.ENXIO);for(var o=0,a=0;a<r;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(void 0===s&&0===o)throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);if(null==s)break;o++,t[n+a]=s}return o&&(e.node.timestamp=Date.now()),o},write:function(e,t,n,r,i){if(!e.tty||!e.tty.ops.put_char)throw new FS.ErrnoError(ERRNO_CODES.ENXIO);for(var o=0;o<r;o++)try{e.tty.ops.put_char(e.tty,t[n+o])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return r&&(e.node.timestamp=Date.now()),o}},default_tty_ops:{get_char:function(e){if(!e.input.length){var t=null;if(ENVIRONMENT_IS_NODE){var n,r=new Buffer(256),i=process.stdin.fd,o=!1;try{i=fs.openSync("/dev/stdin","r"),o=!0}catch(e){}n=fs.readSync(i,r,0,256,null),o&&fs.closeSync(i),t=n>0?r.slice(0,n).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n");if(!t)return null;e.input=intArrayFromString(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(Module.print(UTF8ArrayToString(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(Module.print(UTF8ArrayToString(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(Module.printErr(UTF8ArrayToString(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&e.output.length>0&&(Module.printErr(UTF8ArrayToString(e.output,0)),e.output=[])}}},MEMFS={ops_table:null,mount:function(e){return MEMFS.createNode(null,"/",16895,0)},createNode:function(e,t,n,r){if(FS.isBlkdev(n)||FS.isFIFO(n))throw new FS.ErrnoError(ERRNO_CODES.EPERM);MEMFS.ops_table||(MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}});var i=FS.createNode(e,t,n,r);return FS.isDir(i.mode)?(i.node_ops=MEMFS.ops_table.dir.node,i.stream_ops=MEMFS.ops_table.dir.stream,i.contents={}):FS.isFile(i.mode)?(i.node_ops=MEMFS.ops_table.file.node,i.stream_ops=MEMFS.ops_table.file.stream,i.usedBytes=0,i.contents=null):FS.isLink(i.mode)?(i.node_ops=MEMFS.ops_table.link.node,i.stream_ops=MEMFS.ops_table.link.stream):FS.isChrdev(i.mode)&&(i.node_ops=MEMFS.ops_table.chrdev.node,i.stream_ops=MEMFS.ops_table.chrdev.stream),i.timestamp=Date.now(),e&&(e.contents[t]=i),i},getFileDataAsRegularArray:function(e){if(e.contents&&e.contents.subarray){for(var t=[],n=0;n<e.usedBytes;++n)t.push(e.contents[n]);return t}return e.contents},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array},expandFileStorage:function(e,t){if(e.contents&&e.contents.subarray&&t>e.contents.length&&(e.contents=MEMFS.getFileDataAsRegularArray(e),e.usedBytes=e.contents.length),!e.contents||e.contents.subarray){var n=e.contents?e.contents.buffer.byteLength:0;if(n>=t)return;t=Math.max(t,n*(n<1048576?2:1.125)|0),0!=n&&(t=Math.max(t,256));var r=e.contents;return e.contents=new Uint8Array(t),void(e.usedBytes>0&&e.contents.set(r.subarray(0,e.usedBytes),0))}for(!e.contents&&t>0&&(e.contents=[]);e.contents.length<t;)e.contents.push(0)},resizeFileStorage:function(e,t){if(e.usedBytes!=t){if(0==t)return e.contents=null,void(e.usedBytes=0);if(!e.contents||e.contents.subarray){var n=e.contents;return e.contents=new Uint8Array(new ArrayBuffer(t)),n&&e.contents.set(n.subarray(0,Math.min(t,e.usedBytes))),void(e.usedBytes=t)}if(e.contents||(e.contents=[]),e.contents.length>t)e.contents.length=t;else for(;e.contents.length<t;)e.contents.push(0);e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=FS.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,FS.isDir(e.mode)?t.size=4096:FS.isFile(e.mode)?t.size=e.usedBytes:FS.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&MEMFS.resizeFileStorage(e,t.size)},lookup:function(e,t){throw FS.genericErrors[ERRNO_CODES.ENOENT]},mknod:function(e,t,n,r){return MEMFS.createNode(e,t,n,r)},rename:function(e,t,n){if(FS.isDir(e.mode)){var r;try{r=FS.lookupNode(t,n)}catch(e){}if(r)for(var i in r.contents)throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY)}delete e.parent.contents[e.name],e.name=n,t.contents[n]=e,e.parent=t},unlink:function(e,t){delete e.contents[t]},rmdir:function(e,t){var n=FS.lookupNode(e,t);for(var r in n.contents)throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);delete e.contents[t]},readdir:function(e){var t=[".",".."];for(var n in e.contents)e.contents.hasOwnProperty(n)&&t.push(n);return t},symlink:function(e,t,n){var r=MEMFS.createNode(e,t,41471,0);return r.link=n,r},readlink:function(e){if(!FS.isLink(e.mode))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return e.link}},stream_ops:{read:function(e,t,n,r,i){var o=e.node.contents;if(i>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-i,r);if(assert(a>=0),a>8&&o.subarray)t.set(o.subarray(i,i+a),n);else for(var s=0;s<a;s++)t[n+s]=o[i+s];return a},write:function(e,t,n,r,i,o){if(!r)return 0;var a=e.node;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(o)return a.contents=t.subarray(n,n+r),a.usedBytes=r,r;if(0===a.usedBytes&&0===i)return a.contents=new Uint8Array(t.subarray(n,n+r)),a.usedBytes=r,r;if(i+r<=a.usedBytes)return a.contents.set(t.subarray(n,n+r),i),r}if(MEMFS.expandFileStorage(a,i+r),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(n,n+r),i);else for(var s=0;s<r;s++)a.contents[i+s]=t[n+s];return a.usedBytes=Math.max(a.usedBytes,i+r),r},llseek:function(e,t,n){var r=t;if(1===n?r+=e.position:2===n&&FS.isFile(e.node.mode)&&(r+=e.node.usedBytes),r<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return r},allocate:function(e,t,n){MEMFS.expandFileStorage(e.node,t+n),e.node.usedBytes=Math.max(e.node.usedBytes,t+n)},mmap:function(e,t,n,r,i,o,a){if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);var s,c,l=e.node.contents;if(2&a||l.buffer!==t&&l.buffer!==t.buffer){if((i>0||i+r<e.node.usedBytes)&&(l=l.subarray?l.subarray(i,i+r):Array.prototype.slice.call(l,i,i+r)),c=!0,!(s=_malloc(r)))throw new FS.ErrnoError(ERRNO_CODES.ENOMEM);t.set(l,s)}else c=!1,s=l.byteOffset;return{ptr:s,allocated:c}},msync:function(e,t,n,r,i){if(!FS.isFile(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);if(2&i)return 0;MEMFS.stream_ops.write(e,t,0,r,n,!1);return 0}}},IDBFS={dbs:{},indexedDB:function(){if("undefined"!=typeof indexedDB)return indexedDB;var e=null;return"object"==typeof window&&(e=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),assert(e,"IDBFS used, but indexedDB not supported"),e},DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:function(e){return MEMFS.mount.apply(null,arguments)},syncfs:function(e,t,n){IDBFS.getLocalSet(e,(function(r,i){if(r)return n(r);IDBFS.getRemoteSet(e,(function(e,r){if(e)return n(e);var o=t?r:i,a=t?i:r;IDBFS.reconcile(o,a,n)}))}))},getDB:function(e,t){var n,r=IDBFS.dbs[e];if(r)return t(null,r);try{n=IDBFS.indexedDB().open(e,IDBFS.DB_VERSION)}catch(e){return t(e)}n.onupgradeneeded=function(e){var t,n=e.target.result,r=e.target.transaction;(t=n.objectStoreNames.contains(IDBFS.DB_STORE_NAME)?r.objectStore(IDBFS.DB_STORE_NAME):n.createObjectStore(IDBFS.DB_STORE_NAME)).indexNames.contains("timestamp")||t.createIndex("timestamp","timestamp",{unique:!1})},n.onsuccess=function(){r=n.result,IDBFS.dbs[e]=r,t(null,r)},n.onerror=function(e){t(this.error),e.preventDefault()}},getLocalSet:function(e,t){var n={};function r(e){return"."!==e&&".."!==e}function i(e){return function(t){return PATH.join2(e,t)}}for(var o=FS.readdir(e.mountpoint).filter(r).map(i(e.mountpoint));o.length;){var a,s=o.pop();try{a=FS.stat(s)}catch(e){return t(e)}FS.isDir(a.mode)&&o.push.apply(o,FS.readdir(s).filter(r).map(i(s))),n[s]={timestamp:a.mtime}}return t(null,{type:"local",entries:n})},getRemoteSet:function(e,t){var n={};IDBFS.getDB(e.mountpoint,(function(e,r){if(e)return t(e);var i=r.transaction([IDBFS.DB_STORE_NAME],"readonly");i.onerror=function(e){t(this.error),e.preventDefault()},i.objectStore(IDBFS.DB_STORE_NAME).index("timestamp").openKeyCursor().onsuccess=function(e){var i=e.target.result;if(!i)return t(null,{type:"remote",db:r,entries:n});n[i.primaryKey]={timestamp:i.key},i.continue()}}))},loadLocalEntry:function(e,t){var n,r;try{r=FS.lookupPath(e).node,n=FS.stat(e)}catch(e){return t(e)}return FS.isDir(n.mode)?t(null,{timestamp:n.mtime,mode:n.mode}):FS.isFile(n.mode)?(r.contents=MEMFS.getFileDataAsTypedArray(r),t(null,{timestamp:n.mtime,mode:n.mode,contents:r.contents})):t(new Error("node type not supported"))},storeLocalEntry:function(e,t,n){try{if(FS.isDir(t.mode))FS.mkdir(e,t.mode);else{if(!FS.isFile(t.mode))return n(new Error("node type not supported"));FS.writeFile(e,t.contents,{encoding:"binary",canOwn:!0})}FS.chmod(e,t.mode),FS.utime(e,t.timestamp,t.timestamp)}catch(e){return n(e)}n(null)},removeLocalEntry:function(e,t){try{FS.lookupPath(e);var n=FS.stat(e);FS.isDir(n.mode)?FS.rmdir(e):FS.isFile(n.mode)&&FS.unlink(e)}catch(e){return t(e)}t(null)},loadRemoteEntry:function(e,t,n){var r=e.get(t);r.onsuccess=function(e){n(null,e.target.result)},r.onerror=function(e){n(this.error),e.preventDefault()}},storeRemoteEntry:function(e,t,n,r){var i=e.put(n,t);i.onsuccess=function(){r(null)},i.onerror=function(e){r(this.error),e.preventDefault()}},removeRemoteEntry:function(e,t,n){var r=e.delete(t);r.onsuccess=function(){n(null)},r.onerror=function(e){n(this.error),e.preventDefault()}},reconcile:function(e,t,n){var r=0,i=[];Object.keys(e.entries).forEach((function(n){var o=e.entries[n],a=t.entries[n];(!a||o.timestamp>a.timestamp)&&(i.push(n),r++)}));var o=[];if(Object.keys(t.entries).forEach((function(n){t.entries[n];e.entries[n]||(o.push(n),r++)})),!r)return n(null);var a=0,s=("remote"===e.type?e.db:t.db).transaction([IDBFS.DB_STORE_NAME],"readwrite"),c=s.objectStore(IDBFS.DB_STORE_NAME);function l(e){return e?l.errored?void 0:(l.errored=!0,n(e)):++a>=r?n(null):void 0}s.onerror=function(e){l(this.error),e.preventDefault()},i.sort().forEach((function(e){"local"===t.type?IDBFS.loadRemoteEntry(c,e,(function(t,n){if(t)return l(t);IDBFS.storeLocalEntry(e,n,l)})):IDBFS.loadLocalEntry(e,(function(t,n){if(t)return l(t);IDBFS.storeRemoteEntry(c,e,n,l)}))})),o.sort().reverse().forEach((function(e){"local"===t.type?IDBFS.removeLocalEntry(e,l):IDBFS.removeRemoteEntry(c,e,l)}))}},NODEFS={isWindows:!1,staticInit:function(){NODEFS.isWindows=!!process.platform.match(/^win/)},mount:function(e){return assert(ENVIRONMENT_IS_NODE),NODEFS.createNode(null,"/",NODEFS.getMode(e.opts.root),0)},createNode:function(e,t,n,r){if(!FS.isDir(n)&&!FS.isFile(n)&&!FS.isLink(n))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var i=FS.createNode(e,t,n);return i.node_ops=NODEFS.node_ops,i.stream_ops=NODEFS.stream_ops,i},getMode:function(e){var t;try{t=fs.lstatSync(e),NODEFS.isWindows&&(t.mode=t.mode|(146&t.mode)>>1)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return t.mode},realPath:function(e){for(var t=[];e.parent!==e;)t.push(e.name),e=e.parent;return t.push(e.mount.opts.root),t.reverse(),PATH.join.apply(null,t)},flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:function(e){if(e&=-32769,(e&=-524289)in NODEFS.flagsToPermissionStringMap)return NODEFS.flagsToPermissionStringMap[e];throw new FS.ErrnoError(ERRNO_CODES.EINVAL)},node_ops:{getattr:function(e){var t,n=NODEFS.realPath(e);try{t=fs.lstatSync(n)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return NODEFS.isWindows&&!t.blksize&&(t.blksize=4096),NODEFS.isWindows&&!t.blocks&&(t.blocks=(t.size+t.blksize-1)/t.blksize|0),{dev:t.dev,ino:t.ino,mode:t.mode,nlink:t.nlink,uid:t.uid,gid:t.gid,rdev:t.rdev,size:t.size,atime:t.atime,mtime:t.mtime,ctime:t.ctime,blksize:t.blksize,blocks:t.blocks}},setattr:function(e,t){var n=NODEFS.realPath(e);try{if(void 0!==t.mode&&(fs.chmodSync(n,t.mode),e.mode=t.mode),void 0!==t.timestamp){var r=new Date(t.timestamp);fs.utimesSync(n,r,r)}void 0!==t.size&&fs.truncateSync(n,t.size)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},lookup:function(e,t){var n=PATH.join2(NODEFS.realPath(e),t),r=NODEFS.getMode(n);return NODEFS.createNode(e,t,r)},mknod:function(e,t,n,r){var i=NODEFS.createNode(e,t,n,r),o=NODEFS.realPath(i);try{FS.isDir(i.mode)?fs.mkdirSync(o,i.mode):fs.writeFileSync(o,"",{mode:i.mode})}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return i},rename:function(e,t,n){var r=NODEFS.realPath(e),i=PATH.join2(NODEFS.realPath(t),n);try{fs.renameSync(r,i)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},unlink:function(e,t){var n=PATH.join2(NODEFS.realPath(e),t);try{fs.unlinkSync(n)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},rmdir:function(e,t){var n=PATH.join2(NODEFS.realPath(e),t);try{fs.rmdirSync(n)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},readdir:function(e){var t=NODEFS.realPath(e);try{return fs.readdirSync(t)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},symlink:function(e,t,n){var r=PATH.join2(NODEFS.realPath(e),t);try{fs.symlinkSync(n,r)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},readlink:function(e){var t=NODEFS.realPath(e);try{return t=fs.readlinkSync(t),t=NODEJS_PATH.relative(NODEJS_PATH.resolve(e.mount.opts.root),t)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}},stream_ops:{open:function(e){var t=NODEFS.realPath(e.node);try{FS.isFile(e.node.mode)&&(e.nfd=fs.openSync(t,NODEFS.flagsToPermissionString(e.flags)))}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},close:function(e){try{FS.isFile(e.node.mode)&&e.nfd&&fs.closeSync(e.nfd)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}},read:function(e,t,n,r,i){if(0===r)return 0;var o,a=new Buffer(r);try{o=fs.readSync(e.nfd,a,0,r,i)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(o>0)for(var s=0;s<o;s++)t[n+s]=a[s];return o},write:function(e,t,n,r,i){var o,a=new Buffer(t.subarray(n,n+r));try{o=fs.writeSync(e.nfd,a,0,r,i)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}return o},llseek:function(e,t,n){var r=t;if(1===n)r+=e.position;else if(2===n&&FS.isFile(e.node.mode))try{r+=fs.fstatSync(e.nfd).size}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(r<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return r}}},WORKERFS={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(e){assert(ENVIRONMENT_IS_WORKER),WORKERFS.reader||(WORKERFS.reader=new FileReaderSync);var t=WORKERFS.createNode(null,"/",WORKERFS.DIR_MODE,0),n={};function r(e){for(var r=e.split("/"),i=t,o=0;o<r.length-1;o++){var a=r.slice(0,o+1).join("/");n[a]||(n[a]=WORKERFS.createNode(i,a,WORKERFS.DIR_MODE,0)),i=n[a]}return i}function i(e){var t=e.split("/");return t[t.length-1]}return Array.prototype.forEach.call(e.opts.files||[],(function(e){WORKERFS.createNode(r(e.name),i(e.name),WORKERFS.FILE_MODE,0,e,e.lastModifiedDate)})),(e.opts.blobs||[]).forEach((function(e){WORKERFS.createNode(r(e.name),i(e.name),WORKERFS.FILE_MODE,0,e.data)})),(e.opts.packages||[]).forEach((function(e){e.metadata.files.forEach((function(t){var n=t.filename.substr(1);WORKERFS.createNode(r(n),i(n),WORKERFS.FILE_MODE,0,e.blob.slice(t.start,t.end))}))})),t},createNode:function(e,t,n,r,i,o){var a=FS.createNode(e,t,n);return a.mode=n,a.node_ops=WORKERFS.node_ops,a.stream_ops=WORKERFS.stream_ops,a.timestamp=(o||new Date).getTime(),assert(WORKERFS.FILE_MODE!==WORKERFS.DIR_MODE),n===WORKERFS.FILE_MODE?(a.size=i.size,a.contents=i):(a.size=4096,a.contents={}),e&&(e.contents[t]=a),a},node_ops:{getattr:function(e){return{dev:1,ino:void 0,mode:e.mode,nlink:1,uid:0,gid:0,rdev:void 0,size:e.size,atime:new Date(e.timestamp),mtime:new Date(e.timestamp),ctime:new Date(e.timestamp),blksize:4096,blocks:Math.ceil(e.size/4096)}},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp)},lookup:function(e,t){throw new FS.ErrnoError(ERRNO_CODES.ENOENT)},mknod:function(e,t,n,r){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},rename:function(e,t,n){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},unlink:function(e,t){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},rmdir:function(e,t){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},readdir:function(e){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},symlink:function(e,t,n){throw new FS.ErrnoError(ERRNO_CODES.EPERM)},readlink:function(e){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}},stream_ops:{read:function(e,t,n,r,i){if(i>=e.node.size)return 0;var o=e.node.contents.slice(i,i+r),a=WORKERFS.reader.readAsArrayBuffer(o);return t.set(new Uint8Array(a),n),o.size},write:function(e,t,n,r,i){throw new FS.ErrnoError(ERRNO_CODES.EIO)},llseek:function(e,t,n){var r=t;if(1===n?r+=e.position:2===n&&FS.isFile(e.node.mode)&&(r+=e.node.size),r<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return r}}};STATICTOP+=16,STATICTOP+=16,STATICTOP+=16;var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)},lookupPath:function(e,t){if(t=t||{},!(e=PATH.resolve(FS.cwd(),e)))return{path:"",node:null};var n={follow_mount:!0,recurse_count:0};for(var r in n)void 0===t[r]&&(t[r]=n[r]);if(t.recurse_count>8)throw new FS.ErrnoError(ERRNO_CODES.ELOOP);for(var i=PATH.normalizeArray(e.split("/").filter((function(e){return!!e})),!1),o=FS.root,a="/",s=0;s<i.length;s++){var c=s===i.length-1;if(c&&t.parent)break;if(o=FS.lookupNode(o,i[s]),a=PATH.join2(a,i[s]),FS.isMountpoint(o)&&(!c||c&&t.follow_mount)&&(o=o.mounted.root),!c||t.follow)for(var l=0;FS.isLink(o.mode);){var f=FS.readlink(a);if(a=PATH.resolve(PATH.dirname(a),f),o=FS.lookupPath(a,{recurse_count:t.recurse_count}).node,l++>40)throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}return{path:a,node:o}},getPath:function(e){for(var t;;){if(FS.isRoot(e)){var n=e.mount.mountpoint;return t?"/"!==n[n.length-1]?n+"/"+t:n+t:n}t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:function(e,t){for(var n=0,r=0;r<t.length;r++)n=(n<<5)-n+t.charCodeAt(r)|0;return(e+n>>>0)%FS.nameTable.length},hashAddNode:function(e){var t=FS.hashName(e.parent.id,e.name);e.name_next=FS.nameTable[t],FS.nameTable[t]=e},hashRemoveNode:function(e){var t=FS.hashName(e.parent.id,e.name);if(FS.nameTable[t]===e)FS.nameTable[t]=e.name_next;else for(var n=FS.nameTable[t];n;){if(n.name_next===e){n.name_next=e.name_next;break}n=n.name_next}},lookupNode:function(e,t){var n=FS.mayLookup(e);if(n)throw new FS.ErrnoError(n,e);for(var r=FS.hashName(e.id,t),i=FS.nameTable[r];i;i=i.name_next){var o=i.name;if(i.parent.id===e.id&&o===t)return i}return FS.lookup(e,t)},createNode:function(e,t,n,r){if(!FS.FSNode){FS.FSNode=function(e,t,n,r){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=FS.nextInode++,this.name=t,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=r},FS.FSNode.prototype={};Object.defineProperties(FS.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return FS.isDir(this.mode)}},isDevice:{get:function(){return FS.isChrdev(this.mode)}}})}var i=new FS.FSNode(e,t,n,r);return FS.hashAddNode(i),i},destroyNode:function(e){FS.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768==(61440&e)},isDir:function(e){return 16384==(61440&e)},isLink:function(e){return 40960==(61440&e)},isChrdev:function(e){return 8192==(61440&e)},isBlkdev:function(e){return 24576==(61440&e)},isFIFO:function(e){return 4096==(61440&e)},isSocket:function(e){return 49152==(49152&e)},flagModes:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:function(e){var t=FS.flagModes[e];if(void 0===t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return FS.ignorePermissions?0:(-1===t.indexOf("r")||292&e.mode)&&(-1===t.indexOf("w")||146&e.mode)&&(-1===t.indexOf("x")||73&e.mode)?0:ERRNO_CODES.EACCES},mayLookup:function(e){var t=FS.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:ERRNO_CODES.EACCES)},mayCreate:function(e,t){try{FS.lookupNode(e,t);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(e,"wx")},mayDelete:function(e,t,n){var r;try{r=FS.lookupNode(e,t)}catch(e){return e.errno}var i=FS.nodePermissions(e,"wx");if(i)return i;if(n){if(!FS.isDir(r.mode))return ERRNO_CODES.ENOTDIR;if(FS.isRoot(r)||FS.getPath(r)===FS.cwd())return ERRNO_CODES.EBUSY}else if(FS.isDir(r.mode))return ERRNO_CODES.EISDIR;return 0},mayOpen:function(e,t){return e?FS.isLink(e.mode)?ERRNO_CODES.ELOOP:FS.isDir(e.mode)&&("r"!==FS.flagsToPermissionString(t)||512&t)?ERRNO_CODES.EISDIR:FS.nodePermissions(e,FS.flagsToPermissionString(t)):ERRNO_CODES.ENOENT},MAX_OPEN_FDS:4096,nextfd:function(e,t){e=e||0,t=t||FS.MAX_OPEN_FDS;for(var n=e;n<=t;n++)if(!FS.streams[n])return n;throw new FS.ErrnoError(ERRNO_CODES.EMFILE)},getStream:function(e){return FS.streams[e]},createStream:function(e,t,n){FS.FSStream||(FS.FSStream=function(){},FS.FSStream.prototype={},Object.defineProperties(FS.FSStream.prototype,{object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var r=new FS.FSStream;for(var i in e)r[i]=e[i];e=r;var o=FS.nextfd(t,n);return e.fd=o,FS.streams[o]=e,e},closeStream:function(e){FS.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=FS.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){FS.devices[e]={stream_ops:t}},getDevice:function(e){return FS.devices[e]},getMounts:function(e){for(var t=[],n=[e];n.length;){var r=n.pop();t.push(r),n.push.apply(n,r.mounts)}return t},syncfs:function(e,t){"function"==typeof e&&(t=e,e=!1),FS.syncFSRequests++,FS.syncFSRequests>1&&console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=FS.getMounts(FS.root.mount),r=0;function i(e){return assert(FS.syncFSRequests>0),FS.syncFSRequests--,t(e)}function o(e){if(e)return o.errored?void 0:(o.errored=!0,i(e));++r>=n.length&&i(null)}n.forEach((function(t){if(!t.type.syncfs)return o(null);t.type.syncfs(t,e,o)}))},mount:function(e,t,n){var r,i="/"===n,o=!n;if(i&&FS.root)throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(!i&&!o){var a=FS.lookupPath(n,{follow_mount:!1});if(n=a.path,r=a.node,FS.isMountpoint(r))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(!FS.isDir(r.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}var s={type:e,opts:t,mountpoint:n,mounts:[]},c=e.mount(s);return c.mount=s,s.root=c,i?FS.root=c:r&&(r.mounted=s,r.mount&&r.mount.mounts.push(s)),c},unmount:function(e){var t=FS.lookupPath(e,{follow_mount:!1});if(!FS.isMountpoint(t.node))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var n=t.node,r=n.mounted,i=FS.getMounts(r);Object.keys(FS.nameTable).forEach((function(e){for(var t=FS.nameTable[e];t;){var n=t.name_next;-1!==i.indexOf(t.mount)&&FS.destroyNode(t),t=n}})),n.mounted=null;var o=n.mount.mounts.indexOf(r);assert(-1!==o),n.mount.mounts.splice(o,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,n){var r=FS.lookupPath(e,{parent:!0}).node,i=PATH.basename(e);if(!i||"."===i||".."===i)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var o=FS.mayCreate(r,i);if(o)throw new FS.ErrnoError(o);if(!r.node_ops.mknod)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return r.node_ops.mknod(r,i,t,n)},create:function(e,t){return t=void 0!==t?t:438,t&=4095,t|=32768,FS.mknod(e,t,0)},mkdir:function(e,t){return t=void 0!==t?t:511,t&=1023,t|=16384,FS.mknod(e,t,0)},mkdev:function(e,t,n){return void 0===n&&(n=t,t=438),t|=8192,FS.mknod(e,t,n)},symlink:function(e,t){if(!PATH.resolve(e))throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var n=FS.lookupPath(t,{parent:!0}).node;if(!n)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var r=PATH.basename(t),i=FS.mayCreate(n,r);if(i)throw new FS.ErrnoError(i);if(!n.node_ops.symlink)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return n.node_ops.symlink(n,r,e)},rename:function(e,t){var n,r,i=PATH.dirname(e),o=PATH.dirname(t),a=PATH.basename(e),s=PATH.basename(t);try{n=FS.lookupPath(e,{parent:!0}).node,r=FS.lookupPath(t,{parent:!0}).node}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!n||!r)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(n.mount!==r.mount)throw new FS.ErrnoError(ERRNO_CODES.EXDEV);var c,l=FS.lookupNode(n,a),f=PATH.relative(e,o);if("."!==f.charAt(0))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if("."!==(f=PATH.relative(t,i)).charAt(0))throw new FS.ErrnoError(ERRNO_CODES.ENOTEMPTY);try{c=FS.lookupNode(r,s)}catch(e){}if(l!==c){var u=FS.isDir(l.mode),d=FS.mayDelete(n,a,u);if(d)throw new FS.ErrnoError(d);if(d=c?FS.mayDelete(r,s,u):FS.mayCreate(r,s))throw new FS.ErrnoError(d);if(!n.node_ops.rename)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(l)||c&&FS.isMountpoint(c))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);if(r!==n&&(d=FS.nodePermissions(n,"w")))throw new FS.ErrnoError(d);try{FS.trackingDelegate.willMovePath&&FS.trackingDelegate.willMovePath(e,t)}catch(n){console.log("FS.trackingDelegate['willMovePath']('"+e+"', '"+t+"') threw an exception: "+n.message)}FS.hashRemoveNode(l);try{n.node_ops.rename(l,r,s)}catch(e){throw e}finally{FS.hashAddNode(l)}try{FS.trackingDelegate.onMovePath&&FS.trackingDelegate.onMovePath(e,t)}catch(n){console.log("FS.trackingDelegate['onMovePath']('"+e+"', '"+t+"') threw an exception: "+n.message)}}},rmdir:function(e){var t=FS.lookupPath(e,{parent:!0}).node,n=PATH.basename(e),r=FS.lookupNode(t,n),i=FS.mayDelete(t,n,!0);if(i)throw new FS.ErrnoError(i);if(!t.node_ops.rmdir)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(r))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);try{FS.trackingDelegate.willDeletePath&&FS.trackingDelegate.willDeletePath(e)}catch(t){console.log("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+t.message)}t.node_ops.rmdir(t,n),FS.destroyNode(r);try{FS.trackingDelegate.onDeletePath&&FS.trackingDelegate.onDeletePath(e)}catch(t){console.log("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+t.message)}},readdir:function(e){var t=FS.lookupPath(e,{follow:!0}).node;if(!t.node_ops.readdir)throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);return t.node_ops.readdir(t)},unlink:function(e){var t=FS.lookupPath(e,{parent:!0}).node,n=PATH.basename(e),r=FS.lookupNode(t,n),i=FS.mayDelete(t,n,!1);if(i)throw i===ERRNO_CODES.EISDIR&&(i=ERRNO_CODES.EPERM),new FS.ErrnoError(i);if(!t.node_ops.unlink)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isMountpoint(r))throw new FS.ErrnoError(ERRNO_CODES.EBUSY);try{FS.trackingDelegate.willDeletePath&&FS.trackingDelegate.willDeletePath(e)}catch(t){console.log("FS.trackingDelegate['willDeletePath']('"+e+"') threw an exception: "+t.message)}t.node_ops.unlink(t,n),FS.destroyNode(r);try{FS.trackingDelegate.onDeletePath&&FS.trackingDelegate.onDeletePath(e)}catch(t){console.log("FS.trackingDelegate['onDeletePath']('"+e+"') threw an exception: "+t.message)}},readlink:function(e){var t=FS.lookupPath(e).node;if(!t)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(!t.node_ops.readlink)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);return PATH.resolve(FS.getPath(t.parent),t.node_ops.readlink(t))},stat:function(e,t){var n=FS.lookupPath(e,{follow:!t}).node;if(!n)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(!n.node_ops.getattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);return n.node_ops.getattr(n)},lstat:function(e){return FS.stat(e,!0)},chmod:function(e,t,n){var r;"string"==typeof e?r=FS.lookupPath(e,{follow:!n}).node:r=e;if(!r.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);r.node_ops.setattr(r,{mode:4095&t|-4096&r.mode,timestamp:Date.now()})},lchmod:function(e,t){FS.chmod(e,t,!0)},fchmod:function(e,t){var n=FS.getStream(e);if(!n)throw new FS.ErrnoError(ERRNO_CODES.EBADF);FS.chmod(n.node,t)},chown:function(e,t,n,r){var i;"string"==typeof e?i=FS.lookupPath(e,{follow:!r}).node:i=e;if(!i.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);i.node_ops.setattr(i,{timestamp:Date.now()})},lchown:function(e,t,n){FS.chown(e,t,n,!0)},fchown:function(e,t,n){var r=FS.getStream(e);if(!r)throw new FS.ErrnoError(ERRNO_CODES.EBADF);FS.chown(r.node,t,n)},truncate:function(e,t){if(t<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var n;"string"==typeof e?n=FS.lookupPath(e,{follow:!0}).node:n=e;if(!n.node_ops.setattr)throw new FS.ErrnoError(ERRNO_CODES.EPERM);if(FS.isDir(n.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!FS.isFile(n.mode))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var r=FS.nodePermissions(n,"w");if(r)throw new FS.ErrnoError(r);n.node_ops.setattr(n,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){var n=FS.getStream(e);if(!n)throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(0==(2097155&n.flags))throw new FS.ErrnoError(ERRNO_CODES.EINVAL);FS.truncate(n.node,t)},utime:function(e,t,n){var r=FS.lookupPath(e,{follow:!0}).node;r.node_ops.setattr(r,{timestamp:Math.max(t,n)})},open:function(e,t,n,r,i){if(""===e)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);var o;if(n=void 0===n?438:n,n=64&(t="string"==typeof t?FS.modeStringToFlags(t):t)?4095&n|32768:0,"object"==typeof e)o=e;else{e=PATH.normalize(e);try{o=FS.lookupPath(e,{follow:!(131072&t)}).node}catch(e){}}var a=!1;if(64&t)if(o){if(128&t)throw new FS.ErrnoError(ERRNO_CODES.EEXIST)}else o=FS.mknod(e,n,0),a=!0;if(!o)throw new FS.ErrnoError(ERRNO_CODES.ENOENT);if(FS.isChrdev(o.mode)&&(t&=-513),65536&t&&!FS.isDir(o.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);if(!a){var s=FS.mayOpen(o,t);if(s)throw new FS.ErrnoError(s)}512&t&&FS.truncate(o,0),t&=-641;var c=FS.createStream({node:o,path:FS.getPath(o),flags:t,seekable:!0,position:0,stream_ops:o.stream_ops,ungotten:[],error:!1},r,i);c.stream_ops.open&&c.stream_ops.open(c),!Module.logReadFiles||1&t||(FS.readFiles||(FS.readFiles={}),e in FS.readFiles||(FS.readFiles[e]=1,Module.printErr("read file: "+e)));try{if(FS.trackingDelegate.onOpenFile){var l=0;1!=(2097155&t)&&(l|=FS.tracking.openFlags.READ),0!=(2097155&t)&&(l|=FS.tracking.openFlags.WRITE),FS.trackingDelegate.onOpenFile(e,l)}}catch(t){console.log("FS.trackingDelegate['onOpenFile']('"+e+"', flags) threw an exception: "+t.message)}return c},close:function(e){e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{FS.closeStream(e.fd)}},llseek:function(e,t,n){if(!e.seekable||!e.stream_ops.llseek)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);return e.position=e.stream_ops.llseek(e,t,n),e.ungotten=[],e.position},read:function(e,t,n,r,i){if(r<0||i<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(1==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.read)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);var o=!0;if(void 0===i)i=e.position,o=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var a=e.stream_ops.read(e,t,n,r,i);return o||(e.position+=a),a},write:function(e,t,n,r,i,o){if(r<0||i<0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(FS.isDir(e.node.mode))throw new FS.ErrnoError(ERRNO_CODES.EISDIR);if(!e.stream_ops.write)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);1024&e.flags&&FS.llseek(e,0,2);var a=!0;if(void 0===i)i=e.position,a=!1;else if(!e.seekable)throw new FS.ErrnoError(ERRNO_CODES.ESPIPE);var s=e.stream_ops.write(e,t,n,r,i,o);a||(e.position+=s);try{e.path&&FS.trackingDelegate.onWriteToFile&&FS.trackingDelegate.onWriteToFile(e.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return s},allocate:function(e,t,n){if(t<0||n<=0)throw new FS.ErrnoError(ERRNO_CODES.EINVAL);if(0==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EBADF);if(!FS.isFile(e.node.mode)&&!FS.isDir(node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENODEV);if(!e.stream_ops.allocate)throw new FS.ErrnoError(ERRNO_CODES.EOPNOTSUPP);e.stream_ops.allocate(e,t,n)},mmap:function(e,t,n,r,i,o,a){if(1==(2097155&e.flags))throw new FS.ErrnoError(ERRNO_CODES.EACCES);if(!e.stream_ops.mmap)throw new FS.ErrnoError(ERRNO_CODES.ENODEV);return e.stream_ops.mmap(e,t,n,r,i,o,a)},msync:function(e,t,n,r,i){return e&&e.stream_ops.msync?e.stream_ops.msync(e,t,n,r,i):0},munmap:function(e){return 0},ioctl:function(e,t,n){if(!e.stream_ops.ioctl)throw new FS.ErrnoError(ERRNO_CODES.ENOTTY);return e.stream_ops.ioctl(e,t,n)},readFile:function(e,t){if((t=t||{}).flags=t.flags||"r",t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var n,r=FS.open(e,t.flags),i=FS.stat(e).size,o=new Uint8Array(i);return FS.read(r,o,0,i,0),"utf8"===t.encoding?n=UTF8ArrayToString(o,0):"binary"===t.encoding&&(n=o),FS.close(r),n},writeFile:function(e,t,n){if((n=n||{}).flags=n.flags||"w",n.encoding=n.encoding||"utf8","utf8"!==n.encoding&&"binary"!==n.encoding)throw new Error('Invalid encoding type "'+n.encoding+'"');var r=FS.open(e,n.flags,n.mode);if("utf8"===n.encoding){var i=new Uint8Array(lengthBytesUTF8(t)+1),o=stringToUTF8Array(t,i,0,i.length);FS.write(r,i,0,o,0,n.canOwn)}else"binary"===n.encoding&&FS.write(r,t,0,t.length,0,n.canOwn);FS.close(r)},cwd:function(){return FS.currentPath},chdir:function(e){var t=FS.lookupPath(e,{follow:!0});if(!FS.isDir(t.node.mode))throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR);var n=FS.nodePermissions(t.node,"x");if(n)throw new FS.ErrnoError(n);FS.currentPath=t.path},createDefaultDirectories:function(){FS.mkdir("/tmp"),FS.mkdir("/home"),FS.mkdir("/home/web_user")},createDefaultDevices:function(){var e;if(FS.mkdir("/dev"),FS.registerDevice(FS.makedev(1,3),{read:function(){return 0},write:function(e,t,n,r,i){return r}}),FS.mkdev("/dev/null",FS.makedev(1,3)),TTY.register(FS.makedev(5,0),TTY.default_tty_ops),TTY.register(FS.makedev(6,0),TTY.default_tty1_ops),FS.mkdev("/dev/tty",FS.makedev(5,0)),FS.mkdev("/dev/tty1",FS.makedev(6,0)),"undefined"!=typeof crypto){var t=new Uint8Array(1);e=function(){return crypto.getRandomValues(t),t[0]}}else e=ENVIRONMENT_IS_NODE?function(){return __webpack_require__(284).randomBytes(1)[0]}:function(){return 256*Math.random()|0};FS.createDevice("/dev","random",e),FS.createDevice("/dev","urandom",e),FS.mkdir("/dev/shm"),FS.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){FS.mkdir("/proc"),FS.mkdir("/proc/self"),FS.mkdir("/proc/self/fd"),FS.mount({mount:function(){var e=FS.createNode("/proc/self","fd",16895,73);return e.node_ops={lookup:function(e,t){var n=+t,r=FS.getStream(n);if(!r)throw new FS.ErrnoError(ERRNO_CODES.EBADF);var i={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return r.path}}};return i.parent=i,i}},e}},{},"/proc/self/fd")},createStandardStreams:function(){Module.stdin?FS.createDevice("/dev","stdin",Module.stdin):FS.symlink("/dev/tty","/dev/stdin"),Module.stdout?FS.createDevice("/dev","stdout",null,Module.stdout):FS.symlink("/dev/tty","/dev/stdout"),Module.stderr?FS.createDevice("/dev","stderr",null,Module.stderr):FS.symlink("/dev/tty1","/dev/stderr");var e=FS.open("/dev/stdin","r");assert(0===e.fd,"invalid handle for stdin ("+e.fd+")");var t=FS.open("/dev/stdout","w");assert(1===t.fd,"invalid handle for stdout ("+t.fd+")");var n=FS.open("/dev/stderr","w");assert(2===n.fd,"invalid handle for stderr ("+n.fd+")")},ensureErrnoError:function(){FS.ErrnoError||(FS.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){for(var t in this.errno=e,ERRNO_CODES)if(ERRNO_CODES[t]===e){this.code=t;break}},this.setErrno(e),this.message=ERRNO_MESSAGES[e]},FS.ErrnoError.prototype=new Error,FS.ErrnoError.prototype.constructor=FS.ErrnoError,[ERRNO_CODES.ENOENT].forEach((function(e){FS.genericErrors[e]=new FS.ErrnoError(e),FS.genericErrors[e].stack="<generic error, no stack>"})))},staticInit:function(){FS.ensureErrnoError(),FS.nameTable=new Array(4096),FS.mount(MEMFS,{},"/"),FS.createDefaultDirectories(),FS.createDefaultDevices(),FS.createSpecialDirectories(),FS.filesystems={MEMFS:MEMFS,IDBFS:IDBFS,NODEFS:NODEFS,WORKERFS:WORKERFS}},init:function(e,t,n){assert(!FS.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),FS.init.initialized=!0,FS.ensureErrnoError(),Module.stdin=e||Module.stdin,Module.stdout=t||Module.stdout,Module.stderr=n||Module.stderr,FS.createStandardStreams()},quit:function(){FS.init.initialized=!1;var e=Module._fflush;e&&e(0);for(var t=0;t<FS.streams.length;t++){var n=FS.streams[t];n&&FS.close(n)}},getMode:function(e,t){var n=0;return e&&(n|=365),t&&(n|=146),n},joinPath:function(e,t){var n=PATH.join.apply(null,e);return t&&"/"==n[0]&&(n=n.substr(1)),n},absolutePath:function(e,t){return PATH.resolve(t,e)},standardizePath:function(e){return PATH.normalize(e)},findObject:function(e,t){var n=FS.analyzePath(e,t);return n.exists?n.object:(___setErrNo(n.error),null)},analyzePath:function(e,t){try{e=(r=FS.lookupPath(e,{follow:!t})).path}catch(e){}var n={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var r=FS.lookupPath(e,{parent:!0});n.parentExists=!0,n.parentPath=r.path,n.parentObject=r.node,n.name=PATH.basename(e),r=FS.lookupPath(e,{follow:!t}),n.exists=!0,n.path=r.path,n.object=r.node,n.name=r.node.name,n.isRoot="/"===r.path}catch(e){n.error=e.errno}return n},createFolder:function(e,t,n,r){var i=PATH.join2("string"==typeof e?e:FS.getPath(e),t),o=FS.getMode(n,r);return FS.mkdir(i,o)},createPath:function(e,t,n,r){e="string"==typeof e?e:FS.getPath(e);for(var i=t.split("/").reverse();i.length;){var o=i.pop();if(o){var a=PATH.join2(e,o);try{FS.mkdir(a)}catch(e){}e=a}}return a},createFile:function(e,t,n,r,i){var o=PATH.join2("string"==typeof e?e:FS.getPath(e),t),a=FS.getMode(r,i);return FS.create(o,a)},createDataFile:function(e,t,n,r,i,o){var a=t?PATH.join2("string"==typeof e?e:FS.getPath(e),t):e,s=FS.getMode(r,i),c=FS.create(a,s);if(n){if("string"==typeof n){for(var l=new Array(n.length),f=0,u=n.length;f<u;++f)l[f]=n.charCodeAt(f);n=l}FS.chmod(c,146|s);var d=FS.open(c,"w");FS.write(d,n,0,n.length,0,o),FS.close(d),FS.chmod(c,s)}return c},createDevice:function(e,t,n,r){var i=PATH.join2("string"==typeof e?e:FS.getPath(e),t),o=FS.getMode(!!n,!!r);FS.createDevice.major||(FS.createDevice.major=64);var a=FS.makedev(FS.createDevice.major++,0);return FS.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){r&&r.buffer&&r.buffer.length&&r(10)},read:function(e,t,r,i,o){for(var a=0,s=0;s<i;s++){var c;try{c=n()}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}if(void 0===c&&0===a)throw new FS.ErrnoError(ERRNO_CODES.EAGAIN);if(null==c)break;a++,t[r+s]=c}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,n,i,o){for(var a=0;a<i;a++)try{r(t[n+a])}catch(e){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return i&&(e.node.timestamp=Date.now()),a}}),FS.mkdev(i,o,a)},createLink:function(e,t,n,r,i){var o=PATH.join2("string"==typeof e?e:FS.getPath(e),t);return FS.symlink(n,o)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;var t=!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!Module.read)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=intArrayFromString(Module.read(e.url),!0),e.usedBytes=e.contents.length}catch(e){t=!1}return t||___setErrNo(ERRNO_CODES.EIO),t},createLazyFile:function(e,t,n,r,i){function o(){this.lengthKnown=!1,this.chunks=[]}if(o.prototype.get=function(e){if(!(e>this.length-1||e<0)){var t=e%this.chunkSize,n=e/this.chunkSize|0;return this.getter(n)[t]}},o.prototype.setDataGetter=function(e){this.getter=e},o.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",n,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+n+". Status: "+e.status);var t,r=Number(e.getResponseHeader("Content-length")),i=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,o=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,a=1048576;i||(a=r);var s=this;s.setDataGetter((function(e){var t=e*a,i=(e+1)*a-1;if(i=Math.min(i,r-1),void 0===s.chunks[e]&&(s.chunks[e]=function(e,t){if(e>t)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(t>r-1)throw new Error("only "+r+" bytes available! programmer error!");var i=new XMLHttpRequest;if(i.open("GET",n,!1),r!==a&&i.setRequestHeader("Range","bytes="+e+"-"+t),"undefined"!=typeof Uint8Array&&(i.responseType="arraybuffer"),i.overrideMimeType&&i.overrideMimeType("text/plain; charset=x-user-defined"),i.send(null),!(i.status>=200&&i.status<300||304===i.status))throw new Error("Couldn't load "+n+". Status: "+i.status);return void 0!==i.response?new Uint8Array(i.response||[]):intArrayFromString(i.responseText||"",!0)}(t,i)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]})),!o&&r||(a=r=1,r=this.getter(0).length,a=r,console.log("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=r,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new o;Object.defineProperties(a,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:a}}else s={isDevice:!1,url:n};var c=FS.createFile(e,t,s,r,i);s.contents?c.contents=s.contents:s.url&&(c.contents=null,c.url=s.url),Object.defineProperties(c,{usedBytes:{get:function(){return this.contents.length}}});var l={};return Object.keys(c.stream_ops).forEach((function(e){var t=c.stream_ops[e];l[e]=function(){if(!FS.forceLoadFile(c))throw new FS.ErrnoError(ERRNO_CODES.EIO);return t.apply(null,arguments)}})),l.read=function(e,t,n,r,i){if(!FS.forceLoadFile(c))throw new FS.ErrnoError(ERRNO_CODES.EIO);var o=e.node.contents;if(i>=o.length)return 0;var a=Math.min(o.length-i,r);if(assert(a>=0),o.slice)for(var s=0;s<a;s++)t[n+s]=o[i+s];else for(s=0;s<a;s++)t[n+s]=o.get(i+s);return a},c.stream_ops=l,c},createPreloadedFile:function(e,t,n,r,i,o,a,s,c,l){Browser.init();var f=t?PATH.resolve(PATH.join2(e,t)):e,u=getUniqueRunDependency("cp "+f);function d(n){function d(n){l&&l(),s||FS.createDataFile(e,t,n,r,i,c),o&&o(),removeRunDependency(u)}var h=!1;Module.preloadPlugins.forEach((function(e){h||e.canHandle(f)&&(e.handle(n,f,d,(function(){a&&a(),removeRunDependency(u)})),h=!0)})),h||d(n)}addRunDependency(u),"string"==typeof n?Browser.asyncLoad(n,(function(e){d(e)}),a):d(n)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,t,n){t=t||function(){},n=n||function(){};var r=FS.indexedDB();try{var i=r.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return n(e)}i.onupgradeneeded=function(){console.log("creating db"),i.result.createObjectStore(FS.DB_STORE_NAME)},i.onsuccess=function(){var r=i.result.transaction([FS.DB_STORE_NAME],"readwrite"),o=r.objectStore(FS.DB_STORE_NAME),a=0,s=0,c=e.length;function l(){0==s?t():n()}e.forEach((function(e){var t=o.put(FS.analyzePath(e).object.contents,e);t.onsuccess=function(){++a+s==c&&l()},t.onerror=function(){s++,a+s==c&&l()}})),r.onerror=n},i.onerror=n},loadFilesFromDB:function(e,t,n){t=t||function(){},n=n||function(){};var r=FS.indexedDB();try{var i=r.open(FS.DB_NAME(),FS.DB_VERSION)}catch(e){return n(e)}i.onupgradeneeded=n,i.onsuccess=function(){var r=i.result;try{var o=r.transaction([FS.DB_STORE_NAME],"readonly")}catch(e){return void n(e)}var a=o.objectStore(FS.DB_STORE_NAME),s=0,c=0,l=e.length;function f(){0==c?t():n()}e.forEach((function(e){var t=a.get(e);t.onsuccess=function(){FS.analyzePath(e).exists&&FS.unlink(e),FS.createDataFile(PATH.dirname(e),PATH.basename(e),t.result,!0,!0,!0),++s+c==l&&f()},t.onerror=function(){c++,s+c==l&&f()}})),o.onerror=n},i.onerror=n}},SYSCALLS={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:function(e,t){if("/"!==t[0]){var n;if(-100===e)n=FS.cwd();else{var r=FS.getStream(e);if(!r)throw new FS.ErrnoError(ERRNO_CODES.EBADF);n=r.path}t=PATH.join2(n,t)}return t},doStat:function(e,t,n){try{var r=e(t)}catch(e){if(e&&e.node&&PATH.normalize(t)!==PATH.normalize(FS.getPath(e.node)))return-ERRNO_CODES.ENOTDIR;throw e}return HEAP32[n>>2]=r.dev,HEAP32[n+4>>2]=0,HEAP32[n+8>>2]=r.ino,HEAP32[n+12>>2]=r.mode,HEAP32[n+16>>2]=r.nlink,HEAP32[n+20>>2]=r.uid,HEAP32[n+24>>2]=r.gid,HEAP32[n+28>>2]=r.rdev,HEAP32[n+32>>2]=0,HEAP32[n+36>>2]=r.size,HEAP32[n+40>>2]=4096,HEAP32[n+44>>2]=r.blocks,HEAP32[n+48>>2]=r.atime.getTime()/1e3|0,HEAP32[n+52>>2]=0,HEAP32[n+56>>2]=r.mtime.getTime()/1e3|0,HEAP32[n+60>>2]=0,HEAP32[n+64>>2]=r.ctime.getTime()/1e3|0,HEAP32[n+68>>2]=0,HEAP32[n+72>>2]=r.ino,0},doMsync:function(e,t,n,r){var i=new Uint8Array(HEAPU8.subarray(e,e+n));FS.msync(t,i,0,n,r)},doMkdir:function(e,t){return"/"===(e=PATH.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),FS.mkdir(e,t,0),0},doMknod:function(e,t,n){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}return FS.mknod(e,t,n),0},doReadlink:function(e,t,n){if(n<=0)return-ERRNO_CODES.EINVAL;var r=FS.readlink(e);return writeStringToMemory(r=r.slice(0,Math.max(0,n)),t,!0),r.length},doAccess:function(e,t){if(-8&t)return-ERRNO_CODES.EINVAL;var n;n=FS.lookupPath(e,{follow:!0}).node;var r="";return 4&t&&(r+="r"),2&t&&(r+="w"),1&t&&(r+="x"),r&&FS.nodePermissions(n,r)?-ERRNO_CODES.EACCES:0},doDup:function(e,t,n){var r=FS.getStream(n);return r&&FS.close(r),FS.open(e,t,0,n,n).fd},doReadv:function(e,t,n,r){for(var i=0,o=0;o<n;o++){var a=HEAP32[t+8*o>>2],s=HEAP32[t+(8*o+4)>>2],c=FS.read(e,HEAP8,a,s,r);if(c<0)return-1;if(i+=c,c<s)break}return i},doWritev:function(e,t,n,r){for(var i=0,o=0;o<n;o++){var a=HEAP32[t+8*o>>2],s=HEAP32[t+(8*o+4)>>2],c=FS.write(e,HEAP8,a,s,r);if(c<0)return-1;i+=c}return i},varargs:0,get:function(e){return SYSCALLS.varargs+=4,HEAP32[SYSCALLS.varargs-4>>2]},getStr:function(){return Pointer_stringify(SYSCALLS.get())},getStreamFromFD:function(){var e=FS.getStream(SYSCALLS.get());if(!e)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return e},getSocketFromFD:function(){var e=SOCKFS.getSocket(SYSCALLS.get());if(!e)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return e},getSocketAddress:function(e){var t=SYSCALLS.get(),n=SYSCALLS.get();if(e&&0===t)return null;var r=__read_sockaddr(t,n);if(r.errno)throw new FS.ErrnoError(r.errno);return r.addr=DNS.lookup_addr(r.addr)||r.addr,r},get64:function(){var e=SYSCALLS.get(),t=SYSCALLS.get();return assert(e>=0?0===t:-1===t),e},getZero:function(){assert(0===SYSCALLS.get())}};function ___syscall10(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStr();return FS.unlink(n),0}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function _pthread_cleanup_pop(){assert(_pthread_cleanup_push.level==__ATEXIT__.length,"cannot pop if something else added meanwhile!"),__ATEXIT__.pop(),_pthread_cleanup_push.level=__ATEXIT__.length}function _abort(){Module.abort()}function _pthread_self(){return 0}function ___syscall5(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStr(),r=SYSCALLS.get(),i=SYSCALLS.get();return FS.open(n,r,i).fd}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___lock(){}function ___unlock(){}function ___syscall6(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD();return FS.close(n),0}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}Module._bitshift64Shl=_bitshift64Shl;var _llvm_fabs_f64=Math_abs;function _sbrk(e){var t=_sbrk;t.called||(DYNAMICTOP=alignMemoryPage(DYNAMICTOP),t.called=!0,assert(Runtime.dynamicAlloc),t.alloc=Runtime.dynamicAlloc,Runtime.dynamicAlloc=function(){abort("cannot dynamically allocate, sbrk now has control")});var n=DYNAMICTOP;if(0!=e&&!t.alloc(e))return-1>>>0;return n}function _emscripten_memcpy_big(e,t,n){return HEAPU8.set(HEAPU8.subarray(t,t+n),e),e}function __exit(e){Module.exit(e)}function _exit(e){__exit(e)}function ___syscall40(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStr();return FS.rmdir(n),0}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function _time(e){var t=Date.now()/1e3|0;return e&&(HEAP32[e>>2]=t),t}function ___syscall140(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(),r=SYSCALLS.get(),i=SYSCALLS.get(),o=SYSCALLS.get(),a=SYSCALLS.get(),s=i;return assert(0===r),FS.llseek(n,s,a),HEAP32[o>>2]=n.position,n.getdents&&0===s&&0===a&&(n.getdents=null),0}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall146(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(),r=SYSCALLS.get(),i=SYSCALLS.get();return SYSCALLS.doWritev(n,r,i)}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall54(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(),r=SYSCALLS.get();switch(r){case 21505:case 21506:return n.tty?0:-ERRNO_CODES.ENOTTY;case 21519:if(!n.tty)return-ERRNO_CODES.ENOTTY;var i=SYSCALLS.get();return HEAP32[i>>2]=0,0;case 21520:return n.tty?-ERRNO_CODES.EINVAL:-ERRNO_CODES.ENOTTY;case 21531:i=SYSCALLS.get();return FS.ioctl(n,r,i);default:abort("bad ioctl syscall "+r)}}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall221(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD();switch(SYSCALLS.get()){case 0:return(r=SYSCALLS.get())<0?-ERRNO_CODES.EINVAL:FS.open(n.path,n.flags,0,r).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var r=SYSCALLS.get();return n.flags|=r,0;case 12:case 12:r=SYSCALLS.get();return HEAP16[r+0>>1]=2,0;case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:return ___setErrNo(ERRNO_CODES.EINVAL),-1;default:return-ERRNO_CODES.EINVAL}}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}function ___syscall145(e,t){SYSCALLS.varargs=t;try{var n=SYSCALLS.getStreamFromFD(),r=SYSCALLS.get(),i=SYSCALLS.get();return SYSCALLS.doReadv(n,r,i)}catch(e){return void 0!==FS&&e instanceof FS.ErrnoError||abort(e),-e.errno}}if(Module._i64Add=_i64Add,Module._memcpy=_memcpy,Module._memmove=_memmove,Module._llvm_bswap_i32=_llvm_bswap_i32,FS.staticInit(),__ATINIT__.unshift((function(){Module.noFSInit||FS.init.initialized||FS.init()})),__ATMAIN__.push((function(){FS.ignorePermissions=!1})),__ATEXIT__.push((function(){FS.quit()})),Module.FS_createFolder=FS.createFolder,Module.FS_createPath=FS.createPath,Module.FS_createDataFile=FS.createDataFile,Module.FS_createPreloadedFile=FS.createPreloadedFile,Module.FS_createLazyFile=FS.createLazyFile,Module.FS_createLink=FS.createLink,Module.FS_createDevice=FS.createDevice,Module.FS_unlink=FS.unlink,__ATINIT__.unshift((function(){TTY.init()})),__ATEXIT__.push((function(){TTY.shutdown()})),ENVIRONMENT_IS_NODE){var fs=__webpack_require__(200),NODEJS_PATH=__webpack_require__(142);NODEFS.staticInit()}STACK_BASE=STACKTOP=Runtime.alignMemory(STATICTOP),staticSealed=!0,STACK_MAX=STACK_BASE+TOTAL_STACK,DYNAMIC_BASE=DYNAMICTOP=Runtime.alignMemory(STACK_MAX);var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_DYNAMIC);function invoke_iiii(e,t,n,r){try{return Module.dynCall_iiii(e,t,n,r)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_vi(e,t){try{Module.dynCall_vi(e,t)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_viddi(e,t,n,r,i){try{Module.dynCall_viddi(e,t,n,r,i)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_ii(e,t){try{return Module.dynCall_ii(e,t)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_iii(e,t,n){try{return Module.dynCall_iii(e,t,n)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}function invoke_viiii(e,t,n,r,i){try{Module.dynCall_viiii(e,t,n,r,i)}catch(e){if("number"!=typeof e&&"longjmp"!==e)throw e;asm.setThrew(1,0)}}Module.asmGlobalArg={Math:Math,Int8Array:Int8Array,Int16Array:Int16Array,Int32Array:Int32Array,Uint8Array:Uint8Array,Uint16Array:Uint16Array,Uint32Array:Uint32Array,Float32Array:Float32Array,Float64Array:Float64Array,NaN:NaN,Infinity:1/0},Module.asmLibraryArg={abort:abort,assert:assert,invoke_iiii:invoke_iiii,invoke_vi:invoke_vi,invoke_viddi:invoke_viddi,invoke_ii:invoke_ii,invoke_iii:invoke_iii,invoke_viiii:invoke_viiii,_pthread_cleanup_pop:_pthread_cleanup_pop,___syscall221:___syscall221,_abort:_abort,___syscall40:___syscall40,_llvm_fabs_f64:_llvm_fabs_f64,___syscall5:___syscall5,___setErrNo:___setErrNo,_sbrk:_sbrk,_emscripten_memcpy_big:_emscripten_memcpy_big,_sysconf:_sysconf,_pthread_self:_pthread_self,___syscall54:___syscall54,___unlock:___unlock,___syscall10:___syscall10,__exit:__exit,___lock:___lock,___syscall6:___syscall6,_pthread_cleanup_push:_pthread_cleanup_push,_time:_time,___syscall140:___syscall140,_exit:_exit,___syscall145:___syscall145,___syscall146:___syscall146,STACKTOP:STACKTOP,STACK_MAX:STACK_MAX,tempDoublePtr:tempDoublePtr,ABORT:ABORT,cttz_i8:cttz_i8};var asm=function(e,t,n){"use asm";var r=new e.Int8Array(n);var i=new e.Int16Array(n);var o=new e.Int32Array(n);var a=new e.Uint8Array(n);var s=new e.Uint16Array(n);var c=new e.Uint32Array(n);var l=new e.Float32Array(n);var f=new e.Float64Array(n);var u=t.STACKTOP|0;var d=t.STACK_MAX|0;var h=t.tempDoublePtr|0;var p=t.ABORT|0;var b=t.cttz_i8|0;var m=0;var v=0;var g=0;var y=0;var w=e.NaN,S=e.Infinity;var A=0,E=0,_=0,k=0,x=0.0,M=0,T=0,C=0,O=0.0;var R=0;var N=0;var I=0;var D=0;var P=0;var F=0;var L=0;var j=0;var B=0;var U=0;var z=e.Math.floor;var H=e.Math.abs;var q=e.Math.sqrt;var V=e.Math.pow;var K=e.Math.cos;var W=e.Math.sin;var Y=e.Math.tan;var G=e.Math.acos;var J=e.Math.asin;var Z=e.Math.atan;var X=e.Math.atan2;var Q=e.Math.exp;var $=e.Math.log;var ee=e.Math.ceil;var te=e.Math.imul;var ne=e.Math.min;var re=e.Math.clz32;var ie=t.abort;var oe=t.assert;var ae=t.invoke_iiii;var se=t.invoke_vi;var ce=t.invoke_viddi;var le=t.invoke_ii;var fe=t.invoke_iii;var ue=t.invoke_viiii;var de=t._pthread_cleanup_pop;var he=t.___syscall221;var pe=t._abort;var be=t.___syscall40;var me=t._llvm_fabs_f64;var ve=t.___syscall5;var ge=t.___setErrNo;var ye=t._sbrk;var we=t._emscripten_memcpy_big;var Se=t._sysconf;var Ae=t._pthread_self;var Ee=t.___syscall54;var _e=t.___unlock;var ke=t.___syscall10;var xe=t.__exit;var Me=t.___lock;var Te=t.___syscall6;var Ce=t._pthread_cleanup_push;var Oe=t._time;var Re=t.___syscall140;var Ne=t._exit;var Ie=t.___syscall145;var De=t.___syscall146;var Pe=0.0;function Fe(e){e=e|0;var t=0;t=u;u=u+e|0;u=u+15&-16;return t|0}function Le(){return u|0}function je(e){e=e|0;u=e}function Be(e,t){e=e|0;t=t|0;u=e;d=t}function Ue(e,t){e=e|0;t=t|0;if(!m){m=e;v=t}}function ze(e){e=e|0;r[h>>0]=r[e>>0];r[h+1>>0]=r[e+1>>0];r[h+2>>0]=r[e+2>>0];r[h+3>>0]=r[e+3>>0]}function He(e){e=e|0;r[h>>0]=r[e>>0];r[h+1>>0]=r[e+1>>0];r[h+2>>0]=r[e+2>>0];r[h+3>>0]=r[e+3>>0];r[h+4>>0]=r[e+4>>0];r[h+5>>0]=r[e+5>>0];r[h+6>>0]=r[e+6>>0];r[h+7>>0]=r[e+7>>0]}function qe(e){e=e|0;R=e}function Ve(){return R|0}function Ke(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=u;u=u+16|0;i=r;if((e|0)>2){u=r;return}o[i>>2]=n;Ht(o[93]|0,t,i)|0;u=r;return}function We(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var c=0,l=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0.0,O=0.0,N=0,I=0.0,D=0,P=0,F=0,L=0,j=0,B=0,U=0;c=u;u=u+32|0;l=c;if((i|0)<9){d=0;u=c;return d|0}if(r[n>>0]|0){d=0;u=c;return d|0}if(r[n+1>>0]|0){d=0;u=c;return d|0}if((r[n+2>>0]|0)!=1){d=0;u=c;return d|0}h=r[n+3>>0]|0;p=n+9|0;b=n+i|0;m=p+(a[n+8>>0]|0)|0;if(m>>>0>b>>>0){d=0;u=c;return d|0}v=a[n+7>>0]|0;g=v>>>6;do{if(g&2){if((i|0)<14){d=0;u=c;return d|0}y=Kn((a[p>>0]|0)>>>1&7|0,0,30)|0;w=R;S=Kn(a[n+10>>0]|0,0,22)|0;A=R;E=Vn(a[n+11>>0]|0,0,1)|0;_=Kn(E|0,R|0,15)|0;E=R;k=Kn(a[n+12>>0]|0,0,7)|0;x=R;M=Vn(a[n+13>>0]|0,0,1)|0;T=n+14|0;C=(+((y|S|_|k|M)>>>0)+4294967296.0*+(w|A|E|x|R|0))/9.0e4;if((g|0)==3)if((i|0)<19){d=0;u=c;return d|0}else{x=Kn((a[T>>0]|0)>>>1&7|0,0,30)|0;E=R;A=Kn(a[n+15>>0]|0,0,22)|0;w=R;M=Vn(a[n+16>>0]|0,0,1)|0;k=Kn(M|0,R|0,15)|0;M=R;_=Kn(a[n+17>>0]|0,0,7)|0;S=R;y=Vn(a[n+18>>0]|0,0,1)|0;O=(+((x|A|k|_|y)>>>0)+4294967296.0*+(E|w|M|S|R|0))/9.0e4;N=n+19|0;I=C;break}else{O=C;N=T;I=C}}else{O=-1.0;N=p;I=-1.0}}while(0);if(v&32){p=N+6|0;if(p>>>0>b>>>0){d=0;u=c;return d|0}else D=p}else D=N;if(v&16){N=D+3|0;if(N>>>0>b>>>0){d=0;u=c;return d|0}else P=N}else P=D;if(v&8){D=P+1|0;if(D>>>0>b>>>0){d=0;u=c;return d|0}else F=D}else F=P;if(v&4){P=F+1|0;if(P>>>0>b>>>0){d=0;u=c;return d|0}else L=P}else L=F;if(v&2){F=L+2|0;if(F>>>0>b>>>0){d=0;u=c;return d|0}else j=F}else j=L;if((v&1|0)!=0&(j+2|0)>>>0>b>>>0){d=0;u=c;return d|0}j=o[e+4904>>2]|0;if(!j){d=1;u=c;return d|0}f[l>>3]=I;f[l+8>>3]=O;o[l+20>>2]=t;v=o[e+204>>2]|0;e:do{if((v|0)>0){L=0;while(1){if((s[e+208+(L*194|0)+2>>1]|0)==(t|0)){B=L;break}L=L+1|0;if((L|0)>=(v|0)){U=0;break e}}U=a[e+208+(B*194|0)>>0]|0}else U=0}while(0);o[l+24>>2]=U;o[l+16>>2]=h&255;Ar[j&1](o[e+4908>>2]|0,l,m,b-m|0);d=1;u=c;return d|0}function Ye(e,t){e=e|0;t=t|0;var n=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0;n=u;u=u+1952|0;s=n+1760|0;c=n;l=a[t+1>>0]|0;f=(l&64|0)!=0;d=l<<8&7936|(a[t+2>>0]|0);l=(a[t+3>>0]|0)>>>4;o[1157]=(o[1157]|0)+1;h=t+4|0;if(l&2){p=t+5+(a[h>>0]|0)|0;if((p-t|0)>187){u=n;return}else b=p}else b=h;if(!(l&1)){u=n;return}if(!d){l=f?b+1|0:b;h=l;if((t+188-h|0)<12){u=n;return}p=((a[l+1>>0]|0)<<8&3840|(a[l+2>>0]|0))+-1|0;m=l+8|0;while(1){if((m-h|0)>=(p|0)){v=0;break}if(!((a[m>>0]|0)<<8|(a[m+1>>0]|0)))m=m+4|0;else{g=m;y=9;break}}if((y|0)==9)v=((a[g+2>>0]|0)<<8&7936|(a[g+3>>0]|0))&65535;i[e+1764>>1]=v;u=n;return}v=i[e+1764>>1]|0;if(!(v<<16>>16!=0&(d|0)==(v&65535|0))){u=n;return}v=f?b+1|0:b;b=v;f=t+188-b|0;qn(c|0,0,1760)|0;e:do{if((f|0)>=12?(r[c>>0]=r[v>>0]|0,t=(a[v+1>>0]|0)<<8&3840|(a[v+2>>0]|0),d=t&65535,g=c+2|0,i[g>>1]=d,i[c+4>>1]=(a[v+3>>0]|0)<<8|(a[v+4>>0]|0),y=v+5|0,r[c+7>>0]=(a[y>>0]|0)>>>1&31,r[c+6>>0]=(a[y>>0]|0)&1,r[c+8>>0]=r[v+6>>0]|0,r[c+9>>0]=r[v+7>>0]|0,i[c+10>>1]=(a[v+8>>0]|0)<<8&7936|(a[v+9>>0]|0),y=(a[v+10>>0]|0)<<8&3840|(a[v+11>>0]|0),i[c+12>>1]=y,m=v+12|0,(y+12|0)<=(f|0)):0){Yn(c+14|0,m|0,y|0)|0;p=m+y|0;y=p-b|0;t:do{if((y|0)<(t+-1|0)){m=c+204|0;h=p;l=y;w=d;while(1){qn(s|0,0,188)|0;if((l+5|0)>(f|0))break;S=r[h>>0]|0;A=((a[h+1>>0]|0)<<8&7936|(a[h+2>>0]|0))&65535;E=(a[h+3>>0]|0)<<8&3840|(a[h+4>>0]|0);_=E&65535;k=h+5|0;if(!(_<<16>>16))x=k;else{if((k-b+E|0)>(f|0))break;Yn(s|0,k|0,E|0)|0;x=k+E|0}E=o[m>>2]|0;if((E|0)<8){k=c+208+(E*194|0)|0;r[k>>0]=S;r[k+1>>0]=0;i[c+208+(E*194|0)+2>>1]=A;i[c+208+(E*194|0)+4>>1]=_;Yn(c+208+(E*194|0)+6|0,s|0,188)|0;o[m>>2]=(o[m>>2]|0)+1;M=i[g>>1]|0}else M=w;l=x-b|0;if((l|0)>=((M&65535)+-1|0))break t;else{h=x;w=M}}break e}}while(0);Yn(e|0,c|0,1760)|0;o[e+1760>>2]=1}}while(0);u=n;return}function Ge(e,t){e=e|0;t=t|0;var n=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0;n=u;u=u+16|0;s=n;if(!(o[e+1760>>2]|0))Ye(e,t);c=t+1|0;l=r[c>>0]|0;f=l&255;d=f&64;h=f<<8&7936|a[t+2>>0];f=a[t+3>>0]|0;p=f>>>4;b=p&3;m=f&15;f=m&255;v=o[e+4984>>2]|0;e:do{if(v|0){if((v|0)>0)g=0;else{u=n;return}do{if((o[e+4920+(g<<2)>>2]|0)==(h|0))break e;g=g+1|0}while((g|0)<(v|0));u=n;return}}while(0);v=e+4332|0;g=o[v>>2]|0;e:do{if((g|0)>0){y=0;do{w=i[e+1772+(y*20|0)+16>>1]|0;if((w<<16>>16|0)==(h|0)){S=l;A=w;E=y;break e}y=y+1|0}while((y|0)<(g|0));if((g|0)>=127){u=n;return}else _=11}else _=11}while(0);if((_|0)==11){o[s>>2]=h;Ke(3,600,s);s=o[v>>2]|0;o[e+1772+(s*20|0)+12>>2]=0;o[v>>2]=(o[v>>2]|0)+1;v=h&65535;i[e+1772+(s*20|0)+16>>1]=v;S=r[c>>0]|0;A=v;E=s}s=e+1772+(E*20|0)|0;v=e+1772+(E*20|0)+18|0;if(S<<24>>24>=0?(m|0)==((a[v>>0]|0)+1&15|0):0){m=e+1772+(E*20|0)+12|0;k=m;x=(o[m>>2]|0)==0}else{m=e+1772+(E*20|0)+12|0;o[m>>2]=0;k=m;x=1}r[v>>0]=f;if(!d){if(x){u=n;return}}else{if(x)M=e+1772+(E*20|0)+4|0;else{x=e+1772+(E*20|0)+4|0;We(e,A<<16>>16,o[s>>2]|0,o[x>>2]|0)|0;M=x}o[M>>2]=0;o[k>>2]=1}M=t+4|0;do{if(!(p&2)){T=M;C=184}else{x=r[M>>0]|0;if((x&255)<=183){A=t+5+(x&255)|0;T=A;C=t+188-A|0;break}o[k>>2]=0;u=n;return}}while(0);switch(b|0){case 3:case 1:break;default:{u=n;return}}b=e+1772+(E*20|0)+8|0;t=e+1772+(E*20|0)+4|0;M=o[t>>2]|0;p=M+C|0;do{if((o[b>>2]|0)<(p|0)){o[b>>2]=p;A=jn(o[s>>2]|0,p)|0;o[s>>2]=A;if(A|0){O=s;R=A;N=o[t>>2]|0;break}o[t>>2]=0;o[b>>2]=0;o[k>>2]=0;u=n;return}else{O=s;R=o[s>>2]|0;N=M}}while(0);Yn(R+N|0,T|0,C|0)|0;T=(o[t>>2]|0)+C|0;o[t>>2]=T;C=o[O>>2]|0;if((T|0)<9){u=n;return}if(r[C>>0]|0){u=n;return}if(r[C+1>>0]|0){u=n;return}if((r[C+2>>0]|0)!=1){u=n;return}if(!((r[C+3>>0]|0)==13?((a[C+4>>0]<<8|a[C+5>>0])+6|0)<=(T|0):0)){u=n;return}if(o[k>>2]|0)We(e,i[e+1772+(E*20|0)+16>>1]|0,C,T)|0;o[t>>2]=0;u=n;return}function Je(){return Ln(1,4992)|0}function Ze(e){e=e|0;var t=0,n=0,r=0,a=0,s=0;t=e+4900|0;if((o[t>>2]|0)>187){n=0;do{Ge(e,(n*188|0)+(e+4336)|0);n=n+1|0}while((n|0)<((o[t>>2]|0)/188|0|0))}t=e+4332|0;if((o[t>>2]|0)<=0){Fn(e);return}n=o[93]|0;r=0;do{a=e+1772+(r*20|0)|0;s=o[e+1772+(r*20|0)+4>>2]|0;do{if(s|0)if(!(o[e+1772+(r*20|0)+12>>2]|0)){An(620,28,1,n)|0;break}else{We(e,i[e+1772+(r*20|0)+16>>1]|0,o[a>>2]|0,s)|0;break}}while(0);Fn(o[a>>2]|0);r=r+1|0}while((r|0)<(o[t>>2]|0));Fn(e);return}function Xe(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0;i=e+4900|0;a=e+4336|0;s=e+4524|0;c=e+4712|0;l=o[i>>2]|0;f=0;while(1){u=564-l|0;d=n-f|0;h=(u|0)>(d|0)?d:u;Yn(e+4336+l|0,t+f|0,h|0)|0;u=h+(o[i>>2]|0)|0;o[i>>2]=u;f=h+f|0;if((u|0)==564){h=0;while(1){if(((r[e+4336+h>>0]|0)==71?(r[h+188+(e+4336)>>0]|0)==71:0)?(r[h+376+(e+4336)>>0]|0)==71:0){p=h;b=12;break}d=h+1|0;if((d|0)<188)h=d;else{m=d;b=7;break}}if((b|0)==12){b=0;if(!p){Ge(e,a);Ge(e,s);Ge(e,c);v=0}else{m=p;b=7}}if((b|0)==7){b=0;Gn(a|0,e+4336+m|0,564-m|0)|0;v=(o[i>>2]|0)-m|0}o[i>>2]=v;g=v}else g=u;if((f|0)==(n|0))break;else l=g}return}function Qe(e,t,n){e=e|0;t=t|0;n=n|0;o[e+4904>>2]=t;o[e+4908>>2]=n;return}function $e(e){e=e|0;var t=0,n=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0;t=e+4900|0;n=o[t>>2]|0;e:do{if(n|0){s=(n|0)/188|0;c=(n|0)>187;if(c){l=0;t:while(1){f=0;while(1){if((r[(f*188|0)+l+(e+4336)>>0]|0)!=71)break;f=f+1|0;if((f|0)>=(s|0)){u=l;break t}}l=l+1|0;if((l|0)>=188)break e}if(u|0)break;if(c){l=0;do{Ge(e,(l*188|0)+(e+4336)|0);l=l+1|0}while((l|0)<(s|0))}}o[t>>2]=0}}while(0);t=e+4332|0;u=o[t>>2]|0;if((u|0)>0){d=u;h=0}else return;while(1){u=i[e+1772+(h*20|0)+16>>1]|0;if(((((u<<16>>16>0?(n=o[e+1772+(h*20|0)>>2]|0,s=e+1772+(h*20|0)+4|0,l=o[s>>2]|0,(l|0)>=9):0)?(r[n>>0]|0)==0:0)?(r[n+1>>0]|0)==0:0)?(r[n+2>>0]|0)==1:0)?((a[n+4>>0]<<8|a[n+5>>0])+6|0)<=(l|0):0){if(o[e+1772+(h*20|0)+12>>2]|0)We(e,u<<16>>16,n,l)|0;o[s>>2]=0;p=o[t>>2]|0}else p=d;h=h+1|0;if((h|0)>=(p|0))break;else d=p}return}function et(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0;if((t|0)<=0)return;n=e+4|0;r=e+12|0;i=e+8|0;e=0;s=8;c=8;while(1){if(!c)l=0;else{f=o[i>>2]|0;u=o[r>>2]|0;d=o[n>>2]|0;h=0;while(1){p=u+-1|0;o[r>>2]=p;if(d>>>0<f>>>0)b=(a[d>>0]|0)>>>p&1;else b=0;if(!p){m=d+1|0;o[n>>2]=m;o[r>>2]=8;v=8;g=m}else{v=p;g=d}if((h|0)<32&(b|0)==0&g>>>0<f>>>0){u=v;d=g;h=h+1|0}else{y=v;w=g;S=h;break}}if((S|0)>0){h=S+-1|0;d=y;u=w;p=0;m=0;while(1){A=d+-1|0;o[r>>2]=A;if(u>>>0<f>>>0)E=(a[u>>0]|0)>>>A&1;else E=0;if(!A){_=u+1|0;o[n>>2]=_;o[r>>2]=8;k=8;x=_}else{k=A;x=u}A=E<<h-p|m;p=p+1|0;if((p|0)==(S|0)){M=A;break}else{d=k;u=x;m=A}}}else M=0;m=1<<S;u=m+-1+M|0;if(!(u&1))T=(u|0)/-2|0;else T=(M+m|0)/2|0;l=(s+256+T|0)%256|0}e=e+1|0;if((e|0)==(t|0))break;else{s=(l|0)==0?s:l;c=l}}return}function tt(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0,F=0,L=0,j=0,B=0,U=0,z=0,H=0,q=0,V=0,K=0,W=0,Y=0,G=0,J=0,Z=0,X=0,Q=0,$=0,ee=0,ne=0,re=0,ie=0,oe=0,ae=0,se=0,ce=0,le=0,fe=0,ue=0,de=0,he=0,pe=0,be=0,me=0,ve=0,ge=0,ye=0,we=0,Se=0,Ae=0,Ee=0,_e=0,ke=0,xe=0,Me=0,Te=0,Ce=0,Oe=0,Re=0,Ne=0,Ie=0,De=0,Pe=0,Fe=0,Le=0,je=0,Be=0,Ue=0,ze=0,He=0,qe=0,Ve=0,Ke=0,We=0,Ye=0,Ge=0,Je=0,Ze=0,Xe=0,Qe=0,$e=0,tt=0,rt=0,it=0,ot=0,at=0,st=0,ct=0,lt=0,ft=0,ut=0,dt=0,ht=0,pt=0,bt=0,mt=0,vt=0,gt=0,yt=0,wt=0,St=0,At=0,Et=0,_t=0,kt=0,xt=0,Mt=0,Tt=0,Ct=0,Ot=0,Rt=0,Nt=0,It=0,Dt=0,Pt=0,Ft=0,Lt=0,jt=0,Bt=0,Ut=0,zt=0,Ht=0,qt=0,Vt=0,Kt=0,Wt=0,Yt=0,Gt=0,Jt=0,Zt=0,Xt=0,Qt=0,$t=0,en=0,tn=0,nn=0,rn=0,on=0,an=0,sn=0,cn=0,ln=0,fn=0,un=0,dn=0,hn=0,pn=0,bn=0,mn=0,vn=0,gn=0,yn=0,wn=0,Sn=0,An=0,En=0,_n=0,kn=0,xn=0,Mn=0,Tn=0,Cn=0,On=0,Rn=0,Nn=0,In=0,Dn=0,Ln=0,jn=0,Bn=0,Un=0,zn=0,Hn=0,Vn=0,Kn=0,Wn=0,Yn=0,Gn=0,Jn=0,Zn=0,Xn=0,Qn=0,$n=0,er=0,tr=0,nr=0,rr=0,ir=0,or=0,ar=0,sr=0,cr=0,lr=0,fr=0,ur=0,dr=0,hr=0,pr=0,br=0,mr=0,vr=0,gr=0,yr=0,wr=0,Sr=0,Ar=0,Er=0,_r=0,kr=0,xr=0,Mr=0,Tr=0,Cr=0,Or=0,Rr=0,Nr=0,Ir=0,Dr=0,Pr=0,Fr=0,Lr=0,jr=0,Br=0,Ur=0,zr=0,Hr=0,qr=0,Vr=0,Kr=0,Wr=0,Yr=0,Gr=0,Jr=0,Zr=0,Xr=0,Qr=0,$r=0,ei=0,ti=0,ni=0,ri=0,ii=0,oi=0,ai=0,si=0,ci=0,li=0,fi=0,ui=0,di=0,hi=0,pi=0,bi=0,mi=0,vi=0,gi=0,yi=0,wi=0,Si=0,Ai=0,Ei=0,_i=0,ki=0,xi=0,Mi=0,Ti=0,Ci=0,Oi=0,Ri=0,Ni=0,Ii=0,Di=0,Pi=0,Fi=0,Li=0,ji=0,Bi=0,Ui=0,zi=0,Hi=0,qi=0,Vi=0,Ki=0,Wi=0,Yi=0,Gi=0,Ji=0,Zi=0,Xi=0,Qi=0,$i=0,eo=0,to=0;i=u;u=u+1808|0;s=i;c=Pn(16)|0;o[c>>2]=e;l=c+4|0;o[l>>2]=e;f=c+8|0;o[f>>2]=e+t;t=c+12|0;o[t>>2]=8;qn(s|0,0,1804)|0;e=s+40|0;o[e>>2]=1;d=nt(c)|0;o[s>>2]=d;h=(o[t>>2]|0)+-1|0;o[t>>2]=h;p=o[l>>2]|0;b=o[f>>2]|0;if(p>>>0<b>>>0)m=(a[p>>0]|0)>>>h&1;else m=0;if(!h){v=p+1|0;o[l>>2]=v;o[t>>2]=8;g=8;y=v}else{g=h;y=p}o[s+4>>2]=m;m=g+-1|0;o[t>>2]=m;if(y>>>0<b>>>0)w=(a[y>>0]|0)>>>m&1;else w=0;if(!m){g=y+1|0;o[l>>2]=g;o[t>>2]=8;S=8;A=g}else{S=m;A=y}o[s+8>>2]=w;w=S+-1|0;o[t>>2]=w;if(A>>>0<b>>>0)E=(a[A>>0]|0)>>>w&1;else E=0;if(!w){S=A+1|0;o[l>>2]=S;o[t>>2]=8;_=8;k=S}else{_=w;k=A}o[s+12>>2]=E;E=_+-1|0;o[t>>2]=E;if(k>>>0<b>>>0)x=(a[k>>0]|0)>>>E&1;else x=0;if(!E){_=k+1|0;o[l>>2]=_;o[t>>2]=8;M=8;T=_}else{M=E;T=k}o[s+16>>2]=x;x=M+-1|0;o[t>>2]=x;if(T>>>0<b>>>0)C=(a[T>>0]|0)>>>x&1;else C=0;if(!x){M=T+1|0;o[l>>2]=M;o[t>>2]=8;O=8;R=M}else{O=x;R=T}o[s+20>>2]=C;C=O+-1|0;o[t>>2]=C;if(R>>>0<b>>>0)N=(a[R>>0]|0)>>>C&1;else N=0;do{if(C){o[s+24>>2]=N;if((C|0)==1){o[l>>2]=R+1;I=7;break}b=O+-3|0;if(!b){o[l>>2]=R+1;I=8}else I=b}else{o[l>>2]=R+1;o[t>>2]=8;o[s+24>>2]=N;I=6}}while(0);o[t>>2]=I;o[s+32>>2]=nt(c)|0;I=o[f>>2]|0;N=o[t>>2]|0;R=o[l>>2]|0;O=0;while(1){C=N+-1|0;o[t>>2]=C;if(R>>>0<I>>>0)D=(a[R>>0]|0)>>>C&1;else D=0;if(!C){b=R+1|0;o[l>>2]=b;o[t>>2]=8;P=8;F=b}else{P=C;F=R}if((O|0)<32&(D|0)==0&F>>>0<I>>>0){N=P;R=F;O=O+1|0}else{L=P;j=F;B=O;break}}if((B|0)>0){O=B+-1|0;F=L;P=j;R=0;N=0;while(1){D=F+-1|0;o[t>>2]=D;if(P>>>0<I>>>0)U=(a[P>>0]|0)>>>D&1;else U=0;if(!D){C=P+1|0;o[l>>2]=C;o[t>>2]=8;z=8;H=C}else{z=D;H=P}D=U<<O-R|N;R=R+1|0;if((R|0)==(B|0)){q=z;V=H;K=D;break}else{F=z;P=H;N=D}}}else{q=L;V=j;K=0}o[s+36>>2]=(1<<B)+-1+K;e:do{switch(d|0){case 144:case 122:case 110:case 100:{K=q;B=V;j=0;while(1){L=K+-1|0;o[t>>2]=L;if(B>>>0<I>>>0)W=(a[B>>0]|0)>>>L&1;else W=0;if(!L){N=B+1|0;o[l>>2]=N;o[t>>2]=8;Y=8;G=N}else{Y=L;G=B}if((j|0)<32&(W|0)==0&G>>>0<I>>>0){K=Y;B=G;j=j+1|0}else{J=Y;Z=G;X=j;break}}if((X|0)>0){j=X+-1|0;B=J;K=Z;L=0;N=0;while(1){H=B+-1|0;o[t>>2]=H;if(K>>>0<I>>>0)Q=(a[K>>0]|0)>>>H&1;else Q=0;if(!H){P=K+1|0;o[l>>2]=P;o[t>>2]=8;$=8;ee=P}else{$=H;ee=K}H=Q<<j-L|N;L=L+1|0;if((L|0)==(X|0)){ne=$;re=ee;ie=H;break}else{B=$;K=ee;N=H}}}else{ne=J;re=Z;ie=0}N=(1<<X)+-1+ie|0;o[e>>2]=N;if((N|0)==3){N=ne+-1|0;o[t>>2]=N;if(re>>>0<I>>>0)oe=(a[re>>0]|0)>>>N&1;else oe=0;if(!N){K=re+1|0;o[l>>2]=K;o[t>>2]=8;ae=8;se=K}else{ae=N;se=re}o[s+44>>2]=oe;ce=ae;le=se;fe=0}else{ce=ne;le=re;fe=0}while(1){N=ce+-1|0;o[t>>2]=N;if(le>>>0<I>>>0)ue=(a[le>>0]|0)>>>N&1;else ue=0;if(!N){K=le+1|0;o[l>>2]=K;o[t>>2]=8;de=8;he=K}else{de=N;he=le}if((fe|0)<32&(ue|0)==0&he>>>0<I>>>0){ce=de;le=he;fe=fe+1|0}else{pe=de;be=he;me=fe;break}}if((me|0)>0){N=me+-1|0;K=pe;B=be;L=0;j=0;while(1){H=K+-1|0;o[t>>2]=H;if(B>>>0<I>>>0)ve=(a[B>>0]|0)>>>H&1;else ve=0;if(!H){P=B+1|0;o[l>>2]=P;o[t>>2]=8;ge=8;ye=P}else{ge=H;ye=B}H=ve<<N-L|j;L=L+1|0;if((L|0)==(me|0)){we=ge;Se=ye;Ae=H;break}else{K=ge;B=ye;j=H}}}else{we=pe;Se=be;Ae=0}o[s+48>>2]=(1<<me)+-1+Ae;j=we;B=Se;K=0;while(1){L=j+-1|0;o[t>>2]=L;if(B>>>0<I>>>0)Ee=(a[B>>0]|0)>>>L&1;else Ee=0;if(!L){N=B+1|0;o[l>>2]=N;o[t>>2]=8;_e=8;ke=N}else{_e=L;ke=B}if((K|0)<32&(Ee|0)==0&ke>>>0<I>>>0){j=_e;B=ke;K=K+1|0}else{xe=_e;Me=ke;Te=K;break}}if((Te|0)>0){K=Te+-1|0;B=xe;j=Me;L=0;N=0;while(1){H=B+-1|0;o[t>>2]=H;if(j>>>0<I>>>0)Ce=(a[j>>0]|0)>>>H&1;else Ce=0;if(!H){P=j+1|0;o[l>>2]=P;o[t>>2]=8;Oe=8;Re=P}else{Oe=H;Re=j}H=Ce<<K-L|N;L=L+1|0;if((L|0)==(Te|0)){Ne=Oe;Ie=Re;De=H;break}else{B=Oe;j=Re;N=H}}}else{Ne=xe;Ie=Me;De=0}o[s+52>>2]=(1<<Te)+-1+De;N=Ne+-1|0;o[t>>2]=N;if(Ie>>>0<I>>>0)Pe=(a[Ie>>0]|0)>>>N&1;else Pe=0;if(!N){j=Ie+1|0;o[l>>2]=j;o[t>>2]=8;Fe=8;Le=j}else{Fe=N;Le=Ie}o[s+56>>2]=Pe;N=Fe+-1|0;o[t>>2]=N;if(Le>>>0<I>>>0)je=(a[Le>>0]|0)>>>N&1;else je=0;if(!N){j=Le+1|0;o[l>>2]=j;o[t>>2]=8;Be=8;Ue=j}else{Be=N;Ue=Le}o[s+60>>2]=je;if(!je){ze=Be;He=Ue;qe=I;break e}else{Ve=Be;Ke=Ue;We=I;Ye=0}while(1){N=Ve+-1|0;o[t>>2]=N;if(Ke>>>0<We>>>0)Ge=(a[Ke>>0]|0)>>>N&1;else Ge=0;if(!N){o[l>>2]=Ke+1;o[t>>2]=8}o[s+64+(Ye<<2)>>2]=Ge;do{if(Ge|0)if((Ye|0)<6){et(c,16);break}else{et(c,64);break}}while(0);Ye=Ye+1|0;N=o[t>>2]|0;j=o[l>>2]|0;B=o[f>>2]|0;if((Ye|0)==8){ze=N;He=j;qe=B;break}else{Ve=N;Ke=j;We=B}}break}default:{ze=q;He=V;qe=I}}}while(0);I=ze;ze=He;He=0;while(1){V=I+-1|0;o[t>>2]=V;if(ze>>>0<qe>>>0)Je=(a[ze>>0]|0)>>>V&1;else Je=0;if(!V){q=ze+1|0;o[l>>2]=q;o[t>>2]=8;Ze=8;Xe=q}else{Ze=V;Xe=ze}if((He|0)<32&(Je|0)==0&Xe>>>0<qe>>>0){I=Ze;ze=Xe;He=He+1|0}else{Qe=Ze;$e=Xe;tt=He;break}}if((tt|0)>0){He=tt+-1|0;Xe=Qe;Ze=$e;ze=0;I=0;while(1){Je=Xe+-1|0;o[t>>2]=Je;if(Ze>>>0<qe>>>0)rt=(a[Ze>>0]|0)>>>Je&1;else rt=0;if(!Je){V=Ze+1|0;o[l>>2]=V;o[t>>2]=8;it=8;ot=V}else{it=Je;ot=Ze}Je=rt<<He-ze|I;ze=ze+1|0;if((ze|0)==(tt|0)){at=it;st=ot;ct=Je;break}else{Xe=it;Ze=ot;I=Je}}}else{at=Qe;st=$e;ct=0}o[s+160>>2]=(1<<tt)+-1+ct;ct=at;at=st;st=0;while(1){tt=ct+-1|0;o[t>>2]=tt;if(at>>>0<qe>>>0)lt=(a[at>>0]|0)>>>tt&1;else lt=0;if(!tt){$e=at+1|0;o[l>>2]=$e;o[t>>2]=8;ft=8;ut=$e}else{ft=tt;ut=at}if((st|0)<32&(lt|0)==0&ut>>>0<qe>>>0){ct=ft;at=ut;st=st+1|0}else{dt=ft;ht=ut;pt=st;break}}if((pt|0)>0){st=pt+-1|0;ut=dt;ft=ht;at=0;ct=0;while(1){lt=ut+-1|0;o[t>>2]=lt;if(ft>>>0<qe>>>0)bt=(a[ft>>0]|0)>>>lt&1;else bt=0;if(!lt){tt=ft+1|0;o[l>>2]=tt;o[t>>2]=8;mt=8;vt=tt}else{mt=lt;vt=ft}lt=bt<<st-at|ct;at=at+1|0;if((at|0)==(pt|0)){gt=mt;yt=vt;wt=lt;break}else{ut=mt;ft=vt;ct=lt}}}else{gt=dt;yt=ht;wt=0}ht=(1<<pt)+-1+wt|0;o[s+164>>2]=ht;e:do{switch(ht|0){case 0:{wt=gt;pt=yt;dt=0;while(1){ct=wt+-1|0;o[t>>2]=ct;if(pt>>>0<qe>>>0)St=(a[pt>>0]|0)>>>ct&1;else St=0;if(!ct){vt=pt+1|0;o[l>>2]=vt;o[t>>2]=8;At=8;Et=vt}else{At=ct;Et=pt}if((dt|0)<32&(St|0)==0&Et>>>0<qe>>>0){wt=At;pt=Et;dt=dt+1|0}else{_t=At;kt=Et;xt=dt;break}}if((xt|0)>0){dt=xt+-1|0;pt=_t;wt=kt;ct=0;vt=0;while(1){ft=pt+-1|0;o[t>>2]=ft;if(wt>>>0<qe>>>0)Mt=(a[wt>>0]|0)>>>ft&1;else Mt=0;if(!ft){mt=wt+1|0;o[l>>2]=mt;o[t>>2]=8;Tt=8;Ct=mt}else{Tt=ft;Ct=wt}ft=Mt<<dt-ct|vt;ct=ct+1|0;if((ct|0)==(xt|0)){Ot=Tt;Rt=Ct;Nt=ft;break}else{pt=Tt;wt=Ct;vt=ft}}}else{Ot=_t;Rt=kt;Nt=0}o[s+168>>2]=(1<<xt)+-1+Nt;It=Ot;Dt=Rt;Pt=0;break}case 1:{vt=gt+-1|0;o[t>>2]=vt;if(yt>>>0<qe>>>0)Ft=(a[yt>>0]|0)>>>vt&1;else Ft=0;if(!vt){wt=yt+1|0;o[l>>2]=wt;o[t>>2]=8;Lt=8;jt=wt}else{Lt=vt;jt=yt}o[s+172>>2]=Ft;vt=Lt;wt=jt;pt=0;while(1){ct=vt+-1|0;o[t>>2]=ct;if(wt>>>0<qe>>>0)Bt=(a[wt>>0]|0)>>>ct&1;else Bt=0;if(!ct){dt=wt+1|0;o[l>>2]=dt;o[t>>2]=8;Ut=8;zt=dt}else{Ut=ct;zt=wt}if((pt|0)<32&(Bt|0)==0&zt>>>0<qe>>>0){vt=Ut;wt=zt;pt=pt+1|0}else{Ht=Ut;qt=zt;Vt=pt;break}}if((Vt|0)>0){pt=Vt+-1|0;wt=Ht;vt=qt;ct=0;dt=0;while(1){ft=wt+-1|0;o[t>>2]=ft;if(vt>>>0<qe>>>0)Kt=(a[vt>>0]|0)>>>ft&1;else Kt=0;if(!ft){mt=vt+1|0;o[l>>2]=mt;o[t>>2]=8;Wt=8;Yt=mt}else{Wt=ft;Yt=vt}ft=Kt<<pt-ct|dt;ct=ct+1|0;if((ct|0)==(Vt|0)){Gt=Wt;Jt=Yt;Zt=ft;break}else{wt=Wt;vt=Yt;dt=ft}}}else{Gt=Ht;Jt=qt;Zt=0}dt=1<<Vt;vt=dt+-1+Zt|0;if(!(vt&1))Xt=(vt|0)/-2|0;else Xt=(Zt+dt|0)/2|0;o[s+176>>2]=Xt;dt=Gt;vt=Jt;wt=0;while(1){ct=dt+-1|0;o[t>>2]=ct;if(vt>>>0<qe>>>0)Qt=(a[vt>>0]|0)>>>ct&1;else Qt=0;if(!ct){pt=vt+1|0;o[l>>2]=pt;o[t>>2]=8;$t=8;en=pt}else{$t=ct;en=vt}if((wt|0)<32&(Qt|0)==0&en>>>0<qe>>>0){dt=$t;vt=en;wt=wt+1|0}else{tn=$t;nn=en;rn=wt;break}}if((rn|0)>0){wt=rn+-1|0;vt=tn;dt=nn;ct=0;pt=0;while(1){ft=vt+-1|0;o[t>>2]=ft;if(dt>>>0<qe>>>0)on=(a[dt>>0]|0)>>>ft&1;else on=0;if(!ft){mt=dt+1|0;o[l>>2]=mt;o[t>>2]=8;an=8;sn=mt}else{an=ft;sn=dt}ft=on<<wt-ct|pt;ct=ct+1|0;if((ct|0)==(rn|0)){cn=an;ln=sn;fn=ft;break}else{vt=an;dt=sn;pt=ft}}}else{cn=tn;ln=nn;fn=0}pt=1<<rn;dt=pt+-1+fn|0;if(!(dt&1))un=(dt|0)/-2|0;else un=(fn+pt|0)/2|0;o[s+180>>2]=un;pt=cn;dt=ln;vt=0;while(1){ct=pt+-1|0;o[t>>2]=ct;if(dt>>>0<qe>>>0)dn=(a[dt>>0]|0)>>>ct&1;else dn=0;if(!ct){wt=dt+1|0;o[l>>2]=wt;o[t>>2]=8;hn=8;pn=wt}else{hn=ct;pn=dt}if((vt|0)<32&(dn|0)==0&pn>>>0<qe>>>0){pt=hn;dt=pn;vt=vt+1|0}else{bn=hn;mn=pn;vn=vt;break}}if((vn|0)>0){vt=vn+-1|0;dt=bn;pt=mn;ct=0;wt=0;while(1){ft=dt+-1|0;o[t>>2]=ft;if(pt>>>0<qe>>>0)gn=(a[pt>>0]|0)>>>ft&1;else gn=0;if(!ft){mt=pt+1|0;o[l>>2]=mt;o[t>>2]=8;yn=8;wn=mt}else{yn=ft;wn=pt}ft=gn<<vt-ct|wt;ct=ct+1|0;if((ct|0)==(vn|0)){Sn=yn;An=wn;En=ft;break}else{dt=yn;pt=wn;wt=ft}}}else{Sn=bn;An=mn;En=0}wt=(1<<vn)+-1+En|0;pt=s+184|0;o[pt>>2]=wt;if((wt|0)>0){_n=Sn;kn=An;xn=0}else{It=Sn;Dt=An;Pt=0;break e}while(1){wt=_n;dt=kn;ct=0;while(1){vt=wt+-1|0;o[t>>2]=vt;if(dt>>>0<qe>>>0)Mn=(a[dt>>0]|0)>>>vt&1;else Mn=0;if(!vt){ft=dt+1|0;o[l>>2]=ft;o[t>>2]=8;Tn=8;Cn=ft}else{Tn=vt;Cn=dt}if((ct|0)<32&(Mn|0)==0&Cn>>>0<qe>>>0){wt=Tn;dt=Cn;ct=ct+1|0}else{On=Tn;Rn=Cn;Nn=ct;break}}if((Nn|0)>0){ct=Nn+-1|0;dt=On;wt=Rn;vt=Rn;ft=0;mt=0;while(1){ut=dt+-1|0;o[t>>2]=ut;if(wt>>>0<qe>>>0)In=(a[wt>>0]|0)>>>ut&1;else In=0;if(!ut){at=wt+1|0;o[l>>2]=at;o[t>>2]=8;Dn=8;Ln=at;jn=at}else{Dn=ut;Ln=vt;jn=wt}ut=In<<ct-ft|mt;ft=ft+1|0;if((ft|0)==(Nn|0)){Bn=Dn;Un=Ln;zn=ut;break}else{dt=Dn;wt=jn;vt=Ln;mt=ut}}}else{Bn=On;Un=Rn;zn=0}mt=1<<Nn;vt=mt+-1+zn|0;if(!(vt&1))Hn=(vt|0)/-2|0;else Hn=(zn+mt|0)/2|0;o[s+188+(xn<<2)>>2]=Hn;xn=xn+1|0;if((xn|0)>=(o[pt>>2]|0)){It=Bn;Dt=Un;Pt=0;break}else{_n=Bn;kn=Un}}break}default:{It=gt;Dt=yt;Pt=0}}}while(0);while(1){yt=It+-1|0;o[t>>2]=yt;if(Dt>>>0<qe>>>0)Vn=(a[Dt>>0]|0)>>>yt&1;else Vn=0;if(!yt){gt=Dt+1|0;o[l>>2]=gt;o[t>>2]=8;Kn=8;Wn=gt}else{Kn=yt;Wn=Dt}if((Pt|0)<32&(Vn|0)==0&Wn>>>0<qe>>>0){It=Kn;Dt=Wn;Pt=Pt+1|0}else{Yn=Kn;Gn=Wn;Jn=Pt;break}}if((Jn|0)>0){Pt=Jn+-1|0;Wn=Yn;Kn=Gn;Dt=0;It=0;while(1){Vn=Wn+-1|0;o[t>>2]=Vn;if(Kn>>>0<qe>>>0)Zn=(a[Kn>>0]|0)>>>Vn&1;else Zn=0;if(!Vn){yt=Kn+1|0;o[l>>2]=yt;o[t>>2]=8;Xn=8;Qn=yt}else{Xn=Vn;Qn=Kn}Vn=Zn<<Pt-Dt|It;Dt=Dt+1|0;if((Dt|0)==(Jn|0)){$n=Xn;er=Qn;tr=Vn;break}else{Wn=Xn;Kn=Qn;It=Vn}}}else{$n=Yn;er=Gn;tr=0}o[s+1212>>2]=(1<<Jn)+-1+tr;tr=$n+-1|0;o[t>>2]=tr;if(er>>>0<qe>>>0)nr=(a[er>>0]|0)>>>tr&1;else nr=0;if(!tr){$n=er+1|0;o[l>>2]=$n;o[t>>2]=8;rr=8;ir=$n}else{rr=tr;ir=er}o[s+1216>>2]=nr;nr=rr;rr=ir;ir=0;while(1){er=nr+-1|0;o[t>>2]=er;if(rr>>>0<qe>>>0)or=(a[rr>>0]|0)>>>er&1;else or=0;if(!er){tr=rr+1|0;o[l>>2]=tr;o[t>>2]=8;ar=8;sr=tr}else{ar=er;sr=rr}if((ir|0)<32&(or|0)==0&sr>>>0<qe>>>0){nr=ar;rr=sr;ir=ir+1|0}else{cr=ar;lr=sr;fr=ir;break}}if((fr|0)>0){ir=fr+-1|0;sr=cr;ar=lr;rr=0;nr=0;while(1){or=sr+-1|0;o[t>>2]=or;if(ar>>>0<qe>>>0)ur=(a[ar>>0]|0)>>>or&1;else ur=0;if(!or){er=ar+1|0;o[l>>2]=er;o[t>>2]=8;dr=8;hr=er}else{dr=or;hr=ar}or=ur<<ir-rr|nr;rr=rr+1|0;if((rr|0)==(fr|0)){pr=dr;br=hr;mr=or;break}else{sr=dr;ar=hr;nr=or}}}else{pr=cr;br=lr;mr=0}lr=(1<<fr)+-1+mr|0;o[s+1220>>2]=lr;mr=pr;pr=br;br=0;while(1){fr=mr+-1|0;o[t>>2]=fr;if(pr>>>0<qe>>>0)vr=(a[pr>>0]|0)>>>fr&1;else vr=0;if(!fr){cr=pr+1|0;o[l>>2]=cr;o[t>>2]=8;gr=8;yr=cr}else{gr=fr;yr=pr}if((br|0)<32&(vr|0)==0&yr>>>0<qe>>>0){mr=gr;pr=yr;br=br+1|0}else{wr=gr;Sr=yr;Ar=br;break}}if((Ar|0)>0){br=Ar+-1|0;yr=wr;gr=Sr;pr=0;mr=0;while(1){vr=yr+-1|0;o[t>>2]=vr;if(gr>>>0<qe>>>0)Er=(a[gr>>0]|0)>>>vr&1;else Er=0;if(!vr){fr=gr+1|0;o[l>>2]=fr;o[t>>2]=8;_r=8;kr=fr}else{_r=vr;kr=gr}vr=Er<<br-pr|mr;pr=pr+1|0;if((pr|0)==(Ar|0)){xr=_r;Mr=kr;Tr=vr;break}else{yr=_r;gr=kr;mr=vr}}}else{xr=wr;Mr=Sr;Tr=0}Sr=1<<Ar;o[s+1224>>2]=Sr+-1+Tr;Ar=xr+-1|0;o[t>>2]=Ar;if(Mr>>>0<qe>>>0)Cr=(a[Mr>>0]|0)>>>Ar&1;else Cr=0;if(!Ar){xr=Mr+1|0;o[l>>2]=xr;o[t>>2]=8;Or=8;Rr=xr}else{Or=Ar;Rr=Mr}o[s+1228>>2]=Cr;if(!Cr){Mr=Or+-1|0;o[t>>2]=Mr;if(Rr>>>0<qe>>>0)Nr=(a[Rr>>0]|0)>>>Mr&1;else Nr=0;if(!Mr){Ar=Rr+1|0;o[l>>2]=Ar;o[t>>2]=8;Ir=8;Dr=Ar}else{Ir=Mr;Dr=Rr}o[s+1232>>2]=Nr;Pr=Ir;Fr=Dr}else{Pr=Or;Fr=Rr}Rr=Pr+-1|0;o[t>>2]=Rr;if(Fr>>>0<qe>>>0)Lr=(a[Fr>>0]|0)>>>Rr&1;else Lr=0;if(!Rr){Pr=Fr+1|0;o[l>>2]=Pr;o[t>>2]=8;jr=8;Br=Pr}else{jr=Rr;Br=Fr}o[s+1236>>2]=Lr;Lr=jr+-1|0;o[t>>2]=Lr;if(Br>>>0<qe>>>0)Ur=(a[Br>>0]|0)>>>Lr&1;else Ur=0;if(!Lr){jr=Br+1|0;o[l>>2]=jr;o[t>>2]=8;zr=8;Hr=jr}else{zr=Lr;Hr=Br}o[s+1240>>2]=Ur;if(!Ur){qr=o[s+1244>>2]|0;Vr=o[s+1248>>2]|0;Kr=o[s+1256>>2]|0;Wr=o[s+1252>>2]|0;Fn(c);Yr=lr<<4;Gr=Yr+16|0;Jr=qr<<1;Zr=Gr-Jr|0;Xr=Vr<<1;Qr=Zr-Xr|0;o[n>>2]=Qr;$r=2-Cr|0;ei=Sr+Tr|0;ti=$r<<4;ni=te(ti,ei)|0;ri=Kr<<1;ii=ni-ri|0;oi=Wr<<1;ai=ii-oi|0;o[r>>2]=ai;u=i;return}else{si=zr;ci=Hr;li=0}while(1){Hr=si+-1|0;o[t>>2]=Hr;if(ci>>>0<qe>>>0)fi=(a[ci>>0]|0)>>>Hr&1;else fi=0;if(!Hr){zr=ci+1|0;o[l>>2]=zr;o[t>>2]=8;ui=8;di=zr}else{ui=Hr;di=ci}if((li|0)<32&(fi|0)==0&di>>>0<qe>>>0){si=ui;ci=di;li=li+1|0}else{hi=ui;pi=di;bi=li;break}}if((bi|0)>0){li=bi+-1|0;di=hi;ui=pi;ci=0;si=0;while(1){fi=di+-1|0;o[t>>2]=fi;if(ui>>>0<qe>>>0)mi=(a[ui>>0]|0)>>>fi&1;else mi=0;if(!fi){Hr=ui+1|0;o[l>>2]=Hr;o[t>>2]=8;vi=8;gi=Hr}else{vi=fi;gi=ui}fi=mi<<li-ci|si;ci=ci+1|0;if((ci|0)==(bi|0)){yi=vi;wi=gi;Si=fi;break}else{di=vi;ui=gi;si=fi}}}else{yi=hi;wi=pi;Si=0}pi=(1<<bi)+-1+Si|0;o[s+1244>>2]=pi;Si=yi;yi=wi;wi=0;while(1){bi=Si+-1|0;o[t>>2]=bi;if(yi>>>0<qe>>>0)Ai=(a[yi>>0]|0)>>>bi&1;else Ai=0;if(!bi){hi=yi+1|0;o[l>>2]=hi;o[t>>2]=8;Ei=8;_i=hi}else{Ei=bi;_i=yi}if((wi|0)<32&(Ai|0)==0&_i>>>0<qe>>>0){Si=Ei;yi=_i;wi=wi+1|0}else{ki=Ei;xi=_i;Mi=wi;break}}if((Mi|0)>0){wi=Mi+-1|0;_i=ki;Ei=xi;yi=0;Si=0;while(1){Ai=_i+-1|0;o[t>>2]=Ai;if(Ei>>>0<qe>>>0)Ti=(a[Ei>>0]|0)>>>Ai&1;else Ti=0;if(!Ai){bi=Ei+1|0;o[l>>2]=bi;o[t>>2]=8;Ci=8;Oi=bi}else{Ci=Ai;Oi=Ei}Ai=Ti<<wi-yi|Si;yi=yi+1|0;if((yi|0)==(Mi|0)){Ri=Ci;Ni=Oi;Ii=Ai;break}else{_i=Ci;Ei=Oi;Si=Ai}}}else{Ri=ki;Ni=xi;Ii=0}xi=(1<<Mi)+-1+Ii|0;o[s+1248>>2]=xi;Ii=Ri;Ri=Ni;Ni=0;while(1){Mi=Ii+-1|0;o[t>>2]=Mi;if(Ri>>>0<qe>>>0)Di=(a[Ri>>0]|0)>>>Mi&1;else Di=0;if(!Mi){ki=Ri+1|0;o[l>>2]=ki;o[t>>2]=8;Pi=8;Fi=ki}else{Pi=Mi;Fi=Ri}if((Ni|0)<32&(Di|0)==0&Fi>>>0<qe>>>0){Ii=Pi;Ri=Fi;Ni=Ni+1|0}else{Li=Pi;ji=Fi;Bi=Ni;break}}if((Bi|0)>0){Ni=Bi+-1|0;Fi=Li;Pi=ji;Ri=0;Ii=0;while(1){Di=Fi+-1|0;o[t>>2]=Di;if(Pi>>>0<qe>>>0)Ui=(a[Pi>>0]|0)>>>Di&1;else Ui=0;if(!Di){Mi=Pi+1|0;o[l>>2]=Mi;o[t>>2]=8;zi=8;Hi=Mi}else{zi=Di;Hi=Pi}Di=Ui<<Ni-Ri|Ii;Ri=Ri+1|0;if((Ri|0)==(Bi|0)){qi=zi;Vi=Hi;Ki=Di;break}else{Fi=zi;Pi=Hi;Ii=Di}}}else{qi=Li;Vi=ji;Ki=0}ji=(1<<Bi)+-1+Ki|0;o[s+1252>>2]=ji;Ki=qi;qi=Vi;Vi=0;while(1){Bi=Ki+-1|0;o[t>>2]=Bi;if(qi>>>0<qe>>>0)Wi=(a[qi>>0]|0)>>>Bi&1;else Wi=0;if(!Bi){Li=qi+1|0;o[l>>2]=Li;o[t>>2]=8;Yi=8;Gi=Li}else{Yi=Bi;Gi=qi}if((Vi|0)<32&(Wi|0)==0&Gi>>>0<qe>>>0){Ki=Yi;qi=Gi;Vi=Vi+1|0}else{Ji=Yi;Zi=Gi;Xi=Vi;break}}if((Xi|0)>0){Vi=Xi+-1|0;Gi=Ji;Ji=Zi;Zi=0;Yi=0;while(1){qi=Gi+-1|0;o[t>>2]=qi;if(Ji>>>0<qe>>>0)Qi=(a[Ji>>0]|0)>>>qi&1;else Qi=0;if(!qi){Ki=Ji+1|0;o[l>>2]=Ki;o[t>>2]=8;$i=8;eo=Ki}else{$i=qi;eo=Ji}qi=Qi<<Vi-Zi|Yi;Zi=Zi+1|0;if((Zi|0)==(Xi|0)){to=qi;break}else{Gi=$i;Ji=eo;Yi=qi}}}else to=0;Yi=(1<<Xi)+-1+to|0;o[s+1256>>2]=Yi;qr=pi;Vr=xi;Kr=Yi;Wr=ji;Fn(c);Yr=lr<<4;Gr=Yr+16|0;Jr=qr<<1;Zr=Gr-Jr|0;Xr=Vr<<1;Qr=Zr-Xr|0;o[n>>2]=Qr;$r=2-Cr|0;ei=Sr+Tr|0;ti=$r<<4;ni=te(ti,ei)|0;ri=Kr<<1;ii=ni-ri|0;oi=Wr<<1;ai=ii-oi|0;o[r>>2]=ai;u=i;return}function nt(e){e=e|0;var t=0,n=0,r=0,i=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0;t=e+12|0;n=o[t>>2]|0;r=e+4|0;i=o[r>>2]|0;s=o[e+8>>2]|0;if((n|0)==8&i>>>0<s>>>0){e=a[i>>0]|0;o[r>>2]=i+1;c=e;return c|0}e=n+-1|0;o[t>>2]=e;if(i>>>0<s>>>0)l=(a[i>>0]|0)>>>e<<7&128;else l=0;if(!e){n=i+1|0;o[r>>2]=n;o[t>>2]=8;f=8;u=n}else{f=e;u=i}i=f+-1|0;o[t>>2]=i;if(u>>>0<s>>>0)d=(a[u>>0]|0)>>>i<<6&64;else d=0;if(!i){f=u+1|0;o[r>>2]=f;o[t>>2]=8;h=8;p=f}else{h=i;p=u}u=h+-1|0;o[t>>2]=u;if(p>>>0<s>>>0)b=(a[p>>0]|0)>>>u<<5&32;else b=0;if(!u){h=p+1|0;o[r>>2]=h;o[t>>2]=8;m=8;v=h}else{m=u;v=p}p=m+-1|0;o[t>>2]=p;if(v>>>0<s>>>0)g=(a[v>>0]|0)>>>p<<4&16;else g=0;if(!p){m=v+1|0;o[r>>2]=m;o[t>>2]=8;y=8;w=m}else{y=p;w=v}v=y+-1|0;o[t>>2]=v;if(w>>>0<s>>>0)S=(a[w>>0]|0)>>>v<<3&8;else S=0;if(!v){y=w+1|0;o[r>>2]=y;o[t>>2]=8;A=8;E=y}else{A=v;E=w}w=A+-1|0;o[t>>2]=w;if(E>>>0<s>>>0)_=(a[E>>0]|0)>>>w<<2&4;else _=0;if(!w){A=E+1|0;o[r>>2]=A;o[t>>2]=8;k=8;x=A}else{k=w;x=E}E=k+-1|0;o[t>>2]=E;if(x>>>0<s>>>0)M=(a[x>>0]|0)>>>E<<1&2;else M=0;if(!E){k=x+1|0;o[r>>2]=k;o[t>>2]=8;T=8;C=k}else{T=E;C=x}x=T+-1|0;o[t>>2]=x;if(C>>>0<s>>>0)O=(a[C>>0]|0)>>>x&1;else O=0;if(!x){o[r>>2]=C+1;o[t>>2]=8}c=O|(M|(_|(S|(g|(b|(d|l))))));return c|0}function rt(){var e=0;e=Ln(48,1)|0;o[e+40>>2]=At(0,0)|0;return e|0}function it(e){e=e|0;Et(o[e+40>>2]|0);Fn(e);return 0}function ot(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,s=0,c=0;r=u;u=u+16|0;i=r;a=xn(n)|0;s=((a|0)<0)<<31>>31;if((s|0)<(t|0)|(s|0)==(t|0)&a>>>0<e>>>0){wn(687)|0;Ne(0)}else{un(n,e,0)|0;c=Hn(a|0,s|0,e|0,t|0)|0;o[i>>2]=Jn(c|0)|0;An(i,4,1,n)|0;un(n,a,0)|0;u=r;return 0}return 0}function at(e){e=e|0;var t=0,n=0;t=u;u=u+16|0;n=t;o[n>>2]=256;An(n,4,1,e)|0;o[n>>2]=0;An(n,4,1,e)|0;o[n>>2]=0;An(n,4,1,e)|0;o[n>>2]=0;An(n,4,1,e)|0;o[n>>2]=256;An(n,4,1,e)|0;o[n>>2]=0;An(n,4,1,e)|0;o[n>>2]=0;An(n,4,1,e)|0;o[n>>2]=0;An(n,4,1,e)|0;o[n>>2]=64;An(n,4,1,e)|0;u=t;return 0}function st(e,t){e=e|0;t=t|0;var n=0,r=0,a=0,c=0;n=u;u=u+16|0;r=n;o[r>>2]=0;An(r,4,1,t)|0;Mn(3,t)|0;a=e+2082|0;Mn(((s[a>>1]|0)<<24)+385875968>>24,t)|0;i[r>>1]=256;An(r,2,1,t)|0;Mn(0,t)|0;Mn(4,t)|0;Mn(((s[a>>1]|0)<<24)+251658240>>24,t)|0;Mn(64,t)|0;Mn(21,t)|0;Mn(0,t)|0;Mn(0,t)|0;Mn(0,t)|0;c=e+8|0;o[r>>2]=Jn(((o[c>>2]|0)==1?12e5:128189)|0)|0;An(r,4,1,t)|0;o[r>>2]=Jn(((o[c>>2]|0)==1?12e5:128189)|0)|0;An(r,4,1,t)|0;Mn(5,t)|0;Mn((s[a>>1]|0)<<24>>24,t)|0;An(e+2084|0,s[a>>1]|0,1,t)|0;Mn(6,t)|0;Mn(1,t)|0;Mn(2,t)|0;u=n;return 0}function ct(e,t,n){e=e|0;t=t|0;n=n|0;var c=0,l=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0.0,w=0.0,S=0.0,A=0.0,E=0.0,_=0.0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0.0,D=0.0,P=0,F=0,L=0,j=0.0;c=u;u=u+32|0;l=c+8|0;d=c;h=c+12|0;p=c+17|0;b=xn(n)|0;m=((b|0)<0)<<31>>31;o[d>>2]=0;An(d,4,1,n)|0;An(t,1,4,n)|0;if(!(Lt(t,724)|0)){v=e+8|0;if((o[v>>2]|0)==1)An(729,1,4,n)|0;else An(734,1,4,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;if((o[v>>2]|0)==1){An(739,1,4,n)|0;An(744,1,4,n)|0}An(749,1,4,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,754)|0)){r[h>>0]=r[759]|0;r[h+1>>0]=r[760]|0;r[h+2>>0]=r[761]|0;r[h+3>>0]=r[762]|0;r[h+4>>0]=r[763]|0;An(h,1,4,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;An(759,1,4,n)|0;An(764,1,4,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,769)|0)){ct(e,774,n)|0;ct(e,779,n)|0;ct(e,784,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,779)|0)){ct(e,789,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,784)|0)){ct(e,794,n)|0;ct(e,799,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,804)|0)){ct(e,809,n)|0;ct(e,814,n)|0;ct(e,819,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,799)|0)){ct(e,824,n)|0;ct(e,829,n)|0;ct(e,834,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,834)|0)){ct(e,(o[e+8>>2]|0)==1?839:844,n)|0;ct(e,849,n)|0;ct(e,854,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,849)|0)){ct(e,859,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,864)|0)){ct(e,869,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,874)|0)){ct(e,879,n)|0;ct(e,804,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,854)|0)){ct(e,884,n)|0;ct(e,889,n)|0;ct(e,894,n)|0;ct(e,899,n)|0;ct(e,904,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,774)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;do{if((o[e+8>>2]|0)!=1){v=a[e+2084>>0]<<1&14|(a[e+2085>>0]|0)>>>7;if(v>>>0>12){wn(649)|0;g=48e3;break}else{g=o[8+(v<<2)>>2]|0;break}}else g=1e5}while(0);o[d>>2]=Jn(g|0)|0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=256;An(d,4,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;An(d,4,1,n)|0;at(n)|0;o[d>>2]=0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(d,4,1,n)|0;o[d>>2]=33554432;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,859)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;o[d>>2]=201326592;o[h>>2]=543978101;r[p>>0]=r[909]|0;r[p+1>>0]=r[910]|0;r[p+2>>0]=r[911]|0;An(d,4,1,n)|0;An(h,4,1,n)|0;Mn(0,n)|0;An(p,3,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,889)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,894)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,899)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,904)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,912)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=-1064563456;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,789)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;p=o[e+4>>2]|0;if((p|0)>1){g=p+-1|0;p=o[e>>2]|0;y=+f[p+16>>3];w=0.0;v=0;while(1){v=v+1|0;S=y;y=+f[p+(v*40|0)+16>>3];A=w+(y-S);if((v|0)==(g|0)){E=A;break}else w=A}w=E/+(g|0);do{if((o[e+8>>2]|0)!=1){g=a[e+2084>>0]<<1&14|(a[e+2085>>0]|0)>>>7;if(g>>>0>12){wn(649)|0;_=48.0e3;break}else{_=+(o[8+(g<<2)>>2]|0);break}}else _=1.0e5}while(0);k=In(w*_)|0}else k=(o[e+8>>2]|0)==1?1e3:1024;o[d>>2]=Jn(k|0)|0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,794)|0)){Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(3,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(d,4,1,n)|0;k=e+8|0;i[d>>1]=(o[k>>2]|0)!=1&1;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;at(n)|0;do{if((o[k>>2]|0)==1){g=e+33|0;v=e+30|0;tt(g,(s[v>>1]|0)+-1|0,d,h);p=o[d>>2]<<16;if((o[k>>2]|0)!=1){x=p;M=0;break}tt(g,(s[v>>1]|0)+-1|0,d,h);x=p;M=o[h>>2]<<16}else{x=0;M=0}}while(0);o[d>>2]=Jn(x|0)|0;An(d,4,1,n)|0;o[d>>2]=Jn(M|0)|0;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,869)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;i[d>>1]=256;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,824)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;do{if((o[e+8>>2]|0)!=1){M=a[e+2084>>0]<<1&14|(a[e+2085>>0]|0)>>>7;if(M>>>0>12){wn(649)|0;T=48e3;break}else{T=o[8+(M<<2)>>2]|0;break}}else T=1e5}while(0);o[d>>2]=Jn(T|0)|0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;Mn(85,n)|0;Mn(-60,n)|0;i[d>>1]=0;An(d,2,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,829)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;An((o[e+8>>2]|0)==1?917:922,1,4,n)|0;o[d>>2]=0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(927,17,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,839)|0)){Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,844)|0)){o[d>>2]=0;An(d,4,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,884)|0)){o[d>>2]=0;An(d,4,1,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;if((o[e+8>>2]|0)==1){ct(e,739,n)|0;ot(b,m,n)|0;u=c;return 0}else{ct(e,944,n)|0;ot(b,m,n)|0;u=c;return 0}}if(!(Lt(t,739)|0)){o[d>>2]=0;An(d,4,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=256;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;An(d,4,1,n)|0;An(d,4,1,n)|0;T=e+33|0;M=e+30|0;tt(T,(s[M>>1]|0)+-1|0,d,h);x=o[d>>2]&65535;i[d>>1]=x<<8|x>>>8;An(d,2,1,n)|0;tt(T,(s[M>>1]|0)+-1|0,d,h);M=o[h>>2]&65535;i[d>>1]=M<<8|M>>>8;An(d,2,1,n)|0;o[d>>2]=18432;An(d,4,1,n)|0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;i[d>>1]=256;An(d,2,1,n)|0;An(949,1,4,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;i[d>>1]=6144;An(d,2,1,n)|0;i[d>>1]=-1;An(d,2,1,n)|0;ct(e,954,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,954)|0)){Mn(1,n)|0;Mn(r[e+33>>0]|0,n)|0;Mn(r[e+34>>0]|0,n)|0;Mn(r[e+35>>0]|0,n)|0;Mn(((a[e+28>>0]<<24)+117440512|-134217728)>>24,n)|0;Mn(-31,n)|0;M=e+30|0;h=s[M>>1]|0;i[d>>1]=h<<8|h>>>8;An(d,2,1,n)|0;An(e+32|0,1,s[M>>1]|0,n)|0;Mn(1,n)|0;M=e+1056|0;h=s[M>>1]|0;i[d>>1]=h<<8|h>>>8;An(d,2,1,n)|0;An(e+1058|0,1,s[M>>1]|0,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,944)|0)){o[d>>2]=0;An(d,4,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=256;An(d,2,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;An(d,4,1,n)|0;i[d>>1]=512;An(d,2,1,n)|0;i[d>>1]=4096;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;M=a[e+2084>>0]<<1&14|(a[e+2085>>0]|0)>>>7;if(M>>>0>12){wn(649)|0;C=-1149239296}else C=o[8+(M<<2)>>2]<<16;o[d>>2]=Jn(C|0)|0;An(d,4,1,n)|0;ct(e,959,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,959)|0)){st(e,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,964)|0)){Mn(1,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;do{if((o[e+8>>2]|0)!=1){C=a[e+2084>>0]<<1&14|(a[e+2085>>0]|0)>>>7;if(C>>>0>12){wn(649)|0;O=48e3;break}else{O=o[8+(C<<2)>>2]|0;break}}else O=1e5}while(0);o[d>>2]=Jn(O|0)|0;An(d,4,1,n)|0;O=e+16|0;C=o[O+4>>2]|0;M=Jn(o[O>>2]|0)|0;O=d;o[O>>2]=Jn(C|0)|0;o[O+4>>2]=M;An(d,8,1,n)|0;M=d;o[M>>2]=0;o[M+4>>2]=0;An(d,8,1,n)|0;i[d>>1]=0;An(d,2,1,n)|0;i[d>>1]=256;An(d,2,1,n)|0;M=o[e+4>>2]|0;O=(M<<4)+88|0;if((M|0)>0){C=o[e>>2]|0;h=0;T=0;while(1){x=(o[C+(h*40|0)+12>>2]|0)+T|0;h=h+1|0;if((h|0)==(M|0)){R=x;break}else T=x}N=R+8|0}else N=8;o[d>>2]=Jn(O+N&2147483647|0)|0;An(d,4,1,n)|0;o[d>>2]=0;An(d,4,1,n)|0;Mn(-128,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,879)|0)){Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;o[d>>2]=Jn(o[e+24>>2]|0)|0;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,969)|0)){Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(16,n)|0;Mn(7,n)|0;Mn(0,n)|0;Mn(79,n)|0;Mn(-1,n)|0;Mn(-1,n)|0;Mn(-1,n)|0;Mn(21,n)|0;Mn(-1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,809)|0)){Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;o[d>>2]=16777216;An(d,4,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(!(Lt(t,814)|0)){Mn(1,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;N=e+16|0;O=o[N+4>>2]|0;R=Jn(o[N>>2]|0)|0;N=d;o[N>>2]=Jn(O|0)|0;o[N+4>>2]=R;An(d,8,1,n)|0;ot(b,m,n)|0;u=c;return 0}if(Lt(t,819)|0){if(Lt(t,974)|0){o[l>>2]=t;Cn(979,l)|0;Ne(0)}l=e+4|0;if((o[l>>2]|0)<=0){ot(b,m,n)|0;u=c;return 0}t=0;do{R=o[e>>2]|0;An(o[R+(t*40|0)+8>>2]|0,o[R+(t*40|0)+12>>2]|0,1,n)|0;t=t+1|0}while((t|0)<(o[l>>2]|0));ot(b,m,n)|0;u=c;return 0}Mn(1,n)|0;Mn(0,n)|0;Mn(15,n)|0;Mn(1,n)|0;l=e+4|0;o[d>>2]=Jn(o[l>>2]|0)|0;An(d,4,1,n)|0;o[d>>2]=Jn((o[l>>2]<<4)+96|0)|0;An(d,4,1,n)|0;t=o[l>>2]|0;if((t|0)>1){R=t+-1|0;t=o[e>>2]|0;_=+f[t+16>>3];w=0.0;N=0;while(1){N=N+1|0;E=_;_=+f[t+(N*40|0)+16>>3];y=w+(_-E);if((N|0)==(R|0)){I=y;break}else w=y}w=I/+(R|0);R=e+8|0;N=o[R>>2]|0;do{if((N|0)!=1){t=a[e+2084>>0]<<1&14|(a[e+2085>>0]|0)>>>7;if(t>>>0>12){wn(649)|0;D=48.0e3;P=o[R>>2]|0;break}else{D=+(o[8+(t<<2)>>2]|0);P=N;break}}else{D=1.0e5;P=1}}while(0);F=In(w*D)|0;L=P}else{P=o[e+8>>2]|0;F=(P|0)==1?1e3:1024;L=P}do{if((L|0)!=1){P=a[e+2084>>0]<<1&14|(a[e+2085>>0]|0)>>>7;if(P>>>0>12){wn(649)|0;j=48.0e3;break}else{j=+(o[8+(P<<2)>>2]|0);break}}else j=1.0e5}while(0);if((o[l>>2]|0)<=0){ot(b,m,n)|0;u=c;return 0}L=Jn(F|0)|0;F=0;do{o[d>>2]=L;An(d,4,1,n)|0;o[d>>2]=Jn(o[(o[e>>2]|0)+(F*40|0)+12>>2]|0)|0;An(d,4,1,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;Mn(0,n)|0;P=o[e>>2]|0;N=In(j*(+f[P+(F*40|0)+16>>3]-+f[P+(F*40|0)+24>>3]))|0;o[d>>2]=Jn(((N|0)>0?N:0)|0)|0;An(d,4,1,n)|0;F=F+1|0}while((F|0)<(o[l>>2]|0));ot(b,m,n)|0;u=c;return 0}function lt(e,t,n,s){e=e|0;t=+t;n=n|0;s=s|0;var c=0,l=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0.0,I=0,D=0,P=0,F=0,L=0,j=0,B=0;c=u;u=u+16|0;l=c+8|0;d=c;h=n+s|0;p=e+50094|0;b=e+50096|0;m=e+50097|0;v=e+50098|0;g=e+50099|0;y=e+50100|0;w=e+4|0;S=e+8|0;A=n;n=s;s=0;while(1){if((n|0)<7){E=n;_=5;break}if((r[A>>0]|0)!=-1){E=n;_=5;break}k=a[A+1>>0]|0;if((k|1|0)!=241){E=n;_=5;break}x=a[A+2>>0]|0;M=x>>>2;T=a[A+3>>0]|0;C=T<<11&6144|a[A+4>>0]<<3|(a[A+5>>0]|0)>>>5;O=a[A+6>>0]&3;if(O|0){o[d>>2]=O;Cn(1e3,d)|0}i[p>>1]=2;O=x>>>3;r[b>>0]=(x>>>6<<3)+8|O&7;r[m>>0]=(x<<2&4|T>>>6)<<3|M<<7;r[v>>0]=86;r[g>>0]=-27;r[y>>0]=0;T=O<<1&14|M&1;if(T>>>0>12){wn(649)|0;R=48e3}else R=o[8+(T<<2)>>2]|0;N=+(s|0)*1024.0/+(R|0)+t;if(!(k&1)){if((n|0)<9){_=14;break}I=A+9|0;D=C+-9|0}else{I=A+7|0;D=C+-7|0}if((I+D|0)>>>0>h>>>0){P=n;_=20;break}k=o[w>>2]|0;if((k|0)==(o[S>>2]|0)){T=(k<<1)+64|0;o[S>>2]=T;M=jn(o[e>>2]|0,T*40|0)|0;o[e>>2]=M;F=o[w>>2]|0;L=M}else{F=k;L=o[e>>2]|0}o[w>>2]=F+1;o[L+(F*40|0)+32>>2]=1;k=Pn(D)|0;o[L+(F*40|0)+8>>2]=k;Yn(k|0,I|0,D|0)|0;o[L+(F*40|0)+12>>2]=D;f[L+(F*40|0)+16>>3]=N;f[L+(F*40|0)+24>>3]=N;k=n-C|0;if((k|0)>7){A=A+C|0;n=k;s=s+1|0}else{j=k;break}}if((_|0)==5){wn(994)|0;j=E}else if((_|0)==14){An(1022,15,1,o[93]|0)|0;B=1;u=c;return B|0}else if((_|0)==20){An(1038,6,1,o[93]|0)|0;j=P}if(!j){B=1;u=c;return B|0}P=o[93]|0;o[l>>2]=j;pn(P,1045,l)|0;B=0;u=c;return B|0}function ft(e,t,n,s,c){e=e|0;t=+t;n=+n;s=s|0;c=c|0;var l=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0,F=0,L=0,j=0,B=0,U=0,z=0,H=0,q=0,V=0,K=0,W=0,Y=0,G=0,J=0,Z=0,X=0,Q=0,$=0,ee=0,te=0,ne=0,re=0,ie=0,oe=0,ae=0,se=0,ce=0,le=0,fe=0,ue=0,de=0,he=0,pe=0,be=0,me=0,ve=0,ge=0,ye=0,we=0,Se=0,Ae=0,Ee=0,_e=0,ke=0,xe=0,Me=0,Te=0,Ce=0,Oe=0,Re=0,Ne=0,Ie=0,De=0,Pe=0,Fe=0,Le=0,je=0,Be=0,Ue=0,ze=0,He=0,qe=0,Ve=0,Ke=0,We=0,Ye=0;l=u;u=u+16|0;d=l+8|0;h=l;if((s+4|0)>>>0>c>>>0){u=l;return}if((a[s+1>>0]<<16|a[s>>0]<<24|a[s+2>>0]<<8|a[s+3>>0]|0)!=1){u=l;return}p=Pn(128-s+c|0)|0;b=e+48024|0;m=e+48042|0;v=e+48044|0;g=o[93]|0;y=e+49068|0;w=e+49070|0;S=s;s=0;A=0;E=0;e:while(1){_=S;k=s;x=A;t:while(1){M=_;T=k;while(1){if((T|0)==0&(M|0)!=(c|0))C=M;else{O=x;R=E;break e}while(1){N=C+3|0;I=N>>>0>c>>>0;if(!I){D=r[C>>0]|0;P=C+1|0;F=r[P>>0]|0;L=r[C+2>>0]|0;if(((F&255)<<8|(D&255)<<16|L&255|0)==1){j=C;B=P;U=D;z=F;H=L;q=0;break}else V=0}else V=1;if((C+4|0)>>>0>c>>>0){K=C;W=I;Y=1;G=11;break}L=C+1|0;if((V|0)==0?(a[L>>0]<<16|a[C>>0]<<24|a[C+2>>0]<<8|a[N>>0]|0)!=1:0)C=L;else{K=C;W=I;Y=V;G=11;break}}if((G|0)==11){G=0;if(W){O=x;R=E;break e}I=K+1|0;j=K;B=I;U=r[K>>0]|0;z=r[I>>0]|0;H=r[K+2>>0]|0;q=Y}I=((z&255)<<8|(U&255)<<16|H&255|0)==1?j:B;if(q|0){O=x;R=E;break e}L=I+3|0;if(L>>>0>c>>>0){O=x;R=E;break e}if((a[I+1>>0]<<8|a[I>>0]<<16|a[I+2>>0]|0)==1)J=L;else{O=x;R=E;break e}while(1){N=J+3|0;if(N>>>0<=c>>>0)if((a[J+1>>0]<<8|a[J>>0]<<16|a[J+2>>0]|0)==1){Z=J;X=0;break}else Q=0;else Q=1;if((J+4|0)>>>0>c>>>0){Z=J;X=1;break}F=J+1|0;if((Q|0)==0?(a[F>>0]<<16|a[J>>0]<<24|a[J+2>>0]<<8|a[N>>0]|0)!=1:0)J=F;else{Z=J;X=Q;break}}F=(X|0)==0?Z:c;N=F-L|0;if((N|0)<1){M=F;T=X}else{$=I;ee=F;te=L;ne=N;re=X;break}}T=a[te>>0]&31;switch(T|0){case 7:{ie=ee;oe=te;ae=ne;se=re;ce=x;G=22;break t;break}case 8:{le=ee;fe=te;ue=ne;de=re;he=x;G=25;break t;break}default:{}}M=(T|0)==5?1:x;n:do{if((ee|0)!=(te|0)&(T|0)==6){N=$+4|0;F=N+(ne+-1)|0;D=F;P=N;do{if((P|0)==(F|0))break n;else{pe=P;be=0}while(1){N=r[pe>>0]|0;if(N<<24>>24!=-1){me=pe;ve=N;ge=be;break}pe=pe+1|0;if((pe|0)==(F|0))break n;else be=be+255|0}N=(ve&255)+ge|0;ye=me+1|0;if((ye|0)==(F|0))break n;else{we=me;Se=ye;Ae=0}while(1){ye=r[Se>>0]|0;if(ye<<24>>24!=-1){Ee=we;_e=ye;ke=Ae;break}ye=Se+1|0;if((ye|0)==(F|0))break n;else{xe=Se;Se=ye;Ae=Ae+255|0;we=xe}}xe=Ee+2|0;P=xe+((_e&255)+ke)|0;r:do{if((((((((((N|0)==4?(ye=D-xe|0,(ye|0)>6):0)?(r[xe>>0]|0)==-75:0)?(r[Ee+3>>0]|0)==0:0)?(r[Ee+4>>0]|0)==49:0)?(Me=ye+-3|0,(Me|0)>=9):0)?(r[Ee+5>>0]|0)==71:0)?(r[Ee+6>>0]|0)==65:0)?(r[Ee+7>>0]|0)==57:0)?(r[Ee+8>>0]|0)==52:0){if((r[Ee+9>>0]|0)!=3)break;Te=Ee+10|0;Ce=ye+-8|0;Oe=Te+Ce|0;Re=Me<<3;if(!((Re+-32|0)>0&(Re+-33|0)>0))break;Re=r[Te>>0]|0;if(((ye<<3)+-58|0)<=0)break;if((Ce<<3|5|0)<=4)break;Ce=Re&31;if(((Oe-(Ee+11)<<3)+8|0)<=7)break;if(!((Re&64)!=0&(Ce|0)!=0))break;Re=Ee+12|0;ye=0;while(1){Te=Re;if(((Oe-Re<<3)+8|0)<8)break r;Me=Te+1|0;Ne=Me;Ie=a[Te>>0]|0;do{if(((Oe-Ne<<3)+8|0)>7){De=r[Me>>0]|0;Pe=Te+2|0;Fe=Pe;if(((Oe-Fe<<3)+8|0)<=7){Le=0;je=De;Be=Fe;Ue=1;break}Le=r[Pe>>0]|0;je=De;Be=Te+3|0;Ue=0}else{Le=0;je=0;Be=Ne;Ue=1}}while(0);do{if(Ie&4|0){if(Ue|Ie&3|0)break;Ne=o[b>>2]|0;if(Ne>>>0>=3e3)break;r[e+24+(Ne<<4)+8>>0]=je;r[e+24+(Ne<<4)+9>>0]=Le;f[e+24+(Ne<<4)>>3]=t;o[b>>2]=(o[b>>2]|0)+1}}while(0);ye=ye+1|0;if(!((ye|0)<(Ce|0)&(Ue|0)==0))break;else Re=Be}}}while(0)}while(P>>>0<F>>>0)}}while(0);switch(T|0){case 1:case 5:case 7:case 8:{ze=ee;He=M;qe=te;Ve=ne;Ke=re;break t;break}default:{_=ee;k=re;x=M}}}do{if((G|0)==22){G=0;if(ae>>>0<1024){i[m>>1]=ae;Yn(v|0,oe|0,ae&65535|0)|0;ze=ie;He=ce;qe=oe;Ve=ae;Ke=se;break}else{o[h>>2]=ae;pn(g,1084,h)|0;ze=ie;He=ce;qe=oe;Ve=ae;Ke=se;break}}else if((G|0)==25){G=0;if(ue>>>0<1024){i[y>>1]=ue;Yn(w|0,fe|0,ue&65535|0)|0;ze=le;He=he;qe=fe;Ve=ue;Ke=de;break}else{o[d>>2]=ue;pn(g,1103,d)|0;ze=le;He=he;qe=fe;Ve=ue;Ke=de;break}}}while(0);x=Jn(Ve|0)|0;k=p+E|0;r[k>>0]=x;r[k+1>>0]=x>>8;r[k+2>>0]=x>>16;r[k+3>>0]=x>>24;x=E+4|0;Yn(p+x|0,qe|0,Ve|0)|0;S=ze;s=Ke;A=He;E=Ve+x|0}if(!R){Fn(p);u=l;return}Ve=e+16|0;E=o[Ve>>2]|0;He=e+20|0;if((E|0)==(o[He>>2]|0)){A=(E<<1)+64|0;o[He>>2]=A;He=e+12|0;Ke=jn(o[He>>2]|0,A*40|0)|0;o[He>>2]=Ke;We=o[Ve>>2]|0;Ye=Ke}else{We=E;Ye=o[e+12>>2]|0}o[Ve>>2]=We+1;o[Ye+(We*40|0)+8>>2]=p;o[Ye+(We*40|0)+32>>2]=O;o[Ye+(We*40|0)+12>>2]=R;f[Ye+(We*40|0)+16>>3]=t;f[Ye+(We*40|0)+24>>3]=n;u=l;return}function ut(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var s=0,c=0,l=0,u=0.0,d=0,h=0,p=0,b=0,m=0,v=0;s=t+24|0;c=o[s>>2]|0;if((c|0)==27){ft(e,+f[t>>3],+f[t+8>>3],n,n+i|0);l=o[s>>2]|0}else l=c;if((l|0)==15)lt(e,+f[t>>3],n,i)|0;if((o[t+16>>2]|0)!=13)return;u=+f[t>>3];if((i|0)<21)return;if($t(1122,n,6)|0)return;if($t(1128,n+10|0,4)|0)return;t=a[n+15>>0]<<14|a[n+14>>0]<<21|a[n+16>>0]<<7|a[n+17>>0];if(t>>>0<4|(t+20|0)>(i|0)){An(1132,23,1,o[93]|0)|0;return}if((r[n+20>>0]|0)!=3){An(1156,24,1,o[93]|0)|0;return}i=Ln(t+16|0,1)|0;if(!i)return;if(t>>>0>1){l=0;c=1;s=0;while(1){d=r[n+(c+20)>>0]|0;if((s|0)==3){r[i+l>>0]=d;h=l+1|0;p=3}else{h=l;p=(d<<24>>24==0&1)+s|0}c=c+1|0;if((c|0)>=(t|0)){b=h;break}else{l=h;s=p}}}else b=0;p=e+48032|0;s=o[p>>2]|0;h=e+48036|0;if((s|0)==(o[h>>2]|0)){l=(s<<1)+64|0;o[h>>2]=l;h=e+48028|0;t=jn(o[h>>2]|0,l<<4)|0;o[h>>2]=t;m=o[p>>2]|0;v=t}else{m=s;v=o[e+48028>>2]|0}o[p>>2]=m+1;o[v+(m<<4)+8>>2]=i;o[v+(m<<4)+12>>2]=b;f[v+(m<<4)>>3]=u;return}function dt(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,s=0,c=0,l=0,d=0;t=u;u=u+528|0;i=t;a=t+8|0;o[i>>2]=r;Bt(a,511,1181,i)|0;r=rn(a,1188)|0;if(!r){s=1;u=t;return s|0}a=n+48032|0;o[i>>2]=o[a>>2];An(i,4,1,r)|0;if((o[a>>2]|0)>0){c=n+48028|0;n=e+8|0;e=0;do{l=o[c>>2]|0;o[i>>2]=~~((+f[l+(e<<4)>>3]-+f[n>>3])*1.0e3)>>>0;An(i,4,1,r)|0;d=l+(e<<4)+12|0;o[i>>2]=o[d>>2];An(i,4,1,r)|0;An(o[l+(e<<4)+8>>2]|0,o[d>>2]|0,1,r)|0;e=e+1|0}while((e|0)<(o[a>>2]|0))}sn(r)|0;s=0;u=t;return s|0}function ht(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var a=0,s=0,c=0,l=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0;t=u;u=u+2464|0;a=t;s=t+1944|0;c=t+4|0;o[a>>2]=i;Bt(s,511,1190,a)|0;i=rn(s,1188)|0;if(!i){l=1;u=t;return l|0}s=n+48024|0;o[a>>2]=o[s>>2];An(a,4,1,i)|0;if((o[s>>2]|0)>0){d=e+40|0;h=e+8|0;e=c+129|0;p=c+258|0;b=c+387|0;m=c+516|0;v=c+645|0;g=c+774|0;y=c+903|0;w=c+1032|0;S=c+1161|0;A=c+1290|0;E=c+1419|0;_=c+1548|0;k=c+1677|0;x=c+1806|0;M=0;do{T=n+24+(M<<4)|0;wt(o[d>>2]|0,+f[T>>3],n+24+(M<<4)+8|0,2);St(o[d>>2]|0,+f[T>>3]);gt(o[d>>2]|0,c);C=((r[x>>0]|0)!=0&1)+(((r[k>>0]|0)!=0&1)+(((r[_>>0]|0)!=0&1)+(((r[E>>0]|0)!=0&1)+(((r[A>>0]|0)!=0&1)+(((r[S>>0]|0)!=0&1)+(((r[w>>0]|0)!=0&1)+(((r[y>>0]|0)!=0&1)+(((r[g>>0]|0)!=0&1)+(((r[v>>0]|0)!=0&1)+(((r[m>>0]|0)!=0&1)+(((r[b>>0]|0)!=0&1)+(((r[p>>0]|0)!=0&1)+(((r[e>>0]|0)!=0&1)+((r[c>>0]|0)!=0&1))))))))))))))|0;o[a>>2]=~~((+f[T>>3]-+f[h>>3])*1.0e3)>>>0;An(a,4,1,i)|0;Mn(C<<24>>24,i)|0;C=0;do{T=c+(C*129|0)|0;if(r[T>>0]|0){O=Dt(T)|0;Mn(C<<24>>24,i)|0;Mn(O<<24>>24,i)|0;An(T,O&255,1,i)|0}C=C+1|0}while((C|0)!=15);M=M+1|0}while((M|0)<(o[s>>2]|0))}sn(i)|0;l=0;u=t;return l|0}function pt(e,t,n,a,s){e=e|0;t=t|0;n=n|0;a=a|0;s=s|0;var c=0,l=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0.0,T=0,C=0.0,O=0.0,R=0,N=0,I=0,D=0,P=0,F=0,L=0,j=0,B=0,U=0,z=0,H=0,q=0,V=0,K=0,W=0,Y=0.0,G=0.0,J=0,Z=0,X=0,Q=0,$=0,ee=0,te=0.0,ne=0,re=0.0,ie=0;c=u;u=u+3856|0;l=c+3328|0;d=c+3312|0;h=c+3296|0;p=c+3264|0;b=c+3240|0;m=c+3208|0;v=c+3200|0;g=c+3192|0;y=c+3184|0;w=c+3152|0;S=c+3136|0;A=c+3120|0;E=c+3112|0;_=c;k=c+3336|0;if(o[1158]|0){o[E>>2]=n|0?1197:5180;Cn(1213,E)|0;E=o[a>>2]|0;x=a+4|0;M=+f[E+(((o[x>>2]|0)+-1|0)*40|0)+16>>3];f[A>>3]=+f[E+16>>3];f[A+8>>3]=M;Cn(1234,A)|0;A=o[a+12>>2]|0;E=a+16|0;M=+f[A+(((o[E>>2]|0)+-1|0)*40|0)+16>>3];f[S>>3]=+f[A+16>>3];f[S+8>>3]=M;Cn(1249,S)|0;M=+f[e+32>>3];S=o[E>>2]|0;E=o[x>>2]|0;f[w>>3]=+f[e+8>>3];f[w+8>>3]=M;o[w+16>>2]=t;o[w+20>>2]=S;o[w+24>>2]=E;Cn(1264,w)|0}do{if(o[e>>2]|0){if(!n){T=a+4|0;break}if(o[1158]|0)wn(1339)|0;w=a+4|0;if(o[w>>2]|0){M=+f[e+24>>3]-+f[(o[a>>2]|0)+16>>3];if(!(o[1158]|0))C=M;else{f[y>>3]=M;Cn(1363,y)|0;C=M}}else C=0.0;E=a+16|0;if(o[E>>2]|0){M=+f[e+16>>3]-+f[(o[a+12>>2]|0)+16>>3];if(!(o[1158]|0))O=M;else{f[g>>3]=C;Cn(1392,g)|0;O=M}}else O=0.0;S=(o[E>>2]|0)==0;do{if(!(o[w>>2]|0)){if(!S)f[e+32>>3]=O}else if(S){f[e+32>>3]=C;break}else{f[e+32>>3]=+Dn(C,O);break}}while(0);if(!(o[1158]|0))T=w;else{f[v>>3]=+f[e+32>>3];Cn(1421,v)|0;T=w}}else{if(o[a+16>>2]|0)f[e+8>>3]=+f[(o[a+12>>2]|0)+16>>3];S=a+4|0;if(o[S>>2]|0?(E=e+8|0,M=+f[(o[a>>2]|0)+16>>3],+f[E>>3]>M):0)f[E>>3]=M;o[e>>2]=1;T=S}}while(0);v=o[T>>2]|0;if((v|0)>0){O=+f[e+32>>3];g=o[a>>2]|0;y=0;do{n=g+(y*40|0)+16|0;f[n>>3]=O+ +f[n>>3];n=g+(y*40|0)+24|0;f[n>>3]=O+ +f[n>>3];y=y+1|0}while((y|0)<(v|0))}v=a+16|0;y=o[v>>2]|0;if((y|0)>0){O=+f[e+32>>3];g=o[a+12>>2]|0;n=0;do{S=g+(n*40|0)+16|0;f[S>>3]=O+ +f[S>>3];S=g+(n*40|0)+24|0;f[S>>3]=O+ +f[S>>3];n=n+1|0}while((n|0)<(y|0))}y=o[T>>2]|0;if(y|0)f[e+24>>3]=+f[(o[a>>2]|0)+((y+-1|0)*40|0)+16>>3];y=o[v>>2]|0;if(y|0)f[e+16>>3]=+f[(o[a+12>>2]|0)+((y+-1|0)*40|0)+16>>3];y=e+8|0;if(o[1158]|0){O=+f[e+32>>3];e=o[v>>2]|0;n=o[T>>2]|0;f[m>>3]=+f[y>>3];f[m+8>>3]=O;o[m+16>>2]=t;o[m+20>>2]=e;o[m+24>>2]=n;Cn(1457,m)|0}m=_+24|0;n=_+28|0;e=a+49068|0;g=_+1056|0;S=_+1058|0;E=a+49070|0;x=a+48042|0;A=_+30|0;R=_+32|0;N=a+48044|0;I=a+50094|0;D=_+2082|0;P=_+2084|0;F=a+50096|0;L=a+12|0;j=_+4|0;B=_+8|0;U=_+16|0;z=0;e:while(1){H=(z&1|0)==0;qn(_|0,0,3112)|0;o[m>>2]=t;r[n>>0]=4;q=i[e>>1]|0;i[g>>1]=q;Yn(S|0,E|0,q&65535|0)|0;q=i[x>>1]|0;i[A>>1]=q;Yn(R|0,N|0,q&65535|0)|0;q=i[I>>1]|0;i[D>>1]=q;Yn(P|0,F|0,q&65535|0)|0;do{if((z|0)<2){q=o[L>>2]|0;o[_>>2]=q;V=o[v>>2]|0;o[j>>2]=V;o[B>>2]=1;if(!V){V=U;o[V>>2]=0;o[V+4>>2]=0;break}O=+f[q+16>>3]-+f[y>>3];if(O<0.0){K=67;break e}q=In(O*1.0e5)|0;V=U;o[V>>2]=q;o[V+4>>2]=((q|0)<0)<<31>>31}else{q=o[a>>2]|0;o[_>>2]=q;V=o[T>>2]|0;o[j>>2]=V;o[B>>2]=0;if(!V){V=U;o[V>>2]=0;o[V+4>>2]=0;break}O=+f[q+16>>3];C=+f[y>>3];if(O-C<0.0){K=67;break e}q=i[P>>1]|0;V=(q&65535)<<1&14|((q&65535)>>>8&65535)>>>7;if(V>>>0>12){wn(649)|0;W=48e3;Y=+f[y>>3];G=+f[(o[a>>2]|0)+16>>3]}else{W=o[8+(V<<2)>>2]|0;Y=C;G=O}V=In(+(W|0)*(G-Y))|0;q=U;o[q>>2]=V;o[q+4>>2]=((V|0)<0)<<31>>31}}while(0);if(!(H|(o[1158]|0)==0)){w=o[B>>2]|0;do{if((w|0)!=1){V=i[P>>1]|0;q=(V&65535)<<1&14|((V&65535)>>>8&65535)>>>7;if(q>>>0>12){wn(649)|0;J=48e3;Z=o[B>>2]|0;break}else{J=o[8+(q<<2)>>2]|0;Z=w;break}}else{J=1e5;Z=1}}while(0);w=o[_>>2]|0;O=+f[w+16>>3];C=+f[y>>3];q=In(+(J|0)*(O-C))|0;V=((q|0)<0)<<31>>31;do{if((Z|0)!=1){X=i[P>>1]|0;Q=(X&65535)<<1&14|((X&65535)>>>8&65535)>>>7;if(Q>>>0>12){wn(649)|0;X=o[_>>2]|0;$=48e3;ee=X;te=+f[y>>3];ne=o[B>>2]|0;re=+f[X+16>>3];break}else{$=o[8+(Q<<2)>>2]|0;ee=w;te=C;ne=Z;re=O;break}}else{$=1e5;ee=w;te=C;ne=1;re=O}}while(0);O=+f[ee+(((o[j>>2]|0)+-1|0)*40|0)+16>>3];w=In(+($|0)*(O-te))|0;o[b>>2]=(ne|0)==1?1533:1539;f[b+8>>3]=re;f[b+16>>3]=O;Cn(1545,b)|0;O=+f[(o[_>>2]|0)+16>>3]-+f[y>>3];o[p>>2]=(o[B>>2]|0)==1?1533:1539;f[p+8>>3]=O;Q=p+16|0;o[Q>>2]=q;o[Q+4>>2]=V;Q=p+24|0;o[Q>>2]=w;o[Q+4>>2]=((w|0)<0)<<31>>31;Cn(1567,p)|0;w=o[U>>2]|0;Q=o[j>>2]|0;o[h>>2]=(o[B>>2]|0)==1?1533:1539;o[h+4>>2]=w;o[h+8>>2]=Q;Cn(1604,h)|0}Q=(o[B>>2]|0)==1?118:115;o[d>>2]=s;o[d+4>>2]=Q;o[d+8>>2]=H?1630:1635;Bt(k,511,1640,d)|0;Q=rn(k,1188)|0;if(!Q){K=68;break}if(H){ct(_,724,Q)|0;ct(_,769,Q)|0}else{ct(_,754,Q)|0;ct(_,964,Q)|0;ct(_,874,Q)|0;ct(_,974,Q)|0}sn(Q)|0;z=z+1|0;if((z|0)>=4){ie=0;K=70;break}}if((K|0)==67){ie=1;u=c;return ie|0}else if((K|0)==68){o[l>>2]=k;Cn(1653,l)|0;ie=1;u=c;return ie|0}else if((K|0)==70){u=c;return ie|0}return 0}function bt(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,s=0,c=0,l=0;t=e+16|0;if((o[t>>2]|0)>0){n=e+12|0;r=0;do{Fn(o[(o[n>>2]|0)+(r*40|0)+8>>2]|0);r=r+1|0}while((r|0)<(o[t>>2]|0))}t=e+4|0;if((o[t>>2]|0)>0){r=0;do{Fn(o[(o[e>>2]|0)+(r*40|0)+8>>2]|0);r=r+1|0}while((r|0)<(o[t>>2]|0))}t=e+48032|0;r=e+48028|0;if((o[t>>2]|0)>0)i=0;else{a=o[e>>2]|0;Fn(a);s=e+12|0;c=o[s>>2]|0;Fn(c);l=o[r>>2]|0;Fn(l);qn(e|0,0,51120)|0;return}do{Fn(o[(o[r>>2]|0)+(i<<4)+8>>2]|0);i=i+1|0}while((i|0)<(o[t>>2]|0));a=o[e>>2]|0;Fn(a);s=e+12|0;c=o[s>>2]|0;Fn(c);l=o[r>>2]|0;Fn(l);qn(e|0,0,51120)|0;return}function mt(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,s=0,c=0,l=0,f=0,d=0,h=0;a=u;u=u+52688|0;s=a+51152|0;c=a+32|0;l=a+16|0;f=a;d=a+52176|0;o[f>>2]=i;o[f+4>>2]=118;o[f+8>>2]=1635;Bt(d,511,1640,f)|0;Tn(d)|0;o[l>>2]=i;o[l+4>>2]=118;o[l+8>>2]=1630;Bt(d,511,1640,l)|0;Tn(d)|0;o[c>>2]=i;o[c+4>>2]=115;o[c+8>>2]=1635;Bt(d,511,1640,c)|0;Tn(d)|0;o[s>>2]=i;o[s+4>>2]=115;o[s+8>>2]=1630;Bt(d,511,1640,s)|0;Tn(d)|0;qn(c|0,0,51120)|0;d=rn(r,1669)|0;if(!d){An(1672,15,1,o[93]|0)|0;wn(1688)|0;h=1;u=a;return h|0}r=Je()|0;Qe(r,1,c);do{l=yn(s,1,1024,d)|0;if((l|0)<1)break;Xe(r,s,l)}while(!(fn(d)|0));$e(r);sn(d)|0;Ze(r);if(!(pt(e,t,n,c,i)|0)){ht(e,0,c,i)|0;dt(e,0,c,i)|0;bt(c);h=0;u=a;return h|0}else{wn(1708)|0;bt(c);h=1;u=a;return h|0}return 0}function vt(e,t){e=e|0;t=t|0;var n=0.0,r=0.0,i=0;n=+f[e>>3];r=+f[t>>3];do{if(n==r)i=0;else{if(r>n){if(!(r-n<47721.85884)){i=1;break}}else if(!(n>r&!(n-r<47721.85884))){i=1;break}i=-1}}while(0);return i|0}function gt(e,t){e=e|0;t=t|0;if(!((e|0)!=0&(t|0)!=0))return;Yn(t|0,e+7224|0,129)|0;Yn(t+129|0,e+7353|0,129)|0;Yn(t+258|0,e+7482|0,129)|0;Yn(t+387|0,e+7611|0,129)|0;Yn(t+516|0,e+7740|0,129)|0;Yn(t+645|0,e+7869|0,129)|0;Yn(t+774|0,e+7998|0,129)|0;Yn(t+903|0,e+8127|0,129)|0;Yn(t+1032|0,e+8256|0,129)|0;Yn(t+1161|0,e+8385|0,129)|0;Yn(t+1290|0,e+8514|0,129)|0;Yn(t+1419|0,e+8643|0,129)|0;Yn(t+1548|0,e+8772|0,129)|0;Yn(t+1677|0,e+8901|0,129)|0;Yn(t+1806|0,e+9030|0,129)|0;return}function yt(e,t,n,i){e=e|0;t=+t;n=n|0;i=i|0;var s=0,c=0,l=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0,F=0,L=0,j=0,B=0,U=0,z=0,H=0,q=0,V=0,K=0,W=0,Y=0,G=0,J=0,Z=0,X=0,Q=0,$=0,ee=0,te=0,ne=0,re=0,ie=0,oe=0,ae=0,se=0,ce=0,le=0,fe=0,ue=0,de=0,he=0,pe=0,be=0,me=0,ve=0,ge=0,ye=0,we=0,Se=0,Ae=0,Ee=0,_e=0,ke=0,xe=0,Me=0,Te=0,Ce=0,Oe=0,Re=0,Ne=0,Ie=0,De=0,Pe=0,Fe=0,Le=0,je=0,Be=0,Ue=0,ze=0,He=0,qe=0,Ve=0,We=0,Ye=0,Ge=0,Je=0,Ze=0;s=u;u=u+288|0;c=s+144|0;l=s+136|0;d=s+128|0;h=s+120|0;p=s+104|0;b=s+80|0;m=s+72|0;v=s+56|0;g=s+32|0;y=s+24|0;w=s;S=s+152|0;if((i|0)<=0){u=s;return}A=e+3216|0;E=e+3220|0;_=e+3224|0;k=e+5160|0;x=S+4|0;M=S+8|0;T=S+12|0;C=S+16|0;O=S+20|0;R=S+24|0;N=S+28|0;I=S+32|0;D=S+36|0;P=S+40|0;F=S+44|0;L=S+48|0;j=S+52|0;B=S+56|0;U=S+60|0;z=e+5168|0;H=e+7104|0;q=e+5297|0;V=e+5426|0;K=e+5555|0;W=e+5684|0;Y=e+5813|0;G=e+5942|0;J=e+6071|0;Z=e+6200|0;X=e+6329|0;Q=e+6458|0;$=e+6587|0;ee=e+6716|0;te=e+6845|0;ne=e+6974|0;re=e+9160|0;ie=e+7353|0;oe=e+7482|0;ae=e+7611|0;se=e+7740|0;ce=e+7869|0;le=e+7998|0;fe=e+8127|0;ue=e+8256|0;de=e+8385|0;he=e+8514|0;pe=e+8643|0;be=e+8772|0;me=e+8901|0;ve=e+9030|0;ge=e+3208|0;ye=e+3212|0;we=e+3228|0;Se=e+7224|0;Ae=0;while(1){Ee=Ae|1;if((Ee|0)>=(i|0)){_e=4;break}ke=a[n+Ae>>0]|0;xe=ke&127;Me=a[n+Ee>>0]|0;Ee=Me&127;e:do{if(!(ke&96)){if((o[A>>2]|0)==(xe|0)?(o[E>>2]|0)==(Ee|0):0){o[E>>2]=0;o[A>>2]=0;break}o[A>>2]=xe;o[E>>2]=Ee;Te=xe|8;Ce=(Te|0)==25;Oe=Me&112;if((Oe|0)==32&Ce){f[y>>3]=t;Ke(3,1780,y);Re=o[k>>2]|0;if((o[_>>2]|0)==2){Ne=Dt(e+5168+(Re*129|0)|0)|0;if((Ne|0)>=128)break;r[e+5168+(Re*129|0)+Ne>>0]=32;r[Ne+1+(e+5168+(Re*129|0))>>0]=0;break}if(!(r[e+7224+(Re*129|0)>>0]|0)){f[e+9160+(Re<<3)>>3]=t;Ie=o[k>>2]|0}else Ie=Re;Re=Dt(e+7224+(Ie*129|0)|0)|0;if((Re|0)>=128)break;r[e+7224+(Ie*129|0)+Re>>0]=32;r[Re+1+(e+7224+(Ie*129|0))>>0]=0;break}if((Oe|0)==48&Ce){o[S>>2]=1795;o[x>>2]=1798;o[M>>2]=1801;o[T>>2]=1804;o[C>>2]=1807;o[O>>2]=1811;o[R>>2]=1814;o[N>>2]=1817;o[I>>2]=1821;o[D>>2]=1824;o[P>>2]=1826;o[F>>2]=1829;o[L>>2]=1832;o[j>>2]=1835;o[B>>2]=1838;o[U>>2]=1841;f[g>>3]=t;o[g+8>>2]=xe;o[g+12>>2]=Ee;o[g+16>>2]=xe;o[g+20>>2]=Ee;Ke(3,1844,g);Ce=Ee+-48|0;t:do{if(Ce>>>0<16){Oe=o[k>>2]|0;if((o[_>>2]|0)==2){Re=e+5168+(Oe*129|0)|0;Ne=o[S+(Ce<<2)>>2]|0;De=Dt(Ne)|0;if((De|0)>0)Pe=0;else break;while(1){Fe=Dt(Re)|0;if((Fe|0)<128){r[e+5168+(Oe*129|0)+Fe>>0]=r[Ne+Pe>>0]|0;r[Fe+1+(e+5168+(Oe*129|0))>>0]=0}Pe=Pe+1|0;if((Pe|0)==(De|0))break t}}if(!(r[e+7224+(Oe*129|0)>>0]|0)){f[e+9160+(Oe<<3)>>3]=t;Le=o[k>>2]|0}else Le=Oe;De=e+7224+(Le*129|0)|0;Ne=o[S+(Ce<<2)>>2]|0;Re=Dt(Ne)|0;if((Re|0)>0){Fe=0;do{je=Dt(De)|0;if((je|0)<128){r[e+7224+(Le*129|0)+je>>0]=r[Ne+Fe>>0]|0;r[je+1+(e+7224+(Le*129|0))>>0]=0}Fe=Fe+1|0}while((Fe|0)!=(Re|0))}}}while(0);break}if((xe+-17|0)>>>0<15&Ee>>>0>63){Ce=(o[60+((Me>>>5&1|ke<<1&14)<<2)>>2]|0)+-1|0;Re=(Ce|0)<0?0:Ce;Ce=((Ee&255)>95?-96:-64)+Ee|0;Fe=o[124+(Ce<<2)>>2]|0;Ne=o[_>>2]|0;De=(Ne|0)==1|(Re|0)>14?14:Re;Re=(Ce+-18|0)>>>0<14;if((Ne|0)==2){if(Re)qn(e+((De*129|0)+5168)|0,32,((Fe|0)>1?Fe:1)|0)|0;r[e+5168+(De*129|0)+Fe>>0]=0}else{if(Re)qn(e+((De*129|0)+7224)|0,32,((Fe|0)>1?Fe:1)|0)|0;r[e+7224+(De*129|0)+Fe>>0]=0}o[k>>2]=De;f[v>>3]=t;o[v+8>>2]=De;o[v+12>>2]=Fe;Ke(3,1876,v);break}if((Te|0)==31&(Ee+-33|0)>>>0<3){Ke(3,1901,m);if((Ee&255)<=32)break;Fe=Ee+-32|0;De=0;while(1){Re=o[k>>2]|0;if((o[_>>2]|0)==2){Ne=Dt(e+5168+(Re*129|0)|0)|0;if((Ne|0)<128){r[e+5168+(Re*129|0)+Ne>>0]=32;r[Ne+1+(e+5168+(Re*129|0))>>0]=0}}else{if(!(r[e+7224+(Re*129|0)>>0]|0)){f[e+9160+(Re<<3)>>3]=t;Be=o[k>>2]|0}else Be=Re;Re=Dt(e+7224+(Be*129|0)|0)|0;if((Re|0)<128){r[e+7224+(Be*129|0)+Re>>0]=32;r[Re+1+(e+7224+(Be*129|0))>>0]=0}}De=De+1|0;if((De|0)==(Fe|0))break e}}if((Te|0)==28){Fe=Ee+-32|0;De=1913+(Fe<<3)|0;if((Ee&255)<32|(Fe|0)>15){f[b>>3]=t;o[b+8>>2]=De;o[b+12>>2]=xe;o[b+16>>2]=Ee;Ke(3,2041,b);break}f[p>>3]=t;o[p+8>>2]=De;Ke(3,2079,p);switch(Ee|0){case 32:{if((o[_>>2]|0)!=2){r[z>>0]=0;r[q>>0]=0;r[V>>0]=0;r[K>>0]=0;r[W>>0]=0;r[Y>>0]=0;r[G>>0]=0;r[J>>0]=0;r[Z>>0]=0;r[X>>0]=0;r[Q>>0]=0;r[$>>0]=0;r[ee>>0]=0;r[te>>0]=0;r[ne>>0]=0;r[ie>>0]=0;r[oe>>0]=0;r[ae>>0]=0;r[se>>0]=0;r[ce>>0]=0;r[le>>0]=0;r[fe>>0]=0;r[ue>>0]=0;r[de>>0]=0;r[he>>0]=0;r[pe>>0]=0;r[be>>0]=0;r[me>>0]=0;r[ve>>0]=0;Ue=re;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));Ue=H;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));r[H+120>>0]=0}f[h>>3]=t;Ke(3,2090,h);o[_>>2]=2;break e;break}case 47:{if((o[_>>2]|0)==2){Te=0;do{De=e+5168+(Te*129|0)|0;Re=r[De>>0]|0;Ue=S;Ne=e+5168+(Te*129|0)+1|0;ze=Ue+128|0;do{r[Ue>>0]=r[Ne>>0]|0;Ue=Ue+1|0;Ne=Ne+1|0}while((Ue|0)<(ze|0));Ce=e+7224+(Te*129|0)|0;Yn(De|0,Ce|0,129)|0;if(r[Ce>>0]|0?(Oe=o[ge>>2]|0,Oe|0):0)yr[Oe&0](o[ye>>2]|0,+f[e+9160+(Te<<3)>>3],t,Ce);if(Re<<24>>24)f[e+9160+(Te<<3)>>3]=t;r[Ce>>0]=Re;Ue=e+7224+(Te*129|0)+1|0;Ne=S;ze=Ue+128|0;do{r[Ue>>0]=r[Ne>>0]|0;Ue=Ue+1|0;Ne=Ne+1|0}while((Ue|0)<(ze|0));Te=Te+1|0}while((Te|0)!=15)}else{r[z>>0]=0;r[q>>0]=0;r[V>>0]=0;r[K>>0]=0;r[W>>0]=0;r[Y>>0]=0;r[G>>0]=0;r[J>>0]=0;r[Z>>0]=0;r[X>>0]=0;r[Q>>0]=0;r[$>>0]=0;r[ee>>0]=0;r[te>>0]=0;r[ne>>0]=0;r[ie>>0]=0;r[oe>>0]=0;r[ae>>0]=0;r[se>>0]=0;r[ce>>0]=0;r[le>>0]=0;r[fe>>0]=0;r[ue>>0]=0;r[de>>0]=0;r[he>>0]=0;r[pe>>0]=0;r[be>>0]=0;r[me>>0]=0;r[ve>>0]=0;Ue=re;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));Ue=H;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));r[H+120>>0]=0}o[_>>2]=2;break e;break}case 46:{if((o[_>>2]|0)!=2)break e;r[z>>0]=0;r[q>>0]=0;r[V>>0]=0;r[K>>0]=0;r[W>>0]=0;r[Y>>0]=0;r[G>>0]=0;r[J>>0]=0;r[Z>>0]=0;r[X>>0]=0;r[Q>>0]=0;r[$>>0]=0;r[ee>>0]=0;r[te>>0]=0;r[ne>>0]=0;Ue=H;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));break e;break}case 41:{f[d>>3]=t;Ke(3,2114,d);o[_>>2]=3;break e;break}case 45:{if((o[_>>2]|0)!=1)break e;Te=o[we>>2]|0;Ne=15-Te|0;Re=e+7224+(Ne*129|0)|0;if((r[Re>>0]|0)!=0?(De=o[ge>>2]|0,(De|0)!=0):0){yr[De&0](o[ye>>2]|0,+f[e+9160+(Ne<<3)>>3],t,Re);He=o[we>>2]|0}else He=Te;if((He|0)>1)qe=He;else break e;do{Te=15-qe|0;Re=Te+1|0;Ne=e+7224+(Re*129|0)|0;Yn(e+7224+(Te*129|0)|0,Ne|0,129)|0;r[Ne>>0]=0;f[e+9160+(Te<<3)>>3]=+f[e+9160+(Re<<3)>>3];qe=qe+-1|0}while((qe|0)>1);break}case 44:{Re=0;do{Te=e+7224+(Re*129|0)|0;if(r[Te>>0]|0?(Ne=o[ge>>2]|0,Ne|0):0)yr[Ne&0](o[ye>>2]|0,+f[e+9160+(Re<<3)>>3],t,Te);Re=Re+1|0}while((Re|0)!=15);r[Se>>0]=0;r[ie>>0]=0;r[oe>>0]=0;r[ae>>0]=0;r[se>>0]=0;r[ce>>0]=0;r[le>>0]=0;r[fe>>0]=0;r[ue>>0]=0;r[de>>0]=0;r[he>>0]=0;r[pe>>0]=0;r[be>>0]=0;r[me>>0]=0;r[ve>>0]=0;Ue=re;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));break e;break}case 43:case 42:{o[_>>2]=4;break e;break}case 39:case 38:case 37:{if((o[_>>2]|0)!=1){Re=0;do{Te=e+7224+(Re*129|0)|0;if(r[Te>>0]|0?(Ne=o[ge>>2]|0,Ne|0):0)yr[Ne&0](o[ye>>2]|0,+f[e+9160+(Re<<3)>>3],t,Te);Re=Re+1|0}while((Re|0)!=15);r[z>>0]=0;r[q>>0]=0;r[V>>0]=0;r[K>>0]=0;r[W>>0]=0;r[Y>>0]=0;r[G>>0]=0;r[J>>0]=0;r[Z>>0]=0;r[X>>0]=0;r[Q>>0]=0;r[$>>0]=0;r[ee>>0]=0;r[te>>0]=0;r[ne>>0]=0;r[ie>>0]=0;r[oe>>0]=0;r[ae>>0]=0;r[se>>0]=0;r[ce>>0]=0;r[le>>0]=0;r[fe>>0]=0;r[ue>>0]=0;r[de>>0]=0;r[he>>0]=0;r[pe>>0]=0;r[be>>0]=0;r[me>>0]=0;r[ve>>0]=0;Ue=re;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));Ue=H;ze=Ue+120|0;do{o[Ue>>2]=0;Ue=Ue+4|0}while((Ue|0)<(ze|0));r[H+120>>0]=0}o[_>>2]=1;o[we>>2]=(Fe|0)==7?4:(Fe|0)==6?3:2;f[l>>3]=t;Ke(3,2140,l);break e;break}default:{o[c>>2]=xe;o[c+4>>2]=Ee;Ke(3,2165,c);break e}}}}else{Re=xe&255;Te=Ee&255;f[w>>3]=t;o[w+8>>2]=xe;o[w+12>>2]=Ee;o[w+16>>2]=xe;o[w+20>>2]=Ee;Ke(3,1726,w);switch(Re<<24>>24){case 42:{Ve=1777;break}case 92:{Ve=1753;break}case 94:{Ve=1756;break}case 95:{Ve=1759;break}case 96:{Ve=1762;break}case 123:{Ve=1765;break}case 124:{Ve=1768;break}case 125:{Ve=1771;break}case 126:{Ve=1774;break}default:Ve=Re<<24>>24==127?1749:0}Ne=o[k>>2]|0;if((o[_>>2]|0)==2)We=e+5168+(Ne*129|0)|0;else{if(!(r[e+7224+(Ne*129|0)>>0]|0)){f[e+9160+(Ne<<3)>>3]=t;Ye=o[k>>2]|0}else Ye=Ne;We=e+7224+(Ye*129|0)|0}if(!Ve){Ne=Dt(We)|0;if((Ne|0)<128){r[We+Ne>>0]=Re;r[We+(Ne+1)>>0]=0}}else{Ne=Dt(Ve)|0;if((Ne|0)>0){Re=0;do{De=Dt(We)|0;if((De|0)<128){r[We+De>>0]=r[Ve+Re>>0]|0;r[We+(De+1)>>0]=0}Re=Re+1|0}while((Re|0)!=(Ne|0))}}switch(Te<<24>>24){case 42:{Ge=1777;break}case 92:{Ge=1753;break}case 94:{Ge=1756;break}case 95:{Ge=1759;break}case 96:{Ge=1762;break}case 123:{Ge=1765;break}case 124:{Ge=1768;break}case 125:{Ge=1771;break}case 126:{Ge=1774;break}default:Ge=Te<<24>>24==127?1749:0}Ne=o[k>>2]|0;if((o[_>>2]|0)==2)Je=e+5168+(Ne*129|0)|0;else{if(!(r[e+7224+(Ne*129|0)>>0]|0)){f[e+9160+(Ne<<3)>>3]=t;Ze=o[k>>2]|0}else Ze=Ne;Je=e+7224+(Ze*129|0)|0}if(!Ge){Ne=Dt(Je)|0;if((Ne|0)>=128)break;r[Je+Ne>>0]=Te;r[Je+(Ne+1)>>0]=0;break}Ne=Dt(Ge)|0;if((Ne|0)>0){Re=0;do{Fe=Dt(Je)|0;if((Fe|0)<128){r[Je+Fe>>0]=r[Ge+Re>>0]|0;r[Je+(Fe+1)>>0]=0}Re=Re+1|0}while((Re|0)!=(Ne|0))}}}while(0);Ae=Ae+2|0;if((Ae|0)>=(i|0)){_e=4;break}}if((_e|0)==4){u=s;return}}function wt(e,t,n,i){e=e|0;t=+t;n=n|0;i=i|0;var a=0,s=0,c=0,l=0;a=(i|0)/2|0;if((i|0)>1)s=0;else return;while(1){i=o[e>>2]|0;if((i|0)==200){c=4;break}o[e>>2]=i+1;f[e+8+(i<<4)>>3]=t;l=s<<1;r[e+8+(i<<4)+8>>0]=r[n+l>>0]|0;r[e+8+(i<<4)+9>>0]=r[n+(l|1)>>0]|0;s=s+1|0;if((s|0)>=(a|0)){c=4;break}}if((c|0)==4)return}function St(e,t){e=e|0;t=+t;var n=0,r=0,i=0.0,a=0,s=0,c=0.0,l=0,u=0;n=e+8|0;bn(n,o[e>>2]|0,16,1);r=o[e>>2]|0;e:do{if((r|0)>0){i=t+-.5;a=r;s=0;while(1){c=+f[e+8+(s<<4)>>3];if(i>c){if(!(i-c<47721.85884)){l=a;u=s;break}}else if(!(c>i&!(c-i<47721.85884))){l=a;u=s;break}yt(e,c+.1,e+8+(s<<4)+8|0,2);s=s+1|0;a=o[e>>2]|0;if((s|0)>=(a|0))break e}if(u|0){a=l-u|0;Gn(n|0,e+8+(u<<4)|0,a<<4|0)|0;o[e>>2]=a}}}while(0);f[e+13408>>3]=t;return}function At(e,t){e=e|0;t=t|0;var n=0,r=0;n=Ln(1,13416)|0;if(!n){r=0;return r|0}o[n+3208>>2]=e;o[n+3212>>2]=t;r=n;return r|0}function Et(e){e=e|0;Fn(e);return}function _t(e){e=e|0;var t=0,n=0;t=u;u=u+16|0;n=t;o[n>>2]=o[e+60>>2];e=kt(Te(6,n|0)|0)|0;u=t;return e|0}function kt(e){e=e|0;var t=0;if(e>>>0>4294963200){o[(xt()|0)>>2]=0-e;t=-1}else t=e;return t|0}function xt(){var e=0;if(!(o[1159]|0))e=4680;else e=o[(Ae()|0)+64>>2]|0;return e|0}function Mt(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0;i=u;u=u+80|0;a=i;o[e+36>>2]=3;if((o[e>>2]&64|0)==0?(o[a>>2]=o[e+60>>2],o[a+4>>2]=21505,o[a+8>>2]=i+12,Ee(54,a|0)|0):0)r[e+75>>0]=-1;a=Tt(e,t,n)|0;u=i;return a|0}function Tt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0;r=u;u=u+48|0;i=r+16|0;a=r;s=r+32|0;c=e+28|0;l=o[c>>2]|0;o[s>>2]=l;f=e+20|0;d=(o[f>>2]|0)-l|0;o[s+4>>2]=d;o[s+8>>2]=t;o[s+12>>2]=n;t=e+60|0;l=e+44|0;h=s;s=2;p=d+n|0;while(1){if(!(o[1159]|0)){o[i>>2]=o[t>>2];o[i+4>>2]=h;o[i+8>>2]=s;b=kt(De(146,i|0)|0)|0}else{Ce(1,e|0);o[a>>2]=o[t>>2];o[a+4>>2]=h;o[a+8>>2]=s;d=kt(De(146,a|0)|0)|0;de(0);b=d}if((p|0)==(b|0)){m=6;break}if((b|0)<0){v=h;g=s;m=8;break}d=p-b|0;y=o[h+4>>2]|0;if(b>>>0<=y>>>0)if((s|0)==2){o[c>>2]=(o[c>>2]|0)+b;w=y;S=b;A=h;E=2}else{w=y;S=b;A=h;E=s}else{_=o[l>>2]|0;o[c>>2]=_;o[f>>2]=_;w=o[h+12>>2]|0;S=b-y|0;A=h+8|0;E=s+-1|0}o[A>>2]=(o[A>>2]|0)+S;o[A+4>>2]=w-S;h=A;s=E;p=d}if((m|0)==6){p=o[l>>2]|0;o[e+16>>2]=p+(o[e+48>>2]|0);l=p;o[c>>2]=l;o[f>>2]=l;k=n}else if((m|0)==8){o[e+16>>2]=0;o[c>>2]=0;o[f>>2]=0;o[e>>2]=o[e>>2]|32;if((g|0)==2)k=0;else k=n-(o[v+4>>2]|0)|0}u=r;return k|0}function Ct(e){e=e|0;if(!(o[e+68>>2]|0))Ot(e);return}function Ot(e){e=e|0;return}function Rt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,s=0;r=u;u=u+32|0;i=r;a=r+20|0;o[i>>2]=o[e+60>>2];o[i+4>>2]=0;o[i+8>>2]=t;o[i+12>>2]=a;o[i+16>>2]=n;if((kt(Re(140,i|0)|0)|0)<0){o[a>>2]=-1;s=-1}else s=o[a>>2]|0;u=r;return s|0}function Nt(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0;i=u;u=u+48|0;a=i+16|0;s=i;c=i+32|0;o[c>>2]=t;l=c+4|0;f=e+48|0;d=o[f>>2]|0;o[l>>2]=n-((d|0)!=0&1);h=e+44|0;o[c+8>>2]=o[h>>2];o[c+12>>2]=d;if(!(o[1159]|0)){o[a>>2]=o[e+60>>2];o[a+4>>2]=c;o[a+8>>2]=2;p=kt(Ie(145,a|0)|0)|0}else{Ce(2,e|0);o[s>>2]=o[e+60>>2];o[s+4>>2]=c;o[s+8>>2]=2;c=kt(Ie(145,s|0)|0)|0;de(0);p=c}if((p|0)>=1){c=o[l>>2]|0;if(p>>>0>c>>>0){l=o[h>>2]|0;h=e+4|0;o[h>>2]=l;s=l;o[e+8>>2]=s+(p-c);if(!(o[f>>2]|0))b=n;else{o[h>>2]=s+1;r[t+(n+-1)>>0]=r[s>>0]|0;b=n}}else b=p}else{o[e>>2]=o[e>>2]|p&48^16;o[e+8>>2]=0;o[e+4>>2]=0;b=p}u=i;return b|0}function It(e){e=e|0;if(!(o[e+68>>2]|0))Ot(e);return}function Dt(e){e=e|0;var t=0,n=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0;t=e;e:do{if(!(t&3)){n=e;i=4}else{a=e;s=t;while(1){if(!(r[a>>0]|0)){c=s;break e}l=a+1|0;s=l;if(!(s&3)){n=l;i=4;break}else a=l}}}while(0);if((i|0)==4){i=n;while(1){n=o[i>>2]|0;if(!((n&-2139062144^-2139062144)&n+-16843009))i=i+4|0;else{f=n;u=i;break}}if(!((f&255)<<24>>24))d=u;else{f=u;while(1){u=f+1|0;if(!(r[u>>0]|0)){d=u;break}else f=u}}c=d}return c-t|0}function Pt(e,t){e=e|0;t=t|0;var n=0;if(!e)n=0;else n=Ft(e,t,0)|0;return n|0}function Ft(e,t,n){e=e|0;t=t|0;n=n|0;var i=0;do{if(e){if(t>>>0<128){r[e>>0]=t;i=1;break}if(t>>>0<2048){r[e>>0]=t>>>6|192;r[e+1>>0]=t&63|128;i=2;break}if(t>>>0<55296|(t&-8192|0)==57344){r[e>>0]=t>>>12|224;r[e+1>>0]=t>>>6&63|128;r[e+2>>0]=t&63|128;i=3;break}if((t+-65536|0)>>>0<1048576){r[e>>0]=t>>>18|240;r[e+1>>0]=t>>>12&63|128;r[e+2>>0]=t>>>6&63|128;r[e+3>>0]=t&63|128;i=4;break}else{o[(xt()|0)>>2]=84;i=-1;break}}else i=1}while(0);return i|0}function Lt(e,t){e=e|0;t=t|0;var n=0,i=0,o=0,a=0;n=r[e>>0]|0;i=r[t>>0]|0;if(n<<24>>24==0?1:n<<24>>24!=i<<24>>24){o=n;a=i}else{i=e;e=t;do{i=i+1|0;e=e+1|0;t=r[i>>0]|0;n=r[e>>0]|0}while(!(t<<24>>24==0?1:t<<24>>24!=n<<24>>24));o=t;a=n}return(o&255)-(a&255)|0}function jt(e){e=e|0;var t=0,n=0,i=0,o=0,s=0,c=0,l=0;t=0;while(1){if((a[2197+t>>0]|0)==(e|0)){n=t;i=2;break}t=t+1|0;if((t|0)==87){o=87;s=2285;i=5;break}}if((i|0)==2)if(!n)c=2285;else{o=n;s=2285;i=5}if((i|0)==5)while(1){i=0;n=s;while(1){t=n+1|0;if(!(r[n>>0]|0)){l=t;break}else n=t}o=o+-1|0;if(!o){c=l;break}else{s=l;i=5}}return c|0}function Bt(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;i=u;u=u+16|0;a=i;o[a>>2]=r;r=Ut(e,t,n,a)|0;u=i;return r|0}function Ut(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0;a=u;u=u+128|0;s=a+112|0;c=a;l=c;f=488;d=l+112|0;do{o[l>>2]=o[f>>2];l=l+4|0;f=f+4|0}while((l|0)<(d|0));if((t+-1|0)>>>0>2147483646)if(!t){h=s;p=1;b=4}else{o[(xt()|0)>>2]=75;m=-1}else{h=e;p=t;b=4}if((b|0)==4){b=-2-h|0;t=p>>>0>b>>>0?b:p;o[c+48>>2]=t;p=c+20|0;o[p>>2]=h;o[c+44>>2]=h;b=h+t|0;h=c+16|0;o[h>>2]=b;o[c+28>>2]=b;b=Ht(c,n,i)|0;if(!t)m=b;else{t=o[p>>2]|0;r[t+(((t|0)==(o[h>>2]|0))<<31>>31)>>0]=0;m=b}}u=a;return m|0}function zt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;r=e+20|0;i=o[r>>2]|0;a=(o[e+16>>2]|0)-i|0;e=a>>>0>n>>>0?n:a;Yn(i|0,t|0,e|0)|0;o[r>>2]=(o[r>>2]|0)+e;return n|0}function Ht(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0;i=u;u=u+224|0;a=i+120|0;s=i+80|0;c=i;l=i+136|0;f=s;d=f+40|0;do{o[f>>2]=0;f=f+4|0}while((f|0)<(d|0));o[a>>2]=o[n>>2];if((qt(0,t,a,c,s)|0)<0)h=-1;else{if((o[e+76>>2]|0)>-1)p=Qt(e)|0;else p=0;n=o[e>>2]|0;f=n&32;if((r[e+74>>0]|0)<1)o[e>>2]=n&-33;n=e+48|0;if(!(o[n>>2]|0)){d=e+44|0;b=o[d>>2]|0;o[d>>2]=l;m=e+28|0;o[m>>2]=l;v=e+20|0;o[v>>2]=l;o[n>>2]=80;g=e+16|0;o[g>>2]=l+80;l=qt(e,t,a,c,s)|0;if(!b)y=l;else{vr[o[e+36>>2]&7](e,0,0)|0;w=(o[v>>2]|0)==0?-1:l;o[d>>2]=b;o[n>>2]=0;o[g>>2]=0;o[m>>2]=0;o[v>>2]=0;y=w}}else y=qt(e,t,a,c,s)|0;s=o[e>>2]|0;o[e>>2]=s|f;if(p|0)Ot(e);h=(s&32|0)==0?y:-1}u=i;return h|0}function qt(e,t,n,s,c){e=e|0;t=t|0;n=n|0;s=s|0;c=c|0;var l=0,d=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,N=0,I=0,D=0,P=0,F=0,L=0,j=0,B=0,U=0,z=0,H=0,q=0,V=0,K=0,W=0,Y=0,G=0,J=0,Z=0,X=0,Q=0,$=0,ee=0,ne=0,re=0,ie=0,oe=0,ae=0,se=0,ce=0,le=0,fe=0,ue=0,de=0,he=0,pe=0,be=0,me=0,ve=0,ge=0,ye=0,we=0,Se=0,Ae=0,Ee=0,_e=0,ke=0,xe=0,Me=0,Te=0,Ce=0,Oe=0,Re=0,Ne=0,Ie=0,De=0,Pe=0,Fe=0,Le=0,je=0,Be=0,Ue=0,ze=0,He=0,qe=0,Ve=0,Ke=0,We=0,Ye=0,Ge=0,Je=0,Ze=0,Xe=0,Qe=0,$e=0,et=0,tt=0,nt=0.0,rt=0.0,it=0,ot=0,at=0,st=0,ct=0,lt=0.0,ft=0.0,ut=0.0,dt=0.0,ht=0,pt=0,bt=0,mt=0,vt=0,gt=0,yt=0,wt=0,St=0.0,At=0,Et=0,_t=0,kt=0,Mt=0,Tt=0,Ct=0,Ot=0,Rt=0,Nt=0,It=0,Dt=0,Ft=0,Lt=0,Bt=0,Ut=0,zt=0,Ht=0,qt=0,Kt=0,Xt=0,Qt=0,$t=0,en=0,tn=0,nn=0,rn=0,on=0.0,an=0.0,sn=0.0,cn=0,ln=0,fn=0,un=0,dn=0,hn=0,pn=0,bn=0,mn=0,vn=0,gn=0,yn=0,wn=0,Sn=0,An=0,En=0,_n=0,kn=0,xn=0,Mn=0,Tn=0,Cn=0,On=0,Rn=0,Nn=0,In=0,Dn=0,Pn=0,Fn=0,Ln=0,jn=0,Bn=0,Un=0;l=u;u=u+624|0;d=l+24|0;p=l+16|0;b=l+588|0;m=l+576|0;v=l;g=l+536|0;y=l+8|0;w=l+528|0;S=(e|0)!=0;A=g+40|0;E=A;_=g+39|0;g=y+4|0;k=b;x=0-k|0;M=m+12|0;T=m+11|0;m=M;C=m-k|0;O=-2-k|0;N=m+2|0;I=d+288|0;D=b+9|0;P=D;F=b+8|0;L=0;j=0;B=0;U=t;e:while(1){do{if((L|0)>-1)if((j|0)>(2147483647-L|0)){o[(xt()|0)>>2]=75;z=-1;break}else{z=j+L|0;break}else z=L}while(0);t=r[U>>0]|0;if(!(t<<24>>24)){H=z;q=B;V=244;break}else{K=t;W=U}t:while(1){switch(K<<24>>24){case 37:{Y=W;G=W;V=9;break t;break}case 0:{J=W;Z=W;break t;break}default:{}}t=W+1|0;K=r[t>>0]|0;W=t}t:do{if((V|0)==9)while(1){V=0;if((r[Y+1>>0]|0)!=37){J=Y;Z=G;break t}t=G+1|0;X=Y+2|0;if((r[X>>0]|0)==37){Y=X;G=t;V=9}else{J=X;Z=t;break}}}while(0);t=Z-U|0;if(S?(o[e>>2]&32|0)==0:0)Vt(U,t,e)|0;if((Z|0)!=(U|0)){L=z;j=t;U=J;continue}X=J+1|0;Q=r[X>>0]|0;$=(Q<<24>>24)+-48|0;if($>>>0<10){ee=(r[J+2>>0]|0)==36;ne=ee?J+3|0:X;re=r[ne>>0]|0;ie=ee?$:-1;oe=ee?1:B;ae=ne}else{re=Q;ie=-1;oe=B;ae=X}X=re<<24>>24;t:do{if((X&-32|0)==32){Q=X;ne=re;ee=0;$=ae;while(1){if(!(1<<Q+-32&75913)){se=ne;ce=ee;le=$;break t}fe=1<<(ne<<24>>24)+-32|ee;ue=$+1|0;de=r[ue>>0]|0;Q=de<<24>>24;if((Q&-32|0)!=32){se=de;ce=fe;le=ue;break}else{ne=de;ee=fe;$=ue}}}else{se=re;ce=0;le=ae}}while(0);do{if(se<<24>>24==42){X=le+1|0;$=(r[X>>0]|0)+-48|0;if($>>>0<10?(r[le+2>>0]|0)==36:0){o[c+($<<2)>>2]=10;he=1;pe=le+3|0;be=o[s+((r[X>>0]|0)+-48<<3)>>2]|0}else{if(oe|0){me=-1;break e}if(!S){ve=ce;ge=0;ye=X;we=0;break}$=(o[n>>2]|0)+(4-1)&~(4-1);ee=o[$>>2]|0;o[n>>2]=$+4;he=0;pe=X;be=ee}if((be|0)<0){ve=ce|8192;ge=he;ye=pe;we=0-be|0}else{ve=ce;ge=he;ye=pe;we=be}}else{ee=(se<<24>>24)+-48|0;if(ee>>>0<10){X=le;$=0;ne=ee;while(1){ee=($*10|0)+ne|0;Q=X+1|0;ne=(r[Q>>0]|0)+-48|0;if(ne>>>0>=10){Se=ee;Ae=Q;break}else{X=Q;$=ee}}if((Se|0)<0){me=-1;break e}else{ve=ce;ge=oe;ye=Ae;we=Se}}else{ve=ce;ge=oe;ye=le;we=0}}}while(0);t:do{if((r[ye>>0]|0)==46){$=ye+1|0;X=r[$>>0]|0;if(X<<24>>24!=42){ne=(X<<24>>24)+-48|0;if(ne>>>0<10){Ee=$;_e=0;ke=ne}else{xe=0;Me=$;break}while(1){$=(_e*10|0)+ke|0;ne=Ee+1|0;ke=(r[ne>>0]|0)+-48|0;if(ke>>>0>=10){xe=$;Me=ne;break t}else{Ee=ne;_e=$}}}$=ye+2|0;ne=(r[$>>0]|0)+-48|0;if(ne>>>0<10?(r[ye+3>>0]|0)==36:0){o[c+(ne<<2)>>2]=10;xe=o[s+((r[$>>0]|0)+-48<<3)>>2]|0;Me=ye+4|0;break}if(ge|0){me=-1;break e}if(S){ne=(o[n>>2]|0)+(4-1)&~(4-1);X=o[ne>>2]|0;o[n>>2]=ne+4;xe=X;Me=$}else{xe=0;Me=$}}else{xe=-1;Me=ye}}while(0);$=Me;X=0;while(1){ne=(r[$>>0]|0)+-65|0;if(ne>>>0>57){me=-1;break e}ee=$+1|0;Q=r[4089+(X*58|0)+ne>>0]|0;ne=Q&255;if((ne+-1|0)>>>0<8){$=ee;X=ne}else{Te=ee;Ce=Q;Oe=ne;Re=$;Ne=X;break}}if(!(Ce<<24>>24)){me=-1;break}X=(ie|0)>-1;do{if(Ce<<24>>24==19)if(X){me=-1;break e}else V=52;else{if(X){o[c+(ie<<2)>>2]=Oe;$=s+(ie<<3)|0;ne=o[$+4>>2]|0;Q=v;o[Q>>2]=o[$>>2];o[Q+4>>2]=ne;V=52;break}if(!S){me=0;break e}Wt(v,Oe,n)}}while(0);if((V|0)==52?(V=0,!S):0){L=z;j=t;B=ge;U=Te;continue}X=r[Re>>0]|0;ne=(Ne|0)!=0&(X&15|0)==3?X&-33:X;X=ve&-65537;Q=(ve&8192|0)==0?ve:X;t:do{switch(ne|0){case 110:{switch(Ne|0){case 0:{o[o[v>>2]>>2]=z;L=z;j=t;B=ge;U=Te;continue e;break}case 1:{o[o[v>>2]>>2]=z;L=z;j=t;B=ge;U=Te;continue e;break}case 2:{$=o[v>>2]|0;o[$>>2]=z;o[$+4>>2]=((z|0)<0)<<31>>31;L=z;j=t;B=ge;U=Te;continue e;break}case 3:{i[o[v>>2]>>1]=z;L=z;j=t;B=ge;U=Te;continue e;break}case 4:{r[o[v>>2]>>0]=z;L=z;j=t;B=ge;U=Te;continue e;break}case 6:{o[o[v>>2]>>2]=z;L=z;j=t;B=ge;U=Te;continue e;break}case 7:{$=o[v>>2]|0;o[$>>2]=z;o[$+4>>2]=((z|0)<0)<<31>>31;L=z;j=t;B=ge;U=Te;continue e;break}default:{L=z;j=t;B=ge;U=Te;continue e}}break}case 112:{Ie=Q|8;De=xe>>>0>8?xe:8;Pe=120;V=64;break}case 88:case 120:{Ie=Q;De=xe;Pe=ne;V=64;break}case 111:{$=v;ee=o[$>>2]|0;ue=o[$+4>>2]|0;if((ee|0)==0&(ue|0)==0)Fe=A;else{$=A;fe=ee;ee=ue;while(1){ue=$+-1|0;r[ue>>0]=fe&7|48;fe=Vn(fe|0,ee|0,3)|0;ee=R;if((fe|0)==0&(ee|0)==0){Fe=ue;break}else $=ue}}if(!(Q&8)){Le=Fe;je=Q;Be=xe;Ue=0;ze=4569;V=77}else{$=E-Fe|0;Le=Fe;je=Q;Be=(xe|0)>($|0)?xe:$+1|0;Ue=0;ze=4569;V=77}break}case 105:case 100:{$=v;ee=o[$>>2]|0;fe=o[$+4>>2]|0;if((fe|0)<0){$=Hn(0,0,ee|0,fe|0)|0;ue=R;de=v;o[de>>2]=$;o[de+4>>2]=ue;He=$;qe=ue;Ve=1;Ke=4569;V=76;break t}if(!(Q&2048)){ue=Q&1;He=ee;qe=fe;Ve=ue;Ke=(ue|0)==0?4569:4571;V=76}else{He=ee;qe=fe;Ve=1;Ke=4570;V=76}break}case 117:{fe=v;He=o[fe>>2]|0;qe=o[fe+4>>2]|0;Ve=0;Ke=4569;V=76;break}case 99:{r[_>>0]=o[v>>2];We=_;Ye=X;Ge=1;Je=0;Ze=4569;Xe=A;break}case 109:{Qe=jt(o[(xt()|0)>>2]|0)|0;V=82;break}case 115:{fe=o[v>>2]|0;Qe=fe|0?fe:4579;V=82;break}case 67:{o[y>>2]=o[v>>2];o[g>>2]=0;o[v>>2]=y;$e=y;et=-1;V=86;break}case 83:{fe=o[v>>2]|0;if(!xe){Jt(e,32,we,0,Q);tt=0;V=97}else{$e=fe;et=xe;V=86}break}case 65:case 71:case 70:case 69:case 97:case 103:case 102:case 101:{nt=+f[v>>3];o[p>>2]=0;f[h>>3]=nt;if((o[h+4>>2]|0)>=0)if(!(Q&2048)){fe=Q&1;rt=nt;it=fe;ot=(fe|0)==0?4587:4592}else{rt=nt;it=1;ot=4589}else{rt=-nt;it=1;ot=4586}f[h>>3]=rt;fe=o[h+4>>2]&2146435072;do{if(fe>>>0<2146435072|(fe|0)==2146435072&0<0){nt=+Zt(rt,p)*2.0;ee=nt!=0.0;if(ee)o[p>>2]=(o[p>>2]|0)+-1;ue=ne|32;if((ue|0)==97){$=ne&32;de=($|0)==0?ot:ot+9|0;at=it|2;st=12-xe|0;do{if(!(xe>>>0>11|(st|0)==0)){ct=st;lt=8.0;while(1){ct=ct+-1|0;ft=lt*16.0;if(!ct){ut=ft;break}else lt=ft}if((r[de>>0]|0)==45){dt=-(ut+(-nt-ut));break}else{dt=nt+ut-ut;break}}else dt=nt}while(0);st=o[p>>2]|0;ct=(st|0)<0?0-st|0:st;ht=Yt(ct,((ct|0)<0)<<31>>31,M)|0;if((ht|0)==(M|0)){r[T>>0]=48;pt=T}else pt=ht;r[pt+-1>>0]=(st>>31&2)+43;st=pt+-2|0;r[st>>0]=ne+15;ht=(xe|0)<1;ct=(Q&8|0)==0;lt=dt;bt=b;while(1){mt=~~lt;vt=bt+1|0;r[bt>>0]=a[4553+mt>>0]|$;lt=(lt-+(mt|0))*16.0;do{if((vt-k|0)==1){if(ct&(ht&lt==0.0)){gt=vt;break}r[vt>>0]=46;gt=bt+2|0}else gt=vt}while(0);if(!(lt!=0.0)){yt=gt;break}else bt=gt}bt=yt;ht=st;ct=(xe|0)!=0&(O+bt|0)<(xe|0)?N+xe-ht|0:C-ht+bt|0;$=ct+at|0;Jt(e,32,we,$,Q);if(!(o[e>>2]&32))Vt(de,at,e)|0;Jt(e,48,we,$,Q^65536);vt=bt-k|0;if(!(o[e>>2]&32))Vt(b,vt,e)|0;bt=m-ht|0;Jt(e,48,ct-(vt+bt)|0,0,0);if(!(o[e>>2]&32))Vt(st,bt,e)|0;Jt(e,32,we,$,Q^8192);wt=($|0)<(we|0)?we:$;break}$=(xe|0)<0?6:xe;if(ee){bt=(o[p>>2]|0)+-28|0;o[p>>2]=bt;St=nt*268435456.0;At=bt}else{St=nt;At=o[p>>2]|0}bt=(At|0)<0?d:I;vt=bt;lt=St;ct=bt;while(1){ht=~~lt>>>0;o[ct>>2]=ht;mt=ct+4|0;lt=(lt-+(ht>>>0))*1.0e9;if(!(lt!=0.0)){Et=mt;break}else ct=mt}ct=o[p>>2]|0;if((ct|0)>0){ee=ct;st=bt;at=Et;while(1){de=(ee|0)>29?29:ee;mt=at+-4|0;do{if(mt>>>0<st>>>0)_t=st;else{ht=0;kt=mt;while(1){Mt=Kn(o[kt>>2]|0,0,de|0)|0;Tt=Wn(Mt|0,R|0,ht|0,0)|0;Mt=R;Ct=rr(Tt|0,Mt|0,1e9,0)|0;o[kt>>2]=Ct;Ct=nr(Tt|0,Mt|0,1e9,0)|0;kt=kt+-4|0;if(kt>>>0<st>>>0){Ot=Ct;break}else ht=Ct}if(!Ot){_t=st;break}ht=st+-4|0;o[ht>>2]=Ot;_t=ht}}while(0);mt=at;while(1){if(mt>>>0<=_t>>>0){Rt=mt;break}ht=mt+-4|0;if(!(o[ht>>2]|0))mt=ht;else{Rt=mt;break}}mt=(o[p>>2]|0)-de|0;o[p>>2]=mt;if((mt|0)>0){ee=mt;st=_t;at=Rt}else{Nt=mt;It=_t;Dt=Rt;break}}}else{Nt=ct;It=bt;Dt=Et}if((Nt|0)<0){at=(($+25|0)/9|0)+1|0;st=(ue|0)==102;ee=Nt;mt=It;ht=Dt;while(1){kt=0-ee|0;Ct=(kt|0)>9?9:kt;do{if(mt>>>0<ht>>>0){kt=(1<<Ct)+-1|0;Mt=1e9>>>Ct;Tt=0;Ft=mt;while(1){Lt=o[Ft>>2]|0;o[Ft>>2]=(Lt>>>Ct)+Tt;Bt=te(Lt&kt,Mt)|0;Ft=Ft+4|0;if(Ft>>>0>=ht>>>0){Ut=Bt;break}else Tt=Bt}Tt=(o[mt>>2]|0)==0?mt+4|0:mt;if(!Ut){zt=Tt;Ht=ht;break}o[ht>>2]=Ut;zt=Tt;Ht=ht+4|0}else{zt=(o[mt>>2]|0)==0?mt+4|0:mt;Ht=ht}}while(0);de=st?bt:zt;Tt=(Ht-de>>2|0)>(at|0)?de+(at<<2)|0:Ht;ee=(o[p>>2]|0)+Ct|0;o[p>>2]=ee;if((ee|0)>=0){qt=zt;Kt=Tt;break}else{mt=zt;ht=Tt}}}else{qt=It;Kt=Dt}do{if(qt>>>0<Kt>>>0){ht=(vt-qt>>2)*9|0;mt=o[qt>>2]|0;if(mt>>>0<10){Xt=ht;break}else{Qt=ht;$t=10}while(1){$t=$t*10|0;ht=Qt+1|0;if(mt>>>0<$t>>>0){Xt=ht;break}else Qt=ht}}else Xt=0}while(0);mt=(ue|0)==103;Ct=($|0)!=0;ht=$-((ue|0)!=102?Xt:0)+((Ct&mt)<<31>>31)|0;if((ht|0)<(((Kt-vt>>2)*9|0)+-9|0)){ee=ht+9216|0;ht=bt+4+(((ee|0)/9|0)+-1024<<2)|0;at=((ee|0)%9|0)+1|0;if((at|0)<9){ee=10;st=at;while(1){at=ee*10|0;st=st+1|0;if((st|0)==9){en=at;break}else ee=at}}else en=10;ee=o[ht>>2]|0;st=(ee>>>0)%(en>>>0)|0;ue=(ht+4|0)==(Kt|0);do{if(ue&(st|0)==0){tn=qt;nn=ht;rn=Xt}else{lt=(((ee>>>0)/(en>>>0)|0)&1|0)==0?9007199254740992.0:9007199254740994.0;at=(en|0)/2|0;if(st>>>0<at>>>0)on=.5;else on=ue&(st|0)==(at|0)?1.0:1.5;do{if(!it){an=lt;sn=on}else{if((r[ot>>0]|0)!=45){an=lt;sn=on;break}an=-lt;sn=-on}}while(0);at=ee-st|0;o[ht>>2]=at;if(!(an+sn!=an)){tn=qt;nn=ht;rn=Xt;break}ct=at+en|0;o[ht>>2]=ct;if(ct>>>0>999999999){ct=qt;at=ht;while(1){Tt=at+-4|0;o[at>>2]=0;if(Tt>>>0<ct>>>0){de=ct+-4|0;o[de>>2]=0;cn=de}else cn=ct;de=(o[Tt>>2]|0)+1|0;o[Tt>>2]=de;if(de>>>0>999999999){ct=cn;at=Tt}else{ln=cn;fn=Tt;break}}}else{ln=qt;fn=ht}at=(vt-ln>>2)*9|0;ct=o[ln>>2]|0;if(ct>>>0<10){tn=ln;nn=fn;rn=at;break}else{un=at;dn=10}while(1){dn=dn*10|0;at=un+1|0;if(ct>>>0<dn>>>0){tn=ln;nn=fn;rn=at;break}else un=at}}}while(0);ht=nn+4|0;hn=tn;pn=rn;bn=Kt>>>0>ht>>>0?ht:Kt}else{hn=qt;pn=Xt;bn=Kt}ht=0-pn|0;st=bn;while(1){if(st>>>0<=hn>>>0){mn=0;vn=st;break}ee=st+-4|0;if(!(o[ee>>2]|0))st=ee;else{mn=1;vn=st;break}}do{if(mt){st=(Ct&1^1)+$|0;if((st|0)>(pn|0)&(pn|0)>-5){gn=ne+-1|0;yn=st+-1-pn|0}else{gn=ne+-2|0;yn=st+-1|0}st=Q&8;if(st|0){wn=gn;Sn=yn;An=st;break}do{if(mn){st=o[vn+-4>>2]|0;if(!st){En=9;break}if(!((st>>>0)%10|0)){_n=10;kn=0}else{En=0;break}while(1){_n=_n*10|0;ee=kn+1|0;if((st>>>0)%(_n>>>0)|0|0){En=ee;break}else kn=ee}}else En=9}while(0);st=((vn-vt>>2)*9|0)+-9|0;if((gn|32|0)==102){ee=st-En|0;ue=(ee|0)<0?0:ee;wn=gn;Sn=(yn|0)<(ue|0)?yn:ue;An=0;break}else{ue=st+pn-En|0;st=(ue|0)<0?0:ue;wn=gn;Sn=(yn|0)<(st|0)?yn:st;An=0;break}}else{wn=ne;Sn=$;An=Q&8}}while(0);$=Sn|An;vt=($|0)!=0&1;Ct=(wn|32|0)==102;if(Ct){xn=(pn|0)>0?pn:0;Mn=0}else{mt=(pn|0)<0?ht:pn;st=Yt(mt,((mt|0)<0)<<31>>31,M)|0;if((m-st|0)<2){mt=st;while(1){ue=mt+-1|0;r[ue>>0]=48;if((m-ue|0)<2)mt=ue;else{Tn=ue;break}}}else Tn=st;r[Tn+-1>>0]=(pn>>31&2)+43;mt=Tn+-2|0;r[mt>>0]=wn;xn=m-mt|0;Mn=mt}mt=it+1+Sn+vt+xn|0;Jt(e,32,we,mt,Q);if(!(o[e>>2]&32))Vt(ot,it,e)|0;Jt(e,48,we,mt,Q^65536);do{if(Ct){ht=hn>>>0>bt>>>0?bt:hn;ue=ht;while(1){ee=Yt(o[ue>>2]|0,0,D)|0;do{if((ue|0)==(ht|0)){if((ee|0)!=(D|0)){Cn=ee;break}r[F>>0]=48;Cn=F}else{if(ee>>>0<=b>>>0){Cn=ee;break}qn(b|0,48,ee-k|0)|0;ct=ee;while(1){at=ct+-1|0;if(at>>>0>b>>>0)ct=at;else{Cn=at;break}}}}while(0);if(!(o[e>>2]&32))Vt(Cn,P-Cn|0,e)|0;ee=ue+4|0;if(ee>>>0>bt>>>0){On=ee;break}else ue=ee}do{if($|0){if(o[e>>2]&32|0)break;Vt(4621,1,e)|0}}while(0);if((Sn|0)>0&On>>>0<vn>>>0){ue=Sn;ht=On;while(1){ee=Yt(o[ht>>2]|0,0,D)|0;if(ee>>>0>b>>>0){qn(b|0,48,ee-k|0)|0;ct=ee;while(1){at=ct+-1|0;if(at>>>0>b>>>0)ct=at;else{Rn=at;break}}}else Rn=ee;if(!(o[e>>2]&32))Vt(Rn,(ue|0)>9?9:ue,e)|0;ht=ht+4|0;ct=ue+-9|0;if(!((ue|0)>9&ht>>>0<vn>>>0)){Nn=ct;break}else ue=ct}}else Nn=Sn;Jt(e,48,Nn+9|0,9,0)}else{ue=mn?vn:hn+4|0;if((Sn|0)>-1){ht=(An|0)==0;ct=Sn;at=hn;while(1){Tt=Yt(o[at>>2]|0,0,D)|0;if((Tt|0)==(D|0)){r[F>>0]=48;In=F}else In=Tt;do{if((at|0)==(hn|0)){Tt=In+1|0;if(!(o[e>>2]&32))Vt(In,1,e)|0;if(ht&(ct|0)<1){Dn=Tt;break}if(o[e>>2]&32|0){Dn=Tt;break}Vt(4621,1,e)|0;Dn=Tt}else{if(In>>>0<=b>>>0){Dn=In;break}qn(b|0,48,In+x|0)|0;Tt=In;while(1){de=Tt+-1|0;if(de>>>0>b>>>0)Tt=de;else{Dn=de;break}}}}while(0);ee=P-Dn|0;if(!(o[e>>2]&32))Vt(Dn,(ct|0)>(ee|0)?ee:ct,e)|0;Tt=ct-ee|0;at=at+4|0;if(!(at>>>0<ue>>>0&(Tt|0)>-1)){Pn=Tt;break}else ct=Tt}}else Pn=Sn;Jt(e,48,Pn+18|0,18,0);if(o[e>>2]&32|0)break;Vt(Mn,m-Mn|0,e)|0}}while(0);Jt(e,32,we,mt,Q^8192);wt=(mt|0)<(we|0)?we:mt}else{$=(ne&32|0)!=0;bt=rt!=rt|0.0!=0.0;Ct=bt?0:it;vt=Ct+3|0;Jt(e,32,we,vt,X);st=o[e>>2]|0;if(!(st&32)){Vt(ot,Ct,e)|0;Fn=o[e>>2]|0}else Fn=st;if(!(Fn&32))Vt(bt?$?4613:4617:$?4605:4609,3,e)|0;Jt(e,32,we,vt,Q^8192);wt=(vt|0)<(we|0)?we:vt}}while(0);L=z;j=wt;B=ge;U=Te;continue e;break}default:{We=U;Ye=Q;Ge=xe;Je=0;Ze=4569;Xe=A}}}while(0);t:do{if((V|0)==64){V=0;ne=v;t=o[ne>>2]|0;fe=o[ne+4>>2]|0;ne=Pe&32;if(!((t|0)==0&(fe|0)==0)){vt=A;$=t;t=fe;while(1){fe=vt+-1|0;r[fe>>0]=a[4553+($&15)>>0]|ne;$=Vn($|0,t|0,4)|0;t=R;if(($|0)==0&(t|0)==0){Ln=fe;break}else vt=fe}vt=v;if((Ie&8|0)==0|(o[vt>>2]|0)==0&(o[vt+4>>2]|0)==0){Le=Ln;je=Ie;Be=De;Ue=0;ze=4569;V=77}else{Le=Ln;je=Ie;Be=De;Ue=2;ze=4569+(Pe>>4)|0;V=77}}else{Le=A;je=Ie;Be=De;Ue=0;ze=4569;V=77}}else if((V|0)==76){V=0;Le=Yt(He,qe,A)|0;je=Q;Be=xe;Ue=Ve;ze=Ke;V=77}else if((V|0)==82){V=0;vt=Gt(Qe,0,xe)|0;t=(vt|0)==0;We=Qe;Ye=X;Ge=t?xe:vt-Qe|0;Je=0;Ze=4569;Xe=t?Qe+xe|0:vt}else if((V|0)==86){V=0;vt=0;t=0;$=$e;while(1){ne=o[$>>2]|0;if(!ne){jn=vt;Bn=t;break}fe=Pt(w,ne)|0;if((fe|0)<0|fe>>>0>(et-vt|0)>>>0){jn=vt;Bn=fe;break}ne=fe+vt|0;if(et>>>0>ne>>>0){vt=ne;t=fe;$=$+4|0}else{jn=ne;Bn=fe;break}}if((Bn|0)<0){me=-1;break e}Jt(e,32,we,jn,Q);if(!jn){tt=0;V=97}else{$=0;t=$e;while(1){vt=o[t>>2]|0;if(!vt){tt=jn;V=97;break t}fe=Pt(w,vt)|0;$=fe+$|0;if(($|0)>(jn|0)){tt=jn;V=97;break t}if(!(o[e>>2]&32))Vt(w,fe,e)|0;if($>>>0>=jn>>>0){tt=jn;V=97;break}else t=t+4|0}}}}while(0);if((V|0)==97){V=0;Jt(e,32,we,tt,Q^8192);L=z;j=(we|0)>(tt|0)?we:tt;B=ge;U=Te;continue}if((V|0)==77){V=0;X=(Be|0)>-1?je&-65537:je;t=v;$=(o[t>>2]|0)!=0|(o[t+4>>2]|0)!=0;if((Be|0)!=0|$){t=($&1^1)+(E-Le)|0;We=Le;Ye=X;Ge=(Be|0)>(t|0)?Be:t;Je=Ue;Ze=ze;Xe=A}else{We=A;Ye=X;Ge=0;Je=Ue;Ze=ze;Xe=A}}X=Xe-We|0;t=(Ge|0)<(X|0)?X:Ge;$=Je+t|0;fe=(we|0)<($|0)?$:we;Jt(e,32,fe,$,Ye);if(!(o[e>>2]&32))Vt(Ze,Je,e)|0;Jt(e,48,fe,$,Ye^65536);Jt(e,48,t,X,0);if(!(o[e>>2]&32))Vt(We,X,e)|0;Jt(e,32,fe,$,Ye^8192);L=z;j=fe;B=ge;U=Te}e:do{if((V|0)==244)if(!e)if(q){Te=1;while(1){U=o[c+(Te<<2)>>2]|0;if(!U){Un=Te;break}Wt(s+(Te<<3)|0,U,n);Te=Te+1|0;if((Te|0)>=10){me=1;break e}}if((Un|0)<10){Te=Un;while(1){if(o[c+(Te<<2)>>2]|0){me=-1;break e}Te=Te+1|0;if((Te|0)>=10){me=1;break}}}else me=1}else me=0;else me=H}while(0);u=l;return me|0}function Vt(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0;i=n+16|0;a=o[i>>2]|0;if(!a)if(!(Kt(n)|0)){s=o[i>>2]|0;c=5}else l=0;else{s=a;c=5}e:do{if((c|0)==5){a=n+20|0;i=o[a>>2]|0;f=i;if((s-i|0)>>>0<t>>>0){l=vr[o[n+36>>2]&7](n,e,t)|0;break}t:do{if((r[n+75>>0]|0)>-1){i=t;while(1){if(!i){u=t;d=e;h=f;p=0;break t}b=i+-1|0;if((r[e+b>>0]|0)==10){m=i;break}else i=b}if((vr[o[n+36>>2]&7](n,e,m)|0)>>>0<m>>>0){l=m;break e}u=t-m|0;d=e+m|0;h=o[a>>2]|0;p=m}else{u=t;d=e;h=f;p=0}}while(0);Yn(h|0,d|0,u|0)|0;o[a>>2]=(o[a>>2]|0)+u;l=p+u|0}}while(0);return l|0}function Kt(e){e=e|0;var t=0,n=0,i=0;t=e+74|0;n=r[t>>0]|0;r[t>>0]=n+255|n;n=o[e>>2]|0;if(!(n&8)){o[e+8>>2]=0;o[e+4>>2]=0;t=o[e+44>>2]|0;o[e+28>>2]=t;o[e+20>>2]=t;o[e+16>>2]=t+(o[e+48>>2]|0);i=0}else{o[e>>2]=n|32;i=-1}return i|0}function Wt(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,s=0,c=0.0;e:do{if(t>>>0<=20)do{switch(t|0){case 9:{r=(o[n>>2]|0)+(4-1)&~(4-1);i=o[r>>2]|0;o[n>>2]=r+4;o[e>>2]=i;break e;break}case 10:{i=(o[n>>2]|0)+(4-1)&~(4-1);r=o[i>>2]|0;o[n>>2]=i+4;i=e;o[i>>2]=r;o[i+4>>2]=((r|0)<0)<<31>>31;break e;break}case 11:{r=(o[n>>2]|0)+(4-1)&~(4-1);i=o[r>>2]|0;o[n>>2]=r+4;r=e;o[r>>2]=i;o[r+4>>2]=0;break e;break}case 12:{r=(o[n>>2]|0)+(8-1)&~(8-1);i=r;a=o[i>>2]|0;s=o[i+4>>2]|0;o[n>>2]=r+8;r=e;o[r>>2]=a;o[r+4>>2]=s;break e;break}case 13:{s=(o[n>>2]|0)+(4-1)&~(4-1);r=o[s>>2]|0;o[n>>2]=s+4;s=(r&65535)<<16>>16;r=e;o[r>>2]=s;o[r+4>>2]=((s|0)<0)<<31>>31;break e;break}case 14:{s=(o[n>>2]|0)+(4-1)&~(4-1);r=o[s>>2]|0;o[n>>2]=s+4;s=e;o[s>>2]=r&65535;o[s+4>>2]=0;break e;break}case 15:{s=(o[n>>2]|0)+(4-1)&~(4-1);r=o[s>>2]|0;o[n>>2]=s+4;s=(r&255)<<24>>24;r=e;o[r>>2]=s;o[r+4>>2]=((s|0)<0)<<31>>31;break e;break}case 16:{s=(o[n>>2]|0)+(4-1)&~(4-1);r=o[s>>2]|0;o[n>>2]=s+4;s=e;o[s>>2]=r&255;o[s+4>>2]=0;break e;break}case 17:{s=(o[n>>2]|0)+(8-1)&~(8-1);c=+f[s>>3];o[n>>2]=s+8;f[e>>3]=c;break e;break}case 18:{s=(o[n>>2]|0)+(8-1)&~(8-1);c=+f[s>>3];o[n>>2]=s+8;f[e>>3]=c;break e;break}default:break e}}while(0)}while(0);return}function Yt(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,o=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0;if(t>>>0>0|(t|0)==0&e>>>0>4294967295){i=n;o=e;a=t;while(1){t=rr(o|0,a|0,10,0)|0;s=i+-1|0;r[s>>0]=t|48;t=nr(o|0,a|0,10,0)|0;if(a>>>0>9|(a|0)==9&o>>>0>4294967295){i=s;o=t;a=R}else{c=s;l=t;break}}f=c;u=l}else{f=n;u=e}if(!u)d=f;else{e=f;f=u;while(1){u=e+-1|0;r[u>>0]=(f>>>0)%10|0|48;if(f>>>0<10){d=u;break}else{e=u;f=(f>>>0)/10|0}}}return d|0}function Gt(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0;i=t&255;a=(n|0)!=0;e:do{if(a&(e&3|0)!=0){s=t&255;c=n;l=e;while(1){if((r[l>>0]|0)==s<<24>>24){f=c;u=l;d=6;break e}h=l+1|0;p=c+-1|0;b=(p|0)!=0;if(b&(h&3|0)!=0){c=p;l=h}else{m=p;v=b;g=h;d=5;break}}}else{m=n;v=a;g=e;d=5}}while(0);if((d|0)==5)if(v){f=m;u=g;d=6}else{y=0;w=g}e:do{if((d|0)==6){g=t&255;if((r[u>>0]|0)==g<<24>>24){y=f;w=u}else{m=te(i,16843009)|0;t:do{if(f>>>0>3){v=f;e=u;while(1){a=o[e>>2]^m;if((a&-2139062144^-2139062144)&a+-16843009|0){S=v;A=e;break}a=e+4|0;n=v+-4|0;if(n>>>0>3){v=n;e=a}else{E=n;_=a;d=11;break t}}k=S;x=A}else{E=f;_=u;d=11}}while(0);if((d|0)==11)if(!E){y=0;w=_;break}else{k=E;x=_}while(1){if((r[x>>0]|0)==g<<24>>24){y=k;w=x;break e}m=x+1|0;k=k+-1|0;if(!k){y=0;w=m;break}else x=m}}}}while(0);return(y|0?w:0)|0}function Jt(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0;a=u;u=u+256|0;s=a;do{if((n|0)>(r|0)&(i&73728|0)==0){c=n-r|0;qn(s|0,t|0,(c>>>0>256?256:c)|0)|0;l=o[e>>2]|0;f=(l&32|0)==0;if(c>>>0>255){d=n-r|0;h=c;p=l;l=f;while(1){if(l){Vt(s,256,e)|0;b=o[e>>2]|0}else b=p;h=h+-256|0;l=(b&32|0)==0;if(h>>>0<=255)break;else p=b}if(l)m=d&255;else break}else if(f)m=c;else break;Vt(s,m,e)|0}}while(0);u=a;return}function Zt(e,t){e=+e;t=t|0;return+ +Xt(e,t)}function Xt(e,t){e=+e;t=t|0;var n=0,r=0,i=0,a=0,s=0.0,c=0.0,l=0,u=0.0;f[h>>3]=e;n=o[h>>2]|0;r=o[h+4>>2]|0;i=Vn(n|0,r|0,52)|0;a=i&2047;switch(a|0){case 0:{if(e!=0.0){s=+Xt(e*18446744073709551616.0,t);c=s;l=(o[t>>2]|0)+-64|0}else{c=e;l=0}o[t>>2]=l;u=c;break}case 2047:{u=e;break}default:{o[t>>2]=a+-1022;o[h>>2]=n;o[h+4>>2]=r&-2146435073|1071644672;u=+f[h>>3]}}return+u}function Qt(e){e=e|0;return 0}function $t(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,o=0,a=0,s=0,c=0,l=0,f=0,u=0;e:do{if(!n)i=0;else{o=n;a=e;s=t;while(1){c=r[a>>0]|0;l=r[s>>0]|0;if(c<<24>>24!=l<<24>>24){f=c;u=l;break}o=o+-1|0;if(!o){i=0;break e}else{a=a+1|0;s=s+1|0}}i=(f&255)-(u&255)|0}}while(0);return i|0}function en(e,t){e=e|0;t=t|0;var n=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0;n=t&255;e:do{if(!n)i=e+(Dt(e)|0)|0;else{if(!(e&3))a=e;else{s=t&255;c=e;while(1){l=r[c>>0]|0;if(l<<24>>24==0?1:l<<24>>24==s<<24>>24){i=c;break e}l=c+1|0;if(!(l&3)){a=l;break}else c=l}}c=te(n,16843009)|0;s=o[a>>2]|0;t:do{if(!((s&-2139062144^-2139062144)&s+-16843009)){l=s;f=a;while(1){u=l^c;if((u&-2139062144^-2139062144)&u+-16843009|0){d=f;break t}u=f+4|0;l=o[u>>2]|0;if((l&-2139062144^-2139062144)&l+-16843009|0){d=u;break}else f=u}}else d=a}while(0);c=t&255;s=d;while(1){f=r[s>>0]|0;if(f<<24>>24==0?1:f<<24>>24==c<<24>>24){i=s;break}else s=s+1|0}}}while(0);return i|0}function tn(e){e=e|0;var t=0,n=0,i=0;t=e+74|0;n=r[t>>0]|0;r[t>>0]=n+255|n;n=e+20|0;t=e+44|0;if((o[n>>2]|0)>>>0>(o[t>>2]|0)>>>0)vr[o[e+36>>2]&7](e,0,0)|0;o[e+16>>2]=0;o[e+28>>2]=0;o[n>>2]=0;n=o[e>>2]|0;if(n&20)if(!(n&4))i=-1;else{o[e>>2]=n|32;i=-1}else{n=o[t>>2]|0;o[e+8>>2]=n;o[e+4>>2]=n;i=0}return i|0}function nn(e,t){e=e|0;t=t|0;var n=0;n=en(e,t)|0;return((r[n>>0]|0)==(t&255)<<24>>24?n:0)|0}function rn(e,t){e=e|0;t=t|0;var n=0,i=0,a=0,s=0,c=0;n=u;u=u+32|0;i=n+16|0;a=n;if(Gt(4623,r[t>>0]|0,4)|0){s=on(t)|0|32768;o[a>>2]=e;o[a+4>>2]=s;o[a+8>>2]=438;s=kt(ve(5,a|0)|0)|0;if((s|0)>=0){a=an(s,t)|0;if(!a){o[i>>2]=s;Te(6,i|0)|0;c=0}else c=a}else c=0}else{o[(xt()|0)>>2]=22;c=0}u=n;return c|0}function on(e){e=e|0;var t=0,n=0,i=0,o=0;t=(nn(e,43)|0)==0;n=r[e>>0]|0;i=t?n<<24>>24!=114&1:2;t=(nn(e,120)|0)==0;o=t?i:i|128;i=(nn(e,101)|0)==0;e=i?o:o|524288;o=n<<24>>24==114?e:e|64;e=n<<24>>24==119?o|512:o;return(n<<24>>24==97?e|1024:e)|0}function an(e,t){e=e|0;t=t|0;var n=0,i=0,a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0;n=u;u=u+112|0;i=n+40|0;a=n+24|0;s=n+16|0;c=n;l=n+52|0;f=r[t>>0]|0;if(Gt(4623,f<<24>>24,4)|0){d=Pn(1144)|0;if(!d)h=0;else{p=d;b=p+112|0;do{o[p>>2]=0;p=p+4|0}while((p|0)<(b|0));if(!(nn(t,43)|0))o[d>>2]=f<<24>>24==114?8:4;if(!(nn(t,101)|0))m=f;else{o[c>>2]=e;o[c+4>>2]=2;o[c+8>>2]=1;he(221,c|0)|0;m=r[t>>0]|0}if(m<<24>>24==97){o[s>>2]=e;o[s+4>>2]=3;m=he(221,s|0)|0;if(!(m&1024)){o[a>>2]=e;o[a+4>>2]=4;o[a+8>>2]=m|1024;he(221,a|0)|0}a=o[d>>2]|128;o[d>>2]=a;v=a}else v=o[d>>2]|0;o[d+60>>2]=e;o[d+44>>2]=d+120;o[d+48>>2]=1024;a=d+75|0;r[a>>0]=-1;if((v&8|0)==0?(o[i>>2]=e,o[i+4>>2]=21505,o[i+8>>2]=l,(Ee(54,i|0)|0)==0):0)r[a>>0]=10;o[d+32>>2]=5;o[d+36>>2]=3;o[d+40>>2]=2;o[d+12>>2]=1;if(!(o[1160]|0))o[d+76>>2]=-1;Me(4664);a=o[1165]|0;o[d+56>>2]=a;if(a|0)o[a+52>>2]=d;o[1165]=d;_e(4664);h=d}}else{o[(xt()|0)>>2]=22;h=0}u=n;return h|0}function sn(e){e=e|0;var t=0,n=0,r=0,i=0;if((o[e+76>>2]|0)>-1)Qt(e)|0;t=(o[e>>2]&1|0)!=0;if(!t){Me(4664);n=o[e+52>>2]|0;r=e+56|0;if(n|0)o[n+56>>2]=o[r>>2];i=o[r>>2]|0;if(i|0)o[i+52>>2]=n;if((o[1165]|0)==(e|0))o[1165]=i;_e(4664)}i=cn(e)|0;n=wr[o[e+12>>2]&1](e)|0|i;i=o[e+92>>2]|0;if(i|0)Fn(i);if(!t)Fn(e);return n|0}function cn(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,s=0,c=0;do{if(e){if((o[e+76>>2]|0)<=-1){t=ln(e)|0;break}n=(Qt(e)|0)==0;r=ln(e)|0;if(n)t=r;else{Ot(e);t=r}}else{if(!(o[92]|0))i=0;else i=cn(o[92]|0)|0;Me(4664);r=o[1165]|0;if(!r)a=i;else{n=r;r=i;while(1){if((o[n+76>>2]|0)>-1)s=Qt(n)|0;else s=0;if((o[n+20>>2]|0)>>>0>(o[n+28>>2]|0)>>>0)c=ln(n)|0|r;else c=r;if(s|0)Ot(n);n=o[n+56>>2]|0;if(!n){a=c;break}else r=c}}_e(4664);t=a}}while(0);return t|0}function ln(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,s=0,c=0;t=e+20|0;n=e+28|0;if((o[t>>2]|0)>>>0>(o[n>>2]|0)>>>0?(vr[o[e+36>>2]&7](e,0,0)|0,(o[t>>2]|0)==0):0)r=-1;else{i=e+4|0;a=o[i>>2]|0;s=e+8|0;c=o[s>>2]|0;if(a>>>0<c>>>0)vr[o[e+40>>2]&7](e,a-c|0,1)|0;o[e+16>>2]=0;o[n>>2]=0;o[t>>2]=0;o[s>>2]=0;o[i>>2]=0;r=0}return r|0}function fn(e){e=e|0;var t=0,n=0,r=0;if((o[e+76>>2]|0)>-1){t=(Qt(e)|0)==0;n=(o[e>>2]|0)>>>4&1;if(t)r=n;else{Ot(e);r=n}}else r=(o[e>>2]|0)>>>4&1;return r|0}function un(e,t,n){e=e|0;t=t|0;n=n|0;return dn(e,t,n)|0}function dn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;if((o[e+76>>2]|0)>-1){r=(Qt(e)|0)==0;i=hn(e,t,n)|0;if(r)a=i;else{Ot(e);a=i}}else a=hn(e,t,n)|0;return a|0}function hn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0;if((n|0)==1)r=t-(o[e+8>>2]|0)+(o[e+4>>2]|0)|0;else r=t;t=e+20|0;i=e+28|0;if((o[t>>2]|0)>>>0>(o[i>>2]|0)>>>0?(vr[o[e+36>>2]&7](e,0,0)|0,(o[t>>2]|0)==0):0)a=-1;else{o[e+16>>2]=0;o[i>>2]=0;o[t>>2]=0;if((vr[o[e+40>>2]&7](e,r,n)|0)<0)a=-1;else{o[e+8>>2]=0;o[e+4>>2]=0;o[e>>2]=o[e>>2]&-17;a=0}}return a|0}function pn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0;r=u;u=u+16|0;i=r;o[i>>2]=n;n=Ht(e,t,i)|0;u=r;return n|0}function bn(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0,F=0;i=u;u=u+208|0;a=i+8|0;s=i;c=te(n,t)|0;t=s;o[t>>2]=1;o[t+4>>2]=0;if(c|0){t=0-n|0;o[a+4>>2]=n;o[a>>2]=n;l=n;f=n;d=2;while(1){h=f+n+l|0;o[a+(d<<2)>>2]=h;if(h>>>0<c>>>0){p=l;l=h;d=d+1|0;f=p}else break}f=e+c+t|0;c=s+4|0;if(f>>>0>e>>>0){d=f;l=1;p=e;h=1;while(1){do{if((l&3|0)==3){mn(p,n,r,h,a);b=o[c>>2]|0;m=b<<30|(o[s>>2]|0)>>>2;o[s>>2]=m;o[c>>2]=b>>>2;v=m;g=h+2|0}else{m=h+-1|0;if((o[a+(m<<2)>>2]|0)>>>0<(d-p|0)>>>0)mn(p,n,r,h,a);else gn(p,n,r,s,h,0,a);if((h|0)==1){b=o[s>>2]|0;o[c>>2]=b>>>31|o[c>>2]<<1;y=b<<1;o[s>>2]=y;v=y;g=0;break}if(m>>>0>31){y=o[s>>2]|0;o[c>>2]=y;o[s>>2]=0;w=h+-33|0;S=y;A=0}else{w=m;S=o[c>>2]|0;A=o[s>>2]|0}o[c>>2]=A>>>(32-w|0)|S<<w;m=A<<w;o[s>>2]=m;v=m;g=1}}while(0);l=v|1;o[s>>2]=l;m=p+n|0;if(m>>>0>=f>>>0){E=m;_=g;break}else{p=m;h=g}}}else{E=e;_=1}gn(E,n,r,s,_,0,a);e=s+4|0;g=o[s>>2]|0;h=o[e>>2]|0;p=(h|0)==0;if(!((_|0)==1&(g|0)==1&p)){f=p;p=g;g=h;h=E;E=_;while(1){if((E|0)<2){_=p+-1|0;do{if(_){if(!(_&1)){l=_;v=0;while(1){w=v+1|0;l=l>>>1;if(l&1|0){k=w;break}else v=w}}else{if(f)x=32;else{if(!(g&1)){M=g;T=0}else{C=0;O=p;R=g;N=0;break}while(1){v=T+1|0;M=M>>>1;if(M&1|0){x=v;break}else T=v}}k=x+32|0}if(k>>>0>31){I=k;D=28}else{C=k;O=p;R=g;N=k}}else{I=32;D=28}}while(0);if((D|0)==28){D=0;o[s>>2]=g;o[c>>2]=0;C=I+-32|0;O=g;R=0;N=I}o[s>>2]=R<<32-C|O>>>C;o[c>>2]=R>>>C;P=h+t|0;F=N+E|0}else{_=p>>>30;v=E+-2|0;o[s>>2]=(p<<1&2147483646|_<<31)^3;o[c>>2]=(_|g<<2)>>>1;gn(h+(0-(o[a+(v<<2)>>2]|0))+t|0,n,r,s,E+-1|0,1,a);_=o[s>>2]|0;o[c>>2]=_>>>31|o[c>>2]<<1;o[s>>2]=_<<1|1;_=h+t|0;gn(_,n,r,s,v,1,a);P=_;F=v}p=o[s>>2]|0;g=o[e>>2]|0;f=(g|0)==0;if((F|0)==1&(p|0)==1&f)break;else{h=P;E=F}}}}u=i;return}function mn(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0;a=u;u=u+240|0;s=a;o[s>>2]=e;e:do{if((r|0)>1){c=0-t|0;l=r;f=e;d=e;h=1;while(1){p=f+c|0;b=l+-2|0;m=p+(0-(o[i+(b<<2)>>2]|0))|0;if((Sr[n&1](d,m)|0)>-1?(Sr[n&1](d,p)|0)>-1:0){v=h;break e}g=h+1|0;y=s+(h<<2)|0;if((Sr[n&1](m,p)|0)>-1){o[y>>2]=m;w=m;S=l+-1|0}else{o[y>>2]=p;w=p;S=b}if((S|0)<=1){v=g;break e}l=S;f=w;d=o[s>>2]|0;h=g}}else v=1}while(0);vn(t,s,v);u=a;return}function vn(e,t,n){e=e|0;t=t|0;n=n|0;var r=0,i=0,a=0,s=0,c=0,l=0,f=0,d=0;r=u;u=u+256|0;i=r;e:do{if((n|0)>=2?(a=t+(n<<2)|0,o[a>>2]=i,e|0):0){s=e;c=i;while(1){l=s>>>0>256?256:s;Yn(c|0,o[t>>2]|0,l|0)|0;f=0;do{d=t+(f<<2)|0;f=f+1|0;Yn(o[d>>2]|0,o[t+(f<<2)>>2]|0,l|0)|0;o[d>>2]=(o[d>>2]|0)+l}while((f|0)!=(n|0));if((s|0)==(l|0))break e;s=s-l|0;c=o[a>>2]|0}}}while(0);u=r;return}function gn(e,t,n,r,i,a,s){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;a=a|0;s=s|0;var c=0,l=0,f=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0,F=0,L=0,j=0,B=0,U=0,z=0;c=u;u=u+240|0;l=c;f=o[r>>2]|0;d=o[r+4>>2]|0;o[l>>2]=e;r=0-t|0;e:do{if((d|0)!=0|(f|0)!=1?(h=e+(0-(o[s+(i<<2)>>2]|0))|0,(Sr[n&1](h,e)|0)>=1):0){p=e;b=i;m=(a|0)==0;v=h;h=1;g=f;y=d;while(1){if(m&(b|0)>1){w=p+r|0;S=o[s+(b+-2<<2)>>2]|0;if((Sr[n&1](w,v)|0)>-1){A=p;E=b;_=h;k=19;break e}if((Sr[n&1](w+(0-S)|0,v)|0)>-1){A=p;E=b;_=h;k=19;break e}}S=h+1|0;o[l+(h<<2)>>2]=v;w=g+-1|0;do{if(w){if(!(w&1)){x=w;M=0;while(1){T=M+1|0;x=x>>>1;if(x&1|0){C=T;break}else M=T}}else{if(!y)O=32;else{if(!(y&1)){R=y;N=0}else{I=0;D=g;P=y;F=0;break}while(1){M=N+1|0;R=R>>>1;if(R&1|0){O=M;break}else N=M}}C=O+32|0}if(C>>>0>31){L=C;k=15}else{I=C;D=g;P=y;F=C}}else{L=32;k=15}}while(0);if((k|0)==15){k=0;I=L+-32|0;D=y;P=0;F=L}g=P<<32-I|D>>>I;y=P>>>I;w=F+b|0;if(!((y|0)!=0|(g|0)!=1)){A=v;E=w;_=S;k=19;break e}M=v+(0-(o[s+(w<<2)>>2]|0))|0;if((Sr[n&1](M,o[l>>2]|0)|0)<1){j=v;B=w;U=0;z=S;k=18;break}else{x=v;b=w;m=1;v=M;h=S;p=x}}}else{j=e;B=i;U=a;z=1;k=18}}while(0);if((k|0)==18?(U|0)==0:0){A=j;E=B;_=z;k=19}if((k|0)==19){vn(t,l,_);mn(A,t,n,E,s)}u=c;return}function yn(e,t,n,i){e=e|0;t=t|0;n=n|0;i=i|0;var a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0;a=te(n,t)|0;if((o[i+76>>2]|0)>-1)s=Qt(i)|0;else s=0;c=i+74|0;l=r[c>>0]|0;r[c>>0]=l+255|l;l=i+4|0;c=o[l>>2]|0;f=(o[i+8>>2]|0)-c|0;u=c;if((f|0)>0){c=f>>>0<a>>>0?f:a;Yn(e|0,u|0,c|0)|0;o[l>>2]=u+c;d=e+c|0;h=a-c|0}else{d=e;h=a}e:do{if(!h)p=13;else{e=i+32|0;c=d;u=h;while(1){if(tn(i)|0){b=u;break}l=vr[o[e>>2]&7](i,c,u)|0;if((l+1|0)>>>0<2){b=u;break}if((u|0)==(l|0)){p=13;break e}else{c=c+l|0;u=u-l|0}}if(s|0)Ot(i);m=((a-b|0)>>>0)/(t>>>0)|0}}while(0);if((p|0)==13)if(!s)m=n;else{Ot(i);m=n}return m|0}function wn(e){e=e|0;var t=0,n=0,i=0,a=0,s=0;t=o[63]|0;if((o[t+76>>2]|0)>-1)n=Qt(t)|0;else n=0;do{if((Sn(e,t)|0)<0)i=1;else{if((r[t+75>>0]|0)!=10?(a=t+20|0,s=o[a>>2]|0,s>>>0<(o[t+16>>2]|0)>>>0):0){o[a>>2]=s+1;r[s>>0]=10;i=0;break}i=(En(t,10)|0)<0}}while(0);if(n|0)Ot(t);return i<<31>>31|0}function Sn(e,t){e=e|0;t=t|0;return(An(e,Dt(e)|0,1,t)|0)+-1|0}function An(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,s=0,c=0,l=0;i=te(n,t)|0;if((o[r+76>>2]|0)>-1){a=(Qt(r)|0)==0;s=Vt(e,i,r)|0;if(a)c=s;else{Ot(r);c=s}}else c=Vt(e,i,r)|0;if((c|0)==(i|0))l=n;else l=(c>>>0)/(t>>>0)|0;return l|0}function En(e,t){e=e|0;t=t|0;var n=0,i=0,s=0,c=0,l=0,f=0,d=0,h=0,p=0;n=u;u=u+16|0;i=n;s=t&255;r[i>>0]=s;c=e+16|0;l=o[c>>2]|0;if(!l)if(!(Kt(e)|0)){f=o[c>>2]|0;d=4}else h=-1;else{f=l;d=4}do{if((d|0)==4){l=e+20|0;c=o[l>>2]|0;if(c>>>0<f>>>0?(p=t&255,(p|0)!=(r[e+75>>0]|0)):0){o[l>>2]=c+1;r[c>>0]=s;h=p;break}if((vr[o[e+36>>2]&7](e,i,1)|0)==1)h=a[i>>0]|0;else h=-1}}while(0);u=n;return h|0}function _n(e){e=e|0;var t=0,n=0,r=0;if(!(o[e>>2]&128))t=1;else t=(o[e+20>>2]|0)>>>0>(o[e+28>>2]|0)>>>0?2:1;n=vr[o[e+40>>2]&7](e,0,t)|0;if((n|0)<0)r=n;else r=n-(o[e+8>>2]|0)+(o[e+4>>2]|0)+(o[e+20>>2]|0)-(o[e+28>>2]|0)|0;return r|0}function kn(e){e=e|0;var t=0,n=0,r=0;if((o[e+76>>2]|0)>-1){t=(Qt(e)|0)==0;n=_n(e)|0;if(t)r=n;else{Ot(e);r=n}}else r=_n(e)|0;return r|0}function xn(e){e=e|0;return kn(e)|0}function Mn(e,t){e=e|0;t=t|0;var n=0,i=0,a=0,s=0,c=0;if((o[t+76>>2]|0)>=0?(Qt(t)|0)!=0:0){if((r[t+75>>0]|0)!=(e|0)?(n=t+20|0,i=o[n>>2]|0,i>>>0<(o[t+16>>2]|0)>>>0):0){o[n>>2]=i+1;r[i>>0]=e;a=e&255}else a=En(t,e)|0;Ot(t);s=a}else c=3;do{if((c|0)==3){if((r[t+75>>0]|0)!=(e|0)?(a=t+20|0,i=o[a>>2]|0,i>>>0<(o[t+16>>2]|0)>>>0):0){o[a>>2]=i+1;r[i>>0]=e;s=e&255;break}s=En(t,e)|0}}while(0);return s|0}function Tn(e){e=e|0;var t=0,n=0,r=0,i=0,a=0;t=u;u=u+16|0;n=t+8|0;r=t;o[r>>2]=e;i=kt(ke(10,r|0)|0)|0;if(i)if((o[(xt()|0)>>2]|0)==21){o[n>>2]=e;a=kt(be(40,n|0)|0)|0}else a=i;else a=0;u=t;return a|0}function Cn(e,t){e=e|0;t=t|0;var n=0,r=0;n=u;u=u+16|0;r=n;o[r>>2]=t;t=Ht(o[63]|0,e,r)|0;u=n;return t|0}function On(e){e=+e;var t=0,n=0,r=0.0,i=0.0;f[h>>3]=e;t=o[h+4>>2]|0;n=t&2146435072;if(!(n>>>0>1126170624|(n|0)==1126170624&0>0)){n=(t|0)<0;r=n?e+-4503599627370496.0+4503599627370496.0:e+4503599627370496.0+-4503599627370496.0;if(r==0.0)i=n?-0.0:0.0;else i=r}else i=e;return+i}function Rn(e){e=e|0;return 0}function Nn(e){e=e|0;return 0}function In(e){e=+e;var t=0,n=0.0;t=Rn(32)|0;n=+On(e);return~~n|0}function Dn(e,t){e=+e;t=+t;var n=0,r=0,i=0.0,a=0,s=0,c=0,l=0,u=0,d=0.0;f[h>>3]=e;n=o[h>>2]|0;r=o[h+4>>2]|0;i=+H(+e);f[h>>3]=i;a=o[h+4>>2]|0;do{if(!(a>>>0>2146435072|(a|0)==2146435072&(o[h>>2]|0)>>>0>0)){i=+H(+t);f[h>>3]=i;s=o[h+4>>2]|0;if(!(s>>>0>2146435072|(s|0)==2146435072&(o[h>>2]|0)>>>0>0)){f[h>>3]=t;s=o[h>>2]|0;c=o[h+4>>2]|0;l=Vn(n|0,r|0,63)|0;u=Vn(s|0,c|0,63)|0;if((l|0)==(u|0)){d=e<t?e:t;break}else{d=(r|0)<0?e:t;break}}else d=e}else d=t}while(0);return+d}function Pn(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0,F=0,L=0,j=0,B=0,U=0,z=0,H=0,q=0,V=0,K=0,W=0,Y=0,G=0,J=0,Z=0,X=0,Q=0,$=0,ee=0,te=0,ne=0,re=0,ie=0,oe=0,ae=0,se=0,ce=0,le=0,fe=0,ue=0,de=0,he=0,be=0,me=0,ve=0,ge=0,we=0,Ae=0,Ee=0,_e=0,ke=0,xe=0,Me=0,Te=0,Ce=0,Re=0,Ne=0,Ie=0,De=0,Pe=0,Fe=0,Le=0,je=0,Be=0,Ue=0,ze=0,He=0;do{if(e>>>0<245){t=e>>>0<11?16:e+11&-8;n=t>>>3;r=o[1171]|0;i=r>>>n;if(i&3|0){a=(i&1^1)+n|0;s=4724+(a<<1<<2)|0;c=s+8|0;l=o[c>>2]|0;f=l+8|0;u=o[f>>2]|0;do{if((s|0)!=(u|0)){if(u>>>0<(o[1175]|0)>>>0)pe();d=u+12|0;if((o[d>>2]|0)==(l|0)){o[d>>2]=s;o[c>>2]=u;break}else pe()}else o[1171]=r&~(1<<a)}while(0);u=a<<3;o[l+4>>2]=u|3;c=l+u+4|0;o[c>>2]=o[c>>2]|1;h=f;return h|0}c=o[1173]|0;if(t>>>0>c>>>0){if(i|0){u=2<<n;s=i<<n&(u|0-u);u=(s&0-s)+-1|0;s=u>>>12&16;d=u>>>s;u=d>>>5&8;p=d>>>u;d=p>>>2&4;b=p>>>d;p=b>>>1&2;m=b>>>p;b=m>>>1&1;v=(u|s|d|p|b)+(m>>>b)|0;b=4724+(v<<1<<2)|0;m=b+8|0;p=o[m>>2]|0;d=p+8|0;s=o[d>>2]|0;do{if((b|0)!=(s|0)){if(s>>>0<(o[1175]|0)>>>0)pe();u=s+12|0;if((o[u>>2]|0)==(p|0)){o[u>>2]=b;o[m>>2]=s;g=o[1173]|0;break}else pe()}else{o[1171]=r&~(1<<v);g=c}}while(0);c=(v<<3)-t|0;o[p+4>>2]=t|3;r=p+t|0;o[r+4>>2]=c|1;o[r+c>>2]=c;if(g|0){s=o[1176]|0;m=g>>>3;b=4724+(m<<1<<2)|0;n=o[1171]|0;i=1<<m;if(n&i){m=b+8|0;f=o[m>>2]|0;if(f>>>0<(o[1175]|0)>>>0)pe();else{y=m;w=f}}else{o[1171]=n|i;y=b+8|0;w=b}o[y>>2]=s;o[w+12>>2]=s;o[s+8>>2]=w;o[s+12>>2]=b}o[1173]=c;o[1176]=r;h=d;return h|0}r=o[1172]|0;if(r){c=(r&0-r)+-1|0;r=c>>>12&16;b=c>>>r;c=b>>>5&8;s=b>>>c;b=s>>>2&4;i=s>>>b;s=i>>>1&2;n=i>>>s;i=n>>>1&1;f=o[4988+((c|r|b|s|i)+(n>>>i)<<2)>>2]|0;i=(o[f+4>>2]&-8)-t|0;n=f;s=f;while(1){f=o[n+16>>2]|0;if(!f){b=o[n+20>>2]|0;if(!b){S=i;A=s;break}else E=b}else E=f;f=(o[E+4>>2]&-8)-t|0;b=f>>>0<i>>>0;i=b?f:i;n=E;s=b?E:s}s=o[1175]|0;if(A>>>0<s>>>0)pe();n=A+t|0;if(A>>>0>=n>>>0)pe();i=o[A+24>>2]|0;d=o[A+12>>2]|0;do{if((d|0)==(A|0)){p=A+20|0;v=o[p>>2]|0;if(!v){b=A+16|0;f=o[b>>2]|0;if(!f){_=0;break}else{k=f;x=b}}else{k=v;x=p}while(1){p=k+20|0;v=o[p>>2]|0;if(v|0){k=v;x=p;continue}p=k+16|0;v=o[p>>2]|0;if(!v){M=k;T=x;break}else{k=v;x=p}}if(T>>>0<s>>>0)pe();else{o[T>>2]=0;_=M;break}}else{p=o[A+8>>2]|0;if(p>>>0<s>>>0)pe();v=p+12|0;if((o[v>>2]|0)!=(A|0))pe();b=d+8|0;if((o[b>>2]|0)==(A|0)){o[v>>2]=d;o[b>>2]=p;_=d;break}else pe()}}while(0);do{if(i|0){d=o[A+28>>2]|0;s=4988+(d<<2)|0;if((A|0)==(o[s>>2]|0)){o[s>>2]=_;if(!_){o[1172]=o[1172]&~(1<<d);break}}else{if(i>>>0<(o[1175]|0)>>>0)pe();d=i+16|0;if((o[d>>2]|0)==(A|0))o[d>>2]=_;else o[i+20>>2]=_;if(!_)break}d=o[1175]|0;if(_>>>0<d>>>0)pe();o[_+24>>2]=i;s=o[A+16>>2]|0;do{if(s|0)if(s>>>0<d>>>0)pe();else{o[_+16>>2]=s;o[s+24>>2]=_;break}}while(0);s=o[A+20>>2]|0;if(s|0)if(s>>>0<(o[1175]|0)>>>0)pe();else{o[_+20>>2]=s;o[s+24>>2]=_;break}}}while(0);if(S>>>0<16){i=S+t|0;o[A+4>>2]=i|3;s=A+i+4|0;o[s>>2]=o[s>>2]|1}else{o[A+4>>2]=t|3;o[n+4>>2]=S|1;o[n+S>>2]=S;s=o[1173]|0;if(s|0){i=o[1176]|0;d=s>>>3;s=4724+(d<<1<<2)|0;p=o[1171]|0;b=1<<d;if(p&b){d=s+8|0;v=o[d>>2]|0;if(v>>>0<(o[1175]|0)>>>0)pe();else{C=d;O=v}}else{o[1171]=p|b;C=s+8|0;O=s}o[C>>2]=i;o[O+12>>2]=i;o[i+8>>2]=O;o[i+12>>2]=s}o[1173]=S;o[1176]=n}h=A+8|0;return h|0}else R=t}else R=t}else if(e>>>0<=4294967231){s=e+11|0;i=s&-8;b=o[1172]|0;if(b){p=0-i|0;v=s>>>8;if(v)if(i>>>0>16777215)N=31;else{s=(v+1048320|0)>>>16&8;d=v<<s;v=(d+520192|0)>>>16&4;f=d<<v;d=(f+245760|0)>>>16&2;r=14-(v|s|d)+(f<<d>>>15)|0;N=i>>>(r+7|0)&1|r<<1}else N=0;r=o[4988+(N<<2)>>2]|0;e:do{if(!r){I=p;D=0;P=0;F=86}else{d=p;f=0;s=i<<((N|0)==31?0:25-(N>>>1)|0);v=r;c=0;while(1){m=o[v+4>>2]&-8;l=m-i|0;if(l>>>0<d>>>0)if((m|0)==(i|0)){L=l;j=v;B=v;F=90;break e}else{U=l;z=v}else{U=d;z=c}l=o[v+20>>2]|0;v=o[v+16+(s>>>31<<2)>>2]|0;m=(l|0)==0|(l|0)==(v|0)?f:l;l=(v|0)==0;if(l){I=U;D=m;P=z;F=86;break}else{d=U;f=m;s=s<<(l&1^1);c=z}}}}while(0);if((F|0)==86){if((D|0)==0&(P|0)==0){r=2<<N;p=b&(r|0-r);if(!p){R=i;break}r=(p&0-p)+-1|0;p=r>>>12&16;t=r>>>p;r=t>>>5&8;n=t>>>r;t=n>>>2&4;c=n>>>t;n=c>>>1&2;s=c>>>n;c=s>>>1&1;H=o[4988+((r|p|t|n|c)+(s>>>c)<<2)>>2]|0}else H=D;if(!H){q=I;V=P}else{L=I;j=H;B=P;F=90}}if((F|0)==90)while(1){F=0;c=(o[j+4>>2]&-8)-i|0;s=c>>>0<L>>>0;n=s?c:L;c=s?j:B;s=o[j+16>>2]|0;if(s|0){L=n;j=s;B=c;F=90;continue}j=o[j+20>>2]|0;if(!j){q=n;V=c;break}else{L=n;B=c;F=90}}if((V|0)!=0?q>>>0<((o[1173]|0)-i|0)>>>0:0){b=o[1175]|0;if(V>>>0<b>>>0)pe();c=V+i|0;if(V>>>0>=c>>>0)pe();n=o[V+24>>2]|0;s=o[V+12>>2]|0;do{if((s|0)==(V|0)){t=V+20|0;p=o[t>>2]|0;if(!p){r=V+16|0;f=o[r>>2]|0;if(!f){K=0;break}else{W=f;Y=r}}else{W=p;Y=t}while(1){t=W+20|0;p=o[t>>2]|0;if(p|0){W=p;Y=t;continue}t=W+16|0;p=o[t>>2]|0;if(!p){G=W;J=Y;break}else{W=p;Y=t}}if(J>>>0<b>>>0)pe();else{o[J>>2]=0;K=G;break}}else{t=o[V+8>>2]|0;if(t>>>0<b>>>0)pe();p=t+12|0;if((o[p>>2]|0)!=(V|0))pe();r=s+8|0;if((o[r>>2]|0)==(V|0)){o[p>>2]=s;o[r>>2]=t;K=s;break}else pe()}}while(0);do{if(n|0){s=o[V+28>>2]|0;b=4988+(s<<2)|0;if((V|0)==(o[b>>2]|0)){o[b>>2]=K;if(!K){o[1172]=o[1172]&~(1<<s);break}}else{if(n>>>0<(o[1175]|0)>>>0)pe();s=n+16|0;if((o[s>>2]|0)==(V|0))o[s>>2]=K;else o[n+20>>2]=K;if(!K)break}s=o[1175]|0;if(K>>>0<s>>>0)pe();o[K+24>>2]=n;b=o[V+16>>2]|0;do{if(b|0)if(b>>>0<s>>>0)pe();else{o[K+16>>2]=b;o[b+24>>2]=K;break}}while(0);b=o[V+20>>2]|0;if(b|0)if(b>>>0<(o[1175]|0)>>>0)pe();else{o[K+20>>2]=b;o[b+24>>2]=K;break}}}while(0);do{if(q>>>0>=16){o[V+4>>2]=i|3;o[c+4>>2]=q|1;o[c+q>>2]=q;n=q>>>3;if(q>>>0<256){b=4724+(n<<1<<2)|0;s=o[1171]|0;t=1<<n;if(s&t){n=b+8|0;r=o[n>>2]|0;if(r>>>0<(o[1175]|0)>>>0)pe();else{Z=n;X=r}}else{o[1171]=s|t;Z=b+8|0;X=b}o[Z>>2]=c;o[X+12>>2]=c;o[c+8>>2]=X;o[c+12>>2]=b;break}b=q>>>8;if(b)if(q>>>0>16777215)Q=31;else{t=(b+1048320|0)>>>16&8;s=b<<t;b=(s+520192|0)>>>16&4;r=s<<b;s=(r+245760|0)>>>16&2;n=14-(b|t|s)+(r<<s>>>15)|0;Q=q>>>(n+7|0)&1|n<<1}else Q=0;n=4988+(Q<<2)|0;o[c+28>>2]=Q;s=c+16|0;o[s+4>>2]=0;o[s>>2]=0;s=o[1172]|0;r=1<<Q;if(!(s&r)){o[1172]=s|r;o[n>>2]=c;o[c+24>>2]=n;o[c+12>>2]=c;o[c+8>>2]=c;break}r=q<<((Q|0)==31?0:25-(Q>>>1)|0);s=o[n>>2]|0;while(1){if((o[s+4>>2]&-8|0)==(q|0)){$=s;F=148;break}n=s+16+(r>>>31<<2)|0;t=o[n>>2]|0;if(!t){ee=n;te=s;F=145;break}else{r=r<<1;s=t}}if((F|0)==145)if(ee>>>0<(o[1175]|0)>>>0)pe();else{o[ee>>2]=c;o[c+24>>2]=te;o[c+12>>2]=c;o[c+8>>2]=c;break}else if((F|0)==148){s=$+8|0;r=o[s>>2]|0;t=o[1175]|0;if(r>>>0>=t>>>0&$>>>0>=t>>>0){o[r+12>>2]=c;o[s>>2]=c;o[c+8>>2]=r;o[c+12>>2]=$;o[c+24>>2]=0;break}else pe()}}else{r=q+i|0;o[V+4>>2]=r|3;s=V+r+4|0;o[s>>2]=o[s>>2]|1}}while(0);h=V+8|0;return h|0}else R=i}else R=i}else R=-1}while(0);V=o[1173]|0;if(V>>>0>=R>>>0){q=V-R|0;$=o[1176]|0;if(q>>>0>15){te=$+R|0;o[1176]=te;o[1173]=q;o[te+4>>2]=q|1;o[te+q>>2]=q;o[$+4>>2]=R|3}else{o[1173]=0;o[1176]=0;o[$+4>>2]=V|3;q=$+V+4|0;o[q>>2]=o[q>>2]|1}h=$+8|0;return h|0}$=o[1174]|0;if($>>>0>R>>>0){q=$-R|0;o[1174]=q;$=o[1177]|0;V=$+R|0;o[1177]=V;o[V+4>>2]=q|1;o[$+4>>2]=R|3;h=$+8|0;return h|0}do{if(!(o[1289]|0)){$=Se(30)|0;if(!($+-1&$)){o[1291]=$;o[1290]=$;o[1292]=-1;o[1293]=-1;o[1294]=0;o[1282]=0;o[1289]=(Oe(0)|0)&-16^1431655768;break}else pe()}}while(0);$=R+48|0;q=o[1291]|0;V=R+47|0;te=q+V|0;ee=0-q|0;q=te&ee;if(q>>>0<=R>>>0){h=0;return h|0}Q=o[1281]|0;if(Q|0?(X=o[1279]|0,Z=X+q|0,Z>>>0<=X>>>0|Z>>>0>Q>>>0):0){h=0;return h|0}e:do{if(!(o[1282]&4)){Q=o[1177]|0;t:do{if(Q){Z=5132;while(1){X=o[Z>>2]|0;if(X>>>0<=Q>>>0?(K=Z+4|0,(X+(o[K>>2]|0)|0)>>>0>Q>>>0):0){ne=Z;re=K;break}Z=o[Z+8>>2]|0;if(!Z){F=173;break t}}Z=te-(o[1174]|0)&ee;if(Z>>>0<2147483647){K=ye(Z|0)|0;if((K|0)==((o[ne>>2]|0)+(o[re>>2]|0)|0)){if((K|0)!=(-1|0)){ie=K;oe=Z;F=193;break e}}else{ae=K;se=Z;F=183}}}else F=173}while(0);do{if((F|0)==173?(Q=ye(0)|0,(Q|0)!=(-1|0)):0){i=Q;Z=o[1290]|0;K=Z+-1|0;if(!(K&i))ce=q;else ce=q-i+(K+i&0-Z)|0;Z=o[1279]|0;i=Z+ce|0;if(ce>>>0>R>>>0&ce>>>0<2147483647){K=o[1281]|0;if(K|0?i>>>0<=Z>>>0|i>>>0>K>>>0:0)break;K=ye(ce|0)|0;if((K|0)==(Q|0)){ie=Q;oe=ce;F=193;break e}else{ae=K;se=ce;F=183}}}}while(0);t:do{if((F|0)==183){K=0-se|0;do{if($>>>0>se>>>0&(se>>>0<2147483647&(ae|0)!=(-1|0))?(Q=o[1291]|0,i=V-se+Q&0-Q,i>>>0<2147483647):0)if((ye(i|0)|0)==(-1|0)){ye(K|0)|0;break t}else{le=i+se|0;break}else le=se}while(0);if((ae|0)!=(-1|0)){ie=ae;oe=le;F=193;break e}}}while(0);o[1282]=o[1282]|4;F=190}else F=190}while(0);if((((F|0)==190?q>>>0<2147483647:0)?(le=ye(q|0)|0,q=ye(0)|0,le>>>0<q>>>0&((le|0)!=(-1|0)&(q|0)!=(-1|0))):0)?(ae=q-le|0,ae>>>0>(R+40|0)>>>0):0){ie=le;oe=ae;F=193}if((F|0)==193){ae=(o[1279]|0)+oe|0;o[1279]=ae;if(ae>>>0>(o[1280]|0)>>>0)o[1280]=ae;ae=o[1177]|0;do{if(ae){le=5132;do{q=o[le>>2]|0;se=le+4|0;V=o[se>>2]|0;if((ie|0)==(q+V|0)){fe=q;ue=se;de=V;he=le;F=203;break}le=o[le+8>>2]|0}while((le|0)!=0);if(((F|0)==203?(o[he+12>>2]&8|0)==0:0)?ae>>>0<ie>>>0&ae>>>0>=fe>>>0:0){o[ue>>2]=de+oe;le=ae+8|0;V=(le&7|0)==0?0:0-le&7;le=ae+V|0;se=oe-V+(o[1174]|0)|0;o[1177]=le;o[1174]=se;o[le+4>>2]=se|1;o[le+se+4>>2]=40;o[1178]=o[1293];break}se=o[1175]|0;if(ie>>>0<se>>>0){o[1175]=ie;be=ie}else be=se;se=ie+oe|0;le=5132;while(1){if((o[le>>2]|0)==(se|0)){me=le;ve=le;F=211;break}le=o[le+8>>2]|0;if(!le){ge=5132;break}}if((F|0)==211)if(!(o[ve+12>>2]&8)){o[me>>2]=ie;le=ve+4|0;o[le>>2]=(o[le>>2]|0)+oe;le=ie+8|0;V=ie+((le&7|0)==0?0:0-le&7)|0;le=se+8|0;q=se+((le&7|0)==0?0:0-le&7)|0;le=V+R|0;$=q-V-R|0;o[V+4>>2]=R|3;do{if((q|0)!=(ae|0)){if((q|0)==(o[1176]|0)){ce=(o[1173]|0)+$|0;o[1173]=ce;o[1176]=le;o[le+4>>2]=ce|1;o[le+ce>>2]=ce;break}ce=o[q+4>>2]|0;if((ce&3|0)==1){re=ce&-8;ne=ce>>>3;e:do{if(ce>>>0>=256){ee=o[q+24>>2]|0;te=o[q+12>>2]|0;do{if((te|0)==(q|0)){K=q+16|0;i=K+4|0;Q=o[i>>2]|0;if(!Q){Z=o[K>>2]|0;if(!Z){we=0;break}else{Ae=Z;Ee=K}}else{Ae=Q;Ee=i}while(1){i=Ae+20|0;Q=o[i>>2]|0;if(Q|0){Ae=Q;Ee=i;continue}i=Ae+16|0;Q=o[i>>2]|0;if(!Q){_e=Ae;ke=Ee;break}else{Ae=Q;Ee=i}}if(ke>>>0<be>>>0)pe();else{o[ke>>2]=0;we=_e;break}}else{i=o[q+8>>2]|0;if(i>>>0<be>>>0)pe();Q=i+12|0;if((o[Q>>2]|0)!=(q|0))pe();K=te+8|0;if((o[K>>2]|0)==(q|0)){o[Q>>2]=te;o[K>>2]=i;we=te;break}else pe()}}while(0);if(!ee)break;te=o[q+28>>2]|0;i=4988+(te<<2)|0;do{if((q|0)!=(o[i>>2]|0)){if(ee>>>0<(o[1175]|0)>>>0)pe();K=ee+16|0;if((o[K>>2]|0)==(q|0))o[K>>2]=we;else o[ee+20>>2]=we;if(!we)break e}else{o[i>>2]=we;if(we|0)break;o[1172]=o[1172]&~(1<<te);break e}}while(0);te=o[1175]|0;if(we>>>0<te>>>0)pe();o[we+24>>2]=ee;i=q+16|0;K=o[i>>2]|0;do{if(K|0)if(K>>>0<te>>>0)pe();else{o[we+16>>2]=K;o[K+24>>2]=we;break}}while(0);K=o[i+4>>2]|0;if(!K)break;if(K>>>0<(o[1175]|0)>>>0)pe();else{o[we+20>>2]=K;o[K+24>>2]=we;break}}else{K=o[q+8>>2]|0;te=o[q+12>>2]|0;ee=4724+(ne<<1<<2)|0;do{if((K|0)!=(ee|0)){if(K>>>0<be>>>0)pe();if((o[K+12>>2]|0)==(q|0))break;pe()}}while(0);if((te|0)==(K|0)){o[1171]=o[1171]&~(1<<ne);break}do{if((te|0)==(ee|0))xe=te+8|0;else{if(te>>>0<be>>>0)pe();i=te+8|0;if((o[i>>2]|0)==(q|0)){xe=i;break}pe()}}while(0);o[K+12>>2]=te;o[xe>>2]=K}}while(0);Me=q+re|0;Te=re+$|0}else{Me=q;Te=$}ne=Me+4|0;o[ne>>2]=o[ne>>2]&-2;o[le+4>>2]=Te|1;o[le+Te>>2]=Te;ne=Te>>>3;if(Te>>>0<256){ce=4724+(ne<<1<<2)|0;ee=o[1171]|0;i=1<<ne;do{if(!(ee&i)){o[1171]=ee|i;Ce=ce+8|0;Re=ce}else{ne=ce+8|0;Q=o[ne>>2]|0;if(Q>>>0>=(o[1175]|0)>>>0){Ce=ne;Re=Q;break}pe()}}while(0);o[Ce>>2]=le;o[Re+12>>2]=le;o[le+8>>2]=Re;o[le+12>>2]=ce;break}i=Te>>>8;do{if(!i)Ne=0;else{if(Te>>>0>16777215){Ne=31;break}ee=(i+1048320|0)>>>16&8;re=i<<ee;Q=(re+520192|0)>>>16&4;ne=re<<Q;re=(ne+245760|0)>>>16&2;Z=14-(Q|ee|re)+(ne<<re>>>15)|0;Ne=Te>>>(Z+7|0)&1|Z<<1}}while(0);i=4988+(Ne<<2)|0;o[le+28>>2]=Ne;ce=le+16|0;o[ce+4>>2]=0;o[ce>>2]=0;ce=o[1172]|0;Z=1<<Ne;if(!(ce&Z)){o[1172]=ce|Z;o[i>>2]=le;o[le+24>>2]=i;o[le+12>>2]=le;o[le+8>>2]=le;break}Z=Te<<((Ne|0)==31?0:25-(Ne>>>1)|0);ce=o[i>>2]|0;while(1){if((o[ce+4>>2]&-8|0)==(Te|0)){Ie=ce;F=281;break}i=ce+16+(Z>>>31<<2)|0;re=o[i>>2]|0;if(!re){De=i;Pe=ce;F=278;break}else{Z=Z<<1;ce=re}}if((F|0)==278)if(De>>>0<(o[1175]|0)>>>0)pe();else{o[De>>2]=le;o[le+24>>2]=Pe;o[le+12>>2]=le;o[le+8>>2]=le;break}else if((F|0)==281){ce=Ie+8|0;Z=o[ce>>2]|0;re=o[1175]|0;if(Z>>>0>=re>>>0&Ie>>>0>=re>>>0){o[Z+12>>2]=le;o[ce>>2]=le;o[le+8>>2]=Z;o[le+12>>2]=Ie;o[le+24>>2]=0;break}else pe()}}else{Z=(o[1174]|0)+$|0;o[1174]=Z;o[1177]=le;o[le+4>>2]=Z|1}}while(0);h=V+8|0;return h|0}else ge=5132;while(1){le=o[ge>>2]|0;if(le>>>0<=ae>>>0?($=le+(o[ge+4>>2]|0)|0,$>>>0>ae>>>0):0){Fe=$;break}ge=o[ge+8>>2]|0}V=Fe+-47|0;$=V+8|0;le=V+(($&7|0)==0?0:0-$&7)|0;$=ae+16|0;V=le>>>0<$>>>0?ae:le;le=V+8|0;q=ie+8|0;se=(q&7|0)==0?0:0-q&7;q=ie+se|0;Z=oe+-40-se|0;o[1177]=q;o[1174]=Z;o[q+4>>2]=Z|1;o[q+Z+4>>2]=40;o[1178]=o[1293];Z=V+4|0;o[Z>>2]=27;o[le>>2]=o[1283];o[le+4>>2]=o[1284];o[le+8>>2]=o[1285];o[le+12>>2]=o[1286];o[1283]=ie;o[1284]=oe;o[1286]=0;o[1285]=le;le=V+24|0;do{le=le+4|0;o[le>>2]=7}while((le+4|0)>>>0<Fe>>>0);if((V|0)!=(ae|0)){le=V-ae|0;o[Z>>2]=o[Z>>2]&-2;o[ae+4>>2]=le|1;o[V>>2]=le;q=le>>>3;if(le>>>0<256){se=4724+(q<<1<<2)|0;ce=o[1171]|0;re=1<<q;if(ce&re){q=se+8|0;i=o[q>>2]|0;if(i>>>0<(o[1175]|0)>>>0)pe();else{Le=q;je=i}}else{o[1171]=ce|re;Le=se+8|0;je=se}o[Le>>2]=ae;o[je+12>>2]=ae;o[ae+8>>2]=je;o[ae+12>>2]=se;break}se=le>>>8;if(se)if(le>>>0>16777215)Be=31;else{re=(se+1048320|0)>>>16&8;ce=se<<re;se=(ce+520192|0)>>>16&4;i=ce<<se;ce=(i+245760|0)>>>16&2;q=14-(se|re|ce)+(i<<ce>>>15)|0;Be=le>>>(q+7|0)&1|q<<1}else Be=0;q=4988+(Be<<2)|0;o[ae+28>>2]=Be;o[ae+20>>2]=0;o[$>>2]=0;ce=o[1172]|0;i=1<<Be;if(!(ce&i)){o[1172]=ce|i;o[q>>2]=ae;o[ae+24>>2]=q;o[ae+12>>2]=ae;o[ae+8>>2]=ae;break}i=le<<((Be|0)==31?0:25-(Be>>>1)|0);ce=o[q>>2]|0;while(1){if((o[ce+4>>2]&-8|0)==(le|0)){Ue=ce;F=307;break}q=ce+16+(i>>>31<<2)|0;re=o[q>>2]|0;if(!re){ze=q;He=ce;F=304;break}else{i=i<<1;ce=re}}if((F|0)==304)if(ze>>>0<(o[1175]|0)>>>0)pe();else{o[ze>>2]=ae;o[ae+24>>2]=He;o[ae+12>>2]=ae;o[ae+8>>2]=ae;break}else if((F|0)==307){ce=Ue+8|0;i=o[ce>>2]|0;le=o[1175]|0;if(i>>>0>=le>>>0&Ue>>>0>=le>>>0){o[i+12>>2]=ae;o[ce>>2]=ae;o[ae+8>>2]=i;o[ae+12>>2]=Ue;o[ae+24>>2]=0;break}else pe()}}}else{i=o[1175]|0;if((i|0)==0|ie>>>0<i>>>0)o[1175]=ie;o[1283]=ie;o[1284]=oe;o[1286]=0;o[1180]=o[1289];o[1179]=-1;i=0;do{ce=4724+(i<<1<<2)|0;o[ce+12>>2]=ce;o[ce+8>>2]=ce;i=i+1|0}while((i|0)!=32);i=ie+8|0;ce=(i&7|0)==0?0:0-i&7;i=ie+ce|0;le=oe+-40-ce|0;o[1177]=i;o[1174]=le;o[i+4>>2]=le|1;o[i+le+4>>2]=40;o[1178]=o[1293]}}while(0);oe=o[1174]|0;if(oe>>>0>R>>>0){ie=oe-R|0;o[1174]=ie;oe=o[1177]|0;ae=oe+R|0;o[1177]=ae;o[ae+4>>2]=ie|1;o[oe+4>>2]=R|3;h=oe+8|0;return h|0}}o[(xt()|0)>>2]=12;h=0;return h|0}function Fn(e){e=e|0;var t=0,n=0,r=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0,F=0,L=0;if(!e)return;t=e+-8|0;n=o[1175]|0;if(t>>>0<n>>>0)pe();r=o[e+-4>>2]|0;e=r&3;if((e|0)==1)pe();i=r&-8;a=t+i|0;do{if(!(r&1)){s=o[t>>2]|0;if(!e)return;c=t+(0-s)|0;l=s+i|0;if(c>>>0<n>>>0)pe();if((c|0)==(o[1176]|0)){f=a+4|0;u=o[f>>2]|0;if((u&3|0)!=3){d=c;h=l;break}o[1173]=l;o[f>>2]=u&-2;o[c+4>>2]=l|1;o[c+l>>2]=l;return}u=s>>>3;if(s>>>0<256){s=o[c+8>>2]|0;f=o[c+12>>2]|0;p=4724+(u<<1<<2)|0;if((s|0)!=(p|0)){if(s>>>0<n>>>0)pe();if((o[s+12>>2]|0)!=(c|0))pe()}if((f|0)==(s|0)){o[1171]=o[1171]&~(1<<u);d=c;h=l;break}if((f|0)!=(p|0)){if(f>>>0<n>>>0)pe();p=f+8|0;if((o[p>>2]|0)==(c|0))b=p;else pe()}else b=f+8|0;o[s+12>>2]=f;o[b>>2]=s;d=c;h=l;break}s=o[c+24>>2]|0;f=o[c+12>>2]|0;do{if((f|0)==(c|0)){p=c+16|0;u=p+4|0;m=o[u>>2]|0;if(!m){v=o[p>>2]|0;if(!v){g=0;break}else{y=v;w=p}}else{y=m;w=u}while(1){u=y+20|0;m=o[u>>2]|0;if(m|0){y=m;w=u;continue}u=y+16|0;m=o[u>>2]|0;if(!m){S=y;A=w;break}else{y=m;w=u}}if(A>>>0<n>>>0)pe();else{o[A>>2]=0;g=S;break}}else{u=o[c+8>>2]|0;if(u>>>0<n>>>0)pe();m=u+12|0;if((o[m>>2]|0)!=(c|0))pe();p=f+8|0;if((o[p>>2]|0)==(c|0)){o[m>>2]=f;o[p>>2]=u;g=f;break}else pe()}}while(0);if(s){f=o[c+28>>2]|0;u=4988+(f<<2)|0;if((c|0)==(o[u>>2]|0)){o[u>>2]=g;if(!g){o[1172]=o[1172]&~(1<<f);d=c;h=l;break}}else{if(s>>>0<(o[1175]|0)>>>0)pe();f=s+16|0;if((o[f>>2]|0)==(c|0))o[f>>2]=g;else o[s+20>>2]=g;if(!g){d=c;h=l;break}}f=o[1175]|0;if(g>>>0<f>>>0)pe();o[g+24>>2]=s;u=c+16|0;p=o[u>>2]|0;do{if(p|0)if(p>>>0<f>>>0)pe();else{o[g+16>>2]=p;o[p+24>>2]=g;break}}while(0);p=o[u+4>>2]|0;if(p)if(p>>>0<(o[1175]|0)>>>0)pe();else{o[g+20>>2]=p;o[p+24>>2]=g;d=c;h=l;break}else{d=c;h=l}}else{d=c;h=l}}else{d=t;h=i}}while(0);if(d>>>0>=a>>>0)pe();i=a+4|0;t=o[i>>2]|0;if(!(t&1))pe();if(!(t&2)){if((a|0)==(o[1177]|0)){g=(o[1174]|0)+h|0;o[1174]=g;o[1177]=d;o[d+4>>2]=g|1;if((d|0)!=(o[1176]|0))return;o[1176]=0;o[1173]=0;return}if((a|0)==(o[1176]|0)){g=(o[1173]|0)+h|0;o[1173]=g;o[1176]=d;o[d+4>>2]=g|1;o[d+g>>2]=g;return}g=(t&-8)+h|0;n=t>>>3;do{if(t>>>0>=256){S=o[a+24>>2]|0;A=o[a+12>>2]|0;do{if((A|0)==(a|0)){w=a+16|0;y=w+4|0;b=o[y>>2]|0;if(!b){e=o[w>>2]|0;if(!e){E=0;break}else{_=e;k=w}}else{_=b;k=y}while(1){y=_+20|0;b=o[y>>2]|0;if(b|0){_=b;k=y;continue}y=_+16|0;b=o[y>>2]|0;if(!b){x=_;M=k;break}else{_=b;k=y}}if(M>>>0<(o[1175]|0)>>>0)pe();else{o[M>>2]=0;E=x;break}}else{y=o[a+8>>2]|0;if(y>>>0<(o[1175]|0)>>>0)pe();b=y+12|0;if((o[b>>2]|0)!=(a|0))pe();w=A+8|0;if((o[w>>2]|0)==(a|0)){o[b>>2]=A;o[w>>2]=y;E=A;break}else pe()}}while(0);if(S|0){A=o[a+28>>2]|0;l=4988+(A<<2)|0;if((a|0)==(o[l>>2]|0)){o[l>>2]=E;if(!E){o[1172]=o[1172]&~(1<<A);break}}else{if(S>>>0<(o[1175]|0)>>>0)pe();A=S+16|0;if((o[A>>2]|0)==(a|0))o[A>>2]=E;else o[S+20>>2]=E;if(!E)break}A=o[1175]|0;if(E>>>0<A>>>0)pe();o[E+24>>2]=S;l=a+16|0;c=o[l>>2]|0;do{if(c|0)if(c>>>0<A>>>0)pe();else{o[E+16>>2]=c;o[c+24>>2]=E;break}}while(0);c=o[l+4>>2]|0;if(c|0)if(c>>>0<(o[1175]|0)>>>0)pe();else{o[E+20>>2]=c;o[c+24>>2]=E;break}}}else{c=o[a+8>>2]|0;A=o[a+12>>2]|0;S=4724+(n<<1<<2)|0;if((c|0)!=(S|0)){if(c>>>0<(o[1175]|0)>>>0)pe();if((o[c+12>>2]|0)!=(a|0))pe()}if((A|0)==(c|0)){o[1171]=o[1171]&~(1<<n);break}if((A|0)!=(S|0)){if(A>>>0<(o[1175]|0)>>>0)pe();S=A+8|0;if((o[S>>2]|0)==(a|0))T=S;else pe()}else T=A+8|0;o[c+12>>2]=A;o[T>>2]=c}}while(0);o[d+4>>2]=g|1;o[d+g>>2]=g;if((d|0)==(o[1176]|0)){o[1173]=g;return}else C=g}else{o[i>>2]=t&-2;o[d+4>>2]=h|1;o[d+h>>2]=h;C=h}h=C>>>3;if(C>>>0<256){t=4724+(h<<1<<2)|0;i=o[1171]|0;g=1<<h;if(i&g){h=t+8|0;T=o[h>>2]|0;if(T>>>0<(o[1175]|0)>>>0)pe();else{O=h;R=T}}else{o[1171]=i|g;O=t+8|0;R=t}o[O>>2]=d;o[R+12>>2]=d;o[d+8>>2]=R;o[d+12>>2]=t;return}t=C>>>8;if(t)if(C>>>0>16777215)N=31;else{R=(t+1048320|0)>>>16&8;O=t<<R;t=(O+520192|0)>>>16&4;g=O<<t;O=(g+245760|0)>>>16&2;i=14-(t|R|O)+(g<<O>>>15)|0;N=C>>>(i+7|0)&1|i<<1}else N=0;i=4988+(N<<2)|0;o[d+28>>2]=N;o[d+20>>2]=0;o[d+16>>2]=0;O=o[1172]|0;g=1<<N;do{if(O&g){R=C<<((N|0)==31?0:25-(N>>>1)|0);t=o[i>>2]|0;while(1){if((o[t+4>>2]&-8|0)==(C|0)){I=t;D=130;break}T=t+16+(R>>>31<<2)|0;h=o[T>>2]|0;if(!h){P=T;F=t;D=127;break}else{R=R<<1;t=h}}if((D|0)==127)if(P>>>0<(o[1175]|0)>>>0)pe();else{o[P>>2]=d;o[d+24>>2]=F;o[d+12>>2]=d;o[d+8>>2]=d;break}else if((D|0)==130){t=I+8|0;R=o[t>>2]|0;l=o[1175]|0;if(R>>>0>=l>>>0&I>>>0>=l>>>0){o[R+12>>2]=d;o[t>>2]=d;o[d+8>>2]=R;o[d+12>>2]=I;o[d+24>>2]=0;break}else pe()}}else{o[1172]=O|g;o[i>>2]=d;o[d+24>>2]=i;o[d+12>>2]=d;o[d+8>>2]=d}}while(0);d=(o[1179]|0)+-1|0;o[1179]=d;if(!d)L=5140;else return;while(1){d=o[L>>2]|0;if(!d)break;else L=d+8|0}o[1179]=-1;return}function Ln(e,t){e=e|0;t=t|0;var n=0,r=0;if(e){n=te(t,e)|0;if((t|e)>>>0>65535)r=((n>>>0)/(e>>>0)|0|0)==(t|0)?n:-1;else r=n}else r=0;n=Pn(r)|0;if(!n)return n|0;if(!(o[n+-4>>2]&3))return n|0;qn(n|0,0,r|0)|0;return n|0}function jn(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0;if(!e){n=Pn(t)|0;return n|0}if(t>>>0>4294967231){o[(xt()|0)>>2]=12;n=0;return n|0}r=Bn(e+-8|0,t>>>0<11?16:t+11&-8)|0;if(r|0){n=r+8|0;return n|0}r=Pn(t)|0;if(!r){n=0;return n|0}i=o[e+-4>>2]|0;a=(i&-8)-((i&3|0)==0?8:4)|0;Yn(r|0,e|0,(a>>>0<t>>>0?a:t)|0)|0;Fn(e);n=r;return n|0}function Bn(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0;n=e+4|0;r=o[n>>2]|0;i=r&-8;a=e+i|0;s=o[1175]|0;c=r&3;if(!((c|0)!=1&e>>>0>=s>>>0&e>>>0<a>>>0))pe();l=o[a+4>>2]|0;if(!(l&1))pe();if(!c){if(t>>>0<256){f=0;return f|0}if(i>>>0>=(t+4|0)>>>0?(i-t|0)>>>0<=o[1291]<<1>>>0:0){f=e;return f|0}f=0;return f|0}if(i>>>0>=t>>>0){c=i-t|0;if(c>>>0<=15){f=e;return f|0}u=e+t|0;o[n>>2]=r&1|t|2;o[u+4>>2]=c|3;d=u+c+4|0;o[d>>2]=o[d>>2]|1;Un(u,c);f=e;return f|0}if((a|0)==(o[1177]|0)){c=(o[1174]|0)+i|0;if(c>>>0<=t>>>0){f=0;return f|0}u=c-t|0;c=e+t|0;o[n>>2]=r&1|t|2;o[c+4>>2]=u|1;o[1177]=c;o[1174]=u;f=e;return f|0}if((a|0)==(o[1176]|0)){u=(o[1173]|0)+i|0;if(u>>>0<t>>>0){f=0;return f|0}c=u-t|0;if(c>>>0>15){d=e+t|0;h=d+c|0;o[n>>2]=r&1|t|2;o[d+4>>2]=c|1;o[h>>2]=c;p=h+4|0;o[p>>2]=o[p>>2]&-2;b=d;m=c}else{o[n>>2]=r&1|u|2;c=e+u+4|0;o[c>>2]=o[c>>2]|1;b=0;m=0}o[1173]=m;o[1176]=b;f=e;return f|0}if(l&2|0){f=0;return f|0}b=(l&-8)+i|0;if(b>>>0<t>>>0){f=0;return f|0}i=b-t|0;m=l>>>3;do{if(l>>>0>=256){c=o[a+24>>2]|0;u=o[a+12>>2]|0;do{if((u|0)==(a|0)){d=a+16|0;p=d+4|0;h=o[p>>2]|0;if(!h){v=o[d>>2]|0;if(!v){g=0;break}else{y=v;w=d}}else{y=h;w=p}while(1){p=y+20|0;h=o[p>>2]|0;if(h|0){y=h;w=p;continue}p=y+16|0;h=o[p>>2]|0;if(!h){S=y;A=w;break}else{y=h;w=p}}if(A>>>0<s>>>0)pe();else{o[A>>2]=0;g=S;break}}else{p=o[a+8>>2]|0;if(p>>>0<s>>>0)pe();h=p+12|0;if((o[h>>2]|0)!=(a|0))pe();d=u+8|0;if((o[d>>2]|0)==(a|0)){o[h>>2]=u;o[d>>2]=p;g=u;break}else pe()}}while(0);if(c|0){u=o[a+28>>2]|0;p=4988+(u<<2)|0;if((a|0)==(o[p>>2]|0)){o[p>>2]=g;if(!g){o[1172]=o[1172]&~(1<<u);break}}else{if(c>>>0<(o[1175]|0)>>>0)pe();u=c+16|0;if((o[u>>2]|0)==(a|0))o[u>>2]=g;else o[c+20>>2]=g;if(!g)break}u=o[1175]|0;if(g>>>0<u>>>0)pe();o[g+24>>2]=c;p=a+16|0;d=o[p>>2]|0;do{if(d|0)if(d>>>0<u>>>0)pe();else{o[g+16>>2]=d;o[d+24>>2]=g;break}}while(0);d=o[p+4>>2]|0;if(d|0)if(d>>>0<(o[1175]|0)>>>0)pe();else{o[g+20>>2]=d;o[d+24>>2]=g;break}}}else{d=o[a+8>>2]|0;u=o[a+12>>2]|0;c=4724+(m<<1<<2)|0;if((d|0)!=(c|0)){if(d>>>0<s>>>0)pe();if((o[d+12>>2]|0)!=(a|0))pe()}if((u|0)==(d|0)){o[1171]=o[1171]&~(1<<m);break}if((u|0)!=(c|0)){if(u>>>0<s>>>0)pe();c=u+8|0;if((o[c>>2]|0)==(a|0))E=c;else pe()}else E=u+8|0;o[d+12>>2]=u;o[E>>2]=d}}while(0);if(i>>>0<16){o[n>>2]=b|r&1|2;E=e+b+4|0;o[E>>2]=o[E>>2]|1;f=e;return f|0}else{E=e+t|0;o[n>>2]=r&1|t|2;o[E+4>>2]=i|3;t=E+i+4|0;o[t>>2]=o[t>>2]|1;Un(E,i);f=e;return f|0}return 0}function Un(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,R=0,N=0,I=0,D=0,P=0;n=e+t|0;r=o[e+4>>2]|0;do{if(!(r&1)){i=o[e>>2]|0;if(!(r&3))return;a=e+(0-i)|0;s=i+t|0;c=o[1175]|0;if(a>>>0<c>>>0)pe();if((a|0)==(o[1176]|0)){l=n+4|0;f=o[l>>2]|0;if((f&3|0)!=3){u=a;d=s;break}o[1173]=s;o[l>>2]=f&-2;o[a+4>>2]=s|1;o[a+s>>2]=s;return}f=i>>>3;if(i>>>0<256){i=o[a+8>>2]|0;l=o[a+12>>2]|0;h=4724+(f<<1<<2)|0;if((i|0)!=(h|0)){if(i>>>0<c>>>0)pe();if((o[i+12>>2]|0)!=(a|0))pe()}if((l|0)==(i|0)){o[1171]=o[1171]&~(1<<f);u=a;d=s;break}if((l|0)!=(h|0)){if(l>>>0<c>>>0)pe();h=l+8|0;if((o[h>>2]|0)==(a|0))p=h;else pe()}else p=l+8|0;o[i+12>>2]=l;o[p>>2]=i;u=a;d=s;break}i=o[a+24>>2]|0;l=o[a+12>>2]|0;do{if((l|0)==(a|0)){h=a+16|0;f=h+4|0;b=o[f>>2]|0;if(!b){m=o[h>>2]|0;if(!m){v=0;break}else{g=m;y=h}}else{g=b;y=f}while(1){f=g+20|0;b=o[f>>2]|0;if(b|0){g=b;y=f;continue}f=g+16|0;b=o[f>>2]|0;if(!b){w=g;S=y;break}else{g=b;y=f}}if(S>>>0<c>>>0)pe();else{o[S>>2]=0;v=w;break}}else{f=o[a+8>>2]|0;if(f>>>0<c>>>0)pe();b=f+12|0;if((o[b>>2]|0)!=(a|0))pe();h=l+8|0;if((o[h>>2]|0)==(a|0)){o[b>>2]=l;o[h>>2]=f;v=l;break}else pe()}}while(0);if(i){l=o[a+28>>2]|0;c=4988+(l<<2)|0;if((a|0)==(o[c>>2]|0)){o[c>>2]=v;if(!v){o[1172]=o[1172]&~(1<<l);u=a;d=s;break}}else{if(i>>>0<(o[1175]|0)>>>0)pe();l=i+16|0;if((o[l>>2]|0)==(a|0))o[l>>2]=v;else o[i+20>>2]=v;if(!v){u=a;d=s;break}}l=o[1175]|0;if(v>>>0<l>>>0)pe();o[v+24>>2]=i;c=a+16|0;f=o[c>>2]|0;do{if(f|0)if(f>>>0<l>>>0)pe();else{o[v+16>>2]=f;o[f+24>>2]=v;break}}while(0);f=o[c+4>>2]|0;if(f)if(f>>>0<(o[1175]|0)>>>0)pe();else{o[v+20>>2]=f;o[f+24>>2]=v;u=a;d=s;break}else{u=a;d=s}}else{u=a;d=s}}else{u=e;d=t}}while(0);t=o[1175]|0;if(n>>>0<t>>>0)pe();e=n+4|0;v=o[e>>2]|0;if(!(v&2)){if((n|0)==(o[1177]|0)){w=(o[1174]|0)+d|0;o[1174]=w;o[1177]=u;o[u+4>>2]=w|1;if((u|0)!=(o[1176]|0))return;o[1176]=0;o[1173]=0;return}if((n|0)==(o[1176]|0)){w=(o[1173]|0)+d|0;o[1173]=w;o[1176]=u;o[u+4>>2]=w|1;o[u+w>>2]=w;return}w=(v&-8)+d|0;S=v>>>3;do{if(v>>>0>=256){y=o[n+24>>2]|0;g=o[n+12>>2]|0;do{if((g|0)==(n|0)){p=n+16|0;r=p+4|0;f=o[r>>2]|0;if(!f){l=o[p>>2]|0;if(!l){A=0;break}else{E=l;_=p}}else{E=f;_=r}while(1){r=E+20|0;f=o[r>>2]|0;if(f|0){E=f;_=r;continue}r=E+16|0;f=o[r>>2]|0;if(!f){k=E;x=_;break}else{E=f;_=r}}if(x>>>0<t>>>0)pe();else{o[x>>2]=0;A=k;break}}else{r=o[n+8>>2]|0;if(r>>>0<t>>>0)pe();f=r+12|0;if((o[f>>2]|0)!=(n|0))pe();p=g+8|0;if((o[p>>2]|0)==(n|0)){o[f>>2]=g;o[p>>2]=r;A=g;break}else pe()}}while(0);if(y|0){g=o[n+28>>2]|0;s=4988+(g<<2)|0;if((n|0)==(o[s>>2]|0)){o[s>>2]=A;if(!A){o[1172]=o[1172]&~(1<<g);break}}else{if(y>>>0<(o[1175]|0)>>>0)pe();g=y+16|0;if((o[g>>2]|0)==(n|0))o[g>>2]=A;else o[y+20>>2]=A;if(!A)break}g=o[1175]|0;if(A>>>0<g>>>0)pe();o[A+24>>2]=y;s=n+16|0;a=o[s>>2]|0;do{if(a|0)if(a>>>0<g>>>0)pe();else{o[A+16>>2]=a;o[a+24>>2]=A;break}}while(0);a=o[s+4>>2]|0;if(a|0)if(a>>>0<(o[1175]|0)>>>0)pe();else{o[A+20>>2]=a;o[a+24>>2]=A;break}}}else{a=o[n+8>>2]|0;g=o[n+12>>2]|0;y=4724+(S<<1<<2)|0;if((a|0)!=(y|0)){if(a>>>0<t>>>0)pe();if((o[a+12>>2]|0)!=(n|0))pe()}if((g|0)==(a|0)){o[1171]=o[1171]&~(1<<S);break}if((g|0)!=(y|0)){if(g>>>0<t>>>0)pe();y=g+8|0;if((o[y>>2]|0)==(n|0))M=y;else pe()}else M=g+8|0;o[a+12>>2]=g;o[M>>2]=a}}while(0);o[u+4>>2]=w|1;o[u+w>>2]=w;if((u|0)==(o[1176]|0)){o[1173]=w;return}else T=w}else{o[e>>2]=v&-2;o[u+4>>2]=d|1;o[u+d>>2]=d;T=d}d=T>>>3;if(T>>>0<256){v=4724+(d<<1<<2)|0;e=o[1171]|0;w=1<<d;if(e&w){d=v+8|0;M=o[d>>2]|0;if(M>>>0<(o[1175]|0)>>>0)pe();else{C=d;O=M}}else{o[1171]=e|w;C=v+8|0;O=v}o[C>>2]=u;o[O+12>>2]=u;o[u+8>>2]=O;o[u+12>>2]=v;return}v=T>>>8;if(v)if(T>>>0>16777215)R=31;else{O=(v+1048320|0)>>>16&8;C=v<<O;v=(C+520192|0)>>>16&4;w=C<<v;C=(w+245760|0)>>>16&2;e=14-(v|O|C)+(w<<C>>>15)|0;R=T>>>(e+7|0)&1|e<<1}else R=0;e=4988+(R<<2)|0;o[u+28>>2]=R;o[u+20>>2]=0;o[u+16>>2]=0;C=o[1172]|0;w=1<<R;if(!(C&w)){o[1172]=C|w;o[e>>2]=u;o[u+24>>2]=e;o[u+12>>2]=u;o[u+8>>2]=u;return}w=T<<((R|0)==31?0:25-(R>>>1)|0);R=o[e>>2]|0;while(1){if((o[R+4>>2]&-8|0)==(T|0)){N=R;I=127;break}e=R+16+(w>>>31<<2)|0;C=o[e>>2]|0;if(!C){D=e;P=R;I=124;break}else{w=w<<1;R=C}}if((I|0)==124){if(D>>>0<(o[1175]|0)>>>0)pe();o[D>>2]=u;o[u+24>>2]=P;o[u+12>>2]=u;o[u+8>>2]=u;return}else if((I|0)==127){I=N+8|0;P=o[I>>2]|0;D=o[1175]|0;if(!(P>>>0>=D>>>0&N>>>0>=D>>>0))pe();o[P+12>>2]=u;o[I>>2]=u;o[u+8>>2]=P;o[u+12>>2]=N;o[u+24>>2]=0;return}}function zn(){}function Hn(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;i=t-r>>>0;i=t-r-(n>>>0>e>>>0|0)>>>0;return(R=i,e-n>>>0|0)|0}function qn(e,t,n){e=e|0;t=t|0;n=n|0;var i=0,a=0,s=0,c=0;i=e+n|0;if((n|0)>=20){t=t&255;a=e&3;s=t|t<<8|t<<16|t<<24;c=i&~3;if(a){a=e+4-a|0;while((e|0)<(a|0)){r[e>>0]=t;e=e+1|0}}while((e|0)<(c|0)){o[e>>2]=s;e=e+4|0}}while((e|0)<(i|0)){r[e>>0]=t;e=e+1|0}return e-n|0}function Vn(e,t,n){e=e|0;t=t|0;n=n|0;if((n|0)<32){R=t>>>n;return e>>>n|(t&(1<<n)-1)<<32-n}R=0;return t>>>n-32|0}function Kn(e,t,n){e=e|0;t=t|0;n=n|0;if((n|0)<32){R=t<<n|(e&(1<<n)-1<<32-n)>>>32-n;return e<<n}R=e<<n-32;return 0}function Wn(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0;i=e+n>>>0;return(R=t+r+(i>>>0<e>>>0|0)>>>0,i|0)|0}function Yn(e,t,n){e=e|0;t=t|0;n=n|0;var i=0;if((n|0)>=4096)return we(e|0,t|0,n|0)|0;i=e|0;if((e&3)==(t&3)){while(e&3){if(!n)return i|0;r[e>>0]=r[t>>0]|0;e=e+1|0;t=t+1|0;n=n-1|0}while((n|0)>=4){o[e>>2]=o[t>>2];e=e+4|0;t=t+4|0;n=n-4|0}}while((n|0)>0){r[e>>0]=r[t>>0]|0;e=e+1|0;t=t+1|0;n=n-1|0}return i|0}function Gn(e,t,n){e=e|0;t=t|0;n=n|0;var i=0;if((t|0)<(e|0)&(e|0)<(t+n|0)){i=e;t=t+n|0;e=e+n|0;while((n|0)>0){e=e-1|0;t=t-1|0;n=n-1|0;r[e>>0]=r[t>>0]|0}e=i}else Yn(e,t,n)|0;return e|0}function Jn(e){e=e|0;return(e&255)<<24|(e>>8&255)<<16|(e>>16&255)<<8|e>>>24|0}function Zn(e,t,n){e=e|0;t=t|0;n=n|0;if((n|0)<32){R=t>>n;return e>>>n|(t&(1<<n)-1)<<32-n}R=(t|0)<0?-1:0;return t>>n-32|0}function Xn(e){e=e|0;var t=0;t=r[b+(e&255)>>0]|0;if((t|0)<8)return t|0;t=r[b+(e>>8&255)>>0]|0;if((t|0)<8)return t+8|0;t=r[b+(e>>16&255)>>0]|0;if((t|0)<8)return t+16|0;return(r[b+(e>>>24)>>0]|0)+24|0}function Qn(e,t){e=e|0;t=t|0;var n=0,r=0,i=0,o=0;n=e&65535;r=t&65535;i=te(r,n)|0;o=e>>>16;e=(i>>>16)+(te(r,o)|0)|0;r=t>>>16;t=te(r,n)|0;return(R=(e>>>16)+(te(r,o)|0)+(((e&65535)+t|0)>>>16)|0,e+t<<16|i&65535|0)|0}function $n(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,o=0,a=0,s=0,c=0;i=t>>31|((t|0)<0?-1:0)<<1;o=((t|0)<0?-1:0)>>31|((t|0)<0?-1:0)<<1;a=r>>31|((r|0)<0?-1:0)<<1;s=((r|0)<0?-1:0)>>31|((r|0)<0?-1:0)<<1;c=Hn(i^e|0,o^t|0,i|0,o|0)|0;t=R;e=a^i;i=s^o;return Hn((ir(c,t,Hn(a^n|0,s^r|0,a|0,s|0)|0,R,0)|0)^e|0,R^i|0,e|0,i|0)|0}function er(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0,s=0,c=0,l=0,f=0,d=0;i=u;u=u+16|0;a=i|0;s=t>>31|((t|0)<0?-1:0)<<1;c=((t|0)<0?-1:0)>>31|((t|0)<0?-1:0)<<1;l=r>>31|((r|0)<0?-1:0)<<1;f=((r|0)<0?-1:0)>>31|((r|0)<0?-1:0)<<1;d=Hn(s^e|0,c^t|0,s|0,c|0)|0;t=R;ir(d,t,Hn(l^n|0,f^r|0,l|0,f|0)|0,R,a)|0;f=Hn(o[a>>2]^s|0,o[a+4>>2]^c|0,s|0,c|0)|0;c=R;u=i;return(R=c,f)|0}function tr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,o=0;i=e;e=n;n=Qn(i,e)|0;o=R;return(R=(te(t,e)|0)+(te(r,i)|0)+o|o&0,n|0|0)|0}function nr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return ir(e,t,n,r,0)|0}function rr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;var i=0,a=0;i=u;u=u+16|0;a=i|0;ir(e,t,n,r,a)|0;u=i;return(R=o[a+4>>2]|0,o[a>>2]|0)|0}function ir(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;var a=0,s=0,c=0,l=0,f=0,u=0,d=0,h=0,p=0,b=0,m=0,v=0,g=0,y=0,w=0,S=0,A=0,E=0,_=0,k=0,x=0,M=0,T=0,C=0,O=0,N=0,I=0;a=e;s=t;c=s;l=n;f=r;u=f;if(!c){d=(i|0)!=0;if(!u){if(d){o[i>>2]=(a>>>0)%(l>>>0);o[i+4>>2]=0}h=0;p=(a>>>0)/(l>>>0)>>>0;return(R=h,p)|0}else{if(!d){h=0;p=0;return(R=h,p)|0}o[i>>2]=e|0;o[i+4>>2]=t&0;h=0;p=0;return(R=h,p)|0}}d=(u|0)==0;do{if(l){if(!d){b=(re(u|0)|0)-(re(c|0)|0)|0;if(b>>>0<=31){m=b+1|0;v=31-b|0;g=b-31>>31;y=m;w=a>>>(m>>>0)&g|c<<v;S=c>>>(m>>>0)&g;A=0;E=a<<v;break}if(!i){h=0;p=0;return(R=h,p)|0}o[i>>2]=e|0;o[i+4>>2]=s|t&0;h=0;p=0;return(R=h,p)|0}v=l-1|0;if(v&l|0){g=(re(l|0)|0)+33-(re(c|0)|0)|0;m=64-g|0;b=32-g|0;_=b>>31;k=g-32|0;x=k>>31;y=g;w=b-1>>31&c>>>(k>>>0)|(c<<b|a>>>(g>>>0))&x;S=x&c>>>(g>>>0);A=a<<m&_;E=(c<<m|a>>>(k>>>0))&_|a<<b&g-33>>31;break}if(i|0){o[i>>2]=v&a;o[i+4>>2]=0}if((l|0)==1){h=s|t&0;p=e|0|0;return(R=h,p)|0}else{v=Xn(l|0)|0;h=c>>>(v>>>0)|0;p=c<<32-v|a>>>(v>>>0)|0;return(R=h,p)|0}}else{if(d){if(i|0){o[i>>2]=(c>>>0)%(l>>>0);o[i+4>>2]=0}h=0;p=(c>>>0)/(l>>>0)>>>0;return(R=h,p)|0}if(!a){if(i|0){o[i>>2]=0;o[i+4>>2]=(c>>>0)%(u>>>0)}h=0;p=(c>>>0)/(u>>>0)>>>0;return(R=h,p)|0}v=u-1|0;if(!(v&u)){if(i|0){o[i>>2]=e|0;o[i+4>>2]=v&c|t&0}h=0;p=c>>>((Xn(u|0)|0)>>>0);return(R=h,p)|0}v=(re(u|0)|0)-(re(c|0)|0)|0;if(v>>>0<=30){g=v+1|0;b=31-v|0;y=g;w=c<<b|a>>>(g>>>0);S=c>>>(g>>>0);A=0;E=a<<b;break}if(!i){h=0;p=0;return(R=h,p)|0}o[i>>2]=e|0;o[i+4>>2]=s|t&0;h=0;p=0;return(R=h,p)|0}}while(0);if(!y){M=E;T=A;C=S;O=w;N=0;I=0}else{t=n|0|0;n=f|r&0;r=Wn(t|0,n|0,-1,-1)|0;f=R;s=E;E=A;A=S;S=w;w=y;y=0;do{e=s;s=E>>>31|s<<1;E=y|E<<1;a=S<<1|e>>>31|0;e=S>>>31|A<<1|0;Hn(r|0,f|0,a|0,e|0)|0;c=R;u=c>>31|((c|0)<0?-1:0)<<1;y=u&1;S=Hn(a|0,e|0,u&t|0,(((c|0)<0?-1:0)>>31|((c|0)<0?-1:0)<<1)&n|0)|0;A=R;w=w-1|0}while((w|0)!=0);M=s;T=E;C=A;O=S;N=0;I=y}y=T;T=0;if(i|0){o[i>>2]=O;o[i+4>>2]=C}h=(y|0)>>>31|(M|T)<<1|(T<<1|y>>>31)&0|N;p=(y<<1|0>>>31)&-2|I;return(R=h,p)|0}function or(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;return vr[e&7](t|0,n|0,r|0)|0}function ar(e,t){e=e|0;t=t|0;gr[e&3](t|0)}function sr(e,t,n,r,i){e=e|0;t=t|0;n=+n;r=+r;i=i|0;yr[e&0](t|0,+n,+r,i|0)}function cr(e,t){e=e|0;t=t|0;return wr[e&1](t|0)|0}function lr(e,t,n){e=e|0;t=t|0;n=n|0;return Sr[e&1](t|0,n|0)|0}function fr(e,t,n,r,i){e=e|0;t=t|0;n=n|0;r=r|0;i=i|0;Ar[e&1](t|0,n|0,r|0,i|0)}function ur(e,t,n){e=e|0;t=t|0;n=n|0;ie(0);return 0}function dr(e){e=e|0;ie(1)}function hr(e,t,n,r){e=e|0;t=+t;n=+n;r=r|0;ie(2)}function pr(e){e=e|0;ie(3);return 0}function br(e,t){e=e|0;t=t|0;ie(4);return 0}function mr(e,t,n,r){e=e|0;t=t|0;n=n|0;r=r|0;ie(5)}var vr=[ur,Mt,Rt,Tt,zt,Nt,ur,ur];var gr=[dr,Ct,It,dr];var yr=[hr];var wr=[pr,_t];var Sr=[br,vt];var Ar=[mr,ut];return{_stream_ctx_new:rt,_i64Subtract:Hn,_fflush:cn,_i64Add:Wn,_memmove:Gn,_convert_segment_file:mt,_memset:qn,_malloc:Pn,_memcpy:Yn,_llvm_bswap_i32:Jn,_bitshift64Lshr:Vn,_free:Fn,_bitshift64Shl:Kn,___errno_location:xt,_stream_ctx_delete:it,runPostSets:zn,stackAlloc:Fe,stackSave:Le,stackRestore:je,establishStackSpace:Be,setThrew:Ue,setTempRet0:qe,getTempRet0:Ve,dynCall_iiii:or,dynCall_vi:ar,dynCall_viddi:sr,dynCall_ii:cr,dynCall_iii:lr,dynCall_viiii:fr}}(Module.asmGlobalArg,Module.asmLibraryArg,buffer),_stream_ctx_new=Module._stream_ctx_new=asm._stream_ctx_new,_i64Subtract=Module._i64Subtract=asm._i64Subtract,_fflush=Module._fflush=asm._fflush,runPostSets=Module.runPostSets=asm.runPostSets,_i64Add=Module._i64Add=asm._i64Add,_memmove=Module._memmove=asm._memmove,_convert_segment_file=Module._convert_segment_file=asm._convert_segment_file,_memset=Module._memset=asm._memset,_malloc=Module._malloc=asm._malloc,_memcpy=Module._memcpy=asm._memcpy,___errno_location=Module.___errno_location=asm.___errno_location,_bitshift64Lshr=Module._bitshift64Lshr=asm._bitshift64Lshr,_free=Module._free=asm._free,_stream_ctx_delete=Module._stream_ctx_delete=asm._stream_ctx_delete,_llvm_bswap_i32=Module._llvm_bswap_i32=asm._llvm_bswap_i32,_bitshift64Shl=Module._bitshift64Shl=asm._bitshift64Shl,dynCall_iiii=Module.dynCall_iiii=asm.dynCall_iiii,dynCall_vi=Module.dynCall_vi=asm.dynCall_vi,dynCall_viddi=Module.dynCall_viddi=asm.dynCall_viddi,dynCall_ii=Module.dynCall_ii=asm.dynCall_ii,dynCall_iii=Module.dynCall_iii=asm.dynCall_iii,dynCall_viiii=Module.dynCall_viiii=asm.dynCall_viiii,initialStackTop;function ExitStatus(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}Runtime.stackAlloc=asm.stackAlloc,Runtime.stackSave=asm.stackSave,Runtime.stackRestore=asm.stackRestore,Runtime.establishStackSpace=asm.establishStackSpace,Runtime.setTempRet0=asm.setTempRet0,Runtime.getTempRet0=asm.getTempRet0,ExitStatus.prototype=new Error,ExitStatus.prototype.constructor=ExitStatus;var preloadStartTime=null,calledMain=!1;function run(e){function t(){Module.calledRun||(Module.calledRun=!0,ABORT||(ensureInitRuntime(),preMain(),Module.onRuntimeInitialized&&Module.onRuntimeInitialized(),Module._main&&shouldRunNow&&Module.callMain(e),postRun()))}e=e||Module.arguments,null===preloadStartTime&&(preloadStartTime=Date.now()),runDependencies>0||(preRun(),runDependencies>0||Module.calledRun||(Module.setStatus?(Module.setStatus("Running..."),setTimeout((function(){setTimeout((function(){Module.setStatus("")}),1),t()}),1)):t()))}function exit(e,t){if(!t||!Module.noExitRuntime)throw Module.noExitRuntime||(ABORT=!0,EXITSTATUS=e,STACKTOP=initialStackTop,exitRuntime(),Module.onExit&&Module.onExit(e)),ENVIRONMENT_IS_NODE?process.exit(e):ENVIRONMENT_IS_SHELL&&"function"==typeof quit&&quit(e),new ExitStatus(e)}dependenciesFulfilled=function e(){Module.calledRun||run(),Module.calledRun||(dependenciesFulfilled=e)},Module.callMain=Module.callMain=function(e){e=e||[],ensureInitRuntime();var t=e.length+1;function n(){for(var e=0;e<3;e++)r.push(0)}var r=[allocate(intArrayFromString(Module.thisProgram),"i8",ALLOC_NORMAL)];n();for(var i=0;i<t-1;i+=1)r.push(allocate(intArrayFromString(e[i]),"i8",ALLOC_NORMAL)),n();r.push(0),r=allocate(r,"i32",ALLOC_NORMAL);try{exit(Module._main(t,r,0),!0)}catch(e){if(e instanceof ExitStatus)return;if("SimulateInfiniteLoop"==e)return void(Module.noExitRuntime=!0);throw e&&"object"==typeof e&&e.stack&&Module.printErr("exception thrown: "+[e,e.stack]),e}finally{calledMain=!0}},Module.run=Module.run=run,Module.exit=Module.exit=exit;var abortDecorators=[];function abort(e){void 0!==e?(Module.print(e),Module.printErr(e),e=JSON.stringify(e)):e="",ABORT=!0,EXITSTATUS=1;var t="abort("+e+") at "+stackTrace()+"\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";throw abortDecorators&&abortDecorators.forEach((function(n){t=n(t,e)})),t}if(Module.abort=Module.abort=abort,Module.preInit)for("function"==typeof Module.preInit&&(Module.preInit=[Module.preInit]);Module.preInit.length>0;)Module.preInit.pop()();var shouldRunNow=!0;Module.noInitialRun&&(shouldRunNow=!1),run()}).call(this,__webpack_require__(30),"/",__webpack_require__(12).Buffer)},function(e,t,n){var r=n(4),i=n(88),o=n(7).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function f(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,u=0;u<16;++u)n[u]=e.readInt32BE(4*u);for(;u<80;++u)n[u]=n[u-3]^n[u-8]^n[u-14]^n[u-16];for(var d=0;d<80;++d){var h=~~(d/20),p=0|((t=r)<<5|t>>>27)+f(h,i,o,s)+c+n[d]+a[h];c=s,s=o,o=l(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,n){var r=n(4),i=n(88),o=n(7).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function c(){this.init(),this._w=s,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function f(e){return e<<30|e>>>2}function u(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,i),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,c=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),b=l(r)+u(p,i,o,s)+c+n[h]+a[p]|0;c=s,s=o,o=f(i),i=r,r=b}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,n){var r=n(4),i=n(243),o=n(88),a=n(7).Buffer,s=new Array(64);function c(){this.init(),this._w=s,o.call(this,64,56)}r(c,i),c.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=c},function(e,t,n){var r=n(4),i=n(244),o=n(88),a=n(7).Buffer,s=new Array(160);function c(){this.init(),this._w=s,o.call(this,128,112)}r(c,i),c.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},c.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=c},function(e,t){},function(e,t,n){"use strict";var r=n(7).Buffer;e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,o=r.allocUnsafe(e>>>0),a=this.head,s=0;a;)t=a.data,n=o,i=s,t.copy(n,i),s+=a.data.length,a=a.next;return o},e}()},function(e,t,n){"use strict";e.exports=o;var r=n(249),i=n(101);function o(e){if(!(this instanceof o))return new o(e);r.call(this,e)}i.inherits=n(4),i.inherits(o,r),o.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){e.exports=n(182)},function(e,t,n){e.exports=n(67)},function(e,t,n){e.exports=n(181).Transform},function(e,t,n){e.exports=n(181).PassThrough},function(e,t,n){"use strict";var r=n(4),i=n(7).Buffer,o=n(65),a=i.alloc(128);function s(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>64?t=e(t):t.length<64&&(t=i.concat([t,a],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),s=0;s<64;s++)n[s]=54^t[s],r[s]=92^t[s];this._hash=[n]}r(s,o),s.prototype._update=function(e){this._hash.push(e)},s.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=s},function(e,t,n){e.exports=n(252)},function(e,t,n){(function(t,r){var i,o=n(254),a=n(255),s=n(256),c=n(7).Buffer,l=t.crypto&&t.crypto.subtle,f={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},u=[];function d(e,t,n,r,i){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return c.from(e)}))}e.exports=function(e,n,h,p,b,m){"function"==typeof b&&(m=b,b=void 0);var v=f[(b=b||"sha1").toLowerCase()];if(!v||"function"!=typeof t.Promise)return r.nextTick((function(){var t;try{t=s(e,n,h,p,b)}catch(e){return m(e)}m(null,t)}));if(o(e,n,h,p),"function"!=typeof m)throw new Error("No callback provided to pbkdf2");c.isBuffer(e)||(e=c.from(e,a)),c.isBuffer(n)||(n=c.from(n,a)),function(e,t){e.then((function(e){r.nextTick((function(){t(null,e)}))}),(function(e){r.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==u[e])return u[e];var n=d(i=i||c.alloc(8),i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return u[e]=n,n}(v).then((function(t){return t?d(e,n,h,p,v):s(e,n,h,p,b)})),m)}}).call(this,n(32),n(30))},function(e,t,n){var r=n(338),i=n(184),o=n(185),a=n(352),s=n(128);function c(e,t,n){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e});throw new TypeError("invalid suite type")}function l(e,t,n){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,n);if(a[e])return new r({key:t,iv:n,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");n=8*a[e].key,r=a[e].iv}var i=s(t,!1,n,r);return c(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=function(e,t){var n,r;if(e=e.toLowerCase(),o[e])n=o[e].key,r=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");n=8*a[e].key,r=a[e].iv}var i=s(t,!1,n,r);return l(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=l,t.listCiphers=t.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},function(e,t,n){var r=n(65),i=n(339),o=n(4),a=n(342).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function c(e){r.call(this);var t,n=e.mode.toLowerCase(),i=s[n];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==n&&"des-ede-cbc"!==n||(o=a.concat([o,o.slice(0,8)]));var c=e.iv;a.isBuffer(c)||(c=a.from(c)),this._des=i.create({key:o,iv:c,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=c,o(c,r),c.prototype._update=function(e){return a.from(this._des.update(e))},c.prototype._final=function(){return a.from(this._des.final())}},function(e,t,n){"use strict";t.utils=n(257),t.Cipher=n(183),t.DES=n(258),t.CBC=n(340),t.EDE=n(341)},function(e,t,n){"use strict";var r=n(46),i=n(4),o={};function a(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var n=Object.keys(o),r=0;r<n.length;r++){var a=n[r];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},o._update=function(e,t,n,r){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];o._update.call(this,a,0,n,r);for(s=0;s<this.blockSize;s++)a[s]=n[r+s]}else{o._update.call(this,e,t,n,r);for(s=0;s<this.blockSize;s++)n[r+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},function(e,t,n){"use strict";var r=n(46),i=n(4),o=n(183),a=n(258);function s(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function c(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(c,o),e.exports=c,c.create=function(e){return new c(e)},c.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},c.prototype._pad=a.prototype._pad,c.prototype._unpad=a.prototype._unpad},function(e,t,n){var r=n(12),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t,n){var r=n(185),i=n(262),o=n(7).Buffer,a=n(263),s=n(65),c=n(127),l=n(128);function f(e,t,n){s.call(this),this._cache=new d,this._cipher=new c.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}n(4)(f,s),f.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return o.concat(r)};var u=o.alloc(16,16);function d(){this.cache=o.allocUnsafe(0)}function h(e,t,n){var s=r[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=o.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===s.type?new a(s.module,t,n):"auth"===s.type?new i(s.module,t,n):new f(s.module,t,n)}f.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(u))throw this._cipher.scrub(),new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=o.concat([this.cache,e])},d.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),n=-1;++n<e;)t.writeUInt8(e,n);return o.concat([this.cache,t])},t.createCipheriv=h,t.createCipher=function(e,t){var n=r[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var i=l(t,!1,n.key,n.iv);return h(e,i.key,i.iv)}},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,n){var r=n(102);t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},function(e,t,n){var r=n(7).Buffer,i=n(102);function o(e,t,n){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:a]),a}t.encrypt=function(e,t,n){for(var i,a=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){a=r.concat([a,o(e,t,n)]);break}i=e._cache.length,a=r.concat([a,o(e,t.slice(0,i),n)]),t=t.slice(i)}return a}},function(e,t,n){var r=n(7).Buffer;function i(e,t,n){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([n?t:i])]),i}t.encrypt=function(e,t,n){for(var o=t.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],n);return a}},function(e,t,n){var r=n(7).Buffer;function i(e,t,n){for(var r,i,a=-1,s=0;++a<8;)r=t&1<<7-a?128:0,s+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>a%8,e._prev=o(e._prev,n?r:i);return s}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<n;)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,n){for(var o=t.length,a=r.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],n);return a}},function(e,t,n){(function(e){var r=n(102);function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,n){for(;t._cache.length<n.length;)t._cache=e.concat([t._cache,i(t)]);var o=t._cache.slice(0,n.length);return t._cache=t._cache.slice(n.length),r(n,o)}}).call(this,n(12).Buffer)},function(e,t,n){var r=n(7).Buffer,i=r.alloc(16,0);function o(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,n,r=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(0!=(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=r[0],i[1]^=r[1],i[2]^=r[2],i[3]^=r[3]),n=0!=(1&r[3]),t=3;t>0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=a},function(e,t,n){var r=n(262),i=n(7).Buffer,o=n(185),a=n(263),s=n(65),c=n(127),l=n(128);function f(e,t,n){s.call(this),this._cache=new u,this._last=void 0,this._cipher=new c.AES(t),this._prev=i.from(n),this._mode=e,this._autopadding=!0}function u(){this.cache=i.allocUnsafe(0)}function d(e,t,n){var s=o[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof n&&(n=i.from(n)),"GCM"!==s.mode&&n.length!==s.iv)throw new TypeError("invalid iv length "+n.length);if("string"==typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,n,!0):"auth"===s.type?new r(s.module,t,n,!0):new f(s.module,t,n)}n(4)(f,s),f.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get(this._autopadding);)n=this._mode.decrypt(this,t),r.push(n);return i.concat(r)},f.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var n=-1;for(;++n<t;)if(e[n+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},f.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},u.prototype.add=function(e){this.cache=i.concat([this.cache,e])},u.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},u.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=l(t,!1,n.key,n.iv);return d(e,r.key,r.iv)},t.createDecipheriv=d},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,n){(function(e){var r=n(264),i=n(357),o=n(358);var a={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var n=new e(i[t].prime,"hex"),r=new e(i[t].gen,"hex");return new o(n,r)},t.createDiffieHellman=t.DiffieHellman=function t(n,i,s,c){return e.isBuffer(i)||void 0===a[i]?t(n,"binary",i,s):(i=i||"binary",c=c||"binary",s=s||new e([2]),e.isBuffer(s)||(s=new e(s,c)),"number"==typeof n?new o(r(n,s),s,!0):(e.isBuffer(n)||(n=new e(n,i)),new o(n,s,!0)))}}).call(this,n(12).Buffer)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){},function(e,t){},function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,n){(function(t){var r=n(24),i=new(n(265)),o=new r(24),a=new r(11),s=new r(10),c=new r(3),l=new r(7),f=n(264),u=n(87);function d(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._pub=new r(e),this}function h(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this._priv=new r(e),this}e.exports=b;var p={};function b(e,t,n){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,n?(this.setPublicKey=d,this.setPrivateKey=h):this._primeCode=8}function m(e,n){var r=new t(e.toArray());return n?r.toString(n):r}Object.defineProperty(b.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var n=t.toString("hex"),r=[n,e.toString(16)].join("_");if(r in p)return p[r];var u,d=0;if(e.isEven()||!f.simpleSieve||!f.fermatTest(e)||!i.test(e))return d+=1,d+="02"===n||"05"===n?8:4,p[r]=d,d;switch(i.test(e.shrn(1))||(d+=2),n){case"02":e.mod(o).cmp(a)&&(d+=8);break;case"05":(u=e.mod(s)).cmp(c)&&u.cmp(l)&&(d+=8);break;default:d+=4}return p[r]=d,d}(this.__prime,this.__gen)),this._primeCode}}),b.prototype.generateKeys=function(){return this._priv||(this._priv=new r(u(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},b.prototype.computeSecret=function(e){var n=(e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed(),i=new t(n.toArray()),o=this.getPrime();if(i.length<o.length){var a=new t(o.length-i.length);a.fill(0),i=t.concat([a,i])}return i},b.prototype.getPublicKey=function(e){return m(this._pub,e)},b.prototype.getPrivateKey=function(e){return m(this._priv,e)},b.prototype.getPrime=function(e){return m(this.__prime,e)},b.prototype.getGenerator=function(e){return m(this._gen,e)},b.prototype.setGenerator=function(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this.__gen=e,this._gen=new r(e),this}}).call(this,n(12).Buffer)},function(e,t,n){(function(t){var r=n(100),i=n(245),o=n(4),a=n(360),s=n(392),c=n(252);function l(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){i.Writable.call(this);var t=c[e];if(!t)throw new Error("Unknown message digest");this._hash=r(t.hash),this._tag=t.id,this._signType=t.sign}function u(e){return new l(e)}function d(e){return new f(e)}Object.keys(c).forEach((function(e){c[e].id=new t(c[e].id,"hex"),c[e.toLowerCase()]=c[e]})),o(l,i.Writable),l.prototype._write=function(e,t,n){this._hash.update(e),n()},l.prototype.update=function(e,n){return"string"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},l.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=a(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},o(f,i.Writable),f.prototype._write=function(e,t,n){this._hash.update(e),n()},f.prototype.update=function(e,n){return"string"==typeof e&&(e=new t(e,n)),this._hash.update(e),this},f.prototype.verify=function(e,n,r){"string"==typeof n&&(n=new t(n,r)),this.end();var i=this._hash.digest();return s(n,i,e,this._signType,this._tag)},e.exports={Sign:u,Verify:d,createSign:u,createVerify:d}}).call(this,n(12).Buffer)},function(e,t,n){(function(t){var r=n(250),i=n(187),o=n(188).ec,a=n(24),s=n(130),c=n(275);function l(e,n,i,o){if((e=new t(e.toArray())).length<n.byteLength()){var a=new t(n.byteLength()-e.length);a.fill(0),e=t.concat([a,e])}var s=i.length,c=function(e,n){e=(e=f(e,n)).mod(n);var r=new t(e.toArray());if(r.length<n.byteLength()){var i=new t(n.byteLength()-r.length);i.fill(0),r=t.concat([i,r])}return r}(i,n),l=new t(s);l.fill(1);var u=new t(s);return u.fill(0),u=r(o,u).update(l).update(new t([0])).update(e).update(c).digest(),l=r(o,u).update(l).digest(),{k:u=r(o,u).update(l).update(new t([1])).update(e).update(c).digest(),v:l=r(o,u).update(l).digest()}}function f(e,t){var n=new a(e),r=(e.length<<3)-t.bitLength();return r>0&&n.ishrn(r),n}function u(e,n,i){var o,a;do{for(o=new t(0);8*o.length<e.bitLength();)n.v=r(i,n.k).update(n.v).digest(),o=t.concat([o,n.v]);a=f(o,e),n.k=r(i,n.k).update(n.v).update(new t([0])).digest(),n.v=r(i,n.k).update(n.v).digest()}while(-1!==a.cmp(e));return a}function d(e,t,n,r){return e.toRed(a.mont(n)).redPow(t).fromRed().mod(r)}e.exports=function(e,n,r,h,p){var b=s(n);if(b.curve){if("ecdsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");return function(e,n){var r=c[n.curve.join(".")];if(!r)throw new Error("unknown curve "+n.curve.join("."));var i=new o(r).keyFromPrivate(n.privateKey).sign(e);return new t(i.toDER())}(e,b)}if("dsa"===b.type){if("dsa"!==h)throw new Error("wrong private key type");return function(e,n,r){var i,o=n.params.priv_key,s=n.params.p,c=n.params.q,h=n.params.g,p=new a(0),b=f(e,c).mod(c),m=!1,v=l(o,c,e,r);for(;!1===m;)i=u(c,v,r),p=d(h,i,s,c),0===(m=i.invm(c).imul(b.add(o.mul(p))).mod(c)).cmpn(0)&&(m=!1,p=new a(0));return function(e,n){e=e.toArray(),n=n.toArray(),128&e[0]&&(e=[0].concat(e));128&n[0]&&(n=[0].concat(n));var r=[48,e.length+n.length+4,2,e.length];return r=r.concat(e,[2,n.length],n),new t(r)}(p,m)}(e,b,r)}if("rsa"!==h&&"ecdsa/rsa"!==h)throw new Error("wrong private key type");e=t.concat([p,e]);for(var m=b.modulus.byteLength(),v=[0,1];e.length+v.length+1<m;)v.push(255);v.push(0);for(var g=-1;++g<e.length;)v.push(e[g]);return i(v,b)},e.exports.getKey=l,e.exports.makeKey=u}).call(this,n(12).Buffer)},function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.2","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <fedor@indutny.com>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz","_integrity":"sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==","_from":"elliptic@6.5.2"}')},function(e,t,n){"use strict";var r=n(47),i=n(24),o=n(4),a=n(129),s=r.assert;function c(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){a.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function f(e,t,n,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(c,a),e.exports=c,c.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?n=o[0]:(n=o[1],s(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},c.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},c.prototype._getEndoBasis=function(e){for(var t,n,r,o,a,s,c,l,f,u=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new i(1),b=new i(0),m=new i(0),v=new i(1),g=0;0!==d.cmpn(0);){var y=h.div(d);l=h.sub(y.mul(d)),f=m.sub(y.mul(p));var w=v.sub(y.mul(b));if(!r&&l.cmp(u)<0)t=c.neg(),n=p,r=l.neg(),o=f;else if(r&&2==++g)break;c=l,h=d,d=l,m=p,p=f,v=b,b=w}a=l.neg(),s=f;var S=r.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(S)>=0&&(a=t,s=n),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:r,b:o},{a:a,b:s}]},c.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),a=i.mul(n.a),s=o.mul(r.a),c=i.mul(n.b),l=o.mul(r.b);return{k1:e.sub(a).sub(s),k2:c.add(l).neg()}},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},c.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),s=e[o],c=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),c=c.neg(!0)),r[2*o]=s,r[2*o+1]=c,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var l=this._wnafMulAdd(1,r,i,2*o,n),f=0;f<2*o;f++)r[f]=null,i[f]=null;return l},o(l,a.BasePoint),c.prototype.point=function(e,t,n){return new l(this,e,t,n)},c.prototype.pointFromJSON=function(e,t){return l.fromJSON(this,e,t)},l.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var n=this.curve,r=function(e){return n.point(e.x.redMul(n.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},l.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},l.fromJSON=function(e,t,n){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],n);if(!t[2])return r;function i(t){return e.point(t[0],t[1],n)}var o=t[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(f,a.BasePoint),c.prototype.jpoint=function(e,t,n){return new f(this,e,t,n)},f.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},f.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},f.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(n.redMul(this.z)),s=r.redSub(i),c=o.redSub(a);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=s.redSqr(),f=l.redMul(s),u=r.redMul(l),d=c.redSqr().redIAdd(f).redISub(u).redISub(u),h=c.redMul(u.redISub(d)).redISub(o.redMul(f)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,h,p)},f.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=n.redSub(r),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=a.redSqr(),l=c.redMul(a),f=n.redMul(c),u=s.redSqr().redIAdd(l).redISub(f).redISub(f),d=s.redMul(f.redISub(u)).redISub(i.redMul(l)),h=this.z.redMul(a);return this.curve.jpoint(u,d,h)},f.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,n=0;n<e;n++)t=t.dbl();return t}var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,c=s.redSqr().redSqr(),l=a.redAdd(a);for(n=0;n<e;n++){var f=o.redSqr(),u=l.redSqr(),d=u.redSqr(),h=f.redAdd(f).redIAdd(f).redIAdd(r.redMul(c)),p=o.redMul(u),b=h.redSqr().redISub(p.redAdd(p)),m=p.redISub(b),v=h.redMul(m);v=v.redIAdd(v).redISub(d);var g=l.redMul(s);n+1<e&&(c=c.redMul(d)),o=b,s=g,l=v}return this.curve.jpoint(o,l.redMul(i),s)},f.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},f.prototype._zeroDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r),c=s.redSqr().redISub(a).redISub(a),l=o.redIAdd(o);l=(l=l.redIAdd(l)).redIAdd(l),e=c,t=s.redMul(a.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var f=this.x.redSqr(),u=this.y.redSqr(),d=u.redSqr(),h=this.x.redAdd(u).redSqr().redISub(f).redISub(d);h=h.redIAdd(h);var p=f.redAdd(f).redIAdd(f),b=p.redSqr(),m=d.redIAdd(d);m=(m=m.redIAdd(m)).redIAdd(m),e=b.redISub(h).redISub(h),t=p.redMul(h.redISub(e)).redISub(m),n=(n=this.y.redMul(this.z)).redIAdd(n)}return this.curve.jpoint(e,t,n)},f.prototype._threeDbl=function(){var e,t,n;if(this.zOne){var r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var s=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),c=s.redSqr().redISub(a).redISub(a);e=c;var l=o.redIAdd(o);l=(l=l.redIAdd(l)).redIAdd(l),t=s.redMul(a.redISub(c)).redISub(l),n=this.y.redAdd(this.y)}else{var f=this.z.redSqr(),u=this.y.redSqr(),d=this.x.redMul(u),h=this.x.redSub(f).redMul(this.x.redAdd(f));h=h.redAdd(h).redIAdd(h);var p=d.redIAdd(d),b=(p=p.redIAdd(p)).redAdd(p);e=h.redSqr().redISub(b),n=this.y.redAdd(this.z).redSqr().redISub(u).redISub(f);var m=u.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=h.redMul(p.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,n)},f.prototype._dbl=function(){var e=this.curve.a,t=this.x,n=this.y,r=this.z,i=r.redSqr().redSqr(),o=t.redSqr(),a=n.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),c=t.redAdd(t),l=(c=c.redIAdd(c)).redMul(a),f=s.redSqr().redISub(l.redAdd(l)),u=l.redISub(f),d=a.redSqr();d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=s.redMul(u).redISub(d),p=n.redAdd(n).redMul(r);return this.curve.jpoint(f,h,p)},f.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(r),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),c=r.redIAdd(r);c=(c=(c=c.redIAdd(c)).redIAdd(c)).redIAdd(c);var l=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(c),f=t.redMul(l);f=(f=f.redIAdd(f)).redIAdd(f);var u=this.x.redMul(s).redISub(f);u=(u=u.redIAdd(u)).redIAdd(u);var d=this.y.redMul(l.redMul(c.redISub(l)).redISub(a.redMul(s)));d=(d=(d=d.redIAdd(d)).redIAdd(d)).redIAdd(d);var h=this.z.redAdd(a).redSqr().redISub(n).redISub(s);return this.curve.jpoint(u,d,h)},f.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},f.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),n=e.z.redSqr();if(0!==this.x.redMul(n).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=n.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},f.prototype.eqXToP=function(e){var t=this.z.redSqr(),n=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(n))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},f.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,n){"use strict";var r=n(24),i=n(4),o=n(129),a=n(47);function s(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function c(e,t,n){o.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(c,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new c(this,e,t)},s.prototype.pointFromJSON=function(e){return c.fromJSON(this,e)},c.prototype.precompute=function(){},c.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},c.fromJSON=function(e,t){return new c(e,t[0],t[1]||e.one)},c.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},c.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},c.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(n),a=i.redMul(r),s=t.z.redMul(o.redAdd(a).redSqr()),c=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,c)},c.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},c.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},c.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},c.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},c.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,n){"use strict";var r=n(47),i=n(24),o=n(4),a=n(129),s=r.assert;function c(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function l(e,t,n,r,o){a.BasePoint.call(this,e,"projective"),null===t&&null===n&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(n,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(c,a),e.exports=c,c.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},c.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},c.prototype.jpoint=function(e,t,n,r){return this.point(e,t,n,r)},c.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=this.c2.redSub(this.a.redMul(n)),o=this.one.redSub(this.c2.redMul(this.d).redMul(n)),a=r.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var c=s.fromRed().isOdd();return(t&&!c||!t&&c)&&(s=s.redNeg()),this.point(e,s)},c.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr(),r=n.redSub(this.c2),o=n.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},c.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),n=e.y.redSqr(),r=t.redMul(this.a).redAdd(n),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(n)));return 0===r.cmp(i)},o(l,a.BasePoint),c.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},c.prototype.point=function(e,t,n,r){return new l(this,e,t,n,r)},l.fromJSON=function(e,t){return new l(e,t[0],t[1],t[2])},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(n),s=r.redSub(t),c=i.redMul(a),l=o.redMul(s),f=i.redMul(s),u=a.redMul(o);return this.curve.point(c,l,u,f)},l.prototype._projDbl=function(){var e,t,n,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=(l=this.curve._mulA(i)).redAdd(o);if(this.zOne)e=r.redSub(i).redSub(o).redMul(a.redSub(this.curve.two)),t=a.redMul(l.redSub(o)),n=a.redSqr().redSub(a).redSub(a);else{var s=this.z.redSqr(),c=a.redSub(s).redISub(s);e=r.redSub(i).redISub(o).redMul(c),t=a.redMul(l.redSub(o)),n=a.redMul(c)}}else{var l=i.redAdd(o);s=this.curve._mulC(this.z).redSqr(),c=l.redSub(s).redSub(s);e=this.curve._mulC(r.redISub(l)).redMul(c),t=this.curve._mulC(l).redMul(i.redISub(o)),n=l.redMul(c)}return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),a=i.redSub(r),s=i.redAdd(r),c=n.redAdd(t),l=o.redMul(a),f=s.redMul(c),u=o.redMul(c),d=a.redMul(s);return this.curve.point(l,f,d,u)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),c=i.redSub(s),l=i.redAdd(s),f=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),u=r.redMul(c).redMul(f);return this.curve.twisted?(t=r.redMul(l).redMul(a.redSub(this.curve._mulA(o))),n=c.redMul(l)):(t=r.redMul(l).redMul(a.redSub(o)),n=this.curve._mulC(c).redMul(l)),this.curve.point(u,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},function(e,t,n){"use strict";t.sha1=n(366),t.sha224=n(367),t.sha256=n(269),t.sha384=n(368),t.sha512=n(270)},function(e,t,n){"use strict";var r=n(53),i=n(103),o=n(268),a=r.rotl32,s=r.sum32,c=r.sum32_5,l=o.ft_1,f=i.BlockHash,u=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;f.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(d,f),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var i=this.h[0],o=this.h[1],f=this.h[2],d=this.h[3],h=this.h[4];for(r=0;r<n.length;r++){var p=~~(r/20),b=c(a(i,5),l(p,o,f,d),h,n[r],u[p]);h=d,d=f,f=a(o,30),o=i,i=b}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],f),this.h[3]=s(this.h[3],d),this.h[4]=s(this.h[4],h)},d.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){"use strict";var r=n(53),i=n(269);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},function(e,t,n){"use strict";var r=n(53),i=n(270);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},function(e,t,n){"use strict";var r=n(53),i=n(103),o=r.rotl32,a=r.sum32,s=r.sum32_3,c=r.sum32_4,l=i.BlockHash;function f(){if(!(this instanceof f))return new f;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function u(e,t,n,r){return e<=15?t^n^r:e<=31?t&n|~t&r:e<=47?(t|~n)^r:e<=63?t&r|n&~r:t^(n|~r)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(f,l),t.ripemd160=f,f.blockSize=512,f.outSize=160,f.hmacStrength=192,f.padLength=64,f.prototype._update=function(e,t){for(var n=this.h[0],r=this.h[1],i=this.h[2],l=this.h[3],f=this.h[4],g=n,y=r,w=i,S=l,A=f,E=0;E<80;E++){var _=a(o(c(n,u(E,r,i,l),e[p[E]+t],d(E)),m[E]),f);n=f,f=l,l=o(i,10),i=r,r=_,_=a(o(c(g,u(79-E,y,w,S),e[b[E]+t],h(E)),v[E]),A),g=A,A=S,S=o(w,10),w=y,y=_}_=s(this.h[1],i,S),this.h[1]=s(this.h[2],l,A),this.h[2]=s(this.h[3],f,g),this.h[3]=s(this.h[4],n,y),this.h[4]=s(this.h[0],r,w),this.h[0]=_},f.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],b=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],v=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,n){"use strict";var r=n(53),i=n(46);function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,n))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},function(e,t,n){"use strict";var r=n(24),i=n(373),o=n(47),a=n(189),s=n(186),c=o.assert,l=n(374),f=n(375);function u(e){if(!(this instanceof u))return new u(e);"string"==typeof e&&(c(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=u,u.prototype.keyPair=function(e){return new l(this,e)},u.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},u.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},u.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(t.generate(n));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},u.prototype._truncateToN=function(e,t){var n=8*e.byteLength()-this.n.bitLength();return n>0&&(e=e.ushrn(n)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},u.prototype.sign=function(e,t,n,o){"object"==typeof n&&(o=n,n=null),o||(o={}),t=this.keyFromPrivate(t,n),e=this._truncateToN(new r(e,16));for(var a=this.n.byteLength(),s=t.getPrivate().toArray("be",a),c=e.toArray("be",a),l=new i({hash:this.hash,entropy:s,nonce:c,pers:o.pers,persEnc:o.persEnc||"utf8"}),u=this.n.sub(new r(1)),d=0;;d++){var h=o.k?o.k(d):new r(l.generate(this.n.byteLength()));if(!((h=this._truncateToN(h,!0)).cmpn(1)<=0||h.cmp(u)>=0)){var p=this.g.mul(h);if(!p.isInfinity()){var b=p.getX(),m=b.umod(this.n);if(0!==m.cmpn(0)){var v=h.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var g=(p.getY().isOdd()?1:0)|(0!==b.cmp(m)?2:0);return o.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),g^=1),new f({r:m,s:v,recoveryParam:g})}}}}}},u.prototype.verify=function(e,t,n,i){e=this._truncateToN(new r(e,16)),n=this.keyFromPublic(n,i);var o=(t=new f(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,c=a.invm(this.n),l=c.mul(e).umod(this.n),u=c.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(l,n.getPublic(),u)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(l,n.getPublic(),u)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},u.prototype.recoverPubKey=function(e,t,n,i){c((3&n)===n,"The recovery param is more than two bits"),t=new f(t,i);var o=this.n,a=new r(e),s=t.r,l=t.s,u=1&n,d=n>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");s=d?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var h=t.r.invm(o),p=o.sub(a).mul(h).umod(o),b=l.mul(h).umod(o);return this.g.mulAdd(p,s,b)},u.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new f(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},function(e,t,n){"use strict";var r=n(190),i=n(266),o=n(46);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=a,a.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,n,r){"string"!=typeof t&&(r=n,n=t,t=null),e=i.toArray(e,t),n=i.toArray(n,r),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},a.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,e);return this._update(n),this._reseed++,i.encode(a,t)}},function(e,t,n){"use strict";var r=n(24),i=n(47).assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,n){return t instanceof o?t:new o(e,{pub:t,pubEnc:n})},o.fromPrivate=function(e,t,n){return t instanceof o?t:new o(e,{priv:t,privEnc:n})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.mul(this.priv).getX()},o.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,n){"use strict";var r=n(24),i=n(47),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function c(e,t){var n=e[t.place++];if(!(128&n))return n;for(var r=15&n,i=0,o=0,a=t.place;o<r;o++,a++)i<<=8,i|=e[a];return t.place=a,i}function l(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t<n;)t++;return 0===t?e:e.slice(t)}function f(e,t){if(t<128)e.push(t);else{var n=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new s;if(48!==e[n.place++])return!1;if(c(e,n)+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var o=c(e,n),a=e.slice(n.place,o+n.place);if(n.place+=o,2!==e[n.place++])return!1;var l=c(e,n);if(e.length!==l+n.place)return!1;var f=e.slice(n.place,l+n.place);return 0===a[0]&&128&a[1]&&(a=a.slice(1)),0===f[0]&&128&f[1]&&(f=f.slice(1)),this.r=new r(a),this.s=new r(f),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];f(r,t.length),(r=r.concat(t)).push(2),f(r,n.length);var o=r.concat(n),a=[48];return f(a,o.length),a=a.concat(o),i.encode(a,e)}},function(e,t,n){"use strict";var r=n(190),i=n(189),o=n(47),a=o.assert,s=o.parseBytes,c=n(377),l=n(378);function f(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof f))return new f(e);e=i[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=f,f.prototype.sign=function(e,t){e=s(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),c=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:c,Rencoded:o})},f.prototype.verify=function(e,t,n){e=s(e),t=this.makeSignature(t);var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},f.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},f.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},f.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},f.prototype.makeSignature=function(e){return e instanceof l?e:new l(this,e)},f.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},f.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,n=e.slice(0,t).concat(-129&e[t]),r=0!=(128&e[t]),i=o.intFromLE(n);return this.curve.pointFromY(i,r)},f.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},f.prototype.decodeInt=function(e){return o.intFromLE(e)},f.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,n){"use strict";var r=n(47),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),a(s,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),a(s,"privBytes",(function(){var e=this.eddsa,t=this.hash(),n=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[n]&=127,r[n]|=64,r})),a(s,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),a(s,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),a(s,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},s.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=s},function(e,t,n){"use strict";var r=n(24),i=n(47),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function c(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(c,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),a(c,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(c,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(c,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),c.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},c.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=c},function(e,t,n){"use strict";var r=n(104);t.certificate=n(389);var i=r.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())}));t.PublicKey=a;var s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),c=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(s),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=c;var l=r.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=l;var f=r.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=f,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var u=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=u;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},function(e,t,n){var r=n(104),i=n(4);function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){var t;try{t=n(381).runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},o.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},o.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},function(module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)t.push(n);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var n=0;n<e.length;n++)t(e[n],n,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,n){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:n})}}catch(e){return function(e,t,n){e[t]=n}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var n=t.contentWindow,r=n.eval,i=n.execScript;!r&&i&&(i.call(n,"null"),r=n.eval),forEach(Object_keys(e),(function(t){n[t]=e[t]})),forEach(globals,(function(t){e[t]&&(n[t]=e[t])}));var o=Object_keys(n),a=r.call(n,this.code);return forEach(Object_keys(n),(function(t){(t in e||-1===indexOf(o,t))&&(e[t]=n[t])})),forEach(globals,(function(t){t in e||defineProp(e,t,n[t])})),document.body.removeChild(t),a},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),n=this.runInContext(t);return e&&forEach(Object_keys(t),(function(n){e[n]=t[n]})),n},forEach(Object_keys(Script.prototype),(function(e){exports[e]=Script[e]=function(t){var n=Script(t);return n[e].apply(n,[].slice.call(arguments,1))}})),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),(function(n){t[n]=e[n]})),t}},function(e,t,n){var r=n(4);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof o;if(t=r?e:new o(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,n){var r=n(105).Reporter,i=n(105).EncoderBuffer,o=n(105).DecoderBuffer,a=n(46),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function l(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=l;var f=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var e=this._baseState,t={};f.forEach((function(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},l.prototype._wrap=function(){var e=this._baseState;c.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},l.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),a.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(a(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);var r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),s.forEach((function(e){l.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(n),this}})),l.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r,i=n.default,a=!0,s=null;if(null!==n.key&&(s=e.enterKey(n.key)),n.optional){var c=null;if(null!==n.explicit?c=n.explicit:null!==n.implicit?c=n.implicit:null!==n.tag&&(c=n.tag),null!==c||n.any){if(a=this._peekTag(e,c,n.any),e.isError(a))return a}else{var l=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(l)}}if(n.obj&&a&&(r=e.enterObject()),a){if(null!==n.explicit){var f=this._decodeTag(e,n.explicit);if(e.isError(f))return f;e=f}var u=e.offset;if(null===n.use&&null===n.choice){if(n.any)l=e.save();var d=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(d))return d;n.any?i=e.raw(l):e=d}if(t&&t.track&&null!==n.tag&&t.track(e.path(),u,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),i=n.any?i:null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var h=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(h,t)}}return n.obj&&a&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,n.key,i),i},l.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),a(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(o){var a=e.save(),s=n.choice[o];try{var c=s._decode(e,t);if(e.isError(c))return!1;r={type:o,value:c},i=!0}catch(t){return e.restore(a),!1}return!0}),this),i?r:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},l.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r.default||r.default!==e){var i=this._encodeValue(e,t,n);if(void 0!==i&&!this._skipDefault(i,t,n))return i}},l.prototype._encodeValue=function(e,t,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,n)._encode(e,t),s=!0;else if(i.children)a=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var c=this.clone();c._baseState.implicit=null,a=this._createEncoderBuffer(e.map((function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),c))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var l=null!==i.implicit?i.implicit:i.tag,f=null===i.implicit?"universal":"context";null===l?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(l,s,f,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},l.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},function(e,t,n){var r=n(272);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=r._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=r._reverse(t.tag)},function(e,t,n){var r=t;r.der=n(273),r.pem=n(386)},function(e,t,n){var r=n(4),i=n(12).Buffer,o=n(273);function a(e){o.call(this,e),this.enc="pem"}r(a,o),e.exports=a,a.prototype.decode=function(e,t){for(var n=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,c=-1,l=0;l<n.length;l++){var f=n[l].match(a);if(null!==f&&f[2]===r){if(-1!==s){if("END"!==f[1])break;c=l;break}if("BEGIN"!==f[1])break;s=l}}if(-1===s||-1===c)throw new Error("PEM section not found for: "+r);var u=n.slice(s+1,c).join("");u.replace(/[^a-z0-9\+\/=]+/gi,"");var d=new i(u,"base64");return o.prototype.decode.call(this,d,t)}},function(e,t,n){var r=t;r.der=n(274),r.pem=n(388)},function(e,t,n){var r=n(4),i=n(274);function o(e){i.call(this,e),this.enc="pem"}r(o,i),e.exports=o,o.prototype.encode=function(e,t){for(var n=i.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"],o=0;o<n.length;o+=64)r.push(n.slice(o,o+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},function(e,t,n){"use strict";var r=n(104),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),a=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())})),c=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),l=r.define("RDNSequence",(function(){this.seqof(c)})),f=r.define("Name",(function(){this.choice({rdnSequence:this.use(l)})})),u=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(f),this.key("validity").use(u),this.key("subject").use(f),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())}));e.exports=p},function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(e,t,n){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,a=n(128),s=n(184),c=n(7).Buffer;e.exports=function(e,t){var n,l=e.toString(),f=l.match(r);if(f){var u="aes"+f[1],d=c.from(f[2],"hex"),h=c.from(f[3].replace(/[\r\n]/g,""),"base64"),p=a(t,d.slice(0,8),parseInt(f[1],10)).key,b=[],m=s.createDecipheriv(u,p,d);b.push(m.update(h)),b.push(m.final()),n=c.concat(b)}else{var v=l.match(o);n=new c(v[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(i)[1],data:n}}},function(e,t,n){(function(t){var r=n(24),i=n(188).ec,o=n(130),a=n(275);function s(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}e.exports=function(e,n,c,l,f){var u=o(c);if("ec"===u.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var o=new i(r),s=n.data.subjectPrivateKey.data;return o.verify(t,e,s)}(e,n,u)}if("dsa"===u.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var i=n.data.p,a=n.data.q,c=n.data.g,l=n.data.pub_key,f=o.signature.decode(e,"der"),u=f.s,d=f.r;s(u,a),s(d,a);var h=r.mont(i),p=u.invm(a);return 0===c.toRed(h).redPow(new r(t).mul(p).mod(a)).fromRed().mul(l.toRed(h).redPow(d.mul(p).mod(a)).fromRed()).mod(i).mod(a).cmp(d)}(e,n,u)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");n=t.concat([f,n]);for(var d=u.modulus.byteLength(),h=[1],p=0;n.length+h.length+2<d;)h.push(255),p++;h.push(0);for(var b=-1;++b<n.length;)h.push(n[b]);h=new t(h);var m=r.mont(u.modulus);e=(e=new r(e).toRed(m)).redPow(new r(u.publicExponent)),e=new t(e.fromRed().toArray());var v=p<8?1:0;for(d=Math.min(e.length,h.length),e.length!==h.length&&(v=1),b=-1;++b<d;)v|=e[b]^h[b];return 0===v}}).call(this,n(12).Buffer)},function(e,t,n){(function(t){var r=n(188),i=n(24);e.exports=function(e){return new a(e)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function a(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function s(e,n,r){Array.isArray(e)||(e=e.toArray());var i=new t(e);if(r&&i.length<r){var o=new t(r-i.length);o.fill(0),i=t.concat([o,i])}return n?i.toString(n):i}o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,a.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},a.prototype.computeSecret=function(e,n,r){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},a.prototype.getPublicKey=function(e,t){var n=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(n[n.length-1]%2?n[0]=7:n[0]=6),s(n,e)},a.prototype.getPrivateKey=function(e){return s(this.keys.getPrivate(),e)},a.prototype.setPublicKey=function(e,n){return n=n||"utf8",t.isBuffer(e)||(e=new t(e,n)),this.keys._importPublic(e),this},a.prototype.setPrivateKey=function(e,n){n=n||"utf8",t.isBuffer(e)||(e=new t(e,n));var r=new i(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}}).call(this,n(12).Buffer)},function(e,t,n){t.publicEncrypt=n(395),t.privateDecrypt=n(396),t.privateEncrypt=function(e,n){return t.publicEncrypt(e,n,!0)},t.publicDecrypt=function(e,n){return t.privateDecrypt(e,n,!0)}},function(e,t,n){var r=n(130),i=n(87),o=n(100),a=n(276),s=n(277),c=n(24),l=n(278),f=n(187),u=n(131).Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,p=r(e);if(4===d)h=function(e,t){var n=e.modulus.byteLength(),r=t.length,l=o("sha1").update(u.alloc(0)).digest(),f=l.length,d=2*f;if(r>n-d-2)throw new Error("message too long");var h=u.alloc(n-r-d-2),p=n-f-1,b=i(f),m=s(u.concat([l,h,u.alloc(1,1),t],p),a(b,p)),v=s(b,a(m,f));return new c(u.concat([u.alloc(1),v,m],n))}(p,t);else if(1===d)h=function(e,t,n){var r,o=t.length,a=e.modulus.byteLength();if(o>a-11)throw new Error("message too long");r=n?u.alloc(a-o-3,255):function(e){var t,n=u.allocUnsafe(e),r=0,o=i(2*e),a=0;for(;r<e;)a===o.length&&(o=i(2*e),a=0),(t=o[a++])&&(n[r++]=t);return n}(a-o-3);return new c(u.concat([u.from([0,n?1:2]),r,u.alloc(1),t],a))}(p,t,n);else{if(3!==d)throw new Error("unknown padding");if((h=new c(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return n?f(h,p):l(h,p)}},function(e,t,n){var r=n(130),i=n(276),o=n(277),a=n(24),s=n(187),c=n(100),l=n(278),f=n(131).Buffer;e.exports=function(e,t,n){var u;u=e.padding?e.padding:n?1:4;var d,h=r(e),p=h.modulus.byteLength();if(t.length>p||new a(t).cmp(h.modulus)>=0)throw new Error("decryption error");d=n?l(new a(t),h):s(t,h);var b=f.alloc(p-d.length);if(d=f.concat([b,d],p),4===u)return function(e,t){var n=e.modulus.byteLength(),r=c("sha1").update(f.alloc(0)).digest(),a=r.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),l=t.slice(a+1),u=o(s,i(l,a)),d=o(l,i(u,n-a-1));if(function(e,t){e=f.from(e),t=f.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i<r;)n+=e[i]^t[i];return n}(r,d.slice(0,a)))throw new Error("decryption error");var h=a;for(;0===d[h];)h++;if(1!==d[h++])throw new Error("decryption error");return d.slice(h)}(h,d);if(1===u)return function(e,t,n){var r=t.slice(0,2),i=2,o=0;for(;0!==t[i++];)if(i>=t.length){o++;break}var a=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,d,n);if(3===u)return d;throw new Error("unknown padding")}},function(e,t,n){"use strict";(function(e,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=n(7),a=n(87),s=o.Buffer,c=o.kMaxLength,l=e.crypto||e.msCrypto,f=Math.pow(2,32)-1;function u(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>f||e<0)throw new TypeError("offset must be a uint32");if(e>c||e>t)throw new RangeError("offset out of range")}function d(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>f||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>c)throw new RangeError("buffer too small")}function h(e,t,n,i){if(r.browser){var o=e.buffer,s=new Uint8Array(o,t,n);return l.getRandomValues(s),i?void r.nextTick((function(){i(null,e)})):e}if(!i)return a(n).copy(e,t),e;a(n,(function(n,r){if(n)return i(n);r.copy(e,t),i(null,e)}))}l&&l.getRandomValues||!r.browser?(t.randomFill=function(t,n,r,i){if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)i=n,n=0,r=t.length;else if("function"==typeof r)i=r,r=t.length-n;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return u(n,t.length),d(r,n,t.length),h(t,n,r,i)},t.randomFillSync=function(t,n,r){void 0===n&&(n=0);if(!(s.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');u(n,t.length),void 0===r&&(r=t.length-n);return d(r,n,t.length),h(t,n,r)}):(t.randomFill=i,t.randomFillSync=i)}).call(this,n(32),n(30))},,,,function(e,t,n){"use strict";var r=n(48),i=n(37);e.exports="".repeat||function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(n+=t);return n}},,function(e,t,n){var r=n(68),i=n(10),o=n(13),a=n(19).f,s=n(74),c=n(427),l=s("meta"),f=0,u=Object.isExtensible||function(){return!0},d=function(e){a(e,l,{value:{objectID:"O"+ ++f,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,l)){if(!u(e))return"F";if(!t)return"E";d(e)}return e[l].objectID},getWeakData:function(e,t){if(!o(e,l)){if(!u(e))return!0;if(!t)return!1;d(e)}return e[l].weakData},onFreeze:function(e){return c&&h.REQUIRED&&u(e)&&!o(e,l)&&d(e),e}};r[l]=!0},,function(e,t,n){"use strict";var r=n(1),i=n(2),o=n(79),a=n(27),s=n(403),c=n(49),l=n(72),f=n(10),u=n(3),d=n(113),h=n(57),p=n(120);e.exports=function(e,t,n){var b=-1!==e.indexOf("Map"),m=-1!==e.indexOf("Weak"),v=b?"set":"add",g=i[e],y=g&&g.prototype,w=g,S={},A=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(m&&!f(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return m&&!f(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(m&&!f(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof g||!(m||y.forEach&&!u((function(){(new g).entries().next()})))))w=n.getConstructor(t,e,b,v),s.REQUIRED=!0;else if(o(e,!0)){var E=new w,_=E[v](m?{}:-0,1)!=E,k=u((function(){E.has(1)})),x=d((function(e){new g(e)})),M=!m&&u((function(){for(var e=new g,t=5;t--;)e[v](t,t);return!e.has(-0)}));x||((w=t((function(t,n){l(t,w,e);var r=p(new g,t,w);return null!=n&&c(n,r[v],r,b),r}))).prototype=y,y.constructor=w),(k||M)&&(A("delete"),A("has"),b&&A("get")),(M||_)&&A(v),m&&y.clear&&delete y.clear}return S[e]=w,r({global:!0,forced:w!=g},S),h(w,e),m||n.setStrong(w,e,b),w}},function(e,t,n){"use strict";var r=n(19).f,i=n(62),o=n(121),a=n(40),s=n(72),c=n(49),l=n(147),f=n(97),u=n(16),d=n(403).fastKey,h=n(42),p=h.set,b=h.getterFor;e.exports={getConstructor:function(e,t,n,l){var f=e((function(e,r){s(e,f,t),p(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),u||(e.size=0),null!=r&&c(r,e[l],e,n)})),h=b(t),m=function(e,t,n){var r,i,o=h(e),a=v(e,t);return a?a.value=n:(o.last=a={index:i=d(t,!0),key:t,value:n,previous:r=o.last,next:void 0,removed:!1},o.first||(o.first=a),r&&(r.next=a),u?o.size++:e.size++,"F"!==i&&(o.index[i]=a)),e},v=function(e,t){var n,r=h(e),i=d(t);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==t)return n};return o(f.prototype,{clear:function(){for(var e=h(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,u?e.size=0:this.size=0},delete:function(e){var t=h(this),n=v(this,e);if(n){var r=n.next,i=n.previous;delete t.index[n.index],n.removed=!0,i&&(i.next=r),r&&(r.previous=i),t.first==n&&(t.first=r),t.last==n&&(t.last=i),u?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=h(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),o(f.prototype,n?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return m(this,0===e?0:e,t)}}:{add:function(e){return m(this,e=0===e?0:e,e)}}),u&&r(f.prototype,"size",{get:function(){return h(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",i=b(t),o=b(r);l(e,t,(function(e,t){p(this,{type:r,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var r=n(5),i=n(31);e.exports=function(){for(var e,t=r(this),n=i(t.delete),o=!0,a=0,s=arguments.length;a<s;a++)e=n.call(t,arguments[a]),o=o&&e;return!!o}},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(405),i=n(406);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,n){var r=n(3);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";var r=n(31),i=n(10),o=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),a=function(){var r=n.concat(o.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return i(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(407);r({target:"Map",proto:!0,real:!0,forced:i},{deleteAll:function(){return o.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(40),s=n(115),c=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{every:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return!c(n,(function(e,n){if(!r(n,e,t))return c.stop()}),void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(36),a=n(5),s=n(31),c=n(40),l=n(50),f=n(115),u=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{filter:function(e){var t=a(this),n=f(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(l(t,o("Map"))),d=s(i.set);return u(n,(function(e,n){r(n,e,t)&&d.call(i,e,n)}),void 0,!0,!0),i}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(40),s=n(115),c=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{find:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e,n){if(r(n,e,t))return c.stop(n)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(40),s=n(115),c=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{findKey:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e,n){if(r(n,e,t))return c.stop(e)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(115),s=n(435),c=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{includes:function(e){return c(a(o(this)),(function(t,n){if(s(n,e))return c.stop()}),void 0,!0,!0).stopped}})},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(115),s=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{keyOf:function(e){return s(a(o(this)),(function(t,n){if(n===e)return s.stop(t)}),void 0,!0,!0).result}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(36),a=n(5),s=n(31),c=n(40),l=n(50),f=n(115),u=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{mapKeys:function(e){var t=a(this),n=f(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(l(t,o("Map"))),d=s(i.set);return u(n,(function(e,n){d.call(i,r(n,e,t),n)}),void 0,!0,!0),i}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(36),a=n(5),s=n(31),c=n(40),l=n(50),f=n(115),u=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{mapValues:function(e){var t=a(this),n=f(t),r=c(e,arguments.length>1?arguments[1]:void 0,3),i=new(l(t,o("Map"))),d=s(i.set);return u(n,(function(e,n){d.call(i,e,r(n,e,t))}),void 0,!0,!0),i}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(31),s=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{merge:function(e){for(var t=o(this),n=a(t.set),r=0;r<arguments.length;)s(arguments[r++],n,t,!0);return t}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(31),s=n(115),c=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{reduce:function(e){var t=o(this),n=s(t),r=arguments.length<2,i=r?void 0:arguments[1];if(a(e),c(n,(function(n,o){r?(r=!1,i=o):i=e(i,o,n,t)}),void 0,!0,!0),r)throw TypeError("Reduce of empty map with no initial value");return i}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(40),s=n(115),c=n(49);r({target:"Map",proto:!0,real:!0,forced:i},{some:function(e){var t=o(this),n=s(t),r=a(e,arguments.length>1?arguments[1]:void 0,3);return c(n,(function(e,n){if(r(n,e,t))return c.stop()}),void 0,!0,!0).stopped}})},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(5),a=n(31);r({target:"Map",proto:!0,real:!0,forced:i},{update:function(e,t){var n=o(this),r=arguments.length;a(t);var i=n.has(e);if(!i&&r<3)throw TypeError("Updating absent value");var s=i?n.get(e):a(r>2?arguments[2]:void 0)(e,n);return n.set(e,t(s,e,n)),n}})},,,,,,,,,,,,,,,function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return runCustomElementsEs5Adapter}));var _raw_loader_webcomponents_webcomponentsjs_custom_elements_es5_adapter__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(458);function runCustomElementsEs5Adapter(){window.customElements&&eval(_raw_loader_webcomponents_webcomponentsjs_custom_elements_es5_adapter__WEBPACK_IMPORTED_MODULE_0__.a)}},function(e,t,n){"use strict";t.a="/**\n@license @nocompile\nCopyright (c) 2018 The Polymer Project Authors. All rights reserved.\nThis code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\nThe complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\nThe complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\nCode distributed by Google as part of the polymer project is also\nsubject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n*/\n(function () {\n  'use strict';\n\n  (function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty('polyfillWrapFlushCallback'))return;const a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)},HTMLElement.prototype=a.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,a);})();\n\n}());\n"},,,,,function(e,t,n){"use strict";var r=n(1),i=n(48),o=n(464),a=n(401),s=n(3),c=1..toFixed,l=Math.floor,f=function(e,t,n){return 0===t?n:t%2==1?f(e,t-1,n*e):f(e*e,t/2,n)};r({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}))},{toFixed:function(e){var t,n,r,s,c=o(this),u=i(e),d=[0,0,0,0,0,0],h="",p="0",b=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*d[n],d[n]=r%1e7,r=l(r/1e7)},m=function(e){for(var t=6,n=0;--t>=0;)n+=d[t],d[t]=l(n/e),n=n%e*1e7},v=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==d[e]){var n=String(d[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(h="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*f(2,69,1))-69)<0?c*f(2,-t,1):c/f(2,t,1),n*=4503599627370496,(t=52-t)>0){for(b(0,n),r=u;r>=7;)b(1e7,0),r-=7;for(b(f(10,r,1),0),r=t-1;r>=23;)m(1<<23),r-=23;m(1<<r),b(1,1),m(2),p=v()}else b(0,n),b(1<<-t,0),p=v()+a.call("0",u);return p=u>0?h+((s=p.length)<=u?"0."+a.call("0",u-s)+p:p.slice(0,s-u)+"."+p.slice(s-u)):h+p}})},function(e,t,n){var r=n(41);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var r=n(1),i=n(21),o=n(281),a=n(3),s=n(36),c=n(50),l=n(282),f=n(27);r({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),i||"function"!=typeof o||o.prototype.finally||f(o.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){(function(e,t){
/**
@license @nocompile
Copyright (c) 2018 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/
(function(){"use strict";var n,r="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},i="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function o(){o=function(){},i.Symbol||(i.Symbol=c)}var a,s,c=(a=0,function(e){return"jscomp_symbol_"+(e||"")+a++});function l(){o();var e=i.Symbol.iterator;e||(e=i.Symbol.iterator=i.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&r(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return f(this)}}),l=function(){}}function f(e){var t=0;return function(e){return l(),(e={next:e})[i.Symbol.iterator]=function(){return this},e}((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))}function u(e){l();var t=e[Symbol.iterator];return t?t.call(e):f(e)}if("function"==typeof Object.setPrototypeOf)s=Object.setPrototypeOf;else{var d;e:{var h={};try{h.__proto__={Na:!0},d=h.Na;break e}catch(a){}d=!1}s=d?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var p=s;function b(){this.f=!1,this.b=null,this.fa=void 0,this.a=1,this.G=0,this.c=null}function m(e){if(e.f)throw new TypeError("Generator is already running");e.f=!0}function v(e,t){e.c={Qa:t,Ua:!0},e.a=e.G}function g(e,t){return e.a=3,{value:t}}function y(e){this.a=new b,this.b=e}function w(e,t,n,r){try{var i=t.call(e.a.b,n);if(!(i instanceof Object))throw new TypeError("Iterator result "+i+" is not an object");if(!i.done)return e.a.f=!1,i;var o=i.value}catch(t){return e.a.b=null,v(e.a,t),S(e)}return e.a.b=null,r.call(e.a,o),S(e)}function S(e){for(;e.a.a;)try{var t=e.b(e.a);if(t)return e.a.f=!1,{value:t.value,done:!1}}catch(t){e.a.fa=void 0,v(e.a,t)}if(e.a.f=!1,e.a.c){if(t=e.a.c,e.a.c=null,t.Ua)throw t.Qa;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function A(e){this.next=function(t){return m(e.a),e.a.b?t=w(e,e.a.b.next,t,e.a.m):(e.a.m(t),t=S(e)),t},this.throw=function(t){return m(e.a),e.a.b?t=w(e,e.a.b.throw,t,e.a.m):(v(e.a,t),t=S(e)),t},this.return=function(t){return function(e,t){m(e.a);var n=e.a.b;return n?w(e,"return"in n?n.return:function(e){return{value:e,done:!0}},t,e.a.return):(e.a.return(t),S(e))}(e,t)},l(),this[Symbol.iterator]=function(){return this}}function E(e,t){return t=new A(new y(t)),p&&p(t,e.prototype),t}b.prototype.m=function(e){this.fa=e},b.prototype.return=function(e){this.c={return:e},this.a=this.G},function(){if(!function(){var e=document.createEvent("Event");return e.initEvent("foo",!0,!0),e.preventDefault(),e.defaultPrevented}()){var e=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(e.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var t=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||t&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||t&&"function"!=typeof window.Event){var n=window.Event;if(window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,!!t.bubbles,!!t.cancelable),n},n)for(var r in n)window.Event[r]=n[r];window.Event.prototype=n.prototype}if(!window.MouseEvent||t&&"function"!=typeof window.MouseEvent){if(t=window.MouseEvent,window.MouseEvent=function(e,t){t=t||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(e,!!t.bubbles,!!t.cancelable,t.view||window,t.detail,t.screenX,t.screenY,t.clientX,t.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget),n},t)for(r in t)window.MouseEvent[r]=t[r];window.MouseEvent.prototype=t.prototype}Array.from||(Array.from=function(e){return[].slice.call(e)}),Object.assign||(Object.assign=function(e,t){for(var n,r=[].slice.call(arguments,1),i=0;i<r.length;i++)if(n=r[i])for(var o=e,a=n,s=Object.getOwnPropertyNames(a),c=0;c<s.length;c++)o[n=s[c]]=a[n];return e})}(window.WebComponents),function(){function e(){}function t(e,t){if(!e.childNodes.length)return[];switch(e.nodeType){case Node.DOCUMENT_NODE:return b.call(e,t);case Node.DOCUMENT_FRAGMENT_NODE:return m.call(e,t);default:return p.call(e,t)}}var n="undefined"==typeof HTMLTemplateElement,r=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),i=!1;/Trident/.test(navigator.userAgent)&&function(){function e(e,t){if(e instanceof DocumentFragment)for(var r;r=e.firstChild;)n.call(this,r,t);else n.call(this,e,t);return e}i=!0;var t=Node.prototype.cloneNode;Node.prototype.cloneNode=function(e){return e=t.call(this,e),this instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var n=Node.prototype.insertBefore;Node.prototype.insertBefore=e;var r=Node.prototype.appendChild;Node.prototype.appendChild=function(t){return t instanceof DocumentFragment?e.call(this,t,null):r.call(this,t),t};var o=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(t,n){return t instanceof DocumentFragment?(e.call(this,t,n),o.call(this,n)):a.call(this,t,n),n},Document.prototype.createDocumentFragment=function(){var e=this.createElement("df");return e.__proto__=DocumentFragment.prototype,e};var s=Document.prototype.importNode;Document.prototype.importNode=function(e,t){return t=s.call(this,e,t||!1),e instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t}}();var o=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,c=Node.prototype.removeChild,l=Node.prototype.appendChild,f=Node.prototype.replaceChild,u=DOMParser.prototype.parseFromString,d=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML")||{get:function(){return this.innerHTML},set:function(e){this.innerHTML=e}},h=Object.getOwnPropertyDescriptor(window.Node.prototype,"childNodes")||{get:function(){return this.childNodes}},p=Element.prototype.querySelectorAll,b=Document.prototype.querySelectorAll,m=DocumentFragment.prototype.querySelectorAll,v=function(){if(!n){var e=document.createElement("template"),t=document.createElement("template");return t.content.appendChild(document.createElement("div")),e.content.appendChild(t),0===(e=e.cloneNode(!0)).content.childNodes.length||0===e.content.firstChild.content.childNodes.length||r}}();if(n){var g=document.implementation.createHTMLDocument("template"),y=!0,w=document.createElement("style");w.textContent="template{display:none;}";var S=document.head;S.insertBefore(w,S.firstElementChild),e.prototype=Object.create(HTMLElement.prototype);var A=!document.createElement("div").hasOwnProperty("innerHTML");e.R=function(t){if(!t.content&&t.namespaceURI===document.documentElement.namespaceURI){t.content=g.createDocumentFragment();for(var n;n=t.firstChild;)l.call(t.content,n);if(A)t.__proto__=e.prototype;else if(t.cloneNode=function(t){return e.b(this,t)},y)try{_(t),k(t)}catch(e){y=!1}e.a(t.content)}};var E={option:["select"],thead:["table"],col:["colgroup","table"],tr:["tbody","table"],th:["tr","tbody","table"],td:["tr","tbody","table"]},_=function(t){Object.defineProperty(t,"innerHTML",{get:function(){return R(this)},set:function(t){var n=E[(/<([a-z][^/\0>\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()];if(n)for(var r=0;r<n.length;r++)t="<"+n[r]+">"+t+"</"+n[r]+">";for(g.body.innerHTML=t,e.a(g);this.content.firstChild;)c.call(this.content,this.content.firstChild);if(t=g.body,n)for(r=0;r<n.length;r++)t=t.lastChild;for(;t.firstChild;)l.call(this.content,t.firstChild)},configurable:!0})},k=function(e){Object.defineProperty(e,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(e){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(g.body.innerHTML=e,e=this.ownerDocument.createDocumentFragment();g.body.firstChild;)l.call(e,g.body.firstChild);f.call(this.parentNode,e,this)},configurable:!0})};_(e.prototype),k(e.prototype),e.a=function(n){for(var r,i=0,o=(n=t(n,"template")).length;i<o&&(r=n[i]);i++)e.R(r)},document.addEventListener("DOMContentLoaded",(function(){e.a(document)})),Document.prototype.createElement=function(){var t=a.apply(this,arguments);return"template"===t.localName&&e.R(t),t},DOMParser.prototype.parseFromString=function(){var t=u.apply(this,arguments);return e.a(t),t},Object.defineProperty(HTMLElement.prototype,"innerHTML",{get:function(){return R(this)},set:function(t){d.set.call(this,t),e.a(this)},configurable:!0,enumerable:!0});var x=/[&\u00A0"]/g,M=/[&\u00A0<>]/g,T=function(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}},C=(w=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t})("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),O=w("style script xmp iframe noembed noframes plaintext noscript".split(" ")),R=function(e,t){"template"===e.localName&&(e=e.content);for(var n,r="",i=t?t(e):h.get.call(e),o=0,a=i.length;o<a&&(n=i[o]);o++){e:{var s=n,c=e,l=t;switch(s.nodeType){case Node.ELEMENT_NODE:for(var f=s.localName,u="<"+f,d=s.attributes,p=0;c=d[p];p++)u+=" "+c.name+'="'+c.value.replace(x,T)+'"';u+=">",s=C[f]?u:u+R(s,l)+"</"+f+">";break e;case Node.TEXT_NODE:s=s.data,s=c&&O[c.localName]?s:s.replace(M,T);break e;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break e;default:throw window.console.error(s),Error("not implemented")}}r+=s}return r}}if(n||v){e.b=function(e,t){var n=o.call(e,!1);return this.R&&this.R(n),t&&(l.call(n.content,o.call(e.content,!0)),N(n.content,e.content)),n};var N=function(n,r){if(r.querySelectorAll&&0!==(r=t(r,"template")).length)for(var i,o,a=0,s=(n=t(n,"template")).length;a<s;a++)o=r[a],i=n[a],e&&e.R&&e.R(o),f.call(i.parentNode,I.call(o,!0),i)},I=Node.prototype.cloneNode=function(t){if(!i&&r&&this instanceof DocumentFragment){if(!t)return this.ownerDocument.createDocumentFragment();var n=D.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName&&this.namespaceURI==document.documentElement.namespaceURI?e.b(this,t):o.call(this,t);return t&&N(n,this),n},D=Document.prototype.importNode=function(n,r){if(r=r||!1,"template"===n.localName)return e.b(n,r);var i=s.call(this,n,r);if(r){N(i,n),n=t(i,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var o,c=0;c<n.length;c++){o=n[c],(r=a.call(document,"script")).textContent=o.textContent;for(var l,u=o.attributes,d=0;d<u.length;d++)l=u[d],r.setAttribute(l.name,l.value);f.call(o.parentNode,r,o)}}return i}}n&&(window.HTMLTemplateElement=e)}();var _=setTimeout;function k(){}function x(e){if(!(this instanceof x))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this.J=0,this.wa=!1,this.A=void 0,this.U=[],N(e,this)}function M(e,t){for(;3===e.J;)e=e.A;0===e.J?e.U.push(t):(e.wa=!0,I((function(){var n=1===e.J?t.Wa:t.Xa;if(null===n)(1===e.J?T:C)(t.ra,e.A);else{try{var r=n(e.A)}catch(e){return void C(t.ra,e)}T(t.ra,r)}})))}function T(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 x)return e.J=3,e.A=t,void O(e);if("function"==typeof n)return void N(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e.J=1,e.A=t,O(e)}catch(t){C(e,t)}}function C(e,t){e.J=2,e.A=t,O(e)}function O(e){2===e.J&&0===e.U.length&&I((function(){e.wa||"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e.A)}));for(var t=0,n=e.U.length;t<n;t++)M(e,e.U[t]);e.U=null}function R(e,t,n){this.Wa="function"==typeof e?e:null,this.Xa="function"==typeof t?t:null,this.ra=n}function N(e,t){var n=!1;try{e((function(e){n||(n=!0,T(t,e))}),(function(e){n||(n=!0,C(t,e))}))}catch(e){n||(n=!0,C(t,e))}}x.prototype.catch=function(e){return this.then(null,e)},x.prototype.then=function(e,t){var n=new this.constructor(k);return M(this,new R(e,t,n)),n},x.prototype.finally=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)}))}))};var I="function"==typeof t&&function(e){t(e)}||function(e){_(e,0)};if(!window.Promise){window.Promise=x,x.prototype.then=x.prototype.then,x.all=function(e){return new x((function(t,n){function r(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){r(e,t)}),n)}i[e]=a,0==--o&&t(i)}catch(e){n(e)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(e);if(0===i.length)return t([]);for(var o=i.length,a=0;a<i.length;a++)r(a,i[a])}))},x.race=function(e){return new x((function(t,n){for(var r=0,i=e.length;r<i;r++)e[r].then(t,n)}))},x.resolve=function(e){return e&&"object"==typeof e&&e.constructor===x?e:new x((function(t){t(e)}))},x.reject=function(e){return new x((function(t,n){n(e)}))};var D=document.createTextNode(""),P=[];new MutationObserver((function(){for(var e=P.length,t=0;t<e;t++)P[t]();P.splice(0,e)})).observe(D,{characterData:!0}),I=function(e){P.push(e),D.textContent=0<D.textContent.length?"":"a"}}!function(t,n){if(!(n in t)){var r=typeof e==typeof r?window:e,i=0,o=""+Math.random(),a="__symbol@@"+o,s=t.getOwnPropertyNames,c=t.getOwnPropertyDescriptor,l=t.create,f=t.keys,u=t.freeze||t,d=t.defineProperty,h=t.defineProperties,p=c(t,"getOwnPropertyNames"),b=t.prototype,m=b.hasOwnProperty,v=b.propertyIsEnumerable,g=b.toString,y=function(e,t,n){m.call(e,a)||d(e,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[a]["@@"+t]=n},w=function(e,t){var n=l(e);return s(t).forEach((function(e){_.call(t,e)&&O(n,e,t[e])})),n},S=function(){},A=function(e){return e!=a&&!m.call(M,e)},E=function(e){return e!=a&&m.call(M,e)},_=function(e){var t=""+e;return E(t)?m.call(this,t)&&this[a]["@@"+t]:v.call(this,e)},k=function(e){return d(b,e,{enumerable:!1,configurable:!0,get:S,set:function(t){N(this,e,{enumerable:!1,configurable:!0,writable:!0,value:t}),y(this,e,!0)}}),u(M[e]=d(t(e),"constructor",T))},x=function(e){if(this&&this!==r)throw new TypeError("Symbol is not a constructor");return k("__symbol:".concat(e||"",o,++i))},M=l(null),T={value:x},C=function(e){return M[e]},O=function(e,t,n){var r=""+t;if(E(r)){if(t=N,n.enumerable){var i=l(n);i.enumerable=!1}else i=n;t(e,r,i),y(e,r,!!n.enumerable)}else d(e,t,n);return e},R=function(e){return s(e).filter(E).map(C)};p.value=O,d(t,"defineProperty",p),p.value=R,d(t,n,p),p.value=function(e){return s(e).filter(A)},d(t,"getOwnPropertyNames",p),p.value=function(e,t){var n=R(t);return n.length?f(t).concat(n).forEach((function(n){_.call(t,n)&&O(e,n,t[n])})):h(e,t),e},d(t,"defineProperties",p),p.value=_,d(b,"propertyIsEnumerable",p),p.value=x,d(r,"Symbol",p),p.value=function(e){return(e="__symbol:".concat("__symbol:",e,o))in b?M[e]:k(e)},d(x,"for",p),p.value=function(e){if(A(e))throw new TypeError(e+" is not a symbol");return m.call(M,e)?e.slice(20,-o.length):void 0},d(x,"keyFor",p),p.value=function(e,t){var n=c(e,t);return n&&E(t)&&(n.enumerable=_.call(e,t)),n},d(t,"getOwnPropertyDescriptor",p),p.value=function(e,t){return 1===arguments.length?l(e):w(e,t)},d(t,"create",p),p.value=function(){var e=g.call(this);return"[object String]"===e&&E(this)?"[object Symbol]":e},d(b,"toString",p);try{var N=l(d({},"__symbol:",{get:function(){return d(this,"__symbol:",{value:!1})["__symbol:"]}}))["__symbol:"]||d}catch(e){N=function(e,t,n){var r=c(b,t);delete b[t],d(e,t,n),d(b,t,r)}}}}(Object,"getOwnPropertySymbols"),function(e){var t,n=e.defineProperty,r=e.prototype,i=r.toString;"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach((function(o){if(!(o in Symbol))switch(n(Symbol,o,{value:Symbol(o)}),o){case"toStringTag":(t=e.getOwnPropertyDescriptor(r,"toString")).value=function(){var e=i.call(this),t=this[Symbol.toStringTag];return void 0===t?e:"[object "+t+"]"},n(r,"toString",t)}}))}(Object,Symbol),function(e,t,n){function r(){return this}t[e]||(t[e]=function(){var t=0,n=this,i={next:function(){var e=n.length<=t;return e?{done:e}:{done:e,value:n[t++]}}};return i[e]=r,i}),n[e]||(n[e]=function(){var t=String.fromCodePoint,n=this,i=0,o=n.length,a={next:function(){var e=o<=i,r=e?"":t(n.codePointAt(i));return i+=r.length,e?{done:e}:{done:e,value:r}}};return a[e]=r,a})}(Symbol.iterator,Array.prototype,String.prototype),Object.keys=function(e){return Object.getOwnPropertyNames(e).filter((function(t){return(t=Object.getOwnPropertyDescriptor(e,t))&&t.enumerable}))};var F=window.Symbol.iterator;String.prototype[F]&&String.prototype.codePointAt||(String.prototype[F]=function e(){var t,n=this;return E(e,(function(e){if(1==e.a&&(t=0),3!=e.a)return t<n.length?e=g(e,n[t]):(e.a=0,e=void 0),e;t++,e.a=2}))}),Set.prototype[F]||(Set.prototype[F]=function e(){var t,n,r=this;return E(e,(function(e){if(1==e.a&&(t=[],r.forEach((function(e){t.push(e)})),n=0),3!=e.a)return n<t.length?e=g(e,t[n]):(e.a=0,e=void 0),e;n++,e.a=2}))}),Map.prototype[F]||(Map.prototype[F]=function e(){var t,n,r=this;return E(e,(function(e){if(1==e.a&&(t=[],r.forEach((function(e,n){t.push([n,e])})),n=0),3!=e.a)return n<t.length?e=g(e,t[n]):(e.a=0,e=void 0),e;n++,e.a=2}))}),window.WebComponents=window.WebComponents||{flags:{}};var L=document.querySelector('script[src*="webcomponents-bundle"]'),j=/wc-(.+)/,B={};if(!B.noOpts){if(location.search.slice(1).split("&").forEach((function(e){var t;(e=e.split("="))[0]&&(t=e[0].match(j))&&(B[t[1]]=e[1]||!0)})),L)for(var U=0,z=void 0;z=L.attributes[U];U++)"src"!==z.name&&(B[z.name]=z.value||!0);if(B.log&&B.log.split){var H=B.log.split(",");B.log={},H.forEach((function(e){B.log[e]=!0}))}else B.log={}}window.WebComponents.flags=B;var q=B.shadydom;q&&(window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=q);var V=B.register||B.ce;function K(){this.za=this.root=null,this.ea=!1,this.N=this.$=this.oa=this.assignedSlot=this.assignedNodes=this.S=null,this.childNodes=this.nextSibling=this.previousSibling=this.lastChild=this.firstChild=this.parentNode=this.V=void 0,this.Ea=this.ua=!1,this.Z={}}function W(e){return e.ma||(e.ma=new K),e.ma}function Y(e){return e&&e.ma}V&&window.customElements&&(window.customElements.forcePolyfill=V),K.prototype.toJSON=function(){return{}};var G=window.ShadyDOM||{};G.Sa=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var J=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");G.K=!!(J&&J.configurable&&J.get),G.qa=G.force||!G.Sa;var Z=navigator.userAgent.match("Trident"),X=navigator.userAgent.match("Edge");function Q(e){return(e=Y(e))&&void 0!==e.firstChild}function $(e){return"ShadyRoot"===e.Ja}function ee(e){if($(e=e.getRootNode()))return e}void 0===G.Ba&&(G.Ba=G.K&&(Z||X));var te=Element.prototype,ne=te.matches||te.matchesSelector||te.mozMatchesSelector||te.msMatchesSelector||te.oMatchesSelector||te.webkitMatchesSelector;function re(e,t){if(e&&t)for(var n=Object.getOwnPropertyNames(t),r=0,i=void 0;r<n.length&&(i=n[r]);r++){var o=i,a=e,s=Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(a,o,s)}}function ie(e,t){for(var n=[],r=1;r<arguments.length;++r)n[r-1]=arguments[r];for(r=0;r<n.length;r++)re(e,n[r]);return e}var oe=document.createTextNode(""),ae=0,se=[];function ce(e){se.push(e),oe.textContent=ae++}new MutationObserver((function(){for(;se.length;)try{se.shift()()}catch(e){throw oe.textContent=ae++,e}})).observe(oe,{characterData:!0});var le=!!document.contains;function fe(e,t){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function ue(e){for(var t=e.length-1;0<=t;t--){var n=e[t],r=n.getAttribute("id")||n.getAttribute("name");r&&"length"!==r&&isNaN(r)&&(e[r]=n)}return e.item=function(t){return e[t]},e.namedItem=function(t){if("length"!==t&&isNaN(t)&&e[t])return e[t];for(var n=u(e),r=n.next();!r.done;r=n.next())if(((r=r.value).getAttribute("id")||r.getAttribute("name"))==t)return r;return null},e}var de,he=[];function pe(e){de||(de=!0,ce(be)),he.push(e)}function be(){de=!1;for(var e=!!he.length;he.length;)he.shift()();return e}function me(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.ca=new Set}be.list=he,me.prototype.flush=function(){if(this.a){this.a=!1;var e=this.takeRecords();e.length&&this.ca.forEach((function(t){t(e)}))}},me.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var ve=Element.prototype.insertBefore,ge=Element.prototype.replaceChild,ye=Element.prototype.removeChild,we=Element.prototype.setAttribute,Se=Element.prototype.removeAttribute,Ae=Element.prototype.cloneNode,Ee=Document.prototype.importNode,_e=Element.prototype.addEventListener,ke=Element.prototype.removeEventListener,xe=Window.prototype.addEventListener,Me=Window.prototype.removeEventListener,Te=Element.prototype.dispatchEvent,Ce=Node.prototype.contains||HTMLElement.prototype.contains,Oe=Document.prototype.getElementById,Re=Element.prototype.querySelector,Ne=DocumentFragment.prototype.querySelector,Ie=Document.prototype.querySelector,De=Element.prototype.querySelectorAll,Pe=DocumentFragment.prototype.querySelectorAll,Fe=Document.prototype.querySelectorAll,Le={};Le.appendChild=Element.prototype.appendChild,Le.insertBefore=ve,Le.replaceChild=ge,Le.removeChild=ye,Le.setAttribute=we,Le.removeAttribute=Se,Le.cloneNode=Ae,Le.importNode=Ee,Le.addEventListener=_e,Le.removeEventListener=ke,Le.gb=xe,Le.hb=Me,Le.dispatchEvent=Te,Le.contains=Ce,Le.getElementById=Oe,Le.pb=Re,Le.tb=Ne,Le.nb=Ie,Le.querySelector=function(e){switch(this.nodeType){case Node.ELEMENT_NODE:return Re.call(this,e);case Node.DOCUMENT_NODE:return Ie.call(this,e);default:return Ne.call(this,e)}},Le.qb=De,Le.ub=Pe,Le.ob=Fe,Le.querySelectorAll=function(e){switch(this.nodeType){case Node.ELEMENT_NODE:return De.call(this,e);case Node.DOCUMENT_NODE:return Fe.call(this,e);default:return Pe.call(this,e)}};var je=/[&\u00A0"]/g,Be=/[&\u00A0<>]/g;function Ue(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function ze(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var He=ze("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),qe=ze("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Ve(e,t){"template"===e.localName&&(e=e.content);for(var n="",r=t?t(e):e.childNodes,i=0,o=r.length,a=void 0;i<o&&(a=r[i]);i++){e:{var s=a,c=e,l=t;switch(s.nodeType){case Node.ELEMENT_NODE:for(var f,u="<"+(c=s.localName),d=s.attributes,h=0;f=d[h];h++)u+=" "+f.name+'="'+f.value.replace(je,Ue)+'"';u+=">",s=He[c]?u:u+Ve(s,l)+"</"+c+">";break e;case Node.TEXT_NODE:s=s.data,s=c&&qe[c.localName]?s:s.replace(Be,Ue);break e;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break e;default:throw window.console.error(s),Error("not implemented")}}n+=s}return n}var Ke=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),We=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function Ye(e){var t=[];for(Ke.currentNode=e,e=Ke.firstChild();e;)t.push(e),e=Ke.nextSibling();return t}var Ge={parentNode:function(e){return Ke.currentNode=e,Ke.parentNode()},firstChild:function(e){return Ke.currentNode=e,Ke.firstChild()},lastChild:function(e){return Ke.currentNode=e,Ke.lastChild()},previousSibling:function(e){return Ke.currentNode=e,Ke.previousSibling()},nextSibling:function(e){return Ke.currentNode=e,Ke.nextSibling()}};Ge.childNodes=Ye,Ge.parentElement=function(e){return We.currentNode=e,We.parentNode()},Ge.firstElementChild=function(e){return We.currentNode=e,We.firstChild()},Ge.lastElementChild=function(e){return We.currentNode=e,We.lastChild()},Ge.previousElementSibling=function(e){return We.currentNode=e,We.previousSibling()},Ge.nextElementSibling=function(e){return We.currentNode=e,We.nextSibling()},Ge.children=function(e){var t=[];for(We.currentNode=e,e=We.firstChild();e;)t.push(e),e=We.nextSibling();return ue(t)},Ge.innerHTML=function(e){return Ve(e,(function(e){return Ye(e)}))},Ge.textContent=function(e){switch(e.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:e=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1);for(var t,n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return e.nodeValue}};var Je=G.K,Ze=[Node.prototype,Element.prototype,HTMLElement.prototype];function Xe(e){var t;e:{for(t=0;t<Ze.length;t++){var n=Ze[t];if(n.hasOwnProperty(e)){t=n;break e}}t=void 0}if(!t)throw Error("Could not find descriptor for "+e);return Object.getOwnPropertyDescriptor(t,e)}var Qe=Je?{parentNode:Xe("parentNode"),firstChild:Xe("firstChild"),lastChild:Xe("lastChild"),previousSibling:Xe("previousSibling"),nextSibling:Xe("nextSibling"),childNodes:Xe("childNodes"),parentElement:Xe("parentElement"),previousElementSibling:Xe("previousElementSibling"),nextElementSibling:Xe("nextElementSibling"),innerHTML:Xe("innerHTML"),textContent:Xe("textContent"),firstElementChild:Xe("firstElementChild"),lastElementChild:Xe("lastElementChild"),children:Xe("children")}:{},$e=Je?{firstElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(DocumentFragment.prototype,"children")}:{},et=Je?{firstElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"firstElementChild"),lastElementChild:Object.getOwnPropertyDescriptor(Document.prototype,"lastElementChild"),children:Object.getOwnPropertyDescriptor(Document.prototype,"children")}:{},tt={ya:Qe,sb:$e,mb:et,parentNode:function(e){return Qe.parentNode.get.call(e)},firstChild:function(e){return Qe.firstChild.get.call(e)},lastChild:function(e){return Qe.lastChild.get.call(e)},previousSibling:function(e){return Qe.previousSibling.get.call(e)},nextSibling:function(e){return Qe.nextSibling.get.call(e)},childNodes:function(e){return Array.prototype.slice.call(Qe.childNodes.get.call(e))},parentElement:function(e){return Qe.parentElement.get.call(e)},previousElementSibling:function(e){return Qe.previousElementSibling.get.call(e)},nextElementSibling:function(e){return Qe.nextElementSibling.get.call(e)},innerHTML:function(e){return Qe.innerHTML.get.call(e)},textContent:function(e){return Qe.textContent.get.call(e)},children:function(e){switch(e.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return $e.children.get.call(e);case Node.DOCUMENT_NODE:return et.children.get.call(e);default:return Qe.children.get.call(e)}},firstElementChild:function(e){switch(e.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return $e.firstElementChild.get.call(e);case Node.DOCUMENT_NODE:return et.firstElementChild.get.call(e);default:return Qe.firstElementChild.get.call(e)}},lastElementChild:function(e){switch(e.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:return $e.lastElementChild.get.call(e);case Node.DOCUMENT_NODE:return et.lastElementChild.get.call(e);default:return Qe.lastElementChild.get.call(e)}}},nt=G.Ba?tt:Ge;function rt(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var it=G.K,ot=document.implementation.createHTMLDocument("inert"),at=Object.getOwnPropertyDescriptor(Node.prototype,"isConnected"),st=at&&at.get,ct=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),lt={parentElement:{get:function(){var e=Y(this);return(e=e&&e.parentNode)&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:nt.parentElement(this)},configurable:!0},parentNode:{get:function(){var e=Y(this);return void 0!==(e=e&&e.parentNode)?e:nt.parentNode(this)},configurable:!0},nextSibling:{get:function(){var e=Y(this);return void 0!==(e=e&&e.nextSibling)?e:nt.nextSibling(this)},configurable:!0},previousSibling:{get:function(){var e=Y(this);return void 0!==(e=e&&e.previousSibling)?e:nt.previousSibling(this)},configurable:!0},nextElementSibling:{get:function(){var e=Y(this);if(e&&void 0!==e.nextSibling){for(e=this.nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;return e}return nt.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){var e=Y(this);if(e&&void 0!==e.previousSibling){for(e=this.previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.previousSibling;return e}return nt.previousElementSibling(this)},configurable:!0}},ft={className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)},configurable:!0}},ut={childNodes:{get:function(){if(Q(this)){var e=Y(this);if(!e.childNodes){e.childNodes=[];for(var t=this.firstChild;t;t=t.nextSibling)e.childNodes.push(t)}var n=e.childNodes}else n=nt.childNodes(this);return n.item=function(e){return n[e]},n},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var e=Y(this);return void 0!==(e=e&&e.firstChild)?e:nt.firstChild(this)},configurable:!0},lastChild:{get:function(){var e=Y(this);return void 0!==(e=e&&e.lastChild)?e:nt.lastChild(this)},configurable:!0},textContent:{get:function(){if(Q(this)){for(var e,t=[],n=0,r=this.childNodes;e=r[n];n++)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")}return nt.textContent(this)},set:function(e){switch(null==e&&(e=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:if(!Q(this)&&it){var t=this.firstChild;(t!=this.lastChild||t&&t.nodeType!=Node.TEXT_NODE)&&rt(this),tt.ya.textContent.set.call(this,e)}else rt(this),(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(e));break;default:this.nodeValue=e}},configurable:!0},firstElementChild:{get:function(){var e=Y(this);if(e&&void 0!==e.firstChild){for(e=this.firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;return e}return nt.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){var e=Y(this);if(e&&void 0!==e.lastChild){for(e=this.lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.previousSibling;return e}return nt.lastElementChild(this)},configurable:!0},children:{get:function(){return Q(this)?ue(Array.prototype.filter.call(this.childNodes,(function(e){return e.nodeType===Node.ELEMENT_NODE}))):nt.children(this)},configurable:!0},innerHTML:{get:function(){return Q(this)?Ve("template"===this.localName?this.content:this):nt.innerHTML(this)},set:function(e){var t="template"===this.localName?this.content:this;rt(t);var n=this.localName||"div";for(n=this.namespaceURI&&this.namespaceURI!==ot.namespaceURI?ot.createElementNS(this.namespaceURI,n):ot.createElement(n),it?tt.ya.innerHTML.set.call(n,e):n.innerHTML=e,e="template"===this.localName?n.content:n;e.firstChild;)t.appendChild(e.firstChild)},configurable:!0}},dt={shadowRoot:{get:function(){var e=Y(this);return e&&e.za||null},configurable:!0}},ht={activeElement:{get:function(){var e=ct&&ct.get?ct.get.call(document):G.K?void 0:document.activeElement;if(e&&e.nodeType){var t=!!$(this);if(this===document||t&&this.host!==e&&Le.contains.call(this.host,e)){for(t=ee(e);t&&t!==this;)t=ee(e=t.host);e=this===document?t?null:e:t===this?e:null}else e=null}else e=null;return e},set:function(){},configurable:!0}};function pt(e,t,n){for(var r in t){var i=Object.getOwnPropertyDescriptor(e,r);i&&i.configurable||!i&&n?Object.defineProperty(e,r,t[r]):n&&console.warn("Could not define",r,"on",e)}}function bt(e){pt(e,lt),pt(e,ft),pt(e,ut),pt(e,ht)}var mt=G.K?function(){}:function(e){var t=W(e);t.ua||(t.ua=!0,pt(e,lt,!0),pt(e,ft,!0))},vt=G.K?function(){}:function(e){W(e).Ea||(pt(e,ut,!0),pt(e,dt,!0))},gt=nt.childNodes;function yt(e,t,n){mt(e),n=n||null;var r=W(e),i=W(t),o=n?W(n):null;r.previousSibling=n?o.previousSibling:t.lastChild,(o=Y(r.previousSibling))&&(o.nextSibling=e),(o=Y(r.nextSibling=n))&&(o.previousSibling=e),r.parentNode=t,n?n===i.firstChild&&(i.firstChild=e):(i.lastChild=e,i.firstChild||(i.firstChild=e)),i.childNodes=null}function wt(e){var t=W(e);if(void 0===t.firstChild){t.childNodes=null;var n=gt(e);for(t.firstChild=n[0]||null,t.lastChild=n[n.length-1]||null,vt(e),t=0;t<n.length;t++){var r=n[t],i=W(r);i.parentNode=e,i.nextSibling=n[t+1]||null,i.previousSibling=n[t-1]||null,mt(r)}}}var St=nt.parentNode;function At(e,t,n){if(t===e)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var r=Y(n);if(void 0!==(r=r&&r.parentNode)&&r!==e||void 0===r&&St(n)!==e)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(n===t)return t;var i=[],o=Rt,a=ee(e),s=a?a.host.localName:"";if(t.parentNode){var c=It(t);Et(t.parentNode,t,!(!a&&t.getRootNode()instanceof ShadowRoot)),o=function(e,t){Ct()&&(Nt(e,c),Rt(e,t))}}r=!0;var l=!function e(t,n){var r=Ct();if(!r)return!0;if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){r=!0;for(var i=0;r&&i<t.childNodes.length;i++)r=r&&e(t.childNodes[i],n);return r}return t.nodeType!==Node.ELEMENT_NODE||r.currentScopeForNode(t)===n}(t,s);return!a||t.__noInsertionPoint&&!l||Dt(t,(function(e){"slot"===e.localName&&i.push(e),l&&o(e,s)})),i.length&&function(e,t){e.a=e.a||[],e.o=e.o||[],e.w=e.w||{},e.a.push.apply(e.a,t instanceof Array?t:function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(u(t)))}(a,i),("slot"===e.localName||i.length)&&a&&un(a),Q(e)&&(function(e,t,n){vt(t);var r=W(t);if(void 0!==r.firstChild&&(r.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){r=e.childNodes;for(var i=0;i<r.length;i++)yt(r[i],t,n);t=void 0!==(e=W(e)).firstChild?null:void 0,e.firstChild=e.lastChild=t,e.childNodes=t}else yt(e,t,n)}(t,e,n),a=Y(e),_t(e)?(un(a.root),r=!1):a.root&&(r=!1)),r?(r=$(e)?e.host:e,n?(n=function e(t){var n=t;return t&&"slot"===t.localName&&(n=(n=(n=Y(t))&&n.N)&&n.length?n[0]:e(t.nextSibling)),n}(n),Le.insertBefore.call(r,t,n)):Le.appendChild.call(r,t)):t.ownerDocument!==e.ownerDocument&&e.ownerDocument.adoptNode(t),xt(e,t),t}function Et(e,t,n){if(n=void 0!==n&&n,t.parentNode!==e)throw Error("The node to be removed is not a child of this node: "+t);var r=ee(t),i=Y(e);if(Q(e)&&(function(e,t){var n=W(e);e===(t=W(t)).firstChild&&(t.firstChild=n.nextSibling),e===t.lastChild&&(t.lastChild=n.previousSibling),e=n.previousSibling;var r=n.nextSibling;e&&(W(e).nextSibling=r),r&&(W(r).previousSibling=e),n.parentNode=n.previousSibling=n.nextSibling=void 0,void 0!==t.childNodes&&(t.childNodes=null)}(t,e),_t(e))){un(i.root);var o=!0}if(Ct()&&!n&&r){var a=It(t);Dt(t,(function(e){Nt(e,a)}))}if(function e(t){var n=Y(t);if(n&&void 0!==n.V){n=t.childNodes;for(var r=0,i=n.length,o=void 0;r<i&&(o=n[r]);r++)e(o)}(t=Y(t))&&(t.V=void 0)}(t),r){var s=e&&"slot"===e.localName;s&&(o=!0),((n=function(e,t){if(e.o){mn(e);var n,r=e.w;for(n in r)for(var i=r[n],o=0;o<i.length;o++){var a=i[o];if(fe(t,a)){i.splice(o,1);var s=e.o.indexOf(a);if(0<=s&&e.o.splice(s,1),o--,a=Y(a),s=a.N)for(var c=0;c<s.length;c++){var l=s[c],f=on(l);f&&Le.removeChild.call(f,l)}a.N=[],a.assignedNodes=[],s=!0}}return s}}(r,t))||s)&&un(r)}return o||(o=$(e)?e.host:e,(!i.root&&"slot"!==t.localName||o===St(t))&&Le.removeChild.call(o,t)),xt(e,null,t),t}function _t(e){return(e=(e=Y(e))&&e.root)&&yn(e)}function kt(e,t){if("slot"===t)_t(e=e.parentNode)&&un(Y(e).root);else if("slot"===e.localName&&"name"===t&&(t=ee(e))){if(t.o){mn(t);var n=e.Ha,r=vn(e);if(r!==n){var i=(n=t.w[n]).indexOf(e);0<=i&&n.splice(i,1),(n=t.w[r]||(t.w[r]=[])).push(e),1<n.length&&(t.w[r]=gn(n))}}un(t)}}function xt(e,t,n){(e=(e=Y(e))&&e.S)&&(t&&e.addedNodes.push(t),n&&e.removedNodes.push(n),function(e){e.a||(e.a=!0,ce((function(){e.flush()})))}(e))}function Mt(e,t,n){var r=[];return function e(t,n,r,i){for(var o=0,a=t.length,s=void 0;o<a&&(s=t[o]);o++){var c;if(c=s.nodeType===Node.ELEMENT_NODE){var l=n,f=r,u=i,d=l(c=s);d&&u.push(c),f&&f(d)?c=d:(e(c.childNodes,l,f,u),c=void 0)}if(c)break}}(e.childNodes,t,n,r),r}var Tt=null;function Ct(){return Tt||(Tt=window.ShadyCSS&&window.ShadyCSS.ScopingShim),Tt||null}function Ot(e,t,n){var r=Ct();r&&"class"===t?r.setElementClass(e,n):(Le.setAttribute.call(e,t,n),kt(e,t))}function Rt(e,t){var n=Ct();n&&n.scopeNode(e,t)}function Nt(e,t){var n=Ct();n&&n.unscopeNode(e,t)}function It(e){if(e.nodeType!==Node.ELEMENT_NODE)return"";var t=Ct();return t?t.currentScopeForNode(e):""}function Dt(e,t){if(e){e.nodeType===Node.ELEMENT_NODE&&t(e);for(var n,r=0;r<e.childNodes.length;r++)(n=e.childNodes[r]).nodeType===Node.ELEMENT_NODE&&Dt(n,t)}}var Pt="__eventWrappers"+Date.now(),Ft=function(){var e=Object.getOwnPropertyDescriptor(Event.prototype,"composed");return e?function(t){return e.get.call(t)}:null}(),Lt={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0},jt={DOMAttrModified:!0,DOMAttributeNameChanged:!0,DOMCharacterDataModified:!0,DOMElementNameChanged:!0,DOMNodeInserted:!0,DOMNodeInsertedIntoDocument:!0,DOMNodeRemoved:!0,DOMNodeRemovedFromDocument:!0,DOMSubtreeModified:!0};function Bt(e,t){var n=[],r=e;for(e=e===window?window:e.getRootNode();r;)n.push(r),r=r.assignedSlot?r.assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.parentNode;return n[n.length-1]===document&&n.push(window),n}function Ut(e,t){if(!$)return e;e=Bt(e,!0);for(var n,r,i=0,o=void 0,a=void 0;i<t.length;i++)if((r=(n=t[i])===window?window:n.getRootNode())!==o&&(a=e.indexOf(r),o=r),!$(r)||-1<a)return n}var zt={get composed(){return void 0===this.Y&&(Ft?this.Y="focusin"===this.type||"focusout"===this.type||Ft(this):!1!==this.isTrusted&&(this.Y=Lt[this.type])),this.Y||!1},composedPath:function(){return this.ta||(this.ta=Bt(this.__target,this.composed)),this.ta},get target(){return Ut(this.currentTarget||this.__previousCurrentTarget,this.composedPath())},get relatedTarget(){return this.la?(this.va||(this.va=Bt(this.la,!0)),Ut(this.currentTarget||this.__previousCurrentTarget,this.va)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.ka=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.ka=this.Da=!0}};function Ht(e){function t(t,n){return(t=new e(t,n)).Y=n&&!!n.composed,t}return function(e,t){for(var n in t)e[n]=t[n]}(t,e),t.prototype=e.prototype,t}var qt={focus:!0,blur:!0};function Vt(e){return e.__target!==e.target||e.la!==e.relatedTarget}function Kt(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,i=0;(r=n[i])&&(!Vt(e)||e.target!==e.relatedTarget)&&(r.call(t,e),!e.Da);i++);}function Wt(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return i},configurable:!0});for(var r=n.length-1;0<=r;r--){var i=n[r];if(Kt(e,i,"capture"),e.ka)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var o=Y(i=n[r]);if(o=o&&o.root,(0===r||o&&o===t)&&(Kt(e,i,"bubble"),i!==window&&(t=i.getRootNode()),e.ka))break}}function Yt(e,t,n,r,i,o){for(var a=0;a<e.length;a++){var s=e[a],c=s.type,l=s.capture,f=s.once,u=s.passive;if(t===s.node&&n===c&&r===l&&i===f&&o===u)return a}return-1}function Gt(e,t,n){if(t){var r=typeof t;if(("function"===r||"object"===r)&&("object"!==r||t.handleEvent&&"function"==typeof t.handleEvent)){var i=this instanceof Window?Le.gb:Le.addEventListener;if(jt[e])return i.call(this,e,t,n);if(n&&"object"==typeof n)var o=!!n.capture,a=!!n.once,s=!!n.passive;else o=!!n,s=a=!1;var c=n&&n.na||this,l=t[Pt];if(l){if(-1<Yt(l,c,e,o,a,s))return}else t[Pt]=[];l=function(i){if(a&&this.removeEventListener(e,t,n),i.__target||Zt(i),c!==this){var o=Object.getOwnPropertyDescriptor(i,"currentTarget");Object.defineProperty(i,"currentTarget",{get:function(){return c},configurable:!0})}if(i.__previousCurrentTarget=i.currentTarget,(!$(c)||-1!=i.composedPath().indexOf(c))&&(i.composed||-1<i.composedPath().indexOf(c)))if(Vt(i)&&i.target===i.relatedTarget)i.eventPhase===Event.BUBBLING_PHASE&&i.stopImmediatePropagation();else if(i.eventPhase===Event.CAPTURING_PHASE||i.bubbles||i.target===c||c instanceof Window){var s="function"===r?t.call(c,i):t.handleEvent&&t.handleEvent(i);return c!==this&&(o?(Object.defineProperty(i,"currentTarget",o),o=null):delete i.currentTarget),s}},t[Pt].push({node:c,type:e,capture:o,once:a,passive:s,ib:l}),qt[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][o?"capture":"bubble"].push(l)):i.call(this,e,l,n)}}}function Jt(e,t,n){if(t){var r=this instanceof Window?Le.hb:Le.removeEventListener;if(jt[e])return r.call(this,e,t,n);if(n&&"object"==typeof n)var i=!!n.capture,o=!!n.once,a=!!n.passive;else i=!!n,a=o=!1;var s=n&&n.na||this,c=void 0,l=null;try{l=t[Pt]}catch(e){}l&&(-1<(o=Yt(l,s,e,i,o,a))&&(c=l.splice(o,1)[0].ib,l.length||(t[Pt]=void 0))),r.call(this,e,c||t,n),c&&qt[e]&&this.__handlers&&this.__handlers[e]&&(-1<(c=(e=this.__handlers[e][i?"capture":"bubble"]).indexOf(c))&&e.splice(c,1))}}function Zt(e){if(e.__target=e.target,e.la=e.relatedTarget,G.K){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__patchProto")){var n=Object.create(t);n.jb=t,re(n,zt),t.__patchProto=n}e.__proto__=t.__patchProto}else re(e,zt)}var Xt=Ht(window.Event),Qt=Ht(window.CustomEvent),$t=Ht(window.MouseEvent);function en(e,t){return{index:e,W:[],ba:t}}function tn(e,t,n,r){var i=0,o=0,a=0,s=0,c=Math.min(t-i,r-o);if(0==i&&0==o)e:{for(a=0;a<c;a++)if(e[a]!==n[a])break e;a=c}if(t==e.length&&r==n.length){s=e.length;for(var l=n.length,f=0;f<c-a&&nn(e[--s],n[--l]);)f++;s=f}if(o+=a,r-=s,0==(t-=s)-(i+=a)&&0==r-o)return[];if(i==t){for(t=en(i,0);o<r;)t.W.push(n[o++]);return[t]}if(o==r)return[en(i,t-i)];for(r=r-(a=o)+1,s=t-(c=i)+1,t=Array(r),l=0;l<r;l++)t[l]=Array(s),t[l][0]=l;for(l=0;l<s;l++)t[0][l]=l;for(l=1;l<r;l++)for(f=1;f<s;f++)if(e[c+f-1]===n[a+l-1])t[l][f]=t[l-1][f-1];else{var u=t[l-1][f]+1,d=t[l][f-1]+1;t[l][f]=u<d?u:d}for(c=t.length-1,a=t[0].length-1,r=t[c][a],e=[];0<c||0<a;)0==c?(e.push(2),a--):0==a?(e.push(3),c--):(s=t[c-1][a-1],(u=(l=t[c-1][a])<(f=t[c][a-1])?l<s?l:s:f<s?f:s)==s?(s==r?e.push(0):(e.push(1),r=s),c--,a--):u==l?(e.push(3),c--,r=l):(e.push(2),a--,r=f));for(e.reverse(),t=void 0,c=[],a=0;a<e.length;a++)switch(e[a]){case 0:t&&(c.push(t),t=void 0),i++,o++;break;case 1:t||(t=en(i,0)),t.ba++,i++,t.W.push(n[o]),o++;break;case 2:t||(t=en(i,0)),t.ba++,i++;break;case 3:t||(t=en(i,0)),t.W.push(n[o]),o++}return t&&c.push(t),c}function nn(e,t){return e===t}var rn,on=nt.parentNode,an=nt.childNodes,sn={},cn=G.deferConnectionCallbacks&&"loading"===document.readyState;function ln(e){var t=[];do{t.unshift(e)}while(e=e.parentNode);return t}function fn(e,t,n){if(e!==sn)throw new TypeError("Illegal constructor");this.Ja="ShadyRoot",this.host=t,this.c=n&&n.mode,wt(t),(e=W(t)).root=this,e.za="closed"!==this.c?this:null,(e=W(this)).firstChild=e.lastChild=e.parentNode=e.nextSibling=e.previousSibling=null,e.childNodes=[],this.b=this.aa=!1,this.a=this.w=this.o=null,un(this)}function un(e){e.aa||(e.aa=!0,pe((function(){return dn(e)})))}function dn(e){for(var t;e;){e.aa&&(t=e);e:{var n=e;if($(e=n.host.getRootNode()))for(var r=n.host.childNodes,i=0;i<r.length;i++)if("slot"==(n=r[i]).localName)break e;e=void 0}}t&&t._renderRoot()}function hn(e,t,n){var r=W(t),i=r.$;r.$=null,n||(n=(e=e.w[t.slot||"__catchall"])&&e[0]),n?(W(n).assignedNodes.push(t),r.assignedSlot=n):r.assignedSlot=void 0,i!==r.assignedSlot&&r.assignedSlot&&(W(r.assignedSlot).ea=!0)}function pn(e,t,n){for(var r=0,i=void 0;r<n.length&&(i=n[r]);r++)if("slot"==i.localName){var o=Y(i).assignedNodes;o&&o.length&&pn(e,t,o)}else t.push(n[r])}function bn(e,t){Le.dispatchEvent.call(t,new Event("slotchange")),(t=Y(t)).assignedSlot&&bn(e,t.assignedSlot)}function mn(e){if(e.a&&e.a.length){for(var t,n=e.a,r=0;r<n.length;r++){var i=n[r];wt(i),wt(i.parentNode);var o=vn(i);e.w[o]?((t=t||{})[o]=!0,e.w[o].push(i)):e.w[o]=[i],e.o.push(i)}if(t)for(var a in t)e.w[a]=gn(e.w[a]);e.a=[]}}function vn(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.Ha=t}function gn(e){return e.sort((function(e,t){e=ln(e);for(var n=ln(t),r=0;r<e.length;r++){t=e[r];var i=n[r];if(t!==i)return(e=Array.from(t.parentNode.childNodes)).indexOf(t)-e.indexOf(i)}}))}function yn(e){return mn(e),!(!e.o||!e.o.length)}if(fn.prototype._renderRoot=function(){var e=cn;if(cn=!0,this.aa=!1,this.o){mn(this);for(var t,n=0;n<this.o.length;n++){var r=Y(t=this.o[n]),i=r.assignedNodes;if(r.assignedNodes=[],r.N=[],r.oa=i)for(r=0;r<i.length;r++){var o=Y(i[r]);o.$=o.assignedSlot,o.assignedSlot===t&&(o.assignedSlot=null)}}for(n=this.host.firstChild;n;n=n.nextSibling)hn(this,n);for(n=0;n<this.o.length;n++){if(!(i=Y(t=this.o[n])).assignedNodes.length)for(r=t.firstChild;r;r=r.nextSibling)hn(this,r,t);if((r=(r=Y(t.parentNode))&&r.root)&&yn(r)&&r._renderRoot(),pn(this,i.N,i.assignedNodes),r=i.oa){for(o=0;o<r.length;o++)Y(r[o]).$=null;i.oa=null,r.length>i.assignedNodes.length&&(i.ea=!0)}i.ea&&(i.ea=!1,bn(this,t))}for(t=this.o,n=[],i=0;i<t.length;i++)(o=Y(r=t[i].parentNode))&&o.root||!(0>n.indexOf(r))||n.push(r);for(t=0;t<n.length;t++){i=(o=n[t])===this?this.host:o,r=[],o=o.childNodes;for(var a=0;a<o.length;a++){var s=o[a];if("slot"==s.localName){s=Y(s).N;for(var c=0;c<s.length;c++)r.push(s[c])}else r.push(s)}o=an(i),a=tn(r,r.length,o,o.length),c=s=0;for(var l=void 0;s<a.length&&(l=a[s]);s++){for(var f=0,u=void 0;f<l.W.length&&(u=l.W[f]);f++)on(u)===i&&Le.removeChild.call(i,u),o.splice(l.index+c,1);c-=l.ba}for(c=0,l=void 0;c<a.length&&(l=a[c]);c++)for(s=o[l.index],f=l.index;f<l.index+l.ba;f++)u=r[f],Le.insertBefore.call(i,u,s),o.splice(f,0,u)}}if(!this.b)for(t=0,i=(n=this.host.childNodes).length;t<i;t++)o=Y(r=n[t]),on(r)!==this.host||"slot"!==r.localName&&o.assignedSlot||Le.removeChild.call(this.host,r);this.b=!0,cn=e,rn&&rn()},window.customElements&&G.qa){var wn=new Map;rn=function(){var e=Array.from(wn);wn.clear();for(var t=(e=u(e)).next();!t.done;t=e.next()){var n=(t=u(t.value)).next().value;t.next().value?n.Fa():n.Ga()}},cn&&document.addEventListener("readystatechange",(function(){cn=!1,rn()}),{once:!0});var Sn=window.customElements.define;Object.defineProperty(window.CustomElementRegistry.prototype,"define",{value:function(e,t){var n=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;Sn.call(window.customElements,e,function(e,t,n){var r=0,i="__isConnected"+r++;return(t||n)&&(e.prototype.connectedCallback=e.prototype.Fa=function(){cn?wn.set(this,!0):this[i]||(this[i]=!0,t&&t.call(this))},e.prototype.disconnectedCallback=e.prototype.Ga=function(){cn?this.isConnected||wn.set(this,!1):this[i]&&(this[i]=!1,n&&n.call(this))}),e}(t,n,r)),t.prototype.connectedCallback=n,t.prototype.disconnectedCallback=r}})}function An(e){var t=e.getRootNode();return $(t)&&dn(t),(e=Y(e))&&e.assignedSlot||null}var En={addEventListener:Gt.bind(window),removeEventListener:Jt.bind(window)},_n={addEventListener:Gt,removeEventListener:Jt,appendChild:function(e){return At(this,e)},insertBefore:function(e,t){return At(this,e,t)},removeChild:function(e){return Et(this,e)},replaceChild:function(e,t){return At(this,e,t),Et(this,t),e},cloneNode:function(e){if("template"==this.localName)var t=Le.cloneNode.call(this,e);else if(t=Le.cloneNode.call(this,!1),e&&t.nodeType!==Node.ATTRIBUTE_NODE){e=this.childNodes;for(var n,r=0;r<e.length;r++)n=e[r].cloneNode(!0),t.appendChild(n)}return t},getRootNode:function(){return function e(t){if(t&&t.nodeType){var n=W(t),r=n.V;return void 0===r&&($(t)?(r=t,n.V=r):(r=(r=t.parentNode)?e(r):t,Le.contains.call(document.documentElement,t)&&(n.V=r))),r}}(this)},contains:function(e){return fe(this,e)},dispatchEvent:function(e){return be(),Le.dispatchEvent.call(this,e)}};Object.defineProperties(_n,{isConnected:{get:function(){if(st&&st.call(this))return!0;if(this.nodeType==Node.DOCUMENT_FRAGMENT_NODE)return!1;var e=this.ownerDocument;if(le){if(Le.contains.call(e,this))return!0}else if(e.documentElement&&Le.contains.call(e.documentElement,this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.parentNode||($(e)?e.host:void 0);return!!(e&&e instanceof Document)},configurable:!0}});var kn={get assignedSlot(){return An(this)}},xn={querySelector:function(e){return Mt(this,(function(t){return ne.call(t,e)}),(function(e){return!!e}))[0]||null},querySelectorAll:function(e,t){if(t){t=Array.prototype.slice.call(Le.querySelectorAll.call(this,e));var n=this.getRootNode();return t.filter((function(e){return e.getRootNode()==n}))}return Mt(this,(function(t){return ne.call(t,e)}))}},Mn={assignedNodes:function(e){if("slot"===this.localName){var t=this.getRootNode();return $(t)&&dn(t),(t=Y(this))&&(e&&e.flatten?t.N:t.assignedNodes)||[]}}},Tn=ie({setAttribute:function(e,t){Ot(this,e,t)},removeAttribute:function(e){Le.removeAttribute.call(this,e),kt(this,e)},attachShadow:function(e){if(!this)throw"Must provide a host.";if(!e)throw"Not enough arguments.";return new fn(sn,this,e)},get slot(){return this.getAttribute("slot")},set slot(e){Ot(this,"slot",e)},get assignedSlot(){return An(this)}},xn,Mn);Object.defineProperties(Tn,dt);var Cn=ie({importNode:function(e,t){return function e(t,n){if(t.ownerDocument!==document||"template"===t.localName)return Le.importNode.call(document,t,n);var r=Le.importNode.call(document,t,!1);if(n){t=t.childNodes,n=0;for(var i;n<t.length;n++)i=e(t[n],!0),r.appendChild(i)}return r}(e,t)},getElementById:function(e){return Mt(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}},xn);Object.defineProperties(Cn,{_activeElement:ht.activeElement});for(var On=HTMLElement.prototype.blur,Rn={blur:function(){var e=Y(this);(e=(e=e&&e.root)&&e.activeElement)?e.blur():On.call(this)}},Nn={},In=u(Object.getOwnPropertyNames(Document.prototype)),Dn=In.next();!Dn.done;Nn={H:Nn.H},Dn=In.next())Nn.H=Dn.value,"on"===Nn.H.substring(0,2)&&Object.defineProperty(Rn,Nn.H,{set:function(e){return function(t){var n=W(this),r=e.H.substring(2);n.Z[e.H]&&this.removeEventListener(r,n.Z[e.H]),this.addEventListener(r,t,{}),n.Z[e.H]=t}}(Nn),get:function(e){return function(){var t=Y(this);return t&&t.Z[e.H]}}(Nn),configurable:!0});var Pn={addEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.addEventListener(e,t,n)},removeEventListener:function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.na=this,this.host.removeEventListener(e,t,n)},getElementById:function(e){return Mt(this,(function(t){return t.id==e}),(function(e){return!!e}))[0]||null}};function Fn(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var i=n[r],o=Object.getOwnPropertyDescriptor(t,i);o.value?e[i]=o.value:Object.defineProperty(e,i,o)}}if(G.qa){var Ln={inUse:G.qa,patch:function(e){return vt(e),mt(e),e},isShadyRoot:$,enqueue:pe,flush:be,settings:G,filterMutations:function(e,t){var n=t.getRootNode();return e.map((function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=Array.from(e.addedNodes).filter((function(e){return n===e.getRootNode()}))).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e})).filter((function(e){return e}))},observeChildren:function(e,t){var n=W(e);n.S||(n.S=new me),n.S.ca.add(t);var r=n.S;return{Ia:t,P:r,Ka:e,takeRecords:function(){return r.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.P;t&&(t.ca.delete(e.Ia),t.ca.size||(W(e.Ka).S=null))},nativeMethods:Le,nativeTree:nt,deferConnectionCallbacks:G.deferConnectionCallbacks,handlesDynamicScoping:!0};window.ShadyDOM=Ln,function(){if(window.Event=Xt,window.CustomEvent=Qt,window.MouseEvent=$t,function(){for(var e in qt)window.addEventListener(e,(function(e){e.__target||(Zt(e),Wt(e))}),!0)}(),!Ft&&Object.getOwnPropertyDescriptor(Event.prototype,"isTrusted")){var e=function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.dispatchEvent(e)};Element.prototype.click?Element.prototype.click=e:HTMLElement.prototype.click&&(HTMLElement.prototype.click=e)}}();var jn=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;Fn(fn.prototype,Pn),Fn(window.Node.prototype,_n),Fn(window.Window.prototype,En),Fn(window.Text.prototype,kn),Fn(window.DocumentFragment.prototype,xn),Fn(window.Element.prototype,Tn),Fn(window.Document.prototype,Cn),window.HTMLSlotElement&&Fn(window.HTMLSlotElement.prototype,Mn),Fn(jn.prototype,Rn),G.K&&(bt(window.Node.prototype),bt(window.Text.prototype),bt(window.DocumentFragment.prototype),bt(window.Element.prototype),bt(jn.prototype),bt(window.Document.prototype),window.HTMLSlotElement&&bt(window.HTMLSlotElement.prototype)),function(){var e=fn.prototype;e.__proto__=DocumentFragment.prototype,pt(e,lt,!0),pt(e,ut,!0),pt(e,ht,!0),Object.defineProperties(e,{nodeType:{value:Node.DOCUMENT_FRAGMENT_NODE,configurable:!0},nodeName:{value:"#document-fragment",configurable:!0},nodeValue:{value:null,configurable:!0}}),["localName","namespaceURI","prefix"].forEach((function(t){Object.defineProperty(e,t,{value:void 0,configurable:!0})})),["ownerDocument","baseURI","isConnected"].forEach((function(t){Object.defineProperty(e,t,{get:function(){return this.host[t]},configurable:!0})}))}(),window.ShadowRoot=fn}var Bn=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function Un(e){var t=Bn.has(e);return e=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e),!t&&e}function zn(e){var t=e.isConnected;if(void 0!==t)return t;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function Hn(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function qn(e,t,n){n=void 0===n?new Set:n;for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var i=r;t(i);var o=i.localName;if("link"===o&&"import"===i.getAttribute("rel")){if((r=i.import)instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)qn(r,t,n);r=Hn(e,i);continue}if("template"===o){r=Hn(e,i);continue}if(i=i.__CE_shadowRoot)for(i=i.firstChild;i;i=i.nextSibling)qn(i,t,n)}r=r.firstChild?r.firstChild:Hn(e,r)}}function Vn(e,t,n){e[t]=n}function Kn(){this.a=new Map,this.m=new Map,this.f=[],this.c=!1}function Wn(e,t){e.c=!0,e.f.push(t)}function Yn(e,t){e.c&&qn(t,(function(t){return e.b(t)}))}function Gn(e,t){var n=[];for(qn(t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state?e.connectedCallback(r):Xn(e,r)}}function Jn(e,t){var n=[];for(qn(t,(function(e){return n.push(e)})),t=0;t<n.length;t++){var r=n[t];1===r.__CE_state&&e.disconnectedCallback(r)}}function Zn(e,t,n){var r=(n=void 0===n?{}:n).fb||new Set,i=n.ia||function(t){return Xn(e,t)},o=[];if(qn(t,(function(t){if("link"===t.localName&&"import"===t.getAttribute("rel")){var n=t.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:t.addEventListener("load",(function(){var n=t.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var o=new Set(r);o.delete(n),Zn(e,n,{fb:o,ia:i})}}))}else o.push(t)}),r),e.c)for(t=0;t<o.length;t++)e.b(o[t]);for(t=0;t<o.length;t++)i(o[t])}function Xn(e,t){if(void 0===t.__CE_state){var n=t.ownerDocument;if((n.defaultView||n.__CE_isImportDocument&&n.__CE_hasRegistry)&&(n=e.a.get(t.localName))){n.constructionStack.push(t);var r=n.constructor;try{try{if(new r!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{n.constructionStack.pop()}}catch(e){throw t.__CE_state=2,e}if(t.__CE_state=1,t.__CE_definition=n,n.attributeChangedCallback)for(n=n.observedAttributes,r=0;r<n.length;r++){var i=n[r],o=t.getAttribute(i);null!==o&&e.attributeChangedCallback(t,i,null,o,null)}zn(t)&&e.connectedCallback(t)}}}function Qn(e){var t=document;this.b=e,this.a=t,this.P=void 0,Zn(this.b,this.a),"loading"===this.a.readyState&&(this.P=new MutationObserver(this.c.bind(this)),this.P.observe(this.a,{childList:!0,subtree:!0}))}function $n(e){e.P&&e.P.disconnect()}function er(){var e=this;this.a=this.A=void 0,this.b=new Promise((function(t){e.a=t,e.A&&t(e.A)}))}function tr(e){this.c=!1,this.a=e,this.G=new Map,this.f=function(e){return e()},this.b=!1,this.m=[],this.fa=new Qn(e)}Kn.prototype.b=function(e){if(this.c&&!e.__CE_patched){e.__CE_patched=!0;for(var t=0;t<this.f.length;t++)this.f[t](e)}},Kn.prototype.connectedCallback=function(e){var t=e.__CE_definition;t.connectedCallback&&t.connectedCallback.call(e)},Kn.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;t.disconnectedCallback&&t.disconnectedCallback.call(e)},Kn.prototype.attributeChangedCallback=function(e,t,n,r,i){var o=e.__CE_definition;o.attributeChangedCallback&&-1<o.observedAttributes.indexOf(t)&&o.attributeChangedCallback.call(e,t,n,r,i)},Qn.prototype.c=function(e){var t=this.a.readyState;for("interactive"!==t&&"complete"!==t||$n(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)Zn(this.b,n[r])},er.prototype.resolve=function(e){if(this.A)throw Error("Already resolved.");this.A=e,this.a&&this.a(e)},(n=tr.prototype).define=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!Un(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(this.a.a.get(e))throw Error("A custom element with name '"+e+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var r=function(e){var t=i[e];if(void 0!==t&&!(t instanceof Function))throw Error("The '"+e+"' callback must be a function.");return t},i=t.prototype;if(!(i instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var o=r("connectedCallback"),a=r("disconnectedCallback"),s=r("adoptedCallback"),c=r("attributeChangedCallback"),l=t.observedAttributes||[]}catch(e){return}finally{this.c=!1}t={localName:e,constructor:t,connectedCallback:o,disconnectedCallback:a,adoptedCallback:s,attributeChangedCallback:c,observedAttributes:l,constructionStack:[]},function(e,t,n){e.a.set(t,n),e.m.set(n.constructor,n)}(this.a,e,t),this.m.push(t),this.b||(this.b=!0,this.f((function(){return function(e){if(!1!==e.b){e.b=!1;for(var t=e.m,n=[],r=new Map,i=0;i<t.length;i++)r.set(t[i].localName,[]);for(Zn(e.a,document,{ia:function(t){if(void 0===t.__CE_state){var i=t.localName,o=r.get(i);o?o.push(t):e.a.a.get(i)&&n.push(t)}}}),i=0;i<n.length;i++)Xn(e.a,n[i]);for(;0<t.length;){var o=t.shift();i=o.localName,o=r.get(o.localName);for(var a=0;a<o.length;a++)Xn(e.a,o[a]);(i=e.G.get(i))&&i.resolve(void 0)}}}(n)})))},n.ia=function(e){Zn(this.a,e)},n.get=function(e){if(e=this.a.a.get(e))return e.constructor},n.Ca=function(e){if(!Un(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.G.get(e);return t?t.b:(t=new er,this.G.set(e,t),this.a.a.get(e)&&!this.m.some((function(t){return t.localName===e}))&&t.resolve(void 0),t.b)},n.Ya=function(e){$n(this.fa);var t=this.f;this.f=function(n){return e((function(){return t(n)}))}},window.CustomElementRegistry=tr,tr.prototype.define=tr.prototype.define,tr.prototype.upgrade=tr.prototype.ia,tr.prototype.get=tr.prototype.get,tr.prototype.whenDefined=tr.prototype.Ca,tr.prototype.polyfillWrapFlushCallback=tr.prototype.Ya;var nr=window.Document.prototype.createElement,rr=window.Document.prototype.createElementNS,ir=window.Document.prototype.importNode,or=window.Document.prototype.prepend,ar=window.Document.prototype.append,sr=window.DocumentFragment.prototype.prepend,cr=window.DocumentFragment.prototype.append,lr=window.Node.prototype.cloneNode,fr=window.Node.prototype.appendChild,ur=window.Node.prototype.insertBefore,dr=window.Node.prototype.removeChild,hr=window.Node.prototype.replaceChild,pr=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),br=window.Element.prototype.attachShadow,mr=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),vr=window.Element.prototype.getAttribute,gr=window.Element.prototype.setAttribute,yr=window.Element.prototype.removeAttribute,wr=window.Element.prototype.getAttributeNS,Sr=window.Element.prototype.setAttributeNS,Ar=window.Element.prototype.removeAttributeNS,Er=window.Element.prototype.insertAdjacentElement,_r=window.Element.prototype.insertAdjacentHTML,kr=window.Element.prototype.prepend,xr=window.Element.prototype.append,Mr=window.Element.prototype.before,Tr=window.Element.prototype.after,Cr=window.Element.prototype.replaceWith,Or=window.Element.prototype.remove,Rr=window.HTMLElement,Nr=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Ir=window.HTMLElement.prototype.insertAdjacentElement,Dr=window.HTMLElement.prototype.insertAdjacentHTML,Pr=new function(){};function Fr(e,t,n){function r(t){return function(n){for(var r=[],i=0;i<arguments.length;++i)r[i]=arguments[i];i=[];for(var o=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&zn(s)&&o.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)i.push(s);else i.push(s)}for(t.apply(this,r),r=0;r<o.length;r++)Jn(e,o[r]);if(zn(this))for(r=0;r<i.length;r++)(o=i[r])instanceof Element&&Gn(e,o)}}void 0!==n.ha&&(t.prepend=r(n.ha)),void 0!==n.append&&(t.append=r(n.append))}var Lr=window.customElements;if(!Lr||Lr.forcePolyfill||"function"!=typeof Lr.define||"function"!=typeof Lr.get){var jr=new Kn;!function(){var e=jr;window.HTMLElement=function(){function t(){var t=this.constructor,n=e.m.get(t);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var r=n.constructionStack;if(0===r.length)return r=nr.call(document,n.localName),Object.setPrototypeOf(r,t.prototype),r.__CE_state=1,r.__CE_definition=n,e.b(r),r;var i=r[n=r.length-1];if(i===Pr)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return r[n]=Pr,Object.setPrototypeOf(i,t.prototype),e.b(i),i}return t.prototype=Rr.prototype,Object.defineProperty(t.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),t}()}(),function(){var e=jr;Vn(Document.prototype,"createElement",(function(t){if(this.__CE_hasRegistry){var n=e.a.get(t);if(n)return new n.constructor}return t=nr.call(this,t),e.b(t),t})),Vn(Document.prototype,"importNode",(function(t,n){return t=ir.call(this,t,n),this.__CE_hasRegistry?Zn(e,t):Yn(e,t),t})),Vn(Document.prototype,"createElementNS",(function(t,n){if(this.__CE_hasRegistry&&(null===t||"http://www.w3.org/1999/xhtml"===t)){var r=e.a.get(n);if(r)return new r.constructor}return t=rr.call(this,t,n),e.b(t),t})),Fr(e,Document.prototype,{ha:or,append:ar})}(),Fr(jr,DocumentFragment.prototype,{ha:sr,append:cr}),function(){function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var r=void 0;if(this.firstChild){var i=this.childNodes,o=i.length;if(0<o&&zn(this)){r=Array(o);for(var a=0;a<o;a++)r[a]=i[a]}}if(n.set.call(this,e),r)for(e=0;e<r.length;e++)Jn(t,r[e])}}})}var t=jr;Vn(Node.prototype,"insertBefore",(function(e,n){if(e instanceof DocumentFragment){var r=Array.prototype.slice.apply(e.childNodes);if(e=ur.call(this,e,n),zn(this))for(n=0;n<r.length;n++)Gn(t,r[n]);return e}return r=zn(e),n=ur.call(this,e,n),r&&Jn(t,e),zn(this)&&Gn(t,e),n})),Vn(Node.prototype,"appendChild",(function(e){if(e instanceof DocumentFragment){var n=Array.prototype.slice.apply(e.childNodes);if(e=fr.call(this,e),zn(this))for(var r=0;r<n.length;r++)Gn(t,n[r]);return e}return n=zn(e),r=fr.call(this,e),n&&Jn(t,e),zn(this)&&Gn(t,e),r})),Vn(Node.prototype,"cloneNode",(function(e){return e=lr.call(this,e),this.ownerDocument.__CE_hasRegistry?Zn(t,e):Yn(t,e),e})),Vn(Node.prototype,"removeChild",(function(e){var n=zn(e),r=dr.call(this,e);return n&&Jn(t,e),r})),Vn(Node.prototype,"replaceChild",(function(e,n){if(e instanceof DocumentFragment){var r=Array.prototype.slice.apply(e.childNodes);if(e=hr.call(this,e,n),zn(this))for(Jn(t,n),n=0;n<r.length;n++)Gn(t,r[n]);return e}r=zn(e);var i=hr.call(this,e,n),o=zn(this);return o&&Jn(t,n),r&&Jn(t,e),o&&Gn(t,e),i})),pr&&pr.get?e(Node.prototype,pr):Wn(t,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var e=[],t=0;t<this.childNodes.length;t++)e.push(this.childNodes[t].textContent);return e.join("")},set:function(e){for(;this.firstChild;)dr.call(this,this.firstChild);fr.call(this,document.createTextNode(e))}})}))}(),function(){function e(e,t){Object.defineProperty(e,"innerHTML",{enumerable:t.enumerable,configurable:!0,get:t.get,set:function(e){var n=this,i=void 0;if(zn(this)&&(i=[],qn(this,(function(e){e!==n&&i.push(e)}))),t.set.call(this,e),i)for(var o=0;o<i.length;o++){var a=i[o];1===a.__CE_state&&r.disconnectedCallback(a)}return this.ownerDocument.__CE_hasRegistry?Zn(r,this):Yn(r,this),e}})}function t(e,t){Vn(e,"insertAdjacentElement",(function(e,n){var i=zn(n);return e=t.call(this,e,n),i&&Jn(r,n),zn(e)&&Gn(r,n),e}))}function n(e,t){function n(e,t){for(var n=[];e!==t;e=e.nextSibling)n.push(e);for(t=0;t<n.length;t++)Zn(r,n[t])}Vn(e,"insertAdjacentHTML",(function(e,r){if("beforebegin"===(e=e.toLowerCase())){var i=this.previousSibling;t.call(this,e,r),n(i||this.parentNode.firstChild,this)}else if("afterbegin"===e)i=this.firstChild,t.call(this,e,r),n(this.firstChild,i);else if("beforeend"===e)i=this.lastChild,t.call(this,e,r),n(i||this.firstChild,null);else{if("afterend"!==e)throw new SyntaxError("The value provided ("+String(e)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");i=this.nextSibling,t.call(this,e,r),n(this.nextSibling,i)}}))}var r=jr;br&&Vn(Element.prototype,"attachShadow",(function(e){return this.__CE_shadowRoot=br.call(this,e)})),mr&&mr.get?e(Element.prototype,mr):Nr&&Nr.get?e(HTMLElement.prototype,Nr):Wn(r,(function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return lr.call(this,!0).innerHTML},set:function(e){var t="template"===this.localName,n=t?this.content:this,r=rr.call(document,this.namespaceURI,this.localName);for(r.innerHTML=e;0<n.childNodes.length;)dr.call(n,n.childNodes[0]);for(e=t?r.content:r;0<e.childNodes.length;)fr.call(n,e.childNodes[0])}})})),Vn(Element.prototype,"setAttribute",(function(e,t){if(1!==this.__CE_state)return gr.call(this,e,t);var n=vr.call(this,e);gr.call(this,e,t),t=vr.call(this,e),r.attributeChangedCallback(this,e,n,t,null)})),Vn(Element.prototype,"setAttributeNS",(function(e,t,n){if(1!==this.__CE_state)return Sr.call(this,e,t,n);var i=wr.call(this,e,t);Sr.call(this,e,t,n),n=wr.call(this,e,t),r.attributeChangedCallback(this,t,i,n,e)})),Vn(Element.prototype,"removeAttribute",(function(e){if(1!==this.__CE_state)return yr.call(this,e);var t=vr.call(this,e);yr.call(this,e),null!==t&&r.attributeChangedCallback(this,e,t,null,null)})),Vn(Element.prototype,"removeAttributeNS",(function(e,t){if(1!==this.__CE_state)return Ar.call(this,e,t);var n=wr.call(this,e,t);Ar.call(this,e,t);var i=wr.call(this,e,t);n!==i&&r.attributeChangedCallback(this,t,n,i,e)})),Ir?t(HTMLElement.prototype,Ir):Er?t(Element.prototype,Er):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),Dr?n(HTMLElement.prototype,Dr):_r?n(Element.prototype,_r):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),Fr(r,Element.prototype,{ha:kr,append:xr}),function(e){function t(t){return function(n){for(var r=[],i=0;i<arguments.length;++i)r[i]=arguments[i];i=[];for(var o=[],a=0;a<r.length;a++){var s=r[a];if(s instanceof Element&&zn(s)&&o.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)i.push(s);else i.push(s)}for(t.apply(this,r),r=0;r<o.length;r++)Jn(e,o[r]);if(zn(this))for(r=0;r<i.length;r++)(o=i[r])instanceof Element&&Gn(e,o)}}var n=Element.prototype;void 0!==Mr&&(n.before=t(Mr)),void 0!==Mr&&(n.after=t(Tr)),void 0!==Cr&&Vn(n,"replaceWith",(function(t){for(var n=[],r=0;r<arguments.length;++r)n[r]=arguments[r];r=[];for(var i=[],o=0;o<n.length;o++){var a=n[o];if(a instanceof Element&&zn(a)&&i.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)r.push(a);else r.push(a)}for(o=zn(this),Cr.apply(this,n),n=0;n<i.length;n++)Jn(e,i[n]);if(o)for(Jn(e,this),n=0;n<r.length;n++)(i=r[n])instanceof Element&&Gn(e,i)})),void 0!==Or&&Vn(n,"remove",(function(){var t=zn(this);Or.call(this),t&&Jn(e,this)}))}(r)}(),document.__CE_hasRegistry=!0;var Br=new tr(jr);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Br})}function Ur(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function zr(e){var t=Hr,n=e=e.replace(Gr,"").replace(Jr,""),r=new Ur;r.start=0,r.end=n.length;for(var i=r,o=0,a=n.length;o<a;o++)if("{"===n[o]){i.rules||(i.rules=[]);var s=i,c=s.rules[s.rules.length-1]||null;(i=new Ur).start=o+1,i.parent=s,i.previous=c,s.rules.push(i)}else"}"===n[o]&&(i.end=o+1,i=i.parent||r);return t(r,e)}function Hr(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=(n=(n=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e}))}(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1))).replace(ti," ")).substring(n.lastIndexOf(";")+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=0===n.indexOf("@"),e.atRule?0===n.indexOf("@media")?e.type=Wr:n.match(ei)&&(e.type=Kr,e.keyframesName=e.selector.split(ti).pop()):e.type=0===n.indexOf("--")?Yr:Vr),n=e.rules)for(var r=0,i=n.length,o=void 0;r<i&&(o=n[r]);r++)Hr(o,t);return e}var qr,Vr=1,Kr=7,Wr=4,Yr=1e3,Gr=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,Jr=/@import[^;]*;/gim,Zr=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,Xr=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,Qr=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,$r=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,ei=/^@[^\s]*keyframes/,ti=/\s+/g,ni=!(window.ShadyDOM&&window.ShadyDOM.inUse);function ri(e){qr=(!e||!e.shimcssproperties)&&(ni||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?qr=window.ShadyCSS.nativeCss:window.ShadyCSS?(ri(window.ShadyCSS),window.ShadyCSS=void 0):ri(window.WebComponents&&window.WebComponents.flags);var ii=qr,oi=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,ai=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,si=/(--[\w-]+)\s*([:,;)]|$)/gi,ci=/(animation\s*:)|(animation-name\s*:)/,li=/@media\s(.*)/,fi=/\{[^}]*\}/g,ui=new Set;function di(e,t){return e?("string"==typeof e&&(e=zr(e)),t&&bi(e,t),function e(t,n,r){r=void 0===r?"":r;var i="";if(t.cssText||t.rules){var o,a=t.rules;if((o=a)&&(o=!((o=a[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var s=a.length,c=void 0;o<s&&(c=a[o]);o++)i=e(c,n,i)}else n?n=t.cssText:n=(n=(n=t.cssText).replace(Zr,"").replace(Xr,"")).replace(Qr,"").replace($r,""),(i=n.trim())&&(i="  "+i+"\n")}return i&&(t.selector&&(r+=t.selector+" {\n"),r+=i,t.selector&&(r+="}\n\n")),r}(e,ii)):""}function hi(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=zr(e.textContent)),e.__cssRules||null}function pi(e){return!!e.parent&&e.parent.type===Kr}function bi(e,t,n,r){if(e){var i=!1,o=e.type;if(r&&o===Wr){var a=e.selector.match(li);a&&(window.matchMedia(a[1]).matches||(i=!0))}if(o===Vr?t(e):n&&o===Kr?n(e):o===Yr&&(i=!0),(e=e.rules)&&!i)for(i=0,o=e.length,a=void 0;i<o&&(a=e[i]);i++)bi(a,t,n,r)}}function mi(e,t,n,r){var i=document.createElement("style");return t&&i.setAttribute("scope",t),i.textContent=e,yi(i,n,r),i}var vi=null;function gi(e){e=document.createComment(" Shady DOM styles for "+e+" ");var t=document.head;return t.insertBefore(e,(vi?vi.nextSibling:null)||t.firstChild),vi=e}function yi(e,t,n){(t=t||document.head).insertBefore(e,n&&n.nextSibling||t.firstChild),vi?e.compareDocumentPosition(vi)===Node.DOCUMENT_POSITION_PRECEDING&&(vi=e):vi=e}function wi(e,t){for(var n=0,r=e.length;t<r;t++)if("("===e[t])n++;else if(")"===e[t]&&0==--n)return t;return-1}function Si(e,t){ni?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}function Ai(e){var t=e.localName,n="";return t?-1<t.indexOf("-")||(n=t,t=e.getAttribute&&e.getAttribute("is")||""):(t=e.is,n=e.extends),{is:t,X:n}}function Ei(e){for(var t=[],n="",r=0;0<=r&&r<e.length;r++)if("("===e[r]){var i=wi(e,r);n+=e.slice(r,i+1),r=i}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function _i(e){if(void 0===e.ja){var t=e.getAttribute("css-build");if(t)e.ja=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.ja=t}}return e.ja||""}function ki(){}function xi(e,t,n){if(t.nodeType===Node.ELEMENT_NODE&&n(t),t="template"===t.localName?(t.content||t.kb||t).childNodes:t.children||t.childNodes)for(var r=0;r<t.length;r++)xi(e,t[r],n)}function Mi(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute(Zi);n?r&&Si(e,t=r.replace("style-scope","").replace(t,"")):Si(e,(r?r+" ":"")+"style-scope "+t)}}function Ti(e,t,n){xi($i,e,(function(e){Mi(e,t,!0),Mi(e,n)}))}function Ci(e,t){xi($i,e,(function(e){Mi(e,t||"",!0)}))}function Oi(e,t,n,r){var i=$i;return ni||"shady"===(void 0===r?"":r)?t=di(t,n):t=function(e,t,n,r,i){var o=Ri(n,r);return n=n?Gi+n:"",di(t,(function(t){t.c||(t.selector=t.F=Ni(e,t,e.b,n,o),t.c=!0),i&&i(t,n,o)}))}(i,t,(e=Ai(e)).is,e.X,n)+"\n\n",t.trim()}function Ri(e,t){return t?"[is="+e+"]":e}function Ni(e,t,n,r,i){var o=Ei(t.selector);if(!pi(t)){t=0;for(var a=o.length,s=void 0;t<a&&(s=o[t]);t++)o[t]=n.call(e,s,r,i)}return o.filter((function(e){return!!e})).join(ji)}function Ii(e){return e.replace(Fi,(function(e,t,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+t+"("+n+")"}))}function Di(e,t){return(e=e.split(Ji))[0]+=t,e.join(Ji)}function Pi(e){e.selector===Hi&&(e.selector="html")}ki.prototype.b=function(e,t,n){var r=!1;e=e.trim();var i=Fi.test(e);i&&(e=Ii(e=e.replace(Fi,(function(e,t,n){return":"+t+"("+n.replace(/\s/g,"")+")"}))));var o=Qi.test(e);if(o){var a=function(e){for(var t,n=[];t=e.match(Qi);){var r=t.index,i=wi(e,r);if(-1===i)throw Error(t.input+" selector missing ')'");t=e.slice(r,i+1),e=e.replace(t,""),n.push(t)}return{sa:e,matches:n}}(e);e=a.sa,a=a.matches}return e=(e=e.replace(Vi,zi+" $1")).replace(Bi,(function(e,i,o){return r||(e=function(e,t,n,r){var i=e.indexOf(qi);if(0<=e.indexOf(zi)?e=function(e,t){var n=e.match(Ki);return(n=n&&n[2].trim()||"")?n[0].match(Ui)?e.replace(Ki,(function(e,n,r){return t+r})):n.split(Ui)[0]===t?n:Xi:e.replace(zi,t)}(e,r):0!==i&&(e=n?Di(e,n):e),n=!1,0<=i&&(t="",n=!0),n){var o=!0;n&&(e=e.replace(Wi,(function(e,t){return" > "+t})))}return{value:e=e.replace(Yi,(function(e,t,n){return'[dir="'+n+'"] '+t+", "+t+'[dir="'+n+'"]'})),Oa:t,stop:o}}(o,i,t,n),r=r||e.stop,i=e.Oa,o=e.value),i+o})),o&&(e=function(e,t){var n=e.split("");return t.reduce((function(e,t,r){return e+t+n[r+1]}),n[0])}(e,a)),i&&(e=Ii(e)),e},ki.prototype.c=function(e){return e.match(zi)?"":e.match(qi)?this.b(e,Li):Di(e.trim(),Li)},i.Object.defineProperties(ki.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Fi=/:(nth[-\w]+)\(([^)]+)\)/,Li=":not(.style-scope)",ji=",",Bi=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,Ui=/[[.:#*]/,zi=":host",Hi=":root",qi="::slotted",Vi=new RegExp("^("+qi+")"),Ki=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Wi=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Yi=/(.*):dir\((?:(ltr|rtl))\)/,Gi=".",Ji=":",Zi="class",Xi="should_not_match",Qi=/:(?:matches|any|-(?:webkit|moz)-any)/,$i=new ki;function eo(e,t,n,r,i){this.M=e||null,this.b=t||null,this.c=n||[],this.T=null,this.da=i||"",this.X=r||"",this.a=this.I=this.O=null}function to(e){return e?e.__styleInfo:null}function no(e,t){return e.__styleInfo=t}function ro(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}eo.prototype.f=function(){return this.M},eo.prototype._getStyleRules=eo.prototype.f;var io=navigator.userAgent.match("Trident");function oo(){}function ao(e){if(!e.B){var t={},n={};so(e,n)&&(t.L=n,e.rules=null),t.cssText=e.parsedCssText.replace(fi,"").replace(oi,""),e.B=t}}function so(e,t){var n=e.B;if(!n){n=e.parsedCssText;for(var r;e=oi.exec(n);)"inherit"===(r=(e[2]||e[3]).trim())&&"unset"===r||(t[e[1].trim()]=r),r=!0;return r}if(n.L)return Object.assign(t,n.L),!0}function co(e,t,n){return t&&(t=0<=t.indexOf(";")?lo(e,t,n):function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var i=wi(t,r+3),o=t.substring(r+4,i);return r=t.substring(0,r),t=e(t.substring(i+1),n),-1===(i=o.indexOf(","))?n(r,o.trim(),"",t):n(r,o.substring(0,i).trim(),o.substring(i+1).trim(),t)}(t,(function(t,r,i,o){return r?((r=co(e,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=co(e,n[i]||i,n)||i,t+(r||"")+o):t+o}))),t&&t.trim()||""}function lo(e,t,n){t=t.split(";");for(var r,i,o=0;o<t.length;o++)if(r=t[o]){if(ai.lastIndex=0,i=ai.exec(r))r=co(e,n[i[1]],n);else if(-1!==(i=r.indexOf(":"))){var a=r.substring(i);a=co(e,a=a.trim(),n)||a,r=r.substring(0,i)+a}t[o]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return t.join(";")}function fo(e,t,n){var r={},i={};return bi(t,(function(t){!function(e,t,n,r){if(t.B||ao(t),t.B.L){var i=Ai(e);e=i.is,i=i.X,i=e?Ri(e,i):"html";var o=t.parsedSelector,a=":host > *"===o||"html"===o,s=0===o.indexOf(":host")&&!a;"shady"===n&&(s=!(a=o===i+" > *."+i||-1!==o.indexOf("html"))&&0===o.indexOf(i)),(a||s)&&(n=i,s&&(t.F||(t.F=Ni($i,t,$i.b,e?Gi+e:"",i)),n=t.F||i),r({sa:n,Va:s,vb:a}))}}(e,t,n,(function(n){ro.call(e.lb||e,n.sa)&&(n.Va?so(t,r):so(t,i))}))}),null,!0),{Za:i,Ta:r}}function uo(e,t,n,r){var i=Ai(t),o=Ri(i.is,i.X),a=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+o.slice(0,-1)+"\\]":o)+"($|[.:[\\s>+~])"),s=to(t);i=s.M,s=s.da;var c=function(e,t){e=e.b;var n={};if(!ni&&e)for(var r=0,i=e[r];r<e.length;i=e[++r]){var o=i,a=t;o.f=new RegExp("\\b"+o.keyframesName+"(?!\\B|-)","g"),o.a=o.keyframesName+"-"+a,o.F=o.F||o.selector,o.selector=o.F.replace(o.keyframesName,o.a),n[i.keyframesName]=ho(i)}return n}(i,r);return Oi(t,i,(function(t){var i="";if(t.B||ao(t),t.B.cssText&&(i=lo(e,t.B.cssText,n)),t.cssText=i,!ni&&!pi(t)&&t.cssText){var s=i=t.cssText;if(null==t.xa&&(t.xa=ci.test(i)),t.xa)if(null==t.ga)for(var l in t.ga=[],c)i!==(s=(s=c[l])(i))&&(i=s,t.ga.push(l));else{for(l=0;l<t.ga.length;++l)i=(s=c[t.ga[l]])(i);s=i}t.cssText=s,t.F=t.F||t.selector,i="."+r,s=0;for(var f=(l=Ei(t.F)).length,u=void 0;s<f&&(u=l[s]);s++)l[s]=u.match(a)?u.replace(o,i):i+" "+u;t.selector=l.join(",")}}),s)}function ho(e){return function(t){return t.replace(e.f,e.a)}}function po(e,t){var n=bo,r=hi(e);e.textContent=di(r,(function(e){var r=e.cssText=e.parsedCssText;e.B&&e.B.cssText&&(r=r.replace(Zr,"").replace(Xr,""),e.cssText=lo(n,r,t))}))}i.Object.defineProperties(oo.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var bo=new oo,mo={},vo=window.customElements;if(vo&&!ni){var go=vo.define;vo.define=function(e,t,n){mo[e]||(mo[e]=gi(e)),go.call(vo,e,t,n)}}function yo(){this.cache={}}function wo(){}function So(e){var t=[];return e.classList?t=Array.from(e.classList):e instanceof window.SVGElement&&e.hasAttribute("class")&&(t=e.getAttribute("class").split(/\s+/)),-1<(t=(e=t).indexOf($i.a))?e[t+1]:""}function Ao(e){var t=e.getRootNode();return t===e||t===e.ownerDocument?"":(e=t.host)?Ai(e).is:""}function Eo(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var i=n.addedNodes[r];if(i.nodeType===Node.ELEMENT_NODE){var o=i.getRootNode(),a=So(i);if(a&&o===i.ownerDocument&&("style"!==i.localName&&"template"!==i.localName||""===_i(i)))Ci(i,a);else if(o instanceof ShadowRoot)for((o=Ao(i))!==a&&Ti(i,a,o),i=window.ShadyDOM.nativeMethods.querySelectorAll.call(i,":not(."+$i.a+")"),a=0;a<i.length;a++){var s=Ao(o=i[a]);s&&Mi(o,s)}}}}}if(yo.prototype.store=function(e,t,n,r){var i=this.cache[e]||[];i.push({L:t,styleElement:n,I:r}),100<i.length&&i.shift(),this.cache[e]=i},yo.prototype.fetch=function(e,t,n){if(e=this.cache[e])for(var r=e.length-1;0<=r;r--){var i,o=e[r];e:{for(i=0;i<n.length;i++){var a=n[i];if(o.L[a]!==t[a]){i=!1;break e}}i=!0}if(i)return o}},!(ni||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var _o=new MutationObserver(Eo),ko=function(e){_o.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)ko(document);else{var xo=function(){ko(document.body)};window.HTMLImports?window.HTMLImports.whenReady(xo):requestAnimationFrame((function(){if("loading"===document.readyState){var e=function(){xo(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else xo()}))}wo=function(){Eo(_o.takeRecords())}}var Mo=wo,To={},Co=Promise.resolve();function Oo(e){(e=To[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function Ro(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var No=new yo;function Io(){this.G={},this.c=document.documentElement;var e=new Ur;e.rules=[],this.f=no(this.c,new eo(e)),this.m=!1,this.b=this.a=null}function Do(e){!e.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(e.a=window.ShadyCSS.ApplyShim,e.a.invalidCallback=Oo),function(e){!e.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.b=window.ShadyCSS.CustomStyleInterface,e.b.transformCallback=function(t){e.Aa(t)},e.b.validateCallback=function(){requestAnimationFrame((function(){(e.b.enqueued||e.m)&&e.flushCustomStyles()}))})}(e)}function Po(e,t){return(t=t.getRootNode().host)?to(t)?t:Po(e,t):e.c}function Fo(e,t,n){var r=to(e=Po(e,t));e=Object.create(r.O||null);var i=fo(t,n.M,n.da);for(var o in t=function(e,t){var n={},r=[];return bi(e,(function(e){e.B||ao(e);var i=e.F||e.parsedSelector;t&&e.B.L&&i&&ro.call(t,i)&&(so(e,n),e=e.index,i=parseInt(e/32,10),r[i]=(r[i]||0)|1<<e%32)}),null,!0),{L:n,key:r}}(r.M,t).L,Object.assign(e,i.Ta,t,i.Za),t=n.T)((i=t[o])||0===i)&&(e[o]=i);for(o=bo,t=Object.getOwnPropertyNames(e),i=0;i<t.length;i++)e[r=t[i]]=co(o,e[r],e);n.O=e}(n=Io.prototype).flush=function(){Mo()},n.Ra=function(e){return hi(e)},n.cb=function(e){return di(e)},n.prepareTemplate=function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)},n.prepareTemplateStyles=function(e,t,n){if(!e.m){ni||mo[t]||(mo[t]=gi(t)),e.m=!0,e.name=t,e.extends=n,To[t]=e;for(var r=_i(e),i=[],o=e.content.querySelectorAll("style"),a=0;a<o.length;a++){var s=o[a];if(s.hasAttribute("shady-unscoped")){if(!ni){var c=s.textContent;ui.has(c)||(ui.add(c),c=s.cloneNode(!0),document.head.appendChild(c)),s.parentNode.removeChild(s)}}else i.push(s.textContent),s.parentNode.removeChild(s)}i=i.join("").trim(),n={is:t,extends:n},Do(this),(o=""===_i(e))&&(o=ai.test(i)||oi.test(i),ai.lastIndex=0,oi.lastIndex=0),i=zr(i),o&&ii&&this.a&&this.a.transformRules(i,t),e._styleAst=i,i=[],ii||(i=function(e){var t={},n=[],r=0;for(var i in bi(e,(function(e){ao(e),e.index=r++,e=e.B.cssText;for(var n;n=si.exec(e);){var i=n[1];":"!==n[2]&&(t[i]=!0)}}),(function(e){n.push(e)})),e.b=n,e=[],t)e.push(i);return e}(e._styleAst)),i.length&&!ii||(o=ni?e.content:null,t=mo[t]||null,r=(r=Oi(n,e._styleAst,null,r)).length?mi(r,n.is,o,t):void 0,e.a=r),e.f=i}},n.prepareTemplateDom=function(e,t){var n=_i(e);ni||"shady"===n||e.c||(e.c=!0,function(e,t){xi($i,e,(function(e){Mi(e,t||"")}))}(e.content,t))},n.flushCustomStyles=function(){if(Do(this),this.b){var e=this.b.processStyles();if(this.b.enqueued){if(ii)for(var t=0;t<e.length;t++){var n=this.b.getStyleForCustomStyle(e[t]);if(n&&ii&&this.a){var r=hi(n);Do(this),this.a.transformRules(r),n.textContent=di(r)}}else for(Fo(this,this.c,this.f),t=0;t<e.length;t++)(n=this.b.getStyleForCustomStyle(e[t]))&&po(n,this.f.O);this.b.enqueued=!1,this.m&&!ii&&this.styleDocument()}}},n.styleElement=function(e,t){var n=to(e);if(!n){var r=Ai(e);n=r.is,r=r.X;var i=mo[n]||null;if(n=To[n])var o=n._styleAst,a=n.f,s=_i(n);o=new eo(o,i,a,r,s),n&&no(e,o),n=o}if(e!==this.c&&(this.m=!0),t&&(n.T=n.T||{},Object.assign(n.T,t)),ii){if(t=n,o=Ai(e).is,t.T)for(var c in a=t.T)null===c?e.style.removeProperty(c):e.style.setProperty(c,a[c]);!(c=To[o])&&e!==this.c||c&&""!==_i(c)||!c||!c.a||Ro(c)||((Ro(c)||c._applyShimValidatingVersion!==c._applyShimNextVersion)&&(Do(this),this.a&&this.a.transformRules(c._styleAst,o),c.a.textContent=Oi(e,t.M),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e.b||(e.b=!0,Co.then((function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e.b=!1})))}(c)),ni&&(o=e.shadowRoot)&&(o=o.querySelector("style"))&&(o.textContent=Oi(e,t.M)),t.M=c._styleAst)}else if(c=n,this.flush(),Fo(this,e,c),c.c&&c.c.length){t=Ai(e).is,n=(o=No.fetch(t,c.O,c.c))?o.styleElement:null,a=c.I,(s=o&&o.I)||(s=t+"-"+(s=this.G[t]=(this.G[t]||0)+1)),c.I=s,s=c.I,r=bo,r=n?n.textContent||"":uo(r,e,c.O,s);var l=(i=to(e)).a;l&&!ni&&l!==n&&(l._useCount--,0>=l._useCount&&l.parentNode&&l.parentNode.removeChild(l)),ni?i.a?(i.a.textContent=r,n=i.a):r&&(n=mi(r,s,e.shadowRoot,i.b)):n?n.parentNode||(io&&-1<r.indexOf("@media")&&(n.textContent=r),yi(n,null,i.b)):r&&(n=mi(r,s,null,i.b)),n&&(n._useCount=n._useCount||0,i.a!=n&&n._useCount++,i.a=n),s=n,ni||(n=c.I,i=r=e.getAttribute("class")||"",a&&(i=r.replace(new RegExp("\\s*x-scope\\s*"+a+"\\s*","g")," ")),r!==(i+=(i?" ":"")+"x-scope "+n)&&Si(e,i)),o||No.store(t,c.O,s,c.I)}},n.styleDocument=function(e){this.styleSubtree(this.c,e)},n.styleSubtree=function(e,t){var n=e.shadowRoot;if((n||e===this.c)&&this.styleElement(e,t),t=n&&(n.children||n.childNodes))for(e=0;e<t.length;e++)this.styleSubtree(t[e]);else if(e=e.children||e.childNodes)for(t=0;t<e.length;t++)this.styleSubtree(e[t])},n.Aa=function(e){var t=this,n=hi(e),r=_i(e);r!==this.f.da&&(this.f.da=r),bi(n,(function(e){if(ni)Pi(e);else{var n=$i;e.selector=e.parsedSelector,Pi(e),e.selector=e.F=Ni(n,e,n.c,void 0,void 0)}ii&&""===r&&(Do(t),t.a&&t.a.transformRule(e))})),ii?e.textContent=di(n):this.f.M.rules.push(n)},n.getComputedStyleValue=function(e,t){var n;return ii||(n=(to(e)||to(Po(this,e))).O[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""},n.bb=function(e,t){var n=e.getRootNode();if(t=t?t.split(/\s/):[],!(n=n.host&&n.host.localName)){var r=e.getAttribute("class");if(r){r=r.split(/\s/);for(var i=0;i<r.length;i++)if(r[i]===$i.a){n=r[i+1];break}}}n&&t.push($i.a,n),ii||(n=to(e))&&n.I&&t.push(bo.a,n.I),Si(e,t.join(" "))},n.La=function(e){return to(e)},n.ab=function(e,t){Mi(e,t)},n.eb=function(e,t){Mi(e,t,!0)},n.$a=function(e){return Ao(e)},n.Pa=function(e){return So(e)},Io.prototype.flush=Io.prototype.flush,Io.prototype.prepareTemplate=Io.prototype.prepareTemplate,Io.prototype.styleElement=Io.prototype.styleElement,Io.prototype.styleDocument=Io.prototype.styleDocument,Io.prototype.styleSubtree=Io.prototype.styleSubtree,Io.prototype.getComputedStyleValue=Io.prototype.getComputedStyleValue,Io.prototype.setElementClass=Io.prototype.bb,Io.prototype._styleInfoForNode=Io.prototype.La,Io.prototype.transformCustomStyleForDocument=Io.prototype.Aa,Io.prototype.getStyleAst=Io.prototype.Ra,Io.prototype.styleAstToString=Io.prototype.cb,Io.prototype.flushCustomStyles=Io.prototype.flushCustomStyles,Io.prototype.scopeNode=Io.prototype.ab,Io.prototype.unscopeNode=Io.prototype.eb,Io.prototype.scopeForNode=Io.prototype.$a,Io.prototype.currentScopeForNode=Io.prototype.Pa,Object.defineProperties(Io.prototype,{nativeShadow:{get:function(){return ni}},nativeCss:{get:function(){return ii}}});var Lo,jo,Bo=new Io;window.ShadyCSS&&(Lo=window.ShadyCSS.ApplyShim,jo=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Bo,prepareTemplate:function(e,t,n){Bo.flushCustomStyles(),Bo.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){Bo.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){Bo.flushCustomStyles(),Bo.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){Bo.flushCustomStyles(),Bo.styleSubtree(e,t)},styleElement:function(e){Bo.flushCustomStyles(),Bo.styleElement(e)},styleDocument:function(e){Bo.flushCustomStyles(),Bo.styleDocument(e)},flushCustomStyles:function(){Bo.flushCustomStyles()},getComputedStyleValue:function(e,t){return Bo.getComputedStyleValue(e,t)},nativeCss:ii,nativeShadow:ni},Lo&&(window.ShadyCSS.ApplyShim=Lo),jo&&(window.ShadyCSS.CustomStyleInterface=jo),function(e){function t(e){return""==e&&(o.call(this),this.i=!0),e.toLowerCase()}function n(e){var t=e.charCodeAt(0);return 32<t&&127>t&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function r(e){var t=e.charCodeAt(0);return 32<t&&127>t&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function i(e,i,a){function s(e){v.push(e)}var c=i||"scheme start",h=0,p="",b=!1,m=!1,v=[];e:for(;(null!=e[h-1]||0==h)&&!this.i;){var g=e[h];switch(c){case"scheme start":if(!g||!u.test(g)){if(i){s("Invalid scheme.");break e}p="",c="no scheme";continue}p+=g.toLowerCase(),c="scheme";break;case"scheme":if(g&&d.test(g))p+=g.toLowerCase();else{if(":"!=g){if(i){null!=g&&s("Code point not allowed in scheme: "+g);break e}p="",h=0,c="no scheme";continue}if(this.h=p,p="",i)break e;void 0!==l[this.h]&&(this.D=!0),c="file"==this.h?"relative":this.D&&a&&a.h==this.h?"relative or authority":this.D?"authority first slash":"scheme data"}break;case"scheme data":"?"==g?(this.u="?",c="query"):"#"==g?(this.C="#",c="fragment"):null!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this.pa+=n(g));break;case"no scheme":if(a&&void 0!==l[a.h]){c="relative";continue}s("Missing scheme."),o.call(this),this.i=!0;break;case"relative or authority":if("/"!=g||"/"!=e[h+1]){s("Expected /, got: "+g),c="relative";continue}c="authority ignore slashes";break;case"relative":if(this.D=!0,"file"!=this.h&&(this.h=a.h),null==g){this.j=a.j,this.s=a.s,this.l=a.l.slice(),this.u=a.u,this.v=a.v,this.g=a.g;break e}if("/"==g||"\\"==g)"\\"==g&&s("\\ is an invalid code point."),c="relative slash";else if("?"==g)this.j=a.j,this.s=a.s,this.l=a.l.slice(),this.u="?",this.v=a.v,this.g=a.g,c="query";else{if("#"!=g){c=e[h+1];var y=e[h+2];("file"!=this.h||!u.test(g)||":"!=c&&"|"!=c||null!=y&&"/"!=y&&"\\"!=y&&"?"!=y&&"#"!=y)&&(this.j=a.j,this.s=a.s,this.v=a.v,this.g=a.g,this.l=a.l.slice(),this.l.pop()),c="relative path";continue}this.j=a.j,this.s=a.s,this.l=a.l.slice(),this.u=a.u,this.C="#",this.v=a.v,this.g=a.g,c="fragment"}break;case"relative slash":if("/"!=g&&"\\"!=g){"file"!=this.h&&(this.j=a.j,this.s=a.s,this.v=a.v,this.g=a.g),c="relative path";continue}"\\"==g&&s("\\ is an invalid code point."),c="file"==this.h?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=g){s("Expected '/', got: "+g),c="authority ignore slashes";continue}c="authority second slash";break;case"authority second slash":if(c="authority ignore slashes","/"!=g){s("Expected '/', got: "+g);continue}break;case"authority ignore slashes":if("/"!=g&&"\\"!=g){c="authority";continue}s("Expected authority, got: "+g);break;case"authority":if("@"==g){for(b&&(s("@ already seen."),p+="%40"),b=!0,g=0;g<p.length;g++)"\t"==(y=p[g])||"\n"==y||"\r"==y?s("Invalid whitespace in authority."):":"==y&&null===this.g?this.g="":(y=n(y),null!==this.g?this.g+=y:this.v+=y);p=""}else{if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g){h-=p.length,p="",c="host";continue}p+=g}break;case"file host":if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g){2!=p.length||!u.test(p[0])||":"!=p[1]&&"|"!=p[1]?(0!=p.length&&(this.j=t.call(this,p),p=""),c="relative path start"):c="relative path";continue}"\t"==g||"\n"==g||"\r"==g?s("Invalid whitespace in file host."):p+=g;break;case"host":case"hostname":if(":"!=g||m){if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g){if(this.j=t.call(this,p),p="",c="relative path start",i)break e;continue}"\t"!=g&&"\n"!=g&&"\r"!=g?("["==g?m=!0:"]"==g&&(m=!1),p+=g):s("Invalid code point in host/hostname: "+g)}else if(this.j=t.call(this,p),p="",c="port","hostname"==i)break e;break;case"port":if(/[0-9]/.test(g))p+=g;else{if(null==g||"/"==g||"\\"==g||"?"==g||"#"==g||i){if(""!=p&&((p=parseInt(p,10))!=l[this.h]&&(this.s=p+""),p=""),i)break e;c="relative path start";continue}"\t"==g||"\n"==g||"\r"==g?s("Invalid code point in port: "+g):(o.call(this),this.i=!0)}break;case"relative path start":if("\\"==g&&s("'\\' not allowed in path."),c="relative path","/"!=g&&"\\"!=g)continue;break;case"relative path":null!=g&&"/"!=g&&"\\"!=g&&(i||"?"!=g&&"#"!=g)?"\t"!=g&&"\n"!=g&&"\r"!=g&&(p+=n(g)):("\\"==g&&s("\\ not allowed in relative path."),(y=f[p.toLowerCase()])&&(p=y),".."==p?(this.l.pop(),"/"!=g&&"\\"!=g&&this.l.push("")):"."==p&&"/"!=g&&"\\"!=g?this.l.push(""):"."!=p&&("file"==this.h&&0==this.l.length&&2==p.length&&u.test(p[0])&&"|"==p[1]&&(p=p[0]+":"),this.l.push(p)),p="","?"==g?(this.u="?",c="query"):"#"==g&&(this.C="#",c="fragment"));break;case"query":i||"#"!=g?null!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this.u+=r(g)):(this.C="#",c="fragment");break;case"fragment":null!=g&&"\t"!=g&&"\n"!=g&&"\r"!=g&&(this.C+=g)}h++}}function o(){this.v=this.pa=this.h="",this.g=null,this.s=this.j="",this.l=[],this.C=this.u="",this.D=this.i=!1}function a(e,t){void 0===t||t instanceof a||(t=new a(String(t))),this.Ma=e,o.call(this),e=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,""),i.call(this,e,null,t)}var s=!1;if(!e.rb)try{var c=new URL("b","http://a");c.pathname="c%20d",s="http://a/c%20d"===c.href}catch(e){}if(!s){var l=Object.create(null);l.ftp=21,l.file=0,l.gopher=70,l.http=80,l.https=443,l.ws=80,l.wss=443;var f=Object.create(null);f["%2e"]=".",f[".%2e"]="..",f["%2e."]="..",f["%2e%2e"]="..";var u=/[a-zA-Z]/,d=/[a-zA-Z0-9\+\-\.]/;a.prototype={toString:function(){return this.href},get href(){if(this.i)return this.Ma;var e="";return""==this.v&&null==this.g||(e=this.v+(null!=this.g?":"+this.g:"")+"@"),this.protocol+(this.D?"//"+e+this.host:"")+this.pathname+this.u+this.C},set href(e){o.call(this),i.call(this,e)},get protocol(){return this.h+":"},set protocol(e){this.i||i.call(this,e+":","scheme start")},get host(){return this.i?"":this.s?this.j+":"+this.s:this.j},set host(e){!this.i&&this.D&&i.call(this,e,"host")},get hostname(){return this.j},set hostname(e){!this.i&&this.D&&i.call(this,e,"hostname")},get port(){return this.s},set port(e){!this.i&&this.D&&i.call(this,e,"port")},get pathname(){return this.i?"":this.D?"/"+this.l.join("/"):this.pa},set pathname(e){!this.i&&this.D&&(this.l=[],i.call(this,e,"relative path start"))},get search(){return this.i||!this.u||"?"==this.u?"":this.u},set search(e){!this.i&&this.D&&(this.u="?","?"==e[0]&&(e=e.slice(1)),i.call(this,e,"query"))},get hash(){return this.i||!this.C||"#"==this.C?"":this.C},set hash(e){this.i||(this.C="#","#"==e[0]&&(e=e.slice(1)),i.call(this,e,"fragment"))},get origin(){var e;if(this.i||!this.h)return"";switch(this.h){case"data":case"file":case"javascript":case"mailto":return"null"}return(e=this.host)?this.h+"://"+e:""}};var h=e.URL;h&&(a.createObjectURL=function(e){return h.createObjectURL.apply(h,arguments)},a.revokeObjectURL=function(e){h.revokeObjectURL(e)}),e.URL=a}}(window),Object.getOwnPropertyDescriptor(Node.prototype,"baseURI")||Object.defineProperty(Node.prototype,"baseURI",{get:function(){var e=(this.ownerDocument||this).querySelector("base[href]");return e&&e.href||window.location.href},configurable:!0,enumerable:!0});var Uo=document.createElement("style");Uo.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var zo=document.querySelector("head");zo.insertBefore(Uo,zo.firstChild);var Ho=window.customElements,qo=!1,Vo=null;function Ko(){window.HTMLTemplateElement.bootstrap&&window.HTMLTemplateElement.bootstrap(window.document),Vo&&Vo(),qo=!0,window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}Ho.polyfillWrapFlushCallback&&Ho.polyfillWrapFlushCallback((function(e){Vo=e,qo&&e()})),"complete"!==document.readyState?(window.addEventListener("load",Ko),window.addEventListener("DOMContentLoaded",(function(){window.removeEventListener("load",Ko),Ko()}))):Ko()}).call(this)}).call(this,n(32),n(290).setImmediate)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(17),n(18),n(23),n(11),n(58),n(55),n(34),n(14),n(44),n(63),n(213),n(45),n(92),n(119),n(35),n(133),n(463),n(207),n(208),n(69),n(15),n(112),n(465),n(118),n(25),n(29),n(20),n(197),n(43),n(209),n(52),n(83),n(59),n(22),n(466);var r=n(137),i=n.n(r),o=n(89),a=n.n(o);n(426),n(135),n(136),n(429),n(430),n(431),n(432),n(433),n(434),n(436),n(437),n(438),n(439),n(440),n(441),n(442);function s(e){return(s="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 c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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)}}function f(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,b(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)})(e)}function d(e,t,n){return(d=h()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&p(i,n.prototype),i}).apply(null,arguments)}function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m,v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,r,i,o,a=(t=s,n=h(),function(){var e,r=b(t);if(n){var i=b(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return f(this,e)});function s(){return c(this,s),a.apply(this,arguments)}return r=s,(i=[{key:"connectedCallback",value:function(){void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(s.template.content.cloneNode(!0));var e=document.createElement("script");e.src=s.mergedConfig.baseURL+"scripts/anvplayer.min.js",this.shadowRoot.appendChild(e)}}])&&l(r.prototype,i),o&&l(r,o),s}(u(HTMLElement)),g='<template id="anv-template">\n  <style>\n    :host {\n      display: inline-block;\n    }\n\n    {{CSS}}\n  </style>\n\n</template>\n',y=n(457),w=n.p+"anvhtml5.css",S=n(293),A=n(286),E=n(0);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 k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e){return(x="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 M(e,t){var n,r=!1,i=!1,o=!0,a={},s={Comcast_SSO:function(e,t,n){return t=p(t),u("@comcastRSSGenerator:",e,t,n),'<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>'+e+"</title><item><title>"+e+"</title><guid>"+n+'</guid><media:rating scheme="urn:v-chip">'+(t||"")+"</media:rating></item></channel></rss>"}},c={},l={staging:"https://entitlement.auth-staging.adobe.com/entitlement/",production:"https://entitlement.auth.adobe.com/entitlement/"},f={environment:"production",accessEnablerLoaderPath:"",useFlash:!1,refreshless:!1,readyCallback:!0,preauthorizedResources:null,autoLogin:!1,debug:!1,providerSelectionCallback:null,authorizationCallback:null,setMetadataStatus:null,setConfig:null,onProviderIFrameDestroyed:null},u=(Function.prototype.bind.call(console.log,console),t?t.getLogFn("pluginAdobePass"):function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[!pluginAdobePass!]\t"].concat(n))}),d=T();function h(){u("@embedSWF");var e,t={},n=l[f.environment]||l.production;t.menu="false",t.quality="low",t.AllowScriptAccess="always",t.swliveconnect="true",t.wmode="transparent",t.align="middle";var r,i={id:"accessEnabler",name:"accessEnabler",style:"position: fixed; z-index: 9999; display: inline-block; visibility: visible; left: 0px !important; top: 0px !important;"},o=document.getElementById("accessEnabler");o||(e=document.body,(o=document.createElement("div")).id="accessEnabler",e.appendChild(o)),o.style.position="absolute",o.style.left="0px",o.style.top="0px",o.style.width="1px",o.style.height="1px",o.style.zIndex=-1,r=d.getDeviceInfo.chrome&&f.accessEnablerLoaderPath?f.accessEnablerLoaderPath+"AccessEnablerLoader.swf":n+"AccessEnabler"+(f.debug?"Debug":"")+".swf",u("Loading ",r+" swfobject?",!!window.swfobject,!!window.swfobject.embedSWF,"accessEnabler");try{window.swfobject.embedSWF(r,"accessEnabler",1,1,"11.1.0","expressinstall.swf",{},t,i)}catch(e){}u("Flash based accessEnabler embedded.")}function p(e){u("@normalizerating:",e);var t=e?e.toUpperCase():"";return t.indexOf("TV-")<0&&t.indexOf("TV")>-1?t=t.replace("TV","TV-"):t in{Y:1,Y7:2,G:3,PG:4,14:5,MA:6}&&(t="TV-"+t),t}function b(e,t,n,r){u("@validateTokenCallback"),f.authorizationCallback&&f.authorizationCallback(e,t,n,r)}return{init:function(t){var o,s,p,m;u("@init:",JSON.stringify(t)),f=t||{},function(){function t(e){u("@homeZipDetected home zip:",e),"[object Array]"===Object.prototype.toString.call(e)&&(e=e[0]);try{e=JSON.parse(e)}catch(t){e={},console.error("Encountered a problem while parsing the decrypted zip")}"zipcode"in e&&(e=e.zipcode),f.setMetadataStatus&&f.setMetadataStatus("homeZip",e)}u("@bindCallbacks"),window.preauthorizedResources=function(e){f.preauthorizedResources&&f.preauthorizedResources(e)},window.entitlementLoaded=function(){var t={callSetConfig:!0,backgroundLogin:!!f.refreshless||void 0,backgroundLogout:!!f.refreshless||void 0};u("@entitlementLoaded",JSON.stringify(t)),window.accessEnabler=(u("@getAccessEnabler"),window.ae?window.ae:document.getElementById("accessEnabler")),window.accessEnabler.parentNode&&window.accessEnabler.setProviderDialogURL("none"),window.accessEnabler.setRequestor(e,null,t),u("checking authentication..."),window.accessEnabler.checkAuthentication()},window.swfLoaded=window.entitlementLoaded,window.setConfig=function(e){var t=d.str2XML(e);c={};for(var n,r,i,o=t.getElementsByTagName("mvpd"),a=0,s=o.length;a<s;a++){i=(n=o[a]).getElementsByTagName("id")[0].firstChild.nodeValue,c[i]={};for(var l=0,u=(r=n.childNodes).length;l<u;l++)c[i][r[l].tagName]=r[l].firstChild?r[l].firstChild.nodeValue:void 0}f.setConfig&&f.setConfig(c)},window.sendTrackingData=function(e,t){u("@sendTrackingData"),u(e,t)},window.setAuthenticationStatus=function(e,t){u("@setAuthenticationStatus",e),"string"==typeof e&&Number(e),r=e=!!e,f.readyCallback&&(t||"").toLowerCase().indexOf("not selected")<0&&f.readyCallback(e),1==e?(u("authenticated"),window.accessEnabler.getMetadata("zip"),f.parentalControl&&window.accessEnabler.getMetadata("maxRating"),window.accessEnabler.getMetadata("encryptedZip"),window.accessEnabler.getMetadata("TTL_AUTHN")):(u("not authenticated",t),window.accessEnabler.getAuthentication())},window.setMetadataStatus=function(e,n,r){u("@setMetadataStatus zipDecryption?",!!f.zipDecryption),u("@setMetadataStatus:",e,n,JSON.stringify(r)),f.zipDecryption&&n&&"zip"==e&&d.sendPostRequest("http://dapz"+("staging"==f.environment?"stage":"")+".fs.anvato.net/dapz",JSON.stringify({apEncryptedZip:r}),t),f.setMetadataStatus&&(!n||n&&!f.zipDecryption)&&(u("data:",r),u("[KEY]",e+"="+r),"[object Array]"===Object.prototype.toString.call(r)&&(r=r[0]),"zip"==e&&(e="homeZip"),f.setMetadataStatus(e,r))},window.displayProviderDialog=function(e){u("@displayProviderDialog")},window.selectedProvider=function(e){u("@selectedProvider",JSON.stringify(e)),(n={}).ID=e.MVPD,f.providerSelectionCallback&&f.providerSelectionCallback(n)},window.createIFrame=function(e,t){var r,i,o,a;u("@createIFrame",n);var s=document.createElement("IFRAME");s.style.width=e+"px",s.style.height=t+"px",s.name="mvpdframe",s.style.frameborder="0",s.style.border="0",n.iFramedLoginPlaceholderId&&document.getElementById(n.iFramedLoginPlaceholderId)?(u("detected iFramedLoginPlaceholder"),r=document.getElementById(n.iFramedLoginPlaceholderId)):(n.iFramedLoginPlaceholderId&&u("couldn't detected iFramedLoginPlaceholder"),r=document.createElement("div"),i=document.body,r.style.position="fixed",r.id="anv-adobepass-iframe-container",r.className="anv-adobepass-iframe-container",r.style.left="50%",r.style.top="50%",r.style.marginTop=-t/2+"px",r.style.marginLeft=-e/2+"px",i.appendChild(r),o=r.clientWidth,a=r.clientHeight,r.style.width=Math.max(e,o)+"px",r.style.height=Math.max(t,a)+"px"),r.innerHTML="",r.appendChild(s),r.style.visibility="visible",window.frames.mvpdframe.name="mvpdframe"},window.destroyIFrame=function(){var e;u("@destroyIFrame"),e=n.iFramedLoginPlaceholderId&&document.getElementById(n.iFramedLoginPlaceholderId)?document.getElementById(n.iFramedLoginPlaceholderId):document.getElementById("anv-adobepass-iframe-container"),f.onProviderIFrameDestroyed&&f.onProviderIFrameDestroyed(),e.parentNode.removeChild(e)},window.setToken=function(e,t){u("@setToken"),window.accessEnabler.getMetadata("zip"),a=function(e){u("@parseToken");var t=e.replace("<signatureInfo><","</signatureInfo><");t="<info>"+t+"</info>";var n=d.str2XML(t),r=n.getElementsByTagName("signatureInfo")[0],i=n.getElementsByTagName("ttl")[0],o=(n.getElementsByTagName("issueTime")[0],n.getElementsByTagName("sessionGUID")[0]),a=n.getElementsByTagName("requestorID")[0],s={};return s.signature=r.firstChild.nodeValue,s.ttl=i.firstChild.nodeValue,s.sessinGUID=o.firstChild.nodeValue,s.requestorID=a.firstChild.nodeValue,s.uriEncodedToken=encodeURIComponent(e),u("shortTokenInfo:",s),s}(t),u("validateToken"),setTimeout((function(){b(!0,a.uriEncodedToken,null)}),100),u("inRequestedResourceID",e,"inToken",t)},window.tokenRequestFailed=function(e,t,n){u("@tokenRequestFailed"),b(!1,null,t,n)}}(),document.getElementById("accessEnabler")||window.ae?(u("Page already has AdobePass script"),i=!0,window.entitlementLoaded()):(u("Embedding accessEnabler..."),o=f.useFlash,u("@embedAccessEnabler"),o?"undefined"!=typeof swfobject?h():function(e){u("@loadScript");var t=document.head,n=document.createElement("script");u("@loadScript",e),t.appendChild(n),n.onload=function(){u("just loaded the swfobject with source:",this.src),h()},n.src=e}("//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"):(m=l[f.environment]||l.production,s=document.body,(p=document.createElement("script")).src=m+"AccessEnabler.js",p.type="text/javascript",s.appendChild(p))),function(){u("@generateCSS");var e=document.createElement("style"),t=document.createTextNode(".anv-adobepass-iframe-container{-webkit-box-shadow: 5px 5px 15px rgba(0,0,0,.7);-moz-box-shadow: 5px 5px 15px rgba(0,0,0,.7);box-shadow: 5px 5px 15px rgba(0,0,0,.7);border: 1px solid #acacac;background: #fff;border: 1px solid rgba(0,0,0,.333);}");e.type="text/css",e.appendChild(t),document.head.appendChild(e)}()},getAuthentication:function(){return u("@getAuthentication"),r},setSelectedProviderInfo:function(e){u("@setSelectedProviderInfo",e.ID),n=e,window.accessEnabler.setSelectedProvider(e.ID)},getSelectedProviderInfo:function(){return u("@getSelectedProviderInfo"),window.accessEnabler.getSelectedProvider(),n},logout:function(){u("logout"),window.accessEnabler?window.accessEnabler.logout():u("No access enabler detected")},authorize:function(e,t,r){u("@authorize",e,t,r),n.ID in s&&(e=s[n.ID](e,t,r)),o&&i?(u("@getAuthorization:",e,n.ID),window.accessEnabler.getAuthorization(e)):(u("@checkAuthorization:",e),window.accessEnabler.checkAuthorization(e)),o=!1},checkPreauthorizedResources:function(e){window.accessEnabler.checkPreauthorizedResources(e)},getReuseStatus:function(){return u("@getReuseStatus"),i},resetProvider:function(){u("@resetProvider"),window.accessEnabler.setSelectedProvider(null),window.accessEnabler.getAuthentication(null)},iFrameRequired:function(e){return!(!c||!c[e])&&"true"==c[e].iFrameRequired},checkPopupBlocker:function(){if(u("@checkPopupBlocker"),f.refreshless){var e;e="staging"==f.environment?"https://entitlement.auth-staging.adobe.com":"https://entitlement.auth.adobe.com";var t=window.open(e,"mvpdwindow");u("Provider login window",t?" is displayed":" is blocked by pop-up blocker"),t?f.onProviderPopupDisplayed():f.onProviderPopupBlocked()}}}}function T(){var e={getItem:function(e){return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null},setItem:function(e,t,n,r,i,o){if(!e||/^(?:expires|max\-age|path|domain|secure)$/i.test(e))return!1;var a="";if(n)switch(n.constructor){case Number:a=n===1/0?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:a="; expires="+n;break;case Date:a="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+a+(i?"; domain="+i:"")+(r?"; path="+r:"")+(o?"; secure":""),!0},removeItem:function(e,t,n){return!(!e||!this.hasItem(e))&&(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:"")+(t?"; path="+t:""),!0)},hasItem:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=decodeURIComponent(e[t]);return e}};var t={},n={};function r(){for(var e in n)n.hasOwnProperty(e)&&"function"==typeof n[e]&&n[e]()}function i(e){var t=e.getBoundingClientRect(),n=window.innerWidth||document&&document.documentElement&&document.documentElement.clientWidth,r=window.innerHeight||document&&document.documentElement&&document.documentElement.clientHeight,i=function(e,t){return document.elementFromPoint(e,t)};if(t.right<0||t.bottom<0||t.left>n||t.top>r)return 0;var o=t.height*t.width,a=(t.top<0?t.bottom:t.bottom<r?t.height:r-t.top)*(t.left<0?t.right:t.right<n?t.width:n-t.left)/o;return e.contains(i(t.left,t.top))||e.contains(i(t.right,t.top))||e.contains(i((t.right+t.left)/2,(t.top+t.bottom)/2))||e.contains(i(t.right,t.bottom))||e.contains(i(t.left,t.bottom))?a:0}var o=function(){var e="undefined",t=window,n=document,r=navigator,i=x(n.getElementById)!=e&&x(n.getElementsByTagName)!=e&&x(n.createElement)!=e,o=r.userAgent.toLowerCase(),a=r.platform.toLowerCase(),s=/win/.test(a||o),c=/mac/.test(a||o),l=/iphone/.test(a||o),f=/ipad/.test(a||o),u=/android/.test(a||o);u=/linux arm/.test(u||a?a:o);var d=!!/webkit/.test(o)&&parseFloat(o.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")),h=!1,p=!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0,b="undefined"!=typeof InstallTrigger,m=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,v=!!window.chrome&&!p;h=!!document.documentMode;var g=[0,0,0],y=null;if(x(r.plugins)!=e&&"object"==x(r.plugins["Shockwave Flash"]))!(y=r.plugins["Shockwave Flash"].description)||x(r.mimeTypes)!=e&&r.mimeTypes["application/x-shockwave-flash"]&&!r.mimeTypes["application/x-shockwave-flash"].enabledPlugin||(!0,h=!1,y=y.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),g[0]=parseInt(y.replace(/^(.*)\..*$/,"$1"),10),g[1]=parseInt(y.replace(/^.*\.(.*)\s.*$/,"$1"),10),g[2]=/[a-zA-Z]/.test(y)?parseInt(y.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0);else if(x(t.ActiveXObject)!=e)try{var w=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash");w&&(y=w.GetVariable("$version"))&&(h=!0,y=y.split(" ")[1].split(","),g=[parseInt(y[0],10),parseInt(y[1],10),parseInt(y[2],10)])}catch(e){}return{w3:i,pv:g,wk:d,ie:h,win:s,mac:c,iphone:l,ipad:f,android:u,firefox:b,safari:m,chrome:v,opera:p}}();function a(e,t,n,r){var i=0==e.indexOf("file:")||0==window.location.href.indexOf("file:")&&-1==e.indexOf("http:");t&&(e+="?"+("object"==x(t)?l(t):t));var o=new XMLHttpRequest;try{o.open("GET",e)}catch(e){return r&&r(0,"Problem opening request"),!1}o.onreadystatechange=function(){4==o.readyState&&(n&&(200==o.status||i&&0==o.status)?n(o.responseText):r&&r(o.status,o.responseText))};try{return o.send(),!0}catch(e){return r&&r(0,"Problem sending request"),!1}}function s(e){e=e.replace(/\x0d\x0a/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}function c(e){for(var t="",n=0,r=0,i=0,o=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(i=e.charCodeAt(n+1),t+=String.fromCharCode((31&r)<<6|63&i),n+=2):(i=e.charCodeAt(n+1),o=e.charCodeAt(n+2),t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o),n+=3);return t}function l(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}function f(e,t,n){n&&(t="anv-"+t),e.className+=" "+t}function u(e,t,n,r){e.addEventListener?(r=void 0!==r&&r,e.addEventListener(t,n,r)):e.attachEvent("on"+t,n)}function d(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}function h(e,t){var n=/((https*:)*\/\/[^/]*)\/*(.*)/;if(/^(https*:\/\/|\/\/)/.test(t))return t;var r=n.exec(e);if(n.length<4)return null;var i=[r[1]].concat(r[3].split("/")),o=t.split("/");""===i[i.length-1]&&i.pop();for(var a=0,s=o.length;a<s;a++)if(".."==o[a]){if(i.pop(),!i.length)return null}else"."!=o[a]&&i.push(o[a]);return i.join("/")}function p(e,t,n){var r=0,i={};i[t]={timeStamp:Date.now(),data:n,type:"master"};var s=function(e,t){for(var n=[],r=t.split("\n"),i=null,o=null,a=0;a<r.length;a++)if(r[a]=r[a].trim(),0!=r[a].length){if(0===r[a].indexOf("#EXT-X-STREAM-INF")){var s=m(r[a]);s&&(i=s)}if("#"!=r[a].substr(0,1)&&i){var c=h(e,r[a]),l=document.createElement("a");if(l.href=c,null!=o&&o!=l.host)continue;o=l.host,n.push({url:c,bandwidth:i.bandwidth}),i=null}if(0===r[a].indexOf("#EXTINF")){n.push({url:e,bandwidth:6e5});break}}return 0==n.length?null:{renditions:n}}(t,n);if(s){var c=s.renditions;if(!o.ipad&&!o.iphone){c.sort((function(e,t){return e.bandwidth-t.bandwidth}));for(var l=c.length-1;l>=0;l--)if(1.2*c.bandwidth<6e5){r=l;break}}a(c[r].url,null,b.bind(null,e,i,c[r].url))}}function b(e,t,n,r){t[n]={timeStamp:Date.now(),data:r,type:"rendition",live:!/#EXT-X-ENDLIST/.test(r)},"function"==typeof e&&e(t)}function m(e){if(0!==e.indexOf("#EXT-X-STREAM-INF"))return null;var t=e.indexOf(":");if(-1===t)return null;e=e.substr(t+1);for(var n={bandwidth:6e5},r=0;r<20;r++){var i="",o=e.indexOf("=");if(-1==o)break;var a=e.substr(0,o),s=e.substr(o),c=-1;if('"'==s[1]){if(-1==(c=(s=s.substr(1)).indexOf('"',2)))break;i=s.substr(1,c-1),e=s.substr(c+2)}else-1==(c=s.indexOf(","))?i=s.substr(1):(i=s.substr(1,c-1),e=s.substr(c+1));if(a=a.trim(),i=i.trim(),"BANDWIDTH"==a&&(n.bandwidth=1*i),-1==c)break}return n}return{rootGetElementById:function(e){var t=document;return document.currentScript&&document.currentScript.getRootNode&&(t=document.currentScript.getRootNode()),t.querySelector&&t.querySelector("#"+e)||document.getElementById(e)},requestFullScreen:function e(t){t.requestFullScreen?t.requestFullScreen():t.webkitEnterFullScreen?t.webkitEnterFullScreen(Element.ALLOW_KEYBOARD_INPUT):t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT),setTimeout((function(){t.webkitDisplayingFullscreen||!!document.mozFullScreenElement&&document.mozFullScreenElement.id==t.id||e(t)}),50)},cancelFullScreen:function(){document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()},log:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i,o=t[0];t[1];r=1,">"===o.charAt(0)&&(i=o.slice(1),r=2);var a=Array.prototype.slice.call(t,r);i?console.log("["+i+"] ",a.join(" ")):console.log(a.join(" "))},getWindowSize:function(){return{w:screen.width,h:screen.height}},getCumulativeOffset:function(e){var t,n;if(t=n=0,e.offsetParent)do{t+=e.offsetLeft,n+=e.offsetTop}while(e=e.offsetParent);return{x:t,y:n}},getRelativeOffset:function(e,t){var n,r;if(n=r=0,e.offsetParent)for(;e&&e!=t;)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{x:n,y:r}},postMessage:function(e){parent.window.postMessage(e,"*")},getDeviceInfo:o,node2Obj:function(e){return{getNode:function(){return e},getLayout:function(){}}},download:a,parseDFXP:function(e){var t=[];function n(e){var t=e.split(":"),n=0;if(t.length<=3)for(var r=t.length-1,i=0;r>=0;r--,i++)n+=parseFloat(t[r])*Math.pow(60,i);else if(4==t.length){for(var o=2,a=0;o>=0;o--,a++)n+=parseFloat(t[o])*Math.pow(60,a);n+=parseFloat(t[3])/100}else n=parseFloat(e);return n}for(var r=this.str2XML(e).getElementsByTagName("p"),i=0,o=r.length;i<o;i++){var a=r[i],s={id:i,begin:n(a.getAttribute("begin")),end:n(a.getAttribute("end")),text:a&&a.childNodes&&a.childNodes.length?a.childNodes[0].nodeValue:""};t.push(s)}return t},parseJSON:function(e){var t;try{t=JSON.parse(e)}catch(e){t={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}for(var n=0,r=t.length,i=[];n<r;n++){var o=n+1,a=parseFloat(t[n].ts),s={id:o,begin:a,end:a+parseFloat(t[n].dur),text:t[n].line};i.push(s)}return i},parseVTT:function(e){var t,n,r,i,o=[],a=e.split("\n"),s="",c=1,l=a.length;function f(e){var t,n,r,i,o=e.split(":"),a=0;3==o.length?(t=o[0],n=o[1],r=o[2]):(t=0,n=o[0],r=o[1]),i=(i=(r=r.split(/\s+/)).splice(0,1)[0]).split(/\.|,/);var s=parseFloat(i[1]);return i=i[0],a+=3600*parseFloat(t),a+=60*parseFloat(n),a+=parseFloat(i),s&&(a+=s/1e3),a}for(;c<l;c++)if(s=a[c].trim()){for(-1==s.indexOf("--\x3e")&&(i=s,s=a[++c].trim()),t={id:i},n=s.split(" --\x3e "),t.begin=f(n[0]),t.end=f(n[1]),r=[];a[++c]&&(s=a[c].trim());)r.push(s);t.text=r.join("<br/>"),o.push(t)}return o},str2XML:function(e){return(new DOMParser).parseFromString(e,"text/xml")},generateChild:function(e,t,n,r,i){return function(e,t,n,r,i){var o,a,s=document.createElement(t);if(n&&(s.id=e.id+"-"+n),r)for(o=r.split(" "),a=0;a<o.length;a++)f(s,o[a],!0);return i&&(s.innerHTML=i),e.appendChild(s),s}(e,t,n,r,i)},addClass:function(e,t,n){f(e,t,n)},removeClass:function(e,t,n){n&&(t="anv-"+t),e.className=e.className.split(" ").filter((function(e){return e!==t})).join(" ")},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},sendPostRequest:function(e,t,n,r){var i=0===e.indexOf("file:")||0===window.location.href.indexOf("file:")&&-1===e.indexOf("http:"),o=new XMLHttpRequest;try{o.open("POST",e,!0),o.setRequestHeader("Content-type","application/x-www-form-urlencoded")}catch(e){r&&r()}o.onreadystatechange=function(){4===o.readyState&&(200===o.status||i&&0===o.status?n(o.responseText):r&&r())},"object"==x(t)&&(t=l(t));try{o.send(t)}catch(e){r&&r()}},openURIInNewWindow:function(e){window.open(e,"_blank").focus()},setFloat:function(e,t){e.style.cssFloat=t,e.style.styleFloat=t},encodeURLParams:function(e){return l(e)},sec2TimeString:function(e){var t="",n=parseInt(e/60,10);return e=parseInt(e%60,10),n>=60&&(t=parseInt(n/60,10),n=parseInt(n%60,10),t<10&&(t="0"+t),t+=":"),e<10&&(e="0"+e),n<10&&(n="0"+n),t+n+":"+e},timeString2Sec:function(e){var t,n,r,i=e.split(":");return i.length>2?(t=parseInt(i[0]),n=parseInt(i[1]),r=parseInt(i[2])):(t=0,n=parseInt(i[0]),r=parseInt(i[1])),3600*t+60*n+r},preventDefaultMouseDown:function(e){for(var t=0;t<e.length;t++)u(e[t],"mousedown",(function(e){e.preventDefault()}),!1)},merge:function(e,t){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r},cacheImages:function(e,t){for(var n=0,r=e.length,i=[];n<r;n++)i[n]=new Image,u(i[n],"load",(function(e){t(e.currentTarget)}),!1),e[n]?i[n].src=e[n]:t(i[n])},base64Encode:function(e){var t,n,r,i,o,a,c,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",f="",u=0;for(e=s(e);u<e.length;)i=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,a=(15&n)<<2|(r=e.charCodeAt(u++))>>6,c=63&r,isNaN(n)?a=c=64:isNaN(r)&&(c=64),f=f+l.charAt(i)+l.charAt(o)+l.charAt(a)+l.charAt(c);return f},base64Decode:function(e){var t,n,r,i,o,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",f=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");f<e.length;)t=s.indexOf(e.charAt(f++))<<2|(i=s.indexOf(e.charAt(f++)))>>4,n=(15&i)<<4|(o=s.indexOf(e.charAt(f++)))>>2,r=(3&o)<<6|(a=s.indexOf(e.charAt(f++))),l+=String.fromCharCode(t),64!=o&&(l+=String.fromCharCode(n)),64!=a&&(l+=String.fromCharCode(r));return l=c(l)},uTF8Encode:function(e){return s(e)},uTF8Decode:function(e){return c(e)},addEventListener:function(e,t,n,r){u(e,t,n,r)},removeEventListener:function(e,t,n){d(e,t,n)},setReadOnly:function(e,t,n){t||(n?(u(e,"keydown",(function(e){e.preventDefault()}),!1),u(e,"cut",(function(e){e.preventDefault()}),!1)):e.readOnly=!0)},createUUID:function(){for(var e,t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=new Array(36),r=0,i=0;i<36;i++)8==i||13==i||18==i||23==i?n[i]="-":14==i?n[i]="4":(r<=2&&(r=33554432+16777216*Math.random()|0),e=15&r,r>>=4,n[i]=t[19==i?3&e|8:e]);return n.join("")},touchURL:function(e){(new Image).src=e},isSecureSocket:function(){return window.location.protocol.indexOf("https")>-1},setCookie:e.setItem,removeCookie:e.removeItem,getCookie:e.getItem,setCookies:function(t){for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]&&e.setItem(n,t[n])},removeCookies:function(t){for(var n in t)e.removeItem(n)},getCookies:function(t){var n={};for(var r in t){var i=e.getItem(r);n[r]=i}return n},deepCopy:function(e){var t;try{t=JSON.parse(JSON.stringify(e))}catch(e){t={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}return t},getUrlParts:function(e){var t;return e&&(t=/^((http[s]?|ftp):\/)?\/?([^:\/\s]+)((:)([0-9]+))?((\/\w+)*\/)?([\w\-\.]+[^#?\s]+)?(.*)?(#[\w\-]+)?$/.exec(e)),t&&t.length>11?{url:t[0],protocol:t[2],host:t[3],port:t[6],path:t[7],file:t[9],query:t[10],hash:t[11]}:{}},loadScript:function(e,t){if((window.location.href+"").match(/https/)){var n=e.match(/http:\/\/(.*)\.s3.amazonaws.com\/(.*)/);n&&(e="https://s3.amazonaws.com/"+n[1]+"/"+n[2])}var r=document.body,i=document.createElement("script");i.type="text/javascript",t&&(i.onload=t),i.src=e,r.appendChild(i)},getElementViewabilityRate:i,registerViewabilityCallback:function(e,o,a){n[e]=function(e,n,r){var o=document.getElementById(e);return t[e]=t[e]||{},function(){var a=i(o);("number"==typeof r?!t[e].visibility||Math.abs(a-t[e].visibility)>r:a!=t[e].visibility)&&(t[e].visibility=a,"function"==typeof n&&n.bind(null,e,a)())}}(e,o,a),u(window,"DOMContentLoaded",r),u(window,"load",r),u(window,"scroll",r),u(window,"resize",r)},removeViewabilityCallback:function(e){for(var t in e in n&&delete n[e],n)if(n.hasOwnProperty(t))return;d(window,"DOMContentLoaded",r),d(window,"load",r),d(window,"scroll",r),d(window,"resize",r)},prefetchHlsManifest:function(e,t){var n={};e.playlist&&e.playlist[0]?(n.url=e.playlist[0].url,n.format=e.playlist[0].format):(n.url=e.url,n.format=e.format),n.url&&("m3u8"===n.format||n.url.indexOf("m3u8")>-1)&&a(n.url,null,p.bind(null,t,n.url))},escapeHtmlTags:function(e){return String(e).replace(/[<>]/g,(function(e){return{"<":"&lt;",">":"&gt;"}[e]}))},generateDomFromString:function(e){var t=document.createElement("template");return t.innerHTML=e.trim(),t.content.firstChild},xssSanitizeObject:function e(t,n,r){if("function"!=typeof t||"object"!=x(n))return n;for(var i in n)if(n.hasOwnProperty(i)){var o=t(i);if(o==i)if("string"==typeof n[i]){var a=t(n[i],r);a!=n[i]&&console.warn("Value of",i,"has been modified due to possible XSS vulnerability:",a),n[i]=a}else"object"==x(n[i])&&(n[i]=e(t,n[i],r));else console.warn("Entry",o,"has been removed due to possible XSS vulnerability"),delete n[i]}return n},generateRandomId:function(){return Math.random().toString(36).substr(2,9)}}}new Promise((function(e,t){e()})).then((function(){})).catch((function(e){})).finally((function(){})),window.castPromise=new Promise((function(e,t){m=e})),window.__onGCastApiAvailable=function(e,t){m({loaded:e,errorInfo:t})},function(){var e=T(),t={};void 0===window.anvp&&(window.anvp={}),window.anvp.version="3.12.14-beta",window.anvp.built="1",window.anvp.revision="b2f75b3a",void 0===window.anvp.rAgent&&(window.anvp.rAgent=new function(n){var i={},o={},a=[],s=0,c={},l=null;function f(t){if("string"==typeof t.data&&t.data.indexOf("frm")>-1&&t.data.indexOf("to")>-1&&t.data.indexOf("content")>-1){var l;try{l=JSON.parse(t.data)}catch(e){l={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}"remoteAgent"!=l.frm&&function(t){var l,f={setListener:1,init:1,destroy:1,ccast:1},h=null,v=[];if(!n||!n[t.frm])return;"function"!=typeof n[t.frm].setListener&&(a.push(t.frm),n[t.frm].setListener=function(e){n[t.frm].listener=e},n[t.frm].listener=n[t.frm].listener||null);"function"!=typeof n[t.frm].ccast&&(n[t.frm].ccast={setCustomData:n[t.frm].setCustomData},n[t.frm].ccast=n[t.frm].ccast||null);if("register"==t.type){"registryLevel"in n[t.frm]?n[t.frm].registryLevel++:(n[t.frm].registryLevel=1,"processManifest"in n[t.frm]&&function(t,n){var r;try{r=e.rootGetElementById(n),r.contentWindow.manifestFileHandler=t}catch(e){console.error("Failed to set up the direct bridge for manifestFileHandler")}}(n[t.frm].processManifest,t.frm));for(var g=0;g<t.content.length;g++)t.content[g]in f||(n[t.frm][t.content[g]]=O(t.content[g],t.frm,String((1e6*Math.random()).toFixed(0))));2==n[t.frm].registryLevel&&s++,"readyPredicate"in n&&n.readyPredicate==s&&n.onReady&&n.onReady(n),"readyPredicate"in n||!n.onReady||n.onReady(n),2==n[t.frm].registryLevel&&t.frm in n&&(n[t.frm].onReady?n[t.frm].onReady(n[t.frm],t.frm):n[t.frm].on&&p(t.frm,"ready",[n[t.frm]]),function(t){var n,r=document.getElementById(t);if(!r)return;n=e.getElementViewabilityRate(r);e.registerViewabilityCallback(t,m,.1),m(t,n)}(t.frm)),"unload"in n[t.frm]||(n[t.frm].unload=function(){d(t.frm)}),"setSelectedProvider"in n[t.frm]||(n[t.frm].setSelectedProvider=function(e){n.entitlementInstance.setSelectedProviderInfo({ID:e})})}if("response"==t.type&&(i[t.content.uid]=t.content.response,t.content.uid in c)){for(var S=0;S<c[t.content.uid].length;S++)c[t.content.uid][S](t.content.response);delete c[t.content.uid]}if("event"==t.type){if(t.content.sender=t.frm,t.content.args&&t.content.name&&t.content.args.length&&("KEY_VALUE_SET"==t.content.name&&t.content.args.length>1&&(n[t.frm][t.content.args[0]]=t.content.args[1],"sessionId"==t.content.args[0]&&(window.onkeydown=function(e){var r,i;120==e.keyCode&&e.ctrlKey&&e.shiftKey&&(r=t.frm,i=t.content.args[1],n[r].handleAdLogRequest(i))})),"AD_REQUEST"==t.content.name&&t.content.args.length&&(n[t.frm].adRequest=t.content.args[0])),n[t.frm].listener&&n[t.frm].listener(t.content),l=r[b(t.content.name)]){if(n[t.frm][l.returnFnName]||(n[t.frm][l.returnFnName]=O(l.returnFnName,t.frm,String((1e6*Math.random()).toFixed(0)))),n[t.frm][l.listenerFnName])h=n[t.frm][l.listenerFnName](t.content.args[0],t.content.args[1]),n[t.frm][l.returnFnName]&&n[t.frm][l.returnFnName](h);else if(n[t.frm].on){v=p(t.frm,t.content.name,t.content.args);for(var A=0,E=v.length;A<E;A++)n[t.frm][l.returnFnName](v[A])}}else n[t.frm].on&&p(t.frm,t.content.name,t.content.args);if("BITRATE_UPDATED"==t.content.name&&n[t.frm].onBitrateUpdated){var _=n[t.frm].onBitrateUpdated.apply(n[t.frm],t.content.args);n[t.frm].onBitrateUpdatedReturned&&n[t.frm].onBitrateUpdatedReturned(_)}n.listener&&n.listener(t.content)}"externalVideo"==t.type&&n[t.frm].externalMediaCall&&n[t.frm].externalMediaCall(t.content);if("companion"==t.type){var k;try{k=JSON.parse(t.content)}catch(e){k={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}n.cInjector.inject(k.width,k.height,k.payload,k.additional)}"pal"==t.type&&function(e){var t;switch(e.content.fn){case"instantiate":w[e.frm]=y.apply(null,e.content.args);break;case"generateNonce":t=w[e.frm],e.content.fn in t&&"function"==typeof t[e.content.fn]&&t[e.content.fn].apply(t,e.content.args.concat(T,C));break;default:t=w[e.frm],e.content.fn in t&&"function"==typeof t[e.content.fn]&&t[e.content.fn].apply(t,e.content.args)}}(t);if("entitlement"==t.type)if("object"in t.content){var x=n.entitlementObjects[t.content.object];n.entitlementInstance=new(x.bind.apply(x,[null].concat(t.content.args)))}else if("fn"in t.content)if("init"==t.content.fn){o.setSelectedProvider=function(e){n.entitlementInstance.iFrameRequired&&!n.entitlementInstance.iFrameRequired(e)&&(n.entitlementInstance.resetProvider(),n.entitlementInstance.checkPopupBlocker(),n.entitlementInstance.setSelectedProviderInfo({ID:e}))};var M={pInstance:t.frm,readyCallback:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"onReadyCallback",args:n})},preauthorizedResources:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"preauthorizedResources",args:n})},autoLogin:t.content.args[0].autoLogin,debug:t.content.args[0].debug,parentalControl:t.content.args[0].parentalControl,useFlash:t.content.args[0].useFlash,accessEnablerLoaderPath:t.content.args[0].accessEnablerLoaderPath,environment:t.content.args[0].environment,refreshless:t.content.args[0].refreshless,zipDecryption:t.content.args[0].zipDecryption,providerSelectionCallback:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"onProviderSelected",args:n})},authorizationCallback:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"authorizationCallback",args:n})},setMetadataStatus:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"setMetadataStatus",args:n})},setConfig:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"setConfig",args:n})},onProviderIFrameDestroyed:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"onProviderIFrameDestroyed",args:n})},onProviderPopupBlocked:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"onProviderPopupBlocked",args:n})},onProviderPopupDisplayed:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];u("remoteAgent",t.frm,"entitlement",{fn:"onProviderPopupDisplayed",args:n})}};n.entitlementInstance.init(M)}else t.content.fn in n.entitlementInstance&&n.entitlementInstance[t.content.fn].apply(null,t.content.args);function T(e){u("remoteAgent",t.frm,"pal",{fn:"onNonceSuccess",args:[e]})}function C(e){u("remoteAgent",t.frm,"pal",{fn:"onNonceError",args:[e]})}function O(e,t,n){return function(){for(var r,i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];a.length>=1&&"function"==typeof a[0]?(R(n,a[0]),r=Array.prototype.slice.call(a,1)):r=Array.prototype.slice.call(a),e in o&&o[e].apply(null,r);var c=u("remoteAgent",t,"call",{fn:e,args:r,uid:n});return c}}function R(e,t){e in c?c[e].push(t):c[e]=[t]}}(l)}}function u(e,t,n,i){var o={frm:e,to:t,type:n,content:i};return o=JSON.stringify(o),"function"==typeof l?l({data:o}):"call"!=n||function(e){for(var t in r)if(e.indexOf(r[t].returnFnName)>-1)return!0;return!1}(o)?void window.postMessage(o,"*"):window.lAgent.onMessage({data:o})}function p(e,n,r){var i,o,a,s,c=[];if(n&&(a=b(n),r=r||[],t[e]))if(t[e][n])for(o=t[e][n].length,i=0;i<o;i++)s=t[e][n][i].apply(null,r),c.push(s);else if(t[e][a])for(o=t[e][a].length,i=0;i<o;i++)s=t[e][a][i].apply(null,r),c.push(s);return c}function b(t){var n=t.split("_");if(n&&n.length){for(var r=0,i=n.length;r<i;r++)n[r]=n[r].toLowerCase(),r&&(n[r]=e.capitalize(n[r]));return n.join("")}return t}function m(e,t){n[e]&&"function"==typeof n[e].onViewabilityChange&&n[e].onViewabilityChange(t)}function v(e){var t=document.getElementById(e);return t?t.clientWidth:null}function g(e){var t=document.getElementById(e);return t?t.clientHeight:null}function y(t,n,r){var i=null,o=null,a=[],s=!1,c=!1;function l(){for(s=!1,c=!0;a.length;){var e=a.shift();e.fn.apply(null,e.args)}}function f(){return!(void 0===window.goog||void 0===window.goog.pal||void 0===window.goog.pal.NonceLoader)}function u(e,t){var n=t&&t.message||t;console.warn("Error while generating nonce:",n),"function"==typeof e&&e(n)}return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){k(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}({init:function e(){return f()?(i=new window.goog.pal.NonceLoader,!0):!c&&(a.push({fn:e,args:[]}),s||(t=document.createElement("script"),s=!0,t.onload=l,t.src="//imasdk.googleapis.com/pal/sdkloader/pal.js",document.body.appendChild(t)),!1);var t},generateNonce:function n(){for(var r=arguments.length,s=new Array(r),l=0;l<r;l++)s[l]=arguments[l];var d=s[0],h=s[1],p=s[2];if(!f())return c?(u(p,{message:"PAL library has loaded but it does not have the needed functionality"}),!1):(a.push({fn:n,args:s}),!1);d.videoWidth=d.videoWidth||v(t.pInstance),d.videoHeight=d.videoHeight||g(t.pInstance);var b=t.ppid;b||""!==(b=window.localStorage.getItem("X-AKTA-PPID"))&&b||(window.localStorage.setItem("X-AKTA-PPID",e.generateRandomId()+e.generateRandomId()+e.generateRandomId()),b=window.localStorage.getItem("X-AKTA-PPID")),console.log("@generateNonce ppid:",b),console.log("@generateNonce metadata:",JSON.stringify(d,null,2));var m=new window.goog.pal.NonceRequest;m.adWillAutoPlay=d.adWillAutoPlay,m.adWillPlayMuted=d.adWillPlayMuted,m.descriptionUrl=d.descriptionUrl,m.omidVersion=d.omidVersion,m.playerType=d.playerType,m.playerVersion=d.playerVersion,m.videoWidth=d.videoWidth,m.videoHeight=d.videoHeight,m.ppid=b;var y=i.loadNonceManager(m);return y.then((function(e){var t;o=e;try{t=e.getNonce()}catch(e){u(p,e)}"function"==typeof h&&h(t)})).catch(u.bind(void 0,p)),!0}},["sendAdClick","sendAdImpression","sendPlaybackStart","sendTouch","sendPlaybackEnd"].reduce((function(e,t){var n;return e[t]=(n=t,function(){var e;o&&"function"==typeof o[n]&&(e=o)[n].apply(e,arguments)}),e}),{}))}h(window,"message",f,!1),n.getAll=function(){return a},n.printConfigs=function(){if(a)for(var e=0,t=a.length;e<t;e++)"printConfig"in n[a[e]]&&n[a[e]].printConfig()},n.setListener=function(e){n.listener=e},n.asyncGet=function(e,t){e in c?c[e].push(t):c[e]=[t]},n.response=function(e){return e in i?i[e]:void 0},n.onExternalVideoEvent=function(e,t){u("remoteAgent",e,"externalVideo",t)};var w={};return{onMessage:f,registerLocalMessageHandler:function(e){l=e}}}(window.anvp)),void 0===window.anvp.entitlementObjects&&(window.anvp.entitlementObjects={AdobePass:M}),void 0===window.anvp.cInjector&&(window.anvp.cInjector=new function(){var t={};function n(e){(new Image).src=e}function r(e,t){if(t&&t.type){var r,i,o,a,s=!1;switch(t.type.toLowerCase()){case"static":t.creative_type&&(t.creative_type.indexOf("flash")>-1?((r=document.createElement("object")).width=t.width,r.height=t.height,r.data=t.data,r&&(e.innerHTML=""),e.appendChild(r),s=!0):t.creative_type.indexOf("image")>-1&&(r=document.createElement("a"),(a=document.createElement("img")).width=t.width,a.height=t.height,a.src=t.data,r.href=t.click,r.target="_blank",r.appendChild(a),r&&(e.innerHTML=""),e.appendChild(r),s=!0));break;case"html":t.data.toLowerCase().indexOf("!doctype html")>-1?((r=document.createElement("iframe")).setAttribute("scrolling","no"),r.setAttribute("frameborder","0"),r&&(e.innerHTML=""),e.appendChild(r),(i=r.contentDocument).open(),i.write(t.data),i.close(),r.width=t.width,r.height=t.height,s=!0):(o='<body style="margin: 0;">'+t.data+"</body>",(r=document.createElement("iframe")).setAttribute("scrolling","no"),r.setAttribute("frameborder","0"),r&&(e.innerHTML=""),e.appendChild(r),(i=r.contentDocument).open(),i.write(o),i.close(),r.width=t.width,r.height=t.height,s=!0);break;case"iframe":(r=document.createElement("iframe")).setAttribute("scrolling","no"),r.setAttribute("frameborder","0"),r.width=t.width,r.height=t.height,r&&(e.innerHTML=""),e.appendChild(r),r.src=t.data,s=!0}t.tracking&&t.tracking.creativeView&&s&&function(e){if(!e)return;if("object"==x(e)&&"length"in e)for(var t=0,r=e.length;t<r;t++)n(e[t]);else n(e)}(t.tracking.creativeView)}}return{register:function(e){for(var n,r,i,o=0,a=e.length;o<a;o++)if(n="w"+parseInt(e[o].width),r="h"+parseInt(e[o].height),i=e[o].containers){n in t||(t[n]={}),r in t[n]||(t[n][r]=[]);for(var s=0,c=i.length;s<c;s++)t[n][r].push(i[s])}},inject:function(n,i,o,a){var s=e.rootGetElementById(t["w"+n]?t["w"+n]["h"+i]:void 0);s&&r(s,a||(a={type:"html",width:n,height:i,data:o}))}}}),window.anvp.switchEnvironment=window.anvp.switchEnvironment||function(t,n,r,i,o){t=t||void 0,n=n||void 0,r=r||void 0,o=o||void 0,"object"==x(i=i||void 0)&&(i=JSON.stringify(i));"object"==x(o)&&(o=JSON.stringify(o));var a={anv_env_base_url:t,anv_env_flash_path:n,anv_env_access_key:r,anv_env_debug:i,anv_env_config:o,anv_env_index:0};e.setCookies(a),location.reload(!0)},window.anvp.resetEnvironment=window.anvp.resetEnvironment||function(){e.removeCookies({anv_env_base_url:0,anv_env_flash_path:0,anv_env_access_key:0,anv_env_debug:0,anv_env_config:0,anv_env_index:0}),location.reload(!0)};for(var n=["beforeVideoLoad","beforeSeek","beforeAdBreak","beforeBitrateMenuUpdated","jwtAssetIdMismatch","jwtExpired"],r={},o=0;o<n.length;o++)r[n[o]]=new u(n[o]);function s(e){var t;return(function(e){for(var t,n,r={},i=document.getElementsByTagName("meta"),o={"og:url":"url","og:title":"title","og:description":"description","og:image":"image"},a=0,s=i.length;a<s;a++)n=i[a],(t=n.getAttribute("property"))in o&&(r[o[t]]=n.getAttribute("content"));e.openGraphInfo=r}(e),e&&"shareLink"in e?e.shareLink:e.openGraphInfo&&e.openGraphInfo.url?e.openGraphInfo.url:(t=function(){for(var e,t=document.getElementsByTagName("link"),n=0,r=t.length;n<r;n++)if(e=t[n],"canonical"==e.getAttribute("rel"))return e.getAttribute("href")}())?t:window.location.href)}function c(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null==t?null:decodeURIComponent(t[1].replace(/\+/g," "))}function l(n,o){var a,l,f,u,d,p,b,m,S,A,E,_,k=1==c("anvdebug");if(!n)throw new Error("Player must be initialized with a config");var M=n.pInstance;for(var T in p=void 0!==window.anvp&&window.anvp[M]&&window.anvp[M].config?window.anvp[M].config:{},p=void 0!==window.anvp&&window.anvp.common&&window.anvp.common.config?B(window.anvp.common.config,p):p,void 0!==window.anvp&&window.anvp[M]&&"processManifest"in window.anvp[M]&&(p.enableManifestFileHandler=!0),r)r.hasOwnProperty(T)&&(E=r[T],(window.anvp[M]&&window.anvp[M][E.listenerFnName]||t[M]&&E.name in t[M])&&(p[E.configName]=!0));p.hashPrefix="b2f75b3a",b=B(n,p),p.referrerURL=document.referrer,p.parentPageURL=document.location.href,p.parentTitle=document.title,b.companions&&window.anvp.cInjector.register(b.companions);var C=e.getCookies({anv_env_base_url:0,anv_env_flash_path:0,anv_env_access_key:0,anv_env_debug:0,anv_env_config:0,anv_env_index:0});if(p.flashPath=C.anv_env_flash_path||b.flashPath,C.anv_env_access_key&&(p.accessKey=C.anv_env_access_key||b.accessKey),C.anv_env_base_url||C.anv_env_access_key||C.anv_env_flash_path||C.anv_env_config||C.anv_env_debug){var O,R=document.getElementById("anv-environment-notification");if(!R)for(var N in(R=document.createElement("div")).id="anv-environment-notification",R.style.position="absolute",R.style.zIndex="2147483647",R.style.top=0,R.style.left=0,R.style.background="rgba(254, 144, 0, .9)",R.style.fontFamily="Courier, sans-serif",R.style.fontSize="13px",R.style.padding="15px",R.style.textAlign="left",R.className="anv-env-notification",(O=document.createElement("div")).innerHTML="ENVIRONMENT OVERRIDE DETECTED",R.appendChild(O),C)C.hasOwnProperty(N)&&C[N]&&((O=document.createElement("div")).innerHTML=N+":\t"+C[N],R.appendChild(O));if(C.anv_env_debug){try{try{C.anv_env_debug=JSON.parse(C.anv_env_debug)}catch(e){C.anv_env_debug={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}"object"!=x(C.anv_env_debug)||"length"in C.anv_env_debug||(M in C.anv_env_debug?C.anv_env_debug=C.anv_env_debug[M]:delete C.anv_env_debug)}catch(e){console.error("Error while parsing debug override")}"false"!=C.anv_env_debug&&"0"!=C.anv_env_debug||(C.anv_env_debug=!1)}if(p.debug=C.anv_env_debug||p.debug,C.anv_env_config)try{try{C.anv_env_debug=JSON.parse(C.anv_env_debug)}catch(e){C.anv_env_debug={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}"object"==x(C.anv_env_config)&&M in C.anv_env_config&&(C.anv_env_config=C.anv_env_config[M]),p=e.merge(p,C.anv_env_config)}catch(e){console.error("Error while parsing config override")}document.body.appendChild(R)}if(C.anv_env_base_url&&-1==o.src.indexOf(C.anv_env_base_url))return S=o.parentNode,(A=document.createElement("script")).setAttribute("data-anvp",JSON.stringify(n)),A.src=C.anv_env_base_url+"scripts/anvload.js?t="+(new Date).getTime(),C.anv_env_index=parseInt(C.anv_env_index)||0,e.setCookies({anv_env_index:++C.anv_env_index}),setTimeout((function(){S.appendChild(A)}),1e3*C.anv_env_index),void S.removeChild(o);if(b.baseURL||(d=function(e){var t=e.getAttribute("src");return(t=t.replace(/scripts\/anvload(\.min)*\.js.*/,""))&&t.length||(t=window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")),t.length&&"/"!=t[t.length-1]&&(t+="/"),t}(o),e.getUrlParts(d).protocol,f=d+(!k&&b.hashPrefix?b.hashPrefix+"/":""),b.baseURL=f),p.baseURL=b.baseURL,n.baseURL=b.baseURL,window.anvp.baseURL=b.baseURL,a=e.rootGetElementById(M)){var I=document.createElement("div");a.parentNode.replaceChild(I,a),I.id=M}function D(e){try{document.getElementById(M).contentWindow.manifestCache_=e}catch(t){window.manifestCache_=e}}function P(e,t){"IFRAME"==e.tagName?(e.setAttribute("width",t.width),e.setAttribute("height",t.height)):(e.style.width=t.width+"px",e.style.height=t.height+"px")}function F(e){h(window,"orientationchange",(function(){setTimeout(j.bind(null,e),100)})),h(window,"resize",j.bind(null,e)),j(e),window.anvp[M]&&(window.anvp[M].triggerResize=function(){j()})}function L(){"undefined"!=typeof Loader?b&&(b.mcp||b.key||b.url||b.playlist)&&(b=e.merge(b,p),window.prepareNonIframe(b)):setTimeout(L,100)}function j(e){var t,n,r,i,o=(e=e||document.getElementById(M))&&e.parentNode;o&&(!b||"string"!=typeof b.aspectRatio||b.widthHint&&b.heightHint||2==(i=b.aspectRatio.split(":")).length&&(i=i.map((function(e){return parseFloat(e)})),b.widthHint=i[0],b.heightHint=i[1]),b.widthHint=isNaN(b.widthHint)?16:b.widthHint,b.heightHint=isNaN(b.heightHint)?9:b.heightHint,o?(t=o.innerWidth||o.clientWidth||o.offsetParent&&o.offsetParent.clientWidth||document.body&&document.body.offsetWidth,n=b.heightHint/b.widthHint,P(e,{width:r=t*parseFloat(b.width)/100,height:r*n})):console.warn("Player iframe seems to be detached from the page"))}function B(e,t){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r}!function(){p.shareLink=s(b),(m=Number(c("anvt")))&&(p.startAt=m),b.width||(b.width="640"),b.height||(b.height="360");var t,n,r={whiteList:{div:["style","class","id"],span:["style","class","id"]}};if(e.xssSanitizeObject(i.a,p,r),e.xssSanitizeObject(i.a,b,r),"asyncApi"in b&&!b.asyncApi)!function(){Object(y.a)(),window.templateString=g,window.templateString=g.replace(/\{\{CSS\}\}/g,"/* hebrew */\n@font-face {\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-display: swap;\n  src: url(./Heebo.woff2) format('woff2');\n  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;\n}\n\n/* latin */\n@font-face {\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-display: swap;\n  src: url(./HeeboLatin.woff2) format('woff2');\n  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n\nhtml {\n  overflow: hidden;\n}\n\nbody {\n  margin: 0;\n  padding: 0;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\n.anv-video-container {\n  background: #000;\n}\n\n/*When we allow implementation of individual components, we will have to change the size in order not to mask others*/\n.anv-custom-controller-container {\n  width: 100%;\n  height: 100%;\n  z-index: 2147483648;\n  position: absolute;\n  top: 0;\n}\n\n/* Uses a sans-serif font everywhere in the player */\n.anv-video-container,\n.anv-control {\n  font-family: Heebo, Arial, Helvetica, sans-serif;\n}\n\n.anv-video-content {\n  position: absolute;\n}\n\n.anv-audio-poster {\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 100%;\n  height: 100%;\n\n}\n\n.anv-canvas-content {\n  width: 100%;\n  height: 100%;\n}\n\n/* The buttons/controls in the control bar */\n/*Issue 14552 - make button relative (to bring them in front of the background)*/\n.anv-control-btn {\n  cursor: pointer;\n  pointer-events: all;\n  text-align: center;\n  margin-top: 4px;\n  padding: 5px 15px 9px 15px;\n  white-space: nowrap;\n  text-overflow: clip;\n}\n\n/* The control bar play/pause button. This is used to play and pause the video. */\n.anv-play-pause-btn {\n  clear: left;\n  float: left;\n  pointer-events: all;\n  margin-left: 5px;\n}\n\n.anv-restart-live-btn {\n  float: left;\n  pointer-events: all;\n}\n\n/*\nThe \"on\" attribute:\n    In general with the control bar buttons, if the button has ON and OFF states, then they are given an attribute\n    called \"on\" with values of \"true\" or \"false\" to represent their ON/OFF state.\n*/\n\n.anv-stereo-btn {\n  float: right;\n  width: 32px;\n  height: 32px;\n  /*background-image: url(\"img/vr_sprite.png\");*/\n  background-position: -5px -47px;\n}\n\n.anv-stereo-btn[on=true] {\n  /*background-image: url(\"img/vr.png\");*/\n  width: 32px;\n  height: 32px;\n  background-position: -5px -47px;\n}\n\n.anv-stereo-btn:hover {\n  /*background-image: url(\"img/vr_red.png\");*/\n  width: 32px;\n  height: 32px;\n  background-position: -5px -47px;\n}\n\n.anv-stereo-btn[on=true]:hover {\n  /*background-image: url(\"img/vr_red.png\"); */\n  width: 32px;\n  height: 32px;\n  background-position: -47px -47px;\n}\n\n.anv-stereo-btn[on=false] {\n  width: 32px;\n  height: 32px;\n  background-position: -5px -5px;\n  /*background-image: url(\"img/panorama.png\");*/\n}\n\n.anv-stereo-btn[on=false]:hover {\n  width: 32px;\n  height: 32px;\n  background-position: -47px -5px;\n  /*background-image: url(\"img/panorama_red.png\"); */\n}\n\n.anv-play-pause-btn[on=true] {\n  background-position: 0px 0px;\n}\n\n.anv-no-touch .anv-play-pause-btn[on=true]:hover {\n  background-position: 0px -33px;\n}\n\n.anv-play-pause-btn[on=false] {\n  background-position: -33px -0px;\n}\n\n.anv-no-touch .anv-play-pause-btn[on=false]:hover {\n  background-position: -33px -33px;\n}\n\n/* The control bar current playback time and overall video duration display. */\n.anv-duration-btn {\n  /*width:20%;*/\n  font-size: .9em;\n  text-align: center;\n}\n\n.anv-control-duration-label {}\n\n.anv-play-next-btn {\n  float: left;\n}\n\n/* This class is given to the volume icon button when the volume level is at 0 */\n.anv-volume-icon-btn[on=false] svg .unmuted,\n.anv-volume-icon-btn[on=true] svg .muted {\n  display: none;\n}\n\n.anv-volume-icon-btn[on=true] svg .unmuted,\n.anv-volume-icon-btn[on=false] svg .muted {\n  display: block;\n}\n\n/* The control bar volume slider control. We use the transition property to show and hide the slider in response to the\n   hover event. */\n.anv-volume-slider-btn {\n  position: relative;\n  width: 0px;\n  transition: width 0.15s;\n  /* Safari */\n  -webkit-transition: width 0.15s;\n  background: transparent;\n  overflow: hidden;\n  align-items: center;\n}\n\n/*.anv-volume-icon-btn:hover + .anv-volume-slider-btn,*/\n/*.anv-volume-icon-btn:active + .anv-volume-slider-btn,*/\n/*.anv-volume-slider-btn:hover,*/\n/*.anv-volume-slider-btn:active {*/\n/*width: 75px;*/\n/*transition: width 0.15s ease 0s;*/\n/*!* Safari *!*/\n/*-webkit-transition: width 0.15s ease 0s;*/\n/*}*/\n/* A sub-component of the volume slider bar, if using the tapered_bars style */\n.anv-volume-slider-tapered-bar {\n  display: inline-block;\n  margin-top: 5px;\n  background-color: #666;\n}\n\n/* A sub-component of the volume slider bar, if using the flat_line style */\n.anv-volume-slider-flat-bar {\n  height: 2px;\n  background-color: rgba(255, 255, 255, 0.45);\n}\n\n/* A sub-component of the volume slider bar, if using the flat_line style */\n.anv-volume-slider-scrubber {\n  width: 10px;\n  height: 10px;\n  background-color: #fff;\n  border-radius: 100%;\n}\n\n/* A class given to the volume slider's left-side sub-component(s) that represents the volume level */\n.anv-volume-active {\n  background-color: #fff;\n}\n\n/* The control bar caption button. This button is used to show a small popup containing buttons for the available\n   caption languages. */\n.anv-caption-btn {\n  float: right;\n  width: 32px;\n}\n\n/* The popup that is associated with the caption button. This shows a list of buttons for the available caption\n   languages. We use the transition property to show and hide the caption popup. This is the container that holds both\n   the buttons and the tail for popup. */\n.anv-caption-popup {\n  bottom: 48px;\n  left: -16px;\n  width: auto;\n  height: auto;\n  z-index: 2147483648;\n  visibility: hidden;\n  transition: visibility 0s, opacity 0.8s;\n  /*SAFARI*/\n  -webkit-transition: visibility 0s, opacity 0.8s;\n}\n\n.anv-caption-popup-menu {\n  width: auto;\n  height: auto;\n  padding: 4px;\n  background: rgba(5, 4, 5, 0.69);\n  border: 0px solid #555;\n  border-radius: 5px;\n  z-index: 2147483648;\n}\n\n.anv-caption-popup-tail {\n  position: relative;\n  left: 42%;\n  width: 0;\n  height: 0;\n  border-left: 5px solid transparent;\n  border-right: 5px solid transparent;\n  border-top: 10px solid rgba(5, 4, 5, 0.69);\n  z-index: 2147483648;\n}\n\n.anv-caption-btn:hover>.anv-caption-popup,\n.anv-caption-popup:hover {\n  opacity: 1;\n  visibility: visible;\n  transition: visibility 0s linear 0s, opacity 0.2s ease 0s;\n  /*SAFARI*/\n  -webkit-transition: visibility 0s linear 0s, opacity 0.2s ease 0s;\n}\n\n/* One of the caption language buttons in the caption popup. These buttons are given on=true when they represent the\n   caption language that is currently in use; in this case, the button is disabled and cannot be clicked. */\n.anv-caption-popup-entry {\n  height: 20px;\n  margin-bottom: 2px;\n  border: 0px solid #555;\n  border-radius: 2px;\n  font-size: 16px;\n  text-align: left;\n  vertical-align: middle;\n}\n\n.anv-caption-popup-entry[on=false]:hover {\n  /*background-color: #ccc;*/\n  background: rgba(256, 256, 256, .2);\n}\n\n.anv-caption-popup-entry[on=false] {\n  cursor: pointer;\n  color: #808080;\n  /*background-color: #aaa;*/\n}\n\n.anv-caption-popup-entry[on=true] {\n  cursor: default;\n  color: white;\n  background: rgba(256, 256, 256, .2);\n  /*background-color: #444;*/\n}\n\n/* The control bar playbackspeed button. This button is used to show a small popup containing buttons for the\n  playback speeds. */\n.anv-playbackspeed-btn {\n  float: right;\n  width: auto;\n  display: none !important;\n}\n\n/* The popup that is associated with the playbackspeed button. This shows a list of buttons for the\n     playback speeds. We use the transition property to show and hide the playbackspeed popup. This is the container that holds both\n     the buttons and the tail for popup. */\n.anv-playbackspeed-popup,\n.anv-quality-popup {\n  bottom: 54px;\n  right: 7px;\n  min-width: 200px;\n  /* max-height: 200px; */\n  z-index: 2147483648;\n  visibility: hidden;\n  transition: visibility 0s, opacity 0.8s;\n  /*SAFARI*/\n  -webkit-transition: visibility 0s, opacity 0.8s;\n}\n\n.anv-playbackspeed-popup-menu,\n.anv-quality-popup-menu {\n  width: auto;\n  height: auto;\n  padding: 4px;\n  background: rgba(5, 4, 5, 0.69);\n  border: 0px solid #555;\n  border-radius: 5px;\n  z-index: 2147483648;\n  text-align: left;\n  overflow-y: scroll;\n}\n\n.anv-playbackspeed-popup-header,\n.anv-quality-popup-header {\n  display: flex;\n  align-items: center;\n  width: 100%;\n  flex-direction: row;\n  cursor: pointer;\n}\n\n.anv-playbackspeed-popup-header-img,\n.anv-quality-popup-header-img {\n  margin-right: 10px;\n}\n\n.anv-playbackspeed-popup-header-p,\n.anv-quality-popup-header-p {\n  font-size: 16px;\n}\n\n.anv-playbackspeed-popup-line,\n.anv-quality-popup-line {\n  width: 100%;\n  height: 1px;\n  background-color: gray;\n}\n\n.anv-playbackspeed-popup-menu::-webkit-scrollbar,\n.anv-quality-popup-menu::-webkit-scrollbar {\n  width: 12px;\n  /* width of the entire scrollbar */\n}\n\n.anv-playbackspeed-popup-menu::-webkit-scrollbar-track,\n.anv-quality-popup-menu::-webkit-scrollbar-track {\n  background: gray;\n  /* color of the tracking area */\n}\n\n.anv-playbackspeed-popup-menu::-webkit-scrollbar-thumb,\n.anv-quality-popup-menu::-webkit-scrollbar-thumb {\n  background-color: rgba(255, 255, 255, .2);\n  /* color of the scroll thumb */\n  border-radius: 20px;\n  /* roundness of the scroll thumb */\n  border: 1px solid;\n  /* creates padding around scroll thumb */\n}\n\n.anv-playbackspeed-popup-tail,\n.anv-quality-popup-tail {\n  position: relative;\n  left: 42%;\n  width: 0;\n  height: 0;\n  border-left: 5px solid transparent;\n  border-right: 5px solid transparent;\n  border-top: 10px solid rgba(5, 4, 5, 0.69);\n  z-index: 2147483648;\n}\n\n.anv-playbackspeed-btn:hover>.anv-playbackspeed-popup,\n.anv-playbackspeed-popup:hover {\n  opacity: 1;\n  visibility: visible;\n  transition: visibility 0s linear 0s, opacity 0.2s ease 0s;\n  /*SAFARI*/\n  -webkit-transition: visibility 0s linear 0s, opacity 0.2s ease 0s;\n}\n\n/* One of the playbackspeed buttons in the playbackspeed popup. These buttons are given on=true when they represent the\n     playbackspeed that is currently in use; in this case, the button is disabled and cannot be clicked. */\n.anv-speed-popup-entry,\n.anv-quality-popup-entry {\n  height: 20px;\n  margin-bottom: 2px;\n  border: 0px solid #555;\n  border-radius: 2px;\n  font-size: 16px !important;\n  text-align: left;\n  vertical-align: middle;\n  padding: 10px;\n}\n\n.anv-speed-popup-entry[on=false]:hover {\n  /*background-color: #ccc;*/\n  background: rgba(256, 256, 256, .2);\n}\n\n.anv-speed-popup-entry[on=false] {\n  cursor: pointer;\n  color: #808080;\n  /*background-color: #aaa;*/\n}\n\n.anv-speed-popup-entry[on=true] {\n  cursor: default;\n  color: white;\n  background: rgba(256, 256, 256, .2);\n  /*background-color: #444;*/\n}\n\n.anv-quality-popup-entry[on=false]:hover {\n  /*background-color: #ccc;*/\n  background: rgba(256, 256, 256, .2);\n}\n\n.anv-quality-popup-entry[on=false] {\n  cursor: pointer;\n  color: #808080;\n  /*background-color: #aaa;*/\n}\n\n.anv-quality-popup-entry[on=true] {\n  cursor: default;\n  color: white;\n  background: rgba(256, 256, 256, .2);\n  /*background-color: #444;*/\n}\n\n/* The control bar caption search button. This button is used to show and hide the caption search screen. */\n.anv-search-btn {\n  float: right;\n}\n\n.anv-no-touch .anv-search-btn:hover {\n  background-position: -258px -33px;\n}\n\n.anv-settings-btn[switch-in-progress=true] .anv-settings-btn-icon {\n  -webkit-animation: spin 6s linear infinite;\n  -moz-animation: spin 6s linear infinite;\n  animation: spin 6s linear infinite;\n}\n\n.anv-settings-btn-icon svg {\n  transition-duration: 10s;\n  transition-property: transform;\n}\n\n.anv-no-touch .anv-settings-btn:hover {\n  background-position: -294px -32px;\n}\n\n.anv-settings-popup {\n  bottom: 48px;\n  right: 7px;\n  width: 250px;\n  height: auto;\n  z-index: 2147483648;\n  visibility: hidden;\n  /*transition: visibility 0s linear 0.8s, opacity 0.8s ease 0s;*/\n  /*SAFARI*/\n  /*-webkit-transition: visibility 0s linear 0.8s, opacity 0.8s ease 0s;*/\n}\n\n.anv-settings-popup-menu {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: start;\n  width: auto;\n  height: auto;\n  padding: 4px;\n  background: rgba(5, 4, 5, 0.69);\n  border: 0px solid #555;\n  border-radius: 5px;\n  z-index: 2147483648;\n}\n\n.anv-settings-popup-tail {\n  position: relative;\n  left: 158px;\n  width: 0;\n  height: 0;\n  border-left: 5px solid transparent;\n  border-right: 5px solid transparent;\n  border-top: 10px solid rgba(5, 4, 5, 0.69);\n  z-index: 2147483648;\n}\n\n.anv-settings-btn:hover>.anv-settings-popup,\n.anv-settings-popup:hover {\n  opacity: 1;\n  visibility: visible;\n  transition: visibility 0s linear 0s, opacity 0.2s ease 0s;\n  /*SAFARI*/\n  -webkit-transition: visibility 0s linear 0s, opacity 0.2s ease 0s;\n}\n\n/* One of the caption language buttons in the caption popup. These buttons are given on=true when they represent the\n   caption language that is currently in use; in this case, the button is disabled and cannot be clicked. */\n.anv-settings-popup-entry {\n  width: auto;\n  height: 20px;\n  margin-bottom: 2px;\n  border: 0px solid #555;\n  border-radius: 2px;\n  font-size: 12px;\n  text-align: center;\n  vertical-align: middle;\n  white-space: nowrap;\n}\n\n.anv-settings-menu-list {\n  display: flex;\n  width: 100%;\n  align-items: center;\n}\n\n.anv-settings-menu-list:hover {\n  background: rgba(256, 256, 256, .2);\n}\n\n.anv-settings-menu-icon {\n  margin-right: 10px;\n  fill: #FFF;\n  width: 24px;\n  height: 24px;\n}\n\n.anv-quality-icon {\n  padding-top: 7px;\n}\n\n.anv-settings-menu-text {\n  margin-right: auto;\n}\n\n@-webkit-keyframes blink {\n  from {\n    opacity: 1.0;\n  }\n\n  to {\n    opacity: 0.0;\n  }\n}\n\n.anv-quality-popup-entry[on=pending] {\n  -webkit-animation-name: blink;\n  -webkit-animation-iteration-count: infinite;\n  -webkit-animation-timing-function: cubic-bezier(1.0, 0, 0, 1.0);\n  -webkit-animation-duration: 1s;\n}\n\n.anv-download-btn {\n  float: right;\n  width: 32px;\n}\n\n.anv-download-btn:hover {\n  background-position: -477px -33px;\n}\n\n/* The control bar fullscreen button. This button is used for toggling fullscreen mode. */\n.anv-fullscreen-btn {\n  margin-right: 5px;\n}\n\n/* The control bar container */\n.anv-control {\n  position: absolute;\n  width: 100%;\n  bottom: 0;\n  left: 0;\n  background: rgba(5, 4, 5, 0.69);\n  background: none;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00050405', endColorstr='#D1050405', GradientType=0);\n  zoom: 1;\n  color: #fff;\n  z-index: 2147483648;\n}\n\n/* The video preview container */\n.anv-preview {\n  position: relative;\n  text-align: center;\n  color: #fff;\n}\n\n/* The closed caption text container */\n.anv-track {\n  position: absolute;\n  bottom: 15%;\n  margin: 0 5%;\n  width: 90%;\n  z-index: 2147483648;\n}\n\n.anv-next-video-info {\n  top: 40px;\n  position: relative;\n  transform: translate(0, -50%);\n  padding-left: 10px;\n  font-size: 20px;\n  height: 30px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  max-width: 258px;\n}\n\n.anv-next-video-image {\n  height: 74px;\n  float: left;\n}\n\n.anv-next-video-title {\n  text-align: center;\n  font-size: 20px;\n  height: 20px;\n  padding-bottom: 5px;\n  border-bottom: 1px solid #333;\n  margin-bottom: 5px;\n  position: relative;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: hidden;\n}\n\n.anv-next-video-container {\n  display: block;\n  z-index: 2147483648;\n  position: absolute;\n  right: 0;\n  bottom: 20%;\n  width: 400px;\n  height: 105px;\n  background-color: rgba(0, 0, 0, 0.8);\n  border: 1px solid #666;\n  color: #FFF;\n  padding: 5px;\n  max-width: 500px;\n}\n\n\n.anv-caption-result-holder {\n  text-align: left;\n  display: inline-block;\n  padding: 8px;\n\n}\n\n.anv-caption-result {\n  display: inline-block;\n  /*padding: 0 5px;*/\n}\n\n/* The bar displaying playback progress. This is the actual left-side sub-component of the seek bar that grows as\n   playback proceeds. */\n.anv-duration-bar {\n  background: #ee3f25;\n  float: left;\n  /*-webkit-transition: width .3s; */\n  /* Safari */\n  /*transition: width .3s;*/\n}\n\n/* The overall seek bar container. This contains the duration bar and the scroll button. */\n.anv-time-line {\n  position: relative;\n  width: calc(100% - 20px);\n  height: 5px;\n  padding-top: 5px;\n  background-clip: content-box;\n  pointer-events: all;\n  margin-left: 10px;\n}\n\n.anv-time-line.disabled-seek {\n  height: 2px !important;\n  margin-top: 4px !important;\n}\n\n.anv-time-line:hover {\n  height: 5px;\n  /* padding-top: 2px; */\n}\n\n.anv-time-line:hover .anv-scroll-button-circle {\n  width: 15px;\n  height: 15px;\n  /*top: 7px;*/\n  display: block;\n  background-color: red;\n  border-radius: 10px;\n  -moz-border-radius: 10px;\n  -webkit-border-radius: 10px;\n  /*box-shadow: .8px 1.4px #000;*/\n}\n\n.anv-time-line:hover .anv-ad-break {\n  top: 5px;\n  height: 5px;\n}\n\n.anv-time-line:hover .anv-recall-frame {\n  bottom: 3px;\n}\n\n.anv-time-line-remaining {\n  background: rgba(255, 255, 255, .2);\n}\n\n.anv-ad-break {\n  border-left: 3px solid #fff;\n  top: 5px;\n  height: 5px;\n}\n\n/* The thumb/handle of the seek bar */\n.anv-scroll-button {\n  position: absolute;\n  margin-left: -9px;\n  margin-top: -8px;\n  /*-webkit-transition: left .3s; */\n  /* Safari */\n  /*transition: left .3s;*/\n  /*border-radius: 50%;*/\n  /*height: 10px;*/\n  /*width: 10px;*/\n  /*background: rgba(235, 204, 52, 0.69);*/\n  /*float: left;*/\n  width: 20px;\n  height: 20px;\n  /*top: 7px;*/\n  border-radius: 20px;\n  -moz-border-radius: 20px;\n  -webkit-border-radius: 20px;\n}\n\n.anv-scroll-button-circle {\n  position: absolute;\n  display: none;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  top: 0;\n  margin: auto;\n  width: 12px;\n  height: 12px;\n  /*top: 7px;*/\n  background-color: red;\n  border-radius: 8px;\n  -moz-border-radius: 8px;\n  -webkit-border-radius: 8px;\n}\n\n.anv-scroll-button-circle:hover {\n  width: 20px;\n  height: 20px;\n  /*top: 7px;*/\n  background-color: #fff;\n  border-radius: 10px;\n  -moz-border-radius: 10px;\n  -webkit-border-radius: 10px;\n  /*box-shadow: .8px 1.4px #000;*/\n}\n\n/* The share screen */\n.anv-share {\n  position: absolute;\n  top: 0px;\n  left: 0px;\n  width: 100%;\n  height: 100%;\n  background: rgba(24, 26, 27, 0.95);\n  color: #fff;\n  z-index: 2147483648;\n  flex-direction: column;\n  align-items: center;\n  justify-content: space-between;\n}\n\n@media all and (max-width: 549px) {\n  .anv-share-panel {\n    font-size: 7px;\n  }\n}\n@media all and (max-width: 549px) and (min-width: 500px) {\n  .anv-share-panel {\n    font-size: 8px;\n  }\n}\n@media all and (max-width: 649px) and (min-width: 550px) {\n  .anv-share-panel {\n    font-size: 10px;\n  }\n}\n@media all and (max-width: 849px) and (min-width: 650px) {\n  .anv-share-panel {\n    font-size: 13px;\n  }\n}\n@media all and (max-width: 1079px) and (min-width: 850px) {\n  .anv-share-panel {\n    font-size: 15px;\n  }\n}\n@media all and (max-width: 1439px) and (min-width: 1080px) {\n  .anv-share-panel {\n    font-size: 18px;\n  }\n}\n@media all and (min-width: 1440px) {\n  .anv-share-panel {\n    font-size: 20px;\n  }\n}\n\n/* The actual central area of the share screen that contains the content */\n.anv-share-panel {\n  /* margin: auto; */\n  width: 84%;\n  height: 90%;\n  max-width: 30em;\n  overflow-y: auto;\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: center;\n  transition: font-size 250ms ease-in-out;\n}\n\n.anv-share-panel>*{\n  width: 100%;\n}\n\n.anv-share-panel .anv-share-title {\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 1.6em;\n  margin-bottom: 1.4em;\n}\n\n.anv-share-panel .anv-share-social-icons {\n  display: flex;\n  flex-direction: row;\n  justify-content: flex-start;\n  align-items: center;\n  margin-bottom: 2.4em;\n  height: 3em;\n}\n\n.anv-share-panel .anv-share-social-icons>div:first-of-type {\n  margin-left: 0px !important;\n}\n\n.anv-share-panel .anv-share-social-icons>div {\n  pointer-events: all;\n  margin-left: 0.7em;\n  cursor: pointer;\n}\n\n.anv-share-panel .anv-share-social-icons>div>svg {\n  height: 100%;\n  width: auto;\n}\n\n.anv-share-panel .anv-share-content {\n  display: flex;\n  flex-direction: column;\n  margin-bottom: 2.4em;\n}\n\n.anv-share-panel .anv-share-content>div {\n  display: flex;\n  flex-direction: row;\n  margin-bottom: 1.2em;\n}\n\n.anv-share-panel .anv-share-content>div input {\n  padding: 0.85em 1em;\n  color: white;\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 0.9em;\n  border: none;\n  border-radius: 0.1em;\n  background-color: #46484B;\n  flex-grow: 100;\n}\n\n.anv-share-panel .anv-share-content>div input:focus-visible {\n  outline: none;\n}\n\n.anv-share-panel .anv-share-content>div button {\n  width: 8em;\n  background-color: transparent;\n  color: white;\n  border: none;\n  cursor: pointer;\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 0.9em;\n}\n\n\n.anv-share-panel .anv-share-content>div:last-child {\n  margin-bottom: 0px;\n}\n\n\n/* This class is given to all buttons within the share screen */\n.anv-share-btn {\n  cursor: pointer;\n  pointer-events: all;\n}\n\n/* This class is given to all text-based buttons within the share screen */\n.anv-share-text-btn {\n  color: #fff;\n  background-color: #666;\n  /*font-weight: bold;*/\n  text-align: center;\n  font-size: 0.6em;\n  height: 26px;\n  max-height: 28px;\n  line-height: 26px;\n  overflow: hidden;\n}\n\n.anv-no-touch .anv-share-text-btn:hover {\n  color: #ee3f25;\n}\n\n.anv-share-text-btn,\n.anv-share-input {\n  border: 0px solid #444;\n  border-radius: 6px;\n  margin-bottom: 4%;\n}\n\n.anv-share-to-input,\n.anv-share-from-input,\n.anv-share-msg-input {\n  padding-left: 2%;\n  padding-right: 2%;\n  width: 96%;\n}\n\n/* The share panel header */\n.anv-share-title-label {\n  height: 1.9em;\n  line-height: 2em;\n}\n\n/* The text that describes the user's email status within the share screen */\n.anv-share-send-status-label {\n  height: 1em;\n  color: rgba(246, 91, 91, 1);\n  font-size: 0.9em;\n}\n\n.anv-share-content-panel {\n  min-width: 278px;\n}\n\n/* The left section of the share panel */\n.anv-share-left-panel {\n  min-width: 120px;\n  width: 47%;\n}\n\n/* The right section of the share panel */\n.anv-share-right-panel {\n  min-width: 150px;\n}\n\n/* The prompt for the email section in the share screen */\n.anv-share-email-label {\n  margin-bottom: 4%;\n  font-size: 0.8em;\n}\n\n/* The to and from textboxes in the share screen */\n.anv-share-to-input,\n.anv-share-from-input {\n  height: 26px;\n}\n\n/* The message textarea in the share screen */\n.anv-share-msg-input {\n  height: 50px;\n}\n\n/* The send button in the share screen */\n.anv-share-send-btn {\n  width: 80px;\n  margin-right: 10px;\n}\n\n.anv-share-social-links-panel {\n  margin-top: 7%;\n  margin-bottom: 7%;\n}\n\n/* This class is given to the social media icon buttons within the share screen */\n.anv-share-social-btn {\n  display: inline-block;\n  margin-left: 15px;\n}\n\n.anv-share-social-btn:first-child {\n  margin-left: 0;\n}\n\n.anv-share-social-btn svg {\n  display: inline-block;\n  width: auto;\n  height: 32px;\n}\n\n/* These are buttons used for closing the share and search screens */\n.anv-search-close-btn,\n.anv-notification-close-btn,\n.anv-caption-set-close-btn {\n  position: absolute;\n  top: 8px;\n  right: 8px;\n  cursor: pointer;\n  width: 32px;\n  height: 32px;\n}\n\n\n@media all and (max-width: 549px) {\n  .anv-share-close-btn {\n    font-size: 7px;\n  }\n}\n@media all and (max-width: 549px) and (min-width: 500px) {\n  .anv-share-close-btn {\n    font-size: 8px;\n  }\n}\n@media all and (max-width: 649px) and (min-width: 550px) {\n  .anv-share-close-btn {\n    font-size: 10px;\n  }\n}\n@media all and (max-width: 849px) and (min-width: 650px) {\n  .anv-share-close-btn {\n    font-size: 13px;\n  }\n}\n@media all and (max-width: 1079px) and (min-width: 850px) {\n  .anv-share-close-btn {\n    font-size: 15px;\n  }\n}\n@media all and (max-width: 1439px) and (min-width: 1080px) {\n  .anv-share-close-btn {\n    font-size: 18px;\n  }\n}\n@media all and (min-width: 1440px) {\n  .anv-share-close-btn {\n    font-size: 20px;\n  }\n}\n\n.anv-share-close-btn {\n  position: absolute;\n  top: 2.1em;\n  right: 2.1em;\n  cursor: pointer;\n  height: 0.9em;\n}\n\n.anv-search-close-btn svg,\n.anv-notification-close-btn svg,\n.anv-caption-set-close-btn svg {\n  width: auto;\n  height: 16px;\n  margin: 8px;\n}\n.anv-share-close-btn svg{\n  width: auto;\n  height: 100%;\n}\n\n\n.anv-notification-close-btn {\n  height: 32px;\n}\n\n/* The share screen Facebook icon button. This button is used to open Facebook for sharing this video in a new tab. */\n.anv-facebook-btn {\n  background-position: -319px -89px;\n  width: 32px;\n  height: 32px;\n}\n\n.anv-no-touch .anv-facebook-btn:hover {\n  background-position: -319px -124px;\n}\n\n/* The share screen Google+ icon button. This button is used to open Google+ for sharing this video in a new tab. */\n.anv-google-plus-btn {\n  background-position: -253px -89px;\n  width: 34px;\n  height: 32px;\n}\n\n.anv-no-touch .anv-google-plus-btn:hover {\n  background-position: -253px -124px;\n}\n\n/* The share screen Pinterest icon button. This button is used to open Pinterest for sharing this video in a new tab. */\n.anv-pinterest-btn {\n  background-position: -352px -89px;\n  width: 32px;\n  height: 32px;\n}\n\n.anv-no-touch .anv-pinterest-btn:hover {\n  background-position: -352px -124px;\n}\n\n/* The share screen Twitter icon button. This button is used to open Twitter for sharing this video in a new tab. */\n.anv-twitter-btn {\n  width: 32px;\n  height: 32px;\n\n}\n\n.anv-no-touch .anv-twitter-btn:hover {\n  background-position: -287px -124px;\n}\n\n/* The link and embed textboxes in the share screen */\n.anv-share-content-input,\n.anv-share-embed-input {\n  padding-left: 2%;\n  padding-right: 2%;\n  height: 1.2em;\n}\n\n/* The link and embed buttons in the share screen */\n.anv-share-content-btn,\n.anv-share-embed-btn {\n  min-width: 5em;\n  margin: 0 0.25em;\n\n}\n\n.anv-share-start-time-panel {\n  font-size: 1em;\n  margin-top: 0.25em;\n  height: 2.1em;\n  line-height: 1.3em;\n  display: flex;\n  justify-content: flex-start;\n  align-items: center;\n  margin-bottom: 1em;\n}\n\n.anv-share-input-area {\n  font-size: 1em;\n}\n\n/* The playback start time prompt in the share screen */\n.anv-share-start-time-prefix {\n  font-size: 1em;\n  margin-right: 0.6em;\n}\n\n.anv-share-start-time-button {\n  font-size: 1em;\n  text-decoration: underline;\n}\n\n.anv-share-start-time-input-button {\n  font-size: 1em;\n  margin-left: 0.5em;\n  text-decoration: underline;\n}\n\n/* The playback start time textbox in the share screen */\n.anv-share-start-time-input {\n  max-width: 6em;\n  margin-left: 0.2em;\n  margin-bottom: 0;\n  text-align: center;\n  color: white;\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 0.9em;\n  border: none;\n  border-radius: 0.1em;\n  background-color: #46484B;\n  padding: 0.4em 0.6em;\n  outline: 1px solid rgba(246, 91, 91, 0);\n}\n.anv-share-start-time-input:focus-visible {\n  border: none !important;\n  outline: none;\n}\n\n/* The caption search screen */\n.anv-search {\n  position: absolute;\n  top: 0px;\n  right: 0px;\n  bottom: 0px;\n  margin: 0;\n  width: 403px;\n  height: 100%;\n  background: rgba(24, 26, 27, 0.95);\n  border-radius: 2px;\n  color: #fff;\n  display: flex;\n  padding: 48px 0px 7.6px 0px;\n  flex-direction: column;\n  overflow: hidden;\n  z-index: 2147483648;\n}\n\n.anv-search-container {\n  position: relative;\n  height: calc(100% - 130px);\n  display: flex;\n  flex-direction: column;\n  overflow-y: auto;\n  overflow-x: hidden;\n}\n\n.anv-search-matching-cue-container {\n  display: flex;\n  flex-direction: row;\n  padding: 6px 23px 6px 23px;\n  cursor: pointer;\n}\n\n.anv-search-matching-cue-container:hover {\n  background-color: rgba(130, 130, 130, 0.4);\n}\n\n.anv-search-matching-cue-thumbnail {\n  width: 80px;\n  height: 46.4px;\n  min-width: 80px;\n  min-height: 46.4px;\n  border: 1px solid rgba(255, 255, 255, 0.3);\n  background-size: auto;\n}\n\n.anv-search-matching-cue-time {\n  display: flex;\n  justify-content: center;\n  flex-direction: column;\n  margin-left: 12px;\n  font-size: 14px;\n}\n\n.anv-search-matching-cue-text {\n  flex-grow: 1;\n  display: flex;\n  justify-content: center;\n  flex-direction: column;\n  margin-left: 12px;\n  margin-right: 5px;\n  width: 80px;\n  height: 46.4px;\n  font-size: 14px;\n  overflow: hidden;\n  white-space: nowrap;\n}\n\n.anv-search-status-text {\n  margin: 10px 0 10px 0;\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 12px;\n  line-height: 16px;\n  padding-left: 23px;\n}\n\n.anv-search-input {\n  border: none;\n  outline: 2px solid #3672AA;\n  border-radius: 2px;\n  height: 36px;\n  width: 100%;\n  padding-left: 14px;\n}\n\n.anv-search-icon {\n  position: absolute;\n  top: 9px;\n  right: 14px;\n}\n\n/* The search icon shown within the search screen search query textbox */\n.anv-search-icon svg {\n  width: 18px;\n  height: 18px;\n}\n\n.anv-search-icon svg * {\n  fill: #707780;\n}\n\n/*video::-webkit-media-controls {*/\n/*display:none !important;*/\n/*}*/\n/* This is triangle attached to the preview image container that indicates the location of the preview image on the\n   seek bar */\n.anv-time-label-tail {\n  position: relative;\n  left: 30px;\n  width: 0;\n  height: 0;\n  border-left: 5px solid transparent;\n  border-right: 5px solid transparent;\n  border-top: 10px solid rgba(5, 4, 5, 0.69);\n  z-index: 2147483648;\n}\n\n/* The slider preview container */\n.anv-slider-preview {\n  position: absolute;\n  text-align: center;\n  width: 100%;\n  color: #fff;\n  z-index: 2147483648;\n}\n\n/* The splash screen container */\n.anv-splash {\n  z-index: 2147483648;\n}\n\n/* The play button displayed over top of the splash screen */\n.anv-splash-play-button {\n  cursor: pointer;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  width: 15%;\n  height: 26.65%;\n  overflow: hidden;\n  z-index: 2147483648;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n  pointer-events: all;\n}\n\n.anv-splash-play-button-img {\n  position: absolute;\n\n}\n\n.anv-splash-cast-status {\n  display: none;\n  position: absolute;\n  left: 30px;\n  padding: 5%;\n  bottom: 15%;\n}\n\n.anv-splash-mode-castScreen .anv-splash-cast-status {\n  display: block;\n}\n\n.anv-splash-cast-load-button {\n  display: none !important;\n  right: 1% !important;\n  bottom: 1% !important;\n  position: absolute !important;\n  width: 6%;\n}\n\n.anv-splash-mode-loadScreen .anv-splash-cast-load-button:not([status=\"none\"]) {\n  display: block !important;\n  color: #fff !important;\n  fill: rgba(255, 255, 255);\n}\n\n.anv-splash-cast-status-icon {\n  display: inline-block !important;\n  width: 50px !important;\n  height: 44px !important;\n}\n\n.anv-splash-cast-status-icon svg * {\n  fill: #eef8ff !important;\n}\n\n.anv-splash-cast-status-icon svg {\n  width: 100% !important;\n  height: 100% !important;\n}\n\n.anv-splash-cast-status-icon svg .cast-error {\n  display: none !important;\n}\n\n.anv-control-playlist-badge {\n  background-color: rgb(238, 63, 37);\n  border-radius: 50%;\n  height: 12px;\n  width: 12px;\n  position: relative;\n  left: 20px;\n  top: 5px;\n}\n\n.anv-control-playlist-badge-text {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  transform: translate(-50%, -50%);\n  font-size: 11px;\n}\n\n.anv-splash-cast-status-message-wrapper {\n  display: inline-block;\n  vertical-align: top;\n  color: lightslategray;\n  margin-left: 5px;\n}\n\n.anv-splash-cast-status-message {\n  font-size: .8em;\n}\n\n.anv-splash-cast-status-receiver-name {\n  font-size: 1.4em;\n}\n\n/* The container for the video title and description displayed over top of the splash screen */\n.anv-splash-header {\n  position: relative;\n  height: 30%;\n  zoom: 1;\n  color: #fff;\n  padding: 5% 5%;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n}\n\n.anv-splash-bottom {\n  position: absolute;\n  height: 60%;\n  zoom: 1;\n  border: 0;\n  margin: 0;\n  padding: 0;\n  width: 100%;\n  bottom: 0;\n  left: 0;\n  background: rgba(5, 4, 5, 0.42);\n  background: none;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00050405', endColorstr='#D1050405', GradientType=0);\n  background: -webkit-gradient(linear, left top, left bottom, from(rgba(5, 4, 5, 0)), to(rgba(5, 4, 5, 1)));\n  background: -moz-linear-gradient(top, rgba(5, 4, 5, 0), rgba(5, 4, 5, 1));\n}\n\n.anv-splash-header-gradient {\n  background: rgba(5, 4, 5, 0.42);\n  background: none;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D1050405', endColorstr='#00050405', GradientType=0);\n  background: -webkit-gradient(linear, left top, left bottom, from(rgba(5, 4, 5, 0.82)), to(rgba(5, 4, 5, 0)));\n  /* for webkit browsers */\n  background: -moz-linear-gradient(top, rgba(5, 4, 5, 0.82), rgba(5, 4, 5, 0));\n  /* for firefox 3.6+ */\n}\n\n/* Information about the video displayed in the splash screen */\n.anv-splash-info {\n  color: #fff;\n  width: 100%;\n}\n\n/* The title of the video displayed in the splash screen */\n\n@media all and (max-width: 499px) {\n  .anv-splash-title {\n    font-size: 15px !important;\n  }\n}\n\n@media all and (min-width: 500px) and (max-width: 1199px) {\n  .anv-splash-title {\n    font-size: 20px !important;\n  }\n}\n\n@media all and (min-width: 1200px) {\n  .anv-splash-title {\n    font-size: 32px !important;\n  }\n}\n.anv-splash-title {\n  max-width: 70%;\n}\n\n.anv-splash-title-container {\n  display: flex;\n  flex-direction: row;\n  justify-content: space-between;\n  align-items: center;\n}\n\n/* The title of the video displayed in the splash screen */\n.anv-splash-description {\n  font-size: 1em;\n  line-height: 1.7em;\n}\n\n@media all and (max-width: 499px) {\n  .anv-splash-share {\n    height: 18px !important;\n  }\n}\n\n@media all and (min-width: 500px) and (max-width: 1199px) {\n  .anv-splash-share {\n    height: 28px !important;\n  }\n}\n\n@media all and (min-width: 1200px) {\n  .anv-splash-share {\n    height: 44px !important;\n  }\n}\n/* The Splash share button */\n.anv-splash-share {\n  cursor: pointer;\n  height: 32px;\n  pointer-events: all;\n}\n\n.anv-splash-share svg {\n  height: 100%;\n  width: auto;\n  opacity: 0.9;\n}\n\n.anv-splash-share:hover svg {\n  opacity: 1;\n}\n\n.anv-no-touch .anv-splash-share:hover>.anv-splash-share-svg * {\n  opacity: 1;\n}\n\n.anv-splash-share:hover {\n  /*background-position: -224px -28px;*/\n}\n\n/* The playlist panel video entry that is currently selected */\n.anv-selected-playlist-item {\n  background: rgba(130, 130, 130, 0.7);\n}\n\n.anv-splash-spinning-wheel {\n  margin: auto;\n  position: absolute;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  width: 47px;\n  height: 47px;\n  z-index: 2147483649;\n}\n\n@-webkit-keyframes play {\n  from {\n    background-position: 0;\n  }\n\n  to {\n    background-position: -752px;\n  }\n}\n\n@-moz-keyframes play {\n  from {\n    background-position: 0;\n  }\n\n  to {\n    background-position: -752px;\n  }\n}\n\n@keyframes play {\n  from {\n    background-position: 0;\n  }\n\n  to {\n    background-position: -752px;\n  }\n}\n\n.anvVideoContent:-webkit-full-screen {\n  width: 100%\n}\n\n.anvVideoContent:-moz-full-screen {\n  width: 100%\n}\n\n.anvVideoContent:-ms-full-screen {\n  width: 100%\n}\n\n.anvVideoContent:-o-full-screen {\n  width: 100%\n}\n\n.anvVideoContent:full-screen {\n  width: 100%\n}\n\n.anv-recommendation {\n  position: absolute;\n  left: 0;\n  right: 0;\n  top: 0;\n  bottom: 0;\n  margin: auto;\n  z-index: 2147483648;\n  color: white;\n}\n\n.anv-recommendation-content {\n  background: rgba(24, 26, 27, 1);\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n}\n\n.anv-recommendation-background-poster {\n  background-color: #000;\n  background-size: cover;\n  display: none;\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 100%;\n  height: 100%;\n}\n\n.anv-recommendation-background-poster-filter {\n  background-color: rgba(0, 0, 0, 0.6);\n  height: 100%;\n  width: 100%;\n}\n\n.anv-recommendation-nav {\n  cursor: pointer;\n  display: none;\n  position: absolute;\n  top: 20%;\n  width: 3%;\n  height: 75%;\n}\n\n.anv-recommendation-nav-icon {\n  display: flex;\n  width: 100%;\n  height: 100%;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n}\n\n.anv-recommendation-nav-icon svg {\n  height: 32px;\n  width: auto;\n}\n\n.anv-recommendation-nav-icon svg * {\n  stroke: #fff;\n}\n\n.anv-no-touch .anv-recommendation-nav-icon:hover svg * {\n  stroke: rgba(255,255,255,0.8);\n}\n\n.anv-recommendation-prev {\n  left: 0;\n}\n\n.anv-recommendation-next {\n  right: 0;\n}\n\n.anv-recommendation-header {\n  /*background: #1817c0;*/\n  position: relative;\n  height: 20%;\n  display: flex;\n  padding: 0% 3%;\n  align-items: center;\n}\n\n.anv-recommendation-title {\n  font-size: 1.7em;\n  white-space: nowrap;\n  max-width: calc(100% - 200px);\n  overflow: hidden;\n  text-overflow: ellipsis;\n  float: left;\n}\n\n.anv-spacer {\n  flex-grow: 100;\n}\n\n.anv-recommendation-main {\n  display: flex;\n  position: relative;\n  height: 75%;\n  overflow-x: hidden;\n  overflow-y: hidden;\n  width: 94%;\n  justify-content: center;\n  margin: 0 3%;\n}\n\n.anv-recommendation-up-next {\n  display: none;\n  position: absolute;\n  left: 0;\n  top: 50%;\n  margin: 0;\n  text-align: center;\n  transform: translateY(-50%);\n  -ms-transform: translateY(-50%);\n  width: 100%;\n\n}\n\n.anv-recommendation-up-next-title {\n  font-weight: 600;\n  font-size: 1.3em;\n  margin: 10px 0;\n  padding: 0 20px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.anv-recommendation-up-next-play {\n  cursor: pointer;\n  display: none;\n  font-weight: 600;\n}\n\n@media only screen and (max-width: 430px) {\n  .anv-volume-slider-btn {\n    display: none !important;\n  }\n}\n\n@media only screen and (max-width: 500px) {\n  .anv-recommendation-background-poster {\n    display: block;\n  }\n\n  .anv-recommendation-small-content {\n    display: block;\n  }\n\n  .anv-recommendation-nav-icon {\n    display: none;\n  }\n\n  .anv-recommendation-title {\n    font-size: 1.3em;\n  }\n\n  .anv-recommendation-main {\n    display: none;\n  }\n\n  .anv-recommendation-up-next {\n    display: block;\n  }\n\n  .anv-chromecast-button {\n    display: none;\n  }\n}\n\n.anv-recommendation-columns {\n  position: absolute;\n  height: 100%;\n  max-height: 100%;\n  width: 100%;\n  display: flex;\n  flex-direction: row;\n  justify-content: center;\n}\n\n/* .anv-recommendation-columns:has(> :nth-child(-n+2):last-child) {\n  justify-content: flex-start;\n} */\n\n.anv-recommendation-column {\n  height: 100%;\n  /*background: #1718ff;*/\n  float: left;\n  /*padding: 5px;*/\n  /*margin: 1px;*/\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  margin-right: 1.75em;\n}\n.anv-recommendation-column:last-of-type {\n  margin-right: 0;\n}\n\n.anv-recommendation-frame {\n  position: relative;\n  width: 100%;\n  border-radius: 3px;\n  opacity: 1.0;\n  -webkit-transition: opacity 0.2s;\n  transition: opacity 0.2s;\n  overflow: hidden;\n}\n\n.anv-recommendation-frame:hover {\n  /*background: #ee3f25;*/\n}\n\n.anv-no-touch .anv-recommendation-frame:hover .anv-recommendation-info {\n  display: block;\n\n}\n\n.anv-no-touch .anv-recommendation-info {\n  display: none;\n}\n\n.anv-recommendation-info {\n  cursor: pointer;\n  position: absolute;\n  top: 0;\n  padding: 0 5%;\n  width: 90%;\n  /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(5, 4, 5, 0.82)', endColorstr='rgba(5, 4, 5, 0)');  for IE*/\n  /*background: -webkit-gradient(linear, left bottom, right bottom, from(rgba(5, 4, 5, 0.82)), to(rgba(5, 4, 5, 0)));  for webkit browsers*/\n  /*background: -moz-linear-gradient(left,  rgba(5, 4, 5, 0.82),  rgba(5, 4, 5, 0));  for firefox 3.6+*/\n  background: linear-gradient(0deg, rgba(24, 26, 27, 0) 0%, rgba(24, 26, 27, 0.3) 34.38%, rgba(24, 26, 27, 0.56) 62.07%, rgba(24, 26, 27, 0.74) 93.32%);;\n  color: #fff;\n}\n\n\n.anv-recommendation-info-title {\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  -webkit-line-clamp: 2;\n  overflow: hidden;\n  width: 100%;\n  font-size: 1em;\n  font-weight: 400;\n  margin-bottom: 0.625em;\n}\n\n.anv-recommendation-info-desc {\n  /* width: 100%;\n  visibility: hidden;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  font-size: 0.7em;\n  text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000; */\n  display: none;\n}\n@media all and (max-width: 600px) {\n  .anv-recommendation-info-title {\n    margin: 0;\n    font-size: 0.9em !important;\n  }\n  .anv-recommendation-info-timer {\n    font-size: 0.7em !important;\n  }\n}\n.anv-recommendation-info-timer {\n  color: white;\n  margin-top: 0;\n  font-size: 0.9em;\n  font-weight: 300;\n}\n\n.anv-recommendation-item {\n  /* position: absolute;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  top: 10px;\n  margin: auto 0; */\n  margin-bottom: 1.75em;\n}\n\n.anv-recommendation-thumbnail {\n  margin: auto;\n  width: 100%;\n  height: 100%;\n}\n\n.anv-recommendation-share {\n  float: right;\n  margin: 3%;\n  cursor: pointer;\n  margin-right: 0px;\n}\n\n.anv-recommendation-replay {\n  float: right;\n  margin: 3% 0;\n  cursor: pointer;\n}\n\n.anv-recommendation-share svg,\n.anv-recommendation-replay svg {\n  width: auto;\n  height: 1.7em;\n}\n\n.anv-recommendation-share svg *,\n.anv-recommendation-replay svg * {\n  fill: rgba(255,255,255,1);\n}\n\n.anv-no-touch .anv-recommendation-share:hover svg *,\n.anv-no-touch .anv-recommendation-replay:hover svg * {\n  fill: rgba(255,255,255,0.8);\n}\n\n.anv-recommendation-fade {\n  opacity: 0.0;\n}\n\n.anv-no-touch .anv-recommendation-replay:hover {\n  background-position: -415px -32px;\n}\n\n.anv-recall-frame {\n  bottom: 0;\n  padding: 0 5px;\n  width: 50px;\n  z-index: 2147483648;\n}\n\n.anv-recall-time {\n  /*position: absolute;*/\n  text-align: center;\n  width: auto;\n  padding: 4px;\n  height: 15px;\n  font-size: 0.8em;\n  background: rgba(34, 34, 34, .95);\n\n  /*bottom: 25px;*/\n}\n\n.anv-recall-tail {\n  position: relative;\n  left: 20px;\n  width: 0;\n  height: 0;\n  border-left: 5px solid transparent;\n  border-right: 5px solid transparent;\n  border-top: 10px solid rgba(34, 34, 34, 0.95);\n}\n\n.anv-recall-line {\n  width: 24px;\n  border-right: solid 2px #fff;\n  height: 15px;\n}\n\n.anv-live-btn {\n  /*width:20%;*/\n  margin-right: 10px;\n  float: left;\n  justify-content: center;\n  align-items: center;\n}\n\n.anv-live-label {\n  font-size: 0.9em;\n  line-height: 30px;\n  text-align: left;\n  float: left;\n  margin-top: 2px;\n  margin-left: 3px;\n  color: #fff;\n}\n\n.anv-live-mark {\n  font-size: 1.5em;\n  line-height: 28px;\n  float: left;\n  margin-top: 2px;\n}\n\nhtml {\n  -webkit-touch-callout: none !important;\n}\n\nbody {\n  -webkit-touch-callout: none !important;\n}\n\n.anv-caption-set {\n  position: absolute;\n  left: 0;\n  right: 0;\n  bottom: 0;\n  top: 0;\n  margin: auto;\n  background: rgba(34, 34, 34, 0.8);\n  color: white;\n  border-radius: 5px;\n  font-family: arial;\n  -webkit-touch-callout: none;\n  -webkit-user-select: none;\n  -khtml-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  z-index: 2147483648;\n}\n\n.anv-caption-set-header {\n  height: 20%;\n  width: 80%;\n  max-width: 500px;\n  max-height: 250px;\n  margin: 0 auto;\n  line-height: 5em;\n}\n\n.anv-caption-set-content {\n  height: 50%;\n  min-height: 145px;\n  max-width: 500px;\n  max-height: 250px;\n  width: 80%;\n  margin: 0 auto;\n}\n\n.anv-caption-set-main {\n  width: 50%;\n  height: 100%;\n  float: left;\n  /*background: #193;*/\n}\n\n.anv-caption-set-advanced {\n  width: 45%;\n  float: left;\n  margin-left: 5%;\n  height: 100%;\n}\n\n.anv-overlay-close-btn svg {\n  height: 14px;\n  padding: 2px;\n  width: auto;\n}\n\n.anv-overlay-close-btn {\n  cursor: pointer;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.anv-caption-set-main-row {\n  height: 25%;\n  width: 100%;\n}\n\n.anv-caption-set-main-half {\n  width: 48%;\n  min-width: 110px;\n}\n\n.anv-caption-set-advanced-row {\n  /*border: solid 1px #000;*/\n  height: 25%;\n  width: 100%;\n}\n\n.anv-caption-set-narrow-row {\n  height: 20%;\n  width: 100%;\n}\n\n.anv-caption-set-expand-button {\n  font-size: 0.8em;\n}\n\n.anv-caption-set-advanced-panel {\n  height: 85%;\n  width: 100%;\n}\n\n.anv-caption-set-result-frame {\n  min-height: 30%;\n  height: auto;\n  width: 100%;\n  float: left;\n  overflow: hidden;\n  text-align: center;\n}\n\n.anv-caption-set-result-holder {\n  display: inline-block;\n  padding: 8px;\n  height: auto;\n  overflow: hidden;\n  text-align: center;\n}\n\n.anv-caption-set-result {\n  /*line-height: 2em;*/\n  display: inline-block;\n  /*margin: 10px auto;*/\n  /*padding: 0 5px;*/\n}\n\n.anv-caption-set-row-label {\n  color: white;\n  font-size: .75em;\n  height: 2em;\n  line-height: 32px;\n  vertical-align: middle;\n  padding: 0 5px 0 0;\n}\n\ninput[type=\"checkbox\"] {\n  margin: 0 4px 0 0;\n}\n\n.anv-caption-set-check-label {\n  font-size: 0.75em;\n  vertical-align: top;\n  color: white;\n}\n\n.anv-check-holder {\n  margin-right: 25px;\n}\n\n.anv-caption-set-select {\n  /*-webkit-appearance: menulist-button;*/\n  /*-moz-appearance: menulist-button;*/\n  height: 28px;\n  background: #fff;\n  /*width: 68px;*/\n  padding: 0 5px;\n  text-align: center;\n  /*font-size: 16px;*/\n  /*line-height: 1;*/\n  border: solid 2px rgb(132, 132, 132);\n  border-radius: 5px;\n  height: 28px;\n  text-indent: 0.01px;\n  text-overflow: '';\n  -webkit-appearance: none;\n  -moz-appearance: none;\n  max-width: 50%;\n}\n\n.anv-color-picker-item {\n  float: left;\n}\n\n.anv-left {\n  float: left;\n}\n\n.anv-right {\n  float: right;\n}\n\n.anv-color-picker {\n  background: #444444;\n  border-radius: 4px;\n}\n\n.anv-caption-set-color-box {\n  position: relative;\n  background: #fff;\n  width: 26px;\n  height: 26px;\n  border: solid 2px rgb(132, 132, 132);\n  border-radius: 4px;\n\n}\n\n.anv-select-corner {\n  position: absolute;\n  bottom: -1px;\n  right: -2px;\n  width: 10px;\n  height: 10px;\n  background: rgb(132, 132, 132);\n  border-bottom-right-radius: 4px;\n}\n\n.anv-select-triangle {\n  width: 0;\n  height: 0;\n  border-left: 3px solid transparent;\n  border-right: 3px solid transparent;\n  border-bottom: 6px solid #000;\n  margin: 2px;\n}\n\n.anv-slate {\n  position: absolute;\n  top: 0;\n  width: 640px;\n  height: 360px;\n  color: #fff;\n  background: #000000;\n  display: none;\n  z-index: 2147483649;\n}\n\n.anv-slate-frame {\n  width: 96%;\n  position: absolute;\n  margin: auto;\n  top: 0;\n  left: 2%;\n  bottom: 0;\n  right: 2%;\n  display: inline-block;\n  vertical-align: middle;\n}\n\n.anv-slate-animation {\n  position: relative;\n  max-width: 200px;\n  width: 25%;\n  height: 100%;\n  display: inline-block;\n  vertical-align: super;\n}\n\n.anv-slate-message-frame {\n  display: inline-block;\n  height: 100%;\n  padding-left: 3%;\n  width: 70%;\n  vertical-align: top;\n}\n\n.anv-slate-message {\n  line-height: 50px;\n  font-family: Arial, sans-serif;\n  color: #606060;\n  vertical-align: middle;\n  font-size: 3.5vw;\n  display: inline-block;\n}\n\n.anv-slate-message-frame:before {\n  content: '';\n  display: inline-block;\n  height: 100%;\n  vertical-align: middle;\n}\n\n.anv-slate-outer {\n  margin: auto;\n  position: absolute;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  width: 100%;\n  height: 100%;\n  z-index: 2147483649;\n  -webkit-animation: anv-cv 3.6s infinite linear;\n  -moz-animation: anv-cv 3.6s infinite linear;\n  animation: anv-cv 3.6s infinite linear;\n}\n\n.anv-slate-inner svg,\n.anv-slate-outer svg {\n  width: 100%;\n  height: 100%;\n}\n\n@keyframes anv-cv {\n  from {\n    transform: rotate(0deg);\n  }\n\n  to {\n    transform: rotate(359deg);\n  }\n}\n\n@-webkit-keyframes anv-cv {\n  from {\n    -webkit-transform: rotate(0deg);\n  }\n\n  to {\n    -webkit-transform: rotate(359deg);\n  }\n}\n\n@-moz-keyframes anv-cv {\n  from {\n    -moz-transform: rotate(0deg);\n  }\n\n  to {\n    -moz-transform: rotate(359deg);\n  }\n}\n\n@keyframes anv-ccv {\n  to {\n    transform: rotate(0deg);\n  }\n\n  from {\n    transform: rotate(359deg);\n  }\n}\n\n@-webkit-keyframes anv-ccv {\n  to {\n    -webkit-transform: rotate(0deg);\n  }\n\n  from {\n    -webkit-transform: rotate(359deg);\n  }\n}\n\n@-moz-keyframes anv-ccv {\n  to {\n    -moz-transform: rotate(0deg);\n  }\n\n  from {\n    -moz-transform: rotate(359deg);\n  }\n}\n\n.anv-slate-inner {\n  margin: auto;\n  position: absolute;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  width: 50%;\n  padding-bottom: 25%;\n  padding-top: 25%;\n  z-index: 2147483649;\n  -webkit-animation: anv-ccv 3.6s infinite linear;\n  -moz-animation: anv-ccv 3.6s infinite linear;\n  animation: anv-ccv 3.6s infinite linear;\n}\n\n/*styling for subscriber authentication*/\n.anv-login-dialog {\n  font-family: Arial, sans-serif;\n  margin: auto;\n  width: 260px;\n  height: 200px;\n  position: absolute;\n  top: 0;\n  bottom: 40px;\n  left: 0;\n  right: 0;\n}\n\n.anv-login-error {\n  color: red;\n  height: 28px;\n  font-size: 14px;\n  line-height: 14px;\n  margin: 10px 0;\n}\n\n.anv-full-width {\n  width: 100%;\n  max-width: 260px;\n  display: block;\n  margin-bottom: 10px;\n}\n\n.anv-row-item {\n  margin-right: 10px;\n}\n\n.anv-purchase,\n.anv-login {\n  -moz-box-shadow: inset 0px 1px 0px 0px #f5978e;\n  -webkit-box-shadow: inset 0px 1px 0px 0px #f5978e;\n  box-shadow: inset 0px 1px 0px 0px #f5978e;\n  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f));\n  background: -moz-linear-gradient(center top, #f24537 5%, #c62d1f 100%);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f');\n  background-color: #f24537;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  border-radius: 3px;\n  text-indent: 0;\n  border: 1px solid #d02718;\n  display: inline-block;\n  color: #ffffff;\n  font-size: 15px;\n  font-weight: bold;\n  font-style: normal;\n  height: 40px;\n  line-height: 40px;\n  width: 100px;\n  text-decoration: none;\n  text-align: center;\n  text-shadow: 1px 1px 0px #810e05;\n}\n\n.anv-purchase:active,\n.anv-login:active {\n  background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537));\n  background: -moz-linear-gradient(center top, #c62d1f 5%, #f24537 100%);\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537');\n  background-color: #c62d1f;\n}\n\n.anv-forgot {\n  text-decoration: none;\n  color: rgb(64, 153, 255);\n  font-size: .9em;\n}\n\n.anv-ad-timer-wrapper {\n  position: absolute;\n  z-index: 999999999999999999;\n  color: #fff;\n  padding: 1.5%;\n  width: 100%;\n  box-sizing: border-box;\n  pointer-events: none;\n}\n\n.anv-ad-timer-wrapper-gradient {\n  background: rgba(5, 4, 5, 0.42);\n  background: none;\n  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#D1050405', endColorstr='#00050405', GradientType=0);\n  zoom: 1;\n  background: -moz-linear-gradient(top, rgba(5, 4, 5, 0.82), rgba(5, 4, 5, 0));\n  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(5, 4, 5, 0.819608)), to(rgba(5, 4, 5, 0)));\n  background: linear-gradient(to bottom, rgba(5, 4, 5, 0.81960784313725), rgba(5, 4, 5, 0.0));\n}\n\n.anv-learn-more {\n  display: none;\n  background: rgba(0, 0, 0, .8);\n  border: 1px solid #eee;\n  color: #fff;\n  float: right;\n  padding: 1%;\n  pointer-events: all;\n  cursor: pointer;\n  z-index: 99999999999999999999999;\n  -webkit-touch-callout: none;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n\n.anv-skip-ad-button {\n  position: absolute;\n  /*right: 0;*/\n  /*top: 60%;*/\n  background: rgba(0, 0, 0, .8);\n  border: 1px solid #eee;\n  padding: 1%;\n  background: #000;\n  color: #fff;\n  cursor: pointer;\n  z-index: 999999999999999999;\n}\n\n.anv-notification-dialog {\n  position: absolute;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  color: #fff;\n  background: rgba(0, 0, 0, .9);\n  display: none;\n  font-family: arial, sans-serif;\n  text-align: justify;\n  -ms-text-justify: distribute-all-lines;\n  text-justify: distribute-all-lines;\n  z-index: 2147483649;\n}\n\n.anv-notification-dialog-content {\n  display: inline-block;\n  height: 30%;\n  margin: auto;\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  padding: 5%;\n  font-size: 5vh;\n  line-height: 7.5vh;\n}\n\n.anv-notification-dialog-content>a {\n  color: white;\n}\n\n.anv-notification-button {\n  position: absolute;\n  top: 20px;\n  right: 20px;\n  height: 28px;\n  color: #000000;\n  display: none;\n  z-index: 2147483649;\n  cursor: pointer;\n}\n\n.anv-video-container-caption {\n  position: absolute;\n  pointer-events: none;\n  left: 0;\n  right: 0;\n  top: 0;\n  bottom: 0;\n  margin: auto;\n  z-index: 2147483648;\n  /*background: rgba(16, 221, 235, 0.68);*/\n  width: 100%;\n  height: 100%;\n  color: #fff;\n  /*border: solid 1px #fff;*/\n}\n\n.anv-caption-608-frame {\n  margin: auto;\n  top: 0;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  position: absolute;\n  pointer-events: none;\n  /*margin-left: 12.5%;*/\n  /*margin-right: 12.5%;*/\n}\n\n.anv-caption-608-frame-line {\n  font-family: Courier, monospace;\n}\n\n.anv-caption-608-frame-line-char {\n  display: inline-block;\n  visibility: hidden;\n  vertical-align: bottom;\n}\n\n.anv-autoplay-toggle-holder {\n  position: absolute;\n  right: 50px;\n  top: 16px;\n  font-size: 11px;\n}\n\n.anv-autoplay-toggle {\n  border-radius: 5px;\n  width: 25px;\n  height: 10px;\n  background-color: #888;\n  float: right;\n  margin-left: 5px;\n  position: relative;\n  cursor: pointer;\n}\n\n.anv-autoplay-toggle:before {\n  position: absolute;\n  content: '';\n  top: -10px;\n  right: -10px;\n  left: -10px;\n  bottom: -10px;\n  cursor: pointer;\n}\n\n.anv-autoplay-toggle-inner-segment {\n  position: relative;\n  border-radius: 5px;\n  width: 10px;\n  height: 10px;\n  background-color: #FFF;\n  transition: left 0.2s;\n}\n\n@-moz-keyframes spin {\n  100% {\n    -moz-transform: rotate(360deg);\n  }\n}\n\n@-webkit-keyframes spin {\n  100% {\n    -webkit-transform: rotate(360deg);\n  }\n}\n\n@keyframes spin {\n  100% {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg);\n  }\n}\n\n\n.anv-splash-play-button svg {\n  width: 100%;\n  height: 100%;\n}\n\n.anv-splash-play-button>.anv-splash-play-button-svg * {\n  fill: rgba(255, 255, 255, 1);\n}\n\n.anv-no-touch .anv-splash-play-button>.anv-splash-play-button-svg * {\n  fill: rgba(255, 255, 255, 0.8);\n}\n\n.anv-splash-play-button:hover>.anv-splash-play-button-svg * {\n  fill: rgba(255, 255, 255, 1);\n}\n\n.anv-splash-share>.anv-splash-share-svg * {\n  fill: #ffffff;\n}\n\n.anv-play-pause-btn.anv-control-btn[data-anv-title]:after {\n  transform: translateX(-16px);\n}\n\n.anv-subtitles-btn.anv-control-btn[data-anv-title]:after {\n  transform: translateX(min(calc(-100% + 100px), calc(-50% + 12px)));\n}\n\n.anv-picture-in-picture-btn.anv-control-btn[data-anv-title]:after {\n  transform: translateX(min(calc(-100% + 110px), calc(-50% + 12px)));\n}\n\n.anv-fullscreen-btn.anv-control-btn[data-anv-title]:after {\n  transform: translateX(calc(-100% + 40px));\n}\n@media (hover: none) {\n  .anv-control-btn[data-anv-title]:after {\n    display: none !important;\n  }\n}\n.anv-control-btn[data-anv-title]:after {\n  content: attr(data-anv-title);\n  display: none;\n  top: -20px;\n  background-color: black;\n  text-align: center;\n  border-radius: 3px;\n  padding: 4px 10px;\n  position: absolute;\n  color: #dadada;\n  white-space: nowrap;\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 600;\n  font-size: 11px;\n  line-height: 16px;\n  transform: translateX(calc(-50% + 8px));\n}\n\n.show-anv-data-title .anv-control-btn[data-anv-title]:hover:after {\n  display: block;\n}\n\n.anv-control-btn>svg * {\n  fill: #fff;\n}\n\n.anv-control-btn.disabled>svg * {\n  fill: #8b8e93 !important;\n}\n\n@media all and (max-width: 499px) {\n  .anv-control-btn>svg {\n    height: 16px !important;\n  }\n}\n\n@media all and (min-width: 500px) and (max-width: 1199px) {\n  .anv-control-btn>svg {\n    height: 18px !important;\n  }\n}\n\n@media all and (min-width: 1200px) {\n  .anv-control-btn>svg {\n    height: 24px !important;\n  }\n}\n.anv-control-btn>svg {\n  height: 18px;\n  width: auto;\n  margin: 6px auto;\n}\n\n.anv-control-btn:hover>svg * {\n  fill: #fff;\n}\n\n.anv-play-pause-btn[on=true] .pause,\n.anv-play-pause-btn[on=false] .play {\n  display: none;\n}\n\n.anv-volume-icon-btn {\n  padding-right: 0;\n}\n\n/* This class is given to the volume icon button when the volume level is at 0 */\n.anv-volume-icon-btn[on=false] .low,\n.anv-volume-icon-btn[on=false] .medium,\n.anv-volume-icon-btn[on=false] .high {\n  display: none\n}\n\n.anv-volume-icon-off-btn:hover,\n.anv-volume-icon-btn[on=false]:hover {}\n\n/* This class is given to the volume icon button when the volume level is between 0 and 1/3 */\n.anv-volume-icon-low-btn[on=true] .low {\n  display: block;\n}\n\n.anv-volume-icon-low-btn[on=true] .medium,\n.anv-volume-icon-low-btn[on=true] .high {\n  display: none;\n}\n\n.anv-volume-icon-med-btn[on=true] .high {\n  display: none;\n}\n\n.anv-volume-icon-med-btn[on=true] .low,\n.anv-volume-icon-med-btn[on=true] .medium {\n  display: block;\n}\n\n.anv-volume-icon-high-btn[on=true] .low,\n.anv-volume-icon-high-btn[on=true] .medium,\n.anv-volume-icon-high-btn[on=true] .high {\n  display: block;\n}\n\n.anv-volume-icon-off-btn[on=true] .low,\n.anv-volume-icon-off-btn[on=true] .medium,\n.anv-volume-icon-off-btn[on=true] .high {\n  display: none;\n}\n\n.anv-no-touch .anv-volume-icon-high-btn[on=true]:hover {\n  background-position: -66px -33px;\n}\n\n.anv-fullscreen-btn[on=false]>.anv-fullscreen-btn-svg .normal {\n  display: none;\n}\n\n.anv-no-touch .anv-fullscreen-btn[on=false]:hover>.anv-fullscreen-btn-svg .normal {\n  display: none;\n  fill: #ee3f25;\n}\n\n.anv-fullscreen-btn[on=false]>.anv-fullscreen-btn-svg .fullscreen {\n  display: block;\n}\n\n.anv-fullscreen-btn[on=true]>.anv-fullscreen-btn-svg .normal {\n  display: block;\n}\n\n.anv-no-touch .anv-fullscreen-btn[on=true]:hover>.anv-fullscreen-btn-svg .normal {\n  display: block;\n  fill: #ee3f25;\n}\n\n.anv-fullscreen-btn[on=true]>.anv-fullscreen-btn-svg .fullscreen {\n  display: none;\n}\n\n.anv-share-social-btn>.anv-share-social-btn-svg * {\n  fill: #fff;\n}\n\n.anv-no-touch .anv-share-social-btn:hover>.anv-share-social-btn-svg * {\n  fill: #ee3f25;\n}\n\n.anv-share-close-btn svg *,\n.anv-search-close-btn svg *,\n.anv-notification-close-btn svg *,\n.anv-caption-set-close-btn svg *,\n.anv-overlay-close-btn svg * {\n  fill: #fff;\n}\n\n.anv-search-input-container {\n  position: relative;\n  margin-right: 23px;\n  margin-left: 23px;\n}\n\n.anv-search-close-btn {\n  width: 12px;\n  height: 12px;\n  position: absolute;\n  top: 19px;\n  right: 23px;\n}\n\n.anv-search-close-btn svg {\n  width: 12px;\n  height: 12px;\n  margin: 0;\n}\n\n.anv-no-touch .anv-share-close-btn:hover svg *,\n.anv-no-touch .anv-search-close-btn:hover svg *,\n.anv-no-touch .anv-notification-close-btn:hover svg *,\n.anv-no-touch .anv-caption-set-close-btn:hover svg *,\n.anv-no-touch .anv-overlay-close-btn:hover svg * {\n  fill: rgba(255,255,255,0.8);\n}\n\n/* Spining wheel */\n\n\n.anv-splash-spinning-wheel svg {\n  animation: rotate 2s linear infinite;\n  position: relative;\n}\n\n.anv-splash-spinning-wheel.ie11 svg {\n  animation: rotate 1s linear infinite;\n}\n\n\n.anv-splash-spinning-wheel svg .path {\n  stroke-dasharray: 1, 200;\n  stroke-dashoffset: 0;\n  animation: dash 1.5s ease-in-out infinite;\n  stroke-linecap: square;\n  stroke: #fff;\n}\n\n.anv-splash-spinning-wheel.ie11 svg .path {\n  animation: none;\n  stroke-dasharray: 30, 200;\n}\n\n.anv-splash-spinning-wheel svg .guide {\n  display: none;\n}\n\n.anv-splash-spinning-wheel.ie11 svg .guide {\n  display: block;\n  stroke: #6b6a6b;\n}\n\n@keyframes rotate {\n  100% {\n    transform: rotate(360deg);\n  }\n}\n\n@keyframes dash {\n  0% {\n    stroke-dasharray: 1, 200;\n    stroke-dashoffset: 0;\n  }\n\n  50% {\n    stroke-dasharray: 89, 200;\n    stroke-dashoffset: -35;\n  }\n\n  100% {\n    stroke-dasharray: 89, 200;\n    stroke-dashoffset: -124;\n  }\n}\n\n\n.anv-control-menu-button {\n  border: none;\n  background-color: transparent;\n  padding: 0;\n  color: inherit;\n  text-align: inherit;\n  font-size: 100%;\n  font-family: inherit;\n  cursor: default;\n  line-height: inherit\n}\n\n.anv-control-menu-button,\n.anv-control-menu-button:focus {\n  outline: 0\n}\n\n.anv-control-menu-button::-moz-focus-inner {\n  padding: 0;\n  border: 0\n}\n\n.anv-control-menu-button:not([aria-disabled=true]):not([disabled]):not([aria-hidden=true]) {\n  cursor: pointer\n}\n\n.anv-control-menu-svg-fill {\n  fill: #fff\n}\n\n@-webkit-keyframes anv-control-menu-party-background-color {\n  0% {\n    background-color: red\n  }\n\n  20% {\n    background-color: #0f0\n  }\n\n  40% {\n    background-color: #00f\n  }\n\n  60% {\n    background-color: #f0f\n  }\n\n  80% {\n    background-color: #ff0\n  }\n\n  to {\n    background-color: #0ff\n  }\n}\n\n@keyframes anv-control-menu-party-background-color {\n  0% {\n    background-color: red\n  }\n\n  20% {\n    background-color: #0f0\n  }\n\n  40% {\n    background-color: #00f\n  }\n\n  60% {\n    background-color: #f0f\n  }\n\n  80% {\n    background-color: #ff0\n  }\n\n  to {\n    background-color: #0ff\n  }\n}\n\n@-webkit-keyframes anv-control-menu-party-color {\n  0% {\n    color: red\n  }\n\n  20% {\n    color: #0f0\n  }\n\n  40% {\n    color: #00f\n  }\n\n  60% {\n    color: #f0f\n  }\n\n  80% {\n    color: #ff0\n  }\n\n  to {\n    color: #0ff\n  }\n}\n\n@keyframes anv-control-menu-party-color {\n  0% {\n    color: red\n  }\n\n  20% {\n    color: #0f0\n  }\n\n  40% {\n    color: #00f\n  }\n\n  60% {\n    color: #f0f\n  }\n\n  80% {\n    color: #ff0\n  }\n\n  to {\n    color: #0ff\n  }\n}\n\n@-webkit-keyframes anv-control-menu-party-fill {\n  0% {\n    fill: red\n  }\n\n  20% {\n    fill: #0f0\n  }\n\n  40% {\n    fill: #00f\n  }\n\n  60% {\n    fill: #f0f\n  }\n\n  80% {\n    fill: #ff0\n  }\n\n  to {\n    fill: #0ff\n  }\n}\n\n@keyframes anv-control-menu-party-fill {\n  0% {\n    fill: red\n  }\n\n  20% {\n    fill: #0f0\n  }\n\n  40% {\n    fill: #00f\n  }\n\n  60% {\n    fill: #f0f\n  }\n\n  80% {\n    fill: #ff0\n  }\n\n  to {\n    fill: #0ff\n  }\n}\n\n@media print {\n\n  :not(.anv-control-menu-mweb-player) .anv-control-menu-title,\n  :not(.anv-control-menu-mweb-player) .anv-control-menu-title * {\n    color: #000 !important;\n    visibility: visible !important\n  }\n}\n\n.anv-control-menu-back-button {\n  margin-left: 4px;\n  margin-top: 2px\n}\n\n@-webkit-keyframes anv-control-menu-bezel-fadeout {\n  0% {\n    opacity: 1\n  }\n\n  to {\n    opacity: 0;\n    -webkit-transform: scale(2);\n    transform: scale(2)\n  }\n}\n\n@keyframes anv-control-menu-bezel-fadeout {\n  0% {\n    opacity: 1\n  }\n\n  to {\n    opacity: 0;\n    -webkit-transform: scale(2);\n    transform: scale(2)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-title-channel-fade-in {\n  0% {\n    background-color: transparent;\n    border-radius: 25px;\n    max-width: 10%\n  }\n\n  25% {\n    background-color: rgba(35, 35, 35, .9)\n  }\n\n  75% {\n    border-radius: 25px 4px 4px 25px;\n    max-width: 100%\n  }\n}\n\n@keyframes anv-control-menu-title-channel-fade-in {\n  0% {\n    background-color: transparent;\n    border-radius: 25px;\n    max-width: 10%\n  }\n\n  25% {\n    background-color: rgba(35, 35, 35, .9)\n  }\n\n  75% {\n    border-radius: 25px 4px 4px 25px;\n    max-width: 100%\n  }\n}\n\n@-webkit-keyframes anv-control-menu-title-channel-fade-out {\n  0% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 25px 4px 4px 25px;\n    width: 500px\n  }\n\n  75% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 25px;\n    width: 50px\n  }\n}\n\n@keyframes anv-control-menu-title-channel-fade-out {\n  0% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 25px 4px 4px 25px;\n    width: 500px\n  }\n\n  75% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 25px;\n    width: 50px\n  }\n}\n\n@-webkit-keyframes anv-control-menu-title-channel-fade-in-big-mode {\n  0% {\n    background-color: transparent;\n    border-radius: 35px;\n    max-width: 15%\n  }\n\n  25% {\n    background-color: rgba(35, 35, 35, .9)\n  }\n\n  75% {\n    border-radius: 35px 4px 4px 35px;\n    max-width: 100%\n  }\n}\n\n@keyframes anv-control-menu-title-channel-fade-in-big-mode {\n  0% {\n    background-color: transparent;\n    border-radius: 35px;\n    max-width: 15%\n  }\n\n  25% {\n    background-color: rgba(35, 35, 35, .9)\n  }\n\n  75% {\n    border-radius: 35px 4px 4px 35px;\n    max-width: 100%\n  }\n}\n\n@-webkit-keyframes anv-control-menu-title-channel-fade-out-big-mode {\n  0% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 35px 4px 4px 35px;\n    width: 500px\n  }\n\n  75% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 35px;\n    width: 70px\n  }\n}\n\n@keyframes anv-control-menu-title-channel-fade-out-big-mode {\n  0% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 35px 4px 4px 35px;\n    width: 500px\n  }\n\n  75% {\n    background-color: rgba(35, 35, 35, .9);\n    border-radius: 35px;\n    width: 70px\n  }\n}\n\n@-webkit-keyframes anv-control-menu-title-expanded-fade-in {\n  0% {\n    opacity: 0\n  }\n\n  25% {\n    opacity: 0\n  }\n\n  to {\n    opacity: 1\n  }\n}\n\n@keyframes anv-control-menu-title-expanded-fade-in {\n  0% {\n    opacity: 0\n  }\n\n  25% {\n    opacity: 0\n  }\n\n  to {\n    opacity: 1\n  }\n}\n\n@-webkit-keyframes anv-control-menu-title-expanded-fade-out {\n  0% {\n    opacity: 1\n  }\n\n  25% {\n    opacity: 1\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@keyframes anv-control-menu-title-expanded-fade-out {\n  0% {\n    opacity: 1\n  }\n\n  25% {\n    opacity: 1\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@-webkit-keyframes anv-control-menu-title-beacon-pulse {\n  0% {\n    background: #000;\n    width: 40px;\n    height: 40px;\n    left: 5px;\n    top: 5px\n  }\n\n  50% {\n    background: 0 0;\n    width: 50px;\n    height: 50px;\n    left: 0;\n    top: 0\n  }\n}\n\n@keyframes anv-control-menu-title-beacon-pulse {\n  0% {\n    background: #000;\n    width: 40px;\n    height: 40px;\n    left: 5px;\n    top: 5px\n  }\n\n  50% {\n    background: 0 0;\n    width: 50px;\n    height: 50px;\n    left: 0;\n    top: 0\n  }\n}\n\n@-webkit-keyframes arrow-fade-out-1 {\n  0% {\n    opacity: 0\n  }\n\n  17% {\n    opacity: .9\n  }\n\n  33% {\n    opacity: .6\n  }\n\n  50% {\n    opacity: .3\n  }\n\n  67% {\n    opacity: .3\n  }\n\n  83% {\n    opacity: .3\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@keyframes arrow-fade-out-1 {\n  0% {\n    opacity: 0\n  }\n\n  17% {\n    opacity: .9\n  }\n\n  33% {\n    opacity: .6\n  }\n\n  50% {\n    opacity: .3\n  }\n\n  67% {\n    opacity: .3\n  }\n\n  83% {\n    opacity: .3\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@-webkit-keyframes arrow-fade-out-2 {\n  0% {\n    opacity: 0\n  }\n\n  17% {\n    opacity: .3\n  }\n\n  33% {\n    opacity: .9\n  }\n\n  50% {\n    opacity: .6\n  }\n\n  67% {\n    opacity: .3\n  }\n\n  83% {\n    opacity: .3\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@keyframes arrow-fade-out-2 {\n  0% {\n    opacity: 0\n  }\n\n  17% {\n    opacity: .3\n  }\n\n  33% {\n    opacity: .9\n  }\n\n  50% {\n    opacity: .6\n  }\n\n  67% {\n    opacity: .3\n  }\n\n  83% {\n    opacity: .3\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@-webkit-keyframes arrow-fade-out-3 {\n  0% {\n    opacity: 0\n  }\n\n  17% {\n    opacity: .3\n  }\n\n  33% {\n    opacity: .3\n  }\n\n  50% {\n    opacity: .9\n  }\n\n  67% {\n    opacity: .6\n  }\n\n  83% {\n    opacity: .3\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@keyframes arrow-fade-out-3 {\n  0% {\n    opacity: 0\n  }\n\n  17% {\n    opacity: .3\n  }\n\n  33% {\n    opacity: .3\n  }\n\n  50% {\n    opacity: .9\n  }\n\n  67% {\n    opacity: .6\n  }\n\n  83% {\n    opacity: .3\n  }\n\n  to {\n    opacity: 0\n  }\n}\n\n@-webkit-keyframes grow-circle {\n  0% {\n    -webkit-transform: scale(0);\n    transform: scale(0)\n  }\n\n  to {\n    -webkit-transform: scale(1) translateY(-25%);\n    transform: scale(1) translateY(-25%)\n  }\n}\n\n@keyframes grow-circle {\n  0% {\n    -webkit-transform: scale(0);\n    transform: scale(0)\n  }\n\n  to {\n    -webkit-transform: scale(1) translateY(-25%);\n    transform: scale(1) translateY(-25%)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-equalizer-animation {\n  0% {\n    -webkit-transform: scaleY(1);\n    transform: scaleY(1)\n  }\n\n  50% {\n    -webkit-transform: scaleY(.5);\n    transform: scaleY(.5)\n  }\n\n  to {\n    -webkit-transform: scaleY(1);\n    transform: scaleY(1)\n  }\n}\n\n@keyframes anv-control-menu-equalizer-animation {\n  0% {\n    -webkit-transform: scaleY(1);\n    transform: scaleY(1)\n  }\n\n  50% {\n    -webkit-transform: scaleY(.5);\n    transform: scaleY(.5)\n  }\n\n  to {\n    -webkit-transform: scaleY(1);\n    transform: scaleY(1)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-fullscreen-button-corner-0-animation {\n  50% {\n    -webkit-transform: translate(-1px, -1px);\n    transform: translate(-1px, -1px)\n  }\n}\n\n@keyframes anv-control-menu-fullscreen-button-corner-0-animation {\n  50% {\n    -webkit-transform: translate(-1px, -1px);\n    transform: translate(-1px, -1px)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-fullscreen-button-corner-1-animation {\n  50% {\n    -webkit-transform: translate(1px, -1px);\n    transform: translate(1px, -1px)\n  }\n}\n\n@keyframes anv-control-menu-fullscreen-button-corner-1-animation {\n  50% {\n    -webkit-transform: translate(1px, -1px);\n    transform: translate(1px, -1px)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-fullscreen-button-corner-2-animation {\n  50% {\n    -webkit-transform: translate(1px, 1px);\n    transform: translate(1px, 1px)\n  }\n}\n\n@keyframes anv-control-menu-fullscreen-button-corner-2-animation {\n  50% {\n    -webkit-transform: translate(1px, 1px);\n    transform: translate(1px, 1px)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-fullscreen-button-corner-3-animation {\n  50% {\n    -webkit-transform: translate(-1px, 1px);\n    transform: translate(-1px, 1px)\n  }\n}\n\n@keyframes anv-control-menu-fullscreen-button-corner-3-animation {\n  50% {\n    -webkit-transform: translate(-1px, 1px);\n    transform: translate(-1px, 1px)\n  }\n}\n\n@-webkit-keyframes background-fade {\n  0% {\n    background: rgba(0, 0, 0, .8)\n  }\n\n  to {\n    background: rgba(0, 0, 0, .3)\n  }\n}\n\n@keyframes background-fade {\n  0% {\n    background: rgba(0, 0, 0, .8)\n  }\n\n  to {\n    background: rgba(0, 0, 0, .3)\n  }\n}\n\n.anv-control-menu-menuitem {\n  display: table-row;\n  cursor: default\n}\n\n.anv-control-menu-menuitem:not([aria-disabled=true]) {\n  cursor: pointer\n}\n\n.anv-control-menu-menuitem-content,\n.anv-control-menu-menuitem-icon,\n.anv-control-menu-menuitem-label {\n  display: table-cell\n}\n\n.anv-control-menu-menuitem-icon svg {\n  display: block\n}\n\n.anv-control-menu-menuitem[role=menuitemradio] .anv-control-menu-menuitem-content {\n  display: none\n}\n\n.anv-control-menu-menuitem[role=menuitemradio][aria-checked=true] .anv-control-menu-menuitem-label {\n  background-size: 18px 18px;\n  -moz-background-size: 18px 18px;\n  -webkit-background-size: 18px 18px\n}\n\n.anv-control-menu-menuitem[aria-haspopup=true] .anv-control-menu-menuitem-content {\n  background-size: 32px 32px;\n  -moz-background-size: 32px 32px;\n  -webkit-background-size: 32px 32px\n}\n\n.anv-control-menu-panel-header {\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex\n}\n\n.anv-control-menu-panel-back-button-container {\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex\n}\n\n.anv-control-menu-panel-title:hover {\n  cursor: pointer\n}\n\n.anv-control-menu-menuitem {\n  display: table-row;\n  cursor: default;\n  outline: 0;\n  height: 40px;\n  font-family: Heebo;\n  font-size: 80%\n}\n\n.anv-control-menu-menuitem:not([aria-disabled=true]) {\n  cursor: pointer\n}\n\n.anv-control-menu-menuitem:not([aria-disabled=true]):hover {\n  background-color: rgba(255, 255, 255, .1)\n}\n\n.anv-control-menu-menuitem-label {\n  display: table-cell;\n  vertical-align: middle;\n  padding: 0 15px\n}\n\n.anv-control-menu-menuitem-icon {\n  display: table-cell;\n  vertical-align: middle\n}\n\n.anv-control-menu-menuitem-content {\n  display: table-cell;\n  vertical-align: middle;\n  padding: 0 15px\n}\n\n.anv-control-menu-menuitem-label {\n  padding-left: 0\n}\n\n.anv-control-menu-menuitem-icon {\n  padding: 0;\n  padding-left: 10px;\n}\n\n.anv-control-menu-menuitem-icon svg {\n  display: block;\n  width: 20px;\n  height: 20px\n}\n\n.anv-control-menu-menuitem-label {\n  font-size: 90%;\n  font-weight: 500;\n  text-align: left;\n  padding-left: 10px;\n}\n\n.anv-control-menu-quality-menu .anv-control-menu-menuitem {\n  white-space: nowrap\n}\n\n.anv-control-menu-quality-menu .anv-control-menu-panel-menu {\n  margin-right: 10px\n}\n\n.anv-control-menu-menuitem[role=menuitemradio] .anv-control-menu-menuitem-content {\n  display: none\n}\n\n.anv-control-menu-menuitem[role=menuitemradio] .anv-control-menu-menuitem-label {\n  padding-left: 35px;\n  padding-right: 20px;\n  border-bottom: none\n}\n\n.anv-control-menu-menuitem[role=menuitemradio][aria-checked=true] .anv-control-menu-menuitem-label {\n  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIj48cGF0aCBkPSJNOSAxNi4yTDQuOCAxMmwtMS40IDEuNEw5IDE5IDIxIDdsLTEuNC0xLjRMOSAxNi4yeiIgZmlsbD0iI2ZmZiIgLz48L3N2Zz4=);\n  background-repeat: no-repeat;\n  background-position: left 10px center;\n  background-size: 16px 16px;\n  -moz-background-size: 16px 16px;\n  -webkit-background-size: 16px 16px;\n}\n\n.anv-control-menu-menuitem-content {\n  font-size: 90%;\n  text-align: right\n}\n\n.anv-control-menu-menu-label-secondary {\n  font-size: 91%;\n  color: #ccc\n}\n\n.anv-control-menu-menuitem[aria-haspopup=true] .anv-control-menu-menuitem-content {\n  background-repeat: no-repeat;\n  background-position: right 9px center;\n  background-size: 10px 10px;\n  -moz-background-size: 10px 10px;\n  -webkit-background-size: 10px 10px;\n  padding-right: 38px;\n  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDcgMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjMxNTkyIDFMNS4zMTU5MiA1TDEuMzE1OTIgOSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPgo=)\n}\n\n[dir=rtl] .anv-control-menu-menuitem[aria-haspopup=true] .anv-control-menu-menuitem-content {\n  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIj48cGF0aCBkPSJNIDE5LjQxLDIwLjA5IDE0LjgzLDE1LjUgMTkuNDEsMTAuOTEgMTgsOS41IGwgLTYsNiA2LDYgeiIgZmlsbD0iI2ZmZiIgLz48L3N2Zz4=)\n}\n\n.anv-control-menu-menuitem-label-count {\n  color: #ccc\n}\n\n.anv-control-menu-panel {\n  float: left;\n  overflow-y: auto;\n  overflow-x: hidden\n}\n\n\n.anv-control-menu-panel-header {\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-align: center;\n  -webkit-align-items: center;\n  -moz-box-align: center;\n  -ms-flex-align: center;\n  align-items: center;\n  border-bottom: 1px solid rgba(255, 255, 255, .2);\n  line-height: inherit;\n  font-size: 109%;\n  color: #eee;\n  padding: 8px 0;\n  height: 40px;\n  white-space: nowrap\n}\n\n.anv-control-menu-panel-back-button-container {\n  -webkit-box-align: center;\n  -webkit-align-items: center;\n  -moz-box-align: center;\n  -ms-flex-align: center;\n  align-items: center;\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex;\n  height: 48px;\n  -webkit-box-pack: center;\n  -webkit-justify-content: center;\n  -moz-box-pack: center;\n  -ms-flex-pack: center;\n  justify-content: center;\n  width: 48px\n}\n\n.anv-control-menu-panel-back-button {\n  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNiIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDYgMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01IDFMMSA1TDUgOSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+Cjwvc3ZnPgo=);\n  height: 32px;\n  width: 32px;\n  background-size: 10px 12px;\n  background-position: center;\n  background-repeat: no-repeat;\n}\n\n.anv-control-menu-panel-title:hover {\n  cursor: pointer\n}\n\n.anv-control-menu-panel-title {\n  font-weight: 500;\n  font-size: 13px;\n  margin-left: 10px;\n}\n\n[dir=rtl] .anv-control-menu-panel-title {\n  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAzMiAzMiIgdmVyc2lvbj0iMS4xIj48cGF0aCBkPSJtIDEyLjU5LDIwLjM0IDQuNTgsLTQuNTkgLTQuNTgsLTQuNTkgMS40MSwtMS40MSA2LDYgLTYsNiB6IiBmaWxsPSIjZmZmIiAvPjwvc3ZnPg==)\n}\n\n.anv-control-menu-popup {\n  -webkit-transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -webkit-user-select: none\n}\n\n.anv-control-menu-popup[aria-hidden=true] {\n  -webkit-transition: opacity .1s cubic-bezier(.4, 0, 1, 1);\n  transition: opacity .1s cubic-bezier(.4, 0, 1, 1)\n}\n\n.anv-control-menu-menuitem-toggle-checkbox {\n  -webkit-transition: all .08s cubic-bezier(.4, 0, 1, 1);\n  transition: all .08s cubic-bezier(.4, 0, 1, 1);\n  -webkit-transform: scale(1);\n  transform: scale(1)\n}\n\n.anv-control-menu-menuitem-toggle-checkbox:after {\n  -webkit-transition: all .08s cubic-bezier(.4, 0, 1, 1);\n  transition: all .08s cubic-bezier(.4, 0, 1, 1)\n}\n\n.anv-control-menu-menuitem[aria-checked=true] .anv-control-menu-menuitem-toggle-checkbox:after {\n  -webkit-transform: translateX(16px);\n  transform: translateX(16px)\n}\n\n.anv-control-menu-panel-menu {\n  padding: 8px 0;\n  display: table;\n  width: 100%;\n  color: #eee;\n  -moz-box-sizing: border-box;\n  box-sizing: border-box\n}\n\n.anv-control-menu-popup {\n  -webkit-transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -webkit-user-select: none\n}\n\n.anv-control-menu-popup[aria-hidden=true] {\n  -webkit-transition: opacity .1s cubic-bezier(.4, 0, 1, 1);\n  transition: opacity .1s cubic-bezier(.4, 0, 1, 1)\n}\n\n.anv-control-menu-popup {\n  -webkit-transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -webkit-user-select: none\n}\n\n.anv-control-menu-popup[aria-hidden=true] {\n  -webkit-transition: opacity .1s cubic-bezier(.4, 0, 1, 1);\n  transition: opacity .1s cubic-bezier(.4, 0, 1, 1)\n}\n\n.anv-control-menu-settings-button {\n  position: relative\n}\n\n.anv-control-menu-settings-button svg {\n  -webkit-transition: -webkit-transform .1s cubic-bezier(.4, 0, 1, 1);\n  transition: transform .1s cubic-bezier(.4, 0, 1, 1), -webkit-transform .1s cubic-bezier(.4, 0, 1, 1)\n}\n\n.anv-control-menu-settings-button[aria-expanded=true] svg {\n  -webkit-transform: rotateZ(30deg);\n  transform: rotateZ(30deg)\n}\n\n.anv-control-menu-popup {\n  position: absolute;\n  overflow: hidden;\n  border-radius: 2px;\n  background: rgba(28, 28, 28, .9);\n  text-shadow: 0 0 2px rgba(0, 0, 0, .5);\n  -webkit-transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  transition: opacity .1s cubic-bezier(0, 0, .2, 1);\n  -moz-user-select: none;\n  -ms-user-select: none;\n  -webkit-user-select: none\n}\n\n.anv-control-menu-popup[aria-hidden=true] {\n  opacity: 0;\n  -webkit-transition: opacity .1s cubic-bezier(.4, 0, 1, 1);\n  transition: opacity .1s cubic-bezier(.4, 0, 1, 1)\n}\n\n.anv-control-menu-settings-menu {\n  right: 12px;\n  bottom: 60px;\n  z-index: 71;\n  will-change: width, height;\n  border-radius: 3px;\n}\n\n.anv-control-menu-settings-menu .anv-control-menu-menuitem-content {\n  overflow: hidden;\n  white-space: nowrap;\n  word-wrap: normal;\n  text-overflow: ellipsis\n}\n\n@-webkit-keyframes anv-control-menu-spinner-linspin {\n  to {\n    -webkit-transform: rotate(360deg)\n  }\n}\n\n@keyframes anv-control-menu-spinner-linspin {\n  to {\n    -webkit-transform: rotate(360deg);\n    transform: rotate(360deg)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-spinner-easespin {\n  12.5% {\n    -webkit-transform: rotate(135deg)\n  }\n\n  25% {\n    -webkit-transform: rotate(270deg)\n  }\n\n  37.5% {\n    -webkit-transform: rotate(405deg)\n  }\n\n  50% {\n    -webkit-transform: rotate(540deg)\n  }\n\n  62.5% {\n    -webkit-transform: rotate(675deg)\n  }\n\n  75% {\n    -webkit-transform: rotate(810deg)\n  }\n\n  87.5% {\n    -webkit-transform: rotate(945deg)\n  }\n\n  to {\n    -webkit-transform: rotate(1080deg)\n  }\n}\n\n@keyframes anv-control-menu-spinner-easespin {\n  12.5% {\n    -webkit-transform: rotate(135deg);\n    transform: rotate(135deg)\n  }\n\n  25% {\n    -webkit-transform: rotate(270deg);\n    transform: rotate(270deg)\n  }\n\n  37.5% {\n    -webkit-transform: rotate(405deg);\n    transform: rotate(405deg)\n  }\n\n  50% {\n    -webkit-transform: rotate(540deg);\n    transform: rotate(540deg)\n  }\n\n  62.5% {\n    -webkit-transform: rotate(675deg);\n    transform: rotate(675deg)\n  }\n\n  75% {\n    -webkit-transform: rotate(810deg);\n    transform: rotate(810deg)\n  }\n\n  87.5% {\n    -webkit-transform: rotate(945deg);\n    transform: rotate(945deg)\n  }\n\n  to {\n    -webkit-transform: rotate(1080deg);\n    transform: rotate(1080deg)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-spinner-left-spin {\n  0% {\n    -webkit-transform: rotate(130deg)\n  }\n\n  50% {\n    -webkit-transform: rotate(-5deg)\n  }\n\n  to {\n    -webkit-transform: rotate(130deg)\n  }\n}\n\n@keyframes anv-control-menu-spinner-left-spin {\n  0% {\n    -webkit-transform: rotate(130deg);\n    transform: rotate(130deg)\n  }\n\n  50% {\n    -webkit-transform: rotate(-5deg);\n    transform: rotate(-5deg)\n  }\n\n  to {\n    -webkit-transform: rotate(130deg);\n    transform: rotate(130deg)\n  }\n}\n\n@-webkit-keyframes anv-control-menu-right-spin {\n  0% {\n    -webkit-transform: rotate(-130deg)\n  }\n\n  50% {\n    -webkit-transform: rotate(5deg)\n  }\n\n  to {\n    -webkit-transform: rotate(-130deg)\n  }\n}\n\n@keyframes anv-control-menu-right-spin {\n  0% {\n    -webkit-transform: rotate(-130deg);\n    transform: rotate(-130deg)\n  }\n\n  50% {\n    -webkit-transform: rotate(5deg);\n    transform: rotate(5deg)\n  }\n\n  to {\n    -webkit-transform: rotate(-130deg);\n    transform: rotate(-130deg)\n  }\n}\n\n.anv-control-menu-title {\n  overflow: hidden;\n  -webkit-box-flex: 1;\n  -webkit-flex: 1;\n  -moz-box-flex: 1;\n  -ms-flex: 1;\n  flex: 1;\n  display: -webkit-box;\n  display: -webkit-flex;\n  display: -moz-box;\n  display: -ms-flexbox;\n  display: flex\n}\n\n.anv-control-menu-menuitem-toggle-checkbox {\n  height: 14px;\n  width: 36px;\n  float: right;\n  position: relative;\n  border-radius: 14px;\n  background: rgba(255, 255, 255, .3);\n  -webkit-transition: all .08s cubic-bezier(.4, 0, 1, 1);\n  transition: all .08s cubic-bezier(.4, 0, 1, 1);\n  -webkit-transform: scale(1);\n  transform: scale(1)\n}\n\n.anv-control-menu-menuitem[aria-checked=true] .anv-control-menu-menuitem-toggle-checkbox {\n  background: red\n}\n\n.anv-control-menu-menuitem-toggle-checkbox:after {\n  content: \"\";\n  position: absolute;\n  left: 0;\n  top: 0;\n  height: 20px;\n  width: 20px;\n  border-radius: 20px;\n  margin-top: -3px;\n  background-color: #bdbdbd;\n  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .6);\n  -webkit-transition: all .08s cubic-bezier(.4, 0, 1, 1);\n  transition: all .08s cubic-bezier(.4, 0, 1, 1)\n}\n\n.anv-control-menu-menuitem[aria-checked=true] .anv-control-menu-menuitem-toggle-checkbox:after {\n  background-color: #fff;\n  -webkit-transform: translateX(16px);\n  transform: translateX(16px)\n}\n\n@-webkit-keyframes anv-control-menu-unmute-width-anim {\n  0% {\n    width: 0\n  }\n\n  to {\n    width: 100%\n  }\n}\n\n@keyframes anv-control-menu-unmute-width-anim {\n  0% {\n    width: 0\n  }\n\n  to {\n    width: 100%\n  }\n}\n\n@-webkit-keyframes anv-control-menu-unmute-alpha-anim {\n  0% {\n    opacity: 0\n  }\n\n  to {\n    opacity: 1\n  }\n}\n\n@keyframes anv-control-menu-unmute-alpha-anim {\n  0% {\n    opacity: 0\n  }\n\n  to {\n    opacity: 1\n  }\n}\n\n.rotate20 {\n  transform: rotate(20deg);\n  -webkit-transform: rotate(20deg);\n}\n\n.anv-control-menu-panel[aria-hidden=true] {\n  display: none;\n}\n\n.anv-control-menu-popup[aria-hidden=true] {\n  display: none;\n}\n\n/* width */\n::-webkit-scrollbar {\n  width: 5px;\n  background: #3E4042;\n  border-radius: 0px 2px 2px 0px;\n}\n\n/* Track */\n::-webkit-scrollbar-track {\n  background: transparent;\n}\n\n/* Handle */\n::-webkit-scrollbar-thumb {\n  background: #808489;\n  border-radius: 10px;\n}\n\n/* Handle on hover */\n::-webkit-scrollbar-thumb:hover {\n  background: #909294;\n}\n\n/* New Playlist Horizontal */\n\n.anv-playlist.horizontal {\n  width: calc(100% - 20px);\n  background-color: rgba(24, 26, 27, 0.95);\n  position: absolute;\n  left: 10px;\n  bottom: 64px;\n  color: #fff;\n  overflow: hidden;\n  flex-direction: column;\n}\n\n.anv-playlist.horizontal .anv-playlist-header {\n  color: #fff;\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  justify-content: space-between;\n  align-items: center;\n  padding: 16px;\n}\n\n@media all and (max-width: 499px) {\n  .anv-playlist.horizontal .anv-playlist-close-btn {\n    width: 6px !important;\n    height: 6px !important;\n  }\n}\n\n@media all and (min-width: 500px) and (max-width: 1199px) {\n  .anv-playlist.horizontal .anv-playlist-close-btn {\n    width: 10px !important;\n    height: 10px !important;\n  }\n}\n\n@media all and (min-width: 1200px) {\n  .anv-playlist.horizontal .anv-playlist-close-btn {\n    width: 18px !important;\n    height: 18px !important;\n  }\n}\n.anv-playlist.horizontal .anv-playlist-close-btn {\n  width: 10px;\n  height: 10px;\n  cursor: pointer;\n}\n\n.anv-playlist.horizontal .anv-playlist-close-btn svg {\n  width: 100%;\n  height: 100%;\n}\n\n@media all and (max-width: 499px) {\n  .anv-playlist.horizontal .anv-playlist-header-title {\n    font-size: 10px !important;\n  }\n}\n\n@media all and (min-width: 500px) and (max-width: 1199px) {\n  .anv-playlist.horizontal .anv-playlist-header-title {\n    font-size: 14px !important;\n  }\n}\n\n@media all and (min-width: 1200px) {\n  .anv-playlist.horizontal .anv-playlist-header-title {\n    font-size: 18px !important;\n  }\n}\n\n.anv-playlist.horizontal .anv-playlist-header-title {\n  height: 16px;\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 14px;\n  line-height: 16px;\n  color: #FFFFFF;\n  align-items: center;\n}\n\n.anv-playlist.horizontal .anv-playlist-menu {\n  width: calc(100% - 36px);\n  margin-left: 18px;\n  overflow: hidden;\n  white-space: nowrap;\n  scroll-behavior: smooth;\n  display: flex;\n  padding-bottom: 14px;\n}\n\n.anv-playlist.horizontal .anv-playlist-top-bar {\n  width: 30px;\n  height: calc(100% - 62px);\n  position: absolute;\n  left: 6px;\n  bottom: 14px;\n}\n\n.anv-playlist.horizontal .anv-playlist-top-bar-btn {\n  width: 30px;\n  height: 30px;\n  left: calc(50% - 15px);\n  top: calc(50% - 15px);\n  bottom: 50%;\n  position: absolute;\n  border-radius: 100px;\n  background-color: #484C4F;\n  cursor: pointer;\n}\n\n.anv-playlist.horizontal .anv-playlist-top-bar-btn svg {\n  position: absolute;\n  top: 4px;\n  left: 6px;\n  transform: rotate(270deg);\n}\n\n.anv-playlist.horizontal .anv-playlist-top-bar .anv-playlist-close-btn {\n  display: none;\n}\n\n.anv-playlist.horizontal .anv-playlist-bottom-bar {\n  width: 30px;\n  height: calc(100% - 62px);\n  position: absolute;\n  right: 6px;\n  bottom: 14px;\n}\n\n.anv-playlist.horizontal .anv-playlist-bottom-bar-btn {\n  width: 30px;\n  height: 30px;\n  left: calc(50% - 15px);\n  top: calc(50% - 15px);\n  bottom: 50%;\n  position: absolute;\n  border-radius: 100px;\n  background-color: #484C4F;\n  cursor: pointer;\n}\n\n.anv-playlist.horizontal .anv-playlist-bottom-bar-btn svg {\n  position: absolute;\n  top: 4px;\n  left: 0px;\n  transform: rotate(90deg);\n}\n\n.anv-playlist.horizontal .anv-playlist-item {\n  position: relative;\n  cursor: pointer;\n  min-width: 20%;\n  height: 10.6vw;\n}\n\n.anv-playlist.horizontal .anv-playlist-item-thumbnail {\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n}\n\n\n.anv-playlist.horizontal .anv-playlist-item-info {\n  width: calc(100% - 20px);\n  height: calc(100% - 20px);\n  left: 0;\n  top: 0;\n  position: absolute;\n  display: none;\n  background: rgba(0, 0, 0, 0.6);\n  padding: 10px;\n}\n\n.anv-playlist.horizontal .anv-playlist-item.active {\n  background-color: rgba(255, 255, 255, 0.25);\n}\n\n.anv-playlist.horizontal .anv-playlist-item:hover .anv-playlist-item-info {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n}\n\n.anv-playlist.horizontal .anv-playlist-item-title {\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 600;\n  font-size: max(11px, 1.2vw);\n  align-items: center;\n  width: calc(100% - 12px);\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: hidden;\n  color: #fff;\n}\n\n@media only screen and (max-width: 689px) {\n  .anv-playlist.horizontal .anv-playlist-item-desc {\n    display: none !important;\n  }\n\n  .anv-playlist.horizontal .anv-playlist-item-info {\n    flex-direction: row !important;\n    align-items: center !important;\n  }\n}\n\n.anv-playlist.horizontal .anv-playlist-item-desc {\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 300;\n  font-size: max(10px, 1.1vw);\n  align-items: center;\n  width: calc(100% - 12px);\n  overflow: hidden;\n  color: #fff;\n  text-overflow: ellipsis;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n  -webkit-line-clamp: 2;\n  white-space: break-spaces;\n  margin-top: 5px;\n}\n\n/* New Playlist Vertical */\n\n.anv-playlist.vertical {\n  width: 48%;\n  max-width: 500px;\n  background-color: rgba(24, 26, 27, 0.95);\n  position: absolute;\n  display: flex;\n  right: 10px;\n  bottom: 60px;\n  color: #fff;\n  height: calc(100% - 68px);\n  flex-direction: column;\n}\n\n.anv-playlist.vertical .anv-playlist-header {\n  display: flex;\n  flex-direction: row;\n  justify-content: space-between;\n  align-items: center;\n  padding: 12px 16px;\n}\n\n@media all and (max-width: 499px) {\n  .anv-playlist.vertical .anv-playlist-header-title {\n    font-size: 10px !important;\n  }\n}\n\n@media all and (min-width: 500px) and (max-width: 1199px) {\n  .anv-playlist.vertical .anv-playlist-header-title {\n    font-size: 14px !important;\n  }\n}\n\n@media all and (min-width: 1200px) {\n  .anv-playlist.vertical .anv-playlist-header-title {\n    font-size: 18px !important;\n  }\n}\n\n.anv-playlist.vertical .anv-playlist-header-title {\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 14px;\n  color: #FFFFFF;\n  align-items: center;\n}\n\n\n.anv-playlist.vertical .anv-playlist-menu {\n  height: calc(100% - 57px);\n  overflow: auto;\n  scroll-behavior: smooth;\n  display: flex;\n  flex-direction: column;\n}\n\n.anv-playlist.vertical .anv-playlist-item {\n  min-height: min(90px, calc(25% - 14px));\n  padding: 7px 16px 7px 16px;\n  display: flex;\n  flex-direction: row;\n  justify-content: space-between;\n  align-items: center;\n}\n\n.anv-playlist.vertical .anv-playlist-item:hover {\n  background-color: rgba(255, 255, 255, 0.15);\n  cursor: pointer;\n}\n\n.anv-playlist.vertical .anv-playlist-item.active {\n  background-color: rgba(255, 255, 255, 0.25);\n}\n\n.anv-playlist.vertical .anv-playlist-item-thumbnail {\n  height: 100%;\n  min-width: 34%;\n  margin-right: 12px;\n}\n\n.anv-playlist.vertical .anv-playlist-item-info {\n  width: calc(66% - 12px);\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n}\n\n@media only screen and (min-width: 929px) {\n  .anv-playlist.vertical .anv-playlist-item-desc {\n    -webkit-line-clamp: 4;\n  }\n}\n\n@media only screen and (max-width: 928px) {\n  .anv-playlist.vertical .anv-playlist-item-desc {\n    -webkit-line-clamp: 3;\n  }\n}\n\n@media only screen and (max-width: 807px) {\n  .anv-playlist.vertical .anv-playlist-item-desc {\n    -webkit-line-clamp: 2;\n  }\n}\n\n@media only screen and (max-width: 690px) {\n  .anv-playlist.vertical .anv-playlist-item-desc {\n    -webkit-line-clamp: 1;\n  }\n}\n\n@media only screen and (max-width: 689px) {\n  .anv-playlist.vertical .anv-playlist-item-desc {\n    display: none !important;\n  }\n\n  .anv-playlist.vertical .anv-playlist-item-info {\n    flex-direction: row;\n    align-items: center;\n  }\n}\n\n.anv-playlist.vertical .anv-playlist-item-title {\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 500;\n  font-size: 14px;\n  line-height: 16px;\n  min-height: 16px;\n  align-items: center;\n  margin-top: 6px;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: hidden;\n}\n\n.anv-playlist.vertical .anv-playlist-item-desc {\n  margin-top: 8px;\n  font-family: 'Heebo';\n  font-style: normal;\n  font-weight: 400;\n  font-size: 12px;\n  line-height: 14px;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  display: -webkit-box;\n  -webkit-box-orient: vertical;\n}\n@media all and (min-width: 1200px) {\n  .anv-playlist.vertical .anv-playlist-top-bar {\n    top: 42px !important;\n  }\n}\n.anv-playlist.vertical .anv-playlist-top-bar {\n  width: 30px;\n  height: 30px;\n  top: 40px;\n  left: calc(17% - 10px);\n  position: absolute;\n  display: flex;\n  align-items: center;\n}\n\n.anv-playlist.vertical .anv-playlist-bottom-bar {\n  width: 30px;\n  height: 30px;\n  bottom: 2px;\n  left: calc(17% - 10px);\n  position: absolute;\n  display: flex;\n  align-items: center;\n}\n\n@media only screen and (max-width: 500px) {\n  .anv-playlist {\n    display: none !important;\n  }\n}\n\n@media only screen and (max-width: 730px) {\n  /* .anv-playlist.vertical .anv-playlist-top-bar {\n    display: none !important;\n  }\n\n  .anv-playlist.vertical .anv-playlist-bottom-bar {\n    display: none !important;\n  } */\n}\n\n.anv-playlist.vertical .anv-playlist-top-bar .anv-playlist-top-bar-btn {\n  margin: auto;\n  width: 100%;\n  height: 100%;\n  background-color: #484C4F;\n  border-radius: 50px;\n  cursor: pointer;\n  position: relative;\n}\n\n.anv-playlist.vertical .anv-playlist-bottom-bar .anv-playlist-bottom-bar-btn {\n  margin: auto;\n  width: 100%;\n  height: 100%;\n  background-color: #484C4F;\n  border-radius: 50px;\n  cursor: pointer;\n  position: relative;\n}\n\n@media all and (max-width: 499px) {\n  .anv-playlist.vertical .anv-playlist-close-btn {\n    width: 6px;\n    height: 6px;\n  }\n}\n\n@media all and (min-width: 500px) and (max-width: 1199px) {\n  .anv-playlist.vertical .anv-playlist-close-btn {\n    width: 10px;\n    height: 10px;\n  }\n}\n\n@media all and (min-width: 1200px) {\n  .anv-playlist.vertical .anv-playlist-close-btn {\n    width: 18px;\n    height: 18px;\n  }\n}\n.anv-playlist.vertical .anv-playlist-close-btn {\n  cursor: pointer;\n}\n\n.anv-playlist.vertical .anv-playlist-close-btn svg {\n  width: 100%;\n  height: 100%;\n}\n\n.anv-playlist.vertical .anv-playlist-top-bar-btn svg {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  top: 13%;\n}\n\n.anv-playlist.vertical .anv-playlist-bottom-bar-btn svg {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  bottom: 13%;\n  transform: rotate(180deg);\n}\n\n.anv-subtitles-btn.active {\n  padding: 2px 15px 0px 15px;\n}\n\n.anv-subtitles-btn.active svg {\n  padding-bottom: 4px;\n  border-bottom: 2px solid #E50909;\n}\n\n.anv-control-buttons {\n  display: flex;\n  align-items: center;\n}\n\n.anv-control-spacer {\n  flex-grow: 100;\n}\n\n@media only screen and (min-width: 1199px) {\n  .anv-control-btn>svg {\n    height: 24px;\n  }\n\n  .anv-control-btn {\n    padding: 6px 17px 10px 17px;\n  }\n\n  .anv-subtitles-btn.active {\n    padding: 6px 17px 4px 17px;\n  }\n\n  .anv-volume-slider-btn {\n    padding-left: 0 !important;\n    padding-right: 0px !important;\n  }\n\n  .anv-duration-btn {\n    font-size: 1.2em !important;\n  }\n\n  .anv-playlist.horizontal .anv-playlist-bottom-bar {\n    width: 50px;\n  }\n\n  .anv-playlist.horizontal .anv-playlist-top-bar-btn {\n    width: 50px;\n    height: 50px;\n    left: calc(50% - 20px);\n    top: calc(50% - 25px);\n  }\n\n  .anv-playlist.horizontal .anv-playlist-bottom-bar-btn {\n    width: 50px;\n    height: 50px;\n    left: calc(50% - 20px);\n    top: calc(50% - 25px);\n  }\n\n  .anv-playlist.horizontal .anv-playlist-bottom-bar-btn svg {\n    width: 40px;\n    height: 40px;\n  }\n\n  .anv-playlist.horizontal .anv-playlist-top-bar-btn svg {\n    width: 40px;\n    height: 40px;\n    left: 9px;\n  }\n\n  .anv-control-btn[data-anv-title]:after {\n    font-size: 14px;\n  }\n}\n\n.anv-shadow-bottom {\n  background: -webkit-gradient(linear, left top, left bottom, from(rgba(5, 4, 5, 0)), to(rgba(5, 4, 5, 0.5)));\n  background: -moz-linear-gradient(top, rgba(5, 4, 5, 0), rgba(5, 4, 5, 0.5));\n}");var t=e.generateDomFromString(window.templateString);document.body.appendChild(t),void 0!==window.ShadyCSS&&window.ShadyCSS.prepareTemplate(t,"anvato-player");v.DEBUG=k,v.template=t,v.mergedConfig=b,customElements.define("anvato-player",v);var n=document.createElement("anvato-player");n.id=M,(a=e.rootGetElementById(M))?a.parentNode.replaceChild(n,a):document.body.appendChild(n);a=n,L(),window.anvp[M]&&window.anvp[M].resizer?(P(a,window.anvp[M].resizer()),h(window,"resize",(function(){P(a,window.anvp[M].resizer())}))):b.width.indexOf("%")>-1?F(a):P(a,{width:b.width.replace("px",""),height:b.height.replace("px","")})}();else if("encapsulation"in b&&!b.encapsulation)t=document.createElement("script"),n=document.createElement("link"),document.head.appendChild(n),document.body.appendChild(t),n.href=b.baseURL+w,n.type="text/css",n.rel="stylesheet",t.src=b.baseURL+"scripts/anvplayer.min.js",L();else{a=e.rootGetElementById(M),(l=document.createElement("iframe")).style.position="relative",a?a.parentNode.replaceChild(l,a):document.body.appendChild(l),l.id=M,u=l.contentWindow.document;var o=!("dynamicIframe"in p)||p.dynamicIframe;if(o)l.src="javascript:false";else{var f=e.base64Encode(JSON.stringify(p)),S=C&&C.anv_env_base_url?"&override=1":"";l.src="".concat(p.baseURL,"staticload.html?config=").concat(f).concat(S)}l.frameBorder=0,l.setAttribute("webkitallowfullscreen",""),l.setAttribute("allowfullscreen",""),l.setAttribute("mozallowfullscreen",""),l.setAttribute("scrolling","no"),l.setAttribute("allow","autoplay; fullscreen; encrypted-media;"),l.setAttribute("width",b.width.replace("px","")||"100%"),window.anvp[M]&&window.anvp[M].resizer?(P(l,window.anvp[M].resizer()),h(window,"resize",(function(){P(l,window.anvp[M].resizer())}))):b.width.indexOf("%")>-1?F(l):l.setAttribute("height",b.height.replace("px","")||"100%"),p=B(b,p),o&&(u.open(),_=function(t){var n="'data-anvp', '".concat((r=JSON.stringify({pInstance:M}),r.replace(/[\\]/g,"").replace(/[\"]/g,"\\'").replace(/[\b]/g,"").replace(/[\f]/g,"").replace(/[\n]/g,"").replace(/[\r]/g,"").replace(/[\t]/g,""))).concat("'");var r;try{p=JSON.parse(JSON.stringify(p).replace(/\u2028/g,"").replace(/\u2029/g,"").replace(/\u000a/g,"").replace(/\u000d/g,""))}catch(e){p={},console.error("Error while serializing the config",e.message)}var i=' var anvp = {};\n anvp["'+M+'"] = {};\nanvp["'+M+'"].config = '+JSON.stringify(p)+";"+(b.cacheAutoPlayStatus||p.cacheAutoPlayStatus?" var cacheAutoPlayStatus = true;":""),o="<script>\n"+i+(t?"<\/script>\n":""),a=(t?'<body onload="':"")+"anvp.baseURL = '"+b.baseURL+"';\nvar d = document,\nh = d.getElementsByTagName('head')[0],\nscript, pair, anvConfStr;\n"+(t?"var style = d.createElement('link');\nstyle.href = '"+b.baseURL+w+"';\nstyle.type = 'text/css';\nstyle.rel = 'stylesheet';\nh.appendChild(style);\n":"")+(b.weinre?"h.appendChild(d.createElement('script')).src = 'http://"+("object"==x(b.weinre)&&b.weinre.host?b.weinre.host:e.getUrlParts(d).host)+":"+("object"==x(b.weinre)&&b.weinre.port?b.weinre.port:"8080")+"/target/target-script-min.js#anonymous'; ":"")+"script = d.createElement('script');\nscript.src = '"+b.baseURL+"scripts/anvplayer.min.js"+(C&&C.anv_env_base_url?"?t="+(new Date).getTime():"")+"';\nscript.setAttribute("+n+");\nh.appendChild(script);\n"+(t?'">':"<\/script>\n");return o+a}(!0),u.write(_),u.close())}b.prefetchHlsManifest&&e.prefetchHlsManifest(b,D)}(),function(e){function t(t){var n,r;switch(t.name){case"KEY_VALUE_SET":var i=document.getElementById(e);(null===(n=window)||void 0===n?void 0:null===(r=n.chrome)||void 0===r?void 0:r.cast)&&(window.chrome.cast.setPageContext(window.frames[e].contentWindow),i.contentWindow.cast=window.cast,i.contentWindow.chrome=window.chrome)}}anvp.onReady=function(e){e.setListener(t)}}(n.pInstance)}function f(t){var n=new A.a(!1,!0,100,!1,null,!1),r=Object(S.a)(t,n);function i(e){return(new a.a).update(e).digest("hex")}var o,s,c=["w","b2f75b3a",i(Date.now().toString()).slice(-24)].join(""),l=function(e,t,n,r){var i,o=function(e){var t,n=/.*(\?.*)/.exec(e),r={};if(n)for(var i=0,o=(t=(t=(n=n[1].replace(/\?/,"")).split("&")).map((function(e){return e.split("=")}))).length;i<o;i++)t[i]&&t[i].length&&t[i][0]&&t[i][0].length&&(r[t[i][0]]=t[i][1]);return r}(e);return i=(i=/([^\?]*)(.*)/.exec(e))&&i.length>1?i[1]:e,n?o[t]=n:o&&delete o[t],i+((o=function(e,t){var n,r,i=[];for(var o in e)e.hasOwnProperty(o)&&(n=t?o:encodeURIComponent(o),(r=t?e[o]:encodeURIComponent(e[o]))||null!=r||(r=""),i.push(n+"="+r));return i.join("&")}(o,r)).length?"?":"")+o}("https://tkx.mp.lura.live/rest/v2/mcp/video/".concat(t.video,"?anvack=").concat(t.accessKey),"anvtrid",c,!0),f={};o=function(e){var t=(new Date).getTime()+r.getTimeDelta(),n=t.toString()+"~"+i(e)+"~",o=i(t.toString()),a=Math.max(64-n.length,0);return n+=o=o.slice(0,a),n=E.a.aesStdEncrypt("ecb",n,"31c242849e73a0ce","base64")}(l),s=l.indexOf("?")>-1?"&":"?",f.rtyp="adBreakDetail"in t&&t.adBreakDetail||!("adBreakDetail"in t)?"fp":"plan",f["X-Anvato-Adst-Auth"]=o,t.debug&&(f.anvsrt="375231e94afeb649223f2e67e05fba3d"),l=(l+=s+e.encodeURLParams(f,!1)).replace(/^https*:\/\//,"https://");var u,d,h,p,b,m,v,g,y,w,_=(u=t.accessKey,d=t,h={},v=E.a.md5(String((new Date).getTime()*Math.random())).slice(0,30),g=(new Date).getTime()+r.getTimeDelta(),b=h,m={},(p=d)&&p.plugins&&p.plugins.freewheel&&p.plugins.freewheel.serverSide&&(m=e.deepCopy(p.plugins.freewheel.serverSide)),p&&p.plugins&&p.plugins.dfp&&p.plugins.dfp.serverSide&&b.adKeyValues&&(p.plugins.dfp.serverSide=e.merge(p.plugins.dfp.serverSide,b.adKeyValues)),b=b||{},function(e,t){t.video_asset_id=t.videoAssetId||e.caid,t.site_section_id=t.siteSectionId||e.csid,t.network_id=t.networkId||e.fwNetwork,t.profile_id=t.profileId||e.fwProf,t.server_url=t.serverUrl||t.serverURL||e.fwServerUrl,t.event_type=t.eventType||e.fwEventType,t.companion=t.companion||e.fwCompanion,t.mvpd=t.mvpd||e.mvpd,delete t.videoAssetId,delete t.siteSectionId,delete t.networkId,delete t.profileId,delete t.serverUrl,delete t.eventType}(p=p||{},m),y={ads:{freewheel:m,dfp:p&&p.plugins&&p.plugins.dfp&&p.plugins.dfp.serverSide?p.plugins.dfp.serverSide:void 0},content:{mcp_video_id:p.video,mpx_guid:p.mpx?p.video:"",video_type:p.xUrl?p.live?"2":"1":void 0,xurl:p.xUrl,xurlAdTag:p.xUrlAdTag,video_format:p.xUrl?"hls":void 0,def_title:p.title,extarnal_id:p.xUrl?"123456":void 0},user:{glg:"",glt:"",gst:"",gzip:p.geozip||b.geoZip||(p.user?p.user.geoZip:""),hst:"",hzip:(p.user?p.user.homeZip:"")||b.homeZip,ehzip:(p.user?p.user.encryptedHomeZip:"")||b.encryptedZip,device:e.getDeviceInfo.ott?"ftv":"web",device_id:p.deviceId,sdkver:[p.version,p.built,p.revision].join("."),sdkenv:p.desktop?"desktop":"html5",host:p.host,referrer:p.referrer,adobepass:p.accessControl&&"alternate"==p.accessControl.authenticator?{}:{mvpd:b.provider||(p.accessControl?p.accessControl.mvpd:void 0),max_rating:b.maxRating,requestor:b.requestor,resource:b.resource,short_token:p.accessControl&&p.accessControl.token?p.accessControl.token:b.token?decodeURIComponent(b.token):void 0,environment:p.accessControl?p.accessControl.environment:void 0,server_url:p.accessControl?p.accessControl.serverUrl:void 0},mvpd_authorization:p.accessControl&&"alternate"==p.accessControl.authenticator?{mvpd:p.accessControl?p.accessControl.mvpd:void 0,token:p.accessControl?p.accessControl.token:void 0,max_rating:p.user?p.user.maxRating:void 0}:{},mvpd:b.provider||(p.accessControl?p.accessControl.mvpd:p.user?p.user.mvpd:void 0)}},w=Math.round(g/1e3),(y=y||{}).api={anvrid:v,anvstk:r.generateSecurityToken(u,v,w),anvts:w},(d.token||h.tkxToken)&&(delete y.api.anvstk,y.api.anvstk2=h.tkxToken||d.token),y);_=JSON.stringify(_);var k=new XMLHttpRequest;k.open("POST",l,!0),k.setRequestHeader("Content-type","application/x-www-form-urlencoded"),k.send(_),k.onreadystatechange=function(e){if(4===k.readyState)if(200===k.status||local&&0===k.status){var t,n=k.responseText.split("(")[1];n=n.slice(0,-1);try{t=JSON.parse(n).upload_id}catch(e){t={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}localStorage.setItem(t,n),setTimeout((function(){localStorage.removeItem(t)}),3e4)}else console.error(k.status,k.responseText)}}function u(t){return{configName:"use"+e.capitalize(t)+"Triggers",name:t,listenerFnName:"on"+e.capitalize(t),returnFnName:"on"+e.capitalize(t)+"Returned"}}function d(t){var n=document.createElement("div"),r=e.rootGetElementById(t);n&&r&&(r.parentNode.insertBefore(n,r),r.parentNode.removeChild(r),n.id=t)}function h(e,t,n,r){e.addEventListener?(r=void 0!==r&&r,e.addEventListener(t,n,r)):e.attachEvent("on"+t,n)}!function(){var e;if(null===(e=window.cast)||void 0===e||!e.framework){var t=document.createElement("script");t.src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1",document.querySelector("head").appendChild(t)}}(),function(){var n=function(){var e,t=document.getElementsByTagName("script");if(!(e=document.currentScript?document.currentScript:t[t.length-1]).hasAttribute("data-anvp"))for(var n=t.length-1;n>-1;n--)if(t[n].getAttribute("src")&&t[n].getAttribute("src").indexOf("anvload.js")>-1&&(e=t[n]),t[n].getAttribute("data-anvp")){e=t[n];break}return e}(),r=n.getAttribute("data-anvp");if(r){try{r=JSON.parse(r)}catch(e){r={},console.error("JSON.parse error. "+e+"\n Value is set to {}.")}window.anvp[r.pInstance]=window.anvp[r.pInstance]||{},l(r,n)}else window.AnvatoPlayer=function(r){function i(e,n,r){var i,a=o(n),s=!1;if(!t[e]||!a||!a.length)return!1;for(var c=0;c<a.length;c++)if(t[e][a[c]]){i=t[e][a[c]].length;for(var l=0;l<i;l++)t[e][a[c]][l]==r&&(t[e][a[c]].splice(l,1),s=!0)}return s}function o(e){var t,n=[];if("string"==typeof e)t=e.indexOf(",")>-1?e.split(","):e.indexOf(" ")>-1?e.split(" "):[e];else{if(e.constructor!=Array)return null;t=e}return t.forEach((function(e){"string"==typeof e&&(e=e.trim()).length&&n.push(e)})),n}return r in window.anvp||(window.anvp[r]={config:{},init:function(e){e.pInstance=r,window.anvp[r].config=e,l(e,n)},precache:function(e){Array.isArray(e)?e.forEach((function(e){return f(e)})):f(e)},destroy:function(){var n;t[n=r]&&(t[n]={}),e.removeViewabilityCallback(n),d(r),delete window.anvp[r],delete window.lAgent},on:function(e,n,r){var i=o(n);if(!i||!i.length)return!1;if("function"!=typeof r)return!1;t[e]=t[e]||{};for(var a=0,s=i.length;a<s;a++)t[e][i[a]]=t[e][i[a]]||[],t[e][i[a]].push(r);return!0}.bind(null,r),off:i.bind(null,r),unbind:i.bind(null,r),unbindAll:function(e,n){var r=o(n);if(!r||!r.length)return!1;for(var i=0,a=r.length;i<a;i++)t[e]&&t[e][r[i]]&&(t[e][r[i]]=[]);return!0}.bind(null,r)}),window.anvp[r]},window.AnvatoPlayer.CaptionStyle={},window.AnvatoPlayer.CaptionStyle.Color={WHITE:0,TURQUOISE:1,BLUE:2,GREEN:3,YELLOW:4,MAGENTA:5,RED:6,BLACK:7},window.AnvatoPlayer.CaptionStyle.TextAlign={DEFAULT:-1,LEFT:0,CENTER:1,RIGHT:2},window.AnvatoPlayer.CaptionStyle.FontType={ARIAL:0,COURIER:1,GEORGIA:2,LUCIDA_SANS:3,TAHOMA:4,TIMES_NEW_ROMAN:5,VERDANA:6},window.AnvatoPlayer.CaptionStyle.TextEdgeStyle={NONE:0,DROP_SHADOW:1,RAISED:2,DEPRESSED:3,UNIFORM:4},window.AnvatoPlayer.CaptionStyle.PresetLevel={NONE:0,PERCENT_25:1,PERCENT_50:2,PERCENT_75:3,PERCENT_100:4},window.AnvatoPlayer.MseOptimizationMode={ASM:"ASM",WEB_ASSEMBLY:"WEB_ASSEMBLY",MODULARIZED_WEB_ASSEMBLY:"MODULARIZED_WEB_ASSEMBLY"},window.AnvatoPlayer.DerivedMetadataOrigin={APP_LEVEL_CONFIG:0,APP_LEVEL_ITEM:1,CONTENT_METADATA:2,REMOTE_CONFIG:3,UNKNOWN:4}}()}()}]);