diff options
| author | stonedDiscord <Tukz@gmx.de> | 2021-02-25 22:54:28 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2021-02-25 22:54:28 +0100 |
| commit | 96551a0e14984ee7d5a6131628172ac23328309a (patch) | |
| tree | e83b8e3326cb6b747a4627c1c2f180ee61676d87 /webAO/client.b.js | |
| parent | 44b137cbf30fe76294f484ae72b514ac2778defd (diff) | |
delete builds because they are on gh-pages now
Diffstat (limited to 'webAO/client.b.js')
| -rw-r--r-- | webAO/client.b.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/webAO/client.b.js b/webAO/client.b.js deleted file mode 100644 index c7b7be6..0000000 --- a/webAO/client.b.js +++ /dev/null @@ -1,2 +0,0 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=199)}([function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c}));n(51),n(79),n(147),n(93),n(54),n(148),n(100),n(82),n(149),n(102),n(103),n(104),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124);function r(e){return e.replace(/#/g,"<num>").replace(/&/g,"<and>").replace(/%/g,"<percent>").replace(/\$/g,"<dollar>")}function o(e){return e.replace(/<num>/g,"#").replace(/<and>/g,"&").replace(/<percent>/g,"%").replace(/<dollar>/g,"$")}function i(e){return e?e.replace(/>/g,">").replace(/</g,"<"):""}function a(e){var t=document.getElementById("client_encoding").value;if("unicode"===t)return e.replace(/[^\0-~]/g,(function(e){return"\\u"+("000"+e.charCodeAt().toString(16)).slice(-4)}));if("utf16"===t){for(var n=new ArrayBuffer(2*e.length),r=new Uint16Array(n),o=0,i=e.length;o<i;o++)r[o]=e.charCodeAt(o);return String(r)}return e}function c(e){return o((t=e,"unicode"===(n=document.getElementById("client_decoding").value)?t.replace(/\\u([\d\w]{1,})/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))})):"utf16"===n?String.fromCharCode.apply(null,new Uint16Array(t.split(","))):t));var t,n}},function(e,t,n){"use strict";var r,o=n(83),i=n(9),a=n(2),c=n(8),s=n(6),u=n(39),l=n(12),d=n(15),f=n(10).f,h=n(34),p=n(30),m=n(4),g=n(42),y=a.Int8Array,v=y&&y.prototype,w=a.Uint8ClampedArray,b=w&&w.prototype,E=y&&h(y),x=v&&h(v),_=Object.prototype,T=_.isPrototypeOf,I=m("toStringTag"),A=g("TYPED_ARRAY_TAG"),S=o&&!!p&&"Opera"!==u(a.opera),B=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},O={BigInt64Array:8,BigUint64Array:8},k=function(e){if(!c(e))return!1;var t=u(e);return s(C,t)||s(O,t)};for(r in C)a[r]||(S=!1);if((!S||"function"!=typeof E||E===Function.prototype)&&(E=function(){throw TypeError("Incorrect invocation")},S))for(r in C)a[r]&&p(a[r],E);if((!S||!x||x===_)&&(x=E.prototype,S))for(r in C)a[r]&&p(a[r].prototype,x);if(S&&h(b)!==x&&p(b,x),i&&!s(x,I))for(r in B=!0,f(x,I,{get:function(){return c(this)?this[A]:void 0}}),C)a[r]&&l(a[r],A,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:S,TYPED_ARRAY_TAG:B&&A,aTypedArray:function(e){if(k(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(p){if(T.call(E,e))return e}else for(var t in C)if(s(C,r)){var n=a[t];if(n&&(e===n||T.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in C){var o=a[r];o&&s(o.prototype,e)&&delete o.prototype[e]}x[e]&&!n||d(x,e,n?t:S&&v[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(p){if(n)for(r in C)(o=a[r])&&s(o,e)&&delete o[e];if(E[e]&&!n)return;try{return d(E,e,n?t:S&&y[e]||t)}catch(e){}}for(r in C)!(o=a[r])||o[e]&&!n||d(o,e,t)}},isView:function(e){if(!c(e))return!1;var t=u(e);return"DataView"===t||s(C,t)||s(O,t)},isTypedArray:k,TypedArray:E,TypedArrayPrototype:x}},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}()||Function("return this")()}).call(this,n(126))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(2),o=n(59),i=n(6),a=n(42),c=n(61),s=n(89),u=o("wks"),l=r.Symbol,d=s?l:l&&l.withoutSetter||a;e.exports=function(e){return i(u,e)||(c&&i(l,e)?u[e]=l[e]:u[e]=d("Symbol."+e)),u[e]}},function(e,t,n){var r=n(16),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(2),o=n(20).f,i=n(12),a=n(15),c=n(47),s=n(87),u=n(60);e.exports=function(e,t){var n,l,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||c(p,{}):(r[p]||{}).prototype)for(l in t){if(f=t[l],d=e.noTargetGet?(h=o(n,l))&&h.value:n[l],!u(m?l:p+(g?".":"#")+l,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;s(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,l,f,e)}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},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){var r=n(9),o=n(70),i=n(11),a=n(22),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(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){var r=n(8);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(9),o=n(10),i=n(21);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(17);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(50),o=n(35),i=n(13),a=n(5),c=n(74),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,d=6==e,f=7==e,h=5==e||d;return function(p,m,g,y){for(var v,w,b=i(p),E=o(b),x=r(m,g,3),_=a(E.length),T=0,I=y||c,A=t?I(p,_):n||f?I(p,0):void 0;_>T;T++)if((h||T in E)&&(w=x(v=E[T],T,b),e))if(t)A[T]=w;else if(w)switch(e){case 3:return!0;case 5:return v;case 6:return T;case 2:s.call(A,v)}else switch(e){case 4:return!1;case 7:s.call(A,v)}return d?-1:u||l?l:A}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},function(e,t,n){var r=n(2),o=n(12),i=n(6),a=n(47),c=n(58),s=n(23),u=s.get,l=s.enforce,d=String(String).split("String");(e.exports=function(e,t,n,c){var s,u=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(s=l(n)).source||(s.source=d.join("string"==typeof t?t:""))),e!==r?(u?!h&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},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){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(35),o=n(17);e.exports=function(e){return r(o(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(9),o=n(69),i=n(21),a=n(18),c=n(22),s=n(6),u=n(70),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},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(8);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r,o,i,a=n(127),c=n(2),s=n(8),u=n(12),l=n(6),d=n(48),f=n(41),h=n(43),p=c.WeakMap;if(a){var m=d.state||(d.state=new p),g=m.get,y=m.has,v=m.set;r=function(e,t){return t.facade=e,v.call(m,e,t),t},o=function(e){return g.call(m,e)||{}},i=function(e){return y.call(m,e)}}else{var w=f("state");h[w]=!0,r=function(e,t){return t.facade=e,u(e,w,t),t},o=function(e){return l(e,w)?e[w]:{}},i=function(e){return l(e,w)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(11),o=n(37),i=n(4)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r=n(88),o=n(2),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(71),o=n(49).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(16),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(9),o=n(3),i=n(6),a=Object.defineProperty,c={},s=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,l=i(t,0)?t[0]:s,d=i(t,1)?t[1]:void 0;return c[e]=!!n&&!o((function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:s}):e[1]=1,n.call(e,l,d)}))}},function(e,t){e.exports={}},function(e,t,n){var r=n(11),o=n(131);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,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r,o;!function(i,a,c){"use strict";"undefined"!=typeof window&&n(146)?void 0===(o="function"==typeof(r=c)?r.call(t,n,t,e):r)||(e.exports=o):e.exports?e.exports=c():a.exports?a.exports=c():a.Fingerprint2=c()}(0,this,(function(){"use strict";void 0===Array.isArray&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var e=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},t=function(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]},n=function(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])},r=function(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]},o=function(e,t){return[e[0]^t[0],e[1]^t[1]]},i=function(e){return e=o(e,[0,e[0]>>>1]),e=t(e,[4283543511,3981806797]),e=o(e,[0,e[0]>>>1]),e=t(e,[3301882366,444984403]),e=o(e,[0,e[0]>>>1])},a=function(a,c){c=c||0;for(var s=(a=a||"").length%16,u=a.length-s,l=[0,c],d=[0,c],f=[0,0],h=[0,0],p=[2277735313,289559509],m=[1291169091,658871167],g=0;g<u;g+=16)f=[255&a.charCodeAt(g+4)|(255&a.charCodeAt(g+5))<<8|(255&a.charCodeAt(g+6))<<16|(255&a.charCodeAt(g+7))<<24,255&a.charCodeAt(g)|(255&a.charCodeAt(g+1))<<8|(255&a.charCodeAt(g+2))<<16|(255&a.charCodeAt(g+3))<<24],h=[255&a.charCodeAt(g+12)|(255&a.charCodeAt(g+13))<<8|(255&a.charCodeAt(g+14))<<16|(255&a.charCodeAt(g+15))<<24,255&a.charCodeAt(g+8)|(255&a.charCodeAt(g+9))<<8|(255&a.charCodeAt(g+10))<<16|(255&a.charCodeAt(g+11))<<24],f=t(f,p),f=n(f,31),f=t(f,m),l=o(l,f),l=n(l,27),l=e(l,d),l=e(t(l,[0,5]),[0,1390208809]),h=t(h,m),h=n(h,33),h=t(h,p),d=o(d,h),d=n(d,31),d=e(d,l),d=e(t(d,[0,5]),[0,944331445]);switch(f=[0,0],h=[0,0],s){case 15:h=o(h,r([0,a.charCodeAt(g+14)],48));case 14:h=o(h,r([0,a.charCodeAt(g+13)],40));case 13:h=o(h,r([0,a.charCodeAt(g+12)],32));case 12:h=o(h,r([0,a.charCodeAt(g+11)],24));case 11:h=o(h,r([0,a.charCodeAt(g+10)],16));case 10:h=o(h,r([0,a.charCodeAt(g+9)],8));case 9:h=o(h,[0,a.charCodeAt(g+8)]),h=t(h,m),h=n(h,33),h=t(h,p),d=o(d,h);case 8:f=o(f,r([0,a.charCodeAt(g+7)],56));case 7:f=o(f,r([0,a.charCodeAt(g+6)],48));case 6:f=o(f,r([0,a.charCodeAt(g+5)],40));case 5:f=o(f,r([0,a.charCodeAt(g+4)],32));case 4:f=o(f,r([0,a.charCodeAt(g+3)],24));case 3:f=o(f,r([0,a.charCodeAt(g+2)],16));case 2:f=o(f,r([0,a.charCodeAt(g+1)],8));case 1:f=o(f,[0,a.charCodeAt(g)]),f=t(f,p),f=n(f,31),f=t(f,m),l=o(l,f)}return l=o(l,[0,a.length]),d=o(d,[0,a.length]),l=e(l,d),d=e(d,l),l=i(l),d=i(d),l=e(l,d),d=e(d,l),("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)+("00000000"+(d[0]>>>0).toString(16)).slice(-8)+("00000000"+(d[1]>>>0).toString(16)).slice(-8)},c={preprocessor:null,audio:{timeout:1e3,excludeIOS11:!0},fonts:{swfContainerId:"fingerprintjs2",swfPath:"flash/compiled/FontList.swf",userDefinedFonts:[],extendedJsFonts:!1},screen:{detectScreenOrientation:!0},plugins:{sortPluginsFor:[/palemoon/i],excludeIE:!1},extraComponents:[],excludes:{enumerateDevices:!0,pixelRatio:!0,doNotTrack:!0,fontsFlash:!0},NOT_AVAILABLE:"not available",ERROR:"error",EXCLUDED:"excluded"},s=function(e,t){if(Array.prototype.forEach&&e.forEach===Array.prototype.forEach)e.forEach(t);else if(e.length===+e.length)for(var n=0,r=e.length;n<r;n++)t(e[n],n,e);else for(var o in e)e.hasOwnProperty(o)&&t(e[o],o,e)},u=function(e,t){var n=[];return null==e?n:Array.prototype.map&&e.map===Array.prototype.map?e.map(t):(s(e,(function(e,r,o){n.push(t(e,r,o))})),n)},l=function(){return navigator.mediaDevices&&navigator.mediaDevices.enumerateDevices},d=function(e){var t=[window.screen.width,window.screen.height];return e.screen.detectScreenOrientation&&t.sort().reverse(),t},f=function(e){if(window.screen.availWidth&&window.screen.availHeight){var t=[window.screen.availHeight,window.screen.availWidth];return e.screen.detectScreenOrientation&&t.sort().reverse(),t}return e.NOT_AVAILABLE},h=function(e){if(null==navigator.plugins)return e.NOT_AVAILABLE;for(var t=[],n=0,r=navigator.plugins.length;n<r;n++)navigator.plugins[n]&&t.push(navigator.plugins[n]);return m(e)&&(t=t.sort((function(e,t){return e.name>t.name?1:e.name<t.name?-1:0}))),u(t,(function(e){var t=u(e,(function(e){return[e.type,e.suffixes]}));return[e.name,e.description,t]}))},p=function(e){var t=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,"ActiveXObject")||"ActiveXObject"in window){t=u(["AcroPDF.PDF","Adodb.Stream","AgControl.AgControl","DevalVRXCtrl.DevalVRXCtrl.1","MacromediaFlashPaper.MacromediaFlashPaper","Msxml2.DOMDocument","Msxml2.XMLHTTP","PDF.PdfCtrl","QuickTime.QuickTime","QuickTimeCheckObject.QuickTimeCheck.1","RealPlayer","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","Scripting.Dictionary","SWCtl.SWCtl","Shell.UIHelper","ShockwaveFlash.ShockwaveFlash","Skype.Detection","TDCCtl.TDCCtl","WMPlayer.OCX","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1"],(function(t){try{return new window.ActiveXObject(t),t}catch(t){return e.ERROR}}))}else t.push(e.NOT_AVAILABLE);return navigator.plugins&&(t=t.concat(h(e))),t},m=function(e){for(var t=!1,n=0,r=e.plugins.sortPluginsFor.length;n<r;n++){var o=e.plugins.sortPluginsFor[n];if(navigator.userAgent.match(o)){t=!0;break}}return t},g=function(e){try{return!!window.sessionStorage}catch(t){return e.ERROR}},y=function(e){try{return!!window.localStorage}catch(t){return e.ERROR}},v=function(e){try{return!!window.indexedDB}catch(t){return e.ERROR}},w=function(e){return navigator.hardwareConcurrency?navigator.hardwareConcurrency:e.NOT_AVAILABLE},b=function(e){return navigator.cpuClass||e.NOT_AVAILABLE},E=function(e){return navigator.platform?navigator.platform:e.NOT_AVAILABLE},x=function(e){return navigator.doNotTrack?navigator.doNotTrack:navigator.msDoNotTrack?navigator.msDoNotTrack:window.doNotTrack?window.doNotTrack:e.NOT_AVAILABLE},_=function(){var e,t=0;void 0!==navigator.maxTouchPoints?t=navigator.maxTouchPoints:void 0!==navigator.msMaxTouchPoints&&(t=navigator.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(t){e=!1}return[t,e,"ontouchstart"in window]},T=function(e){var t=[],n=document.createElement("canvas");n.width=2e3,n.height=200,n.style.display="inline";var r=n.getContext("2d");return r.rect(0,0,10,10),r.rect(2,2,6,6),t.push("canvas winding:"+(!1===r.isPointInPath(5,5,"evenodd")?"yes":"no")),r.textBaseline="alphabetic",r.fillStyle="#f60",r.fillRect(125,1,62,20),r.fillStyle="#069",e.dontUseFakeFontInCanvas?r.font="11pt Arial":r.font="11pt no-real-font-123",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",2,15),r.fillStyle="rgba(102, 204, 0, 0.2)",r.font="18pt Arial",r.fillText("Cwm fjordbank glyphs vext quiz, 😃",4,45),r.globalCompositeOperation="multiply",r.fillStyle="rgb(255,0,255)",r.beginPath(),r.arc(50,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(0,255,255)",r.beginPath(),r.arc(100,50,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,255,0)",r.beginPath(),r.arc(75,100,50,0,2*Math.PI,!0),r.closePath(),r.fill(),r.fillStyle="rgb(255,0,255)",r.arc(75,75,75,0,2*Math.PI,!0),r.arc(75,75,25,0,2*Math.PI,!0),r.fill("evenodd"),n.toDataURL&&t.push("canvas fp:"+n.toDataURL()),t},I=function(){var e,t=function(t){return e.clearColor(0,0,0,1),e.enable(e.DEPTH_TEST),e.depthFunc(e.LEQUAL),e.clear(e.COLOR_BUFFER_BIT|e.DEPTH_BUFFER_BIT),"["+t[0]+", "+t[1]+"]"};if(!(e=D()))return null;var n=[],r=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,r);var o=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);e.bufferData(e.ARRAY_BUFFER,o,e.STATIC_DRAW),r.itemSize=3,r.numItems=3;var i=e.createProgram(),a=e.createShader(e.VERTEX_SHADER);e.shaderSource(a,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}"),e.compileShader(a);var c=e.createShader(e.FRAGMENT_SHADER);e.shaderSource(c,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}"),e.compileShader(c),e.attachShader(i,a),e.attachShader(i,c),e.linkProgram(i),e.useProgram(i),i.vertexPosAttrib=e.getAttribLocation(i,"attrVertex"),i.offsetUniform=e.getUniformLocation(i,"uniformOffset"),e.enableVertexAttribArray(i.vertexPosArray),e.vertexAttribPointer(i.vertexPosAttrib,r.itemSize,e.FLOAT,!1,0,0),e.uniform2f(i.offsetUniform,1,1),e.drawArrays(e.TRIANGLE_STRIP,0,r.numItems);try{n.push(e.canvas.toDataURL())}catch(e){}n.push("extensions:"+(e.getSupportedExtensions()||[]).join(";")),n.push("webgl aliased line width range:"+t(e.getParameter(e.ALIASED_LINE_WIDTH_RANGE))),n.push("webgl aliased point size range:"+t(e.getParameter(e.ALIASED_POINT_SIZE_RANGE))),n.push("webgl alpha bits:"+e.getParameter(e.ALPHA_BITS)),n.push("webgl antialiasing:"+(e.getContextAttributes().antialias?"yes":"no")),n.push("webgl blue bits:"+e.getParameter(e.BLUE_BITS)),n.push("webgl depth bits:"+e.getParameter(e.DEPTH_BITS)),n.push("webgl green bits:"+e.getParameter(e.GREEN_BITS)),n.push("webgl max anisotropy:"+function(e){var t=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic");if(t){var n=e.getParameter(t.MAX_TEXTURE_MAX_ANISOTROPY_EXT);return 0===n&&(n=2),n}return null}(e)),n.push("webgl max combined texture image units:"+e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS)),n.push("webgl max cube map texture size:"+e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE)),n.push("webgl max fragment uniform vectors:"+e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS)),n.push("webgl max render buffer size:"+e.getParameter(e.MAX_RENDERBUFFER_SIZE)),n.push("webgl max texture image units:"+e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS)),n.push("webgl max texture size:"+e.getParameter(e.MAX_TEXTURE_SIZE)),n.push("webgl max varying vectors:"+e.getParameter(e.MAX_VARYING_VECTORS)),n.push("webgl max vertex attribs:"+e.getParameter(e.MAX_VERTEX_ATTRIBS)),n.push("webgl max vertex texture image units:"+e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS)),n.push("webgl max vertex uniform vectors:"+e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS)),n.push("webgl max viewport dims:"+t(e.getParameter(e.MAX_VIEWPORT_DIMS))),n.push("webgl red bits:"+e.getParameter(e.RED_BITS)),n.push("webgl renderer:"+e.getParameter(e.RENDERER)),n.push("webgl shading language version:"+e.getParameter(e.SHADING_LANGUAGE_VERSION)),n.push("webgl stencil bits:"+e.getParameter(e.STENCIL_BITS)),n.push("webgl vendor:"+e.getParameter(e.VENDOR)),n.push("webgl version:"+e.getParameter(e.VERSION));try{var u=e.getExtension("WEBGL_debug_renderer_info");u&&(n.push("webgl unmasked vendor:"+e.getParameter(u.UNMASKED_VENDOR_WEBGL)),n.push("webgl unmasked renderer:"+e.getParameter(u.UNMASKED_RENDERER_WEBGL)))}catch(e){}return e.getShaderPrecisionFormat?(s(["FLOAT","INT"],(function(t){s(["VERTEX","FRAGMENT"],(function(r){s(["HIGH","MEDIUM","LOW"],(function(o){s(["precision","rangeMin","rangeMax"],(function(i){var a=e.getShaderPrecisionFormat(e[r+"_SHADER"],e[o+"_"+t])[i];"precision"!==i&&(i="precision "+i);var c=["webgl ",r.toLowerCase()," shader ",o.toLowerCase()," ",t.toLowerCase()," ",i,":",a].join("");n.push(c)}))}))}))})),F(e),n):(F(e),n)},A=function(){try{var e=D(),t=e.getExtension("WEBGL_debug_renderer_info"),n=e.getParameter(t.UNMASKED_VENDOR_WEBGL)+"~"+e.getParameter(t.UNMASKED_RENDERER_WEBGL);return F(e),n}catch(e){return null}},S=function(){var e=document.createElement("div");e.innerHTML=" ",e.className="adsbox";var t=!1;try{document.body.appendChild(e),t=0===document.getElementsByClassName("adsbox")[0].offsetHeight,document.body.removeChild(e)}catch(e){t=!1}return t},B=function(){if(void 0!==navigator.languages)try{if(navigator.languages[0].substr(0,2)!==navigator.language.substr(0,2))return!0}catch(e){return!0}return!1},C=function(){return window.screen.width<window.screen.availWidth||window.screen.height<window.screen.availHeight},O=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.oscpu,r=navigator.platform.toLowerCase();if(e=t.indexOf("windows phone")>=0?"Windows Phone":t.indexOf("windows")>=0||t.indexOf("win16")>=0||t.indexOf("win32")>=0||t.indexOf("win64")>=0||t.indexOf("win95")>=0||t.indexOf("win98")>=0||t.indexOf("winnt")>=0||t.indexOf("wow64")>=0?"Windows":t.indexOf("android")>=0?"Android":t.indexOf("linux")>=0||t.indexOf("cros")>=0||t.indexOf("x11")>=0?"Linux":t.indexOf("iphone")>=0||t.indexOf("ipad")>=0||t.indexOf("ipod")>=0||t.indexOf("crios")>=0||t.indexOf("fxios")>=0?"iOS":t.indexOf("macintosh")>=0||t.indexOf("mac_powerpc)")>=0?"Mac":"Other",("ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&"Windows"!==e&&"Windows Phone"!==e&&"Android"!==e&&"iOS"!==e&&"Other"!==e&&-1===t.indexOf("cros"))return!0;if(void 0!==n){if((n=n.toLowerCase()).indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e)return!0;if(n.indexOf("linux")>=0&&"Linux"!==e&&"Android"!==e)return!0;if(n.indexOf("mac")>=0&&"Mac"!==e&&"iOS"!==e)return!0;if((-1===n.indexOf("win")&&-1===n.indexOf("linux")&&-1===n.indexOf("mac"))!=("Other"===e))return!0}return r.indexOf("win")>=0&&"Windows"!==e&&"Windows Phone"!==e||((r.indexOf("linux")>=0||r.indexOf("android")>=0||r.indexOf("pike")>=0)&&"Linux"!==e&&"Android"!==e||((r.indexOf("mac")>=0||r.indexOf("ipad")>=0||r.indexOf("ipod")>=0||r.indexOf("iphone")>=0)&&"Mac"!==e&&"iOS"!==e||!(r.indexOf("arm")>=0&&"Windows Phone"===e)&&(!(r.indexOf("pike")>=0&&t.indexOf("opera mini")>=0)&&((r.indexOf("win")<0&&r.indexOf("linux")<0&&r.indexOf("mac")<0&&r.indexOf("iphone")<0&&r.indexOf("ipad")<0&&r.indexOf("ipod")<0)!==("Other"===e)||void 0===navigator.plugins&&"Windows"!==e&&"Windows Phone"!==e))))},k=function(){var e,t=navigator.userAgent.toLowerCase(),n=navigator.productSub;if(t.indexOf("edge/")>=0||t.indexOf("iemobile/")>=0)return!1;if(t.indexOf("opera mini")>=0)return!1;if(("Chrome"===(e=t.indexOf("firefox/")>=0?"Firefox":t.indexOf("opera/")>=0||t.indexOf(" opr/")>=0?"Opera":t.indexOf("chrome/")>=0?"Chrome":t.indexOf("safari/")>=0?t.indexOf("android 1.")>=0||t.indexOf("android 2.")>=0||t.indexOf("android 3.")>=0||t.indexOf("android 4.")>=0?"AOSP":"Safari":t.indexOf("trident/")>=0?"Internet Explorer":"Other")||"Safari"===e||"Opera"===e)&&"20030107"!==n)return!0;var r,o=eval.toString().length;if(37===o&&"Safari"!==e&&"Firefox"!==e&&"Other"!==e)return!0;if(39===o&&"Internet Explorer"!==e&&"Other"!==e)return!0;if(33===o&&"Chrome"!==e&&"AOSP"!==e&&"Opera"!==e&&"Other"!==e)return!0;try{throw"a"}catch(e){try{e.toSource(),r=!0}catch(e){r=!1}}return r&&"Firefox"!==e&&"Other"!==e},L=function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},M=function(){if(!L())return!1;var e=D(),t=!!window.WebGLRenderingContext&&!!e;return F(e),t},R=function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},P=function(){return void 0!==window.swfobject},N=function(){return window.swfobject.hasFlashPlayerVersion("9.0.0")},j=function(e,t){window.___fp_swf_loaded=function(t){e(t)};var n=t.fonts.swfContainerId;!function(e){var t=document.createElement("div");t.setAttribute("id",e.fonts.swfContainerId),document.body.appendChild(t)}();var r={onReady:"___fp_swf_loaded"};window.swfobject.embedSWF(t.fonts.swfPath,n,"1","1","9.0.0",!1,r,{allowScriptAccess:"always",menu:"false"},{})},D=function(){var e=document.createElement("canvas"),t=null;try{t=e.getContext("webgl")||e.getContext("experimental-webgl")}catch(e){}return t||(t=null),t},F=function(e){var t=e.getExtension("WEBGL_lose_context");null!=t&&t.loseContext()},U=[{key:"userAgent",getData:function(e){e(navigator.userAgent)}},{key:"webdriver",getData:function(e,t){e(null==navigator.webdriver?t.NOT_AVAILABLE:navigator.webdriver)}},{key:"language",getData:function(e,t){e(navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage||t.NOT_AVAILABLE)}},{key:"colorDepth",getData:function(e,t){e(window.screen.colorDepth||t.NOT_AVAILABLE)}},{key:"deviceMemory",getData:function(e,t){e(navigator.deviceMemory||t.NOT_AVAILABLE)}},{key:"pixelRatio",getData:function(e,t){e(window.devicePixelRatio||t.NOT_AVAILABLE)}},{key:"hardwareConcurrency",getData:function(e,t){e(w(t))}},{key:"screenResolution",getData:function(e,t){e(d(t))}},{key:"availableScreenResolution",getData:function(e,t){e(f(t))}},{key:"timezoneOffset",getData:function(e){e((new Date).getTimezoneOffset())}},{key:"timezone",getData:function(e,t){window.Intl&&window.Intl.DateTimeFormat?e((new window.Intl.DateTimeFormat).resolvedOptions().timeZone):e(t.NOT_AVAILABLE)}},{key:"sessionStorage",getData:function(e,t){e(g(t))}},{key:"localStorage",getData:function(e,t){e(y(t))}},{key:"indexedDb",getData:function(e,t){e(v(t))}},{key:"addBehavior",getData:function(e){e(!(!document.body||!document.body.addBehavior))}},{key:"openDatabase",getData:function(e){e(!!window.openDatabase)}},{key:"cpuClass",getData:function(e,t){e(b(t))}},{key:"platform",getData:function(e,t){e(E(t))}},{key:"doNotTrack",getData:function(e,t){e(x(t))}},{key:"plugins",getData:function(e,t){R()?t.plugins.excludeIE?e(t.EXCLUDED):e(p(t)):e(h(t))}},{key:"canvas",getData:function(e,t){L()?e(T(t)):e(t.NOT_AVAILABLE)}},{key:"webgl",getData:function(e,t){M()?e(I()):e(t.NOT_AVAILABLE)}},{key:"webglVendorAndRenderer",getData:function(e){M()?e(A()):e()}},{key:"adBlock",getData:function(e){e(S())}},{key:"hasLiedLanguages",getData:function(e){e(B())}},{key:"hasLiedResolution",getData:function(e){e(C())}},{key:"hasLiedOs",getData:function(e){e(O())}},{key:"hasLiedBrowser",getData:function(e){e(k())}},{key:"touchSupport",getData:function(e){e(_())}},{key:"fonts",getData:function(e,t){var n=["monospace","sans-serif","serif"],r=["Andale Mono","Arial","Arial Black","Arial Hebrew","Arial MT","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Bitstream Vera Sans Mono","Book Antiqua","Bookman Old Style","Calibri","Cambria","Cambria Math","Century","Century Gothic","Century Schoolbook","Comic Sans","Comic Sans MS","Consolas","Courier","Courier New","Geneva","Georgia","Helvetica","Helvetica Neue","Impact","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","LUCIDA GRANDE","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Microsoft Sans Serif","Monaco","Monotype Corsiva","MS Gothic","MS Outlook","MS PGothic","MS Reference Sans Serif","MS Sans Serif","MS Serif","MYRIAD","MYRIAD PRO","Palatino","Palatino Linotype","Segoe Print","Segoe Script","Segoe UI","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Tahoma","Times","Times New Roman","Times New Roman PS","Trebuchet MS","Verdana","Wingdings","Wingdings 2","Wingdings 3"];if(t.fonts.extendedJsFonts){r=r.concat(["Abadi MT Condensed Light","Academy Engraved LET","ADOBE CASLON PRO","Adobe Garamond","ADOBE GARAMOND PRO","Agency FB","Aharoni","Albertus Extra Bold","Albertus Medium","Algerian","Amazone BT","American Typewriter","American Typewriter Condensed","AmerType Md BT","Andalus","Angsana New","AngsanaUPC","Antique Olive","Aparajita","Apple Chancery","Apple Color Emoji","Apple SD Gothic Neo","Arabic Typesetting","ARCHER","ARNO PRO","Arrus BT","Aurora Cn BT","AvantGarde Bk BT","AvantGarde Md BT","AVENIR","Ayuthaya","Bandy","Bangla Sangam MN","Bank Gothic","BankGothic Md BT","Baskerville","Baskerville Old Face","Batang","BatangChe","Bauer Bodoni","Bauhaus 93","Bazooka","Bell MT","Bembo","Benguiat Bk BT","Berlin Sans FB","Berlin Sans FB Demi","Bernard MT Condensed","BernhardFashion BT","BernhardMod BT","Big Caslon","BinnerD","Blackadder ITC","BlairMdITC TT","Bodoni 72","Bodoni 72 Oldstyle","Bodoni 72 Smallcaps","Bodoni MT","Bodoni MT Black","Bodoni MT Condensed","Bodoni MT Poster Compressed","Bookshelf Symbol 7","Boulder","Bradley Hand","Bradley Hand ITC","Bremen Bd BT","Britannic Bold","Broadway","Browallia New","BrowalliaUPC","Brush Script MT","Californian FB","Calisto MT","Calligrapher","Candara","CaslonOpnface BT","Castellar","Centaur","Cezanne","CG Omega","CG Times","Chalkboard","Chalkboard SE","Chalkduster","Charlesworth","Charter Bd BT","Charter BT","Chaucer","ChelthmITC Bk BT","Chiller","Clarendon","Clarendon Condensed","CloisterBlack BT","Cochin","Colonna MT","Constantia","Cooper Black","Copperplate","Copperplate Gothic","Copperplate Gothic Bold","Copperplate Gothic Light","CopperplGoth Bd BT","Corbel","Cordia New","CordiaUPC","Cornerstone","Coronet","Cuckoo","Curlz MT","DaunPenh","Dauphin","David","DB LCD Temp","DELICIOUS","Denmark","DFKai-SB","Didot","DilleniaUPC","DIN","DokChampa","Dotum","DotumChe","Ebrima","Edwardian Script ITC","Elephant","English 111 Vivace BT","Engravers MT","EngraversGothic BT","Eras Bold ITC","Eras Demi ITC","Eras Light ITC","Eras Medium ITC","EucrosiaUPC","Euphemia","Euphemia UCAS","EUROSTILE","Exotc350 Bd BT","FangSong","Felix Titling","Fixedsys","FONTIN","Footlight MT Light","Forte","FrankRuehl","Fransiscan","Freefrm721 Blk BT","FreesiaUPC","Freestyle Script","French Script MT","FrnkGothITC Bk BT","Fruitger","FRUTIGER","Futura","Futura Bk BT","Futura Lt BT","Futura Md BT","Futura ZBlk BT","FuturaBlack BT","Gabriola","Galliard BT","Gautami","Geeza Pro","Geometr231 BT","Geometr231 Hv BT","Geometr231 Lt BT","GeoSlab 703 Lt BT","GeoSlab 703 XBd BT","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Gisha","Gloucester MT Extra Condensed","GOTHAM","GOTHAM BOLD","Goudy Old Style","Goudy Stout","GoudyHandtooled BT","GoudyOLSt BT","Gujarati Sangam MN","Gulim","GulimChe","Gungsuh","GungsuhChe","Gurmukhi MN","Haettenschweiler","Harlow Solid Italic","Harrington","Heather","Heiti SC","Heiti TC","HELV","Herald","High Tower Text","Hiragino Kaku Gothic ProN","Hiragino Mincho ProN","Hoefler Text","Humanst 521 Cn BT","Humanst521 BT","Humanst521 Lt BT","Imprint MT Shadow","Incised901 Bd BT","Incised901 BT","Incised901 Lt BT","INCONSOLATA","Informal Roman","Informal011 BT","INTERSTATE","IrisUPC","Iskoola Pota","JasmineUPC","Jazz LET","Jenson","Jester","Jokerman","Juice ITC","Kabel Bk BT","Kabel Ult BT","Kailasa","KaiTi","Kalinga","Kannada Sangam MN","Kartika","Kaufmann Bd BT","Kaufmann BT","Khmer UI","KodchiangUPC","Kokila","Korinna BT","Kristen ITC","Krungthep","Kunstler Script","Lao UI","Latha","Leelawadee","Letter Gothic","Levenim MT","LilyUPC","Lithograph","Lithograph Light","Long Island","Lydian BT","Magneto","Maiandra GD","Malayalam Sangam MN","Malgun Gothic","Mangal","Marigold","Marion","Marker Felt","Market","Marlett","Matisse ITC","Matura MT Script Capitals","Meiryo","Meiryo UI","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","MingLiU-ExtB","Minion","Minion Pro","Miriam","Miriam Fixed","Mistral","Modern","Modern No. 20","Mona Lisa Solid ITC TT","Mongolian Baiti","MONO","MoolBoran","Mrs Eaves","MS LineDraw","MS Mincho","MS PMincho","MS Reference Specialty","MS UI Gothic","MT Extra","MUSEO","MV Boli","Nadeem","Narkisim","NEVIS","News Gothic","News GothicMT","NewsGoth BT","Niagara Engraved","Niagara Solid","Noteworthy","NSimSun","Nyala","OCR A Extended","Old Century","Old English Text MT","Onyx","Onyx BT","OPTIMA","Oriya Sangam MN","OSAKA","OzHandicraft BT","Palace Script MT","Papyrus","Parchment","Party LET","Pegasus","Perpetua","Perpetua Titling MT","PetitaBold","Pickwick","Plantagenet Cherokee","Playbill","PMingLiU","PMingLiU-ExtB","Poor Richard","Poster","PosterBodoni BT","PRINCETOWN LET","Pristina","PTBarnum BT","Pythagoras","Raavi","Rage Italic","Ravie","Ribbon131 Bd BT","Rockwell","Rockwell Condensed","Rockwell Extra Bold","Rod","Roman","Sakkal Majalla","Santa Fe LET","Savoye LET","Sceptre","Script","Script MT Bold","SCRIPTINA","Serifa","Serifa BT","Serifa Th BT","ShelleyVolante BT","Sherwood","Shonar Bangla","Showcard Gothic","Shruti","Signboard","SILKSCREEN","SimHei","Simplified Arabic","Simplified Arabic Fixed","SimSun","SimSun-ExtB","Sinhala Sangam MN","Sketch Rockwell","Skia","Small Fonts","Snap ITC","Snell Roundhand","Socket","Souvenir Lt BT","Staccato222 BT","Steamer","Stencil","Storybook","Styllo","Subway","Swis721 BlkEx BT","Swiss911 XCm BT","Sylfaen","Synchro LET","System","Tamil Sangam MN","Technical","Teletype","Telugu Sangam MN","Tempus Sans ITC","Terminal","Thonburi","Traditional Arabic","Trajan","TRAJAN PRO","Tristan","Tubular","Tunga","Tw Cen MT","Tw Cen MT Condensed","Tw Cen MT Condensed Extra Bold","TypoUpright BT","Unicorn","Univers","Univers CE 55 Medium","Univers Condensed","Utsaah","Vagabond","Vani","Vijaya","Viner Hand ITC","VisualUI","Vivaldi","Vladimir Script","Vrinda","Westminster","WHITNEY","Wide Latin","ZapfEllipt BT","ZapfHumnst BT","ZapfHumnst Dm BT","Zapfino","Zurich BlkEx BT","Zurich Ex BT","ZWAdobeF"])}r=(r=r.concat(t.fonts.userDefinedFonts)).filter((function(e,t){return r.indexOf(e)===t}));var o=document.getElementsByTagName("body")[0],i=document.createElement("div"),a=document.createElement("div"),c={},s={},u=function(){var e=document.createElement("span");return e.style.position="absolute",e.style.left="-9999px",e.style.fontSize="72px",e.style.fontStyle="normal",e.style.fontWeight="normal",e.style.letterSpacing="normal",e.style.lineBreak="auto",e.style.lineHeight="normal",e.style.textTransform="none",e.style.textAlign="left",e.style.textDecoration="none",e.style.textShadow="none",e.style.whiteSpace="normal",e.style.wordBreak="normal",e.style.wordSpacing="normal",e.innerHTML="mmmmmmmmmmlli",e},l=function(e,t){var n=u();return n.style.fontFamily="'"+e+"',"+t,n},d=function(e){for(var t=!1,r=0;r<n.length;r++)if(t=e[r].offsetWidth!==c[n[r]]||e[r].offsetHeight!==s[n[r]])return t;return t},f=function(){for(var e=[],t=0,r=n.length;t<r;t++){var o=u();o.style.fontFamily=n[t],i.appendChild(o),e.push(o)}return e}();o.appendChild(i);for(var h=0,p=n.length;h<p;h++)c[n[h]]=f[h].offsetWidth,s[n[h]]=f[h].offsetHeight;var m=function(){for(var e={},t=0,o=r.length;t<o;t++){for(var i=[],c=0,s=n.length;c<s;c++){var u=l(r[t],n[c]);a.appendChild(u),i.push(u)}e[r[t]]=i}return e}();o.appendChild(a);for(var g=[],y=0,v=r.length;y<v;y++)d(m[r[y]])&&g.push(r[y]);o.removeChild(a),o.removeChild(i),e(g)},pauseBefore:!0},{key:"fontsFlash",getData:function(e,t){return P()?N()?t.fonts.swfPath?void j((function(t){e(t)}),t):e("missing options.fonts.swfPath"):e("flash not installed"):e("swf object not loaded")},pauseBefore:!0},{key:"audio",getData:function(e,t){var n=t.audio;if(n.excludeIOS11&&navigator.userAgent.match(/OS 11.+Version\/11.+Safari/))return e(t.EXCLUDED);var r=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==r)return e(t.NOT_AVAILABLE);var o=new r(1,44100,44100),i=o.createOscillator();i.type="triangle",i.frequency.setValueAtTime(1e4,o.currentTime);var a=o.createDynamicsCompressor();s([["threshold",-50],["knee",40],["ratio",12],["reduction",-20],["attack",0],["release",.25]],(function(e){void 0!==a[e[0]]&&"function"==typeof a[e[0]].setValueAtTime&&a[e[0]].setValueAtTime(e[1],o.currentTime)})),i.connect(a),a.connect(o.destination),i.start(0),o.startRendering();var c=setTimeout((function(){return console.warn('Audio fingerprint timed out. Please report bug at https://github.com/Valve/fingerprintjs2 with your user agent: "'+navigator.userAgent+'".'),o.oncomplete=function(){},o=null,e("audioTimeout")}),n.timeout);o.oncomplete=function(t){var n;try{clearTimeout(c),n=t.renderedBuffer.getChannelData(0).slice(4500,5e3).reduce((function(e,t){return e+Math.abs(t)}),0).toString(),i.disconnect(),a.disconnect()}catch(t){return void e(t)}e(n)}}},{key:"enumerateDevices",getData:function(e,t){if(!l())return e(t.NOT_AVAILABLE);navigator.mediaDevices.enumerateDevices().then((function(t){e(t.map((function(e){return"id="+e.deviceId+";gid="+e.groupId+";"+e.kind+";"+e.label})))})).catch((function(t){e(t)}))}}],G=function(e){throw new Error("'new Fingerprint()' is deprecated, see https://github.com/Valve/fingerprintjs2#upgrade-guide-from-182-to-200")};return G.get=function(e,t){t?e||(e={}):(t=e,e={}),function(e,t){if(null==t)return e;var n,r;for(r in t)null==(n=t[r])||Object.prototype.hasOwnProperty.call(e,r)||(e[r]=n)}(e,c),e.components=e.extraComponents.concat(U);var n={data:[],addPreprocessedComponent:function(t,r){"function"==typeof e.preprocessor&&(r=e.preprocessor(t,r)),n.data.push({key:t,value:r})}},r=-1,o=function(i){if((r+=1)>=e.components.length)t(n.data);else{var a=e.components[r];if(e.excludes[a.key])o(!1);else{if(!i&&a.pauseBefore)return r-=1,void setTimeout((function(){o(!0)}),1);try{a.getData((function(e){n.addPreprocessedComponent(a.key,e),o(!1)}),e)}catch(e){n.addPreprocessedComponent(a.key,String(e)),o(!1)}}}};o(!1)},G.getPromise=function(e){return new Promise((function(t,n){G.get(e,t)}))},G.getV18=function(e,t){return null==t&&(t=e,e={}),G.get(e,(function(n){for(var r=[],o=0;o<n.length;o++){var i=n[o];if(i.value===(e.NOT_AVAILABLE||"not available"))r.push({key:i.key,value:"unknown"});else if("plugins"===i.key)r.push({key:"plugins",value:u(i.value,(function(e){var t=u(e[2],(function(e){return e.join?e.join("~"):e})).join(",");return[e[0],e[1],t].join("::")}))});else if(-1!==["canvas","webgl"].indexOf(i.key)&&Array.isArray(i.value))r.push({key:i.key,value:i.value.join("~")});else if(-1!==["sessionStorage","localStorage","indexedDb","addBehavior","openDatabase"].indexOf(i.key)){if(!i.value)continue;r.push({key:i.key,value:1})}else i.value?r.push(i.value.join?{key:i.key,value:i.value.join(";")}:i):r.push({key:i.key,value:i.value})}var c=a(u(r,(function(e){return e.value})).join("~~~"),31);t(c,r)}))},G.x64hash128=a,G.VERSION="2.1.2",G}))},function(e,t){e.exports=!1},function(e,t,n){var r,o=n(11),i=n(129),a=n(49),c=n(43),s=n(90),u=n(57),l=n(41),d=l("IE_PROTO"),f=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=u("iframe")).style.display="none",s.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()};c[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=p(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(6),o=n(13),i=n(41),a=n(92),c=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},function(e,t,n){var r=n(3),o=n(19),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(18),o=n(5),i=n(27),a=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(10).f,o=n(6),i=n(4)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(53),o=n(19),i=n(4)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o: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),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){"use strict";var r,o,i=n(81),a=n(138),c=RegExp.prototype.exec,s=String.prototype.replace,u=c,l=(r=/a/,o=/b*/g,c.call(r,"a"),c.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(l||f||d)&&(u=function(e){var t,n,r,o,a=this,u=d&&a.sticky,h=i.call(a),p=a.source,m=0,g=e;return u&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(p="(?: "+p+")",g=" "+g,m++),n=new RegExp("^(?:"+p+")",h)),f&&(n=new RegExp("^"+p+"$(?!\\s)",h)),l&&(t=a.lastIndex),r=c.call(u?n:a,g),u?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),f&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=u},function(e,t,n){var r=n(59),o=n(42),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},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){e.exports={}},function(e,t,n){var r=n(19);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r,o,i=n(2),a=n(75),c=i.process,s=c&&c.versions,u=s&&s.v8;u?o=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},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(2),o=n(12);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(2),o=n(47),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var r=n(37);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,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var r=n(18),o=n(76),i=n(29),a=n(23),c=n(91),s=a.set,u=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){s(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=u(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"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(37),o=n(13),i=n(35),a=n(5),c=function(e){return function(t,n,c,s){r(n);var u=o(t),l=i(u),d=a(u.length),f=e?d-1:0,h=e?-1:1;if(c<2)for(;;){if(f in l){s=l[f],f+=h;break}if(f+=h,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=h)f in l&&(s=n(s,l[f],f,u));return s}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){var r={};r[n(4)("toStringTag")]="z",e.exports="[object z]"===String(r)},function(e,t,n){"use strict";var r=n(7),o=n(40);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){"use strict";n(54);var r=n(15),o=n(3),i=n(4),a=n(40),c=n(12),s=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),h=!o((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,d){var p=i(e),m=!o((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!m||!g||"replace"===e&&(!u||!l||f)||"split"===e&&!h){var y=/./[p],v=n(p,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:y.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),w=v[0],b=v[1];r(String.prototype,e,w),r(RegExp.prototype,p,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}d&&c(RegExp.prototype[p],"sham",!0)}},function(e,t,n){var r=n(19),o=n(40);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){var r=n(2),o=n(8),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(48),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(32),o=n(48);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.8.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(3),o=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(3);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(3),o=n(4),i=n(45),a=o("species");e.exports=function(e){return i>=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(13),o=n(27),i=n(5);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,c=o(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,u=void 0===s?n:o(s,n);u>c;)t[c++]=e;return t}},function(e,t,n){var r=n(19),o=n(2);e.exports="process"==r(o.process)},function(e,t,n){"use strict";var r=n(25),o=n(10),i=n(4),a=n(9),c=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},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){"use strict";var r=n(99).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e){e.exports=JSON.parse('{"a":"2.6.0"}')},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(9),o=n(3),i=n(57);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(6),o=n(18),i=n(36).indexOf,a=n(43);e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)!r(a,n)&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var r=n(22),o=n(10),i=n(21);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(8),o=n(44),i=n(4)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){var r=n(25);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(4),o=n(33),i=n(10),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){var r=n(71),o=n(49);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";var r,o,i,a=n(34),c=n(12),s=n(6),u=n(4),l=n(32),d=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0),null==r&&(r={}),l||s(r,d)||c(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},function(e,t,n){"use strict";var r=n(7),o=n(8),i=n(44),a=n(27),c=n(5),s=n(18),u=n(73),l=n(4),d=n(62),f=n(28),h=d("slice"),p=f("slice",{ACCESSORS:!0,0:0,1:2}),m=l("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!p},{slice:function(e,t){var n,r,l,d=s(this),f=c(d.length),h=a(e,f),p=a(void 0===t?f:t,f);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(d,h,p);for(r=new(void 0===n?Array:n)(y(p-h,0)),l=0;h<p;h++,l++)h in d&&u(r,l,d[h]);return r.length=l,r}})},function(e,t,n){var r=n(8),o=n(30);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t,n){"use strict";var r=n(11);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){"use strict";var r=n(55),o=n(98),i=n(11),a=n(17),c=n(24),s=n(67),u=n(5),l=n(56),d=n(40),f=n(3),h=[].push,p=Math.min,m=!f((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)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var c,s,u,l=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,m=new RegExp(e.source,f+"g");(c=d.call(m,r))&&!((s=m.lastIndex)>p&&(l.push(r.slice(p,c.index)),c.length>1&&c.index<r.length&&h.apply(l,c.slice(1)),u=c[0].length,p=s,l.length>=i));)m.lastIndex===c.index&&m.lastIndex++;return p===r.length?!u&&m.test("")||l.push(""):l.push(r.slice(p)),l.length>i?l.slice(0,i):l}:"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 o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var d=i(e),f=String(this),h=c(d,RegExp),g=d.unicode,y=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(m?"y":"g"),v=new h(m?d:"^(?:"+d.source+")",y),w=void 0===o?4294967295:o>>>0;if(0===w)return[];if(0===f.length)return null===l(v,f)?[f]:[];for(var b=0,E=0,x=[];E<f.length;){v.lastIndex=m?E:0;var _,T=l(v,m?f:f.slice(E));if(null===T||(_=p(u(v.lastIndex+(m?0:E)),f.length))===b)E=s(f,E,g);else{if(x.push(f.slice(b,E)),x.length===w)return x;for(var I=1;I<=T.length-1;I++)if(x.push(T[I]),x.length===w)return x;E=b=_}}return x.push(f.slice(b)),x}]}),!m)},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var r=n(2),o=n(9),i=n(83),a=n(12),c=n(94),s=n(3),u=n(66),l=n(16),d=n(5),f=n(85),h=n(141),p=n(34),m=n(30),g=n(26).f,y=n(10).f,v=n(63),w=n(38),b=n(23),E=b.get,x=b.set,_=r.ArrayBuffer,T=_,I=r.DataView,A=I&&I.prototype,S=Object.prototype,B=r.RangeError,C=h.pack,O=h.unpack,k=function(e){return[255&e]},L=function(e){return[255&e,e>>8&255]},M=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},R=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},P=function(e){return C(e,23,4)},N=function(e){return C(e,52,8)},j=function(e,t){y(e.prototype,t,{get:function(){return E(this)[t]}})},D=function(e,t,n,r){var o=f(n),i=E(e);if(o+t>i.byteLength)throw B("Wrong index");var a=E(i.buffer).bytes,c=o+i.byteOffset,s=a.slice(c,c+t);return r?s:s.reverse()},F=function(e,t,n,r,o,i){var a=f(n),c=E(e);if(a+t>c.byteLength)throw B("Wrong index");for(var s=E(c.buffer).bytes,u=a+c.byteOffset,l=r(+o),d=0;d<t;d++)s[u+d]=l[i?d:t-d-1]};if(i){if(!s((function(){_(1)}))||!s((function(){new _(-1)}))||s((function(){return new _,new _(1.5),new _(NaN),"ArrayBuffer"!=_.name}))){for(var U,G=(T=function(e){return u(this,T),new _(f(e))}).prototype=_.prototype,V=g(_),H=0;V.length>H;)(U=V[H++])in T||a(T,U,_[U]);G.constructor=T}m&&p(A)!==S&&m(A,S);var W=new I(new T(2)),X=A.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||c(A,{setInt8:function(e,t){X.call(this,e,t<<24>>24)},setUint8:function(e,t){X.call(this,e,t<<24>>24)}},{unsafe:!0})}else T=function(e){u(this,T,"ArrayBuffer");var t=f(e);x(this,{bytes:v.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},I=function(e,t,n){u(this,I,"DataView"),u(e,T,"DataView");var r=E(e).byteLength,i=l(t);if(i<0||i>r)throw B("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw B("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(j(T,"byteLength"),j(I,"buffer"),j(I,"byteLength"),j(I,"byteOffset")),c(I.prototype,{getInt8:function(e){return D(this,1,e)[0]<<24>>24},getUint8:function(e){return D(this,1,e)[0]},getInt16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return R(D(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return R(D(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return O(D(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){F(this,1,e,k,t)},setUint8:function(e,t){F(this,1,e,k,t)},setInt16:function(e,t){F(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){F(this,2,e,L,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){F(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){F(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){F(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){F(this,8,e,N,t,arguments.length>2?arguments[2]:void 0)}});w(T,"ArrayBuffer"),w(I,"DataView"),e.exports={ArrayBuffer:T,DataView:I}},function(e,t,n){var r=n(16),o=n(5);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){var r=n(142);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(6),o=n(128),i=n(20),a=n(10);e.exports=function(e,t){for(var n=o(t),c=a.f,s=i.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||c(e,l,s(t,l))}}},function(e,t,n){var r=n(2);e.exports=r},function(e,t,n){var r=n(61);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(25);e.exports=r("document","documentElement")},function(e,t,n){"use strict";var r=n(7),o=n(130),i=n(34),a=n(30),c=n(38),s=n(12),u=n(15),l=n(4),d=n(32),f=n(29),h=n(78),p=h.IteratorPrototype,m=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,h,v,w){o(n,t,l);var b,E,x,_=function(e){if(e===h&&B)return B;if(!m&&e in A)return A[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",I=!1,A=e.prototype,S=A[g]||A["@@iterator"]||h&&A[h],B=!m&&S||_(h),C="Array"==t&&A.entries||S;if(C&&(b=i(C.call(new e)),p!==Object.prototype&&b.next&&(d||i(b)===p||(a?a(b,p):"function"!=typeof b[g]&&s(b,g,y)),c(b,T,!0,!0),d&&(f[T]=y))),"values"==h&&S&&"values"!==S.name&&(I=!0,B=function(){return S.call(this)}),d&&!w||A[g]===B||s(A,g,B),f[t]=B,h)if(E={values:_("values"),keys:v?B:_("keys"),entries:_("entries")},w)for(x in E)(m||I||!(x in A))&&u(A,x,E[x]);else r({target:t,proto:!0,forced:m||I},E);return E}},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(53),o=n(15),i=n(137);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){var r=n(15);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(4),o=n(29),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(39),o=n(29),i=n(4)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(4)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var r=n(8),o=n(19),i=n(4)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(16),o=n(17),i=function(e){return function(t,n){var i,a,c=String(o(t)),s=r(n),u=c.length;return s<0||s>=u?e?"":void 0:(i=c.charCodeAt(s))<55296||i>56319||s+1===u||(a=c.charCodeAt(s+1))<56320||a>57343?e?c.charAt(s):i:e?c.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(55),o=n(11),i=n(5),a=n(16),c=n(17),s=n(67),u=n(139),l=n(56),d=Math.max,f=Math.min;r("replace",2,(function(e,t,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,p=r.REPLACE_KEEPS_$0,m=h?"$":"$0";return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!h&&p||"string"==typeof r&&-1===r.indexOf(m)){var c=n(t,e,this,r);if(c.done)return c.value}var g=o(e),y=String(this),v="function"==typeof r;v||(r=String(r));var w=g.global;if(w){var b=g.unicode;g.lastIndex=0}for(var E=[];;){var x=l(g,y);if(null===x)break;if(E.push(x),!w)break;""===String(x[0])&&(g.lastIndex=s(y,i(g.lastIndex),b))}for(var _,T="",I=0,A=0;A<E.length;A++){x=E[A];for(var S=String(x[0]),B=d(f(a(x.index),y.length),0),C=[],O=1;O<x.length;O++)C.push(void 0===(_=x[O])?_:String(_));var k=x.groups;if(v){var L=[S].concat(C,B,y);void 0!==k&&L.push(k);var M=String(r.apply(void 0,L))}else M=u(S,y,B,C,k,r);B>=I&&(T+=y.slice(I,B)+M,I=B+S.length)}return T+y.slice(I)}]}))},function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(9),a=n(140),c=n(1),s=n(84),u=n(66),l=n(21),d=n(12),f=n(5),h=n(85),p=n(86),m=n(22),g=n(6),y=n(39),v=n(8),w=n(33),b=n(30),E=n(26).f,x=n(143),_=n(14).forEach,T=n(65),I=n(10),A=n(20),S=n(23),B=n(80),C=S.get,O=S.set,k=I.f,L=A.f,M=Math.round,R=o.RangeError,P=s.ArrayBuffer,N=s.DataView,j=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_TAG,F=c.TypedArray,U=c.TypedArrayPrototype,G=c.aTypedArrayConstructor,V=c.isTypedArray,H=function(e,t){for(var n=0,r=t.length,o=new(G(e))(r);r>n;)o[n]=t[n++];return o},W=function(e,t){k(e,t,{get:function(){return C(this)[t]}})},X=function(e){var t;return e instanceof P||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},K=function(e,t){return V(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},z=function(e,t){return K(e,t=m(t,!0))?l(2,e[t]):L(e,t)},Y=function(e,t,n){return!(K(e,t=m(t,!0))&&v(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?k(e,t,n):(e[t]=n.value,e)};i?(j||(A.f=z,I.f=Y,W(U,"buffer"),W(U,"byteOffset"),W(U,"byteLength"),W(U,"length")),r({target:"Object",stat:!0,forced:!j},{getOwnPropertyDescriptor:z,defineProperty:Y}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",s="get"+e,l="set"+e,m=o[c],g=m,y=g&&g.prototype,I={},A=function(e,t){k(e,t,{get:function(){return function(e,t){var n=C(e);return n.view[s](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=C(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[l](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};j?a&&(g=t((function(e,t,n,r){return u(e,g,c),B(v(t)?X(t)?void 0!==r?new m(t,p(n,i),r):void 0!==n?new m(t,p(n,i)):new m(t):V(t)?H(g,t):x.call(g,t):new m(h(t)),e,g)})),b&&b(g,F),_(E(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=y):(g=t((function(e,t,n,r){u(e,g,c);var o,a,s,l=0,d=0;if(v(t)){if(!X(t))return V(t)?H(g,t):x.call(g,t);o=t,d=p(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw R("Wrong length");if((a=m-d)<0)throw R("Wrong length")}else if((a=f(r)*i)+d>m)throw R("Wrong length");s=a/i}else s=h(t),o=new P(a=s*i);for(O(e,{buffer:o,byteOffset:d,byteLength:a,length:s,view:new N(o)});l<s;)A(e,l++)})),b&&b(g,F),y=g.prototype=w(U)),y.constructor!==g&&d(y,"constructor",g),D&&d(y,D,c),I[c]=g,r({global:!0,forced:g!=m,sham:!j},I),"BYTES_PER_ELEMENT"in g||d(g,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in y||d(y,"BYTES_PER_ELEMENT",i),T(c)}):e.exports=function(){}},function(e,t,n){"use strict";var r=n(1),o=n(144),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(63),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).filter,i=n(24),a=r.aTypedArray,c=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,s=t.length,u=new(c(n))(s);s>r;)u[r]=t[r++];return u}))},function(e,t,n){"use strict";var r=n(1),o=n(14).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(36).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(36).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(51),a=n(4)("iterator"),c=r.Uint8Array,s=i.values,u=i.keys,l=i.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,h=c&&c.prototype[a],p=!!h&&("values"==h.name||null==h.name),m=function(){return s.call(d(this))};f("entries",(function(){return l.call(d(this))})),f("keys",(function(){return u.call(d(this))})),f("values",m,!p),f(a,m,!p)},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(145),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(1),o=n(14).map,i=n(24),a=r.aTypedArray,c=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(c(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(1),o=n(52).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=n(52).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(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(1),o=n(5),i=n(86),a=n(13),c=n(3),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){s(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),c=o(r.length),u=0;if(c+t>n)throw RangeError("Wrong length");for(;u<c;)this[t+u]=r[u++]}),c((function(){new Int8Array(1).set({})})))},function(e,t,n){"use strict";var r=n(1),o=n(24),i=n(3),a=r.aTypedArray,c=r.aTypedArrayConstructor,s=r.exportTypedArrayMethod,u=[].slice;s("slice",(function(e,t){for(var n=u.call(a(this),e,t),r=o(this,this.constructor),i=0,s=n.length,l=new(c(r))(s);s>i;)l[i]=n[i++];return l}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(1),o=n(14).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(1),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(27),a=n(24),c=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),r=n.length,s=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+s*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-s))}))},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(3),a=r.Int8Array,c=o.aTypedArray,s=o.exportTypedArrayMethod,u=[].toLocaleString,l=[].slice,d=!!a&&i((function(){u.call(new a(1))}));s("toLocaleString",(function(){return u.apply(d?l.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(1).exportTypedArrayMethod,o=n(3),i=n(2).Uint8Array,a=i&&i.prototype||{},c=[].toString,s=[].join;o((function(){c.call({})}))&&(c=function(){return s.call(this)});var u=a.toString!=c;r("toString",c,u)},function(e,t,n){"use strict";var r=n(7),o=n(3),i=n(44),a=n(8),c=n(13),s=n(5),u=n(73),l=n(74),d=n(62),f=n(4),h=n(45),p=f("isConcatSpreadable"),m=h>=51||!o((function(){var e=[];return e[p]=!1,e.concat()[0]!==e})),g=d("concat"),y=function(e){if(!a(e))return!1;var t=e[p];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!g},{concat:function(e){var t,n,r,o,i,a=c(this),d=l(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(f+(o=s(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,f++)n in i&&u(d,f,i[n])}else{if(f>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(d,f++,i)}return d.length=f,d}})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(2),o=n(58),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(25),o=n(26),i=n(72),a=n(11);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(9),o=n(10),i=n(11),a=n(77);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=r.length,s=0;c>s;)o.f(e,n=r[s++],t[n]);return e}},function(e,t,n){"use strict";var r=n(78).IteratorPrototype,o=n(33),i=n(21),a=n(38),c=n(29),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),c[u]=s,e}},function(e,t,n){var r=n(8);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(7),o=n(52).left,i=n(46),a=n(28),c=n(45),s=n(64),u=i("reduce"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!u||!l||!s&&c>79&&c<83},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(9),o=n(10).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;r&&!("name"in i)&&o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(9),o=n(2),i=n(60),a=n(15),c=n(6),s=n(19),u=n(80),l=n(22),d=n(3),f=n(33),h=n(26).f,p=n(20).f,m=n(10).f,g=n(135).trim,y=o.Number,v=y.prototype,w="Number"==s(f(v)),b=function(e){var t,n,r,o,i,a,c,s,u=l(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=g(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,c=0;c<a;c++)if((s=i.charCodeAt(c))<48||s>o)return NaN;return parseInt(i,r)}return+u};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(w?d((function(){v.valueOf.call(n)})):"Number"!=s(n))?u(new y(b(t)),n,x):b(t)},_=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;_.length>T;T++)c(y,E=_[T])&&!c(x,E)&&m(x,E,p(y,E));x.prototype=v,v.constructor=x,a(o,"Number",x)}},function(e,t,n){var r=n(17),o="["+n(136)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(53),o=n(39);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(3);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){var r=n(13),o=Math.floor,i="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,c=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,n,s,u,l){var d=n+e.length,f=s.length,h=c;return void 0!==u&&(u=r(u),h=a),i.call(l,h,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=u[i.slice(1,-1)];break;default:var c=+i;if(0===c)return r;if(c>f){var l=o(c/10);return 0===l?r:l<=f?void 0===s[l-1]?i.charAt(1):s[l-1]+i.charAt(1):r}a=s[c-1]}return void 0===a?"":a}))}},function(e,t,n){var r=n(2),o=n(3),i=n(97),a=n(1).NATIVE_ARRAY_BUFFER_VIEWS,c=r.ArrayBuffer,s=r.Int8Array;e.exports=!a||!o((function(){s(1)}))||!o((function(){new s(-1)}))||!i((function(e){new s,new s(null),new s(1.5),new s(e)}),!0)||o((function(){return 1!==new s(new c(2),1,void 0).length}))},function(e,t){var n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2;e.exports={pack:function(e,t,c){var s,u,l,d=new Array(c),f=8*c-t-1,h=(1<<f)-1,p=h>>1,m=23===t?r(2,-24)-r(2,-77):0,g=e<0||0===e&&1/e<0?1:0,y=0;for((e=n(e))!=e||e===1/0?(u=e!=e?1:0,s=h):(s=o(i(e)/a),e*(l=r(2,-s))<1&&(s--,l*=2),(e+=s+p>=1?m/l:m*r(2,1-p))*l>=2&&(s++,l/=2),s+p>=h?(u=0,s=h):s+p>=1?(u=(e*l-1)*r(2,t),s+=p):(u=e*r(2,p-1)*r(2,t),s=0));t>=8;d[y++]=255&u,u/=256,t-=8);for(s=s<<t|u,f+=t;f>0;d[y++]=255&s,s/=256,f-=8);return d[--y]|=128*g,d},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,c=a>>1,s=i-7,u=o-1,l=e[u--],d=127&l;for(l>>=7;s>0;d=256*d+e[u],u--,s-=8);for(n=d&(1<<-s)-1,d>>=-s,s+=t;s>0;n=256*n+e[u],u--,s-=8);if(0===d)d=1-c;else{if(d===a)return n?NaN:l?-1/0:1/0;n+=r(2,t),d-=c}return(l?-1:1)*n*r(2,d-t)}}},function(e,t,n){var r=n(16);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(13),o=n(5),i=n(96),a=n(95),c=n(50),s=n(1).aTypedArrayConstructor;e.exports=function(e){var t,n,u,l,d,f,h=r(e),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m,y=i(h);if(null!=y&&!a(y))for(f=(d=y.call(h)).next,h=[];!(l=f.call(d)).done;)h.push(l.value);for(g&&p>2&&(m=c(m,arguments[2],2)),n=o(h.length),u=new(s(this))(n),t=0;n>t;t++)u[t]=g?m(h[t],t):h[t];return u}},function(e,t,n){"use strict";var r=n(13),o=n(27),i=n(5),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),c=i(n.length),s=o(e,c),u=o(t,c),l=arguments.length>2?arguments[2]:void 0,d=a((void 0===l?c:o(l,c))-u,c-s),f=1;for(u<s&&s<u+d&&(f=-1,u+=d-1,s+=d-1);d-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(e,t,n){"use strict";var r=n(18),o=n(16),i=n(5),a=n(46),c=n(28),s=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,d=a("lastIndexOf"),f=c("indexOf",{ACCESSORS:!0,1:0}),h=l||!d||!f;e.exports=h?function(e){if(l)return u.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,n){"use strict";var r=n(7),o=n(2),i=n(84),a=n(65),c=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==c},{ArrayBuffer:c}),a("ArrayBuffer")},function(e,t,n){"use strict";var r=n(15),o=n(11),i=n(3),a=n(81),c=RegExp.prototype,s=c.toString,u=i((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),l="toString"!=s.name;(u||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){n(101)("Uint16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(14).forEach,o=n(46),i=n(28),a=o("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var r,o,i,a=n(2),c=n(3),s=n(50),u=n(90),l=n(57),d=n(152),f=n(64),h=a.location,p=a.setImmediate,m=a.clearImmediate,g=a.process,y=a.MessageChannel,v=a.Dispatch,w=0,b={},E=function(e){if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},x=function(e){return function(){E(e)}},_=function(e){E(e.data)},T=function(e){a.postMessage(e+"",h.protocol+"//"+h.host)};p&&m||(p=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return b[++w]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(w),w},m=function(e){delete b[e]},f?r=function(e){g.nextTick(x(e))}:v&&v.now?r=function(e){v.now(x(e))}:y&&!d?(i=(o=new y).port2,o.port1.onmessage=_,r=s(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&h&&"file:"!==h.protocol&&!c(T)?(r=T,a.addEventListener("message",_,!1)):r="onreadystatechange"in l("script")?function(e){u.appendChild(l("script")).onreadystatechange=function(){u.removeChild(this),E(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:p,clear:m}},function(e,t,n){var r=n(75);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){"use strict";var r=n(37),o=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 o(e)}},function(e,t,n){var r=n(98);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(4)("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={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,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.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 c(){c.init.call(this)}e.exports=c,e.exports.once=function(e,t){return new Promise((function(n,r){function o(){void 0!==i&&e.removeListener("error",i),n([].slice.call(arguments))}var i;"error"!==t&&(i=function(n){e.removeListener(t,o),r(n)},e.once("error",i)),e.once(t,o)}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var s=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,i,a,c;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,c=s,console&&console.warn&&console.warn(c)}return e}function f(){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},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function p(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]: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}(o):g(o,o.length)}function m(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 g(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return s},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+".");s=e}}),c.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},c.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},c.prototype.getMaxListeners=function(){return l(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var c=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw c.context=a,c}var s=o[e];if(void 0===s)return!1;if("function"==typeof s)i(s,this,t);else{var u=s.length,l=g(s,u);for(n=0;n<u;++n)i(l[n],this,t)}return!0},c.prototype.addListener=function(e,t){return d(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return d(this,e,t,!0)},c.prototype.once=function(e,t){return u(t),this.on(e,h(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,h(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(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(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},c.prototype.off=c.prototype.removeListener,c.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 o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);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},c.prototype.listeners=function(e){return p(this,e,!0)},c.prototype.rawListeners=function(e){return p(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},c.prototype.listenerCount=m,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},,,function(e,t,n){var r=n(7),o=n(63),i=n(76);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(7),o=n(150);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(7),o=n(36).includes,i=n(76);r({target:"Array",proto:!0,forced:!n(28)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(7),o=n(36).indexOf,i=n(46),a=n(28),c=[].indexOf,s=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:s||!u||!l},{indexOf:function(e){return s?c.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(7),o=n(35),i=n(18),a=n(46),c=[].join,s=o!=Object,u=a("join",",");r({target:"Array",proto:!0,forced:s||!u},{join:function(e){return c.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(7),o=n(14).map,i=n(62),a=n(28),c=i("map"),s=a("map");r({target:"Array",proto:!0,forced:!c||!s},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(7),o=n(16),i=n(169),a=n(170),c=n(3),s=1..toFixed,u=Math.floor,l=function(e,t,n){return 0===t?n:t%2==1?l(e,t-1,n*e):l(e*e,t/2,n)};r({target:"Number",proto:!0,forced:s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){s.call({})}))},{toFixed:function(e){var t,n,r,c,s=i(this),d=o(e),f=[0,0,0,0,0,0],h="",p="0",m=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*f[n],f[n]=r%1e7,r=u(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=f[t],f[t]=u(n/e),n=n%e*1e7},y=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==f[e]){var n=String(f[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(d<0||d>20)throw RangeError("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(h="-",s=-s),s>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}(s*l(2,69,1))-69)<0?s*l(2,-t,1):s/l(2,t,1),n*=4503599627370496,(t=52-t)>0){for(m(0,n),r=d;r>=7;)m(1e7,0),r-=7;for(m(l(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),m(1,1),g(2),p=y()}else m(0,n),m(1<<-t,0),p=y()+a.call("0",d);return p=d>0?h+((c=p.length)<=d?"0."+a.call("0",d-c)+p:p.slice(0,c-d)+"."+p.slice(c-d)):h+p}})},function(e,t,n){var r=n(19);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(16),o=n(17);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){var r=n(7),o=n(172);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(9),o=n(3),i=n(77),a=n(72),c=n(69),s=n(13),u=n(35),l=Object.assign,d=Object.defineProperty;e.exports=!l||o((function(){if(r&&1!==l({b:1},l(d({},"a",{enumerable:!0,get:function(){d(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!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=s(e),o=arguments.length,l=1,d=a.f,f=c.f;o>l;)for(var h,p=u(arguments[l++]),m=d?i(p).concat(d(p)):i(p),g=m.length,y=0;g>y;)h=m[y++],r&&!f.call(p,h)||(n[h]=p[h]);return n}:l},function(e,t,n){var r=n(7),o=n(3),i=n(13),a=n(34),c=n(92);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";var r,o,i,a,c=n(7),s=n(32),u=n(2),l=n(25),d=n(175),f=n(15),h=n(94),p=n(38),m=n(65),g=n(8),y=n(37),v=n(66),w=n(58),b=n(176),E=n(97),x=n(24),_=n(151).set,T=n(178),I=n(180),A=n(181),S=n(153),B=n(182),C=n(23),O=n(60),k=n(4),L=n(64),M=n(45),R=k("species"),P="Promise",N=C.get,j=C.set,D=C.getterFor(P),F=d,U=u.TypeError,G=u.document,V=u.process,H=l("fetch"),W=S.f,X=W,K=!!(G&&G.createEvent&&u.dispatchEvent),z="function"==typeof PromiseRejectionEvent,Y=O(P,(function(){if(!(w(F)!==String(F))){if(66===M)return!0;if(!L&&!z)return!0}if(s&&!F.prototype.finally)return!0;if(M>=51&&/native code/.test(F))return!1;var e=F.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[R]=t,!(e.then((function(){}))instanceof t)})),J=Y||!E((function(e){F.all(e).catch((function(){}))})),Z=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},$=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;T((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,c,s,u=n[i++],l=o?u.ok:u.fail,d=u.resolve,f=u.reject,h=u.domain;try{l?(o||(2===e.rejection&&te(e),e.rejection=1),!0===l?a=r:(h&&h.enter(),a=l(r),h&&(h.exit(),s=!0)),a===u.promise?f(U("Promise-chain cycle")):(c=Z(a))?c.call(a,d,f):d(a)):f(r)}catch(e){h&&!s&&h.exit(),f(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Q(e)}))}},q=function(e,t,n){var r,o;K?((r=G.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!z&&(o=u["on"+e])?o(r):"unhandledrejection"===e&&A("Unhandled promise rejection",n)},Q=function(e){_.call(u,(function(){var t,n=e.facade,r=e.value;if(ee(e)&&(t=B((function(){L?V.emit("unhandledRejection",r,n):q("unhandledrejection",n,r)})),e.rejection=L||ee(e)?2:1,t.error))throw t.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e){_.call(u,(function(){var t=e.facade;L?V.emit("rejectionHandled",t):q("rejectionhandled",t,e.value)}))},ne=function(e,t,n){return function(r){e(t,r,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,$(e,!0))},oe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw U("Promise can't be resolved itself");var r=Z(t);r?T((function(){var n={done:!1};try{r.call(t,ne(oe,n,e),ne(re,n,e))}catch(t){re(n,t,e)}})):(e.value=t,e.state=1,$(e,!1))}catch(t){re({done:!1},t,e)}}};Y&&(F=function(e){v(this,F,P),y(e),r.call(this);var t=N(this);try{e(ne(oe,t),ne(re,t))}catch(e){re(t,e)}},(r=function(e){j(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(F.prototype,{then:function(e,t){var n=D(this),r=W(x(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=L?V.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=ne(oe,t),this.reject=ne(re,t)},S.f=W=function(e){return e===F||e===i?new o(e):X(e)},s||"function"!=typeof d||(a=d.prototype.then,f(d.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof H&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return I(F,H.apply(u,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:F}),p(F,P,!1,!0),m(P),i=l(P),c({target:P,stat:!0,forced:Y},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),c({target:P,stat:!0,forced:s||Y},{resolve:function(e){return I(s&&this===i?F:this,e)}}),c({target:P,stat:!0,forced:J},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=B((function(){var n=y(t.resolve),i=[],a=0,c=1;b(e,(function(e){var s=a++,u=!1;i.push(void 0),c++,n.call(t,e).then((function(e){u||(u=!0,i[s]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=B((function(){var o=y(t.resolve);b(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(2);e.exports=r.Promise},function(e,t,n){var r=n(11),o=n(95),i=n(5),a=n(50),c=n(96),s=n(177),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var l,d,f,h,p,m,g,y=n&&n.that,v=!(!n||!n.AS_ENTRIES),w=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),E=a(t,y,1+v+b),x=function(e){return l&&s(l),new u(!0,e)},_=function(e){return v?(r(e),b?E(e[0],e[1],x):E(e[0],e[1])):b?E(e,x):E(e)};if(w)l=e;else{if("function"!=typeof(d=c(e)))throw TypeError("Target is not iterable");if(o(d)){for(f=0,h=i(e.length);h>f;f++)if((p=_(e[f]))&&p instanceof u)return p;return new u(!1)}l=d.call(e)}for(m=l.next;!(g=m.call(l)).done;){try{p=_(g.value)}catch(e){throw s(l),e}if("object"==typeof p&&p&&p instanceof u)return p}return new u(!1)}},function(e,t,n){var r=n(11);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){var r,o,i,a,c,s,u,l,d=n(2),f=n(20).f,h=n(151).set,p=n(152),m=n(179),g=n(64),y=d.MutationObserver||d.WebKitMutationObserver,v=d.document,w=d.process,b=d.Promise,E=f(d,"queueMicrotask"),x=E&&E.value;x||(r=function(){var e,t;for(g&&(e=w.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},p||g||m||!y||!v?b&&b.resolve?(u=b.resolve(void 0),l=u.then,a=function(){l.call(u,r)}):a=g?function(){w.nextTick(r)}:function(){h.call(d,r)}:(c=!0,s=v.createTextNode(""),new y(r).observe(s,{characterData:!0}),a=function(){s.data=c=!c})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(75);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(11),o=n(8),i=n(153);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},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){"use strict";var r=n(7),o=n(154),i=n(17);r({target:"String",proto:!0,forced:!n(155)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(99).charAt,o=n(23),i=n(91),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(55),o=n(11),i=n(5),a=n(17),c=n(67),s=n(56);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=o(e),u=String(this);if(!a.global)return s(a,u);var l=a.unicode;a.lastIndex=0;for(var d,f=[],h=0;null!==(d=s(a,u));){var p=String(d[0]);f[h]=p,""===p&&(a.lastIndex=c(u,i(a.lastIndex),l)),h++}return 0===h?null:f}]}))},function(e,t,n){"use strict";var r=n(55),o=n(11),i=n(17),a=n(187),c=n(56);r("search",1,(function(e,t,n){return[function(t){var n=i(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 i=o(e),s=String(this),u=i.lastIndex;a(u,0)||(i.lastIndex=0);var l=c(i,s);return a(i.lastIndex,u)||(i.lastIndex=u),null===l?-1:l.index}]}))},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){"use strict";var r,o=n(7),i=n(20).f,a=n(5),c=n(154),s=n(17),u=n(155),l=n(32),d="".startsWith,f=Math.min,h=u("startsWith");o({target:"String",proto:!0,forced:!!(l||h||(r=i(String.prototype,"startsWith"),!r||r.writable))&&!h},{startsWith:function(e){var t=String(s(this));c(e);var n=a(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){n(101)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(2),o=n(156),i=n(150),a=n(12);for(var c in o){var s=r[c],u=s&&s.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(e){u.forEach=i}}},function(e,t,n){var r=n(2),o=n(156),i=n(51),a=n(12),c=n(4),s=c("iterator"),u=c("toStringTag"),l=i.values;for(var d in o){var f=r[d],h=f&&f.prototype;if(h){if(h[s]!==l)try{a(h,s,l)}catch(e){h[s]=l}if(h[u]||a(h,u,d),o[d])for(var p in i)if(h[p]!==i[p])try{a(h,p,i[p])}catch(e){h[p]=i[p]}}}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=b(a,n);if(c){if(c===l)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=u(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===l)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l={};function d(){}function f(){}function h(){}var p={};p[o]=function(){return this};var m=Object.getPrototypeOf,g=m&&m(m(T([])));g&&g!==t&&n.call(g,o)&&(p=g);var y=h.prototype=d.prototype=Object.create(p);function v(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,c){var s=u(e[o],e,i);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return f.prototype=y.constructor=h,h.constructor=f,f.displayName=c(h,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,c(e,a,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},v(w.prototype),w.prototype[i]=function(){return this},e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(y),c(y,a,"Generator"),y[o]=function(){return this},y.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var s,u=[],l=!1,d=-1;function f(){l&&s&&(l=!1,s.length?u=s.concat(u):d=-1,u.length&&h())}function h(){if(!l){var e=c(f);l=!0;for(var t=u.length;t;){for(s=u,u=[];++d<t;)s&&s[d].run();d=-1,t=u.length}s=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||l||c(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"onOOCEnter",(function(){return Y})),n.d(t,"onReplayGo",(function(){return J})),n.d(t,"onEnter",(function(){return Z})),n.d(t,"musiclist_filter",(function(){return $})),n.d(t,"musiclist_click",(function(){return q})),n.d(t,"mutelist_click",(function(){return Q})),n.d(t,"showname_click",(function(){return ee})),n.d(t,"area_click",(function(){return te})),n.d(t,"changeMusicVolume",(function(){return ne})),n.d(t,"changeSFXVolume",(function(){return re})),n.d(t,"changeShoutVolume",(function(){return oe})),n.d(t,"changeTestimonyVolume",(function(){return ie})),n.d(t,"changeBlipVolume",(function(){return ae})),n.d(t,"reloadTheme",(function(){return ce})),n.d(t,"changeCallwords",(function(){return se})),n.d(t,"modcall_test",(function(){return ue})),n.d(t,"iniedit",(function(){return le})),n.d(t,"switchAspectRatio",(function(){return fe})),n.d(t,"switchChatOffset",(function(){return pe})),n.d(t,"changeCharacter",(function(){return ge})),n.d(t,"charError",(function(){return ye})),n.d(t,"imgError",(function(){return ve})),n.d(t,"ReconnectButton",(function(){return Ie})),n.d(t,"checkCallword",(function(){return Se})),n.d(t,"chartable_filter",(function(){return Be})),n.d(t,"pickChar",(function(){return Ce})),n.d(t,"pickEmotion",(function(){return Oe})),n.d(t,"pickEvidence",(function(){return ke})),n.d(t,"addEvidence",(function(){return Le})),n.d(t,"editEvidence",(function(){return Me})),n.d(t,"deleteEvidence",(function(){return Re})),n.d(t,"cancelEvidence",(function(){return Pe})),n.d(t,"getIndexFromSelect",(function(){return Ne})),n.d(t,"setChatbox",(function(){return je})),n.d(t,"resizeChatbox",(function(){return De})),n.d(t,"updateEvidenceIcon",(function(){return Fe})),n.d(t,"updateActionCommands",(function(){return Ue})),n.d(t,"changeBackgroundOOC",(function(){return Ge})),n.d(t,"changeRoleOOC",(function(){return Ve})),n.d(t,"randomCharacterOOC",(function(){return He})),n.d(t,"callMod",(function(){return We})),n.d(t,"initWT",(function(){return Xe})),n.d(t,"initCE",(function(){return Ke})),n.d(t,"notguilty",(function(){return ze})),n.d(t,"guilty",(function(){return Ye})),n.d(t,"addHPD",(function(){return Je})),n.d(t,"redHPD",(function(){return Ze})),n.d(t,"addHPP",(function(){return $e})),n.d(t,"redHPP",(function(){return qe})),n.d(t,"updateBackgroundPreview",(function(){return Qe})),n.d(t,"toggleEffect",(function(){return et})),n.d(t,"toggleMenu",(function(){return tt})),n.d(t,"toggleShout",(function(){return nt}));n(125),n(162),n(163),n(164),n(165),n(51),n(166),n(167),n(132),n(79),n(133),n(134),n(168),n(171),n(173),n(93),n(174),n(54),n(183),n(184),n(185),n(100),n(186),n(82),n(188),n(189),n(102),n(103),n(104),n(105),n(106),n(107),n(108),n(109),n(110),n(111),n(112),n(113),n(114),n(115),n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(190),n(191),n(192);var r,o,i=n(31),a=n.n(i),c=n(0),s=["Adrian","Apollo","April","Armstrong","Atmey","Butz","Diego","Edgeworth","Edgeworthw","Ema","Emaskye","Franny","Franziska","Gant","Gavin","Gavin K","Godot","Gregory","Grossberg","Gumshoe","Gumshoey","Hawk","Hobo_Phoenix","Ini","Judge","Judge's Bro","Klav","Klavier","Kristoph","Lana","Layton","Lotta","Luis","Maggey","Manfred","Marshall","Matt","Maya","Mia","Miles","Oldbag","Payne","Pearl","Phoenix","Valant","Vasquez","Wellington","Winston","Winstonpayne","Young Mia","Zak"],u=["Announce The Truth (AA).opus","Announce The Truth (AJ).opus","Announce The Truth (JFA).opus","Announce The Truth (Miles).opus","Announce The Truth (T&T).opus","Confrontation ~ Presto 2009.opus","Crises of Fate.opus","Forgotten Legend.opus","Godot - The Fragrance of Dark Coffee.opus","Great Revival ~ Franziska von Karma.opus","Great Revival ~ Miles Edgeworth.opus","Hotline of Fate.opus","Interesting People.opus","Logic and Trick.opus","Luke Atmey ~ I Just Want Love.opus","Noisy People.opus","OBJECTION (AA).opus","Objection (AJ).opus","OBJECTION (JFA).opus","Objection (Miles).opus","OBJECTION (T&T).opus","Others ~ Guilty love.opus","Prelude (AA).opus","Prelude (AJ).opus","Prologue (AA).opus","Pursuit (AA) - variation.opus","Pursuit (AA).opus","Pursuit (AJ).opus","Pursuit (DS).opus","Pursuit (JFA) - variation.opus","Pursuit (JFA).opus","Pursuit (Miles).opus","Pursuit (T&T) - variation.opus","Pursuit (T&T).opus","Pursuit ~ I Want to Find the Truth (Orchestra).opus","Questioning AA (Allegro).opus","Questioning AA (Moderato).opus","Questioning AJ (Allegro).opus","Questioning AJ (Moderato).opus","Questioning JFA (Allegro).opus","Questioning JFA (Moderato).opus","Questioning T&T (Allegro).opus","Questioning T&T (Moderato).opus","Speak up Pup.opus","Suspense (AA).opus","The Great Truth Burglar.opus","Trial (AA).opus","Trial (AJ).opus","Trial (Miles).opus"],l=["Anime","birthday","Christmas","CountyCourt","CruiseCourt","default","DGSEnglishCourt","DGSJapanCourt","DualDestinies","EnglishCourt","gs4","GS4Night","HD","Khura'in","mlp","NewCourt","RuinedCourt","Sky","SpaceCourt","Themis","TouhouCourt","WitchTrialCourt","Zetta"],d=["1.png","2.png","3.png","4.png","5.png","6.png","empty.png","lawyerbadge.png"],f=["aa","acww","chatdd","dgs","chatplvsaa","trilogy","chatfuture","legacy","ddlc","dr1","chatdr2","drv3","drae","chatp3","p4","chat999","halla","homestuck","key","yakuza","yttd","n64zelda","papermario"],h=n(159),p=n(68);n(193);function m(e){return(m="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 g(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void n(e)}c.done?t(s):Promise.resolve(s).then(r,o)}function y(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){g(i,r,o,a,c,"next",e)}function c(e){g(i,r,o,a,c,"throw",e)}a(void 0)}))}}function v(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,c=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function w(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 b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(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 x(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e){var t=function(){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}}();return function(){var n,r=S(e);if(t){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==m(t)&&"function"!=typeof t?A(e):t}function A(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B={};location.search.substr(1).split("&").forEach((function(e){B[e.split("=")[0]]=e.split("=")[1]}));var C,O=B.ip,k=B.mode,L=location.hostname?"https://bafybeicndnzjokdlnf4ooigvkav7clnvkll3pbigifw5td6inhbrindue4.ipfs.dweb.link/":"base/",M=B.asset||L,R=B.theme||"default",P=M+"sounds/music/",N="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",j=!1,D=1,F=0,U=[],G={fonts:{extendedJsFonts:!0,userDefinedFonts:["Ace Attorney","8bitoperator","DINEngschrift"]},excludes:{userAgent:!0,enumerateDevices:!0}};window.requestIdleCallback?requestIdleCallback((function(){a.a.get(G,(function(e){C=a.a.x64hash128(e.reduce((function(e,t){return"".concat(e.value||e,", ").concat(t.value)})),31),r=new H(O),o=new W,/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Opera Mini/i.test(navigator.userAgent)&&(j=!0),r.loadResources()}))})):setTimeout((function(){a.a.get(G,(function(e){C=a.a.x64hash128(e.reduce((function(e,t){return"".concat(e.value||e,", ").concat(t.value)})),31),r=new H(O),o=new W,/webOS|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|PlayStation|Opera Mini/i.test(navigator.userAgent)&&(j=!0),r.loadResources()}))}),500);var V=new Date(0),H=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&&_(e,t)}(a,e);var t,n,i=T(a);function a(e){var t;return b(this,a),t=i.call(this),console.log("mode: "+k),"replay"!==k?(t.serv=new WebSocket("ws://"+e),t.serv.addEventListener("open",t.emit.bind(A(t),"open")),t.serv.addEventListener("close",t.emit.bind(A(t),"close")),t.serv.addEventListener("message",t.emit.bind(A(t),"message")),t.serv.addEventListener("error",t.emit.bind(A(t),"error"))):t.joinServer(),t.on("open",t.onOpen.bind(A(t))),t.on("close",t.onClose.bind(A(t))),t.on("message",t.onMessage.bind(A(t))),t.on("error",t.onError.bind(A(t))),t.hp=[0,0],t.playerID=1,t.charID=-1,t.char_list_length=0,t.evidence_list_length=0,t.music_list_length=0,t.testimonyID=0,t.chars=[],t.emotes=[],t.evidences=[],t.areas=[],t.musics=[],t.callwords=[],t.resources={holdit:{src:M+"misc/default/holdit_bubble.png",duration:720},objection:{src:M+"misc/default/objection_bubble.png",duration:720},takethat:{src:M+"misc/default/takethat_bubble.png",duration:840},custom:{src:"",duration:840},witnesstestimony:{src:M+"themes/"+R+"/witnesstestimony.gif",duration:1560,sfx:M+"sounds/general/sfx-testimony.opus"},crossexamination:{src:M+"themes/"+R+"/crossexamination.gif",duration:1600,sfx:M+"sounds/general/sfx-testimony2.opus"},guilty:{src:M+"themes/"+R+"/guilty.gif",duration:2870,sfx:M+"sounds/general/sfx-guilty.opus"},notguilty:{src:M+"themes/"+R+"/notguilty.gif",duration:2440,sfx:M+"sounds/general/sfx-notguilty.opus"}},t.selectedEmote=-1,t.selectedEvidence=0,t.checkUpdater=null,t.on("MS",t.handleMS.bind(A(t))),t.on("CT",t.handleCT.bind(A(t))),t.on("MC",t.handleMC.bind(A(t))),t.on("RMC",t.handleRMC.bind(A(t))),t.on("CI",t.handleCI.bind(A(t))),t.on("SC",t.handleSC.bind(A(t))),t.on("EI",t.handleEI.bind(A(t))),t.on("FL",t.handleFL.bind(A(t))),t.on("LE",t.handleLE.bind(A(t))),t.on("EM",t.handleEM.bind(A(t))),t.on("FM",t.handleFM.bind(A(t))),t.on("FA",t.handleFA.bind(A(t))),t.on("SM",t.handleSM.bind(A(t))),t.on("MM",t.handleMM.bind(A(t))),t.on("BD",t.handleBD.bind(A(t))),t.on("KB",t.handleKB.bind(A(t))),t.on("KK",t.handleKK.bind(A(t))),t.on("DONE",t.handleDONE.bind(A(t))),t.on("BN",t.handleBN.bind(A(t))),t.on("HP",t.handleHP.bind(A(t))),t.on("RT",t.handleRT.bind(A(t))),t.on("ZZ",t.handleZZ.bind(A(t))),t.on("HI",t.handleHI.bind(A(t))),t.on("ID",t.handleID.bind(A(t))),t.on("PN",t.handlePN.bind(A(t))),t.on("SI",t.handleSI.bind(A(t))),t.on("ARUP",t.handleARUP.bind(A(t))),t.on("askchaa",t.handleaskchaa.bind(A(t))),t.on("CC",t.handleCC.bind(A(t))),t.on("RC",t.handleRC.bind(A(t))),t.on("RM",t.handleRM.bind(A(t))),t.on("RD",t.handleRD.bind(A(t))),t.on("CharsCheck",t.handleCharsCheck.bind(A(t))),t.on("PV",t.handlePV.bind(A(t))),t.on("CHECK",(function(){})),t.on("CH",(function(){})),t._lastTimeICReceived=new Date(0),t}return x(a,[{key:"sendServer",value:function(e){console.debug("C: "+e),"replay"===k?this.sendSelf(e):this.serv.send(e)}},{key:"handleSelf",value:function(e){var t=this,n=new MessageEvent("websocket",{data:e});setTimeout((function(){return t.onMessage(n)}),1)}},{key:"sendSelf",value:function(e){document.getElementById("client_ooclog").value+=e+"\r\n",this.handleSelf(e)}},{key:"sendOOC",value:function(e){z("OOC_name",document.getElementById("OOC_name").value),this.sendServer("CT#".concat(Object(c.b)(Object(c.a)(document.getElementById("OOC_name").value)),"#").concat(Object(c.b)(Object(c.a)(e)),"#%"))}},{key:"sendIC",value:function(e,t,n,r,o,i,a,s,u,l,d,f,h,p,m,g,y,v,w,b,E,x,_,T,I){var A="",S="",B="";U.includes("cccc_ic_support")&&(A="".concat(m,"#").concat(g,"#").concat(y,"#").concat(v,"#"),U.includes("looping_sfx")&&(S="".concat(w,"#").concat(b,"#").concat(E,"#").concat(x,"#").concat(_,"#"),U.includes("effects")&&(B="".concat(T,"#").concat(I,"#"))));var C="MS#".concat(e,"#").concat(t,"#").concat(n,"#").concat(r)+"#".concat(Object(c.b)(Object(c.a)(o)),"#").concat(i,"#").concat(a,"#").concat(s)+"#".concat(this.charID,"#").concat(u,"#").concat(l,"#").concat(d,"#").concat(f,"#").concat(h,"#").concat(p,"#").concat(A).concat(S).concat(B,"%");this.sendServer(C),"replay"===k&&(document.getElementById("client_ooclog").value+="wait#"+document.getElementById("client_replaytimer").value+"#%\r\n")}},{key:"sendPE",value:function(e,t,n){this.sendServer("PE#".concat(Object(c.b)(Object(c.a)(e)),"#").concat(Object(c.b)(Object(c.a)(t)),"#").concat(n,"#%"))}},{key:"sendEE",value:function(e,t,n,r){this.sendServer("EE#".concat(e,"#").concat(Object(c.b)(Object(c.a)(t)),"#").concat(Object(c.b)(Object(c.a)(n)),"#").concat(r,"#%"))}},{key:"sendDE",value:function(e){this.sendServer("DE#".concat(e,"#%"))}},{key:"sendHP",value:function(e,t){this.sendServer("HP#".concat(e,"#").concat(t,"#%"))}},{key:"sendZZ",value:function(e){U.includes("modcall_reason")?this.sendServer("ZZ#".concat(e,"#%")):this.sendServer("ZZ#%")}},{key:"sendRT",value:function(e){"jud"===this.chars[this.charID].side&&this.sendServer("RT#".concat(e,"#%"))}},{key:"sendMusicChange",value:function(e){this.sendServer("MC#".concat(e,"#").concat(this.charID,"#%"))}},{key:"sendLeaveRoom",value:function(){this.sendServer("FC#%")}},{key:"joinServer",value:function(){var e=this;console.log("Your emulated HDID is ".concat(C)),this.sendServer("HI#".concat(C,"#%")),this.sendServer("ID#webAO#webAO#%"),"replay"!==k&&(this.checkUpdater=setInterval((function(){return e.sendCheck()}),5e3))}},{key:"loadResources",value:function(){document.getElementById("client_version").innerText="version "+p.a;var e=document.getElementById("bg_select");e.add(new Option("Custom",0)),l.forEach((function(t){e.add(new Option(t))}));var t=document.getElementById("evi_select");t.add(new Option("Custom",0)),d.forEach((function(e){t.add(new Option(e))})),document.getElementById("OOC_name").value=K("OOC_name")||"web"+parseInt(100*Math.random()+10);var n=K("theme")||"default";document.querySelector('#client_themeselect [value="'+n+'"]').selected=!0,ce();var r=K("chatbox")||"dynamic";document.querySelector('#client_chatboxselect [value="'+r+'"]').selected=!0,je(r),document.getElementById("client_mvolume").value=K("musicVolume")||1,ne(),document.getElementById("client_sfxaudio").volume=K("sfxVolume")||1,re(),document.getElementById("client_shoutaudio").volume=K("shoutVolume")||1,oe(),document.getElementById("client_testimonyaudio").volume=K("testimonyVolume")||1,ie(),document.getElementById("client_bvolume").value=K("blipVolume")||1,ae(),document.getElementById("ic_chat_name").value=K("ic_chat_name"),document.getElementById("showname").checked=K("showname"),ee(),document.getElementById("client_callwords").value=K("callwords")}},{key:"sendCharacter",value:function(e){this.chars[e].name&&this.sendServer("CC#".concat(this.playerID,"#").concat(e,"#web#%"))}},{key:"sendMusic",value:function(e){this.sendServer("MC#".concat(e,"#").concat(this.charID,"#%"))}},{key:"sendCheck",value:function(){this.sendServer("CH#".concat(this.charID,"#%"))}},{key:"onOpen",value:function(e){r.joinServer()}},{key:"onClose",value:function(e){console.error("The connection was closed: ".concat(e.reason," (").concat(e.code,")")),1001!==e.code&&(document.getElementById("client_error").style.display="flex",document.getElementById("client_loading").style.display="none",document.getElementById("error_id").textContent=e.code,this.cleanup())}},{key:"onMessage",value:function(e){var t=e.data;console.debug("S: "+t);var n,r=v(t.split("%"));try{for(r.s();!(n=r.n()).done;){var o=n.value;if(""===o)break;var i=o.split("#"),a=i[0];this.emit(a,i)||console.warn("Invalid packet header ".concat(a))}}catch(e){r.e(e)}finally{r.f()}}},{key:"onError",value:function(e){console.error("A network error occurred: ".concat(e.reason," (").concat(e.code,")")),document.getElementById("client_error").style.display="flex",document.getElementById("error_id").textContent=e.code,this.cleanup()}},{key:"cleanup",value:function(){clearInterval(this.checkUpdater),this.resetMusiclist(),document.getElementById("client_chartable").innerHTML=""}},{key:"handleReplay",value:function(){var e=document.getElementById("client_ooclog"),t=document.getElementById("client_replaytimer").value,n=e.value.split(/\r?\n/);if(n[0]){var r=String(n[0]);this.handleSelf(r),e.value=n.slice(1).join("\r\n"),"wait"===r.substr(0,4)?t=r.split("#")[1]:"MS"!==r.substr(0,2)&&(t=0),setTimeout((function(){return J("")}),t)}}},{key:"handleMS",value:function(e){if(e[4]!==o.chatmsg.content){document.getElementById("client_inner_chat").innerHTML="";var t=Number(e[9]),n=Object(c.d)(e[3]),r=e[3],i="male",a="default",s=!1;try{if(r=this.chars[t].showname,i=this.chars[t].gender,a=this.chars[t].chat,s=this.chars[t].muted,this.chars[t].name!==n){console.info(this.chars[t].name+" is iniediting to "+n);var u=(n+"&iniediter").split("&");this.handleCharacterInfo(u,t)}}catch(t){r=e[3],i="male",a="default",s=!1,console.error("we're still missing some character data")}if(!1===s){var l={deskmod:Object(c.d)(e[1]).toLowerCase(),preanim:Object(c.d)(e[2]).toLowerCase(),nameplate:r,chatbox:a,name:n,sprite:Object(c.d)(e[4]).toLowerCase(),content:Object(c.c)(e[5]),side:e[6].toLowerCase(),sound:Object(c.d)(e[7]).toLowerCase(),blips:Object(c.d)(i),type:Number(e[8]),charid:t,snddelay:Number(e[10]),objection:Number(e[11]),evidence:Object(c.d)(e[12]),flip:Number(e[13]),flash:Number(e[14]),color:Number(e[15])};if(U.includes("cccc_ic_support")){var d={showname:Object(c.d)(e[16]),other_charid:Number(e[17]),other_name:Object(c.d)(e[18]),other_emote:Object(c.d)(e[19]),self_offset:Number(e[20]),other_offset:Number(e[21]),other_flip:Number(e[22]),noninterrupting_preanim:Number(e[23])};if(l=Object.assign(d,l),U.includes("looping_sfx")){var f={looping_sfx:Number(e[24]),screenshake:Number(e[25]),frame_screenshake:Object(c.d)(e[26]),frame_realization:Object(c.d)(e[27]),frame_sfx:Object(c.d)(e[28])};if(l=Object.assign(f,l),U.includes("effects")){var h={additive:Number(e[29]),effects:Object(c.d)(e[30])};l=Object.assign(h,l)}else{l=Object.assign({additive:0,effects:"||"},l)}}else{l=Object.assign({looping_sfx:0,screenshake:0,frame_screenshake:"",frame_realization:"",frame_sfx:""},l);l=Object.assign({additive:0,effects:""},l)}}else{l=Object.assign({showname:"",other_charid:0,other_name:"",other_emote:"",self_offset:0,other_offset:0,other_flip:0,noninterrupting_preanim:0},l);l=Object.assign({looping_sfx:0,screenshake:0,frame_screenshake:"",frame_realization:"",frame_sfx:""},l);l=Object.assign({additive:0,effects:""},l)}l.charid===this.charID&&(document.getElementById("client_inputbox").value="",document.getElementById("button_flash").className="client_button",document.getElementById("button_shake").className="client_button",document.getElementById("sendpreanim").checked=!1,F&&(document.getElementById("button_"+F).className="client_button",F=0)),o.say(l)}}}},{key:"handleCT",value:function(e){if("replay"!==k){var t=document.getElementById("client_ooclog");t.innerHTML+="".concat(Object(c.c)(e[1]),": ").concat(Object(c.c)(e[2]),"\r\n"),t.scrollTop>t.scrollHeight-600&&(t.scrollTop=t.scrollHeight)}}},{key:"handleMC",value:function(e){var t,n=Object(c.c)(e[1]),r=Number(e[2]),i=(e[3],Boolean(e[4])),a=Number(e[5])||0,s=o.music[a];s.pause(),n.startsWith("http")?s.src=n:s.src=P+encodeURI(n.toLowerCase()),s.loop=i,s.play();try{t=this.chars[r].name}catch(e){r=-1}r>=0?(t=this.chars[r].name,Ae("".concat(t," changed music to ").concat(n))):Ae("The music was changed to ".concat(n)),document.getElementById("client_trackstatustext").innerText=n}},{key:"handleRMC",value:function(e){o.music.pause();var t=o.music;t.totime=e[1],t.offset=(new Date).getTime()/1e3,t.addEventListener("loadedmetadata",(function(){t.currentTime+=parseFloat(t.totime+((new Date).getTime()/1e3-t.offset)).toFixed(3),t.play()}),!1)}},{key:"handleCharacterInfo",value:(n=y(regeneratorRuntime.mark((function e(t,n){var r,o,i,a,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t[0]){e.next=32;break}return r={},o=M+"characters/"+encodeURI(t[0].toLowerCase())+"/char_icon.png",(i=document.getElementById("demo_".concat(n))).alt=t[0],i.src=o,e.prev=7,e.next=10,Ee(M+"characters/"+encodeURI(t[0].toLowerCase())+"/char.ini");case 10:a=e.sent,r=X.parse(a),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(7),r={},i.classList.add("noini"),console.warn("character "+t[0]+" is missing from webAO");case 19:document.getElementById("mute_select").add(new Option(Object(c.d)(t[0]),n)),document.getElementById("pair_select").add(new Option(Object(c.d)(t[0]),n)),s={name:t[0],showname:t[0],side:"def",gender:"male",chat:"aa"},r.options=Object.assign(s,r.options),u={number:0},r.emotions=Object.assign(u,r.emotions),this.chars[n]={name:Object(c.d)(t[0]),showname:Object(c.d)(r.options.showname),desc:Object(c.d)(t[1]),gender:Object(c.d)(r.options.gender).toLowerCase(),side:Object(c.d)(r.options.side).toLowerCase(),chat:Object(c.d)(r.options.chat).toLowerCase(),evidence:t[3],icon:o,inifile:r,muted:!1},document.getElementById("client_ininame").add(new Option(Object(c.d)(t[0]))),e.next=35;break;case 32:console.warn("missing charid "+n),document.getElementById("demo_".concat(n)).style.display="none";case 35:case"end":return e.stop()}}),e,this,[[7,14]])}))),function(e,t){return n.apply(this,arguments)})},{key:"handleCI",value:function(e){for(var t=this,n=2;n<=e.length-2;n++)n%2==0&&function(){document.getElementById("client_loadingtext").innerHTML="Loading Character ".concat(e[1],"/").concat(t.char_list_length);var r=e[n].split("&"),o=e[n-1];setTimeout((function(){return t.handleCharacterInfo(r,o)}),10*o)}();this.sendServer("AN#"+(e[1]/10+1)+"#%")}},{key:"handleSC",value:function(e){var t=this;document.getElementById("client_loadingtext").innerHTML="Loading Characters";for(var n=function(n){document.getElementById("client_loadingtext").innerHTML="Loading Character ".concat(n,"/").concat(t.char_list_length);var r=e[n].split("&"),o=n-1;setTimeout((function(){return t.handleCharacterInfo(r,o)}),10*o)},r=1;r<e.length;r++)n(r);this.sendServer("RM#%")}},{key:"handleEI",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Evidence ".concat(e[1],"/").concat(this.evidence_list_length),this.sendServer("RM#%")}},{key:"handleLE",value:function(e){this.evidences=[];for(var t=1;t<e.length-1;t++){var n=e[t].split("&");this.evidences[t-1]={name:Object(c.c)(n[0]),desc:Object(c.c)(n[1]),filename:Object(c.d)(n[2]),icon:M+"evidence/"+encodeURI(n[2].toLowerCase())}}var r=document.getElementById("evidences");r.innerHTML="";for(var o=1;o<=this.evidences.length;o++)r.innerHTML+='<img src="'.concat(this.evidences[o-1].icon,'" \n\t\t\t\tid="evi_').concat(o,'" \n\t\t\t\talt="').concat(this.evidences[o-1].name,'"\n\t\t\t\tclass="evi_icon"\n\t\t\t\tonclick="pickEvidence(').concat(o,')">')}},{key:"resetMusiclist",value:function(){this.musics=[],document.getElementById("client_musiclist").innerHTML=""}},{key:"resetArealist",value:function(){this.areas=[],document.getElementById("areas").innerHTML=""}},{key:"isAudio",value:function(e){return!!(e.includes(".")||e.startsWith("=")||e.startsWith("-"))}},{key:"addTrack",value:function(e){var t=document.createElement("OPTION");t.text=e,document.getElementById("client_musiclist").options.add(t),this.musics.push(e)}},{key:"handleMusicInfo",value:function(e,t){this.isAudio(t)?this.addTrack(t):this.createArea(e,t)}},{key:"createArea",value:function(e,t){var n={name:t,players:0,status:"IDLE",cm:"",locked:"FREE"};this.areas.push(n);var r=document.createElement("SPAN");r.classList="area-button area-default",r.id="area"+e,r.innerText=n.name,r.title="Players: ".concat(n.players,"\n")+"Status: ".concat(n.status,"\n")+"CM: ".concat(n.cm,"\n")+"Area lock: ".concat(n.locked),r.onclick=function(){te(this)},document.getElementById("areas").appendChild(r)}},{key:"handleEM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music","0"===e[1]&&(this.resetMusiclist(),this.resetArealist());for(var t=2;t<e.length-1;t++)t%2==0&&(document.getElementById("client_loadingtext").innerHTML="Loading Music ".concat(e[1],"/").concat(this.music_list_length),this.handleMusicInfo(e[t-1],Object(c.d)(e[t])));this.sendServer("AM#"+(e[1]/10+1)+"#%")}},{key:"handleSM",value:function(e){document.getElementById("client_loadingtext").innerHTML="Loading Music ",this.resetMusiclist(),this.resetArealist();for(var t=1;t<e.length-1;t++)document.getElementById("client_loadingtext").innerHTML="Loading Music ".concat(t,"/").concat(this.music_list_length),this.handleMusicInfo(t-1,Object(c.d)(e[t]));this.sendServer("RD#%")}},{key:"handleFM",value:function(e){this.resetMusiclist();for(var t=1;t<e.length-1;t++)this.addTrack(Object(c.d)(e[t]))}},{key:"handleFA",value:function(e){this.resetArealist();for(var t=1;t<e.length-1;t++)this.createArea(t-1,Object(c.d)(e[t]))}},{key:"handleMM",value:function(e){}},{key:"handleBans",value:function(e,t){document.getElementById("client_error").style.display="flex",document.getElementById("client_errortext").innerHTML=e+":<br>"+t.replace(/\n/g,"<br />"),document.getElementsByClassName("client_reconnect")[0].style.display="none",document.getElementsByClassName("client_reconnect")[1].style.display="none"}},{key:"handleKK",value:function(e){this.handleBans("Kicked",Object(c.d)(e[1]))}},{key:"handleKB",value:function(e){this.handleBans("Banned",Object(c.d)(e[1]))}},{key:"handleBD",value:function(e){this.handleBans("Banned",Object(c.d)(e[1]))}},{key:"handleDONE",value:function(e){document.getElementById("client_loading").style.display="none",document.getElementById("client_charselect").style.display="watch"===k?"none":"block"}},{key:"handleBN",value:function(e){o.bgname=Object(c.d)(e[1]);var t=Ne("bg_select",o.bgname);document.getElementById("bg_select").selectedIndex=t,Qe(),0===t&&(document.getElementById("bg_filename").value=o.bgname),document.getElementById("bg_preview").src=M+"background/"+encodeURI(e[1].toLowerCase())+"/defenseempty.png",-1===this.charID?o.changeBackground("jud"):o.changeBackground(this.chars[this.charID].side)}},{key:"handleHP",value:function(e){var t,n=10*Number(e[2]);"1"===e[1]?(this.hp[0]=e[2],t=document.getElementById("client_defense_hp")):(this.hp[1]=e[2],t=document.getElementById("client_prosecutor_hp")),t.getElementsByClassName("health-bar")[0].style.width=n+"%"}},{key:"handleRT",value:function(e){var t=Number(e[2]);switch(e[1]){case"testimony1":this.testimonyID=1;break;case"testimony2":this.testimonyID=2;break;case"judgeruling":this.testimonyID=3+t;break;default:console.warn("Invalid testimony")}o.initTestimonyUpdater()}},{key:"handleZZ",value:function(e){var t=document.getElementById("client_ooclog");t.innerHTML+="$Alert: ".concat(Object(c.c)(e[1]),"\r\n"),t.scrollTop>t.scrollHeight-60&&(t.scrollTop=t.scrollHeight),o.sfxaudio.pause();var n=o.sfxaudio.volume;o.sfxaudio.volume=1,o.sfxaudio.src=M+"sounds/general/sfx-gallery.opus",o.sfxaudio.play(),o.sfxaudio.volume=n}},{key:"handleHI",value:function(e){this.sendSelf("ID#1#webAO#"+p.a+"#%"),this.sendSelf("FL#fastloading#yellowtext#cccc_ic_support#flipping#looping_sfx#effects#%")}},{key:"handleID",value:function(e){this.playerID=Number(e[1]),this.serverSoftware=e[2].split("&")[0],"serverD"===this.serverSoftware?this.serverVersion=e[2].split("&")[1]:"webAO"===this.serverSoftware?(j=!1,this.sendSelf("PN#0#1#%")):this.serverVersion=e[3],"serverD"===this.serverSoftware&&"1377.152"===this.serverVersion&&(j=!0)}},{key:"handlePN",value:function(e){this.sendServer("askchaa#%")}},{key:"handleCC",value:function(e){this.sendSelf("PV#1#CID#"+e[2]+"#%")}},{key:"handleaskchaa",value:function(e){this.sendSelf("SI#"+s.length+"#0#0#%")}},{key:"handleARUP",value:function(e){e=e.slice(1);for(var t=0;t<e.length-2;t++)if(this.areas[t]){var n=document.getElementById("area"+t);switch(Number(e[0])){case 0:this.areas[t].players=Number(e[t+1]);break;case 1:this.areas[t].status=Object(c.d)(e[t+1]);break;case 2:this.areas[t].cm=Object(c.d)(e[t+1]);break;case 3:this.areas[t].locked=Object(c.d)(e[t+1])}n.classList="area-button area-"+this.areas[t].status.toLowerCase(),n.innerText="".concat(this.areas[t].name," (").concat(this.areas[t].players,") [").concat(this.areas[t].status,"]"),n.title="Players: ".concat(this.areas[t].players,"\n")+"Status: ".concat(this.areas[t].status,"\n")+"CM: ".concat(this.areas[t].cm,"\n")+"Area lock: ".concat(this.areas[t].locked)}}},{key:"handleFL",value:function(e){if(console.info("Server-supported features:"),console.info(e),U=e,e.includes("yellowtext")){var t=document.getElementById("textcolor");t.options[t.options.length]=new Option("Yellow",5),t.options[t.options.length]=new Option("Grey",6),t.options[t.options.length]=new Option("Pink",7),t.options[t.options.length]=new Option("Cyan",8)}e.includes("cccc_ic_support")&&(document.getElementById("cccc").style.display="",document.getElementById("pairing").style.display=""),e.includes("flipping")&&(document.getElementById("button_flip").style.display=""),e.includes("looping_sfx")&&(document.getElementById("button_shake").style.display="",document.getElementById("2.7").style.display=""),e.includes("effects")&&(document.getElementById("2.8").style.display="")}},{key:"handleSI",value:function(e){this.char_list_length=Number(e[1]),this.char_list_length+=1,this.evidence_list_length=Number(e[2]),this.music_list_length=Number(e[3]),document.getElementById("client_chartable").innerHTML="";for(var t=0;t<this.char_list_length;t++){var n=document.createElement("img");n.className="demothing",n.id="demo_".concat(t);var r=document.createAttribute("onclick");r.value="pickChar(".concat(t,")"),n.setAttributeNode(r),document.getElementById("client_chartable").appendChild(n)}!j&&U.includes("fastloading")?this.sendServer("RC#%"):this.sendServer("askchar2#%")}},{key:"handleCharsCheck",value:function(e){for(var t=0;t<this.char_list_length;t++){var n=document.getElementById("demo_".concat(t));"-1"===e[t+1]?n.style.opacity=.25:"0"===e[t+1]&&(n.style.opacity=1)}}},{key:"handlePV",value:(t=y(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,s,u,l,d,f,h,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f=function(e){d.add(new Option(Object(c.d)(e)))},this.charID=Number(t[3]),document.getElementById("client_charselect").style.display="none",n=this.character,this.selectedEmote=-1,r=this.emotes,(o=document.getElementById("client_emo")).style.display="",o.innerHTML="",i=n.inifile,n.side=i.options.side,Ue(n.side),0===i.emotions.number)o.innerHTML='<span\n\t\t\t\t\tid="emo_0"\n\t\t\t\t\talt="unavailable"\n\t\t\t\t\tclass="emote_button">No emotes available</span>';else{for(a=1;a<=i.emotions.number;a++)try{s=i.emotions[a].split("#"),u=void 0,l=void 0;try{u=i.soundn[a]||"0",l=Number(i.soundt[a])||0}catch(e){console.warn("ini sound is completly missing"),u="0",l=0}r[a]={desc:s[0].toLowerCase(),preanim:s[1].toLowerCase(),emote:s[2].toLowerCase(),zoom:Number(s[3])||0,sfx:u.toLowerCase(),sfxdelay:l,frame_screenshake:"",frame_realization:"",frame_sfx:"",button:M+"characters/".concat(encodeURI(n.name.toLowerCase()),"/emotions/button").concat(a,"_off.png")},o.innerHTML+="<img src=".concat(r[a].button,'\n\t\t\t\t\tid="emo_').concat(a,'"\n\t\t\t\t\talt="').concat(r[a].desc,'"\n\t\t\t\t\tclass="emote_button"\n\t\t\t\t\tonclick="pickEmotion(').concat(a,')">')}catch(e){console.error("missing emote "+a)}Oe(1)}return e.next=15,_e(M+"characters/"+encodeURI(n.name.toLowerCase())+"/custom.gif");case 15:if(!e.sent){e.next=19;break}document.getElementById("button_4").style.display="",e.next=20;break;case 19:document.getElementById("button_4").style.display="none";case 20:return d=document.getElementById("client_ininame"),e.prev=21,e.next=24,Ee(M+"characters/"+encodeURI(n.name.toLowerCase())+"/iniswaps.ini");case 24:p=e.sent,h=p.split("\n"),e.next=31;break;case 28:e.prev=28,e.t0=e.catch(21),h={};case 31:h.length>0&&(d.innerHTML="",f(n.name),h.forEach(f));case 32:case"end":return e.stop()}}),e,this,[[21,28]])}))),function(e){return t.apply(this,arguments)})},{key:"handleRC",value:function(e){this.sendSelf("SC#"+s.join("#")+"#%")}},{key:"handleRM",value:function(e){this.sendSelf("SM#"+u.join("#")+"#%")}},{key:"handleRD",value:function(e){this.sendSelf("BN#gs4#%"),this.sendSelf("DONE#%");var t=document.getElementById("client_ooclog");t.value="",t.readOnly=!1,document.getElementById("client_oocinput").style.display="none",document.getElementById("client_replaycontrols").style.display="inline-block"}},{key:"character",get:function(){return this.chars[this.charID]}},{key:"emote",get:function(){return this.emotes[this.selectedEmote]}},{key:"evidence",get:function(){return document.getElementById("button_present").classList.contains("dark")?this.selectedEvidence:0}}]),a}(h.EventEmitter),W=function(){function e(){b(this,e),this.textnow="",this.chatmsg={content:"",objection:0,sound:"",startpreanim:!0,startspeaking:!1,side:null,color:0,snddelay:0,preanimdelay:0},this.shouts=[void 0,"holdit","objection","takethat","custom"],this.colors=["white","green","red","orange","blue","yellow","pink","cyan","grey"],this.blipChannels=new Array(6),this.blipChannels.fill(new Audio(M+"sounds/general/sfx-blipmale.opus")).forEach((function(e){return e.volume=.5})),this.currentBlipChannel=0,this.sfxaudio=document.getElementById("client_sfxaudio"),this.sfxaudio.src="".concat(M,"sounds/general/sfx-realization.opus"),this.sfxplayed=0,this.shoutaudio=document.getElementById("client_shoutaudio"),this.shoutaudio.src="".concat(M,"misc/default/objection.opus"),this.testimonyAudio=document.getElementById("client_testimonyaudio"),this.testimonyAudio.src="".concat(M,"sounds/general/sfx-guilty.opus"),this.music=new Array(3),this.music.fill(new Audio("".concat(M,"sounds/music/trial (aa).opus"))).forEach((function(e){return e.volume=.5})),this.updater=null,this.testimonyUpdater=null,this.bgname="gs4",this.lastChar="",this.lastEvi=0,this.testimonyTimer=0,this.shoutTimer=0,this.textTimer=0,this._animating=!1}var t,n,i,a;return x(e,[{key:"playSFX",value:(a=y(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.sfxaudio.pause(),this.sfxaudio.loop=n,this.sfxaudio.src=t,this.sfxaudio.play();case 4:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)})},{key:"changeBackground",value:(i=y(regeneratorRuntime.mark((function e(t){var n,r,i,a,c,s,u,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.bgFolder,r=document.getElementById("client_bench"),i=document.getElementById("client_court"),c=(a={def:{bg:"defenseempty.png",desk:{ao2:"defensedesk.png",ao1:"bancodefensa.png"},speedLines:"defense_speedlines.gif"},pro:{bg:"prosecutorempty.png",desk:{ao2:"prosecutiondesk.png",ao1:"bancoacusacion.png"},speedLines:"prosecution_speedlines.gif"},hld:{bg:"helperstand.png",desk:null,speedLines:"defense_speedlines.gif"},hlp:{bg:"prohelperstand.png",desk:null,speedLines:"prosecution_speedlines.gif"},wit:{bg:"witnessempty.png",desk:{ao2:"stand.png",ao1:"estrado.png"},speedLines:"prosecution_speedlines.gif"},jud:{bg:"judgestand.png",desk:{ao2:"judgedesk.png",ao1:"judgedesk.gif"},speedLines:"prosecution_speedlines.gif"},jur:{bg:"jurystand.png",desk:{ao2:"jurydesk.png",ao1:"estrado.png"},speedLines:"defense_speedlines.gif"},sea:{bg:"seancestand.png",desk:{ao2:"seancedesk.png",ao1:"estrado.png"},speedLines:"prosecution_speedlines.gif"}}[t]).bg,s=a.desk,u=a.speedLines,r.className=t+"_bench",i.className=t+"_court",5!==o.chatmsg.type){e.next=12;break}i.src="".concat(M,"themes/default/").concat(encodeURI(u)),r.style.opacity=0,e.next=27;break;case 12:if(i.src=n+c,!s){e.next=26;break}return e.next=16,_e(n+s.ao2);case 16:if(!e.sent){e.next=20;break}e.t0=s.ao2,e.next=21;break;case 20:e.t0=s.ao1;case 21:l=e.t0,r.src=n+l,r.style.opacity=1,e.next=27;break;case 26:r.style.opacity=0;case 27:case"end":return e.stop()}}),e)}))),function(e){return i.apply(this,arguments)})},{key:"initTestimonyUpdater",value:function(){var e=this,t={1:"witnesstestimony",2:"crossexamination",3:"notguilty",4:"guilty"}[r.testimonyID];if(t){this.testimonyAudio.src=r.resources[t].sfx,this.testimonyAudio.play();var n=document.getElementById("client_testimony");n.src=r.resources[t].src,n.style.opacity=1,this.testimonyTimer=0,this.testimonyUpdater=setTimeout((function(){return e.updateTestimony()}),60)}else console.warn("Invalid testimony ID ".concat(r.testimonyID))}},{key:"getAnimLength",value:(n=y(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,we(t);case 3:return n=e.sent,e.abrupt("return",this.calculateGifLength(n));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(e){return n.apply(this,arguments)})},{key:"oneSuccess",value:function(e){return Promise.all(e.map((function(e){return e.then((function(e){return Promise.reject(e)}),(function(e){return Promise.resolve(e)}))}))).then((function(e){return Promise.reject(e)}),(function(e){return Promise.resolve(e)}))}},{key:"rejectOnError",value:function(e){return new Promise((function(t,n){return e.then((function(r){r.ok?t(e):n(e)}))}))}},{key:"calculateGifLength",value:function(e){for(var t=new Uint8Array(e),n=0,r=0;r<t.length;r++)if(33===t[r]&&249===t[r+1]&&4===t[r+2]&&0===t[r+7]){var o=t[r+5]<<8|255&t[r+4];n+=o<2?10:o}return 10*n}},{key:"updateTestimony",value:function(){var e=this;this.testimonyTimer=this.testimonyTimer+60;var t={1:"witnesstestimony",2:"crossexamination",3:"notguilty",4:"guilty"}[r.testimonyID],n=r.resources[t];n?this.testimonyTimer>=n.duration?this.disposeTestimony():this.testimonyUpdater=setTimeout((function(){return e.updateTestimony()}),60):this.disposeTestimony()}},{key:"disposeTestimony",value:function(){r.testimonyID=0,this.testimonyTimer=0,document.getElementById("client_testimony").style.opacity=0,clearTimeout(this.testimonyUpdater)}},{key:"setEmote",value:function(e,t,n,r){var o=r?"pair":"char",i=M+"characters/",a=document.getElementById("client_"+o+"_gif"),c=document.getElementById("client_"+o+"_png"),s=document.getElementById("client_"+o+"_apng");this.lastChar!==this.chatmsg.name&&(a.src=N,c.src=N,s.src=N),a.src=i+"".concat(encodeURI(e),"/").concat(encodeURI(n)).concat(encodeURI(t),".gif"),c.src=i+"".concat(encodeURI(e),"/").concat(encodeURI(t),".png"),s.src=i+"".concat(encodeURI(e),"/").concat(encodeURI(n)).concat(encodeURI(t),".apng")}},{key:"say",value:(t=y(regeneratorRuntime.mark((function e(t){var n,o,i,a,c,s,u,l,d,f,h,p,m,g,y=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.chatmsg=t,this.textnow="",this.sfxplayed=0,this.textTimer=0,this._animating=!0,clearTimeout(this.updater),n=document.getElementById("client_fg"),o=document.getElementById("client_gamewindow"),i=document.getElementById("client_chatwaiting"),o.style.animation="",i.style.opacity=0,a=document.getElementById("client_evi"),this.lastEvi!==this.chatmsg.evidence&&(a.style.opacity="0",a.style.height="0%"),this.lastEvi=this.chatmsg.evidence,c=document.getElementById("client_char"),s=document.getElementById("client_pair_char"),u=document.getElementById("client_chatcontainer"),l=document.getElementById("client_inner_name"),d=document.getElementById("client_inner_chat"),f=document.getElementById("showname").checked&&""!==this.chatmsg.showname?this.chatmsg.showname:this.chatmsg.nameplate,d.innerText=this.textnow,l.innerText=f,this.lastChar!==this.chatmsg.name&&(c.style.opacity=0,s.style.opacity=0),this.lastChar=this.chatmsg.name,Ae(this.chatmsg.content,this.chatmsg.showname,this.chatmsg.nameplate),Se(this.chatmsg.content),this.setEmote(this.chatmsg.name.toLowerCase(),this.chatmsg.sprite,"(a)",!1),this.chatmsg.other_name&&this.setEmote(this.chatmsg.other_name.toLowerCase(),this.chatmsg.other_emote,"(a)",!1),h=document.getElementById("client_shout"),(p=this.shouts[this.chatmsg.objection])?(u.style.opacity=0,4===this.chatmsg.objection?h.src="".concat(M,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/custom.gif"):(h.src=r.resources[p].src,h.style.animation="bubble 700ms steps(10, jump-both)"),h.style.opacity=1,this.shoutaudio.src="".concat(M,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(p,".opus"),this.shoutaudio.play(),this.shoutTimer=r.resources[p].duration):this.shoutTimer=0,this.chatmsg.startpreanim=!0,m=0,e.t0=this.chatmsg.type,e.next=1===e.t0?36:42;break;case 36:return u.style.opacity=0,e.next=39,this.getAnimLength("".concat(M,"characters/").concat(encodeURI(this.chatmsg.name.toLowerCase()),"/").concat(encodeURI(this.chatmsg.preanim),".gif"));case 39:return m=e.sent,this.chatmsg.startspeaking=!1,e.abrupt("break",44);case 42:return this.chatmsg.startspeaking=!0,e.abrupt("break",44);case 44:this.chatmsg.preanimdelay=parseInt(m),this.changeBackground(t.side),je(t.chatbox),De(),1===this.chatmsg.flip?c.style.transform="scaleX(-1)":c.style.transform="scaleX(1)",1===this.chatmsg.other_flip?s.style.transform="scaleX(-1)":s.style.transform="scaleX(1)",this.blipChannels.forEach((function(e){return e.src="".concat(M,"sounds/general/sfx-blip").concat(encodeURI(y.chatmsg.blips.toLowerCase()),".opus")})),this.chatmsg.content.startsWith("~~")?(d.style.textAlign="center",this.chatmsg.content=this.chatmsg.content.substring(2,this.chatmsg.content.length)):d.style.textAlign="inherit",g=this.chatmsg.effects.split("|"),n.style.animation="",g[0]&&"-"!==g[0]?n.src="".concat(M,"themes/default/effects/").concat(encodeURI(g[0].toLowerCase()),".webp"):n.src=N,"0"!==this.chatmsg.sound&&"1"!==this.chatmsg.sound&&""!==this.chatmsg.sound&&void 0!==this.chatmsg.sound||(this.chatmsg.sound=g[2]),this.tick();case 57:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"tick",value:function(){var e=this;this._animating&&(this.updater=setTimeout((function(){return e.tick()}),60));var t=document.getElementById("client_gamewindow"),n=document.getElementById("client_chatwaiting"),o=document.getElementById("client_char"),i=document.getElementById("client_pair_char"),a=document.getElementById("client_evi"),s=document.getElementById("client_shout"),u=document.getElementById("client_inner_chat"),l=document.getElementById("client_chat"),d=document.getElementById("client_fg"),f=this.chatmsg.name.toLowerCase(),h=this.chatmsg.sprite.toLowerCase(),p=this.chatmsg.other_name.toLowerCase(),m=this.chatmsg.other_emote.toLowerCase();if(this.textTimer>=this.shoutTimer&&this.chatmsg.startpreanim){if(1===this.chatmsg.screenshake&&(this.playSFX(M+"sounds/general/sfx-stab.opus",!1),t.style.animation="shake 0.2s 1"),1===this.chatmsg.flash&&(this.playSFX(M+"sounds/general/sfx-realization.opus",!1),d.style.animation="flash 0.4s 1"),this.chatmsg.preanimdelay>0){s.style.opacity=0,s.style.animation="";var g=this.chatmsg.preanim.toLowerCase();this.setEmote(f,g,"",!1),o.style.opacity=1}this.chatmsg.other_name?(i.style.left=this.chatmsg.other_offset+"%",o.style.left=this.chatmsg.self_offset+"%",i.style.opacity=1):(i.style.opacity=0,o.style.left=0),this.chatmsg.startpreanim=!1,this.chatmsg.startspeaking=!0}else if(this.textTimer>=this.shoutTimer+this.chatmsg.preanimdelay&&!this.chatmsg.startpreanim){if(this.chatmsg.startspeaking)this.chatmsg.evidence>0&&(a.src=Object(c.d)(r.evidences[this.chatmsg.evidence-1].icon),a.style.width="auto",a.style.height="36.5%",a.style.opacity=1,this.testimonyAudio.src=M+"sounds/general/sfx-evidenceshoop.opus",this.testimonyAudio.play(),"def"===this.chatmsg.side?(a.style.right="1em",a.style.left="initial"):(a.style.right="initial",a.style.left="1em")),De(),document.getElementById("client_chatcontainer").style.opacity=1,u.className="text_"+this.colors[this.chatmsg.color],this.chatmsg.startspeaking=!1,0===this.chatmsg.preanimdelay&&(s.style.opacity=0,s.style.animation=""),U.includes("cccc_ic_support")&&(this.chatmsg.other_name?(i.style.left=this.chatmsg.other_offset+"%",o.style.left=this.chatmsg.self_offset+"%",this.setEmote(p,m,"(a)",!0),i.style.opacity=1):(i.style.opacity=0,o.style.left=0)),this.setEmote(f,h,"(b)",!1),o.style.opacity=1,this.textnow===this.chatmsg.content&&(this.setEmote(f,h,"(a)",!1),o.style.opacity=1,n.style.opacity=1,this._animating=!1,clearTimeout(this.updater));else this.textnow!==this.chatmsg.content&&(" "!==this.chatmsg.content.charAt(this.textnow.length)&&(this.blipChannels[this.currentBlipChannel].play(),this.currentBlipChannel++,this.currentBlipChannel%=this.blipChannels.length),this.textnow=this.chatmsg.content.substring(0,this.textnow.length+1),u.innerText=this.textnow,l.scrollTop=l.scrollHeight,this.textnow===this.chatmsg.content&&(this._animating=!1,this.setEmote(f,h,"(a)",!1),o.style.opacity=1,n.style.opacity=1,clearTimeout(this.updater)))}!this.sfxplayed&&this.chatmsg.snddelay+this.shoutTimer>=this.textTimer&&(this.sfxplayed=1,"0"!==this.chatmsg.sound&&"1"!==this.chatmsg.sound&&""!==this.chatmsg.sound&&void 0!==this.chatmsg.sound&&this.playSFX(M+"sounds/general/"+encodeURI(this.chatmsg.sound.toLowerCase())+".opus",this.chatmsg.looping_sfx)),this.textTimer=this.textTimer+60}},{key:"isAnimating",get:function(){return this._animating}},{key:"blipVolume",set:function(e){this.blipChannels.forEach((function(t){return t.volume=e}))}},{key:"musicVolume",set:function(e){this.music.forEach((function(t){return t.volume=e}))}},{key:"bgFolder",get:function(){return"".concat(M,"background/").concat(encodeURI(this.bgname.toLowerCase()),"/")}}]),e}(),X=function(){function e(){b(this,e)}return x(e,null,[{key:"parse",value:function(e){var t,n={section:/^\s*\[\s*([^\]]*)\s*\]\s*$/,param:/^\s*([\w.\-_]+)\s*=\s*(.*?)\s*$/,comment:/^\s*;.*$/},r={};return e.split(/\r\n|\r|\n/).forEach((function(e){if(!n.comment.test(e)&&0!==e.length)if(n.param.test(e)){var o=e.match(n.param);t&&("showname"===o[1].toLowerCase()?r[t].showname=o[2]:r[t][o[1].toLowerCase()]=o[2].toLowerCase())}else if(n.section.test(e)){var i=e.match(n.section);r[i[1].toLowerCase()]={},t=i[1].toLowerCase()}})),r}}]),e}();function K(e){try{for(var t=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var o=n[r];" "===o.charAt(0);)o=o.substring(1);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return""}catch(e){return""}}function z(e,t){document.cookie=e+"="+t}function Y(e){13===e.keyCode&&(r.sendOOC(document.getElementById("client_oocinputbox").value),document.getElementById("client_oocinputbox").value="")}function J(e){r.handleReplay()}function Z(e){if(13===e.keyCode){var t=r.character,n=r.emote,o=r.evidence,i=document.getElementById("button_flip").classList.contains("dark")?1:0,a=document.getElementById("button_flash").classList.contains("dark")?1:0,c=document.getElementById("button_shake").classList.contains("dark")?1:0,s=document.getElementById("check_nonint").checked?1:0,u=document.getElementById("check_loopsfx").checked?1:0,l=document.getElementById("textcolor").value,d=document.getElementById("ic_chat_name").value,f=document.getElementById("client_inputbox").value,h=document.getElementById("pair_select").value,p=document.getElementById("pair_offset").value,m=document.getElementById("role_select").value?document.getElementById("role_select").value:t.side,g=document.getElementById("check_additive").checked?1:0,y=document.getElementById("effect_select").value,v="0",w=0,b="-";document.getElementById("sendsfx").checked&&(v=n.sfx,w=n.sfxdelay),document.getElementById("sendpreanim").checked&&(b=n.preanim),r.sendIC("chat",b,t.name,n.emote,f,m,v,n.zoom,w,F,o,i,a,l,d,h,p,s,u,c,"-","-","-",g,y)}}function $(e){var t=document.getElementById("client_musiclist"),n=document.getElementById("client_musicsearch").value;t.innerHTML="";var o,i=v(r.musics);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(-1!==a.toLowerCase().indexOf(n.toLowerCase())){var c=document.createElement("OPTION");c.text=a,t.options.add(c)}}}catch(e){i.e(e)}finally{i.f()}}function q(e){var t=document.getElementById("client_musiclist").value;r.sendMusicChange(t);for(var n=document.getElementById("client_musiclist").selectedOptions,o=0;o<n.length;o++)n[o].selected=!1}function Q(e){var t=document.getElementById("mute_select"),n=t.options[t.selectedIndex];!1===r.chars[n.value].muted?(r.chars[n.value].muted=!0,n.text=r.chars[n.value].name+" (muted)",console.info("muted "+r.chars[n.value].name)):(r.chars[n.value].muted=!1,n.text=r.chars[n.value].name)}function ee(e){z("showname",document.getElementById("showname").checked),z("ic_chat_name",document.getElementById("ic_chat_name").value);var t=document.getElementById("nameplate_setting");document.getElementById("showname").checked?t.href="styles/shownames.css":t.href="styles/nameplates.css"}function te(e){var t=r.areas[e.id.substr(4)].name;r.sendMusicChange(t);var n=document.createElement("div");n.className="hrtext",n.textContent="switched to ".concat(e.textContent),document.getElementById("client_log").appendChild(n)}function ne(){o.musicVolume=document.getElementById("client_mvolume").value,z("musicVolume",document.getElementById("client_mvolume").value)}function re(){z("sfxVolume",document.getElementById("client_sfxaudio").volume)}function oe(){z("shoutVolume",document.getElementById("client_shoutaudio").volume)}function ie(){z("testimonyVolume",document.getElementById("client_testimonyaudio").volume)}function ae(){o.blipVolume=document.getElementById("client_bvolume").value,z("blipVolume",document.getElementById("client_bvolume").value)}function ce(){o.theme=document.getElementById("client_themeselect").value,z("theme",o.theme),document.getElementById("client_theme").href="styles/"+o.theme+".css"}function se(){r.callwords=document.getElementById("client_callwords").value.split("\n"),z("callwords",r.callwords)}function ue(){r.handleZZ("test#test".split("#"))}function le(){return de.apply(this,arguments)}function de(){return(de=y(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.getElementById("client_ininame").value,n=r.charID,e.next=4,r.handleCharacterInfo(t.split("&"),n);case 4:r.handlePV(("PV#0#CID#"+n).split("#"));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function fe(){return he.apply(this,arguments)}function he(){return(he=y(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=document.getElementById("client_background"),n=document.getElementById("client_hdviewport_offset"),document.getElementById("client_hdviewport").checked?(t.style.paddingBottom="56.25%",n.disabled=!1):(t.style.paddingBottom="75%",n.disabled=!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pe(){return me.apply(this,arguments)}function me(){return(me=y(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=document.getElementById("client_chatcontainer"),document.getElementById("client_hdviewport_offset").checked?(t.style.width="80%",t.style.left="10%"):(t.style.width="100%",t.style.left=0);case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ge(e){r.sendLeaveRoom(),document.getElementById("client_charselect").style.display="block",document.getElementById("client_emo").innerHTML=""}function ye(e){return console.warn(e.src+" is missing from webAO"),e.src=N,!0}function ve(e){return e.onerror="",e.src="",!0}function we(e){return be.apply(this,arguments)}function be(){return(be=y(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new XMLHttpRequest;r.responseType="arraybuffer",r.addEventListener("error",(function(){var e=new Error("Request for ".concat(t," failed: ").concat(r.statusText));e.code=r.status,n(e)})),r.addEventListener("abort",(function(){var e=new Error("Request for ".concat(t," was aborted!"));e.code=r.status,n(e)})),r.addEventListener("load",(function(){if(r.status<200||r.status>=300){var o=new Error("Request for ".concat(t," failed with status code ").concat(r.status));o.code=r.status,n(o)}else e(r.response)})),r.open("GET",t,!0),r.send()})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Ee(e){return xe.apply(this,arguments)}function xe(){return(xe=y(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,n){var r=new XMLHttpRequest;r.responseType="text",r.addEventListener("error",(function(){var e=new Error("Request for ".concat(t," failed: ").concat(r.statusText));e.code=r.status,n(e)})),r.addEventListener("abort",(function(){var e=new Error("Request for ".concat(t," was aborted!"));e.code=r.status,n(e)})),r.addEventListener("load",(function(){if(r.status<200||r.status>=300){var o=new Error("Request for ".concat(t," failed with status code ").concat(r.status));o.code=r.status,n(o)}else e(r.response)})),r.open("GET",t,!0),r.send()})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _e(e){return Te.apply(this,arguments)}function Te(){return(Te=y(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Ee(t);case 3:return e.abrupt("return",!0);case 6:if(e.prev=6,e.t0=e.catch(0),!(e.t0.code>=400)){e.next=12;break}return e.abrupt("return",!1);case 12:throw e.t0;case 13:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function Ie(){r.cleanup(),(r=new H(O))&&(k="join",document.getElementById("client_error").style.display="none")}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new Date,o=document.createElement("p"),i=document.createElement("span"),a=document.createElement("span"),c=document.createElement("span");if(a.classList="iclog_name iclog_nameplate",a.appendChild(document.createTextNode(n)),i.classList="iclog_name iclog_showname",""!==t&&t?i.appendChild(document.createTextNode(t)):i.appendChild(document.createTextNode(n)),c.className="iclog_text",c.appendChild(document.createTextNode(e)),o.appendChild(i),o.appendChild(a),o.appendChild(c),V.getMinutes()!==r.getMinutes()){var s=document.createElement("span");s.className="iclog_time",s.innerText=r.toLocaleTimeString(void 0,{hour:"numeric",minute:"2-digit"}),o.appendChild(s)}var u=document.getElementById("client_log");u.appendChild(o),u.scrollTop>u.scrollHeight-800&&(u.scrollTop=u.scrollHeight),V=new Date}function Se(e){r.callwords.forEach((function(t){""!==t&&e.toLowerCase().includes(t.toLowerCase())&&(o.sfxaudio.pause(),o.sfxaudio.src=M+"sounds/general/sfx-gallery.opus",o.sfxaudio.play())}))}function Be(e){var t=document.getElementById("client_charactersearch").value;r.chars.forEach((function(e,n){var r=document.getElementById("demo_".concat(n));-1===e.name.toLowerCase().indexOf(t.toLowerCase())?r.style.display="none":r.style.display="inline-block"}))}function Ce(e){-1===e?document.getElementById("client_charselect").style.display="none":r.sendCharacter(e)}function Oe(e){try{-1!==r.selectedEmote&&(document.getElementById("emo_"+r.selectedEmote).classList="emote_button")}catch(e){}r.selectedEmote=e,document.getElementById("emo_"+e).classList="emote_button dark"}function ke(e){var t=Number(e);if(r.selectedEvidence!==t){r.selectedEvidence>0&&(document.getElementById("evi_"+r.selectedEvidence).className="evi_icon"),document.getElementById("evi_"+t).className="evi_icon dark",r.selectedEvidence=t,document.getElementById("evi_name").value=r.evidences[t-1].name,document.getElementById("evi_desc").value=r.evidences[t-1].desc;var n=Ne("evi_select",r.evidences[t-1].filename);document.getElementById("evi_select").selectedIndex=n,0===n&&(document.getElementById("evi_filename").value=r.evidences[t-1].filename),Fe(),document.getElementById("evi_add").className="client_button hover_button inactive",document.getElementById("evi_edit").className="client_button hover_button",document.getElementById("evi_cancel").className="client_button hover_button",document.getElementById("evi_del").className="client_button hover_button"}else Pe()}function Le(){var e=document.getElementById("evi_select");r.sendPE(document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0===e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),Pe()}function Me(){var e=document.getElementById("evi_select"),t=parseInt(r.selectedEvidence)-1;r.sendEE(t,document.getElementById("evi_name").value,document.getElementById("evi_desc").value,0===e.selectedIndex?document.getElementById("evi_filename").value:e.options[e.selectedIndex].text),Pe()}function Re(){var e=parseInt(r.selectedEvidence)-1;r.sendDE(e),Pe()}function Pe(){r.selectedEvidence>0&&(document.getElementById("evi_"+r.selectedEvidence).className="evi_icon"),r.selectedEvidence=0,document.getElementById("evi_select").selectedIndex=0,Fe(),document.getElementById("evi_filename").value="",document.getElementById("evi_name").value="",document.getElementById("evi_desc").value="",document.getElementById("evi_preview").src=M+"misc/empty.png",document.getElementById("evi_add").className="client_button hover_button",document.getElementById("evi_edit").className="client_button hover_button inactive",document.getElementById("evi_cancel").className="client_button hover_button inactive",document.getElementById("evi_del").className="client_button hover_button inactive"}function Ne(e,t){for(var n=document.getElementById(e),r=1;r<n.length;++r)if(n.options[r].value===t)return r;return 0}function je(e){var t=document.getElementById("chatbox_theme"),n=document.getElementById("client_chatboxselect").value;z("chatbox",n),"dynamic"===n?f.includes(e)?t.href="styles/chatbox/"+e+".css":t.href="styles/chatbox/aa.css":t.href="styles/chatbox/"+n+".css"}function De(){var e=document.getElementById("client_chatcontainer"),t=document.getElementById("client_background").offsetHeight;e.style.fontSize=(.0521*t).toFixed(1)+"px"}function Fe(){var e=document.getElementById("evi_select"),t=document.getElementById("evi_filename"),n=document.getElementById("evi_preview");0===e.selectedIndex?(t.style.display="initial",n.src=M+"evidence/"+encodeURI(t.value.toLowerCase())):(t.style.display="none",n.src=M+"evidence/"+encodeURI(e.value.toLowerCase()))}function Ue(e){"jud"===e?(document.getElementById("judge_action").style.display="inline-table",document.getElementById("no_action").style.display="none"):(document.getElementById("judge_action").style.display="none",document.getElementById("no_action").style.display="inline-table");for(var t=0,n=document.getElementById("role_select").options;t<n.length;t++)if(e===n[t].value)return void(n.selectedIndex=t)}function Ge(){var e=document.getElementById("bg_select"),t=document.getElementById("bg_command").value,n=document.getElementById("bg_filename"),o="";o=0===e.selectedIndex?n.value:e.value,"join"===k?r.sendOOC("/"+t.replace("$1",o)):"replay"===k&&r.sendSelf("BN#"+o+"#%")}function Ve(){var e=document.getElementById("role_select").value;r.sendOOC("/pos "+e),r.sendServer("SP#"+e+"#%"),Ue(e)}function He(){r.sendOOC("/"+document.getElementById("randomchar_command").value)}function We(){var e;U.includes("modcall_reason")&&(e=prompt("Please enter the reason for the modcall","")),null==e||""===e||r.sendZZ(e)}function Xe(){r.sendRT("testimony1")}function Ke(){r.sendRT("testimony2")}function ze(){r.sendRT("judgeruling#0")}function Ye(){r.sendRT("judgeruling#1")}function Je(){r.sendHP(1,String(parseInt(r.hp[0])+1))}function Ze(){r.sendHP(1,String(parseInt(r.hp[0])-1))}function $e(){r.sendHP(2,String(parseInt(r.hp[1])+1))}function qe(){r.sendHP(2,String(parseInt(r.hp[1])-1))}function Qe(){var e=document.getElementById("bg_select"),t=document.getElementById("bg_filename"),n=document.getElementById("bg_preview");0===e.selectedIndex?(t.style.display="initial",n.src=M+"background/"+encodeURI(t.value.toLowerCase())+"/defenseempty.png"):(t.style.display="none",n.src=M+"background/"+encodeURI(e.value.toLowerCase())+"/defenseempty.png")}function et(e){e.classList.contains("dark")?e.className="client_button":e.className="client_button dark"}function tt(e){e!==D&&(document.getElementById("menu_"+e).className="menu_button active",document.getElementById("content_"+e).className="menu_content active",document.getElementById("menu_"+D).className="menu_button",document.getElementById("content_"+D).className="menu_content",D=e)}function nt(e){e===F?(document.getElementById("button_"+e).className="client_button",F=0):(document.getElementById("button_"+e).className="client_button dark",F&&(document.getElementById("button_"+F).className="client_button"),F=e)}window.onOOCEnter=Y,window.onReplayGo=J,window.onEnter=Z,window.musiclist_filter=$,window.musiclist_click=q,window.mutelist_click=Q,window.showname_click=ee,window.area_click=te,window.changeMusicVolume=ne,window.changeSFXVolume=re,window.changeShoutVolume=oe,window.changeTestimonyVolume=ie,window.changeBlipVolume=ae,window.reloadTheme=ce,window.changeCallwords=se,window.modcall_test=ue,window.iniedit=le,window.switchAspectRatio=fe,window.switchChatOffset=pe,window.changeCharacter=ge,window.charError=ye,window.imgError=ve,window.ReconnectButton=Ie,window.chartable_filter=Be,window.pickChar=Ce,window.pickEmotion=Oe,window.pickEvidence=ke,window.addEvidence=Le,window.editEvidence=Me,window.deleteEvidence=Re,window.cancelEvidence=Pe,window.getIndexFromSelect=Ne,window.setChatbox=je,window.resizeChatbox=De,window.updateEvidenceIcon=Fe,window.updateActionCommands=Ue,window.changeBackgroundOOC=Ge,window.changeRoleOOC=Ve,window.randomCharacterOOC=He,window.callMod=We,window.initWT=Xe,window.initCE=Ke,window.notguilty=ze,window.guilty=Ye,window.addHPD=Je,window.redHPD=Ze,window.addHPP=$e,window.redHPP=qe,window.updateBackgroundPreview=Qe,window.toggleEffect=et,window.toggleMenu=tt,window.toggleShout=nt}]); -//# sourceMappingURL=client.b.js.map
\ No newline at end of file |
