text: (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")})({"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("59ed");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,a){return e.call(t,n,r,a)}}return 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("59ed"),a=n("861d"),o=[].slice,i={},s=function(e,t,n){if(!(t in i)){for(var r=[],a=0;a<t;a++)r[a]="a["+a+"]";i[t]=Function("C,a","return new C("+r.join(",")+")")}return i[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=o.call(arguments,1),i=function(){var r=n.concat(o.call(arguments));return this instanceof i?s(t,r.length,r):t.apply(e,r)};return a(t.prototype)&&(i.prototype=t.prototype),i}},"057f":function(e,t,n){var r=n("fc6a"),a=n("241c").f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return a(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?s(e):a(r(e))}},"06cf":function(e,t,n){var r=n("83ab"),a=n("d1e7"),o=n("5c6c"),i=n("fc6a"),s=n("a04b"),c=n("5135"),l=n("0cfb"),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=i(e),t=s(t),l)try{return u(e,t)}catch(n){}if(c(e,t))return o(!a.f.call(e,t),e[t])}},"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("a691"),a=n("50c4");e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=a(t);if(t!==n)throw RangeError("Wrong length or index");return n}},"0b42":function(e,t,n){var r=n("e8b5"),a=n("68ee"),o=n("861d"),i=n("b622"),s=i("species");e.exports=function(e){var t;return r(e)&&(t=e.constructor,a(t)&&(t===Array||r(t.prototype))?t=void 0:o(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?Array:t}},"0cb2":function(e,t,n){var r=n("7b0b"),a=Math.floor,o="".replace,i=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,c,l,u){var f=n+e.length,d=c.length,p=s;return void 0!==l&&(l=r(l),p=i),o.call(u,p,(function(r,o){var i;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":i=l[o.slice(1,-1)];break;default:var s=+o;if(0===s)return r;if(s>d){var u=a(s/10);return 0===u?r:u<=d?void 0===c[u-1]?o.charAt(1):c[u-1]+o.charAt(1):r}i=c[s-1]}return void 0===i?"":i}))}},"0ccb":function(e,t,n){var r=n("50c4"),a=n("577e"),o=n("1148"),i=n("1d80"),s=Math.ceil,c=function(e){return function(t,n,c){var l,u,f=a(i(t)),d=f.length,p=void 0===c?" ":a(c),h=r(n);return h<=d||""==p?f:(l=h-d,u=o.call(p,s(l/p.length)),u.length>l&&(u=u.slice(0,l)),e?f+u:u+f)}};e.exports={start:c(!1),end:c(!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("6eeb"),a=Date.prototype,o="Invalid Date",i="toString",s=a[i],c=a.getTime;String(new Date(NaN))!=o&&r(a,i,(function(){var e=c.call(this);return e===e?s.call(this):o}))},"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){e.exports=function(e){try{return String(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("a691"),a=n("577e"),o=n("1d80");e.exports=function(e){var t=a(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}},"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){return a(this,e,arguments.length,arguments.length>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("50c4"),i=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=o(n.length),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("825a"),a=n("1626"),o=n("c6b6"),i=n("9263");e.exports=function(e,t){var n=e.exec;if(a(n)){var s=n.call(e,t);return null!==s&&r(s),s}if("RegExp"===o(e))return i.call(e,t);throw TypeError("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)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("f8cd");e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},"19aa":function(e,t){e.exports=function(e,t,n){if(e instanceof t)return e;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}},"1a98":function(e,t,n){"use strict";n.r(t),n.d(t,"detectMobile",(function(){return r})),n.d(t,"iOSDevice",(function(){return o}));n("caad"),n("2532");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}function o(){return["iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}},"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){e.exports=function(e){if(void 0==e)throw TypeError("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("ebb5"),a=n("da84"),o=n("d039"),i=n("59ed"),s=n("50c4"),c=n("addb"),l=n("04d1"),u=n("d998"),f=n("2d00"),d=n("512c"),p=r.aTypedArray,h=r.exportTypedArrayMethod,m=a.Uint16Array,g=m&&m.prototype.sort,v=!!g&&!o((function(){var e=new m(2);e.sort(null),e.sort({})})),_=!!g&&!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 m(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0})),b=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}};h("sort",(function(e){var t=this;if(void 0!==e&&i(e),_)return g.call(t,e);p(t);var n,r=s(t.length),a=Array(r);for(n=0;n<r;n++)a[n]=t[n];for(a=c(t,b(e)),n=0;n<r;n++)t[n]=a[n];return t}),!_||v)},2266:function(e,t,n){var r=n("825a"),a=n("e95a"),o=n("50c4"),i=n("0366"),s=n("9a1f"),c=n("35a1"),l=n("2a62"),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var f,d,p,h,m,g,v,_=n&&n.that,b=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),x=!(!n||!n.INTERRUPTED),w=i(t,_,1+b+x),k=function(e){return f&&l(f,"normal",e),new u(!0,e)},S=function(e){return b?(r(e),x?w(e[0],e[1],k):w(e[0],e[1])):x?w(e,k):w(e)};if(y)f=e;else{if(d=c(e),!d)throw TypeError(String(e)+" is not iterable");if(a(d)){for(p=0,h=o(e.length);h>p;p++)if(m=S(e[p]),m&&m instanceof u)return m;return new u(!1)}f=s(e,d)}g=f.next;while(!(v=g.call(f)).done){try{m=S(v.value)}catch(A){l(f,"throw",A)}if("object"==typeof m&&m&&m instanceof u)return m}return new u(!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("a691"),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,A=.2302585093;function M(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]=M(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]=M(.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]=M(.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,L,B=8,I=23,j=15,C=[1,.79433,.63096,.63096,.63096,.63096,.63096,.25119,.11749];function P(){T=Math.pow(10,(B+1)/16),O=Math.pow(10,(I+1)/16),L=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],F=[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 D(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<L*t?e>t?(l=1,c<=13&&(l=F[c]),u=s.FAST_LOG10_X(e/t,10/15),e*((N[c]-l)*u+l)):c>13?e:e*F[c]:e*N[c]}var U=[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)*U[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 $(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 z(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 W(e,t,n){return n>=1?e:n<=0?t:t>0?Math.pow(e/t,n)*t:0}var Z=[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<Z.length),i>0){var c=i*n,l=e.en.s[a][o];l>c&&(l>1e10*c?r+=Z[a]*(10*t):(d(c>0),r+=Z[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=C.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]=M(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]=M(.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]=M(.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,A,M,R,T,O,L,B,I,j=e.internal_flags,P=u([2,h.BLKSIZE]),N=u([2,3,h.BLKSIZE_s]),H=l(h.CBANDS+1),F=l(h.CBANDS+1),U=l(h.CBANDS+2),V=f(2),Z=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),B=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),M=0;M<576;M++){var ce,le;for(ce=ie[se+M+10],le=0,R=0;R<(S-1)/2-1;R+=2)ce+=re[R]*(ie[se+M+R]+ie[se+M+S-R]),le+=re[R+1]*(ie[se+M+R+1]+ie[se+M+S-R-1]);J[k][M]=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),M=0;M<3;M++)pe[M]=j.nsPsy.last_en_subshort[k][M+6],d(j.nsPsy.last_en_subshort[k][M+4]>0),me[M]=pe[M]/j.nsPsy.last_en_subshort[k][M+4],he[0]+=pe[M];if(2==k)for(M=0;M<576;M++){var we,ke;we=J[0][M],ke=J[1][M],J[0][M]=we+ke,J[1][M]=we-ke}var Se=J[1&k],Ae=0;for(M=0;M<9;M++){for(var Me=Ae+64,Re=1;Ae<Me;Ae++)Re<Math.abs(Se[Ae])&&(Re=Math.abs(Se[Ae]));j.nsPsy.last_en_subshort[k][M]=pe[M+3]=Re,he[1+M/3]+=Re,Re>pe[M+3-2]?(d(pe[M+3-2]>0),Re/=pe[M+3-2]):pe[M+3-2]>10*Re?(d(Re>0),Re=pe[M+3-2]/(10*Re)):Re=0,me[M+3]=Re}if(e.analysis){var Ee=me[0];for(M=1;M<12;M++)Ee<me[M]&&(Ee=me[M]);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,M=0;M<12;M++)0==be[M/3]&&me[M]>de&&(be[M/3]=M%3+1);for(M=1;M<4;M++){var Te;he[M-1]>he[M]?(d(he[M]>0),Te=he[M-1]/he[M]):(d(he[M-1]>0),Te=he[M]/he[M-1]),Te<1.7&&(be[M]=0,1==M&&(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?Z[k]=ge:0==ge&&(Z[0]=Z[1]=0),v[k]=j.tot_ener[k],fe=N,ue=P,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),L=0;L<3;L++){var Oe,Le;for(G(e,xe,F,U,k,L),Y(j,F,U,k,L),O=0;O<h.SBMAX_s;O++){if(Le=j.thm[k].s[O][L],Le*=y,be[L]>=2||1==be[L+1]){var Be=0!=L?L-1:2;Re=W(j.thm[k].s[O][Be],Le,x*B);Le=Math.min(Le,Re)}if(1==be[L]){Be=0!=L?L-1:2,Re=W(j.thm[k].s[O][Be],Le,w*B);Le=Math.min(Le,Re)}else if(0!=L&&3==be[L-1]||0==L&&3==j.nsPsy.lastAttacks[k]){Be=2!=L?L+1:0,Re=W(j.thm[k].s[O][Be],Le,w*B);Le=Math.min(Le,Re)}Oe=pe[3*L+3]+pe[3*L+4]+pe[3*L+5],6*pe[3*L+5]<Oe&&(Le*=.5,6*pe[3*L+4]<Oe&&(Le*=.5)),j.thm[k].s[O][L]=Le}}for(j.nsPsy.lastAttacks[k]=be[2],T=0,A=0;A<j.npart_l;A++){var Ie=j.s3ind[A][0],je=H[Ie]*C[ae[Ie]],Ce=j.s3_ll[T++]*je;while(++Ie<=j.s3ind[A][1])je=H[Ie]*C[ae[Ie]],Ce=D(Ce,j.s3_ll[T++]*je,Ie,Ie-A,j,0);Ce*=.158489319246111,j.blocktype_old[1&k]==h.SHORT_TYPE?U[A]=Ce:U[A]=W(Math.min(Ce,Math.min(n*j.nb_1[k][A],r*j.nb_2[k][A])),Ce,B),j.nb_2[k][A]=j.nb_1[k][A],j.nb_1[k][A]=Ce}for(;A<=h.CBANDS;++A)H[A]=0,U[A]=0;X(j,H,U,k)}(e.mode!=MPEGMode.STEREO&&e.mode!=MPEGMode.JOINT_STEREO||e.interChRatio>0&&q(e,e.interChRatio),e.mode==MPEGMode.JOINT_STEREO)&&($(j),I=e.msfix,Math.abs(I)>0&&z(j,I,e.ATHlower*j.ATH.adjust));for(K(e,Z,_,V),k=0;k<b;k++){var Pe,Ne,He,Fe=0;k>1?(Pe=g,Fe=-2,Ne=h.NORM_TYPE,_[0]!=h.SHORT_TYPE&&_[1]!=h.SHORT_TYPE||(Ne=h.SHORT_TYPE),He=p[i][k-2]):(Pe=m,Fe=0,Ne=_[k],He=s[i][k]),Ne==h.SHORT_TYPE?Pe[Fe+k]=Q(He,j.masking_lower):Pe[Fe+k]=ee(He,j.masking_lower),e.analysis&&(j.pinfo.pe[i][k]=Pe[Fe+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),A=l(12),M=[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 L=p[0][b],B=p[1][b];p[0][b]=L+B,p[1][b]=L-B}for(b=0;b<3;b++)A[b]=h.nsPsy.last_en_subshort[v][b+6],d(h.nsPsy.last_en_subshort[v][b+4]>0),k[b]=A[b]/h.nsPsy.last_en_subshort[v][b+4],M[0]+=A[b];for(b=0;b<9;b++){for(var I=E+64,j=1;E<I;E++)j<Math.abs(R[E])&&(j=Math.abs(R[E]));h.nsPsy.last_en_subshort[v][b]=A[b+3]=j,M[1+b/3]+=j,j>A[b+3-2]?(d(A[b+3-2]>0),j/=A[b+3-2]):A[b+3-2]>10*j?(d(j>0),j=A[b+3-2]/(10*j)):j=0,k[b+3]=j}for(b=0;b<3;++b){var C=A[3*b+3]+A[3*b+4]+A[3*b+5],P=1;6*A[3*b+5]<C&&(P*=.5,6*A[3*b+4]<C&&(P*=.5)),s[v][b]=P}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=M[b-1],F=M[b],D=Math.max(H,F);D<4e4&&H<1.7*F&&F<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=C.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,A=u.s3ind_s[c][0],M=u.s3ind_s[c][1];y=m[A],x=1,k=u.s3_ss[s]*n[A]*C[m[A]],++s,++A;while(A<=M)y+=m[A],x+=1,w=u.s3_ss[s]*n[A]*C[m[A]],k=V(k,w,A-c),++s,++A;y=(1+2*y)/(2*x),S=.5*C[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]*C[p[y]],++m,++y;while(y<=x)k+=p[y],S+=1,g=e.s3_ll[m]*a[y]*C[p[y]],b=V(v,g,y-s),v=b,++m,++y;if(k=(1+2*k)/(2*S),_=.5*C[k],v*=_,e.blocktype_old[1&i]==h.SHORT_TYPE){var A=n*e.nb_1[i][s];o[s]=A>0?Math.min(v,A):Math.min(v,a[s]*w)}else{var M=r*e.nb_2[i][s],R=n*e.nb_1[i][s];M<=0&&(M=v),R<=0&&(R=v),A=e.blocktype_old[1&i]==h.NORM_TYPE?Math.min(R,M):R,o[s]=Math.min(v,A)}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*A)}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)*A),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(B=ye(s*x),_[g]=s*x,k=x;ye(s*k)-B<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 A,M,R,E,T;R=u[S],E=u[S+1],A=0|Math.floor(.5+p*(R-.5)),A<0&&(A=0),M=0|Math.floor(.5+p*(E-.5)),M>c/2&&(M=c/2),n[S]=(y[A]+y[M])/2,t[S]=y[M];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 L=0;L<w;L++){var B,I,j=e[L];B=ye(s*x),I=ye(s*(x+j-1)),r[L]=.5*(B+I),B=ye(s*(x-.5)),I=ye(s*(x+j-.5)),a[L]=I-B,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]),A=u([4,h.CBANDS]),M=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,M,E,T),he(e,T);for(var L=0;L<O;L++){var B=1&L;p=b,ae(e,t,n,L,r,v,p,B),ie(e,r,L,v),0!=T[B]?pe(g,v,S[L],A[L],L):ue(g,L)}T[0]+T[1]==2&&e.mode==MPEGMode.JOINT_STEREO&&ge(S,A,g.mld_cb_l,g.ATH.cb_l,e.ATHlower*g.ATH.adjust,e.msfix,g.npart_l);for(L=0;L<O;L++){B=1&L;0!=T[B]&&X(g,S[L],A[L],L)}for(var I=0;I<3;I++){for(L=0;L<O;++L){B=1&L;0!=T[B]?le(g,L,I):(m=k,oe(e,t,n,L,I,_,m,B),de(e,_,S[L],A[L],L,I))}T[0]+T[1]==0&&e.mode==MPEGMode.JOINT_STEREO&&ge(S,A,g.mld_cb_s,g.ATH.cb_s,e.ATHlower*g.ATH.adjust,e.msfix,g.npart_s);for(L=0;L<O;++L){B=1&L;0==T[B]&&Y(g,S[L],A[L],L,I)}}for(L=0;L<O;L++){B=1&L;if(0==T[B])for(var j=0;j<h.SBMAX_s;j++){var C=l(3);for(I=0;I<3;I++){var P=g.thm[L].s[j][I];if(P*=y,E[L][I]>=2||1==E[L][I+1]){var N=0!=I?I-1:2,H=W(g.thm[L].s[j][N],P,x*R);P=Math.min(P,H)}else if(1==E[L][I]){N=0!=I?I-1:2,H=W(g.thm[L].s[j][N],P,w*R);P=Math.min(P,H)}else if(0!=I&&3==E[L][I-1]||0==I&&3==g.nsPsy.lastAttacks[L]){N=2!=I?I+1:0,H=W(g.thm[L].s[j][N],P,w*R);P=Math.min(P,H)}P*=M[L][I],C[I]=P}for(I=0;I<3;I++)g.thm[L].s[j][I]=C[I]}}for(L=0;L<O;L++)g.nsPsy.lastAttacks[L]=E[L][2];me(e,T,d);for(L=0;L<O;L++){var F,D,U,V;L>1?(F=s,D=-2,U=h.NORM_TYPE,d[0]!=h.SHORT_TYPE&&d[1]!=h.SHORT_TYPE||(U=h.SHORT_TYPE),V=o[r][L-2]):(F=i,D=0,U=d[L],V=a[r][L]),U==h.SHORT_TYPE?F[D+L]=Q(V,g.masking_lower):F[D+L]=ee(V,g.masking_lower),e.analysis&&(g.pinfo.pe[r][L]=F[D+L])}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 A=f;v[r]>=c&&(A=p*(v[r]-c)/(u-c)+f*(u-v[r])/(u-c)),y[r]=Math.pow(10,A/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 M;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;A=m;v[r]>=c&&(A=g*(v[r]-c)/(u-c)+m*(u-v[r])/(u-c)),y[r]=Math.pow(10,A/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),P(),e.init_fft(i),i.decay=Math.exp(-1*t/(b*x/192)),M=k,0!=(2&n.exp_nspsytune)&&(M=1),Math.abs(n.msfix)>0&&(M=n.msfix),n.msfix=M;for(var L=0;L<i.npart_l;L++)i.s3ind[L][1]>i.npart_l-1&&(i.s3ind[L][1]=i.npart_l-1);var B=576*i.mode_gr/x;if(i.ATH.decay=Math.pow(10,-1.2*B),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 I=n.out_samplerate/h.BLKSIZE,j=0;for(E=0,r=0;r<h.BLKSIZE/2;++r)E+=I,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(L=w=0;L<i.npart_s;++L)for(r=0;r<i.numlines_s[L];++r)++w;d(129==w);for(L=w=0;L<i.npart_l;++L)for(r=0;r<i.numlines_l[L];++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("5a34"),o=n("1d80"),i=n("577e"),s=n("ab13");r({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~i(o(this)).indexOf(i(a(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){return a(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},"25f0":function(e,t,n){"use strict";var r=n("5e77").PROPER,a=n("6eeb"),o=n("825a"),i=n("577e"),s=n("d039"),c=n("ad6d"),l="toString",u=RegExp.prototype,f=u[l],d=s((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),p=r&&f.name!=l;(d||p)&&a(RegExp.prototype,l,(function(){var e=o(this),t=i(e.source),n=e.flags,r=i(void 0===n&&e instanceof RegExp&&!("flags"in u)?c.call(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=r.aTypedArray,s=r.exportTypedArrayMethod,c=[].slice,l=o((function(){new Int8Array(1).slice()}));s("slice",(function(e,t){var n=c.call(i(this),e,t),r=a(this),o=0,s=n.length,l=new r(s);while(s>o)l[o]=n[o++];return l}),l)},"2a62":function(e,t,n){var r=n("825a"),a=n("dc4a");e.exports=function(e,t,n){var o,i;r(e);try{if(o=a(e,"return"),!o){if("throw"===t)throw n;return n}o=o.call(e)}catch(s){i=!0,o=s}if("throw"===t)throw n;if(i)throw o;return r(o),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("37e8"),l=n("6eeb"),u=n("19aa"),f=n("5135"),d=n("60da"),p=n("4df4"),h=n("6547").codeAt,m=n("5fb2"),g=n("577e"),v=n("d44e"),_=n("9861"),b=n("69f3"),y=s.URL,x=_.URLSearchParams,w=_.getState,k=b.set,S=b.getterFor("URL"),A=Math.floor,M=Math.pow,R="Invalid authority",E="Invalid scheme",T="Invalid host",O="Invalid port",L=/[A-Za-z]/,B=/[\d+-.A-Za-z]/,I=/\d/,j=/^0x/i,C=/^[0-7]+$/,P=/^\d+$/,N=/^[\dA-Fa-f]+$/,H=/[\0\t\n\r #%/:<>?@[\\\]^|]/,F=/[\0\t\n\r #/:<>?@[\\\]^|]/,D=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,U=/[\t\n\r]/g,V=function(e,t){var n,r,a;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return T;if(n=$(t.slice(1,-1)),!n)return T;e.host=n}else if(J(e)){if(t=m(t),H.test(t))return T;if(n=q(t),null===n)return T;e.host=n}else{if(F.test(t))return T;for(n="",r=p(t),a=0;a<r.length;a++)n+=Z(r[a],X);e.host=n}},q=function(e){var t,n,r,a,o,i,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),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"==a.charAt(0)&&(o=j.test(a)?16:8,a=a.slice(8==o?1:2)),""===a)i=0;else{if(!(10==o?P:8==o?C:N).test(a))return e;i=parseInt(a,o)}n.push(i)}for(r=0;r<t;r++)if(i=n[r],r==t-1){if(i>=M(256,5-t))return null}else if(i>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*M(256,3-r);return s},$=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 e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,l++,u=l}while(d()){if(8==l)return;if(":"!=d()){t=n=0;while(n<4&&N.test(d()))t=16*t+parseInt(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(!I.test(d()))return;while(I.test(d())){if(o=parseInt(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},z=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},Y=function(e){var t,n,r,a;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=A(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=z(e),n=0;n<8;n++)a&&0===e[n]||(a&&(a=!1),r===n?(t+=n?":":"::",a=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},X={},G=d({},X,{" ":1,'"':1,"<":1,">":1,"`":1}),K=d({},G,{"#":1,"?":1,"{":1,"}":1}),W=d({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Z=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},Q={ftp:21,file:null,http:80,https:443,ws:80,wss:443},J=function(e){return f(Q,e.scheme)},ee=function(e){return""!=e.username||""!=e.password},te=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},ne=function(e,t){var n;return 2==e.length&&L.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},re=function(e){var t;return e.length>1&&ne(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ae=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&ne(t[0],!0)||t.pop()},oe=function(e){return"."===e||"%2e"===e.toLowerCase()},ie=function(e){return e=e.toLowerCase(),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},se={},ce={},le={},ue={},fe={},de={},pe={},he={},me={},ge={},ve={},_e={},be={},ye={},xe={},we={},ke={},Se={},Ae={},Me={},Re={},Ee=function(e,t,n,a){var o,i,s,c,l=n||se,u=0,d="",h=!1,m=!1,g=!1;n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(D,"")),t=t.replace(U,""),o=p(t);while(u<=o.length){switch(i=o[u],l){case se:if(!i||!L.test(i)){if(n)return E;l=le;continue}d+=i.toLowerCase(),l=ce;break;case ce:if(i&&(B.test(i)||"+"==i||"-"==i||"."==i))d+=i.toLowerCase();else{if(":"!=i){if(n)return E;d="",l=le,u=0;continue}if(n&&(J(e)!=f(Q,d)||"file"==d&&(ee(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(J(e)&&Q[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?l=ye:J(e)&&a&&a.scheme==e.scheme?l=ue:J(e)?l=he:"/"==o[u+1]?(l=fe,u++):(e.cannotBeABaseURL=!0,e.path.push(""),l=Ae)}break;case le:if(!a||a.cannotBeABaseURL&&"#"!=i)return E;if(a.cannotBeABaseURL&&"#"==i){e.scheme=a.scheme,e.path=a.path.slice(),e.query=a.query,e.fragment="",e.cannotBeABaseURL=!0,l=Re;break}l="file"==a.scheme?ye:de;continue;case ue:if("/"!=i||"/"!=o[u+1]){l=de;continue}l=me,u++;break;case fe:if("/"==i){l=ge;break}l=Se;continue;case de:if(e.scheme=a.scheme,i==r)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query;else if("/"==i||"\\"==i&&J(e))l=pe;else if("?"==i)e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query="",l=Me;else{if("#"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.path.pop(),l=Se;continue}e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,e.path=a.path.slice(),e.query=a.query,e.fragment="",l=Re}break;case pe:if(!J(e)||"/"!=i&&"\\"!=i){if("/"!=i){e.username=a.username,e.password=a.password,e.host=a.host,e.port=a.port,l=Se;continue}l=ge}else l=me;break;case he:if(l=me,"/"!=i||"/"!=d.charAt(u+1))continue;u++;break;case me:if("/"!=i&&"\\"!=i){l=ge;continue}break;case ge:if("@"==i){h&&(d="%40"+d),h=!0,s=p(d);for(var v=0;v<s.length;v++){var _=s[v];if(":"!=_||g){var b=Z(_,W);g?e.password+=b:e.username+=b}else g=!0}d=""}else if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&J(e)){if(h&&""==d)return R;u-=p(d).length+1,d="",l=ve}else d+=i;break;case ve:case _e:if(n&&"file"==e.scheme){l=we;continue}if(":"!=i||m){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&J(e)){if(J(e)&&""==d)return T;if(n&&""==d&&(ee(e)||null!==e.port))return;if(c=V(e,d),c)return c;if(d="",l=ke,n)return;continue}"["==i?m=!0:"]"==i&&(m=!1),d+=i}else{if(""==d)return T;if(c=V(e,d),c)return c;if(d="",l=be,n==_e)return}break;case be:if(!I.test(i)){if(i==r||"/"==i||"?"==i||"#"==i||"\\"==i&&J(e)||n){if(""!=d){var y=parseInt(d,10);if(y>65535)return O;e.port=J(e)&&y===Q[e.scheme]?null:y,d=""}if(n)return;l=ke;continue}return O}d+=i;break;case ye:if(e.scheme="file","/"==i||"\\"==i)l=xe;else{if(!a||"file"!=a.scheme){l=Se;continue}if(i==r)e.host=a.host,e.path=a.path.slice(),e.query=a.query;else if("?"==i)e.host=a.host,e.path=a.path.slice(),e.query="",l=Me;else{if("#"!=i){re(o.slice(u).join(""))||(e.host=a.host,e.path=a.path.slice(),ae(e)),l=Se;continue}e.host=a.host,e.path=a.path.slice(),e.query=a.query,e.fragment="",l=Re}}break;case xe:if("/"==i||"\\"==i){l=we;break}a&&"file"==a.scheme&&!re(o.slice(u).join(""))&&(ne(a.path[0],!0)?e.path.push(a.path[0]):e.host=a.host),l=Se;continue;case we:if(i==r||"/"==i||"\\"==i||"?"==i||"#"==i){if(!n&&ne(d))l=Se;else if(""==d){if(e.host="",n)return;l=ke}else{if(c=V(e,d),c)return c;if("localhost"==e.host&&(e.host=""),n)return;d="",l=ke}continue}d+=i;break;case ke:if(J(e)){if(l=Se,"/"!=i&&"\\"!=i)continue}else if(n||"?"!=i)if(n||"#"!=i){if(i!=r&&(l=Se,"/"!=i))continue}else e.fragment="",l=Re;else e.query="",l=Me;break;case Se:if(i==r||"/"==i||"\\"==i&&J(e)||!n&&("?"==i||"#"==i)){if(ie(d)?(ae(e),"/"==i||"\\"==i&&J(e)||e.path.push("")):oe(d)?"/"==i||"\\"==i&&J(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&ne(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(i==r||"?"==i||"#"==i))while(e.path.length>1&&""===e.path[0])e.path.shift();"?"==i?(e.query="",l=Me):"#"==i&&(e.fragment="",l=Re)}else d+=Z(i,K);break;case Ae:"?"==i?(e.query="",l=Me):"#"==i?(e.fragment="",l=Re):i!=r&&(e.path[0]+=Z(i,X));break;case Me:n||"#"!=i?i!=r&&("'"==i&&J(e)?e.query+="%27":e.query+="#"==i?"%23":Z(i,X)):(e.fragment="",l=Re);break;case Re:i!=r&&(e.fragment+=Z(i,G));break}u++}},Te=function(e){var t,n,r=u(this,Te,"URL"),a=arguments.length>1?arguments[1]:void 0,i=g(e),s=k(r,{type:"URL"});if(void 0!==a)if(a instanceof Te)t=S(a);else if(n=Ee(t={},g(a)),n)throw TypeError(n);if(n=Ee(s,i,null,t),n)throw TypeError(n);var c=s.searchParams=new x,l=w(c);l.updateSearchParams(s.query),l.updateURL=function(){s.query=String(c)||null},o||(r.href=Le.call(r),r.origin=Be.call(r),r.protocol=Ie.call(r),r.username=je.call(r),r.password=Ce.call(r),r.host=Pe.call(r),r.hostname=Ne.call(r),r.port=He.call(r),r.pathname=Fe.call(r),r.search=De.call(r),r.searchParams=Ue.call(r),r.hash=Ve.call(r))},Oe=Te.prototype,Le=function(){var e=S(this),t=e.scheme,n=e.username,r=e.password,a=e.host,o=e.port,i=e.path,s=e.query,c=e.fragment,l=t+":";return null!==a?(l+="//",ee(e)&&(l+=n+(r?":"+r:"")+"@"),l+=Y(a),null!==o&&(l+=":"+o)):"file"==t&&(l+="//"),l+=e.cannotBeABaseURL?i[0]:i.length?"/"+i.join("/"):"",null!==s&&(l+="?"+s),null!==c&&(l+="#"+c),l},Be=function(){var e=S(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Te(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&J(e)?t+"://"+Y(e.host)+(null!==n?":"+n:""):"null"},Ie=function(){return S(this).scheme+":"},je=function(){return S(this).username},Ce=function(){return S(this).password},Pe=function(){var e=S(this),t=e.host,n=e.port;return null===t?"":null===n?Y(t):Y(t)+":"+n},Ne=function(){var e=S(this).host;return null===e?"":Y(e)},He=function(){var e=S(this).port;return null===e?"":String(e)},Fe=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},De=function(){var e=S(this).query;return e?"?"+e:""},Ue=function(){return S(this).searchParams},Ve=function(){var e=S(this).fragment;return e?"#"+e:""},qe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(o&&c(Oe,{href:qe(Le,(function(e){var t=S(this),n=g(e),r=Ee(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)})),origin:qe(Be),protocol:qe(Ie,(function(e){var t=S(this);Ee(t,g(e)+":",se)})),username:qe(je,(function(e){var t=S(this),n=p(g(e));if(!te(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=Z(n[r],W)}})),password:qe(Ce,(function(e){var t=S(this),n=p(g(e));if(!te(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=Z(n[r],W)}})),host:qe(Pe,(function(e){var t=S(this);t.cannotBeABaseURL||Ee(t,g(e),ve)})),hostname:qe(Ne,(function(e){var t=S(this);t.cannotBeABaseURL||Ee(t,g(e),_e)})),port:qe(He,(function(e){var t=S(this);te(t)||(e=g(e),""==e?t.port=null:Ee(t,e,be))})),pathname:qe(Fe,(function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],Ee(t,g(e),ke))})),search:qe(De,(function(e){var t=S(this);e=g(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ee(t,e,Me)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:qe(Ue),hash:qe(Ve,(function(e){var t=S(this);e=g(e),""!=e?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ee(t,e,Re)):t.fragment=null}))}),l(Oe,"toJSON",(function(){return Le.call(this)}),{enumerable:!0}),l(Oe,"toString",(function(){return Le.call(this)}),{enumerable:!0}),y){var $e=y.createObjectURL,ze=y.revokeObjectURL;$e&&l(Te,"createObjectURL",(function(e){return $e.apply(y,arguments)})),ze&&l(Te,"revokeObjectURL",(function(e){return ze.apply(y,arguments)}))}v(Te,"URL"),a({global:!0,forced:!i,sham:!o},{URL:Te})},"2ca0":function(e,t,n){"use strict";var r=n("23e7"),a=n("06cf").f,o=n("50c4"),i=n("577e"),s=n("5a34"),c=n("1d80"),l=n("ab13"),u=n("c430"),f="".startsWith,d=Math.min,p=l("startsWith"),h=!u&&!p&&!!function(){var e=a(String.prototype,"startsWith");return e&&!e.writable}();r({target:"String",proto:!0,forced:!h&&!p},{startsWith:function(e){var t=i(c(this));s(e);var n=o(d(arguments.length>1?arguments[1]:void 0,t.length)),r=i(e);return f?f.call(t,r,n):t.slice(n,n+r.length)===r}})},"2cf4":function(e,t,n){var r,a,o,i,s=n("da84"),c=n("1626"),l=n("d039"),u=n("0366"),f=n("1be4"),d=n("cc12"),p=n("1cdc"),h=n("605d"),m=s.setImmediate,g=s.clearImmediate,v=s.process,_=s.MessageChannel,b=s.Dispatch,y=0,x={},w="onreadystatechange";try{r=s.location}catch(R){}var k=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},S=function(e){return function(){k(e)}},A=function(e){k(e.data)},M=function(e){s.postMessage(String(e),r.protocol+"//"+r.host)};m&&g||(m=function(e){var t=[],n=arguments.length,r=1;while(n>r)t.push(arguments[r++]);return x[++y]=function(){(c(e)?e:Function(e)).apply(void 0,t)},a(y),y},g=function(e){delete x[e]},h?a=function(e){v.nextTick(S(e))}:b&&b.now?a=function(e){b.now(S(e))}:_&&!p?(o=new _,i=o.port2,o.port1.onmessage=A,a=u(i.postMessage,i,1)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!l(M)?(a=M,s.addEventListener("message",A,!1)):a=w in d("script")?function(e){f.appendChild(d("script"))[w]=function(){f.removeChild(this),k(e)}}:function(e){setTimeout(S(e),0)}),e.exports={set:m,clear:g}},"2d00":function(e,t,n){var r,a,o=n("da84"),i=n("342f"),s=o.process,c=o.Deno,l=s&&s.versions||c&&c.version,u=l&&l.v8;u?(r=u.split("."),a=r[0]<4?1:r[0]+r[1]):i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(a=r[1]))),e.exports=a&&+a},"2d78":function(e,t,n){"use strict";t.__esModule=!0,t.tokenize=t.test=t.scanner=t.parser=t.options=t.inherits=t.find=void 0;var r=n("254c"),a=n("316e"),o=u(a),i=n("b7fe"),s=u(i),c=n("4128"),l=u(c);function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var f=function(e){return l.run(s.run(e))},d=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=f(e),r=[],a=0;a<n.length;a++){var o=n[a];!o.isLink||t&&o.type!==t||r.push(o.toObject())}return r},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=f(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)};t.find=d,t.inherits=r.inherits,t.options=o,t.parser=l,t.scanner=s,t.test=p,t.tokenize=f},"2f21":function(e,t,n){var r=n("0206"),a=r.System,o=(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,r.new_int_n,r.assert;function i(){var e=64.82,t=(i.YULE_ORDER,.95),n=(i.MAX_SAMP_FREQ,i.RMS_WINDOW_TIME_NUMERATOR),r=i.RMS_WINDOW_TIME_DENOMINATOR,s=(i.MAX_SAMPLES_PER_WINDOW,[[.038575994352,-3.84664617118067,-.02160367184185,7.81501653005538,-.00123395316851,-11.34170355132042,-9291677959e-14,13.05504219327545,-.01655260341619,-12.28759895145294,.02161526843274,9.4829380631979,-.02074045215285,-5.87257861775999,.00594298065125,2.75465861874613,.00306428023191,-.86984376593551,.00012025322027,.13919314567432,.00288463683916],[.0541865640643,-3.47845948550071,-.02911007808948,6.36317777566148,-.00848709379851,-8.54751527471874,-.00851165645469,9.4769360780128,-.00834990904936,-8.81498681370155,.02245293253339,6.85401540936998,-.02596338512915,-4.39470996079559,.01624864962975,2.19611684890774,-.00240879051584,-.75104302451432,.00674613682247,.13149317958808,-.00187763777362],[.15457299681924,-2.37898834973084,-.09331049056315,2.84868151156327,-.06247880153653,-2.64577170229825,.02163541888798,2.23697657451713,-.05588393329856,-1.67148153367602,.04781476674921,1.00595954808547,.00222312597743,-.45953458054983,.03174092540049,.16378164858596,-.01390589421898,-.05032077717131,.00651420667831,.0234789740702,-.00881362733839],[.30296907319327,-1.61273165137247,-.22613988682123,1.0797749225997,-.08587323730772,-.2565625775407,.03282930172664,-.1627671912044,-.00915702933434,-.22638893773906,-.02364141202522,.39120800788284,-.00584456039913,-.22138138954925,.06276101321749,.04500235387352,-828086748e-14,.02005851806501,.00205861885564,.00302439095741,-.02950134983287],[.33642304856132,-1.49858979367799,-.2557224142557,.87350271418188,-.11828570177555,.12205022308084,.11921148675203,-.80774944671438,-.07834489609479,.47854794562326,-.0046997791438,-.12453458140019,-.0058950022444,-.04067510197014,.05724228140351,.08333755284107,.00832043980773,-.04237348025746,-.0163538138454,.02977207319925,-.0176017656815],[.4491525660845,-.62820619233671,-.14351757464547,.29661783706366,-.22784394429749,-.372563729424,-.01419140100551,.00213767857124,.04078262797139,-.42029820170918,-.12398163381748,.22199650564824,.04097565135648,.00613424350682,.10478503600251,.06747620744683,-.01863887810927,.05784820375801,-.03193428438915,.03222754072173,.00541907748707],[.56619470757641,-1.04800335126349,-.75464456939302,.29156311971249,.1624213774223,-.26806001042947,.16744243493672,.00819999645858,-.18901604199609,.45054734505008,.3093178284183,-.33032403314006,-.27562961986224,.0673936833311,.00647310677246,-.04784254229033,.08647503780351,.01639907836189,-.0378898455484,.01807364323573,-.00588215443421],[.58100494960553,-.51035327095184,-.53174909058578,-.31863563325245,-.14289799034253,-.20256413484477,.17520704835522,.1472815413433,.02377945217615,.38952639978999,.15558449135573,-.23313271880868,-.25344790059353,-.05246019024463,.01628462406333,-.02505961724053,.06920467763959,.02442357316099,-.03721611395801,.01818801111503,-.00749618797172],[.53648789255105,-.2504987195602,-.42163034350696,-.43193942311114,-.00275953611929,-.03424681017675,.04267842219415,-.04678328784242,-.10214864179676,.26408300200955,.14590772289388,.15113130533216,-.02459864859345,-.17556493366449,-.11202315195388,-.18823009262115,-.04060034127,.05477720428674,.0478866554818,.0470440968812,-.02217936801134]]),c=[[.98621192462708,-1.97223372919527,-1.97242384925416,.97261396931306,.98621192462708],[.98500175787242,-1.96977855582618,-1.97000351574484,.9702284756635,.98500175787242],[.97938932735214,-1.95835380975398,-1.95877865470428,.95920349965459,.97938932735214],[.97531843204928,-1.95002759149878,-1.95063686409857,.95124613669835,.97531843204928],[.97316523498161,-1.94561023566527,-1.94633046996323,.94705070426118,.97316523498161],[.96454515552826,-1.92783286977036,-1.92909031105652,.93034775234268,.96454515552826],[.96009142950541,-1.91858953033784,-1.92018285901082,.92177618768381,.96009142950541],[.95856916599601,-1.9154210807478,-1.91713833199203,.91885558323625,.95856916599601],[.94597685600279,-1.88903307939452,-1.89195371200558,.89487434461664,.94597685600279]];function l(e,t,n,r,a,o){while(0!=a--)n[r]=1e-10+e[t+0]*o[0]-n[r-1]*o[1]+e[t-1]*o[2]-n[r-2]*o[3]+e[t-2]*o[4]-n[r-3]*o[5]+e[t-3]*o[6]-n[r-4]*o[7]+e[t-4]*o[8]-n[r-5]*o[9]+e[t-5]*o[10]-n[r-6]*o[11]+e[t-6]*o[12]-n[r-7]*o[13]+e[t-7]*o[14]-n[r-8]*o[15]+e[t-8]*o[16]-n[r-9]*o[17]+e[t-9]*o[18]-n[r-10]*o[19]+e[t-10]*o[20],++r,++t}function u(e,t,n,r,a,o){while(0!=a--)n[r]=e[t+0]*o[0]-n[r-1]*o[1]+e[t-1]*o[2]-n[r-2]*o[3]+e[t-2]*o[4],++r,++t}function f(e,t){for(var a=0;a<MAX_ORDER;a++)e.linprebuf[a]=e.lstepbuf[a]=e.loutbuf[a]=e.rinprebuf[a]=e.rstepbuf[a]=e.routbuf[a]=0;switch(0|t){case 48e3:e.reqindex=0;break;case 44100:e.reqindex=1;break;case 32e3:e.reqindex=2;break;case 24e3:e.reqindex=3;break;case 22050:e.reqindex=4;break;case 16e3:e.reqindex=5;break;case 12e3:e.reqindex=6;break;case 11025:e.reqindex=7;break;case 8e3:e.reqindex=8;break;default:return INIT_GAIN_ANALYSIS_ERROR}return e.sampleWindow=0|(t*n+r-1)/r,e.lsum=0,e.rsum=0,e.totsamp=0,o.ill(e.A,0),INIT_GAIN_ANALYSIS_OK}function d(e){return e*e}function p(n,r){var a,o=0;for(a=0;a<r;a++)o+=n[a];if(0==o)return GAIN_NOT_ENOUGH_SAMPLES;var s=0|Math.ceil(o*(1-t));for(a=r;a-- >0;)if((s-=n[a])<=0)break;return e-a/i.STEPS_per_dB}this.InitGainAnalysis=function(e,t){return f(e,t)!=INIT_GAIN_ANALYSIS_OK?INIT_GAIN_ANALYSIS_ERROR:(e.linpre=MAX_ORDER,e.rinpre=MAX_ORDER,e.lstep=MAX_ORDER,e.rstep=MAX_ORDER,e.lout=MAX_ORDER,e.rout=MAX_ORDER,o.fill(e.B,0),INIT_GAIN_ANALYSIS_OK)},this.AnalyzeSamples=function(e,t,n,r,o,f,p){var h,m,g,v,_,b,y;if(0==f)return GAIN_ANALYSIS_OK;switch(y=0,_=f,p){case 1:r=t,o=n;break;case 2:break;default:return GAIN_ANALYSIS_ERROR}f<MAX_ORDER?(a.arraycopy(t,n,e.linprebuf,MAX_ORDER,f),a.arraycopy(r,o,e.rinprebuf,MAX_ORDER,f)):(a.arraycopy(t,n,e.linprebuf,MAX_ORDER,MAX_ORDER),a.arraycopy(r,o,e.rinprebuf,MAX_ORDER,MAX_ORDER));while(_>0){b=_>e.sampleWindow-e.totsamp?e.sampleWindow-e.totsamp:_,y<MAX_ORDER?(h=e.linpre+y,m=e.linprebuf,g=e.rinpre+y,v=e.rinprebuf,b>MAX_ORDER-y&&(b=MAX_ORDER-y)):(h=n+y,m=t,g=o+y,v=r),l(m,h,e.lstepbuf,e.lstep+e.totsamp,b,s[e.reqindex]),l(v,g,e.rstepbuf,e.rstep+e.totsamp,b,s[e.reqindex]),u(e.lstepbuf,e.lstep+e.totsamp,e.loutbuf,e.lout+e.totsamp,b,c[e.reqindex]),u(e.rstepbuf,e.rstep+e.totsamp,e.routbuf,e.rout+e.totsamp,b,c[e.reqindex]),h=e.lout+e.totsamp,m=e.loutbuf,g=e.rout+e.totsamp,v=e.routbuf;var x=b%8;while(0!=x--)e.lsum+=d(m[h++]),e.rsum+=d(v[g++]);x=b/8;while(0!=x--)e.lsum+=d(m[h+0])+d(m[h+1])+d(m[h+2])+d(m[h+3])+d(m[h+4])+d(m[h+5])+d(m[h+6])+d(m[h+7]),h+=8,e.rsum+=d(v[g+0])+d(v[g+1])+d(v[g+2])+d(v[g+3])+d(v[g+4])+d(v[g+5])+d(v[g+6])+d(v[g+7]),g+=8;if(_-=b,y+=b,e.totsamp+=b,e.totsamp==e.sampleWindow){var w=10*i.STEPS_per_dB*Math.log10((e.lsum+e.rsum)/e.totsamp*.5+1e-37),k=w<=0?0:0|w;k>=e.A.length&&(k=e.A.length-1),e.A[k]++,e.lsum=e.rsum=0,a.arraycopy(e.loutbuf,e.totsamp,e.loutbuf,0,MAX_ORDER),a.arraycopy(e.routbuf,e.totsamp,e.routbuf,0,MAX_ORDER),a.arraycopy(e.lstepbuf,e.totsamp,e.lstepbuf,0,MAX_ORDER),a.arraycopy(e.rstepbuf,e.totsamp,e.rstepbuf,0,MAX_ORDER),e.totsamp=0}if(e.totsamp>e.sampleWindow)return GAIN_ANALYSIS_ERROR}return f<MAX_ORDER?(a.arraycopy(e.linprebuf,f,e.linprebuf,0,MAX_ORDER-f),a.arraycopy(e.rinprebuf,f,e.rinprebuf,0,MAX_ORDER-f),a.arraycopy(t,n,e.linprebuf,MAX_ORDER-f,f),a.arraycopy(r,o,e.rinprebuf,MAX_ORDER-f,f)):(a.arraycopy(t,n+f-MAX_ORDER,e.linprebuf,0,MAX_ORDER),a.arraycopy(r,o+f-MAX_ORDER,e.rinprebuf,0,MAX_ORDER)),GAIN_ANALYSIS_OK},this.GetTitleGain=function(e){for(var t=p(e.A,e.A.length),n=0;n<e.A.length;n++)e.B[n]+=e.A[n],e.A[n]=0;for(n=0;n<MAX_ORDER;n++)e.linprebuf[n]=e.lstepbuf[n]=e.loutbuf[n]=e.rinprebuf[n]=e.rstepbuf[n]=e.routbuf[n]=0;return e.totsamp=0,e.lsum=e.rsum=0,t}}i.STEPS_per_dB=100,i.MAX_dB=120,i.GAIN_NOT_ENOUGH_SAMPLES=-24601,i.GAIN_ANALYSIS_ERROR=0,i.GAIN_ANALYSIS_OK=1,i.INIT_GAIN_ANALYSIS_ERROR=0,i.INIT_GAIN_ANALYSIS_OK=1,i.YULE_ORDER=10,i.MAX_ORDER=i.YULE_ORDER,i.MAX_SAMP_FREQ=48e3,i.RMS_WINDOW_TIME_NUMERATOR=1,i.RMS_WINDOW_TIME_DENOMINATOR=20,i.MAX_SAMPLES_PER_WINDOW=i.MAX_SAMP_FREQ*i.RMS_WINDOW_TIME_NUMERATOR/i.RMS_WINDOW_TIME_DENOMINATOR+1,e.exports=i},"316e":function(e,t,n){"use strict";t.__esModule=!0;var r="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},a={defaultProtocol:"http",events:null,format:s,formatHref:s,nl2br:!1,tagName:"a",target:c,validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){e=e||{},this.defaultProtocol=e.hasOwnProperty("defaultProtocol")?e.defaultProtocol:a.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:a.events,this.format=e.hasOwnProperty("format")?e.format:a.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:a.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:a.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:a.tagName,this.target=e.hasOwnProperty("target")?e.target:a.target,this.validate=e.hasOwnProperty("validate")?e.validate:a.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||a.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||a.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:a.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function i(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1}function s(e){return e}function c(e,t){return"url"===t?"_blank":null}t.defaults=a,t.Options=o,t.contains=i,o.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var o=void 0,i=this[e];if(!i)return i;switch("undefined"===typeof i?"undefined":r(i)){case"function":return i(t,n.type);case"object":return o=i.hasOwnProperty(n.type)?i[n.type]:a[e],"function"===typeof o?o(t,n.type):o}return i},getObject:function(e,t,n){var r=this[e];return"function"===typeof r?r(t,n.type):r}}},3280:function(e,t,n){"use strict";var r=n("ebb5"),a=n("e58c"),o=r.aTypedArray,i=r.exportTypedArrayMethod;i("lastIndexOf",(function(e){return a.apply(o(this),arguments)}))},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},"35a1":function(e,t,n){var r=n("f5df"),a=n("dc4a"),o=n("3f8c"),i=n("b622"),s=i("iterator");e.exports=function(e){if(void 0!=e)return a(e,s)||a(e,"@@iterator")||o[r(e)]}},"35d6":function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},a=0;a<t.length;a++){var o=t[a],i=o[0],s=o[1],c=o[2],l=o[3],u={id:e+":"+a,css:s,media:c,sourceMap:l};r[i]?r[i].parts.push(u):n.push(r[i]={id:i,parts:[u]})}return n}function a(e,t,n){var a=r(e,t);o(a,n)}function o(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var r=0;r<e.length;r++){var a=e[r],o=n[a.id];if(!o){for(var i=0;i<a.parts.length;i++)s(a.parts[i],t);n[a.id]=!0}}}function i(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}function s(e,t){var n=i(t),r=e.css,a=e.media,o=e.sourceMap;if(a&&n.setAttribute("media",a),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),n.styleSheet)n.styleSheet.cssText=r;else{while(n.firstChild)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(r))}}n.r(t),n.d(t,"default",(function(){return a}))},"37e8":function(e,t,n){var r=n("83ab"),a=n("9bf2"),o=n("825a"),i=n("df75");e.exports=r?Object.defineProperties:function(e,t){o(e);var n,r=i(t),s=r.length,c=0;while(s>c)a.f(e,n=r[c++],t[n]);return e}},3967: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,r.new_int_n,r.assert;function o(){function e(e,t,n,r,a,o,i,s,c,l,u,f,d,p,h){this.vbr_q=e,this.quant_comp=t,this.quant_comp_s=n,this.expY=r,this.st_lrm=a,this.st_s=o,this.masking_adj=i,this.masking_adj_short=s,this.ath_lower=c,this.ath_curve=l,this.ath_sensitivity=u,this.interch=f,this.safejoint=d,this.sfb21mod=p,this.msfix=h}function t(e,t,n,r,a,o,i,s,c,l,u,f,d,p){this.quant_comp=t,this.quant_comp_s=n,this.safejoint=r,this.nsmsfix=a,this.st_lrm=o,this.st_s=i,this.nsbass=s,this.scale=c,this.masking_adj=l,this.ath_lower=u,this.ath_curve=f,this.interch=d,this.sfscale=p}var n;this.setModules=function(e){n=e};var r=[new e(0,9,9,0,5.2,125,-4.2,-6.3,4.8,1,0,0,2,21,.97),new e(1,9,9,0,5.3,125,-3.6,-5.6,4.5,1.5,0,0,2,21,1.35),new e(2,9,9,0,5.6,125,-2.2,-3.5,2.8,2,0,0,2,21,1.49),new e(3,9,9,1,5.8,130,-1.8,-2.8,2.6,3,-4,0,2,20,1.64),new e(4,9,9,1,6,135,-.7,-1.1,1.1,3.5,-8,0,2,0,1.79),new e(5,9,9,1,6.4,140,.5,.4,-7.5,4,-12,2e-4,0,0,1.95),new e(6,9,9,1,6.6,145,.67,.65,-14.7,6.5,-19,4e-4,0,0,2.3),new e(7,9,9,1,6.6,145,.8,.75,-19.7,8,-22,6e-4,0,0,2.7),new e(8,9,9,1,6.6,145,1.2,1.15,-27.5,10,-23,7e-4,0,0,0),new e(9,9,9,1,6.6,145,1.6,1.6,-36,11,-25,8e-4,0,0,0),new e(10,9,9,1,6.6,145,2,2,-36,12,-25,8e-4,0,0,0)],o=[new e(0,9,9,0,4.2,25,-7,-4,7.5,1,0,0,2,26,.97),new e(1,9,9,0,4.2,25,-5.6,-3.6,4.5,1.5,0,0,2,21,1.35),new e(2,9,9,0,4.2,25,-4.4,-1.8,2,2,0,0,2,18,1.49),new e(3,9,9,1,4.2,25,-3.4,-1.25,1.1,3,-4,0,2,15,1.64),new e(4,9,9,1,4.2,25,-2.2,.1,0,3.5,-8,0,2,0,1.79),new e(5,9,9,1,4.2,25,-1,1.65,-7.7,4,-12,2e-4,0,0,1.95),new e(6,9,9,1,4.2,25,-0,2.47,-7.7,6.5,-19,4e-4,0,0,2),new e(7,9,9,1,4.2,25,.5,2,-14.5,8,-22,6e-4,0,0,2),new e(8,9,9,1,4.2,25,1,2.4,-22,10,-23,7e-4,0,0,2),new e(9,9,9,1,4.2,25,1.5,2.95,-30,11,-25,8e-4,0,0,2),new e(10,9,9,1,4.2,25,2,2.95,-36,12,-30,8e-4,0,0,2)];function i(e,t,n){var i=e.VBR==a.vbr_rh?r:o,s=e.VBR_q_frac,c=i[t],u=i[t+1],f=c;c.st_lrm=c.st_lrm+s*(u.st_lrm-c.st_lrm),c.st_s=c.st_s+s*(u.st_s-c.st_s),c.masking_adj=c.masking_adj+s*(u.masking_adj-c.masking_adj),c.masking_adj_short=c.masking_adj_short+s*(u.masking_adj_short-c.masking_adj_short),c.ath_lower=c.ath_lower+s*(u.ath_lower-c.ath_lower),c.ath_curve=c.ath_curve+s*(u.ath_curve-c.ath_curve),c.ath_sensitivity=c.ath_sensitivity+s*(u.ath_sensitivity-c.ath_sensitivity),c.interch=c.interch+s*(u.interch-c.interch),c.msfix=c.msfix+s*(u.msfix-c.msfix),l(e,f.vbr_q),0!=n?e.quant_comp=f.quant_comp:Math.abs(e.quant_comp- -1)>0||(e.quant_comp=f.quant_comp),0!=n?e.quant_comp_short=f.quant_comp_s:Math.abs(e.quant_comp_short- -1)>0||(e.quant_comp_short=f.quant_comp_s),0!=f.expY&&(e.experimentalY=0!=f.expY),0!=n?e.internal_flags.nsPsy.attackthre=f.st_lrm:Math.abs(e.internal_flags.nsPsy.attackthre- -1)>0||(e.internal_flags.nsPsy.attackthre=f.st_lrm),0!=n?e.internal_flags.nsPsy.attackthre_s=f.st_s:Math.abs(e.internal_flags.nsPsy.attackthre_s- -1)>0||(e.internal_flags.nsPsy.attackthre_s=f.st_s),0!=n?e.maskingadjust=f.masking_adj:Math.abs(e.maskingadjust-0)>0||(e.maskingadjust=f.masking_adj),0!=n?e.maskingadjust_short=f.masking_adj_short:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=f.masking_adj_short),0!=n?e.ATHlower=-f.ath_lower/10:Math.abs(10*-e.ATHlower-0)>0||(e.ATHlower=-f.ath_lower/10),0!=n?e.ATHcurve=f.ath_curve:Math.abs(e.ATHcurve- -1)>0||(e.ATHcurve=f.ath_curve),0!=n?e.athaa_sensitivity=f.ath_sensitivity:Math.abs(e.athaa_sensitivity- -1)>0||(e.athaa_sensitivity=f.ath_sensitivity),f.interch>0&&(0!=n?e.interChRatio=f.interch:Math.abs(e.interChRatio- -1)>0||(e.interChRatio=f.interch)),f.safejoint>0&&(e.exp_nspsytune=e.exp_nspsytune|f.safejoint),f.sfb21mod>0&&(e.exp_nspsytune=e.exp_nspsytune|f.sfb21mod<<20),0!=n?e.msfix=f.msfix:Math.abs(e.msfix- -1)>0||(e.msfix=f.msfix),0==n&&(e.VBR_q=t,e.VBR_q_frac=s)}var s=[new t(8,9,9,0,0,6.6,145,0,.95,0,-30,11,.0012,1),new t(16,9,9,0,0,6.6,145,0,.95,0,-25,11,.001,1),new t(24,9,9,0,0,6.6,145,0,.95,0,-20,11,.001,1),new t(32,9,9,0,0,6.6,145,0,.95,0,-15,11,.001,1),new t(40,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new t(48,9,9,0,0,6.6,145,0,.95,0,-10,11,9e-4,1),new t(56,9,9,0,0,6.6,145,0,.95,0,-6,11,8e-4,1),new t(64,9,9,0,0,6.6,145,0,.95,0,-2,11,8e-4,1),new t(80,9,9,0,0,6.6,145,0,.95,0,0,8,7e-4,1),new t(96,9,9,0,2.5,6.6,145,0,.95,0,1,5.5,6e-4,1),new t(112,9,9,0,2.25,6.6,145,0,.95,0,2,4.5,5e-4,1),new t(128,9,9,0,1.95,6.4,140,0,.95,0,3,4,2e-4,1),new t(160,9,9,1,1.79,6,135,0,.95,-2,5,3.5,0,1),new t(192,9,9,1,1.49,5.6,125,0,.97,-4,7,3,0,0),new t(224,9,9,1,1.25,5.2,125,0,.98,-6,9,2,0,0),new t(256,9,9,1,.97,5.2,125,0,1,-8,10,1,0,0),new t(320,9,9,1,.9,5.2,125,0,1,-10,12,0,0,0)];function c(e,t,r){var o=t,i=n.nearestBitrateFullIndex(t);if(e.VBR=a.vbr_abr,e.VBR_mean_bitrate_kbps=o,e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,320),e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.brate=e.VBR_mean_bitrate_kbps,e.VBR_mean_bitrate_kbps>320&&(e.disable_reservoir=!0),s[i].safejoint>0&&(e.exp_nspsytune=2|e.exp_nspsytune),s[i].sfscale>0&&(e.internal_flags.noise_shaping=2),Math.abs(s[i].nsbass)>0){var c=int(4*s[i].nsbass);c<0&&(c+=64),e.exp_nspsytune=e.exp_nspsytune|c<<2}return 0!=r?e.quant_comp=s[i].quant_comp:Math.abs(e.quant_comp- -1)>0||(e.quant_comp=s[i].quant_comp),0!=r?e.quant_comp_short=s[i].quant_comp_s:Math.abs(e.quant_comp_short- -1)>0||(e.quant_comp_short=s[i].quant_comp_s),0!=r?e.msfix=s[i].nsmsfix:Math.abs(e.msfix- -1)>0||(e.msfix=s[i].nsmsfix),0!=r?e.internal_flags.nsPsy.attackthre=s[i].st_lrm:Math.abs(e.internal_flags.nsPsy.attackthre- -1)>0||(e.internal_flags.nsPsy.attackthre=s[i].st_lrm),0!=r?e.internal_flags.nsPsy.attackthre_s=s[i].st_s:Math.abs(e.internal_flags.nsPsy.attackthre_s- -1)>0||(e.internal_flags.nsPsy.attackthre_s=s[i].st_s),0!=r?e.scale=s[i].scale:Math.abs(e.scale- -1)>0||(e.scale=s[i].scale),0!=r?e.maskingadjust=s[i].masking_adj:Math.abs(e.maskingadjust-0)>0||(e.maskingadjust=s[i].masking_adj),s[i].masking_adj>0?0!=r?e.maskingadjust_short=.9*s[i].masking_adj:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=.9*s[i].masking_adj):0!=r?e.maskingadjust_short=1.1*s[i].masking_adj:Math.abs(e.maskingadjust_short-0)>0||(e.maskingadjust_short=1.1*s[i].masking_adj),0!=r?e.ATHlower=-s[i].ath_lower/10:Math.abs(10*-e.ATHlower-0)>0||(e.ATHlower=-s[i].ath_lower/10),0!=r?e.ATHcurve=s[i].ath_curve:Math.abs(e.ATHcurve- -1)>0||(e.ATHcurve=s[i].ath_curve),0!=r?e.interChRatio=s[i].interch:Math.abs(e.interChRatio- -1)>0||(e.interChRatio=s[i].interch),t}function l(e,t){var n=0;return 0>t&&(n=-1,t=0),9<t&&(n=-1,t=9),e.VBR_q=t,e.VBR_q_frac=0,n}this.apply_preset=function(e,t,n){switch(t){case Lame.R3MIX:t=Lame.V3,e.VBR=a.vbr_mtrh;break;case Lame.MEDIUM:t=Lame.V4,e.VBR=a.vbr_rh;break;case Lame.MEDIUM_FAST:t=Lame.V4,e.VBR=a.vbr_mtrh;break;case Lame.STANDARD:t=Lame.V2,e.VBR=a.vbr_rh;break;case Lame.STANDARD_FAST:t=Lame.V2,e.VBR=a.vbr_mtrh;break;case Lame.EXTREME:t=Lame.V0,e.VBR=a.vbr_rh;break;case Lame.EXTREME_FAST:t=Lame.V0,e.VBR=a.vbr_mtrh;break;case Lame.INSANE:return t=320,e.preset=t,c(e,t,n),e.VBR=a.vbr_off,t}switch(e.preset=t,t){case Lame.V9:return i(e,9,n),t;case Lame.V8:return i(e,8,n),t;case Lame.V7:return i(e,7,n),t;case Lame.V6:return i(e,6,n),t;case Lame.V5:return i(e,5,n),t;case Lame.V4:return i(e,4,n),t;case Lame.V3:return i(e,3,n),t;case Lame.V2:return i(e,2,n),t;case Lame.V1:return i(e,1,n),t;case Lame.V0:return i(e,0,n),t;default:break}return 8<=t&&t<=320?c(e,t,n):(e.preset=0,t)}}e.exports=o},"3a7b":function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").findIndex,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("findIndex",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"3bbe":function(e,t,n){var r=n("1626");e.exports=function(e){if("object"===typeof e||r(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},"3c5d":function(e,t,n){"use strict";var r=n("ebb5"),a=n("50c4"),o=n("182d"),i=n("7b0b"),s=n("d039"),c=r.aTypedArray,l=r.exportTypedArrayMethod,u=s((function(){new Int8Array(1).set({})}));l("set",(function(e){c(this);var t=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=i(e),s=a(r.length),l=0;if(s+t>n)throw RangeError("Wrong length");while(l<s)this[t+l]=r[l++]}),u)},"3ca3":function(e,t,n){"use strict";var r=n("6547").charAt,a=n("577e"),o=n("69f3"),i=n("7dd0"),s="String Iterator",c=o.set,l=o.getterFor(s);i(String,"String",(function(e){c(this,{type:s,string:a(e),index:0})}),(function(){var e,t=l(this),n=t.string,a=t.index;return a>=n.length?{value:void 0,done:!0}:(e=r(n,a),t.index+=e.length,{value:e,done:!1})}))},"3f8c":function(e,t){e.exports={}},"3fcc":function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").map,o=n("b6b7"),i=r.aTypedArray,s=r.exportTypedArrayMethod;s("map",(function(e){return a(i(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(o(e))(t)}))}))},"408a":function(e,t){var n=1..valueOf;e.exports=function(e){return n.call(e)}},4128:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("1652"),a=n("bea1"),o=s(a),i=n("7656");function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var c=function(e){return new r.TokenState(e)},l=c(),u=c(),f=c(),d=c(),p=c(),h=c(),m=c(),g=c(a.URL),v=c(),_=c(a.URL),b=c(a.URL),y=c(),x=c(),w=c(),k=c(),S=c(),A=c(a.URL),M=c(a.URL),R=c(a.URL),E=c(a.URL),T=c(),O=c(),L=c(),B=c(),I=c(),j=c(),C=c(a.EMAIL),P=c(),N=c(a.EMAIL),H=c(a.MAILTOEMAIL),F=c(),D=c(),U=c(),V=c(),q=c(a.NL);l.on(i.NL,q).on(i.PROTOCOL,u).on(i.MAILTO,f).on(i.SLASH,d),u.on(i.SLASH,d),d.on(i.SLASH,p),l.on(i.TLD,h).on(i.DOMAIN,h).on(i.LOCALHOST,g).on(i.NUM,h),p.on(i.TLD,b).on(i.DOMAIN,b).on(i.NUM,b).on(i.LOCALHOST,b),h.on(i.DOT,m),I.on(i.DOT,j),m.on(i.TLD,g).on(i.DOMAIN,h).on(i.NUM,h).on(i.LOCALHOST,h),j.on(i.TLD,C).on(i.DOMAIN,I).on(i.NUM,I).on(i.LOCALHOST,I),g.on(i.DOT,m),C.on(i.DOT,j),g.on(i.COLON,v).on(i.SLASH,b),v.on(i.NUM,_),_.on(i.SLASH,b),C.on(i.COLON,P),P.on(i.NUM,N);var $=[i.DOMAIN,i.AT,i.LOCALHOST,i.NUM,i.PLUS,i.POUND,i.PROTOCOL,i.SLASH,i.TLD,i.UNDERSCORE,i.SYM,i.AMPERSAND],z=[i.COLON,i.DOT,i.QUERY,i.PUNCTUATION,i.CLOSEBRACE,i.CLOSEBRACKET,i.CLOSEANGLEBRACKET,i.CLOSEPAREN,i.OPENBRACE,i.OPENBRACKET,i.OPENANGLEBRACKET,i.OPENPAREN];b.on(i.OPENBRACE,x).on(i.OPENBRACKET,w).on(i.OPENANGLEBRACKET,k).on(i.OPENPAREN,S),y.on(i.OPENBRACE,x).on(i.OPENBRACKET,w).on(i.OPENANGLEBRACKET,k).on(i.OPENPAREN,S),x.on(i.CLOSEBRACE,b),w.on(i.CLOSEBRACKET,b),k.on(i.CLOSEANGLEBRACKET,b),S.on(i.CLOSEPAREN,b),A.on(i.CLOSEBRACE,b),M.on(i.CLOSEBRACKET,b),R.on(i.CLOSEANGLEBRACKET,b),E.on(i.CLOSEPAREN,b),T.on(i.CLOSEBRACE,b),O.on(i.CLOSEBRACKET,b),L.on(i.CLOSEANGLEBRACKET,b),B.on(i.CLOSEPAREN,b),x.on($,A),w.on($,M),k.on($,R),S.on($,E),x.on(z,T),w.on(z,O),k.on(z,L),S.on(z,B),A.on($,A),M.on($,M),R.on($,R),E.on($,E),A.on(z,A),M.on(z,M),R.on(z,R),E.on(z,E),T.on($,A),O.on($,M),L.on($,R),B.on($,E),T.on(z,T),O.on(z,O),L.on(z,L),B.on(z,B),b.on($,b),y.on($,b),b.on(z,y),y.on(z,y),f.on(i.TLD,H).on(i.DOMAIN,H).on(i.NUM,H).on(i.LOCALHOST,H),H.on($,H).on(z,F),F.on($,H).on(z,F);var Y=[i.DOMAIN,i.NUM,i.PLUS,i.POUND,i.QUERY,i.UNDERSCORE,i.SYM,i.AMPERSAND,i.TLD];h.on(Y,D).on(i.AT,U),g.on(Y,D).on(i.AT,U),m.on(Y,D),D.on(Y,D).on(i.AT,U).on(i.DOT,V),V.on(Y,D),U.on(i.TLD,I).on(i.DOMAIN,I).on(i.LOCALHOST,C);var X=function(e){var t=e.length,n=0,r=[],o=[];while(n<t){var i=l,s=null,c=null,u=0,f=null,d=-1;while(n<t&&!(s=i.next(e[n])))o.push(e[n++]);while(n<t&&(c=s||i.next(e[n])))s=null,i=c,i.accepts()?(d=0,f=i):d>=0&&d++,n++,u++;if(d<0)for(var p=n-u;p<n;p++)o.push(e[p]);else{o.length>0&&(r.push(new a.TEXT(o)),o=[]),n-=d,u-=d;var h=f.emit();r.push(new h(e.slice(n-u,n)))}}return o.length>0&&r.push(new a.TEXT(o)),r};t.State=r.TokenState,t.TOKENS=o,t.run=X,t.start=l},4160:function(e,t,n){"use strict";var r=n("23e7"),a=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=a},{forEach:a})},"428f":function(e,t,n){var r=n("da84");e.exports=r},"44ad":function(e,t,n){var r=n("d039"),a=n("c6b6"),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},"44d2":function(e,t,n){var r=n("b622"),a=n("7c73"),o=n("9bf2"),i=r("unscopables"),s=Array.prototype;void 0==s[i]&&o.f(s,i,{configurable:!0,value:a(null)}),e.exports=function(e){s[i][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),a=n("c6b6"),o=n("b622"),i=o("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==a(e))}},"45fc":function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").some,o=n("a640"),i=o("some");r({target:"Array",proto:!0,forced:!i},{some:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"466d":function(e,t,n){"use strict";var r=n("d784"),a=n("825a"),o=n("50c4"),i=n("577e"),s=n("1d80"),c=n("dc4a"),l=n("8aa5"),u=n("14c3");r("match",(function(e,t,n){return[function(t){var n=s(this),r=void 0==t?void 0:c(t,e);return r?r.call(t,n):new RegExp(t)[e](i(n))},function(e){var r=a(this),s=i(e),c=n(t,r,s);if(c.done)return c.value;if(!r.global)return u(r,s);var f=r.unicode;r.lastIndex=0;var d,p=[],h=0;while(null!==(d=u(r,s))){var m=i(d[0]);p[h]=m,""===m&&(r.lastIndex=l(s,o(r.lastIndex),f)),h++}return 0===h?null:p}]}))},"46f3":function(e,t,n){"use strict";function r(){return function(e){e&&(this.v=e)}}t.__esModule=!0,t.createTokenClass=r},4795:function(e,t,n){var r=n("23e7"),a=n("da84"),o=n("1626"),i=n("342f"),s=[].slice,c=/MSIE .\./.test(i),l=function(e){return function(t,n){var r=arguments.length>2,a=r?s.call(arguments,2):void 0;return e(r?function(){(o(t)?t:Function(t)).apply(this,a)}:t,n)}};r({global:!0,bind:!0,forced:c},{setTimeout:l(a.setTimeout),setInterval:l(a.setInterval)})},4840:function(e,t,n){var r=n("825a"),a=n("5087"),o=n("b622"),i=o("species");e.exports=function(e,t){var n,o=r(e).constructor;return void 0===o||void 0==(n=r(o)[i])?t:a(n)}},"485a":function(e,t,n){var r=n("1626"),a=n("861d");e.exports=function(e,t){var n,o;if("string"===t&&r(n=e.toString)&&!a(o=n.call(e)))return o;if(r(n=e.valueOf)&&!a(o=n.call(e)))return o;if("string"!==t&&r(n=e.toString)&&!a(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},4930:function(e,t,n){var r=n("2d00"),a=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"498a":function(e,t,n){"use strict";var r=n("23e7"),a=n("58a8").trim,o=n("c8d2");r({target:"String",proto:!0,forced:o("trim")},{trim:function(){return a(this)}})},"4a65":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),o=(r.new_float_n,r.new_int),i=(r.new_int_n,r.assert),s=n("f052"),c=n("4b5e"),l=n("9828"),u=n("bd8b");function f(e){var t=e;this.quantize=t,this.iteration_loop=function(e,t,n,r){var f,d=e.internal_flags,p=a(l.SFBMAX),h=a(576),m=o(2),g=0,v=d.l3_side,_=new s(g);this.quantize.rv.ResvFrameBegin(e,_),g=_.bits;for(var b=0;b<d.mode_gr;b++){f=this.quantize.qupvt.on_pe(e,t,m,g,b,b),d.mode_ext==c.MPG_MD_MS_LR&&(this.quantize.ms_convert(d.l3_side,b),this.quantize.qupvt.reduce_side(m,n[b],g,f));for(var y=0;y<d.channels_out;y++){var x,w,k=v.tt[b][y];k.block_type!=c.SHORT_TYPE?(x=0,w=d.PSY.mask_adjust-x):(x=0,w=d.PSY.mask_adjust_short-x),d.masking_lower=Math.pow(10,.1*w),this.quantize.init_outer_loop(d,k),this.quantize.init_xrpow(d,k,h)&&(this.quantize.qupvt.calc_xmin(e,r[b][y],k,p),this.quantize.outer_loop(e,k,p,h,y,m[y])),this.quantize.iteration_finish_one(d,b,y),i(k.part2_3_length<=u.MAX_BITS_PER_CHANNEL),i(k.part2_3_length<=m[y])}}this.quantize.rv.ResvFrameEnd(d,g)}}e.exports=f},"4b4f":function(e,t,n){var r=n("24fb");t=r(!1),t.push([e.i,'.vac-fade-spinner-enter{opacity:0}.vac-fade-spinner-enter-active{transition:opacity .8s}.vac-fade-spinner-leave-active{transition:opacity .2s;opacity:0}.vac-fade-image-enter{opacity:0}.vac-fade-image-enter-active{transition:opacity 1s}.vac-fade-image-leave-active{transition:opacity .5s;opacity:0}.vac-fade-message-enter{opacity:0}.vac-fade-message-enter-active{transition:opacity .5s}.vac-fade-message-leave-active{transition:opacity .2s;opacity:0}.vac-slide-left-enter-active,.vac-slide-right-enter-active{transition:all .3s ease;transition-property:transform,opacity}.vac-slide-left-leave-active,.vac-slide-right-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1);transition-property:transform,opacity}.vac-slide-left-enter,.vac-slide-left-leave-to{transform:translateX(10px);opacity:0}.vac-slide-right-enter,.vac-slide-right-leave-to{transform:translateX(-10px);opacity:0}.vac-slide-up-enter-active{transition:all .3s ease}.vac-slide-up-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1)}.vac-slide-up-enter,.vac-slide-up-leave-to{transform:translateY(10px);opacity:0}.vac-bounce-enter-active{-webkit-animation:vac-bounce-in .5s;animation:vac-bounce-in .5s}.vac-bounce-leave-active{animation:vac-bounce-in .3s reverse}@-webkit-keyframes vac-bounce-in{0%{transform:scale(0)}50%{transform:scale(1.05)}to{transform:scale(1)}}@keyframes vac-bounce-in{0%{transform:scale(0)}50%{transform:scale(1.05)}to{transform:scale(1)}}.vac-menu-list{border-radius:4px;display:block;cursor:pointer;background:var(--chat-dropdown-bg-color);padding:6px 0}.vac-menu-list :hover{background:var(--chat-dropdown-bg-color-hover)}.vac-menu-list :hover,.vac-menu-list :not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}.vac-menu-item{align-items:center;display:flex;flex:1 1 100%;min-height:30px;padding:5px 16px;position:relative;white-space:nowrap;line-height:30px}.vac-menu-options{position:absolute;right:10px;top:20px;z-index:9999;min-width:150px;display:inline-block;border-radius:4px;font-size:14px;color:var(--chat-color);overflow-y:auto;overflow-x:hidden;contain:content;box-shadow:0 2px 2px -4px rgba(0,0,0,.1),0 2px 2px 1px rgba(0,0,0,.12),0 1px 8px 1px rgba(0,0,0,.12)}.vac-app-border{border:var(--chat-border-style)}.vac-app-border-t{border-top:var(--chat-border-style)}.vac-app-border-r{border-right:var(--chat-border-style)}.vac-app-border-b{border-bottom:var(--chat-border-style)}.vac-app-box-shadow{transition:all .5s;box-shadow:0 2px 2px -4px rgba(0,0,0,.1),0 2px 2px 1px rgba(0,0,0,.12),0 1px 8px 1px rgba(0,0,0,.12)}.vac-item-clickable{cursor:pointer}.vac-vertical-center{display:flex;align-items:center;height:100%}.vac-vertical-center .vac-vertical-container{width:100%;text-align:center}.vac-svg-button{max-height:30px;display:flex;cursor:pointer;transition:all .2s}.vac-svg-button:hover{transform:scale(1.1);opacity:.7}.vac-avatar{background-size:cover;background-position:50%;background-repeat:no-repeat;background-color:#ddd;height:42px;width:42px;min-height:42px;min-width:42px;margin-right:15px;border-radius:50%}.vac-badge-counter{height:13px;width:auto;min-width:13px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:3px;font-size:11px;font-weight:500}.vac-text-ellipsis{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-text-bold{font-weight:700}.vac-text-italic{font-style:italic}.vac-text-strike{text-decoration:line-through}.vac-text-underline{text-decoration:underline}.vac-text-inline-code{display:inline-block;color:var(--chat-markdown-color);margin:2px 0;padding:2px 3px}.vac-text-inline-code,.vac-text-multiline-code{font-size:12px;background:var(--chat-markdown-bg);border:1px solid var(--chat-markdown-border);border-radius:3px}.vac-text-multiline-code{display:block;color:var(--chat-markdown-color-multi);margin:4px 0;padding:7px}.vac-text-tag{color:var(--chat-message-color-tag);cursor:pointer}.vac-file-container{display:flex;align-content:center;justify-content:center;flex-wrap:wrap;text-align:center;background:var(--chat-bg-color-input);border:var(--chat-border-style-input);border-radius:4px;padding:10px}.vac-file-container svg{height:28px;width:28px}.vac-file-container .vac-text-extension{font-size:12px;color:var(--chat-message-color-file-extension);margin-top:-2px}.vac-card-window{width:100%;display:block;max-width:100%;background:var(--chat-content-bg-color);color:var(--chat-color);overflow-wrap:break-word;position:relative;white-space:normal;border:var(--chat-container-border);border-radius:var(--chat-container-border-radius);box-shadow:var(--chat-container-box-shadow);-webkit-tap-highlight-color:transparent}.vac-card-window *{font-family:inherit}.vac-card-window a{color:#0d579c;font-weight:500}.vac-card-window .vac-chat-container{height:100%;display:flex}.vac-card-window .vac-chat-container input{min-width:10px}.vac-card-window .vac-chat-container input[type=search],.vac-card-window .vac-chat-container input[type=text],.vac-card-window .vac-chat-container textarea{-webkit-appearance:none}.vac-col-messages{position:relative;height:100%;flex:1;overflow:hidden;display:flex;flex-flow:column}.vac-col-messages .vac-container-center{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.vac-col-messages .vac-room-empty{font-size:14px;color:#9ca6af;font-style:italic;line-height:20px;white-space:pre-line}.vac-col-messages .vac-room-empty div{padding:0 10%}.vac-col-messages .vac-container-scroll{background:var(--chat-content-bg-color);flex:1;overflow-y:auto;margin-right:1px;margin-top:60px;-webkit-overflow-scrolling:touch}.vac-col-messages .vac-container-scroll.vac-scroll-smooth{scroll-behavior:smooth}.vac-col-messages .vac-messages-container{padding:0 5px 5px}.vac-col-messages .vac-text-started{font-size:14px;color:var(--chat-message-color-started);font-style:italic;text-align:center;margin-top:30px;margin-bottom:20px}.vac-col-messages .vac-infinite-loading{height:68px}.vac-col-messages .vac-icon-scroll{position:absolute;bottom:105px;right:20px;padding:8px;background:var(--chat-bg-scroll-icon);border-radius:50%;box-shadow:0 1px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 2px 0 rgba(0,0,0,.12);display:flex;cursor:pointer;z-index:10}.vac-col-messages .vac-icon-scroll svg{height:25px;width:25px}.vac-col-messages .vac-messages-count{position:absolute;top:-8px;left:11px;background-color:var(--chat-message-bg-color-scroll-counter);color:var(--chat-message-color-scroll-counter)}.vac-col-messages .vac-room-footer{width:100%;border-bottom-right-radius:4px;z-index:10}.vac-col-messages .vac-box-footer{display:flex;position:relative;background:var(--chat-footer-bg-color);padding:10px 8px 10px}.vac-col-messages .vac-textarea{height:20px;width:100%;line-height:20px;overflow:hidden;outline:0;resize:none;border-radius:20px;padding:12px 16px;box-sizing:content-box;font-size:16px;background:var(--chat-bg-color-input);color:var(--chat-color);caret-color:var(--chat-color-caret);border:var(--chat-border-style-input)}.vac-col-messages .vac-textarea::-moz-placeholder{color:var(--chat-color-placeholder);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-textarea:-ms-input-placeholder{color:var(--chat-color-placeholder);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-textarea::placeholder{color:var(--chat-color-placeholder);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vac-col-messages .vac-textarea-outline{border:1px solid var(--chat-border-color-input-selected);box-shadow:inset 0 0 0 1px var(--chat-border-color-input-selected)}.vac-col-messages .vac-icon-textarea,.vac-col-messages .vac-icon-textarea-left{display:flex;align-items:center}.vac-col-messages .vac-icon-textarea-left .vac-wrapper,.vac-col-messages .vac-icon-textarea-left svg,.vac-col-messages .vac-icon-textarea .vac-wrapper,.vac-col-messages .vac-icon-textarea svg{margin:0 7px}.vac-col-messages .vac-icon-textarea{margin-left:5px}.vac-col-messages .vac-icon-textarea-left{display:flex;align-items:center;margin-right:5px}.vac-col-messages .vac-icon-textarea-left .vac-wrapper,.vac-col-messages .vac-icon-textarea-left svg{margin:0 7px}.vac-col-messages .vac-icon-textarea-left .vac-icon-microphone{fill:var(--chat-icon-color-microphone);margin:0 7px}.vac-col-messages .vac-icon-textarea-left .vac-dot-audio-record{height:15px;width:15px;border-radius:50%;background-color:var(--chat-message-bg-color-audio-record);-webkit-animation:vac-scaling .8s ease-in-out infinite alternate;animation:vac-scaling .8s ease-in-out infinite alternate}@-webkit-keyframes vac-scaling{0%{transform:scale(1);opacity:.4}to{transform:scale(1.1);opacity:1}}@keyframes vac-scaling{0%{transform:scale(1);opacity:.4}to{transform:scale(1.1);opacity:1}}.vac-col-messages .vac-icon-textarea-left .vac-dot-audio-record-time{font-size:16px;color:var(--chat-color);margin-left:8px;width:45px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm,.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm svg,.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop,.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop svg{min-height:28px;min-width:28px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop{margin-right:20px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-stop #vac-icon-close-outline{fill:var(--chat-icon-color-audio-cancel)}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm{margin-right:3px;margin-left:12px}.vac-col-messages .vac-icon-textarea-left .vac-icon-audio-confirm #vac-icon-checkmark{fill:var(--chat-icon-color-audio-confirm)}.vac-col-messages .vac-send-disabled,.vac-col-messages .vac-send-disabled svg{cursor:none!important;pointer-events:none!important;transform:none!important}.vac-col-messages .vac-messages-hidden{opacity:0}@media only screen and (max-width:768px){.vac-col-messages .vac-container-scroll{margin-top:50px}.vac-col-messages .vac-infinite-loading{height:58px}.vac-col-messages .vac-box-footer{border-top:var(--chat-border-style-input);padding:7px 2px 7px 7px}.vac-col-messages .vac-text-started{margin-top:20px}.vac-col-messages .vac-textarea{padding:7px;line-height:18px}.vac-col-messages .vac-textarea::-moz-placeholder{color:transparent}.vac-col-messages .vac-textarea:-ms-input-placeholder{color:transparent}.vac-col-messages .vac-textarea::placeholder{color:transparent}.vac-col-messages .vac-icon-textarea-left .vac-wrapper,.vac-col-messages .vac-icon-textarea-left svg,.vac-col-messages .vac-icon-textarea .vac-wrapper,.vac-col-messages .vac-icon-textarea svg{margin:0 5px!important}.vac-col-messages .vac-room-footer{width:100%}.vac-col-messages .vac-icon-scroll{bottom:100px}}.vac-emojis-container{width:calc(100% - 16px);padding:10px 8px;background:var(--chat-footer-bg-color);display:flex;align-items:center;overflow:auto}.vac-emojis-container .vac-emoji-element{padding:0 8px;font-size:30px;border-radius:4px;cursor:pointer}.vac-emojis-container .vac-emoji-element:hover{background:var(--chat-footer-bg-color-tag-active)}.vac-emojis-container .vac-emoji-element:hover,.vac-emojis-container .vac-emoji-element:not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}@media only screen and (max-width:768px){.vac-emojis-container{width:calc(100% - 10px);padding:7px 5px}.vac-emojis-container .vac-emoji-element{padding:0 7px;font-size:26px}}.vac-room-header{position:absolute;display:flex;align-items:center;height:64px;width:100%;z-index:10;margin-right:1px;background:var(--chat-header-bg-color);border-top-right-radius:var(--chat-container-border-radius)}.vac-room-header .vac-room-wrapper{display:flex;align-items:center;min-width:0;height:100%;width:100%;padding:0 16px}.vac-room-header .vac-toggle-button{margin-right:15px}.vac-room-header .vac-toggle-button svg{height:26px;width:26px}.vac-room-header .vac-rotate-icon{transform:rotate(180deg)!important}.vac-room-header .vac-info-wrapper{display:flex;align-items:center;min-width:0;width:100%;height:100%}.vac-room-header .vac-room-name{font-size:17px;font-weight:500;line-height:22px;color:var(--chat-header-color-name)}.vac-room-header .vac-room-info{font-size:13px;line-height:18px;color:var(--chat-header-color-info)}.vac-room-header .vac-room-options{margin-left:auto}@media only screen and (max-width:768px){.vac-room-header{height:50px}.vac-room-header .vac-room-wrapper{padding:0 10px}.vac-room-header .vac-room-name{font-size:16px;line-height:22px}.vac-room-header .vac-room-info{font-size:12px;line-height:16px}.vac-room-header .vac-avatar{height:37px;width:37px;min-height:37px;min-width:37px}}.vac-reply-container{display:flex;padding:10px 10px 0 10px;background:var(--chat-footer-bg-color);align-items:center;width:calc(100% - 20px)}.vac-reply-container .vac-reply-box{width:100%;overflow:hidden;background:var(--chat-footer-bg-color-reply);border-radius:4px;padding:8px 10px}.vac-reply-container .vac-reply-info{overflow:hidden}.vac-reply-container .vac-reply-username{color:var(--chat-message-color-reply-username);font-size:12px;line-height:15px;margin-bottom:2px}.vac-reply-container .vac-reply-content{font-size:12px;color:var(--chat-message-color-reply-content);white-space:pre-line}.vac-reply-container .vac-icon-reply{margin-left:10px}.vac-reply-container .vac-icon-reply svg{height:20px;width:20px}.vac-reply-container .vac-image-reply{max-height:100px;max-width:200px;margin:4px 10px 0 0;border-radius:4px}.vac-reply-container .vac-audio-reply{margin-right:10px}.vac-reply-container .vac-file-container{max-width:80px}@media only screen and (max-width:768px){.vac-reply-container{padding:5px 8px;width:calc(100% - 16px)}}.vac-room-files-container{display:flex;align-items:center;padding:10px 6px 0 6px;background:var(--chat-footer-bg-color)}.vac-room-files-container .vac-files-box{display:flex;overflow:auto;width:calc(100% - 30px)}.vac-room-files-container video{height:100px;border:var(--chat-border-style-input);border-radius:4px}.vac-room-files-container .vac-icon-close{margin-left:auto}.vac-room-files-container .vac-icon-close svg{height:20px;width:20px}@media only screen and (max-width:768px){.vac-files-container{padding:6px 4px 4px 2px}}.vac-room-file-container{display:flex;position:relative;margin:0 4px}.vac-room-file-container .vac-message-image{position:relative;background-color:var(--chat-message-bg-color-image)!important;background-size:cover!important;background-position:50%!important;background-repeat:no-repeat!important;height:100px;width:100px;border:var(--chat-border-style-input);border-radius:4px}.vac-room-file-container .vac-file-container{height:80px;width:80px}.vac-room-file-container .vac-icon-remove{position:absolute;top:6px;left:6px;z-index:10}.vac-room-file-container .vac-icon-remove svg{height:20px;width:20px;border-radius:50%}.vac-room-file-container .vac-icon-remove:before{content:" ";position:absolute;width:100%;height:100%;background:rgba(0,0,0,.5);border-radius:50%;z-index:-1}.vac-tags-container{display:flex;flex-direction:column;align-items:center;width:100%}.vac-tags-container .vac-tags-box{display:flex;width:100%;height:54px;overflow:hidden;cursor:pointer;background:var(--chat-footer-bg-color)}.vac-tags-container .vac-tags-box:hover{background:var(--chat-footer-bg-color-tag-active)}.vac-tags-container .vac-tags-box:hover,.vac-tags-container .vac-tags-box:not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}.vac-tags-container .vac-tags-info{display:flex;overflow:hidden;padding:0 20px;align-items:center}.vac-tags-container .vac-tags-avatar{height:34px;width:34px;min-height:34px;min-width:34px}.vac-tags-container .vac-tags-username{font-size:14px}@media only screen and (max-width:768px){.vac-tags-container .vac-tags-box{height:50px}.vac-tags-container .vac-tags-info{padding:0 12px}}.vac-rooms-container{display:flex;flex-flow:column;flex:0 0 25%;min-width:260px;max-width:500px;position:relative;background:var(--chat-sidemenu-bg-color);height:100%;border-top-left-radius:var(--chat-container-border-radius);border-bottom-left-radius:var(--chat-container-border-radius)}.vac-rooms-container.vac-rooms-container-full{flex:0 0 100%;max-width:100%}.vac-rooms-container .vac-rooms-empty{font-size:14px;color:#9ca6af;font-style:italic;text-align:center;margin:40px 0;line-height:20px;white-space:pre-line}.vac-rooms-container .vac-room-list{flex:1;position:relative;max-width:100%;cursor:pointer;padding:0 10px 5px;overflow-y:auto}.vac-rooms-container .vac-room-item{border-radius:8px;align-items:center;display:flex;flex:1 1 100%;margin-bottom:5px;padding:0 14px;position:relative;min-height:71px}.vac-rooms-container .vac-room-item:hover{background:var(--chat-sidemenu-bg-color-hover)}.vac-rooms-container .vac-room-item:hover,.vac-rooms-container .vac-room-item:not(:hover){transition:background-color .3s cubic-bezier(.25,.8,.5,1)}.vac-rooms-container .vac-room-selected{color:var(--chat-sidemenu-color-active)!important}.vac-rooms-container .vac-room-selected,.vac-rooms-container .vac-room-selected:hover{background:var(--chat-sidemenu-bg-color-active)!important}@media only screen and (max-width:768px){.vac-rooms-container .vac-room-list{padding:0 7px 5px}.vac-rooms-container .vac-room-item{min-height:60px;padding:0 8px}}.vac-room-container{display:flex;flex:1;align-items:center;width:100%}.vac-room-container .vac-name-container{flex:1}.vac-room-container .vac-title-container{display:flex;align-items:center;line-height:25px}.vac-room-container .vac-state-circle{width:9px;height:9px;border-radius:50%;background-color:var(--chat-room-color-offline);margin-right:6px;transition:.3s}.vac-room-container .vac-state-online{background-color:var(--chat-room-color-online)}.vac-room-container .vac-room-name{flex:1;color:var(--chat-room-color-username);font-weight:500}.vac-room-container .vac-text-date{margin-left:5px;font-size:11px;color:var(--chat-room-color-timestamp)}.vac-room-container .vac-text-last{display:flex;align-items:center;font-size:12px;line-height:19px;color:var(--chat-room-color-message)}.vac-room-container .vac-message-new{color:var(--chat-room-color-username);font-weight:500}.vac-room-container .vac-icon-check{display:flex;vertical-align:middle;height:14px;width:14px;margin-top:-2px;margin-right:2px}.vac-room-container .vac-icon-microphone{height:15px;width:15px;vertical-align:middle;margin:-3px 1px 0 -2px;fill:var(--chat-room-color-message)}.vac-room-container .vac-room-options-container{display:flex;margin-left:auto}.vac-room-container .vac-room-badge{background-color:var(--chat-room-bg-color-badge);color:var(--chat-room-color-badge);margin-left:5px}.vac-room-container .vac-list-room-options{height:19px;width:19px;align-items:center;margin-left:5px}.vac-box-empty{margin-top:10px}@media only screen and (max-width:768px){.vac-box-empty{margin-top:7px}}.vac-box-search{position:sticky;display:flex;align-items:center;height:64px;padding:0 15px}.vac-box-search .vac-icon-search{display:flex;position:absolute;left:30px}.vac-box-search .vac-icon-search svg{width:18px;height:18px}.vac-box-search .vac-input{height:38px;width:100%;background:var(--chat-bg-color-input);color:var(--chat-color);border-radius:4px;font-size:15px;outline:0;caret-color:var(--chat-color-caret);padding:10px 10px 10px 40px;border:1px solid var(--chat-sidemenu-border-color-search);border-radius:20px}.vac-box-search .vac-input::-moz-placeholder{color:var(--chat-color-placeholder)}.vac-box-search .vac-input:-ms-input-placeholder{color:var(--chat-color-placeholder)}.vac-box-search .vac-input::placeholder{color:var(--chat-color-placeholder)}.vac-box-search .vac-add-icon{margin-left:auto;padding-left:10px}@media only screen and (max-width:768px){.vac-box-search{height:58px}}.vac-message-wrapper .vac-card-info{border-radius:4px;text-align:center;margin:10px auto;font-size:12px;padding:4px;display:block;overflow-wrap:break-word;position:relative;white-space:normal;box-shadow:0 1px 1px -1px rgba(0,0,0,.1),0 1px 1px -1px rgba(0,0,0,.11),0 1px 2px -1px rgba(0,0,0,.11)}.vac-message-wrapper .vac-card-date{max-width:150px;font-weight:500;text-transform:uppercase;color:var(--chat-message-color-date);background:var(--chat-message-bg-color-date)}.vac-message-wrapper .vac-card-system{max-width:250px;padding:8px 4px;color:var(--chat-message-color-system);background:var(--chat-message-bg-color-system)}.vac-message-wrapper .vac-line-new{color:var(--chat-message-color-new-messages);position:relative;text-align:center;font-size:13px;padding:10px 0}.vac-message-wrapper .vac-line-new:after,.vac-message-wrapper .vac-line-new:before{border-top:1px solid var(--chat-message-color-new-messages);content:"";left:0;position:absolute;top:50%;width:calc(50% - 60px)}.vac-message-wrapper .vac-line-new:before{left:auto;right:0}.vac-message-wrapper .vac-message-box{display:flex;flex:0 0 50%;max-width:50%;justify-content:flex-start;line-height:1.4}.vac-message-wrapper .vac-avatar{height:28px;width:28px;min-height:28px;min-width:28px;margin:0 0 2px 0;align-self:flex-end}.vac-message-wrapper .vac-message-container{position:relative;padding:2px 10px;align-items:end;min-width:100px;box-sizing:content-box}.vac-message-wrapper .vac-message-container-offset{margin-top:10px}.vac-message-wrapper .vac-offset-current{margin-left:50%;justify-content:flex-end}.vac-message-wrapper .vac-message-card{background:var(--chat-message-bg-color);color:var(--chat-message-color);border-radius:8px;font-size:14px;padding:6px 9px 3px;white-space:pre-line;max-width:100%;transition-property:box-shadow,opacity;transition:box-shadow .28s cubic-bezier(.4,0,.2,1);will-change:box-shadow;box-shadow:0 1px 1px -1px rgba(0,0,0,.1),0 1px 1px -1px rgba(0,0,0,.11),0 1px 2px -1px rgba(0,0,0,.11)}.vac-message-wrapper .vac-message-highlight{box-shadow:0 1px 2px -1px rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.11),0 1px 5px -1px rgba(0,0,0,.11)}.vac-message-wrapper .vac-message-current{background:var(--chat-message-bg-color-me)!important}.vac-message-wrapper .vac-message-deleted{color:var(--chat-message-color-deleted)!important;font-size:13px!important;font-style:italic!important;background:var(--chat-message-bg-color-deleted)!important}.vac-message-wrapper .vac-icon-deleted{height:14px;width:14px;vertical-align:middle;margin:-2px 2px 0 0;fill:var(--chat-message-color-deleted)}.vac-message-wrapper .vac-message-image{position:relative;background-color:var(--chat-message-bg-color-image)!important;background-size:cover!important;background-position:50%!important;background-repeat:no-repeat!important;height:250px;width:250px;max-width:100%;border-radius:4px;margin:4px auto 5px;transition:filter .4s linear}.vac-message-wrapper .vac-text-username{font-size:13px;color:var(--chat-message-color-username);margin-bottom:2px}.vac-message-wrapper .vac-username-reply{margin-bottom:5px}.vac-message-wrapper .vac-text-timestamp{font-size:10px;color:var(--chat-message-color-timestamp);text-align:right}.vac-message-wrapper .vac-progress-time{float:left;margin:-2px 0 0 40px;color:var(--chat-color);font-size:12px}.vac-message-wrapper .vac-icon-edited{align-items:center;display:inline-flex;justify-content:center;letter-spacing:normal;line-height:1;text-indent:0;vertical-align:middle;margin:0 4px 2px}.vac-message-wrapper .vac-icon-edited svg{height:12px;width:12px}.vac-message-wrapper .vac-icon-check{height:14px;width:14px;vertical-align:middle;margin:-3px -3px 0 3px}@media only screen and (max-width:2000px){.vac-message-wrapper .vac-message-container{padding:2px 3px 1px}.vac-message-wrapper .vac-message-container-offset{margin-top:10px}.vac-message-wrapper .vac-message-box{flex:0 0 80%;max-width:80%}.vac-message-wrapper .vac-avatar{height:25px;width:25px;min-height:25px;min-width:25px;margin:0 6px 1px 0}.vac-message-wrapper .vac-offset-current{margin-left:20%}.vac-message-wrapper .vac-progress-time{margin-left:37px}}.vac-player-bar{display:flex;align-items:center;max-width:calc(100% - 18px);margin-right:7px;margin-left:20px}.vac-player-bar .vac-player-progress{width:190px}.vac-player-bar .vac-player-progress .vac-line-container{position:relative;height:4px;border-radius:5px;background-color:var(--chat-message-bg-color-audio-line)}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-progress{position:absolute;height:inherit;background-color:var(--chat-message-bg-color-audio-progress);border-radius:inherit}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-dot{position:absolute;top:-5px;margin-left:-7px;height:14px;width:14px;border-radius:50%;background-color:var(--chat-message-bg-color-audio-progress-selector);transition:transform .25s}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-dot__active{transform:scale(1.2)}@media only screen and (max-width:768px){.vac-player-bar{margin-right:5px}.vac-player-bar .vac-player-progress .vac-line-container{height:3px}.vac-player-bar .vac-player-progress .vac-line-container .vac-line-dot{height:12px;width:12px;top:-5px;margin-left:-5px}}.vac-audio-player{display:flex;margin:8px 0 5px}.vac-audio-player .vac-svg-button{max-width:18px;margin-left:7px}@media only screen and (max-width:768px){.vac-audio-player{margin:4px 0 0}.vac-audio-player .vac-svg-button{max-width:16px;margin-left:5px}}.vac-message-actions-wrapper .vac-options-container{position:absolute;top:2px;right:10px;height:40px;width:70px;overflow:hidden;border-top-right-radius:8px}.vac-message-actions-wrapper .vac-blur-container{position:absolute;height:100%;width:100%;left:8px;bottom:10px;background:var(--chat-message-bg-color);filter:blur(3px);border-bottom-left-radius:8px}.vac-message-actions-wrapper .vac-options-me{background:var(--chat-message-bg-color-me)}.vac-message-actions-wrapper .vac-message-options{background:var(--chat-icon-bg-dropdown-message);border-radius:50%;position:absolute;top:7px;right:7px}.vac-message-actions-wrapper .vac-message-options svg{height:17px;width:17px;padding:5px;margin:-5px}.vac-message-actions-wrapper .vac-message-emojis{position:absolute;top:6px;right:30px}.vac-message-actions-wrapper .vac-menu-options{right:15px}.vac-message-actions-wrapper .vac-menu-left{right:-118px}@media only screen and (max-width:768px){.vac-message-actions-wrapper .vac-options-container{right:3px}.vac-message-actions-wrapper .vac-menu-left{right:-50px}}.vac-message-files-container .vac-file-container{height:60px;width:60px;margin:3px 0 5px;cursor:pointer;transition:all .6s}.vac-message-files-container .vac-file-container:hover{opacity:.85}.vac-message-files-container .vac-file-container svg{height:30px;width:30px}.vac-message-file-container{position:relative}.vac-message-file-container .vac-image-loading{filter:blur(3px)}.vac-message-file-container .vac-image-buttons{position:absolute;width:100%;height:100%;border-radius:4px;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.02) 60%,rgba(0,0,0,.05) 65%,rgba(0,0,0,.1) 70%,rgba(0,0,0,.2) 75%,rgba(0,0,0,.3) 80%,rgba(0,0,0,.5) 85%,rgba(0,0,0,.6) 90%,rgba(0,0,0,.7) 95%,rgba(0,0,0,.8))}.vac-message-file-container .vac-image-buttons svg{height:26px;width:26px}.vac-message-file-container .vac-image-buttons .vac-button-download,.vac-message-file-container .vac-image-buttons .vac-button-view{position:absolute;bottom:6px;left:7px}.vac-message-file-container .vac-image-buttons :first-child{left:40px}.vac-message-file-container .vac-image-buttons .vac-button-view{max-width:18px;bottom:8px}.vac-message-file-container .vac-video-container{width:350px;max-width:100%;margin:4px auto 5px}.vac-message-file-container .vac-video-container video{border-radius:4px}.vac-button-reaction{display:inline-flex;align-items:center;border:var(--chat-message-border-style-reaction);outline:none;background:var(--chat-message-bg-color-reaction);border-radius:4px;margin:4px 2px 0;transition:.3s;padding:0 5px;font-size:18px;line-height:23px}.vac-button-reaction span{font-size:11px;font-weight:500;min-width:7px;color:var(--chat-message-color-reaction-counter)}.vac-button-reaction:hover{border:var(--chat-message-border-style-reaction-hover);background:var(--chat-message-bg-color-reaction-hover);cursor:pointer}.vac-button-reaction.vac-reaction-me{border:var(--chat-message-border-style-reaction-me);background:var(--chat-message-bg-color-reaction-me)}.vac-button-reaction.vac-reaction-me span{color:var(--chat-message-color-reaction-counter-me)}.vac-button-reaction.vac-reaction-me:hover{border:var(--chat-message-border-style-reaction-hover-me);background:var(--chat-message-bg-color-reaction-hover-me)}.vac-reply-message{background:var(--chat-message-bg-color-reply);border-radius:4px;margin:-1px -5px 8px;padding:8px 10px}.vac-reply-message .vac-reply-username{color:var(--chat-message-color-reply-username);font-size:12px;line-height:15px;margin-bottom:2px}.vac-reply-message .vac-image-reply-container{width:70px}.vac-reply-message .vac-image-reply-container .vac-message-image-reply{height:70px;width:70px;margin:4px auto 3px}.vac-reply-message .vac-video-reply-container{width:200px;max-width:100%}.vac-reply-message .vac-video-reply-container video{border-radius:4px}.vac-reply-message .vac-reply-content{font-size:12px;color:var(--chat-message-color-reply-content)}.vac-emoji-wrapper{position:relative;display:flex}.vac-emoji-wrapper .vac-emoji-reaction svg{height:19px;width:19px}.vac-emoji-wrapper .vac-emoji-picker{position:absolute;z-index:9999;bottom:32px;right:10px;width:300px;padding-top:4px;overflow:scroll;box-sizing:border-box;border-radius:.5rem;background:var(--chat-emoji-bg-color);box-shadow:0 1px 2px -2px rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1),0 1px 2px 1px rgba(0,0,0,.1)}.vac-emoji-wrapper .vac-emoji-picker.vac-picker-reaction{position:fixed;top:auto;right:auto}.vac-emoji-wrapper .vac-emoji-picker emoji-picker{height:100%;width:100%;--emoji-size:1.2rem;--background:var(--chat-emoji-bg-color);--emoji-padding:0.4rem;--border-color:var(--chat-sidemenu-border-color-search);--button-hover-background:var(--chat-sidemenu-bg-color-hover);--button-active-background:var(--chat-sidemenu-bg-color-hover)}.vac-format-message-wrapper .vac-format-container{display:inline}.vac-format-message-wrapper .vac-icon-deleted{height:14px;width:14px;vertical-align:middle;margin:-3px 1px 0 0;fill:var(--chat-room-color-message)}.vac-format-message-wrapper .vac-image-link-container{background-color:var(--chat-message-bg-color-media);padding:8px;margin:2px auto;border-radius:4px}.vac-format-message-wrapper .vac-image-link{position:relative;background-color:var(--chat-message-bg-color-image)!important;background-size:contain;background-position:50%!important;background-repeat:no-repeat!important;height:150px;width:150px;max-width:100%;border-radius:4px;margin:0 auto}.vac-format-message-wrapper .vac-image-link-message{max-width:166px;font-size:12px}.vac-loader-wrapper.vac-container-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:9}.vac-loader-wrapper.vac-container-top{padding:21px}.vac-loader-wrapper.vac-container-top #vac-circle{height:20px;width:20px}.vac-loader-wrapper #vac-circle{margin:auto;height:28px;width:28px;border:3px solid rgba(0,0,0,.25);border-top:3px var(--chat-color-spinner) solid;border-right:3px var(--chat-color-spinner) solid;border-bottom:3px var(--chat-color-spinner) solid;border-radius:50%;-webkit-animation:vac-spin 1s linear infinite;animation:vac-spin 1s linear infinite}@media only screen and (max-width:768px){.vac-loader-wrapper #vac-circle{height:24px;width:24px}.vac-loader-wrapper.vac-container-top{padding:18px}.vac-loader-wrapper.vac-container-top #vac-circle{height:16px;width:16px}}@-webkit-keyframes vac-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes vac-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}#vac-icon-search{fill:var(--chat-icon-color-search)}#vac-icon-add{fill:var(--chat-icon-color-add)}#vac-icon-toggle{fill:var(--chat-icon-color-toggle)}#vac-icon-menu{fill:var(--chat-icon-color-menu)}#vac-icon-close{fill:var(--chat-icon-color-close)}#vac-icon-close-image{fill:var(--chat-icon-color-close-image)}#vac-icon-file{fill:var(--chat-icon-color-file)}#vac-icon-paperclip{fill:var(--chat-icon-color-paperclip)}#vac-icon-close-outline{fill:var(--chat-icon-color-close-outline)}#vac-icon-send{fill:var(--chat-icon-color-send)}#vac-icon-send-disabled{fill:var(--chat-icon-color-send-disabled)}#vac-icon-emoji{fill:var(--chat-icon-color-emoji)}#vac-icon-emoji-reaction{fill:var(--chat-icon-color-emoji-reaction)}#vac-icon-document{fill:var(--chat-icon-color-document)}#vac-icon-pencil{fill:var(--chat-icon-color-pencil)}#vac-icon-checkmark,#vac-icon-double-checkmark{fill:var(--chat-icon-color-checkmark)}#vac-icon-checkmark-seen,#vac-icon-double-checkmark-seen{fill:var(--chat-icon-color-checkmark-seen)}#vac-icon-eye{fill:var(--chat-icon-color-eye)}#vac-icon-dropdown-message{fill:var(--chat-icon-color-dropdown-message)}#vac-icon-dropdown-room{fill:var(--chat-icon-color-dropdown-room)}#vac-icon-dropdown-scroll{fill:var(--chat-icon-color-dropdown-scroll)}#vac-icon-audio-play{fill:var(--chat-icon-color-audio-play)}#vac-icon-audio-pause{fill:var(--chat-icon-color-audio-pause)}',""]),e.exports=t},"4b5e":function(e,t,n){var r=n("0206"),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock,r.Util,r.Arrays,r.new_array_n),s=(r.new_byte,r.new_double,r.new_float),c=r.new_float_n,l=r.new_int,u=(r.new_int_n,r.assert);function f(){var e=n("f3e2"),t=n("f26d"),r=f.FFTOFFSET,d=f.MPG_MD_MS_LR,p=null;this.psy=null;var h=null,m=null,g=null;this.setModules=function(e,t,n,r){p=e,this.psy=t,h=t,m=r,g=n};var v=new e;function _(e){var t,n;if(0!=e.ATH.useAdjust)if(n=e.loudness_sq[0][0],t=e.loudness_sq[1][0],2==e.channels_out?(n+=e.loudness_sq[0][1],t+=e.loudness_sq[1][1]):(n+=n,t+=t),2==e.mode_gr&&(n=Math.max(n,t)),n*=.5,n*=e.ATH.aaSensitivityP,n>.03125)e.ATH.adjust>=1?e.ATH.adjust=1:e.ATH.adjust<e.ATH.adjustLimit&&(e.ATH.adjust=e.ATH.adjustLimit),e.ATH.adjustLimit=1;else{var r=31.98*n+625e-6;e.ATH.adjust>=r?(e.ATH.adjust*=.075*r+.925,e.ATH.adjust<r&&(e.ATH.adjust=r)):e.ATH.adjustLimit>=r?e.ATH.adjust=r:e.ATH.adjust<e.ATH.adjustLimit&&(e.ATH.adjust=e.ATH.adjustLimit),e.ATH.adjustLimit=r}else e.ATH.adjust=1}function b(e){var t,n;for(u(0<=e.bitrate_index&&e.bitrate_index<16),u(0<=e.mode_ext&&e.mode_ext<4),e.bitrate_stereoMode_Hist[e.bitrate_index][4]++,e.bitrate_stereoMode_Hist[15][4]++,2==e.channels_out&&(e.bitrate_stereoMode_Hist[e.bitrate_index][e.mode_ext]++,e.bitrate_stereoMode_Hist[15][e.mode_ext]++),t=0;t<e.mode_gr;++t)for(n=0;n<e.channels_out;++n){var r=0|e.l3_side.tt[t][n].block_type;0!=e.l3_side.tt[t][n].mixed_block_flag&&(r=4),e.bitrate_blockType_Hist[e.bitrate_index][r]++,e.bitrate_blockType_Hist[e.bitrate_index][5]++,e.bitrate_blockType_Hist[15][r]++,e.bitrate_blockType_Hist[15][5]++}}function y(e,t){var n,r,a=e.internal_flags;if(0==a.lame_encode_frame_init){var o,i,c=s(2014),l=s(2014);for(a.lame_encode_frame_init=1,o=0,i=0;o<286+576*(1+a.mode_gr);++o)o<576*a.mode_gr?(c[o]=0,2==a.channels_out&&(l[o]=0)):(c[o]=t[0][i],2==a.channels_out&&(l[o]=t[1][i]),++i);for(r=0;r<a.mode_gr;r++)for(n=0;n<a.channels_out;n++)a.l3_side.tt[r][n].block_type=f.SHORT_TYPE;v.mdct_sub48(a,c,l),u(576>=f.FFTOFFSET),u(a.mf_size>=f.BLKSIZE+e.framesize-f.FFTOFFSET),u(a.mf_size>=512+e.framesize-32)}}this.lame_encode_mp3_frame=function(e,n,s,u,x,w){var k,S=i([2,2]);S[0][0]=new t,S[0][1]=new t,S[1][0]=new t,S[1][1]=new t;var A,M=i([2,2]);M[0][0]=new t,M[0][1]=new t,M[1][0]=new t,M[1][1]=new t;var R,E,T,O=[null,null],L=e.internal_flags,B=c([2,4]),I=[.5,.5],j=[[0,0],[0,0]],C=[[0,0],[0,0]];if(O[0]=n,O[1]=s,0==L.lame_encode_frame_init&&y(e,O),L.padding=0,(L.slot_lag-=L.frac_SpF)<0&&(L.slot_lag+=e.out_samplerate,L.padding=1),0!=L.psymodel){var P,N=[null,null],H=0,F=l(2);for(T=0;T<L.mode_gr;T++){for(E=0;E<L.channels_out;E++)N[E]=O[E],H=576+576*T-f.FFTOFFSET;if(P=e.VBR==o.vbr_mtrh||e.VBR==o.vbr_mt?h.L3psycho_anal_vbr(e,N,H,T,S,M,j[T],C[T],B[T],F):h.L3psycho_anal_ns(e,N,H,T,S,M,j[T],C[T],B[T],F),0!=P)return-4;for(e.mode==MPEGMode.JOINT_STEREO&&(I[T]=B[T][2]+B[T][3],I[T]>0&&(I[T]=B[T][3]/I[T])),E=0;E<L.channels_out;E++){var D=L.l3_side.tt[T][E];D.block_type=F[E],D.mixed_block_flag=0}}}else for(T=0;T<L.mode_gr;T++)for(E=0;E<L.channels_out;E++)L.l3_side.tt[T][E].block_type=f.NORM_TYPE,L.l3_side.tt[T][E].mixed_block_flag=0,C[T][E]=j[T][E]=700;if(_(L),v.mdct_sub48(L,O[0],O[1]),L.mode_ext=f.MPG_MD_LR_LR,e.force_ms)L.mode_ext=f.MPG_MD_MS_LR;else if(e.mode==MPEGMode.JOINT_STEREO){var U=0,V=0;for(T=0;T<L.mode_gr;T++)for(E=0;E<L.channels_out;E++)U+=C[T][E],V+=j[T][E];if(U<=1*V){var q=L.l3_side.tt[0],$=L.l3_side.tt[L.mode_gr-1];q[0].block_type==q[1].block_type&&$[0].block_type==$[1].block_type&&(L.mode_ext=f.MPG_MD_MS_LR)}}if(L.mode_ext==d?(A=M,R=C):(A=S,R=j),e.analysis&&null!=L.pinfo)for(T=0;T<L.mode_gr;T++)for(E=0;E<L.channels_out;E++)L.pinfo.ms_ratio[T]=L.ms_ratio[T],L.pinfo.ms_ener_ratio[T]=I[T],L.pinfo.blocktype[T][E]=L.l3_side.tt[T][E].block_type,L.pinfo.pe[T][E]=R[T][E],a.arraycopy(L.l3_side.tt[T][E].xr,0,L.pinfo.xr[T][E],0,576),L.mode_ext==d&&(L.pinfo.ers[T][E]=L.pinfo.ers[T][E+2],a.arraycopy(L.pinfo.energy[T][E+2],0,L.pinfo.energy[T][E],0,L.pinfo.energy[T][E].length));if(e.VBR==o.vbr_off||e.VBR==o.vbr_abr){var z,Y;for(z=0;z<18;z++)L.nsPsy.pefirbuf[z]=L.nsPsy.pefirbuf[z+1];for(Y=0,T=0;T<L.mode_gr;T++)for(E=0;E<L.channels_out;E++)Y+=R[T][E];for(L.nsPsy.pefirbuf[18]=Y,Y=L.nsPsy.pefirbuf[9],z=0;z<9;z++)Y+=(L.nsPsy.pefirbuf[z]+L.nsPsy.pefirbuf[18-z])*f.fircoef[z];for(Y=3350*L.mode_gr*L.channels_out/Y,T=0;T<L.mode_gr;T++)for(E=0;E<L.channels_out;E++)R[T][E]*=Y}if(L.iteration_loop.iteration_loop(e,R,I,A),p.format_bitstream(e),k=p.copy_buffer(L,u,x,w,1),e.bWriteVbrTag&&m.addVbrFrame(e),e.analysis&&null!=L.pinfo){for(E=0;E<L.channels_out;E++){var X;for(X=0;X<r;X++)L.pinfo.pcmdata[E][X]=L.pinfo.pcmdata[E][X+e.framesize];for(X=r;X<1600;X++)L.pinfo.pcmdata[E][X]=O[E][X-r]}g.set_frame_pinfo(e,A)}return b(L),k}}f.ENCDELAY=576,f.POSTDELAY=1152,f.MDCTDELAY=48,f.FFTOFFSET=224+f.MDCTDELAY,f.DECDELAY=528,f.SBLIMIT=32,f.CBANDS=64,f.SBPSY_l=21,f.SBPSY_s=12,f.SBMAX_l=22,f.SBMAX_s=13,f.PSFB21=6,f.PSFB12=6,f.BLKSIZE=1024,f.HBLKSIZE=f.BLKSIZE/2+1,f.BLKSIZE_s=256,f.HBLKSIZE_s=f.BLKSIZE_s/2+1,f.NORM_TYPE=0,f.START_TYPE=1,f.SHORT_TYPE=2,f.STOP_TYPE=3,f.MPG_MD_LR_LR=0,f.MPG_MD_LR_I=1,f.MPG_MD_MS_LR=2,f.MPG_MD_MS_I=3,f.fircoef=[-.1039435,-.1892065,5*-.0432472,-.155915,3898045e-23,.0467745*5,.50455,.756825,.187098*5],e.exports=f},"4c1d":function(e,t,n){"use strict";n.r(t),n.d(t,"roomsValidation",(function(){return a})),n.d(t,"partcipantsValidation",(function(){return o})),n.d(t,"messagesValidation",(function(){return i}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0");function r(e){return r="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},r(e)}n("a623"),n("277d"),n("7db0");function a(e){var t=[{key:"roomId",type:["string","number"]},{key:"roomName",type:["string"]},{key:"users",type:["array"]}],n=function(e,t){return t.every((function(t){var n=!1;return("array"===t.type[0]&&Array.isArray(e[t.key])||t.type.find((function(n){return n===r(e[t.key])})))&&(n=!0),n&&s(e,t.key)}))};if(!n(e,t))throw new Error("Rooms object is not valid! Must contain roomId[String, Number], roomName[String] and users[Array]")}function o(e){var t=[{key:"_id",type:["string","number"]},{key:"username",type:["string"]}],n=function(e,t){return t.every((function(t){var n=t.type.find((function(n){return n===r(e[t.key])}));return n&&s(e,t.key)}))};if(!n(e,t))throw new Error("Participants object is not valid! Must contain _id[String, Number] and username[String]")}function i(e){var t=[{key:"_id",type:["string","number"]},{key:"content",type:["string","number"]},{key:"senderId",type:["string","number"]}],n=function(e,t){return t.every((function(t){var n=t.type.find((function(n){return n===r(e[t.key])}));return n&&s(e,t.key)}))};if(!n(e,t))throw new Error("Messages object is not valid! Must contain _id[String, Number], content[String, Number] and senderId[String, Number]")}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&null!==e[t]&&void 0!==e[t]}},"4d63":function(e,t,n){var r=n("83ab"),a=n("da84"),o=n("94ca"),i=n("7156"),s=n("9112"),c=n("9bf2").f,l=n("241c").f,u=n("44e7"),f=n("577e"),d=n("ad6d"),p=n("9f7f"),h=n("6eeb"),m=n("d039"),g=n("5135"),v=n("69f3").enforce,_=n("2626"),b=n("b622"),y=n("fce3"),x=n("107c"),w=b("match"),k=a.RegExp,S=k.prototype,A=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,M=/a/g,R=/a/g,E=new k(M)!==M,T=p.UNSUPPORTED_Y,O=r&&(!E||T||y||x||m((function(){return R[w]=!1,k(M)!=M||k(R)==R||"/a/i"!=k(M,"i")}))),L=function(e){for(var t,n=e.length,r=0,a="",o=!1;r<=n;r++)t=e.charAt(r),"\\"!==t?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),a+=t):a+="[\\s\\S]":a+=t+e.charAt(++r);return a},B=function(e){for(var t,n=e.length,r=0,a="",o=[],i={},s=!1,c=!1,l=0,u="";r<=n;r++){if(t=e.charAt(r),"\\"===t)t+=e.charAt(++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:A.test(e.slice(r+1))&&(r+=2,c=!0),a+=t,l++;continue;case">"===t&&c:if(""===u||g(i,u))throw new SyntaxError("Invalid capture group name");i[u]=!0,o.push([u,l]),c=!1,u="";continue}c?u+=t:a+=t}return[a,o]};if(o("RegExp",O)){for(var I=function(e,t){var n,r,a,o,c,l,p=this instanceof I,h=u(e),m=void 0===t,g=[],_=e;if(!p&&h&&m&&e.constructor===I)return e;if((h||e instanceof I)&&(e=e.source,m&&(t="flags"in _?_.flags:d.call(_))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),_=e,y&&"dotAll"in M&&(r=!!t&&t.indexOf("s")>-1,r&&(t=t.replace(/s/g,""))),n=t,T&&"sticky"in M&&(a=!!t&&t.indexOf("y")>-1,a&&(t=t.replace(/y/g,""))),x&&(o=B(e),e=o[0],g=o[1]),c=i(k(e,t),p?this:S,I),(r||a||g.length)&&(l=v(c),r&&(l.dotAll=!0,l.raw=I(L(e),n)),a&&(l.sticky=!0),g.length&&(l.groups=g)),e!==_)try{s(c,"source",""===_?"(?:)":_)}catch(b){}return c},j=function(e){e in I||c(I,e,{configurable:!0,get:function(){return k[e]},set:function(t){k[e]=t}})},C=l(k),P=0;C.length>P;)j(C[P++]);S.constructor=I,I.prototype=S,h(a,"RegExp",I)}_("RegExp")},"4d64":function(e,t,n){var r=n("fc6a"),a=n("50c4"),o=n("23cb"),i=function(e){return function(t,n,i){var s,c=r(t),l=a(c.length),u=o(i,l);if(e&&n!=n){while(l>u)if(s=c[u++],s!=s)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},"4de4":function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").filter,o=n("1dde"),i=o("filter");r({target:"Array",proto:!0,forced:!i},{filter:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(e,t,n){"use strict";var r=n("0366"),a=n("7b0b"),o=n("9bdd"),i=n("e95a"),s=n("68ee"),c=n("50c4"),l=n("8418"),u=n("9a1f"),f=n("35a1");e.exports=function(e){var t=a(e),n=s(this),d=arguments.length,p=d>1?arguments[1]:void 0,h=void 0!==p;h&&(p=r(p,d>2?arguments[2]:void 0,2));var m,g,v,_,b,y,x=f(t),w=0;if(!x||this==Array&&i(x))for(m=c(t.length),g=n?new this(m):Array(m);m>w;w++)y=h?p(t[w],w):t[w],l(g,w,y);else for(_=u(t,x),b=_.next,g=n?new this:[];!(v=b.call(_)).done;w++)y=h?o(_,p,[v.value,w],!0):v.value,l(g,w,y);return g.length=w,g}},"4e82":function(e,t,n){"use strict";var r=n("23e7"),a=n("59ed"),o=n("7b0b"),i=n("50c4"),s=n("577e"),c=n("d039"),l=n("addb"),u=n("a640"),f=n("04d1"),d=n("d998"),p=n("2d00"),h=n("512c"),m=[],g=m.sort,v=c((function(){m.sort(void 0)})),_=c((function(){m.sort(null)})),b=u("sort"),y=!c((function(){if(p)return p<70;if(!(f&&f>3)){if(d)return!0;if(h)return h<603;var e,t,n,r,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}})),x=v||!_||!b||!y,w=function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:s(t)>s(n)?1:-1}};r({target:"Array",proto:!0,forced:x},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(y)return void 0===e?g.call(t):g.call(t,e);var n,r,s=[],c=i(t.length);for(r=0;r<c;r++)r in t&&s.push(t[r]);s=l(s,w(e)),n=s.length,r=0;while(r<n)t[r]=s[r++];while(r<c)delete t[r++];return t}})},"4fad":function(e,t,n){var r=n("23e7"),a=n("6f53").entries;r({target:"Object",stat:!0},{entries:function(e){return a(e)}})},5087:function(e,t,n){var r=n("68ee"),a=n("0d51");e.exports=function(e){if(r(e))return e;throw TypeError(a(e)+" is not a constructor")}},"50c4":function(e,t,n){var r=n("a691"),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},"512c":function(e,t,n){var r=n("342f"),a=r.match(/AppleWebKit\/(\d+)\./);e.exports=!!a&&+a[1]},5135:function(e,t,n){var r=n("7b0b"),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(r(e),t)}},5319:function(e,t,n){"use strict";var r=n("d784"),a=n("d039"),o=n("825a"),i=n("1626"),s=n("a691"),c=n("50c4"),l=n("577e"),u=n("1d80"),f=n("8aa5"),d=n("dc4a"),p=n("0cb2"),h=n("14c3"),m=n("b622"),g=m("replace"),v=Math.max,_=Math.min,b=function(e){return void 0===e?e:String(e)},y=function(){return"$0"==="a".replace(/./,"$0")}(),x=function(){return!!/./[g]&&""===/./[g]("a","$0")}(),w=!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}));r("replace",(function(e,t,n){var r=x?"$":"$0";return[function(e,n){var r=u(this),a=void 0==e?void 0:d(e,g);return a?a.call(e,r,n):t.call(l(r),e,n)},function(e,a){var u=o(this),d=l(e);if("string"===typeof a&&-1===a.indexOf(r)&&-1===a.indexOf("$<")){var m=n(t,u,d,a);if(m.done)return m.value}var g=i(a);g||(a=l(a));var y=u.global;if(y){var x=u.unicode;u.lastIndex=0}var w=[];while(1){var k=h(u,d);if(null===k)break;if(w.push(k),!y)break;var S=l(k[0]);""===S&&(u.lastIndex=f(d,c(u.lastIndex),x))}for(var A="",M=0,R=0;R<w.length;R++){k=w[R];for(var E=l(k[0]),T=v(_(s(k.index),d.length),0),O=[],L=1;L<k.length;L++)O.push(b(k[L]));var B=k.groups;if(g){var I=[E].concat(O,T,d);void 0!==B&&I.push(B);var j=l(a.apply(void 0,I))}else j=p(E,d,T,O,B,a);T>=M&&(A+=d.slice(M,T)+j,M=T+E.length)}return A+d.slice(M)}]}),!w||!y||x)},5692:function(e,t,n){var r=n("c430"),a=n("c6cd");(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(e,t,n){var r=n("d066"),a=n("241c"),o=n("7418"),i=n("825a");e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},"577e":function(e,t,n){var r=n("f5df");e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},5899:function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("1d80"),a=n("577e"),o=n("5899"),i="["+o+"]",s=RegExp("^"+i+i+"*"),c=RegExp(i+i+"*$"),l=function(e){return function(t){var n=a(r(t));return 1&e&&(n=n.replace(s,"")),2&e&&(n=n.replace(c,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},"58b1":function(e,t,n){var r=n("0206"),a=r.assert;function o(){var e;this.setModules=function(t){e=t},this.ResvFrameBegin=function(t,n){var r,o=t.internal_flags,i=o.l3_side,s=e.getframebits(t);n.bits=(s-8*o.sideinfo_len)/o.mode_gr;var c=2048*o.mode_gr-8;t.brate>320?r=8*int(1e3*t.brate/(t.out_samplerate/1152)/8+.5):(r=11520,t.strict_ISO&&(r=8*int(32e4/(t.out_samplerate/1152)/8+.5))),o.ResvMax=r-s,o.ResvMax>c&&(o.ResvMax=c),(o.ResvMax<0||t.disable_reservoir)&&(o.ResvMax=0);var l=n.bits*o.mode_gr+Math.min(o.ResvSize,o.ResvMax);return l>r&&(l=r),a(0==o.ResvMax%8),a(o.ResvMax>=0),i.resvDrain_pre=0,null!=o.pinfo&&(o.pinfo.mean_bits=n.bits/2,o.pinfo.resvsize=o.ResvSize),l},this.ResvMaxBits=function(e,t,n,r){var a,o=e.internal_flags,i=o.ResvSize,s=o.ResvMax;0!=r&&(i+=t),0!=(1&o.substep_shaping)&&(s*=.9),n.bits=t,10*i>9*s?(a=i-9*s/10,n.bits+=a,o.substep_shaping|=128):(a=0,o.substep_shaping&=127,e.disable_reservoir||0!=(1&o.substep_shaping)||(n.bits-=.1*t));var c=i<6*o.ResvMax/10?i:6*o.ResvMax/10;return c-=a,c<0&&(c=0),c},this.ResvAdjust=function(e,t){e.ResvSize-=t.part2_3_length+t.part2_length},this.ResvFrameEnd=function(e,t){var n,r=e.l3_side;e.ResvSize+=t*e.mode_gr;var o=0;r.resvDrain_post=0,r.resvDrain_pre=0,0!=(n=e.ResvSize%8)&&(o+=n),n=e.ResvSize-o-e.ResvMax,n>0&&(a(0==n%8),a(n>=0),o+=n);var i=Math.min(8*r.main_data_begin,o)/8;r.resvDrain_pre+=8*i,o-=8*i,e.ResvSize-=8*i,r.main_data_begin-=i,r.resvDrain_post+=o,e.ResvSize-=o}}e.exports=o},"59ed":function(e,t,n){var r=n("1626"),a=n("0d51");e.exports=function(e){if(r(e))return e;throw TypeError(a(e)+" is not a function")}},"5a34":function(e,t,n){var r=n("44e7");e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},"5a74":function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript;if(Object({NODE_ENV:"production",BASE_URL:"/"}).NEED_CURRENTSCRIPT_POLYFILL){var a=n("8875");r=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a})}var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var i=n("8bbf"),s=n.n(i);const c=/-(\w)/g,l=e=>e.replace(c,(e,t)=>t?t.toUpperCase():""),u=/\B([A-Z])/g,f=e=>e.replace(u,"-$1").toLowerCase();function d(e){const t={};return e.forEach(e=>{t[e]=void 0}),t}function p(e,t,n){e[t]=[].concat(e[t]||[]),e[t].unshift(n)}function h(e,t){if(e){const n=e.$options[t]||[];n.forEach(t=>{t.call(e)})}}function m(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:t})}const g=e=>/function Boolean/.test(String(e)),v=e=>/function Number/.test(String(e));function _(e,t,{type:n}={}){if(g(n))return"true"===e||"false"===e?"true"===e:""===e||e===t||null!=e||e;if(v(n)){const t=parseFloat(e,10);return isNaN(t)?e:t}return e}function b(e,t){const n=[];for(let r=0,a=t.length;r<a;r++)n.push(y(e,t[r]));return n}function y(e,t){if(3===t.nodeType)return t.data.trim()?t.data:null;if(1===t.nodeType){const n={attrs:x(t),domProps:{innerHTML:t.innerHTML}};return n.attrs.slot&&(n.slot=n.attrs.slot,delete n.attrs.slot),e(t.tagName,n)}return null}function x(e){const t={};for(let n=0,r=e.attributes.length;n<r;n++){const r=e.attributes[n];t[r.nodeName]=r.nodeValue}return t}function w(e,t){const n="function"===typeof t&&!t.cid;let r,a,o,i=!1;function s(e){if(i)return;const t="function"===typeof e?e.options:e,n=Array.isArray(t.props)?t.props:Object.keys(t.props||{});r=n.map(f),a=n.map(l);const s=Array.isArray(t.props)?{}:t.props||{};o=a.reduce((e,t,r)=>(e[t]=s[n[r]],e),{}),p(t,"beforeCreate",(function(){const e=this.$emit;this.$emit=(t,...n)=>(this.$root.$options.customElement.dispatchEvent(m(t,n)),e.call(this,t,...n))})),p(t,"created",(function(){a.forEach(e=>{this.$root.props[e]=this[e]})})),a.forEach(e=>{Object.defineProperty(u.prototype,e,{get(){return this._wrapper.props[e]},set(t){this._wrapper.props[e]=t},enumerable:!1,configurable:!0})}),i=!0}function c(e,t){const n=l(t),r=e.hasAttribute(t)?e.getAttribute(t):void 0;e._wrapper.props[n]=_(r,t,o[n])}class u extends HTMLElement{constructor(){const n=super();n.attachShadow({mode:"open"});const r=n._wrapper=new e({name:"shadow-root",customElement:n,shadowRoot:n.shadowRoot,data(){return{props:{},slotChildren:[]}},render(e){return e(t,{ref:"inner",props:this.props},this.slotChildren)}}),a=new MutationObserver(e=>{let t=!1;for(let r=0;r<e.length;r++){const a=e[r];i&&"attributes"===a.type&&a.target===n?c(n,a.attributeName):t=!0}t&&(r.slotChildren=Object.freeze(b(r.$createElement,n.childNodes)))});a.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0})}get vueComponent(){return this._wrapper.$refs.inner}connectedCallback(){const e=this._wrapper;if(e._isMounted)h(this.vueComponent,"activated");else{const n=()=>{e.props=d(a),r.forEach(e=>{c(this,e)})};i?n():t().then(e=>{(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e),n()}),e.slotChildren=Object.freeze(b(e.$createElement,this.childNodes)),e.$mount(),this.shadowRoot.appendChild(e.$el)}}disconnectedCallback(){h(this.vueComponent,"deactivated")}}return n||s(t),u}var k=w;n("24fb"),n("35d6");function S(e,t,n,r,a,o,i,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}var A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-card-window",style:[{height:e.height},e.cssVars]},[n("div",{staticClass:"vac-chat-container"},[e.singleRoom?e._e():n("rooms-list",{attrs:{"current-user-id":e.currentUserId,rooms:e.orderedRooms,"loading-rooms":e.loadingRooms,"rooms-loaded":e.roomsLoaded,room:e.room,"room-actions":e.roomActions,"text-messages":e.t,"show-search":e.showSearch,"show-add-room":e.showAddRoom,"show-rooms-list":e.showRoomsList,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"is-mobile":e.isMobile},on:{"fetch-room":e.fetchRoom,"fetch-more-rooms":e.fetchMoreRooms,"loading-more-rooms":function(t){e.loadingMoreRooms=t},"add-room":e.addRoom,"room-action-handler":e.roomActionHandler},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("room",{attrs:{"current-user-id":e.currentUserId,rooms:e.rooms,"room-id":e.room.roomId||"","load-first-room":e.loadFirstRoom,messages:e.messages,"room-message":e.roomMessage,"messages-loaded":e.messagesLoaded,"menu-actions":e.menuActions,"message-actions":e.messageActions,"show-send-icon":e.showSendIcon,"show-files":e.showFiles,"show-audio":e.showAudio,"show-emojis":e.showEmojis,"show-reaction-emojis":e.showReactionEmojis,"show-new-messages-divider":e.showNewMessagesDivider,"show-footer":e.showFooter,"text-messages":e.t,"single-room":e.singleRoom,"show-rooms-list":e.showRoomsList,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"is-mobile":e.isMobile,"loading-rooms":e.loadingRooms,"room-info-enabled":e.roomInfoEnabled,"textarea-action-enabled":e.textareaActionEnabled,"accepted-files":e.acceptedFiles},on:{"toggle-rooms-list":e.toggleRoomsList,"room-info":e.roomInfo,"fetch-messages":e.fetchMessages,"send-message":e.sendMessage,"edit-message":e.editMessage,"delete-message":e.deleteMessage,"open-file":e.openFile,"open-user-tag":e.openUserTag,"menu-action-handler":e.menuActionHandler,"message-action-handler":e.messageActionHandler,"send-message-reaction":e.sendMessageReaction,"typing-message":e.typingMessage,"textarea-action-handler":e.textareaActionHandler},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)])},M=[];n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("4160"),n("159b"),n("dbb4"),n("1d1c"),n("7a82");function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){R(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}n("a9e3"),n("d81d"),n("4e82"),n("fb6a"),n("7db0"),n("4fad");var O,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.showRoomsList,expression:"showRoomsList"}],staticClass:"vac-rooms-container vac-app-border-r",class:{"vac-rooms-container-full":e.isMobile}},[e._t("rooms-header"),e._t("rooms-list-search",(function(){return[n("rooms-search",{attrs:{rooms:e.rooms,"loading-rooms":e.loadingRooms,"text-messages":e.textMessages,"show-search":e.showSearch,"show-add-room":e.showAddRoom},on:{"search-room":e.searchRoom,"add-room":function(t){return e.$emit("add-room")}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})]})),n("loader",{attrs:{show:e.loadingRooms}}),e.loadingRooms||e.rooms.length?e._e():n("div",{staticClass:"vac-rooms-empty"},[e._t("rooms-empty",(function(){return[e._v(" "+e._s(e.textMessages.ROOMS_EMPTY)+" ")]}))],2),e.loadingRooms?e._e():n("div",{staticClass:"vac-room-list",attrs:{id:"rooms-list"}},[e._l(e.filteredRooms,(function(t){return n("div",{key:t.roomId,staticClass:"vac-room-item",class:{"vac-room-selected":e.selectedRoomId===t.roomId},attrs:{id:t.roomId},on:{click:function(n){return e.openRoom(t)}}},[n("room-content",{attrs:{"current-user-id":e.currentUserId,room:t,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"text-messages":e.textMessages,"room-actions":e.roomActions},on:{"room-action-handler":function(t){return e.$emit("room-action-handler",t)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)})),n("transition",{attrs:{name:"vac-fade-message"}},[e.rooms.length&&!e.loadingRooms?n("div",{attrs:{id:"infinite-loader"}},[n("loader",{attrs:{show:e.showLoader,infinite:!0}})],1):e._e()])],2)],2)},B=[],I=(n("4795"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-fade-spinner",appear:""}},[e.show?n("div",{staticClass:"vac-loader-wrapper",class:{"vac-container-center":!e.infinite,"vac-container-top":e.infinite}},[n("div",{attrs:{id:"vac-circle"}})]):e._e()])}),j=[],C={name:"Loader",props:{show:{type:Boolean,default:!1},infinite:{type:Boolean,default:!1}}},P=C,N=S(P,I,j,!1,null,null,null),H=N.exports,F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"vac-box-search":e.showSearchBar,"vac-box-empty":!e.showSearchBar}},[e.showSearch?[!e.loadingRooms&&e.rooms.length?n("div",{staticClass:"vac-icon-search"},[e._t("search-icon",(function(){return[n("svg-icon",{attrs:{name:"search"}})]}))],2):e._e(),!e.loadingRooms&&e.rooms.length?n("input",{staticClass:"vac-input",attrs:{type:"search",placeholder:e.textMessages.SEARCH,autocomplete:"off"},on:{input:function(t){return e.$emit("search-room",t)}}}):e._e()]:e._e(),e.showAddRoom?n("div",{staticClass:"vac-svg-button vac-add-icon",on:{click:function(t){return e.$emit("add-room")}}},[e._t("add-icon",(function(){return[n("svg-icon",{attrs:{name:"add"}})]}))],2):e._e()],2)},D=[],U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",width:"24",height:"24",viewBox:"0 0 "+e.size+" "+e.size}},[n("path",{attrs:{id:e.svgId,d:e.svgItem[e.name].path}}),e.svgItem[e.name].path2?n("path",{attrs:{id:e.svgId,d:e.svgItem[e.name].path2}}):e._e()])},V=[],q=(n("99af"),n("b0c0"),{name:"SvgIcon",props:{name:{type:String,default:null},param:{type:String,default:null}},data:function(){return{svgItem:{search:{path:"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z"},add:{path:"M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"},toggle:{path:"M5,13L9,17L7.6,18.42L1.18,12L7.6,5.58L9,7L5,11H21V13H5M21,6V8H11V6H21M21,16V18H11V16H21Z"},menu:{path:"M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z"},close:{path:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"},file:{path:"M14,17H7V15H14M17,13H7V11H17M17,9H7V7H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z"},paperclip:{path:"M16.5,6V17.5A4,4 0 0,1 12.5,21.5A4,4 0 0,1 8.5,17.5V5A2.5,2.5 0 0,1 11,2.5A2.5,2.5 0 0,1 13.5,5V15.5A1,1 0 0,1 12.5,16.5A1,1 0 0,1 11.5,15.5V6H10V15.5A2.5,2.5 0 0,0 12.5,18A2.5,2.5 0 0,0 15,15.5V5A4,4 0 0,0 11,1A4,4 0 0,0 7,5V17.5A5.5,5.5 0 0,0 12.5,23A5.5,5.5 0 0,0 18,17.5V6H16.5Z"},"close-outline":{path:"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"},send:{path:"M2,21L23,12L2,3V10L17,12L2,14V21Z"},emoji:{path:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm3.5-9c.83 0 1.5-.67 1.5-1.5S16.33 8 15.5 8 14 8.67 14 9.5s.67 1.5 1.5 1.5zm-7 0c.83 0 1.5-.67 1.5-1.5S9.33 8 8.5 8 7 8.67 7 9.5 7.67 11 8.5 11zm3.5 6.5c2.33 0 4.31-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5z"},document:{path:"M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z"},pencil:{path:"M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z"},checkmark:{path:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"},"double-checkmark":{path:"M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"},eye:{path:"M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z"},dropdown:{path:"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z"},deleted:{path:"M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12C4,13.85 4.63,15.55 5.68,16.91L16.91,5.68C15.55,4.63 13.85,4 12,4M12,20A8,8 0 0,0 20,12C20,10.15 19.37,8.45 18.32,7.09L7.09,18.32C8.45,19.37 10.15,20 12,20Z"},microphone:{size:"large",path:"M432.8,216.4v39.2c0,45.2-15.3,84.3-45.2,118.4c-29.8,33.2-67.3,52.8-111.6,57.9v40.9h78.4c5.1,0,10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6c0,5.1-1.7,10.2-6,13.6c-4.3,4.3-8.5,6-13.6,6H157.6c-5.1,0-10.2-1.7-13.6-6c-4.3-4.3-6-8.5-6-13.6c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6H236v-40.9c-44.3-5.1-81.8-23.9-111.6-57.9s-45.2-73.3-45.2-118.4v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6s10.2,1.7,13.6,6c4.3,4.3,6,8.5,6,13.6v39.2c0,37.5,13.6,70.7,40,97.1s59.6,40,97.1,40s70.7-13.6,97.1-40c26.4-26.4,40-59.6,40-97.1v-39.2c0-5.1,1.7-10.2,6-13.6c4.3-4.3,8.5-6,13.6-6c5.1,0,10.2,1.7,13.6,6C430.2,206.2,432.8,211.3,432.8,216.4z M353.5,98v157.6c0,27.3-9.4,50.3-29,69c-19.6,19.6-42.6,29-69,29s-50.3-9.4-69-29c-19.6-19.6-29-42.6-29-69V98c0-27.3,9.4-50.3,29-69c19.6-19.6,42.6-29,69-29s50.3,9.4,69,29C344.2,47.7,353.5,71.6,353.5,98z"},"audio-play":{size:"medium",path:"M43.331,21.237L7.233,0.397c-0.917-0.529-2.044-0.529-2.96,0c-0.916,0.528-1.48,1.505-1.48,2.563v41.684   c0,1.058,0.564,2.035,1.48,2.563c0.458,0.268,0.969,0.397,1.48,0.397c0.511,0,1.022-0.133,1.48-0.397l36.098-20.84   c0.918-0.529,1.479-1.506,1.479-2.564S44.247,21.767,43.331,21.237z"},"audio-pause":{size:"medium",path:"M17.991,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C4.729,2.969,7.698,0,11.36,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z",path2:"M42.877,40.976c0,3.662-2.969,6.631-6.631,6.631l0,0c-3.662,0-6.631-2.969-6.631-6.631V6.631C29.616,2.969,32.585,0,36.246,0l0,0c3.662,0,6.631,2.969,6.631,6.631V40.976z"}}}},computed:{svgId:function(){var e=this.param?"-"+this.param:"";return"vac-icon-".concat(this.name).concat(e)},size:function(){var e=this.svgItem[this.name];return"large"===e.size?512:"medium"===e.size?48:24}}}),$=q,z=S($,U,V,!1,null,null,null),Y=z.exports,X={name:"RoomsSearch",components:{SvgIcon:Y},props:{textMessages:{type:Object,required:!0},showSearch:{type:Boolean,required:!0},showAddRoom:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0}},emits:["search-room","add-room"],computed:{showSearchBar:function(){return this.showSearch||this.showAddRoom}}},G=X,K=S(G,F,D,!1,null,null,null),W=K.exports,Z=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-room-container"},[e._t("room-list-item",(function(){return[e.room.avatar?n("div",{staticClass:"vac-avatar",style:{"background-image":"url('"+e.room.avatar+"')"}}):e._e(),n("div",{staticClass:"vac-name-container vac-text-ellipsis"},[n("div",{staticClass:"vac-title-container"},[e.userStatus?n("div",{staticClass:"vac-state-circle",class:{"vac-state-online":"online"===e.userStatus}}):e._e(),n("div",{staticClass:"vac-room-name vac-text-ellipsis"},[e._v(" "+e._s(e.room.roomName)+" ")]),e.room.lastMessage?n("div",{staticClass:"vac-text-date"},[e._v(" "+e._s(e.room.lastMessage.timestamp)+" ")]):e._e()]),n("div",{staticClass:"vac-text-last",class:{"vac-message-new":e.room.lastMessage&&e.room.lastMessage.new&&!e.typingUsers}},[e.isMessageCheckmarkVisible?n("span",[e._t("checkmark-icon",(function(){return[n("svg-icon",{staticClass:"vac-icon-check",attrs:{name:e.room.lastMessage.distributed?"double-checkmark":"checkmark",param:e.room.lastMessage.seen?"seen":""}})]}),null,{message:e.room.lastMessage})],2):e._e(),e.room.lastMessage&&!e.room.lastMessage.deleted&&e.isAudio?n("div",{staticClass:"vac-text-ellipsis"},[e._t("microphone-icon",(function(){return[n("svg-icon",{staticClass:"vac-icon-microphone",attrs:{name:"microphone"}})]})),e._v(" "+e._s(e.formattedDuration)+" ")],2):e.room.lastMessage?n("format-message",{attrs:{content:e.getLastMessage,deleted:!!e.room.lastMessage.deleted&&!e.typingUsers,users:e.room.users,linkify:!1,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"single-line":!0},scopedSlots:e._u([{key:"deleted-icon",fn:function(t){return[e._t("deleted-icon",null,null,t)]}}],null,!0)}):e._e(),!e.room.lastMessage&&e.typingUsers?n("div",{staticClass:"vac-text-ellipsis"},[e._v(" "+e._s(e.typingUsers)+" ")]):e._e(),n("div",{staticClass:"vac-room-options-container"},[e.room.unreadCount?n("div",{staticClass:"vac-badge-counter vac-room-badge"},[e._v(" "+e._s(e.room.unreadCount)+" ")]):e._e(),e._t("room-list-options",(function(){return[e.roomActions.length?n("div",{staticClass:"vac-svg-button vac-list-room-options",on:{click:function(t){t.stopPropagation(),e.roomMenuOpened=e.room.roomId}}},[e._t("room-list-options-icon",(function(){return[n("svg-icon",{attrs:{name:"dropdown",param:"room"}})]}))],2):e._e(),e.roomActions.length?n("transition",{attrs:{name:"vac-slide-left"}},[e.roomMenuOpened===e.room.roomId?n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeRoomMenu,expression:"closeRoomMenu"}],staticClass:"vac-menu-options"},[n("div",{staticClass:"vac-menu-list"},e._l(e.roomActions,(function(t){return n("div",{key:t.name},[n("div",{staticClass:"vac-menu-item",on:{click:function(n){return n.stopPropagation(),e.roomActionHandler(t)}}},[e._v(" "+e._s(t.title)+" ")])])})),0)]):e._e()]):e._e()]}),null,{room:e.room})],2)],1)])]}),null,{room:e.room})],2)},Q=[],J=n("c28b"),ee=n.n(J),te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-format-message-wrapper",class:{"vac-text-ellipsis":e.singleLine}},[e.textFormatting?n("div",{class:{"vac-text-ellipsis":e.singleLine}},e._l(e.linkifiedMessage,(function(t,r){return n("div",{key:r,staticClass:"vac-format-container"},[n(t.url?"a":"span",{tag:"component",class:{"vac-text-ellipsis":e.singleLine,"vac-text-bold":t.bold,"vac-text-italic":e.deleted||t.italic,"vac-text-strike":t.strike,"vac-text-underline":t.underline,"vac-text-inline-code":!e.singleLine&&t.inline,"vac-text-multiline-code":!e.singleLine&&t.multiline,"vac-text-tag":!e.singleLine&&!e.reply&&t.tag},attrs:{href:t.href,target:t.href?e.linkOptions.target:null},on:{click:function(n){return e.openTag(t)}}},[e._t("deleted-icon",(function(){return[e.deleted?n("svg-icon",{staticClass:"vac-icon-deleted",attrs:{name:"deleted"}}):e._e()]}),null,{deleted:e.deleted}),t.url&&t.image?[n("div",{staticClass:"vac-image-link-container"},[n("div",{staticClass:"vac-image-link",style:{"background-image":"url('"+t.value+"')",height:t.height}})]),n("div",{staticClass:"vac-image-link-message"},[n("span",[e._v(e._s(t.value))])])]:[n("span",[e._v(e._s(t.value))])]],2)],1)})),0):n("div",[e._v(" "+e._s(e.formattedContent)+" ")])])},ne=[],re=(n("cc71"),n("c5d0"),n("2315"),n("c975"),n("baa5"),n("45fc"),n("caad"),n("2532"),n("ac1f"),n("5319"),n("466d"),n("4d63"),n("25f0"),n("74fe")),ae=function(e,t){var n=se(e),r=ce(n),a=[].concat.apply([],r);return t&&ue(a),a},oe={bold:"*",italic:"_",strike:"~",underline:"°"},ie=(O={},R(O,oe.bold,{end:"\\"+[oe.bold],allowed_chars:".",type:"bold"}),R(O,oe.italic,{end:[oe.italic],allowed_chars:".",type:"italic"}),R(O,oe.strike,{end:[oe.strike],allowed_chars:".",type:"strike"}),R(O,oe.underline,{end:[oe.underline],allowed_chars:".",type:"underline"}),R(O,"```",{end:"```",allowed_chars:"(.|\n)",type:"multiline-code"}),R(O,"`",{end:"`",allowed_chars:".",type:"inline-code"}),R(O,"<usertag>",{allowed_chars:".",end:"</usertag>",type:"tag"}),O);function se(e){var t=[],n=-1,r=null,a=re.find(e),o=!1;if(a.length>0&&(n=e.indexOf(a[0].value),o=!0),Object.keys(ie).forEach((function(t){var a=e.indexOf(t);a>=0&&(n<0||a<n)&&(n=a,r=t,o=!1)})),o&&-1!==r){var i=e.substr(0,n),s=e.substr(n,a[0].value.length),c=e.substr(n+a[0].value.length);return t.push(i),t.push(s),t=t.concat(se(c)),t}if(r){var l=e.substr(0,n),u=r,f=e.substr(n+u.length);if(e.replace(/\s/g,"").length===2*u.length)return[e];var d=f.match(new RegExp("^("+(ie[u].allowed_chars||".")+"*"+(ie[u].end?"?":"")+")"+(ie[u].end?"("+ie[u].end+")":""),"m"));if(d&&d[1]){l&&t.push(l);var p={start:u,content:se(d[1]),end:d[2],type:ie[u].type};t.push(p),f=f.substr(d[0].length)}else l+=u,t.push(l);return t=t.concat(se(f)),t}return e?[e]:[]}function ce(e){var t=[];return e.forEach((function(e){"string"===typeof e?t.push({types:[],value:e}):ie[e.start]&&t.push(le(e))})),t}function le(e){var t=[];return e.content.forEach((function(n){"string"===typeof n?t.push({types:[e.type],value:n}):n.content.forEach((function(r){"string"===typeof r?t.push({types:[n.type].concat([e.type]),value:r}):t.push({types:[r.type].concat([n.type]).concat([e.type]),value:le(r)})}))})),t}function ue(e){var t=[];return e.forEach((function(e){var n=re.find(e.value);if(n.length){var r=e.value.replace(n[0].value,"");t.push({types:e.types,value:r}),e.types=["url"].concat(e.types),e.href=n[0].href,e.value=n[0].value}t.push(e)})),t}var fe=n("c9d9"),de={name:"FormatMessage",components:{SvgIcon:Y},props:{content:{type:[String,Number],required:!0},deleted:{type:Boolean,default:!1},users:{type:Array,default:function(){return[]}},linkify:{type:Boolean,default:!0},singleLine:{type:Boolean,default:!1},reply:{type:Boolean,default:!1},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0}},emits:["open-user-tag"],computed:{linkifiedMessage:function(){var e=this,t=ae(this.formatTags(this.content),this.linkify&&!this.linkOptions.disabled,this.linkOptions);return t.forEach((function(t){t.url=e.checkType(t,"url"),t.bold=e.checkType(t,"bold"),t.italic=e.checkType(t,"italic"),t.strike=e.checkType(t,"strike"),t.underline=e.checkType(t,"underline"),t.inline=e.checkType(t,"inline-code"),t.multiline=e.checkType(t,"multiline-code"),t.tag=e.checkType(t,"tag"),t.image=e.checkImageType(t)})),t},formattedContent:function(){return this.formatTags(this.content)}},methods:{checkType:function(e,t){return-1!==e.types.indexOf(t)},checkImageType:function(e){var t=e.value.lastIndexOf("."),n=e.value.lastIndexOf("/");n>t&&(t=-1);var r=e.value.substring(t+1,e.value.length),a=t>0&&fe["b"].some((function(e){return r.toLowerCase().includes(e)}));return a&&this.setImageSize(e),a},setImageSize:function(e){var t=new Image;function n(r){var a=r.path[0].width/150;e.height=Math.round(r.path[0].height/a)+"px",t.removeEventListener("load",n)}t.src=e.value,t.addEventListener("load",n)},formatTags:function(e){return this.users.forEach((function(t){var n=e.indexOf(t._id),r="<usertag>"===e.substring(n-9,n);r&&(e=e.replace(t._id,"@".concat(t.username)))})),e},openTag:function(e){if(!this.singleLine&&this.checkType(e,"tag")){var t=this.users.find((function(t){return-1!==e.value.indexOf(t.username)}));this.$emit("open-user-tag",t)}}}},pe=de,he=S(pe,te,ne,!1,null,null,null),me=he.exports,ge=(n("a15b"),function(e,t,n){if(e.typingUsers&&e.typingUsers.length){var r=e.users.filter((function(n){if(n._id!==t&&-1!==e.typingUsers.indexOf(n._id)&&(!n.status||"offline"!==n.status.state))return!0}));if(!r.length)return;return 2===e.users.length?n.IS_TYPING:r.map((function(e){return e.username})).join(", ")+" "+n.IS_TYPING}}),ve=n("bd43"),_e=ve.isAudioFile,be={name:"RoomsContent",components:{SvgIcon:Y,FormatMessage:me},directives:{clickOutside:ee.a.directive},props:{currentUserId:{type:[String,Number],required:!0},room:{type:Object,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},textMessages:{type:Object,required:!0},roomActions:{type:Array,required:!0}},emits:["room-action-handler"],data:function(){return{roomMenuOpened:null}},computed:{getLastMessage:function(){var e=this,t=this.typingUsers;if(t)return t;var n=this.room.lastMessage.deleted?this.textMessages.MESSAGE_DELETED:this.room.lastMessage.content;if(this.room.users.length<=2)return n;var r=this.room.users.find((function(t){return t._id===e.room.lastMessage.senderId}));return this.room.lastMessage.username?"".concat(this.room.lastMessage.username," - ").concat(n):r&&r._id!==this.currentUserId?"".concat(r.username," - ").concat(n):n},userStatus:function(){var e=this;if(this.room.users&&2===this.room.users.length){var t=this.room.users.find((function(t){return t._id!==e.currentUserId}));return t&&t.status?t.status.state:null}},typingUsers:function(){return ge(this.room,this.currentUserId,this.textMessages)},isMessageCheckmarkVisible:function(){return!this.typingUsers&&this.room.lastMessage&&!this.room.lastMessage.deleted&&this.room.lastMessage.senderId===this.currentUserId&&(this.room.lastMessage.saved||this.room.lastMessage.distributed||this.room.lastMessage.seen)},formattedDuration:function(){var e=this.room.lastMessage.files[0];if(!e.duration)return"".concat(e.name,".").concat(e.extension);var t=Math.floor(e.duration);return(t-(t%=60))/60+(t>9?":":":0")+t},isAudio:function(){return!!this.room.lastMessage.files&&_e(this.room.lastMessage.files[0])}},methods:{roomActionHandler:function(e){this.closeRoomMenu(),this.$emit("room-action-handler",{action:e,roomId:this.room.roomId})},closeRoomMenu:function(){this.roomMenuOpened=null}}},ye=be,xe=S(ye,Z,Q,!1,null,null,null),we=xe.exports,ke=(n("2ca0"),function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return n&&""!==n?e.filter((function(e){return r?Se(e[t]).startsWith(Se(n)):Se(e[t]).includes(Se(n))})):e});function Se(e){return e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"")}var Ae={name:"RoomsList",components:{Loader:H,RoomsSearch:W,RoomContent:we},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},showRoomsList:{type:Boolean,required:!0},showSearch:{type:Boolean,required:!0},showAddRoom:{type:Boolean,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},isMobile:{type:Boolean,required:!0},rooms:{type:Array,required:!0},loadingRooms:{type:Boolean,required:!0},roomsLoaded:{type:Boolean,required:!0},room:{type:Object,required:!0},roomActions:{type:Array,required:!0}},emits:["add-room","room-action-handler","loading-more-rooms","fetch-room","fetch-more-rooms"],data:function(){return{filteredRooms:this.rooms||[],infiniteLoader:null,showLoader:!0,loadingMoreRooms:!1,selectedRoomId:""}},watch:{rooms:{deep:!0,handler:function(e,t){this.filteredRooms=e,(e.length!==t.length||this.roomsLoaded)&&(this.loadingMoreRooms=!1)}},loadingRooms:function(e){var t=this;e||setTimeout((function(){return t.initIntersectionObserver()}))},loadingMoreRooms:function(e){this.$emit("loading-more-rooms",e)},roomsLoaded:function(e){e&&(this.loadingMoreRooms=!1)},room:{immediate:!0,handler:function(e){e&&!this.isMobile&&(this.selectedRoomId=e.roomId)}}},methods:{initIntersectionObserver:function(){var e=this,t=document.getElementById("infinite-loader");if(t&&!this.infiniteLoader){this.infiniteLoader=t;var n={root:document.getElementById("rooms-list"),rootMargin:"100px",threshold:0},r=new IntersectionObserver((function(t){t[0].isIntersecting&&e.loadMoreRooms()}),n);r.observe(t)}},searchRoom:function(e){this.filteredRooms=ke(this.rooms,"roomName",e.target.value)},openRoom:function(e){(e.roomId!==this.room.roomId||this.isMobile)&&(this.isMobile||(this.selectedRoomId=e.roomId),this.$emit("fetch-room",{room:e}))},loadMoreRooms:function(){if(!this.loadingMoreRooms){if(this.roomsLoaded)return this.loadingMoreRooms=!1,this.showLoader=!1;this.$emit("fetch-more-rooms"),this.loadingMoreRooms=!0}}}},Me=Ae,Re=S(Me,L,B,!1,null,null,null),Ee=Re.exports,Te=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isMobile&&!e.showRoomsList||!e.isMobile||e.singleRoom,expression:"(isMobile && !showRoomsList) || !isMobile || singleRoom"}],staticClass:"vac-col-messages"},[e.showNoRoom?e._t("no-room-selected",(function(){return[n("div",{staticClass:"vac-container-center vac-room-empty"},[n("div",[e._v(e._s(e.textMessages.ROOM_EMPTY))])])]})):n("room-header",{attrs:{"current-user-id":e.currentUserId,"text-messages":e.textMessages,"single-room":e.singleRoom,"show-rooms-list":e.showRoomsList,"is-mobile":e.isMobile,"room-info-enabled":e.roomInfoEnabled,"menu-actions":e.menuActions,room:e.room},on:{"toggle-rooms-list":function(t){return e.$emit("toggle-rooms-list")},"room-info":function(t){return e.$emit("room-info")},"menu-action-handler":function(t){return e.$emit("menu-action-handler",t)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("div",{ref:"scrollContainer",staticClass:"vac-container-scroll",on:{scroll:e.onContainerScroll}},[n("loader",{attrs:{show:e.loadingMessages}}),n("div",{staticClass:"vac-messages-container"},[n("div",{class:{"vac-messages-hidden":e.loadingMessages}},[n("transition",{attrs:{name:"vac-fade-message"}},[n("div",[e.showNoMessages?n("div",{staticClass:"vac-text-started"},[e._t("messages-empty",(function(){return[e._v(" "+e._s(e.textMessages.MESSAGES_EMPTY)+" ")]}))],2):e._e(),e.showMessagesStarted?n("div",{staticClass:"vac-text-started"},[e._v(" "+e._s(e.textMessages.CONVERSATION_STARTED)+" "+e._s(e.messages[0].date)+" ")]):e._e()])]),n("transition",{attrs:{name:"vac-fade-message"}},[e.messages.length?n("infinite-loading",{class:{"vac-infinite-loading":!e.messagesLoaded},attrs:{"force-use-infinite-wrapper":".vac-container-scroll","web-component-name":"vue-advanced-chat",spinner:"spiral",direction:"top",distance:40},on:{infinite:e.loadMoreMessages},scopedSlots:e._u([{key:"spinner",fn:function(){return[n("loader",{attrs:{show:!0,infinite:!0}})]},proxy:!0},{key:"no-results",fn:function(){return[n("div")]},proxy:!0},{key:"no-more",fn:function(){return[n("div")]},proxy:!0}],null,!1,3407458732)}):e._e()],1),n("transition-group",{key:e.roomId,attrs:{name:"vac-fade-message",tag:"span"}},e._l(e.messages,(function(t,r){return n("div",{key:t.indexId||t._id},[n("message",{attrs:{"current-user-id":e.currentUserId,message:t,index:r,messages:e.messages,"edited-message":e.editedMessage,"message-actions":e.messageActions,"room-users":e.room.users,"text-messages":e.textMessages,"room-footer-ref":e.$refs.roomFooter,"new-messages":e.newMessages,"show-reaction-emojis":e.showReactionEmojis,"show-new-messages-divider":e.showNewMessagesDivider,"text-formatting":e.textFormatting,"link-options":e.linkOptions,"hide-options":e.hideOptions},on:{"message-added":e.onMessageAdded,"message-action-handler":e.messageActionHandler,"open-file":e.openFile,"open-user-tag":e.openUserTag,"send-message-reaction":e.sendMessageReaction,"hide-options":function(t){e.hideOptions=t}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)})),0)],1)])],1),e.loadingMessages?e._e():n("div",[n("transition",{attrs:{name:"vac-bounce"}},[e.scrollIcon?n("div",{staticClass:"vac-icon-scroll",on:{click:e.scrollToBottom}},[n("transition",{attrs:{name:"vac-bounce"}},[e.scrollMessagesCount?n("div",{staticClass:"vac-badge-counter vac-messages-count"},[e._v(" "+e._s(e.scrollMessagesCount)+" ")]):e._e()]),e._t("scroll-icon",(function(){return[n("svg-icon",{attrs:{name:"dropdown",param:"scroll"}})]}))],2):e._e()])],1),n("div",{directives:[{name:"show",rawName:"v-show",value:Object.keys(e.room).length&&e.showFooter,expression:"Object.keys(room).length && showFooter"}],ref:"roomFooter",staticClass:"vac-room-footer",class:{"vac-app-box-shadow":e.shadowFooter}},[n("room-emojis",{attrs:{"filtered-emojis":e.filteredEmojis},on:{"select-emoji":function(t){return e.selectEmoji(t)}}}),n("room-users-tag",{attrs:{"filtered-users-tag":e.filteredUsersTag},on:{"select-user-tag":function(t){return e.selectUserTag(t)}}}),n("room-message-reply",{attrs:{room:e.room,"message-reply":e.messageReply,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"reset-message":e.resetMessage},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("room-files",{attrs:{files:e.files},on:{"remove-file":e.removeFile,"reset-message":e.resetMessage},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("div",{staticClass:"vac-box-footer"},[e.showAudio&&!e.files.length?n("div",{staticClass:"vac-icon-textarea-left"},[e.isRecording?[n("div",{staticClass:"vac-svg-button vac-icon-audio-stop",on:{click:e.stopRecorder}},[e._t("audio-stop-icon",(function(){return[n("svg-icon",{attrs:{name:"close-outline"}})]}))],2),n("div",{staticClass:"vac-dot-audio-record"}),n("div",{staticClass:"vac-dot-audio-record-time"},[e._v(" "+e._s(e.recordedTime)+" ")]),n("div",{staticClass:"vac-svg-button vac-icon-audio-confirm",on:{click:function(t){return e.toggleRecorder(!1)}}},[e._t("audio-stop-icon",(function(){return[n("svg-icon",{attrs:{name:"checkmark"}})]}))],2)]:n("div",{staticClass:"vac-svg-button",on:{click:function(t){return e.toggleRecorder(!0)}}},[e._t("microphone-icon",(function(){return[n("svg-icon",{staticClass:"vac-icon-microphone",attrs:{name:"microphone"}})]}))],2)],2):e._e(),n("textarea",{ref:"roomTextarea",staticClass:"vac-textarea",class:{"vac-textarea-outline":e.editedMessage._id},style:{"min-height":"20px","padding-left":"12px"},attrs:{placeholder:e.textMessages.TYPE_MESSAGE},on:{input:e.onChangeInput,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.escapeTextarea.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:void t.preventDefault()}],paste:e.onPasteImage}}),n("div",{staticClass:"vac-icon-textarea"},[e.editedMessage._id?n("div",{staticClass:"vac-svg-button",on:{click:e.resetMessage}},[e._t("edit-close-icon",(function(){return[n("svg-icon",{attrs:{name:"close-outline"}})]}))],2):e._e(),e.showEmojis?n("emoji-picker-container",{directives:[{name:"click-outside",rawName:"v-click-outside",value:function(){return e.emojiOpened=!1},expression:"() => (emojiOpened = false)"}],attrs:{"emoji-opened":e.emojiOpened,"position-top":!0},on:{"add-emoji":e.addEmoji,"open-emoji":function(t){e.emojiOpened=t}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):e._e(),e.showFiles?n("div",{staticClass:"vac-svg-button",on:{click:e.launchFilePicker}},[e._t("paperclip-icon",(function(){return[n("svg-icon",{attrs:{name:"paperclip"}})]}))],2):e._e(),e.textareaActionEnabled?n("div",{staticClass:"vac-svg-button",on:{click:e.textareaActionHandler}},[e._t("custom-action-icon",(function(){return[n("svg-icon",{attrs:{name:"deleted"}})]}))],2):e._e(),e.showFiles?n("input",{ref:"file",staticStyle:{display:"none"},attrs:{type:"file",multiple:"",accept:e.acceptedFiles},on:{change:function(t){return e.onFileChange(t.target.files)}}}):e._e(),e.showSendIcon?n("div",{staticClass:"vac-svg-button",class:{"vac-send-disabled":e.isMessageEmpty},on:{click:e.sendMessage}},[e._t("send-icon",(function(){return[n("svg-icon",{attrs:{name:"send",param:e.isMessageEmpty?"disabled":""}})]}))],2):e._e()],1)])],1)],2)},Oe=[];n("277d");function Le(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 Be(e){if(Array.isArray(e))return Le(e)}n("e01a"),n("d3b7"),n("d28b"),n("e260"),n("3ca3"),n("ddb0"),n("a630");function Ie(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function je(e,t){if(e){if("string"===typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(e,t):void 0}}function Ce(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Pe(e){return Be(e)||Ie(e)||je(e)||Ce()}n("e6cf");function Ne(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,a)}function He(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){Ne(o,r,a,i,s,"next",e)}function s(e){Ne(o,r,a,i,s,"throw",e)}i(void 0)}))}}n("96cf"),n("498a"),n("accc"),n("0d03"),n("2b3d"),n("9861"),n("a434");var Fe=n("e166"),De=n.n(Fe),Ue=(n("874e"),n("da58")),Ve=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-emoji-wrapper"},[n("div",{staticClass:"vac-svg-button",class:{"vac-emoji-reaction":e.emojiReaction},on:{click:e.openEmoji}},[e._t("emoji-picker-icon",(function(){return[n("svg-icon",{attrs:{name:"emoji",param:e.emojiReaction?"reaction":""}})]}))],2),e.emojiOpened?[n("transition",{attrs:{name:"vac-slide-up",appear:""}},[n("div",{staticClass:"vac-emoji-picker",class:{"vac-picker-reaction":e.emojiReaction},style:{height:e.emojiPickerHeight+"px",top:e.positionTop?e.emojiPickerHeight:e.emojiPickerTop+"px",right:e.emojiPickerRight,display:e.emojiPickerTop||!e.emojiReaction?"initial":"none"}},[e.emojiOpened?n("emoji-picker",{ref:"emojiPicker"}):e._e()],1)])]:e._e()],2)},qe=[],$e={name:"EmojiPickerContainer",components:{SvgIcon:Y},props:{emojiOpened:{type:Boolean,default:!1},emojiReaction:{type:Boolean,default:!1},roomFooterRef:{type:HTMLDivElement,default:null},positionTop:{type:Boolean,default:!1},positionRight:{type:Boolean,default:!1}},emits:["add-emoji","open-emoji"],data:function(){return{emojiPickerHeight:320,emojiPickerTop:0,emojiPickerRight:""}},watch:{emojiOpened:function(e){var t=this;e&&setTimeout((function(){t.addCustomStyling(),document.querySelector("emoji-picker").addEventListener("emoji-click",(function(e){var n=e.detail;t.$emit("add-emoji",{unicode:n.unicode})}))}),0)}},methods:{addCustomStyling:function(){var e=".picker {\n\t\t\t\tborder: none;\n\t\t\t}",t=".nav {\n\t\t\t\toverflow-x: auto;\n\t\t\t}",n=".search-wrapper {\n\t\t\t\tpadding-right: 2px;\n\t\t\t\tpadding-left: 2px;\n\t\t\t}",r="input.search {\n\t\t\t\theight: 32px;\n\t\t\t\tfont-size: 14px;\n\t\t\t\tborder-radius: 10rem;\n\t\t\t\tborder: var(--chat-border-style);\n\t\t\t\tpadding: 5px 10px;\n\t\t\t\toutline: none;\n\t\t\t\tbackground: var(--chat-bg-color-input);\n\t\t\t\tcolor: var(--chat-color);\n\t\t\t}",a=document.createElement("style");a.textContent=e+t+n+r,this.$refs.emojiPicker.shadowRoot.appendChild(a)},openEmoji:function(e){this.$emit("open-emoji",!this.emojiOpened),this.setEmojiPickerPosition(e.clientY,e.view.innerWidth,e.view.innerHeight)},setEmojiPickerPosition:function(e,t,n){var r=this;setTimeout((function(){var a=t<500||n<700;if(r.roomFooterRef)if(a)r.emojiPickerRight=t/2-150+"px",r.emojiPickerTop=100,r.emojiPickerHeight=n-200;else{var o=r.roomFooterRef.getBoundingClientRect().top,i=o-e>r.emojiPickerHeight-50;r.emojiPickerTop=i?e+10:e-r.emojiPickerHeight-10,r.emojiPickerRight=r.positionTop?"-50px":r.positionRight?"60px":""}else a&&(r.emojiPickerRight="-50px")}))}}},ze=$e,Ye=S(ze,Ve,qe,!1,null,null,null),Xe=Ye.exports,Ge=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-room-header vac-app-border-b"},[e._t("room-header",(function(){return[n("div",{staticClass:"vac-room-wrapper"},[e.singleRoom?e._e():n("div",{staticClass:"vac-svg-button vac-toggle-button",class:{"vac-rotate-icon":!e.showRoomsList&&!e.isMobile},on:{click:function(t){return e.$emit("toggle-rooms-list")}}},[e._t("toggle-icon",(function(){return[n("svg-icon",{attrs:{name:"toggle"}})]}))],2),n("div",{staticClass:"vac-info-wrapper",class:{"vac-item-clickable":e.roomInfoEnabled},on:{click:function(t){return e.$emit("room-info")}}},[e._t("room-header-avatar",(function(){return[e.room.avatar?n("div",{staticClass:"vac-avatar",style:{"background-image":"url('"+e.room.avatar+"')"}}):e._e()]}),null,{room:e.room}),e._t("room-header-info",(function(){return[n("div",{staticClass:"vac-text-ellipsis"},[n("div",{staticClass:"vac-room-name vac-text-ellipsis"},[e._v(" "+e._s(e.room.roomName)+" ")]),e.typingUsers?n("div",{staticClass:"vac-room-info vac-text-ellipsis"},[e._v(" "+e._s(e.typingUsers)+" ")]):n("div",{staticClass:"vac-room-info vac-text-ellipsis"},[e._v(" "+e._s(e.userStatus)+" ")])])]}),null,{room:e.room,typingUsers:e.typingUsers,userStatus:e.userStatus})],2),e.room.roomId?e._t("room-options",(function(){return[e.menuActions.length?n("div",{staticClass:"vac-svg-button vac-room-options",on:{click:function(t){e.menuOpened=!e.menuOpened}}},[e._t("menu-icon",(function(){return[n("svg-icon",{attrs:{name:"menu"}})]}))],2):e._e(),e.menuActions.length?n("transition",{attrs:{name:"vac-slide-left"}},[e.menuOpened?n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeMenu,expression:"closeMenu"}],staticClass:"vac-menu-options"},[n("div",{staticClass:"vac-menu-list"},e._l(e.menuActions,(function(t){return n("div",{key:t.name},[n("div",{staticClass:"vac-menu-item",on:{click:function(n){return e.menuActionHandler(t)}}},[e._v(" "+e._s(t.title)+" ")])])})),0)]):e._e()]):e._e()]})):e._e()],2)]}),null,{room:e.room,typingUsers:e.typingUsers,userStatus:e.userStatus})],2)},Ke=[],We={name:"RoomHeader",components:{SvgIcon:Y},directives:{clickOutside:ee.a.directive},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},singleRoom:{type:Boolean,required:!0},showRoomsList:{type:Boolean,required:!0},isMobile:{type:Boolean,required:!0},roomInfoEnabled:{type:Boolean,required:!0},menuActions:{type:Array,required:!0},room:{type:Object,required:!0}},emits:["toggle-rooms-list","room-info","menu-action-handler"],data:function(){return{menuOpened:!1}},computed:{typingUsers:function(){return ge(this.room,this.currentUserId,this.textMessages)},userStatus:function(){var e=this;if(this.room.users&&2===this.room.users.length){var t=this.room.users.find((function(t){return t._id!==e.currentUserId}));if(t.status){var n="";return"online"===t.status.state?n=this.textMessages.IS_ONLINE:t.status.lastChanged&&(n=this.textMessages.LAST_SEEN+t.status.lastChanged),n}}}},methods:{menuActionHandler:function(e){this.closeMenu(),this.$emit("menu-action-handler",e)},closeMenu:function(){this.menuOpened=!1}}},Ze=We,Qe=S(Ze,Ge,Ke,!1,null,null,null),Je=Qe.exports,et=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-slide-up"}},[e.files.length?n("div",{staticClass:"vac-room-files-container",style:{bottom:e.$parent.$refs.roomFooter.clientHeight+"px"}},[n("div",{staticClass:"vac-files-box"},e._l(e.files,(function(t,r){return n("div",{key:r},[n("room-file",{attrs:{file:t,index:r},on:{"remove-file":function(t){return e.$emit("remove-file",t)}}})],1)})),0),n("div",{staticClass:"vac-icon-close"},[n("div",{staticClass:"vac-svg-button",on:{click:function(t){return e.$emit("reset-message")}}},[e._t("reply-close-icon",(function(){return[n("svg-icon",{attrs:{name:"close-outline"}})]}))],2)])]):e._e()])},tt=[],nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-room-file-container"},[n("div",{staticClass:"vac-svg-button vac-icon-remove",on:{click:function(t){return e.$emit("remove-file",e.index)}}},[e._t("image-close-icon",(function(){return[n("svg-icon",{attrs:{name:"close",param:"image"}})]}))],2),e.isImage?n("div",{staticClass:"vac-message-image",style:{"background-image":"url('"+(e.file.localUrl||e.file.url)+"')"}}):e.isVideo?n("video",{attrs:{controls:""}},[n("source",{attrs:{src:e.file.localUrl||e.file.url}})]):n("div",{staticClass:"vac-file-container"},[n("div",[e._t("file-icon",(function(){return[n("svg-icon",{attrs:{name:"file"}})]}))],2),n("div",{staticClass:"vac-text-ellipsis"},[e._v(" "+e._s(e.file.name)+" ")]),e.file.extension?n("div",{staticClass:"vac-text-ellipsis vac-text-extension"},[e._v(" "+e._s(e.file.extension)+" ")]):e._e()])])},rt=[],at=n("bd43"),ot=at.isImageFile,it=at.isVideoFile,st={name:"RoomFiles",components:{SvgIcon:Y},props:{file:{type:Object,required:!0},index:{type:Number,required:!0}},emits:["remove-file"],computed:{isImage:function(){return ot(this.file)},isVideo:function(){return it(this.file)}}},ct=st,lt=S(ct,nt,rt,!1,null,null,null),ut=lt.exports,ft={name:"RoomFiles",components:{SvgIcon:Y,RoomFile:ut},props:{files:{type:Array,required:!0}},emits:["remove-file","reset-message"]},dt=ft,pt=S(dt,et,tt,!1,null,null,null),ht=pt.exports,mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-slide-up"}},[e.messageReply?n("div",{staticClass:"vac-reply-container",style:{bottom:e.$parent.$refs.roomFooter.clientHeight+"px"}},[n("div",{staticClass:"vac-reply-box"},[n("div",{staticClass:"vac-reply-info"},[n("div",{staticClass:"vac-reply-username"},[e._v(" "+e._s(e.messageReply.username)+" ")]),n("div",{staticClass:"vac-reply-content"},[n("format-message",{attrs:{content:e.messageReply.content,users:e.room.users,"text-formatting":e.textFormatting,"link-options":e.linkOptions,reply:!0},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)]),e.isImage?n("img",{staticClass:"vac-image-reply",attrs:{src:e.firstFile.url}}):e.isVideo?n("video",{staticClass:"vac-image-reply",attrs:{controls:""}},[n("source",{attrs:{src:e.firstFile.url}})]):e.isAudio?n("audio-player",{staticClass:"vac-audio-reply",attrs:{src:e.firstFile.url},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):e.isOtherFile?n("div",{staticClass:"vac-image-reply vac-file-container"},[n("div",[e._t("file-icon",(function(){return[n("svg-icon",{attrs:{name:"file"}})]}))],2),n("div",{staticClass:"vac-text-ellipsis"},[e._v(" "+e._s(e.firstFile.name)+" ")]),e.firstFile.extension?n("div",{staticClass:"vac-text-ellipsis vac-text-extension"},[e._v(" "+e._s(e.firstFile.extension)+" ")]):e._e()]):e._e()],1),n("div",{staticClass:"vac-icon-reply"},[n("div",{staticClass:"vac-svg-button",on:{click:function(t){return e.$emit("reset-message")}}},[e._t("reply-close-icon",(function(){return[n("svg-icon",{attrs:{name:"close-outline"}})]}))],2)])]):e._e()])},gt=[],vt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"vac-audio-player"},[n("div",{staticClass:"vac-svg-button",on:{click:e.playback}},[e.isPlaying?e._t("audio-pause-icon",(function(){return[n("svg-icon",{attrs:{name:"audio-pause"}})]})):e._t("audio-play-icon",(function(){return[n("svg-icon",{attrs:{name:"audio-play"}})]}))],2),n("audio-control",{attrs:{percentage:e.progress},on:{"change-linehead":e.onUpdateProgress,"hover-audio-progress":function(t){return e.$emit("hover-audio-progress",t)}}}),n("audio",{attrs:{id:e.playerUniqId,src:e.audioSource}})],1)])},_t=[],bt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"progress",staticClass:"vac-player-bar",on:{mousedown:e.onMouseDown,mouseover:function(t){return e.$emit("hover-audio-progress",!0)},mouseout:function(t){return e.$emit("hover-audio-progress",!1)}}},[n("div",{staticClass:"vac-player-progress"},[n("div",{staticClass:"vac-line-container"},[n("div",{staticClass:"vac-line-progress",style:{width:e.percentage+"%"}}),n("div",{staticClass:"vac-line-dot",class:{"vac-line-dot__active":e.isMouseDown},style:{left:e.percentage+"%"}})])])])},yt=[],xt={props:{percentage:{type:Number,default:0}},emits:["hover-audio-progress","change-linehead"],data:function(){return{isMouseDown:!1}},methods:{onMouseDown:function(e){this.isMouseDown=!0;var t=this.calculateLineHeadPosition(e,this.$refs["progress"]);this.$emit("change-linehead",t),document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)},onMouseUp:function(e){this.isMouseDown=!1,document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mousemove",this.onMouseMove);var t=this.calculateLineHeadPosition(e,this.$refs["progress"]);this.$emit("change-linehead",t)},onMouseMove:function(e){var t=this.calculateLineHeadPosition(e,this.$refs["progress"]);this.$emit("change-linehead",t)},calculateLineHeadPosition:function(e,t){var n=t.getBoundingClientRect().width,r=t.getBoundingClientRect().left,a=(e.clientX-r)/n;return a=a<0?0:a,a=a>1?1:a,a}}},wt=xt,kt=S(wt,bt,yt,!1,null,null,null),St=kt.exports,At={name:"AudioPlayer",components:{SvgIcon:Y,AudioControl:St},props:{src:{type:String,default:null}},emits:["hover-audio-progress","update-progress-time"],data:function(){return{isPlaying:!1,duration:this.convertTimeMMSS(0),playedTime:this.convertTimeMMSS(0),progress:0}},computed:{playerUniqId:function(){return"audio-player".concat(this._uid)},audioSource:function(){return this.src?this.src:(this.resetProgress(),null)}},mounted:function(){var e=this;this.player=document.getElementById(this.playerUniqId),this.player.addEventListener("ended",(function(){e.isPlaying=!1})),this.player.addEventListener("loadeddata",(function(){e.resetProgress(),e.duration=e.convertTimeMMSS(e.player.duration),e.updateProgressTime()})),this.player.addEventListener("timeupdate",this.onTimeUpdate)},methods:{convertTimeMMSS:function(e){return new Date(1e3*e).toISOString().substr(14,5)},playback:function(){var e=this;this.audioSource&&(this.isPlaying?this.player.pause():setTimeout((function(){return e.player.play()})),this.isPlaying=!this.isPlaying)},resetProgress:function(){this.isPlaying&&this.player.pause(),this.duration=this.convertTimeMMSS(0),this.playedTime=this.convertTimeMMSS(0),this.progress=0,this.isPlaying=!1,this.updateProgressTime()},onTimeUpdate:function(){this.playedTime=this.convertTimeMMSS(this.player.currentTime),this.progress=this.player.currentTime/this.player.duration*100,this.updateProgressTime()},onUpdateProgress:function(e){e&&(this.player.currentTime=e*this.player.duration)},updateProgressTime:function(){this.$emit("update-progress-time",this.progress>1?this.playedTime:this.duration)}}},Mt=At,Rt=S(Mt,vt,_t,!1,null,null,null),Et=Rt.exports,Tt=n("bd43"),Ot=Tt.isAudioFile,Lt=Tt.isImageFile,Bt=Tt.isVideoFile,It={name:"RoomMessageReply",components:{SvgIcon:Y,FormatMessage:me,AudioPlayer:Et},props:{room:{type:Object,required:!0},messageReply:{type:Object,default:null},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0}},emits:["reset-message"],computed:{firstFile:function(){return this.messageReply.files?this.messageReply.files[0]:{}},isImage:function(){return Lt(this.firstFile)},isVideo:function(){return Bt(this.firstFile)},isAudio:function(){return Ot(this.firstFile)},isOtherFile:function(){return this.messageReply.files&&!this.isAudio&&!this.isVideo&&!this.isImage}}},jt=It,Ct=S(jt,mt,gt,!1,null,null,null),Pt=Ct.exports,Nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-slide-up"}},[e.filteredUsersTag.length?n("div",{staticClass:"vac-tags-container",style:{bottom:e.$parent.$refs.roomFooter.clientHeight+"px"}},e._l(e.filteredUsersTag,(function(t){return n("div",{key:t._id,staticClass:"vac-tags-box",on:{click:function(n){return e.$emit("select-user-tag",t)}}},[n("div",{staticClass:"vac-tags-info"},[t.avatar?n("div",{staticClass:"vac-avatar vac-tags-avatar",style:{"background-image":"url('"+t.avatar+"')"}}):e._e(),n("div",{staticClass:"vac-tags-username"},[e._v(" "+e._s(t.username)+" ")])])])})),0):e._e()])},Ht=[],Ft={name:"RoomUsersTag",props:{filteredUsersTag:{type:Array,required:!0}},emits:["select-user-tag"]},Dt=Ft,Ut=S(Dt,Nt,Ht,!1,null,null,null),Vt=Ut.exports,qt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"vac-slide-up"}},[e.filteredEmojis.length?n("div",{staticClass:"vac-emojis-container",style:{bottom:e.$parent.$refs.roomFooter.clientHeight+"px"}},e._l(e.filteredEmojis,(function(t){return n("div",{key:t,staticClass:"vac-emoji-element",on:{click:function(n){return e.$emit("select-emoji",t)}}},[e._v(" "+e._s(t)+" ")])})),0):e._e()])},$t=[],zt={name:"RoomEmojis",props:{filteredEmojis:{type:Array,required:!0}},emits:["select-emoji"]},Yt=zt,Xt=S(Yt,qt,$t,!1,null,null,null),Gt=Xt.exports,Kt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:e.message._id,staticClass:"vac-message-wrapper",attrs:{id:e.message._id}},[e.showDate?n("div",{staticClass:"vac-card-info vac-card-date"},[e._v(" "+e._s(e.message.date)+" ")]):e._e(),e.newMessage._id===e.message._id?n("div",{staticClass:"vac-line-new"},[e._v(" "+e._s(e.textMessages.NEW_MESSAGES)+" ")]):e._e(),e.message.system?n("div",{staticClass:"vac-card-info vac-card-system"},[n("format-message",{attrs:{content:e.message.content,users:e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"open-user-tag":e.openUserTag},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1):n("div",{staticClass:"vac-message-box",class:{"vac-offset-current":e.message.senderId===e.currentUserId}},[e._t("message",(function(){return[e.message.avatar&&e.message.senderId!==e.currentUserId?n("div",{staticClass:"vac-avatar",style:{"background-image":"url('"+e.message.avatar+"')"}}):e._e(),n("div",{staticClass:"vac-message-container",class:{"vac-message-container-offset":e.messageOffset}},[n("div",{staticClass:"vac-message-card",class:{"vac-message-highlight":e.isMessageHover,"vac-message-current":e.message.senderId===e.currentUserId,"vac-message-deleted":e.message.deleted},on:{mouseover:e.onHoverMessage,mouseleave:e.onLeaveMessage}},[e.roomUsers.length>2&&e.message.senderId!==e.currentUserId?n("div",{staticClass:"vac-text-username",class:{"vac-username-reply":!e.message.deleted&&e.message.replyMessage}},[n("span",[e._v(e._s(e.message.username))])]):e._e(),!e.message.deleted&&e.message.replyMessage?n("message-reply",{attrs:{message:e.message,"room-users":e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):e._e(),e.message.deleted?n("div",[e._t("deleted-icon",(function(){return[n("svg-icon",{staticClass:"vac-icon-deleted",attrs:{name:"deleted"}})]})),n("span",[e._v(e._s(e.textMessages.MESSAGE_DELETED))])],2):e.message.files&&e.message.files.length?!e.isAudio||e.message.files.length>1?n("message-files",{attrs:{"current-user-id":e.currentUserId,message:e.message,"room-users":e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"open-file":e.openFile},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):[n("audio-player",{attrs:{src:e.message.files[0].url},on:{"update-progress-time":function(t){e.progressTime=t},"hover-audio-progress":function(t){e.hoverAudioProgress=t}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),e.message.deleted?e._e():n("div",{staticClass:"vac-progress-time"},[e._v(" "+e._s(e.progressTime)+" ")])]:n("format-message",{attrs:{content:e.message.content,users:e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"open-user-tag":e.openUserTag},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}),n("div",{staticClass:"vac-text-timestamp"},[e.message.edited&&!e.message.deleted?n("div",{staticClass:"vac-icon-edited"},[e._t("pencil-icon",(function(){return[n("svg-icon",{attrs:{name:"pencil"}})]}))],2):e._e(),n("span",[e._v(e._s(e.message.timestamp))]),e.isCheckmarkVisible?n("span",[e._t("checkmark-icon",(function(){return[n("svg-icon",{staticClass:"vac-icon-check",attrs:{name:e.message.distributed?"double-checkmark":"checkmark",param:e.message.seen?"seen":""}})]}),null,{message:e.message})],2):e._e()]),n("message-actions",{attrs:{"current-user-id":e.currentUserId,message:e.message,"message-actions":e.messageActions,"room-footer-ref":e.roomFooterRef,"show-reaction-emojis":e.showReactionEmojis,"hide-options":e.hideOptions,"message-hover":e.messageHover,"hover-message-id":e.hoverMessageId,"hover-audio-progress":e.hoverAudioProgress},on:{"hide-options":function(t){return e.$emit("hide-options",!1)},"update-message-hover":function(t){e.messageHover=t},"update-options-opened":function(t){e.optionsOpened=t},"update-emoji-opened":function(t){e.emojiOpened=t},"message-action-handler":e.messageActionHandler,"send-message-reaction":e.sendMessageReaction},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],2),n("message-reactions",{attrs:{"current-user-id":e.currentUserId,message:e.message},on:{"send-message-reaction":e.sendMessageReaction}})],1)]}),null,{message:e.message})],2)])},Wt=[],Zt=(n("13d5"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-reply-message"},[n("div",{staticClass:"vac-reply-username"},[e._v(" "+e._s(e.replyUsername)+" ")]),e.isImage?n("div",{staticClass:"vac-image-reply-container"},[n("div",{staticClass:"vac-message-image vac-message-image-reply",style:{"background-image":"url('"+e.firstFile.url+"')"}})]):e.isVideo?n("div",{staticClass:"vac-video-reply-container"},[n("video",{attrs:{width:"100%",height:"100%",controls:""}},[n("source",{attrs:{src:e.firstFile.url}})])]):e.isAudio?n("audio-player",{attrs:{src:e.firstFile.url},on:{"update-progress-time":function(t){e.progressTime=t},"hover-audio-progress":function(t){e.hoverAudioProgress=t}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)}):e._e(),n("div",{staticClass:"vac-reply-content"},[n("format-message",{attrs:{content:e.message.replyMessage.content,users:e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions,reply:!0},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)],1)}),Qt=[],Jt=n("bd43"),en=Jt.isAudioFile,tn=Jt.isImageFile,nn=Jt.isVideoFile,rn={name:"MessageReply",components:{AudioPlayer:Et,FormatMessage:me},props:{message:{type:Object,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},roomUsers:{type:Array,required:!0}},computed:{replyUsername:function(){var e=this.message.replyMessage.senderId,t=this.roomUsers.find((function(t){return t._id===e}));return t?t.username:""},firstFile:function(){return this.message.replyMessage.files?this.message.replyMessage.files[0]:{}},isAudio:function(){return en(this.firstFile)},isImage:function(){return tn(this.firstFile)},isVideo:function(){return nn(this.firstFile)}}},an=rn,on=S(an,Zt,Qt,!1,null,null,null),sn=on.exports,cn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-message-files-container"},[e._l(e.imageVideoFiles,(function(t,r){return n("div",{key:r+"iv"},[n("message-file",{attrs:{file:t,"current-user-id":e.currentUserId,message:e.message,index:r},on:{"open-file":function(t){return e.$emit("open-file",t)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],1)})),e._l(e.otherFiles,(function(t,r){return n("div",{key:r+"a"},[n("div",{staticClass:"vac-file-container",on:{click:function(n){return n.stopPropagation(),e.openFile(t,"download")}}},[n("div",{staticClass:"vac-svg-button"},[e._t("document-icon",(function(){return[n("svg-icon",{attrs:{name:"document"}})]}))],2),n("div",{staticClass:"vac-text-ellipsis"},[e._v(" "+e._s(t.name)+" ")]),t.extension?n("div",{staticClass:"vac-text-ellipsis vac-text-extension"},[e._v(" "+e._s(t.extension)+" ")]):e._e()])])})),n("format-message",{attrs:{content:e.message.content,users:e.roomUsers,"text-formatting":e.textFormatting,"link-options":e.linkOptions},on:{"open-user-tag":function(t){return e.$emit("open-user-tag")}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)})],2)},ln=[],un=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-message-file-container"},[e.isImage?n("div",{ref:"imageRef"+e.index,on:{mouseover:function(t){e.imageHover=!0},mouseleave:function(t){e.imageHover=!1}}},[n("loader",{style:{top:e.imageResponsive.loaderTop+"px"},attrs:{show:e.isImageLoading}}),n("div",{staticClass:"vac-message-image",class:{"vac-image-loading":e.isImageLoading&&e.message.senderId===e.currentUserId},style:{"background-image":"url('"+(e.isImageLoading&&e.file.preview||e.file.url)+"')","max-height":e.imageResponsive.maxHeight+"px"}},[n("transition",{attrs:{name:"vac-fade-image"}},[e.imageHover&&!e.isImageLoading?n("div",{staticClass:"vac-image-buttons"},[n("div",{staticClass:"vac-svg-button vac-button-view",on:{click:function(t){return t.stopPropagation(),e.openFile("preview")}}},[e._t("eye-icon",(function(){return[n("svg-icon",{attrs:{name:"eye"}})]}))],2),n("div",{staticClass:"vac-svg-button vac-button-download",on:{click:function(t){return t.stopPropagation(),e.openFile("download")}}},[e._t("document-icon",(function(){return[n("svg-icon",{attrs:{name:"document"}})]}))],2)]):e._e()])],1)],1):e.isVideo?n("div",{staticClass:"vac-video-container"},[n("video",{attrs:{width:"100%",height:"100%",controls:""}},[n("source",{attrs:{src:e.file.url}})])]):e._e()])},fn=[],dn=n("bd43"),pn=dn.isImageFile,hn=dn.isVideoFile,mn={name:"MessageFile",components:{SvgIcon:Y,Loader:H},props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},file:{type:Object,required:!0},index:{type:Number,required:!0}},emits:["open-file"],data:function(){return{imageResponsive:"",imageLoading:!1,imageHover:!1}},computed:{isImageLoading:function(){return-1!==this.file.url.indexOf("blob:http")||this.imageLoading},isImage:function(){return pn(this.file)},isVideo:function(){return hn(this.file)}},watch:{file:{immediate:!0,handler:function(){this.checkImgLoad()}}},mounted:function(){var e=this.$refs["imageRef"+this.index];e&&(this.imageResponsive={maxHeight:e.clientWidth-18,loaderTop:e.clientHeight/2-9})},methods:{checkImgLoad:function(){var e=this;if(pn(this.file)){this.imageLoading=!0;var t=new Image;t.src=this.file.url,t.addEventListener("load",(function(){return e.imageLoading=!1}))}},openFile:function(e){this.$emit("open-file",{file:this.file,action:e})}}},gn=mn,vn=S(gn,un,fn,!1,null,null,null),_n=vn.exports,bn=n("bd43"),yn=bn.isImageVideoFile,xn={name:"MessageFiles",components:{SvgIcon:Y,FormatMessage:me,MessageFile:_n},props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},roomUsers:{type:Array,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0}},emits:["open-file","open-user-tag"],computed:{imageVideoFiles:function(){return this.message.files.filter((function(e){return yn(e)}))},otherFiles:function(){return this.message.files.filter((function(e){return!yn(e)}))}},methods:{openFile:function(e,t){this.$emit("open-file",{file:e,action:t})}}},wn=xn,kn=S(wn,cn,ln,!1,null,null,null),Sn=kn.exports,An=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vac-message-actions-wrapper"},[n("div",{staticClass:"vac-options-container",style:{display:e.hoverAudioProgress?"none":"initial",width:e.filteredMessageActions.length&&e.showReactionEmojis?"70px":"45px"}},[n("transition-group",{attrs:{name:"vac-slide-left",tag:"span"}},[e.isMessageActions||e.isMessageReactions?n("div",{key:"1",staticClass:"vac-blur-container",class:{"vac-options-me":e.message.senderId===e.currentUserId}}):e._e(),e.isMessageActions?n("div",{key:"2",ref:"actionIcon",staticClass:"vac-svg-button vac-message-options",on:{click:e.openOptions}},[e._t("dropdown-icon",(function(){return[n("svg-icon",{attrs:{name:"dropdown",param:"message"}})]}))],2):e._e(),e.isMessageReactions?n("emoji-picker-container",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeEmoji,expression:"closeEmoji"}],key:"3",staticClass:"vac-message-emojis",style:{right:e.isMessageActions?"30px":"5px"},attrs:{"emoji-opened":e.emojiOpened,"emoji-reaction":!0,"room-footer-ref":e.roomFooterRef,"position-right":e.message.senderId===e.currentUserId},on:{"add-emoji":e.sendMessageReaction,"open-emoji":e.openEmoji},scopedSlots:e._u([{key:"emoji-picker-icon",fn:function(){return[e._t("emoji-picker-reaction-icon")]},proxy:!0}],null,!0)}):e._e()],1)],1),e.filteredMessageActions.length?n("transition",{attrs:{name:e.message.senderId===e.currentUserId?"vac-slide-left":"vac-slide-right"}},[e.optionsOpened?n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeOptions,expression:"closeOptions"}],ref:"menuOptions",staticClass:"vac-menu-options",class:{"vac-menu-left":e.message.senderId!==e.currentUserId},style:{top:e.menuOptionsTop+"px"}},[n("div",{staticClass:"vac-menu-list"},e._l(e.filteredMessageActions,(function(t){return n("div",{key:t.name},[n("div",{staticClass:"vac-menu-item",on:{click:function(n){return e.messageActionHandler(t)}}},[e._v(" "+e._s(t.title)+" ")])])})),0)]):e._e()]):e._e()],1)},Mn=[],Rn={name:"MessageActions",components:{SvgIcon:Y,EmojiPickerContainer:Xe},directives:{clickOutside:ee.a.directive},props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0},messageActions:{type:Array,required:!0},roomFooterRef:{type:HTMLDivElement,default:null},showReactionEmojis:{type:Boolean,required:!0},hideOptions:{type:Boolean,required:!0},messageHover:{type:Boolean,required:!0},hoverMessageId:{type:[String,Number],default:null},hoverAudioProgress:{type:Boolean,required:!0}},emits:["update-emoji-opened","update-options-opened","update-message-hover","hide-options","message-action-handler","send-message-reaction"],data:function(){return{menuOptionsTop:0,optionsOpened:!1,optionsClosing:!1,emojiOpened:!1}},computed:{isMessageActions:function(){return this.filteredMessageActions.length&&this.messageHover&&!this.message.deleted&&!this.message.disableActions&&!this.hoverAudioProgress},isMessageReactions:function(){return this.showReactionEmojis&&this.messageHover&&!this.message.deleted&&!this.message.disableReactions&&!this.hoverAudioProgress},filteredMessageActions:function(){return this.message.senderId===this.currentUserId?this.messageActions:this.messageActions.filter((function(e){return!e.onlyMe}))}},watch:{emojiOpened:function(e){this.$emit("update-emoji-opened",e),e&&(this.optionsOpened=!1)},hideOptions:function(e){e&&(this.closeEmoji(),this.closeOptions())},optionsOpened:function(e){this.$emit("update-options-opened",e)}},methods:{openOptions:function(){var e=this;this.optionsClosing||(this.optionsOpened=!this.optionsOpened,this.optionsOpened&&(this.$emit("hide-options",!1),setTimeout((function(){if(e.roomFooterRef&&e.$refs.menuOptions&&e.$refs.actionIcon){var t=e.$refs.menuOptions.getBoundingClientRect().height,n=e.$refs.actionIcon.getBoundingClientRect().top,r=e.roomFooterRef.getBoundingClientRect().top,a=r-n>t+50;e.menuOptionsTop=a?30:-t}}))))},closeOptions:function(){var e=this;this.optionsOpened=!1,this.optionsClosing=!0,this.updateMessageHover(),setTimeout((function(){return e.optionsClosing=!1}),100)},openEmoji:function(){this.emojiOpened=!this.emojiOpened,this.$emit("hide-options",!1)},closeEmoji:function(){this.emojiOpened=!1,this.updateMessageHover()},updateMessageHover:function(){this.hoverMessageId!==this.message._id&&this.$emit("update-message-hover",!1)},messageActionHandler:function(e){this.closeOptions(),this.$emit("message-action-handler",e)},sendMessageReaction:function(e,t){this.$emit("send-message-reaction",{emoji:e,reaction:t}),this.closeEmoji()}}},En=Rn,Tn=S(En,An,Mn,!1,null,null,null),On=Tn.exports,Ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.message.deleted?e._e():n("transition-group",{attrs:{name:"vac-slide-left",tag:"span"}},e._l(e.message.reactions,(function(t,r){return n("button",{directives:[{name:"show",rawName:"v-show",value:t.length,expression:"reaction.length"}],key:r+0,staticClass:"vac-button-reaction",class:{"vac-reaction-me":-1!==t.indexOf(e.currentUserId)},style:{float:e.message.senderId===e.currentUserId?"right":"left"},on:{click:function(n){return e.sendMessageReaction({unicode:r},t)}}},[e._v(" "+e._s(r)),n("span",[e._v(e._s(t.length))])])})),0)},Bn=[],In={name:"MessageReactions",props:{currentUserId:{type:[String,Number],required:!0},message:{type:Object,required:!0}},emits:["send-message-reaction"],methods:{sendMessageReaction:function(e,t){this.$emit("send-message-reaction",{emoji:e,reaction:t})}}},jn=In,Cn=S(jn,Ln,Bn,!1,null,null,null),Pn=Cn.exports,Nn=n("4c1d"),Hn=Nn.messagesValidation,Fn=n("bd43"),Dn=Fn.isAudioFile,Un={name:"Message",components:{SvgIcon:Y,FormatMessage:me,AudioPlayer:Et,MessageReply:sn,MessageFiles:Sn,MessageActions:On,MessageReactions:Pn},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},index:{type:Number,required:!0},message:{type:Object,required:!0},messages:{type:Array,required:!0},editedMessage:{type:Object,required:!0},roomUsers:{type:Array,default:function(){return[]}},messageActions:{type:Array,required:!0},roomFooterRef:{type:HTMLDivElement,default:null},newMessages:{type:Array,default:function(){return[]}},showReactionEmojis:{type:Boolean,required:!0},showNewMessagesDivider:{type:Boolean,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},hideOptions:{type:Boolean,required:!0}},emits:["hide-options","message-added","open-file","open-user-tag","message-action-handler","send-message-reaction"],data:function(){return{hoverMessageId:null,messageHover:!1,optionsOpened:!1,emojiOpened:!1,newMessage:{},progressTime:"- : -",hoverAudioProgress:!1}},computed:{showDate:function(){return this.index>0&&this.message.date!==this.messages[this.index-1].date},messageOffset:function(){return this.index>0&&this.message.senderId!==this.messages[this.index-1].senderId},isMessageHover:function(){return this.editedMessage._id===this.message._id||this.hoverMessageId===this.message._id},isAudio:function(){var e;return null===(e=this.message.files)||void 0===e?void 0:e.some((function(e){return Dn(e)}))},isCheckmarkVisible:function(){return this.message.senderId===this.currentUserId&&!this.message.deleted&&(this.message.saved||this.message.distributed||this.message.seen)}},watch:{newMessages:{immediate:!0,deep:!0,handler:function(e){if(!e.length||!this.showNewMessagesDivider)return this.newMessage={};this.newMessage=e.reduce((function(e,t){return t.index<e.index?t:e}))}}},mounted:function(){Hn(this.message),this.$emit("message-added",{message:this.message,index:this.index,ref:this.$refs[this.message._id]})},methods:{onHoverMessage:function(){this.messageHover=!0,this.canEditMessage()&&(this.hoverMessageId=this.message._id)},canEditMessage:function(){return!this.message.deleted},onLeaveMessage:function(){this.optionsOpened||this.emojiOpened||(this.messageHover=!1),this.hoverMessageId=null},openFile:function(e){this.$emit("open-file",{message:this.message,file:e})},openUserTag:function(e){this.$emit("open-user-tag",{user:e})},messageActionHandler:function(e){var t=this;this.messageHover=!1,this.hoverMessageId=null,setTimeout((function(){t.$emit("message-action-handler",{action:e,message:t.message})}),300)},sendMessageReaction:function(e){var t=e.emoji,n=e.reaction;this.$emit("send-message-reaction",{messageId:this.message._id,reaction:t,remove:n&&-1!==n.indexOf(this.currentUserId)}),this.messageHover=!1}}},Vn=Un,qn=S(Vn,Kt,Wt,!1,null,null,null),$n=qn.exports;function zn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yn(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 Xn(e,t,n){return t&&Yn(e.prototype,t),n&&Yn(e,n),e}var Gn;n("c0b6"),n("acd8"),n("b680"),n("ace4"),n("fd87"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("72f7"),n("6eba"),n("cfc3"),n("8b09");try{Gn=n("db3f")}catch(_r){Gn={missing:!0}}var Kn=Gn,Wn=Kn.Mp3Encoder,Zn=function(){function e(t){if(zn(this,e),Gn.missing)throw new Error('You must add lamejs in your dependencies to use the audio recorder. Please run "npm install lamejs --save"');this.bitRate=t.bitRate,this.sampleRate=t.sampleRate,this.dataBuffer=[],this.encoder=new Wn(1,this.sampleRate,this.bitRate)}return Xn(e,[{key:"encode",value:function(e){for(var t=1152,n=this._convertBuffer(e),r=n.length,a=0;r>=0;a+=t){var o=n.subarray(a,a+t),i=this.encoder.encodeBuffer(o);this.dataBuffer.push(new Int8Array(i)),r-=t}}},{key:"finish",value:function(){this.dataBuffer.push(this.encoder.flush());var e=new Blob(this.dataBuffer,{type:"audio/mp3"});return this.dataBuffer=[],{id:Date.now(),blob:e,url:URL.createObjectURL(e)}}},{key:"_floatTo16BitPCM",value:function(e,t){for(var n=0;n<e.length;n++){var r=Math.max(-1,Math.min(1,e[n]));t[n]=r<0?32768*r:32767*r}}},{key:"_convertBuffer",value:function(e){var t=new Float32Array(e),n=new Int16Array(e.length);return this._floatTo16BitPCM(t,n),n}}]),e}(),Qn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};zn(this,e),this.beforeRecording=t.beforeRecording,this.pauseRecording=t.pauseRecording,this.afterRecording=t.afterRecording,this.micFailed=t.micFailed,this.encoderOptions={bitRate:128,sampleRate:44100},this.bufferSize=4096,this.records=[],this.isPause=!1,this.isRecording=!1,this.duration=0,this.volume=0,this._duration=0}return Xn(e,[{key:"start",value:function(){var e={video:!1,audio:{channelCount:1,echoCancellation:!1}};this.beforeRecording&&this.beforeRecording("start recording"),navigator.mediaDevices.getUserMedia(e).then(this._micCaptured.bind(this))["catch"](this._micError.bind(this)),this.isPause=!1,this.isRecording=!0,this.lameEncoder||(this.lameEncoder=new Zn(this.encoderOptions))}},{key:"stop",value:function(){this.stream.getTracks().forEach((function(e){return e.stop()})),this.input.disconnect(),this.processor.disconnect(),this.context.close();var e=null;e=this.lameEncoder.finish(),e.duration=this.duration,this.records.push(e),this._duration=0,this.duration=0,this.isPause=!1,this.isRecording=!1,this.afterRecording&&this.afterRecording(e)}},{key:"pause",value:function(){this.stream.getTracks().forEach((function(e){return e.stop()})),this.input.disconnect(),this.processor.disconnect(),this._duration=this.duration,this.isPause=!0,this.pauseRecording&&this.pauseRecording("pause recording")}},{key:"_micCaptured",value:function(e){var t=this;this.context=new(window.AudioContext||window.webkitAudioContext),this.duration=this._duration,this.input=this.context.createMediaStreamSource(e),this.processor=this.context.createScriptProcessor(this.bufferSize,1,1),this.stream=e,this.processor.onaudioprocess=function(e){var n=e.inputBuffer.getChannelData(0),r=0;t.lameEncoder&&t.lameEncoder.encode(n);for(var a=0;a<n.length;++a)r+=n[a]*n[a];t.duration=parseFloat(t._duration)+parseFloat(t.context.currentTime.toFixed(2)),t.volume=Math.sqrt(r/n.length).toFixed(2)},this.input.connect(this.processor),this.processor.connect(this.context.destination)}},{key:"_micError",value:function(e){this.micFailed&&this.micFailed(e)}}]),e}(),Jn=n("1a98"),er=Jn.detectMobile,tr=Jn.iOSDevice,nr=function(e,t){var n;return function(){var r=this,a=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(r,a)}),t)}},rr={name:"Room",components:{InfiniteLoading:De.a,Loader:H,SvgIcon:Y,EmojiPickerContainer:Xe,RoomHeader:Je,RoomFiles:ht,RoomMessageReply:Pt,RoomUsersTag:Vt,RoomEmojis:Gt,Message:$n},directives:{clickOutside:ee.a.directive},props:{currentUserId:{type:[String,Number],required:!0},textMessages:{type:Object,required:!0},singleRoom:{type:Boolean,required:!0},showRoomsList:{type:Boolean,required:!0},isMobile:{type:Boolean,required:!0},rooms:{type:Array,required:!0},roomId:{type:[String,Number],required:!0},loadFirstRoom:{type:Boolean,required:!0},messages:{type:Array,required:!0},roomMessage:{type:String,default:null},messagesLoaded:{type:Boolean,required:!0},menuActions:{type:Array,required:!0},messageActions:{type:Array,required:!0},showSendIcon:{type:Boolean,required:!0},showFiles:{type:Boolean,required:!0},showAudio:{type:Boolean,required:!0},showEmojis:{type:Boolean,required:!0},showReactionEmojis:{type:Boolean,required:!0},showNewMessagesDivider:{type:Boolean,required:!0},showFooter:{type:Boolean,required:!0},acceptedFiles:{type:String,required:!0},textFormatting:{type:Boolean,required:!0},linkOptions:{type:Object,required:!0},loadingRooms:{type:Boolean,required:!0},roomInfoEnabled:{type:Boolean,required:!0},textareaActionEnabled:{type:Boolean,required:!0}},emits:["toggle-rooms-list","room-info","menu-action-handler","edit-message","send-message","delete-message","message-action-handler","fetch-messages","send-message-reaction","typing-message","open-file","open-user-tag","textarea-action-handler"],data:function(){return{message:"",editedMessage:{},messageReply:null,infiniteState:null,loadingMessages:!1,loadingMoreMessages:!1,files:[],fileDialog:!1,emojiOpened:!1,hideOptions:!0,scrollIcon:!1,scrollMessagesCount:0,newMessages:[],keepKeyboardOpen:!1,filteredEmojis:[],filteredUsersTag:[],selectedUsersTag:[],textareaCursorPosition:null,cursorRangePosition:null,emojisDB:new Ue["a"],recorder:this.initRecorder(),isRecording:!1,format:"mp3"}},computed:{room:function(){var e=this;return this.rooms.find((function(t){return t.roomId===e.roomId}))||{}},showNoMessages:function(){return this.room.roomId&&!this.messages.length&&!this.loadingMessages&&!this.loadingRooms},showNoRoom:function(){var e=!this.rooms.length&&!this.loadingRooms||!this.room.roomId&&!this.loadFirstRoom;return e&&(this.loadingMessages=!1),e},showMessagesStarted:function(){return this.messages.length&&this.messagesLoaded},isMessageEmpty:function(){return!this.files.length&&!this.message.trim()},recordedTime:function(){return new Date(1e3*this.recorder.duration).toISOString().substr(14,5)},shadowFooter:function(){return!!this.filteredEmojis.length||!!this.filteredUsersTag.length||!!this.files.length||!!this.messageReply}},watch:{message:function(e){this.$refs.roomTextarea.value=e},loadingMessages:function(e){e?this.infiniteState=null:(this.infiniteState&&this.infiniteState.loaded(),this.focusTextarea(!0))},room:{immediate:!0,handler:function(e,t){!e.roomId||t&&e.roomId===t.roomId||this.onRoomChanged()}},roomMessage:{immediate:!0,handler:function(e){e&&(this.message=this.roomMessage)}},messages:{deep:!0,handler:function(e,t){var n=this;e.forEach((function(e,t){n.showNewMessagesDivider&&!e.seen&&e.senderId!==n.currentUserId&&n.newMessages.push({_id:e._id,index:t})})),(null===t||void 0===t?void 0:t.length)===(null===e||void 0===e?void 0:e.length)-1&&(this.newMessages=[]),this.infiniteState&&this.infiniteState.loaded(),setTimeout((function(){return n.loadingMoreMessages=!1}))}},messagesLoaded:function(e){e&&(this.loadingMessages=!1),this.infiniteState&&this.infiniteState.complete()}},mounted:function(){var e=this;this.newMessages=[];var t=er();this.$refs.roomTextarea.addEventListener("keyup",nr((function(n){"Enter"!==n.key||n.shiftKey||e.fileDialog||(t?(e.message=e.message+"\n",setTimeout((function(){return e.onChangeInput()}))):e.sendMessage()),setTimeout((function(){e.updateFooterList("@"),e.updateFooterList(":")}),60)})),50),this.$refs["roomTextarea"].addEventListener("click",(function(){t&&(e.keepKeyboardOpen=!0),e.updateFooterList("@"),e.updateFooterList(":")})),this.$refs["roomTextarea"].addEventListener("blur",(function(){e.resetFooterList(),t&&setTimeout((function(){return e.keepKeyboardOpen=!1}))}))},beforeDestroy:function(){this.stopRecorder()},methods:{onRoomChanged:function(){var e=this;this.loadingMessages=!0,this.scrollIcon=!1,this.scrollMessagesCount=0,this.resetMessage(!0,!0),this.roomMessage&&(this.message=this.roomMessage,setTimeout((function(){return e.onChangeInput()}))),!this.messages.length&&this.messagesLoaded&&(this.loadingMessages=!1);var t=this.$watch((function(){return e.messages}),(function(n){if(n&&n.length){var r=e.$refs.scrollContainer;r&&(t(),setTimeout((function(){r.scrollTo({top:r.scrollHeight}),e.loadingMessages=!1})))}}))},onMessageAdded:function(e){var t=this,n=(e.message,e.index);e.ref;n===this.messages.length-1&&setTimeout((function(){t.scrollToBottom()}))},onContainerScroll:function(e){if(this.hideOptions=!0,e.target){var t=this.getBottomScroll(e.target);t<60&&(this.scrollMessagesCount=0),this.scrollIcon=t>500||this.scrollMessagesCount}},updateFooterList:function(e){if(this.$refs["roomTextarea"]&&("@"!==e||this.room.users&&!(this.room.users.length<=2))&&this.textareaCursorPosition!==this.$refs["roomTextarea"].selectionStart){this.textareaCursorPosition=this.$refs["roomTextarea"].selectionStart;var t=this.textareaCursorPosition;while(t>0&&this.message.charAt(t-1)!==e&&" "!==this.message.charAt(t-1))t--;var n=this.message.charAt(t-2),r=!n.match(/^[0-9a-zA-Z]+$/);if(this.message.charAt(t-1)!==e||n&&" "!==n&&!r)this.resetFooterList(e);else{var a=this.message.substring(t,this.textareaCursorPosition);":"===e?this.updateEmojis(a):"@"===e&&this.updateShowUsersTag(a)}}},getCharPosition:function(e){var t=this.$refs["roomTextarea"].selectionStart,n=t;while(n>0&&this.message.charAt(n-1)!==e)n--;var r=n;while(this.message.charAt(r)&&this.message.charAt(r).trim())r++;return{position:n,endPosition:r}},updateEmojis:function(e){var t=this;return He(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,t.emojisDB.getEmojiBySearchQuery(e);case 4:r=n.sent,t.filteredEmojis=r.map((function(e){return e.unicode}));case 6:case"end":return n.stop()}}),n)})))()},selectEmoji:function(e){var t=this.getCharPosition(":"),n=t.position,r=t.endPosition;this.message=this.message.substr(0,n-1)+e+this.message.substr(r,this.message.length-1),this.cursorRangePosition=n,this.focusTextarea()},updateShowUsersTag:function(e){var t=this;this.filteredUsersTag=ke(this.room.users,"username",e,!0).filter((function(e){return e._id!==t.currentUserId}))},selectUserTag:function(e){var t=this.getCharPosition("@"),n=t.position,r=t.endPosition,a=this.message.substr(r,r).length?"":" ";this.message=this.message.substr(0,n)+e.username+a+this.message.substr(r,this.message.length-1),this.selectedUsersTag=[].concat(Pe(this.selectedUsersTag),[T({},e)]),this.cursorRangePosition=n+e.username.length+a.length+1,this.focusTextarea()},resetFooterList:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;":"===e?this.filteredEmojis=[]:("@"===e||(this.filteredEmojis=[]),this.filteredUsersTag=[]),this.textareaCursorPosition=null},escapeTextarea:function(){this.filteredEmojis.length?this.filteredEmojis=[]:this.filteredUsersTag.length?this.filteredUsersTag=[]:this.resetMessage()},resetMessage:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n||this.$emit("typing-message",null),this.selectedUsersTag=[],this.resetFooterList(),this.resetTextareaSize(),this.message="",this.editedMessage={},this.messageReply=null,this.files=[],this.emojiOpened=!1,this.preventKeyboardFromClosing(),setTimeout((function(){return e.focusTextarea(t)}))},resetTextareaSize:function(){this.$refs["roomTextarea"]&&(this.$refs["roomTextarea"].style.height="20px")},focusTextarea:function(e){var t=this;er()&&e||this.$refs["roomTextarea"]&&(this.$refs["roomTextarea"].focus(),this.cursorRangePosition&&setTimeout((function(){t.$refs["roomTextarea"].setSelectionRange(t.cursorRangePosition,t.cursorRangePosition),t.cursorRangePosition=null})))},preventKeyboardFromClosing:function(){this.keepKeyboardOpen&&this.$refs["roomTextarea"].focus()},sendMessage:function(){var e=this.message.trim();if(this.files.length||e){this.selectedUsersTag.forEach((function(t){e=e.replace("@".concat(t.username),"<usertag>".concat(t._id,"</usertag>"))}));var t=this.files.length?this.files:null;this.editedMessage._id?(this.editedMessage.content!==e||t)&&this.$emit("edit-message",{messageId:this.editedMessage._id,newContent:e,files:t,replyMessage:this.messageReply,usersTag:this.selectedUsersTag}):this.$emit("send-message",{content:e,files:t,replyMessage:this.messageReply,usersTag:this.selectedUsersTag}),this.resetMessage(!0)}},loadMoreMessages:function(e){var t=this;this.loadingMessages?this.infiniteState=e:setTimeout((function(){if(!t.loadingMoreMessages){if(t.messagesLoaded||!t.room.roomId)return e.complete();t.infiniteState=e,t.$emit("fetch-messages"),t.loadingMoreMessages=!0}}),tr()?500:0)},messageActionHandler:function(e){var t=e.action,n=e.message;switch(t.name){case"replyMessage":return this.replyMessage(n);case"editMessage":return this.editMessage(n);case"deleteMessage":return this.$emit("delete-message",n);default:return this.$emit("message-action-handler",{action:t,message:n})}},sendMessageReaction:function(e){this.$emit("send-message-reaction",e)},replyMessage:function(e){this.editedMessage={},this.messageReply=e,this.focusTextarea()},editMessage:function(e){this.resetMessage(),this.editedMessage=T({},e),this.message=e.content,e.files&&(this.files=Pe(e.files))},getBottomScroll:function(e){var t=e.scrollHeight,n=e.clientHeight,r=e.scrollTop;return t-n-r},scrollToBottom:function(){var e=this;setTimeout((function(){var t=e.$refs.scrollContainer;t.classList.add("vac-scroll-smooth"),t.scrollTo({top:t.scrollHeight,behavior:"smooth"}),setTimeout((function(){return t.classList.remove("vac-scroll-smooth")}))}),50)},onChangeInput:nr((function(e){var t;null!==e&&void 0!==e&&null!==(t=e.target)&&void 0!==t&&t.value&&(this.message=e.target.value),this.keepKeyboardOpen=!0,this.resizeTextarea(),this.$emit("typing-message",this.message)}),100),resizeTextarea:function(){var e=this.$refs["roomTextarea"];if(e){var t=window.getComputedStyle(e,null).getPropertyValue("padding-top").replace("px","");e.style.height=0,e.style.height=e.scrollHeight-2*t+"px"}},addEmoji:function(e){this.message+=e.unicode,this.focusTextarea(!0)},launchFilePicker:function(){this.$refs.file.value="",this.$refs.file.click()},onPasteImage:function(e){var t,n=this,r=null===(t=e.clipboardData)||void 0===t?void 0:t.items;r&&r.forEach((function(e){if(e.type.includes("image")){var t=e.getAsFile();n.onFileChange([t])}}))},onFileChange:function(e){var t=this;return He(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.fileDialog=!0,t.focusTextarea(),e.forEach(function(){var e=He(regeneratorRuntime.mark((function e(n){var r,a,o;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=URL.createObjectURL(n),e.next=3,fetch(r).then((function(e){return e.blob()}));case 3:a=e.sent,o=n.name.lastIndexOf("."),t.files.push({blob:a,name:n.name.substring(0,o),size:n.size,type:n.type,extension:n.name.substring(o+1),localUrl:r});case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),setTimeout((function(){return t.fileDialog=!1}),500);case 4:case"end":return n.stop()}}),n)})))()},removeFile:function(e){this.files.splice(e,1)},initRecorder:function(){return this.isRecording=!1,new Qn({beforeRecording:null,afterRecording:null,pauseRecording:null,micFailed:this.micFailed})},micFailed:function(){this.isRecording=!1,this.recorder=this.initRecorder()},toggleRecorder:function(e){var t=this;if(this.isRecording=e,this.recorder.isRecording)try{this.recorder.stop();var n=this.recorder.records[0];this.files.push({blob:n.blob,name:"audio.".concat(this.format),size:n.blob.size,duration:n.duration,type:n.blob.type,audio:!0,localUrl:URL.createObjectURL(n.blob)}),this.recorder=this.initRecorder(),this.sendMessage()}catch(r){setTimeout((function(){return t.stopRecorder()}),100)}else setTimeout((function(){return t.recorder.start()}),200)},stopRecorder:function(){var e=this;if(this.recorder.isRecording)try{this.recorder.stop(),this.recorder=this.initRecorder()}catch(t){setTimeout((function(){return e.stopRecorder()}),100)}},openFile:function(e){var t=e.message,n=e.file;this.$emit("open-file",{message:t,file:n})},openUserTag:function(e){this.$emit("open-user-tag",e)},textareaActionHandler:function(){this.$emit("textarea-action-handler",this.message)}}},ar=rr,or=S(ar,Te,Oe,!1,null,null,null),ir=or.exports,sr={ROOMS_EMPTY:"No rooms",ROOM_EMPTY:"No room selected",NEW_MESSAGES:"New Messages",MESSAGE_DELETED:"This message was deleted",MESSAGES_EMPTY:"No messages",CONVERSATION_STARTED:"Conversation started on:",TYPE_MESSAGE:"Type message",SEARCH:"Search",IS_ONLINE:"is online",LAST_SEEN:"last seen ",IS_TYPING:"is writing..."},cr=(n("841c"),{light:{general:{color:"#0a0a0a",backgroundInput:"#fff",colorPlaceholder:"#9ca6af",colorCaret:"#1976d2",colorSpinner:"#333",borderStyle:"1px solid #e1e4e8",backgroundScrollIcon:"#fff"},container:{border:"none",borderRadius:"4px",boxShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)"},header:{background:"#fff",colorRoomName:"#0a0a0a",colorRoomInfo:"#9ca6af"},footer:{background:"#f8f9fa",borderStyleInput:"1px solid #e1e4e8",borderInputSelected:"#1976d2",backgroundReply:"#e5e5e6",backgroundTagActive:"#e5e5e6"},content:{background:"#f8f9fa"},sidemenu:{background:"#fff",backgroundHover:"#f6f6f6",backgroundActive:"#e5effa",colorActive:"#1976d2",borderColorSearch:"#e1e5e8"},dropdown:{background:"#fff",backgroundHover:"#f6f6f6"},message:{background:"#fff",backgroundMe:"#ccf2cf",color:"#0a0a0a",colorStarted:"#9ca6af",backgroundDeleted:"#dadfe2",colorDeleted:"#757e85",colorUsername:"#9ca6af",colorTimestamp:"#828c94",backgroundDate:"#e5effa",colorDate:"#505a62",backgroundSystem:"#e5effa",colorSystem:"#505a62",backgroundMedia:"rgba(0, 0, 0, 0.15)",backgroundReply:"rgba(0, 0, 0, 0.08)",colorReplyUsername:"#0a0a0a",colorReply:"#6e6e6e",colorTag:"#0d579c",backgroundImage:"#ddd",colorNewMessages:"#1976d2",backgroundScrollCounter:"#0696c7",colorScrollCounter:"#fff",backgroundReaction:"#eee",borderStyleReaction:"1px solid #eee",backgroundReactionHover:"#fff",borderStyleReactionHover:"1px solid #ddd",colorReactionCounter:"#0a0a0a",backgroundReactionMe:"#cfecf5",borderStyleReactionMe:"1px solid #3b98b8",backgroundReactionHoverMe:"#cfecf5",borderStyleReactionHoverMe:"1px solid #3b98b8",colorReactionCounterMe:"#0b59b3",backgroundAudioRecord:"#eb4034",backgroundAudioLine:"rgba(0, 0, 0, 0.15)",backgroundAudioProgress:"#455247",backgroundAudioProgressSelector:"#455247",colorFileExtension:"#757e85"},markdown:{background:"rgba(239, 239, 239, 0.7)",border:"rgba(212, 212, 212, 0.9)",color:"#e01e5a",colorMulti:"#0a0a0a"},room:{colorUsername:"#0a0a0a",colorMessage:"#67717a",colorTimestamp:"#a2aeb8",colorStateOnline:"#4caf50",colorStateOffline:"#9ca6af",backgroundCounterBadge:"#0696c7",colorCounterBadge:"#fff"},emoji:{background:"#fff"},icons:{search:"#9ca6af",add:"#1976d2",toggle:"#0a0a0a",menu:"#0a0a0a",close:"#9ca6af",closeImage:"#fff",file:"#1976d2",paperclip:"#1976d2",closeOutline:"#000",send:"#1976d2",sendDisabled:"#9ca6af",emoji:"#1976d2",emojiReaction:"rgba(0, 0, 0, 0.3)",document:"#1976d2",pencil:"#9e9e9e",checkmark:"#9e9e9e",checkmarkSeen:"#0696c7",eye:"#fff",dropdownMessage:"#fff",dropdownMessageBackground:"rgba(0, 0, 0, 0.25)",dropdownRoom:"#9e9e9e",dropdownScroll:"#0a0a0a",microphone:"#1976d2",audioPlay:"#455247",audioPause:"#455247",audioCancel:"#eb4034",audioConfirm:"#1ba65b"}},dark:{general:{color:"#fff",backgroundInput:"#202223",colorPlaceholder:"#596269",colorCaret:"#fff",colorSpinner:"#fff",borderStyle:"none",backgroundScrollIcon:"#fff"},container:{border:"none",borderRadius:"4px",boxShadow:"0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)"},header:{background:"#181a1b",colorRoomName:"#fff",colorRoomInfo:"#9ca6af"},footer:{background:"#131415",borderStyleInput:"none",borderInputSelected:"#1976d2",backgroundReply:"#1b1c1c",backgroundTagActive:"#1b1c1c"},content:{background:"#131415"},sidemenu:{background:"#181a1b",backgroundHover:"#202224",backgroundActive:"#151617",colorActive:"#fff",borderColorSearch:"#181a1b"},dropdown:{background:"#2a2c33",backgroundHover:"#26282e"},message:{background:"#22242a",backgroundMe:"#1f7e80",color:"#fff",colorStarted:"#9ca6af",backgroundDeleted:"#1b1c21",colorDeleted:"#a2a5a8",colorUsername:"#b3bac9",colorTimestamp:"#ebedf2",backgroundDate:"rgba(0, 0, 0, 0.3)",colorDate:"#bec5cc",backgroundSystem:"rgba(0, 0, 0, 0.3)",colorSystem:"#bec5cc",backgroundMedia:"rgba(0, 0, 0, 0.18)",backgroundReply:"rgba(0, 0, 0, 0.18)",colorReplyUsername:"#fff",colorReply:"#d6d6d6",colorTag:"#f0c60a",backgroundImage:"#ddd",colorNewMessages:"#fff",backgroundScrollCounter:"#1976d2",colorScrollCounter:"#fff",backgroundReaction:"none",borderStyleReaction:"none",backgroundReactionHover:"#202223",borderStyleReactionHover:"none",colorReactionCounter:"#fff",backgroundReactionMe:"#4e9ad1",borderStyleReactionMe:"none",backgroundReactionHoverMe:"#4e9ad1",borderStyleReactionHoverMe:"none",colorReactionCounterMe:"#fff",backgroundAudioRecord:"#eb4034",backgroundAudioLine:"rgba(255, 255, 255, 0.15)",backgroundAudioProgress:"#b7d4d3",backgroundAudioProgressSelector:"#b7d4d3",colorFileExtension:"#a2a5a8"},markdown:{background:"rgba(239, 239, 239, 0.7)",border:"rgba(212, 212, 212, 0.9)",color:"#e01e5a",colorMulti:"#0a0a0a"},room:{colorUsername:"#fff",colorMessage:"#6c7278",colorTimestamp:"#6c7278",colorStateOnline:"#4caf50",colorStateOffline:"#596269",backgroundCounterBadge:"#1976d2",colorCounterBadge:"#fff"},emoji:{background:"#343740"},icons:{search:"#596269",add:"#fff",toggle:"#fff",menu:"#fff",close:"#9ca6af",closeImage:"#fff",file:"#1976d2",paperclip:"#fff",closeOutline:"#fff",send:"#fff",sendDisabled:"#646a70",emoji:"#fff",emojiReaction:"#fff",document:"#1976d2",pencil:"#ebedf2",checkmark:"#ebedf2",checkmarkSeen:"#f0d90a",eye:"#fff",dropdownMessage:"#fff",dropdownMessageBackground:"rgba(0, 0, 0, 0.25)",dropdownRoom:"#fff",dropdownScroll:"#0a0a0a",microphone:"#fff",audioPlay:"#b7d4d3",audioPause:"#b7d4d3",audioCancel:"#eb4034",audioConfirm:"#1ba65b"}}}),lr=function(e){var t=e.general,n=e.container,r=e.header,a=e.footer,o=e.sidemenu,i=e.content,s=e.dropdown,c=e.message,l=e.markdown,u=e.room,f=e.emoji,d=e.icons;return{"--chat-color":t.color,"--chat-bg-color-input":t.backgroundInput,"--chat-color-spinner":t.colorSpinner,"--chat-color-placeholder":t.colorPlaceholder,"--chat-color-caret":t.colorCaret,"--chat-border-style":t.borderStyle,"--chat-bg-scroll-icon":t.backgroundScrollIcon,"--chat-container-border":n.border,"--chat-container-border-radius":n.borderRadius,"--chat-container-box-shadow":n.boxShadow,"--chat-header-bg-color":r.background,"--chat-header-color-name":r.colorRoomName,"--chat-header-color-info":r.colorRoomInfo,"--chat-footer-bg-color":a.background,"--chat-border-style-input":a.borderStyleInput,"--chat-border-color-input-selected":a.borderInputSelected,"--chat-footer-bg-color-reply":a.backgroundReply,"--chat-footer-bg-color-tag-active":a.backgroundTagActive,"--chat-content-bg-color":i.background,"--chat-sidemenu-bg-color":o.background,"--chat-sidemenu-bg-color-hover":o.backgroundHover,"--chat-sidemenu-bg-color-active":o.backgroundActive,"--chat-sidemenu-color-active":o.colorActive,"--chat-sidemenu-border-color-search":o.borderColorSearch,"--chat-dropdown-bg-color":s.background,"--chat-dropdown-bg-color-hover":s.backgroundHover,"--chat-message-bg-color":c.background,"--chat-message-bg-color-me":c.backgroundMe,"--chat-message-color-started":c.colorStarted,"--chat-message-bg-color-deleted":c.backgroundDeleted,"--chat-message-color-deleted":c.colorDeleted,"--chat-message-color-username":c.colorUsername,"--chat-message-color-timestamp":c.colorTimestamp,"--chat-message-bg-color-date":c.backgroundDate,"--chat-message-color-date":c.colorDate,"--chat-message-bg-color-system":c.backgroundSystem,"--chat-message-color-system":c.colorSystem,"--chat-message-color":c.color,"--chat-message-bg-color-media":c.backgroundMedia,"--chat-message-bg-color-reply":c.backgroundReply,"--chat-message-color-reply-username":c.colorReplyUsername,"--chat-message-color-reply-content":c.colorReply,"--chat-message-color-tag":c.colorTag,"--chat-message-bg-color-image":c.backgroundImage,"--chat-message-color-new-messages":c.colorNewMessages,"--chat-message-bg-color-scroll-counter":c.backgroundScrollCounter,"--chat-message-color-scroll-counter":c.colorScrollCounter,"--chat-message-bg-color-reaction":c.backgroundReaction,"--chat-message-border-style-reaction":c.borderStyleReaction,"--chat-message-bg-color-reaction-hover":c.backgroundReactionHover,"--chat-message-border-style-reaction-hover":c.borderStyleReactionHover,"--chat-message-color-reaction-counter":c.colorReactionCounter,"--chat-message-bg-color-reaction-me":c.backgroundReactionMe,"--chat-message-border-style-reaction-me":c.borderStyleReactionMe,"--chat-message-bg-color-reaction-hover-me":c.backgroundReactionHoverMe,"--chat-message-border-style-reaction-hover-me":c.borderStyleReactionHoverMe,"--chat-message-color-reaction-counter-me":c.colorReactionCounterMe,"--chat-message-bg-color-audio-record":c.backgroundAudioRecord,"--chat-message-bg-color-audio-line":c.backgroundAudioLine,"--chat-message-bg-color-audio-progress":c.backgroundAudioProgress,"--chat-message-bg-color-audio-progress-selector":c.backgroundAudioProgressSelector,"--chat-message-color-file-extension":c.colorFileExtension,"--chat-markdown-bg":l.background,"--chat-markdown-border":l.border,"--chat-markdown-color":l.color,"--chat-markdown-color-multi":l.colorMulti,"--chat-room-color-username":u.colorUsername,"--chat-room-color-message":u.colorMessage,"--chat-room-color-timestamp":u.colorTimestamp,"--chat-room-color-online":u.colorStateOnline,"--chat-room-color-offline":u.colorStateOffline,"--chat-room-bg-color-badge":u.backgroundCounterBadge,"--chat-room-color-badge":u.colorCounterBadge,"--chat-emoji-bg-color":f.background,"--chat-icon-color-search":d.search,"--chat-icon-color-add":d.add,"--chat-icon-color-toggle":d.toggle,"--chat-icon-color-menu":d.menu,"--chat-icon-color-close":d.close,"--chat-icon-color-close-image":d.closeImage,"--chat-icon-color-file":d.file,"--chat-icon-color-paperclip":d.paperclip,"--chat-icon-color-close-outline":d.closeOutline,"--chat-icon-color-send":d.send,"--chat-icon-color-send-disabled":d.sendDisabled,"--chat-icon-color-emoji":d.emoji,"--chat-icon-color-emoji-reaction":d.emojiReaction,"--chat-icon-color-document":d.document,"--chat-icon-color-pencil":d.pencil,"--chat-icon-color-checkmark":d.checkmark,"--chat-icon-color-checkmark-seen":d.checkmarkSeen,"--chat-icon-color-eye":d.eye,"--chat-icon-color-dropdown-message":d.dropdownMessage,"--chat-icon-bg-dropdown-message":d.dropdownMessageBackground,"--chat-icon-color-dropdown-room":d.dropdownRoom,"--chat-icon-color-dropdown-scroll":d.dropdownScroll,"--chat-icon-color-microphone":d.microphone,"--chat-icon-color-audio-play":d.audioPlay,"--chat-icon-color-audio-pause":d.audioPause,"--chat-icon-color-audio-cancel":d.audioCancel,"--chat-icon-color-audio-confirm":d.audioConfirm}},ur=n("4c1d"),fr=ur.roomsValidation,dr=ur.partcipantsValidation,pr={name:"ChatContainer",components:{RoomsList:Ee,Room:ir},props:{height:{type:String,default:"600px"},theme:{type:String,default:"light"},styles:{type:Object,default:function(){return{}}},responsiveBreakpoint:{type:Number,default:900},singleRoom:{type:Boolean,default:!1},roomsListOpened:{type:Boolean,default:!0},textMessages:{type:Object,default:null},currentUserId:{type:[String,Number],default:""},rooms:{type:Array,default:function(){return[]}},roomsOrder:{type:String,default:"desc"},loadingRooms:{type:Boolean,default:!1},roomsLoaded:{type:Boolean,default:!1},roomId:{type:[String,Number],default:null},loadFirstRoom:{type:Boolean,default:!0},messages:{type:Array,default:function(){return[]}},messagesLoaded:{type:Boolean,default:!1},roomActions:{type:Array,default:function(){return[]}},menuActions:{type:Array,default:function(){return[]}},messageActions:{type:Array,default:function(){return[{name:"replyMessage",title:"Reply"},{name:"editMessage",title:"Edit Message",onlyMe:!0},{name:"deleteMessage",title:"Delete Message",onlyMe:!0}]}},showSearch:{type:Boolean,default:!0},showAddRoom:{type:Boolean,default:!0},showSendIcon:{type:Boolean,default:!0},showFiles:{type:Boolean,default:!0},showAudio:{type:Boolean,default:!0},showEmojis:{type:Boolean,default:!0},showReactionEmojis:{type:Boolean,default:!0},showNewMessagesDivider:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},textFormatting:{type:Boolean,default:!0},linkOptions:{type:Object,default:function(){return{disabled:!1,target:"_blank"}}},roomInfoEnabled:{type:Boolean,default:!1},textareaActionEnabled:{type:Boolean,default:!1},roomMessage:{type:String,default:""},acceptedFiles:{type:String,default:"*"}},emits:["toggle-rooms-list","room-info","fetch-messages","send-message","edit-message","delete-message","open-file","open-user-tag","menu-action-handler","message-action-handler","send-message-reaction","typing-message","textarea-action-handler","fetch-more-rooms","add-room","room-action-handler"],data:function(){return{room:{},loadingMoreRooms:!1,showRoomsList:!0,isMobile:!1}},computed:{t:function(){return T(T({},sr),this.textMessages)},cssVars:function(){var e=this,t=cr[this.theme],n={};return Object.keys(t).map((function(r){n[r]=T(T({},t[r]),e.styles[r]||{})})),lr(n)},orderedRooms:function(){var e=this;return this.rooms.slice().sort((function(t,n){var r=t.index||0,a=n.index||0;return"asc"===e.roomsOrder?r<a?-1:a<r?1:0:r>a?-1:a>r?1:0}))}},watch:{rooms:{immediate:!0,deep:!0,handler:function(e,t){var n=this;if(e[0]&&e.find((function(e){return e.roomId===n.room.roomId}))||(this.showRoomsList=!0),!this.loadingMoreRooms&&this.loadFirstRoom&&e[0]&&(!t||e.length!==t.length))if(this.roomId){var r=e.find((function(e){return e.roomId===n.roomId}))||{};this.fetchRoom({room:r})}else!this.isMobile||this.singleRoom?this.fetchRoom({room:this.orderedRooms[0]}):this.showRoomsList=!0}},loadingRooms:function(e){e&&(this.room={})},roomId:{immediate:!0,handler:function(e,t){if(e&&!this.loadingRooms&&this.rooms.length){var n=this.rooms.find((function(t){return t.roomId===e}));this.fetchRoom({room:n})}else t&&!e&&(this.room={})}},room:function(e){e&&0!==Object.entries(e).length&&(fr(e),e.users.forEach((function(e){dr(e)})))},roomsListOpened:function(e){this.showRoomsList=e}},created:function(){var e=this;this.updateResponsive(),window.addEventListener("resize",(function(t){t.isTrusted&&e.updateResponsive()}))},methods:{updateResponsive:function(){this.isMobile=window.innerWidth<this.responsiveBreakpoint},toggleRoomsList:function(){this.showRoomsList=!this.showRoomsList,this.isMobile&&(this.room={}),this.$emit("toggle-rooms-list",{opened:this.showRoomsList})},fetchRoom:function(e){var t=e.room;this.room=t,this.fetchMessages({reset:!0}),this.isMobile&&(this.showRoomsList=!1)},fetchMoreRooms:function(){this.$emit("fetch-more-rooms")},roomInfo:function(){this.$emit("room-info",this.room)},addRoom:function(){this.$emit("add-room")},fetchMessages:function(e){this.$emit("fetch-messages",{room:this.room,options:e})},sendMessage:function(e){this.$emit("send-message",T(T({},e),{},{roomId:this.room.roomId}))},editMessage:function(e){this.$emit("edit-message",T(T({},e),{},{roomId:this.room.roomId}))},deleteMessage:function(e){this.$emit("delete-message",{message:e,roomId:this.room.roomId})},openFile:function(e){var t=e.message,n=e.file;this.$emit("open-file",{message:t,file:n})},openUserTag:function(e){var t=e.user;this.$emit("open-user-tag",{user:t})},menuActionHandler:function(e){this.$emit("menu-action-handler",{action:e,roomId:this.room.roomId})},roomActionHandler:function(e){var t=e.action,n=e.roomId;this.$emit("room-action-handler",{action:t,roomId:n})},messageActionHandler:function(e){this.$emit("message-action-handler",T(T({},e),{},{roomId:this.room.roomId}))},sendMessageReaction:function(e){this.$emit("send-message-reaction",T(T({},e),{},{roomId:this.room.roomId}))},typingMessage:function(e){this.$emit("typing-message",{message:e,roomId:this.room.roomId})},textareaActionHandler:function(e){this.$emit("textarea-action-handler",{message:e,roomId:this.room.roomId})}}},hr=pr;function mr(e){var t=n("85f6");t.__inject__&&t.__inject__(e)}var gr=S(hr,A,M,!1,mr,null,null,!0),vr=gr.exports;window.customElements.define("vue-advanced-chat",k(s.a,vr))},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,n){var r=n("83ab"),a=n("5135"),o=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=a(o,"name"),c=s&&"something"===function(){}.name,l=s&&(!r||r&&i(o,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},"5e89":function(e,t,n){var r=n("861d"),a=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&a(e)===e}},"5f84":function(e,t){function n(e,t,n,r){this.xlen=e,this.linmax=t,this.table=n,this.hlen=r}var r={t1HB:[1,1,1,0],t2HB:[1,2,1,3,1,1,3,2,0],t3HB:[3,2,1,1,1,1,3,2,0],t5HB:[1,2,6,5,3,1,4,4,7,5,7,1,6,1,1,0],t6HB:[7,3,5,1,6,2,3,2,5,4,4,1,3,3,2,0],t7HB:[1,2,10,19,16,10,3,3,7,10,5,3,11,4,13,17,8,4,12,11,18,15,11,2,7,6,9,14,3,1,6,4,5,3,2,0],t8HB:[3,4,6,18,12,5,5,1,2,16,9,3,7,3,5,14,7,3,19,17,15,13,10,4,13,5,8,11,5,1,12,4,4,1,1,0],t9HB:[7,5,9,14,15,7,6,4,5,5,6,7,7,6,8,8,8,5,15,6,9,10,5,1,11,7,9,6,4,1,14,4,6,2,6,0],t10HB:[1,2,10,23,35,30,12,17,3,3,8,12,18,21,12,7,11,9,15,21,32,40,19,6,14,13,22,34,46,23,18,7,20,19,33,47,27,22,9,3,31,22,41,26,21,20,5,3,14,13,10,11,16,6,5,1,9,8,7,8,4,4,2,0],t11HB:[3,4,10,24,34,33,21,15,5,3,4,10,32,17,11,10,11,7,13,18,30,31,20,5,25,11,19,59,27,18,12,5,35,33,31,58,30,16,7,5,28,26,32,19,17,15,8,14,14,12,9,13,14,9,4,1,11,4,6,6,6,3,2,0],t12HB:[9,6,16,33,41,39,38,26,7,5,6,9,23,16,26,11,17,7,11,14,21,30,10,7,17,10,15,12,18,28,14,5,32,13,22,19,18,16,9,5,40,17,31,29,17,13,4,2,27,12,11,15,10,7,4,1,27,12,8,12,6,3,1,0],t13HB:[1,5,14,21,34,51,46,71,42,52,68,52,67,44,43,19,3,4,12,19,31,26,44,33,31,24,32,24,31,35,22,14,15,13,23,36,59,49,77,65,29,40,30,40,27,33,42,16,22,20,37,61,56,79,73,64,43,76,56,37,26,31,25,14,35,16,60,57,97,75,114,91,54,73,55,41,48,53,23,24,58,27,50,96,76,70,93,84,77,58,79,29,74,49,41,17,47,45,78,74,115,94,90,79,69,83,71,50,59,38,36,15,72,34,56,95,92,85,91,90,86,73,77,65,51,44,43,42,43,20,30,44,55,78,72,87,78,61,46,54,37,30,20,16,53,25,41,37,44,59,54,81,66,76,57,54,37,18,39,11,35,33,31,57,42,82,72,80,47,58,55,21,22,26,38,22,53,25,23,38,70,60,51,36,55,26,34,23,27,14,9,7,34,32,28,39,49,75,30,52,48,40,52,28,18,17,9,5,45,21,34,64,56,50,49,45,31,19,12,15,10,7,6,3,48,23,20,39,36,35,53,21,16,23,13,10,6,1,4,2,16,15,17,27,25,20,29,11,17,12,16,8,1,1,0,1],t15HB:[7,12,18,53,47,76,124,108,89,123,108,119,107,81,122,63,13,5,16,27,46,36,61,51,42,70,52,83,65,41,59,36,19,17,15,24,41,34,59,48,40,64,50,78,62,80,56,33,29,28,25,43,39,63,55,93,76,59,93,72,54,75,50,29,52,22,42,40,67,57,95,79,72,57,89,69,49,66,46,27,77,37,35,66,58,52,91,74,62,48,79,63,90,62,40,38,125,32,60,56,50,92,78,65,55,87,71,51,73,51,70,30,109,53,49,94,88,75,66,122,91,73,56,42,64,44,21,25,90,43,41,77,73,63,56,92,77,66,47,67,48,53,36,20,71,34,67,60,58,49,88,76,67,106,71,54,38,39,23,15,109,53,51,47,90,82,58,57,48,72,57,41,23,27,62,9,86,42,40,37,70,64,52,43,70,55,42,25,29,18,11,11,118,68,30,55,50,46,74,65,49,39,24,16,22,13,14,7,91,44,39,38,34,63,52,45,31,52,28,19,14,8,9,3,123,60,58,53,47,43,32,22,37,24,17,12,15,10,2,1,71,37,34,30,28,20,17,26,21,16,10,6,8,6,2,0],t16HB:[1,5,14,44,74,63,110,93,172,149,138,242,225,195,376,17,3,4,12,20,35,62,53,47,83,75,68,119,201,107,207,9,15,13,23,38,67,58,103,90,161,72,127,117,110,209,206,16,45,21,39,69,64,114,99,87,158,140,252,212,199,387,365,26,75,36,68,65,115,101,179,164,155,264,246,226,395,382,362,9,66,30,59,56,102,185,173,265,142,253,232,400,388,378,445,16,111,54,52,100,184,178,160,133,257,244,228,217,385,366,715,10,98,48,91,88,165,157,148,261,248,407,397,372,380,889,884,8,85,84,81,159,156,143,260,249,427,401,392,383,727,713,708,7,154,76,73,141,131,256,245,426,406,394,384,735,359,710,352,11,139,129,67,125,247,233,229,219,393,743,737,720,885,882,439,4,243,120,118,115,227,223,396,746,742,736,721,712,706,223,436,6,202,224,222,218,216,389,386,381,364,888,443,707,440,437,1728,4,747,211,210,208,370,379,734,723,714,1735,883,877,876,3459,865,2,377,369,102,187,726,722,358,711,709,866,1734,871,3458,870,434,0,12,10,7,11,10,17,11,9,13,12,10,7,5,3,1,3],t24HB:[15,13,46,80,146,262,248,434,426,669,653,649,621,517,1032,88,14,12,21,38,71,130,122,216,209,198,327,345,319,297,279,42,47,22,41,74,68,128,120,221,207,194,182,340,315,295,541,18,81,39,75,70,134,125,116,220,204,190,178,325,311,293,271,16,147,72,69,135,127,118,112,210,200,188,352,323,306,285,540,14,263,66,129,126,119,114,214,202,192,180,341,317,301,281,262,12,249,123,121,117,113,215,206,195,185,347,330,308,291,272,520,10,435,115,111,109,211,203,196,187,353,332,313,298,283,531,381,17,427,212,208,205,201,193,186,177,169,320,303,286,268,514,377,16,335,199,197,191,189,181,174,333,321,305,289,275,521,379,371,11,668,184,183,179,175,344,331,314,304,290,277,530,383,373,366,10,652,346,171,168,164,318,309,299,287,276,263,513,375,368,362,6,648,322,316,312,307,302,292,284,269,261,512,376,370,364,359,4,620,300,296,294,288,282,273,266,515,380,374,369,365,361,357,2,1033,280,278,274,267,264,259,382,378,372,367,363,360,358,356,0,43,20,19,17,15,13,11,9,7,6,4,7,5,3,1,3],t32HB:[1,10,8,20,12,20,16,32,14,12,24,0,28,16,24,16],t33HB:[15,28,26,48,22,40,36,64,14,24,20,32,12,16,8,0],t1l:[1,4,3,5],t2l:[1,4,7,4,5,7,6,7,8],t3l:[2,3,7,4,4,7,6,7,8],t5l:[1,4,7,8,4,5,8,9,7,8,9,10,8,8,9,10],t6l:[3,4,6,8,4,4,6,7,5,6,7,8,7,7,8,9],t7l:[1,4,7,9,9,10,4,6,8,9,9,10,7,7,9,10,10,11,8,9,10,11,11,11,8,9,10,11,11,12,9,10,11,12,12,12],t8l:[2,4,7,9,9,10,4,4,6,10,10,10,7,6,8,10,10,11,9,10,10,11,11,12,9,9,10,11,12,12,10,10,11,11,13,13],t9l:[3,4,6,7,9,10,4,5,6,7,8,10,5,6,7,8,9,10,7,7,8,9,9,10,8,8,9,9,10,11,9,9,10,10,11,11],t10l:[1,4,7,9,10,10,10,11,4,6,8,9,10,11,10,10,7,8,9,10,11,12,11,11,8,9,10,11,12,12,11,12,9,10,11,12,12,12,12,12,10,11,12,12,13,13,12,13,9,10,11,12,12,12,13,13,10,10,11,12,12,13,13,13],t11l:[2,4,6,8,9,10,9,10,4,5,6,8,10,10,9,10,6,7,8,9,10,11,10,10,8,8,9,11,10,12,10,11,9,10,10,11,11,12,11,12,9,10,11,12,12,13,12,13,9,9,9,10,11,12,12,12,9,9,10,11,12,12,12,12],t12l:[4,4,6,8,9,10,10,10,4,5,6,7,9,9,10,10,6,6,7,8,9,10,9,10,7,7,8,8,9,10,10,10,8,8,9,9,10,10,10,11,9,9,10,10,10,11,10,11,9,9,9,10,10,11,11,12,10,10,10,11,11,11,11,12],t13l:[1,5,7,8,9,10,10,11,10,11,12,12,13,13,14,14,4,6,8,9,10,10,11,11,11,11,12,12,13,14,14,14,7,8,9,10,11,11,12,12,11,12,12,13,13,14,15,15,8,9,10,11,11,12,12,12,12,13,13,13,13,14,15,15,9,9,11,11,12,12,13,13,12,13,13,14,14,15,15,16,10,10,11,12,12,12,13,13,13,13,14,13,15,15,16,16,10,11,12,12,13,13,13,13,13,14,14,14,15,15,16,16,11,11,12,13,13,13,14,14,14,14,15,15,15,16,18,18,10,10,11,12,12,13,13,14,14,14,14,15,15,16,17,17,11,11,12,12,13,13,13,15,14,15,15,16,16,16,18,17,11,12,12,13,13,14,14,15,14,15,16,15,16,17,18,19,12,12,12,13,14,14,14,14,15,15,15,16,17,17,17,18,12,13,13,14,14,15,14,15,16,16,17,17,17,18,18,18,13,13,14,15,15,15,16,16,16,16,16,17,18,17,18,18,14,14,14,15,15,15,17,16,16,19,17,17,17,19,18,18,13,14,15,16,16,16,17,16,17,17,18,18,21,20,21,18],t15l:[3,5,6,8,8,9,10,10,10,11,11,12,12,12,13,14,5,5,7,8,9,9,10,10,10,11,11,12,12,12,13,13,6,7,7,8,9,9,10,10,10,11,11,12,12,13,13,13,7,8,8,9,9,10,10,11,11,11,12,12,12,13,13,13,8,8,9,9,10,10,11,11,11,11,12,12,12,13,13,13,9,9,9,10,10,10,11,11,11,11,12,12,13,13,13,14,10,9,10,10,10,11,11,11,11,12,12,12,13,13,14,14,10,10,10,11,11,11,11,12,12,12,12,12,13,13,13,14,10,10,10,11,11,11,11,12,12,12,12,13,13,14,14,14,10,10,11,11,11,11,12,12,12,13,13,13,13,14,14,14,11,11,11,11,12,12,12,12,12,13,13,13,13,14,15,14,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,15,12,12,11,12,12,12,13,13,13,13,13,13,14,14,15,15,12,12,12,12,12,13,13,13,13,14,14,14,14,14,15,15,13,13,13,13,13,13,13,13,14,14,14,14,15,15,14,15,13,13,13,13,13,13,13,14,14,14,14,14,15,15,15,15],t16_5l:[1,5,7,9,10,10,11,11,12,12,12,13,13,13,14,11,4,6,8,9,10,11,11,11,12,12,12,13,14,13,14,11,7,8,9,10,11,11,12,12,13,12,13,13,13,14,14,12,9,9,10,11,11,12,12,12,13,13,14,14,14,15,15,13,10,10,11,11,12,12,13,13,13,14,14,14,15,15,15,12,10,10,11,11,12,13,13,14,13,14,14,15,15,15,16,13,11,11,11,12,13,13,13,13,14,14,14,14,15,15,16,13,11,11,12,12,13,13,13,14,14,15,15,15,15,17,17,13,11,12,12,13,13,13,14,14,15,15,15,15,16,16,16,13,12,12,12,13,13,14,14,15,15,15,15,16,15,16,15,14,12,13,12,13,14,14,14,14,15,16,16,16,17,17,16,13,13,13,13,13,14,14,15,16,16,16,16,16,16,15,16,14,13,14,14,14,14,15,15,15,15,17,16,16,16,16,18,14,15,14,14,14,15,15,16,16,16,18,17,17,17,19,17,14,14,15,13,14,16,16,15,16,16,17,18,17,19,17,16,14,11,11,11,12,12,13,13,13,14,14,14,14,14,14,14,12],t16l:[1,5,7,9,10,10,11,11,12,12,12,13,13,13,14,10,4,6,8,9,10,11,11,11,12,12,12,13,14,13,14,10,7,8,9,10,11,11,12,12,13,12,13,13,13,14,14,11,9,9,10,11,11,12,12,12,13,13,14,14,14,15,15,12,10,10,11,11,12,12,13,13,13,14,14,14,15,15,15,11,10,10,11,11,12,13,13,14,13,14,14,15,15,15,16,12,11,11,11,12,13,13,13,13,14,14,14,14,15,15,16,12,11,11,12,12,13,13,13,14,14,15,15,15,15,17,17,12,11,12,12,13,13,13,14,14,15,15,15,15,16,16,16,12,12,12,12,13,13,14,14,15,15,15,15,16,15,16,15,13,12,13,12,13,14,14,14,14,15,16,16,16,17,17,16,12,13,13,13,13,14,14,15,16,16,16,16,16,16,15,16,13,13,14,14,14,14,15,15,15,15,17,16,16,16,16,18,13,15,14,14,14,15,15,16,16,16,18,17,17,17,19,17,13,14,15,13,14,16,16,15,16,16,17,18,17,19,17,16,13,10,10,10,11,11,12,12,12,13,13,13,13,13,13,13,10],t24l:[4,5,7,8,9,10,10,11,11,12,12,12,12,12,13,10,5,6,7,8,9,10,10,11,11,11,12,12,12,12,12,10,7,7,8,9,9,10,10,11,11,11,11,12,12,12,13,9,8,8,9,9,10,10,10,11,11,11,11,12,12,12,12,9,9,9,9,10,10,10,10,11,11,11,12,12,12,12,13,9,10,9,10,10,10,10,11,11,11,11,12,12,12,12,12,9,10,10,10,10,10,11,11,11,11,12,12,12,12,12,13,9,11,10,10,10,11,11,11,11,12,12,12,12,12,13,13,10,11,11,11,11,11,11,11,11,11,12,12,12,12,13,13,10,11,11,11,11,11,11,11,12,12,12,12,12,13,13,13,10,12,11,11,11,11,12,12,12,12,12,12,13,13,13,13,10,12,12,11,11,11,12,12,12,12,12,12,13,13,13,13,10,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,10,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,10,13,12,12,12,12,12,12,13,13,13,13,13,13,13,13,10,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,6],t32l:[1,5,5,7,5,8,7,9,5,7,7,9,7,9,9,10],t33l:[4,5,5,6,5,6,6,7,5,6,6,7,6,7,7,8]};r.ht=[new n(0,0,null,null),new n(2,0,r.t1HB,r.t1l),new n(3,0,r.t2HB,r.t2l),new n(3,0,r.t3HB,r.t3l),new n(0,0,null,null),new n(4,0,r.t5HB,r.t5l),new n(4,0,r.t6HB,r.t6l),new n(6,0,r.t7HB,r.t7l),new n(6,0,r.t8HB,r.t8l),new n(6,0,r.t9HB,r.t9l),new n(8,0,r.t10HB,r.t10l),new n(8,0,r.t11HB,r.t11l),new n(8,0,r.t12HB,r.t12l),new n(16,0,r.t13HB,r.t13l),new n(0,0,null,r.t16_5l),new n(16,0,r.t15HB,r.t15l),new n(1,1,r.t16HB,r.t16l),new n(2,3,r.t16HB,r.t16l),new n(3,7,r.t16HB,r.t16l),new n(4,15,r.t16HB,r.t16l),new n(6,63,r.t16HB,r.t16l),new n(8,255,r.t16HB,r.t16l),new n(10,1023,r.t16HB,r.t16l),new n(13,8191,r.t16HB,r.t16l),new n(4,15,r.t24HB,r.t24l),new n(5,31,r.t24HB,r.t24l),new n(6,63,r.t24HB,r.t24l),new n(7,127,r.t24HB,r.t24l),new n(8,255,r.t24HB,r.t24l),new n(9,511,r.t24HB,r.t24l),new n(11,2047,r.t24HB,r.t24l),new n(13,8191,r.t24HB,r.t24l),new n(0,0,r.t32HB,r.t32l),new n(0,0,r.t33HB,r.t33l)],r.largetbl=[65540,327685,458759,589832,655369,655370,720906,720907,786443,786444,786444,851980,851980,851980,917517,655370,262149,393222,524295,589832,655369,720906,720906,720907,786443,786443,786444,851980,917516,851980,917516,655370,458759,524295,589832,655369,720905,720906,786442,786443,851979,786443,851979,851980,851980,917516,917517,720905,589832,589832,655369,720905,720906,786442,786442,786443,851979,851979,917515,917516,917516,983052,983052,786441,655369,655369,720905,720906,786442,786442,851978,851979,851979,917515,917516,917516,983052,983052,983053,720905,655370,655369,720906,720906,786442,851978,851979,917515,851979,917515,917516,983052,983052,983052,1048588,786441,720906,720906,720906,786442,851978,851979,851979,851979,917515,917516,917516,917516,983052,983052,1048589,786441,720907,720906,786442,786442,851979,851979,851979,917515,917516,983052,983052,983052,983052,1114125,1114125,786442,720907,786443,786443,851979,851979,851979,917515,917515,983051,983052,983052,983052,1048588,1048589,1048589,786442,786443,786443,786443,851979,851979,917515,917515,983052,983052,983052,983052,1048588,983053,1048589,983053,851978,786444,851979,786443,851979,917515,917516,917516,917516,983052,1048588,1048588,1048589,1114125,1114125,1048589,786442,851980,851980,851979,851979,917515,917516,983052,1048588,1048588,1048588,1048588,1048589,1048589,983053,1048589,851978,851980,917516,917516,917516,917516,983052,983052,983052,983052,1114124,1048589,1048589,1048589,1048589,1179661,851978,983052,917516,917516,917516,983052,983052,1048588,1048588,1048589,1179661,1114125,1114125,1114125,1245197,1114125,851978,917517,983052,851980,917516,1048588,1048588,983052,1048589,1048589,1114125,1179661,1114125,1245197,1114125,1048589,851978,655369,655369,655369,720905,720905,786441,786441,786441,851977,851977,851977,851978,851978,851978,851978,655366],r.table23=[65538,262147,458759,262148,327684,458759,393222,458759,524296],r.table56=[65539,262148,458758,524296,262148,327684,524294,589831,458757,524294,589831,655368,524295,524295,589832,655369],r.bitrate_table=[[0,8,16,24,32,40,48,56,64,80,96,112,128,144,160,-1],[0,32,40,48,56,64,80,96,112,128,160,192,224,256,320,-1],[0,8,16,24,32,40,48,56,64,-1,-1,-1,-1,-1,-1,-1]],r.samplerate_table=[[22050,24e3,16e3,-1],[44100,48e3,32e3,-1],[11025,12e3,8e3,-1]],r.scfsi_band=[0,6,11,16,21],e.exports=r},"5f96":function(e,t,n){"use strict";var r=n("ebb5"),a=r.aTypedArray,o=r.exportTypedArrayMethod,i=[].join;o("join",(function(e){return i.apply(a(this),arguments)}))},"5fb2":function(e,t,n){"use strict";var r=2147483647,a=36,o=1,i=26,s=38,c=700,l=72,u=128,f="-",d=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,h="Overflow: input needs wider integers to process",m=a-o,g=Math.floor,v=String.fromCharCode,_=function(e){var t=[],n=0,r=e.length;while(n<r){var a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<r){var o=e.charCodeAt(n++);56320==(64512&o)?t.push(((1023&a)<<10)+(1023&o)+65536):(t.push(a),n--)}else t.push(a)}return t},b=function(e){return e+22+75*(e<26)},y=function(e,t,n){var r=0;for(e=n?g(e/c):e>>1,e+=g(e/t);e>m*i>>1;r+=a)e=g(e/m);return g(r+(m+1)*e/(e+s))},x=function(e){var t=[];e=_(e);var n,s,c=e.length,d=u,p=0,m=l;for(n=0;n<e.length;n++)s=e[n],s<128&&t.push(v(s));var x=t.length,w=x;x&&t.push(f);while(w<c){var k=r;for(n=0;n<e.length;n++)s=e[n],s>=d&&s<k&&(k=s);var S=w+1;if(k-d>g((r-p)/S))throw RangeError(h);for(p+=(k-d)*S,d=k,n=0;n<e.length;n++){if(s=e[n],s<d&&++p>r)throw RangeError(h);if(s==d){for(var A=p,M=a;;M+=a){var R=M<=m?o:M>=m+i?i:M-m;if(A<R)break;var E=A-R,T=a-R;t.push(v(b(R+E%T))),A=g(E/T)}t.push(v(b(A))),m=y(p,S,w==x),p=0,++w}}++p,++d}return t.join("")};e.exports=function(e){var t,n,r=[],a=e.toLowerCase().replace(p,".").split(".");for(t=0;t<a.length;t++)n=a[t],r.push(d.test(n)?"xn--"+x(n):n);return r.join(".")}},"605d":function(e,t,n){var r=n("c6b6"),a=n("da84");e.exports="process"==r(a.process)},6069:function(e,t){e.exports="object"==typeof window},"60bd":function(e,t,n){"use strict";var r=n("da84"),a=n("5e77").PROPER,o=n("ebb5"),i=n("e260"),s=n("b622"),c=s("iterator"),l=r.Uint8Array,u=i.values,f=i.keys,d=i.entries,p=o.aTypedArray,h=o.exportTypedArrayMethod,m=l&&l.prototype[c],g=!!m&&"values"===m.name,v=function(){return u.call(p(this))};h("entries",(function(){return d.call(p(this))})),h("keys",(function(){return f.call(p(this))})),h("values",v,a&&!g),h(c,v,a&&!g)},"60da":function(e,t,n){"use strict";var r=n("83ab"),a=n("d039"),o=n("df75"),i=n("7418"),s=n("d1e7"),c=n("7b0b"),l=n("44ad"),u=Object.assign,f=Object.defineProperty;e.exports=!u||a((function(){if(r&&1!==u({b:1},u(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||o(u({},t)).join("")!=a}))?function(e,t){var n=c(e),a=arguments.length,u=1,f=i.f,d=s.f;while(a>u){var p,h=l(arguments[u++]),m=f?o(h).concat(f(h)):o(h),g=m.length,v=0;while(g>v)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p])}return n}:u},"621a":function(e,t,n){"use strict";var r=n("da84"),a=n("83ab"),o=n("a981"),i=n("5e77"),s=n("9112"),c=n("e2cc"),l=n("d039"),u=n("19aa"),f=n("a691"),d=n("50c4"),p=n("0b25"),h=n("77a7"),m=n("e163"),g=n("d2bb"),v=n("241c").f,_=n("9bf2").f,b=n("81d5"),y=n("d44e"),x=n("69f3"),w=i.PROPER,k=i.CONFIGURABLE,S=x.get,A=x.set,M="ArrayBuffer",R="DataView",E="prototype",T="Wrong length",O="Wrong index",L=r[M],B=L,I=r[R],j=I&&I[E],C=Object.prototype,P=r.RangeError,N=h.pack,H=h.unpack,F=function(e){return[255&e]},D=function(e){return[255&e,e>>8&255]},U=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},V=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},q=function(e){return N(e,23,4)},$=function(e){return N(e,52,8)},z=function(e,t){_(e[E],t,{get:function(){return S(this)[t]}})},Y=function(e,t,n,r){var a=p(n),o=S(e);if(a+t>o.byteLength)throw P(O);var i=S(o.buffer).bytes,s=a+o.byteOffset,c=i.slice(s,s+t);return r?c:c.reverse()},X=function(e,t,n,r,a,o){var i=p(n),s=S(e);if(i+t>s.byteLength)throw P(O);for(var c=S(s.buffer).bytes,l=i+s.byteOffset,u=r(+a),f=0;f<t;f++)c[l+f]=u[o?f:t-f-1]};if(o){var G=w&&L.name!==M;if(l((function(){L(1)}))&&l((function(){new L(-1)}))&&!l((function(){return new L,new L(1.5),new L(NaN),G&&!k})))G&&k&&s(L,"name",M);else{B=function(e){return u(this,B),new L(p(e))};for(var K,W=B[E]=L[E],Z=v(L),Q=0;Z.length>Q;)(K=Z[Q++])in B||s(B,K,L[K]);W.constructor=B}g&&m(j)!==C&&g(j,C);var J=new I(new B(2)),ee=j.setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||c(j,{setInt8:function(e,t){ee.call(this,e,t<<24>>24)},setUint8:function(e,t){ee.call(this,e,t<<24>>24)}},{unsafe:!0})}else B=function(e){u(this,B,M);var t=p(e);A(this,{bytes:b.call(new Array(t),0),byteLength:t}),a||(this.byteLength=t)},I=function(e,t,n){u(this,I,R),u(e,B,R);var r=S(e).byteLength,o=f(t);if(o<0||o>r)throw P("Wrong offset");if(n=void 0===n?r-o:d(n),o+n>r)throw P(T);A(this,{buffer:e,byteLength:n,byteOffset:o}),a||(this.buffer=e,this.byteLength=n,this.byteOffset=o)},a&&(z(B,"byteLength"),z(I,"buffer"),z(I,"byteLength"),z(I,"byteOffset")),c(I[E],{getInt8:function(e){return Y(this,1,e)[0]<<24>>24},getUint8:function(e){return Y(this,1,e)[0]},getInt16:function(e){var t=Y(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Y(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return V(Y(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return V(Y(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return H(Y(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return H(Y(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){X(this,1,e,F,t)},setUint8:function(e,t){X(this,1,e,F,t)},setInt16:function(e,t){X(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){X(this,2,e,D,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){X(this,4,e,U,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){X(this,4,e,U,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){X(this,4,e,q,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){X(this,8,e,$,t,arguments.length>2?arguments[2]:void 0)}});y(B,M),y(I,R),e.exports={ArrayBuffer:B,DataView:I}},"649e":function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").some,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("some",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"64e5":function(e,t,n){"use strict";var r=n("d039"),a=n("0ccb").start,o=Math.abs,i=Date.prototype,s=i.getTime,c=i.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-50000000000001))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+a(o(t),r?6:4,0)+"-"+a(e.getUTCMonth()+1,2,0)+"-"+a(e.getUTCDate(),2,0)+"T"+a(e.getUTCHours(),2,0)+":"+a(e.getUTCMinutes(),2,0)+":"+a(e.getUTCSeconds(),2,0)+"."+a(n,3,0)+"Z"}:c},6547:function(e,t,n){var r=n("a691"),a=n("577e"),o=n("1d80"),i=function(e){return function(t,n){var i,s,c=a(o(t)),l=r(n),u=c.length;return l<0||l>=u?e?"":void 0:(i=c.charCodeAt(l),i<55296||i>56319||l+1===u||(s=c.charCodeAt(l+1))<56320||s>57343?e?c.charAt(l):i:e?c.slice(l,l+2):s-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(e,t,n){var r=n("0b42");e.exports=function(e,t){return new(r(e))(0===t?0:t)}},"67b2":function(e,t){function n(e){var t=e;this.ordinal=function(){return t}}n.STEREO=new n(0),n.JOINT_STEREO=new n(1),n.DUAL_CHANNEL=new n(2),n.MONO=new n(3),n.NOT_SET=new n(4),e.exports=n},"68ee":function(e,t,n){var r=n("d039"),a=n("1626"),o=n("f5df"),i=n("d066"),s=n("8925"),c=[],l=i("Reflect","construct"),u=/^\s*(?:class|function)\b/,f=u.exec,d=!u.exec((function(){})),p=function(e){if(!a(e))return!1;try{return l(Object,c,e),!0}catch(t){return!1}},h=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!f.call(u,s(e))};e.exports=!l||r((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?h:p},"69b2":function(e,t,n){var r=n("0206"),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),i=(r.new_array_n,r.new_byte),s=(r.new_double,r.new_float,r.new_float_n),c=r.new_int,l=(r.new_int_n,r.assert),u=n("d9be"),f=n("5f84"),d=n("4b5e"),p=n("bd8b");function h(){var e=this,t=32773,n=32,r=null,h=null,m=null,g=null;this.setModules=function(e,t,n,a){r=e,h=t,m=n,g=a};var v=null,_=0,b=0,y=0;function x(e){a.arraycopy(e.header[e.w_ptr].buf,0,v,b,e.sideinfo_len),b+=e.sideinfo_len,_+=8*e.sideinfo_len,e.w_ptr=e.w_ptr+1&p.MAX_HEADER_BUF-1}function w(e,t,r){l(r<n-2);while(r>0){var a;0==y&&(y=8,b++,l(b<Lame.LAME_MAXMP3BUFFER),l(e.header[e.w_ptr].write_timing>=_),e.header[e.w_ptr].write_timing==_&&x(e),v[b]=0),a=Math.min(r,y),r-=a,y-=a,l(r<n),l(y<n),v[b]|=t>>r<<y,_+=a}}function k(e,t,r){l(r<n-2);while(r>0){var a;0==y&&(y=8,b++,l(b<Lame.LAME_MAXMP3BUFFER),v[b]=0),a=Math.min(r,y),r-=a,y-=a,l(r<n),l(y<n),v[b]|=t>>r<<y,_+=a}}function S(e,t){var n,r=e.internal_flags;if(l(t>=0),t>=8&&(w(r,76,8),t-=8),t>=8&&(w(r,65,8),t-=8),t>=8&&(w(r,77,8),t-=8),t>=8&&(w(r,69,8),t-=8),t>=32){var a=m.getLameShortVersion();if(t>=32)for(n=0;n<a.length&&t>=8;++n)t-=8,w(r,a.charAt(n),8)}for(;t>=1;t-=1)w(r,r.ancillary_flag,1),r.ancillary_flag^=e.disable_reservoir?0:1;l(0==t)}function A(e,t,r){var a=e.header[e.h_ptr].ptr;while(r>0){var o=Math.min(r,8-(7&a));r-=o,l(r<n),e.header[e.h_ptr].buf[a>>3]|=t>>r<<8-(7&a)-o,a+=o}e.header[e.h_ptr].ptr=a}function M(e,n){e<<=8;for(var r=0;r<8;r++)e<<=1,n<<=1,0!=(65536&(n^e))&&(n^=t);return n}function R(e,t){var n,r,i,s=e.internal_flags;if(n=s.l3_side,s.header[s.h_ptr].ptr=0,o.fill(s.header[s.h_ptr].buf,0,s.sideinfo_len,0),e.out_samplerate<16e3?A(s,4094,12):A(s,4095,12),A(s,e.version,1),A(s,1,2),A(s,e.error_protection?0:1,1),A(s,s.bitrate_index,4),A(s,s.samplerate_index,2),A(s,s.padding,1),A(s,e.extension,1),A(s,e.mode.ordinal(),2),A(s,s.mode_ext,2),A(s,e.copyright,1),A(s,e.original,1),A(s,e.emphasis,2),e.error_protection&&A(s,0,16),1==e.version){for(l(n.main_data_begin>=0),A(s,n.main_data_begin,9),2==s.channels_out?A(s,n.private_bits,3):A(s,n.private_bits,5),i=0;i<s.channels_out;i++){var c;for(c=0;c<4;c++)A(s,n.scfsi[i][c],1)}for(r=0;r<2;r++)for(i=0;i<s.channels_out;i++){var u=n.tt[r][i];A(s,u.part2_3_length+u.part2_length,12),A(s,u.big_values/2,9),A(s,u.global_gain,8),A(s,u.scalefac_compress,4),u.block_type!=d.NORM_TYPE?(A(s,1,1),A(s,u.block_type,2),A(s,u.mixed_block_flag,1),14==u.table_select[0]&&(u.table_select[0]=16),A(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),A(s,u.table_select[1],5),A(s,u.subblock_gain[0],3),A(s,u.subblock_gain[1],3),A(s,u.subblock_gain[2],3)):(A(s,0,1),14==u.table_select[0]&&(u.table_select[0]=16),A(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),A(s,u.table_select[1],5),14==u.table_select[2]&&(u.table_select[2]=16),A(s,u.table_select[2],5),l(0<=u.region0_count&&u.region0_count<16),l(0<=u.region1_count&&u.region1_count<8),A(s,u.region0_count,4),A(s,u.region1_count,3)),A(s,u.preflag,1),A(s,u.scalefac_scale,1),A(s,u.count1table_select,1)}}else for(l(n.main_data_begin>=0),A(s,n.main_data_begin,8),A(s,n.private_bits,s.channels_out),r=0,i=0;i<s.channels_out;i++){u=n.tt[r][i];A(s,u.part2_3_length+u.part2_length,12),A(s,u.big_values/2,9),A(s,u.global_gain,8),A(s,u.scalefac_compress,9),u.block_type!=d.NORM_TYPE?(A(s,1,1),A(s,u.block_type,2),A(s,u.mixed_block_flag,1),14==u.table_select[0]&&(u.table_select[0]=16),A(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),A(s,u.table_select[1],5),A(s,u.subblock_gain[0],3),A(s,u.subblock_gain[1],3),A(s,u.subblock_gain[2],3)):(A(s,0,1),14==u.table_select[0]&&(u.table_select[0]=16),A(s,u.table_select[0],5),14==u.table_select[1]&&(u.table_select[1]=16),A(s,u.table_select[1],5),14==u.table_select[2]&&(u.table_select[2]=16),A(s,u.table_select[2],5),l(0<=u.region0_count&&u.region0_count<16),l(0<=u.region1_count&&u.region1_count<8),A(s,u.region0_count,4),A(s,u.region1_count,3)),A(s,u.scalefac_scale,1),A(s,u.count1table_select,1)}e.error_protection&&CRC_writeheader(s,s.header[s.h_ptr].buf);var f=s.h_ptr;l(s.header[f].ptr==8*s.sideinfo_len),s.h_ptr=f+1&p.MAX_HEADER_BUF-1,s.header[s.h_ptr].write_timing=s.header[f].write_timing+t,s.h_ptr==s.w_ptr&&a.err.println("Error: MAX_HEADER_BUF too small in bitstream.c \n")}function E(e,t){var n,r=f.ht[t.count1table_select+32],a=0,o=t.big_values,i=t.big_values;for(l(t.count1table_select<2),n=(t.count1-t.big_values)/4;n>0;--n){var s,c=0,u=0;s=t.l3_enc[o+0],0!=s&&(u+=8,t.xr[i+0]<0&&c++,l(s<=1)),s=t.l3_enc[o+1],0!=s&&(u+=4,c*=2,t.xr[i+1]<0&&c++,l(s<=1)),s=t.l3_enc[o+2],0!=s&&(u+=2,c*=2,t.xr[i+2]<0&&c++,l(s<=1)),s=t.l3_enc[o+3],0!=s&&(u++,c*=2,t.xr[i+3]<0&&c++,l(s<=1)),o+=4,i+=4,w(e,c+r.table[u],r.hlen[u]),a+=r.hlen[u]}return a}function T(e,t,r,a,o){var i=f.ht[t],s=0;if(l(t<32),0==t)return s;for(var c=r;c<a;c+=2){var u=0,d=0,p=i.xlen,h=i.xlen,m=0,g=o.l3_enc[c],v=o.l3_enc[c+1];if(0!=g&&(o.xr[c]<0&&m++,u--),t>15){if(g>14){var _=g-15;l(_<=i.linmax),m|=_<<1,d=p,g=15}if(v>14){var b=v-15;l(b<=i.linmax),m<<=p,m|=b,d+=p,v=15}h=16}0!=v&&(m<<=1,o.xr[c+1]<0&&m++,u--),l((g|v)<16),g=g*h+v,d-=u,u+=i.hlen[g],l(u<=n),l(d<=n),w(e,i.table[g],u),w(e,m,d),s+=u+d}return s}function O(e,t){var n=3*e.scalefac_band.s[3];n>t.big_values&&(n=t.big_values);var r=T(e,t.table_select[0],0,n,t);return r+=T(e,t.table_select[1],n,t.big_values,t),r}function L(e,t){var n,r,a,o;n=t.big_values,l(0<=n&&n<=576);var i=t.region0_count+1;return l(0<=i),l(i<e.scalefac_band.l.length),a=e.scalefac_band.l[i],i+=t.region1_count+1,l(0<=i),l(i<e.scalefac_band.l.length),o=e.scalefac_band.l[i],a>n&&(a=n),o>n&&(o=n),r=T(e,t.table_select[0],0,a,t),r+=T(e,t.table_select[1],a,o,t),r+=T(e,t.table_select[2],o,n,t),r}function B(e){var t,n,r,a,o=0,i=e.internal_flags,s=i.l3_side;if(1==e.version)for(t=0;t<2;t++)for(n=0;n<i.channels_out;n++){var c=s.tt[t][n],f=u.slen1_tab[c.scalefac_compress],p=u.slen2_tab[c.scalefac_compress];for(a=0,r=0;r<c.sfbdivide;r++)-1!=c.scalefac[r]&&(w(i,c.scalefac[r],f),a+=f);for(;r<c.sfbmax;r++)-1!=c.scalefac[r]&&(w(i,c.scalefac[r],p),a+=p);l(a==c.part2_length),c.block_type==d.SHORT_TYPE?a+=O(i,c):a+=L(i,c),a+=E(i,c),l(a==c.part2_3_length+c.part2_length),o+=a}else for(t=0,n=0;n<i.channels_out;n++){c=s.tt[t][n];var h,m,g=0;if(l(null!=c.sfb_partition_table),a=0,r=0,m=0,c.block_type==d.SHORT_TYPE){for(;m<4;m++){var v=c.sfb_partition_table[m]/3,_=c.slen[m];for(h=0;h<v;h++,r++)w(i,Math.max(c.scalefac[3*r+0],0),_),w(i,Math.max(c.scalefac[3*r+1],0),_),w(i,Math.max(c.scalefac[3*r+2],0),_),g+=3*_}a+=O(i,c)}else{for(;m<4;m++){v=c.sfb_partition_table[m],_=c.slen[m];for(h=0;h<v;h++,r++)w(i,Math.max(c.scalefac[r],0),_),g+=_}a+=L(i,c)}a+=E(i,c),l(a==c.part2_3_length),l(g==c.part2_length),o+=g+a}return o}function I(){this.total=0}function j(t,n){var r,o,i,s,c,l=t.internal_flags;return c=l.w_ptr,s=l.h_ptr-1,-1==s&&(s=p.MAX_HEADER_BUF-1),r=l.header[s].write_timing-_,n.total=r,r>=0&&(o=1+s-c,s<c&&(o=1+s-c+p.MAX_HEADER_BUF),r-=8*o*l.sideinfo_len),i=e.getframebits(t),r+=i,n.total+=i,n.total%8!=0?n.total=1+n.total/8:n.total=n.total/8,n.total+=b+1,r<0&&a.err.println("strange error flushing buffer ... \n"),r}this.getframebits=function(e){var t,n=e.internal_flags;t=0!=n.bitrate_index?f.bitrate_table[e.version][n.bitrate_index]:e.brate,l(8<=t&&t<=640);var r=0|72e3*(e.version+1)*t/e.out_samplerate+n.padding;return 8*r},this.CRC_writeheader=function(e,t){var n=65535;n=M(255&t[2],n),n=M(255&t[3],n);for(var r=6;r<e.sideinfo_len;r++)n=M(255&t[r],n);t[4]=byte(n>>8),t[5]=byte(255&n)},this.flush_bitstream=function(e){var t,n,a=e.internal_flags,o=a.h_ptr-1;if(-1==o&&(o=p.MAX_HEADER_BUF-1),t=a.l3_side,!((n=j(e,new I))<0)){if(S(e,n),l(a.header[o].write_timing+this.getframebits(e)==_),a.ResvSize=0,t.main_data_begin=0,a.findReplayGain){var i=r.GetTitleGain(a.rgdata);l(NEQ(i,GainAnalysis.GAIN_NOT_ENOUGH_SAMPLES)),a.RadioGain=0|Math.floor(10*i+.5)}a.findPeakSample&&(a.noclipGainChange=0|Math.ceil(20*Math.log10(a.PeakSample/32767)*10),a.noclipGainChange>0&&(EQ(e.scale,1)||EQ(e.scale,0))?a.noclipScale=Math.floor(32767/a.PeakSample*100)/100:a.noclipScale=-1)}},this.add_dummy_byte=function(e,t,n){var r,a=e.internal_flags;while(n-- >0)for(k(a,t,8),r=0;r<p.MAX_HEADER_BUF;++r)a.header[r].write_timing+=8},this.format_bitstream=function(e){var t,n=e.internal_flags;t=n.l3_side;var r=this.getframebits(e);S(e,t.resvDrain_pre),R(e,r);var o=8*n.sideinfo_len;if(o+=B(e),S(e,t.resvDrain_post),o+=t.resvDrain_post,t.main_data_begin+=(r-o)/8,j(e,new I)!=n.ResvSize&&a.err.println("Internal buffer inconsistency. flushbits <> ResvSize"),8*t.main_data_begin!=n.ResvSize&&(a.err.printf("bit reservoir error: \nl3_side.main_data_begin: %d \nResvoir size:             %d \nresv drain (post)         %d \nresv drain (pre)          %d \nheader and sideinfo:      %d \ndata bits:                %d \ntotal bits:               %d (remainder: %d) \nbitsperframe:             %d \n",8*t.main_data_begin,n.ResvSize,t.resvDrain_post,t.resvDrain_pre,8*n.sideinfo_len,o-t.resvDrain_post-8*n.sideinfo_len,o,o%8,r),a.err.println("This is a fatal error.  It has several possible causes:"),a.err.println("90%%  LAME compiled with buggy version of gcc using advanced optimizations"),a.err.println(" 9%%  Your system is overclocked"),a.err.println(" 1%%  bug in LAME encoding library"),n.ResvSize=8*t.main_data_begin),l(_%8==0),_>1e9){var i;for(i=0;i<p.MAX_HEADER_BUF;++i)n.header[i].write_timing-=_;_=0}return 0},this.copy_buffer=function(e,t,n,o,i){var u=b+1;if(u<=0)return 0;if(0!=o&&u>o)return-1;if(a.arraycopy(v,0,t,n,u),b=-1,y=0,0!=i){var f=c(1);if(f[0]=e.nMusicCRC,g.updateMusicCRC(f,t,n,u),e.nMusicCRC=f[0],u>0&&(e.VBR_seek_table.nBytesWritten+=u),e.decode_on_the_fly){var d,p=s([2,1152]),m=u,_=-1;while(0!=_)if(_=h.hip_decode1_unclipped(e.hip,t,n,m,p[0],p[1]),m=0,-1==_&&(_=0),_>0){if(l(_<=1152),e.findPeakSample){for(d=0;d<_;d++)p[0][d]>e.PeakSample?e.PeakSample=p[0][d]:-p[0][d]>e.PeakSample&&(e.PeakSample=-p[0][d]);if(e.channels_out>1)for(d=0;d<_;d++)p[1][d]>e.PeakSample?e.PeakSample=p[1][d]:-p[1][d]>e.PeakSample&&(e.PeakSample=-p[1][d])}if(e.findReplayGain&&r.AnalyzeSamples(e.rgdata,p[0],0,p[1],0,_,e.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return-6}}}return u},this.init_bit_stream_w=function(e){v=i(Lame.LAME_MAXMP3BUFFER),e.h_ptr=e.w_ptr=0,e.header[e.h_ptr].write_timing=0,b=-1,y=0,_=0}}h.EQ=function(e,t){return Math.abs(e)>Math.abs(t)?Math.abs(e-t)<=1e-6*Math.abs(e):Math.abs(e-t)<=1e-6*Math.abs(t)},h.NEQ=function(e,t){return!h.EQ(e,t)},e.exports=h},"69f3":function(e,t,n){var r,a,o,i=n("7f9a"),s=n("da84"),c=n("861d"),l=n("9112"),u=n("5135"),f=n("c6cd"),d=n("f772"),p=n("d012"),h="Object already initialized",m=s.WeakMap,g=function(e){return o(e)?a(e):r(e,{})},v=function(e){return function(t){var n;if(!c(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(i||f.state){var _=f.state||(f.state=new m),b=_.get,y=_.has,x=_.set;r=function(e,t){if(y.call(_,e))throw new TypeError(h);return t.facade=e,x.call(_,e,t),t},a=function(e){return b.call(_,e)||{}},o=function(e){return y.call(_,e)}}else{var w=d("state");p[w]=!0,r=function(e,t){if(u(e,w))throw new TypeError(h);return t.facade=e,l(e,w,t),t},a=function(e){return u(e,w)?e[w]:{}},o=function(e){return u(e,w)}}e.exports={set:r,get:a,has:o,enforce:g,getterFor:v}},"6eba":function(e,t,n){var r=n("23e7");r({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"6eeb":function(e,t,n){var r=n("da84"),a=n("1626"),o=n("5135"),i=n("9112"),s=n("ce4e"),c=n("8925"),l=n("69f3"),u=n("5e77").CONFIGURABLE,f=l.get,d=l.enforce,p=String(String).split("String");(e.exports=function(e,t,n,c){var l,f=!!c&&!!c.unsafe,h=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet,g=c&&void 0!==c.name?c.name:t;a(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||u&&n.name!==g)&&i(n,"name",g),l=d(n),l.source||(l.source=p.join("string"==typeof g?g:""))),e!==r?(f?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=n:i(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return a(this)&&f(this).source||c(this)}))},"6f53":function(e,t,n){var r=n("83ab"),a=n("df75"),o=n("fc6a"),i=n("d1e7").f,s=function(e){return function(t){var n,s=o(t),c=a(s),l=c.length,u=0,f=[];while(l>u)n=c[u++],r&&!i.call(s,n)||f.push(e?[n,s[n]]:s[n]);return f}};e.exports={entries:s(!0),values:s(!1)}},7156:function(e,t,n){var r=n("1626"),a=n("861d"),o=n("d2bb");e.exports=function(e,t,n){var i,s;return o&&r(i=t.constructor)&&i!==n&&a(s=i.prototype)&&s!==n.prototype&&o(e,s),e}},"725d":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),o=(r.new_float_n,r.new_int),i=(r.new_int_n,r.assert,n("2f21"));function s(){this.linprebuf=a(2*i.MAX_ORDER),this.linpre=0,this.lstepbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.lstep=0,this.loutbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.lout=0,this.rinprebuf=a(2*i.MAX_ORDER),this.rinpre=0,this.rstepbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.rstep=0,this.routbuf=a(i.MAX_SAMPLES_PER_WINDOW+i.MAX_ORDER),this.rout=0,this.sampleWindow=0,this.totsamp=0,this.lsum=0,this.rsum=0,this.freqindex=0,this.first=0,this.A=o(0|i.STEPS_per_dB*i.MAX_dB),this.B=o(0|i.STEPS_per_dB*i.MAX_dB)}e.exports=s},7276:function(e,t){function n(){this.over_noise=0,this.tot_noise=0,this.max_noise=0,this.over_count=0,this.over_SSD=0,this.bits=0}e.exports=n},"72f7":function(e,t,n){"use strict";var r=n("ebb5").exportTypedArrayMethod,a=n("d039"),o=n("da84"),i=o.Uint8Array,s=i&&i.prototype||{},c=[].toString,l=[].join;a((function(){c.call({})}))&&(c=function(){return l.call(this)});var u=s.toString!=c;r("toString",c,u)},"735e":function(e,t,n){"use strict";var r=n("ebb5"),a=n("81d5"),o=r.aTypedArray,i=r.exportTypedArrayMethod;i("fill",(function(e){return a.apply(o(this),arguments)}))},7418:function(e,t){t.f=Object.getOwnPropertySymbols},"746f":function(e,t,n){var r=n("428f"),a=n("5135"),o=n("e538"),i=n("9bf2").f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});a(t,e)||i(t,e,{value:o.f(e)})}},"74e8":function(e,t,n){"use strict";var r=n("23e7"),a=n("da84"),o=n("83ab"),i=n("8aa7"),s=n("ebb5"),c=n("621a"),l=n("19aa"),u=n("5c6c"),f=n("9112"),d=n("5e89"),p=n("50c4"),h=n("0b25"),m=n("182d"),g=n("a04b"),v=n("5135"),_=n("f5df"),b=n("861d"),y=n("d9b5"),x=n("7c73"),w=n("d2bb"),k=n("241c").f,S=n("a078"),A=n("b727").forEach,M=n("2626"),R=n("9bf2"),E=n("06cf"),T=n("69f3"),O=n("7156"),L=T.get,B=T.set,I=R.f,j=E.f,C=Math.round,P=a.RangeError,N=c.ArrayBuffer,H=c.DataView,F=s.NATIVE_ARRAY_BUFFER_VIEWS,D=s.TYPED_ARRAY_CONSTRUCTOR,U=s.TYPED_ARRAY_TAG,V=s.TypedArray,q=s.TypedArrayPrototype,$=s.aTypedArrayConstructor,z=s.isTypedArray,Y="BYTES_PER_ELEMENT",X="Wrong length",G=function(e,t){var n=0,r=t.length,a=new($(e))(r);while(r>n)a[n]=t[n++];return a},K=function(e,t){I(e,t,{get:function(){return L(this)[t]}})},W=function(e){var t;return e instanceof N||"ArrayBuffer"==(t=_(e))||"SharedArrayBuffer"==t},Z=function(e,t){return z(e)&&!y(t)&&t in e&&d(+t)&&t>=0},Q=function(e,t){return t=g(t),Z(e,t)?u(2,e[t]):j(e,t)},J=function(e,t,n){return t=g(t),!(Z(e,t)&&b(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?I(e,t,n):(e[t]=n.value,e)};o?(F||(E.f=Q,R.f=J,K(q,"buffer"),K(q,"byteOffset"),K(q,"byteLength"),K(q,"length")),r({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Q,defineProperty:J}),e.exports=function(e,t,n){var o=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",c="get"+e,u="set"+e,d=a[s],g=d,v=g&&g.prototype,_={},y=function(e,t){var n=L(e);return n.view[c](t*o+n.byteOffset,!0)},R=function(e,t,r){var a=L(e);n&&(r=(r=C(r))<0?0:r>255?255:255&r),a.view[u](t*o+a.byteOffset,r,!0)},E=function(e,t){I(e,t,{get:function(){return y(this,t)},set:function(e){return R(this,t,e)},enumerable:!0})};F?i&&(g=t((function(e,t,n,r){return l(e,g,s),O(function(){return b(t)?W(t)?void 0!==r?new d(t,m(n,o),r):void 0!==n?new d(t,m(n,o)):new d(t):z(t)?G(g,t):S.call(g,t):new d(h(t))}(),e,g)})),w&&w(g,V),A(k(d),(function(e){e in g||f(g,e,d[e])})),g.prototype=v):(g=t((function(e,t,n,r){l(e,g,s);var a,i,c,u=0,f=0;if(b(t)){if(!W(t))return z(t)?G(g,t):S.call(g,t);a=t,f=m(n,o);var d=t.byteLength;if(void 0===r){if(d%o)throw P(X);if(i=d-f,i<0)throw P(X)}else if(i=p(r)*o,i+f>d)throw P(X);c=i/o}else c=h(t),i=c*o,a=new N(i);B(e,{buffer:a,byteOffset:f,byteLength:i,length:c,view:new H(a)});while(u<c)E(e,u++)})),w&&w(g,V),v=g.prototype=x(q)),v.constructor!==g&&f(v,"constructor",g),f(v,D,g),U&&f(v,U,s),_[s]=g,r({global:!0,forced:g!=d,sham:!F},_),Y in g||f(g,Y,o),Y in v||f(v,Y,o),M(s)}):e.exports=function(){}},"74fe":function(e,t,n){e.exports=n("2d78")},7656:function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n("46f3"),a=n("254c"),o=(0,r.createTokenClass)();function i(e){var t=e?{v:e}:{};return(0,a.inherits)(o,(0,r.createTokenClass)(),t)}o.prototype={toString:function(){return this.v+""}};var s=i(),c=i("@"),l=i(":"),u=i("."),f=i(),d=i(),p=i("\n"),h=i(),m=i("+"),g=i("#"),v=i(),_=i("mailto:"),b=i("?"),y=i("/"),x=i("_"),w=i(),k=i(),S=i(),A=i("{"),M=i("["),R=i("<"),E=i("("),T=i("}"),O=i("]"),L=i(">"),B=i(")"),I=i("&");t.Base=o,t.DOMAIN=s,t.AT=c,t.COLON=l,t.DOT=u,t.PUNCTUATION=f,t.LOCALHOST=d,t.NL=p,t.NUM=h,t.PLUS=m,t.POUND=g,t.QUERY=b,t.PROTOCOL=v,t.MAILTO=_,t.SLASH=y,t.UNDERSCORE=x,t.SYM=w,t.TLD=k,t.WS=S,t.OPENBRACE=A,t.OPENBRACKET=M,t.OPENANGLEBRACKET=R,t.OPENPAREN=E,t.CLOSEBRACE=T,t.CLOSEBRACKET=O,t.CLOSEANGLEBRACKET=L,t.CLOSEPAREN=B,t.AMPERSAND=I},"77a7":function(e,t){var n=Math.abs,r=Math.pow,a=Math.floor,o=Math.log,i=Math.LN2,s=function(e,t,s){var c,l,u,f=new Array(s),d=8*s-t-1,p=(1<<d)-1,h=p>>1,m=23===t?r(2,-24)-r(2,-77):0,g=e<0||0===e&&1/e<0?1:0,v=0;for(e=n(e),e!=e||e===1/0?(l=e!=e?1:0,c=p):(c=a(o(e)/i),e*(u=r(2,-c))<1&&(c--,u*=2),e+=c+h>=1?m/u:m*r(2,1-h),e*u>=2&&(c++,u/=2),c+h>=p?(l=0,c=p):c+h>=1?(l=(e*u-1)*r(2,t),c+=h):(l=e*r(2,h-1)*r(2,t),c=0));t>=8;f[v++]=255&l,l/=256,t-=8);for(c=c<<t|l,d+=t;d>0;f[v++]=255&c,c/=256,d-=8);return f[--v]|=128*g,f},c=function(e,t){var n,a=e.length,o=8*a-t-1,i=(1<<o)-1,s=i>>1,c=o-7,l=a-1,u=e[l--],f=127&u;for(u>>=7;c>0;f=256*f+e[l],l--,c-=8);for(n=f&(1<<-c)-1,f>>=-c,c+=t;c>0;n=256*n+e[l],l--,c-=8);if(0===f)f=1-s;else{if(f===i)return n?NaN:u?-1/0:1/0;n+=r(2,t),f-=s}return(u?-1:1)*n*r(2,f-t)};e.exports={pack:s,unpack:c}},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"785a":function(e,t,n){var r=n("cc12"),a=r("span").classList,o=a&&a.constructor&&a.constructor.prototype;e.exports=o===Object.prototype?void 0:o},"7a82":function(e,t,n){var r=n("23e7"),a=n("83ab"),o=n("9bf2");r({target:"Object",stat:!0,forced:!a,sham:!a},{defineProperty:o.f})},"7b0b":function(e,t,n){var r=n("1d80");e.exports=function(e){return Object(r(e))}},"7c73":function(e,t,n){var r,a=n("825a"),o=n("37e8"),i=n("7839"),s=n("d012"),c=n("1be4"),l=n("cc12"),u=n("f772"),f=">",d="<",p="prototype",h="script",m=u("IE_PROTO"),g=function(){},v=function(e){return d+h+f+e+d+"/"+h+f},_=function(e){e.write(v("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e,t=l("iframe"),n="java"+h+":";return t.style.display="none",c.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(v("document.F=Object")),e.close(),e.F},y=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}y="undefined"!=typeof document?document.domain&&r?_(r):b():_(r);var e=i.length;while(e--)delete y[p][i[e]];return y()};s[m]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[p]=a(e),n=new g,g[p]=null,n[m]=e):n=y(),void 0===t?n:o(n,t)}},"7db0":function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").find,o=n("44d2"),i="find",s=!0;i in[]&&Array(1)[i]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o(i)},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),a=n("c430"),o=n("5e77"),i=n("1626"),s=n("9ed3"),c=n("e163"),l=n("d2bb"),u=n("d44e"),f=n("9112"),d=n("6eeb"),p=n("b622"),h=n("3f8c"),m=n("ae93"),g=o.PROPER,v=o.CONFIGURABLE,_=m.IteratorPrototype,b=m.BUGGY_SAFARI_ITERATORS,y=p("iterator"),x="keys",w="values",k="entries",S=function(){return this};e.exports=function(e,t,n,o,p,m,A){s(n,t,o);var M,R,E,T=function(e){if(e===p&&j)return j;if(!b&&e in B)return B[e];switch(e){case x:return function(){return new n(this,e)};case w:return function(){return new n(this,e)};case k:return function(){return new n(this,e)}}return function(){return new n(this)}},O=t+" Iterator",L=!1,B=e.prototype,I=B[y]||B["@@iterator"]||p&&B[p],j=!b&&I||T(p),C="Array"==t&&B.entries||I;if(C&&(M=c(C.call(new e)),M!==Object.prototype&&M.next&&(a||c(M)===_||(l?l(M,_):i(M[y])||d(M,y,S)),u(M,O,!0,!0),a&&(h[O]=S))),g&&p==w&&I&&I.name!==w&&(!a&&v?f(B,"name",w):(L=!0,j=function(){return I.call(this)})),p)if(R={values:T(w),keys:m?j:T(x),entries:T(k)},A)for(E in R)(b||L||!(E in B))&&d(B,E,R[E]);else r({target:t,proto:!0,forced:b||L},R);return a&&!A||B[y]===j||d(B,y,j,{name:p}),h[t]=j,R}},"7e12":function(e,t,n){var r=n("da84"),a=n("d039"),o=n("577e"),i=n("58a8").trim,s=n("5899"),c=r.parseFloat,l=r.Symbol,u=l&&l.iterator,f=1/c(s+"-0")!==-1/0||u&&!a((function(){c(Object(u))}));e.exports=f?function(e){var t=i(o(e)),n=c(t);return 0===n&&"-"==t.charAt(0)?-0:n}:c},"7f9a":function(e,t,n){var r=n("da84"),a=n("1626"),o=n("8925"),i=r.WeakMap;e.exports=a(i)&&/native code/.test(o(i))},8100:function(e,t,n){var r=n("0206"),a=(r.System,r.VbrMode,r.Float,r.ShortBlock,r.Util),o=(r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),i=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n("4b5e"));function s(){var e=o(i.BLKSIZE),t=o(i.BLKSIZE_s/2),n=[.9238795325112867,.3826834323650898,.9951847266721969,.0980171403295606,.9996988186962042,.02454122852291229,.9999811752826011,.006135884649154475];function r(e,t,r){var o,i,s,c=0;r<<=1;var l=t+r;o=4;do{var u,f,d,p,h,m,g;g=o>>1,p=o,h=o<<1,m=h+p,o=h<<1,i=t,s=i+g;do{k=e[i+0]-e[i+p],w=e[i+0]+e[i+p],R=e[i+h]-e[i+m],A=e[i+h]+e[i+m],e[i+h]=w-A,e[i+0]=w+A,e[i+m]=k-R,e[i+p]=k+R,k=e[s+0]-e[s+p],w=e[s+0]+e[s+p],R=a.SQRT2*e[s+m],A=a.SQRT2*e[s+h],e[s+h]=w-A,e[s+0]=w+A,e[s+m]=k-R,e[s+p]=k+R,s+=o,i+=o}while(i<l);for(f=n[c+0],u=n[c+1],d=1;d<g;d++){var v,_;v=1-2*u*u,_=2*u*f,i=t+d,s=t+p-d;do{var b,y,x,w,k,S,A,M,R,E;y=_*e[i+p]-v*e[s+p],b=v*e[i+p]+_*e[s+p],k=e[i+0]-b,w=e[i+0]+b,S=e[s+0]-y,x=e[s+0]+y,y=_*e[i+m]-v*e[s+m],b=v*e[i+m]+_*e[s+m],R=e[i+h]-b,A=e[i+h]+b,E=e[s+h]-y,M=e[s+h]+y,y=u*A-f*E,b=f*A+u*E,e[i+h]=w-b,e[i+0]=w+b,e[s+m]=S-y,e[s+p]=S+y,y=f*M-u*R,b=u*M+f*R,e[s+h]=x-b,e[s+0]=x+b,e[i+m]=k-y,e[i+p]=k+y,s+=o,i+=o}while(i<l);v=f,f=v*n[c+0]-u*n[c+1],u=v*n[c+1]+u*n[c+0]}c+=2}while(o<r)}var s=[0,128,64,192,32,160,96,224,16,144,80,208,48,176,112,240,8,136,72,200,40,168,104,232,24,152,88,216,56,184,120,248,4,132,68,196,36,164,100,228,20,148,84,212,52,180,116,244,12,140,76,204,44,172,108,236,28,156,92,220,60,188,124,252,2,130,66,194,34,162,98,226,18,146,82,210,50,178,114,242,10,138,74,202,42,170,106,234,26,154,90,218,58,186,122,250,6,134,70,198,38,166,102,230,22,150,86,214,54,182,118,246,14,142,78,206,46,174,110,238,30,158,94,222,62,190,126,254];this.fft_short=function(e,n,a,o,c){for(var l=0;l<3;l++){var u=i.BLKSIZE_s/2,f=65535&192*(l+1),d=i.BLKSIZE_s/8-1;do{var p,h,m,g,v,_=255&s[d<<2];p=t[_]*o[a][c+_+f],v=t[127-_]*o[a][c+_+f+128],h=p-v,p+=v,m=t[_+64]*o[a][c+_+f+64],v=t[63-_]*o[a][c+_+f+192],g=m-v,m+=v,u-=4,n[l][u+0]=p+m,n[l][u+2]=p-m,n[l][u+1]=h+g,n[l][u+3]=h-g,p=t[_+1]*o[a][c+_+f+1],v=t[126-_]*o[a][c+_+f+129],h=p-v,p+=v,m=t[_+65]*o[a][c+_+f+65],v=t[62-_]*o[a][c+_+f+193],g=m-v,m+=v,n[l][u+i.BLKSIZE_s/2+0]=p+m,n[l][u+i.BLKSIZE_s/2+2]=p-m,n[l][u+i.BLKSIZE_s/2+1]=h+g,n[l][u+i.BLKSIZE_s/2+3]=h-g}while(--d>=0);r(n[l],u,i.BLKSIZE_s/2)}},this.fft_long=function(t,n,a,o,c){var l=i.BLKSIZE/8-1,u=i.BLKSIZE/2;do{var f,d,p,h,m,g=255&s[l];f=e[g]*o[a][c+g],m=e[g+512]*o[a][c+g+512],d=f-m,f+=m,p=e[g+256]*o[a][c+g+256],m=e[g+768]*o[a][c+g+768],h=p-m,p+=m,u-=4,n[u+0]=f+p,n[u+2]=f-p,n[u+1]=d+h,n[u+3]=d-h,f=e[g+1]*o[a][c+g+1],m=e[g+513]*o[a][c+g+513],d=f-m,f+=m,p=e[g+257]*o[a][c+g+257],m=e[g+769]*o[a][c+g+769],h=p-m,p+=m,n[u+i.BLKSIZE/2+0]=f+p,n[u+i.BLKSIZE/2+2]=f-p,n[u+i.BLKSIZE/2+1]=d+h,n[u+i.BLKSIZE/2+3]=d-h}while(--l>=0);r(n,u,i.BLKSIZE/2)},this.init_fft=function(n){for(var r=0;r<i.BLKSIZE;r++)e[r]=.42-.5*Math.cos(2*Math.PI*(r+.5)/i.BLKSIZE)+.08*Math.cos(4*Math.PI*(r+.5)/i.BLKSIZE);for(r=0;r<i.BLKSIZE_s/2;r++)t[r]=.5*(1-Math.cos(2*Math.PI*(r+.5)/i.BLKSIZE_s))}}e.exports=s},"81d5":function(e,t,n){"use strict";var r=n("7b0b"),a=n("23cb"),o=n("50c4");e.exports=function(e){var t=r(this),n=o(t.length),i=arguments.length,s=a(i>1?arguments[1]:void 0,n),c=i>2?arguments[2]:void 0,l=void 0===c?n:a(c,n);while(l>s)t[s++]=e;return t}},"825a":function(e,t,n){var r=n("861d");e.exports=function(e){if(r(e))return e;throw TypeError(String(e)+" is not an object")}},"82f8":function(e,t,n){"use strict";var r=n("ebb5"),a=n("4d64").includes,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("includes",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("a04b"),a=n("9bf2"),o=n("5c6c");e.exports=function(e,t,n){var i=r(t);i in e?a.f(e,i,o(0,n)):e[i]=n}},"841c":function(e,t,n){"use strict";var r=n("d784"),a=n("825a"),o=n("1d80"),i=n("129f"),s=n("577e"),c=n("dc4a"),l=n("14c3");r("search",(function(e,t,n){return[function(t){var n=o(this),r=void 0==t?void 0:c(t,e);return r?r.call(t,n):new RegExp(t)[e](s(n))},function(e){var r=a(this),o=s(e),c=n(t,r,o);if(c.done)return c.value;var u=r.lastIndex;i(u,0)||(r.lastIndex=0);var f=l(r,o);return i(r.lastIndex,u)||(r.lastIndex=u),null===f?-1:f.index}]}))},"857a":function(e,t,n){var r=n("1d80"),a=n("577e"),o=/"/g;e.exports=function(e,t,n,i){var s=a(r(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+a(i).replace(o,"&quot;")+'"'),c+">"+s+"</"+t+">"}},"85f6":function(e,t,n){"use strict";n.r(t);var r=n("c023");for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a)},"861d":function(e,t,n){var r=n("1626");e.exports=function(e){return"object"===typeof e?null!==e:r(e)}},"874e":function(e,t,n){"use strict";(function(e){var t=n("da58");function r(){}function a(e){return e()}function o(){return Object.create(null)}function i(e){e.forEach(a)}function s(e){return"function"===typeof e}function c(e,t){return e!=e?t==t:e!==t||e&&"object"===typeof e||"function"===typeof e}let l,u;function f(e,t){return l||(l=document.createElement("a")),l.href=t,e===l.href}function d(e){return 0===Object.keys(e).length}function p(e){return e&&s(e.destroy)?e.destroy:r}function h(e,t){e.appendChild(t)}function m(e,t,n){e.insertBefore(t,n||null)}function g(e){e.parentNode.removeChild(e)}function v(e){return document.createElement(e)}function _(e){return document.createTextNode(e)}function b(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function y(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function x(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function w(e,t){e.value=null==t?"":t}function k(e,t,n,r){e.style.setProperty(t,n,r?"important":"")}function S(e){u=e}const A=[],M=[],R=[],E=[],T=Promise.resolve();let O=!1;function L(){O||(O=!0,T.then(P))}function B(){return L(),T}function I(e){R.push(e)}let j=!1;const C=new Set;function P(){if(!j){j=!0;do{for(let e=0;e<A.length;e+=1){const t=A[e];S(t),N(t.$$)}S(null),A.length=0;while(M.length)M.pop()();for(let e=0;e<R.length;e+=1){const t=R[e];C.has(t)||(C.add(t),t())}R.length=0}while(A.length);while(E.length)E.pop()();O=!1,j=!1,C.clear()}}function N(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(I)}}const H=new Set;function F(e,t){e&&e.i&&(H.delete(e),e.i(t))}const D="undefined"!==typeof window?window:"undefined"!==typeof globalThis?globalThis:e;function U(e,t){e.d(1),t.delete(e.key)}function V(e,t,n,r,a,o,i,s,c,l,u,f){let d=e.length,p=o.length,h=d;const m={};while(h--)m[e[h].key]=h;const g=[],v=new Map,_=new Map;h=p;while(h--){const e=f(a,o,h),s=n(e);let c=i.get(s);c?r&&c.p(e,t):(c=l(s,e),c.c()),v.set(s,g[h]=c),s in m&&_.set(s,Math.abs(h-m[s]))}const b=new Set,y=new Set;function x(e){F(e,1),e.m(s,u),i.set(e.key,e),u=e.first,p--}while(d&&p){const t=g[p-1],n=e[d-1],r=t.key,a=n.key;t===n?(u=t.first,d--,p--):v.has(a)?!i.has(r)||b.has(r)?x(t):y.has(a)?d--:_.get(r)>_.get(a)?(y.add(r),x(t)):(b.add(a),d--):(c(n,i),d--)}while(d--){const t=e[d];v.has(t.key)||c(t,i)}while(p)x(g[p-1]);return g}function q(e,t,n,r){const{fragment:o,on_mount:c,on_destroy:l,after_update:u}=e.$$;o&&o.m(t,n),r||I(()=>{const t=c.map(a).filter(s);l?l.push(...t):i(t),e.$$.on_mount=[]}),u.forEach(I)}function $(e,t){const n=e.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function z(e,t){-1===e.$$.dirty[0]&&(A.push(e),L(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Y(e,t,n,a,s,c,l,f=[-1]){const d=u;S(e);const p=e.$$={fragment:null,ctx:null,props:c,update:r,not_equal:s,bound:o(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(d?d.$$.context:t.context||[]),callbacks:o(),dirty:f,skip_bound:!1,root:t.target||d.$$.root};l&&l(p.root);let h=!1;p.ctx=n?n(e,t.props||{},(t,n,...r)=>{const a=r.length?r[0]:n;return p.ctx&&s(p.ctx[t],p.ctx[t]=a)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](a),h&&z(e,t)),n}):[],p.update(),h=!0,i(p.before_update),p.fragment=!!a&&a(p.ctx),t.target&&(p.fragment&&p.fragment.c(),t.intro&&F(e.$$.fragment),q(e,t.target,t.anchor,t.customElement),P()),S(d)}class X{$destroy(){$(this,1),this.$destroy=r}$on(e,t){const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){this.$$set&&!d(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const G=[[-1,"✨","custom"],[0,"😀","smileys-emotion"],[1,"👋","people-body"],[3,"🐱","animals-nature"],[4,"🍎","food-drink"],[5,"🏠️","travel-places"],[6,"⚽","activities"],[7,"📝","objects"],[8,"⛔️","symbols"],[9,"🏁","flags"]].map(([e,t,n])=>({id:e,emoji:t,name:n})),K=G.slice(1),W=G[0],Z=2,Q=6,J="function"===typeof requestIdleCallback?requestIdleCallback:setTimeout;function ee(e){return e.unicode.includes("‍")}const te={"🥲":13.1,"🥻":12.1,"🥰":11,"🤩":5,"👱‍♀️":4,"🤣":3,"👁️‍🗨️":2,"😀":1,"😐️":.7,"😃":.6},ne=1e3,re="🖐️",ae=8,oe=["😊","😒","♥️","👍️","😍","😂","😭","☺️","😔","😩","😏","💕","🙌","😘"],ie='"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Twemoji Mozilla","Noto Color Emoji","EmojiOne Color","Android Emoji",sans-serif',se=(e,t)=>e<t?-1:e>t?1:0,ce=(e,t)=>{const n=document.createElement("canvas");n.width=n.height=1;const r=n.getContext("2d");return r.textBaseline="top",r.font="100px "+ie,r.fillStyle=t,r.scale(.01,.01),r.fillText(e,0,0),r.getImageData(0,0,1,1).data},le=(e,t)=>{const n=[...e].join(","),r=[...t].join(",");return n===r&&!n.startsWith("0,0,0,")};function ue(e){const t=ce(e,"#000"),n=ce(e,"#fff");return t&&n&&le(t,n)}function fe(){const e=Object.entries(te);try{for(const[t,n]of e)if(ue(t))return n}catch(t){}return e[0][1]}const de=new Promise(e=>J(()=>e(fe()))),pe=new Map,he="️",me="\ud83c",ge="‍",ve=127995,_e=57339;function be(e,t){if(0===t)return e;const n=e.indexOf(ge);return-1!==n?e.substring(0,n)+String.fromCodePoint(ve+t-1)+e.substring(n):(e.endsWith(he)&&(e=e.substring(0,e.length-1)),e+me+String.fromCodePoint(_e+t-1))}function ye(e){e.preventDefault(),e.stopPropagation()}function xe(e,t,n){return t+=e?-1:1,t<0?t=n.length-1:t>=n.length&&(t=0),t}function we(e,t){const n=new Set,r=[];for(const a of e){const e=t(a);n.has(e)||(n.add(e),r.push(a))}return r}function ke(e,t){const n=e=>{const n={};for(const r of e)"number"===typeof r.tone&&r.version<=t&&(n[r.tone]=r.unicode);return n};return e.map(({unicode:e,skins:t,shortcodes:r,url:a,name:o,category:i})=>({unicode:e,name:o,shortcodes:r,url:a,category:i,id:e||o,skins:t&&n(t),title:(r||[]).join(", ")}))}const Se=requestAnimationFrame;let Ae,Me="function"===typeof ResizeObserver;function Re(e,t){let n;return Me?(n=new ResizeObserver(e=>t(e[0].contentRect.width)),n.observe(e)):Se(()=>t(e.getBoundingClientRect().width)),{destroy(){n&&n.disconnect()}}}function Ee(e){{const t=document.createRange();return t.selectNode(e.firstChild),t.getBoundingClientRect().width}}function Te(e,t,n){for(const r of e){const e=n(r),a=Ee(e);"undefined"===typeof Ae&&(Ae=Ee(t));const o=a/1.8<Ae;pe.set(r.unicode,o)}}function Oe(e){return we(e,e=>e)}const{Map:Le}=D;function Be(e,t,n){const r=e.slice();return r[63]=t[n],r[65]=n,r}function Ie(e,t,n){const r=e.slice();return r[66]=t[n],r[65]=n,r}function je(e,t,n){const r=e.slice();return r[63]=t[n],r[65]=n,r}function Ce(e,t,n){const r=e.slice();return r[69]=t[n],r}function Pe(e,t,n){const r=e.slice();return r[72]=t[n],r[65]=n,r}function Ne(e,t){let n,r,a,o,i,s,c,l=t[72]+"";return{key:e,first:null,c(){n=v("div"),r=_(l),y(n,"id",a="skintone-"+t[65]),y(n,"class",o="emoji hide-focus "+(t[65]===t[20]?"active":"")),y(n,"aria-selected",i=t[65]===t[20]),y(n,"role","option"),y(n,"title",s=t[0].skinTones[t[65]]),y(n,"tabindex","-1"),y(n,"aria-label",c=t[0].skinTones[t[65]]),this.first=n},m(e,t){m(e,n,t),h(n,r)},p(e,u){t=e,512&u[0]&&l!==(l=t[72]+"")&&x(r,l),512&u[0]&&a!==(a="skintone-"+t[65])&&y(n,"id",a),1049088&u[0]&&o!==(o="emoji hide-focus "+(t[65]===t[20]?"active":""))&&y(n,"class",o),1049088&u[0]&&i!==(i=t[65]===t[20])&&y(n,"aria-selected",i),513&u[0]&&s!==(s=t[0].skinTones[t[65]])&&y(n,"title",s),513&u[0]&&c!==(c=t[0].skinTones[t[65]])&&y(n,"aria-label",c)},d(e){e&&g(n)}}}function He(e,t){let n,r,a,o,i,s,c,l,u,f=t[69].emoji+"";function d(){return t[49](t[69])}return{key:e,first:null,c(){n=v("button"),r=v("div"),a=_(f),y(r,"class","nav-emoji emoji"),y(n,"role","tab"),y(n,"class","nav-button"),y(n,"aria-controls",o="tab-"+t[69].id),y(n,"aria-label",i=t[0].categories[t[69].name]),y(n,"aria-selected",s=!t[4]&&t[13].id===t[69].id),y(n,"title",c=t[0].categories[t[69].name]),this.first=n},m(e,t){m(e,n,t),h(n,r),h(r,a),l||(u=b(n,"click",d),l=!0)},p(e,r){t=e,4096&r[0]&&f!==(f=t[69].emoji+"")&&x(a,f),4096&r[0]&&o!==(o="tab-"+t[69].id)&&y(n,"aria-controls",o),4097&r[0]&&i!==(i=t[0].categories[t[69].name])&&y(n,"aria-label",i),12304&r[0]&&s!==(s=!t[4]&&t[13].id===t[69].id)&&y(n,"aria-selected",s),4097&r[0]&&c!==(c=t[0].categories[t[69].name])&&y(n,"title",c)},d(e){e&&g(n),l=!1,u()}}}function Fe(e){let t,n;return{c(){t=v("img"),y(t,"class","custom-emoji"),f(t.src,n=e[63].url)||y(t,"src",n),y(t,"alt",""),y(t,"loading","lazy")},m(e,n){m(e,t,n)},p(e,r){32768&r[0]&&!f(t.src,n=e[63].url)&&y(t,"src",n)},d(e){e&&g(t)}}}function De(e){let t,n=e[27](e[63],e[8])+"";return{c(){t=_(n)},m(e,n){m(e,t,n)},p(e,r){33024&r[0]&&n!==(n=e[27](e[63],e[8])+"")&&x(t,n)},d(e){e&&g(t)}}}function Ue(e,t){let n,r,a,o,i,s,c;function l(e,t){return e[63].unicode?De:Fe}let u=l(t),f=u(t);return{key:e,first:null,c(){n=v("button"),f.c(),y(n,"role",r=t[4]?"option":"menuitem"),y(n,"aria-selected",a=t[4]?t[65]==t[5]:""),y(n,"aria-label",o=t[28](t[63],t[8])),y(n,"title",i=t[63].title),y(n,"class",s="emoji "+(t[4]&&t[65]===t[5]?"active":"")),y(n,"id",c="emo-"+t[63].id),this.first=n},m(e,t){m(e,n,t),f.m(n,null)},p(e,d){t=e,u===(u=l(t))&&f?f.p(t,d):(f.d(1),f=u(t),f&&(f.c(),f.m(n,null))),16&d[0]&&r!==(r=t[4]?"option":"menuitem")&&y(n,"role",r),32816&d[0]&&a!==(a=t[4]?t[65]==t[5]:"")&&y(n,"aria-selected",a),33024&d[0]&&o!==(o=t[28](t[63],t[8]))&&y(n,"aria-label",o),32768&d[0]&&i!==(i=t[63].title)&&y(n,"title",i),32816&d[0]&&s!==(s="emoji "+(t[4]&&t[65]===t[5]?"active":""))&&y(n,"class",s),32768&d[0]&&c!==(c="emo-"+t[63].id)&&y(n,"id",c)},d(e){e&&g(n),f.d()}}}function Ve(e,t){let n,r,a,o,i,s,c,l,u=(t[4]?t[0].searchResultsLabel:t[66].category?t[66].category:t[15].length>1?t[0].categories.custom:t[0].categories[t[13].name])+"",f=[],d=new Le,p=t[66].emojis;const b=e=>e[63].id;for(let h=0;h<p.length;h+=1){let e=je(t,p,h),n=b(e);d.set(n,f[h]=Ue(n,e))}return{key:e,first:null,c(){n=v("div"),r=_(u),i=v("div");for(let e=0;e<f.length;e+=1)f[e].c();y(n,"id",a="menu-label-"+t[65]),y(n,"class",o="category "+(1===t[15].length&&""===t[15][0].category?"gone":"")),y(n,"aria-hidden","true"),y(i,"class","emoji-menu"),y(i,"role",s=t[4]?"listbox":"menu"),y(i,"aria-labelledby",c="menu-label-"+t[65]),y(i,"id",l=t[4]?"search-results":""),this.first=n},m(e,t){m(e,n,t),h(n,r),m(e,i,t);for(let n=0;n<f.length;n+=1)f[n].m(i,null)},p(e,h){t=e,40977&h[0]&&u!==(u=(t[4]?t[0].searchResultsLabel:t[66].category?t[66].category:t[15].length>1?t[0].categories.custom:t[0].categories[t[13].name])+"")&&x(r,u),32768&h[0]&&a!==(a="menu-label-"+t[65])&&y(n,"id",a),32768&h[0]&&o!==(o="category "+(1===t[15].length&&""===t[15][0].category?"gone":""))&&y(n,"class",o),402686256&h[0]&&(p=t[66].emojis,f=V(f,h,b,1,t,p,d,i,U,Ue,null,je)),16&h[0]&&s!==(s=t[4]?"listbox":"menu")&&y(i,"role",s),32768&h[0]&&c!==(c="menu-label-"+t[65])&&y(i,"aria-labelledby",c),16&h[0]&&l!==(l=t[4]?"search-results":"")&&y(i,"id",l)},d(e){e&&g(n),e&&g(i);for(let t=0;t<f.length;t+=1)f[t].d()}}}function qe(e){let t,n;return{c(){t=v("img"),y(t,"class","custom-emoji"),f(t.src,n=e[63].url)||y(t,"src",n),y(t,"alt",""),y(t,"loading","lazy")},m(e,n){m(e,t,n)},p(e,r){1024&r[0]&&!f(t.src,n=e[63].url)&&y(t,"src",n)},d(e){e&&g(t)}}}function $e(e){let t,n=e[27](e[63],e[8])+"";return{c(){t=_(n)},m(e,n){m(e,t,n)},p(e,r){1280&r[0]&&n!==(n=e[27](e[63],e[8])+"")&&x(t,n)},d(e){e&&g(t)}}}function ze(e,t){let n,r,a,o;function i(e,t){return e[63].unicode?$e:qe}let s=i(t),c=s(t);return{key:e,first:null,c(){n=v("button"),c.c(),y(n,"role","menuitem"),y(n,"aria-label",r=t[28](t[63],t[8])),y(n,"title",a=t[63].title),y(n,"class","emoji"),y(n,"id",o="fav-"+t[63].id),this.first=n},m(e,t){m(e,n,t),c.m(n,null)},p(e,l){t=e,s===(s=i(t))&&c?c.p(t,l):(c.d(1),c=s(t),c&&(c.c(),c.m(n,null))),1280&l[0]&&r!==(r=t[28](t[63],t[8]))&&y(n,"aria-label",r),1024&l[0]&&a!==(a=t[63].title)&&y(n,"title",a),1024&l[0]&&o!==(o="fav-"+t[63].id)&&y(n,"id",o)},d(e){e&&g(n),c.d()}}}function Ye(e){let t,n,a,o,s,c,l,u,f,d,S,A,M,R,E,T,O,L,B,I,j,C,P,N,H,F,D,q,$,z,Y,X,G,K,W,Z,Q,J,ee,te,ne,re,ae,oe,ie=e[0].searchLabel+"",se=e[0].searchDescription+"",ce=e[0].skinToneDescription+"",le=[],ue=new Le,fe=[],de=new Le,pe=[],he=new Le,me=[],ge=new Le,ve=e[9];const _e=e=>e[72];for(let r=0;r<ve.length;r+=1){let t=Pe(e,ve,r),n=_e(t);ue.set(n,le[r]=Ne(n,t))}let be=e[12];const ye=e=>e[69].id;for(let r=0;r<be.length;r+=1){let t=Ce(e,be,r),n=ye(t);de.set(n,fe[r]=He(n,t))}let xe=e[15];const we=e=>e[66].category;for(let r=0;r<xe.length;r+=1){let t=Ie(e,xe,r),n=we(t);he.set(n,pe[r]=Ve(n,t))}let ke=e[10];const Se=e=>e[63].id;for(let r=0;r<ke.length;r+=1){let t=Be(e,ke,r),n=Se(t);ge.set(n,me[r]=ze(n,t))}return{c(){t=v("section"),n=v("div"),a=v("div"),o=v("div"),s=v("input"),f=v("label"),d=_(ie),S=v("span"),A=_(se),M=v("div"),R=v("button"),E=_(e[21]),L=v("span"),B=_(ce),I=v("div");for(let e=0;e<le.length;e+=1)le[e].c();H=v("div");for(let e=0;e<fe.length;e+=1)fe[e].c();D=v("div"),q=v("div"),$=v("div"),z=_(e[18]),X=v("div"),G=v("div");for(let e=0;e<pe.length;e+=1)pe[e].c();J=v("div");for(let e=0;e<me.length;e+=1)me[e].c();ne=v("button"),ne.textContent="😀",y(n,"class","pad-top"),y(s,"id","search"),y(s,"class","search"),y(s,"type","search"),y(s,"role","combobox"),y(s,"enterkeyhint","search"),y(s,"placeholder",c=e[0].searchLabel),y(s,"autocapitalize","none"),y(s,"autocomplete","off"),y(s,"spellcheck","true"),y(s,"aria-expanded",l=!(!e[4]||!e[1].length)),y(s,"aria-controls","search-results"),y(s,"aria-owns","search-results"),y(s,"aria-describedby","search-description"),y(s,"aria-autocomplete","list"),y(s,"aria-activedescendant",u=e[26]?"emo-"+e[26]:""),y(f,"class","sr-only"),y(f,"for","search"),y(S,"id","search-description"),y(S,"class","sr-only"),y(o,"class","search-wrapper"),y(R,"id","skintone-button"),y(R,"class",T="emoji "+(e[6]?"hide-focus":"")),y(R,"aria-label",e[23]),y(R,"title",e[23]),y(R,"aria-describedby","skintone-description"),y(R,"aria-haspopup","listbox"),y(R,"aria-expanded",e[6]),y(R,"aria-controls","skintone-list"),y(M,"class",O="skintone-button-wrapper "+(e[19]?"expanded":"")),y(L,"id","skintone-description"),y(L,"class","sr-only"),y(I,"id","skintone-list"),y(I,"class",j="skintone-list "+(e[6]?"":"hidden no-animate")),k(I,"transform","translateY("+(e[6]?0:"calc(-1 * var(--num-skintones) * var(--total-emoji-size))")+")"),y(I,"role","listbox"),y(I,"aria-label",C=e[0].skinTonesLabel),y(I,"aria-activedescendant",P="skintone-"+e[20]),y(I,"aria-hidden",N=!e[6]),y(a,"class","search-row"),y(H,"class","nav"),y(H,"role","tablist"),k(H,"grid-template-columns","repeat("+e[12].length+", 1fr)"),y(H,"aria-label",F=e[0].categoriesLabel),y(q,"class","indicator"),k(q,"transform","translateX("+(e[24]?-1:1)*e[11]*100+"%)"),y(D,"class","indicator-wrapper"),y($,"class",Y="message "+(e[18]?"":"gone")),y($,"role","alert"),y($,"aria-live","polite"),y(X,"class",K="tabpanel "+(!e[14]||e[18]?"gone":"")),y(X,"role",W=e[4]?"region":"tabpanel"),y(X,"aria-label",Z=e[4]?e[0].searchResultsLabel:e[0].categories[e[13].name]),y(X,"id",Q=e[4]?"":"tab-"+e[13].id),y(X,"tabindex","0"),y(J,"class",ee="favorites emoji-menu "+(e[18]?"gone":"")),y(J,"role","menu"),y(J,"aria-label",te=e[0].favoritesLabel),k(J,"padding-inline-end",e[25]+"px"),y(ne,"aria-hidden","true"),y(ne,"tabindex","-1"),y(ne,"class","abs-pos hidden emoji"),y(t,"class","picker"),y(t,"aria-label",re=e[0].regionLabel),y(t,"style",e[22])},m(r,i){m(r,t,i),h(t,n),h(t,a),h(a,o),h(o,s),w(s,e[2]),h(o,f),h(f,d),h(o,S),h(S,A),h(a,M),h(M,R),h(R,E),h(a,L),h(L,B),h(a,I);for(let e=0;e<le.length;e+=1)le[e].m(I,null);e[48](I),h(t,H);for(let e=0;e<fe.length;e+=1)fe[e].m(H,null);h(t,D),h(D,q),h(t,$),h($,z),h(t,X),h(X,G);for(let e=0;e<pe.length;e+=1)pe[e].m(G,null);e[50](X),h(t,J);for(let e=0;e<me.length;e+=1)me[e].m(J,null);h(t,ne),e[51](ne),e[52](t),ae||(oe=[b(s,"input",e[47]),b(s,"keydown",e[30]),b(R,"click",e[35]),b(I,"focusout",e[38]),b(I,"click",e[34]),b(I,"keydown",e[36]),b(I,"keyup",e[37]),b(H,"keydown",e[32]),p(e[29].call(null,G)),b(X,"click",e[33]),b(J,"click",e[33])],ae=!0)},p(e,n){1&n[0]&&c!==(c=e[0].searchLabel)&&y(s,"placeholder",c),18&n[0]&&l!==(l=!(!e[4]||!e[1].length))&&y(s,"aria-expanded",l),67108864&n[0]&&u!==(u=e[26]?"emo-"+e[26]:"")&&y(s,"aria-activedescendant",u),4&n[0]&&w(s,e[2]),1&n[0]&&ie!==(ie=e[0].searchLabel+"")&&x(d,ie),1&n[0]&&se!==(se=e[0].searchDescription+"")&&x(A,se),2097152&n[0]&&x(E,e[21]),64&n[0]&&T!==(T="emoji "+(e[6]?"hide-focus":""))&&y(R,"class",T),8388608&n[0]&&y(R,"aria-label",e[23]),8388608&n[0]&&y(R,"title",e[23]),64&n[0]&&y(R,"aria-expanded",e[6]),524288&n[0]&&O!==(O="skintone-button-wrapper "+(e[19]?"expanded":""))&&y(M,"class",O),1&n[0]&&ce!==(ce=e[0].skinToneDescription+"")&&x(B,ce),1049089&n[0]&&(ve=e[9],le=V(le,n,_e,1,e,ve,ue,I,U,Ne,null,Pe)),64&n[0]&&j!==(j="skintone-list "+(e[6]?"":"hidden no-animate"))&&y(I,"class",j),64&n[0]&&k(I,"transform","translateY("+(e[6]?0:"calc(-1 * var(--num-skintones) * var(--total-emoji-size))")+")"),1&n[0]&&C!==(C=e[0].skinTonesLabel)&&y(I,"aria-label",C),1048576&n[0]&&P!==(P="skintone-"+e[20])&&y(I,"aria-activedescendant",P),64&n[0]&&N!==(N=!e[6])&&y(I,"aria-hidden",N),12305&n[0]|1&n[1]&&(be=e[12],fe=V(fe,n,ye,1,e,be,de,H,U,He,null,Ce)),4096&n[0]&&k(H,"grid-template-columns","repeat("+e[12].length+", 1fr)"),1&n[0]&&F!==(F=e[0].categoriesLabel)&&y(H,"aria-label",F),16779264&n[0]&&k(q,"transform","translateX("+(e[24]?-1:1)*e[11]*100+"%)"),262144&n[0]&&x(z,e[18]),262144&n[0]&&Y!==(Y="message "+(e[18]?"":"gone"))&&y($,"class",Y),402694449&n[0]&&(xe=e[15],pe=V(pe,n,we,1,e,xe,he,G,U,Ve,null,Ie)),278528&n[0]&&K!==(K="tabpanel "+(!e[14]||e[18]?"gone":""))&&y(X,"class",K),16&n[0]&&W!==(W=e[4]?"region":"tabpanel")&&y(X,"role",W),8209&n[0]&&Z!==(Z=e[4]?e[0].searchResultsLabel:e[0].categories[e[13].name])&&y(X,"aria-label",Z),8208&n[0]&&Q!==(Q=e[4]?"":"tab-"+e[13].id)&&y(X,"id",Q),402654464&n[0]&&(ke=e[10],me=V(me,n,Se,1,e,ke,ge,J,U,ze,null,Be)),262144&n[0]&&ee!==(ee="favorites emoji-menu "+(e[18]?"gone":""))&&y(J,"class",ee),1&n[0]&&te!==(te=e[0].favoritesLabel)&&y(J,"aria-label",te),33554432&n[0]&&k(J,"padding-inline-end",e[25]+"px"),1&n[0]&&re!==(re=e[0].regionLabel)&&y(t,"aria-label",re),4194304&n[0]&&y(t,"style",e[22])},i:r,o:r,d(n){n&&g(t);for(let e=0;e<le.length;e+=1)le[e].d();e[48](null);for(let e=0;e<fe.length;e+=1)fe[e].d();for(let e=0;e<pe.length;e+=1)pe[e].d();e[50](null);for(let e=0;e<me.length;e+=1)me[e].d();e[51](null),e[52](null),ae=!1,i(oe)}}}function Xe(e,t,n){let r,a,o,i,s,c,l,u,f,d,{skinToneEmoji:p}=t,{i18n:h}=t,{database:m}=t,{customEmoji:g}=t,{customCategorySorting:v}=t,_=!0,b=[],y=[],x="",w="",k=!1,S=-1,A=!1,R=!1,E=0,T=0,O="",L=[],I=[],j=ae,C=!1,P=0,N=0,H=K,F=!1;const D=e=>{r.getRootNode().getElementById(e).focus()},U=(e,t)=>{r.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,composed:!0}))},V=(e,t)=>t&&e.skins&&e.skins[t]||e.unicode,q=(e,t)=>Oe([e.name||V(e,t),...e.shortcodes||[]]).join(", "),$=e=>/^skintone-/.test(e.id);function z(e){return Re(e,t=>{{const a=getComputedStyle(r),o=parseInt(a.getPropertyValue("--num-columns"),10),i="rtl"===a.getPropertyValue("direction"),s=e.parentElement.getBoundingClientRect().width,c=s-t;n(46,j=o),n(25,P=c),n(24,C=i)}})}function Y(e){const t=r.getRootNode(),o=e=>t.getElementById("emo-"+e.id);Te(e,a,o),n(1,b=b)}function X(e){return!e.unicode||!ee(e)||pe.get(e.unicode)}async function G(e){const t=await de;return e.filter(({version:e})=>!e||e<=t)}async function te(e){return ke(e,await de)}async function re(e){if("undefined"===typeof e)return[];const t=-1===e?g:await m.getEmojiByGroup(e);return te(await G(t))}async function se(e){return te(await G(await m.getEmojiBySearchQuery(e)))}function ce(e){if(!k||!b.length)return;const t=t=>{ye(e),n(5,S=xe(t,S,b))};switch(e.key){case"ArrowDown":return t(!1);case"ArrowUp":return t(!0);case"Enter":if(-1!==S)return ye(e),fe(b[S].id);b.length&&n(5,S=0)}}function le(e){n(2,x=""),n(44,w=""),n(5,S=-1),n(11,N=H.findIndex(t=>t.id===e.id))}function ue(e){const{target:t,key:n}=e,r=t=>{t&&(ye(e),t.focus())};switch(n){case"ArrowLeft":return r(t.previousSibling);case"ArrowRight":return r(t.nextSibling);case"Home":return r(t.parentElement.firstChild);case"End":return r(t.parentElement.lastChild)}}async function fe(e){const t=await m.getEmojiByUnicodeOrName(e),n=[...b,...I].find(t=>t.id===e),r=n.unicode&&V(n,E);await m.incrementFavoriteEmojiCount(e),U("emoji-click",{emoji:t,skinTone:E,...r&&{unicode:r},...n.name&&{name:n.name}})}async function he(e){const{target:t}=e;if(!t.classList.contains("emoji"))return;ye(e);const n=t.id.substring(4);fe(n)}async function me(e){const{target:t}=e;if(!$(t))return;ye(e);const r=parseInt(t.id.slice(9),10);n(8,E=r),n(6,A=!1),D("skintone-button"),U("skin-tone-change",{skinTone:r}),m.setPreferredSkinTone(r)}async function ge(e){n(6,A=!A),n(20,T=E),A&&(ye(e),Se(()=>D("skintone-"+T)))}function ve(e){if(!A)return;const t=async t=>{ye(e),n(20,T=t),await B(),D("skintone-"+T)};switch(e.key){case"ArrowUp":return t(xe(!0,T,L));case"ArrowDown":return t(xe(!1,T,L));case"Home":return t(0);case"End":return t(L.length-1);case"Enter":return me(e);case"Escape":return ye(e),n(6,A=!1),D("skintone-button")}}function _e(e){if(A)switch(e.key){case" ":return me(e)}}async function Ae(e){const{relatedTarget:t}=e;t&&$(t)||n(6,A=!1)}function Me(){x=this.value,n(2,x)}function Ee(e){M[e?"unshift":"push"](()=>{s=e,n(7,s)})}de.then(e=>{e||n(18,i=h.emojiUnsupportedMessage)});const Le=e=>le(e);function Be(e){M[e?"unshift":"push"](()=>{o=e,n(3,o)})}function Ie(e){M[e?"unshift":"push"](()=>{a=e,n(17,a)})}function je(e){M[e?"unshift":"push"](()=>{r=e,n(16,r)})}return e.$$set=e=>{"skinToneEmoji"in e&&n(40,p=e.skinToneEmoji),"i18n"in e&&n(0,h=e.i18n),"database"in e&&n(39,m=e.database),"customEmoji"in e&&n(41,g=e.customEmoji),"customCategorySorting"in e&&n(42,v=e.customCategorySorting)},e.$$.update=()=>{if(1280&e.$$.dirty[1]&&g&&m&&n(39,m.customEmoji=g,m),1&e.$$.dirty[0]|256&e.$$.dirty[1]){async function t(){let e=!1;const t=setTimeout(()=>{e=!0,n(18,i=h.loadingMessage)},ne);try{await m.ready(),n(14,F=!0)}catch(r){console.error(r),n(18,i=h.networkErrorMessage)}finally{clearTimeout(t),e&&(e=!1,n(18,i=""))}}m&&t()}if(4096&e.$$.dirty[0]|1024&e.$$.dirty[1]&&(g&&g.length?n(12,H=[W,...K]):H!==K&&n(12,H=K)),4&e.$$.dirty[0]&&J(()=>{n(44,w=(x||"").trim()),n(5,S=-1)}),6144&e.$$.dirty[0]&&n(13,f=H[N]),24576&e.$$.dirty[0]|8192&e.$$.dirty[1]){async function r(){if(F){if(w.length>=Z){const e=w,t=await se(e);e===w&&(n(1,b=t),n(4,k=!0))}else if(f){const e=f.id,t=await re(e);e===f.id&&(n(1,b=t),n(4,k=!1))}}else n(1,b=[]),n(4,k=!1)}r()}if(4112&e.$$.dirty[0]&&n(22,l=`\n  --font-family: ${ie};\n  --num-groups: ${H.length}; \n  --indicator-opacity: ${k?0:1}; \n  --num-skintones: ${Q};`),16384&e.$$.dirty[0]|256&e.$$.dirty[1]){async function a(){F&&n(8,E=await m.getPreferredSkinTone())}a()}if(512&e.$$.dirty[1]&&n(9,L=Array(Q).fill().map((e,t)=>be(p,t))),768&e.$$.dirty[0]&&n(21,c=L[E]),257&e.$$.dirty[0]&&n(23,O=h.skinToneLabel.replace("{skinTone}",h.skinTones[E])),16384&e.$$.dirty[0]|256&e.$$.dirty[1]){async function _(){n(45,u=(await Promise.all(oe.map(e=>m.getEmojiByUnicodeOrName(e)))).filter(Boolean))}F&&_()}if(16384&e.$$.dirty[0]|49408&e.$$.dirty[1]){async function M(){const e=await m.getTopFavoriteEmoji(j),t=await te(we([...e,...u],e=>e.unicode||e.name).slice(0,j));n(10,I=t)}F&&u&&M()}if(10&e.$$.dirty[0]){const e=b.filter(e=>e.unicode).filter(e=>ee(e)&&!pe.has(e.unicode));e.length?Se(()=>Y(e)):(n(1,b=b.filter(X)),Se(()=>{(o||{}).scrollTop=0}))}if(e.$$.dirty[0],e.$$.dirty[1],18&e.$$.dirty[0]|2048&e.$$.dirty[1]){function T(){if(k)return[{category:"",emojis:b}];const e=new Map;for(const t of b){const n=t.category||"";let r=e.get(n);r||(r=[],e.set(n,r)),r.push(t)}return[...e.entries()].map(([e,t])=>({category:e,emojis:t})).sort((e,t)=>v(e.category,t.category))}n(15,y=T())}34&e.$$.dirty[0]&&n(26,d=-1!==S&&b[S].id),192&e.$$.dirty[0]&&(A?s.addEventListener("transitionend",()=>{n(19,R=!0)},{once:!0}):n(19,R=!1))},[h,b,x,o,k,S,A,s,E,L,I,N,H,f,F,y,r,a,i,R,T,c,l,O,C,P,d,V,q,z,ce,le,ue,he,me,ge,ve,_e,Ae,m,p,g,v,_,w,u,j,Me,Ee,Le,Be,Ie,je]}class Ge extends X{constructor(e){super(),Y(this,e,Xe,Ye,c,{skinToneEmoji:40,i18n:0,database:39,customEmoji:41,customCategorySorting:42},null,[-1,-1,-1])}}const Ke="https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json",We="en";var Ze={categoriesLabel:"Categories",emojiUnsupportedMessage:"Your browser does not support color emoji.",favoritesLabel:"Favorites",loadingMessage:"Loading…",networkErrorMessage:"Could not load emoji.",regionLabel:"Emoji picker",searchDescription:"When search results are available, press up or down to select and enter to choose.",searchLabel:"Search",searchResultsLabel:"Search results",skinToneDescription:"When expanded, press up or down to select and enter to choose.",skinToneLabel:"Choose a skin tone (currently {skinTone})",skinTonesLabel:"Skin tones",skinTones:["Default","Light","Medium-Light","Medium","Medium-Dark","Dark"],categories:{custom:"Custom","smileys-emotion":"Smileys and emoticons","people-body":"People and body","animals-nature":"Animals and nature","food-drink":"Food and drink","travel-places":"Travel and places",activities:"Activities",objects:"Objects",symbols:"Symbols",flags:"Flags"}};const Qe=["customEmoji","customCategorySorting","database","dataSource","i18n","locale","skinToneEmoji"];class Je extends HTMLElement{constructor(e){super(),this.attachShadow({mode:"open"});const t=document.createElement("style");t.textContent=":host{--emoji-size:1.375rem;--emoji-padding:0.5rem;--category-emoji-size:var(--emoji-size);--category-emoji-padding:var(--emoji-padding);--indicator-height:3px;--input-border-radius:0.5rem;--input-border-size:1px;--input-font-size:1rem;--input-line-height:1.5;--input-padding:0.25rem;--num-columns:8;--outline-size:2px;--border-size:1px;--skintone-border-radius:1rem;--category-font-size:1rem;display:flex;width:min-content;height:400px}:host,:host(.light){--background:#fff;--border-color:#e0e0e0;--indicator-color:#385ac1;--input-border-color:#999;--input-font-color:#111;--input-placeholder-color:#999;--outline-color:#999;--category-font-color:#111;--button-active-background:#e6e6e6;--button-hover-background:#d9d9d9}:host(.dark){--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}@media (prefers-color-scheme:dark){:host{--background:#222;--border-color:#444;--indicator-color:#5373ec;--input-border-color:#ccc;--input-font-color:#efefef;--input-placeholder-color:#ccc;--outline-color:#fff;--category-font-color:#efefef;--button-active-background:#555555;--button-hover-background:#484848}}:host([hidden]){display:none}button{margin:0;padding:0;border:0;background:0 0;box-shadow:none;-webkit-tap-highlight-color:transparent}button::-moz-focus-inner{border:0}input{padding:0;margin:0;line-height:1.15;font-family:inherit}input[type=search]{-webkit-appearance:none}:focus{outline:var(--outline-color) solid var(--outline-size);outline-offset:calc(-1*var(--outline-size))}:host([data-js-focus-visible]) :focus:not([data-focus-visible-added]){outline:0}:focus:not(:focus-visible){outline:0}.hide-focus{outline:0}*{box-sizing:border-box}.picker{contain:content;display:flex;flex-direction:column;background:var(--background);border:var(--border-size) solid var(--border-color);width:100%;height:100%;overflow:hidden;--total-emoji-size:calc(var(--emoji-size) + (2 * var(--emoji-padding)));--total-category-emoji-size:calc(var(--category-emoji-size) + (2 * var(--category-emoji-padding)))}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.hidden{opacity:0;pointer-events:none}.abs-pos{position:absolute;left:0;top:0}.gone{display:none!important}.skintone-button-wrapper,.skintone-list{background:var(--background);z-index:3}.skintone-button-wrapper.expanded{z-index:1}.skintone-list{position:absolute;inset-inline-end:0;top:0;z-index:2;overflow:visible;border-bottom:var(--border-size) solid var(--border-color);border-radius:0 0 var(--skintone-border-radius) var(--skintone-border-radius);will-change:transform;transition:transform .2s ease-in-out;transform-origin:center 0}@media (prefers-reduced-motion:reduce){.skintone-list{transition-duration:.001s}}@supports not (inset-inline-end:0){.skintone-list{right:0}}.skintone-list.no-animate{transition:none}.tabpanel{overflow-y:auto;-webkit-overflow-scrolling:touch;will-change:transform;min-height:0;flex:1;contain:content}.emoji-menu{display:grid;grid-template-columns:repeat(var(--num-columns),var(--total-emoji-size));justify-content:space-around;align-items:flex-start;width:100%}.category{padding:var(--emoji-padding);font-size:var(--category-font-size);color:var(--category-font-color)}.custom-emoji,.emoji,button.emoji{height:var(--total-emoji-size);width:var(--total-emoji-size)}.emoji,button.emoji{font-size:var(--emoji-size);display:flex;align-items:center;justify-content:center;border-radius:100%;line-height:1;overflow:hidden;font-family:var(--font-family);cursor:pointer}@media (hover:hover)and (pointer:fine){.emoji:hover,button.emoji:hover{background:var(--button-hover-background)}}.emoji.active,.emoji:active,button.emoji.active,button.emoji:active{background:var(--button-active-background)}.custom-emoji{padding:var(--emoji-padding);object-fit:contain;pointer-events:none;background-repeat:no-repeat;background-position:center center;background-size:var(--emoji-size) var(--emoji-size)}.nav,.nav-button{align-items:center}.nav{display:grid;justify-content:space-between;contain:content}.nav-button{display:flex;justify-content:center}.nav-emoji{font-size:var(--category-emoji-size);width:var(--total-category-emoji-size);height:var(--total-category-emoji-size)}.indicator-wrapper{display:flex;border-bottom:1px solid var(--border-color)}.indicator{width:calc(100%/var(--num-groups));height:var(--indicator-height);opacity:var(--indicator-opacity);background-color:var(--indicator-color);will-change:transform,opacity;transition:opacity .1s linear,transform .25s ease-in-out}@media (prefers-reduced-motion:reduce){.indicator{will-change:opacity;transition:opacity .1s linear}}.pad-top,input.search{background:var(--background);width:100%}.pad-top{height:var(--emoji-padding);z-index:3}.search-row{display:flex;align-items:center;position:relative;padding-inline-start:var(--emoji-padding);padding-bottom:var(--emoji-padding)}.search-wrapper{flex:1;min-width:0}input.search{padding:var(--input-padding);border-radius:var(--input-border-radius);border:var(--input-border-size) solid var(--input-border-color);color:var(--input-font-color);font-size:var(--input-font-size);line-height:var(--input-line-height)}input.search::placeholder{color:var(--input-placeholder-color)}.favorites{display:flex;flex-direction:row;border-top:var(--border-size) solid var(--border-color);contain:content}.message{padding:var(--emoji-padding)}",this.shadowRoot.appendChild(t),this._ctx={locale:We,dataSource:Ke,skinToneEmoji:re,customCategorySorting:se,customEmoji:null,i18n:Ze,...e};for(const n of Qe)"database"!==n&&Object.prototype.hasOwnProperty.call(this,n)&&(this._ctx[n]=this[n],delete this[n]);this._dbFlush()}connectedCallback(){this._cmp=new Ge({target:this.shadowRoot,props:this._ctx})}disconnectedCallback(){this._cmp.$destroy(),this._cmp=void 0;const{database:e}=this._ctx;e&&e.close().catch(e=>console.error(e))}static get observedAttributes(){return["locale","data-source","skin-tone-emoji"]}attributeChangedCallback(e,t,n){this._set(e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase()),n)}_set(e,t){this._ctx[e]=t,this._cmp&&this._cmp.$set({[e]:t}),["locale","dataSource"].includes(e)&&this._dbFlush()}_dbCreate(){const{locale:e,dataSource:n,database:r}=this._ctx;r&&r.locale===e&&r.dataSource===n||this._set("database",new t["a"]({locale:e,dataSource:n}))}_dbFlush(){Promise.resolve().then(()=>this._dbCreate())}}const et={};for(const n of Qe)et[n]={get(){return"database"===n&&this._dbCreate(),this._ctx[n]},set(e){if("database"===n)throw new Error("database is read-only");this._set(n,e)}};Object.defineProperties(Je.prototype,et),customElements.define("emoji-picker",Je)}).call(this,n("c8ba"))},8875:function(e,t,n){var r,a,o;(function(n,i){a=[],r=i,o="function"===typeof r?r.apply(t,a):r,void 0===o||(e.exports=o)})("undefined"!==typeof self&&self,(function(){function e(){var t=Object.getOwnPropertyDescriptor(document,"currentScript");if(!t&&"currentScript"in document&&document.currentScript)return document.currentScript;if(t&&t.get!==e&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var n,r,a,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,s=o.exec(p.stack)||i.exec(p.stack),c=s&&s[1]||!1,l=s&&s[2]||!1,u=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");c===u&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(l-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),a=n.replace(r,"$1").trim());for(var d=0;d<f.length;d++){if("interactive"===f[d].readyState)return f[d];if(f[d].src===c)return f[d];if(c===u&&f[d].innerHTML&&f[d].innerHTML.trim()===a)return f[d]}return null}}return e}))},8925:function(e,t,n){var r=n("1626"),a=n("c6cd"),o=Function.toString;r(a.inspectSource)||(a.inspectSource=function(e){return o.call(e)}),e.exports=a.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"8aa7":function(e,t,n){var r=n("da84"),a=n("d039"),o=n("1c7e"),i=n("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!i||!a((function(){c(1)}))||!a((function(){new c(-1)}))||!o((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||a((function(){return 1!==new c(new s(2),1,void 0).length}))},"8b09":function(e,t,n){var r=n("74e8");r("Int16",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},"8bbf":function(e,t){e.exports=Vue},"8cba":function(e,t){function n(){var e="http://www.mp3dev.org/",t=3,n=98,r=4,a=0,o=93;this.getLameVersion=function(){return t+"."+n+"."+r},this.getLameShortVersion=function(){return t+"."+n+"."+r},this.getLameVeryShortVersion=function(){return"LAME"+t+"."+n+"r"},this.getPsyVersion=function(){return a+"."+o},this.getLameUrl=function(){return e},this.getLameOsBitness=function(){return"32bits"}}e.exports=n},"90e3":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},9112:function(e,t,n){var r=n("83ab"),a=n("9bf2"),o=n("5c6c");e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("577e"),a=n("ad6d"),o=n("9f7f"),i=n("5692"),s=n("7c73"),c=n("69f3").get,l=n("fce3"),u=n("107c"),f=RegExp.prototype.exec,d=i("native-string-replace",String.prototype.replace),p=f,h=function(){var e=/a/,t=/b*/g;return f.call(e,"a"),f.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),m=o.UNSUPPORTED_Y||o.BROKEN_CARET,g=void 0!==/()??/.exec("")[1],v=h||g||m||l||u;v&&(p=function(e){var t,n,o,i,l,u,v,_=this,b=c(_),y=r(e),x=b.raw;if(x)return x.lastIndex=_.lastIndex,t=p.call(x,y),_.lastIndex=x.lastIndex,t;var w=b.groups,k=m&&_.sticky,S=a.call(_),A=_.source,M=0,R=y;if(k&&(S=S.replace("y",""),-1===S.indexOf("g")&&(S+="g"),R=y.slice(_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&"\n"!==y.charAt(_.lastIndex-1))&&(A="(?: "+A+")",R=" "+R,M++),n=new RegExp("^(?:"+A+")",S)),g&&(n=new RegExp("^"+A+"$(?!\\s)",S)),h&&(o=_.lastIndex),i=f.call(k?n:_,R),k?i?(i.input=i.input.slice(M),i[0]=i[0].slice(M),i.index=_.lastIndex,_.lastIndex+=i[0].length):_.lastIndex=0:h&&i&&(_.lastIndex=_.global?i.index+i[0].length:o),g&&i&&i.length>1&&d.call(i[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(i[l]=void 0)})),i&&w)for(i.groups=u=s(null),l=0;l<w.length;l++)v=w[l],u[v[0]]=i[v[1]];return i}),e.exports=p},"947f":function(e,t,n){var r=n("67b2");function a(){this.class_id=0,this.num_samples=0,this.num_channels=0,this.in_samplerate=0,this.out_samplerate=0,this.scale=0,this.scale_left=0,this.scale_right=0,this.analysis=!1,this.bWriteVbrTag=!1,this.decode_only=!1,this.quality=0,this.mode=r.STEREO,this.force_ms=!1,this.free_format=!1,this.findReplayGain=!1,this.decode_on_the_fly=!1,this.write_id3tag_automatic=!1,this.brate=0,this.compression_ratio=0,this.copyright=0,this.original=0,this.extension=0,this.emphasis=0,this.error_protection=0,this.strict_ISO=!1,this.disable_reservoir=!1,this.quant_comp=0,this.quant_comp_short=0,this.experimentalY=!1,this.experimentalZ=0,this.exp_nspsytune=0,this.preset=0,this.VBR=null,this.VBR_q_frac=0,this.VBR_q=0,this.VBR_mean_bitrate_kbps=0,this.VBR_min_bitrate_kbps=0,this.VBR_max_bitrate_kbps=0,this.VBR_hard_min=0,this.lowpassfreq=0,this.highpassfreq=0,this.lowpasswidth=0,this.highpasswidth=0,this.maskingadjust=0,this.maskingadjust_short=0,this.ATHonly=!1,this.ATHshort=!1,this.noATH=!1,this.ATHtype=0,this.ATHcurve=0,this.ATHlower=0,this.athaa_type=0,this.athaa_loudapprox=0,this.athaa_sensitivity=0,this.short_blocks=null,this.useTemporal=!1,this.interChRatio=0,this.msfix=0,this.tune=!1,this.tune_value_a=0,this.version=0,this.encoder_delay=0,this.encoder_padding=0,this.framesize=0,this.frameNum=0,this.lame_allocated_gfp=0,this.internal_flags=null}e.exports=a},"94ca":function(e,t,n){var r=n("d039"),a=n("1626"),o=/#|\.prototype\./,i=function(e,t){var n=c[s(e)];return n==u||n!=l&&(a(t)?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"96cf":function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,a="function"===typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",s=a.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(B){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof g?t:g,o=Object.create(a.prototype),i=new T(r||[]);return o._invoke=A(e,n,i),o}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(B){return{type:"throw",arg:B}}}e.wrap=l;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",m={};function g(){}function v(){}function _(){}var b={};c(b,o,(function(){return this}));var y=Object.getPrototypeOf,x=y&&y(y(O([])));x&&x!==n&&r.call(x,o)&&(b=x);var w=_.prototype=g.prototype=Object.create(b);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(a,o,i,s){var c=u(e[a],e,o);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,i,s)}),(function(e){n("throw",e,i,s)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return n("throw",e,i,s)}))}s(c.arg)}var a;function o(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}this._invoke=o}function A(e,t,n){var r=f;return function(a,o){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===a)throw o;return L()}n.method=a,n.arg=o;while(1){var i=n.delegate;if(i){var s=M(i,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=u(e,t,n);if("normal"===c.type){if(r=n.done?h:d,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=h,n.method="throw",n.arg=c.arg)}}}function M(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,M(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var a=u(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,m;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function R(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 E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function O(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function n(){while(++a<e.length)if(r.call(e,a))return n.value=e[a],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:L}}function L(){return{value:t,done:!0}}return v.prototype=_,c(w,"constructor",_),c(_,"constructor",v),v.displayName=c(_,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,s,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},k(S.prototype),c(S.prototype,i,(function(){return this})),e.AsyncIterator=S,e.async=function(t,n,r,a,o){void 0===o&&(o=Promise);var i=new S(l(t,n,r,a),o);return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(w),c(w,s,"Generator"),c(w,o,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){while(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=O,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function a(r,a){return s.type="throw",s.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),l=r.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},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),m},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),E(n),m}},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 a=r.arg;E(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:O(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=r}catch(a){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},9828:function(e,t,n){var r=n("4b5e"),a={};a.SFBMAX=3*r.SBMAX_s,e.exports=a},9861:function(e,t,n){"use strict";n("e260");var r=n("23e7"),a=n("d066"),o=n("0d3b"),i=n("6eeb"),s=n("e2cc"),c=n("d44e"),l=n("9ed3"),u=n("69f3"),f=n("19aa"),d=n("1626"),p=n("5135"),h=n("0366"),m=n("f5df"),g=n("825a"),v=n("861d"),_=n("577e"),b=n("7c73"),y=n("5c6c"),x=n("9a1f"),w=n("35a1"),k=n("b622"),S=a("fetch"),A=a("Request"),M=A&&A.prototype,R=a("Headers"),E=k("iterator"),T="URLSearchParams",O=T+"Iterator",L=u.set,B=u.getterFor(T),I=u.getterFor(O),j=/\+/g,C=Array(4),P=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},N=function(e){try{return decodeURIComponent(e)}catch(t){return e}},H=function(e){var t=e.replace(j," "),n=4;try{return decodeURIComponent(t)}catch(r){while(n)t=t.replace(P(n--),N);return t}},F=/[!'()~]|%20/g,D={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},U=function(e){return D[e]},V=function(e){return encodeURIComponent(e).replace(F,U)},q=function(e,t){if(t){var n,r,a=t.split("&"),o=0;while(o<a.length)n=a[o++],n.length&&(r=n.split("="),e.push({key:H(r.shift()),value:H(r.join("="))}))}},$=function(e){this.entries.length=0,q(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},Y=l((function(e,t){L(this,{type:O,iterator:x(B(e).entries),kind:t})}),"Iterator",(function(){var e=I(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),X=function(){f(this,X,T);var e,t,n,r,a,o,i,s,c,l=arguments.length>0?arguments[0]:void 0,u=this,d=[];if(L(u,{type:T,entries:d,updateURL:function(){},updateSearchParams:$}),void 0!==l)if(v(l))if(e=w(l),e){t=x(l,e),n=t.next;while(!(r=n.call(t)).done){if(a=x(g(r.value)),o=a.next,(i=o.call(a)).done||(s=o.call(a)).done||!o.call(a).done)throw TypeError("Expected sequence with length 2");d.push({key:_(i.value),value:_(s.value)})}}else for(c in l)p(l,c)&&d.push({key:c,value:_(l[c])});else q(d,"string"===typeof l?"?"===l.charAt(0)?l.slice(1):l:_(l))},G=X.prototype;if(s(G,{append:function(e,t){z(arguments.length,2);var n=B(this);n.entries.push({key:_(e),value:_(t)}),n.updateURL()},delete:function(e){z(arguments.length,1);var t=B(this),n=t.entries,r=_(e),a=0;while(a<n.length)n[a].key===r?n.splice(a,1):a++;t.updateURL()},get:function(e){z(arguments.length,1);for(var t=B(this).entries,n=_(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){z(arguments.length,1);for(var t=B(this).entries,n=_(e),r=[],a=0;a<t.length;a++)t[a].key===n&&r.push(t[a].value);return r},has:function(e){z(arguments.length,1);var t=B(this).entries,n=_(e),r=0;while(r<t.length)if(t[r++].key===n)return!0;return!1},set:function(e,t){z(arguments.length,1);for(var n,r=B(this),a=r.entries,o=!1,i=_(e),s=_(t),c=0;c<a.length;c++)n=a[c],n.key===i&&(o?a.splice(c--,1):(o=!0,n.value=s));o||a.push({key:i,value:s}),r.updateURL()},sort:function(){var e,t,n,r=B(this),a=r.entries,o=a.slice();for(a.length=0,n=0;n<o.length;n++){for(e=o[n],t=0;t<n;t++)if(a[t].key>e.key){a.splice(t,0,e);break}t===n&&a.push(e)}r.updateURL()},forEach:function(e){var t,n=B(this).entries,r=h(e,arguments.length>1?arguments[1]:void 0,3),a=0;while(a<n.length)t=n[a++],r(t.value,t.key,this)},keys:function(){return new Y(this,"keys")},values:function(){return new Y(this,"values")},entries:function(){return new Y(this,"entries")}},{enumerable:!0}),i(G,E,G.entries,{name:"entries"}),i(G,"toString",(function(){var e,t=B(this).entries,n=[],r=0;while(r<t.length)e=t[r++],n.push(V(e.key)+"="+V(e.value));return n.join("&")}),{enumerable:!0}),c(X,T),r({global:!0,forced:!o},{URLSearchParams:X}),!o&&d(R)){var K=function(e){if(v(e)){var t,n=e.body;if(m(n)===T)return t=e.headers?new R(e.headers):new R,t.has("content-type")||t.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),b(e,{body:y(0,String(n)),headers:y(0,t)})}return e};if(d(S)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(e,arguments.length>1?K(arguments[1]):{})}}),d(A)){var W=function(e){return f(this,W,"Request"),new A(e,arguments.length>1?K(arguments[1]):{})};M.constructor=W,W.prototype=M,r({global:!0,forced:!0},{Request:W})}}e.exports={URLSearchParams:X,getState:B}},"99af":function(e,t,n){"use strict";var r=n("23e7"),a=n("d039"),o=n("e8b5"),i=n("861d"),s=n("7b0b"),c=n("50c4"),l=n("8418"),u=n("65f0"),f=n("1dde"),d=n("b622"),p=n("2d00"),h=d("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",v=p>=51||!a((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),_=f("concat"),b=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:o(e)},y=!v||!_;r({target:"Array",proto:!0,forced:y},{concat:function(e){var t,n,r,a,o,i=s(this),f=u(i,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(o=-1===t?i:arguments[t],b(o)){if(a=c(o.length),d+a>m)throw TypeError(g);for(n=0;n<a;n++,d++)n in o&&l(f,d,o[n])}else{if(d>=m)throw TypeError(g);l(f,d++,o)}return f.length=d,f}})},"9a1f":function(e,t,n){var r=n("59ed"),a=n("825a"),o=n("35a1");e.exports=function(e,t){var n=arguments.length<2?o(e):t;if(r(n))return a(n.call(e));throw TypeError(String(e)+" is not iterable")}},"9a8c":function(e,t,n){"use strict";var r=n("ebb5"),a=n("145e"),o=r.aTypedArray,i=r.exportTypedArrayMethod;i("copyWithin",(function(e,t){return a.call(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},"9bdd":function(e,t,n){var r=n("825a"),a=n("2a62");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(i){a(e,"throw",i)}}},"9bf2":function(e,t,n){var r=n("83ab"),a=n("0cfb"),o=n("825a"),i=n("a04b"),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=i(t),o(n),a)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},"9ed3":function(e,t,n){"use strict";var r=n("ae93").IteratorPrototype,a=n("7c73"),o=n("5c6c"),i=n("d44e"),s=n("3f8c"),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=a(r,{next:o(1,n)}),i(e,l,!1,!0),s[l]=c,e}},"9f7f":function(e,t,n){var r=n("d039"),a=n("da84"),o=a.RegExp;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")}))},a04b:function(e,t,n){var r=n("c04e"),a=n("d9b5");e.exports=function(e){var t=r(e,"string");return a(t)?t:String(t)}},a078:function(e,t,n){var r=n("5087"),a=n("7b0b"),o=n("50c4"),i=n("9a1f"),s=n("35a1"),c=n("e95a"),l=n("0366"),u=n("ebb5").aTypedArrayConstructor;e.exports=function(e){var t,n,f,d,p,h,m=r(this),g=a(e),v=arguments.length,_=v>1?arguments[1]:void 0,b=void 0!==_,y=s(g);if(y&&!c(y)){p=i(g,y),h=p.next,g=[];while(!(d=h.call(p)).done)g.push(d.value)}for(b&&v>2&&(_=l(_,arguments[2],2)),n=o(g.length),f=new(u(m))(n),t=0;n>t;t++)f[t]=b?_(g[t],t):g[t];return f}},a15b:function(e,t,n){"use strict";var r=n("23e7"),a=n("44ad"),o=n("fc6a"),i=n("a640"),s=[].join,c=a!=Object,l=i("join",",");r({target:"Array",proto:!0,forced:c||!l},{join:function(e){return s.call(o(this),void 0===e?",":e)}})},a1b7:function(e,t,n){var r=n("4b5e"),a=n("0206"),o=a.System,i=(a.VbrMode,a.Float,a.ShortBlock,a.Util,a.Arrays,a.new_array_n,a.new_byte,a.new_double,a.new_float),s=a.new_float_n;a.new_int,a.new_int_n,a.assert;function c(){this.l=i(r.SBMAX_l),this.s=s([r.SBMAX_s,3]);var e=this;this.assign=function(t){o.arraycopy(t.l,0,e.l,0,r.SBMAX_l);for(var n=0;n<r.SBMAX_s;n++)for(var a=0;a<3;a++)e.s[n][a]=t.s[n][a]}}e.exports=c},a26a:function(e,t){function n(){this.setModules=function(e,t){e,t}}e.exports=n},a434:function(e,t,n){"use strict";var r=n("23e7"),a=n("23cb"),o=n("a691"),i=n("50c4"),s=n("7b0b"),c=n("65f0"),l=n("8418"),u=n("1dde"),f=u("splice"),d=Math.max,p=Math.min,h=9007199254740991,m="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var n,r,u,f,g,v,_=s(this),b=i(_.length),y=a(e,b),x=arguments.length;if(0===x?n=r=0:1===x?(n=0,r=b-y):(n=x-2,r=p(d(o(t),0),b-y)),b+n-r>h)throw TypeError(m);for(u=c(_,r),f=0;f<r;f++)g=y+f,g in _&&l(u,f,_[g]);if(u.length=r,n<r){for(f=y;f<b-r;f++)g=f+r,v=f+n,g in _?_[v]=_[g]:delete _[v];for(f=b;f>b-r+n;f--)delete _[f-1]}else if(n>r)for(f=b-r;f>y;f--)g=f+r-1,v=f+n-1,g in _?_[v]=_[g]:delete _[v];for(f=0;f<n;f++)_[f+y]=arguments[f+2];return _.length=b-r+n,u}})},a4b4:function(e,t,n){var r=n("342f");e.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(e,t,n){"use strict";var r=n("23e7"),a=n("da84"),o=n("d066"),i=n("c430"),s=n("83ab"),c=n("4930"),l=n("d039"),u=n("5135"),f=n("e8b5"),d=n("1626"),p=n("861d"),h=n("d9b5"),m=n("825a"),g=n("7b0b"),v=n("fc6a"),_=n("a04b"),b=n("577e"),y=n("5c6c"),x=n("7c73"),w=n("df75"),k=n("241c"),S=n("057f"),A=n("7418"),M=n("06cf"),R=n("9bf2"),E=n("d1e7"),T=n("6eeb"),O=n("5692"),L=n("f772"),B=n("d012"),I=n("90e3"),j=n("b622"),C=n("e538"),P=n("746f"),N=n("d44e"),H=n("69f3"),F=n("b727").forEach,D=L("hidden"),U="Symbol",V="prototype",q=j("toPrimitive"),$=H.set,z=H.getterFor(U),Y=Object[V],X=a.Symbol,G=o("JSON","stringify"),K=M.f,W=R.f,Z=S.f,Q=E.f,J=O("symbols"),ee=O("op-symbols"),te=O("string-to-symbol-registry"),ne=O("symbol-to-string-registry"),re=O("wks"),ae=a.QObject,oe=!ae||!ae[V]||!ae[V].findChild,ie=s&&l((function(){return 7!=x(W({},"a",{get:function(){return W(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=K(Y,t);r&&delete Y[t],W(e,t,n),r&&e!==Y&&W(Y,t,r)}:W,se=function(e,t){var n=J[e]=x(X[V]);return $(n,{type:U,tag:e,description:t}),s||(n.description=t),n},ce=function(e,t,n){e===Y&&ce(ee,t,n),m(e);var r=_(t);return m(n),u(J,r)?(n.enumerable?(u(e,D)&&e[D][r]&&(e[D][r]=!1),n=x(n,{enumerable:y(0,!1)})):(u(e,D)||W(e,D,y(1,{})),e[D][r]=!0),ie(e,r,n)):W(e,r,n)},le=function(e,t){m(e);var n=v(t),r=w(n).concat(he(n));return F(r,(function(t){s&&!fe.call(n,t)||ce(e,t,n[t])})),e},ue=function(e,t){return void 0===t?x(e):le(x(e),t)},fe=function(e){var t=_(e),n=Q.call(this,t);return!(this===Y&&u(J,t)&&!u(ee,t))&&(!(n||!u(this,t)||!u(J,t)||u(this,D)&&this[D][t])||n)},de=function(e,t){var n=v(e),r=_(t);if(n!==Y||!u(J,r)||u(ee,r)){var a=K(n,r);return!a||!u(J,r)||u(n,D)&&n[D][r]||(a.enumerable=!0),a}},pe=function(e){var t=Z(v(e)),n=[];return F(t,(function(e){u(J,e)||u(B,e)||n.push(e)})),n},he=function(e){var t=e===Y,n=Z(t?ee:v(e)),r=[];return F(n,(function(e){!u(J,e)||t&&!u(Y,e)||r.push(J[e])})),r};if(c||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?b(arguments[0]):void 0,t=I(e),n=function(e){this===Y&&n.call(ee,e),u(this,D)&&u(this[D],t)&&(this[D][t]=!1),ie(this,t,y(1,e))};return s&&oe&&ie(Y,t,{configurable:!0,set:n}),se(t,e)},T(X[V],"toString",(function(){return z(this).tag})),T(X,"withoutSetter",(function(e){return se(I(e),e)})),E.f=fe,R.f=ce,M.f=de,k.f=S.f=pe,A.f=he,C.f=function(e){return se(j(e),e)},s&&(W(X[V],"description",{configurable:!0,get:function(){return z(this).description}}),i||T(Y,"propertyIsEnumerable",fe,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:X}),F(w(re),(function(e){P(e)})),r({target:U,stat:!0,forced:!c},{for:function(e){var t=b(e);if(u(te,t))return te[t];var n=X(t);return te[t]=n,ne[n]=t,n},keyFor:function(e){if(!h(e))throw TypeError(e+" is not a symbol");if(u(ne,e))return ne[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:ue,defineProperty:ce,defineProperties:le,getOwnPropertyDescriptor:de}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pe,getOwnPropertySymbols:he}),r({target:"Object",stat:!0,forced:l((function(){A.f(1)}))},{getOwnPropertySymbols:function(e){return A.f(g(e))}}),G){var me=!c||l((function(){var e=X();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}));r({target:"JSON",stat:!0,forced:me},{stringify:function(e,t,n){var r,a=[e],o=1;while(arguments.length>o)a.push(arguments[o++]);if(r=t,(p(t)||void 0!==e)&&!h(e))return f(t)||(t=function(e,t){if(d(r)&&(t=r.call(this,e,t)),!h(t))return t}),a[1]=t,G.apply(null,a)}})}if(!X[V][q]){var ge=X[V].valueOf;T(X[V],q,(function(){return ge.apply(this,arguments)}))}N(X,U),B[D]=!0},a623:function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").every,o=n("a640"),i=o("every");r({target:"Array",proto:!0,forced:!i},{every:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},a630:function(e,t,n){var r=n("23e7"),a=n("4df4"),o=n("1c7e"),i=!o((function(e){Array.from(e)}));r({target:"Array",stat:!0,forced:i},{from:a})},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},a691:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},a975:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").every,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("every",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},a981:function(e,t){e.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},a9e3:function(e,t,n){"use strict";var r=n("83ab"),a=n("da84"),o=n("94ca"),i=n("6eeb"),s=n("5135"),c=n("c6b6"),l=n("7156"),u=n("d9b5"),f=n("c04e"),d=n("d039"),p=n("7c73"),h=n("241c").f,m=n("06cf").f,g=n("9bf2").f,v=n("58a8").trim,_="Number",b=a[_],y=b.prototype,x=c(p(y))==_,w=function(e){if(u(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,a,o,i,s,c,l=f(e,"number");if("string"==typeof l&&l.length>2)if(l=v(l),t=l.charCodeAt(0),43===t||45===t){if(n=l.charCodeAt(2),88===n||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+l}for(o=l.slice(2),i=o.length,s=0;s<i;s++)if(c=o.charCodeAt(s),c<48||c>a)return NaN;return parseInt(o,r)}return+l};if(o(_,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var k,S=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof S&&(x?d((function(){y.valueOf.call(n)})):c(n)!=_)?l(new b(w(t)),n,S):w(t)},A=r?h(b):"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(","),M=0;A.length>M;M++)s(b,k=A[M])&&!s(S,k)&&g(S,k,m(b,k));S.prototype=y,y.constructor=S,i(a,_,S)}},ab13:function(e,t,n){var r=n("b622"),a=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[a]=!1,"/./"[e](t)}catch(r){}}return!1}},abf5: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),o=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n("4b5e"));function i(){this.useAdjust=0,this.aaSensitivityP=0,this.adjust=0,this.adjustLimit=0,this.decay=0,this.floor=0,this.l=a(o.SBMAX_l),this.s=a(o.SBMAX_s),this.psfb21=a(o.PSFB21),this.psfb12=a(o.PSFB12),this.cb_l=a(o.CBANDS),this.cb_s=a(o.CBANDS),this.eql_w=a(o.BLKSIZE/2)}e.exports=i},ac1f:function(e,t,n){"use strict";var r=n("23e7"),a=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},accc:function(e,t,n){var r=n("23e7"),a=n("64e5");r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==a},{toISOString:a})},acd8:function(e,t,n){var r=n("23e7"),a=n("7e12");r({global:!0,forced:parseFloat!=a},{parseFloat:a})},ace4:function(e,t,n){"use strict";var r=n("23e7"),a=n("d039"),o=n("621a"),i=n("825a"),s=n("23cb"),c=n("50c4"),l=n("4840"),u=o.ArrayBuffer,f=o.DataView,d=u.prototype.slice,p=a((function(){return!new u(2).slice(1,void 0).byteLength}));r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:p},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(i(this),e);var n=i(this).byteLength,r=s(e,n),a=s(void 0===t?n:t,n),o=new(l(this,u))(c(a-r)),p=new f(this),h=new f(o),m=0;while(r<a)h.setUint8(m++,p.getUint8(r++));return o}})},ad6d:function(e,t,n){"use strict";var r=n("825a");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}},addb:function(e,t){var n=Math.floor,r=function(e,t){var i=e.length,s=n(i/2);return i<8?a(e,t):o(r(e.slice(0,s),t),r(e.slice(s),t),t)},a=function(e,t){var n,r,a=e.length,o=1;while(o<a){r=o,n=e[o];while(r&&t(e[r-1],n)>0)e[r]=e[--r];r!==o++&&(e[r]=n)}return e},o=function(e,t,n){var r=e.length,a=t.length,o=0,i=0,s=[];while(o<r||i<a)o<r&&i<a?s.push(n(e[o],t[i])<=0?e[o++]:t[i++]):s.push(o<r?e[o++]:t[i++]);return s};e.exports=r},ae93:function(e,t,n){"use strict";var r,a,o,i=n("d039"),s=n("1626"),c=n("7c73"),l=n("e163"),u=n("6eeb"),f=n("b622"),d=n("c430"),p=f("iterator"),h=!1;[].keys&&(o=[].keys(),"next"in o?(a=l(l(o)),a!==Object.prototype&&(r=a)):h=!0);var m=void 0==r||i((function(){var e={};return r[p].call(e)!==e}));m?r={}:d&&(r=c(r)),s(r[p])||u(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},af03:function(e,t,n){var r=n("d039");e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},b041:function(e,t,n){"use strict";var r=n("00ee"),a=n("f5df");e.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(e,t,n){var r=n("83ab"),a=n("5e77").EXISTS,o=n("9bf2").f,i=Function.prototype,s=i.toString,c=/^\s*function ([^ (]*)/,l="name";r&&!a&&o(i,l,{configurable:!0,get:function(){try{return s.call(this).match(c)[1]}catch(e){return""}}})},b39a:function(e,t,n){"use strict";var r=n("da84"),a=n("ebb5"),o=n("d039"),i=r.Int8Array,s=a.aTypedArray,c=a.exportTypedArrayMethod,l=[].toLocaleString,u=[].slice,f=!!i&&o((function(){l.call(new i(1))})),d=o((function(){return[1,2].toLocaleString()!=new i([1,2]).toLocaleString()}))||!o((function(){i.prototype.toLocaleString.call([1,2])}));c("toLocaleString",(function(){return l.apply(f?u.call(s(this)):s(this),arguments)}),d)},b575:function(e,t,n){var r,a,o,i,s,c,l,u,f=n("da84"),d=n("06cf").f,p=n("2cf4").set,h=n("1cdc"),m=n("d4c3"),g=n("a4b4"),v=n("605d"),_=f.MutationObserver||f.WebKitMutationObserver,b=f.document,y=f.process,x=f.Promise,w=d(f,"queueMicrotask"),k=w&&w.value;k||(r=function(){var e,t;v&&(e=y.domain)&&e.exit();while(a){t=a.fn,a=a.next;try{t()}catch(n){throw a?i():o=void 0,n}}o=void 0,e&&e.enter()},h||v||g||!_||!b?!m&&x&&x.resolve?(l=x.resolve(void 0),l.constructor=x,u=l.then,i=function(){u.call(l,r)}):i=v?function(){y.nextTick(r)}:function(){p.call(f,r)}:(s=!0,c=b.createTextNode(""),new _(r).observe(c,{characterData:!0}),i=function(){c.data=s=!s})),e.exports=k||function(e){var t={fn:e,next:void 0};o&&(o.next=t),a||(a=t,i()),o=t}},b622:function(e,t,n){var r=n("da84"),a=n("5692"),o=n("5135"),i=n("90e3"),s=n("4930"),c=n("fdbf"),l=a("wks"),u=r.Symbol,f=c?u:u&&u.withoutSetter||i;e.exports=function(e){return o(l,e)&&(s||"string"==typeof l[e])||(s&&o(u,e)?l[e]=u[e]:l[e]=f("Symbol."+e)),l[e]}},b64b:function(e,t,n){var r=n("23e7"),a=n("7b0b"),o=n("df75"),i=n("d039"),s=i((function(){o(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(e){return o(a(e))}})},b680:function(e,t,n){"use strict";var r=n("23e7"),a=n("a691"),o=n("408a"),i=n("1148"),s=n("d039"),c=1..toFixed,l=Math.floor,u=function(e,t,n){return 0===t?n:t%2===1?u(e,t-1,n*e):u(e*e,t/2,n)},f=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},d=function(e,t,n){var r=-1,a=n;while(++r<6)a+=t*e[r],e[r]=a%1e7,a=l(a/1e7)},p=function(e,t){var n=6,r=0;while(--n>=0)r+=e[n],e[n]=l(r/t),r=r%t*1e7},h=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+i.call("0",7-r.length)+r}return n},m=c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}));r({target:"Number",proto:!0,forced:m},{toFixed:function(e){var t,n,r,s,c=o(this),l=a(e),m=[0,0,0,0,0,0],g="",v="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(g="-",c=-c),c>1e-21)if(t=f(c*u(2,69,1))-69,n=t<0?c*u(2,-t,1):c/u(2,t,1),n*=4503599627370496,t=52-t,t>0){d(m,0,n),r=l;while(r>=7)d(m,1e7,0),r-=7;d(m,u(10,r,1),0),r=t-1;while(r>=23)p(m,1<<23),r-=23;p(m,1<<r),d(m,1,1),p(m,2),v=h(m)}else d(m,0,n),d(m,1<<-t,0),v=h(m)+i.call("0",l);return l>0?(s=v.length,v=g+(s<=l?"0."+i.call("0",l-s)+v:v.slice(0,s-l)+"."+v.slice(s-l))):v=g+v,v}})},b6b7:function(e,t,n){var r=n("ebb5"),a=n("4840"),o=r.TYPED_ARRAY_CONSTRUCTOR,i=r.aTypedArrayConstructor;e.exports=function(e){return i(a(e,e[o]))}},b727:function(e,t,n){var r=n("0366"),a=n("44ad"),o=n("7b0b"),i=n("50c4"),s=n("65f0"),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,u=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,m,g,v){for(var _,b,y=o(h),x=a(y),w=r(m,g,3),k=i(x.length),S=0,A=v||s,M=t?A(h,k):n||d?A(h,0):void 0;k>S;S++)if((p||S in x)&&(_=x[S],b=w(_,S,y),e))if(t)M[S]=b;else if(b)switch(e){case 3:return!0;case 5:return _;case 6:return S;case 2:c.call(M,_)}else switch(e){case 4:return!1;case 7:c.call(M,_)}return f?-1:l||u?u:M}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},b7fe:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("1652"),a=n("7656"),o=i(a);function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var s="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),c="0123456789".split(""),l="0123456789abcdefghijklmnopqrstuvwxyz".split(""),u=[" ","\f","\r","\t","\v"," "," ","᠎"],f=[],d=function(e){return new r.CharacterState(e)},p=d(),h=d(a.NUM),m=d(a.DOMAIN),g=d(),v=d(a.WS);p.on("@",d(a.AT)).on(".",d(a.DOT)).on("+",d(a.PLUS)).on("#",d(a.POUND)).on("?",d(a.QUERY)).on("/",d(a.SLASH)).on("_",d(a.UNDERSCORE)).on(":",d(a.COLON)).on("{",d(a.OPENBRACE)).on("[",d(a.OPENBRACKET)).on("<",d(a.OPENANGLEBRACKET)).on("(",d(a.OPENPAREN)).on("}",d(a.CLOSEBRACE)).on("]",d(a.CLOSEBRACKET)).on(">",d(a.CLOSEANGLEBRACKET)).on(")",d(a.CLOSEPAREN)).on("&",d(a.AMPERSAND)).on([",",";","!",'"',"'"],d(a.PUNCTUATION)),p.on("\n",d(a.NL)).on(u,v),v.on(u,v);for(var _=0;_<s.length;_++){var b=(0,r.stateify)(s[_],p,a.TLD,a.DOMAIN);f.push.apply(f,b)}var y=(0,r.stateify)("file",p,a.DOMAIN,a.DOMAIN),x=(0,r.stateify)("ftp",p,a.DOMAIN,a.DOMAIN),w=(0,r.stateify)("http",p,a.DOMAIN,a.DOMAIN),k=(0,r.stateify)("mailto",p,a.DOMAIN,a.DOMAIN);f.push.apply(f,y),f.push.apply(f,x),f.push.apply(f,w),f.push.apply(f,k);var S=y.pop(),A=x.pop(),M=w.pop(),R=k.pop(),E=d(a.DOMAIN),T=d(a.PROTOCOL),O=d(a.MAILTO);A.on("s",E).on(":",T),M.on("s",E).on(":",T),f.push(E),S.on(":",T),E.on(":",T),R.on(":",O);var L=(0,r.stateify)("localhost",p,a.LOCALHOST,a.DOMAIN);f.push.apply(f,L),p.on(c,h),h.on("-",g).on(c,h).on(l,m),m.on("-",g).on(l,m);for(var B=0;B<f.length;B++)f[B].on("-",g).on(l,m);g.on("-",g).on(c,m).on(l,m),p.defaultTransition=d(a.SYM);var I=function(e){var t=e.replace(/[A-Z]/g,(function(e){return e.toLowerCase()})),n=e.length,r=[],a=0;while(a<n){var o=p,i=null,s=0,c=null,l=-1;while(a<n&&(i=o.next(t[a])))o=i,o.accepts()?(l=0,c=o):l>=0&&l++,s++,a++;if(!(l<0)){a-=l,s-=l;var u=c.emit();r.push(new u(e.substr(a-s,s)))}}return r},j=p;t.State=r.CharacterState,t.TOKENS=o,t.run=I,t.start=j},baa5:function(e,t,n){var r=n("23e7"),a=n("e58c");r({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},bb22:function(e,t,n){var r=n("ff81"),a=n("0206"),o=(a.System,a.VbrMode),i=a.Float,s=(a.ShortBlock,a.Util),c=(a.Arrays,a.new_array_n,a.new_byte,a.new_double,a.new_float),l=(a.new_float_n,a.new_int),u=(a.new_int_n,a.assert),f=n("4b5e"),d=n("f052"),p=n("bd8b");function h(){var e=null,t=null,n=null;function a(e){return u(0<=e+h.Q_MAX2&&e<h.Q_MAX),w[e+h.Q_MAX2]}this.setModules=function(r,a,o){e=r,t=a,n=o},this.IPOW20=function(e){return u(0<=e&&e<h.Q_MAX),k[e]};var m=2220446049250313e-31,g=h.IXMAX_VAL,v=g+2,_=h.Q_MAX,b=h.Q_MAX2,y=(h.LARGE_BITS,100);this.nr_of_sfb_block=[[[6,5,5,5],[9,9,9,9],[6,9,9,9]],[[6,5,7,3],[9,9,12,6],[6,9,12,6]],[[11,10,0,0],[18,18,0,0],[15,18,0,0]],[[7,7,7,0],[12,12,12,0],[6,15,12,0]],[[6,6,6,3],[12,9,9,6],[6,12,9,6]],[[8,8,5,0],[15,12,9,0],[6,18,9,0]]];var x=[0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,2,2,3,3,3,2,0];this.pretab=x,this.sfBandIndex=[new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,24,32,42,56,74,100,132,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,114,136,162,194,232,278,332,394,464,540,576],[0,4,8,12,18,26,36,48,62,80,104,136,180,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,44,52,62,74,90,110,134,162,196,238,288,342,418,576],[0,4,8,12,16,22,30,40,52,66,84,106,136,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,42,50,60,72,88,106,128,156,190,230,276,330,384,576],[0,4,8,12,16,22,28,38,50,64,80,100,126,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,4,8,12,16,20,24,30,36,44,54,66,82,102,126,156,194,240,296,364,448,550,576],[0,4,8,12,16,22,30,42,58,78,104,138,180,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,6,12,18,24,30,36,44,54,66,80,96,116,140,168,200,238,284,336,396,464,522,576],[0,4,8,12,18,26,36,48,62,80,104,134,174,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]),new r([0,12,24,36,48,60,72,88,108,132,160,192,232,280,336,400,476,566,568,570,572,574,576],[0,8,16,24,36,52,72,96,124,160,162,164,166,192],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0])];var w=c(_+b+1),k=c(_),S=c(v),A=c(v);function M(e,t){var r=n.ATHformula(t,e);return r-=y,r=Math.pow(10,r/10+e.ATHlower),r}function R(e){for(var t=e.internal_flags.ATH.l,n=e.internal_flags.ATH.psfb21,r=e.internal_flags.ATH.s,a=e.internal_flags.ATH.psfb12,o=e.internal_flags,s=e.out_samplerate,c=0;c<f.SBMAX_l;c++){var l=o.scalefac_band.l[c],u=o.scalefac_band.l[c+1];t[c]=i.MAX_VALUE;for(var d=l;d<u;d++){var p=d*s/1152,h=M(e,p);t[c]=Math.min(t[c],h)}}for(c=0;c<f.PSFB21;c++){l=o.scalefac_band.psfb21[c],u=o.scalefac_band.psfb21[c+1];n[c]=i.MAX_VALUE;for(d=l;d<u;d++){p=d*s/1152,h=M(e,p);n[c]=Math.min(n[c],h)}}for(c=0;c<f.SBMAX_s;c++){l=o.scalefac_band.s[c],u=o.scalefac_band.s[c+1];r[c]=i.MAX_VALUE;for(d=l;d<u;d++){p=d*s/384,h=M(e,p);r[c]=Math.min(r[c],h)}r[c]*=o.scalefac_band.s[c+1]-o.scalefac_band.s[c]}for(c=0;c<f.PSFB12;c++){l=o.scalefac_band.psfb12[c],u=o.scalefac_band.psfb12[c+1];a[c]=i.MAX_VALUE;for(d=l;d<u;d++){p=d*s/384,h=M(e,p);a[c]=Math.min(a[c],h)}a[c]*=o.scalefac_band.s[13]-o.scalefac_band.s[12]}if(e.noATH){for(c=0;c<f.SBMAX_l;c++)t[c]=1e-20;for(c=0;c<f.PSFB21;c++)n[c]=1e-20;for(c=0;c<f.SBMAX_s;c++)r[c]=1e-20;for(c=0;c<f.PSFB12;c++)a[c]=1e-20}o.ATH.floor=10*Math.log10(M(e,-1))}function E(e){this.s=e}this.adj43=A,this.iteration_init=function(t){var n,r=t.internal_flags,a=r.l3_side;if(0==r.iteration_init_init){for(r.iteration_init_init=1,a.main_data_begin=0,R(t),S[0]=0,n=1;n<v;n++)S[n]=Math.pow(n,4/3);for(n=0;n<v-1;n++)A[n]=n+1-Math.pow(.5*(S[n]+S[n+1]),.75);for(A[n]=.5,n=0;n<_;n++)k[n]=Math.pow(2,-.1875*(n-210));for(n=0;n<=_+b;n++)w[n]=Math.pow(2,.25*(n-210-b));var o,i,s,c;for(e.huffman_init(r),n=t.exp_nspsytune>>2&63,n>=32&&(n-=64),o=Math.pow(10,n/4/10),n=t.exp_nspsytune>>8&63,n>=32&&(n-=64),i=Math.pow(10,n/4/10),n=t.exp_nspsytune>>14&63,n>=32&&(n-=64),s=Math.pow(10,n/4/10),n=t.exp_nspsytune>>20&63,n>=32&&(n-=64),c=s*Math.pow(10,n/4/10),n=0;n<f.SBMAX_l;n++){l=n<=6?o:n<=13?i:n<=20?s:c,r.nsPsy.longfact[n]=l}for(n=0;n<f.SBMAX_s;n++){var l;l=n<=5?o:n<=10?i:n<=11?s:c,r.nsPsy.shortfact[n]=l}}},this.on_pe=function(e,n,r,a,o,i){var s,c,f=e.internal_flags,h=0,m=l(2),g=new d(h),v=t.ResvMaxBits(e,a,g,i);h=g.bits;var _=h+v;for(_>p.MAX_BITS_PER_GRANULE&&(_=p.MAX_BITS_PER_GRANULE),s=0,c=0;c<f.channels_out;++c)r[c]=Math.min(p.MAX_BITS_PER_CHANNEL,h/f.channels_out),m[c]=0|r[c]*n[o][c]/700-r[c],m[c]>3*a/4&&(m[c]=3*a/4),m[c]<0&&(m[c]=0),m[c]+r[c]>p.MAX_BITS_PER_CHANNEL&&(m[c]=Math.max(0,p.MAX_BITS_PER_CHANNEL-r[c])),s+=m[c];if(s>v)for(c=0;c<f.channels_out;++c)m[c]=v*m[c]/s;for(c=0;c<f.channels_out;++c)r[c]+=m[c],v-=m[c];for(s=0,c=0;c<f.channels_out;++c)s+=r[c];if(s>p.MAX_BITS_PER_GRANULE){var b=0;for(c=0;c<f.channels_out;++c)r[c]*=p.MAX_BITS_PER_GRANULE,r[c]/=s,b+=r[c];u(b<=p.MAX_BITS_PER_GRANULE)}return _},this.reduce_side=function(e,t,n,r){u(r<=p.MAX_BITS_PER_GRANULE),u(e[0]+e[1]<=p.MAX_BITS_PER_GRANULE);var a=.33*(.5-t)/.5;a<0&&(a=0),a>.5&&(a=.5);var o=0|.5*a*(e[0]+e[1]);o>p.MAX_BITS_PER_CHANNEL-e[0]&&(o=p.MAX_BITS_PER_CHANNEL-e[0]),o<0&&(o=0),e[1]>=125&&(e[1]-o>125?(e[0]<n&&(e[0]+=o),e[1]-=o):(e[0]+=e[1]-125,e[1]=125)),o=e[0]+e[1],o>r&&(e[0]=r*e[0]/o,e[1]=r*e[1]/o),u(e[0]<=p.MAX_BITS_PER_CHANNEL),u(e[1]<=p.MAX_BITS_PER_CHANNEL),u(e[0]+e[1]<=p.MAX_BITS_PER_GRANULE)},this.athAdjust=function(e,t,n){var r=90.30873362,a=94.82444863,o=s.FAST_LOG10_X(t,10),i=e*e,c=0;return o-=n,i>1e-20&&(c=1+s.FAST_LOG10_X(i,10/r)),c<0&&(c=0),o*=c,o+=n+r-a,Math.pow(10,.1*o)},this.calc_xmin=function(e,t,n,r){var a,i=0,s=e.internal_flags,c=0,l=0,u=s.ATH,d=n.xr,p=e.VBR==o.vbr_mtrh?1:0,h=s.masking_lower;for(e.VBR!=o.vbr_mtrh&&e.VBR!=o.vbr_mt||(h=1),a=0;a<n.psy_lmax;a++){S=e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?athAdjust(u.adjust,u.l[a],u.floor):u.adjust*u.l[a],x=n.width[a],A=S/x,M=m,E=x>>1,R=0;do{T=d[c]*d[c],R+=T,M+=T<A?T:A,c++,O=d[c]*d[c],R+=O,M+=O<A?O:A,c++}while(--E>0);if(R>S&&l++,a==f.SBPSY_l){var g=S*s.nsPsy.longfact[a];M<g&&(M=g)}if(0!=p&&(S=M),!e.ATHonly){var v=t.en.l[a];if(v>0)g=R*t.thm.l[a]*h/v,0!=p&&(g*=s.nsPsy.longfact[a]),S<g&&(S=g)}r[i++]=0!=p?S:S*s.nsPsy.longfact[a]}var _=575;if(n.block_type!=f.SHORT_TYPE){var b=576;while(0!=b--&&BitStream.EQ(d[b],0))_=b}n.max_nonzero_coeff=_;for(var y=n.sfb_smin;a<n.psymax;y++,a+=3){var x,w,k;for(k=e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?athAdjust(u.adjust,u.s[y],u.floor):u.adjust*u.s[y],x=n.width[a],w=0;w<3;w++){var S,A,M,R=0,E=x>>1;A=k/x,M=m;do{var T,O;T=d[c]*d[c],R+=T,M+=T<A?T:A,c++,O=d[c]*d[c],R+=O,M+=O<A?O:A,c++}while(--E>0);if(R>k&&l++,y==f.SBPSY_s){g=k*s.nsPsy.shortfact[y];M<g&&(M=g)}if(S=0!=p?M:k,!e.ATHonly&&!e.ATHshort){v=t.en.s[y][w];if(v>0)g=R*t.thm.s[y][w]*h/v,0!=p&&(g*=s.nsPsy.shortfact[y]),S<g&&(S=g)}r[i++]=0!=p?S:S*s.nsPsy.shortfact[y]}e.useTemporal&&(r[i-3]>r[i-3+1]&&(r[i-3+1]+=(r[i-3]-r[i-3+1])*s.decay),r[i-3+1]>r[i-3+2]&&(r[i-3+2]+=(r[i-3+1]-r[i-3+2])*s.decay))}return l},this.calc_noise_core=function(e,t,n,r){var a=0,o=t.s,i=e.l3_enc;if(o>e.count1)while(0!=n--){l=e.xr[o],o++,a+=l*l,l=e.xr[o],o++,a+=l*l}else if(o>e.big_values){var s=c(2);s[0]=0,s[1]=r;while(0!=n--){l=Math.abs(e.xr[o])-s[i[o]],o++,a+=l*l,l=Math.abs(e.xr[o])-s[i[o]],o++,a+=l*l}}else while(0!=n--){var l;l=Math.abs(e.xr[o])-S[i[o]]*r,o++,a+=l*l,l=Math.abs(e.xr[o])-S[i[o]]*r,o++,a+=l*l}return t.s=o,a},this.calc_noise=function(e,t,n,r,o){var i,c,l=0,u=0,f=0,d=0,p=0,h=-20,m=0,g=e.scalefac,v=0;for(r.over_SSD=0,i=0;i<e.psymax;i++){var _,b=e.global_gain-(g[v++]+(0!=e.preflag?x[i]:0)<<e.scalefac_scale+1)-8*e.subblock_gain[e.window[i]],y=0;if(null!=o&&o.step[i]==b)y=o.noise[i],m+=e.width[i],n[l++]=y/t[u++],y=o.noise_log[i];else{var w,k=a(b);if(c=e.width[i]>>1,m+e.width[i]>e.max_nonzero_coeff)w=e.max_nonzero_coeff-m+1,c=w>0?w>>1:0;var S=new E(m);y=this.calc_noise_core(e,S,c,k),m=S.s,null!=o&&(o.step[i]=b,o.noise[i]=y),y=n[l++]=y/t[u++],y=s.FAST_LOG10(Math.max(y,1e-20)),null!=o&&(o.noise_log[i]=y)}if(null!=o&&(o.global_gain=e.global_gain),p+=y,y>0)_=Math.max(0|10*y+.5,1),r.over_SSD+=_*_,f++,d+=y;h=Math.max(h,y)}return r.over_count=f,r.tot_noise=p,r.over_noise=d,r.max_noise=h,f},this.set_pinfo=function(e,t,n,r,a){var o,i,s,l,d,p=e.internal_flags,h=0==t.scalefac_scale?.5:1,m=t.scalefac,g=c(L3Side.SFBMAX),v=c(L3Side.SFBMAX),_=new CalcNoiseResult;calc_xmin(e,n,t,g),calc_noise(t,g,v,_,null);var b=0;for(i=t.sfb_lmax,t.block_type!=f.SHORT_TYPE&&0==t.mixed_block_flag&&(i=22),o=0;o<i;o++){var y=p.scalefac_band.l[o],w=p.scalefac_band.l[o+1],k=w-y;for(l=0;b<w;b++)l+=t.xr[b]*t.xr[b];l/=k,d=1e15,p.pinfo.en[r][a][o]=d*l,p.pinfo.xfsf[r][a][o]=d*g[o]*v[o]/k,n.en.l[o]>0&&!e.ATHonly?l/=n.en.l[o]:l=0,p.pinfo.thr[r][a][o]=d*Math.max(l*n.thm.l[o],p.ATH.l[o]),p.pinfo.LAMEsfb[r][a][o]=0,0!=t.preflag&&o>=11&&(p.pinfo.LAMEsfb[r][a][o]=-h*x[o]),o<f.SBPSY_l&&(u(m[o]>=0),p.pinfo.LAMEsfb[r][a][o]-=h*m[o])}if(t.block_type==f.SHORT_TYPE)for(i=o,o=t.sfb_smin;o<f.SBMAX_s;o++){y=p.scalefac_band.s[o],w=p.scalefac_band.s[o+1],k=w-y;for(var S=0;S<3;S++){for(l=0,s=y;s<w;s++)l+=t.xr[b]*t.xr[b],b++;l=Math.max(l/k,1e-20),d=1e15,p.pinfo.en_s[r][a][3*o+S]=d*l,p.pinfo.xfsf_s[r][a][3*o+S]=d*g[i]*v[i]/k,n.en.s[o][S]>0?l/=n.en.s[o][S]:l=0,(e.ATHonly||e.ATHshort)&&(l=0),p.pinfo.thr_s[r][a][3*o+S]=d*Math.max(l*n.thm.s[o][S],p.ATH.s[o]),p.pinfo.LAMEsfb_s[r][a][3*o+S]=-2*t.subblock_gain[S],o<f.SBPSY_s&&(p.pinfo.LAMEsfb_s[r][a][3*o+S]-=h*m[i]),i++}}p.pinfo.LAMEqss[r][a]=t.global_gain,p.pinfo.LAMEmainbits[r][a]=t.part2_3_length+t.part2_length,p.pinfo.LAMEsfbits[r][a]=t.part2_length,p.pinfo.over[r][a]=_.over_count,p.pinfo.max_noise[r][a]=10*_.max_noise,p.pinfo.over_noise[r][a]=10*_.over_noise,p.pinfo.tot_noise[r][a]=10*_.tot_noise,p.pinfo.over_SSD[r][a]=_.over_SSD}}h.Q_MAX=257,h.Q_MAX2=116,h.LARGE_BITS=1e5,h.IXMAX_VAL=8206,e.exports=h},bd43:function(e,t,n){"use strict";n.r(t),n.d(t,"isImageFile",(function(){return o})),n.d(t,"isVideoFile",(function(){return i})),n.d(t,"isImageVideoFile",(function(){return s})),n.d(t,"isAudioFile",(function(){return c}));n("45fc"),n("caad"),n("2532");var r=n("c9d9");function a(e,t){if(t&&t.type)return e.some((function(e){return t.type.toLowerCase().includes(e)}))}function o(e){return a(r["b"],e)}function i(e){return a(r["c"],e)}function s(e){return a(r["b"],e)||a(r["c"],e)}function c(e){return a(r["a"],e)}},bd8b: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),o=r.new_double,i=r.new_float,s=r.new_float_n,c=r.new_int,l=r.new_int_n,u=(r.assert,n("2695")),f=n("ff81"),d=n("c0be"),p=n("2466"),h=n("a1b7"),m=n("4b5e"),g=n("9828");function v(){var e=40;function t(){this.write_timing=0,this.ptr=0,this.buf=a(e)}this.Class_ID=0,this.lame_encode_frame_init=0,this.iteration_init_init=0,this.fill_buffer_resample_init=0,this.mfbuf=s([2,v.MFSIZE]),this.mode_gr=0,this.channels_in=0,this.channels_out=0,this.resample_ratio=0,this.mf_samples_to_encode=0,this.mf_size=0,this.VBR_min_bitrate=0,this.VBR_max_bitrate=0,this.bitrate_index=0,this.samplerate_index=0,this.mode_ext=0,this.lowpass1=0,this.lowpass2=0,this.highpass1=0,this.highpass2=0,this.noise_shaping=0,this.noise_shaping_amp=0,this.substep_shaping=0,this.psymodel=0,this.noise_shaping_stop=0,this.subblock_gain=0,this.use_best_huffman=0,this.full_outer_loop=0,this.l3_side=new u,this.ms_ratio=i(2),this.padding=0,this.frac_SpF=0,this.slot_lag=0,this.tag_spec=null,this.nMusicCRC=0,this.OldValue=c(2),this.CurrentStep=c(2),this.masking_lower=0,this.bv_scf=c(576),this.pseudohalf=c(g.SFBMAX),this.sfb21_extra=!1,this.inbuf_old=new Array(2),this.blackfilt=new Array(2*v.BPC+1),this.itime=o(2),this.sideinfo_len=0,this.sb_sample=s([2,2,18,m.SBLIMIT]),this.amp_filter=i(32),this.header=new Array(v.MAX_HEADER_BUF),this.h_ptr=0,this.w_ptr=0,this.ancillary_flag=0,this.ResvSize=0,this.ResvMax=0,this.scalefac_band=new f,this.minval_l=i(m.CBANDS),this.minval_s=i(m.CBANDS),this.nb_1=s([4,m.CBANDS]),this.nb_2=s([4,m.CBANDS]),this.nb_s1=s([4,m.CBANDS]),this.nb_s2=s([4,m.CBANDS]),this.s3_ss=null,this.s3_ll=null,this.decay=0,this.thm=new Array(4),this.en=new Array(4),this.tot_ener=i(4),this.loudness_sq=s([2,2]),this.loudness_sq_save=i(2),this.mld_l=i(m.SBMAX_l),this.mld_s=i(m.SBMAX_s),this.bm_l=c(m.SBMAX_l),this.bo_l=c(m.SBMAX_l),this.bm_s=c(m.SBMAX_s),this.bo_s=c(m.SBMAX_s),this.npart_l=0,this.npart_s=0,this.s3ind=l([m.CBANDS,2]),this.s3ind_s=l([m.CBANDS,2]),this.numlines_s=c(m.CBANDS),this.numlines_l=c(m.CBANDS),this.rnumlines_l=i(m.CBANDS),this.mld_cb_l=i(m.CBANDS),this.mld_cb_s=i(m.CBANDS),this.numlines_s_num1=0,this.numlines_l_num1=0,this.pe=i(4),this.ms_ratio_s_old=0,this.ms_ratio_l_old=0,this.ms_ener_ratio_old=0,this.blocktype_old=c(2),this.nsPsy=new d,this.VBR_seek_table=new p,this.ATH=null,this.PSY=null,this.nogap_total=0,this.nogap_current=0,this.decode_on_the_fly=!0,this.findReplayGain=!0,this.findPeakSample=!0,this.PeakSample=0,this.RadioGain=0,this.AudiophileGain=0,this.rgdata=null,this.noclipGainChange=0,this.noclipScale=0,this.bitrate_stereoMode_Hist=l([16,5]),this.bitrate_blockType_Hist=l([16,6]),this.pinfo=null,this.hip=null,this.in_buffer_nsamples=0,this.in_buffer_0=null,this.in_buffer_1=null,this.iteration_loop=null;for(var n=0;n<this.en.length;n++)this.en[n]=new h;for(n=0;n<this.thm.length;n++)this.thm[n]=new h;for(n=0;n<this.header.length;n++)this.header[n]=new t}v.MFSIZE=3456+m.ENCDELAY-m.MDCTDELAY,v.MAX_HEADER_BUF=256,v.MAX_BITS_PER_CHANNEL=4095,v.MAX_BITS_PER_GRANULE=7680,v.BPC=320,e.exports=v},bea1:function(e,t,n){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var r=n("46f3"),a=n("254c"),o=n("7656");function i(e){return e instanceof o.DOMAIN||e instanceof o.TLD}var s=(0,r.createTokenClass)();s.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var c=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0}),l=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),u=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"text"}),f=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"nl"}),d=(0,a.inherits)(s,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,n=!1,r=this.v,a=[],s=0;while(r[s]instanceof o.PROTOCOL)t=!0,a.push(r[s].toString().toLowerCase()),s++;while(r[s]instanceof o.SLASH)n=!0,a.push(r[s].toString()),s++;while(i(r[s]))a.push(r[s].toString().toLowerCase()),s++;for(;s<r.length;s++)a.push(r[s].toString());return a=a.join(""),t||n||(a=e+"://"+a),a},hasProtocol:function(){return this.v[0]instanceof o.PROTOCOL}});t.Base=s,t.MAILTOEMAIL=c,t.EMAIL=l,t.NL=f,t.TEXT=u,t.URL=d},c023:function(e,t,n){var r=n("4b4f");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var a=n("35d6").default;e.exports.__inject__=function(e){a("f24a912a",r,e)}},c04e:function(e,t,n){var r=n("861d"),a=n("d9b5"),o=n("dc4a"),i=n("485a"),s=n("b622"),c=s("toPrimitive");e.exports=function(e,t){if(!r(e)||a(e))return e;var n,s=o(e,c);if(s){if(void 0===t&&(t="default"),n=s.call(e,t),!r(n)||a(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}},c0b6:function(e,t,n){var r=n("23e7"),a=n("0538");r({target:"Function",proto:!0},{bind:a})},c0be: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),o=r.new_float_n,i=r.new_int,s=(r.new_int_n,r.assert,n("4b5e"));function c(){this.last_en_subshort=o([4,9]),this.lastAttacks=i(4),this.pefirbuf=a(19),this.longfact=a(s.SBMAX_l),this.shortfact=a(s.SBMAX_s),this.attackthre=0,this.attackthre_s=0}e.exports=c},c1ac:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").filter,o=n("1448"),i=r.aTypedArray,s=r.exportTypedArrayMethod;s("filter",(function(e){var t=a(i(this),e,arguments.length>1?arguments[1]:void 0);return o(this,t)}))},c28b:function(e,t,n){!function(t,n){e.exports=n()}(0,(function(){var e="undefined"!=typeof window,t="undefined"!=typeof navigator,n=e&&("ontouchstart"in window||t&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function r(e){var t=e.event,n=e.handler;(0,e.middleware)(t)&&n(t)}function a(e,t){var a=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||n,isActive:!(!1===e.isActive),detectIframe:!(!1===e.detectIframe)}}(t.value),o=a.handler,i=a.middleware,s=a.detectIframe;if(a.isActive){if(e["__v-click-outside"]=a.events.map((function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(e){var t=e.el,n=e.event,a=e.handler,o=e.middleware,i=n.path||n.composedPath&&n.composedPath();(i?i.indexOf(t)<0:!t.contains(n.target))&&r({event:n,handler:a,middleware:o})}({el:e,event:t,handler:o,middleware:i})}}})),s){var c={event:"blur",srcTarget:window,handler:function(t){return function(e){var t=e.el,n=e.event,a=e.handler,o=e.middleware;setTimeout((function(){var e=document.activeElement;e&&"IFRAME"===e.tagName&&!t.contains(e)&&r({event:n,handler:a,middleware:o})}),0)}({el:e,event:t,handler:o,middleware:i})}};e["__v-click-outside"]=[].concat(e["__v-click-outside"],[c])}e["__v-click-outside"].forEach((function(t){var n=t.event,r=t.srcTarget,a=t.handler;return setTimeout((function(){e["__v-click-outside"]&&r.addEventListener(n,a,!1)}),0)}))}}function o(e){(e["__v-click-outside"]||[]).forEach((function(e){return e.srcTarget.removeEventListener(e.event,e.handler,!1)})),delete e["__v-click-outside"]}var i=e?{bind:a,update:function(e,t){var n=t.value,r=t.oldValue;JSON.stringify(n)!==JSON.stringify(r)&&(o(e),a(e,{value:n}))},unbind:o}:{};return{install:function(e){e.directive("click-outside",i)},directive:i}}))},c430:function(e,t){e.exports=!1},c5d0:function(e,t,n){"use strict";var r=n("23e7"),a=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("italics")},{italics:function(){return a(this,"i","","")}})},c6b6:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},c6cd:function(e,t,n){var r=n("da84"),a=n("ce4e"),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8d2:function(e,t,n){var r=n("5e77").PROPER,a=n("d039"),o=n("5899"),i="​᠎";e.exports=function(e){return a((function(){return!!o[e]()||i[e]()!==i||r&&o[e].name!==e}))}},c975:function(e,t,n){"use strict";var r=n("23e7"),a=n("4d64").indexOf,o=n("a640"),i=[].indexOf,s=!!i&&1/[1].indexOf(1,-0)<0,c=o("indexOf");r({target:"Array",proto:!0,forced:s||!c},{indexOf:function(e){return s?i.apply(this,arguments)||0:a(this,e,arguments.length>1?arguments[1]:void 0)}})},c9d9:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return o}));var r=["png","jpg","jpeg","webp","svg","gif"],a=["mp4","video/ogg","webm","quicktime"],o=["mp3","audio/ogg","wav","mpeg"]},ca84:function(e,t,n){var r=n("5135"),a=n("fc6a"),o=n("4d64").indexOf,i=n("d012");e.exports=function(e,t){var n,s=a(e),c=0,l=[];for(n in s)!r(i,n)&&r(s,n)&&l.push(n);while(t.length>c)r(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},ca91:function(e,t,n){"use strict";var r=n("ebb5"),a=n("d58f").left,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("reduce",(function(e){return a(o(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},caad:function(e,t,n){"use strict";var r=n("23e7"),a=n("4d64").includes,o=n("44d2");r({target:"Array",proto:!0},{includes:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},cc12:function(e,t,n){var r=n("da84"),a=n("861d"),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},cc71:function(e,t,n){"use strict";var r=n("23e7"),a=n("857a"),o=n("af03");r({target:"String",proto:!0,forced:o("bold")},{bold:function(){return a(this,"b","","")}})},cd26:function(e,t,n){"use strict";var r=n("ebb5"),a=r.aTypedArray,o=r.exportTypedArrayMethod,i=Math.floor;o("reverse",(function(){var e,t=this,n=a(t).length,r=i(n/2),o=0;while(o<r)e=t[o],t[o++]=t[--n],t[n]=e;return t}))},cdf9:function(e,t,n){var r=n("825a"),a=n("861d"),o=n("f069");e.exports=function(e,t){if(r(e),a(t)&&t.constructor===e)return t;var n=o.f(e),i=n.resolve;return i(t),n.promise}},ce4e:function(e,t,n){var r=n("da84");e.exports=function(e,t){try{Object.defineProperty(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},cfc3:function(e,t,n){var r=n("74e8");r("Float32",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("da84"),a=n("1626"),o=function(e){return a(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(r[e]):r[e]&&r[e][t]}},d139:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").find,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("find",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!r.call({1:2},1);t.f=o?function(e){var t=a(this,e);return!!t&&t.enumerable}:r},d28b:function(e,t,n){var r=n("746f");r("iterator")},d2bb:function(e,t,n){var r=n("825a"),a=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(o){}return function(n,o){return r(n),a(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},d3b7:function(e,t,n){var r=n("00ee"),a=n("6eeb"),o=n("b041");r||a(Object.prototype,"toString",o,{unsafe:!0})},d44e:function(e,t,n){var r=n("9bf2").f,a=n("5135"),o=n("b622"),i=o("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},d4c3:function(e,t,n){var r=n("342f"),a=n("da84");e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==a.Pebble},d58f:function(e,t,n){var r=n("59ed"),a=n("7b0b"),o=n("44ad"),i=n("50c4"),s=function(e){return function(t,n,s,c){r(n);var l=a(t),u=o(l),f=i(l.length),d=e?f-1:0,p=e?-1:1;if(s<2)while(1){if(d in u){c=u[d],d+=p;break}if(d+=p,e?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=p)d in u&&(c=n(c,u[d],d,l));return c}};e.exports={left:s(!1),right:s(!0)}},d5d6:function(e,t,n){"use strict";var r=n("ebb5"),a=n("b727").forEach,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("forEach",(function(e){a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),a=n("9263"),o=n("d039"),i=n("b622"),s=n("9112"),c=i("species"),l=RegExp.prototype;e.exports=function(e,t,n,u){var f=i(e),d=!o((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=d&&!o((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!d||!p||n){var h=/./[f],m=t(f,""[e],(function(e,t,n,r,o){var i=t.exec;return i===a||i===l.exec?d&&!o?{done:!0,value:h.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,m[0]),r(l,f,m[1])}u&&s(l[f],"sham",!0)}},d81d:function(e,t,n){"use strict";var r=n("23e7"),a=n("b727").map,o=n("1dde"),i=o("map");r({target:"Array",proto:!0,forced:!i},{map:function(e){return a(this,e,arguments.length>1?arguments[1]:void 0)}})},d998:function(e,t,n){var r=n("342f");e.exports=/MSIE|Trident/.test(r)},d9b5:function(e,t,n){var r=n("1626"),a=n("d066"),o=n("fdbf");e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=a("Symbol");return r(t)&&Object(e)instanceof t}},d9be:function(e,t,n){var r=n("0206"),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util,r.Arrays),i=(r.new_array_n,r.new_byte,r.new_double,r.new_float,r.new_float_n,r.new_int),s=(r.new_int_n,r.assert),c=n("4b5e"),l=n("5f84"),u=n("f3b5"),f=n("bb22");function d(){var e=null;function t(e){this.bits=0|e}this.qupvt=null,this.setModules=function(t){this.qupvt=t,e=t};var n=[[0,0],[0,0],[0,0],[0,0],[0,0],[0,1],[1,1],[1,1],[1,2],[2,2],[2,3],[2,3],[3,4],[3,4],[3,4],[4,5],[4,5],[4,6],[5,6],[5,6],[5,7],[6,7],[6,7]];function r(e,t,n,r,a,o){var i=.5946/t;s(e>0),e>>=1;while(0!=e--)a[o++]=i>n[r++]?0:1,a[o++]=i>n[r++]?0:1}function p(t,n,r,a,o,i){s(t>0),t>>=1;var c=t%2;t>>=1;while(0!=t--){var l,u,f,d,p,h,m,g;l=r[a++]*n,u=r[a++]*n,p=0|l,f=r[a++]*n,h=0|u,d=r[a++]*n,m=0|f,l+=e.adj43[p],g=0|d,u+=e.adj43[h],o[i++]=0|l,f+=e.adj43[m],o[i++]=0|u,d+=e.adj43[g],o[i++]=0|f,o[i++]=0|d}0!=c&&(l=r[a++]*n,u=r[a++]*n,p=0|l,h=0|u,l+=e.adj43[p],u+=e.adj43[h],o[i++]=0|l,o[i++]=0|u)}function h(t,n,a,i,l){var u,f,d,h=0,m=0,g=0,v=0,_=n,b=0,y=_,x=0,w=t,k=0;for(d=null!=l&&i.global_gain==l.global_gain,f=i.block_type==c.SHORT_TYPE?38:21,u=0;u<=f;u++){var S=-1;if((d||i.block_type==c.NORM_TYPE)&&(S=i.global_gain-(i.scalefac[u]+(0!=i.preflag?e.pretab[u]:0)<<i.scalefac_scale+1)-8*i.subblock_gain[i.window[u]]),s(i.width[u]>=0),d&&l.step[u]==S)0!=m&&(p(m,a,w,k,y,x),m=0),0!=g&&(r(g,a,w,k,y,x),g=0);else{var A,M=i.width[u];if(h+i.width[u]>i.max_nonzero_coeff)A=i.max_nonzero_coeff-h+1,o.fill(n,i.max_nonzero_coeff,576,0),M=A,M<0&&(M=0),u=f+1;if(0==m&&0==g&&(y=_,x=b,w=t,k=v),null!=l&&l.sfb_count1>0&&u>=l.sfb_count1&&l.step[u]>0&&S>=l.step[u]?(0!=m&&(p(m,a,w,k,y,x),m=0,y=_,x=b,w=t,k=v),g+=M):(0!=g&&(r(g,a,w,k,y,x),g=0,y=_,x=b,w=t,k=v),m+=M),M<=0){0!=g&&(r(g,a,w,k,y,x),g=0),0!=m&&(p(m,a,w,k,y,x),m=0);break}}u<=f&&(b+=i.width[u],v+=i.width[u],h+=i.width[u])}0!=m&&(p(m,a,w,k,y,x),m=0),0!=g&&(r(g,a,w,k,y,x),g=0)}function m(e,t,n){var r=0,a=0;do{var o=e[t++],i=e[t++];r<o&&(r=o),a<i&&(a=i)}while(t<n);return r<a&&(r=a),r}function g(e,t,n,r,a,o){var i,s=65536*l.ht[r].xlen+l.ht[a].xlen,c=0;do{var u=e[t++],f=e[t++];0!=u&&(u>14&&(u=15,c+=s),u*=16),0!=f&&(f>14&&(f=15,c+=s),u+=f),c+=l.largetbl[u]}while(t<n);return i=65535&c,c>>=16,c>i&&(c=i,r=a),o.bits+=c,r}function v(e,t,n,r){var a=0,o=l.ht[1].hlen;do{var i=2*e[t+0]+e[t+1];t+=2,a+=o[i]}while(t<n);return r.bits+=a,1}function _(e,t,n,r,a){var o,i,s=0,c=l.ht[r].xlen;i=2==r?l.table23:l.table56;do{var u=e[t+0]*c+e[t+1];t+=2,s+=i[u]}while(t<n);return o=65535&s,s>>=16,s>o&&(s=o,r++),a.bits+=s,r}function b(e,t,n,r,a){var o=0,i=0,s=0,c=l.ht[r].xlen,u=l.ht[r].hlen,f=l.ht[r+1].hlen,d=l.ht[r+2].hlen;do{var p=e[t+0]*c+e[t+1];t+=2,o+=u[p],i+=f[p],s+=d[p]}while(t<n);var h=r;return o>i&&(o=i,h++),o>s&&(o=s,h=r+2),a.bits+=o,h}var y=[1,2,5,7,7,10,10,13,13,13,13,13,13,13,13];function x(e,t,n,r){var a=m(e,t,n);switch(a){case 0:return a;case 1:return v(e,t,n,r);case 2:case 3:return _(e,t,n,y[a-1],r);case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:return b(e,t,n,y[a-1],r);default:if(a>f.IXMAX_VAL)return r.bits=f.LARGE_BITS,-1;var o,i;for(a-=15,o=24;o<32;o++)if(l.ht[o].linmax>=a)break;for(i=o-8;i<24;i++)if(l.ht[i].linmax>=a)break;return g(e,t,n,i,o,r)}}function w(e,n,r,a,o,i,s){for(var c=n.big_values,l=0;l<=22;l++)a[l]=f.LARGE_BITS;for(l=0;l<16;l++){var u=e.scalefac_band.l[l+1];if(u>=c)break;var d=0,p=new t(d),h=x(r,0,u,p);d=p.bits;for(var m=0;m<8;m++){var g=e.scalefac_band.l[l+m+2];if(g>=c)break;var v=d;p=new t(v);var _=x(r,u,g,p);v=p.bits,a[l+m]>v&&(a[l+m]=v,o[l+m]=l,i[l+m]=h,s[l+m]=_)}}}function k(e,n,r,a,o,i,s,l){for(var u=n.big_values,f=2;f<c.SBMAX_l+1;f++){var d=e.scalefac_band.l[f];if(d>=u)break;var p=o[f-2]+n.count1bits;if(r.part2_3_length<=p)break;var h=new t(p),m=x(a,d,u,h);p=h.bits,r.part2_3_length<=p||(r.assign(n),r.part2_3_length=p,r.region0_count=i[f-2],r.region1_count=f-2-i[f-2],r.table_select[0]=s[f-2],r.table_select[1]=l[f-2],r.table_select[2]=m)}}this.noquant_count_bits=function(e,n,r){var a=n.l3_enc,o=Math.min(576,n.max_nonzero_coeff+2>>1<<1);for(null!=r&&(r.sfb_count1=0);o>1;o-=2)if(0!=(a[o-1]|a[o-2]))break;n.count1=o;for(var i=0,u=0;o>3;o-=4){var f;if((2147483647&(a[o-1]|a[o-2]|a[o-3]|a[o-4]))>1)break;f=2*(2*(2*a[o-4]+a[o-3])+a[o-2])+a[o-1],i+=l.t32l[f],u+=l.t33l[f]}var d=i;if(n.count1table_select=0,i>u&&(d=u,n.count1table_select=1),n.count1bits=d,n.big_values=o,0==o)return d;if(n.block_type==c.SHORT_TYPE)i=3*e.scalefac_band.s[3],i>n.big_values&&(i=n.big_values),u=n.big_values;else if(n.block_type==c.NORM_TYPE){if(s(o<=576),i=n.region0_count=e.bv_scf[o-2],u=n.region1_count=e.bv_scf[o-1],s(i+u+2<c.SBPSY_l),u=e.scalefac_band.l[i+u+2],i=e.scalefac_band.l[i+1],u<o){var p=new t(d);n.table_select[2]=x(a,u,o,p),d=p.bits}}else n.region0_count=7,n.region1_count=c.SBMAX_l-1-7-1,i=e.scalefac_band.l[8],u=o,i>u&&(i=u);if(i=Math.min(i,o),u=Math.min(u,o),s(i>=0),s(u>=0),0<i){p=new t(d);n.table_select[0]=x(a,0,i,p),d=p.bits}if(i<u){p=new t(d);n.table_select[1]=x(a,i,u,p),d=p.bits}if(2==e.use_best_huffman&&(n.part2_3_length=d,best_huffman_divide(e,n),d=n.part2_3_length),null!=r&&n.block_type==c.NORM_TYPE){var h=0;while(e.scalefac_band.l[h]<n.big_values)h++;r.sfb_count1=h}return d},this.count_bits=function(t,n,r,a){var o=r.l3_enc,i=f.IXMAX_VAL/e.IPOW20(r.global_gain);if(r.xrpow_max>i)return f.LARGE_BITS;if(h(n,o,e.IPOW20(r.global_gain),r,a),0!=(2&t.substep_shaping))for(var c=0,l=r.global_gain+r.scalefac_scale,u=.634521682242439/e.IPOW20(l),d=0;d<r.sfbmax;d++){var p,m=r.width[d];if(s(m>=0),0==t.pseudohalf[d])c+=m;else for(p=c,c+=m;p<c;++p)o[p]=n[p]>=u?o[p]:0}return this.noquant_count_bits(t,r,a)},this.best_huffman_divide=function(e,n){var r=new u,a=n.l3_enc,o=i(23),f=i(23),d=i(23),p=i(23);if(n.block_type!=c.SHORT_TYPE||1!=e.mode_gr){r.assign(n),n.block_type==c.NORM_TYPE&&(w(e,n,a,o,f,d,p),k(e,r,n,a,o,f,d,p));var h=r.big_values;if(!(0==h||(a[h-2]|a[h-1])>1)&&(h=n.count1+2,!(h>576))){r.assign(n),r.count1=h;var m=0,g=0;for(s(h<=576);h>r.big_values;h-=4){var v=2*(2*(2*a[h-4]+a[h-3])+a[h-2])+a[h-1];m+=l.t32l[v],g+=l.t33l[v]}if(r.big_values=h,r.count1table_select=0,m>g&&(m=g,r.count1table_select=1),r.count1bits=m,r.block_type==c.NORM_TYPE)k(e,r,n,a,o,f,d,p);else{if(r.part2_3_length=m,m=e.scalefac_band.l[8],m>h&&(m=h),m>0){var _=new t(r.part2_3_length);r.table_select[0]=x(a,0,m,_),r.part2_3_length=_.bits}if(h>m){_=new t(r.part2_3_length);r.table_select[1]=x(a,m,h,_),r.part2_3_length=_.bits}n.part2_3_length>r.part2_3_length&&n.assign(r)}}}};var S=[1,1,1,1,8,2,2,2,4,4,4,8,8,8,16,16],A=[1,2,4,8,1,2,4,8,2,4,8,2,4,8,4,8],M=[0,0,0,0,3,1,1,1,2,2,2,3,3,3,4,4],R=[0,1,2,3,0,1,2,3,1,2,3,1,2,3,2,3];function E(e,t){for(var n,r=t.tt[1][e],a=t.tt[0][e],o=0;o<l.scfsi_band.length-1;o++){for(n=l.scfsi_band[o];n<l.scfsi_band[o+1];n++)if(a.scalefac[n]!=r.scalefac[n]&&r.scalefac[n]>=0)break;if(n==l.scfsi_band[o+1]){for(n=l.scfsi_band[o];n<l.scfsi_band[o+1];n++)r.scalefac[n]=-1;t.scfsi[e][o]=1}}var i=0,s=0;for(n=0;n<11;n++)-1!=r.scalefac[n]&&(s++,i<r.scalefac[n]&&(i=r.scalefac[n]));for(var u=0,f=0;n<c.SBPSY_l;n++)-1!=r.scalefac[n]&&(f++,u<r.scalefac[n]&&(u=r.scalefac[n]));for(o=0;o<16;o++)if(i<S[o]&&u<A[o]){var d=M[o]*s+R[o]*f;r.part2_length>d&&(r.part2_length=d,r.scalefac_compress=o)}}function T(e,t){for(var n=0;n<t;++n)if(e[n]<0)return!1;return!0}d.slen1_tab=M,d.slen2_tab=R,this.best_scalefac_store=function(t,n,r,a){var o,i,l,u,f=a.tt[n][r],d=0;for(l=0,o=0;o<f.sfbmax;o++){var p=f.width[o];for(s(p>=0),l+=p,u=-p;u<0;u++)if(0!=f.l3_enc[u+l])break;0==u&&(f.scalefac[o]=d=-2)}if(0==f.scalefac_scale&&0==f.preflag){var h=0;for(o=0;o<f.sfbmax;o++)f.scalefac[o]>0&&(h|=f.scalefac[o]);if(0==(1&h)&&0!=h){for(o=0;o<f.sfbmax;o++)f.scalefac[o]>0&&(f.scalefac[o]>>=1);f.scalefac_scale=d=1}}if(0==f.preflag&&f.block_type!=c.SHORT_TYPE&&2==t.mode_gr){for(o=11;o<c.SBPSY_l;o++)if(f.scalefac[o]<e.pretab[o]&&-2!=f.scalefac[o])break;if(o==c.SBPSY_l){for(o=11;o<c.SBPSY_l;o++)f.scalefac[o]>0&&(f.scalefac[o]-=e.pretab[o]);f.preflag=d=1}}for(i=0;i<4;i++)a.scfsi[r][i]=0;for(2==t.mode_gr&&1==n&&a.tt[0][r].block_type!=c.SHORT_TYPE&&a.tt[1][r].block_type!=c.SHORT_TYPE&&(E(r,a),d=0),o=0;o<f.sfbmax;o++)-2==f.scalefac[o]&&(f.scalefac[o]=0);0!=d&&(2==t.mode_gr?this.scale_bitcount(f):this.scale_bitcount_lsf(t,f))};var O=[0,18,36,54,54,36,54,72,54,72,90,72,90,108,108,126],L=[0,18,36,54,51,35,53,71,52,70,88,69,87,105,104,122],B=[0,10,20,30,33,21,31,41,32,42,52,43,53,63,64,74];this.scale_bitcount=function(t){var n,r,a,o=0,i=0,l=t.scalefac;if(s(T(l,t.sfbmax)),t.block_type==c.SHORT_TYPE)a=O,0!=t.mixed_block_flag&&(a=L);else if(a=B,0==t.preflag){for(r=11;r<c.SBPSY_l;r++)if(l[r]<e.pretab[r])break;if(r==c.SBPSY_l)for(t.preflag=1,r=11;r<c.SBPSY_l;r++)l[r]-=e.pretab[r]}for(r=0;r<t.sfbdivide;r++)o<l[r]&&(o=l[r]);for(;r<t.sfbmax;r++)i<l[r]&&(i=l[r]);for(t.part2_length=f.LARGE_BITS,n=0;n<16;n++)o<S[n]&&i<A[n]&&t.part2_length>a[n]&&(t.part2_length=a[n],t.scalefac_compress=n);return t.part2_length==f.LARGE_BITS};var I=[[15,15,7,7],[15,15,7,0],[7,3,0,0],[15,31,31,0],[7,7,7,0],[3,3,0,0]];this.scale_bitcount_lsf=function(t,n){var r,o,l,u,f,d,p,h,m=i(4),g=n.scalefac;for(r=0!=n.preflag?2:0,p=0;p<4;p++)m[p]=0;if(n.block_type==c.SHORT_TYPE){o=1;var v=e.nr_of_sfb_block[r][o];for(h=0,l=0;l<4;l++)for(u=v[l]/3,p=0;p<u;p++,h++)for(f=0;f<3;f++)g[3*h+f]>m[l]&&(m[l]=g[3*h+f])}else{o=0;v=e.nr_of_sfb_block[r][o];for(h=0,l=0;l<4;l++)for(u=v[l],p=0;p<u;p++,h++)g[h]>m[l]&&(m[l]=g[h])}for(d=!1,l=0;l<4;l++)m[l]>I[r][l]&&(d=!0);if(!d){var _,b,y,x;for(n.sfb_partition_table=e.nr_of_sfb_block[r][o],l=0;l<4;l++)n.slen[l]=j[m[l]];switch(_=n.slen[0],b=n.slen[1],y=n.slen[2],x=n.slen[3],r){case 0:n.scalefac_compress=(5*_+b<<4)+(y<<2)+x;break;case 1:n.scalefac_compress=400+(5*_+b<<2)+y;break;case 2:n.scalefac_compress=500+3*_+b;break;default:a.err.printf("intensity stereo not implemented yet\n");break}}if(!d)for(s(null!=n.sfb_partition_table),n.part2_length=0,l=0;l<4;l++)n.part2_length+=n.slen[l]*n.sfb_partition_table[l];return d};var j=[0,1,2,2,3,3,3,3,4,4,4,4,4,4,4,4];this.huffman_init=function(e){for(var t=2;t<=576;t+=2){var r,a=0;while(e.scalefac_band.l[++a]<t);r=n[a][0];while(e.scalefac_band.l[r+1]>t)r--;r<0&&(r=n[a][0]),e.bv_scf[t-2]=r,r=n[a][1];while(e.scalefac_band.l[r+e.bv_scf[t-2]+2]>t)r--;r<0&&(r=n[a][1]),e.bv_scf[t-1]=r}}}e.exports=d},da58:function(e,t,n){"use strict";function r(e){if("string"!==typeof e||!e)throw new Error("expected a non-empty string, got: "+e)}function a(e){if("number"!==typeof e)throw new Error("expected a number, got: "+e)}const o=1,i=1,s="emoji",c="keyvalue",l="favorites",u="tokens",f="tokens",d="unicode",p="count",h="group",m="order",g="group-order",v="eTag",_="url",b="skinTone",y="readonly",x="readwrite",w="skinUnicodes",k="skinUnicodes",S="https://cdn.jsdelivr.net/npm/emoji-picker-element-data@^1/en/emojibase/data.json",A="en";function M(e,t){const n=new Set,r=[];for(const a of e){const e=t(a);n.has(e)||(n.add(e),r.push(a))}return r}function R(e){return M(e,e=>e.unicode)}function E(e){function t(t,n,r){const a=n?e.createObjectStore(t,{keyPath:n}):e.createObjectStore(t);if(r)for(const[e,[o,i]]of Object.entries(r))a.createIndex(e,o,{multiEntry:i});return a}t(c),t(s,d,{[f]:[u,!0],[g]:[[h,m]],[w]:[k,!0]}),t(l,void 0,{[p]:[""]})}const T={},O={},L={};function B(e,t,n){n.onerror=()=>t(n.error),n.onblocked=()=>t(new Error("IDB blocked")),n.onsuccess=()=>e(n.result)}async function I(e){const t=await new Promise((t,n)=>{const r=indexedDB.open(e,o);T[e]=r,r.onupgradeneeded=e=>{e.oldVersion<i&&E(r.result)},B(t,n,r)});return t.onclose=()=>P(e),t}function j(e){return O[e]||(O[e]=I(e)),O[e]}function C(e,t,n,r){return new Promise((a,o)=>{const i=e.transaction(t,n,{durability:"relaxed"}),s="string"===typeof t?i.objectStore(t):t.map(e=>i.objectStore(e));let c;r(s,i,e=>{c=e}),i.oncomplete=()=>a(c),i.onerror=()=>o(i.error)})}function P(e){const t=T[e],n=t&&t.result;if(n){n.close();const t=L[e];if(t)for(const e of t)e()}delete T[e],delete O[e],delete L[e]}function N(e){return new Promise((t,n)=>{P(e);const r=indexedDB.deleteDatabase(e);B(t,n,r)})}function H(e,t){let n=L[e];n||(n=L[e]=[]),n.push(t)}const F=new Set([":D","xD",":'D","o:)",":x",":p",";p","xp",":l",":z",":j","8D","xo","8)",":B",":o",":s",":'o","Dx","x(","D:",":c",">0)",":3","</3","<3","\\m/",":E","8#"]);function D(e){return e.split(/[\s_]+/).map(e=>!e.match(/\w/)||F.has(e)?e.toLowerCase():e.replace(/[)(:,]/g,"").replace(/’/g,"'").toLowerCase()).filter(Boolean)}const U=2;function V(e){return e.filter(Boolean).map(e=>e.toLowerCase()).filter(e=>e.length>=U)}function q(e){const t=e.map(({annotation:e,emoticon:t,group:n,order:r,shortcodes:a,skins:o,tags:i,emoji:s,version:c})=>{const l=[...new Set(V([...(a||[]).map(D).flat(),...i.map(D).flat(),...D(e),t]))].sort(),u={annotation:e,group:n,order:r,tags:i,tokens:l,unicode:s,version:c};if(t&&(u.emoticon=t),a&&(u.shortcodes=a),o){u.skinTones=[],u.skinUnicodes=[],u.skinVersions=[];for(const{tone:e,emoji:t,version:n}of o)u.skinTones.push(e),u.skinUnicodes.push(t),u.skinVersions.push(n)}return u});return t}function $(e,t,n,r){e[t](n).onsuccess=e=>r&&r(e.target.result)}function z(e,t,n){$(e,"get",t,n)}function Y(e,t,n){$(e,"getAll",t,n)}function X(e){e.commit&&e.commit()}function G(e,t){let n=e[0];for(let r=1;r<e.length;r++){const a=e[r];t(n)>t(a)&&(n=a)}return n}function K(e,t){const n=G(e,e=>e.length),r=[];for(const a of n)e.some(e=>-1===e.findIndex(e=>t(e)===t(a)))||r.push(a);return r}async function W(e){return!await ae(e,c,_)}async function Z(e,t,n){const[r,a]=await Promise.all([v,_].map(t=>ae(e,c,t)));return r===n&&a===t}async function Q(e,t){const n=50;return C(e,s,y,(e,r,a)=>{let o;const i=()=>{e.getAll(o&&IDBKeyRange.lowerBound(o,!0),n).onsuccess=e=>{const r=e.target.result;for(const n of r)if(o=n.unicode,t(n))return a(n);if(r.length<n)return a();i()}};i()})}async function J(e,t,n,r){try{const a=q(t);await C(e,[s,c],x,([e,t],o)=>{let i,s,c=0;function l(){2===++c&&u()}function u(){if(i!==r||s!==n){e.clear();for(const t of a)e.put(t);t.put(r,v),t.put(n,_),X(o)}}z(t,v,e=>{i=e,l()}),z(t,_,e=>{s=e,l()})})}finally{}}async function ee(e,t){return C(e,s,y,(e,n,r)=>{const a=IDBKeyRange.bound([t,0],[t+1,0],!1,!0);Y(e.index(g),a,r)})}async function te(e,t){const n=V(D(t));return n.length?C(e,s,y,(e,t,r)=>{const a=[],o=()=>{a.length===n.length&&i()},i=()=>{const e=K(a,e=>e.unicode);r(e.sort((e,t)=>e.order<t.order?-1:1))};for(let s=0;s<n.length;s++){const t=n[s],r=s===n.length-1?IDBKeyRange.bound(t,t+"",!1,!0):IDBKeyRange.only(t);Y(e.index(f),r,e=>{a.push(e),o()})}}):[]}async function ne(e,t){const n=await te(e,t);if(!n.length){const n=e=>(e.shortcodes||[]).includes(t.toLowerCase());return await Q(e,n)||null}return n.filter(e=>{const n=(e.shortcodes||[]).map(e=>e.toLowerCase());return n.includes(t.toLowerCase())})[0]||null}async function re(e,t){return C(e,s,y,(e,n,r)=>z(e,t,n=>{if(n)return r(n);z(e.index(w),t,e=>r(e||null))}))}function ae(e,t,n){return C(e,t,y,(e,t,r)=>z(e,n,r))}function oe(e,t,n,r){return C(e,t,x,(e,t)=>{e.put(r,n),X(t)})}function ie(e,t){return C(e,l,x,(e,n)=>z(e,t,r=>{e.put((r||0)+1,t),X(n)}))}function se(e,t,n){return 0===n?[]:C(e,[l,s],y,([e,r],a,o)=>{const i=[];e.index(p).openCursor(void 0,"prev").onsuccess=e=>{const a=e.target.result;if(!a)return o(i);function s(e){if(i.push(e),i.length===n)return o(i);a.continue()}const c=a.primaryKey,l=t.byName(c);if(l)return s(l);z(r,c,e=>{if(e)return s(e);a.continue()})}})}const ce="";function le(e,t){const n=new Map;for(const a of e){const e=t(a);for(const t of e){let e=n;for(let n=0;n<t.length;n++){const r=t.charAt(n);let a=e.get(r);a||(a=new Map,e.set(r,a)),e=a}let r=e.get(ce);r||(r=[],e.set(ce,r)),r.push(a)}}const r=(e,t)=>{let r=n;for(let n=0;n<e.length;n++){const t=e.charAt(n),a=r.get(t);if(!a)return[];r=a}if(t){const e=r.get(ce);return e||[]}const a=[],o=[r];while(o.length){const e=o.shift(),t=[...e.entries()].sort((e,t)=>e[0]<t[0]?-1:1);for(const[n,r]of t)n===ce?a.push(...r):o.push(r)}return a};return r}const ue=["name","url"];function fe(e){const t=e&&Array.isArray(e),n=t&&e.length&&(!e[0]||ue.some(t=>!(t in e[0])));if(!t||n)throw new Error("Custom emojis are in the wrong format")}function de(e){fe(e);const t=(e,t)=>e.name.toLowerCase()<t.name.toLowerCase()?-1:1,n=e.sort(t),r=e=>[...new Set((e.shortcodes||[]).map(e=>D(e)).flat())],a=le(e,r),o=e=>a(e,!0),i=e=>a(e,!1),s=e=>{const n=D(e),r=n.map((e,t)=>(t<n.length-1?o:i)(e));return K(r,e=>e.name).sort(t)},c=new Map,l=new Map;for(const d of e){l.set(d.name.toLowerCase(),d);for(const e of d.shortcodes||[])c.set(e.toLowerCase(),d)}const u=e=>c.get(e.toLowerCase()),f=e=>l.get(e.toLowerCase());return{all:n,search:s,byShortcode:u,byName:f}}function pe(e){if(!e)return e;if(delete e.tokens,e.skinTones){const t=e.skinTones.length;e.skins=Array(t);for(let n=0;n<t;n++)e.skins[n]={tone:e.skinTones[n],unicode:e.skinUnicodes[n],version:e.skinVersions[n]};delete e.skinTones,delete e.skinUnicodes,delete e.skinVersions}return e}function he(e){e||console.warn("emoji-picker-element is more efficient if the dataSource server exposes an ETag header.")}const me=["annotation","emoji","group","order","tags","version"];function ge(e){if(!e||!Array.isArray(e)||!e[0]||"object"!==typeof e[0]||me.some(t=>!(t in e[0])))throw new Error("Emoji data is in the wrong format")}function ve(e,t){if(2!==Math.floor(e.status/100))throw new Error("Failed to fetch: "+t+":  "+e.status)}async function _e(e){const t=await fetch(e,{method:"HEAD"});ve(t,e);const n=t.headers.get("etag");return he(n),n}async function be(e){const t=await fetch(e);ve(t,e);const n=t.headers.get("etag");he(n);const r=await t.json();return ge(r),[n,r]}function ye(e){var t="",n=new Uint8Array(e),r=n.byteLength,a=-1;while(++a<r)t+=String.fromCharCode(n[a]);return t}function xe(e){var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),a=-1;while(++a<t)r[a]=e.charCodeAt(a);return n}async function we(e){const t=JSON.stringify(e),n=xe(t),r=await crypto.subtle.digest("SHA-1",n),a=ye(r),o=btoa(a);return o}async function ke(e,t){let n,r=await _e(t);if(!r){const e=await be(t);r=e[0],n=e[1],r||(r=await we(n))}if(await Z(e,t,r));else{if(!n){const e=await be(t);n=e[1]}await J(e,n,t,r)}}async function Se(e,t){let[n,r]=await be(t);n||(n=await we(r)),await J(e,r,t,n)}class Ae{constructor({dataSource:e=S,locale:t=A,customEmoji:n=[]}={}){this.dataSource=e,this.locale=t,this._dbName="emoji-picker-element-"+this.locale,this._db=void 0,this._lazyUpdate=void 0,this._custom=de(n),this._clear=this._clear.bind(this),this._ready=this._init()}async _init(){const e=this._db=await j(this._dbName);H(this._dbName,this._clear);const t=this.dataSource,n=await W(e);n?await Se(e,t):this._lazyUpdate=ke(e,t)}async ready(){return this._ready||(this._ready=this._init()),this._ready}async getEmojiByGroup(e){return a(e),await this.ready(),R(await ee(this._db,e)).map(pe)}async getEmojiBySearchQuery(e){r(e),await this.ready();const t=this._custom.search(e),n=R(await te(this._db,e)).map(pe);return[...t,...n]}async getEmojiByShortcode(e){r(e),await this.ready();const t=this._custom.byShortcode(e);return t||pe(await ne(this._db,e))}async getEmojiByUnicodeOrName(e){r(e),await this.ready();const t=this._custom.byName(e);return t||pe(await re(this._db,e))}async getPreferredSkinTone(){return await this.ready(),await ae(this._db,c,b)||0}async setPreferredSkinTone(e){return a(e),await this.ready(),oe(this._db,c,b,e)}async incrementFavoriteEmojiCount(e){return r(e),await this.ready(),ie(this._db,e)}async getTopFavoriteEmoji(e){return a(e),await this.ready(),(await se(this._db,this._custom,e)).map(pe)}set customEmoji(e){this._custom=de(e)}get customEmoji(){return this._custom.all}async _shutdown(){await this.ready();try{await this._lazyUpdate}catch(e){}}_clear(){this._db=this._ready=this._lazyUpdate=void 0}async close(){await this._shutdown(),await P(this._dbName)}async delete(){await this._shutdown(),await N(this._dbName)}}t["a"]=Ae},da84: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("c8ba"))},db3f: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),o=(r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert);Lame=n("dead"),Presets=n("3967"),GainAnalysis=n("2f21"),QuantizePVT=n("bb22"),Quantize=n("dbb1"),Takehiro=n("d9be"),Reservoir=n("58b1"),MPEGMode=n("67b2"),BitStream=n("69b2");n("4b5e");var i=n("8cba"),s=n("e107");function c(){this.setModules=function(e,t){e,t}}function l(){this.setModules=function(e,t,n){e,t,n}}function u(){}function f(){this.setModules=function(e,t){e,t}}function d(e,t,n){3!=arguments.length&&(console.error("WARN: Mp3Encoder(channels, samplerate, kbps) not specified"),e=1,t=44100,n=128);var r=new Lame,d=new c,p=new GainAnalysis,h=new BitStream,m=new Presets,g=new QuantizePVT,v=new Quantize,_=new s,b=new i,y=new f,x=new Reservoir,w=new Takehiro,k=new l,S=new u;r.setModules(p,h,m,g,v,_,b,y,S),h.setModules(p,S,b,_),y.setModules(h,b),m.setModules(r),v.setModules(h,x,g,w),g.setModules(w,x,r.enc.psy),x.setModules(h),w.setModules(g),_.setModules(r,h,b),d.setModules(k,S),k.setModules(b,y,m);var A=r.lame_init();A.num_channels=e,A.in_samplerate=t,A.brate=n,A.mode=MPEGMode.STEREO,A.quality=3,A.bWriteVbrTag=!1,A.disable_reservoir=!0,A.write_id3tag_automatic=!1;var M=r.lame_init_params(A);o(0==M);var R=1152,E=0|1.25*R+7200,T=a(E);this.encodeBuffer=function(t,n){1==e&&(n=t),o(t.length==n.length),t.length>R&&(R=t.length,E=0|1.25*R+7200,T=a(E));var i=r.lame_encode_buffer(A,t,n,t.length,T,0,E);return new Int8Array(T.subarray(0,i))},this.flush=function(){var e=r.lame_encode_flush(A,T,0,E);return new Int8Array(T.subarray(0,e))}}function p(){this.dataOffset=0,this.dataLen=0,this.channels=0,this.sampleRate=0}function h(e){return e.charCodeAt(0)<<24|e.charCodeAt(1)<<16|e.charCodeAt(2)<<8|e.charCodeAt(3)}p.RIFF=h("RIFF"),p.WAVE=h("WAVE"),p.fmt_=h("fmt "),p.data=h("data"),p.readHeader=function(e){var t=new p,n=e.getUint32(0,!1);if(p.RIFF==n){e.getUint32(4,!0);if(p.WAVE==e.getUint32(8,!1)&&p.fmt_==e.getUint32(12,!1)){var r=e.getUint32(16,!0),a=20;switch(r){case 16:case 18:t.channels=e.getUint16(a+2,!0),t.sampleRate=e.getUint32(a+4,!0);break;default:throw"extended fmt chunk not implemented"}a+=r;var o=p.data,i=0;while(o!=n){if(n=e.getUint32(a,!1),i=e.getUint32(a+4,!0),o==n)break;a+=i+8}return t.dataLen=i,t.dataOffset=a+8,t}}},e.exports.Mp3Encoder=d,e.exports.WavHeader=p},dbb1:function(e,t,n){var r=n("0206"),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock,r.Util),s=r.Arrays,c=(r.new_array_n,r.new_byte,r.new_double,r.new_float),l=(r.new_float_n,r.new_int,r.new_int_n,r.assert),u=n("a26a"),f=n("7276"),d=n("09e6"),p=n("4b5e"),h=n("f3b5"),m=n("9828");function g(){var e,t,n;this.rv=null,this.qupvt=null;var r,g=new u;function v(e,t,n,r){r=0;for(var a=0;a<=n;++a){var o=Math.abs(e.xr[a]);r+=o,t[a]=Math.sqrt(o*Math.sqrt(o)),t[a]>e.xrpow_max&&(e.xrpow_max=t[a])}return r}function _(e,t){var r=e.ATH,a=t.xr;if(t.block_type!=p.SHORT_TYPE)for(var o=!1,i=p.PSFB21-1;i>=0&&!o;i--){var s=e.scalefac_band.psfb21[i],c=e.scalefac_band.psfb21[i+1],l=n.athAdjust(r.adjust,r.psfb21[i],r.floor);e.nsPsy.longfact[21]>1e-12&&(l*=e.nsPsy.longfact[21]);for(var u=c-1;u>=s;u--){if(!(Math.abs(a[u])<l)){o=!0;break}a[u]=0}}else for(var f=0;f<3;f++)for(o=!1,i=p.PSFB12-1;i>=0&&!o;i--){s=3*e.scalefac_band.s[12]+(e.scalefac_band.s[13]-e.scalefac_band.s[12])*f+(e.scalefac_band.psfb12[i]-e.scalefac_band.psfb12[0]),c=s+(e.scalefac_band.psfb12[i+1]-e.scalefac_band.psfb12[i]);var d=n.athAdjust(r.adjust,r.psfb12[i],r.floor);e.nsPsy.shortfact[12]>1e-12&&(d*=e.nsPsy.shortfact[12]);for(u=c-1;u>=s;u--){if(!(Math.abs(a[u])<d)){o=!0;break}a[u]=0}}}function b(e){this.ordinal=e}function y(e,t,n,a,o){var i,s=e.CurrentStep[a],c=!1,u=e.OldValue[a],f=b.BINSEARCH_NONE;for(t.global_gain=u,n-=t.part2_length,l(0!=s);;){var d;if(i=r.count_bits(e,o,t,null),1==s||i==n)break;i>n?(f==b.BINSEARCH_DOWN&&(c=!0),c&&(s/=2),f=b.BINSEARCH_UP,d=s):(f==b.BINSEARCH_UP&&(c=!0),c&&(s/=2),f=b.BINSEARCH_DOWN,d=-s),t.global_gain+=d,t.global_gain<0&&(t.global_gain=0,c=!0),t.global_gain>255&&(t.global_gain=255,c=!0)}l(t.global_gain>=0),l(t.global_gain<256);while(i>n&&t.global_gain<255)t.global_gain++,i=r.count_bits(e,o,t,null);return e.CurrentStep[a]=u-t.global_gain>=4?4:2,e.OldValue[a]=t.global_gain,t.part2_3_length=i,i}function x(e){for(var t=0;t<e.sfbmax;t++)if(e.scalefac[t]+e.subblock_gain[e.window[t]]==0)return!1;return!0}function w(e){return i.FAST_LOG10(.368+.632*e*e*e)}function k(e,t){for(var n=1e-37,r=0;r<t.psymax;r++)n+=w(e[r]);return Math.max(1e-20,n)}function S(e,t,n,r,a){var o;switch(e){default:case 9:t.over_count>0?(o=n.over_SSD<=t.over_SSD,n.over_SSD==t.over_SSD&&(o=n.bits<t.bits)):o=n.max_noise<0&&10*n.max_noise+n.bits<=10*t.max_noise+t.bits;break;case 0:o=n.over_count<t.over_count||n.over_count==t.over_count&&n.over_noise<t.over_noise||n.over_count==t.over_count&&BitStream.EQ(n.over_noise,t.over_noise)&&n.tot_noise<t.tot_noise;break;case 8:n.max_noise=k(a,r);case 1:o=n.max_noise<t.max_noise;break;case 2:o=n.tot_noise<t.tot_noise;break;case 3:o=n.tot_noise<t.tot_noise&&n.max_noise<t.max_noise;break;case 4:o=n.max_noise<=0&&t.max_noise>.2||n.max_noise<=0&&t.max_noise<0&&t.max_noise>n.max_noise-.2&&n.tot_noise<t.tot_noise||n.max_noise<=0&&t.max_noise>0&&t.max_noise>n.max_noise-.2&&n.tot_noise<t.tot_noise+t.over_noise||n.max_noise>0&&t.max_noise>-.05&&t.max_noise>n.max_noise-.1&&n.tot_noise+n.over_noise<t.tot_noise+t.over_noise||n.max_noise>0&&t.max_noise>-.1&&t.max_noise>n.max_noise-.15&&n.tot_noise+n.over_noise+n.over_noise<t.tot_noise+t.over_noise+t.over_noise;break;case 5:o=n.over_noise<t.over_noise||BitStream.EQ(n.over_noise,t.over_noise)&&n.tot_noise<t.tot_noise;break;case 6:o=n.over_noise<t.over_noise||BitStream.EQ(n.over_noise,t.over_noise)&&(n.max_noise<t.max_noise||BitStream.EQ(n.max_noise,t.max_noise)&&n.tot_noise<=t.tot_noise);break;case 7:o=n.over_count<t.over_count||n.over_noise<t.over_noise;break}return 0==t.over_count&&(o=o&&n.bits<t.bits),o}function A(e,t,n,r,a){var o,i=e.internal_flags;o=0==t.scalefac_scale?1.2968395546510096:1.6817928305074292;for(var s=0,c=0;c<t.sfbmax;c++)s<n[c]&&(s=n[c]);var l=i.noise_shaping_amp;switch(3==l&&(l=a?2:1),l){case 2:break;case 1:s>1?s=Math.pow(s,.5):s*=.95;break;case 0:default:s>1?s=1:s*=.95;break}var u=0;for(c=0;c<t.sfbmax;c++){var f,d=t.width[c];if(u+=d,!(n[c]<s)){if(0!=(2&i.substep_shaping)&&(i.pseudohalf[c]=0==i.pseudohalf[c]?1:0,0==i.pseudohalf[c]&&2==i.noise_shaping_amp))return;for(t.scalefac[c]++,f=-d;f<0;f++)r[u+f]*=o,r[u+f]>t.xrpow_max&&(t.xrpow_max=r[u+f]);if(2==i.noise_shaping_amp)return}}}function M(e,t){for(var r=1.2968395546510096,a=0,o=0;o<e.sfbmax;o++){var i=e.width[o],s=e.scalefac[o];if(0!=e.preflag&&(s+=n.pretab[o]),a+=i,0!=(1&s)){s++;for(var c=-i;c<0;c++)t[a+c]*=r,t[a+c]>e.xrpow_max&&(e.xrpow_max=t[a+c])}e.scalefac[o]=s>>1}e.preflag=0,e.scalefac_scale=1}function R(e,t,r){var a,o=t.scalefac;for(a=0;a<t.sfb_lmax;a++)if(o[a]>=16)return!0;for(var i=0;i<3;i++){var s=0,c=0;for(a=t.sfb_lmax+i;a<t.sfbdivide;a+=3)s<o[a]&&(s=o[a]);for(;a<t.sfbmax;a+=3)c<o[a]&&(c=o[a]);if(!(s<16&&c<8)){if(t.subblock_gain[i]>=7)return!0;t.subblock_gain[i]++;var u=e.scalefac_band.l[t.sfb_lmax];for(a=t.sfb_lmax+i;a<t.sfbmax;a+=3){var f=t.width[a],d=o[a];if(l(d>=0),d-=4>>t.scalefac_scale,d>=0)o[a]=d,u+=3*f;else{o[a]=0;var p=210+(d<<t.scalefac_scale+1);m=n.IPOW20(p),u+=f*(i+1);for(var h=-f;h<0;h++)r[u+h]*=m,r[u+h]>t.xrpow_max&&(t.xrpow_max=r[u+h]);u+=f*(3-i-1)}}var m=n.IPOW20(202);u+=t.width[a]*(i+1);for(h=-t.width[a];h<0;h++)r[u+h]*=m,r[u+h]>t.xrpow_max&&(t.xrpow_max=r[u+h])}}return!1}function E(e,t,n,a,o){var i=e.internal_flags;A(e,t,n,a,o);var c=x(t);return!c&&(c=2==i.mode_gr?r.scale_bitcount(t):r.scale_bitcount_lsf(i,t),!c||(i.noise_shaping>1&&(s.fill(i.pseudohalf,0),0==t.scalefac_scale?(M(t,a),c=!1):t.block_type==p.SHORT_TYPE&&i.subblock_gain>0&&(c=R(i,t,a)||x(t))),c||(c=2==i.mode_gr?r.scale_bitcount(t):r.scale_bitcount_lsf(i,t)),!c))}this.setModules=function(a,o,i,s){e=a,t=o,this.rv=o,n=i,this.qupvt=i,r=s,g.setModules(n,r)},this.ms_convert=function(e,t){for(var n=0;n<576;++n){var r=e.tt[t][0].xr[n],a=e.tt[t][1].xr[n];e.tt[t][0].xr[n]=(r+a)*(.5*i.SQRT2),e.tt[t][1].xr[n]=(r-a)*(.5*i.SQRT2)}},this.init_xrpow=function(e,t,n){var r=0,a=0|t.max_nonzero_coeff;if(l(null!=n),t.xrpow_max=0,l(0<=a&&a<=575),s.fill(n,a,576,0),r=v(t,n,a,r),r>1e-20){var o=0;0!=(2&e.substep_shaping)&&(o=1);for(var i=0;i<t.psymax;i++)e.pseudohalf[i]=o;return!0}return s.fill(t.l3_enc,0,576,0),!1},this.init_outer_loop=function(e,t){t.part2_3_length=0,t.big_values=0,t.count1=0,t.global_gain=210,t.scalefac_compress=0,t.table_select[0]=0,t.table_select[1]=0,t.table_select[2]=0,t.subblock_gain[0]=0,t.subblock_gain[1]=0,t.subblock_gain[2]=0,t.subblock_gain[3]=0,t.region0_count=0,t.region1_count=0,t.preflag=0,t.scalefac_scale=0,t.count1table_select=0,t.part2_length=0,t.sfb_lmax=p.SBPSY_l,t.sfb_smin=p.SBPSY_s,t.psy_lmax=e.sfb21_extra?p.SBMAX_l:p.SBPSY_l,t.psymax=t.psy_lmax,t.sfbmax=t.sfb_lmax,t.sfbdivide=11;for(var r=0;r<p.SBMAX_l;r++)t.width[r]=e.scalefac_band.l[r+1]-e.scalefac_band.l[r],t.window[r]=3;if(t.block_type==p.SHORT_TYPE){var o=c(576);t.sfb_smin=0,t.sfb_lmax=0,0!=t.mixed_block_flag&&(t.sfb_smin=3,t.sfb_lmax=2*e.mode_gr+4),t.psymax=t.sfb_lmax+3*((e.sfb21_extra?p.SBMAX_s:p.SBPSY_s)-t.sfb_smin),t.sfbmax=t.sfb_lmax+3*(p.SBPSY_s-t.sfb_smin),t.sfbdivide=t.sfbmax-18,t.psy_lmax=t.sfb_lmax;var i=e.scalefac_band.l[t.sfb_lmax];a.arraycopy(t.xr,0,o,0,576);for(r=t.sfb_smin;r<p.SBMAX_s;r++)for(var l=e.scalefac_band.s[r],u=e.scalefac_band.s[r+1],f=0;f<3;f++)for(var d=l;d<u;d++)t.xr[i++]=o[3*d+f];var h=t.sfb_lmax;for(r=t.sfb_smin;r<p.SBMAX_s;r++)t.width[h]=t.width[h+1]=t.width[h+2]=e.scalefac_band.s[r+1]-e.scalefac_band.s[r],t.window[h]=0,t.window[h+1]=1,t.window[h+2]=2,h+=3}t.count1bits=0,t.sfb_partition_table=n.nr_of_sfb_block[0][0],t.slen[0]=0,t.slen[1]=0,t.slen[2]=0,t.slen[3]=0,t.max_nonzero_coeff=575,s.fill(t.scalefac,0),_(e,t)},b.BINSEARCH_NONE=new b(0),b.BINSEARCH_UP=new b(1),b.BINSEARCH_DOWN=new b(2),this.trancate_smallspectrums=function(e,t,a,o){var i=c(m.SFBMAX);if((0!=(4&e.substep_shaping)||t.block_type!=p.SHORT_TYPE)&&0==(128&e.substep_shaping)){n.calc_noise(t,a,i,new f,null);for(var l=0;l<576;l++){var u=0;0!=t.l3_enc[l]&&(u=Math.abs(t.xr[l])),o[l]=u}l=0;var d=8;t.block_type==p.SHORT_TYPE&&(d=6);do{var h,g,v,_,b=t.width[d];if(l+=b,!(i[d]>=1)&&(s.sort(o,l-b,b),!BitStream.EQ(o[l-1],0))){h=(1-i[d])*a[d],g=0,_=0;do{var y;for(v=1;_+v<b;v++)if(BitStream.NEQ(o[_+l-b],o[_+l+v-b]))break;if(y=o[_+l-b]*o[_+l-b]*v,h<y){0!=_&&(g=o[_+l-b-1]);break}h-=y,_+=v}while(_<b);if(!BitStream.EQ(g,0))do{Math.abs(t.xr[l-b])<=g&&(t.l3_enc[l-b]=0)}while(--b>0)}}while(++d<t.psymax);t.part2_3_length=r.noquant_count_bits(e,t,null)}},this.outer_loop=function(e,t,i,s,u,g){var v,_=e.internal_flags,b=new h,x=c(576),w=c(m.SFBMAX),k=new f,A=new d,M=9999999,R=!1,T=!1,O=0;if(y(_,t,g,u,s),0==_.noise_shaping)return 100;n.calc_noise(t,i,w,k,A),k.bits=t.part2_3_length,b.assign(t);var L=0;a.arraycopy(s,0,x,0,576);while(!R){do{var B,I=new f,j=255;if(B=0!=(2&_.substep_shaping)?20:3,_.sfb21_extra){if(w[b.sfbmax]>1)break;if(b.block_type==p.SHORT_TYPE&&(w[b.sfbmax+1]>1||w[b.sfbmax+2]>1))break}if(!E(e,b,w,s,T))break;0!=b.scalefac_scale&&(j=254);var C=g-b.part2_length;if(C<=0)break;while((b.part2_3_length=r.count_bits(_,s,b,A))>C&&b.global_gain<=j)b.global_gain++;if(b.global_gain>j)break;if(0==k.over_count){while((b.part2_3_length=r.count_bits(_,s,b,A))>M&&b.global_gain<=j)b.global_gain++;if(b.global_gain>j)break}if(n.calc_noise(b,i,w,I,A),I.bits=b.part2_3_length,v=t.block_type!=p.SHORT_TYPE?e.quant_comp:e.quant_comp_short,v=S(v,k,I,b,w)?1:0,0!=v)M=t.part2_3_length,k=I,t.assign(b),L=0,a.arraycopy(s,0,x,0,576);else if(0==_.full_outer_loop){if(++L>B&&0==k.over_count)break;if(3==_.noise_shaping_amp&&T&&L>30)break;if(3==_.noise_shaping_amp&&T&&b.global_gain-O>15)break}}while(b.global_gain+b.scalefac_scale<255);3==_.noise_shaping_amp?T?R=!0:(b.assign(t),a.arraycopy(x,0,s,0,576),L=0,O=b.global_gain,T=!0):R=!0}return l(t.global_gain+t.scalefac_scale<=255),e.VBR==o.vbr_rh||e.VBR==o.vbr_mtrh?a.arraycopy(x,0,s,0,576):0!=(1&_.substep_shaping)&&trancate_smallspectrums(_,t,i,s),k.over_count},this.iteration_finish_one=function(e,n,a){var o=e.l3_side,i=o.tt[n][a];r.best_scalefac_store(e,n,a,o),1==e.use_best_huffman&&r.best_huffman_divide(e,i),t.ResvAdjust(e,i)},this.VBR_encode_granule=function(e,t,n,r,o,i,u){var f,d,p=e.internal_flags,m=new h,g=c(576),v=u,_=u+1,b=(u+i)/2,y=0,x=p.sfb21_extra;l(v<=LameInternalFlags.MAX_BITS_PER_CHANNEL),s.fill(m.l3_enc,0);do{l(b>=i),l(b<=u),l(i<=u),p.sfb21_extra=!(b>v-42)&&x,d=outer_loop(e,t,n,r,o,b),d<=0?(y=1,_=t.part2_3_length,m.assign(t),a.arraycopy(r,0,g,0,576),u=_-32,f=u-i,b=(u+i)/2):(i=b+32,f=u-i,b=(u+i)/2,0!=y&&(y=2,t.assign(m),a.arraycopy(g,0,r,0,576)))}while(f>12);p.sfb21_extra=x,2==y&&a.arraycopy(m.l3_enc,0,t.l3_enc,0,576),l(t.part2_3_length<=v)},this.get_framebits=function(n,r){var a=n.internal_flags;a.bitrate_index=a.VBR_min_bitrate;var o=e.getframebits(n);a.bitrate_index=1,o=e.getframebits(n);for(var i=1;i<=a.VBR_max_bitrate;i++){a.bitrate_index=i;var s=new MeanBits(o);r[i]=t.ResvFrameBegin(n,s),o=s.bits}},this.VBR_old_prepare=function(e,r,a,o,i,s,c,l,u){var f,d=e.internal_flags,h=0,m=1,g=0;d.bitrate_index=d.VBR_max_bitrate;var v=t.ResvFrameBegin(e,new MeanBits(0))/d.mode_gr;get_framebits(e,s);for(var _=0;_<d.mode_gr;_++){var b=n.on_pe(e,r,l[_],v,_,0);d.mode_ext==p.MPG_MD_MS_LR&&(ms_convert(d.l3_side,_),n.reduce_side(l[_],a[_],v,b));for(var y=0;y<d.channels_out;++y){var x=d.l3_side.tt[_][y];x.block_type!=p.SHORT_TYPE?(h=1.28/(1+Math.exp(3.5-r[_][y]/300))-.05,f=d.PSY.mask_adjust-h):(h=2.56/(1+Math.exp(3.5-r[_][y]/300))-.14,f=d.PSY.mask_adjust_short-h),d.masking_lower=Math.pow(10,.1*f),init_outer_loop(d,x),u[_][y]=n.calc_xmin(e,o[_][y],x,i[_][y]),0!=u[_][y]&&(m=0),c[_][y]=126,g+=l[_][y]}}for(_=0;_<d.mode_gr;_++)for(y=0;y<d.channels_out;y++)g>s[d.VBR_max_bitrate]&&(l[_][y]*=s[d.VBR_max_bitrate],l[_][y]/=g),c[_][y]>l[_][y]&&(c[_][y]=l[_][y]);return m},this.bitpressure_strategy=function(e,t,n,r){for(var a=0;a<e.mode_gr;a++)for(var o=0;o<e.channels_out;o++){for(var i=e.l3_side.tt[a][o],s=t[a][o],c=0,l=0;l<i.psy_lmax;l++)s[c++]*=1+.029*l*l/p.SBMAX_l/p.SBMAX_l;if(i.block_type==p.SHORT_TYPE)for(l=i.sfb_smin;l<p.SBMAX_s;l++)s[c++]*=1+.029*l*l/p.SBMAX_s/p.SBMAX_s,s[c++]*=1+.029*l*l/p.SBMAX_s/p.SBMAX_s,s[c++]*=1+.029*l*l/p.SBMAX_s/p.SBMAX_s;r[a][o]=0|Math.max(n[a][o],.9*r[a][o])}},this.VBR_new_prepare=function(e,r,a,o,i,s){var c,l=e.internal_flags,u=1,f=0,d=0;if(e.free_format){l.bitrate_index=0;h=new MeanBits(f);c=t.ResvFrameBegin(e,h),f=h.bits,i[0]=c}else{l.bitrate_index=l.VBR_max_bitrate;var h=new MeanBits(f);t.ResvFrameBegin(e,h),f=h.bits,get_framebits(e,i),c=i[l.VBR_max_bitrate]}for(var m=0;m<l.mode_gr;m++){n.on_pe(e,r,s[m],f,m,0),l.mode_ext==p.MPG_MD_MS_LR&&ms_convert(l.l3_side,m);for(var g=0;g<l.channels_out;++g){var v=l.l3_side.tt[m][g];l.masking_lower=Math.pow(10,.1*l.PSY.mask_adjust),init_outer_loop(l,v),0!=n.calc_xmin(e,a[m][g],v,o[m][g])&&(u=0),d+=s[m][g]}}for(m=0;m<l.mode_gr;m++)for(g=0;g<l.channels_out;g++)d>c&&(s[m][g]*=c,s[m][g]/=d);return u},this.calc_target_bits=function(r,a,o,i,s,c){var l,u,f,d,h=r.internal_flags,m=h.l3_side,g=0;h.bitrate_index=h.VBR_max_bitrate;var v=new MeanBits(g);for(c[0]=t.ResvFrameBegin(r,v),g=v.bits,h.bitrate_index=1,g=e.getframebits(r)-8*h.sideinfo_len,s[0]=g/(h.mode_gr*h.channels_out),g=r.VBR_mean_bitrate_kbps*r.framesize*1e3,0!=(1&h.substep_shaping)&&(g*=1.09),g/=r.out_samplerate,g-=8*h.sideinfo_len,g/=h.mode_gr*h.channels_out,l=.93+.07*(11-r.compression_ratio)/5.5,l<.9&&(l=.9),l>1&&(l=1),u=0;u<h.mode_gr;u++){var _=0;for(f=0;f<h.channels_out;f++){if(i[u][f]=int(l*g),a[u][f]>700){var b=int((a[u][f]-700)/1.4),y=m.tt[u][f];i[u][f]=int(l*g),y.block_type==p.SHORT_TYPE&&b<g/2&&(b=g/2),b>3*g/2?b=3*g/2:b<0&&(b=0),i[u][f]+=b}i[u][f]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(i[u][f]=LameInternalFlags.MAX_BITS_PER_CHANNEL),_+=i[u][f]}if(_>LameInternalFlags.MAX_BITS_PER_GRANULE)for(f=0;f<h.channels_out;++f)i[u][f]*=LameInternalFlags.MAX_BITS_PER_GRANULE,i[u][f]/=_}if(h.mode_ext==p.MPG_MD_MS_LR)for(u=0;u<h.mode_gr;u++)n.reduce_side(i[u],o[u],g*h.channels_out,LameInternalFlags.MAX_BITS_PER_GRANULE);for(d=0,u=0;u<h.mode_gr;u++)for(f=0;f<h.channels_out;f++)i[u][f]>LameInternalFlags.MAX_BITS_PER_CHANNEL&&(i[u][f]=LameInternalFlags.MAX_BITS_PER_CHANNEL),d+=i[u][f];if(d>c[0])for(u=0;u<h.mode_gr;u++)for(f=0;f<h.channels_out;f++)i[u][f]*=c[0],i[u][f]/=d}}e.exports=g},dbb4:function(e,t,n){var r=n("23e7"),a=n("83ab"),o=n("56ef"),i=n("fc6a"),s=n("06cf"),c=n("8418");r({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(e){var t,n,r=i(e),a=s.f,l=o(r),u={},f=0;while(l.length>f)n=a(r,t=l[f++]),void 0!==n&&c(u,t,n);return u}})},dc4a:function(e,t,n){var r=n("59ed");e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},ddb0:function(e,t,n){var r=n("da84"),a=n("fdbc"),o=n("785a"),i=n("e260"),s=n("9112"),c=n("b622"),l=c("iterator"),u=c("toStringTag"),f=i.values,d=function(e,t){if(e){if(e[l]!==f)try{s(e,l,f)}catch(r){e[l]=f}if(e[u]||s(e,u,t),a[t])for(var n in i)if(e[n]!==i[n])try{s(e,n,i[n])}catch(r){e[n]=i[n]}}};for(var p in a)d(r[p]&&r[p].prototype,p);d(o,"DOMTokenList")},dead:function(e,t,n){var r=n("0206"),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock),s=(r.Util,r.Arrays,r.new_array_n,r.new_byte,r.new_double,r.new_float),c=(r.new_float_n,r.new_int,r.new_int_n),l=r.new_short_n,u=r.assert,f=n("2474"),d=n("947f"),p=n("bd8b"),h=n("abf5"),m=n("725d"),g=n("4a65"),v=n("69b2"),_=n("5f84"),b=n("4b5e");function y(){var e=this,t=131072;y.V9=410,y.V8=420,y.V7=430,y.V6=440,y.V5=450,y.V4=460,y.V3=470,y.V2=480,y.V1=490,y.V0=500,y.R3MIX=1e3,y.STANDARD=1001,y.EXTREME=1002,y.INSANE=1003,y.STANDARD_FAST=1004,y.EXTREME_FAST=1005,y.MEDIUM=1006,y.MEDIUM_FAST=1007;var n,r,x,w,k,S=16384+t;y.LAME_MAXMP3BUFFER=S;var A,M,R,E=new f;function T(){this.mask_adjust=0,this.mask_adjust_short=0,this.bo_l_weight=s(b.SBMAX_l),this.bo_s_weight=s(b.SBMAX_s)}function O(){this.lowerlimit=0}function L(e,t){this.lowpass=t}this.enc=new b,this.setModules=function(e,t,a,o,i,s,c,l,u){n=e,r=t,x=a,w=o,k=i,A=s,c,M=l,R=u,this.enc.setModules(r,E,w,A)};var B=4294479419;function I(e){var t;return e.class_id=B,t=e.internal_flags=new p,e.mode=MPEGMode.NOT_SET,e.original=1,e.in_samplerate=44100,e.num_channels=2,e.num_samples=-1,e.bWriteVbrTag=!0,e.quality=-1,e.short_blocks=null,t.subblock_gain=-1,e.lowpassfreq=0,e.highpassfreq=0,e.lowpasswidth=-1,e.highpasswidth=-1,e.VBR=o.vbr_off,e.VBR_q=4,e.ATHcurve=-1,e.VBR_mean_bitrate_kbps=128,e.VBR_min_bitrate_kbps=0,e.VBR_max_bitrate_kbps=0,e.VBR_hard_min=0,t.VBR_min_bitrate=1,t.VBR_max_bitrate=13,e.quant_comp=-1,e.quant_comp_short=-1,e.msfix=-1,t.resample_ratio=1,t.OldValue[0]=180,t.OldValue[1]=180,t.CurrentStep[0]=4,t.CurrentStep[1]=4,t.masking_lower=1,t.nsPsy.attackthre=-1,t.nsPsy.attackthre_s=-1,e.scale=-1,e.athaa_type=-1,e.ATHtype=-1,e.athaa_loudapprox=-1,e.athaa_sensitivity=0,e.useTemporal=null,e.interChRatio=-1,t.mf_samples_to_encode=b.ENCDELAY+b.POSTDELAY,e.encoder_padding=0,t.mf_size=b.ENCDELAY-b.MDCTDELAY,e.findReplayGain=!1,e.decode_on_the_fly=!1,t.decode_on_the_fly=!1,t.findReplayGain=!1,t.findPeakSample=!1,t.RadioGain=0,t.AudiophileGain=0,t.noclipGainChange=0,t.noclipScale=-1,e.preset=0,e.write_id3tag_automatic=!0,0}function j(e){return e>1?0:e<=0?1:Math.cos(Math.PI/2*e)}function C(e,t){var n=44100;return t>=48e3?n=48e3:t>=44100?n=44100:t>=32e3?n=32e3:t>=24e3?n=24e3:t>=22050?n=22050:t>=16e3?n=16e3:t>=12e3?n=12e3:t>=11025?n=11025:t>=8e3&&(n=8e3),-1==e?n:(e<=15960&&(n=44100),e<=15250&&(n=32e3),e<=11220&&(n=24e3),e<=9970&&(n=22050),e<=7230&&(n=16e3),e<=5420&&(n=12e3),e<=4510&&(n=11025),e<=3970&&(n=8e3),t<n?t>44100?48e3:t>32e3?44100:t>24e3?32e3:t>22050?24e3:t>16e3?22050:t>12e3?16e3:t>11025?12e3:t>8e3?11025:8e3:n)}function P(e,t){switch(e){case 44100:return t.version=1,0;case 48e3:return t.version=1,1;case 32e3:return t.version=1,2;case 22050:return t.version=0,0;case 24e3:return t.version=0,1;case 16e3:return t.version=0,2;case 11025:return t.version=0,0;case 12e3:return t.version=0,1;case 8e3:return t.version=0,2;default:return t.version=0,-1}}function N(e,t,n){n<16e3&&(t=2);for(var r=_.bitrate_table[t][1],a=2;a<=14;a++)_.bitrate_table[t][a]>0&&Math.abs(_.bitrate_table[t][a]-e)<Math.abs(r-e)&&(r=_.bitrate_table[t][a]);return r}function H(e,t,n){n<16e3&&(t=2);for(var r=0;r<=14;r++)if(_.bitrate_table[t][r]>0&&_.bitrate_table[t][r]==e)return r;return-1}function F(t,n){var r=[new L(8,2e3),new L(16,3700),new L(24,3900),new L(32,5500),new L(40,7e3),new L(48,7500),new L(56,1e4),new L(64,11e3),new L(80,13500),new L(96,15100),new L(112,15600),new L(128,17e3),new L(160,17500),new L(192,18600),new L(224,19400),new L(256,19700),new L(320,20500)],a=e.nearestBitrateFullIndex(n);t.lowerlimit=r[a].lowpass}function D(e){var t=e.internal_flags,n=32,r=-1;if(t.lowpass1>0){for(var o=999,i=0;i<=31;i++){var s=i/31;s>=t.lowpass2&&(n=Math.min(n,i)),t.lowpass1<s&&s<t.lowpass2&&(o=Math.min(o,i))}t.lowpass1=999==o?(n-.75)/31:(o-.75)/31,t.lowpass2=n/31}if(t.highpass2>0&&t.highpass2<.75/31*.9&&(t.highpass1=0,t.highpass2=0,a.err.println("Warning: highpass filter disabled.  highpass frequency too small\n")),t.highpass2>0){var c=-1;for(i=0;i<=31;i++){s=i/31;s<=t.highpass1&&(r=Math.max(r,i)),t.highpass1<s&&s<t.highpass2&&(c=Math.max(c,i))}t.highpass1=r/31,t.highpass2=-1==c?(r+.75)/31:(c+.75)/31}for(i=0;i<32;i++){var l,u;s=i/31;l=t.highpass2>t.highpass1?j((t.highpass2-s)/(t.highpass2-t.highpass1+1e-20)):1,u=t.lowpass2>t.lowpass1?j((s-t.lowpass1)/(t.lowpass2-t.lowpass1+1e-20)):1,t.amp_filter[i]=l*u}}function U(e){var t=e.internal_flags;switch(e.quality){default:case 9:t.psymodel=0,t.noise_shaping=0,t.noise_shaping_amp=0,t.noise_shaping_stop=0,t.use_best_huffman=0,t.full_outer_loop=0;break;case 8:e.quality=7;case 7:t.psymodel=1,t.noise_shaping=0,t.noise_shaping_amp=0,t.noise_shaping_stop=0,t.use_best_huffman=0,t.full_outer_loop=0;break;case 6:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=0,t.noise_shaping_stop=0,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=0,t.full_outer_loop=0;break;case 5:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=0,t.noise_shaping_stop=0,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=0,t.full_outer_loop=0;break;case 4:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=0,t.noise_shaping_stop=0,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 3:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),t.noise_shaping_amp=1,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 2:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),0==t.substep_shaping&&(t.substep_shaping=2),t.noise_shaping_amp=1,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 1:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),0==t.substep_shaping&&(t.substep_shaping=2),t.noise_shaping_amp=2,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break;case 0:t.psymodel=1,0==t.noise_shaping&&(t.noise_shaping=1),0==t.substep_shaping&&(t.substep_shaping=2),t.noise_shaping_amp=2,t.noise_shaping_stop=1,-1==t.subblock_gain&&(t.subblock_gain=1),t.use_best_huffman=1,t.full_outer_loop=0;break}}function V(e){var t=e.internal_flags;e.frameNum=0,e.write_id3tag_automatic&&M.id3tag_write_v2(e),t.bitrate_stereoMode_Hist=c([16,5]),t.bitrate_blockType_Hist=c([16,6]),t.PeakSample=0,e.bWriteVbrTag&&A.InitVbrTag(e)}function q(e,t){(null==e.in_buffer_0||e.in_buffer_nsamples<t)&&(e.in_buffer_0=s(t),e.in_buffer_1=s(t),e.in_buffer_nsamples=t)}function $(e){var t=b.BLKSIZE+e.framesize-b.FFTOFFSET;return t=Math.max(t,512+e.framesize-32),u(p.MFSIZE>=t),t}function z(e,t,a,o,i,s,c){var l,f,d,h,m,g=e.internal_flags,_=0,y=[null,null],x=[null,null];if(g.Class_ID!=B)return-3;if(0==o)return 0;if(m=r.copy_buffer(g,i,s,c,0),m<0)return m;if(s+=m,_+=m,x[0]=t,x[1]=a,v.NEQ(e.scale,0)&&v.NEQ(e.scale,1))for(f=0;f<o;++f)x[0][f]*=e.scale,2==g.channels_out&&(x[1][f]*=e.scale);if(v.NEQ(e.scale_left,0)&&v.NEQ(e.scale_left,1))for(f=0;f<o;++f)x[0][f]*=e.scale_left;if(v.NEQ(e.scale_right,0)&&v.NEQ(e.scale_right,1))for(f=0;f<o;++f)x[1][f]*=e.scale_right;if(2==e.num_channels&&1==g.channels_out)for(f=0;f<o;++f)x[0][f]=.5*(x[0][f]+x[1][f]),x[1][f]=0;h=$(e),y[0]=g.mfbuf[0],y[1]=g.mfbuf[1];var w=0;while(o>0){var k=[null,null],S=0,A=0;k[0]=x[0],k[1]=x[1];var M=new X;if(Q(e,y,k,w,o,M),S=M.n_in,A=M.n_out,g.findReplayGain&&!g.decode_on_the_fly&&n.AnalyzeSamples(g.rgdata,y[0],g.mf_size,y[1],g.mf_size,A,g.channels_out)==GainAnalysis.GAIN_ANALYSIS_ERROR)return-6;if(o-=S,w+=S,g.channels_out,g.mf_size+=A,u(g.mf_size<=p.MFSIZE),g.mf_samples_to_encode<1&&(g.mf_samples_to_encode=b.ENCDELAY+b.POSTDELAY),g.mf_samples_to_encode+=A,g.mf_size>=h){var R=c-_;if(0==c&&(R=0),l=Y(e,y[0],y[1],i,s,R),l<0)return l;for(s+=l,_+=l,g.mf_size-=e.framesize,g.mf_samples_to_encode-=e.framesize,d=0;d<g.channels_out;d++)for(f=0;f<g.mf_size;f++)y[d][f]=y[d][f+e.framesize]}}return u(0==o),_}function Y(t,n,r,a,o,i){var s=e.enc.lame_encode_mp3_frame(t,n,r,a,o,i);return t.frameNum++,s}function X(){this.n_in=0,this.n_out=0}function G(){this.num_used=0}function K(e,t){return 0!=t?K(t,e%t):e}function W(e,t,n){var r=Math.PI*t;e/=n,e<0&&(e=0),e>1&&(e=1);var a=e-.5,o=.42-.5*Math.cos(2*e*Math.PI)+.08*Math.cos(4*e*Math.PI);return Math.abs(a)<1e-9?r/Math.PI:o*Math.sin(n*r*a)/(Math.PI*n*a)}function Z(e,t,n,r,a,o,i,c,l){var f,d,h=e.internal_flags,m=0,g=e.out_samplerate/K(e.out_samplerate,e.in_samplerate);g>p.BPC&&(g=p.BPC);var v=Math.abs(h.resample_ratio-Math.floor(.5+h.resample_ratio))<1e-4?1:0,_=1/h.resample_ratio;_>1&&(_=1);var b=31;0==b%2&&--b,b+=v;var y=b+1;if(0==h.fill_buffer_resample_init){for(h.inbuf_old[0]=s(y),h.inbuf_old[1]=s(y),f=0;f<=2*g;++f)h.blackfilt[f]=s(y);for(h.itime[0]=0,h.itime[1]=0,m=0;m<=2*g;m++){var x=0,w=(m-g)/(2*g);for(f=0;f<=b;f++)x+=h.blackfilt[m][f]=W(f-w,_,b);for(f=0;f<=b;f++)h.blackfilt[m][f]/=x}h.fill_buffer_resample_init=1}var k=h.inbuf_old[l];for(d=0;d<r;d++){var S,A;if(S=d*h.resample_ratio,m=0|Math.floor(S-h.itime[l]),b+m-b/2>=i)break;w=S-h.itime[l]-(m+b%2*.5);u(Math.abs(w)<=.501),A=0|Math.floor(2*w*g+g+.5);var M=0;for(f=0;f<=b;++f){var R,E=f+m-b/2;u(E<i),u(E+y>=0),R=E<0?k[y+E]:a[o+E],M+=R*h.blackfilt[A][f]}t[n+d]=M}if(c.num_used=Math.min(i,b+m-b/2),h.itime[l]+=c.num_used-d*h.resample_ratio,c.num_used>=y)for(f=0;f<y;f++)k[f]=a[o+c.num_used+f-y];else{var T=y-c.num_used;for(f=0;f<T;++f)k[f]=k[f+c.num_used];for(m=0;f<y;++f,++m)k[f]=a[o+m];u(m==c.num_used)}return d}function Q(e,t,n,r,a,o){var i=e.internal_flags;if(i.resample_ratio<.9999||i.resample_ratio>1.0001)for(var s=0;s<i.channels_out;s++){var c=new G;o.n_out=Z(e,t[s],i.mf_size,e.framesize,n[s],r,a,c,s),o.n_in=c.num_used}else{o.n_out=Math.min(e.framesize,a),o.n_in=o.n_out;for(var l=0;l<o.n_out;++l)t[0][i.mf_size+l]=n[0][r+l],2==i.channels_out&&(t[1][i.mf_size+l]=n[1][r+l])}}this.lame_init=function(){var e=new d,t=I(e);return 0!=t?null:(e.lame_allocated_gfp=1,e)},this.nearestBitrateFullIndex=function(e){var t=[8,16,24,32,40,48,56,64,80,96,112,128,160,192,224,256,320],n=0,r=0,a=0,o=0;o=t[16],a=16,r=t[16],n=16;for(var i=0;i<16;i++)if(Math.max(e,t[i+1])!=e){o=t[i+1],a=i+1,r=t[i],n=i;break}return o-e>e-r?n:a},this.lame_init_params=function(e){var t=e.internal_flags;if(t.Class_ID=0,null==t.ATH&&(t.ATH=new h),null==t.PSY&&(t.PSY=new T),null==t.rgdata&&(t.rgdata=new m),t.channels_in=e.num_channels,1==t.channels_in&&(e.mode=MPEGMode.MONO),t.channels_out=e.mode==MPEGMode.MONO?1:2,t.mode_ext=b.MPG_MD_MS_LR,e.mode==MPEGMode.MONO&&(e.force_ms=!1),e.VBR==o.vbr_off&&128!=e.VBR_mean_bitrate_kbps&&0==e.brate&&(e.brate=e.VBR_mean_bitrate_kbps),e.VBR==o.vbr_off||e.VBR==o.vbr_mtrh||e.VBR==o.vbr_mt||(e.free_format=!1),e.VBR==o.vbr_off&&0==e.brate&&v.EQ(e.compression_ratio,0)&&(e.compression_ratio=11.025),e.VBR==o.vbr_off&&e.compression_ratio>0&&(0==e.out_samplerate&&(e.out_samplerate=map2MP3Frequency(int(.97*e.in_samplerate))),e.brate=0|16*e.out_samplerate*t.channels_out/(1e3*e.compression_ratio),t.samplerate_index=P(e.out_samplerate,e),e.free_format||(e.brate=N(e.brate,e.version,e.out_samplerate))),0!=e.out_samplerate&&(e.out_samplerate<16e3?(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,64)):e.out_samplerate<32e3?(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,8),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,160)):(e.VBR_mean_bitrate_kbps=Math.max(e.VBR_mean_bitrate_kbps,32),e.VBR_mean_bitrate_kbps=Math.min(e.VBR_mean_bitrate_kbps,320))),0==e.lowpassfreq){var a=16e3;switch(e.VBR){case o.vbr_off:var s=new O;F(s,e.brate),a=s.lowerlimit;break;case o.vbr_abr:s=new O;F(s,e.VBR_mean_bitrate_kbps),a=s.lowerlimit;break;case o.vbr_rh:var c=[19500,19e3,18600,18e3,17500,16e3,15600,14900,12500,1e4,3950];if(0<=e.VBR_q&&e.VBR_q<=9){var l=c[e.VBR_q],d=c[e.VBR_q+1],p=e.VBR_q_frac;a=linear_int(l,d,p)}else a=19500;break;default:c=[19500,19e3,18500,18e3,17500,16500,15500,14500,12500,9500,3950];if(0<=e.VBR_q&&e.VBR_q<=9){l=c[e.VBR_q],d=c[e.VBR_q+1],p=e.VBR_q_frac;a=linear_int(l,d,p)}else a=19500}e.mode!=MPEGMode.MONO||e.VBR!=o.vbr_off&&e.VBR!=o.vbr_abr||(a*=1.5),e.lowpassfreq=0|a}if(0==e.out_samplerate&&(2*e.lowpassfreq>e.in_samplerate&&(e.lowpassfreq=e.in_samplerate/2),e.out_samplerate=C(0|e.lowpassfreq,e.in_samplerate)),e.lowpassfreq=Math.min(20500,e.lowpassfreq),e.lowpassfreq=Math.min(e.out_samplerate/2,e.lowpassfreq),e.VBR==o.vbr_off&&(e.compression_ratio=16*e.out_samplerate*t.channels_out/(1e3*e.brate)),e.VBR==o.vbr_abr&&(e.compression_ratio=16*e.out_samplerate*t.channels_out/(1e3*e.VBR_mean_bitrate_kbps)),e.bWriteVbrTag||(e.findReplayGain=!1,e.decode_on_the_fly=!1,t.findPeakSample=!1),t.findReplayGain=e.findReplayGain,t.decode_on_the_fly=e.decode_on_the_fly,t.decode_on_the_fly&&(t.findPeakSample=!0),t.findReplayGain&&n.InitGainAnalysis(t.rgdata,e.out_samplerate)==GainAnalysis.INIT_GAIN_ANALYSIS_ERROR)return e.internal_flags=null,-6;switch(t.decode_on_the_fly&&!e.decode_only&&(null!=t.hip&&R.hip_decode_exit(t.hip),t.hip=R.hip_decode_init()),t.mode_gr=e.out_samplerate<=24e3?1:2,e.framesize=576*t.mode_gr,e.encoder_delay=b.ENCDELAY,t.resample_ratio=e.in_samplerate/e.out_samplerate,e.VBR){case o.vbr_mt:case o.vbr_rh:case o.vbr_mtrh:var y=[5.7,6.5,7.3,8.2,10,11.9,13,14,15,16.5];e.compression_ratio=y[e.VBR_q];break;case o.vbr_abr:e.compression_ratio=16*e.out_samplerate*t.channels_out/(1e3*e.VBR_mean_bitrate_kbps);break;default:e.compression_ratio=16*e.out_samplerate*t.channels_out/(1e3*e.brate);break}if(e.mode==MPEGMode.NOT_SET&&(e.mode=MPEGMode.JOINT_STEREO),e.highpassfreq>0?(t.highpass1=2*e.highpassfreq,e.highpasswidth>=0?t.highpass2=2*(e.highpassfreq+e.highpasswidth):t.highpass2=2*e.highpassfreq,t.highpass1/=e.out_samplerate,t.highpass2/=e.out_samplerate):(t.highpass1=0,t.highpass2=0),e.lowpassfreq>0?(t.lowpass2=2*e.lowpassfreq,e.lowpasswidth>=0?(t.lowpass1=2*(e.lowpassfreq-e.lowpasswidth),t.lowpass1<0&&(t.lowpass1=0)):t.lowpass1=2*e.lowpassfreq,t.lowpass1/=e.out_samplerate,t.lowpass2/=e.out_samplerate):(t.lowpass1=0,t.lowpass2=0),D(e),t.samplerate_index=P(e.out_samplerate,e),t.samplerate_index<0)return e.internal_flags=null,-1;if(e.VBR==o.vbr_off){if(e.free_format)t.bitrate_index=0;else if(e.brate=N(e.brate,e.version,e.out_samplerate),t.bitrate_index=H(e.brate,e.version,e.out_samplerate),t.bitrate_index<=0)return e.internal_flags=null,-1}else t.bitrate_index=1;e.analysis&&(e.bWriteVbrTag=!1),null!=t.pinfo&&(e.bWriteVbrTag=!1),r.init_bit_stream_w(t);for(var S,A=t.samplerate_index+3*e.version+6*(e.out_samplerate<16e3?1:0),M=0;M<b.SBMAX_l+1;M++)t.scalefac_band.l[M]=w.sfBandIndex[A].l[M];for(M=0;M<b.PSFB21+1;M++){var L=(t.scalefac_band.l[22]-t.scalefac_band.l[21])/b.PSFB21,I=t.scalefac_band.l[21]+M*L;t.scalefac_band.psfb21[M]=I}t.scalefac_band.psfb21[b.PSFB21]=576;for(M=0;M<b.SBMAX_s+1;M++)t.scalefac_band.s[M]=w.sfBandIndex[A].s[M];for(M=0;M<b.PSFB12+1;M++){L=(t.scalefac_band.s[13]-t.scalefac_band.s[12])/b.PSFB12,I=t.scalefac_band.s[12]+M*L;t.scalefac_band.psfb12[M]=I}for(t.scalefac_band.psfb12[b.PSFB12]=192,1==e.version?t.sideinfo_len=1==t.channels_out?21:36:t.sideinfo_len=1==t.channels_out?13:21,e.error_protection&&(t.sideinfo_len+=2),V(e),t.Class_ID=B,S=0;S<19;S++)t.nsPsy.pefirbuf[S]=700*t.mode_gr*t.channels_out;switch(-1==e.ATHtype&&(e.ATHtype=4),u(e.VBR_q<=9),u(e.VBR_q>=0),e.VBR){case o.vbr_mt:e.VBR=o.vbr_mtrh;case o.vbr_mtrh:null==e.useTemporal&&(e.useTemporal=!1),x.apply_preset(e,500-10*e.VBR_q,0),e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),e.quality<5&&(e.quality=0),e.quality>5&&(e.quality=5),t.PSY.mask_adjust=e.maskingadjust,t.PSY.mask_adjust_short=e.maskingadjust_short,e.experimentalY?t.sfb21_extra=!1:t.sfb21_extra=e.out_samplerate>44e3,t.iteration_loop=new VBRNewIterationLoop(k);break;case o.vbr_rh:x.apply_preset(e,500-10*e.VBR_q,0),t.PSY.mask_adjust=e.maskingadjust,t.PSY.mask_adjust_short=e.maskingadjust_short,e.experimentalY?t.sfb21_extra=!1:t.sfb21_extra=e.out_samplerate>44e3,e.quality>6&&(e.quality=6),e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),t.iteration_loop=new VBROldIterationLoop(k);break;default:var j;t.sfb21_extra=!1,e.quality<0&&(e.quality=LAME_DEFAULT_QUALITY),j=e.VBR,j==o.vbr_off&&(e.VBR_mean_bitrate_kbps=e.brate),x.apply_preset(e,e.VBR_mean_bitrate_kbps,0),e.VBR=j,t.PSY.mask_adjust=e.maskingadjust,t.PSY.mask_adjust_short=e.maskingadjust_short,j==o.vbr_off?t.iteration_loop=new g(k):t.iteration_loop=new ABRIterationLoop(k);break}if(u(e.scale>=0),e.VBR!=o.vbr_off){if(t.VBR_min_bitrate=1,t.VBR_max_bitrate=14,e.out_samplerate<16e3&&(t.VBR_max_bitrate=8),0!=e.VBR_min_bitrate_kbps&&(e.VBR_min_bitrate_kbps=N(e.VBR_min_bitrate_kbps,e.version,e.out_samplerate),t.VBR_min_bitrate=H(e.VBR_min_bitrate_kbps,e.version,e.out_samplerate),t.VBR_min_bitrate<0))return-1;if(0!=e.VBR_max_bitrate_kbps&&(e.VBR_max_bitrate_kbps=N(e.VBR_max_bitrate_kbps,e.version,e.out_samplerate),t.VBR_max_bitrate=H(e.VBR_max_bitrate_kbps,e.version,e.out_samplerate),t.VBR_max_bitrate<0))return-1;e.VBR_min_bitrate_kbps=_.bitrate_table[e.version][t.VBR_min_bitrate],e.VBR_max_bitrate_kbps=_.bitrate_table[e.version][t.VBR_max_bitrate],e.VBR_mean_bitrate_kbps=Math.min(_.bitrate_table[e.version][t.VBR_max_bitrate],e.VBR_mean_bitrate_kbps),e.VBR_mean_bitrate_kbps=Math.max(_.bitrate_table[e.version][t.VBR_min_bitrate],e.VBR_mean_bitrate_kbps)}return e.tune&&(t.PSY.mask_adjust+=e.tune_value_a,t.PSY.mask_adjust_short+=e.tune_value_a),U(e),u(e.scale>=0),e.athaa_type<0?t.ATH.useAdjust=3:t.ATH.useAdjust=e.athaa_type,t.ATH.aaSensitivityP=Math.pow(10,e.athaa_sensitivity/-10),null==e.short_blocks&&(e.short_blocks=i.short_block_allowed),e.short_blocks!=i.short_block_allowed||e.mode!=MPEGMode.JOINT_STEREO&&e.mode!=MPEGMode.STEREO||(e.short_blocks=i.short_block_coupled),e.quant_comp<0&&(e.quant_comp=1),e.quant_comp_short<0&&(e.quant_comp_short=0),e.msfix<0&&(e.msfix=0),e.exp_nspsytune=1|e.exp_nspsytune,e.internal_flags.nsPsy.attackthre<0&&(e.internal_flags.nsPsy.attackthre=f.NSATTACKTHRE),e.internal_flags.nsPsy.attackthre_s<0&&(e.internal_flags.nsPsy.attackthre_s=f.NSATTACKTHRE_S),u(e.scale>=0),e.scale<0&&(e.scale=1),e.ATHtype<0&&(e.ATHtype=4),e.ATHcurve<0&&(e.ATHcurve=4),e.athaa_loudapprox<0&&(e.athaa_loudapprox=2),e.interChRatio<0&&(e.interChRatio=0),null==e.useTemporal&&(e.useTemporal=!0),t.slot_lag=t.frac_SpF=0,e.VBR==o.vbr_off&&(t.slot_lag=t.frac_SpF=72e3*(e.version+1)*e.brate%e.out_samplerate|0),w.iteration_init(e),E.psymodel_init(e),u(e.scale>=0),0},this.lame_encode_flush=function(e,t,n,a){var o,i,s,c,u=e.internal_flags,f=l([2,1152]),d=0,p=u.mf_samples_to_encode-b.POSTDELAY,h=$(e);if(u.mf_samples_to_encode<1)return 0;o=0,e.in_samplerate!=e.out_samplerate&&(p+=16*e.out_samplerate/e.in_samplerate),s=e.framesize-p%e.framesize,s<576&&(s+=e.framesize),e.encoder_padding=s,c=(p+s)/e.framesize;while(c>0&&d>=0){var m=h-u.mf_size,g=e.frameNum;m*=e.in_samplerate,m/=e.out_samplerate,m>1152&&(m=1152),m<1&&(m=1),i=a-o,0==a&&(i=0),d=this.lame_encode_buffer(e,f[0],f[1],m,t,n,i),n+=d,o+=d,c-=g!=e.frameNum?1:0}if(u.mf_samples_to_encode=0,d<0)return d;if(i=a-o,0==a&&(i=0),r.flush_bitstream(e),d=r.copy_buffer(u,t,n,i,1),d<0)return d;if(n+=d,o+=d,i=a-o,0==a&&(i=0),e.write_id3tag_automatic){if(M.id3tag_write_v1(e),d=r.copy_buffer(u,t,n,i,0),d<0)return d;o+=d}return o},this.lame_encode_buffer=function(e,t,n,r,a,o,i){var s=e.internal_flags,c=[null,null];if(s.Class_ID!=B)return-3;if(0==r)return 0;q(s,r),c[0]=s.in_buffer_0,c[1]=s.in_buffer_1;for(var l=0;l<r;l++)c[0][l]=t[l],s.channels_in>1&&(c[1][l]=n[l]);return z(e,c[0],c[1],r,a,o,i)}}e.exports=y},df75:function(e,t,n){var r=n("ca84"),a=n("7839");e.exports=Object.keys||function(e){return r(e,a)}},dfb9:function(e,t){e.exports=function(e,t){var n=0,r=t.length,a=new e(r);while(r>n)a[n]=t[n++];return a}},e01a:function(e,t,n){"use strict";var r=n("23e7"),a=n("83ab"),o=n("da84"),i=n("5135"),s=n("1626"),c=n("861d"),l=n("9bf2").f,u=n("e893"),f=o.Symbol;if(a&&s(f)&&(!("description"in f.prototype)||void 0!==f().description)){var d={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new f(e):void 0===e?f():f(e);return""===e&&(d[t]=!0),t};u(p,f);var h=p.prototype=f.prototype;h.constructor=p;var m=h.toString,g="Symbol(test)"==String(f("test")),v=/^Symbol\((.*)\)[^)]+$/;l(h,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=m.call(e);if(i(d,e))return"";var n=g?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},e107:function(e,t,n){var r=n("0206"),a=r.System,o=r.VbrMode,i=(r.Float,r.ShortBlock),s=(r.Util,r.Arrays),c=(r.new_array_n,r.new_byte),l=(r.new_double,r.new_float,r.new_float_n,r.new_int,r.new_int_n,r.assert);function u(){var e,t,n;this.setModules=function(r,a,o){e=r,t=a,n=o};var r=1,f=2,d=4,p=8,h=u.NUMTOCENTRIES,m=u.MAXFRAMESIZE,g=h+4+4+4+4+4,v=g+9+1+1+8+1+1+3+1+1+2+4+2+2,_=128,b=64,y=32,x=null,w="Xing",k="Info",S=[0,49345,49537,320,49921,960,640,49729,50689,1728,1920,51009,1280,50625,50305,1088,52225,3264,3456,52545,3840,53185,52865,3648,2560,51905,52097,2880,51457,2496,2176,51265,55297,6336,6528,55617,6912,56257,55937,6720,7680,57025,57217,8e3,56577,7616,7296,56385,5120,54465,54657,5440,55041,6080,5760,54849,53761,4800,4992,54081,4352,53697,53377,4160,61441,12480,12672,61761,13056,62401,62081,12864,13824,63169,63361,14144,62721,13760,13440,62529,15360,64705,64897,15680,65281,16320,16e3,65089,64001,15040,15232,64321,14592,63937,63617,14400,10240,59585,59777,10560,60161,11200,10880,59969,60929,11968,12160,61249,11520,60865,60545,11328,58369,9408,9600,58689,9984,59329,59009,9792,8704,58049,58241,9024,57601,8640,8320,57409,40961,24768,24960,41281,25344,41921,41601,25152,26112,42689,42881,26432,42241,26048,25728,42049,27648,44225,44417,27968,44801,28608,28288,44609,43521,27328,27520,43841,26880,43457,43137,26688,30720,47297,47489,31040,47873,31680,31360,47681,48641,32448,32640,48961,32e3,48577,48257,31808,46081,29888,30080,46401,30464,47041,46721,30272,29184,45761,45953,29504,45313,29120,28800,45121,20480,37057,37249,20800,37633,21440,21120,37441,38401,22208,22400,38721,21760,38337,38017,21568,39937,23744,23936,40257,24320,40897,40577,24128,23040,39617,39809,23360,39169,22976,22656,38977,34817,18624,18816,35137,19200,35777,35457,19008,19968,36545,36737,20288,36097,19904,19584,35905,17408,33985,34177,17728,34561,18368,18048,34369,33281,17088,17280,33601,16640,33217,32897,16448];function A(e,t){if(e.nVbrNumFrames++,e.sum+=t,e.seen++,!(e.seen<e.want)&&(e.pos<e.size&&(e.bag[e.pos]=e.sum,e.pos++,e.seen=0),e.pos==e.size)){for(var n=1;n<e.size;n+=2)e.bag[n/2]=e.bag[n];e.want*=2,e.pos/=2}}function M(e,t){if(!(e.pos<=0))for(var n=1;n<h;++n){var r,a,o=n/h,i=0|Math.floor(o*e.pos);i>e.pos-1&&(i=e.pos-1),r=e.bag[i],a=e.sum;var s=0|256*r/a;s>255&&(s=255),t[n]=255&s}}function R(e,t){var n=255&e[t+0];return n<<=8,n|=255&e[t+1],n<<=8,n|=255&e[t+2],n<<=8,n|=255&e[t+3],n}function E(e,t,n){e[t+0]=255&n>>24,e[t+1]=255&n>>16,e[t+2]=255&n>>8,e[t+3]=255&n}function T(e,t,n){e[t+0]=255&n>>8,e[t+1]=255&n}function O(e,t){return new String(e,t,w.length(),x).equals(w)||new String(e,t,k.length(),x).equals(k)}function L(e,t,n){return 255&(e<<t|n&~(-1<<t))}function B(t,n){var r=t.internal_flags;n[0]=L(n[0],8,255),n[1]=L(n[1],3,7),n[1]=L(n[1],1,t.out_samplerate<16e3?0:1),n[1]=L(n[1],1,t.version),n[1]=L(n[1],2,1),n[1]=L(n[1],1,t.error_protection?0:1),n[2]=L(n[2],4,r.bitrate_index),n[2]=L(n[2],2,r.samplerate_index),n[2]=L(n[2],1,0),n[2]=L(n[2],1,t.extension),n[3]=L(n[3],2,t.mode.ordinal()),n[3]=L(n[3],2,r.mode_ext),n[3]=L(n[3],1,t.copyright),n[3]=L(n[3],1,t.original),n[3]=L(n[3],2,t.emphasis),n[0]=255;var a,i,s=241&n[1];a=1==t.version?_:t.out_samplerate<16e3?y:b,t.VBR==o.vbr_off&&(a=t.brate),i=t.free_format?0:255&16*e.BitrateIndex(a,t.version,t.out_samplerate),1==t.version?(n[1]=255&(10|s),s=13&n[2],n[2]=255&(i|s)):(n[1]=255&(2|s),s=13&n[2],n[2]=255&(i|s))}function I(e,t){var n=t^e;return t=t>>8^S[255&n],t}function j(e,t,r,a,o){var s,c,l,u=e.internal_flags,f=0,d=e.encoder_delay,p=e.encoder_padding,h=100-10*e.VBR_q-e.quality,m=n.getLameVeryShortVersion(),g=0,v=[1,5,3,2,4,0,3],_=0|(e.lowpassfreq/100+.5>255?255:e.lowpassfreq/100+.5),b=0,y=0,x=0,w=e.internal_flags.noise_shaping,k=0,S=0,A=0,M=0,R=0,O=0!=(1&e.exp_nspsytune),L=0!=(2&e.exp_nspsytune),B=!1,j=!1,C=e.internal_flags.nogap_total,P=e.internal_flags.nogap_current,N=e.ATHtype,H=0;switch(e.VBR){case vbr_abr:l=e.VBR_mean_bitrate_kbps;break;case vbr_off:l=e.brate;break;default:l=e.VBR_min_bitrate_kbps}switch(s=e.VBR.ordinal()<v.length?v[e.VBR.ordinal()]:0,c=16*g+s,u.findReplayGain&&(u.RadioGain>510&&(u.RadioGain=510),u.RadioGain<-510&&(u.RadioGain=-510),y=8192,y|=3072,u.RadioGain>=0?y|=u.RadioGain:(y|=512,y|=-u.RadioGain)),u.findPeakSample&&(b=Math.abs(0|u.PeakSample/32767*Math.pow(2,23)+.5)),-1!=C&&(P>0&&(j=!0),P<C-1&&(B=!0)),H=N+((O?1:0)<<4)+((L?1:0)<<5)+((B?1:0)<<6)+((j?1:0)<<7),h<0&&(h=0),e.mode){case MONO:k=0;break;case STEREO:k=1;break;case DUAL_CHANNEL:k=2;break;case JOINT_STEREO:k=e.force_ms?4:3;break;case NOT_SET:default:k=7;break}A=e.in_samplerate<=32e3?0:48e3==e.in_samplerate?2:e.in_samplerate>48e3?3:1,(e.short_blocks==i.short_block_forced||e.short_blocks==i.short_block_dispensed||-1==e.lowpassfreq&&-1==e.highpassfreq||e.scale_left<e.scale_right||e.scale_left>e.scale_right||e.disable_reservoir&&e.brate<320||e.noATH||e.ATHonly||0==N||e.in_samplerate<=32e3)&&(S=1),M=w+(k<<2)+(S<<5)+(A<<6),R=u.nMusicCRC,E(r,a+f,h),f+=4;for(var F=0;F<9;F++)r[a+f+F]=255&m.charAt(F);f+=9,r[a+f]=255&c,f++,r[a+f]=255&_,f++,E(r,a+f,b),f+=4,T(r,a+f,y),f+=2,T(r,a+f,x),f+=2,r[a+f]=255&H,f++,r[a+f]=l>=255?255:255&l,f++,r[a+f]=255&d>>4,r[a+f+1]=255&(d<<4)+(p>>8),r[a+f+2]=255&p,f+=3,r[a+f]=255&M,f++,r[a+f++]=0,T(r,a+f,e.preset),f+=2,E(r,a+f,t),f+=4,T(r,a+f,R),f+=2;for(var D=0;D<f;D++)o=I(r[a+D],o);return T(r,a+f,o),f+=2,f}function C(e){e.seek(0);var t,n=c(10);return e.readFully(n),t=new String(n,"ISO-8859-1").startsWith("ID3")?0:((127&n[6])<<21|(127&n[7])<<14|(127&n[8])<<7|127&n[9])+n.length,t}this.addVbrFrame=function(e){var t=e.internal_flags,n=Tables.bitrate_table[e.version][t.bitrate_index];l(null!=t.VBR_seek_table.bag),A(t.VBR_seek_table,n)},this.getVbrTag=function(e){var t=new VBRTagData,n=0;t.flags=0;var a=e[n+1]>>3&1,o=e[n+2]>>2&3,i=e[n+3]>>6&3,s=e[n+2]>>4&15;if(s=Tables.bitrate_table[a][s],e[n+1]>>4==14?t.samprate=Tables.samplerate_table[2][o]:t.samprate=Tables.samplerate_table[a][o],n+=0!=a?3!=i?36:21:3!=i?21:13,!O(e,n))return null;n+=4,t.hId=a;var c=t.flags=R(e,n);if(n+=4,0!=(c&r)&&(t.frames=R(e,n),n+=4),0!=(c&f)&&(t.bytes=R(e,n),n+=4),0!=(c&d)){if(null!=t.toc)for(var l=0;l<h;l++)t.toc[l]=e[n+l];n+=h}t.vbrScale=-1,0!=(c&p)&&(t.vbrScale=R(e,n),n+=4),t.headersize=72e3*(a+1)*s/t.samprate,n+=21;var u=e[n+0]<<4;u+=e[n+1]>>4;var m=(15&e[n+1])<<8;return m+=255&e[n+2],(u<0||u>3e3)&&(u=-1),(m<0||m>3e3)&&(m=-1),t.encDelay=u,t.encPadding=m,t},this.InitVbrTag=function(e){var n,r=e.internal_flags;n=1==e.version?_:e.out_samplerate<16e3?y:b,e.VBR==o.vbr_off&&(n=e.brate);var a=72e3*(e.version+1)*n/e.out_samplerate,i=r.sideinfo_len+v;if(r.VBR_seek_table.TotalFrameSize=a,a<i||a>m)e.bWriteVbrTag=!1;else{r.VBR_seek_table.nVbrNumFrames=0,r.VBR_seek_table.nBytesWritten=0,r.VBR_seek_table.sum=0,r.VBR_seek_table.seen=0,r.VBR_seek_table.want=1,r.VBR_seek_table.pos=0,null==r.VBR_seek_table.bag&&(r.VBR_seek_table.bag=new int[400],r.VBR_seek_table.size=400);var s=c(m);B(e,s);for(var l=r.VBR_seek_table.TotalFrameSize,u=0;u<l;++u)t.add_dummy_byte(e,255&s[u],1)}},this.updateMusicCRC=function(e,t,n,r){for(var a=0;a<r;++a)e[0]=I(t[n+a],e[0])},this.getLameTagFrame=function(e,n){var i=e.internal_flags;if(!e.bWriteVbrTag)return 0;if(i.Class_ID!=Lame.LAME_ID)return 0;if(i.VBR_seek_table.pos<=0)return 0;if(n.length<i.VBR_seek_table.TotalFrameSize)return i.VBR_seek_table.TotalFrameSize;s.fill(n,0,i.VBR_seek_table.TotalFrameSize,0),B(e,n);var l=c(h);if(e.free_format)for(var u=1;u<h;++u)l[u]=255&255*u/100;else M(i.VBR_seek_table,l);var m=i.sideinfo_len;e.error_protection&&(m-=2),e.VBR==o.vbr_off?(n[m++]=255&k.charAt(0),n[m++]=255&k.charAt(1),n[m++]=255&k.charAt(2),n[m++]=255&k.charAt(3)):(n[m++]=255&w.charAt(0),n[m++]=255&w.charAt(1),n[m++]=255&w.charAt(2),n[m++]=255&w.charAt(3)),E(n,m,r+f+d+p),m+=4,E(n,m,i.VBR_seek_table.nVbrNumFrames),m+=4;var g=i.VBR_seek_table.nBytesWritten+i.VBR_seek_table.TotalFrameSize;E(n,m,0|g),m+=4,a.arraycopy(l,0,n,m,l.length),m+=l.length,e.error_protection&&t.CRC_writeheader(i,n);var v=0;for(u=0;u<m;u++)v=I(n[u],v);return m+=j(e,g,n,m,v),i.VBR_seek_table.TotalFrameSize},this.putVbrTag=function(e,t){var n=e.internal_flags;if(n.VBR_seek_table.pos<=0)return-1;if(t.seek(t.length()),0==t.length())return-1;var r=C(t);t.seek(r);var a=c(m),o=getLameTagFrame(e,a);return o>a.length?-1:(o<1||t.write(a,0,o),0)}}u.NUMTOCENTRIES=100,u.MAXFRAMESIZE=2880,e.exports=u},e163:function(e,t,n){var r=n("5135"),a=n("1626"),o=n("7b0b"),i=n("f772"),s=n("e177"),c=i("IE_PROTO"),l=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){var t=o(e);if(r(t,c))return t[c];var n=t.constructor;return a(n)&&t instanceof n?n.prototype:t instanceof Object?l:null}},e166:function(e,t,n){
  /*!
   * vue-infinite-loading v2.4.5
   * (c) 2016-2021 PeachScript
   * MIT License
   */
  !function(t,n){e.exports=n()}(0,(function(){return 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}return 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=9)}([function(e,t,n){var r=n(6);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("09280948",r,!0,{})},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",a=e[3];if(!a)return r;if(t&&"function"==typeof btoa){var o=(n=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),i=a.sources.map((function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"}));return[r].concat(i).concat([o]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(r[o]=!0)}for(a=0;a<e.length;a++){var i=e[a];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),t.push(i))}},t}},function(e,t,n){var r=n(8);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("5f444915",r,!0,{})},function(e,t,n){"use strict";function r(e,t){for(var n=[],r={},a=0;a<t.length;a++){var o=t[a],i=o[0],s={id:e+":"+a,css:o[1],media:o[2],sourceMap:o[3]};r[i]?r[i].parts.push(s):n.push(r[i]={id:i,parts:[s]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var a="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},i=a&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},f=null,d="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,a){l=n,f=a||{};var i=r(e,t);return h(i),function(t){for(var n=[],a=0;a<i.length;a++){var s=i[a];(c=o[s.id]).refs--,n.push(c)}for(t?h(i=r(e,t)):i=[],a=0;a<n.length;a++){var c;if(0===(c=n[a]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete o[c.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=o[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(g(n.parts[a]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var i=[];for(a=0;a<n.parts.length;a++)i.push(g(n.parts[a]));o[n.id]={id:n.id,refs:1,parts:i}}}}function m(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function g(e){var t,n,r=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(r){if(l)return u;r.parentNode.removeChild(r)}if(d){var a=c++;r=s||(s=m()),t=b.bind(null,r,a,!1),n=b.bind(null,r,a,!0)}else r=m(),t=y.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var v,_=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function b(e,t,n,r){var a=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function y(e,t){var n=t.css,r=t.media,a=t.sourceMap;if(r&&e.setAttribute("media",r),f.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=n=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";n.r(t);var r=n(0);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,'.loading-wave-dots[data-v-46b20d22]{position:relative}.loading-wave-dots[data-v-46b20d22] .wave-item{position:absolute;top:50%;left:50%;display:inline-block;margin-top:-4px;width:8px;height:8px;border-radius:50%;-webkit-animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite;animation:loading-wave-dots-data-v-46b20d22 linear 2.8s infinite}.loading-wave-dots[data-v-46b20d22] .wave-item:first-child{margin-left:-36px}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(2){margin-left:-20px;-webkit-animation-delay:.14s;animation-delay:.14s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(3){margin-left:-4px;-webkit-animation-delay:.28s;animation-delay:.28s}.loading-wave-dots[data-v-46b20d22] .wave-item:nth-child(4){margin-left:12px;-webkit-animation-delay:.42s;animation-delay:.42s}.loading-wave-dots[data-v-46b20d22] .wave-item:last-child{margin-left:28px;-webkit-animation-delay:.56s;animation-delay:.56s}@-webkit-keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}@keyframes loading-wave-dots-data-v-46b20d22{0%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}10%{-webkit-transform:translateY(-6px);transform:translateY(-6px);background:#999}20%{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}to{-webkit-transform:translateY(0);transform:translateY(0);background:#bbb}}.loading-circles[data-v-46b20d22] .circle-item{width:5px;height:5px;-webkit-animation:loading-circles-data-v-46b20d22 linear .75s infinite;animation:loading-circles-data-v-46b20d22 linear .75s infinite}.loading-circles[data-v-46b20d22] .circle-item:first-child{margin-top:-14.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){margin-top:-11.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){margin-top:-2.5px;margin-left:9.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){margin-top:6.26px;margin-left:6.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){margin-top:9.5px;margin-left:-2.5px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){margin-top:6.26px;margin-left:-11.26px}.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){margin-top:-2.5px;margin-left:-14.5px}.loading-circles[data-v-46b20d22] .circle-item:last-child{margin-top:-11.26px;margin-left:-11.26px}@-webkit-keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}@keyframes loading-circles-data-v-46b20d22{0%{background:#dfdfdf}90%{background:#505050}to{background:#dfdfdf}}.loading-bubbles[data-v-46b20d22] .bubble-item{background:#666;-webkit-animation:loading-bubbles-data-v-46b20d22 linear .75s infinite;animation:loading-bubbles-data-v-46b20d22 linear .75s infinite}.loading-bubbles[data-v-46b20d22] .bubble-item:first-child{margin-top:-12.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2){margin-top:-9.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3){margin-top:-.5px;margin-left:11.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4){margin-top:8.26px;margin-left:8.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5){margin-top:11.5px;margin-left:-.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6){margin-top:8.26px;margin-left:-9.26px}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7){margin-top:-.5px;margin-left:-12.5px}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child{margin-top:-9.26px;margin-left:-9.26px}@-webkit-keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}@keyframes loading-bubbles-data-v-46b20d22{0%{width:1px;height:1px;box-shadow:0 0 0 3px #666}90%{width:1px;height:1px;box-shadow:0 0 0 0 #666}to{width:1px;height:1px;box-shadow:0 0 0 3px #666}}.loading-default[data-v-46b20d22]{position:relative;border:1px solid #999;-webkit-animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite;animation:loading-rotating-data-v-46b20d22 ease 1.5s infinite}.loading-default[data-v-46b20d22]:before{content:"";position:absolute;display:block;top:0;left:50%;margin-top:-3px;margin-left:-3px;width:6px;height:6px;background-color:#999;border-radius:50%}.loading-spiral[data-v-46b20d22]{border:2px solid #777;border-right-color:transparent;-webkit-animation:loading-rotating-data-v-46b20d22 linear .85s infinite;animation:loading-rotating-data-v-46b20d22 linear .85s infinite}@-webkit-keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotating-data-v-46b20d22{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loading-bubbles[data-v-46b20d22],.loading-circles[data-v-46b20d22]{position:relative}.loading-bubbles[data-v-46b20d22] .bubble-item,.loading-circles[data-v-46b20d22] .circle-item{position:absolute;top:50%;left:50%;display:inline-block;border-radius:50%}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(2),.loading-circles[data-v-46b20d22] .circle-item:nth-child(2){-webkit-animation-delay:93ms;animation-delay:93ms}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(3),.loading-circles[data-v-46b20d22] .circle-item:nth-child(3){-webkit-animation-delay:.186s;animation-delay:.186s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(4),.loading-circles[data-v-46b20d22] .circle-item:nth-child(4){-webkit-animation-delay:.279s;animation-delay:.279s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(5),.loading-circles[data-v-46b20d22] .circle-item:nth-child(5){-webkit-animation-delay:.372s;animation-delay:.372s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(6),.loading-circles[data-v-46b20d22] .circle-item:nth-child(6){-webkit-animation-delay:.465s;animation-delay:.465s}.loading-bubbles[data-v-46b20d22] .bubble-item:nth-child(7),.loading-circles[data-v-46b20d22] .circle-item:nth-child(7){-webkit-animation-delay:.558s;animation-delay:.558s}.loading-bubbles[data-v-46b20d22] .bubble-item:last-child,.loading-circles[data-v-46b20d22] .circle-item:last-child{-webkit-animation-delay:.651s;animation-delay:.651s}',""])},function(e,t,n){"use strict";n.r(t);var r=n(2);for(var a in r)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(a)},function(e,t,n){(e.exports=n(1)(!1)).push([e.i,".infinite-loading-container[data-v-670d0042]{clear:both;text-align:center}.infinite-loading-container[data-v-670d0042] [class^=loading-]{display:inline-block;margin:5px 0;width:28px;height:28px;font-size:28px;line-height:28px;border-radius:50%}.btn-try-infinite[data-v-670d0042]{margin-top:5px;padding:5px 10px;color:#999;font-size:14px;line-height:1;background:transparent;border:1px solid #ccc;border-radius:3px;outline:none;cursor:pointer}.btn-try-infinite[data-v-670d0042]:not(:active):hover{opacity:.8}",""])},function(e,t,n){"use strict";n.r(t);var r={throttleLimit:50,loopCheckTimeout:1e3,loopCheckMaxCalls:10},a=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e={passive:!0},!0}});window.addEventListener("testpassive",t,t),window.remove("testpassive",t,t)}catch(e){}return e}(),o={STATE_CHANGER:["emit `loaded` and `complete` event through component instance of `$refs` may cause error, so it will be deprecated soon, please use the `$state` argument instead (`$state` just the special `$event` variable):","\ntemplate:",'<infinite-loading @infinite="infiniteHandler"></infinite-loading>',"\nscript:\n...\ninfiniteHandler($state) {\n  ajax('https://www.example.com/api/news')\n    .then((res) => {\n      if (res.data.length) {\n        $state.loaded();\n      } else {\n        $state.complete();\n      }\n    });\n}\n...","","more details: https://github.com/PeachScript/vue-infinite-loading/issues/57#issuecomment-324370549"].join("\n"),INFINITE_EVENT:"`:on-infinite` property will be deprecated soon, please use `@infinite` event instead.",IDENTIFIER:"the `reset` event will be deprecated soon, please reset this component by change the `identifier` property."},i={INFINITE_LOOP:["executed the callback function more than ".concat(r.loopCheckMaxCalls," times for a short time, it looks like searched a wrong scroll wrapper that doest not has fixed height or maximum height, please check it. If you want to force to set a element as scroll wrapper ranther than automatic searching, you can do this:"),'\n\x3c!-- add a special attribute for the real scroll wrapper --\x3e\n<div infinite-wrapper>\n  ...\n  \x3c!-- set force-use-infinite-wrapper --\x3e\n  <infinite-loading force-use-infinite-wrapper></infinite-loading>\n</div>\nor\n<div class="infinite-wrapper">\n  ...\n  \x3c!-- set force-use-infinite-wrapper as css selector of the real scroll wrapper --\x3e\n  <infinite-loading force-use-infinite-wrapper=".infinite-wrapper"></infinite-loading>\n</div>\n    ',"more details: https://github.com/PeachScript/vue-infinite-loading/issues/55#issuecomment-316934169"].join("\n")},s={READY:0,LOADING:1,COMPLETE:2,ERROR:3},c={color:"#666",fontSize:"14px",padding:"10px 0"},l={mode:"development",props:{spinner:"default",distance:100,forceUseInfiniteWrapper:!1},system:r,slots:{noResults:"No results :(",noMore:"No more data :)",error:"Opps, something went wrong :(",errorBtnText:"Retry",spinner:""},WARNINGS:o,ERRORS:i,STATUS:s},u=n(4),f=n.n(u),d={BUBBLES:{render:function(e){return e("span",{attrs:{class:"loading-bubbles"}},Array.apply(Array,Array(8)).map((function(){return e("span",{attrs:{class:"bubble-item"}})})))}},CIRCLES:{render:function(e){return e("span",{attrs:{class:"loading-circles"}},Array.apply(Array,Array(8)).map((function(){return e("span",{attrs:{class:"circle-item"}})})))}},DEFAULT:{render:function(e){return e("i",{attrs:{class:"loading-default"}})}},SPIRAL:{render:function(e){return e("i",{attrs:{class:"loading-spiral"}})}},WAVEDOTS:{render:function(e){return e("span",{attrs:{class:"loading-wave-dots"}},Array.apply(Array,Array(5)).map((function(){return e("span",{attrs:{class:"wave-item"}})})))}}};function p(e,t,n,r,a,o,i,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:l}}var h=p({name:"Spinner",computed:{spinnerView:function(){return d[(this.$attrs.spinner||"").toUpperCase()]||this.spinnerInConfig},spinnerInConfig:function(){return l.slots.spinner&&"string"==typeof l.slots.spinner?{render:function(){return this._v(l.slots.spinner)}}:"object"===f()(l.slots.spinner)?l.slots.spinner:d[l.props.spinner.toUpperCase()]||d.DEFAULT}}},(function(){var e=this.$createElement;return(this._self._c||e)(this.spinnerView,{tag:"component"})}),[],!1,(function(e){var t=n(5);t.__inject__&&t.__inject__(e)}),"46b20d22",null).exports;function m(e){"production"!==l.mode&&console.warn("[Vue-infinite-loading warn]: ".concat(e))}function g(e){console.error("[Vue-infinite-loading error]: ".concat(e))}var v={timers:[],caches:[],throttle:function(e){var t=this;-1===this.caches.indexOf(e)&&(this.caches.push(e),this.timers.push(setTimeout((function(){e(),t.caches.splice(t.caches.indexOf(e),1),t.timers.shift()}),l.system.throttleLimit)))},reset:function(){this.timers.forEach((function(e){clearTimeout(e)})),this.timers.length=0,this.caches=[]}},_={isChecked:!1,timer:null,times:0,track:function(){var e=this;this.times+=1,clearTimeout(this.timer),this.timer=setTimeout((function(){e.isChecked=!0}),l.system.loopCheckTimeout),this.times>l.system.loopCheckMaxCalls&&(g(i.INFINITE_LOOP),this.isChecked=!0)}},b={key:"_infiniteScrollHeight",getScrollElm:function(e){return e===window?document.documentElement:e},save:function(e){var t=this.getScrollElm(e);t[this.key]=t.scrollHeight},restore:function(e){var t=this.getScrollElm(e);"number"==typeof t[this.key]&&(t.scrollTop=t.scrollHeight-t[this.key]+t.scrollTop),this.remove(t)},remove:function(e){void 0!==e[this.key]&&delete e[this.key]}};function y(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}function x(e){return e.offsetWidth+e.offsetHeight>0}var w=p({name:"InfiniteLoading",data:function(){return{scrollParent:null,scrollHandler:null,isFirstLoad:!0,status:s.READY,slots:l.slots}},components:{Spinner:h},computed:{isShowSpinner:function(){return this.status===s.LOADING},isShowError:function(){return this.status===s.ERROR},isShowNoResults:function(){return this.status===s.COMPLETE&&this.isFirstLoad},isShowNoMore:function(){return this.status===s.COMPLETE&&!this.isFirstLoad},slotStyles:function(){var e=this,t={};return Object.keys(l.slots).forEach((function(n){var r=y(n);(!e.$slots[r]&&!l.slots[n].render||e.$slots[r]&&!e.$slots[r][0].tag)&&(t[n]=c)})),t}},props:{distance:{type:Number,default:l.props.distance},spinner:String,direction:{type:String,default:"bottom"},forceUseInfiniteWrapper:{type:[Boolean,String],default:l.props.forceUseInfiniteWrapper},identifier:{default:+new Date},webComponentName:{type:[String]},onInfinite:Function},watch:{identifier:function(){this.stateChanger.reset()}},mounted:function(){var e=this;this.$watch("forceUseInfiniteWrapper",(function(){e.scrollParent=e.getScrollParent()}),{immediate:!0}),this.scrollHandler=function(t){e.status===s.READY&&(t&&t.constructor===Event&&x(e.$el)?v.throttle(e.attemptLoad):e.attemptLoad())},setTimeout((function(){e.scrollHandler(),e.scrollParent.addEventListener("scroll",e.scrollHandler,a)}),1),this.$on("$InfiniteLoading:loaded",(function(t){e.isFirstLoad=!1,"top"===e.direction&&e.$nextTick((function(){b.restore(e.scrollParent)})),e.status===s.LOADING&&e.$nextTick(e.attemptLoad.bind(null,!0)),t&&t.target===e||m(o.STATE_CHANGER)})),this.$on("$InfiniteLoading:complete",(function(t){e.status=s.COMPLETE,e.$nextTick((function(){e.$forceUpdate()})),e.scrollParent.removeEventListener("scroll",e.scrollHandler,a),t&&t.target===e||m(o.STATE_CHANGER)})),this.$on("$InfiniteLoading:reset",(function(t){e.status=s.READY,e.isFirstLoad=!0,b.remove(e.scrollParent),e.scrollParent.addEventListener("scroll",e.scrollHandler,a),setTimeout((function(){v.reset(),e.scrollHandler()}),1),t&&t.target===e||m(o.IDENTIFIER)})),this.stateChanger={loaded:function(){e.$emit("$InfiniteLoading:loaded",{target:e})},complete:function(){e.$emit("$InfiniteLoading:complete",{target:e})},reset:function(){e.$emit("$InfiniteLoading:reset",{target:e})},error:function(){e.status=s.ERROR,v.reset()}},this.onInfinite&&m(o.INFINITE_EVENT)},deactivated:function(){this.status===s.LOADING&&(this.status=s.READY),this.scrollParent.removeEventListener("scroll",this.scrollHandler,a)},activated:function(){this.scrollParent.addEventListener("scroll",this.scrollHandler,a)},methods:{attemptLoad:function(e){var t=this;this.status!==s.COMPLETE&&x(this.$el)&&this.getCurrentDistance()<=this.distance?(this.status=s.LOADING,"top"===this.direction&&this.$nextTick((function(){b.save(t.scrollParent)})),"function"==typeof this.onInfinite?this.onInfinite.call(null,this.stateChanger):this.$emit("infinite",this.stateChanger),!e||this.forceUseInfiniteWrapper||_.isChecked||_.track()):this.status===s.LOADING&&(this.status=s.READY)},getCurrentDistance:function(){var e;return e="top"===this.direction?"number"==typeof this.scrollParent.scrollTop?this.scrollParent.scrollTop:this.scrollParent.pageYOffset:this.$el.getBoundingClientRect().top-(this.scrollParent===window?window.innerHeight:this.scrollParent.getBoundingClientRect().bottom),e},getScrollParent:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$el;return"string"==typeof this.forceUseInfiniteWrapper&&(this.webComponentName&&(t=document.querySelector(this.webComponentName)),e=t?t.shadowRoot.querySelector(this.forceUseInfiniteWrapper):document.querySelector(this.forceUseInfiniteWrapper)),e||("BODY"===n.tagName?e=window:(!this.forceUseInfiniteWrapper&&["scroll","auto"].indexOf(getComputedStyle(n).overflowY)>-1||n.hasAttribute("infinite-wrapper")||n.hasAttribute("data-infinite-wrapper"))&&(e=n)),e||this.getScrollParent(n.parentNode)}},destroyed:function(){!this.status!==s.COMPLETE&&(v.reset(),b.remove(this.scrollParent),this.scrollParent.removeEventListener("scroll",this.scrollHandler,a))}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"infinite-loading-container"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowSpinner,expression:"isShowSpinner"}],staticClass:"infinite-status-prompt",style:e.slotStyles.spinner},[e._t("spinner",[n("spinner",{attrs:{spinner:e.spinner}})],null,{isFirstLoad:e.isFirstLoad})],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoResults,expression:"isShowNoResults"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noResults},[e._t("no-results",[e.slots.noResults.render?n(e.slots.noResults,{tag:"component"}):[e._v(e._s(e.slots.noResults))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowNoMore,expression:"isShowNoMore"}],staticClass:"infinite-status-prompt",style:e.slotStyles.noMore},[e._t("no-more",[e.slots.noMore.render?n(e.slots.noMore,{tag:"component"}):[e._v(e._s(e.slots.noMore))]])],2),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isShowError,expression:"isShowError"}],staticClass:"infinite-status-prompt",style:e.slotStyles.error},[e._t("error",[e.slots.error.render?n(e.slots.error,{tag:"component",attrs:{trigger:e.attemptLoad}}):[e._v("\n        "+e._s(e.slots.error)+"\n        "),n("br"),e._v(" "),n("button",{staticClass:"btn-try-infinite",domProps:{textContent:e._s(e.slots.errorBtnText)},on:{click:e.attemptLoad}})]],{trigger:e.attemptLoad})],2)])}),[],!1,(function(e){var t=n(7);t.__inject__&&t.__inject__(e)}),"670d0042",null).exports;function k(e){l.mode=e.config.productionTip?"development":"production"}Object.defineProperty(w,"install",{configurable:!1,enumerable:!1,value:function(e,t){Object.assign(l.props,t&&t.props),Object.assign(l.slots,t&&t.slots),Object.assign(l.system,t&&t.system),e.component("infinite-loading",w),k(e)}}),"undefined"!=typeof window&&window.Vue&&(window.Vue.component("infinite-loading",w),k(window.Vue)),t.default=w}])}))},e177:function(e,t,n){var r=n("d039");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},e260:function(e,t,n){"use strict";var r=n("fc6a"),a=n("44d2"),o=n("3f8c"),i=n("69f3"),s=n("7dd0"),c="Array Iterator",l=i.set,u=i.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,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"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},e2cc:function(e,t,n){var r=n("6eeb");e.exports=function(e,t,n){for(var a in t)r(e,a,t[a],n);return e}},e439:function(e,t,n){var r=n("23e7"),a=n("d039"),o=n("fc6a"),i=n("06cf").f,s=n("83ab"),c=a((function(){i(1)})),l=!s||c;r({target:"Object",stat:!0,forced:l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return i(o(e),t)}})},e538:function(e,t,n){var r=n("b622");t.f=r},e58c:function(e,t,n){"use strict";var r=n("fc6a"),a=n("a691"),o=n("50c4"),i=n("a640"),s=Math.min,c=[].lastIndexOf,l=!!c&&1/[1].lastIndexOf(1,-0)<0,u=i("lastIndexOf"),f=l||!u;e.exports=f?function(e){if(l)return c.apply(this,arguments)||0;var t=r(this),n=o(t.length),i=n-1;for(arguments.length>1&&(i=s(i,a(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in t&&t[i]===e)return i||0;return-1}:c},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){"use strict";var r,a,o,i,s=n("23e7"),c=n("c430"),l=n("da84"),u=n("d066"),f=n("fea9"),d=n("6eeb"),p=n("e2cc"),h=n("d2bb"),m=n("d44e"),g=n("2626"),v=n("59ed"),_=n("1626"),b=n("861d"),y=n("19aa"),x=n("8925"),w=n("2266"),k=n("1c7e"),S=n("4840"),A=n("2cf4").set,M=n("b575"),R=n("cdf9"),E=n("44de"),T=n("f069"),O=n("e667"),L=n("69f3"),B=n("94ca"),I=n("b622"),j=n("6069"),C=n("605d"),P=n("2d00"),N=I("species"),H="Promise",F=L.get,D=L.set,U=L.getterFor(H),V=f&&f.prototype,q=f,$=V,z=l.TypeError,Y=l.document,X=l.process,G=T.f,K=G,W=!!(Y&&Y.createEvent&&l.dispatchEvent),Z=_(l.PromiseRejectionEvent),Q="unhandledrejection",J="rejectionhandled",ee=0,te=1,ne=2,re=1,ae=2,oe=!1,ie=B(H,(function(){var e=x(q),t=e!==String(q);if(!t&&66===P)return!0;if(c&&!$["finally"])return!0;if(P>=51&&/native code/.test(e))return!1;var n=new q((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))},a=n.constructor={};return a[N]=r,oe=n.then((function(){}))instanceof r,!oe||!t&&j&&!Z})),se=ie||!k((function(e){q.all(e)["catch"]((function(){}))})),ce=function(e){var t;return!(!b(e)||!_(t=e.then))&&t},le=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;M((function(){var r=e.value,a=e.state==te,o=0;while(n.length>o){var i,s,c,l=n[o++],u=a?l.ok:l.fail,f=l.resolve,d=l.reject,p=l.domain;try{u?(a||(e.rejection===ae&&pe(e),e.rejection=re),!0===u?i=r:(p&&p.enter(),i=u(r),p&&(p.exit(),c=!0)),i===l.promise?d(z("Promise-chain cycle")):(s=ce(i))?s.call(i,f,d):f(i)):d(r)}catch(h){p&&!c&&p.exit(),d(h)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&fe(e)}))}},ue=function(e,t,n){var r,a;W?(r=Y.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(a=l["on"+e])?a(r):e===Q&&E("Unhandled promise rejection",n)},fe=function(e){A.call(l,(function(){var t,n=e.facade,r=e.value,a=de(e);if(a&&(t=O((function(){C?X.emit("unhandledRejection",r,n):ue(Q,n,r)})),e.rejection=C||de(e)?ae:re,t.error))throw t.value}))},de=function(e){return e.rejection!==re&&!e.parent},pe=function(e){A.call(l,(function(){var t=e.facade;C?X.emit("rejectionHandled",t):ue(J,t,e.value)}))},he=function(e,t,n){return function(r){e(t,r,n)}},me=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=ne,le(e,!0))},ge=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw z("Promise can't be resolved itself");var r=ce(t);r?M((function(){var n={done:!1};try{r.call(t,he(ge,n,e),he(me,n,e))}catch(a){me(n,a,e)}})):(e.value=t,e.state=te,le(e,!1))}catch(a){me({done:!1},a,e)}}};if(ie&&(q=function(e){y(this,q,H),v(e),r.call(this);var t=F(this);try{e(he(ge,t),he(me,t))}catch(n){me(t,n)}},$=q.prototype,r=function(e){D(this,{type:H,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:ee,value:void 0})},r.prototype=p($,{then:function(e,t){var n=U(this),r=G(S(this,q));return r.ok=!_(e)||e,r.fail=_(t)&&t,r.domain=C?X.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=ee&&le(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r,t=F(e);this.promise=e,this.resolve=he(ge,t),this.reject=he(me,t)},T.f=G=function(e){return e===q||e===o?new a(e):K(e)},!c&&_(f)&&V!==Object.prototype)){i=V.then,oe||(d(V,"then",(function(e,t){var n=this;return new q((function(e,t){i.call(n,e,t)})).then(e,t)}),{unsafe:!0}),d(V,"catch",$["catch"],{unsafe:!0}));try{delete V.constructor}catch(ve){}h&&h(V,$)}s({global:!0,wrap:!0,forced:ie},{Promise:q}),m(q,H,!1,!0),g(H),o=u(H),s({target:H,stat:!0,forced:ie},{reject:function(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:H,stat:!0,forced:c||ie},{resolve:function(e){return R(c&&this===o?q:this,e)}}),s({target:H,stat:!0,forced:se},{all:function(e){var t=this,n=G(t),r=n.resolve,a=n.reject,o=O((function(){var n=v(t.resolve),o=[],i=0,s=1;w(e,(function(e){var c=i++,l=!1;o.push(void 0),s++,n.call(t,e).then((function(e){l||(l=!0,o[c]=e,--s||r(o))}),a)})),--s||r(o)}));return o.error&&a(o.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,a=O((function(){var a=v(t.resolve);w(e,(function(e){a.call(t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},e893:function(e,t,n){var r=n("5135"),a=n("56ef"),o=n("06cf"),i=n("9bf2");e.exports=function(e,t){for(var n=a(t),s=i.f,c=o.f,l=0;l<n.length;l++){var u=n[l];r(e,u)||s(e,u,c(t,u))}}},e8b5:function(e,t,n){var r=n("c6b6");e.exports=Array.isArray||function(e){return"Array"==r(e)}},e91f:function(e,t,n){"use strict";var r=n("ebb5"),a=n("4d64").indexOf,o=r.aTypedArray,i=r.exportTypedArrayMethod;i("indexOf",(function(e){return a(o(this),e,arguments.length>1?arguments[1]:void 0)}))},e95a:function(e,t,n){var r=n("b622"),a=n("3f8c"),o=r("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(a.Array===e||i[o]===e)}},ebb5:function(e,t,n){"use strict";var r,a,o,i=n("a981"),s=n("83ab"),c=n("da84"),l=n("1626"),u=n("861d"),f=n("5135"),d=n("f5df"),p=n("0d51"),h=n("9112"),m=n("6eeb"),g=n("9bf2").f,v=n("e163"),_=n("d2bb"),b=n("b622"),y=n("90e3"),x=c.Int8Array,w=x&&x.prototype,k=c.Uint8ClampedArray,S=k&&k.prototype,A=x&&v(x),M=w&&v(w),R=Object.prototype,E=R.isPrototypeOf,T=b("toStringTag"),O=y("TYPED_ARRAY_TAG"),L=y("TYPED_ARRAY_CONSTRUCTOR"),B=i&&!!_&&"Opera"!==d(c.opera),I=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},C={BigInt64Array:8,BigUint64Array:8},P=function(e){if(!u(e))return!1;var t=d(e);return"DataView"===t||f(j,t)||f(C,t)},N=function(e){if(!u(e))return!1;var t=d(e);return f(j,t)||f(C,t)},H=function(e){if(N(e))return e;throw TypeError("Target is not a typed array")},F=function(e){if(l(e)&&(!_||E.call(A,e)))return e;throw TypeError(p(e)+" is not a typed array constructor")},D=function(e,t,n){if(s){if(n)for(var r in j){var a=c[r];if(a&&f(a.prototype,e))try{delete a.prototype[e]}catch(o){}}M[e]&&!n||m(M,e,n?t:B&&w[e]||t)}},U=function(e,t,n){var r,a;if(s){if(_){if(n)for(r in j)if(a=c[r],a&&f(a,e))try{delete a[e]}catch(o){}if(A[e]&&!n)return;try{return m(A,e,n?t:B&&A[e]||t)}catch(o){}}for(r in j)a=c[r],!a||a[e]&&!n||m(a,e,t)}};for(r in j)a=c[r],o=a&&a.prototype,o?h(o,L,a):B=!1;for(r in C)a=c[r],o=a&&a.prototype,o&&h(o,L,a);if((!B||!l(A)||A===Function.prototype)&&(A=function(){throw TypeError("Incorrect invocation")},B))for(r in j)c[r]&&_(c[r],A);if((!B||!M||M===R)&&(M=A.prototype,B))for(r in j)c[r]&&_(c[r].prototype,M);if(B&&v(S)!==M&&_(S,M),s&&!f(M,T))for(r in I=!0,g(M,T,{get:function(){return u(this)?this[O]:void 0}}),j)c[r]&&h(c[r],O,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:B,TYPED_ARRAY_CONSTRUCTOR:L,TYPED_ARRAY_TAG:I&&O,aTypedArray:H,aTypedArrayConstructor:F,exportTypedArrayMethod:D,exportTypedArrayStaticMethod:U,isView:P,isTypedArray:N,TypedArray:A,TypedArrayPrototype:M}},f052:function(e,t){function n(e){this.bits=e}e.exports=n},f069:function(e,t,n){"use strict";var r=n("59ed"),a=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 a(e)}},f26d:function(e,t,n){var r=n("a1b7");function a(){this.thm=new r,this.en=new r}e.exports=a},f3b5: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),o=(r.new_float_n,r.new_int),i=(r.new_int_n,r.assert,n("9828"));function s(){this.xr=a(576),this.l3_enc=o(576),this.scalefac=o(i.SFBMAX),this.xrpow_max=0,this.part2_3_length=0,this.big_values=0,this.count1=0,this.global_gain=0,this.scalefac_compress=0,this.block_type=0,this.mixed_block_flag=0,this.table_select=o(3),this.subblock_gain=o(4),this.region0_count=0,this.region1_count=0,this.preflag=0,this.scalefac_scale=0,this.count1table_select=0,this.part2_length=0,this.sfb_lmax=0,this.sfb_smin=0,this.psy_lmax=0,this.sfbmax=0,this.psymax=0,this.sfbdivide=0,this.width=o(i.SFBMAX),this.window=o(i.SFBMAX),this.count1bits=0,this.sfb_partition_table=null,this.slen=o(4),this.max_nonzero_coeff=0;var e=this;function t(e){return new Int32Array(e)}function n(e){return new Float32Array(e)}this.assign=function(r){e.xr=n(r.xr),e.l3_enc=t(r.l3_enc),e.scalefac=t(r.scalefac),e.xrpow_max=r.xrpow_max,e.part2_3_length=r.part2_3_length,e.big_values=r.big_values,e.count1=r.count1,e.global_gain=r.global_gain,e.scalefac_compress=r.scalefac_compress,e.block_type=r.block_type,e.mixed_block_flag=r.mixed_block_flag,e.table_select=t(r.table_select),e.subblock_gain=t(r.subblock_gain),e.region0_count=r.region0_count,e.region1_count=r.region1_count,e.preflag=r.preflag,e.scalefac_scale=r.scalefac_scale,e.count1table_select=r.count1table_select,e.part2_length=r.part2_length,e.sfb_lmax=r.sfb_lmax,e.sfb_smin=r.sfb_smin,e.psy_lmax=r.psy_lmax,e.sfbmax=r.sfbmax,e.psymax=r.psymax,e.sfbdivide=r.sfbdivide,e.width=t(r.width),e.window=t(r.window),e.count1bits=r.count1bits,e.sfb_partition_table=r.sfb_partition_table.slice(0),e.slen=t(r.slen),e.max_nonzero_coeff=r.max_nonzero_coeff}}e.exports=s},f3e2:function(e,t,n){var r=n("0206"),a=r.System,o=(r.VbrMode,r.Float,r.ShortBlock,r.Util),i=r.Arrays,s=(r.new_array_n,r.new_byte,r.new_double,r.new_float),c=(r.new_float_n,r.new_int,r.new_int_n,r.assert,n("4b5e"));function l(){var e=[-.1482523854003001,32.308141959636465,296.40344946382766,883.1344870032432,11113.947376231741,1057.2713659324597,305.7402417275812,30.825928907280012,3.8533188138216365,59.42900443849514,709.5899960123345,5281.91112291017,-5829.66483675846,-817.6293103748613,-76.91656988279972,-4.594269939176596,.9063471690191471,.1960342806591213,-.15466694054279598,34.324387823855965,301.8067566458425,817.599602898885,11573.795901679885,1181.2520595540152,321.59731579894424,31.232021761053772,3.7107095756221318,53.650946155329365,684.167428119626,5224.56624370173,-6366.391851890084,-908.9766368219582,-89.83068876699639,-5.411397422890401,.8206787908286602,.3901806440322567,-.16070888947830023,36.147034243915876,304.11815768187864,732.7429163887613,11989.60988270091,1300.012278487897,335.28490093152146,31.48816102859945,3.373875931311736,47.232241542899175,652.7371796173471,5132.414255594984,-6909.087078780055,-1001.9990371107289,-103.62185754286375,-6.104916304710272,.7416505462720353,.5805693545089249,-.16636367662261495,37.751650073343995,303.01103387567713,627.9747488785183,12358.763425278165,1412.2779918482834,346.7496836825721,31.598286663170416,3.1598635433980946,40.57878626349686,616.1671130880391,5007.833007176154,-7454.040671756168,-1095.7960341867115,-118.24411666465777,-6.818469345853504,.6681786379192989,.7653668647301797,-.1716176790982088,39.11551877123304,298.3413246578966,503.5259106886539,12679.589408408976,1516.5821921214542,355.9850766329023,31.395241710249053,2.9164211881972335,33.79716964664243,574.8943997801362,4853.234992253242,-7997.57021486075,-1189.7624067269965,-133.6444792601766,-7.7202770609839915,.5993769336819237,.9427934736519954,-.17645823955292173,40.21879108166477,289.9982036694474,359.3226160751053,12950.259102786438,1612.1013903507662,362.85067106591504,31.045922092242872,2.822222032597987,26.988862316190684,529.8996541764288,4671.371946949588,-8535.899136645805,-1282.5898586244496,-149.58553632943463,-8.643494270763135,.5345111359507916,1.111140466039205,-.36174739330527045,41.04429910497807,277.5463268268618,195.6386023135583,13169.43812144731,1697.6433561479398,367.40983966190305,30.557037410382826,2.531473372857427,20.070154905927314,481.50208566532336,4464.970341588308,-9065.36882077239,-1373.62841526722,-166.1660487028118,-9.58289321133207,.4729647758913199,1.268786568327291,-.36970682634889585,41.393213350082036,261.2935935556502,12.935476055240873,13336.131683328815,1772.508612059496,369.76534388639965,29.751323653701338,2.4023193045459172,13.304795348228817,430.5615775526625,4237.0568611071185,-9581.931701634761,-1461.6913552409758,-183.12733958476446,-10.718010163869403,.41421356237309503,1.414213562373095,-.37677560326535325,41.619486213528496,241.05423794991074,-187.94665032361226,13450.063605744153,1836.153896465782,369.4908799925761,29.001847876923147,2.0714759319987186,6.779591200894186,377.7767837205709,3990.386575512536,-10081.709459700915,-1545.947424837898,-200.3762958015653,-11.864482073055006,.3578057213145241,1.546020906725474,-.3829366947518991,41.1516456456653,216.47684307105183,-406.1569483347166,13511.136535077321,1887.8076599260432,367.3025214564151,28.136213436723654,1.913880671464418,.3829366947518991,323.85365704338597,3728.1472257487526,-10561.233882199509,-1625.2025997821418,-217.62525175416,-13.015432208941645,.3033466836073424,1.66293922460509,-.5822628872992417,40.35639251440489,188.20071124269245,-640.2706748618148,13519.21490106562,1927.6022433578062,362.8197642637487,26.968821921868447,1.7463817695935329,-5.62650678237171,269.3016715297017,3453.386536448852,-11016.145278780888,-1698.6569643425091,-234.7658734267683,-14.16351421663124,.2504869601913055,1.76384252869671,-.5887180101749253,39.23429103868072,155.76096234403798,-889.2492977967378,13475.470561874661,1955.0535223723712,356.4450994756727,25.894952980042156,1.5695032905781554,-11.181939564328772,214.80884394039484,3169.1640829158237,-11443.321309975563,-1765.1588461316153,-251.68908574481912,-15.49755935939164,.198912367379658,1.847759065022573,-.7912582233652842,37.39369355329111,119.699486012458,-1151.0956593239027,13380.446257078214,1970.3952110853447,348.01959814116185,24.731487364283044,1.3850130831637748,-16.421408865300393,161.05030052864092,2878.3322807850063,-11838.991423510031,-1823.985884688674,-268.2854986386903,-16.81724543849939,.1483359875383474,1.913880671464418,-.7960642926861912,35.2322109610459,80.01928065061526,-1424.0212633405113,13235.794061869668,1973.804052543835,337.9908651258184,23.289159354463873,1.3934255946442087,-21.099669467133474,108.48348407242611,2583.700758091299,-12199.726194855148,-1874.2780658979746,-284.2467154529415,-18.11369784385905,.09849140335716425,1.961570560806461,-.998795456205172,32.56307803611191,36.958364584370486,-1706.075448829146,13043.287458812016,1965.3831106103316,326.43182772364605,22.175018750622293,1.198638339011324,-25.371248002043963,57.53505923036915,2288.41886619975,-12522.674544337233,-1914.8400385312243,-299.26241273417224,-19.37805630698734,.04912684976946725,1.990369453344394,.035780907*o.SQRT2*.5/2384e-9,.017876148*o.SQRT2*.5/2384e-9,.003134727*o.SQRT2*.5/2384e-9,.002457142*o.SQRT2*.5/2384e-9,971317e-9*o.SQRT2*.5/2384e-9,218868e-9*o.SQRT2*.5/2384e-9,101566e-9*o.SQRT2*.5/2384e-9,13828e-9*o.SQRT2*.5/2384e-9,12804.797818791945,1945.5515939597317,313.4244966442953,20.801593959731544,1995.1556208053692,9.000838926174497,-29.20218120805369],t=12,n=36,r=[[2382191739347913e-28,6423305872147834e-28,9400849094049688e-28,1122435026096556e-27,1183840321267481e-27,1122435026096556e-27,940084909404969e-27,6423305872147839e-28,2382191739347918e-28,5456116108943412e-27,4878985199565852e-27,4240448995017367e-27,3559909094758252e-27,2858043359288075e-27,2156177623817898e-27,1475637723558783e-27,8371015190102974e-28,2599706096327376e-28,-5456116108943412e-27,-4878985199565852e-27,-4240448995017367e-27,-3559909094758252e-27,-2858043359288076e-27,-2156177623817898e-27,-1475637723558783e-27,-8371015190102975e-28,-2599706096327376e-28,-2382191739347923e-28,-6423305872147843e-28,-9400849094049696e-28,-1122435026096556e-27,-1183840321267481e-27,-1122435026096556e-27,-9400849094049694e-28,-642330587214784e-27,-2382191739347918e-28],[2382191739347913e-28,6423305872147834e-28,9400849094049688e-28,1122435026096556e-27,1183840321267481e-27,1122435026096556e-27,9400849094049688e-28,6423305872147841e-28,2382191739347918e-28,5456116108943413e-27,4878985199565852e-27,4240448995017367e-27,3559909094758253e-27,2858043359288075e-27,2156177623817898e-27,1475637723558782e-27,8371015190102975e-28,2599706096327376e-28,-5461314069809755e-27,-4921085770524055e-27,-4343405037091838e-27,-3732668368707687e-27,-3093523840190885e-27,-2430835727329465e-27,-1734679010007751e-27,-974825365660928e-27,-2797435120168326e-28,0,0,0,0,0,0,-2283748241799531e-28,-4037858874020686e-28,-2146547464825323e-28],[.1316524975873958,.414213562373095,.7673269879789602,1.091308501069271,1.303225372841206,1.56968557711749,1.920982126971166,2.414213562373094,3.171594802363212,4.510708503662055,7.595754112725146,22.90376554843115,.984807753012208,.6427876096865394,.3420201433256688,.9396926207859084,-.1736481776669303,-.7660444431189779,.8660254037844387,.5,-.5144957554275265,-.4717319685649723,-.3133774542039019,-.1819131996109812,-.09457419252642064,-.04096558288530405,-.01419856857247115,-.003699974673760037,.8574929257125442,.8817419973177052,.9496286491027329,.9833145924917901,.9955178160675857,.9991605581781475,.999899195244447,.9999931550702802],[0,0,0,0,0,0,2283748241799531e-28,4037858874020686e-28,2146547464825323e-28,5461314069809755e-27,4921085770524055e-27,4343405037091838e-27,3732668368707687e-27,3093523840190885e-27,2430835727329466e-27,1734679010007751e-27,974825365660928e-27,2797435120168326e-28,-5456116108943413e-27,-4878985199565852e-27,-4240448995017367e-27,-3559909094758253e-27,-2858043359288075e-27,-2156177623817898e-27,-1475637723558782e-27,-8371015190102975e-28,-2599706096327376e-28,-2382191739347913e-28,-6423305872147834e-28,-9400849094049688e-28,-1122435026096556e-27,-1183840321267481e-27,-1122435026096556e-27,-9400849094049688e-28,-6423305872147841e-28,-2382191739347918e-28]],l=r[c.SHORT_TYPE],u=r[c.SHORT_TYPE],f=r[c.SHORT_TYPE],d=r[c.SHORT_TYPE],p=[0,1,16,17,8,9,24,25,4,5,20,21,12,13,28,29,2,3,18,19,10,11,26,27,6,7,22,23,14,15,30,31];function h(t,n,r){for(var a,i,s,c=10,l=n+238-14-286,u=-15;u<0;u++){var f,d,p;f=e[c+-10],d=t[l+-224]*f,p=t[n+224]*f,f=e[c+-9],d+=t[l+-160]*f,p+=t[n+160]*f,f=e[c+-8],d+=t[l+-96]*f,p+=t[n+96]*f,f=e[c+-7],d+=t[l+-32]*f,p+=t[n+32]*f,f=e[c+-6],d+=t[l+32]*f,p+=t[n+-32]*f,f=e[c+-5],d+=t[l+96]*f,p+=t[n+-96]*f,f=e[c+-4],d+=t[l+160]*f,p+=t[n+-160]*f,f=e[c+-3],d+=t[l+224]*f,p+=t[n+-224]*f,f=e[c+-2],d+=t[n+-256]*f,p-=t[l+256]*f,f=e[c+-1],d+=t[n+-192]*f,p-=t[l+192]*f,f=e[c+0],d+=t[n+-128]*f,p-=t[l+128]*f,f=e[c+1],d+=t[n+-64]*f,p-=t[l+64]*f,f=e[c+2],d+=t[n+0]*f,p-=t[l+0]*f,f=e[c+3],d+=t[n+64]*f,p-=t[l+-64]*f,f=e[c+4],d+=t[n+128]*f,p-=t[l+-128]*f,f=e[c+5],d+=t[n+192]*f,p-=t[l+-192]*f,d*=e[c+6],f=p-d,r[30+2*u]=p+d,r[31+2*u]=e[c+7]*f,c+=18,n--,l++}p=t[n+-16]*e[c+-10],d=t[n+-32]*e[c+-2],p+=(t[n+-48]-t[n+16])*e[c+-9],d+=t[n+-96]*e[c+-1],p+=(t[n+-80]+t[n+48])*e[c+-8],d+=t[n+-160]*e[c+0],p+=(t[n+-112]-t[n+80])*e[c+-7],d+=t[n+-224]*e[c+1],p+=(t[n+-144]+t[n+112])*e[c+-6],d-=t[n+32]*e[c+2],p+=(t[n+-176]-t[n+144])*e[c+-5],d-=t[n+96]*e[c+3],p+=(t[n+-208]+t[n+176])*e[c+-4],d-=t[n+160]*e[c+4],p+=(t[n+-240]-t[n+208])*e[c+-3],d-=t[n+224],a=d-p,i=d+p,p=r[14],d=r[15]-p,r[31]=i+p,r[30]=a+d,r[15]=a-d,r[14]=i-p,s=r[28]-r[0],r[0]+=r[28],r[28]=s*e[c+-36+7],s=r[29]-r[1],r[1]+=r[29],r[29]=s*e[c+-36+7],s=r[26]-r[2],r[2]+=r[26],r[26]=s*e[c+-72+7],s=r[27]-r[3],r[3]+=r[27],r[27]=s*e[c+-72+7],s=r[24]-r[4],r[4]+=r[24],r[24]=s*e[c+-108+7],s=r[25]-r[5],r[5]+=r[25],r[25]=s*e[c+-108+7],s=r[22]-r[6],r[6]+=r[22],r[22]=s*o.SQRT2,s=r[23]-r[7],r[7]+=r[23],r[23]=s*o.SQRT2-r[7],r[7]-=r[6],r[22]-=r[7],r[23]-=r[22],s=r[6],r[6]=r[31]-s,r[31]=r[31]+s,s=r[7],r[7]=r[30]-s,r[30]=r[30]+s,s=r[22],r[22]=r[15]-s,r[15]=r[15]+s,s=r[23],r[23]=r[14]-s,r[14]=r[14]+s,s=r[20]-r[8],r[8]+=r[20],r[20]=s*e[c+-180+7],s=r[21]-r[9],r[9]+=r[21],r[21]=s*e[c+-180+7],s=r[18]-r[10],r[10]+=r[18],r[18]=s*e[c+-216+7],s=r[19]-r[11],r[11]+=r[19],r[19]=s*e[c+-216+7],s=r[16]-r[12],r[12]+=r[16],r[16]=s*e[c+-252+7],s=r[17]-r[13],r[13]+=r[17],r[17]=s*e[c+-252+7],s=-r[20]+r[24],r[20]+=r[24],r[24]=s*e[c+-216+7],s=-r[21]+r[25],r[21]+=r[25],r[25]=s*e[c+-216+7],s=r[4]-r[8],r[4]+=r[8],r[8]=s*e[c+-216+7],s=r[5]-r[9],r[5]+=r[9],r[9]=s*e[c+-216+7],s=r[0]-r[12],r[0]+=r[12],r[12]=s*e[c+-72+7],s=r[1]-r[13],r[1]+=r[13],r[13]=s*e[c+-72+7],s=r[16]-r[28],r[16]+=r[28],r[28]=s*e[c+-72+7],s=-r[17]+r[29],r[17]+=r[29],r[29]=s*e[c+-72+7],s=o.SQRT2*(r[2]-r[10]),r[2]+=r[10],r[10]=s,s=o.SQRT2*(r[3]-r[11]),r[3]+=r[11],r[11]=s,s=o.SQRT2*(-r[18]+r[26]),r[18]+=r[26],r[26]=s-r[18],s=o.SQRT2*(-r[19]+r[27]),r[19]+=r[27],r[27]=s-r[19],s=r[2],r[19]-=r[3],r[3]-=s,r[2]=r[31]-s,r[31]+=s,s=r[3],r[11]-=r[19],r[18]-=s,r[3]=r[30]-s,r[30]+=s,s=r[18],r[27]-=r[11],r[19]-=s,r[18]=r[15]-s,r[15]+=s,s=r[19],r[10]-=s,r[19]=r[14]-s,r[14]+=s,s=r[10],r[11]-=s,r[10]=r[23]-s,r[23]+=s,s=r[11],r[26]-=s,r[11]=r[22]-s,r[22]+=s,s=r[26],r[27]-=s,r[26]=r[7]-s,r[7]+=s,s=r[27],r[27]=r[6]-s,r[6]+=s,s=o.SQRT2*(r[0]-r[4]),r[0]+=r[4],r[4]=s,s=o.SQRT2*(r[1]-r[5]),r[1]+=r[5],r[5]=s,s=o.SQRT2*(r[16]-r[20]),r[16]+=r[20],r[20]=s,s=o.SQRT2*(r[17]-r[21]),r[17]+=r[21],r[21]=s,s=-o.SQRT2*(r[8]-r[12]),r[8]+=r[12],r[12]=s-r[8],s=-o.SQRT2*(r[9]-r[13]),r[9]+=r[13],r[13]=s-r[9],s=-o.SQRT2*(r[25]-r[29]),r[25]+=r[29],r[29]=s-r[25],s=-o.SQRT2*(r[24]+r[28]),r[24]-=r[28],r[28]=s-r[24],s=r[24]-r[16],r[24]=s,s=r[20]-s,r[20]=s,s=r[28]-s,r[28]=s,s=r[25]-r[17],r[25]=s,s=r[21]-s,r[21]=s,s=r[29]-s,r[29]=s,s=r[17]-r[1],r[17]=s,s=r[9]-s,r[9]=s,s=r[25]-s,r[25]=s,s=r[5]-s,r[5]=s,s=r[21]-s,r[21]=s,s=r[13]-s,r[13]=s,s=r[29]-s,r[29]=s,s=r[1]-r[0],r[1]=s,s=r[16]-s,r[16]=s,s=r[17]-s,r[17]=s,s=r[8]-s,r[8]=s,s=r[9]-s,r[9]=s,s=r[24]-s,r[24]=s,s=r[25]-s,r[25]=s,s=r[4]-s,r[4]=s,s=r[5]-s,r[5]=s,s=r[20]-s,r[20]=s,s=r[21]-s,r[21]=s,s=r[12]-s,r[12]=s,s=r[13]-s,r[13]=s,s=r[28]-s,r[28]=s,s=r[29]-s,r[29]=s,s=r[0],r[0]+=r[31],r[31]-=s,s=r[1],r[1]+=r[30],r[30]-=s,s=r[16],r[16]+=r[15],r[15]-=s,s=r[17],r[17]+=r[14],r[14]-=s,s=r[8],r[8]+=r[23],r[23]-=s,s=r[9],r[9]+=r[22],r[22]-=s,s=r[24],r[24]+=r[7],r[7]-=s,s=r[25],r[25]+=r[6],r[6]-=s,s=r[4],r[4]+=r[27],r[27]-=s,s=r[5],r[5]+=r[26],r[26]-=s,s=r[20],r[20]+=r[11],r[11]-=s,s=r[21],r[21]+=r[10],r[10]-=s,s=r[12],r[12]+=r[19],r[19]-=s,s=r[13],r[13]+=r[18],r[18]-=s,s=r[28],r[28]+=r[3],r[3]-=s,s=r[29],r[29]+=r[2],r[2]-=s}function m(e,t){for(var n=0;n<3;n++){var a,o,i,s,l,u;s=e[t+6]*r[c.SHORT_TYPE][0]-e[t+15],a=e[t+0]*r[c.SHORT_TYPE][2]-e[t+9],o=s+a,i=s-a,s=e[t+15]*r[c.SHORT_TYPE][0]+e[t+6],a=e[t+9]*r[c.SHORT_TYPE][2]+e[t+0],l=s+a,u=-s+a,a=2069978111953089e-26*(e[t+3]*r[c.SHORT_TYPE][1]-e[t+12]),s=2069978111953089e-26*(e[t+12]*r[c.SHORT_TYPE][1]+e[t+3]),e[t+0]=190752519173728e-25*o+a,e[t+15]=190752519173728e-25*-l+s,i=.8660254037844387*i*1907525191737281e-26,l=.5*l*1907525191737281e-26+s,e[t+3]=i-l,e[t+6]=i+l,o=.5*o*1907525191737281e-26-a,u=.8660254037844387*u*1907525191737281e-26,e[t+9]=o+u,e[t+12]=o-u,t++}}function g(e,t,n){var r,a,o,i,s,c,l,f,d,p,h,m,g,v,_,b,y,x;o=n[17]-n[9],s=n[15]-n[11],c=n[14]-n[12],l=n[0]+n[8],f=n[1]+n[7],d=n[2]+n[6],p=n[3]+n[5],e[t+17]=l+d-p-(f-n[4]),a=(l+d-p)*u[19]+(f-n[4]),r=(o-s-c)*u[18],e[t+5]=r+a,e[t+6]=r-a,i=(n[16]-n[10])*u[18],f=f*u[19]+n[4],r=o*u[12]+i+s*u[13]+c*u[14],a=-l*u[16]+f-d*u[17]+p*u[15],e[t+1]=r+a,e[t+2]=r-a,r=o*u[13]-i-s*u[14]+c*u[12],a=-l*u[17]+f-d*u[15]+p*u[16],e[t+9]=r+a,e[t+10]=r-a,r=o*u[14]-i+s*u[12]-c*u[13],a=l*u[15]-f+d*u[16]-p*u[17],e[t+13]=r+a,e[t+14]=r-a,h=n[8]-n[0],g=n[6]-n[2],v=n[5]-n[3],_=n[17]+n[9],b=n[16]+n[10],y=n[15]+n[11],x=n[14]+n[12],e[t+0]=_+y+x+(b+n[13]),r=(_+y+x)*u[19]-(b+n[13]),a=(h-g+v)*u[18],e[t+11]=r+a,e[t+12]=r-a,m=(n[7]-n[1])*u[18],b=n[13]-b*u[19],r=_*u[15]-b+y*u[16]+x*u[17],a=h*u[14]+m+g*u[12]+v*u[13],e[t+3]=r+a,e[t+4]=r-a,r=-_*u[17]+b-y*u[15]-x*u[16],a=h*u[13]+m-g*u[14]-v*u[12],e[t+7]=r+a,e[t+8]=r-a,r=-_*u[16]+b-y*u[17]-x*u[15],a=h*u[12]-m+g*u[13]-v*u[14],e[t+15]=r+a,e[t+16]=r-a}this.mdct_sub48=function(e,o,u){for(var v=o,_=286,b=0;b<e.channels_out;b++){for(var y=0;y<e.mode_gr;y++){for(var x,w=e.l3_side.tt[y][b],k=w.xr,S=0,A=e.sb_sample[b][1-y],M=0,R=0;R<9;R++)for(h(v,_,A[M]),h(v,_+32,A[M+1]),M+=2,_+=64,x=1;x<32;x+=2)A[M-1][x]*=-1;for(x=0;x<32;x++,S+=18){var E=w.block_type,T=e.sb_sample[b][y],O=e.sb_sample[b][1-y];if(0!=w.mixed_block_flag&&x<2&&(E=0),e.amp_filter[x]<1e-12)i.fill(k,S+0,S+18,0);else{if(e.amp_filter[x]<1)for(R=0;R<18;R++)O[R][p[x]]*=e.amp_filter[x];if(E==c.SHORT_TYPE){for(R=-t/4;R<0;R++){var L=r[c.SHORT_TYPE][R+3];k[S+3*R+9]=T[9+R][p[x]]*L-T[8-R][p[x]],k[S+3*R+18]=T[14-R][p[x]]*L+T[15+R][p[x]],k[S+3*R+10]=T[15+R][p[x]]*L-T[14-R][p[x]],k[S+3*R+19]=O[2-R][p[x]]*L+O[3+R][p[x]],k[S+3*R+11]=O[3+R][p[x]]*L-O[2-R][p[x]],k[S+3*R+20]=O[8-R][p[x]]*L+O[9+R][p[x]]}m(k,S)}else{var B=s(18);for(R=-n/4;R<0;R++){var I,j;I=r[E][R+27]*O[R+9][p[x]]+r[E][R+36]*O[8-R][p[x]],j=r[E][R+9]*T[R+9][p[x]]-r[E][R+18]*T[8-R][p[x]],B[R+9]=I-j*l[3+R+9],B[R+18]=I*l[3+R+9]+j}g(k,S,B)}}if(E!=c.SHORT_TYPE&&0!=x)for(R=7;R>=0;--R){var C,P;C=k[S+R]*f[20+R]+k[S+-1-R]*d[28+R],P=k[S+R]*d[28+R]-k[S+-1-R]*f[20+R],k[S+-1-R]=C,k[S+R]=P}}}if(v=u,_=286,1==e.mode_gr)for(var N=0;N<18;N++)a.arraycopy(e.sb_sample[b][1][N],0,e.sb_sample[b][0][N],0,32)}}}e.exports=l},f5df:function(e,t,n){var r=n("00ee"),a=n("1626"),o=n("c6b6"),i=n("b622"),s=i("toStringTag"),c="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),s))?n:c?o(t):"Object"==(r=o(t))&&a(t.callee)?"Arguments":r}},f772:function(e,t,n){var r=n("5692"),a=n("90e3"),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},f8cd:function(e,t,n){var r=n("a691");e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},fb6a:function(e,t,n){"use strict";var r=n("23e7"),a=n("e8b5"),o=n("68ee"),i=n("861d"),s=n("23cb"),c=n("50c4"),l=n("fc6a"),u=n("8418"),f=n("b622"),d=n("1dde"),p=d("slice"),h=f("species"),m=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(e,t){var n,r,f,d=l(this),p=c(d.length),v=s(e,p),_=s(void 0===t?p:t,p);if(a(d)&&(n=d.constructor,o(n)&&(n===Array||a(n.prototype))?n=void 0:i(n)&&(n=n[h],null===n&&(n=void 0)),n===Array||void 0===n))return m.call(d,v,_);for(r=new(void 0===n?Array:n)(g(_-v,0)),f=0;v<_;v++,f++)v in d&&u(r,f,d[v]);return r.length=f,r}})},fc6a:function(e,t,n){var r=n("44ad"),a=n("1d80");e.exports=function(e){return r(a(e))}},fce3:function(e,t,n){var r=n("d039"),a=n("da84"),o=a.RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},fd87:function(e,t,n){var r=n("74e8");r("Int8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},fdbc: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}},fdbf:function(e,t,n){var r=n("4930");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(e,t,n){var r=n("da84");e.exports=r.Promise},ff81:function(e,t,n){var r=n("0206"),a=r.System,o=(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),i=(r.new_int_n,r.assert,n("4b5e"));function s(e,t,n,r){this.l=o(1+i.SBMAX_l),this.s=o(1+i.SBMAX_s),this.psfb21=o(1+i.PSFB21),this.psfb12=o(1+i.PSFB12);var s=this.l,c=this.s;4==arguments.length&&(this.arrL=arguments[0],this.arrS=arguments[1],this.arr21=arguments[2],this.arr12=arguments[3],a.arraycopy(this.arrL,0,s,0,Math.min(this.arrL.length,this.l.length)),a.arraycopy(this.arrS,0,c,0,Math.min(this.arrS.length,this.s.length)),a.arraycopy(this.arr21,0,this.psfb21,0,Math.min(this.arr21.length,this.psfb21.length)),a.arraycopy(this.arr12,0,this.psfb12,0,Math.min(this.arr12.length,this.psfb12.length)))}e.exports=s}});
  //# sourceMappingURL=vue-advanced-chat.min.js.map