text: var assemblyAIHelper=function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=344)}([function(t,n,e){var r=e(2),i=e(18),o=e(11),u=e(12),a=e(19),c=function(t,n,e){var s,f,l,h,p=t&c.F,v=t&c.G,d=t&c.S,g=t&c.P,y=t&c.B,m=v?r:d?r[n]||(r[n]={}):(r[n]||{}).prototype,b=v?i:i[n]||(i[n]={}),w=b.prototype||(b.prototype={});for(s in v&&(e=n),e)l=((f=!p&&m&&void 0!==m[s])?m:e)[s],h=y&&f?a(l,r):g&&"function"==typeof l?a(Function.call,l):l,m&&u(m,s,l,t&c.U),b[s]!=l&&o(b,s,h),g&&w[s]!=l&&(w[s]=l)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(47)("wks"),i=e(33),o=e(2).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,n,e){var r=e(21),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){t.exports=!e(3)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(1),i=e(95),o=e(23),u=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(24);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(8),i=e(32);t.exports=e(7)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(2),i=e(11),o=e(14),u=e(33)("src"),a=e(135),c=(""+a).split("toString");e(18).inspectSource=function(t){return a.call(t)},(t.exports=function(t,n,e,a){var s="function"==typeof e;s&&(o(e,"name")||i(e,"name",n)),t[n]!==e&&(s&&(o(e,u)||i(e,u,t[n]?""+t[n]:c.join(String(n)))),t===r?t[n]=e:a?t[n]?t[n]=e:i(t,n,e):(delete t[n],i(t,n,e)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||a.call(this)}))},function(t,n,e){var r=e(0),i=e(3),o=e(24),u=/"/g,a=function(t,n,e,r){var i=String(o(t)),a="<"+n;return""!==e&&(a+=" "+e+'="'+String(r).replace(u,"&quot;")+'"'),a+">"+i+"</"+n+">"};t.exports=function(t,n){var e={};e[t]=n(a),r(r.P+r.F*i((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3})),"String",e)}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(48),i=e(24);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(49),i=e(32),o=e(15),u=e(23),a=e(14),c=e(95),s=Object.getOwnPropertyDescriptor;n.f=e(7)?s:function(t,n){if(t=o(t),n=u(n,!0),c)try{return s(t,n)}catch(t){}if(a(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(14),i=e(9),o=e(69)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n){var e=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(10);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){return!!t&&r((function(){n?t.call(null,(function(){}),1):t.call(null)}))}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},function(t,n,e){var r=e(0),i=e(18),o=e(3);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o((function(){e(1)})),"Object",u)}},function(t,n,e){var r=e(19),i=e(48),o=e(9),u=e(6),a=e(85);t.exports=function(t,n){var e=1==t,c=2==t,s=3==t,f=4==t,l=6==t,h=5==t||l,p=n||a;return function(n,a,v){for(var d,g,y=o(n),m=i(y),b=r(a,v,3),w=u(m.length),_=0,x=e?p(n,w):c?p(n,0):void 0;w>_;_++)if((h||_ in m)&&(g=b(d=m[_],_,y),t))if(e)x[_]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return _;case 2:x.push(d)}else if(f)return!1;return l?-1:s||f?f:x}}},function(t,n,e){"use strict";if(e(7)){var r=e(29),i=e(2),o=e(3),u=e(0),a=e(62),c=e(93),s=e(19),f=e(39),l=e(32),h=e(11),p=e(41),v=e(21),d=e(6),g=e(123),y=e(35),m=e(23),b=e(14),w=e(44),_=e(4),x=e(9),S=e(82),A=e(36),O=e(17),E=e(37).f,P=e(84),M=e(33),k=e(5),j=e(26),F=e(52),I=e(51),C=e(87),T=e(46),R=e(57),L=e(38),N=e(86),D=e(112),U=e(8),B=e(16),W=U.f,V=B.f,G=i.RangeError,z=i.TypeError,H=i.Uint8Array,q=Array.prototype,J=c.ArrayBuffer,Y=c.DataView,$=j(0),K=j(2),X=j(3),Q=j(4),Z=j(5),tt=j(6),nt=F(!0),et=F(!1),rt=C.values,it=C.keys,ot=C.entries,ut=q.lastIndexOf,at=q.reduce,ct=q.reduceRight,st=q.join,ft=q.sort,lt=q.slice,ht=q.toString,pt=q.toLocaleString,vt=k("iterator"),dt=k("toStringTag"),gt=M("typed_constructor"),yt=M("def_constructor"),mt=a.CONSTR,bt=a.TYPED,wt=a.VIEW,_t=j(1,(function(t,n){return Et(I(t,t[yt]),n)})),xt=o((function(){return 1===new H(new Uint16Array([1]).buffer)[0]})),St=!!H&&!!H.prototype.set&&o((function(){new H(1).set({})})),At=function(t,n){var e=v(t);if(e<0||e%n)throw G("Wrong offset!");return e},Ot=function(t){if(_(t)&&bt in t)return t;throw z(t+" is not a typed array!")},Et=function(t,n){if(!(_(t)&&gt in t))throw z("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return Mt(I(t,t[yt]),n)},Mt=function(t,n){for(var e=0,r=n.length,i=Et(t,r);r>e;)i[e]=n[e++];return i},kt=function(t,n,e){W(t,n,{get:function(){return this._d[e]}})},jt=function(t){var n,e,r,i,o,u,a=x(t),c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=P(a);if(null!=h&&!S(h)){for(u=h.call(a),r=[],n=0;!(o=u.next()).done;n++)r.push(o.value);a=r}for(l&&c>2&&(f=s(f,arguments[2],2)),n=0,e=d(a.length),i=Et(this,e);e>n;n++)i[n]=l?f(a[n],n):a[n];return i},Ft=function(){for(var t=0,n=arguments.length,e=Et(this,n);n>t;)e[t]=arguments[t++];return e},It=!!H&&o((function(){pt.call(new H(1))})),Ct=function(){return pt.apply(It?lt.call(Ot(this)):Ot(this),arguments)},Tt={copyWithin:function(t,n){return D.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(Ot(this),arguments)},filter:function(t){return Pt(this,K(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return st.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return _t(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Ot(this),arguments)},reduceRight:function(t){return ct.apply(Ot(this),arguments)},reverse:function(){for(var t,n=Ot(this).length,e=Math.floor(n/2),r=0;r<e;)t=this[r],this[r++]=this[--n],this[n]=t;return this},some:function(t){return X(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ft.call(Ot(this),t)},subarray:function(t,n){var e=Ot(this),r=e.length,i=y(t,r);return new(I(e,e[yt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,d((void 0===n?r:y(n,r))-i))}},Rt=function(t,n){return Pt(this,lt.call(Ot(this),t,n))},Lt=function(t){Ot(this);var n=At(arguments[1],1),e=this.length,r=x(t),i=d(r.length),o=0;if(i+n>e)throw G("Wrong length!");for(;o<i;)this[n+o]=r[o++]},Nt={entries:function(){return ot.call(Ot(this))},keys:function(){return it.call(Ot(this))},values:function(){return rt.call(Ot(this))}},Dt=function(t,n){return _(t)&&t[bt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},Ut=function(t,n){return Dt(t,n=m(n,!0))?l(2,t[n]):V(t,n)},Bt=function(t,n,e){return!(Dt(t,n=m(n,!0))&&_(e)&&b(e,"value"))||b(e,"get")||b(e,"set")||e.configurable||b(e,"writable")&&!e.writable||b(e,"enumerable")&&!e.enumerable?W(t,n,e):(t[n]=e.value,t)};mt||(B.f=Ut,U.f=Bt),u(u.S+u.F*!mt,"Object",{getOwnPropertyDescriptor:Ut,defineProperty:Bt}),o((function(){ht.call({})}))&&(ht=pt=function(){return st.call(this)});var Wt=p({},Tt);p(Wt,Nt),h(Wt,vt,Nt.values),p(Wt,{slice:Rt,set:Lt,constructor:function(){},toString:ht,toLocaleString:Ct}),kt(Wt,"buffer","b"),kt(Wt,"byteOffset","o"),kt(Wt,"byteLength","l"),kt(Wt,"length","e"),W(Wt,dt,{get:function(){return this[bt]}}),t.exports=function(t,n,e,c){var s=t+((c=!!c)?"Clamped":"")+"Array",l="get"+t,p="set"+t,v=i[s],y=v||{},m=v&&O(v),b=!v||!a.ABV,x={},S=v&&v.prototype,P=function(t,e){W(t,e,{get:function(){return function(t,e){var r=t._d;return r.v[l](e*n+r.o,xt)}(this,e)},set:function(t){return function(t,e,r){var i=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[p](e*n+i.o,r,xt)}(this,e,t)},enumerable:!0})};b?(v=e((function(t,e,r,i){f(t,v,s,"_d");var o,u,a,c,l=0,p=0;if(_(e)){if(!(e instanceof J||"ArrayBuffer"==(c=w(e))||"SharedArrayBuffer"==c))return bt in e?Mt(v,e):jt.call(v,e);o=e,p=At(r,n);var y=e.byteLength;if(void 0===i){if(y%n)throw G("Wrong length!");if((u=y-p)<0)throw G("Wrong length!")}else if((u=d(i)*n)+p>y)throw G("Wrong length!");a=u/n}else a=g(e),o=new J(u=a*n);for(h(t,"_d",{b:o,o:p,l:u,e:a,v:new Y(o)});l<a;)P(t,l++)})),S=v.prototype=A(Wt),h(S,"constructor",v)):o((function(){v(1)}))&&o((function(){new v(-1)}))&&R((function(t){new v,new v(null),new v(1.5),new v(t)}),!0)||(v=e((function(t,e,r,i){var o;return f(t,v,s),_(e)?e instanceof J||"ArrayBuffer"==(o=w(e))||"SharedArrayBuffer"==o?void 0!==i?new y(e,At(r,n),i):void 0!==r?new y(e,At(r,n)):new y(e):bt in e?Mt(v,e):jt.call(v,e):new y(g(e))})),$(m!==Function.prototype?E(y).concat(E(m)):E(y),(function(t){t in v||h(v,t,y[t])})),v.prototype=S,r||(S.constructor=v));var M=S[vt],k=!!M&&("values"==M.name||null==M.name),j=Nt.values;h(v,gt,!0),h(S,bt,s),h(S,wt,!0),h(S,yt,v),(c?new v(1)[dt]==s:dt in S)||W(S,dt,{get:function(){return s}}),x[s]=v,u(u.G+u.W+u.F*(v!=y),x),u(u.S,s,{BYTES_PER_ELEMENT:n}),u(u.S+u.F*o((function(){y.of.call(v,1)})),s,{from:jt,of:Ft}),"BYTES_PER_ELEMENT"in S||h(S,"BYTES_PER_ELEMENT",n),u(u.P,s,Tt),L(s),u(u.P+u.F*St,s,{set:Lt}),u(u.P+u.F*!k,s,Nt),r||S.toString==ht||(S.toString=ht),u(u.P+u.F*o((function(){new v(1).slice()})),s,{slice:Rt}),u(u.P+u.F*(o((function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()}))||!o((function(){S.toLocaleString.call([1,2])}))),s,{toLocaleString:Ct}),T[s]=k?M:j,r||k||h(S,vt,j)}}else t.exports=function(){}},function(t,n,e){var r=e(118),i=e(0),o=e(47)("metadata"),u=o.store||(o.store=new(e(121))),a=function(t,n,e){var i=u.get(t);if(!i){if(!e)return;u.set(t,i=new r)}var o=i.get(n);if(!o){if(!e)return;i.set(n,o=new r)}return o};t.exports={store:u,map:a,has:function(t,n,e){var r=a(n,e,!1);return void 0!==r&&r.has(t)},get:function(t,n,e){var r=a(n,e,!1);return void 0===r?void 0:r.get(t)},set:function(t,n,e,r){a(e,r,!0).set(t,n)},keys:function(t,n){var e=a(t,n,!1),r=[];return e&&e.forEach((function(t,n){r.push(n)})),r},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,n){t.exports=!1},function(t,n,e){var r=e(33)("meta"),i=e(4),o=e(14),u=e(8).f,a=0,c=Object.isExtensible||function(){return!0},s=!e(3)((function(){return c(Object.preventExtensions({}))})),f=function(t){u(t,r,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!n)return"E";f(t)}return t[r].i},getWeak:function(t,n){if(!o(t,r)){if(!c(t))return!0;if(!n)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&c(t)&&!o(t,r)&&f(t),t}}},function(t,n,e){var r=e(5)("unscopables"),i=Array.prototype;null==i[r]&&e(11)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(97),i=e(70);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r=e(21),i=Math.max,o=Math.min;t.exports=function(t,n){return(t=r(t))<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(1),i=e(98),o=e(70),u=e(69)("IE_PROTO"),a=function(){},c=function(){var t,n=e(67)("iframe"),r=o.length;for(n.style.display="none",e(71).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[u]=t):e=c(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(97),i=e(70).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){"use strict";var r=e(2),i=e(8),o=e(7),u=e(5)("species");t.exports=function(t){var n=r[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(19),i=e(110),o=e(82),u=e(1),a=e(6),c=e(84),s={},f={};(n=t.exports=function(t,n,e,l,h){var p,v,d,g,y=h?function(){return t}:c(t),m=r(e,l,n?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(p=a(t.length);p>b;b++)if((g=n?m(u(v=t[b])[0],v[1]):m(t[b]))===s||g===f)return g}else for(d=y.call(t);!(v=d.next()).done;)if((g=i(d,m,v.value,n))===s||g===f)return g}).BREAK=s,n.RETURN=f},function(t,n,e){var r=e(12);t.exports=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,e){var r=e(8).f,i=e(14),o=e(5)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(20),i=e(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:o?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){var r=e(0),i=e(24),o=e(3),u=e(73),a="["+u+"]",c=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),f=function(t,n,e){var i={},a=o((function(){return!!u[t]()||"​"!="​"[t]()})),c=i[t]=a?n(l):u[t];e&&(i[e]=c),r(r.P+r.F*a,"String",i)},l=f.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(c,"")),2&n&&(t=t.replace(s,"")),t};t.exports=f},function(t,n){t.exports={}},function(t,n,e){var r=e(18),i=e(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(29)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){"use strict";var r=e(1);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){var r=e(1),i=e(10),o=e(5)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||null==(e=r(u)[o])?n:i(e)}},function(t,n,e){var r=e(15),i=e(6),o=e(35);t.exports=function(t){return function(n,e,u){var a,c=r(n),s=i(c.length),f=o(u,s);if(t&&e!=e){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(21),i=e(24);t.exports=function(t){return function(n,e){var o,u,a=String(i(n)),c=r(e),s=a.length;return c<0||c>=s?t?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):o:t?a.slice(c,c+2):u-56320+(o-55296<<10)+65536}}},function(t,n,e){var r=e(4),i=e(20),o=e(5)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,e){var r=e(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n,e){"use strict";var r=e(44),i=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var o=e.call(t,n);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},function(t,n,e){"use strict";e(114);var r=e(12),i=e(11),o=e(3),u=e(24),a=e(5),c=e(88),s=a("species"),f=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var h=a(t),p=!o((function(){var n={};return n[h]=function(){return 7},7!=""[t](n)})),v=p?!o((function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[s]=function(){return e}),e[h](""),!n})):void 0;if(!p||!v||"replace"===t&&!f||"split"===t&&!l){var d=/./[h],g=e(u,h,""[t],(function(t,n,e,r,i){return n.exec===c?p&&!i?{done:!0,value:d.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}})),y=g[0],m=g[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}}},function(t,n,e){var r=e(2).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){"use strict";var r=e(2),i=e(0),o=e(12),u=e(41),a=e(30),c=e(40),s=e(39),f=e(4),l=e(3),h=e(57),p=e(43),v=e(74);t.exports=function(t,n,e,d,g,y){var m=r[t],b=m,w=g?"set":"add",_=b&&b.prototype,x={},S=function(t){var n=_[t];o(_,t,"delete"==t||"has"==t?function(t){return!(y&&!f(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof b&&(y||_.forEach&&!l((function(){(new b).entries().next()})))){var A=new b,O=A[w](y?{}:-0,1)!=A,E=l((function(){A.has(1)})),P=h((function(t){new b(t)})),M=!y&&l((function(){for(var t=new b,n=5;n--;)t[w](n,n);return!t.has(-0)}));P||((b=n((function(n,e){s(n,b,t);var r=v(new m,n,b);return null!=e&&c(e,g,r[w],r),r}))).prototype=_,_.constructor=b),(E||M)&&(S("delete"),S("has"),g&&S("get")),(M||O)&&S(w),y&&_.clear&&delete _.clear}else b=d.getConstructor(n,t,g,w),u(b.prototype,e),a.NEED=!0;return p(b,t),x[t]=b,i(i.G+i.W+i.F*(b!=m),x),y||d.setStrong(b,t,g),b}},function(t,n,e){for(var r,i=e(2),o=e(11),u=e(33),a=u("typed_array"),c=u("view"),s=!(!i.ArrayBuffer||!i.DataView),f=s,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[h[l++]])?(o(r.prototype,a,!0),o(r.prototype,c,!0)):f=!1;t.exports={ABV:s,CONSTR:f,TYPED:a,VIEW:c}},function(t,n,e){"use strict";t.exports=e(29)||!e(3)((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete e(2)[t]}))},function(t,n,e){"use strict";var r=e(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(19),u=e(40);t.exports=function(t){r(r.S,t,{from:function(t){var n,e,r,a,c=arguments[1];return i(this),(n=void 0!==c)&&i(c),null==t?new this:(e=[],n?(r=0,a=o(c,arguments[2],2),u(t,!1,(function(t){e.push(a(t,r++))}))):u(t,!1,e.push,e),new this(e))}})}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(4),i=e(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){var r=e(2),i=e(18),o=e(29),u=e(96),a=e(8).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:u.f(t)})}},function(t,n,e){var r=e(47)("keys"),i=e(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(2).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(4),i=e(1),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(19)(Function.call,e(16).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n){t.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(t,n,e){var r=e(4),i=e(72).set;t.exports=function(t,n,e){var o,u=n.constructor;return u!==e&&"function"==typeof u&&(o=u.prototype)!==e.prototype&&r(o)&&i&&i(t,o),t}},function(t,n,e){"use strict";var r=e(21),i=e(24);t.exports=function(t){var n=String(i(this)),e="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(e+=n);return e}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},function(t,n,e){"use strict";var r=e(29),i=e(0),o=e(12),u=e(11),a=e(46),c=e(79),s=e(43),f=e(17),l=e(5)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,e,v,d,g,y){c(e,n,v);var m,b,w,_=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},x=n+" Iterator",S="values"==d,A=!1,O=t.prototype,E=O[l]||O["@@iterator"]||d&&O[d],P=E||_(d),M=d?S?_("entries"):P:void 0,k="Array"==n&&O.entries||E;if(k&&(w=f(k.call(new t)))!==Object.prototype&&w.next&&(s(w,x,!0),r||"function"==typeof w[l]||u(w,l,p)),S&&E&&"values"!==E.name&&(A=!0,P=function(){return E.call(this)}),r&&!y||!h&&!A&&O[l]||u(O,l,P),a[n]=P,a[x]=p,d)if(m={values:S?P:_("values"),keys:g?P:_("keys"),entries:M},y)for(b in m)b in O||o(O,b,m[b]);else i(i.P+i.F*(h||A),n,m);return m}},function(t,n,e){"use strict";var r=e(36),i=e(32),o=e(43),u={};e(11)(u,e(5)("iterator"),(function(){return this})),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(56),i=e(24);t.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(i(t))}},function(t,n,e){var r=e(5)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,e){var r=e(46),i=e(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){"use strict";var r=e(8),i=e(32);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(44),i=e(5)("iterator"),o=e(46);t.exports=e(18).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(224);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){"use strict";var r=e(9),i=e(35),o=e(6);t.exports=function(t){for(var n=r(this),e=o(n.length),u=arguments.length,a=i(u>1?arguments[1]:void 0,e),c=u>2?arguments[2]:void 0,s=void 0===c?e:i(c,e);s>a;)n[a++]=t;return n}},function(t,n,e){"use strict";var r=e(31),i=e(113),o=e(46),u=e(15);t.exports=e(78)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){"use strict";var r,i,o=e(50),u=RegExp.prototype.exec,a=String.prototype.replace,c=u,s=(r=/a/,i=/b*/g,u.call(r,"a"),u.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(c=function(t){var n,e,r,i,c=this;return f&&(e=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),s&&(n=c.lastIndex),r=u.call(c,t),s&&r&&(c.lastIndex=c.global?r.index+r[0].length:n),f&&r&&r.length>1&&a.call(r[0],e,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=c},function(t,n,e){"use strict";var r=e(55)(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r,i,o,u=e(19),a=e(103),c=e(71),s=e(67),f=e(2),l=f.process,h=f.setImmediate,p=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,g=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var n=y[t];delete y[t],n()}},b=function(t){m.call(t.data)};h&&p||(h=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return y[++g]=function(){a("function"==typeof t?t:Function(t),n)},r(g),g},p=function(t){delete y[t]},"process"==e(20)(l)?r=function(t){l.nextTick(u(m,t,1))}:d&&d.now?r=function(t){d.now(u(m,t,1))}:v?(o=(i=new v).port2,i.port1.onmessage=b,r=u(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",b,!1)):r="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:h,clear:p}},function(t,n,e){var r=e(2),i=e(90).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,c="process"==e(20)(u);t.exports=function(){var t,n,e,s=function(){var r,i;for(c&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(c)e=function(){u.nextTick(s)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);e=function(){f.then(s)}}else e=function(){i.call(r,s)};else{var l=!0,h=document.createTextNode("");new o(s).observe(h,{characterData:!0}),e=function(){h.data=l=!l}}return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){"use strict";var r=e(10);function i(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new i(t)}},function(t,n,e){"use strict";var r=e(2),i=e(7),o=e(29),u=e(62),a=e(11),c=e(41),s=e(3),f=e(39),l=e(21),h=e(6),p=e(123),v=e(37).f,d=e(8).f,g=e(86),y=e(43),m=r.ArrayBuffer,b=r.DataView,w=r.Math,_=r.RangeError,x=r.Infinity,S=m,A=w.abs,O=w.pow,E=w.floor,P=w.log,M=w.LN2,k=i?"_b":"buffer",j=i?"_l":"byteLength",F=i?"_o":"byteOffset";function I(t,n,e){var r,i,o,u=new Array(e),a=8*e-n-1,c=(1<<a)-1,s=c>>1,f=23===n?O(2,-24)-O(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=A(t))!=t||t===x?(i=t!=t?1:0,r=c):(r=E(P(t)/M),t*(o=O(2,-r))<1&&(r--,o*=2),(t+=r+s>=1?f/o:f*O(2,1-s))*o>=2&&(r++,o/=2),r+s>=c?(i=0,r=c):r+s>=1?(i=(t*o-1)*O(2,n),r+=s):(i=t*O(2,s-1)*O(2,n),r=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(r=r<<n|i,a+=n;a>0;u[l++]=255&r,r/=256,a-=8);return u[--l]|=128*h,u}function C(t,n,e){var r,i=8*e-n-1,o=(1<<i)-1,u=o>>1,a=i-7,c=e-1,s=t[c--],f=127&s;for(s>>=7;a>0;f=256*f+t[c],c--,a-=8);for(r=f&(1<<-a)-1,f>>=-a,a+=n;a>0;r=256*r+t[c],c--,a-=8);if(0===f)f=1-u;else{if(f===o)return r?NaN:s?-x:x;r+=O(2,n),f-=u}return(s?-1:1)*r*O(2,f-n)}function T(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function N(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return I(t,52,8)}function U(t){return I(t,23,4)}function B(t,n,e){d(t.prototype,n,{get:function(){return this[e]}})}function W(t,n,e,r){var i=p(+e);if(i+n>t[j])throw _("Wrong index!");var o=t[k]._b,u=i+t[F],a=o.slice(u,u+n);return r?a:a.reverse()}function V(t,n,e,r,i,o){var u=p(+e);if(u+n>t[j])throw _("Wrong index!");for(var a=t[k]._b,c=u+t[F],s=r(+i),f=0;f<n;f++)a[c+f]=s[o?f:n-f-1]}if(u.ABV){if(!s((function(){m(1)}))||!s((function(){new m(-1)}))||s((function(){return new m,new m(1.5),new m(NaN),"ArrayBuffer"!=m.name}))){for(var G,z=(m=function(t){return f(this,m),new S(p(t))}).prototype=S.prototype,H=v(S),q=0;H.length>q;)(G=H[q++])in m||a(m,G,S[G]);o||(z.constructor=m)}var J=new b(new m(2)),Y=b.prototype.setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||c(b.prototype,{setInt8:function(t,n){Y.call(this,t,n<<24>>24)},setUint8:function(t,n){Y.call(this,t,n<<24>>24)}},!0)}else m=function(t){f(this,m,"ArrayBuffer");var n=p(t);this._b=g.call(new Array(n),0),this[j]=n},b=function(t,n,e){f(this,b,"DataView"),f(t,m,"DataView");var r=t[j],i=l(n);if(i<0||i>r)throw _("Wrong offset!");if(i+(e=void 0===e?r-i:h(e))>r)throw _("Wrong length!");this[k]=t,this[F]=i,this[j]=e},i&&(B(m,"byteLength","_l"),B(b,"buffer","_b"),B(b,"byteLength","_l"),B(b,"byteOffset","_o")),c(b.prototype,{getInt8:function(t){return W(this,1,t)[0]<<24>>24},getUint8:function(t){return W(this,1,t)[0]},getInt16:function(t){var n=W(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=W(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return T(W(this,4,t,arguments[1]))},getUint32:function(t){return T(W(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return C(W(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return C(W(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){V(this,1,t,R,n)},setUint8:function(t,n){V(this,1,t,R,n)},setInt16:function(t,n){V(this,2,t,L,n,arguments[2])},setUint16:function(t,n){V(this,2,t,L,n,arguments[2])},setInt32:function(t,n){V(this,4,t,N,n,arguments[2])},setUint32:function(t,n){V(this,4,t,N,n,arguments[2])},setFloat32:function(t,n){V(this,4,t,U,n,arguments[2])},setFloat64:function(t,n){V(this,8,t,D,n,arguments[2])}});y(m,"ArrayBuffer"),y(b,"DataView"),a(b.prototype,u.VIEW,!0),n.ArrayBuffer=m,n.DataView=b},function(t,n,e){"use strict";t.exports=e(334)},function(t,n,e){t.exports=!e(7)&&!e(3)((function(){return 7!=Object.defineProperty(e(67)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){n.f=e(5)},function(t,n,e){var r=e(14),i=e(15),o=e(52)(!1),u=e(69)("IE_PROTO");t.exports=function(t,n){var e,a=i(t),c=0,s=[];for(e in a)e!=u&&r(a,e)&&s.push(e);for(;n.length>c;)r(a,e=n[c++])&&(~o(s,e)||s.push(e));return s}},function(t,n,e){var r=e(8),i=e(1),o=e(34);t.exports=e(7)?Object.defineProperties:function(t,n){i(t);for(var e,u=o(n),a=u.length,c=0;a>c;)r.f(t,e=u[c++],n[e]);return t}},function(t,n,e){var r=e(15),i=e(37).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(r(t))}},function(t,n,e){"use strict";var r=e(7),i=e(34),o=e(53),u=e(49),a=e(9),c=e(48),s=Object.assign;t.exports=!s||e(3)((function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach((function(t){n[t]=t})),7!=s({},t)[e]||Object.keys(s({},n)).join("")!=r}))?function(t,n){for(var e=a(t),s=arguments.length,f=1,l=o.f,h=u.f;s>f;)for(var p,v=c(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)p=d[y++],r&&!h.call(v,p)||(e[p]=v[p]);return e}:s},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,e){"use strict";var r=e(10),i=e(4),o=e(103),u=[].slice,a={},c=function(t,n,e){if(!(n in a)){for(var r=[],i=0;i<n;i++)r[i]="a["+i+"]";a[n]=Function("F,a","return new F("+r.join(",")+")")}return a[n](t,e)};t.exports=Function.bind||function(t){var n=r(this),e=u.call(arguments,1),a=function(){var r=e.concat(u.call(arguments));return this instanceof a?c(n,r.length,r):o(n,r,t)};return i(n.prototype)&&(a.prototype=n.prototype),a}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(2).parseInt,i=e(45).trim,o=e(73),u=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,n){var e=i(String(t),3);return r(e,n>>>0||(u.test(e)?16:10))}:r},function(t,n,e){var r=e(2).parseFloat,i=e(45).trim;t.exports=1/r(e(73)+"-0")!=-1/0?function(t){var n=i(String(t),3),e=r(n);return 0===e&&"-"==n.charAt(0)?-0:e}:r},function(t,n,e){var r=e(20);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(n);return+t}},function(t,n,e){var r=e(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,e){var r=e(76),i=Math.pow,o=i(2,-52),u=i(2,-23),a=i(2,127)*(2-u),c=i(2,-126);t.exports=Math.fround||function(t){var n,e,i=Math.abs(t),s=r(t);return i<c?s*(i/c/u+1/o-1/o)*c*u:(e=(n=(1+u/o)*i)-(n-i))>a||e!=e?s*(1/0):s*e}},function(t,n,e){var r=e(1);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){var r=e(10),i=e(9),o=e(48),u=e(6);t.exports=function(t,n,e,a,c){r(n);var s=i(t),f=o(s),l=u(s.length),h=c?l-1:0,p=c?-1:1;if(e<2)for(;;){if(h in f){a=f[h],h+=p;break}if(h+=p,c?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:l>h;h+=p)h in f&&(a=n(a,f[h],h,s));return a}},function(t,n,e){"use strict";var r=e(9),i=e(35),o=e(6);t.exports=[].copyWithin||function(t,n){var e=r(this),u=o(e.length),a=i(t,u),c=i(n,u),s=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===s?u:i(s,u))-c,u-a),l=1;for(c<a&&a<c+f&&(l=-1,c+=f-1,a+=f-1);f-- >0;)c in e?e[a]=e[c]:delete e[a],a+=l,c+=l;return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r=e(88);e(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,n,e){e(7)&&"g"!=/./g.flags&&e(8).f(RegExp.prototype,"flags",{configurable:!0,get:e(50)})},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(1),i=e(4),o=e(92);t.exports=function(t,n){if(r(t),i(n)&&n.constructor===t)return n;var e=o.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){"use strict";var r=e(119),i=e(42);t.exports=e(61)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var n=r.getEntry(i(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(i(this,"Map"),0===t?0:t,n)}},r,!0)},function(t,n,e){"use strict";var r=e(8).f,i=e(36),o=e(41),u=e(19),a=e(39),c=e(40),s=e(78),f=e(113),l=e(38),h=e(7),p=e(30).fastKey,v=e(42),d=h?"_s":"size",g=function(t,n){var e,r=p(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,s){var f=t((function(t,r){a(t,f,n,"_i"),t._t=n,t._i=i(null),t._f=void 0,t._l=void 0,t[d]=0,null!=r&&c(r,e,t[s],t)}));return o(f.prototype,{clear:function(){for(var t=v(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var e=v(this,n),r=g(e,t);if(r){var i=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),e._f==r&&(e._f=i),e._l==r&&(e._l=o),e[d]--}return!!r},forEach:function(t){v(this,n);for(var e,r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!g(v(this,n),t)}}),h&&r(f.prototype,"size",{get:function(){return v(this,n)[d]}}),f},def:function(t,n,e){var r,i,o=g(t,n);return o?o.v=e:(t._l=o={i:i=p(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[d]++,"F"!==i&&(t._i[i]=o)),t},getEntry:g,setStrong:function(t,n,e){s(t,n,(function(t,e){this._t=v(t,n),this._k=e,this._l=void 0}),(function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,f(1))}),e?"entries":"values",!e,!0),l(n)}}},function(t,n,e){"use strict";var r=e(119),i=e(42);t.exports=e(61)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,n,e){"use strict";var r,i=e(2),o=e(26)(0),u=e(12),a=e(30),c=e(100),s=e(122),f=e(4),l=e(42),h=e(42),p=!i.ActiveXObject&&"ActiveXObject"in i,v=a.getWeak,d=Object.isExtensible,g=s.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(f(t)){var n=v(t);return!0===n?g(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return s.def(l(this,"WeakMap"),t,n)}},b=t.exports=e(61)("WeakMap",y,m,s,!0,!0);h&&p&&(c((r=s.getConstructor(y,"WeakMap")).prototype,m),a.NEED=!0,o(["delete","has","get","set"],(function(t){var n=b.prototype,e=n[t];u(n,t,(function(n,i){if(f(n)&&!d(n)){this._f||(this._f=new r);var o=this._f[t](n,i);return"set"==t?this:o}return e.call(this,n,i)}))})))},function(t,n,e){"use strict";var r=e(41),i=e(30).getWeak,o=e(1),u=e(4),a=e(39),c=e(40),s=e(26),f=e(14),l=e(42),h=s(5),p=s(6),v=0,d=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},y=function(t,n){return h(t.a,(function(t){return t[0]===n}))};g.prototype={get:function(t){var n=y(this,t);if(n)return n[1]},has:function(t){return!!y(this,t)},set:function(t,n){var e=y(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,(function(n){return n[0]===t}));return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,o){var s=t((function(t,r){a(t,s,n,"_i"),t._t=n,t._i=v++,t._l=void 0,null!=r&&c(r,e,t[o],t)}));return r(s.prototype,{delete:function(t){if(!u(t))return!1;var e=i(t);return!0===e?d(l(this,n)).delete(t):e&&f(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=i(t);return!0===e?d(l(this,n)).has(t):e&&f(e,this._i)}}),s},def:function(t,n,e){var r=i(o(n),!0);return!0===r?d(t).set(n,e):r[t._i]=e,t},ufstore:d}},function(t,n,e){var r=e(21),i=e(6);t.exports=function(t){if(void 0===t)return 0;var n=r(t),e=i(n);if(n!==e)throw RangeError("Wrong length!");return e}},function(t,n,e){var r=e(37),i=e(53),o=e(1),u=e(2).Reflect;t.exports=u&&u.ownKeys||function(t){var n=r.f(o(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){"use strict";var r=e(54),i=e(4),o=e(6),u=e(19),a=e(5)("isConcatSpreadable");t.exports=function t(n,e,c,s,f,l,h,p){for(var v,d,g=f,y=0,m=!!h&&u(h,p,3);y<s;){if(y in c){if(v=m?m(c[y],y,e):c[y],d=!1,i(v)&&(d=void 0!==(d=v[a])?!!d:r(v)),d&&l>0)g=t(n,e,v,o(v.length),g,l-1)-1;else{if(g>=9007199254740991)throw TypeError();n[g]=v}g++}y++}return g}},function(t,n,e){var r=e(6),i=e(75),o=e(24);t.exports=function(t,n,e,u){var a=String(o(t)),c=a.length,s=void 0===e?" ":String(e),f=r(n);if(f<=c||""==s)return a;var l=f-c,h=i.call(s,Math.ceil(l/s.length));return h.length>l&&(h=h.slice(0,l)),u?h+a:a+h}},function(t,n,e){var r=e(7),i=e(34),o=e(15),u=e(49).f;t.exports=function(t){return function(n){for(var e,a=o(n),c=i(a),s=c.length,f=0,l=[];s>f;)e=c[f++],r&&!u.call(a,e)||l.push(t?[e,a[e]]:a[e]);return l}}},function(t,n,e){var r=e(44),i=e(129);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,n,e){var r=e(40);t.exports=function(t,n){var e=[];return r(t,!1,e.push,e,n),e}},function(t,n){t.exports=Math.scale||function(t,n,e,r,i){return 0===arguments.length||t!=t||n!=n||e!=e||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-n)*(i-r)/(e-n)+r}},function(t,n,e){"use strict";var r=e(335),i=e(337);window.OfflineAudioContext=window.OfflineAudioContext||window.webkitOfflineAudioContext,window.AudioContext=window.AudioContext||window.webkitAudioContext;var o=new AudioContext,u=new r({context:o,cache:!1});t.exports=function(t,n,e){if(!t&&!n)return c("Error: First argument should be either a File, URL or AudioBuffer");var r=Object.prototype.toString.call(t);if("[object String]"!==r&&"[object File]"!==r&&"[object AudioBuffer]"!==r&&"[object Object]"!==r)return c("Error: First argument should be either a File, URL or AudioBuffer");if("number"!=typeof n||n>192e3||n<3e3)return c("Error: Second argument should be a numeric sample rate between 3000 and 192000");if("[object String]"===r||"[object File]"===r)console.log("Loading/decoding input",t),u.load(t,{onload:function(t,n){if(t)return c(t);s(n)}});else if("[object AudioBuffer]"===r)s(t);else{if("[object Object]"!==r||!t.leftBuffer||!t.sampleRate)return c("Error: Unknown input type");var a=t.rightBuffer?2:1;s(o.createBuffer(a,t.leftBuffer.length,t.sampleRate))}function c(t){console.error(t),"function"==typeof e&&e(new Error(t))}function s(t){var r=t.numberOfChannels,o=t.length*n/t.sampleRate,u=new OfflineAudioContext(r,o,n),a=u.createBufferSource();a.buffer=t,u.oncomplete=function(t){var n=t.renderedBuffer;console.log("Done Rendering"),"function"==typeof e&&e({getAudioBuffer:function(){return n},getFile:function(t){for(var e={sampleRate:n.sampleRate,channelData:[]},r=0;r<n.numberOfChannels;r++)e.channelData[r]=n.getChannelData(r);i.encode(e).then((function(n){var e=new Blob([n],{type:"audio/wav"});t(URL.createObjectURL(e))}))}})},console.log("Starting Offline Rendering"),a.connect(u.destination),a.start(0),u.startRendering()}}},function(t,n,e){"use strict";(function(t){if(e(133),e(330),e(331),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;function n(t,n,e){t[n]||Object.defineProperty(t,n,{writable:!0,configurable:!0,value:e})}n(String.prototype,"padLeft","".padStart),n(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach((function(t){[][t]&&n(Array,t,Function.call.bind([][t]))}))}).call(this,e(66))},function(t,n,e){e(134),e(137),e(138),e(139),e(140),e(141),e(142),e(143),e(144),e(145),e(146),e(147),e(148),e(149),e(150),e(151),e(152),e(153),e(154),e(155),e(156),e(157),e(158),e(159),e(160),e(161),e(162),e(163),e(164),e(165),e(166),e(167),e(168),e(169),e(170),e(171),e(172),e(173),e(174),e(175),e(176),e(177),e(178),e(179),e(180),e(181),e(182),e(183),e(184),e(185),e(186),e(187),e(188),e(189),e(190),e(191),e(192),e(193),e(194),e(195),e(196),e(197),e(198),e(199),e(200),e(201),e(202),e(203),e(204),e(205),e(206),e(207),e(208),e(209),e(210),e(211),e(212),e(214),e(215),e(217),e(218),e(219),e(220),e(221),e(222),e(223),e(225),e(226),e(227),e(228),e(229),e(230),e(231),e(232),e(233),e(234),e(235),e(236),e(237),e(87),e(238),e(114),e(239),e(115),e(240),e(241),e(242),e(243),e(244),e(118),e(120),e(121),e(245),e(246),e(247),e(248),e(249),e(250),e(251),e(252),e(253),e(254),e(255),e(256),e(257),e(258),e(259),e(260),e(261),e(262),e(263),e(264),e(265),e(266),e(267),e(268),e(269),e(270),e(271),e(272),e(273),e(274),e(275),e(276),e(277),e(278),e(279),e(280),e(281),e(282),e(283),e(284),e(285),e(286),e(287),e(288),e(289),e(290),e(291),e(292),e(293),e(294),e(295),e(296),e(297),e(298),e(299),e(300),e(301),e(302),e(303),e(304),e(305),e(306),e(307),e(308),e(309),e(310),e(311),e(312),e(313),e(314),e(315),e(316),e(317),e(318),e(319),e(320),e(321),e(322),e(323),e(324),e(325),e(326),e(327),e(328),e(329),t.exports=e(18)},function(t,n,e){"use strict";var r=e(2),i=e(14),o=e(7),u=e(0),a=e(12),c=e(30).KEY,s=e(3),f=e(47),l=e(43),h=e(33),p=e(5),v=e(96),d=e(68),g=e(136),y=e(54),m=e(1),b=e(4),w=e(9),_=e(15),x=e(23),S=e(32),A=e(36),O=e(99),E=e(16),P=e(53),M=e(8),k=e(34),j=E.f,F=M.f,I=O.f,C=r.Symbol,T=r.JSON,R=T&&T.stringify,L=p("_hidden"),N=p("toPrimitive"),D={}.propertyIsEnumerable,U=f("symbol-registry"),B=f("symbols"),W=f("op-symbols"),V=Object.prototype,G="function"==typeof C&&!!P.f,z=r.QObject,H=!z||!z.prototype||!z.prototype.findChild,q=o&&s((function(){return 7!=A(F({},"a",{get:function(){return F(this,"a",{value:7}).a}})).a}))?function(t,n,e){var r=j(V,n);r&&delete V[n],F(t,n,e),r&&t!==V&&F(V,n,r)}:F,J=function(t){var n=B[t]=A(C.prototype);return n._k=t,n},Y=G&&"symbol"==typeof C.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof C},$=function(t,n,e){return t===V&&$(W,n,e),m(t),n=x(n,!0),m(e),i(B,n)?(e.enumerable?(i(t,L)&&t[L][n]&&(t[L][n]=!1),e=A(e,{enumerable:S(0,!1)})):(i(t,L)||F(t,L,S(1,{})),t[L][n]=!0),q(t,n,e)):F(t,n,e)},K=function(t,n){m(t);for(var e,r=g(n=_(n)),i=0,o=r.length;o>i;)$(t,e=r[i++],n[e]);return t},X=function(t){var n=D.call(this,t=x(t,!0));return!(this===V&&i(B,t)&&!i(W,t))&&(!(n||!i(this,t)||!i(B,t)||i(this,L)&&this[L][t])||n)},Q=function(t,n){if(t=_(t),n=x(n,!0),t!==V||!i(B,n)||i(W,n)){var e=j(t,n);return!e||!i(B,n)||i(t,L)&&t[L][n]||(e.enumerable=!0),e}},Z=function(t){for(var n,e=I(_(t)),r=[],o=0;e.length>o;)i(B,n=e[o++])||n==L||n==c||r.push(n);return r},tt=function(t){for(var n,e=t===V,r=I(e?W:_(t)),o=[],u=0;r.length>u;)!i(B,n=r[u++])||e&&!i(V,n)||o.push(B[n]);return o};G||(a((C=function(){if(this instanceof C)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(e){this===V&&n.call(W,e),i(this,L)&&i(this[L],t)&&(this[L][t]=!1),q(this,t,S(1,e))};return o&&H&&q(V,t,{configurable:!0,set:n}),J(t)}).prototype,"toString",(function(){return this._k})),E.f=Q,M.f=$,e(37).f=O.f=Z,e(49).f=X,P.f=tt,o&&!e(29)&&a(V,"propertyIsEnumerable",X,!0),v.f=function(t){return J(p(t))}),u(u.G+u.W+u.F*!G,{Symbol:C});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)p(nt[et++]);for(var rt=k(p.store),it=0;rt.length>it;)d(rt[it++]);u(u.S+u.F*!G,"Symbol",{for:function(t){return i(U,t+="")?U[t]:U[t]=C(t)},keyFor:function(t){if(!Y(t))throw TypeError(t+" is not a symbol!");for(var n in U)if(U[n]===t)return n},useSetter:function(){H=!0},useSimple:function(){H=!1}}),u(u.S+u.F*!G,"Object",{create:function(t,n){return void 0===n?A(t):K(A(t),n)},defineProperty:$,defineProperties:K,getOwnPropertyDescriptor:Q,getOwnPropertyNames:Z,getOwnPropertySymbols:tt});var ot=s((function(){P.f(1)}));u(u.S+u.F*ot,"Object",{getOwnPropertySymbols:function(t){return P.f(w(t))}}),T&&u(u.S+u.F*(!G||s((function(){var t=C();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(e=n=r[1],(b(n)||void 0!==t)&&!Y(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!Y(n))return n}),r[1]=n,R.apply(T,r)}}),C.prototype[N]||e(11)(C.prototype,N,C.prototype.valueOf),l(C,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){t.exports=e(47)("native-function-to-string",Function.toString)},function(t,n,e){var r=e(34),i=e(53),o=e(49);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var u,a=e(t),c=o.f,s=0;a.length>s;)c.call(t,u=a[s++])&&n.push(u);return n}},function(t,n,e){var r=e(0);r(r.S,"Object",{create:e(36)})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(7),"Object",{defineProperty:e(8).f})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(7),"Object",{defineProperties:e(98)})},function(t,n,e){var r=e(15),i=e(16).f;e(25)("getOwnPropertyDescriptor",(function(){return function(t,n){return i(r(t),n)}}))},function(t,n,e){var r=e(9),i=e(17);e(25)("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},function(t,n,e){var r=e(9),i=e(34);e(25)("keys",(function(){return function(t){return i(r(t))}}))},function(t,n,e){e(25)("getOwnPropertyNames",(function(){return e(99).f}))},function(t,n,e){var r=e(4),i=e(30).onFreeze;e(25)("freeze",(function(t){return function(n){return t&&r(n)?t(i(n)):n}}))},function(t,n,e){var r=e(4),i=e(30).onFreeze;e(25)("seal",(function(t){return function(n){return t&&r(n)?t(i(n)):n}}))},function(t,n,e){var r=e(4),i=e(30).onFreeze;e(25)("preventExtensions",(function(t){return function(n){return t&&r(n)?t(i(n)):n}}))},function(t,n,e){var r=e(4);e(25)("isFrozen",(function(t){return function(n){return!r(n)||!!t&&t(n)}}))},function(t,n,e){var r=e(4);e(25)("isSealed",(function(t){return function(n){return!r(n)||!!t&&t(n)}}))},function(t,n,e){var r=e(4);e(25)("isExtensible",(function(t){return function(n){return!!r(n)&&(!t||t(n))}}))},function(t,n,e){var r=e(0);r(r.S+r.F,"Object",{assign:e(100)})},function(t,n,e){var r=e(0);r(r.S,"Object",{is:e(101)})},function(t,n,e){var r=e(0);r(r.S,"Object",{setPrototypeOf:e(72).set})},function(t,n,e){"use strict";var r=e(44),i={};i[e(5)("toStringTag")]="z",i+""!="[object z]"&&e(12)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,n,e){var r=e(0);r(r.P,"Function",{bind:e(102)})},function(t,n,e){var r=e(8).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||e(7)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r=e(4),i=e(17),o=e(5)("hasInstance"),u=Function.prototype;o in u||e(8).f(u,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,e){var r=e(0),i=e(104);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,n,e){var r=e(0),i=e(105);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,n,e){"use strict";var r=e(2),i=e(14),o=e(20),u=e(74),a=e(23),c=e(3),s=e(37).f,f=e(16).f,l=e(8).f,h=e(45).trim,p=r.Number,v=p,d=p.prototype,g="Number"==o(e(36)(d)),y="trim"in String.prototype,m=function(t){var n=a(t,!1);if("string"==typeof n&&n.length>2){var e,r,i,o=(n=y?n.trim():h(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+n}for(var u,c=n.slice(2),s=0,f=c.length;s<f;s++)if((u=c.charCodeAt(s))<48||u>i)return NaN;return parseInt(c,r)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof p&&(g?c((function(){d.valueOf.call(e)})):"Number"!=o(e))?u(new v(m(n)),e,p):m(n)};for(var b,w=e(7)?s(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;w.length>_;_++)i(v,b=w[_])&&!i(p,b)&&l(p,b,f(v,b));p.prototype=d,d.constructor=p,e(12)(r,"Number",p)}},function(t,n,e){"use strict";var r=e(0),i=e(21),o=e(106),u=e(75),a=1..toFixed,c=Math.floor,s=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*s[e],s[e]=r%1e7,r=c(r/1e7)},h=function(t){for(var n=6,e=0;--n>=0;)e+=s[n],s[n]=c(e/t),e=e%t*1e7},p=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==s[t]){var e=String(s[t]);n=""===n?e:n+u.call("0",7-e.length)+e}return n},v=function(t,n,e){return 0===n?e:n%2==1?v(t,n-1,e*t):v(t*t,n/2,e)};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e(3)((function(){a.call({})}))),"Number",{toFixed:function(t){var n,e,r,a,c=o(this,f),s=i(t),d="",g="0";if(s<0||s>20)throw RangeError(f);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>1e-21)if(e=(n=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n}(c*v(2,69,1))-69)<0?c*v(2,-n,1):c/v(2,n,1),e*=4503599627370496,(n=52-n)>0){for(l(0,e),r=s;r>=7;)l(1e7,0),r-=7;for(l(v(10,r,1),0),r=n-1;r>=23;)h(1<<23),r-=23;h(1<<r),l(1,1),h(2),g=p()}else l(0,e),l(1<<-n,0),g=p()+u.call("0",s);return g=s>0?d+((a=g.length)<=s?"0."+u.call("0",s-a)+g:g.slice(0,a-s)+"."+g.slice(a-s)):d+g}})},function(t,n,e){"use strict";var r=e(0),i=e(3),o=e(106),u=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==u.call(1,void 0)}))||!i((function(){u.call({})}))),"Number",{toPrecision:function(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,e){var r=e(0),i=e(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{isInteger:e(107)})},function(t,n,e){var r=e(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,e){var r=e(0),i=e(107),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,e){var r=e(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,e){var r=e(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,e){var r=e(0),i=e(105);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,e){var r=e(0),i=e(104);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,e){var r=e(0),i=e(108),o=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n,e){var r=e(0),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,e){var r=e(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,e){var r=e(0),i=e(76);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,e){var r=e(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,e){var r=e(0),i=e(77);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,e){var r=e(0);r(r.S,"Math",{fround:e(109)})},function(t,n,e){var r=e(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,n){for(var e,r,o=0,u=0,a=arguments.length,c=0;u<a;)c<(e=i(arguments[u++]))?(o=o*(r=c/e)*r+1,c=e):o+=e>0?(r=e/c)*r:e;return c===1/0?1/0:c*Math.sqrt(o)}})},function(t,n,e){var r=e(0),i=Math.imul;r(r.S+r.F*e(3)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r;return 0|i*o+((65535&e>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log1p:e(108)})},function(t,n,e){var r=e(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,e){var r=e(0);r(r.S,"Math",{sign:e(76)})},function(t,n,e){var r=e(0),i=e(77),o=Math.exp;r(r.S+r.F*e(3)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,e){var r=e(0),i=e(77),o=Math.exp;r(r.S,"Math",{tanh:function(t){var n=i(t=+t),e=i(-t);return n==1/0?1:e==1/0?-1:(n-e)/(o(t)+o(-t))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,e){var r=e(0),i=e(35),o=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,e=[],r=arguments.length,u=0;r>u;){if(n=+arguments[u++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(n<65536?o(n):o(55296+((n-=65536)>>10),n%1024+56320))}return e.join("")}})},function(t,n,e){var r=e(0),i=e(15),o=e(6);r(r.S,"String",{raw:function(t){for(var n=i(t.raw),e=o(n.length),r=arguments.length,u=[],a=0;e>a;)u.push(String(n[a++])),a<r&&u.push(String(arguments[a]));return u.join("")}})},function(t,n,e){"use strict";e(45)("trim",(function(t){return function(){return t(this,3)}}))},function(t,n,e){"use strict";var r=e(55)(!0);e(78)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})}))},function(t,n,e){"use strict";var r=e(0),i=e(55)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(80),u="".endsWith;r(r.P+r.F*e(81)("endsWith"),"String",{endsWith:function(t){var n=o(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,r=i(n.length),a=void 0===e?r:Math.min(i(e),r),c=String(t);return u?u.call(n,c,a):n.slice(a-c.length,a)===c}})},function(t,n,e){"use strict";var r=e(0),i=e(80);r(r.P+r.F*e(81)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(0);r(r.P,"String",{repeat:e(75)})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(80),u="".startsWith;r(r.P+r.F*e(81)("startsWith"),"String",{startsWith:function(t){var n=o(this,t,"startsWith"),e=i(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),r=String(t);return u?u.call(n,r,e):n.slice(e,e+r.length)===r}})},function(t,n,e){"use strict";e(13)("anchor",(function(t){return function(n){return t(this,"a","name",n)}}))},function(t,n,e){"use strict";e(13)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,n,e){"use strict";e(13)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,n,e){"use strict";e(13)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,n,e){"use strict";e(13)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,n,e){"use strict";e(13)("fontcolor",(function(t){return function(n){return t(this,"font","color",n)}}))},function(t,n,e){"use strict";e(13)("fontsize",(function(t){return function(n){return t(this,"font","size",n)}}))},function(t,n,e){"use strict";e(13)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,n,e){"use strict";e(13)("link",(function(t){return function(n){return t(this,"a","href",n)}}))},function(t,n,e){"use strict";e(13)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,n,e){"use strict";e(13)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,n,e){"use strict";e(13)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,n,e){"use strict";e(13)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,n,e){var r=e(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(23);r(r.P+r.F*e(3)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var n=i(this),e=o(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}})},function(t,n,e){var r=e(0),i=e(213);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,n,e){"use strict";var r=e(3),i=Date.prototype.getTime,o=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=n<0?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(e>99?e:"0"+u(e))+"Z"}:o},function(t,n,e){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&e(12)(r,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,n,e){var r=e(5)("toPrimitive"),i=Date.prototype;r in i||e(11)(i,r,e(216))},function(t,n,e){"use strict";var r=e(1),i=e(23);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,n,e){var r=e(0);r(r.S,"Array",{isArray:e(54)})},function(t,n,e){"use strict";var r=e(19),i=e(0),o=e(9),u=e(110),a=e(82),c=e(6),s=e(83),f=e(84);i(i.S+i.F*!e(57)((function(t){Array.from(t)})),"Array",{from:function(t){var n,e,i,l,h=o(t),p="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,g=void 0!==d,y=0,m=f(h);if(g&&(d=r(d,v>2?arguments[2]:void 0,2)),null==m||p==Array&&a(m))for(e=new p(n=c(h.length));n>y;y++)s(e,y,g?d(h[y],y):h[y]);else for(l=m.call(h),e=new p;!(i=l.next()).done;y++)s(e,y,g?u(l,d,[i.value,y],!0):i.value);return e.length=y,e}})},function(t,n,e){"use strict";var r=e(0),i=e(83);r(r.S+r.F*e(3)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,n=arguments.length,e=new("function"==typeof this?this:Array)(n);n>t;)i(e,t,arguments[t++]);return e.length=n,e}})},function(t,n,e){"use strict";var r=e(0),i=e(15),o=[].join;r(r.P+r.F*(e(48)!=Object||!e(22)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,e){"use strict";var r=e(0),i=e(71),o=e(20),u=e(35),a=e(6),c=[].slice;r(r.P+r.F*e(3)((function(){i&&c.call(i)})),"Array",{slice:function(t,n){var e=a(this.length),r=o(this);if(n=void 0===n?e:n,"Array"==r)return c.call(this,t,n);for(var i=u(t,e),s=u(n,e),f=a(s-i),l=new Array(f),h=0;h<f;h++)l[h]="String"==r?this.charAt(i+h):this[i+h];return l}})},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(9),u=e(3),a=[].sort,c=[1,2,3];r(r.P+r.F*(u((function(){c.sort(void 0)}))||!u((function(){c.sort(null)}))||!e(22)(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),i(t))}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(0),o=e(22)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,n,e){var r=e(4),i=e(54),o=e(5)("species");t.exports=function(t){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)||(n=void 0),r(n)&&null===(n=n[o])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){"use strict";var r=e(0),i=e(26)(1);r(r.P+r.F*!e(22)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(2);r(r.P+r.F*!e(22)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(3);r(r.P+r.F*!e(22)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(4);r(r.P+r.F*!e(22)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(111);r(r.P+r.F*!e(22)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,n,e){"use strict";var r=e(0),i=e(111);r(r.P+r.F*!e(22)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,n,e){"use strict";var r=e(0),i=e(52)(!1),o=[].indexOf,u=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!e(22)(o)),"Array",{indexOf:function(t){return u?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(15),o=e(21),u=e(6),a=[].lastIndexOf,c=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!e(22)(a)),"Array",{lastIndexOf:function(t){if(c)return a.apply(this,arguments)||0;var n=i(this),e=u(n.length),r=e-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=e+r);r>=0;r--)if(r in n&&n[r]===t)return r||0;return-1}})},function(t,n,e){var r=e(0);r(r.P,"Array",{copyWithin:e(112)}),e(31)("copyWithin")},function(t,n,e){var r=e(0);r(r.P,"Array",{fill:e(86)}),e(31)("fill")},function(t,n,e){"use strict";var r=e(0),i=e(26)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(31)("find")},function(t,n,e){"use strict";var r=e(0),i=e(26)(6),o="findIndex",u=!0;o in[]&&Array(1)[o]((function(){u=!1})),r(r.P+r.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(31)(o)},function(t,n,e){e(38)("Array")},function(t,n,e){var r=e(2),i=e(74),o=e(8).f,u=e(37).f,a=e(56),c=e(50),s=r.RegExp,f=s,l=s.prototype,h=/a/g,p=/a/g,v=new s(h)!==h;if(e(7)&&(!v||e(3)((function(){return p[e(5)("match")]=!1,s(h)!=h||s(p)==p||"/a/i"!=s(h,"i")})))){s=function(t,n){var e=this instanceof s,r=a(t),o=void 0===n;return!e&&r&&t.constructor===s&&o?t:i(v?new f(r&&!o?t.source:t,n):f((r=t instanceof s)?t.source:t,r&&o?c.call(t):n),e?this:l,s)};for(var d=function(t){t in s||o(s,t,{configurable:!0,get:function(){return f[t]},set:function(n){f[t]=n}})},g=u(f),y=0;g.length>y;)d(g[y++]);l.constructor=s,s.prototype=l,e(12)(r,"RegExp",s)}e(38)("RegExp")},function(t,n,e){"use strict";e(115);var r=e(1),i=e(50),o=e(7),u=/./.toString,a=function(t){e(12)(RegExp.prototype,"toString",t,!0)};e(3)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?a((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=u.name&&a((function(){return u.call(this)}))},function(t,n,e){"use strict";var r=e(1),i=e(6),o=e(89),u=e(58);e(59)("match",1,(function(t,n,e,a){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=a(e,t,this);if(n.done)return n.value;var c=r(t),s=String(this);if(!c.global)return u(c,s);var f=c.unicode;c.lastIndex=0;for(var l,h=[],p=0;null!==(l=u(c,s));){var v=String(l[0]);h[p]=v,""===v&&(c.lastIndex=o(s,i(c.lastIndex),f)),p++}return 0===p?null:h}]}))},function(t,n,e){"use strict";var r=e(1),i=e(9),o=e(6),u=e(21),a=e(89),c=e(58),s=Math.max,f=Math.min,l=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;e(59)("replace",2,(function(t,n,e,v){return[function(r,i){var o=t(this),u=null==r?void 0:r[n];return void 0!==u?u.call(r,o,i):e.call(String(o),r,i)},function(t,n){var i=v(e,t,this,n);if(i.done)return i.value;var l=r(t),h=String(this),p="function"==typeof n;p||(n=String(n));var g=l.global;if(g){var y=l.unicode;l.lastIndex=0}for(var m=[];;){var b=c(l,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(l.lastIndex=a(h,o(l.lastIndex),y))}for(var w,_="",x=0,S=0;S<m.length;S++){b=m[S];for(var A=String(b[0]),O=s(f(u(b.index),h.length),0),E=[],P=1;P<b.length;P++)E.push(void 0===(w=b[P])?w:String(w));var M=b.groups;if(p){var k=[A].concat(E,O,h);void 0!==M&&k.push(M);var j=String(n.apply(void 0,k))}else j=d(A,h,O,E,M,n);O>=x&&(_+=h.slice(x,O)+j,x=O+A.length)}return _+h.slice(x)}];function d(t,n,r,o,u,a){var c=r+t.length,s=o.length,f=p;return void 0!==u&&(u=i(u),f=h),e.call(a,f,(function(e,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":a=u[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>s){var h=l(f/10);return 0===h?e:h<=s?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):e}a=o[f-1]}return void 0===a?"":a}))}}))},function(t,n,e){"use strict";var r=e(1),i=e(101),o=e(58);e(59)("search",1,(function(t,n,e,u){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=u(e,t,this);if(n.done)return n.value;var a=r(t),c=String(this),s=a.lastIndex;i(s,0)||(a.lastIndex=0);var f=o(a,c);return i(a.lastIndex,s)||(a.lastIndex=s),null===f?-1:f.index}]}))},function(t,n,e){"use strict";var r=e(56),i=e(1),o=e(51),u=e(89),a=e(6),c=e(58),s=e(88),f=e(3),l=Math.min,h=[].push,p=!f((function(){RegExp(4294967295,"y")}));e(59)("split",2,(function(t,n,e,f){var v;return v="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(i,t,n);for(var o,u,a,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,p=void 0===n?4294967295:n>>>0,v=new RegExp(t.source,f+"g");(o=s.call(v,i))&&!((u=v.lastIndex)>l&&(c.push(i.slice(l,o.index)),o.length>1&&o.index<i.length&&h.apply(c,o.slice(1)),a=o[0].length,l=u,c.length>=p));)v.lastIndex===o.index&&v.lastIndex++;return l===i.length?!a&&v.test("")||c.push(""):c.push(i.slice(l)),c.length>p?c.slice(0,p):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var i=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,i,r):v.call(String(i),e,r)},function(t,n){var r=f(v,t,this,n,v!==e);if(r.done)return r.value;var s=i(t),h=String(this),d=o(s,RegExp),g=s.unicode,y=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(p?"y":"g"),m=new d(p?s:"^(?:"+s.source+")",y),b=void 0===n?4294967295:n>>>0;if(0===b)return[];if(0===h.length)return null===c(m,h)?[h]:[];for(var w=0,_=0,x=[];_<h.length;){m.lastIndex=p?_:0;var S,A=c(m,p?h:h.slice(_));if(null===A||(S=l(a(m.lastIndex+(p?0:_)),h.length))===w)_=u(h,_,g);else{if(x.push(h.slice(w,_)),x.length===b)return x;for(var O=1;O<=A.length-1;O++)if(x.push(A[O]),x.length===b)return x;_=w=S}}return x.push(h.slice(w)),x}]}))},function(t,n,e){"use strict";var r,i,o,u,a=e(29),c=e(2),s=e(19),f=e(44),l=e(0),h=e(4),p=e(10),v=e(39),d=e(40),g=e(51),y=e(90).set,m=e(91)(),b=e(92),w=e(116),_=e(60),x=e(117),S=c.TypeError,A=c.process,O=A&&A.versions,E=O&&O.v8||"",P=c.Promise,M="process"==f(A),k=function(){},j=i=b.f,F=!!function(){try{var t=P.resolve(1),n=(t.constructor={})[e(5)("species")]=function(t){t(k,k)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof n&&0!==E.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},C=function(t,n){if(!t._n){t._n=!0;var e=t._c;m((function(){for(var r=t._v,i=1==t._s,o=0,u=function(n){var e,o,u,a=i?n.ok:n.fail,c=n.resolve,s=n.reject,f=n.domain;try{a?(i||(2==t._h&&L(t),t._h=1),!0===a?e=r:(f&&f.enter(),e=a(r),f&&(f.exit(),u=!0)),e===n.promise?s(S("Promise-chain cycle")):(o=I(e))?o.call(e,c,s):c(e)):s(r)}catch(t){f&&!u&&f.exit(),s(t)}};e.length>o;)u(e[o++]);t._c=[],t._n=!1,n&&!t._h&&T(t)}))}},T=function(t){y.call(c,(function(){var n,e,r,i=t._v,o=R(t);if(o&&(n=w((function(){M?A.emit("unhandledRejection",i,t):(e=c.onunhandledrejection)?e({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=M||R(t)?2:1),t._a=void 0,o&&n.e)throw n.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){y.call(c,(function(){var n;M?A.emit("rejectionHandled",t):(n=c.onrejectionhandled)&&n({promise:t,reason:t._v})}))},N=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),C(n,!0))},D=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw S("Promise can't be resolved itself");(n=I(t))?m((function(){var r={_w:e,_d:!1};try{n.call(t,s(D,r,1),s(N,r,1))}catch(t){N.call(r,t)}})):(e._v=t,e._s=1,C(e,!1))}catch(t){N.call({_w:e,_d:!1},t)}}};F||(P=function(t){v(this,P,"Promise","_h"),p(t),r.call(this);try{t(s(D,this,1),s(N,this,1))}catch(t){N.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(41)(P.prototype,{then:function(t,n){var e=j(g(this,P));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=M?A.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&C(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=s(D,t,1),this.reject=s(N,t,1)},b.f=j=function(t){return t===P||t===u?new o(t):i(t)}),l(l.G+l.W+l.F*!F,{Promise:P}),e(43)(P,"Promise"),e(38)("Promise"),u=e(18).Promise,l(l.S+l.F*!F,"Promise",{reject:function(t){var n=j(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(a||!F),"Promise",{resolve:function(t){return x(a&&this===u?P:this,t)}}),l(l.S+l.F*!(F&&e(57)((function(t){P.all(t).catch(k)}))),"Promise",{all:function(t){var n=this,e=j(n),r=e.resolve,i=e.reject,o=w((function(){var e=[],o=0,u=1;d(t,!1,(function(t){var a=o++,c=!1;e.push(void 0),u++,n.resolve(t).then((function(t){c||(c=!0,e[a]=t,--u||r(e))}),i)})),--u||r(e)}));return o.e&&i(o.v),e.promise},race:function(t){var n=this,e=j(n),r=e.reject,i=w((function(){d(t,!1,(function(t){n.resolve(t).then(e.resolve,r)}))}));return i.e&&r(i.v),e.promise}})},function(t,n,e){"use strict";var r=e(122),i=e(42);e(61)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,n,e){"use strict";var r=e(0),i=e(62),o=e(93),u=e(1),a=e(35),c=e(6),s=e(4),f=e(2).ArrayBuffer,l=e(51),h=o.ArrayBuffer,p=o.DataView,v=i.ABV&&f.isView,d=h.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(f!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return v&&v(t)||s(t)&&g in t}}),r(r.P+r.U+r.F*e(3)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,n){if(void 0!==d&&void 0===n)return d.call(u(this),t);for(var e=u(this).byteLength,r=a(t,e),i=a(void 0===n?e:n,e),o=new(l(this,h))(c(i-r)),s=new p(this),f=new p(o),v=0;r<i;)f.setUint8(v++,s.getUint8(r++));return o}}),e(38)("ArrayBuffer")},function(t,n,e){var r=e(0);r(r.G+r.W+r.F*!e(62).ABV,{DataView:e(93).DataView})},function(t,n,e){e(27)("Int8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(27)("Uint8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(27)("Uint8",1,(function(t){return function(n,e,r){return t(this,n,e,r)}}),!0)},function(t,n,e){e(27)("Int16",2,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(27)("Uint16",2,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(27)("Int32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(27)("Uint32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(27)("Float32",4,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){e(27)("Float64",8,(function(t){return function(n,e,r){return t(this,n,e,r)}}))},function(t,n,e){var r=e(0),i=e(10),o=e(1),u=(e(2).Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!e(3)((function(){u((function(){}))})),"Reflect",{apply:function(t,n,e){var r=i(t),c=o(e);return u?u(r,n,c):a.call(r,n,c)}})},function(t,n,e){var r=e(0),i=e(36),o=e(10),u=e(1),a=e(4),c=e(3),s=e(102),f=(e(2).Reflect||{}).construct,l=c((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),h=!c((function(){f((function(){}))}));r(r.S+r.F*(l||h),"Reflect",{construct:function(t,n){o(t),u(n);var e=arguments.length<3?t:o(arguments[2]);if(h&&!l)return f(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(s.apply(t,r))}var c=e.prototype,p=i(a(c)?c:Object.prototype),v=Function.apply.call(t,p,n);return a(v)?v:p}})},function(t,n,e){var r=e(8),i=e(0),o=e(1),u=e(23);i(i.S+i.F*e(3)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,n,e){o(t),n=u(n,!0),o(e);try{return r.f(t,n,e),!0}catch(t){return!1}}})},function(t,n,e){var r=e(0),i=e(16).f,o=e(1);r(r.S,"Reflect",{deleteProperty:function(t,n){var e=i(o(t),n);return!(e&&!e.configurable)&&delete t[n]}})},function(t,n,e){"use strict";var r=e(0),i=e(1),o=function(t){this._t=i(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};e(79)(o,"Object",(function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,n,e){var r=e(16),i=e(17),o=e(14),u=e(0),a=e(4),c=e(1);u(u.S,"Reflect",{get:function t(n,e){var u,s,f=arguments.length<3?n:arguments[2];return c(n)===f?n[e]:(u=r.f(n,e))?o(u,"value")?u.value:void 0!==u.get?u.get.call(f):void 0:a(s=i(n))?t(s,e,f):void 0}})},function(t,n,e){var r=e(16),i=e(0),o=e(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return r.f(o(t),n)}})},function(t,n,e){var r=e(0),i=e(17),o=e(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,e){var r=e(0),i=e(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{ownKeys:e(124)})},function(t,n,e){var r=e(0),i=e(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,e){var r=e(8),i=e(16),o=e(17),u=e(14),a=e(0),c=e(32),s=e(1),f=e(4);a(a.S,"Reflect",{set:function t(n,e,a){var l,h,p=arguments.length<4?n:arguments[3],v=i.f(s(n),e);if(!v){if(f(h=o(n)))return t(h,e,a,p);v=c(0)}if(u(v,"value")){if(!1===v.writable||!f(p))return!1;if(l=i.f(p,e)){if(l.get||l.set||!1===l.writable)return!1;l.value=a,r.f(p,e,l)}else r.f(p,e,c(0,a));return!0}return void 0!==v.set&&(v.set.call(p,a),!0)}})},function(t,n,e){var r=e(0),i=e(72);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,e){"use strict";var r=e(0),i=e(52)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(31)("includes")},function(t,n,e){"use strict";var r=e(0),i=e(125),o=e(9),u=e(6),a=e(10),c=e(85);r(r.P,"Array",{flatMap:function(t){var n,e,r=o(this);return a(t),n=u(r.length),e=c(r,0),i(e,r,r,n,0,1,t,arguments[1]),e}}),e(31)("flatMap")},function(t,n,e){"use strict";var r=e(0),i=e(125),o=e(9),u=e(6),a=e(21),c=e(85);r(r.P,"Array",{flatten:function(){var t=arguments[0],n=o(this),e=u(n.length),r=c(n,0);return i(r,n,n,e,0,void 0===t?1:a(t)),r}}),e(31)("flatten")},function(t,n,e){"use strict";var r=e(0),i=e(55)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,n,e){"use strict";var r=e(0),i=e(126),o=e(60),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,e){"use strict";var r=e(0),i=e(126),o=e(60),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,e){"use strict";e(45)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,n,e){"use strict";e(45)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,n,e){"use strict";var r=e(0),i=e(24),o=e(6),u=e(56),a=e(50),c=RegExp.prototype,s=function(t,n){this._r=t,this._s=n};e(79)(s,"RegExp String",(function(){var t=this._r.exec(this._s);return{value:t,done:null===t}})),r(r.P,"String",{matchAll:function(t){if(i(this),!u(t))throw TypeError(t+" is not a regexp!");var n=String(this),e="flags"in c?String(t.flags):a.call(t),r=new RegExp(t.source,~e.indexOf("g")?e:"g"+e);return r.lastIndex=o(t.lastIndex),new s(r,n)}})},function(t,n,e){e(68)("asyncIterator")},function(t,n,e){e(68)("observable")},function(t,n,e){var r=e(0),i=e(124),o=e(15),u=e(16),a=e(83);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=o(t),c=u.f,s=i(r),f={},l=0;s.length>l;)void 0!==(e=c(r,n=s[l++]))&&a(f,n,e);return f}})},function(t,n,e){var r=e(0),i=e(127)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,n,e){var r=e(0),i=e(127)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(10),u=e(8);e(7)&&r(r.P+e(63),"Object",{__defineGetter__:function(t,n){u.f(i(this),t,{get:o(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(10),u=e(8);e(7)&&r(r.P+e(63),"Object",{__defineSetter__:function(t,n){u.f(i(this),t,{set:o(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(23),u=e(17),a=e(16).f;e(7)&&r(r.P+e(63),"Object",{__lookupGetter__:function(t){var n,e=i(this),r=o(t,!0);do{if(n=a(e,r))return n.get}while(e=u(e))}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(23),u=e(17),a=e(16).f;e(7)&&r(r.P+e(63),"Object",{__lookupSetter__:function(t){var n,e=i(this),r=o(t,!0);do{if(n=a(e,r))return n.set}while(e=u(e))}})},function(t,n,e){var r=e(0);r(r.P+r.R,"Map",{toJSON:e(128)("Map")})},function(t,n,e){var r=e(0);r(r.P+r.R,"Set",{toJSON:e(128)("Set")})},function(t,n,e){e(64)("Map")},function(t,n,e){e(64)("Set")},function(t,n,e){e(64)("WeakMap")},function(t,n,e){e(64)("WeakSet")},function(t,n,e){e(65)("Map")},function(t,n,e){e(65)("Set")},function(t,n,e){e(65)("WeakMap")},function(t,n,e){e(65)("WeakSet")},function(t,n,e){var r=e(0);r(r.G,{global:e(2)})},function(t,n,e){var r=e(0);r(r.S,"System",{global:e(2)})},function(t,n,e){var r=e(0),i=e(20);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{clamp:function(t,n,e){return Math.min(e,Math.max(n,t))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,n,e){var r=e(0),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},function(t,n,e){var r=e(0),i=e(130),o=e(109);r(r.S,"Math",{fscale:function(t,n,e,r,u){return o(i(t,n,e,r,u))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{iaddh:function(t,n,e,r){var i=t>>>0,o=e>>>0;return(n>>>0)+(r>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}})},function(t,n,e){var r=e(0);r(r.S,"Math",{isubh:function(t,n,e,r){var i=t>>>0,o=e>>>0;return(n>>>0)-(r>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}})},function(t,n,e){var r=e(0);r(r.S,"Math",{imulh:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r,u=e>>16,a=r>>16,c=(u*o>>>0)+(i*o>>>16);return u*a+(c>>16)+((i*a>>>0)+(65535&c)>>16)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,n,e){var r=e(0),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},function(t,n,e){var r=e(0);r(r.S,"Math",{scale:e(130)})},function(t,n,e){var r=e(0);r(r.S,"Math",{umulh:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r,u=e>>>16,a=r>>>16,c=(u*o>>>0)+(i*o>>>16);return u*a+(c>>>16)+((i*a>>>0)+(65535&c)>>>16)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,n,e){"use strict";var r=e(0),i=e(18),o=e(2),u=e(51),a=e(117);r(r.P+r.R,"Promise",{finally:function(t){var n=u(this,i.Promise||o.Promise),e="function"==typeof t;return this.then(e?function(e){return a(n,t()).then((function(){return e}))}:t,e?function(e){return a(n,t()).then((function(){throw e}))}:t)}})},function(t,n,e){"use strict";var r=e(0),i=e(92),o=e(116);r(r.S,"Promise",{try:function(t){var n=i.f(this),e=o(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},function(t,n,e){var r=e(28),i=e(1),o=r.key,u=r.set;r.exp({defineMetadata:function(t,n,e,r){u(t,n,i(e),o(r))}})},function(t,n,e){var r=e(28),i=e(1),o=r.key,u=r.map,a=r.store;r.exp({deleteMetadata:function(t,n){var e=arguments.length<3?void 0:o(arguments[2]),r=u(i(n),e,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var c=a.get(n);return c.delete(e),!!c.size||a.delete(n)}})},function(t,n,e){var r=e(28),i=e(1),o=e(17),u=r.has,a=r.get,c=r.key,s=function(t,n,e){if(u(t,n,e))return a(t,n,e);var r=o(n);return null!==r?s(t,r,e):void 0};r.exp({getMetadata:function(t,n){return s(t,i(n),arguments.length<3?void 0:c(arguments[2]))}})},function(t,n,e){var r=e(120),i=e(129),o=e(28),u=e(1),a=e(17),c=o.keys,s=o.key,f=function(t,n){var e=c(t,n),o=a(t);if(null===o)return e;var u=f(o,n);return u.length?e.length?i(new r(e.concat(u))):u:e};o.exp({getMetadataKeys:function(t){return f(u(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,n,e){var r=e(28),i=e(1),o=r.get,u=r.key;r.exp({getOwnMetadata:function(t,n){return o(t,i(n),arguments.length<3?void 0:u(arguments[2]))}})},function(t,n,e){var r=e(28),i=e(1),o=r.keys,u=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:u(arguments[1]))}})},function(t,n,e){var r=e(28),i=e(1),o=e(17),u=r.has,a=r.key,c=function(t,n,e){if(u(t,n,e))return!0;var r=o(n);return null!==r&&c(t,r,e)};r.exp({hasMetadata:function(t,n){return c(t,i(n),arguments.length<3?void 0:a(arguments[2]))}})},function(t,n,e){var r=e(28),i=e(1),o=r.has,u=r.key;r.exp({hasOwnMetadata:function(t,n){return o(t,i(n),arguments.length<3?void 0:u(arguments[2]))}})},function(t,n,e){var r=e(28),i=e(1),o=e(10),u=r.key,a=r.set;r.exp({metadata:function(t,n){return function(e,r){a(t,n,(void 0!==r?i:o)(e),u(r))}}})},function(t,n,e){var r=e(0),i=e(91)(),o=e(2).process,u="process"==e(20)(o);r(r.G,{asap:function(t){var n=u&&o.domain;i(n?n.bind(t):t)}})},function(t,n,e){"use strict";var r=e(0),i=e(2),o=e(18),u=e(91)(),a=e(5)("observable"),c=e(10),s=e(1),f=e(39),l=e(41),h=e(11),p=e(40),v=p.RETURN,d=function(t){return null==t?void 0:c(t)},g=function(t){var n=t._c;n&&(t._c=void 0,n())},y=function(t){return void 0===t._o},m=function(t){y(t)||(t._o=void 0,g(t))},b=function(t,n){s(t),this._c=void 0,this._o=t,t=new w(this);try{var e=n(t),r=e;null!=e&&("function"==typeof e.unsubscribe?e=function(){r.unsubscribe()}:c(e),this._c=e)}catch(n){return void t.error(n)}y(this)&&g(this)};b.prototype=l({},{unsubscribe:function(){m(this)}});var w=function(t){this._s=t};w.prototype=l({},{next:function(t){var n=this._s;if(!y(n)){var e=n._o;try{var r=d(e.next);if(r)return r.call(e,t)}catch(t){try{m(n)}finally{throw t}}}},error:function(t){var n=this._s;if(y(n))throw t;var e=n._o;n._o=void 0;try{var r=d(e.error);if(!r)throw t;t=r.call(e,t)}catch(t){try{g(n)}finally{throw t}}return g(n),t},complete:function(t){var n=this._s;if(!y(n)){var e=n._o;n._o=void 0;try{var r=d(e.complete);t=r?r.call(e,t):void 0}catch(t){try{g(n)}finally{throw t}}return g(n),t}}});var _=function(t){f(this,_,"Observable","_f")._f=c(t)};l(_.prototype,{subscribe:function(t){return new b(t,this._f)},forEach:function(t){var n=this;return new(o.Promise||i.Promise)((function(e,r){c(t);var i=n.subscribe({next:function(n){try{return t(n)}catch(t){r(t),i.unsubscribe()}},error:r,complete:e})}))}}),l(_,{from:function(t){var n="function"==typeof this?this:_,e=d(s(t)[a]);if(e){var r=s(e.call(t));return r.constructor===n?r:new n((function(t){return r.subscribe(t)}))}return new n((function(n){var e=!1;return u((function(){if(!e){try{if(p(t,!1,(function(t){if(n.next(t),e)return v}))===v)return}catch(t){if(e)throw t;return void n.error(t)}n.complete()}})),function(){e=!0}}))},of:function(){for(var t=0,n=arguments.length,e=new Array(n);t<n;)e[t]=arguments[t++];return new("function"==typeof this?this:_)((function(t){var n=!1;return u((function(){if(!n){for(var r=0;r<e.length;++r)if(t.next(e[r]),n)return;t.complete()}})),function(){n=!0}}))}}),h(_.prototype,a,(function(){return this})),r(r.G,{Observable:_}),e(38)("Observable")},function(t,n,e){var r=e(2),i=e(0),o=e(60),u=[].slice,a=/MSIE .\./.test(o),c=function(t){return function(n,e){var r=arguments.length>2,i=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,i)}:n,e)}};i(i.G+i.B+i.F*a,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,n,e){var r=e(0),i=e(90);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,e){for(var r=e(87),i=e(34),o=e(12),u=e(2),a=e(11),c=e(46),s=e(5),f=s("iterator"),l=s("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=i(p),d=0;d<v.length;d++){var g,y=v[d],m=p[y],b=u[y],w=b&&b.prototype;if(w&&(w[f]||a(w,f,h),w[l]||a(w,l,y),c[y]=h,m))for(g in r)w[g]||o(w,g,r[g],!0)}},function(t,n,e){(function(n){!function(n){"use strict";var e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",c="object"==typeof t,s=n.regeneratorRuntime;if(s)c&&(t.exports=s);else{(s=n.regeneratorRuntime=c?t.exports:{}).wrap=d;var f={},l={};l[o]=function(){return this};var h=Object.getPrototypeOf,p=h&&h(h(E([])));p&&p!==e&&r.call(p,o)&&(l=p);var v=b.prototype=y.prototype=Object.create(l);m.prototype=v.constructor=b,b.constructor=m,b[a]=m.displayName="GeneratorFunction",s.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(v),t},s.awrap=function(t){return{__await:t}},w(_.prototype),_.prototype[u]=function(){return this},s.AsyncIterator=_,s.async=function(t,n,e,r){var i=new _(d(t,n,e,r));return s.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(v),v[a]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},s.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},s.values=E,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,r){return u.type="throw",u.arg=t,n.next=e,r&&(n.method="next",n.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),f},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),A(e),f}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;A(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:E(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=void 0),f}}}function d(t,n,e,r){var i=n&&n.prototype instanceof y?n:y,o=Object.create(i.prototype),u=new O(r||[]);return o._invoke=function(t,n,e){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return P()}for(e.method=i,e.arg=o;;){var u=e.delegate;if(u){var a=x(u,e);if(a){if(a===f)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if("suspendedStart"===r)throw r="completed",e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r="executing";var c=g(t,n,e);if("normal"===c.type){if(r=e.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(r="completed",e.method="throw",e.arg=c.arg)}}}(t,e,u),o}function g(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}function y(){}function m(){}function b(){}function w(t){["next","throw","return"].forEach((function(n){t[n]=function(t){return this._invoke(n,t)}}))}function _(t){function e(n,i,o,u){var a=g(t[n],t,i);if("throw"!==a.type){var c=a.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then((function(t){e("next",t,o,u)}),(function(t){e("throw",t,o,u)})):Promise.resolve(s).then((function(t){c.value=t,o(c)}),u)}u(a.arg)}var i;"object"==typeof n.process&&n.process.domain&&(e=n.process.domain.bind(e)),this._invoke=function(t,n){function r(){return new Promise((function(r,i){e(t,n,r,i)}))}return i=i?i.then(r,r):r()}}function x(t,n){var e=t.iterator[n.method];if(void 0===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,x(t,n),"throw"===n.method))return f;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=g(e,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,f;var i=r.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,f):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,f)}function S(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function A(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,i=function n(){for(;++e<t.length;)if(r.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n};return i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e(66))},function(t,n,e){e(332),t.exports=e(18).RegExp.escape},function(t,n,e){var r=e(0),i=e(333)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,n){t.exports=function(t,n){var e=n===Object(n)?function(t){return n[t]}:n;return function(n){return String(n).replace(t,e)}}},function(t,n,e){"use strict";(function(n){var e=function(){function t(t,n){for(var e in n){var r=n[e];r.configurable=!0,r.value&&(r.writable=!0)}Object.defineProperties(t,n)}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}(),r=!!(n===n.window&&n.URL&&n.Blob&&n.Worker),i=function(){function t(e,i){var o=this;if(function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),r){var u=e.toString().trim().match(/^function\s*\w*\s*\([\w\s,]*\)\s*{([\w\W]*?)}$/)[1],a=n.URL.createObjectURL(new n.Blob([u],{type:"text/javascript"}));return new n.Worker(a)}this.self=i,this.self.postMessage=function(t){setTimeout((function(){o.onmessage({data:t})}),0)},setTimeout((function(){e.call(i)}),0)}return e(t,{postMessage:{value:function(t){var n=this;setTimeout((function(){n.self.onmessage({data:t})}),0)}}}),t}();t.exports=i}).call(this,e(66))},function(t,n,e){"use strict";function r(t){if(!(this instanceof r))throw new TypeError("WebAudioLoader constructor cannot be called as a function.");if(window.AudioContext=window.AudioContext||window.webkitAudioContext,window.webAudioLoader)return window.webAudioLoader;for(var n in this._cachedAudio=null,this.cache=!0,this.onload=null,this.onprogress=null,Object.defineProperty(this,"maxCacheSize",{enumerable:!0,configurable:!1,set:function(t){this._cachedAudio&&(this._cachedAudio.max=t)},get:function(){return this._cachedAudio.max}}),t=t||{})this.hasOwnProperty(n)&&void 0!==t[n]&&(this[n]=t[n]);this.context=t.audioContext||new AudioContext;var i={max:t.maxCacheSize||1e3,length:function(t){return t.length*t.numberOfChannels*4/1e3}};this._cachedAudio=e(336)(i),window.webAudioLoader=this,this._loadURLOrFile=function(t,n,e){var r=Object.prototype.toString.call(t),i=null;if("[object String]"===r)(i=new XMLHttpRequest).open("GET",t,!0),i.responseType="arraybuffer";else{if("[object File]"!==r&&"[object Blob]"!==r)return;i=new FileReader}i.onload=function(){"[object String]"===r&&200===i.status?"function"==typeof e&&e(null,i.response):"[object File]"===r||"[object Blob]"===r?"function"==typeof e&&e(null,i.result):"function"==typeof e&&e(new Error("Loading Error"),null)},i.onerror=function(){"function"==typeof e&&e(new Error("Loading Error"),null)},i.onprogress=function(t){"function"==typeof n&&n(t),"function"==typeof this.onprogress&&this.onprogress(t)}.bind(this),"[object String]"===r?i.send():"[object File]"!==r&&"[object Blob]"!==r||i.readAsArrayBuffer(t)}}r.prototype.load=function(t,n){var e=!0,r=!0;n||(n={});var i=n.onload||null,o=n.onprogress||null;r=null!==n.cache&&void 0!==n.cache?n.cache:this.cache,null!==n.decode&&void 0!==n.decode&&(e=n.decode);var u=function(t,n){"function"==typeof i&&i(t,n),"function"==typeof this.onload&&this.onload(t,n)}.bind(this);if(this.cache&&r){var a=this._cachedAudio.get(t);if(a)return void u(null,a)}this._loadURLOrFile(t,o,function(n,i){n||!e?u(n,i):this.context.decodeAudioData(i,function(e){r&&this._cachedAudio.set(t,e),u(n,e)}.bind(this),function(){u(new Error("Decoding Error"),null)}.bind(this))}.bind(this))},r.prototype.flushCache=function(){this._cachedAudio.reset()},t.exports=r},function(t,n,e){!function(){function n(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function e(){return 1}t.exports?t.exports=o:this.LRUCache=o;var r=!1;function i(t){r||"string"==typeof t||"number"==typeof t||(r=!0,console.error(new TypeError("LRU: key must be a string or number. Almost certainly a bug! "+typeof t).stack))}function o(t){if(!(this instanceof o))return new o(t);"number"==typeof t&&(t={max:t}),t||(t={}),this._max=t.max,(!this._max||"number"!=typeof this._max||this._max<=0)&&(this._max=1/0),this._lengthCalculator=t.length||e,"function"!=typeof this._lengthCalculator&&(this._lengthCalculator=e),this._allowStale=t.stale||!1,this._maxAge=t.maxAge||null,this._dispose=t.dispose,this.reset()}function u(t,n,e){i(n);var r=t._cache[n];return r&&(a(t,r)?(f(t,r),t._allowStale||(r=void 0)):e&&function(t,n){s(t,n),n.lu=t._mru++,t._lruList[n.lu]=n}(t,r),r&&(r=r.value)),r}function a(t,n){if(!n||!n.maxAge&&!t._maxAge)return!1;var e=Date.now()-n.now;return n.maxAge?e>n.maxAge:t._maxAge&&e>t._maxAge}function c(t){for(;t._lru<t._mru&&t._length>t._max;)f(t,t._lruList[t._lru])}function s(t,n){for(delete t._lruList[n.lu];t._lru<t._mru&&!t._lruList[t._lru];)t._lru++}function f(t,n){n&&(t._dispose&&t._dispose(n.key,n.value),t._length-=n.length,t._itemCount--,delete t._cache[n.key],s(t,n))}function l(t,n,e,r,i,o){this.key=t,this.value=n,this.lu=e,this.length=r,this.now=i,o&&(this.maxAge=o)}Object.defineProperty(o.prototype,"max",{set:function(t){(!t||"number"!=typeof t||t<=0)&&(t=1/0),this._max=t,this._length>this._max&&c(this)},get:function(){return this._max},enumerable:!0}),Object.defineProperty(o.prototype,"lengthCalculator",{set:function(t){if("function"!=typeof t)for(var n in this._lengthCalculator=e,this._length=this._itemCount,this._cache)this._cache[n].length=1;else for(var n in this._lengthCalculator=t,this._length=0,this._cache)this._cache[n].length=this._lengthCalculator(this._cache[n].value),this._length+=this._cache[n].length;this._length>this._max&&c(this)},get:function(){return this._lengthCalculator},enumerable:!0}),Object.defineProperty(o.prototype,"length",{get:function(){return this._length},enumerable:!0}),Object.defineProperty(o.prototype,"itemCount",{get:function(){return this._itemCount},enumerable:!0}),o.prototype.forEach=function(t,n){n=n||this;for(var e=0,r=this._itemCount,i=this._mru-1;i>=0&&e<r;i--)if(this._lruList[i]){e++;var o=this._lruList[i];a(this,o)&&(f(this,o),this._allowStale||(o=void 0)),o&&t.call(n,o.value,o.key,this)}},o.prototype.keys=function(){for(var t=new Array(this._itemCount),n=0,e=this._mru-1;e>=0&&n<this._itemCount;e--)if(this._lruList[e]){var r=this._lruList[e];t[n++]=r.key}return t},o.prototype.values=function(){for(var t=new Array(this._itemCount),n=0,e=this._mru-1;e>=0&&n<this._itemCount;e--)if(this._lruList[e]){var r=this._lruList[e];t[n++]=r.value}return t},o.prototype.reset=function(){if(this._dispose&&this._cache)for(var t in this._cache)this._dispose(t,this._cache[t].value);this._cache=Object.create(null),this._lruList=Object.create(null),this._mru=0,this._lru=0,this._length=0,this._itemCount=0},o.prototype.dump=function(){for(var t=[],n=0,e=this._mru-1;e>=0&&n<this._itemCount;e--)if(this._lruList[e]){var r=this._lruList[e];a(this,r)||(++n,t.push({k:r.key,v:r.value,e:r.now+(r.maxAge||0)}))}return t},o.prototype.dumpLru=function(){return this._lruList},o.prototype.set=function(t,e,r){r=r||this._maxAge,i(t);var o=r?Date.now():0,u=this._lengthCalculator(e);if(n(this._cache,t))return u>this._max?(f(this,this._cache[t]),!1):(this._dispose&&this._dispose(t,this._cache[t].value),this._cache[t].now=o,this._cache[t].maxAge=r,this._cache[t].value=e,this._length+=u-this._cache[t].length,this._cache[t].length=u,this.get(t),this._length>this._max&&c(this),!0);var a=new l(t,e,this._mru++,u,o,r);return a.length>this._max?(this._dispose&&this._dispose(t,e),!1):(this._length+=a.length,this._lruList[a.lu]=this._cache[t]=a,this._itemCount++,this._length>this._max&&c(this),!0)},o.prototype.has=function(t){return i(t),!!n(this._cache,t)&&!a(this,this._cache[t])},o.prototype.get=function(t){return i(t),u(this,t,!0)},o.prototype.peek=function(t){return i(t),u(this,t,!1)},o.prototype.pop=function(){var t=this._lruList[this._lru];return f(this,t),t||null},o.prototype.del=function(t){i(t),f(this,this._cache[t])},o.prototype.load=function(t){this.reset();for(var n=Date.now(),e=t.length-1;e>=0;e--){var r=t[e];i(r.k);var o=r.e||0;if(0===o)this.set(r.k,r.v);else{var u=o-n;u>0&&this.set(r.k,r.v,u)}}}}()},function(t,n,e){"use strict";var r,i=(r=e(338))&&r.__esModule?r.default:r;t.exports=i},function(t,n,e){"use strict";var r=function(t){return t&&t.__esModule?t.default:t},i=function(){function t(t,n){for(var e in n){var r=n[e];r.configurable=!0,r.value&&(r.writable=!0)}Object.defineProperties(t,n)}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}(),o=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},u=r(e(94)),a=r(e(339)),c=function(){function t(){var n=this,e=void 0===arguments[0]?{}:arguments[0];o(this,t),this.format={floatingPoint:!!e.floatingPoint,bitDepth:0|e.bitDepth||16},this._worker=new u(a,a.self),this._worker.onmessage=function(t){var e=n._callbacks[t.data.callbackId];e&&("encoded"===t.data.type?e.resolve(t.data.buffer):e.reject(new Error(t.data.message))),n._callbacks[t.data.callbackId]=null},this._callbacks=[]}return i(t,{canProcess:{value:function(n){return t.canProcess(n)}},encode:{value:function(t,n){var e=this;return null!=n&&"object"==typeof n||(n=this.format),new Promise((function(r,i){var o=e._callbacks.length;e._callbacks.push({resolve:r,reject:i});var u=t.channelData.length,a=t.channelData[0].length,c=t.sampleRate,s=t.channelData.map((function(t){return t.buffer}));t={numberOfChannels:u,length:a,sampleRate:c,buffers:s},e._worker.postMessage({type:"encode",audioData:t,format:n,callbackId:o},t.buffers)}))}}},{canProcess:{value:function(t){return!t||"wav"!==t&&"wav"!==t.type?"":"maybe"}},encode:{value:function(n,e){return new t(e).encode(n)}}}),t}();t.exports=c},function(t,n,e){"use strict";var r={};function i(){function t(t){this.buffer=new ArrayBuffer(t),this.view=new DataView(this.buffer),this.length=t,this.pos=0}r.onmessage=function(t){switch(t.data.type){case"encode":r.encode(t.data.audioData,t.data.format).then((function(n){var e={type:"encoded",callbackId:t.data.callbackId,buffer:n};r.postMessage(e,[n])}),(function(n){var e={type:"error",callbackId:t.data.callbackId,message:n.message};r.postMessage(e)}))}},r.encode=function(n,e){return e.floatingPoint=!!e.floatingPoint,e.bitDepth=0|e.bitDepth||16,new Promise((function(r){var i=n.numberOfChannels,o=n.sampleRate,u=e.bitDepth>>3,a=n.length*i*u,c=new t(44+a);c.writeString("RIFF"),c.writeUint32(c.length-8),c.writeString("WAVE"),c.writeString("fmt "),c.writeUint32(16),c.writeUint16(e.floatingPoint?3:1),c.writeUint16(i),c.writeUint32(o),c.writeUint32(o*i*u),c.writeUint16(i*u),c.writeUint16(e.bitDepth),c.writeString("data"),c.writeUint32(a);var s=n.buffers.map((function(t){return new Float32Array(t)}));c.writePCM(s,e),r(c.toArrayBuffer())}))},t.prototype.writeUint8=function(t){this.view.setUint8(this.pos,t),this.pos+=1},t.prototype.writeUint16=function(t){this.view.setUint16(this.pos,t,!0),this.pos+=2},t.prototype.writeUint32=function(t){this.view.setUint32(this.pos,t,!0),this.pos+=4},t.prototype.writeString=function(t){for(var n=0;n<t.length;n++)this.writeUint8(t.charCodeAt(n))},t.prototype.writePCM8=function(t){t=0|Math.max(-128,Math.min(128*t,127)),this.view.setInt8(this.pos,t),this.pos+=1},t.prototype.writePCM16=function(t){t=0|Math.max(-32768,Math.min(32768*t,32767)),this.view.setInt16(this.pos,t,!0),this.pos+=2},t.prototype.writePCM24=function(t){t=0|Math.max(-8388608,Math.min(8388608*t,8388607)),this.view.setUint8(this.pos+0,t>>0&255),this.view.setUint8(this.pos+1,t>>8&255),this.view.setUint8(this.pos+2,t>>16&255),this.pos+=3},t.prototype.writePCM32=function(t){t=0|Math.max(-2147483648,Math.min(2147483648*t,2147483647)),this.view.setInt32(this.pos,t,!0),this.pos+=4},t.prototype.writePCM32F=function(t){this.view.setFloat32(this.pos,t,!0),this.pos+=4},t.prototype.writePCM64F=function(t){this.view.setFloat64(this.pos,t,!0),this.pos+=8},t.prototype.writePCM=function(t,n){var e=t[0].length,r=t.length,i="writePCM"+n.bitDepth;if(n.floatingPoint&&(i+="F"),!this[i])throw new Error("not suppoerted bit depth "+n.bitDepth);for(var o=0;o<e;o++)for(var u=0;u<r;u++)this[i](t[u][o])},t.prototype.toArrayBuffer=function(){return this.buffer},r.BufferWriter=t}i.self=i.util=r,t.exports=i},function(t,n,e){var r=e(341),i=e(342);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o={insert:"head",singleton:!1},u=(r(i,o),i.locals?i.locals:{});t.exports=u},function(t,n,e){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(n){if(void 0===t[n]){var e=document.querySelector(n);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}t[n]=e}return t[n]}}(),u=[];function a(t){for(var n=-1,e=0;e<u.length;e++)if(u[e].identifier===t){n=e;break}return n}function c(t,n){for(var e={},r=[],i=0;i<t.length;i++){var o=t[i],c=n.base?o[0]+n.base:o[0],s=e[c]||0,f="".concat(c," ").concat(s);e[c]=s+1;var l=a(f),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==l?(u[l].references++,u[l].updater(h)):u.push({identifier:f,updater:g(h,n),references:1}),r.push(f)}return r}function s(t){var n=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=e.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){n.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(n);else{var u=o(t.insert||"head");if(!u)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");u.appendChild(n)}return n}var f,l=(f=[],function(t,n){return f[t]=n,f.filter(Boolean).join("\n")});function h(t,n,e,r){var i=e?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=l(n,i);else{var o=document.createTextNode(i),u=t.childNodes;u[n]&&t.removeChild(u[n]),u.length?t.insertBefore(o,u[n]):t.appendChild(o)}}function p(t,n,e){var r=e.css,i=e.media,o=e.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var v=null,d=0;function g(t,n){var e,r,i;if(n.singleton){var o=d++;e=v||(v=s(n)),r=h.bind(null,e,o,!1),i=h.bind(null,e,o,!0)}else e=s(n),r=p.bind(null,e,n),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)};return r(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;r(t=n)}else i()}}t.exports=function(t,n){(n=n||{}).singleton||"boolean"==typeof n.singleton||(n.singleton=i());var e=c(t=t||[],n);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<e.length;r++){var i=a(e[r]);u[i].references--}for(var o=c(t,n),s=0;s<e.length;s++){var f=a(e[s]);0===u[f].references&&(u[f].updater(),u.splice(f,1))}e=o}}}},function(t,n,e){(n=e(343)(!1)).push([t.i,".AssemblyAIHelper .ais-VoiceSearch-button{width:140px;display:inline-block;font-weight:400;background-color:#3392FE;color:white;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.375rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:background-color .15s ease-in-out;cursor:pointer}.AssemblyAIHelper .ais-VoiceSearch-button:active,.AssemblyAIHelper .ais-VoiceSearch-button:focus,.AssemblyAIHelper .ais-VoiceSearch-button:hover{outline:none;background-color:#2E80DC}.AssemblyAIHelper .ais-VoiceSearch-status>div{padding:.75rem 1.25rem;margin:1rem 0;border:1px solid #f5c6cb;border-radius:.25rem;background-color:#f8d7da;color:#721c24}.AssemblyAIHelper--listening .ais-VoiceSearch-button{background-color:#E74C3C;animation:assemblyaihelper-pulse 1s infinite}.AssemblyAIHelper--listening .ais-VoiceSearch-button:hover,.AssemblyAIHelper--listening .ais-VoiceSearch-button:active,.AssemblyAIHelper--listening .ais-VoiceSearch-button:focus{background-color:#E74C3C}@keyframes assemblyaihelper-pulse{0%{box-shadow:0 0 0 0px rgba(0,0,0,0.2)}100%{box-shadow:0 0 0 10px rgba(0,0,0,0)}}\n",""]),t.exports=n},function(t,n,e){"use strict";t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e=function(t,n){var e=t[1]||"",r=t[3];if(!r)return e;if(n&&"function"==typeof btoa){var i=(u=r,a=btoa(unescape(encodeURIComponent(JSON.stringify(u)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(c," */")),o=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[e].concat(o).concat([i]).join("\n")}var u,a,c;return[e].join("\n")}(n,t);return n[2]?"@media ".concat(n[2]," {").concat(e,"}"):e})).join("")},n.i=function(t,e,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var u=this[o][0];null!=u&&(i[u]=!0)}for(var a=0;a<t.length;a++){var c=[].concat(t[a]);r&&i[c[0]]||(e&&(c[2]?c[2]="".concat(e," and ").concat(c[2]):c[2]=e),n.push(c))}},n}},function(t,n,e){"use strict";e.r(n);e(132);function r(t){var n=this;for(var e in this.options={fftSize:512,bufferLen:512,voice_stop:function(){},voice_start:function(){},smoothingTimeConstant:.99,energy_offset:1e-8,energy_threshold_ratio_pos:2,energy_threshold_ratio_neg:.5,energy_integration:1,filter:[{f:200,v:0},{f:2e3,v:1}],source:null,context:null},t)t.hasOwnProperty(e)&&(this.options[e]=t[e]);this.hertzPerBin=this.options.context.sampleRate/this.options.fftSize,this.iterationFrequency=this.options.context.sampleRate/this.options.bufferLen,this.iterationPeriod=1/this.iterationFrequency;console.log("Vad | sampleRate: "+this.options.context.sampleRate+" | hertzPerBin: "+this.hertzPerBin+" | iterationFrequency: "+this.iterationFrequency+" | iterationPeriod: "+this.iterationPeriod),this.setFilter=function(t){this.filter=[];for(var n=0,e=this.options.fftSize/2;n<e;n++){this.filter[n]=0;for(var r=0,i=t.length;r<i;r++)if(n*this.hertzPerBin<t[r].f){this.filter[n]=t[r].v;break}}},this.setFilter(this.options.filter),this.ready={},this.vadState=!1,this.energy_offset=this.options.energy_offset,this.energy_threshold_pos=this.energy_offset*this.options.energy_threshold_ratio_pos,this.energy_threshold_neg=this.energy_offset*this.options.energy_threshold_ratio_neg,this.voiceTrend=0,this.voiceTrendMax=10,this.voiceTrendMin=-10,this.voiceTrendStart=5,this.voiceTrendEnd=-5,this.floatFrequencyData=new Float32Array(255),this.floatFrequencyDataLinear=new Float32Array(255),t.onaudioprocess((function(t){n.floatFrequencyData=t,n.update(),n.monitor()})),this.logging=!1,this.log_i=0,this.log_limit=100,this.triggerLog=function(t){this.logging=!0,this.log_i=0,this.log_limit="number"==typeof t?t:this.log_limit},this.log=function(t){this.logging&&this.log_i<this.log_limit?(this.log_i++,console.log(t)):this.logging=!1},this.update=function(){for(var t=this.floatFrequencyData,n=0,e=t.length;n<e;n++)this.floatFrequencyDataLinear[n]=Math.pow(10,t[n]/10);this.ready={}},this.getEnergy=function(){if(this.ready.energy)return this.energy;for(var t=0,n=this.floatFrequencyDataLinear,e=0,r=n.length;e<r;e++)t+=this.filter[e]*n[e]*n[e];return this.energy=t,this.ready.energy=!0,t},this.monitor=function(){var t=this.getEnergy(),n=t-this.energy_offset;n>this.energy_threshold_pos?this.voiceTrend=this.voiceTrend+1>this.voiceTrendMax?this.voiceTrendMax:this.voiceTrend+1:n<-this.energy_threshold_neg?this.voiceTrend=this.voiceTrend-1<this.voiceTrendMin?this.voiceTrendMin:this.voiceTrend-1:this.voiceTrend>0?this.voiceTrend--:this.voiceTrend<0&&this.voiceTrend++;var e=!1,r=!1;this.voiceTrend>this.voiceTrendStart?e=!0:this.voiceTrend<this.voiceTrendEnd&&(r=!0);var i=n*this.iterationPeriod*this.options.energy_integration;return this.energy_offset+=i>0||!r?i:10*i,this.energy_offset=this.energy_offset<0?0:this.energy_offset,this.energy_threshold_pos=this.energy_offset*this.options.energy_threshold_ratio_pos,this.energy_threshold_neg=this.energy_offset*this.options.energy_threshold_ratio_neg,e&&!this.vadState&&(this.vadState=!0,this.options.voice_start()),r&&this.vadState&&(this.vadState=!1,this.options.voice_stop()),this.log("e: "+t+" | e_of: "+this.energy_offset+" | e+_th: "+this.energy_threshold_pos+" | e-_th: "+this.energy_threshold_neg+" | signal: "+n+" | int: "+i+" | voiceTrend: "+this.voiceTrend+" | start: "+e+" | end: "+r),n}}function i(t,n){return n=n||{},new Promise((function(e,r){var i=new XMLHttpRequest,o=[],u=[],a={};for(var c in i.open(n.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,n,e){o.push(n=n.toLowerCase()),u.push([n,e]),a[n]=a[n]?"".concat(a[n],",").concat(e):e}));var t=function t(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:t,headers:{keys:function(){return o},entries:function(){return u},get:function(t){return a[t.toLowerCase()]},has:function(t){return t.toLowerCase()in a}}}}();if(!t.ok)return r(JSON.parse(i.responseText));e(t)},i.onerror=r,i.withCredentials="include"==n.credentials,n.headers)i.setRequestHeader(c,n.headers[c]);i.send(n.body||null)}))}var o=e(94),u=e.n(o);function a(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var c={bufferLen:4096,numChannels:2,mimeType:"audio/wav"},s=function(){function t(n,e){var r=this;!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),this.config=Object.assign({},c,e),this.recording=!1,this.callbacks={getBuffer:[],exportWAV:[]},this.context=n.context,this.node=(this.context.createScriptProcessor||this.context.createJavaScriptNode).call(this.context,this.config.bufferLen,this.config.numChannels,this.config.numChannels),this.node.onaudioprocess=function(t){if(r.recording){for(var n=[],e=0;e<r.config.numChannels;e++)n.push(t.inputBuffer.getChannelData(e));r.worker.postMessage({command:"record",buffer:n})}},n.connect(this.node),this.node.connect(this.context.destination);this.worker=new u.a((function(){var t,n,e=0,r=[];function i(){for(var t=0;t<n;t++)r[t]=[]}function o(t,n){for(var e=new Float32Array(n),r=0,i=0;i<t.length;i++)e.set(t[i],r),r+=t[i].length;return e}function u(t,n,e){for(var r=0;r<e.length;r+=1)t.setUint8(n+r,e.charCodeAt(r))}this.onmessage=function(a){switch(a.data.command){case"init":!function(e){t=e.sampleRate,n=e.numChannels,i()}(a.data.config);break;case"record":!function(t){for(var i=0;i<n;i++)r[i].push(t[i]);e+=t[0].length}(a.data.buffer);break;case"exportWAV":!function(i){for(var a,c=[],s=0;s<n;s++)c.push(o(r[s],e));a=2===n?function(t,n){var e=t.length+n.length,r=new Float32Array(e),i=0,o=0;for(;i<e;)r[i++]=t[o],r[i++]=n[o],o++;return r}(c[0],c[1]):c[0];var f=(h=a,p=new ArrayBuffer(44+2*h.length),v=new DataView(p),u(v,0,"RIFF"),v.setUint32(4,36+2*h.length,!0),u(v,8,"WAVE"),u(v,12,"fmt "),v.setUint32(16,16,!0),v.setUint16(20,1,!0),v.setUint16(22,n,!0),v.setUint32(24,t,!0),v.setUint32(28,4*t,!0),v.setUint16(32,2*n,!0),v.setUint16(34,16,!0),u(v,36,"data"),v.setUint32(40,2*h.length,!0),function(t,n,e){for(var r=0;r<e.length;r++,n+=2){var i=Math.max(-1,Math.min(1,e[r]));t.setInt16(n,i<0?32768*i:32767*i,!0)}}(v,44,h),v),l=new Blob([f],{type:i});var h,p,v;this.postMessage({command:"exportWAV",data:l})}(a.data.type);break;case"getBuffer":!function(){for(var t=[],i=0;i<n;i++)t.push(o(r[i],e));this.postMessage({command:"getBuffer",data:t})}();break;case"clear":e=0,r=[],i()}}}),{}),this.worker.postMessage({command:"init",config:{sampleRate:this.context.sampleRate,numChannels:this.config.numChannels}}),this.worker.onmessage=function(t){var n=r.callbacks[t.data.command].pop();"function"==typeof n&&n(t.data.data)}}var n,e,r;return n=t,(e=[{key:"record",value:function(){this.recording=!0}},{key:"stop",value:function(){this.recording=!1}},{key:"clear",value:function(){this.worker.postMessage({command:"clear"})}},{key:"getBuffer",value:function(t){if(!(t=t||this.config.callback))throw new Error("Callback not set");this.callbacks.getBuffer.push(t),this.worker.postMessage({command:"getBuffer"})}},{key:"exportWAV",value:function(t,n){if(n=n||this.config.mimeType,!(t=t||this.config.callback))throw new Error("Callback not set");this.callbacks.exportWAV.push(t),this.worker.postMessage({command:"exportWAV",type:n})}}])&&a(n.prototype,e),r&&a(n,r),t}();s.forceDownload=function(t,n){var e=document.createElement("a");e.style="display: none",document.body.appendChild(e);var r=window.URL.createObjectURL(t);e.href=r,e.download=n,e.click(),window.URL.revokeObjectURL(r),document.body.removeChild(e)};var f=s;function l(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function h(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var p={nFrequencyBars:255,onAnalysed:null},v=["bufferLen","numChannels","mimeType"],d=function(){function t(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};l(this,t),this.config=Object.assign({},p,e),this.audioContext=n,this.audioInput=null,this.realAudioInput=null,this.inputPoint=null,this.audioRecorder=null,this.rafID=null,this.analyserContext=null,this.recIndex=0,this.stream=null,this.microphoneConfig=v.reduce((function(t,n){return e[n]&&(t[n]=e[n]),t}),{}),this.updateAnalysers=this.updateAnalysers.bind(this)}var n,e,r;return n=t,(e=[{key:"init",value:function(t){var n=this;return new Promise((function(e){n.inputPoint=n.audioContext.createGain(),n.stream=t,n.realAudioInput=n.audioContext.createMediaStreamSource(t),n.audioInput=n.realAudioInput,n.audioInput.connect(n.inputPoint),n.analyserNode=n.audioContext.createAnalyser(),n.analyserNode.fftSize=512,n.analyserNode.smoothingTimeConstant=.99,n.inputPoint.connect(n.analyserNode),n.audioRecorder=new f(n.inputPoint,n.microphoneConfig);var r=n.audioContext.createGain();r.gain.value=0,n.inputPoint.connect(r),r.connect(n.audioContext.destination),n.updateAnalysers(),e()}))}},{key:"start",value:function(){var t=this;return new Promise((function(n,e){t.audioRecorder?(t.audioRecorder.clear(),t.audioRecorder.record(),n(t.stream)):e("Not currently recording")}))}},{key:"stop",value:function(){var t=this;return new Promise((function(n){t.audioRecorder.stop(),t.audioRecorder.getBuffer((function(e){t.audioRecorder.exportWAV((function(t){return n({buffer:e,blob:t})}))}))}))}},{key:"updateAnalysers",value:function(){if(this.config.onAnalysed){requestAnimationFrame(this.updateAnalysers);var t=new Uint8Array(this.analyserNode.frequencyBinCount);this.analyserNode.getByteFrequencyData(t);for(var n,e=new Array(255),r=0,i=0;i<255;i+=1)0!=(n=Math.floor(t[i])-Math.floor(t[i])%5)&&(r=i),e[i]=n;this.config.onAnalysed({data:e,lineTo:r})}}},{key:"setOnAnalysed",value:function(t){this.config.onAnalysed=t}}])&&h(n.prototype,e),r&&h(n,r),t}();d.download=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"audio";f.forceDownload(t,"".concat(n,".wav"))};var g=d,y=e(131),m=e.n(y);function b(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function w(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?b(Object(e),!0).forEach((function(n){_(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):b(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function _(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}function x(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function S(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var A=function(){function t(n){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};x(this,t),this.token=n;var i=navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);this.PCM_DATA_SAMPLE_RATE=i?44100:16e3,console.log("Running on Safari: ".concat(i)),this.callbacks={start:function(){},stop:function(){},complete:function(){},error:function(){}};var o={};if(r.word_boost){if(r.word_boost.length>100)return void setTimeout((function(){e.callbacks.error({error:"The word_boost parameter can be a max of 100 terms"})}),4);if(!r.word_boost.every((function(t){return"string"==typeof t})))return void setTimeout((function(){e.callbacks.error({error:"The word_boost parameter only accepts string terms"})}),4);o.word_boost=r.word_boost}if(void 0!==r.format_text){if("boolean"!=typeof r.format_text)return void setTimeout((function(){e.callbacks.error({error:"The format_text parameter only accepts boolean values (true / false)"})}),4);o.format_text=r.format_text}this.params=o}var n,e,o;return n=t,(e=[{key:"start",value:function(){var t=this;return this.source&&this.source.context&&"function"==typeof this.source.context.resume&&this.source.context.resume(),Promise.resolve().then((function(){if(!t.recorder){var n,e=new(window.AudioContext||window.webkitAudioContext);return new r({context:e,onaudioprocess:function(t){n=t},voice_stop:function(){t.isRecording&&t.stop()}}),t.recorder=new g(e,{onAnalysed:function(t){var e=t.data;return n&&n(e)}}),navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!1,noiseSuppression:!1,autoGainControl:!1,channelCount:1}}).then((function(n){t.recorder.init(n),t.recordingTimer=setTimeout((function(){console.log("AssemblyAI: Recording stopped because it has reached the limit of 15 seconds."),t.stop()}),15e3)})).catch((function(n){t.callbacks.error(n)}))}})).then((function(){t.recorder.start().then((function(){t.isRecording=!0,t.callbacks.start()}))}))}},{key:"stop",value:function(){var t=this;this.isRecording=!1,this.callbacks.stop(),this.recordingTimer&&clearTimeout(this.recordingTimer);var n=function(){t.source&&t.source.mediaStream&&"function"==typeof t.source.mediaStream.getTracks&&(t.source.mediaStream.getTracks().forEach((function(t){return t.stop()})),t.recorder=void 0)};return Promise.resolve().then((function(){if(t.recorder)return t.recorder.stop();throw new Error("no recorder")})).then((function(n){var e=n.buffer,r=new(window.AudioContext||window.webkitAudioContext),i=r.createBuffer(1,e[0].length,r.sampleRate);return i.getChannelData(0).set(e[0]),t.resample(i)})).then((function(n){console.log("audio",n);var e=t._createWaveFileData(n);return t._transcribe(btoa(t._uint8ToString(e)))})).then(n).catch((function(t){return console.log(t),n()}))}},{key:"on",value:function(t,n){switch(t){case"start":this.callbacks.start=n;break;case"stop":this.callbacks.stop=n;break;case"complete":this.callbacks.complete=n;break;case"error":this.callbacks.error=n;break;default:console.error("Event ".concat(t," does not exist."))}}},{key:"_transcribe",value:function(t){var n=this;return i("https://api.assemblyai.com/v2/stream/avs",{method:"POST",body:JSON.stringify(w({audio_data:t,sample_rate:this.PCM_DATA_SAMPLE_RATE},this.params)),headers:{authorization:this.token,"Content-Type":"application/json; charset=utf-8"}}).then((function(t){return t.json()})).then((function(t){if(!t.text)return n.callbacks.error({error:"No speech detected. Please try again"});n.callbacks.complete(t)})).catch((function(t){n.callbacks.error(t)}))}},{key:"resample",value:function(t){var n=this;return 44100===this.PCM_DATA_SAMPLE_RATE?Promise.resolve(t):new Promise((function(e){m()(t,n.PCM_DATA_SAMPLE_RATE,(function(t){var n=t.getAudioBuffer;e(n())}))}))}},{key:"_uint8ToString",value:function(t){return Array.prototype.map.call(t,(function(t){return String.fromCharCode(t)})).join("")}},{key:"_createWaveFileData",value:function(t){var n=t.length,e=t.numberOfChannels,r=t.sampleRate,i=r*e*16/8,o=16*e/8,u=n*e*2,a=new Uint8Array(44+u),c=u,s=28+(8+c);return this._writeString("RIFF",a,0),this._writeInt32(s,a,4),this._writeString("WAVE",a,8),this._writeString("fmt ",a,12),this._writeInt32(16,a,16),this._writeInt16(1,a,20),this._writeInt16(e,a,22),this._writeInt32(r,a,24),this._writeInt32(i,a,28),this._writeInt16(o,a,32),this._writeInt32(16,a,34),this._writeString("data",a,36),this._writeInt32(c,a,40),this._writeAudioBuffer(t,a,44),a}},{key:"_writeString",value:function(t,n,e){for(var r=0;r<t.length;++r)n[e+r]=t.charCodeAt(r)}},{key:"_writeInt16",value:function(t,n,e){t=Math.floor(t),n[e+0]=255&t,n[e+1]=t>>8&255}},{key:"_writeInt32",value:function(t,n,e){t=Math.floor(t),n[e+0]=255&t,n[e+1]=t>>8&255,n[e+2]=t>>16&255,n[e+3]=t>>24&255}},{key:"_writeAudioBuffer",value:function(t,n,e){for(var r=t.length,i=t.numberOfChannels,o=0;o<r;++o)for(var u=0;u<i;++u){var a=32768*t.getChannelData(u)[o];a<-32768&&(a=-32768),a>32767&&(a=32767),this._writeInt16(a,n,e),e+=2}}}])&&S(n.prototype,e),o&&S(n,o),t}();e(340);function O(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,r)}return e}function E(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?O(Object(e),!0).forEach((function(n){P(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):O(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function P(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}e.d(n,"assemblyAIHelper",(function(){return M}));var M=function(t,n){return function(e){var r=e.searchAsYouSpeak,i=e.onQueryChange,o=e.onStateChange;r&&console.warn("the assemblyAI voice helper doesn't support searchAsYouSpeak");var u=function(t){return{status:t,transcript:"",isSpeechFinal:!1,errorCode:void 0}},a=u("initial"),c=new A(t,n);c.on("start",(function(){f({status:"recognizing"})})),c.on("error",(function(t){f({status:"error",errorCode:t.error||"Something went wrong"})})),c.on("stop",(function(){f({status:"finished"})})),c.on("complete",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.text;f({transcript:n}),i(n)}));var s=function(){return"askingPermission"===a.status||"recognizing"===a.status},f=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a=E({},a,{},t),document.querySelector(".AssemblyAIHelper")&&(s()?document.querySelector(".AssemblyAIHelper").classList.add("AssemblyAIHelper--listening"):document.querySelector(".AssemblyAIHelper").classList.remove("AssemblyAIHelper--listening")),o()},l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";f(u(t))};return{getState:function(){return a},isBrowserSupported:function(){return Boolean(window.AudioContext||window.webkitAudioContext)&&Boolean(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia)},isListening:s,startListening:function(){c&&(l("askingPermission"),c.start())},stopListening:function(){c.stop(),l("finished")},dispose:function(){c&&(c.stop(),c=void function(t){throw new Error('"'+t+'" is read-only')}("assembly"))}}}}}]).assemblyAIHelper;