alispig-advanced-chat
Version:
A beautiful chat rooms component made with Vue.js - compatible with Vue, React & Angular
1 lines • 519 kB
JavaScript
(function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));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="5a74")})({"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),a=n("da84"),o=n("c65b"),i=n("e330"),s=n("1626"),c=n("861d"),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),u=a.Error,f=i(/./.test);r({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=this.exec;if(!s(t))return f(this,e);var n=o(t,this,e);if(null!==n&&!c(n))throw new u("RegExp exec method returned something other than an Object or null");return!!n}})},"00ee":function(e,t,n){var r=n("b622"),a=r("toStringTag"),o={};o[a]="z",e.exports="[object z]"===String(o)},"0206":function(e,t){function n(e){return new Int8Array(e)}function r(e){return new Int16Array(e)}function a(e){return new Int32Array(e)}function o(e){return new Float32Array(e)}function i(e){return new Float64Array(e)}function s(e){if(1==e.length)return o(e[0]);var t=e[0];e=e.slice(1);for(var n=[],r=0;r<t;r++)n.push(s(e));return n}function c(e){if(1==e.length)return a(e[0]);var t=e[0];e=e.slice(1);for(var n=[],r=0;r<t;r++)n.push(c(e));return n}function l(e){if(1==e.length)return r(e[0]);var t=e[0];e=e.slice(1);for(var n=[],a=0;a<t;a++)n.push(l(e));return n}function u(e){if(1==e.length)return new Array(e[0]);var t=e[0];e=e.slice(1);for(var n=[],r=0;r<t;r++)n.push(u(e));return n}var f={fill:function(e,t,n,r){if(2==arguments.length)for(var a=0;a<e.length;a++)e[a]=arguments[1];else for(a=t;a<n;a++)e[a]=r}},d={arraycopy:function(e,t,n,r,a){var o=t+a;while(t<o)n[r++]=e[t++]}},p={};function h(e){this.ordinal=e}p.SQRT2=1.4142135623730951,p.FAST_LOG10=function(e){return Math.log10(e)},p.FAST_LOG10_X=function(e,t){return Math.log10(e)*t},h.short_block_allowed=new h(0),h.short_block_coupled=new h(1),h.short_block_dispensed=new h(2),h.short_block_forced=new h(3);var m={};function g(e){this.ordinal=e}m.MAX_VALUE=34028235e31,g.vbr_off=new g(0),g.vbr_mt=new g(1),g.vbr_rh=new g(2),g.vbr_abr=new g(3),g.vbr_mtrh=new g(4),g.vbr_default=g.vbr_mtrh;var v=function(e){};e.exports={System:d,VbrMode:g,Float:m,ShortBlock:h,Util:p,Arrays:f,new_array_n:u,new_byte:n,new_double:i,new_float:o,new_float_n:s,new_int:a,new_int_n:c,new_short:r,new_short_n:l,assert:v}},"0366":function(e,t,n){var r=n("e330"),a=n("59ed"),o=r(r.bind);e.exports=function(e,t){return a(e),void 0===t?e:o?o(e,t):function(){return e.apply(t,arguments)}}},"04d1":function(e,t,n){var r=n("342f"),a=r.match(/firefox\/(\d+)/i);e.exports=!!a&&+a[1]},"0538":function(e,t,n){"use strict";var r=n("da84"),a=n("e330"),o=n("59ed"),i=n("861d"),s=n("1a2d"),c=n("f36a"),l=r.Function,u=a([].concat),f=a([].join),d={},p=function(e,t,n){if(!s(d,t)){for(var r=[],a=0;a<t;a++)r[a]="a["+a+"]";d[t]=l("C,a","return new C("+f(r,",")+")")}return d[t](e,n)};e.exports=l.bind||function(e){var t=o(this),n=t.prototype,r=c(arguments,1),a=function(){var n=u(r,c(arguments));return this instanceof a?p(t,n.length,n):t.apply(e,n)};return i(n)&&(a.prototype=n),a}},"057f":function(e,t,n){var r=n("c6b6"),a=n("fc6a"),o=n("241c").f,i=n("4dae"),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return o(e)}catch(t){return i(s)}};e.exports.f=function(e){return s&&"Window"==r(e)?c(e):o(a(e))}},"06cf":function(e,t,n){var r=n("83ab"),a=n("c65b"),o=n("d1e7"),i=n("5c6c"),s=n("fc6a"),c=n("a04b"),l=n("1a2d"),u=n("0cfb"),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=c(t),u)try{return f(e,t)}catch(n){}if(l(e,t))return i(!a(o.f,e,t),e[t])}},"07fa":function(e,t,n){var r=n("50c4");e.exports=function(e){return r(e.length)}},"09e6":function(e,t,n){var r=n("0206"),a=r.new_float,o=r.new_int;r.assert;function i(){this.global_gain=0,this.sfb_count1=0,this.step=o(39),this.noise=a(39),this.noise_log=a(39)}e.exports=i},"0b25":function(e,t,n){var r=n("da84"),a=n("5926"),o=n("50c4"),i=r.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=a(e),n=o(t);if(t!==n)throw i("Wrong length or index");return n}},"0b42":function(e,t,n){var r=n("da84"),a=n("e8b5"),o=n("68ee"),i=n("861d"),s=n("b622"),c=s("species"),l=r.Array;e.exports=function(e){var t;return a(e)&&(t=e.constructor,o(t)&&(t===l||a(t.prototype))?t=void 0:i(t)&&(t=t[c],null===t&&(t=void 0))),void 0===t?l:t}},"0cb2":function(e,t,n){var r=n("e330"),a=n("7b0b"),o=Math.floor,i=r("".charAt),s=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,f,d){var p=n+e.length,h=r.length,m=u;return void 0!==f&&(f=a(f),m=l),s(d,m,(function(a,s){var l;switch(i(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,p);case"<":l=f[c(s,1,-1)];break;default:var u=+s;if(0===u)return a;if(u>h){var d=o(u/10);return 0===d?a:d<=h?void 0===r[d-1]?i(s,1):r[d-1]+i(s,1):a}l=r[u-1]}return void 0===l?"":l}))}},"0ccb":function(e,t,n){var r=n("e330"),a=n("50c4"),o=n("577e"),i=n("1148"),s=n("1d80"),c=r(i),l=r("".slice),u=Math.ceil,f=function(e){return function(t,n,r){var i,f,d=o(s(t)),p=a(n),h=d.length,m=void 0===r?" ":o(r);return p<=h||""==m?d:(i=p-h,f=c(m,u(i/m.length)),f.length>i&&(f=l(f,0,i)),e?d+f:f+d)}};e.exports={start:f(!1),end:f(!0)}},"0cfb":function(e,t,n){var r=n("83ab"),a=n("d039"),o=n("cc12");e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,n){var r=n("e330"),a=n("6eeb"),o=Date.prototype,i="Invalid Date",s="toString",c=r(o[s]),l=r(o.getTime);String(new Date(NaN))!=i&&a(o,s,(function(){var e=l(this);return e===e?c(this):i}))},"0d3b":function(e,t,n){var r=n("d039"),a=n("b622"),o=n("c430"),i=a("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t["delete"]("b"),n+=r+e})),o&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},"0d51":function(e,t,n){var r=n("da84"),a=r.String;e.exports=function(e){try{return a(e)}catch(t){return"Object"}}},"107c":function(e,t,n){var r=n("d039"),a=n("da84"),o=a.RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1148:function(e,t,n){"use strict";var r=n("da84"),a=n("5926"),o=n("577e"),i=n("1d80"),s=r.RangeError;e.exports=function(e){var t=o(i(this)),n="",r=a(e);if(r<0||r==1/0)throw s("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"13d5":function(e,t,n){"use strict";var r=n("23e7"),a=n("d58f").left,o=n("a640"),i=n("2d00"),s=n("605d"),c=o("reduce"),l=!s&&i>79&&i<83;r({target:"Array",proto:!0,forced:!c||l},{reduce:function(e){var t=arguments.length;return a(this,e,t,t>1?arguments[1]:void 0)}})},1448:function(e,t,n){var r=n("dfb9"),a=n("b6b7");e.exports=function(e,t){return r(a(e),t)}},"145e":function(e,t,n){"use strict";var r=n("7b0b"),a=n("23cb"),o=n("07fa"),i=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n),c=a(e,s),l=a(t,s),u=arguments.length>2?arguments[2]:void 0,f=i((void 0===u?s:a(u,s))-l,s-c),d=1;l<c&&c<l+f&&(d=-1,l+=f-1,c+=f-1);while(f-- >0)l in n?n[c]=n[l]:delete n[c],c+=d,l+=d;return n}},"14c3":function(e,t,n){var r=n("da84"),a=n("c65b"),o=n("825a"),i=n("1626"),s=n("c6b6"),c=n("9263"),l=r.TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var r=a(n,e,t);return null!==r&&o(r),r}if("RegExp"===s(e))return a(c,e,t);throw l("RegExp#exec called on incompatible receiver")}},"159b":function(e,t,n){var r=n("da84"),a=n("fdbc"),o=n("785a"),i=n("17c2"),s=n("9112"),c=function(e){if(e&&e.forEach!==i)try{s(e,"forEach",i)}catch(t){e.forEach=i}};for(var l in a)a[l]&&c(r[l]&&r[l].prototype);c(o)},1626:function(e,t){e.exports=function(e){return"function"==typeof e}},1652:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n("254c");function a(){return function(e){this.j=[],this.T=e||null}}var o=a();o.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],r=n[0],a=n[1];if(this.test(e,r))return a}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var i=(0,r.inherits)(o,a(),{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),s=(0,r.inherits)(o,a(),{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});function c(e,t,n,r){var a=0,o=e.length,s=t,c=[],l=void 0;while(a<o&&(l=s.next(e[a])))s=l,a++;if(a>=o)return[];while(a<o-1)l=new i(r),c.push(l),s.on(e[a],l),s=l,a++;return l=new i(n),c.push(l),s.on(e[o-1],l),c}t.CharacterState=i,t.TokenState=s,t.stateify=c},"170b":function(e,t,n){"use strict";var r=n("ebb5"),a=n("50c4"),o=n("23cb"),i=n("b6b7"),s=r.aTypedArray,c=r.exportTypedArrayMethod;c("subarray",(function(e,t){var n=s(this),r=n.length,c=o(e,r),l=i(n);return new l(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,a((void 0===t?r:o(t,r))-c))}))},"17c2":function(e,t,n){"use strict";var r=n("b727").forEach,a=n("a640"),o=a("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},"182d":function(e,t,n){var r=n("da84"),a=n("f8cd"),o=r.RangeError;e.exports=function(e,t){var n=a(e);if(n%t)throw o("Wrong offset");return n}},"19aa":function(e,t,n){var r=n("da84"),a=n("3a9b"),o=r.TypeError;e.exports=function(e,t){if(a(t,e))return e;throw o("Incorrect invocation")}},"1a2d":function(e,t,n){var r=n("e330"),a=n("7b0b"),o=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(a(e),t)}},"1a98":function(e,t,n){"use strict";n.r(t),n.d(t,"detectMobile",(function(){return r}));n("e323"),n("ac1f"),n("00b4");function r(){var e=a(),t=e.substr(0,4);return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw(n|u)|c55\/|capi|ccwa|cdm|cell|chtm|cldc|cmd|co(mp|nd)|craw|da(it|ll|ng)|dbte|dcs|devi|dica|dmob|do(c|p)o|ds(12|d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(|_)|g1 u|g560|gene|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|ht(c(| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i(20|go|ma)|i230|iac( ||\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|[a-w])|libw|lynx|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|([1-8]|c))|phil|pire|pl(ay|uc)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|qc(07|12|21|32|60|[2-7]|i)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h|oo|p)|sdk\/|se(c(|0|1)|47|mc|nd|ri)|sgh|shar|sie(|m)|sk0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h|v|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl|tdg|tel(i|m)|tim|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas|your|zeto|zte/i.test(t)}function a(){var e=navigator.userAgent||navigator.vendor||window.opera||null;if(!e)throw new Error("Failed to look for user agent information.");return e}},"1be4":function(e,t,n){var r=n("d066");e.exports=r("document","documentElement")},"1c7e":function(e,t,n){var r=n("b622"),a=r("iterator"),o=!1;try{var i=0,s={next:function(){return{done:!!i++}},return:function(){o=!0}};s[a]=function(){return this},Array.from(s,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var r={};r[a]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(c){}return n}},"1cdc":function(e,t,n){var r=n("342f");e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},"1d1c":function(e,t,n){var r=n("23e7"),a=n("83ab"),o=n("37e8");r({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperties:o})},"1d80":function(e,t,n){var r=n("da84"),a=r.TypeError;e.exports=function(e){if(void 0==e)throw a("Can't call method on "+e);return e}},"1dde":function(e,t,n){var r=n("d039"),a=n("b622"),o=n("2d00"),i=a("species");e.exports=function(e){return o>=51||!r((function(){var t=[],n=t.constructor={};return n[i]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"219c":function(e,t,n){"use strict";var r=n("da84"),a=n("e330"),o=n("d039"),i=n("59ed"),s=n("addb"),c=n("ebb5"),l=n("04d1"),u=n("d998"),f=n("2d00"),d=n("512c"),p=r.Array,h=c.aTypedArray,m=c.exportTypedArrayMethod,g=r.Uint16Array,v=g&&a(g.prototype.sort),_=!!v&&!(o((function(){v(new g(2),null)}))&&o((function(){v(new g(2),{})}))),b=!!v&&!o((function(){if(f)return f<74;if(l)return l<67;if(u)return!0;if(d)return d<602;var e,t,n=new g(516),r=p(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(v(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0})),y=function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!==n?-1:t!==t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}};m("sort",(function(e){return void 0!==e&&i(e),b?v(this,e):s(h(this),y(e))}),!b||_)},2266:function(e,t,n){var r=n("da84"),a=n("0366"),o=n("c65b"),i=n("825a"),s=n("0d51"),c=n("e95a"),l=n("07fa"),u=n("3a9b"),f=n("9a1f"),d=n("35a1"),p=n("2a62"),h=r.TypeError,m=function(e,t){this.stopped=e,this.result=t},g=m.prototype;e.exports=function(e,t,n){var r,v,_,b,y,x,w,k=n&&n.that,S=!(!n||!n.AS_ENTRIES),M=!(!n||!n.IS_ITERATOR),A=!(!n||!n.INTERRUPTED),R=a(t,k),E=function(e){return r&&p(r,"normal",e),new m(!0,e)},T=function(e){return S?(i(e),A?R(e[0],e[1],E):R(e[0],e[1])):A?R(e,E):R(e)};if(M)r=e;else{if(v=d(e),!v)throw h(s(e)+" is not iterable");if(c(v)){for(_=0,b=l(e);b>_;_++)if(y=T(e[_]),y&&u(g,y))return y;return new m(!1)}r=f(e,v)}x=r.next;while(!(w=o(x,r)).done){try{y=T(w.value)}catch(O){p(r,"throw",O)}if("object"==typeof y&&y&&u(g,y))return y}return new m(!1)}},2315:function(e,t,n){"use strict";var r=n("23e7"),a=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("strike")},{strike:function(){return a(this,"strike","","")}})},"23cb":function(e,t,n){var r=n("5926"),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},"23e7":function(e,t,n){var r=n("da84"),a=n("06cf").f,o=n("9112"),i=n("6eeb"),s=n("ce4e"),c=n("e893"),l=n("94ca");e.exports=function(e,t){var n,u,f,d,p,h,m=e.target,g=e.global,v=e.stat;if(u=g?r:v?r[m]||s(m,{}):(r[m]||{}).prototype,u)for(f in t){if(p=t[f],e.noTargetGet?(h=a(u,f),d=h&&h.value):d=u[f],n=l(g?f:m+(v?".":"#")+f,e.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),i(u,f,p,e)}}},"241c":function(e,t,n){var r=n("ca84"),a=n("7839"),o=a.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},2466:function(e,t){function n(){this.sum=0,this.seen=0,this.want=0,this.pos=0,this.size=0,this.bag=null,this.nVbrNumFrames=0,this.nBytesWritten=0,this.TotalFrameSize=0}e.exports=n},2474:function(e,t,n){var r=n("0206"),a=(r.System,r.VbrMode),o=r.Float,i=r.ShortBlock,s=r.Util,c=r.Arrays,l=(r.new_array_n,r.new_byte,r.new_double,r.new_float),u=r.new_float_n,f=r.new_int,d=(r.new_int_n,r.assert),p=n("8100"),h=n("4b5e");function m(){var e=new p,t=2.302585092994046,n=2,r=16,m=2,g=16,v=.34,_=1/217621504/(h.BLKSIZE/2),b=.01,y=.8,x=.6,w=.3,k=3.5,S=21,M=.2302585093;function A(e){return e}function R(e,t){for(var n=0,r=0;r<h.BLKSIZE/2;++r)n+=e[r]*t.ATH.eql_w[r];return n*=_,n}function E(t,n,r,a,o,i,c,l,u,f,d){var p=t.internal_flags;if(u<2)e.fft_long(p,a[o],u,f,d),e.fft_short(p,i[c],u,f,d);else if(2==u){for(var m=h.BLKSIZE-1;m>=0;--m){var g=a[o+0][m],v=a[o+1][m];a[o+0][m]=(g+v)*s.SQRT2*.5,a[o+1][m]=(g-v)*s.SQRT2*.5}for(var _=2;_>=0;--_)for(m=h.BLKSIZE_s-1;m>=0;--m){g=i[c+0][_][m],v=i[c+1][_][m];i[c+0][_][m]=(g+v)*s.SQRT2*.5,i[c+1][_][m]=(g-v)*s.SQRT2*.5}}n[0]=A(a[o+0][0]),n[0]*=n[0];for(m=h.BLKSIZE/2-1;m>=0;--m){var b=a[o+0][h.BLKSIZE/2-m],y=a[o+0][h.BLKSIZE/2+m];n[h.BLKSIZE/2-m]=A(.5*(b*b+y*y))}for(_=2;_>=0;--_){r[_][0]=i[c+0][_][0],r[_][0]*=r[_][0];for(m=h.BLKSIZE_s/2-1;m>=0;--m){b=i[c+0][_][h.BLKSIZE_s/2-m],y=i[c+0][_][h.BLKSIZE_s/2+m];r[_][h.BLKSIZE_s/2-m]=A(.5*(b*b+y*y))}}var x=0;for(m=11;m<h.HBLKSIZE;m++)x+=n[m];if(p.tot_ener[u]=x,t.analysis){for(m=0;m<h.HBLKSIZE;m++)p.pinfo.energy[l][u][m]=p.pinfo.energy_save[u][m],p.pinfo.energy_save[u][m]=n[m];p.pinfo.pe[l][u]=p.pe[u]}2==t.athaa_loudapprox&&u<2&&(p.loudness_sq[l][u]=p.loudness_sq_save[u],p.loudness_sq_save[u]=R(n,p))}var T,O,B,I=8,L=23,j=15,P=[1,.79433,.63096,.63096,.63096,.63096,.63096,.25119,.11749];function C(){T=Math.pow(10,(I+1)/16),O=Math.pow(10,(L+1)/16),B=Math.pow(10,j/10)}var N=[3.3246*3.3246,3.23837*3.23837,9.9500500969,9.0247369744,8.1854926609,7.0440875649,2.46209*2.46209,2.284*2.284,4.4892710641,1.96552*1.96552,1.82335*1.82335,1.69146*1.69146,2.4621061921,2.1508568964,1.37074*1.37074,1.31036*1.31036,1.5691069696,1.4555939904,1.16203*1.16203,1.2715945225,1.09428*1.09428,1.0659*1.0659,1.0779838276,1.0382591025,1],H=[1.7782755904,1.35879*1.35879,1.38454*1.38454,1.39497*1.39497,1.40548*1.40548,1.3537*1.3537,1.6999465924,1.22321*1.22321,1.3169398564,1],D=[5.5396212496,2.29259*2.29259,4.9868695969,2.12675*2.12675,2.02545*2.02545,1.87894*1.87894,1.74303*1.74303,1.61695*1.61695,2.2499700001,1.39148*1.39148,1.29083*1.29083,1.19746*1.19746,1.2339655056,1.0779838276];function U(e,t,n,r,a,o){var i;if(t>e){if(!(t<e*O))return e+t;i=t/e}else{if(e>=t*O)return e+t;i=e/t}if(d(e>=0),d(t>=0),e+=t,r+3<=6){if(i>=T)return e;var c=0|s.FAST_LOG10_X(i,16);return e*H[c]}var l,u;c=0|s.FAST_LOG10_X(i,16);return t=0!=o?a.ATH.cb_s[n]*a.ATH.adjust:a.ATH.cb_l[n]*a.ATH.adjust,d(t>=0),e<B*t?e>t?(l=1,c<=13&&(l=D[c]),u=s.FAST_LOG10_X(e/t,10/15),e*((N[c]-l)*u+l)):c>13?e:e*D[c]:e*N[c]}var F=[1.7782755904,1.35879*1.35879,1.38454*1.38454,1.39497*1.39497,1.40548*1.40548,1.3537*1.3537,1.6999465924,1.22321*1.22321,1.3169398564,1];function V(e,t,n){var r;if(e<0&&(e=0),t<0&&(t=0),e<=0)return t;if(t<=0)return e;if(r=t>e?t/e:e/t,-2<=n&&n<=2){if(r>=T)return e+t;var a=0|s.FAST_LOG10_X(r,16);return(e+t)*F[a]}return r<O?e+t:(e<t&&(e=t),e)}function q(e,t){var n=e.internal_flags;if(n.channels_out>1){for(var r=0;r<h.SBMAX_l;r++){var a=n.thm[0].l[r],o=n.thm[1].l[r];n.thm[0].l[r]+=o*t,n.thm[1].l[r]+=a*t}for(r=0;r<h.SBMAX_s;r++)for(var i=0;i<3;i++){a=n.thm[0].s[r][i],o=n.thm[1].s[r][i];n.thm[0].s[r][i]+=o*t,n.thm[1].s[r][i]+=a*t}}}function z(e){for(var t=0;t<h.SBMAX_l;t++)if(!(e.thm[0].l[t]>1.58*e.thm[1].l[t]||e.thm[1].l[t]>1.58*e.thm[0].l[t])){var n=e.mld_l[t]*e.en[3].l[t],r=Math.max(e.thm[2].l[t],Math.min(e.thm[3].l[t],n));n=e.mld_l[t]*e.en[2].l[t];var a=Math.max(e.thm[3].l[t],Math.min(e.thm[2].l[t],n));e.thm[2].l[t]=r,e.thm[3].l[t]=a}for(t=0;t<h.SBMAX_s;t++)for(var o=0;o<3;o++)if(!(e.thm[0].s[t][o]>1.58*e.thm[1].s[t][o]||e.thm[1].s[t][o]>1.58*e.thm[0].s[t][o])){n=e.mld_s[t]*e.en[3].s[t][o],r=Math.max(e.thm[2].s[t][o],Math.min(e.thm[3].s[t][o],n));n=e.mld_s[t]*e.en[2].s[t][o];a=Math.max(e.thm[3].s[t][o],Math.min(e.thm[2].s[t][o],n));e.thm[2].s[t][o]=r,e.thm[3].s[t][o]=a}}function $(e,t,n){var r=t,a=Math.pow(10,n);t*=2,r*=2;for(var o=0;o<h.SBMAX_l;o++){if(f=e.ATH.cb_l[e.bm_l[o]]*a,c=Math.min(Math.max(e.thm[0].l[o],f),Math.max(e.thm[1].l[o],f)),l=Math.max(e.thm[2].l[o],f),u=Math.max(e.thm[3].l[o],f),c*t<l+u){var i=c*r/(l+u);l*=i,u*=i,d(l+u>0)}e.thm[2].l[o]=Math.min(l,e.thm[2].l[o]),e.thm[3].l[o]=Math.min(u,e.thm[3].l[o])}a*=h.BLKSIZE_s/h.BLKSIZE;for(o=0;o<h.SBMAX_s;o++)for(var s=0;s<3;s++){var c,l,u,f;if(f=e.ATH.cb_s[e.bm_s[o]]*a,c=Math.min(Math.max(e.thm[0].s[o][s],f),Math.max(e.thm[1].s[o][s],f)),l=Math.max(e.thm[2].s[o][s],f),u=Math.max(e.thm[3].s[o][s],f),c*t<l+u){i=c*t/(l+u);l*=i,u*=i,d(l+u>0)}e.thm[2].s[o][s]=Math.min(e.thm[2].s[o][s],l),e.thm[3].s[o][s]=Math.min(e.thm[3].s[o][s],u)}}function Y(e,t,n,r,a){var o,i,s=0,c=0;for(o=i=0;o<h.SBMAX_s;++i,++o){var l=e.bo_s[o],u=e.npart_s,f=l<u?l:u;while(i<f)d(t[i]>=0),d(n[i]>=0),s+=t[i],c+=n[i],i++;if(e.en[r].s[o][a]=s,e.thm[r].s[o][a]=c,i>=u){++o;break}d(t[i]>=0),d(n[i]>=0);var p=e.PSY.bo_s_weight[o],m=1-p;s=p*t[i],c=p*n[i],e.en[r].s[o][a]+=s,e.thm[r].s[o][a]+=c,s=m*t[i],c=m*n[i]}for(;o<h.SBMAX_s;++o)e.en[r].s[o][a]=0,e.thm[r].s[o][a]=0}function X(e,t,n,r){var a,o,i=0,s=0;for(a=o=0;a<h.SBMAX_l;++o,++a){var c=e.bo_l[a],l=e.npart_l,u=c<l?c:l;while(o<u)d(t[o]>=0),d(n[o]>=0),i+=t[o],s+=n[o],o++;if(e.en[r].l[a]=i,e.thm[r].l[a]=s,o>=l){++a;break}d(t[o]>=0),d(n[o]>=0);var f=e.PSY.bo_l_weight[a],p=1-f;i=f*t[o],s=f*n[o],e.en[r].l[a]+=i,e.thm[r].l[a]+=s,i=p*t[o],s=p*n[o]}for(;a<h.SBMAX_l;++a)e.en[r].l[a]=0,e.thm[r].l[a]=0}function G(e,t,n,r,a,o){var i,s,c=e.internal_flags;for(s=i=0;s<c.npart_s;++s){for(var l=0,u=0,f=c.numlines_s[s],p=0;p<f;++p,++i){var v=t[o][i];l+=v,u<v&&(u=v)}n[s]=l}for(d(s==c.npart_s),d(129==i),i=s=0;s<c.npart_s;s++){var _=c.s3ind_s[s][0],b=c.s3_ss[i++]*n[_];++_;while(_<=c.s3ind_s[s][1])b+=c.s3_ss[i]*n[_],++i,++_;var y=m*c.nb_s1[a][s];if(r[s]=Math.min(b,y),c.blocktype_old[1&a]==h.SHORT_TYPE){y=g*c.nb_s2[a][s];var x=r[s];r[s]=Math.min(y,x)}c.nb_s2[a][s]=c.nb_s1[a][s],c.nb_s1[a][s]=b,d(r[s]>=0)}for(;s<=h.CBANDS;++s)n[s]=0,r[s]=0}function K(e,t,n,r){var a=e.internal_flags;e.short_blocks!=i.short_block_coupled||0!=t[0]&&0!=t[1]||(t[0]=t[1]=0);for(var o=0;o<a.channels_out;o++)r[o]=h.NORM_TYPE,e.short_blocks==i.short_block_dispensed&&(t[o]=1),e.short_blocks==i.short_block_forced&&(t[o]=0),0!=t[o]?(d(a.blocktype_old[o]!=h.START_TYPE),a.blocktype_old[o]==h.SHORT_TYPE&&(r[o]=h.STOP_TYPE)):(r[o]=h.SHORT_TYPE,a.blocktype_old[o]==h.NORM_TYPE&&(a.blocktype_old[o]=h.START_TYPE),a.blocktype_old[o]==h.STOP_TYPE&&(a.blocktype_old[o]=h.SHORT_TYPE)),n[o]=a.blocktype_old[o],a.blocktype_old[o]=r[o]}function Z(e,t,n){return n>=1?e:n<=0?t:t>0?Math.pow(e/t,n)*t:0}var W=[11.8,13.6,17.2,32,46.5,51.3,57.5,67.1,71.5,84.6,97.6,130];function Q(e,n){for(var r=309.07,a=0;a<h.SBMAX_s-1;a++)for(var o=0;o<3;o++){var i=e.thm.s[a][o];if(d(a<W.length),i>0){var c=i*n,l=e.en.s[a][o];l>c&&(l>1e10*c?r+=W[a]*(10*t):(d(c>0),r+=W[a]*s.FAST_LOG10(l/c)))}}return r}var J=[6.8,5.8,5.8,6.4,6.5,9.9,12.1,14.4,15,18.9,21.6,26.9,34.2,40.2,46.8,56.5,60.7,73.9,85.7,93.4,126.1];function ee(e,n){for(var r=281.0575,a=0;a<h.SBMAX_l-1;a++){var o=e.thm.l[a];if(d(a<J.length),o>0){var i=o*n,c=e.en.l[a];c>i&&(c>1e10*i?r+=J[a]*(10*t):(d(i>0),r+=J[a]*s.FAST_LOG10(c/i)))}}return r}function te(e,t,n,r,a){var o,i;for(o=i=0;o<e.npart_l;++o){var s,c=0,l=0;for(s=0;s<e.numlines_l[o];++s,++i){var u=t[i];d(u>=0),c+=u,l<u&&(l=u)}n[o]=c,r[o]=l,a[o]=c*e.rnumlines_l[o],d(e.rnumlines_l[o]>=0),d(c>=0),d(n[o]>=0),d(r[o]>=0),d(a[o]>=0)}}function ne(e,t,n,r){var a=P.length-1,o=0,i=n[o]+n[o+1];if(d(i>=0),i>0){var s=t[o];s<t[o+1]&&(s=t[o+1]),d(e.numlines_l[o]+e.numlines_l[o+1]-1>0),i=20*(2*s-i)/(i*(e.numlines_l[o]+e.numlines_l[o+1]-1));var c=0|i;c>a&&(c=a),r[o]=c}else r[o]=0;for(o=1;o<e.npart_l-1;o++)if(i=n[o-1]+n[o]+n[o+1],d(i>=0),i>0){s=t[o-1];s<t[o]&&(s=t[o]),s<t[o+1]&&(s=t[o+1]),d(e.numlines_l[o-1]+e.numlines_l[o]+e.numlines_l[o+1]-1>0),i=20*(3*s-i)/(i*(e.numlines_l[o-1]+e.numlines_l[o]+e.numlines_l[o+1]-1));c=0|i;c>a&&(c=a),r[o]=c}else r[o]=0;if(d(o>0),d(o==e.npart_l-1),i=n[o-1]+n[o],d(i>=0),i>0){s=t[o-1];s<t[o]&&(s=t[o]),d(e.numlines_l[o-1]+e.numlines_l[o]-1>0),i=20*(2*s-i)/(i*(e.numlines_l[o-1]+e.numlines_l[o]-1));c=0|i;c>a&&(c=a),r[o]=c}else r[o]=0;d(o==e.npart_l-1)}var re=[-1730326e-23,-.01703172,-1349528e-23,.0418072,-673278e-22,-.0876324,-30835e-21,.1863476,-1104424e-22,-.627638];function ae(t,n,r,a,o,i,c,l){var u=t.internal_flags;if(a<2)e.fft_long(u,c[l],a,n,r);else if(2==a)for(var f=h.BLKSIZE-1;f>=0;--f){var d=c[l+0][f],p=c[l+1][f];c[l+0][f]=(d+p)*s.SQRT2*.5,c[l+1][f]=(d-p)*s.SQRT2*.5}i[0]=A(c[l+0][0]),i[0]*=i[0];for(f=h.BLKSIZE/2-1;f>=0;--f){var m=c[l+0][h.BLKSIZE/2-f],g=c[l+0][h.BLKSIZE/2+f];i[h.BLKSIZE/2-f]=A(.5*(m*m+g*g))}var v=0;for(f=11;f<h.HBLKSIZE;f++)v+=i[f];if(u.tot_ener[a]=v,t.analysis){for(f=0;f<h.HBLKSIZE;f++)u.pinfo.energy[o][a][f]=u.pinfo.energy_save[a][f],u.pinfo.energy_save[a][f]=i[f];u.pinfo.pe[o][a]=u.pe[a]}}function oe(t,n,r,a,o,i,c,l){var u=t.internal_flags;if(0==o&&a<2&&e.fft_short(u,c[l],a,n,r),2==a)for(var f=h.BLKSIZE_s-1;f>=0;--f){var d=c[l+0][o][f],p=c[l+1][o][f];c[l+0][o][f]=(d+p)*s.SQRT2*.5,c[l+1][o][f]=(d-p)*s.SQRT2*.5}i[o][0]=c[l+0][o][0],i[o][0]*=i[o][0];for(f=h.BLKSIZE_s/2-1;f>=0;--f){var m=c[l+0][o][h.BLKSIZE_s/2-f],g=c[l+0][o][h.BLKSIZE_s/2+f];i[o][h.BLKSIZE_s/2-f]=A(.5*(m*m+g*g))}}function ie(e,t,n,r){var a=e.internal_flags;2==e.athaa_loudapprox&&n<2&&(a.loudness_sq[t][n]=a.loudness_sq_save[n],a.loudness_sq_save[n]=R(r,a))}this.L3psycho_anal_ns=function(e,t,o,i,s,p,m,g,v,_){var b,k,M,A,R,T,O,B,I,L,j=e.internal_flags,C=u([2,h.BLKSIZE]),N=u([2,3,h.BLKSIZE_s]),H=l(h.CBANDS+1),D=l(h.CBANDS+1),F=l(h.CBANDS+2),V=f(2),W=f(2),J=u([2,576]),ae=f(h.CBANDS+2),oe=f(h.CBANDS+2);for(c.fill(oe,0),b=j.channels_out,e.mode==MPEGMode.JOINT_STEREO&&(b=4),I=e.VBR==a.vbr_off?0==j.ResvMax?0:j.ResvSize/j.ResvMax*.5:e.VBR==a.vbr_rh||e.VBR==a.vbr_mtrh||e.VBR==a.vbr_mt?.6:1,k=0;k<j.channels_out;k++){var ie=t[k],se=o+576-350-S+192;for(d(re.length==(S-1)/2),A=0;A<576;A++){var ce,le;for(ce=ie[se+A+10],le=0,R=0;R<(S-1)/2-1;R+=2)ce+=re[R]*(ie[se+A+R]+ie[se+A+S-R]),le+=re[R+1]*(ie[se+A+R+1]+ie[se+A+S-R-1]);J[k][A]=ce+le}s[i][k].en.assign(j.en[k]),s[i][k].thm.assign(j.thm[k]),b>2&&(p[i][k].en.assign(j.en[k+2]),p[i][k].thm.assign(j.thm[k+2]))}for(k=0;k<b;k++){var ue,fe,de,pe=l(12),he=[0,0,0,0],me=l(12),ge=1,ve=l(h.CBANDS),_e=l(h.CBANDS),be=[0,0,0,0],ye=l(h.HBLKSIZE),xe=u([3,h.HBLKSIZE_s]);for(d(j.npart_s<=h.CBANDS),d(j.npart_l<=h.CBANDS),A=0;A<3;A++)pe[A]=j.nsPsy.last_en_subshort[k][A+6],d(j.nsPsy.last_en_subshort[k][A+4]>0),me[A]=pe[A]/j.nsPsy.last_en_subshort[k][A+4],he[0]+=pe[A];if(2==k)for(A=0;A<576;A++){var we,ke;we=J[0][A],ke=J[1][A],J[0][A]=we+ke,J[1][A]=we-ke}var Se=J[1&k],Me=0;for(A=0;A<9;A++){for(var Ae=Me+64,Re=1;Me<Ae;Me++)Re<Math.abs(Se[Me])&&(Re=Math.abs(Se[Me]));j.nsPsy.last_en_subshort[k][A]=pe[A+3]=Re,he[1+A/3]+=Re,Re>pe[A+3-2]?(d(pe[A+3-2]>0),Re/=pe[A+3-2]):pe[A+3-2]>10*Re?(d(Re>0),Re=pe[A+3-2]/(10*Re)):Re=0,me[A+3]=Re}if(e.analysis){var Ee=me[0];for(A=1;A<12;A++)Ee<me[A]&&(Ee=me[A]);j.pinfo.ers[i][k]=j.pinfo.ers_save[k],j.pinfo.ers_save[k]=Ee}for(de=3==k?j.nsPsy.attackthre_s:j.nsPsy.attackthre,A=0;A<12;A++)0==be[A/3]&&me[A]>de&&(be[A/3]=A%3+1);for(A=1;A<4;A++){var Te;he[A-1]>he[A]?(d(he[A]>0),Te=he[A-1]/he[A]):(d(he[A-1]>0),Te=he[A]/he[A-1]),Te<1.7&&(be[A]=0,1==A&&(be[0]=0))}for(0!=be[0]&&0!=j.nsPsy.lastAttacks[k]&&(be[0]=0),3!=j.nsPsy.lastAttacks[k]&&be[0]+be[1]+be[2]+be[3]==0||(ge=0,0!=be[1]&&0!=be[0]&&(be[1]=0),0!=be[2]&&0!=be[1]&&(be[2]=0),0!=be[3]&&0!=be[2]&&(be[3]=0)),k<2?W[k]=ge:0==ge&&(W[0]=W[1]=0),v[k]=j.tot_ener[k],fe=N,ue=C,E(e,ye,xe,ue,1&k,fe,1&k,i,k,t,o),te(j,ye,H,ve,_e),ne(j,ve,_e,ae),B=0;B<3;B++){var Oe,Be;for(G(e,xe,D,F,k,B),Y(j,D,F,k,B),O=0;O<h.SBMAX_s;O++){if(Be=j.thm[k].s[O][B],Be*=y,be[B]>=2||1==be[B+1]){var Ie=0!=B?B-1:2;Re=Z(j.thm[k].s[O][Ie],Be,x*I);Be=Math.min(Be,Re)}if(1==be[B]){Ie=0!=B?B-1:2,Re=Z(j.thm[k].s[O][Ie],Be,w*I);Be=Math.min(Be,Re)}else if(0!=B&&3==be[B-1]||0==B&&3==j.nsPsy.lastAttacks[k]){Ie=2!=B?B+1:0,Re=Z(j.thm[k].s[O][Ie],Be,w*I);Be=Math.min(Be,Re)}Oe=pe[3*B+3]+pe[3*B+4]+pe[3*B+5],6*pe[3*B+5]<Oe&&(Be*=.5,6*pe[3*B+4]<Oe&&(Be*=.5)),j.thm[k].s[O][B]=Be}}for(j.nsPsy.lastAttacks[k]=be[2],T=0,M=0;M<j.npart_l;M++){var Le=j.s3ind[M][0],je=H[Le]*P[ae[Le]],Pe=j.s3_ll[T++]*je;while(++Le<=j.s3ind[M][1])je=H[Le]*P[ae[Le]],Pe=U(Pe,j.s3_ll[T++]*je,Le,Le-M,j,0);Pe*=.158489319246111,j.blocktype_old[1&k]==h.SHORT_TYPE?F[M]=Pe:F[M]=Z(Math.min(Pe,Math.min(n*j.nb_1[k][M],r*j.nb_2[k][M])),Pe,I),j.nb_2[k][M]=j.nb_1[k][M],j.nb_1[k][M]=Pe}for(;M<=h.CBANDS;++M)H[M]=0,F[M]=0;X(j,H,F,k)}(e.mode!=MPEGMode.STEREO&&e.mode!=MPEGMode.JOINT_STEREO||e.interChRatio>0&&q(e,e.interChRatio),e.mode==MPEGMode.JOINT_STEREO)&&(z(j),L=e.msfix,Math.abs(L)>0&&$(j,L,e.ATHlower*j.ATH.adjust));for(K(e,W,_,V),k=0;k<b;k++){var Ce,Ne,He,De=0;k>1?(Ce=g,De=-2,Ne=h.NORM_TYPE,_[0]!=h.SHORT_TYPE&&_[1]!=h.SHORT_TYPE||(Ne=h.SHORT_TYPE),He=p[i][k-2]):(Ce=m,De=0,Ne=_[k],He=s[i][k]),Ne==h.SHORT_TYPE?Ce[De+k]=Q(He,j.masking_lower):Ce[De+k]=ee(He,j.masking_lower),e.analysis&&(j.pinfo.pe[i][k]=Ce[De+k])}return 0};var se=[-1730326e-23,-.01703172,-1349528e-23,.0418072,-673278e-22,-.0876324,-30835e-21,.1863476,-1104424e-22,-.627638];function ce(e,t,n,r,a,o,i,s,c,f){for(var p=u([2,576]),h=e.internal_flags,m=h.channels_out,g=e.mode==MPEGMode.JOINT_STEREO?4:m,v=0;v<m;v++){firbuf=t[v];var _=n+576-350-S+192;d(se.length==(S-1)/2);for(var b=0;b<576;b++){var y,x;y=firbuf[_+b+10],x=0;for(var w=0;w<(S-1)/2-1;w+=2)y+=se[w]*(firbuf[_+b+w]+firbuf[_+b+S-w]),x+=se[w+1]*(firbuf[_+b+w+1]+firbuf[_+b+S-w-1]);p[v][b]=y+x}a[r][v].en.assign(h.en[v]),a[r][v].thm.assign(h.thm[v]),g>2&&(o[r][v].en.assign(h.en[v+2]),o[r][v].thm.assign(h.thm[v+2]))}for(v=0;v<g;v++){var k=l(12),M=l(12),A=[0,0,0,0],R=p[1&v],E=0,T=3==v?h.nsPsy.attackthre_s:h.nsPsy.attackthre,O=1;if(2==v)for(b=0,w=576;w>0;++b,--w){var B=p[0][b],I=p[1][b];p[0][b]=B+I,p[1][b]=B-I}for(b=0;b<3;b++)M[b]=h.nsPsy.last_en_subshort[v][b+6],d(h.nsPsy.last_en_subshort[v][b+4]>0),k[b]=M[b]/h.nsPsy.last_en_subshort[v][b+4],A[0]+=M[b];for(b=0;b<9;b++){for(var L=E+64,j=1;E<L;E++)j<Math.abs(R[E])&&(j=Math.abs(R[E]));h.nsPsy.last_en_subshort[v][b]=M[b+3]=j,A[1+b/3]+=j,j>M[b+3-2]?(d(M[b+3-2]>0),j/=M[b+3-2]):M[b+3-2]>10*j?(d(j>0),j=M[b+3-2]/(10*j)):j=0,k[b+3]=j}for(b=0;b<3;++b){var P=M[3*b+3]+M[3*b+4]+M[3*b+5],C=1;6*M[3*b+5]<P&&(C*=.5,6*M[3*b+4]<P&&(C*=.5)),s[v][b]=C}if(e.analysis){var N=k[0];for(b=1;b<12;b++)N<k[b]&&(N=k[b]);h.pinfo.ers[r][v]=h.pinfo.ers_save[v],h.pinfo.ers_save[v]=N}for(b=0;b<12;b++)0==c[v][b/3]&&k[b]>T&&(c[v][b/3]=b%3+1);for(b=1;b<4;b++){var H=A[b-1],D=A[b],U=Math.max(H,D);U<4e4&&H<1.7*D&&D<1.7*H&&(1==b&&c[v][0]<=c[v][b]&&(c[v][0]=0),c[v][b]=0)}c[v][0]<=h.nsPsy.lastAttacks[v]&&(c[v][0]=0),3!=h.nsPsy.lastAttacks[v]&&c[v][0]+c[v][1]+c[v][2]+c[v][3]==0||(O=0,0!=c[v][1]&&0!=c[v][0]&&(c[v][1]=0),0!=c[v][2]&&0!=c[v][1]&&(c[v][2]=0),0!=c[v][3]&&0!=c[v][2]&&(c[v][3]=0)),v<2?f[v]=O:0==O&&(f[0]=f[1]=0),i[v]=h.tot_ener[v]}}function le(e,t,n){if(0==n)for(var r=0;r<e.npart_s;r++)e.nb_s2[t][r]=e.nb_s1[t][r],e.nb_s1[t][r]=0}function ue(e,t){for(var n=0;n<e.npart_l;n++)e.nb_2[t][n]=e.nb_1[t][n],e.nb_1[t][n]=0}function fe(e,t,n,r){var a=P.length-1,o=0,i=n[o]+n[o+1];if(d(i>=0),i>0){var s=t[o];s<t[o+1]&&(s=t[o+1]),d(e.numlines_s[o]+e.numlines_s[o+1]-1>0),i=20*(2*s-i)/(i*(e.numlines_s[o]+e.numlines_s[o+1]-1));var c=0|i;c>a&&(c=a),r[o]=c}else r[o]=0;for(o=1;o<e.npart_s-1;o++)if(i=n[o-1]+n[o]+n[o+1],d(o+1<e.npart_s),d(i>=0),i>0){s=t[o-1];s<t[o]&&(s=t[o]),s<t[o+1]&&(s=t[o+1]),d(e.numlines_s[o-1]+e.numlines_s[o]+e.numlines_s[o+1]-1>0),i=20*(3*s-i)/(i*(e.numlines_s[o-1]+e.numlines_s[o]+e.numlines_s[o+1]-1));c=0|i;c>a&&(c=a),r[o]=c}else r[o]=0;if(d(o>0),d(o==e.npart_s-1),i=n[o-1]+n[o],d(i>=0),i>0){s=t[o-1];s<t[o]&&(s=t[o]),d(e.numlines_s[o-1]+e.numlines_s[o]-1>0),i=20*(2*s-i)/(i*(e.numlines_s[o-1]+e.numlines_s[o]-1));c=0|i;c>a&&(c=a),r[o]=c}else r[o]=0;d(o==e.npart_s-1)}function de(e,t,n,r,a,o){var i,s,c,u=e.internal_flags,f=new float[h.CBANDS],p=l(h.CBANDS),m=new int[h.CBANDS];for(c=s=0;c<u.npart_s;++c){var g=0,v=0,_=u.numlines_s[c];for(i=0;i<_;++i,++s){var b=t[o][s];g+=b,v<b&&(v=b)}n[c]=g,d(g>=0),f[c]=v,d(_>0),p[c]=g/_,d(p[c]>=0)}for(d(c==u.npart_s),d(129==s);c<h.CBANDS;++c)f[c]=0,p[c]=0;for(fe(u,f,p,m),s=c=0;c<u.npart_s;c++){var y,x,w,k,S,M=u.s3ind_s[c][0],A=u.s3ind_s[c][1];y=m[M],x=1,k=u.s3_ss[s]*n[M]*P[m[M]],++s,++M;while(M<=A)y+=m[M],x+=1,w=u.s3_ss[s]*n[M]*P[m[M]],k=V(k,w,M-c),++s,++M;y=(1+2*y)/(2*x),S=.5*P[y],k*=S,r[c]=k,u.nb_s2[a][c]=u.nb_s1[a][c],u.nb_s1[a][c]=k,w=f[c],w*=u.minval_s[c],w*=S,r[c]>w&&(r[c]=w),u.masking_lower>1&&(r[c]*=u.masking_lower),r[c]>n[c]&&(r[c]=n[c]),u.masking_lower<1&&(r[c]*=u.masking_lower),d(r[c]>=0)}for(;c<h.CBANDS;++c)n[c]=0,r[c]=0}function pe(e,t,a,o,i){var s,c=l(h.CBANDS),u=l(h.CBANDS),p=f(h.CBANDS+2);te(e,t,a,c,u),ne(e,c,u,p);var m=0;for(s=0;s<e.npart_l;s++){var g,v,_,b,y=e.s3ind[s][0],x=e.s3ind[s][1],k=0,S=0;k=p[y],S+=1,v=e.s3_ll[m]*a[y]*P[p[y]],++m,++y;while(y<=x)k+=p[y],S+=1,g=e.s3_ll[m]*a[y]*P[p[y]],b=V(v,g,y-s),v=b,++m,++y;if(k=(1+2*k)/(2*S),_=.5*P[k],v*=_,e.blocktype_old[1&i]==h.SHORT_TYPE){var M=n*e.nb_1[i][s];o[s]=M>0?Math.min(v,M):Math.min(v,a[s]*w)}else{var A=r*e.nb_2[i][s],R=n*e.nb_1[i][s];A<=0&&(A=v),R<=0&&(R=v),M=e.blocktype_old[1&i]==h.NORM_TYPE?Math.min(R,A):R,o[s]=Math.min(v,M)}e.nb_2[i][s]=e.nb_1[i][s],e.nb_1[i][s]=v,g=c[s],g*=e.minval_l[s],g*=_,o[s]>g&&(o[s]=g),e.masking_lower>1&&(o[s]*=e.masking_lower),o[s]>a[s]&&(o[s]=a[s]),e.masking_lower<1&&(o[s]*=e.masking_lower),d(o[s]>=0)}for(;s<h.CBANDS;++s)a[s]=0,o[s]=0}function he(e,t){var n=e.internal_flags;e.short_blocks!=i.short_block_coupled||0!=t[0]&&0!=t[1]||(t[0]=t[1]=0);for(var r=0;r<n.channels_out;r++)e.short_blocks==i.short_block_dispensed&&(t[r]=1),e.short_blocks==i.short_block_forced&&(t[r]=0)}function me(e,t,n){for(var r=e.internal_flags,a=0;a<r.channels_out;a++){var o=h.NORM_TYPE;0!=t[a]?(d(r.blocktype_old[a]!=h.START_TYPE),r.blocktype_old[a]==h.SHORT_TYPE&&(o=h.STOP_TYPE)):(o=h.SHORT_TYPE,r.blocktype_old[a]==h.NORM_TYPE&&(r.blocktype_old[a]=h.START_TYPE),r.blocktype_old[a]==h.STOP_TYPE&&(r.blocktype_old[a]=h.SHORT_TYPE)),n[a]=r.blocktype_old[a],r.blocktype_old[a]=o}}function ge(e,t,n,r,a,o,i){for(var s,c,l=2*o,u=o>0?Math.pow(10,a):1,f=0;f<i;++f){var p=e[2][f],h=e[3][f],m=t[0][f],g=t[1][f],v=t[2][f],_=t[3][f];if(m<=1.58*g&&g<=1.58*m){var b=n[f]*h,y=n[f]*p;c=Math.max(v,Math.min(_,b)),s=Math.max(_,Math.min(v,y))}else c=v,s=_;if(o>0){var x,w,k=r[f]*u;if(x=Math.min(Math.max(m,k),Math.max(g,k)),v=Math.max(c,k),_=Math.max(s,k),w=v+_,w>0&&x*l<w){var S=x*l/w;v*=S,_*=S,d(w>0)}c=Math.min(v,c),s=Math.min(_,s)}c>p&&(c=p),s>h&&(s=h),t[2][f]=c,t[3][f]=s}}function ve(e,t){var n,r=e;return n=r>=0?27*-r:r*t,n<=-72?0:Math.exp(n*M)}function _e(e){var t=0,n=0,r=0;for(r=0;ve(r,e)>1e-20;r-=1);a=r,o=0;while(Math.abs(o-a)>1e-12)r=(o+a)/2,ve(r,e)>0?o=r:a=r;t=a;var a,o;r=0;for(r=0;ve(r,e)>1e-20;r+=1);a=0,o=r;while(Math.abs(o-a)>1e-12)r=(o+a)/2,ve(r,e)>0?a=r:o=r;n=o;var i,s=0,c=1e3;for(i=0;i<=c;++i){r=t+i*(n-t)/c;var l=ve(r,e);s+=l}var u=(c+1)/(s*(n-t));return u}function be(e){var t,n,r,a;return t=e,t*=t>=0?3:1.5,t>=.5&&t<=2.5?(a=t-.5,n=8*(a*a-2*a)):n=0,t+=.474,r=15.811389+7.5*t-17.5*Math.sqrt(1+t*t),r<=-60?0:(t=Math.exp((n+r)*M),t/=.6609193,t)}function ye(e){return e<0&&(e=0),e*=.001,13*Math.atan(.76*e)+3.5*Math.atan(e*e/56.25)}function xe(e,t,n,r,a,o,i,s,c,u,p,m){var g,_=l(h.CBANDS+1),b=s/(m>15?1152:384),y=f(h.HBLKSIZE);s/=c;var x=0,w=0;for(g=0;g<h.CBANDS;g++){var k;for(I=ye(s*x),_[g]=s*x,k=x;ye(s*k)-I<v&&k<=c/2;k++);e[g]=k-x,w=g+1;while(x<k)d(x<h.HBLKSIZE),y[x++]=g;if(x>c/2){x=c/2,++g;break}}d(g<h.CBANDS),_[g]=s*x;for(var S=0;S<m;S++){var M,A,R,E,T;R=u[S],E=u[S+1],M=0|Math.floor(.5+p*(R-.5)),M<0&&(M=0),A=0|Math.floor(.5+p*(E-.5)),A>c/2&&(A=c/2),n[S]=(y[M]+y[A])/2,t[S]=y[A];var O=b*E;i[S]=(O-_[t[S]])/(_[t[S]+1]-_[t[S]]),i[S]<0?i[S]=0:i[S]>1&&(i[S]=1),T=ye(s*u[S]*p),T=Math.min(T,15.5)/15.5,o[S]=Math.pow(10,1.25*(1-Math.cos(Math.PI*T))-2.5)}x=0;for(var B=0;B<w;B++){var I,L,j=e[B];I=ye(s*x),L=ye(s*(x+j-1)),r[B]=.5*(I+L),I=ye(s*(x-.5)),L=ye(s*(x+j-.5)),a[B]=L-I,x+=j}return w}function we(e,t,n,r,a,o){var i,s=u([h.CBANDS,h.CBANDS]),c=0;if(o)for(var f=0;f<t;f++)for(i=0;i<t;i++){var d=be(n[f]-n[i])*r[i];s[f][i]=d*a[f]}else for(i=0;i<t;i++){var p=15+Math.min(21/n[i],12),m=_e(p);for(f=0;f<t;f++){d=m*ve(n[f]-n[i],p)*r[i];s[f][i]=d*a[f]}}for(f=0;f<t;f++){for(i=0;i<t;i++)if(s[f][i]>0)break;for(e[f][0]=i,i=t-1;i>0;i--)if(s[f][i]>0)break;e[f][1]=i,c+=e[f][1]-e[f][0]+1}var g=l(c),v=0;for(f=0;f<t;f++)for(i=e[f][0];i<=e[f][1];i++)g[v++]=s[f][i];return g}function ke(e){var t=ye(e);return t=Math.min(t,15.5)/15.5,Math.pow(10,1.25*(1-Math.cos(Math.PI*t))-2.5)}function Se(e,t){e<-.3&&(e=3410),e/=1e3,e=Math.max(.1,e);var n=3.64*Math.pow(e,-.8)-6.8*Math.exp(-.6*Math.pow(e-3.4,2))+6*Math.exp(-.15*Math.pow(e-8.7,2))+.001*(.6+.04*t)*Math.pow(e,4);return n}this.L3psycho_anal_vbr=function(e,t,n,r,a,o,i,s,c,d){var p,m,g=e.internal_flags,v=l(h.HBLKSIZE),_=u([3,h.HBLKSIZE_s]),b=u([2,h.BLKSIZE]),k=u([2,3,h.BLKSIZE_s]),S=u([4,h.CBANDS]),M=u([4,h.CBANDS]),A=u([4,3]),R=.6,E=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],T=f(2),O=e.mode==MPEGMode.JOINT_STEREO?4:g.channels_out;ce(e,t,n,r,a,o,c,A,E,T),he(e,T);for(var B=0;B<O;B++){var I=1&B;p=b,ae(e,t,n,B,r,v,p,I),ie(e,r,B,v),0!=T[I]?pe(g,v,S[B],M[B],B):ue(g,B)}T[0]+T[1]==2&&e.mode==MPEGMode.JOINT_STEREO&&ge(S,M,g.mld_cb_l,g.ATH.cb_l,e.ATHlower*g.ATH.adjust,e.msfix,g.npart_l);for(B=0;B<O;B++){I=1&B;0!=T[I]&&X(g,S[B],M[B],B)}for(var L=0;L<3;L++){for(B=0;B<O;++B){I=1&B;0!=T[I]?le(g,B,L):(m=k,oe(e,t,n,B,L,_,m,I),de(e,_,S[B],M[B],B,L))}T[0]+T[1]==0&&e.mode==MPEGMode.JOINT_STEREO&&ge(S,M,g.mld_cb_s,g.ATH.cb_s,e.ATHlower*g.ATH.adjust,e.msfix,g.npart_s);for(B=0;B<O;++B){I=1&B;0==T[I]&&Y(g,S[B],M[B],B,L)}}for(B=0;B<O;B++){I=1&B;if(0==T[I])for(var j=0;j<h.SBMAX_s;j++){var P=l(3);for(L=0;L<3;L++){var C=g.thm[B].s[j][L];if(C*=y,E[B][L]>=2||1==E[B][L+1]){var N=0!=L?L-1:2,H=Z(g.thm[B].s[j][N],C,x*R);C=Math.min(C,H)}else if(1==E[B][L]){N=0!=L?L-1:2,H=Z(g.thm[B].s[j][N],C,w*R);C=Math.min(C,H)}else if(0!=L&&3==E[B][L-1]||0==L&&3==g.nsPsy.lastAttacks[B]){N=2!=L?L+1:0,H=Z(g.thm[B].s[j][N],C,w*R);C=Math.min(C,H)}C*=A[B][L],P[L]=C}for(L=0;L<3;L++)g.thm[B].s[j][L]=P[L]}}for(B=0;B<O;B++)g.nsPsy.lastAttacks[B]=E[B][2];me(e,T,d);for(B=0;B<O;B++){var D,U,F,V;B>1?(D=s,U=-2,F=h.NORM_TYPE,d[0]!=h.SHORT_TYPE&&d[1]!=h.SHORT_TYPE||(F=h.SHORT_TYPE),V=o[r][B-2]):(D=i,U=0,F=d[B],V=a[r][B]),F==h.SHORT_TYPE?D[U+B]=Q(V,g.masking_lower):D[U+B]=ee(V,g.masking_lower),e.analysis&&(g.pinfo.pe[r][B]=D[U+B])}return 0},this.psymodel_init=function(n){var r,i=n.internal_flags,s=!0,c=13,u=24,f=0,p=0,m=-8.25,g=-4.5,v=l(h.CBANDS),_=l(h.CBANDS),y=l(h.CBANDS),x=n.out_samplerate;switch(n.experimentalZ){default:case 0:s=!0;break;case 1:s=n.VBR!=a.vbr_mtrh&&n.VBR!=a.vbr_mt;break;case 2:s=!1;break;case 3:c=8,f=-1.75,p=-.0125,m=-8.25,g=-2.25;break}for(i.ms_ener_ratio_old=.25,i.blocktype_old[0]=i.blocktype_old[1]=h.NORM_TYPE,r=0;r<4;++r){for(var w=0;w<h.CBANDS;++w)i.nb_1[r][w]=1e20,i.nb_2[r][w]=1e20,i.nb_s1[r][w]=i.nb_s2[r][w]=1;for(var S=0;S<h.SBMAX_l;S++)i.en[r].l[S]=1e20,i.thm[r].l[S]=1e20;for(w=0;w<3;++w){for(S=0;S<h.SBMAX_s;S++)i.en[r].s[S][w]=1e20,i.thm[r].s[S][w]=1e20;i.nsPsy.lastAttacks[r]=0}for(w=0;w<9;w++)i.nsPsy.last_en_subshort[r][w]=10}for(i.loudness_sq_save[0]=i.loudness_sq_save[1]=0,i.npart_l=xe(i.numlines_l,i.bo_l,i.bm_l,v,_,i.mld_l,i.PSY.bo_l_weight,x,h.BLKSIZE,i.scalefac_band.l,h.BLKSIZE/1152,h.SBMAX_l),d(i.npart_l<h.CBANDS),r=0;r<i.npart_l;r++){var M=f;v[r]>=c&&(M=p*(v[r]-c)/(u-c)+f*(u-v[r])/(u-c)),y[r]=Math.pow(10,M/10),i.numlines_l[r]>0?i.rnumlines_l[r]=1/i.numlines_l[r]:i.rnumlines_l[r]=0}i.s3_ll=we(i.s3ind,i.npart_l,v,_,y,s);var A;w=0;for(r=0;r<i.npart_l;r++){T=o.MAX_VALUE;for(var R=0;R<i.numlines_l[r];R++,w++){var E=x*w/(1e3*h.BLKSIZE);O=this.ATHformula(1e3*E,n)-20,O=Math.pow(10,.1*O),O*=i.numlines_l[r],T>O&&(T=O)}i.ATH.cb_l[r]=T,T=20*v[r]/10-20,T>6&&(T=100),T<-15&&(T=-15),T-=8,i.minval_l[r]=Math.pow(10,T/10)*i.numlines_l[r]}for(i.npart_s=xe(i.numlines_s,i.bo_s,i.bm_s,v,_,i.mld_s,i.PSY.bo_s_weight,x,h.BLKSIZE_s,i.scalefac_band.s,h.BLKSIZE_s/384,h.SBMAX_s),d(i.npart_s<h.CBANDS),w=0,r=0;r<i.npart_s;r++){var T;M=m;v[r]>=c&&(M=g*(v[r]-c)/(u-c)+m*(u-v[r])/(u-c)),y[r]=Math.pow(10,M/10),T=o.MAX_VALUE;for(R=0;R<i.numlines_s[r];R++,w++){var O;E=x*w/(1e3*h.BLKSIZE_s);O=this.ATHformula(1e3*E,n)-20,O=Math.pow(10,.1*O),O*=i.numlines_s[r],T>O&&(T=O)}i.ATH.cb_s[r]=T,T=7*v[r]/12-7,v[r]>12&&(T*=1+3.1*Math.log(1+T)),v[r]<12&&(T*=1+2.3*Math.log(1-T)),T<-15&&(T=-15),T-=8,i.minval_s[r]=Math.pow(10,T/10)*i.numlines_s[r]}i.s3_ss=we(i.s3ind_s,i.npart_s,v,_,y,s),C(),e.init_fft(i),i.decay=Math.exp(-1*t/(b*x/192)),A=k,0!=(2&n.exp_nspsytune)&&(A=1),Math.abs(n.msfix)>0&&(A=n.msfix),n.msfix=A;for(var B=0;B<i.npart_l;B++)i.s3ind[B][1]>i.npart_l-1&&(i.s3ind[B][1]=i.npart_l-1);var I=576*i.mode_gr/x;if(i.ATH.decay=Math.pow(10,-1.2*I),i.ATH.adjust=.01,i.ATH.adjustLimit=1,d(i.bo_l[h.SBMAX_l-1]<=i.npart_l),d(i.bo_s[h.SBMAX_s-1]<=i.npart_s),-1!=n.ATHtype){var L=n.out_samplerate/h.BLKSIZE,j=0;for(E=0,r=0;r<h.BLKSIZE/2;++r)E+=L,i.ATH.eql_w[r]=1/Math.pow(10,this.ATHformula(E,n)/10),j+=i.ATH.eql_w[r];for(j=1/j,r=h.BLKSIZE/2;--r>=0;)i.ATH.eql_w[r]*=j}for(B=w=0;B<i.npart_s;++B)for(r=0;r<i.numlines_s[B];++r)++w;d(129==w);for(B=w=0;B<i.npart_l;++B)for(r=0;r<i.numlines_l[B];++r)++w;for(d(513==w),w=0,r=0;r<i.npart_l;r++){E=x*(w+i.numlines_l[r]/2)/(1*h.BLKSIZE);i.mld_cb_l[r]=ke(E),w+=i.numlines_l[r]}for(;r<h.CBANDS;++r)i.mld_cb_l[r]=1;for(w=0,r=0;r<i.npart_s;r++){E=x*(w+i.numlines_s[r]/2)/(1*h.BLKSIZE_s);i.mld_cb_s[r]=ke(E),w+=i.numlines_s[r]}for(;r<h.CBANDS;++r)i.mld_cb_s[r]=1;return 0},this.ATHformula=function(e,t){var n;switch(t.ATHtype){case 0:n=Se(e,9);break;case 1:n=Se(e,-1);break;case 2:n=Se(e,0);break;case 3:n=Se(e,1)+6;break;case 4:n=Se(e,t.ATHcurve);break;default:n=Se(e,0);break}return n}}e.exports=m},"24fb":function(e,t,n){"use strict";function r(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var o=a(r),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}return[n].join("\n")}function a(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=r(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"===typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var o=0;o<this.length;o++){var i=this[o][0];null!=i&&(a[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&a[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},2532:function(e,t,n){"use strict";var r=n("23e7"),a=n("e330"),o=n("5a34"),i=n("1d80"),s=n("577e"),c=n("ab13"),l=a("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~l(s(i(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},"254c":function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var a in n)r[a]=n[a];return r.constructor=t,t.prototype=r,t}t.__esModule=!0,t.inherits=r},"25a1":function(e,t,n){"use strict";var r=n("ebb5"),a=n("d58f").right,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("reduceRight",(function(e){var t=arguments.length;return a(o(this),e,t,t>1?arguments[1]:void 0)}))},"25f0":function(e,t,n){"use strict";var r=n("e330"),a=n("5e77").PROPER,o=n("6eeb"),i=n("825a"),s=n("3a9b"),c=n("577e"),l=n("d039"),u=n("ad6d"),f="toString",d=RegExp.prototype,p=d[f],h=r(u),m=l((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),g=a&&p.name!=f;(m||g)&&o(RegExp.prototype,f,(function(){var e=i(this),t=c(e.source),n=e.flags,r=c(void 0===n&&s(d,e)&&!("flags"in d)?h(e):n);return"/"+t+"/"+r}),{unsafe:!0})},2626:function(e,t,n){"use strict";var r=n("d066"),a=n("9bf2"),o=n("b622"),i=n("83ab"),s=o("species");e.exports=function(e){var t=r(e),n=a.f;i&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},2695:function(e,t,n){var r=n("0206"),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),o=(r.new_int_n,r.assert,n("f3b5"));function i(){this.tt=[[null,null],[null,null]],this.main_data_begin=0,this.private_bits=0,this.resvDrain_pre=0,this.resvDrain_post=0,this.scfsi=[a(4),a(4)];for(var e=0;e<2;e++)for(var t=0;t<2;t++)this.tt[e][t]=new o}e.exports=i},"277d":function(e,t,n){var r=n("23e7"),a=n("e8b5");r({target:"Array",stat:!0},{isArray:a})},2954:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b6b7"),o=n("d039"),i=n("f36a"),s=r.aTypedArray,c=r.exportTypedArrayMethod,l=o((function(){new Int8Array(1).slice()}));c("slice",(function(e,t){var n=i(s(this),e,t),r=a(this),o=0,c=n.length,l=new r(c);while(c>o)l[o]=n[o++];return l}),l)},"2a62":function(e,t,n){var r=n("c65b"),a=n("825a"),o=n("dc4a");e.exports=function(e,t,n){var i,s;a(e);try{if(i=o(e,"return"),!i){if("throw"===t)throw n;return n}i=r(i,e)}catch(c){s=!0,i=c}if("throw"===t)throw n;if(s)throw i;return a(i),n}},"2b3d":function(e,t,n){"use strict";n("3ca3");var r,a=n("23e7"),o=n("83ab"),i=n("0d3b"),s=n("da84"),c=n("0366"),l=n("e330"),u=n("37e8"),f=n("6eeb"),d=n("19aa"),p=n("1a2d"),h=n("60da"),m=n("4df4"),g=n("4dae"),v=n("6547").codeAt,_=n("5fb2"),b=n("577e"),y=n("d44e"),x=n("9861"),w=n("69f3"),k=w.set,S=w.getterFor("URL"),M=x.URLSearchParams,A=x.getState,R=s.URL,E=s.TypeError,T=s.parseInt,O=Math.floor,B=Math.pow,I=l("".charAt),L=l(/./.exec),j=l([].join),P=l(1..toString),C=l([].pop),N=l([].push),H=l("".replace),D=l([].shift),U=l("".split),F=l("".slice),V=l("".toLowerCase),q=l([].unshift),z="Invalid authority",$="Invalid scheme",Y="Invalid host",X="Invalid port",G=/[a-z]/i,K=/[\d+-.a-z]/i,Z=/\d/,W=/^0x/i,Q=/^[0-7]+$/,J=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ae=/[\t\n\r]/g,oe=function(e){var t,n,r,a,o,i,s,c=U(e,".");if(c.length&&""==c[c.length-1]&&c.length--,t=c.length,t>4)return e;for(n=[],r=0;r<t;r++){if(a=c[r],""==a)return e;if(o=10,a.length>1&&"0"==I(a,0)&&(o=L(W,a)?16:8,a=F(a,8==o?1:2)),""===a)i=0;else{if(!L(10==o?J:8==o?Q:ee,a))return e;i=T(a,o)}N(n,i)}for(r=0;r<t;r++)if(i=n[r],r==t-1){if(i>=B(256,5-t))return null}else if(i>255)return null;for(s=C(n),r=0;r<n.length;r++)s+=n[r]*B(256,3-r);return s},ie=function(e){var t,n,r,a,o,i,s,c=[0,0,0,0,0,0,0,0],l=0,u=null,f=0,d=function(){return I(e,f)};if(":"==d()){if(":"!=I(e,1))return;f+=2,l++,u=l}while(d()){if(8==l)return;if(":"!=d()){t=n=0;while(n<4&&L(ee,d()))t=16*t+T(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,l>6)return;r=0;while(d()){if(a=null,r>0){if(!("."==d()&&r<4))return;f++}if(!L(Z,d()))return;while(L(Z,d())){if(o=T(d(),10),null===a)a=o;else{if(0==a)return;a=10*a+o}if(a>255)return;f++}c[l]=256*c[l]+a,r++,2!=r&&4!=r||l++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;c[l++]=t}else{if(null!==u)return;f++,l++,u=l}}if(null!==u){i=l-u,l=7;while(0!=l&&i>0)s=c[l],c[l--]=c[u+i-1],c[u+--i]=s}else if(8!=l)return;return c},se=function(e){for(var t=null,n=1,r=null,a=0,o=0;o<8;o++)0!==e[o]?(a>n&&(t=r,n=a),r=null,a=0):(null===r&&(r=o),++a);return a>n&&(t=r,n=a),t},ce=function(e){var t,n,r,a;if("number"==typeof e){for(t=[],n=0;n<4;n++)q(t,e%256),e=O(e/256);return j(t,".")}if("object"==typeof e){for(t="",r=se(e),n=0;n<8;n++)a&&0===e[n]||(a&&(a=!1),r===n?(t+=n?":":"::",a=!0):(t+=P(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},le={},ue=h({},le,{" ":1,'"':1,"<":1,">":1,"`":1}),fe=h({},ue,{"#":1,"?":1,"{":1,"}":1}),de=h({},fe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(e,t){var n=v(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},he={ftp:21,file:null,http:80,https:443,ws:80,wss:443},me=function(e,t){var n;return 2==e.length&&L(G,I(e,0))&&(":"==(n=I(e,1))||!t&&"|"==n)},ge=function(e){var t;return e.length>1&&me(F(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},ve=function(e){return"."===e||"%2e"===V(e)},_e=function(e){return e=V(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},be={},ye={},xe={},we={},ke={},Se={},Me={},Ae={},Re={},Ee={},Te={},Oe={},Be={},Ie={},Le={},je={},Pe={},Ce={},Ne={},He={},De={},Ue=function(e,t,n){var r,a,o,i=b(e);if(t){if(a=this.parse(i),a)throw E(a);this.searchParams=null}else{if(void 0!==n&&(r=new Ue(n,!0)),a=this.parse(i,null,r),a)throw E(a);o=A(new M),o.bindURL(this),this.searchParams=o}};Ue.prototype={type:"URL",parse:function(e,t,n){var a,o,i,s,c=this,l=t||be,u=0,f="",d=!1,h=!1,v=!1;e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=H(e,re,"")),e=H(e,ae,""),a=m(e);while(u<=a.length){switch(o=a[u],l){case be:if(!o||!L(G,o)){if(t)return $;l=xe;continue}f+=V(o),l=ye;break;case ye:if(o&&(L(K,o)||"+"==o||"-"==o||"."==o))f+=V(o);else{if(":"!=o){i