theoplayer 3.2.1 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/theoplayer.e.js CHANGED
@@ -30,7 +30,7 @@
30
30
  THEOplayer is based on patented technology developed by
31
31
  THEO Technologies (https://www.theoplayer.com).
32
32
 
33
- Version: 2022.1.2 (3.2.1)
34
- Created: 2022-03-28T10:17:51.302Z
33
+ Version: 2022.2.0 (3.3.0)
34
+ Created: 2022-04-13T08:21:23.223Z
35
35
  */
36
- !function(t){!function(){"use strict";var n,r=t.window,i=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,s=t.setInterval,f=t.clearInterval,a=t.Error,c=t.TypeError,h=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,_=t.parseFloat,d=t.isNaN,p=t.Uint8Array,w=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest,"undefined"!=typeof globalThis?globalThis:void 0!==r?r:"undefined"!=typeof global?global:void 0!==t?t:{});function m(t,n,r){return t(r={path:n,exports:{},require:function(t,n){return function(){throw new a("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&r.path)}},r.exports),r.exports}var y=m(function(s,f){s.exports=function t(r,i,e){function u(s,f){if(!i[s]){if(!r[s]){var c="function"==typeof n&&n;if(!f&&c)return c(s,!0);if(o)return o(s,!0);var h=new a("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var v=i[s]={exports:{}};r[s][0].call(v.exports,function(t){var n=r[s][1][t];return u(n||t)},v,v.exports,t,r,i,e)}return i[s].exports}for(var o="function"==typeof n&&n,s=0;s<e.length;s++)u(e[s]);return u}({1:[function(t,n,r){n.exports=function(t){var n=t.g;function r(t){var r=new n(t),i=r.promise();return r.setHowMany(1),r.setUnwrap(),r.init(),i}t.any=function(t){return r(t)},t.prototype.any=function(){return r(this)}}},{}],2:[function(t,n,r){var i;try{throw new a}catch(t){i=t}var e=t("./schedule"),o=t("./queue"),s=t("./util");function f(){this.N=!1,this.I=!1,this.j=new o(16),this.B=new o(16),this.U=!1,this.Y=!0;var t=this;this.drainQueues=function(){t.F()},this.H=e}function c(t,n,r){this.j.push(t,n,r),this.Z()}function h(t,n,r){this.B.push(t,n,r),this.Z()}function v(t){this.B.q(t),this.Z()}function l(t){for(;t.length()>0;)_(t)}function _(t){var n=t.shift();if("function"!=typeof n)n.J();else{var r=t.shift(),i=t.shift();n.call(r,i)}}f.prototype.setScheduler=function(t){var n=this.H;return this.H=t,this.N=!0,n},f.prototype.hasCustomScheduler=function(){return this.N},f.prototype.enableTrampoline=function(){this.Y=!0},f.prototype.disableTrampolineIfNecessary=function(){s.hasDevTools&&(this.Y=!1)},f.prototype.haveItemsQueued=function(){return this.I||this.U},f.prototype.fatalError=function(t,n){n?(process.stderr.write("Fatal "+(t instanceof a?t.stack:t)+"\n"),process.exit(2)):this.throwLater(t)},f.prototype.throwLater=function(t,n){if(1===arguments.length&&(n=t,t=function(){throw n}),void 0!==u)u(function(){t(n)},0);else try{this.H(function(){t(n)})}catch(t){throw new a("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(f.prototype.invokeLater=function(t,n,r){this.Y?c.call(this,t,n,r):this.H(function(){u(function(){t.call(n,r)},100)})},f.prototype.invoke=function(t,n,r){this.Y?h.call(this,t,n,r):this.H(function(){t.call(n,r)})},f.prototype.settlePromises=function(t){this.Y?v.call(this,t):this.H(function(){t.J()})}):(f.prototype.invokeLater=c,f.prototype.invoke=h,f.prototype.settlePromises=v),f.prototype.F=function(){l(this.B),this.K(),this.U=!0,l(this.j)},f.prototype.Z=function(){this.I||(this.I=!0,this.H(this.drainQueues))},f.prototype.K=function(){this.I=!1},n.exports=f,n.exports.firstLineError=i},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,n,r){n.exports=function(t,n,r,i){var e=!1,u=function(t,n){this.nt(n)},o=function(t,n){n.promiseRejectionQueued=!0,n.bindingPromise.ut(u,u,null,this,t)},s=function(t,n){0==(50397184&this.ot)&&this.ct(n.target)},f=function(t,n){n.promiseRejectionQueued||this.nt(t)};t.prototype.bind=function(u){e||(e=!0,t.prototype.vt=i.propagateFromFunction(),t.prototype.dt=i.boundValueFunction());var a=r(u),c=new t(n);c.vt(this,1);var h=this.wt();if(c.yt(a),a instanceof t){var v={promiseRejectionQueued:!1,promise:c,target:h,bindingPromise:a};h.ut(n,o,void 0,c,v),a.ut(s,f,void 0,c,v),c.At(a)}else c.ct(h);return c},t.prototype.yt=function(t){void 0!==t?(this.ot=2097152|this.ot,this._t=t):this.ot=-2097153&this.ot},t.prototype.kt=function(){return 2097152==(2097152&this.ot)},t.bind=function(n,r){return t.resolve(r).bind(n)}}},{}],4:[function(t,n,r){var i;"undefined"!=typeof Promise&&(i=Promise);var e=t("./promise")();e.noConflict=function(){try{Promise===e&&(Promise=i)}catch(t){}return e},n.exports=e},{"./promise":22}],5:[function(t,n,r){var i=h.create;if(i){var e=i(null),u=i(null);e[" size"]=u[" size"]=0}n.exports=function(n){var r=t("./util"),i=r.canEvaluate;function e(t){var i=this.pop(),e=function(t,i){var e;if(null!=t&&(e=t[i]),"function"!=typeof e){var u="Object "+r.classString(t)+" has no method '"+r.toString(i)+"'";throw new n.TypeError(u)}return e}(t,i);return e.apply(t,this)}function u(t){return t[this]}function o(t){var n=+this;return n<0&&(n=v.max(0,n+t.length)),t[n]}r.isIdentifier,n.prototype.call=function(t){var n=[].slice.call(arguments,1);return n.push(t),this.ut(e,void 0,void 0,n,void 0)},n.prototype.get=function(t){var n,r="number"==typeof t;if(r)n=o;else if(i){var e=(void 0)();n=null!==e?e:u}else n=u;return this.ut(n,void 0,void 0,t,void 0)}}},{"./util":36}],6:[function(t,n,r){n.exports=function(n,r,i,e){var u=t("./util"),o=u.tryCatch,s=u.errorObj,f=n.Mt;n.prototype.break=n.prototype.cancel=function(){if(!e.cancellation())return this.bt("cancellation is disabled");for(var t=this,n=t;t.Nt();){if(!t.Tt(n)){n.Dt()?n.It().cancel():n.Et();break}var r=t.St;if(null==r||!r.Nt()){t.Dt()?t.It().cancel():t.Et();break}t.Dt()&&t.It().cancel(),t.Lt(),n=t,t=r}},n.prototype.jt=function(){this.Ct--},n.prototype.Ot=function(){return void 0===this.Ct||this.Ct<=0},n.prototype.Tt=function(t){return t===this?(this.Ct=0,this.xt(),!0):(this.jt(),!!this.Ot()&&(this.xt(),!0))},n.prototype.Et=function(){this.Ot()&&this.zt()},n.prototype.zt=function(){this.Nt()&&(this.Rt(),f.invoke(this.Bt,this,void 0))},n.prototype.Bt=function(){this.Ut()>0&&this.J()},n.prototype.Pt=function(){this.Qt=void 0},n.prototype.Nt=function(){return this.isPending()&&!this.Yt()},n.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},n.prototype.Ft=function(t,n){if(u.isArray(t))for(var r=0;r<t.length;++r)this.Ft(t[r],n);else if(void 0!==t)if("function"==typeof t){if(!n){var i=o(t).call(this.dt());i===s&&(this.Gt(i.e),f.throwLater(i.e))}}else t._resultCancelled(this)},n.prototype.xt=function(){var t=this.Vt();this.Pt(),f.invoke(this.Ft,this,t)},n.prototype.Wt=function(){this.Nt()&&(this.Ft(this.Vt(),!0),this.Pt())},n.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(t,n,r){n.exports=function(n){var r=t("./util"),i=t("./es5").keys,e=r.tryCatch,u=r.errorObj;return function(t,o,s){return function(f){var c=s.dt();t:for(var h=0;h<t.length;++h){var v=t[h];if(v===a||null!=v&&v.prototype instanceof a){if(f instanceof v)return e(o).call(c,f)}else if("function"==typeof v){var l=e(v).call(c,f);if(l===u)return l;if(l)return e(o).call(c,f)}else if(r.isObject(f)){for(var _=i(v),d=0;d<_.length;++d){var p=_[d];if(v[p]!=f[p])continue t}return e(o).call(c,f)}}return n}}}},{"./es5":13,"./util":36}],8:[function(t,n,r){n.exports=function(t){var n=!1,r=[];function i(){this.Ht=new i.CapturedTrace(e())}function e(){var t=r.length-1;if(t>=0)return r[t]}return t.prototype.Xt=function(){},t.prototype.Zt=function(){},t.prototype.qt=function(){return null},t.Jt=t.prototype.Jt=function(){},i.prototype.Zt=function(){void 0!==this.Ht&&(this.Ht.Xt=null,r.push(this.Ht))},i.prototype.qt=function(){if(void 0!==this.Ht){var t=r.pop(),n=t.Xt;return t.Xt=null,n}return null},i.CapturedTrace=null,i.create=function(){if(n)return new i},i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var r=t.prototype.Zt,u=t.prototype.qt,o=t.Jt,s=t.prototype.Jt,f=t.prototype.Xt;i.deactivateLongStackTraces=function(){t.prototype.Zt=r,t.prototype.qt=u,t.Jt=o,t.prototype.Jt=s,t.prototype.Xt=f,n=!1},n=!0,t.prototype.Zt=i.prototype.Zt,t.prototype.qt=i.prototype.qt,t.Jt=t.prototype.Jt=e,t.prototype.Xt=function(){var t=this.Jt();t&&null==t.Xt&&(t.Xt=this)}},i}},{}],9:[function(t,n,r){n.exports=function(n,r){var e,o,s,f=n.Kt,v=n.Mt,_=t("./errors").Warning,d=t("./util"),p=t("./es5"),w=d.canAttachTrace,m=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,y=/\((?:timers\.js):\d+:\d+\)/,g=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,E=null,S=null,b=!1,I=!(0==d.env("BLUEBIRD_DEBUG")),T=!(0==d.env("BLUEBIRD_WARNINGS")||!I&&!d.env("BLUEBIRD_WARNINGS")),k=!(0==d.env("BLUEBIRD_LONG_STACK_TRACES")||!I&&!d.env("BLUEBIRD_LONG_STACK_TRACES")),A=0!=d.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(T||!!d.env("BLUEBIRD_W_FORGOTTEN_RETURN"));n.prototype.suppressUnhandledRejections=function(){var t=this.wt();t.ot=-1048577&t.ot|524288},n.prototype.$t=function(){if(0==(524288&this.ot)){this.in();var t=this;u(function(){t.un()},1)}},n.prototype.hn=function(){$("rejectionHandled",e,void 0,this)},n.prototype.cn=function(){this.ot=268435456|this.ot},n.prototype.fn=function(){return 0!=(268435456&this.ot)},n.prototype.un=function(){if(this.vn()){var t=this.dn();this.wn(),$("unhandledRejection",o,t,this)}},n.prototype.wn=function(){this.ot=262144|this.ot},n.prototype.yn=function(){this.ot=-262145&this.ot},n.prototype.An=function(){return(262144&this.ot)>0},n.prototype.in=function(){this.ot=1048576|this.ot},n.prototype._n=function(){this.ot=-1048577&this.ot,this.An()&&(this.yn(),this.hn())},n.prototype.vn=function(){return(1048576&this.ot)>0},n.prototype.bt=function(t,n,r){return q(t,n,r||this)},n.onPossiblyUnhandledRejection=function(t){var n=f();o="function"==typeof t?null===n?t:d.domainBind(n,t):void 0},n.onUnhandledRejectionHandled=function(t){var n=f();e="function"==typeof t?null===n?t:d.domainBind(n,t):void 0};var N=function(){};n.longStackTraces=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new a("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");if(!et.longStackTraces&&J()){var t=n.prototype.pn,i=n.prototype.Gt,e=n.prototype.Mn;et.longStackTraces=!0,N=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new a("cannot enable long stack traces after promises have been created\n\n See http://goo.gl/MqrFmX\n");n.prototype.pn=t,n.prototype.Gt=i,n.prototype.Mn=e,r.deactivateLongStackTraces(),v.enableTrampoline(),et.longStackTraces=!1},n.prototype.pn=W,n.prototype.Gt=V,n.prototype.Mn=X,r.activateLongStackTraces(),v.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return et.longStackTraces&&J()};var R=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return d.global.dispatchEvent(t),function(t,n){var r={detail:n,cancelable:!0};p.defineProperty(r,"promise",{value:n.promise}),p.defineProperty(r,"reason",{value:n.reason});var i=new CustomEvent(t.toLowerCase(),r);return!d.global.dispatchEvent(i)}}if("function"==typeof Event){var t=new Event("CustomEvent");return d.global.dispatchEvent(t),function(t,n){var r=new Event(t.toLowerCase(),{cancelable:!0});return r.detail=n,p.defineProperty(r,"promise",{value:n.promise}),p.defineProperty(r,"reason",{value:n.reason}),!d.global.dispatchEvent(r)}}var t=i.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),d.global.dispatchEvent(t),function(t,n){var r=i.createEvent("CustomEvent");return r.initCustomEvent(t.toLowerCase(),!1,!0,n),!d.global.dispatchEvent(r)}}catch(t){}return function(){return!1}}(),D=d.isNode?function(){return process.emit.apply(process,arguments)}:d.global?function(t){var n="on"+t.toLowerCase(),r=d.global[n];return!!r&&(r.apply(d.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function P(t,n){return{promise:n}}var O={promiseCreated:P,promiseFulfilled:P,promiseRejected:P,promiseResolved:P,promiseCancelled:P,promiseChained:function(t,n,r){return{promise:n,child:r}},warning:function(t,n){return{warning:n}},unhandledRejection:function(t,n,r){return{reason:n,promise:r}},rejectionHandled:P},C=function(t){var n=!1;try{n=D.apply(null,arguments)}catch(t){v.throwLater(t),n=!0}var r=!1;try{r=R(t,O[t].apply(null,arguments))}catch(t){v.throwLater(t),r=!0}return r||n};function F(){return!1}function L(t,n,r){var i=this;try{t(n,r,function(t){if("function"!=typeof t)throw new c("onCancel must be a function, got: "+d.toString(t));i.Nn(t)})}catch(t){return t}}function M(t){if(!this.Nt())return this;var n=this.Vt();void 0!==n?d.isArray(n)?n.push(t):this.At([n,t]):this.At(t)}function x(){return this.Qt}function B(t){this.Qt=t}function j(){this.St=void 0,this.Qt=void 0}function U(t,n){if(0!=(1&n)){this.St=t;var r=t.Ct;void 0===r&&(r=0),t.Ct=r+1}0!=(2&n)&&t.kt()&&this.yt(t._t)}n.config=function(t){if("longStackTraces"in(t=h(t))&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&N()),"warnings"in t){var r=t.warnings;et.warnings=!!r,A=et.warnings,d.isObject(r)&&"wForgottenReturn"in r&&(A=!!r.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!et.cancellation){if(v.haveItemsQueued())throw new a("cannot enable cancellation after promises are in use");n.prototype.Tn=j,n.prototype.vt=U,n.prototype.Vt=x,n.prototype.At=B,n.prototype.Nn=M,n.prototype.Dn=L,H=U,et.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!et.monitoring?(et.monitoring=!0,n.prototype.In=C):!t.monitoring&&et.monitoring&&(et.monitoring=!1,n.prototype.In=F)),n},n.prototype.In=F,n.prototype.Dn=function(t,n,r){try{t(n,r)}catch(t){return t}},n.prototype.Vt=function(){},n.prototype.At=function(t){},n.prototype.Nn=function(t){},n.prototype.pn=function(){},n.prototype.Gt=function(){},n.prototype.Mn=function(){},n.prototype.Tn=function(){},n.prototype.vt=function(t,n){};var H=function(t,n){0!=(2&n)&&t.kt()&&this.yt(t._t)};function G(){var t=this._t;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function W(){this.Ht=new rt(this.Jt())}function V(t,n){if(w(t)){var r=this.Ht;if(void 0!==r&&n&&(r=r.En),void 0!==r)r.attachExtraTrace(t);else if(!t.Sn){var i=Y(t);d.notEnumerableProp(t,"stack",i.message+"\n"+i.stack.join("\n")),d.notEnumerableProp(t,"Sn",!0)}}}function X(){this.Ht=void 0}function q(t,r,i){if(et.warnings){var e,u=new _(t);if(r)i.Gt(u);else if(et.longStackTraces&&(e=n.Jt()))e.attachExtraTrace(u);else{var o=Y(u);u.stack=o.message+"\n"+o.stack.join("\n")}C("warning",u)||K(u,"",!0)}}function z(t){for(var n=[],r=0;r<t.length;++r){var i=t[r],e=" (No stack trace)"===i||E.test(i),u=e&&Q(i);e&&!u&&(b&&" "!==i.charAt(0)&&(i=" "+i),n.push(i))}return n}function Y(t){var n=t.stack,r=t.toString();return n="string"==typeof n&&n.length>0?function(t){for(var n=t.stack.replace(/\s+$/g,"").split("\n"),r=0;r<n.length;++r){var i=n[r];if(" (No stack trace)"===i||E.test(i))break}return r>0&&"SyntaxError"!=t.name&&(n=n.slice(r)),n}(t):[" (No stack trace)"],{message:r,stack:"SyntaxError"==t.name?n:z(n)}}function K(t,n,r){if("undefined"!=typeof console){var i;if(d.isObject(t)){var e=t.stack;i=n+S(e,t)}else i=n+String(t);"function"==typeof s?s(i,r):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(i)}}function $(t,n,r,i){var e=!1;try{"function"==typeof n&&(e=!0,"rejectionHandled"===t?n(i):n(r,i))}catch(t){v.throwLater(t)}"unhandledRejection"===t?C(t,r,i)||e||K(r,"Unhandled rejection "):C(t,i)}function Z(t){var n;if("function"==typeof t)n="[function "+(t.name||"anonymous")+"]";else{if(n=t&&"function"==typeof t.toString?t.toString():d.toString(t),/\[object [a-zA-Z0-9$_]+\]/.test(n))try{var r=JSON.stringify(t);n=r}catch(t){}0===n.length&&(n="(empty array)")}return"(<"+function(t){return t.length<41?t:t.substr(0,38)+"..."}(n)+">, no stack trace)"}function J(){return"function"==typeof it}var Q=function(){return!1},tt=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function nt(t){var n=t.match(tt);if(n)return{fileName:n[1],line:l(n[2],10)}}function rt(t){this.En=t,this.Ln=0;var n=this.Ut=1+(void 0===t?0:t.Ut);it(this,rt),n>32&&this.uncycle()}d.inherits(rt,a),r.CapturedTrace=rt,rt.prototype.uncycle=function(){var t=this.Ut;if(!(t<2)){for(var n=[],r={},i=0,e=this;void 0!==e;++i)n.push(e),e=e.En;for(var i=(t=this.Ut=i)-1;i>=0;--i){var u=n[i].stack;void 0===r[u]&&(r[u]=i)}for(var i=0;i<t;++i){var o=n[i].stack,s=r[o];if(void 0!==s&&s!==i){s>0&&(n[s-1].En=void 0,n[s-1].Ut=1),n[i].En=void 0,n[i].Ut=1;var f=i>0?n[i-1]:this;s<t-1?(f.En=n[s+1],f.En.uncycle(),f.Ut=f.En.Ut+1):(f.En=void 0,f.Ut=1);for(var a=f.Ut+1,c=i-2;c>=0;--c)n[c].Ut=a,a++;return}}}},rt.prototype.attachExtraTrace=function(t){if(!t.Sn){this.uncycle();for(var n=Y(t),r=n.message,i=[n.stack],e=this;void 0!==e;)i.push(z(e.stack.split("\n"))),e=e.En;!function(t){for(var n=t[0],r=1;r<t.length;++r){for(var i=t[r],e=n.length-1,u=n[e],o=-1,s=i.length-1;s>=0;--s)if(i[s]===u){o=s;break}for(var s=o;s>=0;--s){var f=i[s];if(n[e]!==f)break;n.pop(),e--}n=i}}(i),function(t){for(var n=0;n<t.length;++n)(0===t[n].length||n+1<t.length&&t[n][0]===t[n+1][0])&&(t.splice(n,1),n--)}(i),d.notEnumerableProp(t,"stack",function(t,n){for(var r=0;r<n.length-1;++r)n[r].push("From previous event:"),n[r]=n[r].join("\n");return r<n.length&&(n[r]=n[r].join("\n")),t+"\n"+n.join("\n")}(r,i)),d.notEnumerableProp(t,"Sn",!0)}};var it=function(){var t=/^\s*at\s*/,n=function(t,n){return"string"==typeof t?t:void 0!==n.name&&void 0!==n.message?n.toString():Z(n)};if("number"==typeof a.stackTraceLimit&&"function"==typeof a.captureStackTrace){a.stackTraceLimit+=6,E=t,S=n;var r=a.captureStackTrace;return Q=function(t){return m.test(t)},function(t,n){a.stackTraceLimit+=6,r(t,n),a.stackTraceLimit-=6}}var i,e=new a;if("string"==typeof e.stack&&e.stack.split("\n")[0].indexOf("stackDetection@")>=0)return E=/@/,S=n,b=!0,function(t){t.stack=(new a).stack};try{throw new a}catch(t){i="stack"in t}return"stack"in e||!i||"number"!=typeof a.stackTraceLimit?(S=function(t,n){return"string"==typeof t?t:"object"!=typeof n&&"function"!=typeof n||void 0===n.name||void 0===n.message?Z(n):n.toString()},null):(E=t,S=n,function(t){a.stackTraceLimit+=6;try{throw new a}catch(n){t.stack=n.stack}a.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(t){console.warn(t)},d.isNode&&process.stderr.isTTY?s=function(t,n){var r=n?"\x1b[33m":"\x1b[31m";console.warn(r+t+"\x1b[0m\n")}:d.isNode||"string"!=typeof(new a).stack||(s=function(t,n){console.warn("%c"+t,n?"color: darkorange":"color: red")}));var et={warnings:T,longStackTraces:!1,cancellation:!1,monitoring:!1};return k&&n.longStackTraces(),{longStackTraces:function(){return et.longStackTraces},warnings:function(){return et.warnings},cancellation:function(){return et.cancellation},monitoring:function(){return et.monitoring},propagateFromFunction:function(){return H},boundValueFunction:function(){return G},checkForgottenReturns:function(t,n,r,i,e){if(void 0===t&&null!==n&&A){if(void 0!==e&&e.fn())return;if(0==(65535&i.ot))return;r&&(r+=" ");var u="",o="";if(n.Ht){for(var s=n.Ht.stack.split("\n"),f=z(s),a=f.length-1;a>=0;--a){var c=f[a];if(!y.test(c)){var h=c.match(g);h&&(u="at "+h[1]+":"+h[2]+":"+h[3]+" ");break}}if(f.length>0)for(var v=f[0],a=0;a<s.length;++a)if(s[a]===v){a>0&&(o="\n"+s[a-1]);break}}var l="a promise was created in a "+r+"handler "+u+"but was not returned from it, see http://goo.gl/rRqMUw"+o;i.bt(l,!0,n)}},setBounds:function(t,n){if(J()){for(var r,i,e=(t.stack||"").split("\n"),u=(n.stack||"").split("\n"),o=-1,s=-1,f=0;f<e.length;++f){var a=nt(e[f]);if(a){r=a.fileName,o=a.line;break}}for(var f=0;f<u.length;++f){var a=nt(u[f]);if(a){i=a.fileName,s=a.line;break}}o<0||s<0||!r||!i||r!==i||o>=s||(Q=function(t){if(m.test(t))return!0;var n=nt(t);return!!(n&&n.fileName===r&&o<=n.line&&n.line<=s)})}},warn:q,deprecated:function(t,n){var r=t+" is deprecated and will be removed in a future version.";return n&&(r+=" Use "+n+" instead."),q(r)},CapturedTrace:rt,fireDomEvent:R,fireGlobalEvent:D}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,n,r){n.exports=function(t){function n(){return this.value}function r(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(r){return r instanceof t&&r.suppressUnhandledRejections(),this.ut(n,void 0,void 0,{value:r},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this.ut(r,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this.ut(void 0,r,void 0,{reason:t},void 0);var n=arguments[1];return this.caught(t,function(){throw n})},t.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof t&&r.suppressUnhandledRejections(),this.ut(void 0,n,void 0,{value:r},void 0);var i=arguments[1];return i instanceof t&&i.suppressUnhandledRejections(),this.caught(r,function(){return i})}}},{}],11:[function(t,n,r){n.exports=function(t,n){var r=t.reduce,i=t.all;function e(){return i(this)}t.prototype.each=function(t){return r(this,t,n,0).ut(e,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return r(this,t,n,n)},t.each=function(t,i){return r(t,i,n,0).ut(e,void 0,void 0,t,void 0)},t.mapSeries=function(t,i){return r(t,i,n,n)}}},{}],12:[function(t,n,r){var i,e,u=t("./es5"),o=u.freeze,s=t("./util"),f=s.inherits,h=s.notEnumerableProp;function v(t,n){function r(i){if(!(this instanceof r))return new r(i);h(this,"message","string"==typeof i?i:n),h(this,"name",t),a.captureStackTrace?a.captureStackTrace(this,this.constructor):a.call(this)}return f(r,a),r}var l=v("Warning","warning"),_=v("CancellationError","cancellation error"),d=v("TimeoutError","timeout error"),p=v("AggregateError","aggregate error");try{i=c,e=RangeError}catch(t){i=v("TypeError","type error"),e=v("RangeError","range error")}for(var w="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),m=0;m<w.length;++m)"function"==typeof Array.prototype[w[m]]&&(p.prototype[w[m]]=Array.prototype[w[m]]);u.defineProperty(p.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),p.prototype.isOperational=!0;var y=0;function g(t){if(!(this instanceof g))return new g(t);h(this,"name","OperationalError"),h(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof a?(h(this,"message",t.message),h(this,"stack",t.stack)):a.captureStackTrace&&a.captureStackTrace(this,this.constructor)}p.prototype.toString=function(){var t=Array(4*y+1).join(" "),n="\n"+t+"AggregateError of:\n";y++,t=Array(4*y+1).join(" ");for(var r=0;r<this.length;++r){for(var i=this[r]===this?"[Circular AggregateError]":this[r]+"",e=i.split("\n"),u=0;u<e.length;++u)e[u]=t+e[u];i=e.join("\n"),n+=i+"\n"}return y--,n},f(g,a);var E=a.jn;E||(E=o({CancellationError:_,TimeoutError:d,OperationalError:g,RejectionError:g,AggregateError:p}),u.defineProperty(a,"jn",{value:E,writable:!1,enumerable:!1,configurable:!1})),n.exports={Error:a,TypeError:i,RangeError:e,CancellationError:E.CancellationError,OperationalError:E.OperationalError,TimeoutError:E.TimeoutError,AggregateError:E.AggregateError,Warning:l}},{"./es5":13,"./util":36}],13:[function(t,n,r){var i=function(){return void 0===this}();if(i)n.exports={freeze:h.freeze,defineProperty:h.defineProperty,getDescriptor:h.getOwnPropertyDescriptor,keys:h.keys,names:h.getOwnPropertyNames,getPrototypeOf:h.getPrototypeOf,isArray:Array.isArray,isES5:i,propertyIsWritable:function(t,n){var r=h.getOwnPropertyDescriptor(t,n);return!(r&&!r.writable&&!r.set)}};else{var e={}.hasOwnProperty,u={}.toString,o={}.constructor.prototype,s=function(t){var n=[];for(var r in t)e.call(t,r)&&n.push(r);return n};n.exports={isArray:function(t){try{return"[object Array]"===u.call(t)}catch(t){return!1}},keys:s,names:s,defineProperty:function(t,n,r){return t[n]=r.value,t},getDescriptor:function(t,n){return{value:t[n]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return h(t).constructor.prototype}catch(t){return o}},isES5:i,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,n,r){n.exports=function(t,n){var r=t.map;t.prototype.filter=function(t,i){return r(this,t,i,n)},t.filter=function(t,i,e){return r(t,i,e,n)}}},{}],15:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),u=n.CancellationError,o=e.errorObj,s=t("./catch_filter")(i);function f(t,n,r){this.promise=t,this.type=n,this.handler=r,this.called=!1,this.cancelPromise=null}function a(t){this.finallyHandler=t}function h(t,n){return null!=t.cancelPromise&&(arguments.length>1?t.cancelPromise.nt(n):t.cancelPromise.zt(),t.cancelPromise=null,!0)}function v(){return _.call(this,this.promise.wt().dn())}function l(t){if(!h(this,t))return o.e=t,o}function _(t){var e=this.promise,s=this.handler;if(!this.called){this.called=!0;var f=this.isFinallyHandler()?s.call(e.dt()):s.call(e.dt(),t);if(f===i)return f;if(void 0!==f){e.cn();var c=r(f,e);if(c instanceof n){if(null!=this.cancelPromise){if(c.Yt()){var _=new u("late cancellation observer");return e.Gt(_),o.e=_,o}c.isPending()&&c.Nn(new a(this))}return c.ut(v,l,void 0,this,void 0)}}}return e.isRejected()?(h(this),o.e=t,o):(h(this),t)}return f.prototype.isFinallyHandler=function(){return 0===this.type},a.prototype._resultCancelled=function(){h(this.finallyHandler)},n.prototype.Cn=function(t,n,r,i){return"function"!=typeof t?this.then():this.ut(r,i,void 0,new f(this,n,t),void 0)},n.prototype.lastly=n.prototype.finally=function(t){return this.Cn(t,0,_,_)},n.prototype.tap=function(t){return this.Cn(t,1,_)},n.prototype.tapCatch=function(t){var r=arguments.length;if(1===r)return this.Cn(t,1,void 0,_);var i,u=new Array(r-1),o=0;for(i=0;i<r-1;++i){var f=arguments[i];if(!e.isObject(f))return n.reject(new c("tapCatch statement predicate: expecting an object but got "+e.classString(f)));u[o++]=f}u.length=o;var a=arguments[i];return this.Cn(s(u,a,this),1,void 0,_)},f}},{"./catch_filter":7,"./util":36}],16:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=t("./errors"),f=s.TypeError,c=t("./util"),v=c.errorObj,l=c.tryCatch,_=[];function d(t,r,e,u){if(o.cancellation()){var s=new n(i),f=this.On=new n(i);this.xn=s.lastly(function(){return f}),s.pn(),s.At(this)}else{var a=this.xn=new n(i);a.pn()}this.zn=u,this.Rn=t,this.Bn=r,this.Un=void 0,this.Pn="function"==typeof e?[e].concat(_):_,this.Qn=null,this.Yn=!1}c.inherits(d,u),d.prototype.Fn=function(){return null===this.xn},d.prototype.Gn=function(){this.xn=this.Un=null,o.cancellation()&&null!==this.On&&(this.On.Vn(),this.On=null)},d.prototype.Wn=function(){if(!this.Fn()){var t,r=void 0!==this.Un.return;if(r)this.xn.Zt(),t=l(this.Un.return).call(this.Un,void 0),this.xn.qt();else{var i=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=i,this.xn.Gt(i),this.xn.Zt(),t=l(this.Un.throw).call(this.Un,i),this.xn.qt()}this.Yn=!0,this.Qn=null,this.Hn(t)}},d.prototype.Xn=function(t){this.Qn=null,this.xn.Zt();var n=l(this.Un.next).call(this.Un,t);this.xn.qt(),this.Hn(n)},d.prototype.Zn=function(t){this.Qn=null,this.xn.Gt(t),this.xn.Zt();var n=l(this.Un.throw).call(this.Un,t);this.xn.qt(),this.Hn(n)},d.prototype._resultCancelled=function(){if(this.Qn instanceof n){var t=this.Qn;this.Qn=null,t.cancel()}},d.prototype.promise=function(){return this.xn},d.prototype.qn=function(){this.Un=this.Rn.call(this.Bn),this.Bn=this.Rn=void 0,this.Xn(void 0)},d.prototype.Hn=function(t){var r=this.xn;if(t===v)return this.Gn(),this.Yn?r.cancel():r.Jn(t.e,!1);var i=t.value;if(!0===t.done)return this.Gn(),this.Yn?r.cancel():r.ct(i);var u=e(i,this.xn);if(u instanceof n||null!==(u=function(t,r,i){for(var u=0;u<r.length;++u){i.Zt();var o=l(r[u])(t);if(i.qt(),o===v){i.Zt();var s=n.reject(v.e);return i.qt(),s}var f=e(o,i);if(f instanceof n)return f}return null}(u,this.Pn,this.xn))){var o=(u=u.wt()).ot;0==(50397184&o)?(this.Qn=u,u.Kn(this,null)):0!=(33554432&o)?n.Mt.invoke(this.Xn,this,u.$n()):0!=(16777216&o)?n.Mt.invoke(this.Zn,this,u.ni()):this.Wn()}else this.Zn(new f("A value %s was yielded that could not be treated as a promise\n\n See http://goo.gl/MqrFmX\n\n".replace("%s",String(i))+"From coroutine:\n"+this.zn.split("\n").slice(1,-7).join("\n")))},n.coroutine=function(t,n){if("function"!=typeof t)throw new f("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var r=h(n).yieldHandler,i=d,e=(new a).stack;return function(){var n=t.apply(this,arguments),u=new i(void 0,void 0,r,e),o=u.promise();return u.Un=n,u.Xn(void 0),o}},n.coroutine.addYieldHandler=function(t){if("function"!=typeof t)throw new f("expecting a function but got "+c.classString(t));_.push(t)},n.spawn=function(t){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return r("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var i=new d(t,this),e=i.promise();return i.qn(n.spawn),e}}},{"./errors":12,"./util":36}],17:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=t("./util");s.canEvaluate,s.tryCatch,s.errorObj,n.join=function(){var t,n=arguments.length-1;n>0&&"function"==typeof arguments[n]&&(t=arguments[n]);var i=[].slice.call(arguments);t&&i.pop();var e=new r(i).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=n.Kt,f=t("./util"),a=f.tryCatch,h=f.errorObj,v=n.Mt;function l(t,n,r,i){this.constructor$(t),this.xn.pn();var e=s();this.ri=null===e?n:f.domainBind(e,n),this.ei=i===u?new Array(this.length()):null,this.oi=r,this.ai=0,this.ci=[],v.invoke(this.di,this,void 0)}function _(t,r,e,u){if("function"!=typeof r)return i("expecting a function but got "+f.classString(r));var o=0;if(void 0!==e){if("object"!=typeof e||null===e)return n.reject(new c("options argument must be an object but it is "+f.classString(e)));if("number"!=typeof e.concurrency)return n.reject(new c("'concurrency' must be a number but it is "+f.classString(e.concurrency)));o=e.concurrency}return o="number"==typeof o&&isFinite(o)&&o>=1?o:0,new l(t,r,o,u).promise()}f.inherits(l,r),l.prototype.di=function(){this._init$(void 0,-2)},l.prototype._init=function(){},l.prototype.Xn=function(t,r){var i=this.gi,u=this.length(),s=this.ei,f=this.oi;if(r<0){if(i[r=-1*r-1]=t,f>=1&&(this.ai--,this.wi(),this.Fn()))return!0}else{if(f>=1&&this.ai>=f)return i[r]=t,this.ci.push(r),!1;null!==s&&(s[r]=t);var c=this.xn,v=this.ri,l=c.dt();c.Zt();var _=a(v).call(l,t,r,u),d=c.qt();if(o.checkForgottenReturns(_,d,null!==s?"Promise.filter":"Promise.map",c),_===h)return this.nt(_.e),!0;var p=e(_,this.xn);if(p instanceof n){var w=(p=p.wt()).ot;if(0==(50397184&w))return f>=1&&this.ai++,i[r]=p,p.Kn(this,-1*(r+1)),!1;if(0==(33554432&w))return 0!=(16777216&w)?(this.nt(p.ni()),!0):(this.zt(),!0);_=p.$n()}i[r]=_}var m=++this.Ai;return m>=u&&(null!==s?this._i(i,s):this.Mi(i),!0)},l.prototype.wi=function(){for(var t=this.ci,n=this.oi,r=this.gi;t.length>0&&this.ai<n;){if(this.Fn())return;var i=t.pop();this.Xn(r[i],i)}},l.prototype._i=function(t,n){for(var r=n.length,i=new Array(r),e=0,u=0;u<r;++u)t[u]&&(i[e++]=n[u]);i.length=e,this.Mi(i)},l.prototype.preservedValues=function(){return this.ei},n.prototype.map=function(t,n){return _(this,t,n,null)},n.map=function(t,n,r,i){return _(t,n,r,i)}}},{"./util":36}],19:[function(t,n,r){n.exports=function(n,r,i,e,u){var o=t("./util"),s=o.tryCatch;n.method=function(t){if("function"!=typeof t)throw new n.TypeError("expecting a function but got "+o.classString(t));return function(){var i=new n(r);i.pn(),i.Zt();var e=s(t).apply(this,arguments),o=i.qt();return u.checkForgottenReturns(e,o,"Promise.method",i),i.Ni(e),i}},n.attempt=n.try=function(t){if("function"!=typeof t)return e("expecting a function but got "+o.classString(t));var i,f=new n(r);if(f.pn(),f.Zt(),arguments.length>1){u.deprecated("calling Promise.try with more than 1 argument");var a=arguments[1],c=arguments[2];i=o.isArray(a)?s(t).apply(c,a):s(t).call(c,a)}else i=s(t)();var h=f.qt();return u.checkForgottenReturns(i,h,"Promise.try",f),f.Ni(i),f},n.prototype.Ni=function(t){t===o.errorObj?this.Jn(t.e,!1):this.ct(t,!0)}}},{"./util":36}],20:[function(t,n,r){var i=t("./util"),e=i.maybeWrapAsError,u=t("./errors"),o=u.OperationalError,s=t("./es5"),f=/^(?:name|message|stack|cause)$/;function c(t){var n;if(function(t){return t instanceof a&&s.getPrototypeOf(t)===a.prototype}(t)){(n=new o(t)).name=t.name,n.message=t.message,n.stack=t.stack;for(var r=s.keys(t),e=0;e<r.length;++e){var u=r[e];f.test(u)||(n[u]=t[u])}return n}return i.markAsOriginatingFromRejection(t),t}n.exports=function(t,n){return function(r,i){if(null!==t){if(r){var u=c(e(r));t.Gt(u),t.nt(u)}else if(n){var o=[].slice.call(arguments,1);t.Vn(o)}else t.Vn(i);t=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(t,n,r){n.exports=function(n){var r=t("./util"),i=n.Mt,e=r.tryCatch,u=r.errorObj;function o(t,n){if(!r.isArray(t))return s.call(this,t,n);var o=e(n).apply(this.dt(),[null].concat(t));o===u&&i.throwLater(o.e)}function s(t,n){var r=this.dt(),o=void 0===t?e(n).call(r,null):e(n).call(r,null,t);o===u&&i.throwLater(o.e)}function f(t,n){if(!t){var r=new a(t+"");r.cause=t,t=r}var o=e(n).call(this.dt(),t);o===u&&i.throwLater(o.e)}n.prototype.asCallback=n.prototype.nodeify=function(t,n){if("function"==typeof t){var r=s;void 0!==n&&h(n).spread&&(r=o),this.ut(r,f,void 0,this,t)}return this}}},{"./util":36}],22:[function(t,n,r){n.exports=function(){var r=function(){return new _("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},i=function(){return new R.PromiseInspection(this.wt())},e=function(t){return R.reject(new _(t))};function u(){}var o,s={},f=t("./util");o=f.isNode?function(){var t=process.domain;return void 0===t&&(t=null),t}:function(){return null},f.notEnumerableProp(R,"Kt",o);var a=t("./es5"),c=t("./async"),v=new c;a.defineProperty(R,"Mt",{value:v});var l=t("./errors"),_=R.TypeError=l.TypeError;R.RangeError=l.RangeError;var d=R.CancellationError=l.CancellationError;R.TimeoutError=l.TimeoutError,R.OperationalError=l.OperationalError,R.RejectionError=l.OperationalError,R.AggregateError=l.AggregateError;var p=function(){},w={},m={},y=t("./thenables")(R,p),g=t("./promise_array")(R,p,y,e,u),E=t("./context")(R),S=E.create,b=t("./debuggability")(R,E),I=(b.CapturedTrace,t("./finally")(R,y,m)),T=t("./catch_filter")(m),k=t("./nodeback"),A=f.errorObj,N=f.tryCatch;function R(t){t!==p&&function(t,n){if(null==t||t.constructor!==R)throw new _("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof n)throw new _("expecting a function but got "+f.classString(n))}(this,t),this.ot=0,this.Ti=void 0,this.Di=void 0,this.Ii=void 0,this.Ei=void 0,this.Si(t),this.Xt(),this.In("promiseCreated",this)}function D(t){this.promise.ct(t)}function P(t){this.promise.Jn(t,!1)}function O(t){var n=new R(p);n.Ti=t,n.Di=t,n.Ii=t,n.Ei=t}return R.prototype.toString=function(){return"[object Promise]"},R.prototype.caught=R.prototype.catch=function(t){var n=arguments.length;if(n>1){var r,i=new Array(n-1),u=0;for(r=0;r<n-1;++r){var o=arguments[r];if(!f.isObject(o))return e("Catch statement predicate: expecting an object but got "+f.classString(o));i[u++]=o}if(i.length=u,"function"!=typeof(t=arguments[r]))throw new _("The last argument to .catch() must be a function, got "+f.toString(t));return this.then(void 0,T(i,t,this))}return this.then(void 0,t)},R.prototype.reflect=function(){return this.ut(i,i,void 0,this,void 0)},R.prototype.then=function(t,n){if(b.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof n){var r=".then() only accepts functions but was passed: "+f.classString(t);arguments.length>1&&(r+=", "+f.classString(n)),this.bt(r)}return this.ut(t,n,void 0,void 0,void 0)},R.prototype.done=function(t,n){var r=this.ut(t,n,void 0,void 0,void 0);r.Li()},R.prototype.spread=function(t){return"function"!=typeof t?e("expecting a function but got "+f.classString(t)):this.all().ut(t,void 0,void 0,w,void 0)},R.prototype.toJSON=function(){var t={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(t.fulfillmentValue=this.value(),t.isFulfilled=!0):this.isRejected()&&(t.rejectionReason=this.reason(),t.isRejected=!0),t},R.prototype.all=function(){return arguments.length>0&&this.bt(".all() was passed arguments but it does not take any"),new g(this).promise()},R.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},R.getNewLibraryCopy=n.exports,R.is=function(t){return t instanceof R},R.fromNode=R.fromCallback=function(t){var n=new R(p);n.pn();var r=arguments.length>1&&!!h(arguments[1]).multiArgs,i=N(t)(k(n,r));return i===A&&n.Jn(i.e,!0),n.ji()||n.Ci(),n},R.all=function(t){return new g(t).promise()},R.cast=function(t){var n=y(t);return n instanceof R||((n=new R(p)).pn(),n.Oi(),n.Di=t),n},R.resolve=R.fulfilled=R.cast,R.reject=R.rejected=function(t){var n=new R(p);return n.pn(),n.Jn(t,!0),n},R.setScheduler=function(t){if("function"!=typeof t)throw new _("expecting a function but got "+f.classString(t));return v.setScheduler(t)},R.prototype.ut=function(t,n,r,i,e){var u=void 0!==e,s=u?e:new R(p),a=this.wt(),c=a.ot;u||(s.vt(this,3),s.pn(),void 0===i&&0!=(2097152&this.ot)&&(i=0!=(50397184&c)?this.dt():a===this?void 0:this._t),this.In("promiseChained",this,s));var h=o();if(0!=(50397184&c)){var l,_,w=a.xi;0!=(33554432&c)?(_=a.Di,l=t):0!=(16777216&c)?(_=a.Ti,l=n,a._n()):(w=a.zi,_=new d("late cancellation observer"),a.Gt(_),l=n),v.invoke(w,a,{handler:null===h?l:"function"==typeof l&&f.domainBind(h,l),promise:s,receiver:i,value:_})}else a.Ri(t,n,s,i,h);return s},R.prototype.Ut=function(){return 65535&this.ot},R.prototype.ji=function(){return 0!=(117506048&this.ot)},R.prototype.Dt=function(){return 67108864==(67108864&this.ot)},R.prototype.Bi=function(t){this.ot=-65536&this.ot|65535&t},R.prototype.Oi=function(){this.ot=33554432|this.ot,this.In("promiseFulfilled",this)},R.prototype.Ui=function(){this.ot=16777216|this.ot,this.In("promiseRejected",this)},R.prototype.Pi=function(){this.ot=67108864|this.ot,this.In("promiseResolved",this)},R.prototype.Li=function(){this.ot=4194304|this.ot},R.prototype.Qi=function(){return(4194304&this.ot)>0},R.prototype.Yi=function(){this.ot=-65537&this.ot},R.prototype.Rt=function(){this.ot=65536|this.ot,this.In("promiseCancelled",this)},R.prototype.Lt=function(){this.ot=8388608|this.ot},R.prototype.Ci=function(){v.hasCustomScheduler()||(this.ot=134217728|this.ot)},R.prototype.Fi=function(t){var n=0===t?this.Ei:this[4*t-4+3];if(n!==s)return void 0===n&&this.kt()?this.dt():n},R.prototype.Gi=function(t){return this[4*t-4+2]},R.prototype.Vi=function(t){return this[4*t-4+0]},R.prototype.Wi=function(t){return this[4*t-4+1]},R.prototype.dt=function(){},R.prototype.Hi=function(t){t.ot;var n=t.Ti,r=t.Di,i=t.Ii,e=t.Fi(0);void 0===e&&(e=s),this.Ri(n,r,i,e,null)},R.prototype.Xi=function(t,n){var r=t.Vi(n),i=t.Wi(n),e=t.Gi(n),u=t.Fi(n);void 0===u&&(u=s),this.Ri(r,i,e,u,null)},R.prototype.Ri=function(t,n,r,i,e){var u=this.Ut();if(u>=65531&&(u=0,this.Bi(0)),0===u)this.Ii=r,this.Ei=i,"function"==typeof t&&(this.Ti=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this.Di=null===e?n:f.domainBind(e,n));else{var o=4*u-4;this[o+2]=r,this[o+3]=i,"function"==typeof t&&(this[o+0]=null===e?t:f.domainBind(e,t)),"function"==typeof n&&(this[o+1]=null===e?n:f.domainBind(e,n))}return this.Bi(u+1),u},R.prototype.Kn=function(t,n){this.Ri(void 0,void 0,n,t,null)},R.prototype.ct=function(t,n){if(0==(117506048&this.ot)){if(t===this)return this.Jn(r(),!1);var i=y(t,this);if(!(i instanceof R))return this.Vn(t);n&&this.vt(i,2);var e=i.wt();if(e!==this){var u=e.ot;if(0==(50397184&u)){var o=this.Ut();o>0&&e.Hi(this);for(var s=1;s<o;++s)e.Xi(this,s);this.Pi(),this.Bi(0),this.Zi(e)}else if(0!=(33554432&u))this.Vn(e.$n());else if(0!=(16777216&u))this.nt(e.ni());else{var f=new d("late cancellation observer");e.Gt(f),this.nt(f)}}else this.nt(r())}},R.prototype.Jn=function(t,n,r){var i=f.ensureErrorObject(t),e=i===t;if(!e&&!r&&b.warnings()){var u="a promise was rejected with a non-error: "+f.classString(t);this.bt(u,!0)}this.Gt(i,!!n&&e),this.nt(t)},R.prototype.Si=function(t){if(t!==p){var n=this;this.pn(),this.Zt();var r=!0,i=this.Dn(t,function(t){n.ct(t)},function(t){n.Jn(t,r)});r=!1,this.qt(),void 0!==i&&n.Jn(i,!0)}},R.prototype.qi=function(t,n,r,i){var e=i.ot;if(0==(65536&e)){var u;i.Zt(),n===w?r&&"number"==typeof r.length?u=N(t).apply(this.dt(),r):(u=A).e=new _("cannot .spread() a non-array: "+f.classString(r)):u=N(t).call(n,r);var o=i.qt();0==(65536&(e=i.ot))&&(u===m?i.nt(r):u===A?i.Jn(u.e,!1):(b.checkForgottenReturns(u,o,"",i,this),i.ct(u)))}},R.prototype.wt=function(){for(var t=this;t.Dt();)t=t.It();return t},R.prototype.It=function(){return this.Di},R.prototype.Zi=function(t){this.Di=t},R.prototype.Ji=function(t,n,r,e){var o=t instanceof R,s=this.ot,f=0!=(134217728&s);0!=(65536&s)?(o&&t.Wt(),r instanceof I&&r.isFinallyHandler()?(r.cancelPromise=t,N(n).call(r,e)===A&&t.nt(A.e)):n===i?t.Vn(i.call(r)):r instanceof u?r.Wn(t):o||t instanceof g?t.zt():r.cancel()):"function"==typeof n?o?(f&&t.Ci(),this.qi(n,r,e,t)):n.call(r,e,t):r instanceof u?r.Fn()||(0!=(33554432&s)?r.Xn(e,t):r.Zn(e,t)):o&&(f&&t.Ci(),0!=(33554432&s)?t.Vn(e):t.nt(e))},R.prototype.zi=function(t){var n=t.handler,r=t.promise,i=t.receiver,e=t.value;"function"==typeof n?r instanceof R?this.qi(n,i,e,r):n.call(i,e,r):r instanceof R&&r.nt(e)},R.prototype.xi=function(t){this.Ji(t.promise,t.handler,t.receiver,t.value)},R.prototype.Ki=function(t,n,r){var i=this.Ii,e=this.Fi(0);this.Ii=void 0,this.Ei=void 0,this.Ji(i,t,e,n)},R.prototype.$i=function(t){var n=4*t-4;this[n+2]=this[n+3]=this[n+0]=this[n+1]=void 0},R.prototype.Vn=function(t){var n=this.ot;if(!((117506048&n)>>>16)){if(t===this){var i=r();return this.Gt(i),this.nt(i)}this.Oi(),this.Di=t,(65535&n)>0&&(0!=(134217728&n)?this.J():v.settlePromises(this),this.Mn())}},R.prototype.nt=function(t){var n=this.ot;if(!((117506048&n)>>>16)){if(this.Ui(),this.Ti=t,this.Qi())return v.fatalError(t,f.isNode);(65535&n)>0?v.settlePromises(this):this.$t()}},R.prototype.ir=function(t,n){for(var r=1;r<t;r++){var i=this.Vi(r),e=this.Gi(r),u=this.Fi(r);this.$i(r),this.Ji(e,i,u,n)}},R.prototype.rr=function(t,n){for(var r=1;r<t;r++){var i=this.Wi(r),e=this.Gi(r),u=this.Fi(r);this.$i(r),this.Ji(e,i,u,n)}},R.prototype.J=function(){var t=this.ot,n=65535&t;if(n>0){if(0!=(16842752&t)){var r=this.Ti;this.Ki(this.Di,r,t),this.rr(n,r)}else{var i=this.Di;this.Ki(this.Ti,i,t),this.ir(n,i)}this.Bi(0)}this.Tn()},R.prototype.dn=function(){var t=this.ot;return 0!=(33554432&t)?this.Di:0!=(16777216&t)?this.Ti:void 0},"undefined"!=typeof Symbol&&Symbol.toStringTag&&a.defineProperty(R.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),R.defer=R.pending=function(){b.deprecated("Promise.defer","new Promise");var t=new R(p);return{promise:t,resolve:D,reject:P}},f.notEnumerableProp(R,"dr",r),t("./method")(R,p,y,e,b),t("./bind")(R,p,y,b),t("./cancel")(R,g,e,b),t("./direct_resolve")(R),t("./synchronous_inspection")(R),t("./join")(R,g,y,p,v,o),R.Promise=R,R.version="3.5.5",t("./call_get.js")(R),t("./generators.js")(R,e,p,y,u,b),t("./map.js")(R,g,e,y,p,b),t("./nodeify.js")(R),t("./promisify.js")(R,p),t("./props.js")(R,g,y,e),t("./race.js")(R,p,y,e),t("./reduce.js")(R,g,e,y,p,b),t("./settle.js")(R,g,b),t("./some.js")(R,g,e),t("./timers.js")(R,p,b),t("./using.js")(R,e,y,S,p,b),t("./any.js")(R),t("./each.js")(R,p),t("./filter.js")(R,p),f.toFastProperties(R),f.toFastProperties(R.prototype),O({a:1}),O({b:2}),O({c:3}),O(1),O(function(){}),O(void 0),O(!1),O(new R(p)),b.setBounds(c.firstLineError,f.lastLineError),R}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36}],23:[function(t,n,r){n.exports=function(n,r,i,e,u){var o=t("./util");function s(t){var i=this.xn=new n(r);t instanceof n&&i.vt(t,3),i.At(this),this.gi=t,this.Ut=0,this.Ai=0,this._init(void 0,-2)}return o.isArray,o.inherits(s,u),s.prototype.length=function(){return this.Ut},s.prototype.promise=function(){return this.xn},s.prototype._init=function t(r,u){var s=i(this.gi,this.xn);if(s instanceof n){var f=(s=s.wt()).ot;if(this.gi=s,0==(50397184&f))return this.xn.Ci(),s.ut(t,this.nt,void 0,this,u);if(0==(33554432&f))return 0!=(16777216&f)?this.nt(s.ni()):this.zt();s=s.$n()}if(null!==(s=o.asArray(s)))0!==s.length?this.gr(s):-5===u?this.wr():this.Mi(function(t){switch(t){case-2:return[];case-3:return{};case-6:return new Map}}(u));else{var a=e("expecting an array or an iterable object but got "+o.classString(s)).reason();this.xn.Jn(a,!1)}},s.prototype.gr=function(t){var r=this.getActualLength(t.length);this.Ut=r,this.gi=this.shouldCopyValues()?new Array(r):this.gi;for(var e=this.xn,u=!1,o=null,s=0;s<r;++s){var f=i(t[s],e);f instanceof n?(f=f.wt(),o=f.ot):o=null,u?null!==o&&f.suppressUnhandledRejections():null!==o?0==(50397184&o)?(f.Kn(this,s),this.gi[s]=f):u=0!=(33554432&o)?this.Xn(f.$n(),s):0!=(16777216&o)?this.Zn(f.ni(),s):this.Wn(s):u=this.Xn(f,s)}u||e.Ci()},s.prototype.Fn=function(){return null===this.gi},s.prototype.Mi=function(t){this.gi=null,this.xn.Vn(t)},s.prototype.zt=function(){!this.Fn()&&this.xn.Nt()&&(this.gi=null,this.xn.zt())},s.prototype.nt=function(t){this.gi=null,this.xn.Jn(t,!1)},s.prototype.Xn=function(t,n){this.gi[n]=t;var r=++this.Ai;return r>=this.Ut&&(this.Mi(this.gi),!0)},s.prototype.Wn=function(){return this.zt(),!0},s.prototype.Zn=function(t){return this.Ai++,this.nt(t),!0},s.prototype._resultCancelled=function(){if(!this.Fn()){var t=this.gi;if(this.zt(),t instanceof n)t.cancel();else for(var r=0;r<t.length;++r)t[r]instanceof n&&t[r].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(t){return t},s}},{"./util":36}],24:[function(t,n,r){n.exports=function(n,r){var i={},e=t("./util"),u=t("./nodeback"),o=e.withAppended,s=e.maybeWrapAsError,f=e.canEvaluate,a=t("./errors").TypeError,c={yr:!0},v=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","yr"].join("|")+")$"),l=function(t){return e.isIdentifier(t)&&"_"!==t.charAt(0)&&"constructor"!==t};function _(t){return!v.test(t)}function d(t){try{return!0===t.yr}catch(t){return!1}}function p(t,n,r){var i=e.getDataPropertyOrDefault(t,n+r,c);return!!i&&d(i)}function w(t,n,r,i){for(var u=e.inheritedDataKeys(t),o=[],s=0;s<u.length;++s){var f=u[s],c=t[f],h=i===l||l(f);"function"!=typeof c||d(c)||p(t,f,n)||!i(f,c,t,h)||o.push(f,c)}return function(t,n,r){for(var i=0;i<t.length;i+=2){var e=t[i];if(r.test(e))for(var u=e.replace(r,""),o=0;o<t.length;o+=2)if(t[o]===u)throw new a("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",n))}}(o,n,r),o}var m=function(t){return t.replace(/([$])/,"\\$")},y=f?void 0:function(t,f,a,c,h,v){var l=function(){return this}(),_=t;function d(){var e=f;f===i&&(e=this);var a=new n(r);a.pn();var c="string"==typeof _&&this!==l?this[_]:t,h=u(a,v);try{c.apply(e,o(arguments,h))}catch(t){a.Jn(s(t),!0,!0)}return a.ji()||a.Ci(),a}return"string"==typeof _&&(t=c),e.notEnumerableProp(d,"yr",!0),d};function g(t,n,r,u,o){for(var s=new RegExp(m(n)+"$"),f=w(t,n,s,r),a=0,c=f.length;a<c;a+=2){var h=f[a],v=f[a+1],l=h+n;if(u===y)t[l]=y(h,i,h,v,n,o);else{var _=u(v,function(){return y(h,i,h,v,n,o)});e.notEnumerableProp(_,"yr",!0),t[l]=_}}return e.toFastProperties(t),t}n.promisify=function(t,n){if("function"!=typeof t)throw new a("expecting a function but got "+e.classString(t));if(d(t))return t;var r=void 0===(n=h(n)).context?i:n.context,u=!!n.multiArgs,o=function(t,n,r){return y(t,n,void 0,t,null,r)}(t,r,u);return e.copyDescriptors(t,o,_),o},n.promisifyAll=function(t,n){if("function"!=typeof t&&"object"!=typeof t)throw new a("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var r=!!(n=h(n)).multiArgs,i=n.suffix;"string"!=typeof i&&(i="Async");var u=n.filter;"function"!=typeof u&&(u=l);var o=n.promisifier;if("function"!=typeof o&&(o=y),!e.isIdentifier(i))throw new RangeError("suffix must be a valid identifier\n\n See http://goo.gl/MqrFmX\n");for(var s=e.inheritedDataKeys(t),f=0;f<s.length;++f){var c=t[s[f]];"constructor"!==s[f]&&e.isClass(c)&&(g(c.prototype,i,u,o,r),g(c,i,u,o,r))}return g(t,i,u,o,r)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(t,n,r){n.exports=function(n,r,i,e){var u,o=t("./util"),s=o.isObject,f=t("./es5");"function"==typeof Map&&(u=Map);var a=function(){var t=0,n=0;function r(r,i){this[t]=r,this[t+n]=i,t++}return function(i){n=i.size,t=0;var e=new Array(2*i.size);return i.forEach(r,e),e}}();function c(t){var n,r=!1;if(void 0!==u&&t instanceof u)n=a(t),r=!0;else{var i=f.keys(t),e=i.length;n=new Array(2*e);for(var o=0;o<e;++o){var s=i[o];n[o]=t[s],n[o+e]=s}}this.constructor$(n),this.Ar=r,this._init$(void 0,r?-6:-3)}function h(t){var r,u=i(t);return s(u)?(r=u instanceof n?u.ut(n.props,void 0,void 0,void 0,void 0):new c(u).promise(),u instanceof n&&r.vt(u,2),r):e("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}o.inherits(c,r),c.prototype._init=function(){},c.prototype.Xn=function(t,n){this.gi[n]=t;var r=++this.Ai;if(r>=this.Ut){var i;if(this.Ar)i=function(t){for(var n=new u,r=t.length/2|0,i=0;i<r;++i){var e=t[r+i],o=t[i];n.set(e,o)}return n}(this.gi);else{i={};for(var e=this.length(),o=0,s=this.length();o<s;++o)i[this.gi[o+e]]=this.gi[o]}return this.Mi(i),!0}return!1},c.prototype.shouldCopyValues=function(){return!1},c.prototype.getActualLength=function(t){return t>>1},n.prototype.props=function(){return h(this)},n.props=function(t){return h(t)}}},{"./es5":13,"./util":36}],26:[function(t,n,r){function i(t){this._r=t,this.Ut=0,this.Mr=0}i.prototype.Nr=function(t){return this._r<t},i.prototype.q=function(t){var n=this.length();this.Tr(n+1);var r=this.Mr+n&this._r-1;this[r]=t,this.Ut=n+1},i.prototype.push=function(t,n,r){var i=this.length()+3;if(this.Nr(i))return this.q(t),this.q(n),void this.q(r);var e=this.Mr+i-3;this.Tr(i);var u=this._r-1;this[e+0&u]=t,this[e+1&u]=n,this[e+2&u]=r,this.Ut=i},i.prototype.shift=function(){var t=this.Mr,n=this[t];return this[t]=void 0,this.Mr=t+1&this._r-1,this.Ut--,n},i.prototype.length=function(){return this.Ut},i.prototype.Tr=function(t){this._r<t&&this.Dr(this._r<<1)},i.prototype.Dr=function(t){var n=this._r;this._r=t;var r=this.Mr,i=this.Ut,e=r+i&n-1;!function(t,n,r,i,e){for(var u=0;u<e;++u)r[u+i]=t[u+n],t[u+n]=void 0}(this,0,this,n,e)},n.exports=i},{}],27:[function(t,n,r){n.exports=function(n,r,i,e){var u=t("./util"),o=function(t){return t.then(function(n){return s(n,t)})};function s(t,s){var f=i(t);if(f instanceof n)return o(f);if(null===(t=u.asArray(t)))return e("expecting an array or an iterable object but got "+u.classString(t));var a=new n(r);void 0!==s&&a.vt(s,3);for(var c=a.Vn,h=a.nt,v=0,l=t.length;v<l;++v){var _=t[v];(void 0!==_||v in t)&&n.cast(_).ut(c,h,void 0,a,null)}return a}n.race=function(t){return s(t,void 0)},n.prototype.race=function(){return s(this,void 0)}}},{"./util":36}],28:[function(t,n,r){n.exports=function(n,r,i,e,u,o){var s=n.Kt,f=t("./util"),a=f.tryCatch;function c(t,r,i,e){this.constructor$(t);var o=s();this._fn=null===o?r:f.domainBind(o,r),void 0!==i&&(i=n.resolve(i)).Nn(this),this.Er=i,this.Sr=null,this.Lr=e===u?Array(this.Ut):0===e?null:void 0,this.xn.pn(),this._init$(void 0,-5)}function h(t,n){this.isFulfilled()?n.Mi(t):n.nt(t)}function v(t,n,r,e){if("function"!=typeof n)return i("expecting a function but got "+f.classString(n));var u=new c(t,n,r,e);return u.promise()}function l(t){this.accum=t,this.array.jr(t);var r=e(this.value,this.array.xn);return r instanceof n?(this.array.Sr=r,r.ut(_,void 0,void 0,this,void 0)):_.call(this,r)}function _(t){var r,i=this.array,e=i.xn,u=a(i._fn);e.Zt(),(r=void 0!==i.Lr?u.call(e.dt(),t,this.index,this.length):u.call(e.dt(),this.accum,t,this.index,this.length))instanceof n&&(i.Sr=r);var s=e.qt();return o.checkForgottenReturns(r,s,void 0!==i.Lr?"Promise.each":"Promise.reduce",e),r}f.inherits(c,r),c.prototype.jr=function(t){void 0!==this.Lr&&null!==this.Lr&&t!==u&&this.Lr.push(t)},c.prototype.Cr=function(t){return null!==this.Lr&&this.Lr.push(t),this.Lr},c.prototype._init=function(){},c.prototype.wr=function(){this.Mi(void 0!==this.Lr?this.Lr:this.Er)},c.prototype.shouldCopyValues=function(){return!1},c.prototype.Mi=function(t){this.xn.ct(t),this.gi=null},c.prototype._resultCancelled=function(t){if(t===this.Er)return this.zt();this.Fn()||(this._resultCancelled$(),this.Sr instanceof n&&this.Sr.cancel(),this.Er instanceof n&&this.Er.cancel())},c.prototype.gr=function(t){var r,i;this.gi=t;var e=t.length;if(void 0!==this.Er?(r=this.Er,i=0):(r=n.resolve(t[0]),i=1),this.Sr=r,!r.isRejected())for(;i<e;++i){var u={accum:null,value:t[i],index:i,length:e,array:this};r=r.ut(l,void 0,void 0,u,void 0)}void 0!==this.Lr&&(r=r.ut(this.Cr,void 0,void 0,this,void 0)),r.ut(h,h,void 0,r,this)},n.prototype.reduce=function(t,n){return v(this,t,n,null)},n.reduce=function(t,n,r,i){return v(t,n,r,i)}}},{"./util":36}],29:[function(t,n,e){var o,s,f,c,h,v=t("./util"),l=v.getNativePromise();if(v.isNode&&"undefined"==typeof MutationObserver){var _=w.setImmediate,d=process.nextTick;o=v.isRecentNode?function(t){_.call(w,t)}:function(t){d.call(process,t)}}else if("function"==typeof l&&"function"==typeof l.resolve){var p=l.resolve();o=function(t){p.then(t)}}else o="undefined"!=typeof MutationObserver&&(void 0===r||!r.navigator||!r.navigator.standalone&&!r.cordova)&&"classList"in i.documentElement?(s=i.createElement("div"),f={attributes:!0},c=!1,h=i.createElement("div"),new MutationObserver(function(){s.classList.toggle("foo"),c=!1}).observe(h,f),function(t){var n=new MutationObserver(function(){n.disconnect(),t()});n.observe(s,f),c||(c=!0,h.classList.toggle("foo"))}):"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:void 0!==u?function(t){u(t,0)}:function(){throw new a("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};n.exports=o},{"./util":36}],30:[function(t,n,r){n.exports=function(n,r,i){var e=n.PromiseInspection,u=t("./util");function o(t){this.constructor$(t)}u.inherits(o,r),o.prototype.Or=function(t,n){this.gi[t]=n;var r=++this.Ai;return r>=this.Ut&&(this.Mi(this.gi),!0)},o.prototype.Xn=function(t,n){var r=new e;return r.ot=33554432,r.xr=t,this.Or(n,r)},o.prototype.Zn=function(t,n){var r=new e;return r.ot=16777216,r.xr=t,this.Or(n,r)},n.settle=function(t){return i.deprecated(".settle()",".reflect()"),new o(t).promise()},n.prototype.settle=function(){return n.settle(this)}}},{"./util":36}],31:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),u=t("./errors").RangeError,o=t("./errors").AggregateError,s=e.isArray,f={};function a(t){this.constructor$(t),this.zr=0,this.Rr=!1,this.Br=!1}function c(t,n){if((0|n)!==n||n<0)return i("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var r=new a(t),e=r.promise();return r.setHowMany(n),r.init(),e}e.inherits(a,r),a.prototype._init=function(){if(this.Br)if(0!==this.zr){this._init$(void 0,-5);var t=s(this.gi);!this.Fn()&&t&&this.zr>this.Ur()&&this.nt(this.Pr(this.length()))}else this.Mi([])},a.prototype.init=function(){this.Br=!0,this._init()},a.prototype.setUnwrap=function(){this.Rr=!0},a.prototype.howMany=function(){return this.zr},a.prototype.setHowMany=function(t){this.zr=t},a.prototype.Xn=function(t){return this.Qr(t),this.Yr()===this.howMany()&&(this.gi.length=this.howMany(),1===this.howMany()&&this.Rr?this.Mi(this.gi[0]):this.Mi(this.gi),!0)},a.prototype.Zn=function(t){return this.Fr(t),this.Gr()},a.prototype.Wn=function(){return this.gi instanceof n||null==this.gi?this.zt():(this.Fr(f),this.Gr())},a.prototype.Gr=function(){if(this.howMany()>this.Ur()){for(var t=new o,n=this.length();n<this.gi.length;++n)this.gi[n]!==f&&t.push(this.gi[n]);return t.length>0?this.nt(t):this.zt(),!0}return!1},a.prototype.Yr=function(){return this.Ai},a.prototype.Vr=function(){return this.gi.length-this.length()},a.prototype.Fr=function(t){this.gi.push(t)},a.prototype.Qr=function(t){this.gi[this.Ai++]=t},a.prototype.Ur=function(){return this.length()-this.Vr()},a.prototype.Pr=function(t){var n="Input array must contain at least "+this.zr+" items but contains only "+t+" items";return new u(n)},a.prototype.wr=function(){this.nt(this.Pr(0))},n.some=function(t,n){return c(t,n)},n.prototype.some=function(t){return c(this,t)},n.g=a}},{"./errors":12,"./util":36}],32:[function(t,n,r){n.exports=function(t){function n(t){void 0!==t?(t=t.wt(),this.ot=t.ot,this.xr=t.ji()?t.dn():void 0):(this.ot=0,this.xr=void 0)}n.prototype.dn=function(){return this.xr};var r=n.prototype.value=function(){if(!this.isFulfilled())throw new c("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this.dn()},i=n.prototype.error=n.prototype.reason=function(){if(!this.isRejected())throw new c("cannot get rejection reason of a non-rejected promise\n\n See http://goo.gl/MqrFmX\n");return this.dn()},e=n.prototype.isFulfilled=function(){return 0!=(33554432&this.ot)},u=n.prototype.isRejected=function(){return 0!=(16777216&this.ot)},o=n.prototype.isPending=function(){return 0==(50397184&this.ot)},s=n.prototype.isResolved=function(){return 0!=(50331648&this.ot)};n.prototype.isCancelled=function(){return 0!=(8454144&this.ot)},t.prototype.Wr=function(){return 65536==(65536&this.ot)},t.prototype.Yt=function(){return this.wt().Wr()},t.prototype.isCancelled=function(){return 0!=(8454144&this.wt().ot)},t.prototype.isPending=function(){return o.call(this.wt())},t.prototype.isRejected=function(){return u.call(this.wt())},t.prototype.isFulfilled=function(){return e.call(this.wt())},t.prototype.isResolved=function(){return s.call(this.wt())},t.prototype.value=function(){return r.call(this.wt())},t.prototype.reason=function(){var t=this.wt();return t._n(),i.call(t)},t.prototype.$n=function(){return this.dn()},t.prototype.ni=function(){return this._n(),this.dn()},t.PromiseInspection=n}},{}],33:[function(t,n,r){n.exports=function(n,r){var i=t("./util"),e=i.errorObj,u=i.isObject,o={}.hasOwnProperty;return function(t,s){if(u(t)){if(t instanceof n)return t;var f=function(t){try{return function(t){return t.then}(t)}catch(t){return e.e=t,e}}(t);if(f===e){s&&s.Zt();var a=n.reject(f.e);return s&&s.qt(),a}if("function"==typeof f){if(function(t){try{return o.call(t,"Ii")}catch(t){return!1}}(t)){var a=new n(r);return t.ut(a.Vn,a.nt,void 0,a,null),a}return function(t,u,o){var s=new n(r),f=s;o&&o.Zt(),s.pn(),o&&o.qt();var a=!0,c=i.tryCatch(u).call(t,function(t){s&&(s.ct(t),s=null)},function(t){s&&(s.Jn(t,a,!0),s=null)});return a=!1,s&&c===e&&(s.Jn(c.e,!0,!0),s=null),f}(t,f,s)}}return t}}},{"./util":36}],34:[function(t,n,r){n.exports=function(n,r,i){var e=t("./util"),s=n.TimeoutError;function f(t){this.handle=t}f.prototype._resultCancelled=function(){o(this.handle)};var c=function(t){return h(+this).thenReturn(t)},h=n.delay=function(t,e){var o,s;return void 0!==e?(o=n.resolve(e).ut(c,null,null,t,void 0),i.cancellation()&&e instanceof n&&o.At(e)):(o=new n(r),s=u(function(){o.Vn()},+t),i.cancellation()&&o.At(new f(s)),o.pn()),o.Ci(),o};function v(t){return o(this.handle),t}function l(t){throw o(this.handle),t}n.prototype.delay=function(t){return h(t,this)},n.prototype.timeout=function(t,n){var r,o,c=new f(u(function(){r.isPending()&&function(t,n,r){var i;i="string"!=typeof n?n instanceof a?n:new s("operation timed out"):new s(n),e.markAsOriginatingFromRejection(i),t.Gt(i),t.nt(i),null!=r&&r.cancel()}(r,n,o)},t=+t));return i.cancellation()?(o=this.then(),(r=o.ut(v,l,void 0,c,void 0)).At(c)):r=this.ut(v,l,void 0,c,void 0),r}}},{"./util":36}],35:[function(t,n,r){n.exports=function(n,r,i,e,o,s){var f=t("./util"),a=t("./errors").TypeError,c=t("./util").inherits,h=f.errorObj,v=f.tryCatch,l={};function _(t){u(function(){throw t},0)}function d(t,r){var e=0,u=t.length,s=new n(o);return function o(){if(e>=u)return s.Vn();var f=function(t){var n=i(t);return n!==t&&"function"==typeof t.Hr&&"function"==typeof t.Xr&&t.Hr()&&n.Zr(t.Xr()),n}(t[e++]);if(f instanceof n&&f.Hr()){try{f=i(f.Xr().tryDispose(r),t.promise)}catch(t){return _(t)}if(f instanceof n)return f.ut(o,_,null,null,null)}o()}(),s}function p(t,n,r){this.qr=t,this.xn=n,this.Jr=r}function w(t,n,r){this.constructor$(t,n,r)}function m(t){return p.isDisposer(t)?(this.resources[this.index].Zr(t),t.promise()):t}function y(t){this.length=t,this.promise=null,this[t-1]=null}p.prototype.data=function(){return this.qr},p.prototype.promise=function(){return this.xn},p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():l},p.prototype.tryDispose=function(t){var n=this.resource(),r=this.Jr;void 0!==r&&r.Zt();var i=n!==l?this.doDispose(n,t):null;return void 0!==r&&r.qt(),this.xn.Kr(),this.qr=null,i},p.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},c(w,p),w.prototype.doDispose=function(t,n){var r=this.data();return r.call(t,t,n)},y.prototype._resultCancelled=function(){for(var t=this.length,r=0;r<t;++r){var i=this[r];i instanceof n&&i.cancel()}},n.using=function(){var t=arguments.length;if(t<2)return r("you must pass at least 2 arguments to Promise.using");var e,u=arguments[t-1];if("function"!=typeof u)return r("expecting a function but got "+f.classString(u));var o=!0;2===t&&Array.isArray(arguments[0])?(e=arguments[0],t=e.length,o=!1):(e=arguments,t--);for(var a=new y(t),c=0;c<t;++c){var l=e[c];if(p.isDisposer(l)){var _=l;(l=l.promise()).Zr(_)}else{var w=i(l);w instanceof n&&(l=w.ut(m,null,null,{resources:a,index:c},void 0))}a[c]=l}for(var g=new Array(a.length),c=0;c<g.length;++c)g[c]=n.resolve(a[c]).reflect();var E=n.all(g).then(function(t){for(var n=0;n<t.length;++n){var r=t[n];if(r.isRejected())return h.e=r.error(),h;if(!r.isFulfilled())return void E.cancel();t[n]=r.value()}S.Zt(),u=v(u);var i=o?u.apply(void 0,t):u(t),e=S.qt();return s.checkForgottenReturns(i,e,"Promise.using",S),i}),S=E.lastly(function(){var t=new n.PromiseInspection(E);return d(a,t)});return a.promise=S,S.At(a),S},n.prototype.Zr=function(t){this.ot=131072|this.ot,this.$r=t},n.prototype.Hr=function(){return(131072&this.ot)>0},n.prototype.Xr=function(){return this.$r},n.prototype.Kr=function(){this.ot=-131073&this.ot,this.$r=void 0},n.prototype.disposer=function(t){if("function"==typeof t)return new w(t,this,e());throw new a}}},{"./errors":12,"./util":36}],36:[function(n,i,u){var o,s=n("./es5"),f=void 0===e,c={e:{}},v=void 0!==t?t:void 0!==r?r:void 0!==w?w:void 0!==this?this:null;function l(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return c.e=t,c}}function _(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function d(t,n,r){if(_(t))return t;var i={value:r,configurable:!0,enumerable:!1,writable:!0};return s.defineProperty(t,n,i),t}var p=function(){var t=[Array.prototype,h.prototype,Function.prototype],n=function(n){for(var r=0;r<t.length;++r)if(t[r]===n)return!0;return!1};if(s.isES5){var r=h.getOwnPropertyNames;return function(t){for(var i=[],e=h.create(null);null!=t&&!n(t);){var u;try{u=r(t)}catch(t){return i}for(var o=0;o<u.length;++o){var f=u[o];if(!e[f]){e[f]=!0;var a=h.getOwnPropertyDescriptor(t,f);null!=a&&null==a.get&&null==a.set&&i.push(f)}}t=s.getPrototypeOf(t)}return i}}var i={}.hasOwnProperty;return function(r){if(n(r))return[];var e=[];t:for(var u in r)if(i.call(r,u))e.push(u);else{for(var o=0;o<t.length;++o)if(i.call(t[o],u))continue t;e.push(u)}return e}}(),m=/this\s*\.\s*\S+\s*=/,y=/^[a-z$_][a-z$_0-9]*$/i;function g(t){try{return t+""}catch(t){return"[no string representation]"}}function E(t){return t instanceof a||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function S(t){return E(t)&&s.propertyIsWritable(t,"stack")}var b="stack"in new a?function(t){return S(t)?t:new a(g(t))}:function(t){if(S(t))return t;try{throw new a(g(t))}catch(t){return t}};function I(t){return{}.toString.call(t)}var T=function(t){return s.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var k="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var n,r=[],i=t[Symbol.iterator]();!(n=i.next()).done;)r.push(n.value);return r};T=function(t){return s.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?k(t):null}}var A,N="undefined"!=typeof process&&"[object process]"===I(process).toLowerCase(),R="undefined"!=typeof process&&void 0!==process.env,D={isClass:function(t){try{if("function"==typeof t){var n=s.names(t.prototype),r=s.isES5&&n.length>1,i=n.length>0&&!(1===n.length&&"constructor"===n[0]),e=m.test(t+"")&&s.names(t).length>0;if(r||i||e)return!0}return!1}catch(t){return!1}},isIdentifier:function(t){return y.test(t)},inheritedDataKeys:p,getDataPropertyOrDefault:function(t,n,r){if(!s.isES5)return{}.hasOwnProperty.call(t,n)?t[n]:void 0;var i=h.getOwnPropertyDescriptor(t,n);return null!=i?null==i.get&&null==i.set?i.value:r:void 0},thrower:function(t){throw t},isArray:s.isArray,asArray:T,notEnumerableProp:d,isPrimitive:_,isObject:function(t){return"function"==typeof t||"object"==typeof t&&null!==t},isError:E,canEvaluate:f,errorObj:c,tryCatch:function(t){return o=t,l},inherits:function(t,n){var r={}.hasOwnProperty;function i(){for(var i in this.constructor=t,this.constructor$=n,n.prototype)r.call(n.prototype,i)&&"$"!==i.charAt(i.length-1)&&(this[i+"$"]=n.prototype[i])}return i.prototype=n.prototype,t.prototype=new i,t.prototype},withAppended:function(t,n){var r,i=t.length,e=new Array(i+1);for(r=0;r<i;++r)e[r]=t[r];return e[r]=n,e},maybeWrapAsError:function(t){return _(t)?new a(g(t)):t},toFastProperties:function(t){return t},filledRange:function(t,n,r){for(var i=new Array(t),e=0;e<t;++e)i[e]=n+e+r;return i},toString:g,canAttachTrace:S,ensureErrorObject:b,originatesFromRejection:function(t){return null!=t&&(t instanceof a.jn.OperationalError||!0===t.isOperational)},markAsOriginatingFromRejection:function(t){try{d(t,"isOperational",!0)}catch(t){}},classString:I,copyDescriptors:function(t,n,r){for(var i=s.names(t),e=0;e<i.length;++e){var u=i[e];if(r(u))try{s.defineProperty(n,u,s.getDescriptor(t,u))}catch(t){}}},hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:N,hasEnvVariables:R,env:function(t){return R?process.env[t]:void 0},global:v,getNativePromise:function(){if("function"==typeof Promise)try{var t=new Promise(function(){});if("[object Promise]"==={}.toString.call(t))return Promise}catch(t){}},domainBind:function(t,n){return t.bind(n)}};D.isRecentNode=D.isNode&&(process.versions&&process.versions.node?A=process.versions.node.split(".").map(Number):process.version&&(A=process.version.split(".").map(Number)),0===A[0]&&A[1]>10||A[0]>0),D.isNode&&D.toFastProperties(process);try{throw new a}catch(t){D.lastLineError=t}i.exports=D},{"./es5":13}]},{},[4])(4),null!=r?r.P=r.Promise:null!=t&&(t.P=t.Promise)});var g,E=function(){};(g=y)&&g.config({warnings:!1,longStackTraces:!1});var S,b,I,T,k,A;g&&(T=g.setScheduler(E),S=T,k={fe:function(t){b=t,S(I)},we:I=function(){var t=b;t&&(b=void 0,t())}},g.setScheduler(k.fe));function N(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function R(t,n,r){return n&&N(t.prototype,n),r&&N(t,r),t}function D(t,n){return(D=h.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function P(t,n){t.prototype=h.create(n.prototype),t.prototype.constructor=t,D(t,n)}!function(t){t.ye="web",t.Ae="android",t._e="android-tv",t.pe="ios",t.ke="tvos",t.me="chromecast"}(A||(A={}));var O=e?e.userAgent:"",C=O.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),F=O.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),L=O.match(/Android ([0-9\.]+)/i),M=O.match(/Windows NT ([0-9\.]+)/i),x=O.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),B=O.match(/Firefox\/([0-9\.]+)/i),j=O.match(/OPR\/(\d+\.\d+)/i),U=O.match(/Tizen ([0-9\.]+)/i),H=function(){function n(){this.Me=Boolean("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.Ne=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(O)||/(macintosh|mac(?=_powerpc)\s)/i.test(O),this.Te=/Windows NT/i.test(O),this.De=M?_(M[1]):0,this.Ie=/Android/i.test(O),this.Ee=L?_(L[1]):0,this.Se=/windows phone (8|8\.1)/i.test(O),this.Le=/iPhone/i.test(O),this.je=/iPad/i.test(O),this.Ce=this.Ne&&this.Me&&!this.je,this.Oe=/iPod/i.test(O),this.xe=/Mobile Safari/i.test(O),this.ze=/EOSSTB/i.test(O),this.Re=(this.Le||this.je||this.Ce||this.Oe)&&!this.Se,this.Be=this.Se||this.Re||this.Ie||this.xe,this.Ue=/CriOS/i.test(O),this.Pe=Boolean(t.chrome&&/google/i.test(e.vendor))||this.Ue,this.Qe=this.Pe&&/Edg\//i.test(e.userAgent),this.Ye=F?l(F[1],10):0,this.Fe=Boolean(t.chrome||/Chrome/i.test(O)||/CriOS/i.test(O)),this.Ge=C?l(C[1],10):0,this.Ve=/SMART-TV.*Tizen/i.test(O),this.We=U?_(U[1]):0,this.He=/webos|web0s/i.test(O),this.Xe=/Edge\/\d+/i.test(O),this.Ze=/Trident/i.test(O),this.qe=this.Ze&&!t.ActiveXObject&&"ActiveXObject"in t,this.Je=/Vivaldi/i.test(O),this.Ke=/Firefox/i.test(O)&&!/Seamonkey/i.test(O),this.$e=B?_(B[1]):0,this.ns=/Safari/i.test(O)&&!/Chrome/i.test(O)&&!this.Se&&!this.Ve,this.rs=x?_(x[2]):0,this.us=Boolean(j),this.hs=j?_(j[1]):0,this.fs=/CrKey/.test(O),this.vs=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(O),this.ds="web"===A._e,this.ls="web"===A.Ae,this.gs=this.ls||this.ds,this.ys="web"===A.pe,this.As="web"===A.ke,this._s="web"===A.me}return R(n,[{key:"Ms",get:function(){return this.Me}},{key:"Ns",get:function(){return this.Ne}},{key:"Ts",get:function(){return this.Te}},{key:"Ds",get:function(){return this.De}},{key:"Is",get:function(){return this.Ie}},{key:"Es",get:function(){return this.Ee}},{key:"Ss",get:function(){return this.Se}},{key:"Ls",get:function(){return this.Le}},{key:"Cs",get:function(){return this.je}},{key:"Os",get:function(){return this.Ce}},{key:"xs",get:function(){return this.Oe}},{key:"zs",get:function(){return this.Re}},{key:"Rs",get:function(){return this.ze}},{key:"Bs",get:function(){return this.xe}},{key:"Us",get:function(){return this.Be}},{key:"Ps",get:function(){return this.Ue}},{key:"Qs",get:function(){return this.Pe}},{key:"Ys",get:function(){return this.Ge}},{key:"Fs",get:function(){return this.Qe}},{key:"Gs",get:function(){return this.Ye}},{key:"Vs",get:function(){return this.Ve}},{key:"Ws",get:function(){return this.We}},{key:"Hs",get:function(){return this.He}},{key:"Xs",get:function(){return this.Xe}},{key:"Zs",get:function(){return this.Ze}},{key:"qs",get:function(){return this.qe}},{key:"Js",get:function(){return this.Je}},{key:"Ks",get:function(){return this.Ke}},{key:"$s",get:function(){return this.$e}},{key:"tu",get:function(){return this.ns}},{key:"nu",get:function(){return this.rs}},{key:"uu",get:function(){return this.us}},{key:"ou",get:function(){return this.hs}},{key:"au",get:function(){return this.fs}},{key:"fu",get:function(){return this.vs}},{key:"vu",get:function(){if(!(this.Hs||this.Vs))return!1;var t=this.Ys;return void 0===t||Number(t)<56}},{key:"du",get:function(){return this.ds}},{key:"wu",get:function(){return this.ls}},{key:"yu",get:function(){return this.gs}},{key:"Au",get:function(){return this.ys}},{key:"_u",get:function(){return this.As}},{key:"pu",get:function(){return this._s}},{key:"mu",get:function(){return this.Fe}}]),n}();H.Mu=new H;var G=H.Mu;function W(t){return null!=t}var V=!(G.Zs&&!G.qs),X=t.console;function q(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function z(t){return t.map(q).join(" ")}function Y(t){var n=X&&X[t];return n?n.bind&&V?n.bind(X):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];X[t](z(r))}:void 0}var K,$=Y("log")||E,Z=Y("warn")||$.bind(void 0,"WARNING:"),J=Y("error")||$.bind(void 0,"ERROR:"),Q=(K=X&&X.assert)?K.bind&&V?K.bind(X):function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];X.assert(t,z(r))}:function(t){if(!t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];J.apply(void 0,["Assertion failed:"].concat(r))}},tt=rt,nt=null;try{nt=new WebAssembly.Instance(new WebAssembly.Module(new p([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function rt(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function it(t){return!0===(t&&t.bu)}rt.prototype.bu,h.defineProperty(rt.prototype,"bu",{value:!0}),rt.isLong=it;var et={},ut={};function ot(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=ut[t])?i:(r=ft(t,(0|t)<0?-1:0,!0),e&&(ut[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=et[t])?i:(r=ft(t,t<0?-1:0,!1),e&&(et[t]=r),r)}function st(t,n){if(d(t))return n?wt:pt;if(n){if(t<0)return wt;if(t>=lt)return St}else{if(t<=-_t)return bt;if(t+1>=_t)return Et}return t<0?st(-t,n).neg():ft(t%vt|0,t/vt|0,n)}function ft(t,n,r){return new rt(t,n,r)}rt.fromInt=ot,rt.fromNumber=st,rt.fromBits=ft;var at=v.pow;function ct(t,n,r){if(0===t.length)throw a("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return pt;if("number"==typeof n?(r=n,n=!1):n=!!n,(r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw a("interior hyphen");if(0===i)return ct(t.substring(1),n,r).neg();for(var e=st(at(r,8)),u=pt,o=0;o<t.length;o+=8){var s=v.min(8,t.length-o),f=l(t.substring(o,o+s),r);if(s<8){var c=st(at(r,s));u=u.mul(c).add(st(f))}else u=(u=u.mul(e)).add(st(f))}return u.unsigned=n,u}function ht(t,n){return"number"==typeof t?st(t,n):"string"==typeof t?ct(t,n):ft(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}rt.fromString=ct,rt.fromValue=ht;var vt=4294967296,lt=vt*vt,_t=lt/2,dt=ot(1<<24),pt=ot(0);rt.ZERO=pt;var wt=ot(0,!0);rt.UZERO=wt;var mt=ot(1);rt.ONE=mt;var yt=ot(1,!0);rt.UONE=yt;var gt=ot(-1);rt.NEG_ONE=gt;var Et=ft(-1,2147483647,!1);rt.MAX_VALUE=Et;var St=ft(-1,-1,!0);rt.MAX_UNSIGNED_VALUE=St;var bt=ft(0,-2147483648,!1);rt.MIN_VALUE=bt;var It=rt.prototype;It.toInt=function(){return this.unsigned?this.low>>>0:this.low},It.toNumber=function(){return this.unsigned?(this.high>>>0)*vt+(this.low>>>0):this.high*vt+(this.low>>>0)},It.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(bt)){var n=st(t),r=this.div(n),i=r.mul(n).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=st(at(t,6),this.unsigned),u=this,o="";;){var s=u.div(e),f=(u.sub(s.mul(e)).toInt()>>>0).toString(t);if((u=s).isZero())return f+o;for(;f.length<6;)f="0"+f;o=""+f+o}},It.getHighBits=function(){return this.high},It.getHighBitsUnsigned=function(){return this.high>>>0},It.getLowBits=function(){return this.low},It.getLowBitsUnsigned=function(){return this.low>>>0},It.getNumBitsAbs=function(){if(this.isNegative())return this.eq(bt)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&0==(t&1<<n);n--);return 0!=this.high?n+33:n+1},It.isZero=function(){return 0===this.high&&0===this.low},It.eqz=It.isZero,It.isNegative=function(){return!this.unsigned&&this.high<0},It.isPositive=function(){return this.unsigned||this.high>=0},It.isOdd=function(){return 1==(1&this.low)},It.isEven=function(){return 0==(1&this.low)},It.equals=function(t){return it(t)||(t=ht(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},It.eq=It.equals,It.notEquals=function(t){return!this.eq(t)},It.neq=It.notEquals,It.ne=It.notEquals,It.lessThan=function(t){return this.comp(t)<0},It.lt=It.lessThan,It.lessThanOrEqual=function(t){return this.comp(t)<=0},It.lte=It.lessThanOrEqual,It.le=It.lessThanOrEqual,It.greaterThan=function(t){return this.comp(t)>0},It.gt=It.greaterThan,It.greaterThanOrEqual=function(t){return this.comp(t)>=0},It.gte=It.greaterThanOrEqual,It.ge=It.greaterThanOrEqual,It.compare=function(t){if(it(t)||(t=ht(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},It.comp=It.compare,It.negate=function(){return!this.unsigned&&this.eq(bt)?bt:this.not().add(mt)},It.neg=It.negate,It.add=function(t){it(t)||(t=ht(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=0,a=0,c=0,h=0;return c+=(h+=e+(65535&t.low))>>>16,a+=(c+=i+s)>>>16,f+=(a+=r+o)>>>16,f+=n+u,ft((c&=65535)<<16|(h&=65535),(f&=65535)<<16|(a&=65535),this.unsigned)},It.subtract=function(t){return it(t)||(t=ht(t)),this.add(t.neg())},It.sub=It.subtract,It.multiply=function(t){if(this.isZero())return pt;if(it(t)||(t=ht(t)),nt)return ft(nt.mul(this.low,this.high,t.low,t.high),nt.get_high(),this.unsigned);if(t.isZero())return pt;if(this.eq(bt))return t.isOdd()?bt:pt;if(t.eq(bt))return this.isOdd()?bt:pt;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(dt)&&t.lt(dt))return st(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=65535&t.low,a=0,c=0,h=0,v=0;return h+=(v+=e*f)>>>16,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=e*s)>>>16,a+=(c+=r*f)>>>16,c&=65535,a+=(c+=i*s)>>>16,c&=65535,a+=(c+=e*o)>>>16,a+=n*f+r*s+i*o+e*u,ft((h&=65535)<<16|(v&=65535),(a&=65535)<<16|(c&=65535),this.unsigned)},It.mul=It.multiply,It.divide=function(t){if(it(t)||(t=ht(t)),t.isZero())throw a("division by zero");var n,r,i;if(nt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?ft((this.unsigned?nt.div_u:nt.div_s)(this.low,this.high,t.low,t.high),nt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?wt:pt;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return wt;if(t.gt(this.shru(1)))return yt;i=wt}else{if(this.eq(bt))return t.eq(mt)||t.eq(gt)?bt:t.eq(bt)?mt:(n=this.shr(1).div(t).shl(1)).eq(pt)?t.isNegative()?mt:gt:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(bt))return this.unsigned?wt:pt;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=pt}for(r=this;r.gte(t);){n=v.max(1,v.floor(r.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:at(2,e-48),o=st(n),s=o.mul(t);s.isNegative()||s.gt(r);)s=(o=st(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=mt),i=i.add(o),r=r.sub(s)}return i},It.div=It.divide,It.modulo=function(t){return it(t)||(t=ht(t)),nt?ft((this.unsigned?nt.rem_u:nt.rem_s)(this.low,this.high,t.low,t.high),nt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},It.mod=It.modulo,It.rem=It.modulo,It.not=function(){return ft(~this.low,~this.high,this.unsigned)},It.and=function(t){return it(t)||(t=ht(t)),ft(this.low&t.low,this.high&t.high,this.unsigned)},It.or=function(t){return it(t)||(t=ht(t)),ft(this.low|t.low,this.high|t.high,this.unsigned)},It.xor=function(t){return it(t)||(t=ht(t)),ft(this.low^t.low,this.high^t.high,this.unsigned)},It.shiftLeft=function(t){return it(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?ft(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):ft(0,this.low<<t-32,this.unsigned)},It.shl=It.shiftLeft,It.shiftRight=function(t){return it(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?ft(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):ft(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},It.shr=It.shiftRight,It.shiftRightUnsigned=function(t){if(it(t)&&(t=t.toInt()),0===(t&=63))return this;var n=this.high;return t<32?ft(this.low>>>t|n<<32-t,n>>>t,this.unsigned):ft(32===t?n:n>>>t-32,0,this.unsigned)},It.shru=It.shiftRightUnsigned,It.shr_u=It.shiftRightUnsigned,It.toSigned=function(){return this.unsigned?ft(this.low,this.high,!1):this},It.toUnsigned=function(){return this.unsigned?this:ft(this.low,this.high,!0)},It.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},It.toBytesLE=function(){var t=this.high,n=this.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},It.toBytesBE=function(){var t=this.high,n=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]},rt.fromBytes=function(t,n,r){return r?rt.fromBytesLE(t,n):rt.fromBytesBE(t,n)},rt.fromBytesLE=function(t,n){return new rt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},rt.fromBytesBE=function(t,n){return new rt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var Tt=tt,kt=v.pow(2,-52);function At(t,n){for(var r=t,i=n;0!==i;){var e=r%i;r=i,i=e}return r<0?-r:r}function Nt(){return Date.now()||(new Date).getTime()}var Rt;Tt.fromNumber(9007199254740991);!function(t){t[t.Tu=1]="Tu",t[t.Iu=2]="Iu",t[t.Du=3]="Du",t[t.Eu=4]="Eu",t[t.Su=9]="Su"}(Rt||(Rt={}));var Dt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a.apply(this,n)};(Dt.prototype=h.create(a.prototype)).constructor=Dt;var Pt=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,a.captureStackTrace&&a.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i),i.constructor),i}return P(n,t),R(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Dt),Ot=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return P(n,t),n}(Pt),Ct=function(){function t(){}return t.prototype.Lu=function(t){var n,r=new DOMParser;try{n=r.parseFromString(t,"text/xml")}catch(t){throw new Ot(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Ot;return new Ut(n)},t}(),Ft=function(){function t(t){this.ju=void 0,this.ju=t}var n=t.prototype;return n.Cu=function(t){return this.ju.isEqualNode(t.ju)},n.Ou=function(n){return new t(this.ju.cloneNode(n))},R(t,[{key:"Nu",get:function(){return Rt.Iu}},{key:"xu",get:function(){var t;return null!=(t=this.ju.localName)?t:Wt(this.ju.nodeName)}},{key:"Ru",get:function(){return this.ju.nodeName}},{key:"Bu",get:function(){var t;return null!=(t=this.ju.namespaceURI)?t:void 0}},{key:"Uu",get:function(){var t;return null!=(t=this.ju.prefix)?t:void 0}},{key:"Pu",get:function(){return this.ju.nodeValue}}]),t}(),Lt=function(){function t(t){this.Qu=void 0,this.Yu=void 0,this.Qu=t}var n=t.prototype;return n.Fu=function(t){return this.Gu.filter(function(n){return Ht(n)&&n.Vu===t})},n.Wu=function(t,n){return this.Gu.filter(function(r){return Ht(r)&&r.xu===n&&r.Bu===t})},n.Hu=function(t){this.Qu.appendChild(t.Xu),this.Yu&&this.Yu.push(t)},n.Cu=function(t){return this.Qu.isEqualNode(t.Xu)},R(t,[{key:"Gu",get:function(){return void 0===this.Yu&&(this.Yu=function(t){for(var n=[],r=0;r<t.length;r++){var i=Gt(t.item(r));i&&n.push(i)}return n}(this.Qu.childNodes)),this.Yu}},{key:"Zu",get:function(){return this.Gu.filter(Ht)}},{key:"Xu",get:function(){return this.Qu}}]),t}(),Mt=function(t){function n(n){return t.call(this,n)||this}P(n,t);var r=n.prototype;return r.Ju=function(t){if(this.Qu.hasAttribute(t))return this.Qu.getAttribute(t)},r.Ku=function(t,n){if(this.Qu.hasAttributeNS(t,n))return this.Qu.getAttributeNS(t,n)},r.$u=function(t){this.Qu.removeAttribute(t)},r.uo=function(t,n){this.Qu.removeAttributeNS(t,n)},r.oo=function(t,n){this.Qu.setAttribute(t,n)},r.ao=function(t,n,r){this.Qu.setAttributeNS(t,n,r)},r.Ou=function(t){return new n(this.Qu.cloneNode(t))},R(n,[{key:"Nu",get:function(){return Rt.Tu}},{key:"xu",get:function(){var t;return null!=(t=this.Qu.localName)?t:Wt(this.Qu.nodeName)}},{key:"Bu",get:function(){var t;return null!=(t=this.Qu.namespaceURI)?t:void 0}},{key:"Uu",get:function(){var t;return null!=(t=this.Qu.prefix)?t:void 0}},{key:"Vu",get:function(){return this.Qu.nodeName}},{key:"do",get:function(){return function(t){for(var n=[],r=0;r<t.length;r++)n.push(new Ft(t.item(r)));return n}(this.Qu.attributes)}},{key:"Ao",get:function(){return this.Qu.textContent}}]),n}(Lt),xt=function(){function t(t){this.Qu=void 0,this.Qu=t}return t.prototype.Cu=function(t){return this._o===t._o},R(t,[{key:"_o",get:function(){return this.Qu.nodeValue}},{key:"Xu",get:function(){return this.Qu}}]),t}(),Bt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},R(n,[{key:"Nu",get:function(){return Rt.Du}}]),n}(xt),jt=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},R(n,[{key:"Nu",get:function(){return Rt.Eu}}]),n}(xt),Ut=function(t){function n(n){return t.call(this,n)||this}return P(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},R(n,[{key:"Nu",get:function(){return Rt.Su}},{key:"po",get:function(){return new Mt(this.Qu.documentElement)}}]),n}(Lt);function Ht(t){return function(t){return t.Nu===Rt.Tu}(t)}function Gt(t){switch(t.nodeType){case Rt.Tu:return new Mt(t);case Rt.Du:return new Bt(t);case Rt.Eu:return new jt(t)}}function Wt(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Vt(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function Xt(t,n){var r=function(t,n){var r=t.length;if(r<=1)return t;for(var i=new Array(r),e=1;e<r;e*=2){qt(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&qt(r,null,t.length,t),t}function qt(t,n,r,i){var e,u,o,s,f,a=t.length,c=0,h=2*r;for(e=0;e<a;e+=h)for(o=(u=e+r)+r,u>a&&(u=a),o>a&&(o=a),s=e,f=u;;)if(s<u&&f<o)n(t[s],t[f])<=0?i[c++]=t[s++]:i[c++]=t[f++];else if(s<u)i[c++]=t[s++];else{if(!(f<o))break;i[c++]=t[f++]}}var zt=/[a-zA-Z]/,Yt=/[0-9]/,Kt=/[0-9a-fA-F]/,$t=/^0x/i,Zt=/^[0-9]+$/,Jt=/^[0-9a-fA-F]+$/,Qt=/^[0-7]+$/,tn=h.prototype.toString,nn=Array.isArray||function(t){return"[object Array]"===tn.call(t)},rn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function en(t){return nn(t)?t:Array.from(t)}function un(t){return t>=65&&t<=90}function on(t){return un(t)||function(t){return t>=97&&t<=122}(t)}function sn(t){return t>=48&&t<=57}function fn(t){return sn(t)||on(t)}function an(t){return sn(t)||t>=65&&t<=70||t>=97&&t<=102}function cn(t){return un(t)?t+32:t}function hn(t){return sn(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function vn(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var ln=v.min,_n=String.fromCharCode,dn=16384;function pn(t){for(var n=t.length,r=[],i=0;i<n;i+=dn){var e=ln(i+dn,n);r.push(_n.apply(null,t.slice(i,e)))}return r.join("")}var wn=/[^\0-\x7E]/,mn=/[\x2E\u3002\uFF0E\uFF61]/g,yn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},gn=v.floor,En=String.fromCharCode;function Sn(t){throw new RangeError(yn[t])}function bn(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var In,Tn,kn,An=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Nn=function(t,n,r){var i=0;for(t=r?gn(t/700):t>>1,t+=gn(t/n);t>455;i+=36)t=gn(t/35);return gn(i+36*t/(t+38))},Rn=function(t){return function(t,n){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]);var e=function(t,n){for(var r=[],i=t.length;i--;)r[i]=n(t[i]);return r}((t=t.replace(mn,".")).split("."),n).join(".");return i+e}(t,function(t){return wn.test(t)?"xn--"+function(t){for(var n=[],r=(t=bn(t)).length,i=128,e=0,u=72,o=0,s=t;o<s.length;o++){var f=s[o];f<128&&n.push(En(f))}var a=n.length,c=a;for(a&&n.push("-");c<r;){for(var h=2147483647,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=c+1;h-i>gn((2147483647-e)/d)&&Sn("overflow"),e+=(h-i)*d,i=h;for(var p=0,w=t;p<w.length;p++){var m=w[p];if(m<i&&++e>2147483647&&Sn("overflow"),m==i){for(var y=e,g=36;;g+=36){var E=g<=u?1:g>=u+26?26:g-u;if(y<E)break;var S=y-E,b=36-E;n.push(En(An(E+S%b,0))),y=gn(S/b)}n.push(En(An(y,0))),u=Nn(e,d,c==a),e=0,++c}}++e,++i}return n.join("")}(t):t})};function Dn(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return pn(n)}function Pn(t){if(t>=55296&&t<=57343)throw new a("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function On(t,n){return t>>n&63|128}function Cn(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(Pn(t),n.push(t>>12&15|224),n.push(On(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(On(t,12)),n.push(On(t,6))),n.push(63&t|128)):n.push(t)}function Fn(t){for(var n=[],r=0;r<t.length;r++){Cn(t[r],n)}return n}function Ln(){if(kn>=Tn)throw new a("Invalid byte index");var t=255&In[kn];if(kn++,128==(192&t))return 63&t;throw new a("Invalid continuation byte")}function Mn(){var t,n;if(kn>Tn)throw new a("Invalid byte index");if(kn===Tn)return!1;if(t=255&In[kn],kn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Ln())>=128)return n;throw new a("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Ln()<<6|Ln())>=2048)return Pn(n),n;throw new a("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Ln()<<12|Ln()<<6|Ln())>=65536&&n<=1114111)return n;throw new a("Invalid UTF-8 detected")}function xn(t){return[37,vn(t>>4),vn(15&t)]}function Bn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function jn(t){return Bn(t)||32===t||34===t||60===t||62===t||96===t}function Un(t){return jn(t)||35===t||63===t||123===t||125===t}function Hn(t){return Un(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Gn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Wn(t){return Gn(t)||39===t}function Vn(t,n){if(!n(t))return[t];for(var r=Fn([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,xn(u))}return i}function Xn(t,n){for(var r=[],i=0,e=bn(t);i<e.length;i++){var u=e[i];r.push.apply(r,Vn(u,n))}return Dn(r)}function qn(t){return function(t){for(var n=[],r=t.length,i=0;i<r;i++){var e=t[i];if(37===e&&i+2<r&&an(t[i+1])&&an(t[i+2])){var u=hn(t[i+1])<<4|hn(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Fn(t))}function zn(t){return Dn(function(t){In=t.slice(),Tn=In.length,kn=0;for(var n,r=[];!1!==(n=Mn());)r.push(n);return r}(qn(bn(t))))}function Yn(t){var n,r,i,e,u=t.length,o=[0,0,0,0,0,0,0,0],s=0,f=null,a=0;if(a<u&&":"===t[a]){if(!(a+1<u&&":"===t[a+1]))throw new c;a+=2,f=s+=1}for(;a<u;){if(8===s)throw new c("Too many groups");if(":"!==t[a]){for(var h=0,v=0;v<4&&a<u&&Kt.test(t[a]);)h=h<<4|l(t[a],16),a+=1,v+=1;if("."===t[a]){if(0===v)throw new c;if(a-=v,s>6)throw new c;for(var _=0;a<u;){var d=null;if(_>0){if(!("."===t[a]&&_<4))throw new c;a+=1}if(!Yt.test(t[a]))throw new c;for(;a<u&&Yt.test(t[a]);){var p=l(t[a],10);if(null===d)d=p;else{if(0===d)throw new c;if((d=10*d+p)>255)throw new c}a+=1}o[s]=o[s]<<8|d,2!==(_+=1)&&4!==_||(s+=1)}if(4!==_)throw new c;break}if(":"===t[a]){if((a+=1)===u)throw new c}else if(a<u)throw new c;o[s]=h,s+=1}else{if(null!==f)throw new c("Too many :: groups");a+=1,f=s+=1}}if(null!==f){var w=s-f;for(s=7;0!==s&&w>0;)i=f+w-1,e=void 0,e=(n=o)[r=s],n[r]=n[i],n[i]=e,s-=1,w-=1}else if(8!==s)throw new c;return o}function Kn(t){var n=10,r=Zt;return $t.test(t)?(t=t.slice(2),n=16,r=Jt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=Qt),""===t?0:r.test(t)?l(t,n):void 0}var $n={mo:4},Zn=/[\0\t\n\r #%/:?@\[\\\]]/,Jn=/[\0\t\n\r #/:?@\[\\\]]/;function Qn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new c("Invalid IPv6 address");return{mo:2,Mo:Yn(t.slice(1,-1))}}if(!n)return function(t){if(Jn.test(t))throw new c("Invalid code point in opaque host");var n=Xn(t,Bn);return""===n?$n:{mo:3,qr:n}}(t);var r=function(t){return function(t){return Rn(t.toLowerCase())}(t)}(zn(t));if(Zn.test(r))throw new c("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=Kn(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new c;if(r[r.length-1]>=v.pow(256,5-r.length))throw new c;for(var s=r.pop(),f=0;f<r.length;f++)s+=r[f]*v.pow(256,3-f);return s}}(r);return void 0!==i?{mo:1,Mo:i}:""===r?$n:{mo:0,No:r}}function tr(t){switch(t.mo){case 0:return t.No;case 1:return function(t){for(var n=[],r=t,i=1;i<=4;i++)n.push(""+(255&r)),4!==i&&n.push("."),r>>>=8;return n.reverse().join("")}(t.Mo);case 2:return"["+function(t){for(var n="",r=function(t){for(var n=0,r=0,i=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(i=u),e++):(e>r&&(n=i,r=e),e=0);return e>r&&(n=i,r=e),r>1?n:null}(t),i=!1,e=0;e<8;e++){if(i){if(0===t[e])continue;i=!1}r!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",i=!0)}return n}(t.Mo)+"]";case 3:return t.qr;case 4:return""}}var nr=/\+/g;function rr(t){for(var n=t.split("&"),r=[],i=0;i<n.length;i++){var e=n[i];if(""!==e){var u=e.indexOf("="),o=void 0,s=void 0;-1!==u?(o=e.slice(0,u),s=e.slice(u+1)):(o=e,s=""),o=o.replace(nr," "),s=s.replace(nr," ");var f=zn(o),a=zn(s);r.push([f,a])}}return r}function ir(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=er(Fn(bn(i[0])))+"="+er(Fn(bn(i[1])))}return n}function er(t){for(var n,r=[],i=0;i<t.length;i++){var e=t[i];32===e?r.push(43):42===(n=e)||45===n||46===n||95===n||fn(n)?r.push(e):r.push.apply(r,xn(e))}return pn(r)}var ur=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function or(t){var n=""+t,r=ur.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(fr(u))if(ar(u)||e===r-1)i.push(sr);else{var o=t.charCodeAt(e+1);ar(o)?(i.push(u,o),e++):i.push(sr)}else i.push(u)}return t.slice(0,n)+pn(i)}(n,r.index):n}var sr=65533,fr=function(t){return 55296==(63488&t)},ar=function(t){return 0!=(1024&t)};function cr(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function hr(t){t.To.length=0}function vr(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.To,rr(n))}function lr(t){if(t.Do){var n=ir(t.To);""===n&&(n=null),t.Do.Do.Io=n}}function _r(t){return t instanceof dr&&(!!nn(t.To)&&(!rn||t[Symbol.iterator]===pr))}var dr=function(){function t(t){if(void 0===t&&(t=void 0),this.Do=null,null==t)this.To=[];else if("object"==typeof t||"function"==typeof t)if(_r(t))this.To=t.To.slice();else if(null!=(u=t)&&(nn(u)||rn&&"function"==typeof u[Symbol.iterator])){this.To=[];for(var n=0,r=en(t);n<r.length;n++){var i=en(r[n]);if(2!==i.length)throw new c("Invalid name-value pair");this.To.push([or(i[0]),or(i[1])])}}else for(var e in this.To=[],t)h.prototype.hasOwnProperty.call(t,e)&&this.To.push([or(e),or(t[e])]);else(t=or(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.To=rr(t);var u}var n=t.prototype;return n.append=function(t,n){t=or(t),n=or(n),this.To.push([t,n]),lr(this)},n.delete=function(t){t=or(t);for(var n=this.To,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}lr(this)},n.get=function(t){t=or(t);for(var n=this.To,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=or(t);for(var n=this.To,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},n.has=function(t){t=or(t);for(var n=this.To,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=or(t),n=or(n);for(var r=this.To,i=!1,e=0;e<r.length;){var u=r[e];u[0]===t?i?r.splice(e,1):(u[1]=n,i=!0,e++):e++}i||r.push([t,n]),lr(this)},n.sort=function(){Xt(this.To,cr),lr(this)},n.toString=function(){return ir(this.To)},n.entries=function(){return new gr(this.To,wr)},n.keys=function(){return new gr(this.To,mr)},n.values=function(){return new gr(this.To,yr)},n.forEach=function(t){var n=this;this.To.forEach(function(r){return t(r[1],r[0],n)})},t}(),pr=dr.prototype.entries;rn&&(dr.prototype[Symbol.iterator]=pr);var wr=function(t){return[t[0],t[1]]},mr=function(t){return t[0]},yr=function(t){return t[1]},gr=function(){function t(t,n){this.Eo=0,this.To=t,this.So=n}return t.prototype.next=function(){return this.Eo<this.To.length?{done:!1,value:this.So(this.To[this.Eo++])}:{done:!0,value:void 0}},t}(),Er="null";var Sr=h.create(null);Sr.ftp=21,Sr.file=0,Sr.gopher=70,Sr.http=80,Sr.https=443,Sr.ws=80,Sr.wss=443;var br=/^(?:\.|%2e)$/i,Ir=/^(?:\.|%2e){2}$/i;function Tr(t){return br.test(t)}function kr(t){return Ir.test(t)}function Ar(t){return void 0!==Sr[t]}function Nr(t){return Ar(t.Lo)}function Rr(t){return""!==t.jo||""!==t.Co}function Dr(t){var n=t.length;if(!(n>=2))return!1;if(!Or(t.slice(0,2)))return!1;if(2!==n){var r=t[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function Pr(t){return 2===t.length&&zt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Or(t){return 2===t.length&&Pr(pn(t))}function Cr(t){return Pr(t)&&":"===t[1]}function Fr(t){var n=t.Oo;0!==n.length&&("file"===t.Lo&&1===n.length&&Cr(n[0])||n.pop())}function Lr(t){return null===t.xo||$n===t.xo||t.zo||"file"===t.Lo}var Mr=-1,xr=/\t|\n|\r/g,Br=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function jr(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Hr,t=t.replace(Br,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,s=!1,f=!1,a=bn(t=t.replace(xr,"")),h=a.length,v=0;v<=h;){var _=v<h?a[v]:Mr;switch(e){case 0:if(!on(_)){if(null===i){u.length=0,e=2;continue}throw new c("Invalid scheme")}u.push(cn(_)),e=1;break;case 1:if(fn(_)||43===_||45===_||46===_)u.push(cn(_));else{if(58!==_){if(null===i){u.length=0,e=2,v=0;continue}throw new c("Invalid scheme")}var d=Dn(u);if(null!==i){if(Ar(r.Lo)&&!Ar(d))return;if(!Ar(r.Lo)&&Ar(d))return;if((Rr(r)||null!==r.Ro)&&"file"===d)return;if("file"===r.Lo&&(r.xo===$n||null===r.xo))return}if(r.Lo=d,null!==i)return void(Nr(r)&&r.Ro===Sr[r.Lo]&&(r.Ro=null));u.length=0,"file"===r.Lo?e=13:Nr(r)&&n&&n.Lo===r.Lo?e=3:Nr(r)?e=7:47===a[v+1]?(e=4,v+=1):(r.zo=!0,r.Oo.push(""),e=18)}break;case 2:if(!n||n.zo&&35!==_)throw new c("Invalid scheme");n.zo&&35===_?(r.Lo=n.Lo,r.Oo=n.Oo.slice(),r.Io=n.Io,r.Bo="",r.zo=!0,e=20):"file"!==n.Lo?(e=5,v-=1):(e=13,v-=1);break;case 3:47===_&&47===a[v+1]?e=8:(e=5,v-=1);break;case 4:47===_?e=9:(e=17,v-=1);break;case 5:r.Lo=n.Lo,Mr===_?(r.jo=n.jo,r.Co=n.Co,r.xo=n.xo,r.Ro=n.Ro,r.Oo=n.Oo.slice(),r.Io=n.Io):47===_?e=6:63===_?(r.jo=n.jo,r.Co=n.Co,r.xo=n.xo,r.Ro=n.Ro,r.Oo=n.Oo.slice(),r.Io="",e=19):35===_?(r.jo=n.jo,r.Co=n.Co,r.xo=n.xo,r.Ro=n.Ro,r.Oo=n.Oo.slice(),r.Io=n.Io,r.Bo="",e=20):92===_&&Nr(r)?e=6:(r.jo=n.jo,r.Co=n.Co,r.xo=n.xo,r.Ro=n.Ro,r.Oo=n.Oo.slice(),r.Oo.pop(),e=17,v-=1);break;case 6:!Nr(r)||47!==_&&92!==_?47===_?e=9:(r.jo=n.jo,r.Co=n.Co,r.xo=n.xo,r.Ro=n.Ro,e=17,v-=1):e=8;break;case 7:if(47!==_||47!==a[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==_&&92!==_&&(e=9,v-=1);break;case 9:if(64===_){o&&u.unshift(37,52,48),o=!0;for(var p=0;p<u.length;p++){var w=u[p];if(58!==w||f){var m=Dn(Vn(w,Hn));f?r.Co+=m:r.jo+=m}else f=!0}u.length=0}else if(Mr===_||47===_||63===_||35===_||Nr(r)&&92===_){if(o&&0===u.length)throw new c("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==i&&"file"===r.Lo)v-=1,e=15;else if(58!==_||s)if(Mr===_||47===_||63===_||35===_||Nr(r)&&92===_){if(v-=1,Nr(r)&&0===u.length)throw new c("Invalid host");if(null!==i&&0===u.length&&(Rr(r)||null!==r.Ro))return;var y=Qn(Dn(u),Nr(r));if(r.xo=y,u.length=0,e=16,null!==i)return}else 91===_?s=!0:93===_&&(s=!1),u.push(_);else{if(0===u.length)throw new c("Invalid host");var g=Qn(Dn(u),Nr(r));if(r.xo=g,u.length=0,e=12,11===i)return}break;case 12:if(sn(_))u.push(_);else{if(!(Mr===_||47===_||63===_||35===_||Nr(r)&&92===_||null!==i))throw new c("Invalid port");if(0!==u.length){var E=l(Dn(u),10);if(E>65535)throw new c("Invalid port");r.Ro=E===Sr[r.Lo]?null:E,u.length=0}if(null!==i)return;e=16,v-=1}break;case 13:r.Lo="file",47===_||92===_?e=14:n&&"file"===n.Lo?Mr===_?(r.xo=n.xo,r.Oo=n.Oo.slice(),r.Io=n.Io):63===_?(r.xo=n.xo,r.Oo=n.Oo.slice(),r.Io="",e=19):35===_?(r.xo=n.xo,r.Oo=n.Oo.slice(),r.Io=n.Io,r.Bo="",e=20):(Dr(a.slice(v))||(r.xo=n.xo,r.Oo=n.Oo.slice(),Fr(r)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Lo&&!Dr(a.slice(v))&&(Cr(n.Oo[0])?r.Oo.push(n.Oo[0]):r.xo=n.xo),e=17,v-=1);break;case 15:if(Mr===_||47===_||92===_||63===_||35===_)if(v-=1,null===i&&Or(u))e=17;else if(0===u.length){if(r.xo=$n,null!==i)return;e=16}else{var S=Qn(Dn(u),Nr(r));if(0===S.mo&&"localhost"===S.No&&(S=$n),r.xo=S,null!==i)return;u.length=0,e=16}else u.push(_);break;case 16:Nr(r)?(e=17,47!==_&&92!==_&&(v-=1)):null===i&&63===_?(r.Io="",e=19):null===i&&35===_?(r.Bo="",e=20):Mr!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(Mr===_||47===_||Nr(r)&&92===_||null===i&&(63===_||35===_)){var b=Dn(u);if(kr(b)?(Fr(r),47===_||Nr(r)&&92===_||r.Oo.push("")):!Tr(b)||47===_||Nr(r)&&92===_?Tr(b)||("file"===r.Lo&&0===r.Oo.length&&Or(u)&&($n!==r.xo&&null!==r.xo&&(r.xo=$n),u[1]=58,b=Dn(u)),r.Oo.push(b)):r.Oo.push(""),u.length=0,"file"===r.Lo&&(Mr===_||63===_||35===_))for(;r.Oo.length>1&&""===r.Oo[0];)r.Oo.shift();63===_?(r.Io="",e=19):35===_&&(r.Bo="",e=20)}else u.push.apply(u,Vn(_,Un));break;case 18:63===_?(r.Io="",e=19):35===_?(r.Bo="",e=20):Mr!==_&&(r.Oo[0]+=Dn(Vn(_,Bn)));break;case 19:null===i&&35===_?(r.Bo="",e=20):Mr!==_&&(r.Io+=Dn(Vn(_,Nr(r)?Wn:Gn)));break;case 20:Mr===_||0===_||(r.Bo+=Dn(Vn(_,jn)))}v++}return r}function Ur(t,n,r,i){try{jr(t,n,r,i)}catch(t){}}var Hr=function(){this.Lo="",this.jo="",this.Co="",this.xo=null,this.Ro=null,this.Oo=[],this.Io=null,this.Bo=null,this.zo=!1};function Gr(t){switch(t.Lo){case"blob":var n;try{n=jr(t.Oo[0],null)}catch(t){return Er}return Gr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.Lo,i=t.xo,e=t.Ro,r+"://"+tr(i)+(null===e?"":":"+e);case"file":default:return Er}var r,i,e}function Wr(t){return null!=t&&(t instanceof Xr&&"object"==typeof t.Do)}var Vr,Xr=function(){function t(t,n){var r,i=null;if(null!=n)if(Wr(n))i=n.Do;else try{i=jr(String(n),null)}catch(t){throw new c("Invalid base URL: "+t.message)}try{r=jr(String(t),i)}catch(t){throw new c("Invalid URL: "+t.message)}var e=r.Io;this.Do=r,this.Io=function(t){var n=new dr;return null!==t&&vr(n,t),n}(e),this.Io.Do=this}var n,r,i,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(r=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.Lo+":";if(null!==t.xo?(r+="//",Rr(t)&&(r+=t.jo,""!==t.Co&&(r+=":"+t.Co),r+="@"),r+=tr(t.xo),null!==t.Ro&&(r+=":"+t.Ro)):null===t.xo&&"file"===t.Lo&&(r+="//"),t.zo)r+=t.Oo[0];else for(var i=0,e=t.Oo;i<e.length;i++)r+="/"+e[i];return null!==t.Io&&(r+="?"+t.Io),n||null===t.Bo||(r+="#"+t.Bo),r}(this.Do)},set:function(t){var n;try{n=jr(String(t),null)}catch(t){throw new c("Invalid URL: "+t.message)}this.Do=n,hr(this.Io);var r=this.Do.Io;null!==r&&vr(this.Io,r)}},{key:"origin",get:function(){return Gr(this.Do)}},{key:"protocol",get:function(){return this.Do.Lo+":"},set:function(t){Ur(t+":",null,this.Do,0)}},{key:"username",get:function(){return this.Do.jo},set:function(t){Lr(this.Do)||(this.Do.jo=Xn(t,Hn))}},{key:"password",get:function(){return this.Do.Co},set:function(t){Lr(this.Do)||(this.Do.Co=Xn(t,Hn))}},{key:"host",get:function(){var t=this.Do,n=t.xo;if(null===n)return"";var r=t.Ro,i=tr(n);return null!==r&&(i+=":"+r),i},set:function(t){this.Do.zo||Ur(t,null,this.Do,10)}},{key:"hostname",get:function(){var t=this.Do.xo;return null===t?"":tr(t)},set:function(t){this.Do.zo||Ur(t,null,this.Do,11)}},{key:"port",get:function(){var t=this.Do.Ro;return null===t?"":""+t},set:function(t){Lr(this.Do)||(""===t?this.Do.Ro=null:Ur(t,null,this.Do,12))}},{key:"pathname",get:function(){var t=this.Do.Oo;return this.Do.zo?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Do.zo||(this.Do.Oo.length=0,Ur(t,null,this.Do,16))}},{key:"search",get:function(){var t=this.Do.Io;return null===t||""===t?"":"?"+t},set:function(t){t=or(t);var n=this.Do;if(""===t)return n.Io=null,void hr(this.Io);"?"===t[0]&&(t=t.slice(1)),n.Io="",Ur(t,null,n,19),vr(this.Io,t)}},{key:"searchParams",get:function(){return this.Io}},{key:"hash",get:function(){var t=this.Do.Bo;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Do.Bo="",Ur(t,null,this.Do,20)):this.Do.Bo=null}}])&&Vt(n.prototype,r),i&&Vt(n,i),t}();function qr(t){return t.document&&t.document.baseURI||t.location.href||""}function zr(){return void 0!==i?i.createElement("video"):void 0}var Yr=!!("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),Kr=(Vr||(Vr=zr()),Vr),$r=!(!Kr||!Kr.webkitShowPlaybackTargetPicker),Zr=function(){function t(){this.Uo=void 0,this.Po=!1,this.Ms=Yr,this.Us=!1,this.Qo=!0,this.Yo=!0}var n=t.prototype;return n.Fo=function(){return 0},n.Go=function(t,n){return!0},n.Vo=function(t){return t>=1/6*2},R(t,[{key:"Wo",get:function(){return void 0===this.Uo&&(this.Uo=this.Fo()),this.Uo}},{key:"Ho",get:function(){return r.devicePixelRatio||1}},{key:"Xo",get:function(){return $r}},{key:"Zo",get:function(){return!1}},{key:"qo",get:function(){return!0}},{key:"Jo",get:function(){return G.Ns||G.zs}},{key:"Ko",get:function(){return!0}},{key:"$o",get:function(){return!0}},{key:"nh",get:function(){}},{key:"ih",get:function(){return!0}}]),t}(),Jr=function(){var t=zr();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(G.Os)return!1;var t=zr();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Qr=function(t){function n(n){var r;return(r=t.call(this)||this).rh=void 0,r.rh=n,r.rh&&(r.Po=r.rh.Po,r.Ms=r.rh.Ms,r.Qo=Jr&&r.rh.Qo),r}P(n,t);var r=n.prototype;return r.Fo=function(){return this.rh?this.rh.Wo:t.prototype.Fo.call(this)},r.Go=function(n,r){return this.rh?this.rh.Go(n,r):t.prototype.Go.call(this,n,r)},r.Vo=function(n){return this.rh?this.rh.Vo(n):t.prototype.Vo.call(this,n)},R(n,[{key:"nh",get:function(){var t;return null==(t=this.rh)?void 0:t.nh}},{key:"ih",get:function(){var t,n;return null==(t=null==(n=this.rh)?void 0:n.ih)||t}}]),n}(Zr),ti=function(t){function n(n){var r;return(r=t.call(this,n)||this).Po=!0,r.Us=!0,r}return P(n,t),n}(Qr),ni=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Fo=function(){if(!(void 0).MediaSource)return 1},n}(ti),ri=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Go=function(n,r){return!(r.eh>1920)&&t.prototype.Go.call(this,n,r)},R(n,[{key:"Zo",get:function(){return G.Ws<3}},{key:"qo",get:function(){return G.Ws>=3}}]),n}(Qr),ii=function(t){function n(){return t.call(this)||this}return P(n,t),n}(Zr),ei=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Go=function(t,n){if(t&&t.sh&&n&&n.sh){var r=ui(t.sh,"mp4a.40.2")&&ui(n.sh,"mp4a.40.5"),i=ui(t.sh,"mp4a.40.5")&&ui(n.sh,"mp4a.40.2"),e=ui(t.sh,"mp4a.40.2")&&ui(n.sh,"mp4a.40.34"),u=ui(t.sh,"mp4a.40.34")&&ui(n.sh,"mp4a.40.2"),o=ui(t.sh,"mp4a.40.5")&&ui(n.sh,"mp4a.40.34"),s=ui(t.sh,"mp4a.40.34")&&ui(n.sh,"mp4a.40.5");return!(r||i||e||u||o||s)}return!0},R(n,[{key:"nh",get:function(){if(G.Ns)return 4096}}]),n}(ii);function ui(t,n){return t.indexOf(n)>-1}var oi=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),n.prototype.Vo=function(t){return t>=2},n}(ii),si=function(t){function n(){var n;return(n=t.call(this)||this).Po=G.nu>=11,n.Qo=G.tu&&!(G.zs&&G.nu<10),n}return P(n,t),n}(ii),fi=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),R(n,[{key:"Ko",get:function(){return!1}}]),n}(Qr),ai=function(t){function n(){return t.apply(this,arguments)||this}return P(n,t),R(n,[{key:"ih",get:function(){return!G.Ts||!!G.Fs&&92!==G.Gs}}]),n}(ii),ci=function(){function n(){var n;this.re=void 0,this.uh=new Ct,this.oh=new hi,this.ah=(n=function(){if(G.Ks)return new ei;if(G.Xs||G.Zs)return new oi;if(G.tu)return new si;if(G.Qs)return new ai;return new ii}(),G.zs?new ni(n):G.Us?new ti(n):G.Vs?new ri(n):G.Hs?new fi(n):new Qr(n)),this.fh=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this.re=function(){return t.performance.now()}:this.re=Nt}var r=n.prototype;return r.vh=function(){$.apply(void 0,arguments)},r.dh=function(){Z.apply(void 0,arguments)},r.lh=function(){J.apply(void 0,arguments)},r.gh=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Q.apply(void 0,[t].concat(r))},r.oe=function(t,n){return u(t,n)},r.wh=function(t,n){return s(t,n)},r.ue=function(t){o(t)},r.yh=function(t){f(t)},r.Lu=function(t){return this.uh.Lu(t)},r.Ah=function(){return this._h.Ah()},r.ph=function(){return this._h.ph()},r.kh=function(){return this._h.kh()},r.Mh=function(){return this._h.Mh()},r.Nh=function(){return this._h.Nh()},r.Th=function(t,n){return this._h.Th(t,n)},r.Dh=function(t){return this._h.Dh(t)},r.Ih=function(t,n){var r;return void 0===n&&(n=qr(void 0)),r="object"!=typeof n||n instanceof Xr?n:n.href,new Xr(t,r)},r.Eh=function(n,r){if(void 0===r&&(r=qr(void 0)),this.fh){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.Ih(n,r).href},R(n,[{key:"Sh",get:function(){return this.oh}},{key:"Lh",get:function(){return this.ah}},{key:"jh",get:function(){return{Ch:e&&e.userAgent.match(/Android /i)?"Android":"other",Oh:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Rh",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Bh",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),hi=function(){function t(){}return R(t,[{key:"Uh",get:function(){return e.oscpu}},{key:"Lh",get:function(){return e.platform}},{key:"Ph",get:function(){return e.vendor}},{key:"Qh",get:function(){return e.vendorSub}}]),t}();var vi=m(function(t){!function(t){var n,r=h.prototype,i=r.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",s=e.toStringTag||"@@toStringTag";function f(t,n,r,i){var e=n&&n.prototype instanceof y?n:y,u=h.create(e.prototype),o=new P(i||[]);return u.Yh=function(t,n,r){var i=l;return function(e,u){if(i===p)throw new a("Generator is already running");if(i===w){if("throw"===e)throw u;return C()}for(r.method=e,r.arg=u;;){var o=r.delegate;if(o){var s=N(o,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r.Fh=r.arg;else if("throw"===r.method){if(i===l)throw i=w,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var f=v(t,n,r);if("normal"===f.type){if(i=r.done?w:_,f.arg===m)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(i=w,r.method="throw",r.arg=f.arg)}}}(t,r,o),u}function v(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",_="suspendedYield",p="executing",w="completed",m={};function y(){}function g(){}function E(){}var S={};S[u]=function(){return this};var b=h.getPrototypeOf,I=b&&b(b(O([])));I&&I!==r&&i.call(I,u)&&(S=I);var T=E.prototype=y.prototype=h.create(S);function k(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Yh(n,t)}})}function A(t){var n;this.Yh=function(r,e){function u(){return new Promise(function(n,u){!function n(r,e,u,o){var s=v(t[r],t,e);if("throw"!==s.type){var f=s.arg,a=f.value;return a&&"object"==typeof a&&i.call(a,"Gh")?Promise.resolve(a.Gh).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):Promise.resolve(a).then(function(t){f.value=t,u(f)},function(t){return n("throw",t,u,o)})}o(s.arg)}(r,e,n,u)})}return n=n?n.then(u,u):u()}}function N(t,r){var i=t.iterator[r.method];if(i===n){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=n,N(t,r),"throw"===r.method))return m;r.method="throw",r.arg=new c("The iterator does not provide a 'throw' method")}return m}var e=v(i,t.iterator,r.arg);if("throw"===e.type)return r.method="throw",r.arg=e.arg,r.delegate=null,m;var u=e.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=n),r.delegate=null,m):u:(r.method="throw",r.arg=new c("iterator result is not an object"),r.delegate=null,m)}function R(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 D(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(R,this),this.reset(!0)}function O(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!d(t.length)){var e=-1,o=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=n,r.done=!0,r};return o.next=o}}return{next:C}}function C(){return{value:n,done:!0}}g.prototype=T.constructor=E,E.constructor=g,E[s]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return h.setPrototypeOf?h.setPrototypeOf(t,E):(t.__proto__=E,s in t||(t[s]="GeneratorFunction")),t.prototype=h.create(T),t},t.awrap=function(t){return{Gh:t}},k(A.prototype),A.prototype[o]=function(){return this},t.AsyncIterator=A,t.async=function(n,r,i,e){var u=new A(f(n,r,i,e));return t.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},k(T),T[s]="Generator",T[u]=function(){return this},T.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var i=n.pop();if(i in t)return r.value=i,r.done=!1,r}return r.done=!0,r}},t.values=O,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Fh=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(D),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!d(+r.slice(1))&&(this[r]=n)},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 r=this;function e(i,e){return s.type="throw",s.arg=t,r.next=i,e&&(r.method="next",r.arg=n),!!e}for(var u=this.tryEntries.length-1;u>=0;--u){var o=this.tryEntries[u],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var f=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(f&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(f){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new a("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&i.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var u=e;break}}u&&("break"===t||"continue"===t)&&u.tryLoc<=n&&n<=u.finallyLoc&&(u=null);var o=u?u.completion:{};return o.type=t,o.arg=n,u?(this.method="next",this.next=u.finallyLoc,m):this.complete(o)},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),m},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),m}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var e=i.arg;D(r)}return e}}throw new a("illegal catch attempt")},delegateYield:function(t,r,i){return this.delegate={iterator:O(t),resultName:r,nextLoc:i},"next"===this.method&&(this.arg=n),m}}}(t.exports)});function li(){return(li=h.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)h.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function _i(){var t=h.create(null);return t.__=void 0,delete t.__,t}var di,pi=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(di=function(){function t(t,n){this.data=void 0,this.keys=void 0,this.index=0,this.selector=void 0,this.data=t,this.selector=n,this.keys=h.keys(t)}var n=t.prototype;return n.next=function(){var t=this.index;return t<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[t]),done:!1}):{value:void 0,done:!0}},t}(),function(){function t(){this.data=_i(),this.size=0}var n=t.prototype;return n.get=function(t){return this.data[t]},n.set=function(t,n){return this.has(t)||this.size++,this.data[t]=n,this},n.has=function(t){return t in this.data},n.delete=function(t){return!!this.has(t)&&(this.size--,delete this.data[t],!0)},n.clear=function(){this.data=_i(),this.size=0},n.keys=function(){return new di(this.data,function(t,n){return n})},n.values=function(){return new di(this.data,function(t,n){return t[n]})},n.entries=function(){return new di(this.data,function(t,n){return[n,t[n]]})},n.forEach=function(t){for(var n in this.data)t(this.data[n],n)},t}());var wi,mi="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",yi="urn:uuid:"+mi;!function(t){t.Zh="playready",t.qh="widevine",t.Jh="fairplay",t.Kh="clearkey",t.$h="aes128"}(wi||(wi={}));var gi={ra:wi.Zh,ea:"com.microsoft.playready",oa:"cenc",va:"9a04f079-9840-4286-ab92-e65be0885f95",ya:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",Aa:"PlayReady"},Ei={ra:wi.qh,ea:"com.widevine.alpha",oa:"cenc",va:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ya:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",Aa:"Widevine"},Si={ra:wi.Jh,ea:"com.apple.fps.1_0",oa:"skd",va:mi,ya:yi,Aa:"FairPlay"},bi=(wi.Jh,{ra:wi.Kh,ea:"org.w3.clearkey",oa:"cenc",va:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ya:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",Aa:"ClearKey"});var Ii=16384;function Ti(t){var n=t.length;if(n<=Ii)return String.fromCharCode.apply(String,t);for(var r=[],i=0;i<n;i+=Ii)r.push(String.fromCharCode.apply(String,t.slice(i,i+Ii)));return r.join("")}var ki=G.Qs&&G.Ys>=42||G.Ks&&G.$s>=38||G.Xs||G.qs||G.uu&&G.ou>=29;function Ai(t,n){return i="audio",null!=(r=t)&&-1!==r.indexOf(i)?{initDataTypes:["cenc"],audioCapabilities:[li({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[li({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var r,i}var Ni,Ri=function(){function t(t){this._a=void 0,this.ma=new pi,this.Ma=void 0,this._a=t}var n=t.prototype;return n.Nh=function(){return this.Dh(Ei)},n.ph=function(){return this.Dh(bi)},n.Mh=function(){return this.Dh(gi)},n.kh=function(){return this.Dh(Si)},n.Dh=function(t){var n=t.ya,r=this.ma.get(n);if(r)return r;var i=this.Th(t,'video/mp4; codecs="avc1.42000a"');return this.ma.set(n,i),i},n.Th=function(){var t=y.coroutine(vi.mark(function t(n,r){return vi.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._a.Na(n.ea,[Ai(r,!0)]);case 3:return t.abrupt("return",!0);case 6:return t.prev=6,t.t0=t.catch(0),t.prev=8,t.next=11,this._a.Na(n.ea,[Ai(r,!1)]);case 11:return t.abrupt("return",!0);case 14:return t.prev=14,t.t1=t.catch(8),t.abrupt("return",!1);case 17:case"end":return t.stop()}},t,this,[[0,6],[8,14]])}));return function(n,r){return t.apply(this,arguments)}}(),n.Ah=function(){return this.Ma||(this.Ma=this.Ta()),this.Ma},n.Ta=function(){var t=y.coroutine(vi.mark(function t(){return vi.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(ki){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,this.ph();case 6:if(!t.sent){t.next=8;break}return t.abrupt("return",!1);case 8:return t.abrupt("return",!0);case 9:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}(),t}(),Di=function(){function t(){}var n=t.prototype;return n.mv=function(){},n.Dc=function(t){},n.bc=function(t){},n.Mv=function(t,n){},t}(),Pi=function(){function t(){}return t.prototype.Na=function(t,n){return y.reject(new c("Unsupported key system configuration"))},t}();!function(t){t.ld="arraybuffer",t.wd="json",t.yd="stream",t.Du="text"}(Ni||(Ni={}));var Oi,Ci=function(){function t(n){var r=this;this.Xh=void 0,this.Xh={},n instanceof t?n.asList().forEach(function(t){var n=t[0],i=t[1];r.append(n,i)}):Array.isArray(n)?n.forEach(function(t){r.append(t[0],t[1])}):n&&h.getOwnPropertyNames(n).forEach(function(t){r.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var r=t,i=n;r=Fi(r),i=Li(i);var e=r.toLowerCase();if(this.Xh.hasOwnProperty(e)){var u=this.Xh[e],o=u[1];u[1]=o?o+", "+i:i}else this.Xh[e]=[r,i]},n.delete=function(t){var n=Fi(t).toLowerCase();delete this.Xh[n]},n.get=function(t){var n=Fi(t).toLowerCase();return this.Xh.hasOwnProperty(n)?this.Xh[n][1]:null},n.has=function(t){var n=Fi(t).toLowerCase();return this.Xh.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=Fi(r)).toLowerCase();this.Xh[i]=[r,Li(n)]},n.forEach=function(t,n){for(var r in this.Xh)this.Xh.hasOwnProperty(r)&&t.call(n,this.Xh[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.Xh)if(this.Xh.hasOwnProperty(n)){var r=this.Xh[n],i=r[0],e=r[1];t.push([i,e])}return t},n._d=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.pd=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.kd=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function Fi(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new c("Invalid character in header field name");return n}function Li(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Mi(t,n){return function(t,n){var r=t,i=r.length;if(i<=1)return r;for(var e=new Array(i),u=1;u<i;u*=2){xi(r,n,u,e);var o=r;r=e,e=o}return r}(t.slice(),n)}function xi(t,n,r,i){var e,u,o,s,f,a=t.length,c=0,h=2*r;for(u=0;u<a;u+=h)for(e=(o=u+r)+r,o>a&&(o=a),e>a&&(e=a),s=u,f=o;;)if(s<o&&f<e)n&&n(t[s],t[f])<=0?i[c++]=t[s++]:i[c++]=t[f++];else if(s<o)i[c++]=t[s++];else{if(!(f<e))break;i[c++]=t[f++]}}!function(t){t[t.Da=0]="Da",t[t.Ia=1]="Ia",t[t.Ea=-1]="Ea"}(Oi||(Oi={}));var Bi=function(t,n){return(0|t)-(0|n)},ji=function(t,n){return function(t,n){if(t===n)return!0;var r=v.abs(t-n);return r<kt||r<v.max(v.abs(t),v.abs(n))*kt}(t,n)?Oi.Da:function(t,n){return t===n?Oi.Da:t<n?Oi.Ea:t>n?Oi.Ia:d(t)?d(n)?Oi.Da:Oi.Ia:Oi.Ea}(t,n)};function Ui(t,n,r){var i=Hi(t,n,r);return-1===i?void 0:t[i]}function Hi(t,n,r){for(var i=0;i<t.length;i+=1){var e=t[i];if(n.call(r,e,i,t))return i}return-1}function Gi(t,n){var r=t.indexOf(n);return-1!==r&&(Wi(t,r),!0)}function Wi(t,n){t.splice(n,1)}function Vi(t){t.length=0}var Xi,qi,zi,Yi,Ki=function(){function t(){this.Sa=!1,this.La=!1,this.Ca=[],this.Oa=[]}var n=t.prototype;return n.xa=function(){if(!this.Sa&&!this.La){this.Sa=!0;for(var t=0,n=this.Ca.slice();t<n.length;t++){(0,n[t])()}this.Ra()}},n.Ra=function(){if(!this.La){this.La=!0;for(var t=0,n=this.Oa.slice();t<n.length;t++){(0,n[t])()}Vi(this.Ca),Vi(this.Oa)}},n.Ba=function(t){this.La||this.Ca.push(t)},n.Ua=function(t){this.La||Gi(this.Ca,t)},n.Pa=function(t){this.La||this.Oa.push(t)},n.Qa=function(t){this.La||Gi(this.Oa,t)},t}(),$i=function(){function t(){this.Ya=new Ki}var n=t.prototype;return n.Fa=function(){this.Ya.xa()},n.Ra=function(){this.Ya.Ra()},n.Ga=function(t){var n=this.Ya;if(!n.Sa)if(t.Sa)n.xa();else if(!n.La&&!t.La){var r=function(){i(),n.xa()},i=function i(){t.Ua(r),t.Qa(i),n.Ua(r),n.Qa(i)};t.Ba(r),t.Pa(i),n.Ba(r),n.Pa(i)}},n.Va=function(){var n=new t,r=new t,i=n.Wa,e=r.Wa,u=this.Ya,o=function(){i.Sa&&e.La||e.Sa&&i.La?u.xa():i.La&&e.La&&u.Ra()};i.Ba(o),e.Ba(o),i.Pa(o),e.Pa(o),n.Ga(u),r.Ga(u);return u.Pa(function(){i.Ua(o),e.Ua(o),i.Qa(o),e.Qa(o)}),[n,r]},R(t,[{key:"Wa",get:function(){return this.Ya}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(Xi||(Xi={})),function(t){t.Ag="",t._g="manifest",t.pg="segment",t.Mg="content-protection"}(qi||(qi={})),function(t){t.Ag="",t.Ng="initialization-segment",t.Tg="fairplay-license",t.Dg="fairplay-certificate",t.Ig="widevine-license",t.Eg="widevine-certificate",t.Sg="playready-license",t.Lg="clearkey-license",t.jg="aes128-key"}(zi||(zi={})),function(t){t.Ag="",t.Cg="audio",t.Og="video",t.Du="text",t.xg="image"}(Yi||(Yi={}));var Zi,Ji=function(t,n){this.Wl=void 0,this.ag=void 0,this.zg=void 0,this.cg=void 0,this.Rg=void 0,this.Wa=void 0,this.ra=void 0,this.Bg=void 0,this.Ug=void 0,this.wg=void 0,this.Pg=void 0,this.Qg=void 0;var r,i,e,u,o,s,f,a,c,h,v,l=t.wg;n?(r=n.Wl,i=n.ag,e=n.zg,u=n.cg,o=n.Rg,s=n.Wa,f=n.ra,a=n.Bg,c=n.Ug,h=n.Pg,v=n.Qg):(r=null,i={},e=Xi.GET,u=Ni.Du,o=0,f=qi.Ag,a=zi.Ag,c=Yi.Ag,h=!1),this.wg=l,this.Wl=t.Wl||r,this.ag=new Ci(t.ag||i),this.zg=t.zg||e,this.cg=t.cg||u,this.Rg=void 0!==t.Rg?Number(t.Rg)||0:o,this.Wa=t.Wa||s||(new $i).Wa,this.ra=t.ra||f,this.Bg=t.Bg||a,this.Ug=t.Ug||c,this.Pg=void 0!==t.Pg?Boolean(t.Pg):h,this.Qg=t.Qg||v};!function(t){t.Jg="HttpOpenError",t.Kg="HttpResponseError",t.$g="HttpTimeoutError"}(Zi||(Zi={}));var Qi,te=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.wg+". Invalid URL.",r)||this}return P(n,t),R(n,[{key:"name",get:function(){return Zi.Jg}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).nw=void 0,e.nw=n,e}return P(n,t),R(n,[{key:"dg",get:function(){return this.nw}}]),n}(Pt)),ne=function(){function t(){}var n=t.prototype;return n.dg=function(t){return y.reject(new te(new Ji(t)))},n.Yg=function(t){},n.Fg=function(){},t}();function re(t){return"function"==typeof t.bc}function ie(t,n,r){if(!(r&&n.byte>=r)){var i=re(t)?t.bc(n.byte):t[n.byte];return n.byte+=1,i}}function ee(t,n){return function(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=256*i+ie(t,n);return i}(t,n,2)}Qi=new(function(t){function n(){for(var n,r=arguments.length,i=new Array(r),e=0;e<r;e++)i[e]=arguments[e];return(n=t.call.apply(t,[this].concat(i))||this).Gw=new Ri(new Pi),n.lD=new ne,n.i=new Di,n}return P(n,t),R(n,[{key:"_h",get:function(){return this.Gw}},{key:"Xw",get:function(){return!1}},{key:"Zw",get:function(){return!1}},{key:"qw",get:function(){return!1}},{key:"Jw",get:function(){return this.i}},{key:"Kw",get:function(){return{$w:E}}},{key:"iy",get:function(){return"default"}},{key:"ey",get:function(){return"unknown"}},{key:"sy",get:function(){return this.lD}}]),n}(ci));var ue=function(){function t(){this.Uht=0,this.Pht=[],this.JT={}}var n=t.prototype;return n.Qht=function(t){this.Pht=this.Pht.concat(t.Pht),this.Uht+=t.Zy},n.Yht=function(t,n,r){var i=this.Uht,e=r-n;e>0&&(this.Pht.push({Fht:n,Ght:r,Vht:e,Wht:i,Hht:t}),this.Uht+=e)},n.bc=function(t){for(var n=0,r=this.Pht;n<r.length;n++){var i=r[n];if(i.Wht<=t&&t<i.Wht+i.Vht)return i.Hht[t+i.Fht-i.Wht]}},n.Xht=function(t,n){for(var r=n,i=0,e=this.Pht;i<e.length;i++)for(var u=e[i],o=u.Ght,s=u.Fht;s<o;s+=1,r+=1)t[r]=u.Hht[s];return r},n.Zht=function(){for(var t=new p(this.Uht),n=0,r=0,i=this.Pht;r<i.length;r++)for(var e=i[r],u=e.Ght,o=e.Fht;o<u;o+=1,n+=1)t[n]=e.Hht[o];return t},n.jc=function(n){for(var r=new t,i=0,e=this.Pht;i<e.length;i++){var u=e[i];r.Yht(u.Hht,u.Fht,u.Ght)}return r.JT=n||li({},this.JT),r},R(t,[{key:"Zy",get:function(){return this.Uht},set:function(t){var n=this.Pht,r=this.Uht-t;if(!(t>=this.Uht))if(this.Uht=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e.Vht)return e.Ght-=r,e.Vht-=r,void(n.length!==i+1&&(n.length=i+1));r-=e.Vht}else n.length=0}},{key:"_o",get:function(){for(var t=new Array(this.Uht),n=0,r=0,i=this.Pht;r<i.length;r++)for(var e=i[r],u=e.Ght,o=e.Fht;o<u;o+=1,n+=1)t[n]=e.Hht[o];return t}}]),t}();function oe(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}var se=[128,64,32,16,8,4,2,1];function fe(t,n){var r=v.floor(n.bit/8),i=0==(("function"==typeof t.bc?t.bc(r):t[r])&se[n.bit%8])?0:1;return n.bit+=1,i}function ae(t,n,r){for(var i=0;r>0;)r-=1,i=2*i+fe(t,n);return i}function ce(t,n){return t.push(n),t}function he(t,n,r,i){var e=r||0,u=i||n.length,o=u-e,s=t.length,f=s+o;for(t.length=f;e<u;e+=1,s+=1)t[s]=n[e];return t}function ve(t,n){return he(t,oe(n))}function le(t,n){return he(t,function(t){return[t>>>8&255,255&t]}(n))}var _e,de=function(t){function n(n,r){var i,e=we[n];return(i=t.call(this,e?e.vc:"")||this).code=void 0,i.info=void 0,i.helpLink=void 0,i.helpLinkText=void 0,i.code=n,i.info=r,i.helpLink=e&&e.Xgt,i.helpLinkText=e&&e.Zgt,i}return P(n,t),R(n,[{key:"name",get:function(){return"THEOplayerError"}}]),n}(Pt);!function(t){t.qgt="LICENSE_INVALID",t.Jgt="MANIFEST_NOT_FOUND",t.Kgt="MANIFEST_CORS_ERROR",t.$gt="INVALID_HLS_MANIFEST",t.twt="PLAYBACK_ISSUE",t.nwt="AUDIO_ISSUE",t.iwt="BROWSER_SUPPORT_ISSUE",t.rwt="INVALID_KEY",t.ewt="DECRYPTION_ERROR",t.swt="AD_BLOCK_DETECTED",t.uwt="THEOPLAYER_NOT_INITIALIZED",t.gA="ERROR",t.owt="MANIFEST_SEQUENCE_RESET_ERROR",t.hwt="PLAYER_INCORRECTLY_CONFIGURED",t.awt="UNSUPPORTED"}(_e||(_e={}));for(var pe=[{Pc:_e.qgt,vc:"The license for this player is invalid. Please contact your service provider for additional information."},{Pc:_e.Jgt,vc:"Could not load the manifest file."},{Pc:_e.Kgt,vc:"Could not load the manifest file. Make sure the source is set correctly and that CORS support is enabled.",Xgt:"https://www.theoplayer.com/documentation/cors.html",cwt:!1},{Pc:_e.$gt,vc:"The source of the player is an invalid HLS manifest.",Xgt:"https://developer.apple.com/library/ios/technotes/tn2288/_index.html"},{Pc:_e.twt,vc:"There appears to be a playback issue."},{Pc:_e.nwt,vc:"There is an audio issue. Please contact your service provider with the code below for additional information."},{Pc:_e.iwt,vc:"Your browser doesn't support a feature. Try upgrading your browser or please contact your service provider referring to the code below."},{Pc:_e.rwt,vc:"There is an invalid key being decrypted. Please contact your service provider with the code below for additional information."},{Pc:_e.ewt,vc:"There is a decryption error. Please contact your service provider with the code below for additional information."},{Pc:_e.swt,vc:"An ad blocker was detected. Please turn it off and refresh the page in order to watch this video."},{Pc:_e.uwt,vc:"THEOplayer hasn't been initialized yet. Please check your configuration or wait."},{Pc:_e.gA,vc:"THEOplayer encountered an error. If this issue holds, please contact your service provider."},{Pc:_e.owt,vc:"The video stream has been reset. THEOplayer will attempt to reload the source."},{Pc:_e.hwt,vc:"The player is incorrectly configured.",Xgt:"https://support.theoplayer.com/hc/en-us/articles/214343065-Player-API"},{Pc:_e.awt,vc:"This browser does not allow you to watch this video. Try to update your browser or use a different browser."}],we={},me=0;me<pe.length;me++){var ye=pe[me];we[ye.Pc]=ye}var ge="SBR_DETECTED",Ee=[[[1,0,0,0,0,0],[5,16,1,0,0,0],[5,17,-1,0,0,0],[5,18,0,0,0,-1],[5,19,0,1,0,0],[5,20,0,0,0,1],[5,21,0,0,-1,0],[5,22,0,0,1,0],[5,23,0,-1,0,0],[7,96,1,-1,0,0],[7,97,-1,1,0,0],[7,98,0,0,-1,1],[7,99,0,1,-1,0],[7,100,0,-1,1,0],[7,101,0,0,1,-1],[7,102,1,1,0,0],[7,103,0,0,-1,-1],[7,104,-1,-1,0,0],[7,105,0,-1,-1,0],[7,106,1,0,-1,0],[7,107,0,1,0,-1],[7,108,-1,0,1,0],[7,109,0,0,1,1],[7,110,1,0,1,0],[7,111,0,-1,0,1],[7,112,0,1,1,0],[7,113,0,1,0,1],[7,114,-1,0,-1,0],[7,115,1,0,0,1],[7,116,-1,0,0,-1],[7,117,1,0,0,-1],[7,118,-1,0,0,1],[7,119,0,-1,0,-1],[9,480,1,1,-1,0],[9,481,-1,1,-1,0],[9,482,1,-1,1,0],[9,483,0,1,1,-1],[9,484,0,1,-1,1],[9,485,0,-1,1,1],[9,486,0,-1,1,-1],[9,487,1,-1,-1,0],[9,488,1,0,-1,1],[9,489,0,1,-1,-1],[9,490,-1,1,1,0],[9,491,-1,0,1,-1],[9,492,-1,-1,1,0],[9,493,0,-1,-1,1],[9,494,1,-1,0,1],[9,495,1,-1,0,-1],[9,496,-1,1,0,-1],[9,497,-1,-1,-1,0],[9,498,0,-1,-1,-1],[9,499,0,1,1,1],[9,500,1,0,1,-1],[9,501,1,1,0,1],[9,502,-1,1,0,1],[9,503,1,1,1,0],[10,1008,-1,-1,0,1],[10,1009,-1,0,-1,-1],[10,1010,1,1,0,-1],[10,1011,1,0,-1,-1],[10,1012,-1,0,-1,1],[10,1013,-1,-1,0,-1],[10,1014,-1,0,1,1],[10,1015,1,0,1,1],[11,2032,1,-1,1,-1],[11,2033,-1,1,-1,1],[11,2034,-1,1,1,-1],[11,2035,1,-1,-1,1],[11,2036,1,1,1,1],[11,2037,-1,-1,1,1],[11,2038,1,1,-1,-1],[11,2039,-1,-1,1,-1],[11,2040,-1,-1,-1,-1],[11,2041,1,1,-1,1],[11,2042,1,-1,1,1],[11,2043,-1,1,1,1],[11,2044,-1,1,-1,-1],[11,2045,-1,-1,-1,1],[11,2046,1,-1,-1,-1],[11,2047,1,1,1,-1]],[[3,0,0,0,0,0],[4,2,1,0,0,0],[5,6,-1,0,0,0],[5,7,0,0,0,1],[5,8,0,0,-1,0],[5,9,0,0,0,-1],[5,10,0,-1,0,0],[5,11,0,0,1,0],[5,12,0,1,0,0],[6,26,0,-1,1,0],[6,27,-1,1,0,0],[6,28,0,1,-1,0],[6,29,0,0,1,-1],[6,30,0,1,0,-1],[6,31,0,0,-1,1],[6,32,-1,0,0,-1],[6,33,1,-1,0,0],[6,34,1,0,-1,0],[6,35,-1,-1,0,0],[6,36,0,0,-1,-1],[6,37,1,0,1,0],[6,38,1,0,0,1],[6,39,0,-1,0,1],[6,40,-1,0,1,0],[6,41,0,1,0,1],[6,42,0,-1,-1,0],[6,43,-1,0,0,1],[6,44,0,-1,0,-1],[6,45,-1,0,-1,0],[6,46,1,1,0,0],[6,47,0,1,1,0],[6,48,0,0,1,1],[6,49,1,0,0,-1],[7,100,0,1,-1,1],[7,101,1,0,-1,1],[7,102,-1,1,-1,0],[7,103,0,-1,1,-1],[7,104,1,-1,1,0],[7,105,1,1,0,-1],[7,106,1,0,1,1],[7,107,-1,1,1,0],[7,108,0,-1,-1,1],[7,109,1,1,1,0],[7,110,-1,0,1,-1],[7,111,-1,-1,-1,0],[7,112,-1,0,-1,1],[7,113,1,-1,-1,0],[7,114,1,1,-1,0],[8,230,1,-1,0,1],[8,231,-1,1,0,-1],[8,232,-1,-1,1,0],[8,233,-1,0,1,1],[8,234,-1,-1,0,1],[8,235,-1,-1,0,-1],[8,236,0,-1,-1,-1],[8,237,1,0,1,-1],[8,238,1,0,-1,-1],[8,239,0,1,-1,-1],[8,240,0,1,1,1],[8,241,-1,1,0,1],[8,242,-1,0,-1,-1],[8,243,0,1,1,-1],[8,244,1,-1,0,-1],[8,245,0,-1,1,1],[8,246,1,1,0,1],[8,247,1,-1,1,-1],[8,248,-1,1,-1,1],[9,498,1,-1,-1,1],[9,499,-1,-1,-1,-1],[9,500,-1,1,1,-1],[9,501,-1,1,1,1],[9,502,1,1,1,1],[9,503,-1,-1,1,-1],[9,504,1,-1,1,1],[9,505,-1,1,-1,-1],[9,506,-1,-1,1,1],[9,507,1,1,-1,-1],[9,508,1,-1,-1,-1],[9,509,-1,-1,-1,1],[9,510,1,1,-1,1],[9,511,1,1,1,-1]],[[1,0,0,0,0,0],[4,8,1,0,0,0],[4,9,0,0,0,1],[4,10,0,1,0,0],[4,11,0,0,1,0],[5,24,1,1,0,0],[5,25,0,0,1,1],[6,52,0,1,1,0],[6,53,0,1,0,1],[6,54,1,0,1,0],[6,55,0,1,1,1],[6,56,1,0,0,1],[6,57,1,1,1,0],[7,116,1,1,1,1],[7,117,1,0,1,1],[7,118,1,1,0,1],[8,238,2,0,0,0],[8,239,0,0,0,2],[8,240,0,0,1,2],[8,241,2,1,0,0],[8,242,1,2,1,0],[9,486,0,0,2,1],[9,487,0,1,2,1],[9,488,1,2,0,0],[9,489,0,1,1,2],[9,490,2,1,1,0],[9,491,0,0,2,0],[9,492,0,2,1,0],[9,493,0,1,2,0],[9,494,0,2,0,0],[9,495,0,1,0,2],[9,496,2,0,1,0],[9,497,1,2,1,1],[9,498,0,2,1,1],[9,499,1,1,2,0],[9,500,1,1,2,1],[10,1002,1,2,0,1],[10,1003,1,0,2,0],[10,1004,1,0,2,1],[10,1005,0,2,0,1],[10,1006,2,1,1,1],[10,1007,1,1,1,2],[10,1008,2,1,0,1],[10,1009,1,0,1,2],[10,1010,0,0,2,2],[10,1011,0,1,2,2],[10,1012,2,2,1,0],[10,1013,1,2,2,0],[10,1014,1,0,0,2],[10,1015,2,0,0,1],[10,1016,0,2,2,1],[11,2034,2,2,0,0],[11,2035,1,2,2,1],[11,2036,1,1,0,2],[11,2037,2,0,1,1],[11,2038,1,1,2,2],[11,2039,2,2,1,1],[11,2040,0,2,2,0],[11,2041,0,2,1,2],[12,4084,1,0,2,2],[12,4085,2,2,0,1],[12,4086,2,1,2,0],[12,4087,2,2,2,0],[12,4088,0,2,2,2],[12,4089,2,2,2,1],[12,4090,2,1,2,1],[12,4091,1,2,1,2],[12,4092,1,2,2,2],[13,8186,0,2,0,2],[13,8187,2,0,2,0],[13,8188,1,2,0,2],[14,16378,2,0,2,1],[14,16379,2,1,1,2],[14,16380,2,1,0,2],[15,32762,2,2,2,2],[15,32763,2,2,1,2],[15,32764,2,1,2,2],[15,32765,2,0,1,2],[15,32766,2,0,0,2],[16,65534,2,2,0,2],[16,65535,2,0,2,2]],[[4,0,1,1,1,1],[4,1,0,1,1,1],[4,2,1,1,0,1],[4,3,1,1,1,0],[4,4,1,0,1,1],[4,5,1,0,0,0],[4,6,1,1,0,0],[4,7,0,0,0,0],[4,8,0,0,1,1],[4,9,1,0,1,0],[5,20,1,0,0,1],[5,21,0,1,1,0],[5,22,0,0,0,1],[5,23,0,1,0,1],[5,24,0,0,1,0],[5,25,0,1,0,0],[7,104,2,1,1,1],[7,105,1,1,2,1],[7,106,1,2,1,1],[7,107,1,1,1,2],[7,108,2,1,1,0],[7,109,2,1,0,1],[7,110,1,2,1,0],[7,111,2,0,1,1],[7,112,0,1,2,1],[8,226,0,1,1,2],[8,227,1,1,2,0],[8,228,0,2,1,1],[8,229,1,0,1,2],[8,230,1,2,0,1],[8,231,1,1,0,2],[8,232,1,0,2,1],[8,233,2,1,0,0],[8,234,2,0,1,0],[8,235,1,2,0,0],[8,236,2,0,0,1],[8,237,0,1,0,2],[8,238,0,2,1,0],[8,239,0,0,1,2],[8,240,0,1,2,0],[8,241,0,2,0,1],[8,242,1,0,0,2],[8,243,0,0,2,1],[8,244,1,0,2,0],[8,245,2,0,0,0],[8,246,0,0,0,2],[9,494,0,2,0,0],[9,495,0,0,2,0],[9,496,1,2,2,1],[9,497,2,2,1,1],[9,498,2,1,2,1],[9,499,1,1,2,2],[9,500,1,2,1,2],[9,501,2,1,1,2],[10,1004,1,2,2,0],[10,1005,2,2,1,0],[10,1006,2,1,2,0],[10,1007,0,2,2,1],[10,1008,0,1,2,2],[10,1009,2,2,0,1],[10,1010,0,2,1,2],[10,1011,2,0,2,1],[10,1012,1,0,2,2],[10,1013,2,2,2,1],[10,1014,1,2,0,2],[10,1015,2,0,1,2],[10,1016,2,1,0,2],[10,1017,1,2,2,2],[11,2036,2,1,2,2],[11,2037,2,2,1,2],[11,2038,0,2,2,0],[11,2039,2,2,0,0],[11,2040,0,0,2,2],[11,2041,2,0,2,0],[11,2042,0,2,0,2],[11,2043,2,0,0,2],[11,2044,2,2,2,2],[11,2045,0,2,2,2],[11,2046,2,2,2,0],[12,4094,2,2,0,2],[12,4095,2,0,2,2]],[[1,0,0,0],[4,8,-1,0],[4,9,1,0],[4,10,0,1],[4,11,0,-1],[5,24,1,-1],[5,25,-1,1],[5,26,-1,-1],[5,27,1,1],[7,112,-2,0],[7,113,0,2],[7,114,2,0],[7,115,0,-2],[8,232,-2,-1],[8,233,2,1],[8,234,-1,-2],[8,235,1,2],[8,236,-2,1],[8,237,2,-1],[8,238,-1,2],[8,239,1,-2],[8,240,-3,0],[8,241,3,0],[8,242,0,-3],[8,243,0,3],[9,488,-3,-1],[9,489,1,3],[9,490,3,1],[9,491,-1,-3],[9,492,-3,1],[9,493,3,-1],[9,494,1,-3],[9,495,-1,3],[9,496,-2,2],[9,497,2,2],[9,498,-2,-2],[9,499,2,-2],[10,1e3,-3,-2],[10,1001,3,-2],[10,1002,-2,3],[10,1003,2,-3],[10,1004,3,2],[10,1005,2,3],[10,1006,-3,2],[10,1007,-2,-3],[10,1008,0,-4],[10,1009,-4,0],[10,1010,4,1],[10,1011,4,0],[11,2024,-4,-1],[11,2025,0,4],[11,2026,4,-1],[11,2027,-1,-4],[11,2028,1,4],[11,2029,-1,4],[11,2030,-4,1],[11,2031,1,-4],[11,2032,3,-3],[11,2033,-3,-3],[11,2034,-3,3],[11,2035,-2,4],[11,2036,-4,-2],[11,2037,4,2],[11,2038,2,-4],[11,2039,2,4],[11,2040,3,3],[11,2041,-4,2],[12,4084,-2,-4],[12,4085,4,-2],[12,4086,3,-4],[12,4087,-4,-3],[12,4088,-4,3],[12,4089,3,4],[12,4090,-3,4],[12,4091,4,3],[12,4092,4,-3],[12,4093,-3,-4],[13,8188,4,-4],[13,8189,-4,4],[13,8190,4,4],[13,8191,-4,-4]],[[4,0,0,0],[4,1,1,0],[4,2,0,-1],[4,3,0,1],[4,4,-1,0],[4,5,1,1],[4,6,-1,1],[4,7,1,-1],[4,8,-1,-1],[6,36,2,-1],[6,37,2,1],[6,38,-2,1],[6,39,-2,-1],[6,40,-2,0],[6,41,-1,2],[6,42,2,0],[6,43,1,-2],[6,44,1,2],[6,45,0,-2],[6,46,-1,-2],[6,47,0,2],[6,48,2,-2],[6,49,-2,2],[6,50,-2,-2],[6,51,2,2],[7,104,-3,1],[7,105,3,1],[7,106,3,-1],[7,107,-1,3],[7,108,-3,-1],[7,109,1,3],[7,110,1,-3],[7,111,-1,-3],[7,112,3,0],[7,113,-3,0],[7,114,0,-3],[7,115,0,3],[7,116,3,2],[8,234,-3,-2],[8,235,-2,3],[8,236,2,3],[8,237,3,-2],[8,238,2,-3],[8,239,-2,-3],[8,240,-3,2],[8,241,3,3],[9,484,3,-3],[9,485,-3,-3],[9,486,-3,3],[9,487,1,-4],[9,488,-1,-4],[9,489,4,1],[9,490,-4,1],[9,491,-4,-1],[9,492,1,4],[9,493,4,-1],[9,494,-1,4],[9,495,0,-4],[9,496,-4,2],[9,497,-4,-2],[9,498,2,4],[9,499,-2,-4],[9,500,-4,0],[9,501,4,2],[9,502,4,-2],[9,503,-2,4],[9,504,4,0],[9,505,2,-4],[9,506,0,4],[10,1014,-3,-4],[10,1015,-3,4],[10,1016,3,-4],[10,1017,4,-3],[10,1018,3,4],[10,1019,4,3],[10,1020,-4,3],[10,1021,-4,-3],[11,2044,4,4],[11,2045,-4,4],[11,2046,-4,-4],[11,2047,4,-4]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,1,3],[7,114,2,2],[7,115,3,0],[7,116,0,3],[8,234,2,3],[8,235,3,2],[8,236,1,4],[8,237,4,1],[8,238,1,5],[8,239,5,1],[8,240,3,3],[8,241,2,4],[8,242,0,4],[8,243,4,0],[9,488,4,2],[9,489,2,5],[9,490,5,2],[9,491,0,5],[9,492,6,1],[9,493,5,0],[9,494,1,6],[9,495,4,3],[9,496,3,5],[9,497,3,4],[9,498,5,3],[9,499,2,6],[9,500,6,2],[9,501,1,7],[10,1004,3,6],[10,1005,0,6],[10,1006,6,0],[10,1007,4,4],[10,1008,7,1],[10,1009,4,5],[10,1010,7,2],[10,1011,5,4],[10,1012,6,3],[10,1013,2,7],[10,1014,7,3],[10,1015,6,4],[10,1016,5,5],[10,1017,4,6],[10,1018,3,7],[11,2038,7,0],[11,2039,0,7],[11,2040,6,5],[11,2041,5,6],[11,2042,7,4],[11,2043,4,7],[11,2044,5,7],[11,2045,7,5],[12,4092,7,6],[12,4093,6,6],[12,4094,6,7],[12,4095,7,7]],[[3,0,1,1],[4,2,2,1],[4,3,1,0],[4,4,1,2],[4,5,0,1],[4,6,2,2],[5,14,0,0],[5,15,2,0],[5,16,0,2],[5,17,3,1],[5,18,1,3],[5,19,3,2],[5,20,2,3],[6,42,3,3],[6,43,4,1],[6,44,1,4],[6,45,4,2],[6,46,2,4],[6,47,3,0],[6,48,0,3],[6,49,4,3],[6,50,3,4],[6,51,5,2],[7,104,5,1],[7,105,2,5],[7,106,1,5],[7,107,5,3],[7,108,3,5],[7,109,4,4],[7,110,5,4],[7,111,0,4],[7,112,4,5],[7,113,4,0],[7,114,2,6],[7,115,6,2],[7,116,6,1],[7,117,1,6],[8,236,3,6],[8,237,6,3],[8,238,5,5],[8,239,5,0],[8,240,6,4],[8,241,0,5],[8,242,4,6],[8,243,7,1],[8,244,7,2],[8,245,2,7],[8,246,6,5],[8,247,7,3],[8,248,1,7],[8,249,5,6],[8,250,3,7],[9,502,6,6],[9,503,7,4],[9,504,6,0],[9,505,4,7],[9,506,0,6],[9,507,7,5],[9,508,7,6],[9,509,6,7],[10,1020,5,7],[10,1021,7,0],[10,1022,0,7],[10,1023,7,7]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,2,2],[7,114,1,3],[8,230,3,0],[8,231,0,3],[8,232,2,3],[8,233,3,2],[8,234,1,4],[8,235,4,1],[8,236,2,4],[8,237,1,5],[9,476,4,2],[9,477,3,3],[9,478,0,4],[9,479,4,0],[9,480,5,1],[9,481,2,5],[9,482,1,6],[9,483,3,4],[9,484,5,2],[9,485,6,1],[9,486,4,3],[10,974,0,5],[10,975,2,6],[10,976,5,0],[10,977,1,7],[10,978,3,5],[10,979,1,8],[10,980,8,1],[10,981,4,4],[10,982,5,3],[10,983,6,2],[10,984,7,1],[10,985,0,6],[10,986,8,2],[10,987,2,8],[10,988,3,6],[10,989,2,7],[10,990,4,5],[10,991,9,1],[10,992,1,9],[10,993,7,2],[11,1988,6,0],[11,1989,5,4],[11,1990,6,3],[11,1991,8,3],[11,1992,0,7],[11,1993,9,2],[11,1994,3,8],[11,1995,4,6],[11,1996,3,7],[11,1997,0,8],[11,1998,10,1],[11,1999,6,4],[11,2e3,2,9],[11,2001,5,5],[11,2002,8,0],[11,2003,7,0],[11,2004,7,3],[11,2005,10,2],[11,2006,9,3],[11,2007,8,4],[11,2008,1,10],[11,2009,7,4],[11,2010,6,5],[11,2011,5,6],[11,2012,4,8],[11,2013,4,7],[11,2014,3,9],[11,2015,11,1],[11,2016,5,8],[11,2017,9,0],[11,2018,8,5],[12,4038,10,3],[12,4039,2,10],[12,4040,0,9],[12,4041,11,2],[12,4042,9,4],[12,4043,6,6],[12,4044,12,1],[12,4045,4,9],[12,4046,8,6],[12,4047,1,11],[12,4048,9,5],[12,4049,10,4],[12,4050,5,7],[12,4051,7,5],[12,4052,2,11],[12,4053,1,12],[12,4054,12,2],[12,4055,11,3],[12,4056,3,10],[12,4057,5,9],[12,4058,6,7],[12,4059,8,7],[12,4060,11,4],[12,4061,0,10],[12,4062,7,6],[12,4063,12,3],[12,4064,10,0],[12,4065,10,5],[12,4066,4,10],[12,4067,6,8],[12,4068,2,12],[12,4069,9,6],[12,4070,9,7],[12,4071,4,11],[12,4072,11,0],[12,4073,6,9],[12,4074,3,11],[12,4075,5,10],[13,8152,8,8],[13,8153,7,8],[13,8154,12,5],[13,8155,3,12],[13,8156,11,5],[13,8157,7,7],[13,8158,12,4],[13,8159,11,6],[13,8160,10,6],[13,8161,4,12],[13,8162,7,9],[13,8163,5,11],[13,8164,0,11],[13,8165,12,6],[13,8166,6,10],[13,8167,12,0],[13,8168,10,7],[13,8169,5,12],[13,8170,7,10],[13,8171,9,8],[13,8172,0,12],[13,8173,11,7],[13,8174,8,9],[13,8175,9,9],[13,8176,10,8],[13,8177,7,11],[13,8178,12,7],[13,8179,6,11],[13,8180,8,11],[13,8181,11,8],[13,8182,7,12],[13,8183,6,12],[14,16368,8,10],[14,16369,10,9],[14,16370,8,12],[14,16371,9,10],[14,16372,9,11],[14,16373,9,12],[14,16374,10,11],[14,16375,12,9],[14,16376,10,10],[14,16377,11,9],[14,16378,12,8],[14,16379,11,10],[14,16380,12,10],[14,16381,12,11],[15,32764,10,12],[15,32765,11,11],[15,32766,11,12],[15,32767,12,12]],[[4,0,1,1],[4,1,1,2],[4,2,2,1],[5,6,2,2],[5,7,1,0],[5,8,0,1],[5,9,1,3],[5,10,3,2],[5,11,3,1],[5,12,2,3],[5,13,3,3],[6,28,2,0],[6,29,0,2],[6,30,2,4],[6,31,4,2],[6,32,1,4],[6,33,4,1],[6,34,0,0],[6,35,4,3],[6,36,3,4],[6,37,3,0],[6,38,0,3],[6,39,4,4],[6,40,2,5],[6,41,5,2],[7,84,1,5],[7,85,5,1],[7,86,5,3],[7,87,3,5],[7,88,5,4],[7,89,4,5],[7,90,6,2],[7,91,2,6],[7,92,6,3],[7,93,4,0],[7,94,6,1],[7,95,0,4],[7,96,1,6],[7,97,3,6],[7,98,5,5],[7,99,6,4],[7,100,4,6],[8,202,6,5],[8,203,7,2],[8,204,3,7],[8,205,2,7],[8,206,5,6],[8,207,8,2],[8,208,7,3],[8,209,5,0],[8,210,7,1],[8,211,0,5],[8,212,8,1],[8,213,1,7],[8,214,8,3],[8,215,7,4],[8,216,4,7],[8,217,2,8],[8,218,6,6],[8,219,7,5],[8,220,1,8],[8,221,3,8],[8,222,8,4],[8,223,4,8],[8,224,5,7],[8,225,8,5],[8,226,5,8],[9,454,7,6],[9,455,6,7],[9,456,9,2],[9,457,6,0],[9,458,6,8],[9,459,9,3],[9,460,3,9],[9,461,9,1],[9,462,2,9],[9,463,0,6],[9,464,8,6],[9,465,9,4],[9,466,4,9],[9,467,10,2],[9,468,1,9],[9,469,7,7],[9,470,8,7],[9,471,9,5],[9,472,7,8],[9,473,10,3],[9,474,5,9],[9,475,10,4],[9,476,2,10],[9,477,10,1],[9,478,3,10],[9,479,9,6],[9,480,6,9],[9,481,8,0],[9,482,4,10],[9,483,7,0],[9,484,11,2],[10,970,7,9],[10,971,11,3],[10,972,10,6],[10,973,1,10],[10,974,11,1],[10,975,9,7],[10,976,0,7],[10,977,8,8],[10,978,10,5],[10,979,3,11],[10,980,5,10],[10,981,8,9],[10,982,11,5],[10,983,0,8],[10,984,11,4],[10,985,2,11],[10,986,7,10],[10,987,6,10],[10,988,10,7],[10,989,4,11],[10,990,1,11],[10,991,12,2],[10,992,9,8],[10,993,12,3],[10,994,11,6],[10,995,5,11],[10,996,12,4],[10,997,11,7],[10,998,12,5],[10,999,3,12],[10,1e3,6,11],[10,1001,9,0],[10,1002,10,8],[10,1003,10,0],[10,1004,12,1],[10,1005,0,9],[10,1006,4,12],[10,1007,9,9],[10,1008,12,6],[10,1009,2,12],[10,1010,8,10],[11,2022,9,10],[11,2023,1,12],[11,2024,11,8],[11,2025,12,7],[11,2026,7,11],[11,2027,5,12],[11,2028,6,12],[11,2029,10,9],[11,2030,8,11],[11,2031,12,8],[11,2032,0,10],[11,2033,7,12],[11,2034,11,0],[11,2035,10,10],[11,2036,11,9],[11,2037,11,10],[11,2038,0,11],[11,2039,11,11],[11,2040,9,11],[11,2041,10,11],[11,2042,12,0],[11,2043,8,12],[12,4088,12,9],[12,4089,10,12],[12,4090,9,12],[12,4091,11,12],[12,4092,12,11],[12,4093,0,12],[12,4094,12,10],[12,4095,12,12]],[[4,0,0,0],[4,1,1,1],[5,4,16,16],[5,5,1,0],[5,6,0,1],[5,7,2,1],[5,8,1,2],[5,9,2,2],[6,20,1,3],[6,21,3,1],[6,22,3,2],[6,23,2,0],[6,24,2,3],[6,25,0,2],[6,26,3,3],[7,54,4,1],[7,55,1,4],[7,56,4,2],[7,57,2,4],[7,58,4,3],[7,59,3,4],[7,60,3,0],[7,61,0,3],[7,62,5,1],[7,63,5,2],[7,64,2,5],[7,65,4,4],[7,66,1,5],[7,67,5,3],[7,68,3,5],[7,69,5,4],[8,140,4,5],[8,141,6,2],[8,142,2,6],[8,143,6,1],[8,144,6,3],[8,145,3,6],[8,146,1,6],[8,147,4,16],[8,148,3,16],[8,149,16,5],[8,150,16,3],[8,151,16,4],[8,152,6,4],[8,153,16,6],[8,154,4,0],[8,155,4,6],[8,156,0,4],[8,157,2,16],[8,158,5,5],[8,159,5,16],[8,160,16,7],[8,161,16,2],[8,162,16,8],[8,163,2,7],[8,164,7,2],[8,165,3,7],[8,166,6,5],[8,167,5,6],[8,168,6,16],[8,169,16,10],[8,170,7,3],[8,171,7,1],[8,172,16,9],[8,173,7,16],[8,174,1,16],[8,175,1,7],[8,176,4,7],[8,177,16,11],[8,178,7,4],[8,179,16,12],[8,180,8,16],[8,181,16,1],[8,182,6,6],[8,183,9,16],[8,184,2,8],[8,185,5,7],[8,186,10,16],[8,187,16,13],[8,188,8,3],[8,189,8,2],[8,190,3,8],[8,191,5,0],[8,192,16,14],[8,193,11,16],[8,194,7,5],[8,195,4,8],[8,196,6,7],[8,197,7,6],[8,198,0,5],[9,398,8,4],[9,399,16,15],[9,400,12,16],[9,401,1,8],[9,402,8,1],[9,403,14,16],[9,404,5,8],[9,405,13,16],[9,406,3,9],[9,407,8,5],[9,408,7,7],[9,409,2,9],[9,410,8,6],[9,411,9,2],[9,412,9,3],[9,413,15,16],[9,414,4,9],[9,415,6,8],[9,416,6,0],[9,417,9,4],[9,418,5,9],[9,419,8,7],[9,420,7,8],[9,421,1,9],[9,422,10,3],[9,423,0,6],[9,424,10,2],[9,425,9,1],[9,426,9,5],[9,427,4,10],[9,428,2,10],[9,429,9,6],[9,430,3,10],[9,431,6,9],[9,432,10,4],[9,433,8,8],[9,434,10,5],[9,435,9,7],[9,436,11,3],[9,437,1,10],[9,438,7,0],[9,439,10,6],[9,440,7,9],[9,441,3,11],[9,442,5,10],[9,443,10,1],[9,444,4,11],[9,445,11,2],[9,446,13,2],[9,447,6,10],[9,448,13,3],[9,449,2,11],[9,450,16,0],[9,451,5,11],[9,452,11,5],[10,906,11,4],[10,907,9,8],[10,908,7,10],[10,909,8,9],[10,910,0,16],[10,911,4,13],[10,912,0,7],[10,913,3,13],[10,914,11,6],[10,915,13,1],[10,916,13,4],[10,917,12,3],[10,918,2,13],[10,919,13,5],[10,920,8,10],[10,921,6,11],[10,922,10,8],[10,923,10,7],[10,924,14,2],[10,925,12,4],[10,926,1,11],[10,927,4,12],[10,928,11,1],[10,929,3,12],[10,930,1,13],[10,931,12,2],[10,932,7,11],[10,933,3,14],[10,934,5,12],[10,935,5,13],[10,936,14,4],[10,937,4,14],[10,938,11,7],[10,939,14,3],[10,940,12,5],[10,941,13,6],[10,942,12,6],[10,943,8,0],[10,944,11,8],[10,945,2,12],[10,946,9,9],[10,947,14,5],[10,948,6,13],[10,949,10,10],[10,950,15,2],[10,951,8,11],[10,952,9,10],[10,953,14,6],[10,954,10,9],[10,955,5,14],[10,956,11,9],[10,957,14,1],[10,958,2,14],[10,959,6,12],[10,960,1,12],[10,961,13,8],[10,962,0,8],[10,963,13,7],[10,964,7,12],[10,965,12,7],[10,966,7,13],[10,967,15,3],[10,968,12,1],[10,969,6,14],[10,970,2,15],[10,971,15,5],[10,972,15,4],[10,973,1,14],[10,974,9,11],[10,975,4,15],[10,976,14,7],[10,977,8,13],[10,978,13,9],[10,979,8,12],[10,980,5,15],[10,981,3,15],[10,982,10,11],[10,983,11,10],[10,984,12,8],[10,985,15,6],[10,986,15,7],[10,987,8,14],[10,988,15,1],[10,989,7,14],[10,990,9,0],[10,991,0,9],[10,992,9,13],[10,993,9,12],[10,994,12,9],[10,995,14,8],[10,996,10,13],[10,997,14,9],[10,998,12,10],[10,999,6,15],[10,1e3,7,15],[11,2002,9,14],[11,2003,15,8],[11,2004,11,11],[11,2005,11,14],[11,2006,1,15],[11,2007,10,12],[11,2008,10,14],[11,2009,13,11],[11,2010,13,10],[11,2011,11,13],[11,2012,11,12],[11,2013,8,15],[11,2014,14,11],[11,2015,13,12],[11,2016,12,13],[11,2017,15,9],[11,2018,14,10],[11,2019,10,0],[11,2020,12,11],[11,2021,9,15],[11,2022,0,10],[11,2023,12,12],[11,2024,11,0],[11,2025,12,14],[11,2026,10,15],[11,2027,13,13],[11,2028,0,13],[11,2029,14,12],[11,2030,15,10],[11,2031,15,11],[11,2032,11,15],[11,2033,14,13],[11,2034,13,0],[11,2035,0,11],[11,2036,13,14],[11,2037,15,12],[11,2038,15,13],[11,2039,12,15],[11,2040,14,0],[11,2041,14,14],[11,2042,13,15],[11,2043,12,0],[11,2044,14,15],[12,4090,0,14],[12,4091,0,12],[12,4092,15,14],[12,4093,15,0],[12,4094,0,15],[12,4095,15,15]]],Se=[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,96,108,120,132,144,156,172,188,212,240,276,320,384,448,512,576,640,704,768,832,896,960,1024],be=[0,4,8,12,16,20,24,32,40,48,64,92,128],Ie=[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,1024],Te=[0,4,8,12,16,20,28,36,44,56,68,80,96,112,128],ke=[0,4,8,12,16,20,24,28,32,36,40,44,52,60,68,76,84,92,100,108,116,124,136,148,160,172,188,204,220,240,260,284,308,336,364,396,432,468,508,552,600,652,704,768,832,896,960,1024],Ae=[0,4,8,12,16,20,24,28,36,44,52,64,76,92,108,128],Ne=[0,8,16,24,32,40,48,56,64,72,80,88,100,112,124,136,148,160,172,184,196,212,228,244,260,280,300,320,344,368,396,424,456,492,532,572,616,664,716,772,832,896,960,1024],Re=[0,4,8,12,16,20,24,28,32,40,48,60,72,88,108,128],De=[Se,Se,[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,100,112,124,140,156,172,192,216,240,268,304,344,384,424,464,504,544,584,624,664,704,744,784,824,864,904,944,984,1024],Ie,Ie,[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024],ke,ke,Ne,Ne,Ne,[0,12,24,36,48,60,72,84,96,108,120,132,144,156,172,188,204,220,236,252,268,288,308,328,348,372,396,420,448,476,508,544,580,620,664,712,764,820,880,944,1024]],Pe=[be,be,[0,4,8,12,16,20,24,32,40,48,64,92,128],Te,Te,Te,Ae,Ae,Re,Re,Re,[0,4,8,12,16,20,24,28,36,44,52,60,72,88,108,128]],Oe=2;function Ce(t,n,r,i){var e;if(t.et=[1,0,0,0,0,0,0,0],r.bit+=1,t.st=ae(n,r,2),r.bit+=1,t.st===Oe){for(t.ft=0,t.ht=ae(n,r,4),e=0;e<7;e+=1)fe(n,r)?t.et[t.ft]+=1:(t.ft+=1,t.et[t.ft]=1);t.ft+=1,t.pt=8,t.tn=Pe[t.nn]}else if(t.ft=1,t.pt=1,t.tn=De[t.nn],t.ht=ae(n,r,6),fe(n,r))throw new de(_e.nwt,{info:"Prediction not implemented"})}var Fe,Le,Me=[[1,0],[3,4],[4,10],[4,11],[4,12],[5,26],[5,27],[6,56],[6,57],[6,58],[6,59],[7,120],[7,121],[7,122],[8,246],[8,247],[8,248],[8,249],[8,250],[9,502],[9,503],[9,504],[9,505],[10,1012],[10,1013],[10,1014],[10,1015],[10,1016],[10,1017],[11,2036],[11,2037],[11,2038],[11,2039],[11,2040],[11,2041],[12,4084],[12,4085],[12,4086],[12,4087],[12,4088],[12,4089],[13,8180],[13,8181],[13,8182],[13,8183],[13,8184],[14,16370],[14,16371],[14,16372],[14,16373],[14,16374],[14,16375],[14,16376],[14,16377],[15,32756],[15,32757],[15,32758],[15,32759],[16,65520],[16,65521],[16,65522],[16,65523],[16,65524],[16,65525],[16,65526],[17,131054],[17,131055],[17,131056],[18,262114],[18,262115],[18,262116],[18,262117],[18,262118],[18,262119],[18,262120],[19,524242],[19,524243],[19,524244],[19,524245],[19,524246],[19,524247],[19,524248],[19,524249],[19,524250],[19,524251],[19,524252],[19,524253],[19,524254],[19,524255],[19,524256],[19,524257],[19,524258],[19,524259],[19,524260],[19,524261],[19,524262],[19,524263],[19,524264],[19,524265],[19,524266],[19,524267],[19,524268],[19,524269],[19,524270],[19,524271],[19,524272],[19,524273],[19,524274],[19,524275],[19,524276],[19,524277],[19,524278],[19,524279],[19,524280],[19,524281],[19,524282],[19,524283],[19,524284],[19,524285],[19,524286],[19,524287]];function xe(t,n){for(var r,i=0,e=1,u=e,o=fe(t,n);o!==Me[i][1];)(u=(r=Me[i+=1][0])-e)&&(e=r,o<<=u,o|=ae(t,n,u))}function Be(t,n,r){function i(t,n){for(var r=0,i=n.length;r<i;r+=1)n[r]&&(t.bit+=1)}function e(t,n){for(var r=4;fe(t,n);)r+=1;n.bit+=r}var u=Ee[r-1],o=function(t,n,r){for(var i,e=0,u=r[0][0],o=u,s=ae(t,n,o);s!==r[e][1];)(o=(i=r[e+=1][0])-u)&&(u=i,s<<=o,s|=ae(t,n,o));return e}(t,n,u),s=[0,0,0,0];if(s[0]=u[o][2],s[1]=u[o][3],r<5&&(s[2]=u[o][4],s[3]=u[o][5]),r<11)(3===r||4===r||r>=7)&&i(n,s);else{if(!(11===r||r>15))throw new de(_e.nwt,{info:"Huffman: unknown spectral codebook: "+r});i(n,s),16===s[0]&&e(t,n),16===s[1]&&e(t,n)}}function je(t,n,r,i,e){if(r.bit+=8,i||e||Ce(t,n,r),function(t,n,r){var i,e,u,o,s,f=t.st===Oe?3:5,a=t.st===Oe?7:31,c=0,h=t.ft,v=t.ht,l=[],_=[];for(t.rn=l,t.en=_,i=0;i<h;i+=1)for(e=0;e<v;){for(u=ae(n,r,4),s=e;(o=ae(n,r,f))===a;)s+=o;if((s+=o)>v)throw new de(_e.nwt,{info:"Number of bands is too high"});if(0===s)throw new de(_e.nwt,{info:"sectionLength is 0"});for(;e<s;e+=1)l[c]=u,_[c]=s,c+=1}}(t,n,r),function(t,n,r){var i,e,u,o=0,s=!0,f=t.ft,a=t.ht,c=t.rn;for(i=0;i<f;i+=1)for(e=0;e<a;e+=1,o+=1)(u=c[o])!==Fe.Gbt&&(u===Fe.Xbt||u===Fe.Hbt?xe(n,r):u===Fe.Wbt&&s?(r.bit+=9,s=!1):xe(n,r))}(t,n,r),!e){if(fe(n,r)){if(2===t.st)throw new de(_e.nwt,{info:"Pulse not allowed in eight short sequence."});!function(t,n){var r=ae(t,n,2);n.bit+=6+9*r}(n,r)}if(fe(n,r)&&function(t,n,r){for(var i,e,u,o,s,f=0,a=t.pt,c=2===t.st?[1,4,3]:[2,6,5];f<a;f+=1)if(e=ae(n,r,c[0]))for(u=fe(n,r),i=0;i<e;i+=1)r.bit+=c[1],(s=ae(n,r,c[2]))&&(r.bit+=1,o=u+3-fe(n,r),r.bit+=o*s)}(t,n,r),fe(n,r))throw new de(_e.nwt,{info:"Gain Control not implemented."})}!function(t,n,r){var i,e,u,o,s,f,a,c=t.ft,h=0,v=t.tn,l=t.et,_=t.ht,d=t.rn;for(i=0;i<c;i+=1)for(f=l[i],e=0;e<_;e+=1,h+=1)if(s=d[h],a=v[e+1]-v[e],s!==Fe.Gbt&&s!==Fe.Wbt&&s!==Fe.Xbt&&s!==Fe.Hbt)for(o=0;o<f;o+=1)if(s<Fe.Vbt)for(u=0;u<a;u+=4)Be(n,r,s);else for(u=0;u<a;u+=2)Be(n,r,s)}(t,n,r)}function Ue(t,n,r){r.bit+=4,je(t,n,r,0,0)}function He(t,n,r){r.bit+=4;var i=fe(n,r);i&&(Ce(t,n,r),1===ae(n,r,2)&&(r.bit+=t.ft*t.ht));je(t,n,r,i,0),je(t,n,r,i,0)}function Ge(t,n,r){var i,e,u,o,s,f,a,c,h,v,l=0;for(r.bit+=4,i=fe(n,r),e=ae(n,r,3),u=0;u<=e;u+=1)l+=1,o=fe(n,r),r.bit+=4,o&&3===ae(n,r,2)&&(l+=1);for(r.bit+=4,je(t,n,r,0,0),c=t.ft,h=t.ht,v=t.rn,u=1;u<l;u+=1)if(a=0,i?1:fe(n,r))xe(n,r);else for(s=0;s<c;s+=1)for(f=0;f<h;f+=1,a+=1)v[a]!==Fe.Gbt&&xe(n,r)}function We(t,n){var r,i;n.bit+=4,r=fe(t,n),255===(i=ae(t,n,8))&&(i+=ae(t,n,8)),r&&0!==n.bit&&(n.bit+=7-(n.bit-1)%8),n.bit+=8*i}function Ve(t,n){var r,i,e,u,o,s,f,a;n.bit+=10,r=ae(t,n,4),i=ae(t,n,4),e=ae(t,n,4),u=ae(t,n,2),o=ae(t,n,3),s=ae(t,n,4),fe(t,n)&&(n.bit+=4),fe(t,n)&&(n.bit+=4),fe(t,n)&&(n.bit+=3),n.bit+=5*r,n.bit+=5*i,n.bit+=5*e,n.bit+=4*u,n.bit+=4*o,n.bit+=5*s,0!==(a=n.bit%8)&&(n.bit+=8-a),f=ae(t,n,8),n.bit+=8*f}function Xe(t,n){var r=1,i=1;return fe(t,n)&&(n.bit+=8,r=2),fe(t,n)&&(r+=function(t,n){var r=1;for(n.bit+=7;fe(t,n);)n.bit+=7,r+=1;return r}(t,n)),fe(t,n)&&(r+=1+(i+=ae(t,n,4)),n.bit+=4+8*i),fe(t,n)&&(n.bit+=8,r+=1),n.bit+=8*i,r+=i}!function(t){t[t.Gbt=0]="Gbt",t[t.Vbt=5]="Vbt",t[t.Wbt=13]="Wbt",t[t.Hbt=14]="Hbt",t[t.Xbt=15]="Xbt"}(Fe||(Fe={})),function(t){t[t.Zbt=0]="Zbt",t[t.qbt=1]="qbt",t[t.Jbt=2]="Jbt",t[t.Kbt=11]="Kbt",t[t.$bt=13]="$bt",t[t.tNt=14]="tNt"}(Le||(Le={}));var qe,ze=0;function Ye(t,n,r){var i,e=0,u=0;switch(ae(t,n,4)){case Le.Kbt:return Xe(t,n);case Le.$bt:case Le.tNt:return ge;case Le.qbt:return n.bit+=4+8*(r-1),r;case Le.Jbt:switch(ae(t,n,4)){case ze:do{e+=i=ae(t,n,8),u+=1}while(255===i);return n.bit+=8*e,e+u+1;default:return n.bit+=8*(r-1),r}case Le.Zbt:default:return n.bit+=8*r-4,r}}function Ke(t,n){var r=ae(t,n,4);for(15===r&&(r+=ae(t,n,8)-1);r>0;){var i=Ye(t,n,r);if(i===ge)return!0;r-=i}return!1}function $e(t,n){for(var r={bit:0},i={nn:n},e=ae(t,r,3);e!==qe.hNt;){if(t.length<r.bit/8)return!1;switch(e){case qe.nNt:Ue(i,t,r);break;case qe.iNt:He(i,t,r);break;case qe.rNt:Ge(i,t,r);break;case qe.eNt:Ue(i,t,r);break;case qe.sNt:We(t,r);break;case qe.uNt:Ve(t,r);break;case qe.oNt:if(Ke(t,r))return!0}e=ae(t,r,3)}return!1}!function(t){t[t.nNt=0]="nNt",t[t.iNt=1]="iNt",t[t.rNt=2]="rNt",t[t.eNt=3]="eNt",t[t.sNt=4]="sNt",t[t.uNt=5]="uNt",t[t.oNt=6]="oNt",t[t.hNt=7]="hNt"}(qe||(qe={}));var Ze=function(){function t(){}var n=t.prototype;return n.pk=function(t){return this.Mk()*t},n.bk=function(t){return this.Nk(t)>0},n.Tk=function(t){return this.Nk(t)>=0},n.Dk=function(t,n){return this.Ek(t).Ik(n)},n.ck=function(t){return 0===this.Nk(t)},n.Sk=function(t){return this.Nk(t)<0},n.Ik=function(t){return this.Nk(t)<=0},n.Lk=function(){return this.jk()?this.Ck():this},n.Ok=function(t){return this.pp(t.Ck())},n.Ek=function(t){return this.Ok(t).Lk()},t}();function Je(t,n){return t.xk()?n.xk()?Oi.Da:Oi.Ia:n.xk()?Oi.Ea:t.zk()?n.zk()&&t.jk()===n.jk()?Oi.Da:t.jk()?Oi.Ea:Oi.Ia:n.jk()?Oi.Ia:Oi.Ea}var Qe=function(){function t(t,n){this.Rk=void 0,this.Bk=void 0,this.Rk=t,this.Bk=n}t.Uk=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.Pk=function(n){return n.unsigned?new t(n,Tt.UZERO):new t(n,n.isNegative()?Tt.NEG_ONE:Tt.ZERO)},t.Qk=function(n,r){if(d(n))return r?t.Yk:t.Fk;if(r){if(n<0)return t.Yk;if(n>=3.402823669209385e38)return t.Gk}else{if(n<=-1.7014118346046923e38)return t.Vk;if(n+1>=1.7014118346046923e38)return t.Wk}return n<0?t.Qk(-n,r).Ck():t.Uk(Tt.fromNumber(n%0x10000000000000000),Tt.fromNumber(n/0x10000000000000000),r)};var n=t.prototype;return n.Hk=function(){return this.Bk.unsigned},n.Xk=function(){return this.Rk.isZero()&&this.Bk.isZero()},n.jk=function(){return this.Bk.isNegative()},n.Zk=function(){return this.Hk()?t.Uk(this.Rk,this.Bk,!1):this},n.qk=function(){return this.Hk()?this:t.Uk(this.Rk,this.Bk,!0)},n.Jk=function(){return this.Rk},n.Mk=function(){return this.jk()?-this.Ck().Mk():0x10000000000000000*this.Bk.toNumber()+this.Rk.toUnsigned().toNumber()},n.Kk=function(){return this.Rk.toInt()},n.ck=function(t){return(this.Hk()===t.Hk()||this.Bk.getHighBits()>>>31!=1||t.Bk.getHighBits()>>>31!=1)&&(this.Bk.toUnsigned().eq(t.Bk.toUnsigned())&&this.Rk.toUnsigned().eq(t.Rk.toUnsigned()))},n.Nk=function(t){if(this.ck(t))return Oi.Da;var n=this.jk(),r=t.jk();if(n&&!r)return Oi.Ea;if(!n&&r)return Oi.Ia;if(!this.Hk())return this.Ok(t).jk()?Oi.Ea:Oi.Ia;var i=this.qk(),e=t.qk(),u=e.Bk.comp(i.Bk);return u>0||0===u&&e.Rk.gt(i.Rk)?Oi.Ea:Oi.Ia},n.Sk=function(t){return this.Nk(t)<0},n.Ik=function(t){return this.Nk(t)<=0},n.$k=function(t){return this.Nk(t)>0},n.tm=function(t){return this.Nk(t)>=0},n.nm=function(){return new t(this.Rk.not(),this.Bk.not())},n.im=function(n){return new t(this.Rk.and(n.Rk),this.Bk.and(n.Bk))},n.um=function(n){return new t(this.Rk.or(n.Rk),this.Bk.or(n.Bk))},n.hm=function(n){var r=127&n;return 0===r?this:r<64?t.Uk(this.Rk.shl(r),this.Bk.shl(r).or(this.Rk.shru(64-r)),this.Hk()):t.Uk(Tt.ZERO,this.Rk.shl(r-64),this.Hk())},n.cm=function(n){var r=127&n;return 0===r?this:r<64?t.Uk(this.Rk.shru(r).or(this.Bk.shl(64-r)),this.Bk.shr(r),this.Hk()):t.Uk(this.Bk.shr(r-64),this.Bk.isNegative()?Tt.NEG_ONE:Tt.ZERO,this.Hk())},n.fm=function(n){var r=127&n;return 0===r?this:r<64?t.Uk(this.Rk.shru(r).or(this.Bk.shl(64-r)),this.Bk.shru(r),this.Hk()):64===r?t.Uk(this.Bk,Tt.ZERO,this.Hk()):t.Uk(this.Bk.shru(r-64),Tt.ZERO,this.Hk())},n.pp=function(n){var r=this.Bk.high>>>16,i=65535&this.Bk.high,e=this.Bk.low>>>16,u=65535&this.Bk.low,o=this.Rk.high>>>16,s=65535&this.Rk.high,f=this.Rk.low>>>16,a=65535&this.Rk.low,c=n.Bk.high>>>16,h=65535&n.Bk.high,v=n.Bk.low>>>16,l=65535&n.Bk.low,_=n.Rk.high>>>16,d=65535&n.Rk.high,p=n.Rk.low>>>16,w=0,m=0,y=0,g=0,E=0,S=0,b=0,I=0;b+=(I+=a+(65535&n.Rk.low))>>>16,I&=65535,S+=(b+=f+p)>>>16,b&=65535,E+=(S+=s+d)>>>16,S&=65535,g+=(E+=o+_)>>>16,E&=65535,y+=(g+=u+l)>>>16,g&=65535,m+=(y+=e+v)>>>16,y&=65535,w+=(m+=i+h)>>>16,m&=65535,w+=r+c,w&=65535;var T=this.Hk(),k=Tt.fromBits(y<<16|g,w<<16|m,T),A=Tt.fromBits(b<<16|I,E<<16|S,T);return t.Uk(A,k,T)},n.Ok=function(t){return this.pp(t.Ck())},n.Ck=function(){return this.nm().pp(t.vm)},n.dm=function(n){if(this.Xk()||n.Xk())return this.Hk()?t.Yk:t.Fk;if(this.jk())return n.jk()?this.Ck().dm(n.Ck()):this.Ck().dm(n).Ck();if(n.jk())return this.dm(n.Ck()).Ck();if(this.Bk.isZero()&&0===this.Rk.high&&n.Bk.isZero()&&0===n.Rk.high)return t.Pk(this.Rk.multiply(n.Rk));var r=Tt.fromBits(4294967295,0,!0),i=this.Rk.and(r),e=this.Rk.shru(32),u=this.Bk.and(r),o=this.Bk.shru(32),s=n.Rk.and(r),f=n.Rk.shru(32),a=n.Bk.and(r),c=n.Bk.shru(32),h=Tt.UZERO,v=Tt.UZERO,l=Tt.UZERO,_=Tt.UZERO;h=h.add(i.mul(s)),v=v.add(h.shru(32)),h=h.and(r),v=v.add(e.mul(s)),l=l.add(v.shru(32)),v=(v=v.and(r)).add(i.mul(f)),l=l.add(v.shru(32)),v=v.and(r),l=l.add(u.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(e.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(r)).add(i.mul(a)),_=_.add(l.shru(32)),l=l.and(r),_=_.add(o.mul(s)).add(u.mul(f)).add(e.mul(a)).add(i.mul(c)).and(r);var d=Tt.fromBits(h.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),p=Tt.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.Uk(d,p,this.Hk())},n.lm=function(n){var r,i,e=n;if(e.Xk())throw new RangeError("division by zero");if(this.Xk())return this.Hk()?[t.Yk,t.Yk]:[t.Fk,t.Fk];if(this.Hk()){if(e.Hk()||(e=e.qk()),e.$k(this))return[t.Yk,this];if(e.$k(this.fm(1)))return[i=t.gm,r=this.Ok(e)];i=t.Yk}else{if(this.ck(t.Vk)){if(e.ck(t.vm)||e.ck(t.wm))return[t.Vk,t.Fk];if(e.ck(t.Vk))return[t.vm,t.Fk];var u=this.cm(1).ym(e).hm(1);return u.ck(t.Fk)?i=e.jk()?t.vm:t.wm:(r=this.Ok(e.dm(u)),i=u.pp(r.ym(e))),[i,r=this.Ok(e.dm(i))]}if(e.ck(t.Vk))return this.Hk()?[t.Yk,this]:[t.Fk,this];if(this.jk()){if(e.jk())return this.Ck().lm(e.Ck());var o=this.Ck().lm(e);return i=o[0],r=o[1],[i.Ck(),r.Ck()]}if(e.jk()){var s=this.lm(e.Ck());return i=s[0],r=s[1],[i.Ck(),r.Ck()]}i=t.Fk}for(r=this;r.tm(e);){for(var f=v.max(1,v.floor(r.Mk()/e.Mk())),a=v.ceil(v.log(f)/v.LN2),c=a<=48?1:v.pow(2,a-48),h=t.Qk(f),l=h.dm(e);l.jk()||l.$k(r);)f-=c,l=(h=t.Qk(f,this.Hk())).dm(e);h.Xk()&&(h=t.vm),i=i.pp(h),r=r.Ok(l)}return[i,r]},n.ym=function(t){return this.lm(t)[0]},n.Am=function(t){return this.lm(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.Xk())return"0";if(this.jk()){if(this.ck(t.Vk)){var i=t.Qk(r),e=this.ym(i),u=e.dm(i).Ok(this);return e.toString(r)+u.Kk().toString(r)}return"-"+this.Ck().toString(r)}for(var o=t.Qk(v.pow(r,6),this.Hk()),s=this,f="";;){var a=s.ym(o),c=(s.Ok(a.dm(o)).Kk()>>>0).toString(r);if((s=a).Xk())return c+f;for(;c.length<6;)c="0"+c;f=String(c)+f}},t}();Qe.Fk=Qe.Pk(Tt.ZERO),Qe.Yk=Qe.Pk(Tt.UZERO),Qe.vm=Qe.Pk(Tt.ONE),Qe.gm=Qe.Pk(Tt.UONE),Qe.wm=Qe.Pk(Tt.NEG_ONE),Qe.Wk=Qe.Uk(Tt.NEG_ONE,Tt.MAX_VALUE,!1),Qe.Gk=Qe.Uk(Tt.MAX_UNSIGNED_VALUE,Tt.MAX_UNSIGNED_VALUE,!0),Qe.Vk=Qe.Uk(Tt.ZERO,Tt.MIN_VALUE,!1);var tu=function(){function t(t,n){void 0===n&&(n=1),this._m=void 0,this.pm=void 0,this._m=t,this.pm=n}t.Mm=function(n){return new t(v.ceil(n._m),n.pm)},t.Nm=function(n){return new t(v.floor(n._m),n.pm)},t.Tm=function(t,n){return t.Tk(n)?t:n},t.Dm=function(t,n){return t.Ik(n)?t:n};var n=t.prototype;return n.pp=function(n){return this.pm>=n.pm?new t(this._m+n.Im(this.pm)._m,this.pm):new t(this.Im(n.pm)._m+n._m,n.pm)},n.bk=function(t){return t.Sk(this)},n.Tk=function(t){return t.Ik(this)},n.Ek=function(n){return this.pm>=n.pm?new t(v.abs(this._m-n.Im(this.pm)._m),this.pm):n.Ek(this)},n.Dk=function(t,n){return this.Ek(t).Ik(n)},n.Nk=function(t){return r=t,(n=this).pm>=r.pm?ji(n._m,r.Im(n.pm)._m):ji(n.Im(r.pm)._m,r._m);var n,r},n.ck=function(t){return 0===this.Nk(t)},n.Sk=function(t){return this.Nk(t)<0},n.Ik=function(t){return this.Nk(t)<=0},n.Im=function(n){return new t(this._m*(n/this.pm),n)},n.Ok=function(n){return this.pm>=n.pm?new t(this._m-n.Im(this.pm)._m,this.pm):new t(this.Im(n.pm)._m-n._m,n.pm)},n.Em=function(n){return new t(this._m*n,this.pm)},R(t,[{key:"zk",get:function(){return!isFinite(this._m)}},{key:"Sm",get:function(){return this._m/this.pm}}]),t}();tu.Lm=new tu(1/6,1),tu.Fk=new tu(0),tu.jm=new tu(1/0),tu.Cm=1e6;var nu=function(t){function n(n,r){var i;return(i=t.call(this)||this).Pu=void 0,i.pm=void 0,i.Pu=n.toSigned(),i.pm=r>>>0,i}P(n,t),n.Om=function(t,r){return void 0===r&&(r=1e6),n.Qk(t*r,r)},n.Qk=function(t,r){return d(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(Tt.fromNumber(t),r)},n.Pk=function(t,r){return new n(t,r)},n.Bm=function(t){return n.Om(t.Sm,1e6)},n.Um=function(t){return new n(Tt.fromNumber(t.getTime()),1e3)},n.Tm=function(t,n){return t.Tk(n)?t:n},n.Dm=function(t,n){return t.Ik(n)?t:n},n.Pm=function(t,r,i){return n.Tm(r,n.Dm(i,t))};var r=n.prototype;return r.jk=function(){return this.Pu.isNegative()},r.Xk=function(){return 0!==this.pm&&this.Pu.isZero()},r.zk=function(){return 0===this.pm&&!this.Pu.isZero()},r.xk=function(){return 0===this.pm&&this.Pu.isZero()},r.Mk=function(){if(0===this.pm)return this.Pu.isZero()?NaN:this.Pu.isNegative()?-1/0:1/0;var t=this.Pu.divide(this.pm),n=this.Pu.subtract(t.multiply(this.pm));return t.toNumber()+n.toNumber()/this.pm},r.Jk=function(){if(0===this.pm)throw new a("Failed to convert timestamp");return this.Pu},r.Qm=function(){return new Date(0===this.pm?NaN:this.Im(1e3).Pu.toNumber())},r.Ym=function(){return new tu(0===this.pm?this.Mk():this.Pu.toNumber(),this.pm)},r.Im=function(t,r){void 0===r&&(r=eu.Fm);var i=this.pm;if(i===t)return this;if(0===i)return this;var e=At(i,t);return new n(function(t,n,r){var i=t.lm(n),e=i[0],u=i[1];if(u.Xk())return e;if(r===eu.Fm)return u.jk()?e.Ok(Qe.vm):e;if(r===eu.Gm)return u.jk()?e:e.pp(Qe.vm);var o=u.dm(Qe.Qk(2));return o.jk()?o.Ck().Sk(n)?e:e.Ok(Qe.vm):o.Sk(n)?e:e.pp(Qe.vm)}(Qe.Pk(this.Pu).dm(Qe.Qk(t/e)),Qe.Qk(i/e),r).Jk(),t)},r.Nk=function(t){if(this===t)return Oi.Da;if(0===this.pm||0===t.pm)return Je(this,t);if(this.Xk())return t.Xk()?Oi.Da:t.jk()?Oi.Ia:Oi.Ea;if(t.Xk())return this.jk()?Oi.Ea:Oi.Ia;var n=v.min(this.pm,t.pm),r=this.Im(n,eu.Vm).Pu,i=t.Im(n,eu.Vm).Pu;return r.compare(i)},r.Ck=function(){return 0===this.pm?ru(this):new n(this.Pu.negate(),this.pm)},r.pp=function(t){if(0===this.pm||0===t.pm)return iu(this,t);if(this.Xk())return t;if(t.Xk())return this;var r=v.max(this.pm,t.pm),i=this.Im(r,eu.Vm),e=t.Im(r,eu.Vm);return new n(i.Pu.add(e.Pu),r)},r.dm=function(t){if(this.xk()||d(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var r=this.jk()?n.Rm:n.zm;return t<0?r.Ck():r}return this.Xk()?this:new n(0===t?Tt.ZERO:this.Pu.multiply(t),this.pm)},r.ym=function(t){if(this.xk()||d(t))return n.xm;if(this.zk())return isFinite(t)?0===t?1/t<0?this.Ck():this:t<0?this.Ck():this:n.xm;if(!isFinite(t))return new n(Tt.ZERO,this.pm);if(this.Xk())return 0===t?n.xm:new n(Tt.ZERO,this.pm);if(0===t){var r=this.jk()?n.Rm:n.zm;return 1/t<0?r.Ck():r}return new n(this.Pu.divide(t),this.pm)},r.Wm=function(){return[this.Pu.low,this.Pu.high,this.pm]},n}(Ze);function ru(t){return t.xk()?t:t.jk()?nu.zm:nu.Rm}function iu(t,n){return t.xk()||n.xk()?nu.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:nu.xm:t.zk()?t:n}nu.Fk=new nu(Tt.ZERO,1e6),nu.xm=new nu(Tt.ZERO,0),nu.zm=new nu(Tt.ONE,0),nu.Rm=new nu(Tt.NEG_ONE,0);var eu,uu=function(t){function n(n,r){var i;return(i=t.call(this)||this).Pu=void 0,i.pm=void 0,i.Pu=BigInt.asIntN(64,n),i.pm=r>>>0,i}P(n,t),n.Om=function(t,r){return void 0===r&&(r=1e6),n.Qk(t*r,r)},n.Qk=function(t,r){return d(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(BigInt(v.floor(t)),r)},n.Pk=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.Bm=function(t){return n.Om(t.Sm,1e6)},n.Um=function(t){return n.Qk(t.getTime(),1e3)},n.Tm=function(t,n){return t.Tk(n)?t:n},n.Dm=function(t,n){return t.Ik(n)?t:n},n.Pm=function(t,r,i){return n.Tm(r,n.Dm(i,t))};var r=n.prototype;return r.jk=function(){return this.Pu<BigInt(0)},r.Xk=function(){return 0!==this.pm&&this.Pu===BigInt(0)},r.zk=function(){return 0===this.pm&&this.Pu!==BigInt(0)},r.xk=function(){return 0===this.pm&&this.Pu===BigInt(0)},r.Mk=function(){if(0===this.pm)return this.Pu===BigInt(0)?NaN:this.Pu<BigInt(0)?-1/0:1/0;var t=this.Pu/BigInt(this.pm),n=this.Pu-t*BigInt(this.pm);return Number(t)+Number(n)/this.pm},r.Jk=function(){if(0===this.pm)throw new a("Failed to convert timestamp");return this.Hm()},r.Hm=function(){var t=this.Pu&BigInt(4294967295),n=this.Pu>>BigInt(32)&BigInt(4294967295);return Tt.fromBits(Number(t),Number(n))},r.Qm=function(){return new Date(0===this.pm?NaN:Number(this.Im(1e3).Pu))},r.Ym=function(){return new tu(0===this.pm?this.Mk():Number(this.Pu),this.pm)},r.Im=function(t,r){void 0===r&&(r=eu.Fm);var i=this.pm;if(i===t)return this;if(0===i)return this;var e=At(i,t);return new n(function(t,n,r){var i=t/n,e=t-i*n;if(e===BigInt(0))return i;if(r===eu.Fm)return e<BigInt(0)?i-BigInt(1):i;if(r===eu.Gm)return e<BigInt(0)?i:i+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?i:i-BigInt(1):u<n?i:i+BigInt(1)}(this.Pu*BigInt(t/e),BigInt(i/e),r),t)},r.Nk=function(t){if(this===t)return Oi.Da;if(0===this.pm||0===t.pm)return Je(this,t);if(this.Xk())return t.Xk()?Oi.Da:t.jk()?Oi.Ia:Oi.Ea;if(t.Xk())return this.jk()?Oi.Ea:Oi.Ia;var n=v.min(this.pm,t.pm),r=this.Im(n,eu.Vm).Pu,i=t.Im(n,eu.Vm).Pu;return r>i?Oi.Ia:r<i?Oi.Ea:Oi.Da},r.Ck=function(){return 0===this.pm?ou(this):new n(-this.Pu,this.pm)},r.pp=function(t){if(0===this.pm||0===t.pm)return su(this,t);if(this.Xk())return t;if(t.Xk())return this;var r=v.max(this.pm,t.pm),i=this.Im(r,eu.Vm),e=t.Im(r,eu.Vm);return new n(i.Pu+e.Pu,r)},r.dm=function(t){if(this.xk()||d(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var r=this.jk()?n.Rm:n.zm;return t<0?r.Ck():r}return this.Xk()?this:new n(0===t?BigInt(0):this.Pu*BigInt(t),this.pm)},r.ym=function(t){if(this.xk()||d(t))return n.xm;if(this.zk())return isFinite(t)?0===t?1/t<0?this.Ck():this:t<0?this.Ck():this:n.xm;if(!isFinite(t))return new n(BigInt(0),this.pm);if(this.Xk())return 0===t?n.xm:new n(BigInt(0),this.pm);if(0===t){var r=this.jk()?n.Rm:n.zm;return 1/t<0?r.Ck():r}return new n(this.Pu/BigInt(t),this.pm)},r.Wm=function(){var t=this.Hm();return[t.low,t.high,this.pm]},R(n,null,[{key:"Fk",get:function(){return n.Xm||(n.Xm=new n(BigInt(0),1e6)),n.Xm}},{key:"xm",get:function(){return n.Zm||(n.Zm=new n(BigInt(0),0)),n.Zm}},{key:"zm",get:function(){return n.qm||(n.qm=new n(BigInt(1),0)),n.qm}},{key:"Rm",get:function(){return n.Jm||(n.Jm=new n(BigInt(-1),0)),n.Jm}}]),n}(Ze);function ou(t){return t.xk()?t:t.jk()?uu.zm:uu.Rm}function su(t,n){return t.xk()||n.xk()?uu.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:uu.xm:t.zk()?t:n}uu.Xm=void 0,uu.Zm=void 0,uu.qm=void 0,uu.Jm=void 0,function(t){t[t.Fm=0]="Fm",t[t.Gm=1]="Gm",t[t.Vm=2]="Vm"}(eu||(eu={}));var fu=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?uu:nu;function au(t,n){return t.Nk(n)}var cu=9e4,hu=v.pow(2,33),vu=fu.Qk(hu,cu),lu=vu.ym(2);function _u(t,n){var r=t.Ok(n);return t.zk()||n.zk()?r:(r.Tk(lu)?r=r.Ok(vu):r.Sk(lu.Ck())&&(r=r.pp(vu)),r)}function du(t){return fu.Qk(t,cu)}var pu=cu,wu=2,mu=1024;function yu(t,n,r,i){var e,u,o=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3];e=u=n,i.KH=i.KH||[],i.Mkt=i.Mkt||new ue,i.sn=i.sn||0;for(var s=i.Mkt;u<r;){var f=void 0;if(i.sn<9&&(f=t[u],u+=1),0===i.sn)255===f&&(i.sn=1);else if(1===i.sn)240==(240&f)?(i.sn=2,i.Mkt=s=new ue,i.KH.push(s),s.JT.zat=i.zat,s.JT.Rat=i.zat,s.JT.Bat=i.zat,i.an=1&f):i.sn=0;else if(2===i.sn){i.sn=3,i.$vt=f>>6&3;var a=s.JT.ymt=f>>2&15,c=s.JT.Amt=o[a];s.JT._mt=(1&f)<<2,i.zat=i.zat.pp(du(pu*mu/c))}else if(3===i.sn)i.sn=4,s.JT._mt+=f>>6&3,i.ln=(3&f)<<11;else if(4===i.sn)i.sn=5,i.ln+=f<<3;else if(5===i.sn)i.sn=6,i.ln+=(224&f)>>5;else if(6===i.sn)i.sn=7,i.mn=3&f,e=u,i.gn=i.ln-7,0===i.mn&&0===i.an||(i.sn=9);else if(7===i.sn)e+=1,i.gn-=1,i.sn=8;else if(8===i.sn)e+=1,i.gn-=1,i.sn=9;else{var h=v.min(r-e,i.gn);0!==h&&(u=e+h,i.gn-=h,s.Yht(t,e,e+h)),0===i.gn&&(i.sn=0)}}return i.KH}function gu(t){var n,r;if(!t)return!1;for(n=0,r=t.length;n<r;n+=1)try{if($e(t[n].Zht(),t[n].JT.ymt))return!0}catch(t){0}return!1}function Eu(t,n,r){var i,e,u,o=t.KH||[];o[0]&&o[0].JT.Amt?(i=o[0].JT.Amt/mu,e=du(pu/i),u=o[0].JT.Amt):(i=0,e=du(0),u=0),null===r&&(r=!n&&gu(o)),n=n||r;var s=o[0]?o[0].JT._mt:0,f=function(t,n){if(t)switch(n){case 1:return new p([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);case 2:case 3:return new p([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}else switch(n){case 1:return new p([0,200,0,128,35,128]);case 2:return new p([33,0,73,144,2,25,0,35,128]);case 3:return new p([0,200,0,128,32,132,1,38,64,8,100,0,142]);case 4:return new p([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);case 5:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);case 6:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}return null}(n,s);!function(t,n,r){if(0!==r.gn){var i=t.length-1,e=t[i],u=t[i]=new ue;u.Yht(n,0,n.length),u.JT=e.JT,r.gn=0}}(o,f,t),function(t,n){if(t.length)for(var r=1,i=1;i<t.length;i++){var e=t[i-1].JT.Rat,u=t[i].JT.Rat;if(u===e)r++;else{var o=u.Ok(e),s=v.max(1,v.round(o.Mk()/n.Mk()));if(r>s){var f=r-s;t.splice(i-f,f),i-=f}r=1}}}(o,e),function(t,n){if(t.length)for(var r=t[0],i=1,e=t.length;i<e;i+=1){var u=t[i],o=du(pu*mu/r.JT.Amt),s=r.JT.zat.pp(o),f=u.JT.zat.Ok(s),a=f.Jk().divide(o.Im(f.pm).Jk()).toNumber();if(a>0){for(var c=[],h=0;h<a;h++){var v=new ue;v.Yht(n,0,n.length),v.JT=li({},r.JT,{zat:s,Rat:s,Bat:s}),c.push(v),s=s.pp(o)}t.splice.apply(t,[i,0].concat(c)),i+=a}r=u}}(o,f);var a=function(t){var n=[],r=t[0]&&t[0].JT,i=r&&r.ymt||0,e=r&&r._mt||0,u=[];return u[0]=(wu<<3)+(i>>1),u[1]=((1&i)<<7)+(e<<3),ce(n,3),ce(n,23+u.length),le(n,2),ce(n,0),ce(n,4),ce(n,15+u.length),ce(n,64),ce(n,21),he(n,[0,0,0]),ve(n,0),ve(n,0),ce(n,5),ce(n,u.length),he(n,u),ce(n,6),ce(n,1),ce(n,2),n}(o);return{Zkt:t.Zkt,KH:o,nmt:t.nmt,imt:t.imt,Imt:a,smt:du(t.smt),Nmt:u,Tmt:mu,Dmt:s,jat:i,umt:e,DAt:r,pmt:n,dmt:fu.xm,lmt:fu.xm,emt:NaN,duration:NaN,omt:t.omt,hmt:t.hmt,amt:t.amt,cmt:t.cmt,fmt:t.fmt,vmt:t.vmt}}function Su(t){var n=t.umt.dm(t.KH.length);t.duration=n.Mk(),t.emt||(t.emt=n.Mk())}var bu=2,Iu=3,Tu=1,ku=[null,null,[22050,24e3,16e3,0],[44100,48e3,32e3,0]],Au=[null,null,[0,8e3,16e3,24e3,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,144e3,16e4,0],[0,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,16e4,192e3,224e3,256e3,32e4,0]],Nu=[576,0,576,1152],Ru=[2,2,2,1];function Du(t,n){if(255!==t||224!=(224&n))return!1;var r=(24&n)>>3;return(6&n)>>1===Tu&&(r===Iu||r===bu)}function Pu(t,n,r,i){var e,u,o,s,f=n;for(i.KH=i.KH||[],i.Mkt=i.Mkt||new ue,i.sn=i.sn||0,u=i.Mkt;f<r;)switch(i.sn){case 0:e=t[f],f+=1,255===e?i.sn=1:u.Yht(t,f-1,f);break;case 1:e=t[f],f+=1,Du(255,e)?(i.Mkt=u=new ue,i.bn=e,u.JT.Sb=(24&e)>>3,u.JT.uN=(6&e)>>1,u.JT.zat=i.zat,u.JT.Rat=i.zat,u.JT.Bat=i.zat,i.KH.push(u),i.sn=2):255!==e?(i.sn=0,u.Yht([255,e],0,2)):255===e&&u.Yht([255],0,1);break;case 2:if(e=t[f],f+=1,i.kn=e,u.JT.mmt=Au[u.JT.Sb][e>>4],u.JT.Mmt=ku[u.JT.Sb][(12&e)>>2],i.k=2==(2&e)?1:0,i.Zy=v.round(Nu[u.JT.Sb]/8*u.JT.mmt/u.JT.Mmt+i.k)-1,!i.Zy)return;i.sn=3;break;case 3:e=t[f],f+=1,i.tr=e,u.JT.bmt=Ru[e>>6],i.sn=4,u.Yht([255,i.bn,i.kn,e],0,4),i.gn=v.max(i.Zy-4,0);break;default:if(i.Zy!==1/0)(s=i.gn)>r-f?(s=r-f,u.Yht(t,f,r),i.gn-=s,f=r):(u.Yht(t,f,f+s),i.gn=0,i.sn=0,f+=s);else{i.nr=i.nr||0,o=f;t:for(;f<r;)switch(e=t[f],f+=1,i.nr){case 1:if(Du(255,e)){i.sn=1,f-=1;break t}i.nr=0;break;default:255===e&&(i.nr=1)}f<r?u.Yht(t,o,f-1):u.Yht(t,o,r)}}}function Ou(t){var n,r,i,e,u=t.KH||[];u[0]&&u[0].JT.Mmt?(n=9e4/(r=u[0].JT.Mmt/Nu[u[0].JT.Sb]),i=u[0].JT.Mmt,e=Nu[u[0].JT.Sb]):(n=0,r=0,i=0,e=Nu[Iu]);var o=function(t){var n=[],r=t[0]&&t[0].JT,i=r?32*r.Mmt:0,e=r?32*r.Mmt:0;return ce(n,3),he(n,[128,128,128]),ce(n,27),le(n,2),ce(n,0),ce(n,4),he(n,[128,128,128]),ce(n,13),ce(n,107),ce(n,21),he(n,[0,0,0]),ve(n,i),ve(n,e),ce(n,6),he(n,[128,128,128]),ce(n,1),ce(n,2),n}(u),s=u[0]?u[0].JT.bmt:0;return{Zkt:t.Zkt,KH:u,nmt:t.nmt,imt:t.imt,Imt:o,smt:du(t.smt),Nmt:i,Tmt:e,Dmt:s,jat:r,umt:du(n),dmt:fu.xm,lmt:fu.xm,emt:NaN,duration:NaN,omt:t.omt,hmt:t.hmt,amt:t.amt,cmt:t.cmt,fmt:t.fmt,vmt:t.vmt}}function Cu(t){var n=t.umt.dm(t.KH.length);t.duration=n.Mk(),t.emt=n.Mk()}function Fu(t,n){var r=n.Cc,i=t.getUint8(r>>3),e=1<<7-(7&r);return n.Sc(1),(i&e)===e?1:0}function Lu(t,n,r){for(var i=0,e=0;e<r;e++)i=2*i+Fu(t,n);return i}var Mu=function(){function t(t){void 0===t&&(t=0),this.Ec=t}var n=t.prototype;return n.Sc=function(t){this.Ec+=t},n.Lc=function(t){this.Ec=t},n.jc=function(){return new t(this.Cc)},R(t,[{key:"Cc",get:function(){return this.Ec}}]),t}(),xu=[128,64,32,16,8,4,2,1],Bu=function(){function t(t){this.Oc=t}return t.prototype.xc=function(t){return ju(this.Oc,t)},t}();function ju(t,n){return(t&n)===n}function Uu(t,n){return ju(t,xu[n])}function Hu(t,n){var r=t.getUint8(n.Cc);return n.Sc(1),r}function Gu(t,n,r){var i=io(oo(t),n.Cc,n.Cc+r);return n.Sc(i.byteLength),i}function Wu(t,n,r){return n.Cc+r<=t.byteLength}function Vu(t,n,r,i){return void 0===i&&(i=!1),i?function(t,n,r){for(var i=0,e=1,u=0;u<r;u++)i+=Hu(t,n)*e,e*=256;return i}(t,n,r):function(t,n,r){for(var i=0,e=0;e<r;e++)i=256*i+Hu(t,n);return i}(t,n,r)}function Xu(t,n,r){void 0===r&&(r=!1);var i=t.getUint16(n.Cc,r);return n.Sc(2),i}function qu(t,n,r){void 0===r&&(r=!1);var i=t.getUint32(n.Cc,r);return n.Sc(4),i}function zu(t,n,r){void 0===r&&(r=!1);var i=qu(t,n,r),e=qu(t,n,r),u=r?e:i,o=r?i:e;return Tt.fromBits(o,u,!0)}function Yu(t,n){var r=Hu(t,n);if(r)return String.fromCharCode(r)}function Ku(t,n){return Ju(t,n)}function $u(t,n,r){for(var i="",e=0;e<r;e++)i+=Yu(t,n);return i}function Zu(t,n){var r,i=Hu(t,n);return 0==(128&i)?r=i:192==(224&i)?r=64*(31&i)+(63&Hu(t,n)):224==(240&i)?r=4096*(15&i)+64*(63&Hu(t,n))+(63&Hu(t,n)):240==(248&i)&&(r=262144*(7&i)+4096*(63&Hu(t,n))+64*(63&Hu(t,n))+(63&Hu(t,n))),r}function Ju(t,n){return function(t,n,r){var i=[];for(;n.Cc<t.byteLength;){var e=Hu(t,n);if(r&&!e)break;i.push(e)}return Ti(i)}(t,n,!0)}function Qu(t,n){if(n.Cc+2<=t.byteLength){var r=t.getUint8(n.Cc),i=t.getUint8(n.Cc+1);return(254!==r||255!==i)&&(255===r&&254===i||void 0)}}function to(t,n){var r=Qu(t,n);return void 0!==r&&n.Sc(2),no(t,n,!0===r)}function no(t,n,r){return void 0===r&&(r=!1),function(t,n,r,i){var e=[];for(;n.Cc+2<=t.byteLength;){var u=Xu(t,n,r);if(i&&!u)break;e.push(u)}return Ti(e)}(t,n,r,!0)}function ro(t,n){return function(t,n,r){var i=[];(function(t,n){return n.Cc+3<=t.byteLength&&239===t.getUint8(n.Cc)&&187===t.getUint8(n.Cc+1)&&191===t.getUint8(n.Cc+2)})(t,n)&&n.Sc(3);for(;n.Cc<t.byteLength;){var e=Zu(t,n);if(void 0===e)break;if(r&&0===e)break;i.push(e)}return function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return Ti(n)}(i)}(t,n,!0)}function io(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new p(t.buffer,t.byteOffset+n,r-n)}function eo(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new DataView(t.buffer,t.byteOffset+n,r-n)}function uo(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function oo(t){return new p(t.buffer,t.byteOffset,t.byteLength)}function so(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),t.slice?t.slice(n,r):fo(io(t,n,r))}function fo(t){if(t.slice)return t.slice(0);var n=new p(t.byteLength);return n.set(t,0),n}function ao(t){return[].slice.call(t)}var co,ho,vo=function(){function t(t){void 0===t&&(t=0),this.Ec=t}var n=t.prototype;return n.Sc=function(t){this.Ec+=t},n.Lc=function(t){this.Ec=t},n.jc=function(){return new t(this.Cc)},n.zc=function(){return new Mu(this.Cc<<3)},R(t,[{key:"Cc",get:function(){return this.Ec}}]),t}();function lo(t){switch(t){case co.ISO_8859_1:case co.UTF16_BOM:case co.UTF16:case co.UTF8:return!0}return!1}function _o(t){switch(t){case co.ISO_8859_1:return Ju;case co.UTF16_BOM:return to;case co.UTF16:return no;case co.UTF8:return ro}}function po(t,n){var r=n.Cc,i=t.byteLength,e=oo(t);return n.Sc(i-r),so(e,r,i).buffer}function wo(t,n,r){var i=Hu(t,n);if(lo(i)){var e=_o(i);return{id:r,language:$u(t,n,3),description:e(t,n),text:e(t,n)}}}function mo(t,n,r){var i=Hu(t,n);if(lo(i)){var e=_o(i);return{id:r,mimeType:Ju(t,n),fileName:e(t,n),description:e(t,n),data:po(t,n)}}}function yo(t,n,r){var i=Hu(t,n);if(lo(i)){for(var e=_o(i),u=[];n.Cc<t.byteLength;)u.push({involvement:e(t,n),involvee:e(t,n)});return{id:r,entries:u}}}function go(t,n,r){var i=Hu(t,n);if(lo(i)){for(var e=_o(i),u=$u(t,n,3),o=Hu(t,n),s=Hu(t,n),f=e(t,n),a=!1,c=[];n.Cc<t.byteLength;){var h=void 0;if(i===co.UTF16_BOM){var v=Qu(t,n);void 0===v?v=a:a=v,h=no(t,n,v)}else h=e(t,n);if(!h||n.Cc+4>t.byteLength)break;c.push({text:h,timestamp:qu(t,n)})}return{id:r,language:u,format:o,contentType:s,description:f,entries:c}}}function Eo(t,n,r){return{id:r,ownerIdentifier:Ju(t,n),identifier:po(t,n)}}function So(t,n,r){var i=Hu(t,n);if(lo(i)){var e=_o(i);return{id:r,language:$u(t,n,3),description:e(t,n),text:e(t,n)}}}function bo(t,n,r){var i=Hu(t,n);if(lo(i))return{id:r,text:_o(i)(t,n)}}function Io(t,n,r){return{id:r,url:Ju(t,n)}}function To(t,n,r){var i=Hu(t,n);if(lo(i)){var e=_o(i);return{id:r,description:e(t,n),text:e(t,n)}}}function ko(t,n,r){var i=Hu(t,n);if(lo(i))return{id:r,description:_o(i)(t,n),url:Ju(t,n)}}function Ao(t,n,r){switch(r){case"COM":return wo(t,n,r);case"GEO":return mo(t,n,r);case"IPL":return yo(t,n,r);case"PIC":return function(t,n,r){var i=Hu(t,n);if(lo(i)){var e,u,o=_o(i),s=$u(t,n,3),f=Hu(t,n),a=o(t,n);return"--\x3e"===s?(e=s,u=Ju(t,n)):(e="image/"+s.toLowerCase(),u=po(t,n)),{id:r,mimeType:e,pictureType:f,description:a,data:u}}}(t,n,r);case"SLT":return go(t,n,r);case"TXX":return To(t,n,r);case"UFI":return Eo(t,n,r);case"ULT":return So(t,n,r);case"WXX":return ko(t,n,r);default:if("T"===r.charAt(0))return bo(t,n,r);if("W"===r.charAt(0))return Io(t,n,r)}}function No(t,n,r){switch(r){case"APIC":return function(t,n,r){var i=Hu(t,n);if(lo(i)){var e=_o(i),u=Ju(t,n);return{id:r,mimeType:u,pictureType:Hu(t,n),description:e(t,n),data:"--\x3e"===u?Ju(t,n):po(t,n)}}}(t,n,r);case"COMM":return wo(t,n,r);case"COMR":return function(t,n,r){var i=Hu(t,n);if(lo(i)){var e,u,o=_o(i),s=Ju(t,n),f=$u(t,n,8),a=Ju(t,n),c=Hu(t,n),h=o(t,n),v=o(t,n);return n.Cc<t.byteLength&&(e=Ju(t,n)||"image/",u=po(t,n)),{id:r,price:s,validUntil:f,contactURL:a,receivedAs:c,nameOfSeller:h,description:v,pictureMimeType:e,sellerLogo:u}}}(t,n,r);case"GEOB":return mo(t,n,r);case"IPLS":return yo(t,n,r);case"PRIV":return function(t,n,r){return{id:r,ownerIdentifier:Ju(t,n),data:po(t,n)}}(t,n,r);case"POSS":return function(t,n,r){return{id:r,format:Hu(t,n),position:qu(t,n)}}(t,n,r);case"SYLT":return go(t,n,r);case"TXXX":return To(t,n,r);case"UFID":return Eo(t,n,r);case"USER":return function(t,n,r){var i=Hu(t,n);if(lo(i)){var e=_o(i);return{id:r,language:$u(t,n,3),text:e(t,n)}}}(t,n,r);case"USLT":return So(t,n,r);case"WXXX":return ko(t,n,r);case"YMID":case"YTYP":case"YSEQ":case"YDUR":case"YCSP":return bo(t,n,r);default:var i=r.charAt(0);if("T"===i)return bo(t,n,r);if("W"===i)return Io(t,n,r)}}!function(t){t[t.ISO_8859_1=0]="ISO_8859_1",t[t.UTF16_BOM=1]="UTF16_BOM",t[t.UTF16=2]="UTF16",t[t.UTF8=3]="UTF8"}(co||(co={})),function(t){t[t.V22=2]="V22",t[t.V23=3]="V23",t[t.V24=4]="V24"}(ho||(ho={}));var Ro,Do=10;function Po(t,n){return(127&Hu(t,n))<<21|(127&Hu(t,n))<<14|(127&Hu(t,n))<<7|127&Hu(t,n)}function Oo(t,n){switch(t){case ho.V24:return{FH:Uu(n,0),GH:Uu(n,1),VH:Uu(n,2),WH:Uu(n,3)};case ho.V23:return{FH:Uu(n,0),GH:Uu(n,1),VH:Uu(n,2)};case ho.V22:return{FH:Uu(n,0),HH:Uu(n,1)}}}function Co(t,n,r){switch(r.Sb){case ho.V23:r.Lb.GH&&function(t,n){var r=n.Cc,i=qu(t,n)+4,e=32768&Xu(t,n);n.Lc(r+i),e&&qu(t,n)}(t,n);break;case ho.V24:r.Lb.GH&&function(t,n){var r=n.Cc,i=Po(t,n);n.Lc(r+i)}(t,n)}}function Fo(t,n){if(t.byteLength-n.Cc<Do)return null;if(73!==Hu(t,n)||68!==Hu(t,n)||51!==Hu(t,n))return null;var r=Hu(t,n),i=Hu(t,n);if(!function(t){switch(t){case ho.V22:case ho.V23:case ho.V24:return!0}return!1}(r))return null;var e=Hu(t,n),u=Po(t,n);return{Sb:r,XH:i,Lb:Oo(r,e),ZH:u}}function Lo(t,n,r){switch(r.Sb){case ho.V22:return function(t,n,r){return{sA:$u(t,n,3),Ic:Vu(t,n,3)}}(t,n);case ho.V23:return function(t,n,r){var i=$u(t,n,4),e=qu(t,n);Hu(t,n);var u=Hu(t,n);return{sA:i,Ic:e,Lb:{HH:Uu(u,0),qH:Uu(u,1),groupingIdentity:Uu(u,2)}}}(t,n);case ho.V24:return function(t,n,r){var i=$u(t,n,4),e=Po(t,n);Hu(t,n);var u=Hu(t,n);return{sA:i,Ic:e,Lb:{groupingIdentity:Uu(u,1),HH:Uu(u,4),qH:Uu(u,5),FH:Uu(u,6),JH:Uu(u,7)}}}(t,n)}}function Mo(t){for(var n=new p(t.byteLength),r=0,i=0;i<t.byteLength;i++){var e=t.getUint8(i);255===e&&i++,n[r]=e,r++}return new DataView(n,0,r)}function xo(t,n,r){var i=[],e=n.Cc,u=eo(t,e,e+r.ZH),o=new vo;switch(n.Sc(r.ZH),r.Sb){case ho.V22:case ho.V23:r.Lb.FH&&(u=Mo(u))}for(Co(t,n,r);o.Cc<u.byteLength;)i.push(Bo(u,o,r));return i}function Bo(t,n,r){var i,e,u=Lo(t,n,r),o=n.Cc,s=eo(t,o,o+u.Ic);switch(n.Sc(u.Ic),r.Sb){case ho.V22:var f=u;i=Ao(e=s,new vo,f.sA);break;case ho.V23:var a=u,c=new vo;!function(t,n,r){var i,e,u,o=r.Lb;o.HH&&(i=qu(t,n)),o.qH&&(e=Hu(t,n)),o.groupingIdentity&&(u=Hu(t,n))}(s,c,a),i=No(e=eo(s,c.Cc,s.byteLength),new vo,a.sA);break;case ho.V24:var h=u,v=new vo;h.Lb.FH&&(s=Mo(s)),function(t,n,r){var i,e,u,o,s=r.Lb;s.groupingIdentity&&(i=Hu(t,n)),s.HH&&(e=qu(t,n)),s.qH&&(u=Hu(t,n)),s.JH&&(o=Po(t,n))}(s,v,h),i=No(e=eo(s,v.Cc,s.byteLength),new vo,h.sA)}if(!i){var l=fo(oo(e));i=function(t,n){return{id:t||"",data:n instanceof ArrayBuffer?n:void 0}}(u.sA,l.buffer)}return i}function jo(t,n){var r=new DataView(t.buffer,n),i=new vo,e=Fo(r,i);return e?i.Cc+e.ZH:0}function Uo(t,n,r,i,e){var u=e.$kt=e.$kt||[],o=eo(uo(t),n,r),s=new vo,f=Fo(o,s);if(null!==f){var a=uo(new p(f.ZH)),c=new vo,h={JT:{P4:i.Mk(),zat:i},Nb:f,_o:{tD:a,qM:c}};u.push(h),Ho(h,eo(o,s.Cc))}}function Ho(t,n){var r=t._o,i=r.tD.byteLength-r.qM.Cc,e=eo(n,0,v.min(i,n.byteLength));!function(t,n,r){oo(t).set(oo(r),n.Cc),n.Sc(r.byteLength)}(r.tD,r.qM,e)}function Go(t){for(var n=[],r=0,i=t.$kt;r<i.length;r++){var e=i[r],u=e.Nb,o={Nb:u,KH:xo(e._o.tD,new vo,u),JT:{P4:e.JT.P4,b0:e.JT.zat}};n.push(o)}return{Zkt:t.Zkt,qkt:t.qkt,Jkt:t.Jkt,Kkt:t.Kkt,$kt:n,a_t:"",wA:"",kA:[]}}!function(t){t.Bmt="h.264",t.kmt="mp3",t.gmt="aac-lc",t.wmt="he-aac"}(Ro||(Ro={}));var Wo,Vo,Xo=G.tu?function(t,n){return _u(t.Rat,n.Rat)}:function(t,n){return _u(t.Bat,n.Bat)};!function(t){t[t.SK=0]="SK",t[t.LK=1]="LK",t[t.jK=2]="jK",t[t.CK=3]="CK",t[t.xK=4]="xK",t[t.zK=5]="zK"}(Wo||(Wo={})),function(t){t[t.RK=0]="RK",t[t.BK=1]="BK",t[t.UK=2]="UK",t[t.PK=3]="PK"}(Vo||(Vo={}));var qo,zo,Yo,Ko,$o,Zo;[[42,225],[92,233],[94,237],[95,243],[96,250],[123,231],[124,247],[125,209],[126,241],[127,9608],[128,174],[129,176],[130,189],[131,191],[132,8482],[133,162],[134,163],[135,9834],[136,224],[137,32],[138,232],[139,226],[140,234],[141,238],[142,244],[143,251],[144,193],[145,201],[146,211],[147,218],[148,220],[149,252],[150,8216],[151,161],[152,42],[153,8217],[154,9473],[155,169],[156,8480],[157,8226],[158,8220],[159,8221],[160,192],[161,194],[162,199],[163,200],[164,202],[165,203],[166,235],[167,206],[168,207],[169,239],[170,212],[171,217],[172,249],[173,219],[174,171],[175,187],[176,195],[177,227],[178,205],[179,204],[180,236],[181,210],[182,242],[183,213],[184,245],[185,123],[186,125],[187,92],[188,94],[189,95],[190,124],[191,8764],[192,196],[193,228],[194,214],[195,246],[196,223],[197,165],[198,164],[199,9475],[200,197],[201,229],[202,216],[203,248],[204,9487],[205,9491],[206,9495],[207,9499]].reduce(function(t,n){return t[n[0]]=n[1],t},{}),y.resolve();!function(t){t.Op="xp",t.zp="Rp",t.Ry="if"}(qo||(qo={})),function(t){t.Op="enter",t.zp="exit",t.Ry="update"}(zo||(zo={})),function(t){t[t.aL=0]="aL",t[t.z$=1]="z$",t[t.R$=2]="R$",t[t.B$=3]="B$",t[t.Du=4]="Du"}(Yo||(Yo={})),function(t){t.nK='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.iK='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.rK='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.eK='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(Ko||(Ko={})),function(t){t.BLACK="#000000",t.WHITE="#FFFFFF",t.GREEN="#00ff00",t.BLUE="#0000ff",t.CYAN="#00ffff",t.RED="#ff0000",t.YELLOW="#ffff00",t.MAGENTA="#ff00ff",t.TRANSPARENT="transparent"}($o||($o={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Zo||(Zo={}));var Jo;$o.WHITE,Ko.rK,$o.BLACK,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.GREEN,Zo.FONT_REGULAR,$o.GREEN,Zo.FONT_UNDERLINE,$o.BLUE,Zo.FONT_REGULAR,$o.BLUE,Zo.FONT_UNDERLINE,$o.CYAN,Zo.FONT_REGULAR,$o.CYAN,Zo.FONT_UNDERLINE,$o.RED,Zo.FONT_REGULAR,$o.RED,Zo.FONT_UNDERLINE,$o.YELLOW,Zo.FONT_REGULAR,$o.YELLOW,Zo.FONT_UNDERLINE,$o.MAGENTA,Zo.FONT_REGULAR,$o.MAGENTA,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_ITALICS,$o.WHITE,Zo.FONT_UNDERLINE_ITALICS,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE,$o.WHITE,Zo.FONT_REGULAR,$o.WHITE,Zo.FONT_UNDERLINE;function Qo(t,n){return au(t.b0,n.b0)||Bi(t.lT,n.lT)}function ts(t,n,r){return r===Wo.SK?r:n!==Vo.RK&&n!==Vo.BK||r!==Wo.LK&&r!==Wo.jK?t?n===Vo.UK?Wo.xK:n===Vo.PK?Wo.CK:Wo.SK:Wo.zK:Wo.jK}function ns(t,n,r,i){var e={byte:r},u=Wo.LK,o=[],s=31&ie(n,e,i);e.byte+=1;for(var f=0;f<s;f+=1){var a=ie(n,e,i),c=4&a,h=3&a;u=ts(Boolean(c),h,u);var v=ie(n,e,i),l=ie(n,e,i);o.push({b0:t,lT:-1,w0:!f,g0:Boolean(c),ra:h,qht:u,y0:v,A0:l})}return o}function rs(t,n,r){var i=ie(t,n,r);if(!d(i))return String.fromCharCode(i)}function is(t){var n=t.Jht,r={byte:t.Kht},i=t.$ht,e=ie(n,r,i);if(255===e&&(r.byte+=1),181===e){var u=ee(n,r);if(u===Jo.nat||u===Jo.iat){if(u===Jo.iat)if("GA94"!==function(t,n,r){for(var i="",e=r;e>0;)e-=1,i+=rs(t,n);return i}(n,r,4))return;if(3===ie(n,r,i)){u===Jo.nat&&(r.byte+=1);var o=t;return o.rat=r.byte,o}}}}function es(t){return 4===t.eat}function us(t){for(var n=t.filter(es).map(is).filter(W),r=[],i=0;i<n.length;i++){var e=n[i];r.push.apply(r,ns(e.sat,e.Jht,e.rat,e.$ht))}return r}function os(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i.JT.Fat&&n.push.apply(n,i.JT.Fat),delete i.JT.Fat}for(var e=0;e<n.length;e+=1)n[e].lT=e;return n.sort(Qo)}!function(t){t[t.nat=47]="nat",t[t.iat=49]="iat"}(Jo||(Jo={}));var ss,fs=[128,64,32,16,8,4,2,1];function as(t,n){var r=v.floor(n.bit/8),i=0==((re(t)?t.bc(r):t[r])&fs[n.bit%8])?0:1;return n.bit+=1,i}function cs(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=2*i+as(t,n);return i}function hs(t,n){for(var r=0;0===as(t,n)&&r<32;)r+=1;return cs(t,n,r)+v.pow(2,r)-1}function vs(t,n){var r=hs(t,n);return 1&r?v.floor((r+1)/2):-v.floor(r/2)}function ls(t,n){var r,i=[],e={byte:1};do{i.push(ds(t,n,e)),r=n.bc(e.byte)}while(void 0!==r&&128!==r);return i}function _s(t,n){var r,i=0;do{i+=r=ie(t,n)}while(255===r);return i}function ds(t,n,r){var i=_s(n,r),e=_s(n,r),u=r.byte,o=u+e;return r.byte=o,{sat:t,eat:i,wat:e,Kht:u,$ht:o,Jht:n}}!function(t){t[t.yat=1]="yat",t[t.Aat=2]="Aat",t[t._at=3]="_at",t[t.pat=4]="pat",t[t.mat=5]="mat",t[t.Mat=6]="Mat",t[t.bat=7]="bat",t[t.Nat=8]="Nat",t[t.Tat=9]="Tat"}(ss||(ss={}));var ps=[void 0,[1,1],[12,11],[10,11],[16,11],[40,33],[24,11],[20,11],[32,11],[80,33],[18,11],[15,11],[64,33],[160,99],[4,3],[3,2],[2,1]];function ws(t,n,r){for(var i=8,e=8,u=0;u<r;u+=1){if(0!==e)e=(i+vs(t,n)+256)%256;i=0===e?i:e}}var ms=function(){function t(t){this.Dat=void 0,this.Iat=[],this.Eat=0,this.Dat=t}var n=t.prototype;return n.Sat=function(){for(var t=this.Iat,n=v.max(0,this.Eat+t.length-2),r=this.Dat,i=r.Zy,e=0;n<i;n+=1){var u=r.bc(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Eat=n-t.length},n.Lat=function(t){for(var n=this.Iat,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.bc=function(t){if(!(t>this.Dat.Zy))return t>this.Eat&&this.Sat(),this.Dat.bc(this.Lat(t))},t}();function ys(t){var n,r,i,e,u,o,s=new ms(t),f=0,a=0,c=0,h=0,l=s.bc(1),_={bit:32};if(hs(s,_),100===l||110===l||122===l||144===l){var d=hs(s,_);if(3===d&&(n=as(s,_)),hs(s,_),hs(s,_),as(s,_),1===as(s,_))for(var p=0;p<(3!==d?8:12);p+=1){1===as(s,_)&&ws(s,_,p<6?16:64)}}var w=hs(s,_),m=hs(s,_);if(0===m)hs(s,_);else if(1===m){as(s,_),vs(s,_),vs(s,_);for(var y=hs(s,_),g=0;g<y;g+=1)vs(s,_)}hs(s,_),as(s,_);var E=hs(s,_),S=hs(s,_),b=as(s,_);if(0===b&&as(s,_),as(s,_),1===as(s,_)&&(f=hs(s,_),a=hs(s,_),c=hs(s,_),h=hs(s,_)),1===as(s,_)){if(1===as(s,_)){var I=cs(s,_,8);if(255===I)r=cs(s,_,16),i=cs(s,_,16);else{var T=ps[I];T&&(r=T[0],i=T[1])}}if(1===as(s,_)&&as(s,_),1===as(s,_))cs(s,_,3),as(s,_),1===as(s,_)&&(cs(s,_,8),cs(s,_,8),cs(s,_,8));1===as(s,_)&&(hs(s,_),hs(s,_)),1===(e=as(s,_))&&(u=cs(s,_,32),o=cs(s,_,32),as(s,_))}return{width:v.floor(16*(E+1)-2*f-2*a),height:v.floor((2-b)*(S+1)*16-2*c-2*h),eT:r,sT:i,jat:!!e&&o/(2*u),Cat:n,Oat:w}}var gs=9e4;function Es(t,n){var r=new ue,i=r.JT;return i.zat=t.zat,i.Pat=t.Pat,i.Rat=t.Rat,i.Qat=t.Qat,i.Bat=t.Bat,t.Dat=r,n.push(r),r}function Ss(t,n){var r,i,e,u,o=t.er;if(!o)return{};for(var s=0;s<o.length&&(!r||!e);s+=1)o[s].JT.ra===ss.bat?r=o[s]:o[s].JT.ra===ss.Nat&&(e=o[s]._o);i=r&&r._o||n.kAt,e=e||n.mAt,!r&&i&&(r=new ue).Yht(i,0,i.length);var f,a,c,h,v=i&&e&&function(t,n){var r=t.length,i=n.length,e=[];return ce(e,1),ce(e,t[1]),ce(e,t[2]),ce(e,t[3]),ce(e,255),ce(e,225),ce(e,(65280&r)>>8),ce(e,255&r),he(e,t),ce(e,1),ce(e,(65280&i)>>8),ce(e,255&i),he(e,n),e}(i,e),l=(u=r&&ys(r))&&u.width,_=u&&u.height,d=r&&r.bc(1),p=r&&r.bc(2),w=r&&r.bc(3);return u&&u.jat?(f=u.jat,a=!1):(f=void 0,a=!0),u&&u.eT&&u.sT&&(c=u.eT,h=u.sT),{WN:v,eh:l,hN:_,$vt:d,zmt:p,ndt:w,kAt:i,mAt:e,jat:f,xmt:a,eT:c,sT:h}}function bs(t){for(var n=t.Zy-1;n>=0;n-=1)if(0!==t.bc(n))return t.Zy!==n+1&&(t.Zy=n+1),t;return t}function Is(t,n){n.JT.Vat=!0}function Ts(t,n){n.JT.Yat=!0,Is(0,n)}function ks(t){var n=new ue,r=n.JT,i=t.JT;return r.zat=i.zat,r.P4=i.P4,r.Pat=i.Pat,r.Rat=i.Rat,r.Qat=i.Qat,r.Bat=i.Bat,n}function As(t,n){var r=t.length&&t[t.length-1],i=n.JT;i.Vat&&(!i.Gat&&r||t.push(n))}function Ns(t,n,r){return n.JT.Vat?(As(t,n),ks(r)):null}function Rs(t){for(var n=function(t){return t.map(function(t){return t.JT.Rat}).sort(au)}(t),r=[],i=1;i<n.length;i+=1){var e=n[i],u=n[i-1];r.push(e.Ok(u))}return r.sort(au),r}function Ds(t){var n=Rs(t);return n.length?n[v.floor(n.length/2)]:du(.4*gs)}function Ps(t,n){!function(t){var n=t.er;if(n)for(var r,i=n.length,e=0;e<i;e+=1)switch((r=n[e]).JT.ra){case ss.Tat:case ss.Mat:case ss.bat:case ss.Nat:bs(r)}}(t);var r,i,e=Ss(t,n),u=function(t){var n,r=[],i=new ue,e=t.er;if(!e)return r;for(var u=0;u<e.length;u++){var o=e[u];switch(o.JT.ra){case ss.mat:Ts(0,i);break;case ss.yat:case ss.Aat:case ss._at:case ss.pat:Is(0,i);break;case ss.Mat:(n=Ns(r,i,o))&&(i=n);var s,f=us(ls(o.JT.Rat,new ms(o)));i.JT.Fat?(s=i.JT.Fat).push.apply(s,f):i.JT.Fat=f;break;case ss.bat:case ss.Nat:(n=Ns(r,i,o))&&(i=n);break;case ss.Tat:As(r,i),(i=ks(o)).JT.Gat=!0}0!==o.JT.ra&&(i.Yht(oe(o.Zy),0,4),i.Qht(o))}return As(r,i),r}(t),o=u.length>1?t.fmt.Ok(t.amt).ym(u.length-1):fu.xm,s=!1;return o.xk()||e.jat&&!(v.abs(e.jat-1/o.Mk())>10)?e.jat?(i=e.jat,r=du(gs/i)):r=du(gs/(i=24)):(s=!0,i=1/(r=Ds(u)).Mk()),{Zkt:t.Zkt,KH:u,nmt:t.nmt,imt:t.imt,smt:du(t.smt),jat:i,umt:r,Omt:s,xmt:e.xmt,WN:e.WN,width:e.eh,height:e.hN,$vt:e.$vt,zmt:e.zmt,ndt:e.ndt,kAt:e.kAt,mAt:e.mAt,eT:e.eT,sT:e.sT,dmt:fu.xm,lmt:fu.xm,emt:NaN,duration:NaN,omt:t.omt,hmt:t.hmt,amt:t.amt,cmt:t.cmt,fmt:t.fmt,vmt:t.vmt}}function Os(t){t.duration=t.emt,function(t){var n,r,i=t.KH,e=i.length,u=fu.Fk;if(e){n=(i=Mi(i,function(t,n){return Xo(t.JT,n.JT).Nk(fu.Fk)}))[0];for(var o=1;o<e;o+=1){var s=i[o];(r=Xo(s.JT,n.JT)).Ik(fu.Fk)&&(r=t.umt),u=u.pp(r),n.JT.Uat=r,n.JT.r_=r.Mk(),n=s}n&&(r=fu.Tm(du(v.round(t.duration*gs)).Ok(u),t.umt),n.JT.Uat=r,n.JT.r_=r.Mk())}}(t)}var Cs,Fs=71,Ls=188,Ms=0;function xs(t,n,r){if(t&&n&&n.length){for(var i=fu.zm,e=fu.zm,u=fu.Rm,o=fu.Rm,s=0;s<n.length;s++){var f=n[s].JT;i=fu.Dm(f.Bat,i),e=fu.Dm(f.Rat,e),u=fu.Tm(f.Bat,u),o=fu.Tm(f.Rat,o)}t.amt=e,t.cmt=i,t.fmt=o,t.vmt=u,t.smt=fu.Tm(fu.Fk,t.hmt.Ok(r)).Mk()}}function Bs(t){t.dmt=t.fmt.pp(t.umt),t.lmt=t.vmt.pp(t.umt),t.emt=t.dmt.Ok(t.amt).Mk()}function js(t,n,r){if(0!=(48&t[n+6]))throw new a("MTE1540");var i=t[n+7],e=0!=(128&i),u=0!=(64&i),o=t[n+8],s=e?du((14&t[n+9])*v.pow(2,29)+(t[n+10]<<22)+((254&t[n+11])<<14)+(t[n+12]<<7)+((254&t[n+13])>>1)):void 0,f=u?du((14&t[n+14])*v.pow(2,29)+(t[n+15]<<22)+((254&t[n+16])<<14)+(t[n+17]<<7)+((254&t[n+18])>>1)):void 0,c=r.Bat||r.Rat||f||s;if(e){var h=_u(s,c),l=c.pp(h);r.Rat=l,r.Pat=l.Mk()}else 0;if(r.imt=u,u){var _=_u(f,c),d=c.pp(_);r.Bat=d,r.zat=d,r.Qat=d.Mk()}else r.Qat=r.Pat,r.Bat=r.Rat,r.zat=r.Rat;return void 0===r.hmt&&(r.hmt=r.zat),r.ur=!0,n+8+o+1}function Us(t,n,r,i,e){i.sr?Uo(t,n=js(t,n,e),r,e.Rat,e):e.ur&&function(t,n,r,i){var e=i.$kt=i.$kt||[];if(e.length){var u=e[e.length-1];u&&Ho(u,eo(uo(t),n,r))}}(t,n,r,e)}function Hs(t,n,r,i,e){i.sr&&(n=js(t,n,e)),e.ur&&function(t,n,r,i){var e,u,o,s,f;for(e=u=n,o=i.er=i.er||[],s=i.Dat||Es(i,o),f=i.sn||0;u<r;){var a=t[u];if(u+=1,0===f)0===a&&(f=1);else if(1===f)f=0===a?2:0;else if(0===a)f=3;else if(1===a){var c=1+f;s.Yht(t,e,u-c),s.JT.ra||(s.JT.ra=31&s.bc(0)),e=u,0!==s.Zy&&(s=Es(i,o)),f=0}else f=0}u-e>0&&(s.Yht(t,e,u),s.JT.ra||(s.JT.ra=31&s.bc(0))),i.sn=f}(t,n,r,e)}function Gs(t,n,r,i,e){return e.video&&i.Zkt===e.video.Zkt?Hs(t,n,r,i,e.video):e.audio&&i.Zkt===e.audio.Zkt?function(t,n,r,i,e){i.sr&&(n=js(t,n,e)),e.ur&&(e.nmt===Ro.gmt||e.nmt===Ro.wmt?yu(t,n,r,e):e.nmt===Ro.kmt&&Pu(t,n,r,e))}(t,n,r,i,e.audio):e.Xkt&&i.Zkt===e.Xkt.Zkt?Us(t,n,r,i,e.Xkt):e}function Ws(t,n,r,i,e){return i.Zkt===Ms?i.sr?function(t,n,r){var i,e=((15&t[n+2])<<8)+t[n+3];if(e<13)return r;if(0!==(t[n+9]<<8)+t[n+10])i=n+11;else{if(!(e>=17))return r;i=n+15}return r.ar=((31&t[i])<<8)+t[i+1],r}(t,n,e):e:i.Zkt===e.ar&&i.sr?function(t,n,r){var i,e,u=((15&t[n+2])<<8)+t[n+3],o=((15&t[n+11])<<8)+t[n+12];i=n+13+o,e=u-9-4-o;for(var s=!1,f=!1,a=!1;e>=5;){var c=null,h=t[i],v=((31&t[i+1])<<8)+t[i+2];s||h!==Cs.Bmt?f||h!==Cs.cr&&h!==Cs.hr?f||h!==Cs.gmt?f||h!==Cs.wmt?a||h!==Cs.vr||(r.Xkt.Zkt=v,c=r.Xkt,a=!0):(r.audio.nmt=Ro.wmt,r.audio.Zkt=v,c=r.audio,f=!0):(r.audio.nmt=Ro.gmt,r.audio.Zkt=v,c=r.audio,f=!0):(r.audio.nmt=Ro.kmt,r.audio.Zkt=v,c=r.audio,f=!0):(r.video.nmt=Ro.Bmt,r.video.Zkt=v,c=r.video,s=!0);var l=((15&t[i+3])<<8)+t[i+4];c&&(c.qkt=h,c.Jkt=l,c.Kkt=ao(io(t,i+5,i+5+l))),e=e-5-l,i=i+5+l}}(t,n,e):e}function Vs(t,n){return t===Ms||t===n.ar}function Xs(t,n){return!(!n.video||t!==n.video.Zkt)||(!(!n.audio||t!==n.audio.Zkt)||!(!n.Xkt||t!==n.Xkt.Zkt))}function qs(t,n,r,i,e,u){if(t[n]===Fs){var o,s=128&(o=t[n+1]),f=64==(64&o),a=((31&o)<<8)+t[n+2],c=192&(o=t[n+3]),h=32==(32&o),v=16==(16&o);if(!e(a,i))return i;if(0!==s)return i;if(0!==c)return i;if(!v)return i;var l=n+4;return h&&(l+=t[l]+1),l>=r?i:u(t,l,r,{lr:s,sr:f,Zkt:a,pr:c,mr:h,br:v},i)}}function zs(t){for(var n=v.min(1e3,t.length-3*Ls),r=0;r<n;r++)if(t[r]===Fs&&t[r+Ls]===Fs&&t[r+2*Ls]===Fs)return r;return-1}function Ys(t,n){return n.bk(t)&&(t=t.pp(vu)),t.Mk()}function Ks(t,n,r){if(t&&n){t.omt=Ys(t.hmt,r);for(var i=0;i<n.length;i++){var e=n[i];e.JT.P4=Ys(e.JT.zat,r)}}}function $s(t){return!!t&&void 0!==t.hmt}function Zs(t,n){return au(t.hmt,n.hmt)}function Js(t,n){var r=function(t,n){for(var r={audio:{},video:{},Xkt:{}},i=zs(t),e=t.length-(t.length-i)%Ls,u=i;u<e;u+=Ls)qs(t,u,u+Ls,r,Vs,Ws);n.MAt&&!r.audio.Zkt&&(r.audio.Zkt=n.MAt),n.bAt&&!r.video.Zkt&&(r.video.Zkt=n.bAt),n.NAt&&!r.audio.nmt&&(r.audio.nmt=n.NAt),n.TAt&&!r.video.nmt&&(r.video.nmt=n.TAt),!r.audio||n.m3&&"mp4a.40.5"!==n.m3.Syt||(r.audio.kr=!0);for(var o=i;o<e;o+=Ls)qs(t,o,o+Ls,r,Xs,Gs);return r}(t,n);if(t=null,r.audio&&r.audio.KH&&0!==r.audio.KH.length||(r.audio=null),r.video&&r.video.er&&0!==r.video.er.length||(r.video=null),r.Xkt&&r.Xkt.$kt&&0!==r.Xkt.$kt.length||(r.Xkt=null),null===r.audio&&null===r.video&&null===r.Xkt)return r;var i,e,u=(i=[r.audio,r.video,r.Xkt],(e=i.filter($s)).length?(e.sort(Zs),e[0].hmt):fu.Fk);Ks(r.audio,r.audio&&r.audio.KH,u),Ks(r.video,r.video&&r.video.er,u),Ks(r.Xkt,r.Xkt&&r.Xkt.$kt,u),xs(r.audio,r.audio&&r.audio.KH,u),xs(r.video,r.video&&r.video.er,u);var o=null,s=null;r.video&&(s=os((o=Ps(r.video,n)).KH),Bs(o),Os(o));var f=null;if(r.audio)if(r.audio.nmt===Ro.gmt||r.audio.nmt===Ro.wmt){var a=r.audio.nmt===Ro.wmt||n.m3&&"mp4a.40.5"===n.m3.Syt,c=!a&&n.DAt;Bs(f=Eu(r.audio,a,c)),Su(f)}else r.audio.nmt===Ro.kmt&&(Bs(f=Ou(r.audio)),Cu(f));var h=null;return r.Xkt&&(h=Go(r.Xkt)),{audio:f,video:o,Xkt:h,Fat:s,tmt:u}}function Qs(t,n,r,i,e){!function(t,n,r){return Du(t[n],t[n+1])}(t,n)?(i.m3&&"mp4a.40.5"===i.m3.Syt?e.nmt=Ro.wmt:e.nmt=Ro.gmt,yu(t,n,r,e)):(e.nmt=Ro.kmt,Pu(t,n,r,e))}function tf(t,n){var r=0,i={};r+=function(t,n,r,i,e){for(var u=jo(t,n);u>0&&n+u<r;)Uo(t,n,n+u,i,e),u=jo(t,n+=u);return n}(t,r,t.byteLength,fu.Fk,i);for(var e=Go(i),u=function(t){for(var n=fu.xm,r=0;r<t.$kt.length;r+=1)for(var i=t.$kt[r],e=0;e<i.KH.length;e+=1){var u=i.KH[e];if("PRIV"===u.id&&"com.apple.streaming.transportStreamTimestamp"===u.ownerIdentifier){var o=new DataView(u.data);return n=fu.Pk(zu(o,new vo),cu),nf(t,r,e),n}}return n}(e),o=0,s=e.$kt;o<s.length;o++){s[o].JT={b0:u,P4:u.Mk()}}var f={};return f.amt=f.cmt=f.zat=f.hmt=u,f.omt=u.Mk(),f.smt=0,Qs(t,r,t.byteLength,n,f),{audio:f,Xkt:e}}function nf(t,n,r){var i=t.$kt,e=i[n].KH;e.length>1?Wi(e,r):i.length>1?Wi(i,n):i.length=0}function rf(t){var n=t.umt.dm(t.KH.length);t.lmt=t.amt.pp(n),t.dmt=t.amt.pp(n)}!function(t){t[t.Bmt=27]="Bmt",t[t.cr=3]="cr",t[t.hr=4]="hr",t[t.gmt=15]="gmt",t[t.wmt=17]="wmt",t[t.vr=21]="vr"}(Cs||(Cs={}));var ef,uf,of,sf,ff,af,cf,hf=t;function vf(t,n){return void 0===ef&&(ef=function(){var t=new p(1);try{return hf.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&ef?hf.postMessage(t,n):hf.postMessage(t)}function lf(t){return{Nb:t.Nb,JT:{P4:t.JT.P4,zat:t.JT.b0.Wm()},KH:t.KH}}function _f(t){return{b0:t.b0.Wm(),lT:t.lT,w0:t.w0,g0:t.g0,ra:t.ra,qht:t.qht,y0:t.y0,A0:t.A0}}function df(t){return{Zkt:t.Zkt,KH:[],nmt:t.nmt,imt:t.imt,duration:t.duration,emt:t.emt,smt:t.smt.Wm(),jat:t.jat,umt:t.umt.Wm(),omt:t.omt,hmt:t.hmt.Wm(),amt:t.amt.Wm(),cmt:t.cmt.Wm(),fmt:t.fmt.Wm(),vmt:t.vmt.Wm(),dmt:t.dmt.Wm(),lmt:t.lmt.Wm()}}function pf(t,n){switch(t.nmt){case Ro.gmt:case Ro.wmt:return function(t,n){return li({},wf(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t,n){var r=(i=t.JT,li({},Ef(i),{ymt:i.ymt,Amt:i.Amt,_mt:i._mt}));var i;return mf(t.jc(r),n)}(t,n)}),DAt:t.DAt,pmt:t.pmt})}(t,n);case Ro.kmt:return function(t,n){return li({},wf(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t,n){var r=(i=t.JT,li({},Ef(i),{Sb:i.Sb,uN:i.uN,mmt:i.mmt,Mmt:i.Mmt,bmt:i.bmt}));var i;return mf(t.jc(r),n)}(t,n)})})}(t,n)}}function wf(t){return li({},df(t),{KH:[],nmt:t.nmt,Nmt:t.Nmt,Tmt:t.Tmt,Dmt:t.Dmt,Imt:t.Imt})}function mf(t,n){var r=t.Zht();return n.push(r.buffer),{Emt:r,Smt:t.Zy,Lmt:t.JT}}function yf(t,n){return li({},df(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t,n){var r=(i=t.JT,li({},gf(i),{r_:i.r_,Uat:i.Uat.Wm(),Pat:i.Pat,Qat:i.Qat,jmt:i.jmt&&i.jmt.Wm(),Cmt:i.Cmt&&i.Cmt.Wm(),Yat:i.Yat,Vat:i.Vat,Fat:i.Fat,Gat:i.Gat}));var i;return mf(t.jc(r),n)}(t,n)}),Omt:t.Omt,xmt:t.xmt,WN:t.WN,width:t.width,height:t.height,$vt:t.$vt,zmt:t.zmt,ndt:t.ndt,kAt:t.kAt,mAt:t.mAt,eT:t.eT,sT:t.sT})}function gf(t){var n;return li({},{P4:(n=t).P4,zat:n.zat.Wm()},{Rat:t.Rat.Wm(),Bat:t.Bat.Wm()})}function Ef(t){return li({},gf(t))}!function(t){t.iMt="Rvt",t.Jmt="Kmt"}(uf||(uf={})),function(t){t.rMt="eMt",t.sMt="uMt"}(of||(of={})),function(t){t.uM="moov",t.oM="mvhd",t.hM="trak",t.aM="tkhd",t.cM="mdia",t.fM="mdhd",t.vM="hdlr",t.dM="minf",t.lM="stbl",t.gM="stsd",t.wM="stsc",t.yM="mvex",t.AM="trex",t._M="avc1",t.pM="avcC",t.kM="hev1",t.mM="hvc1",t.MM="hvcC",t.bM="pasp",t.NM="mp4a",t.TM="esds",t.DM="wvtt",t.IM="vttC",t.EM="vlab",t.SM="enca",t.LM="encv",t.jM="moof",t.CM="mfhd",t.OM="traf",t.xM="tfhd",t.zM="trun",t.RM="tfdt",t.BM="mdat",t.UM="pssh",t.PM="emsg",t.QM="sidx",t.YM="styp",t.FM="ftyp",t.GM="sinf",t.VM="frma"}(sf||(sf={})),function(t){t.Og="vide",t.Cg="soun",t.WM="subt",t.HM="hint",t.XM="meta",t.ZM="auxv"}(ff||(ff={})),function(t){t[t.BASE_DATA_OFFSET_PRESENT=1]="BASE_DATA_OFFSET_PRESENT",t[t.SAMPLE_DESCRIPTION_INDEX_PRESENT=2]="SAMPLE_DESCRIPTION_INDEX_PRESENT",t[t.DEFAULT_SAMPLE_DURATION_PRESENT=8]="DEFAULT_SAMPLE_DURATION_PRESENT",t[t.DEFAULT_SAMPLE_SIZE_PRESENT=16]="DEFAULT_SAMPLE_SIZE_PRESENT",t[t.DEFAULT_SAMPLE_FLAGS_PRESENT=32]="DEFAULT_SAMPLE_FLAGS_PRESENT",t[t.DURATION_IS_EMPTY=32]="DURATION_IS_EMPTY",t[t.DEFAULT_BASE_IS_MOOF=131072]="DEFAULT_BASE_IS_MOOF"}(af||(af={})),function(t){t[t.DATA_OFFSET_PRESENT=1]="DATA_OFFSET_PRESENT",t[t.FIRST_SAMPLE_FLAGS_PRESENT=4]="FIRST_SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_DURATION_PRESENT=256]="SAMPLE_DURATION_PRESENT",t[t.SAMPLE_SIZE_PRESENT=512]="SAMPLE_SIZE_PRESENT",t[t.SAMPLE_FLAGS_PRESENT=1024]="SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT=2048]="SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT"}(cf||(cf={}));var Sf=function(){function t(t,n){this._o=void 0,this.qM=void 0,this._o=t,this.qM=n}var n=t.prototype;return n.JM=function(){return Hu(this._o,this.qM)},n.KM=function(){return Xu(this._o,this.qM)},n.$M=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt16(n.Cc,r);return n.Sc(2),i}(this._o,this.qM)},n.ib=function(){return qu(this._o,this.qM)},n.eb=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt32(n.Cc,r);return n.Sc(4),i}(this._o,this.qM)},n.sb=function(){return zu(this._o,this.qM)},n.ub=function(t){return Gu(this._o,this.qM,t)},n.ob=function(t){return function(t,n,r){for(var i=[],e=0;e<r;e++)i.push(qu(t,n));return i}(this._o,this.qM,t)},n.hb=function(t){return $u(this._o,this.qM,t)},n.fb=function(){return ro(this._o,this.qM)},n.vb=function(t){this.qM.Sc(t)},n.jc=function(){return new t(this._o,this.qM.jc())},t}();function bf(t,n){return t.ra===n}var If=function(t){function n(n,r){var i;return(i=t.call(this)||this).gb=n,i.wb=r,i}return P(n,t),R(n,[{key:"name",get:function(){return"DataIncompleteError"}}]),n}(Pt),Tf=function(){function t(){}return t.yb=function(n){var r=n._o,i=n.qM,e=t.Ab(r,i,!1);if(!e._b)throw new If(i.Cc,e.Zu);return e.Zu},t.Ab=function(n,r,i){for(var e=[];r.Cc<n.byteLength;){var u=t.pb(n,r,i);if(!u._b)return{_b:!1,Zu:e};e.push(u.kb)}return{_b:!0,Zu:e}},t.mb=function(n,r){var i=t.pb(n,r,!1);if(!i._b)throw new If(r.Cc);return i.kb},t.Mb=function(n,r){for(var i=n._o,e=n.qM;e.Cc<i.byteLength;){var u=t.pb(i,e,!1);if(!u._b)return;if(u.kb.ra===r)return u.kb}},t.pb=function(n,r,i){var e=r.Cc,u=t.bb(n,r);if(!u._b)return u;var o=u.Nb,s=o.Ic;if(0===s){if(i)return r.Lc(e),{_b:!1,Tb:1/0};s=n.byteLength-e}var f=e+s;if(f>n.byteLength){var a=f;return r.Lc(e),{_b:!1,Tb:a}}var c={ra:o.ra,Cc:e,_o:new Sf(eo(n,e,f),new vo(o.Db))};return r.Lc(f),{_b:!0,kb:c}},t.bb=function(t,n){var r=n.Cc;if(!Wu(t,n,8))return{_b:!1,Tb:n.Cc+8};var i=qu(t,n),e=$u(t,n,4);if(1===i){if(!Wu(t,n,8)){var u=n.Cc+8;return n.Lc(r),{_b:!1,Tb:u}}i=zu(t,n).toNumber()}if("uuid"===e){if(!Wu(t,n,16)){var o=n.Cc+16;return n.Lc(r),{_b:!1,Tb:o}}e=$u(t,n,16)}return{_b:!0,Nb:{ra:e,Ic:i,Db:n.Cc-r}}},t.Ib=function(t,n,r){var i=t._o,e=t.qM,u=io(oo(i),e.Cc,i.byteLength);return r&&(u=fo(u)),e.Sc(u.byteLength),{ra:n,_o:u}},t.Eb=function(n,r,i){var e=Rf(n.ib());return{ra:r,Sb:e.version,Lb:e.flags,_o:t.Ib(n,r,i)._o}},t}();function kf(t,n){var r=Af(t,n);if(!r)throw new a("Missing "+n+" atom");return r}function Af(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(i.ra===n)return i._o}}function Nf(t,n){for(var r=[],i=0;i<t.length;i++){var e=t[i];e.ra===n&&r.push(e._o)}return r}function Rf(t){return{version:t>>24,flags:new Bu(16777215&t)}}var Df,Pf,Of,Cf=function(){function t(){}return t.jb=function(n){for(var r=[],i=Tf.yb(new Sf(n,new vo)),e=0;e<i.length;e++){var u=i[e],o=t.Cb(u);o&&r.push(o)}return r},t.Ob=function(t){return Tf.Ab(t,new vo,!1).Zu.some(function(t){return t.ra===sf.jM||t.ra===sf.YM})},t.xb=function(n){return Nf(Tf.yb(new Sf(n,new vo)),sf.UM).map(t.zb)},t.Rb=function(n){return Nf(Tf.yb(n._o),sf.UM).map(t.zb)},t.Cb=function(n){switch(n.ra){case sf.uM:return t.Bb(n._o);case sf.jM:return t.Ub(n._o,n.Cc);case sf.BM:return t.Pb(n._o);case sf.QM:return t.Qb(n._o);case sf.PM:return t.Yb(n._o)}},t.Bb=function(n){var r=Tf.yb(n),i=kf(r,sf.oM),e=Nf(r,sf.hM),u=Af(r,sf.yM),o=t.Fb(i),s=e.map(t.Gb),f=u?t.Vb(u):void 0;return{ra:sf.uM,Nb:o,Wb:s,Hb:f}},t.Fb=function(t){var n=Rf(t.ib()),r=n.version,i=n.flags,e=1===r?t.sb():t.ib(),u=1===r?t.sb():t.ib(),o=t.ib(),s=1===r?t.sb():t.ib(),f=t.ib(),a=t.KM()>>8;t.vb(2),t.vb(8);var c=t.ob(9);t.vb(24);var h=t.ib();return{ra:sf.oM,Sb:r,Lb:i,Xb:e,Zb:u,pm:o,r_:s,qb:f,v_:a,Jb:c,Kb:h}},t.Gb=function(n){var r=Tf.yb(n),i=kf(r,sf.aM),e=kf(r,sf.cM),u=t.$b(i),o=t.tN(e);return{ra:sf.hM,Nb:u,nN:o}},t.$b=function(t){var n=Rf(t.ib()),r=n.version,i=n.flags,e=1===r?t.sb():t.ib(),u=1===r?t.sb():t.ib(),o=t.ib();t.vb(4);var s=1===r?t.sb():t.ib();t.vb(8);var f=t.$M(),a=t.$M(),c=t.$M()/v.pow(2,8);t.vb(2);var h=t.ob(9),l=t.ib()/v.pow(2,16),_=t.ib()/v.pow(2,16);return{ra:sf.aM,iN:i.xc(1),rN:i.xc(2),eN:i.xc(4),Xb:e,Zb:u,sN:o,r_:s,uN:f,oN:a,v_:c,Jb:h,eh:l,hN:_}},t.tN=function(n){var r=Tf.yb(n),i=kf(r,sf.fM),e=kf(r,sf.vM),u=kf(r,sf.dM),o=t.aN(i),s=t.cN(e),f=t.fN(u);return{ra:sf.cM,Nb:o,vN:s,dN:f}},t.aN=function(t){var n=Rf(t.ib()),r=n.version,i=n.flags,e=1===r?t.sb():t.ib(),u=1===r?t.sb():t.ib(),o=t.ib(),s=1===r?t.sb():t.ib();t.KM();return t.vb(2),{ra:sf.fM,Sb:r,Lb:i,Xb:e,Zb:u,pm:o,r_:s}},t.cN=function(t){var n=Rf(t.ib()),r=n.version,i=n.flags;t.vb(4);var e=t.hb(4);t.vb(12);var u=t.fb();return{ra:sf.vM,Sb:r,Lb:i,lN:e,Ru:u}},t.fN=function(n){var r=kf(Tf.yb(n),sf.lM),i=t.gN(r);return{ra:sf.dM,wN:i}},t.gN=function(n){var r=kf(Tf.yb(n),sf.gM),i=t.yN(r);return{ra:sf.lM,AN:i}},t.yN=function(n){for(var r=Rf(n.ib()),i=r.version,e=r.flags,u=(n.ib(),[]),o=Tf.yb(n),s=0;s<o.length;s++){var f=o[s],a=t._N(f._o,f.ra);a&&u.push(a)}return{ra:sf.gM,Sb:i,Lb:e,pN:u}},t._N=function(n,r){var i=t.kN(n,r);return i||((i=t.mN(n,r))||(r===sf.DM?t.MN(n):void 0))},t.kN=function(n,r){return r===sf.NM?t.bN(n):r===sf.SM?t.NN(n):void 0},t.mN=function(n,r){return r===sf._M?t.TN(n):r===sf.kM||r===sf.mM?t.DN(n,r):r===sf.LM?t.IN(n):void 0},t.EN=function(t,n){return t.vb(6),{ra:n,SN:t.KM()}},t.LN=function(n,r){var i=t.EN(n,r);n.vb(8);var e=n.KM(),u=n.KM();return n.vb(2),n.vb(2),li({},i,{jN:e,CN:u,ON:n.ib()>>>16})},t.xN=function(n,r){var i=t.EN(n,r);n.vb(2),n.vb(2),n.vb(12);var e=n.KM(),u=n.KM(),o=n.ib(),s=n.ib();n.vb(4);var f=n.KM();n.vb(32);var a=n.KM();return n.vb(2),li({},i,{eh:e,hN:u,zN:o,RN:s,BN:f,UN:a})},t.bN=function(n){var r=t.LN(n,sf.NM),i=kf(Tf.yb(n),sf.TM);return li({},r,{PN:t.QN(i)})},t.MN=function(n){var r=t.EN(n,sf.DM),i=Tf.yb(n),e=kf(i,sf.IM),u=t.YN(e),o=Af(i,sf.EM);return li({},r,{FN:u,GN:o?t.VN(o):o})},t.YN=function(t){return{ra:sf.IM,df:t.fb()}},t.VN=function(t){return{ra:sf.EM,hA:t.fb()}},t.QN=function(t){return Tf.Eb(t,sf.TM,!0)},t.TN=function(n){var r=t.xN(n,sf._M),i=Tf.yb(n),e=kf(i,sf.pM),u=Af(i,sf.bM);return li({},r,{WN:t.HN(e),XN:u?t.ZN(u):void 0})},t.DN=function(n,r){var i=t.xN(n,r),e=kf(Tf.yb(n),sf.MM);return li({},i,{qN:t.JN(e)})},t.IN=function(n){var r=n.jc(),i=t.xN(n,sf.LM),e=kf(Tf.yb(n),sf.GM),u=t.KN(e);return li({},i,{$N:t.mN(r,u.nT.tT),iT:u})},t.NN=function(n){var r=n.jc(),i=t.LN(n,sf.SM),e=kf(Tf.yb(n),sf.GM),u=t.KN(e);return li({},i,{$N:t.kN(r,u.nT.tT),iT:u})},t.KN=function(n){var r=kf(Tf.yb(n),sf.VM),i=t.rT(r);return{ra:sf.GM,nT:i}},t.rT=function(t){var n=t.hb(4);return{ra:sf.VM,tT:n}},t.HN=function(t){return Tf.Ib(t,sf.pM,!0)},t.JN=function(t){return Tf.Ib(t,sf.MM,!0)},t.ZN=function(t){var n=t.ib(),r=t.ib();return{ra:sf.bM,eT:n,sT:r}},t.Vb=function(n){var r=Nf(Tf.yb(n),sf.AM).map(t.uT);return{ra:sf.yM,Wb:r}},t.uT=function(t){var n=Rf(t.ib()),r=n.version,i=n.flags,e=t.ib(),u=t.ib(),o=t.ib(),s=t.ib(),f=t.ib();return{ra:sf.AM,Sb:r,Lb:i,sN:e,oT:u,hT:o,aT:s,cT:f}},t.Ub=function(n,r){var i=Tf.yb(n),e=kf(i,sf.CM),u=Nf(i,sf.OM),o=t.fT(e),s=u.map(t.vT);return{ra:sf.jM,dT:r,Nb:o,Wb:s}},t.fT=function(t){var n=Rf(t.ib()),r=n.version,i=n.flags,e=t.ib();return{ra:sf.CM,Sb:r,Lb:i,lT:e}},t.vT=function(n){var r=Tf.yb(n),i=kf(r,sf.xM),e=Nf(r,sf.zM),u=Af(r,sf.RM),o=t.gT(i),s=e.map(function(n){return t.wT(n,o)}),f=u?t.yT(u):void 0;return{ra:sf.OM,Nb:o,AT:s,_T:f}},t.gT=function(t){var n=Rf(t.ib()),r=n.version,i=n.flags,e=t.ib(),u=i.xc(af.BASE_DATA_OFFSET_PRESENT)?t.sb():void 0,o=i.xc(af.SAMPLE_DESCRIPTION_INDEX_PRESENT)?t.ib():void 0,s=i.xc(af.DEFAULT_SAMPLE_DURATION_PRESENT)?t.ib():void 0,f=i.xc(af.DEFAULT_SAMPLE_SIZE_PRESENT)?t.ib():void 0,a=i.xc(af.DEFAULT_SAMPLE_FLAGS_PRESENT)?t.ib():void 0;return{ra:sf.xM,Sb:r,Lb:i,sN:e,pT:u,kT:o,hT:s,aT:f,cT:a}},t.wT=function(n,r){for(var i=Rf(n.ib()),e=i.version,u=i.flags,o=n.ib(),s=u.xc(cf.DATA_OFFSET_PRESENT)?n.eb():void 0,f=u.xc(cf.FIRST_SAMPLE_FLAGS_PRESENT)?n.ib():void 0,a=[],c=0;c<o;c++){var h=t.mT(n,u,e,r);0===c&&void 0!==f&&(h.Lb=f),a.push(h)}return{ra:sf.zM,Sb:e,Lb:u,MT:o,dT:s,bT:f,NT:a}},t.mT=function(t,n,r,i){return{r_:n.xc(cf.SAMPLE_DURATION_PRESENT)?t.ib():i.hT,Ic:n.xc(cf.SAMPLE_SIZE_PRESENT)?t.ib():i.aT,Lb:n.xc(cf.SAMPLE_FLAGS_PRESENT)?t.ib():i.cT,TT:n.xc(cf.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT)?0===r?t.ib():t.eb():void 0}},t.Yb=function(t){var n=t._o,r=t.qM,i=Rf(qu(n,r)),e=i.version,u=i.flags;if(1===e){var o=qu(n,r),s=zu(n,r),f=qu(n,r),a=qu(n,r),c=Ku(n,r),h=Ku(n,r),v=so(oo(n),r.Cc,n.byteLength);return r.Sc(v.byteLength),{ra:sf.PM,Sb:e,Lb:u,DT:c,Pu:h,pm:o,IT:s,ET:f,sA:a,ST:v}}var l=Ku(n,r),_=Ku(n,r),d=qu(n,r),p=qu(n,r),w=qu(n,r),m=qu(n,r),y=so(oo(n),r.Cc,n.byteLength);return r.Sc(y.byteLength),{ra:sf.PM,Lb:u,Sb:e,DT:l,Pu:_,pm:d,LT:p,ET:w,sA:m,ST:y}},t.Pb=function(t){return Tf.Ib(t,sf.BM,!1)},t.zb=function(n){var r=n._o,i=n.qM,e=fo(oo(r)).buffer,u=Rf(qu(r,i)),o=u.version,s=u.flags,f=t.jT(r,i),a=[];if(o>0)for(var c=qu(r,i),h=0;h<c;h++){var v=Gu(r,i,16);a.push(v)}var l=qu(r,i),_=new p(e,i.Cc,l);return i.Sc(r.byteLength),{ra:sf.UM,Sb:o,Lb:s,CT:f,OT:a,xT:l,_o:_,zT:e}},t.jT=function(t,n){for(var r="",i=0;i<4;i++){var e=Hu(t,n).toString(16);r+=1===e.length?"0"+e:e}r+="-";for(var u=0;u<2;u++){var o=Hu(t,n).toString(16);r+=1===o.length?"0"+o:o}r+="-";for(var s=0;s<2;s++){var f=Hu(t,n).toString(16);r+=1===f.length?"0"+f:f}r+="-";for(var a=0;a<2;a++){var c=Hu(t,n).toString(16);r+=1===c.length?"0"+c:c}r+="-";for(var h=0;h<6;h++){var v=Hu(t,n).toString(16);r+=1===v.length?"0"+v:v}return r.toLowerCase()},t.Qb=function(t){var n,r,i=t._o,e=t.qM,u=Rf(qu(i,e)),o=u.version,s=u.flags,f=qu(i,e),a=qu(i,e);0===o?(n=Tt.fromBits(qu(i,e),0,!0),r=Tt.fromBits(qu(i,e),0,!0)):(n=zu(i,e),r=zu(i,e)),e.Sc(2);for(var c=Xu(i,e),h=[],v=0;v<c;v+=1){var l=qu(i,e),_=l>>31&1,d=2147483647&l,p=qu(i,e),w=qu(i,e),m=w>>31&1,y=w>>28&7,g=268435455&w;h.push({RT:_,BT:d,r_:p,UT:m,PT:y,QT:g})}return{ra:sf.QM,Sb:o,Lb:s,YT:f,pm:a,FT:n,GT:r,VT:c,WT:h}},t.yT=function(t){var n,r=t._o,i=t.qM,e=Rf(qu(r,i)),u=e.version,o=e.flags;return n=0===u?Tt.fromBits(qu(r,i),0,!0):zu(r,i),{ra:sf.RM,Sb:u,Lb:o,_T:n}},t}();function Ff(t,n,r){var i=Hu(t,n);if(i!==r)throw new c("Expected descriptor with tag "+r+", but found "+i)}function Lf(t,n){Ff(t,n,Df.ti);var r,i,e,u=Mf(t,n),o=n.Cc+u,s=Xu(t,n),f=Hu(t,n),a=0!=(64&f),c=0!=(32&f),h=31&f;(0!=(128&f)&&(r=Xu(t,n)),a)&&(i=$u(t,n,Hu(t,n)));c&&(e=$u(t,n,2));var v=function(t,n){Ff(t,n,Df.ii);var r,i=Mf(t,n),e=n.Cc+i,u=Hu(t,n),o=Hu(t,n),s=o>>2,f=0!=(2&o),a=Vu(t,n,3),c=qu(t,n),h=qu(t,n);if(n.Cc<e){var v=function(t,n){return t.getUint8(n.Cc)}(t,n);v===Df.ui&&(r=function(t,n){Ff(t,n,Df.ui);var r=Mf(t,n),i=Gu(t,n,r);return{si:Df.ui,fi:i}}(t,n))}return n.Lc(e),{si:Df.ii,hi:u,qkt:s,vi:f,li:a,pi:c,mi:h,yi:r}}(t,n);return n.Lc(o),{si:Df.ti,sA:s,bi:r,wg:i,ki:h,te:e,ie:v}}function Mf(t,n){for(var r=0,i=0;i<4;i++){var e=Hu(t,n);if(r=r<<7|127&e,!(128&e))break}return r}function xf(t,n){for(var r=Hu(t,n),i=Hu(t,n),e=Hu(t,n),u=Hu(t,n),o=3&Hu(t,n),s=31&Hu(t,n),f=[],a=0;a<s;a++){var c=Xu(t,n);f.push(Gu(t,n,c))}for(var h=Hu(t,n),v=[],l=0;l<h;l++){var _=Xu(t,n);v.push(Gu(t,n,_))}return{uat:r,oat:i,aat:e,fat:u,vat:o,dat:f,gat:v}}!function(t){t[t.ti=3]="ti",t[t.ii=4]="ii",t[t.ui=5]="ui"}(Df||(Df={})),function(t){t[t.ee=64]="ee",t[t.gmt=103]="gmt",t[t.kmt=107]="kmt"}(Pf||(Pf={})),function(t){t[t.se=0]="se",t[t.ae=1]="ae",t[t.gmt=2]="gmt",t[t.ce=5]="ce",t[t.he=34]="he"}(Of||(Of={}));var Bf=24;function jf(t){var n=t.dat,r=new ue;return r.Yht(oo(n),0,n.length),ys(r).jat}function Uf(t){var n=jf(t)||Bf;return t.xat/n}function Hf(t,n,r,i,e){for(var u=[],o=n.filter(Gf),s=i(r),f=0;f<o.length;f++){var a,c=o[f],h=Ui(c.Wb,function(t){return t.Nb.sN===r.sN});if(h)for(var v=h.Nb.hT||0,l=h.Nb.aT||0,_=h._T?h._T._T:Tt.ZERO,d=c.dT+(null!=(a=h.Nb.pT)?a:Tt.ZERO).toNumber(),p=0,w=h.AT;p<w.length;p++)for(var m=w[p],y=d+(m.dT||0),g=0,E=m.NT;g<E.length;g++){var S=E[g],b=S.Ic||l,I=new ue;I.Yht(t,y,y+b);var T=fu.Pk(_,r.xat);I.JT=e(S,c,r,T,so(t,y,y+b)),u.push(I),y+=b,_=_.add(S.r_||v||s)}}return u}function Gf(t){return t.ra===sf.jM}var Wf,Vf=65536;function Xf(t,n,r,i){var e=r.xat,u=Tt.fromNumber(t.TT||0),o=i.pp(fu.Pk(u,e));return{P4:i.Mk(),zat:i,Rat:o,Bat:i}}function qf(t,n,r,i,e){for(var u,o=Xf(t,0,r,i),s=fu.Qk(t.r_||0,r.xat),f=t.Lb||0,a=!(f&Vf)&&(f>>24&3)!==Wf.SAMPLE_DEPENDS_ON_OTHERS,c=uo(e),h=new vo;h.Cc<c.byteLength;){var v=qu(c,h);if((31&Vu(c,h,1))===ss.Mat){var l,_=new ue;_.Yht(e,h.Cc-1,h.Cc+v-1);var d=ls(o.Rat,_);(l=u=u||[]).push.apply(l,us(d))}h.Sc(v-1)}return li({},o,{r_:s.Mk(),Uat:s,Pat:o.Rat.Mk(),Qat:o.P4,Yat:a,Fat:u,Gat:!1,Vat:!1})}function zf(t){return{sN:t.Nb.sN,xat:t.nN.Nb.pm}}function Yf(t){return t.ra===sf.uM}!function(t){t[t.SAMPLE_DEPENDS_ON_UNKNOWN=0]="SAMPLE_DEPENDS_ON_UNKNOWN",t[t.SAMPLE_DEPENDS_ON_OTHERS=1]="SAMPLE_DEPENDS_ON_OTHERS",t[t.SAMPLE_DEPENDS_ON_NO_OTHER=2]="SAMPLE_DEPENDS_ON_NO_OTHER",t[t.SAMPLE_DEPENDS_ON_RESERVED=3]="SAMPLE_DEPENDS_ON_RESERVED"}(Wf||(Wf={}));var Kf=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3],$f=.01;function Zf(t,n){var r=Cf.jb(uo(n.t6)),i=Cf.jb(uo(t)),e=function(t){for(var n=0;n<t.Wb.length;n++){var r=t.Wb[n],i=zf(t.Wb[n]),e=r.nN.dN.wN.AN.pN,u=Ui(e,function(t){return t.ra===sf.NM});if(u){var o=Lf(uo(u.PN._o),new vo),s=Jf(o),f=u.jN,a=r.Nb.sN;return li({},i,{sN:a,ve:f,nmt:s,PN:ao(u.PN._o)})}}return}(r.filter(Yf)[0]),u=function(t){for(var n=0;n<t.Wb.length;n++){var r=t.Wb[n],i=zf(t.Wb[n]),e=r.nN.dN.wN.AN.pN,u=Ui(e,function(t){return t.ra===sf._M});if(!u){var o=Ui(e.filter(function(t){return t.ra===sf.LM}),function(t){var n;return(null==(n=t.$N)?void 0:n.ra)===sf._M});o&&(u=o.$N)}if(u){var s=xf(uo(u.WN._o),new vo),f=u.XN;return li({},i,{sN:r.Nb.sN,WN:ao(u.WN._o),eh:u.eh,hN:u.hN,sT:f&&f.sT,eT:f&&f.eT,$vt:s.oat,tdt:s.aat,ndt:s.fat,dat:s.dat[0],gat:s.gat[0]})}}}(r.filter(Yf)[0]),o=e?Hf(t,i,e,ta,Qf):[],s=u?Hf(t,i,u,Uf,qf):[],f=e&&o.length>0?function(t,n,r,i,e){switch(r.nmt){case Ro.gmt:return ra(t,n,r,i,!1,e);case Ro.wmt:return ra(t,n,r,i,!0,e);case Ro.kmt:return}}(t,i,e,o,n.DAt):void 0,a=u&&s.length>0?function(t,n,r,i){var e,u=na(t,n,r,qf,i),o=!1,s=jf(r),f=u.fmt.Ok(u.amt).ym(u.KH.length-1);f.xk()||s&&!(v.abs(s-1/f.Mk())>10)?e=s||Bf:(o=!0,e=1/Ds(u.KH).Mk());return li({},u,{nmt:Ro.Bmt,Omt:o,xmt:!1===s,jat:e,umt:fu.Om(1/e,r.xat),WN:r.WN,width:r.eh,height:r.hN,$vt:r.$vt,zmt:r.tdt,ndt:r.ndt,kAt:ao(r.dat),mAt:ao(r.gat),eT:r.eT,sT:r.sT})}(t,i,u,s):void 0,c=f?f.amt:fu.zm,h=a?a.amt:fu.zm,l=fu.Dm(c,h);return{Xkt:void 0,Fat:os(s),tmt:l,audio:f,video:a}}function Jf(t){var n=t.ie;switch(n.hi){case Pf.ee:return function(t){var n=t.yi;if(n){var r=function(t,n){var r=Lu(t,n,5);31===r&&(r=32+Lu(t,n,6));var i,e=Lu(t,n,4);return 15===e&&(i=Lu(t,n,24)),{de:r,nn:e,Mmt:i,be:Lu(t,n,4)}}(uo(n.fi),new Mu);switch(r.de){case Of.gmt:return Ro.gmt;case Of.ce:return Ro.wmt;case Of.he:return Ro.kmt}}}(n);case Pf.gmt:return Ro.gmt;case Pf.kmt:return Ro.kmt}}function Qf(t,n,r,i,e){return li({},Xf(t,0,r,i),{ymt:Hi(Kf,function(t){return t===r.xat}),Amt:r.xat,_mt:r.ve})}function ta(t){return mu}function na(t,n,r,i,e){var u=e[0],o=e[e.length-1],s=void 0!==o.JT.r_?o.JT.r_:function(t){return void 0!==t.Amt}(o.JT)?mu/o.JT.Amt:v.max((o.JT.P4-u.JT.P4)/e.length,$f),f=o.JT.P4+s-u.JT.P4,a=e.some(function(t){return!t.JT.Bat.ck(t.JT.Rat)}),c=fu.Om(s,r.xat);return{Zkt:0,KH:e,nmt:"",imt:a,duration:f,emt:f,smt:fu.Fk,jat:NaN,umt:fu.xm,omt:u.JT.P4,hmt:u.JT.zat,amt:u.JT.Rat,cmt:u.JT.Bat,fmt:o.JT.Rat,vmt:o.JT.Bat,dmt:o.JT.Rat.pp(c),lmt:o.JT.Bat.pp(c)}}function ra(t,n,r,i,e,u){var o=na(0,0,r,0,i),s=Ui(function(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(bf(i,n))return i}}(n,sf.jM).Wb,function(t){return t.Nb.sN===r.sN});if(s){var f,a,c,h,v=null!=(f=null!=(a=s.Nb.hT)?a:null==(c=s.AT[0])?void 0:null==(h=c.NT[0])?void 0:h.r_)?f:mu;return null===u&&(u=!e&&gu(i)),e=e||u,li({},o,{nmt:Ro.gmt,Imt:r.PN,jat:r.xat,umt:du(o.duration/o.KH.length),Nmt:r.xat,Tmt:v,Dmt:r.ve,DAt:u,pmt:e})}}var ia=t;function ea(t,n,r){n={},r||(r="EMW0032"),ia.postMessage({_Mt:of.sMt,AMt:t,mMt:n.message||r,tt:n.name,ru:n.stack,iu:JSON.stringify(n)})}var ua,oa=[];function sa(t){for(var n=0;n<oa.length;n++){if(oa[n].RMt===t)return void Wi(oa,n)}}function fa(){oa.length?ua||(ua=u(aa,0)):(o(ua),ua=void 0)}function aa(){ua&&(o(ua),ua=void 0),oa.length&&function(t){var n,r=t.IMt,i=t.BMt,e=t.RMt,u=t.UMt,o=[];if(r===uf.iMt){try{if(function(t){return jo(t,0)>0}(i))n=function(t,n){var r=tf(t,n);if(t=null,r.audio&&r.audio.KH&&0!==r.audio.KH.length||(r.audio=null),r.Xkt&&r.Xkt.$kt&&0!==r.Xkt.$kt.length?r.Xkt.qkt=Cs.vr:r.Xkt=null,null===r.audio&&null===r.Xkt)return{tmt:fu.Fk};var i=null;if(r.audio)if(xs(r.audio,r.audio.KH,r.audio.hmt),r.audio.nmt===Ro.gmt||r.audio.nmt===Ro.wmt){var e=r.audio.nmt===Ro.wmt,u=!e&&n.DAt;rf(i=Eu(r.audio,e,u)),Su(i),i.pmt?i.nmt=Ro.wmt:i.nmt=Ro.gmt}else r.audio.nmt===Ro.kmt&&(rf(i=Ou(r.audio)),Cu(i));return{audio:i,Xkt:r.Xkt,tmt:fu.Fk}}(i,u);else if(function(t){return zs(t)>=0}(i))n=Js(i,u);else{if(!function(t){return Cf.Ob(uo(so(t,0,v.min(t.length,16384))))}(i))throw new a("Unknown media format");n=Zf(i,u)}}catch(t){return ea(e,t,"EMW0064")}try{var s=function(t,n){return{audio:t.audio?pf(t.audio,n):void 0,video:t.video?yf(t.video,n):void 0,Xkt:t.Xkt?(r=t.Xkt,{Zkt:r.Zkt,a_t:r.a_t,wA:r.wA,qkt:r.qkt,Jkt:r.Jkt,Kkt:r.Kkt,$kt:r.$kt.map(lf),kA:[]}):void 0,Fat:t.Fat?t.Fat.map(_f):t.Fat,tmt:t.tmt.Wm()};var r}(n,o);return vf({_Mt:of.rMt,AMt:e,pMt:s},o)}catch(t){return ea(e,t,"EMW0060")}}ea(e,{},"EMW0072")}(oa.shift()),fa()}ia.addEventListener("message",function(t){var n=t.data;switch(n.IMt){case uf.Jmt:!function(t){for(var n=0;n<t.length;n++)sa(t[n])}(n.EMt);break;default:!function(t){oa.push(t)}(n)}fa()},!1),ia.postMessage({Skt:"3.2.1"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
36
+ !function(t){!function(){"use strict";var n,r=t.window,i=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,a=t.setInterval,f=t.clearInterval,s=t.Error,c=t.TypeError,h=(t.SyntaxError,t.Object),_=t.Math,v=t.parseInt,l=t.parseFloat,d=t.isNaN,p=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function w(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function m(t,n,r){return n&&w(t.prototype,n),r&&w(t,r),t}function y(t,n){return(y=h.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function g(t,n){t.prototype=h.create(n.prototype),t.prototype.constructor=t,y(t,n)}!function(t){t.g="web",t.N="android",t.I="android-tv",t.j="ios",t.B="tvos",t.U="chromecast"}(n||(n={}));var I=e?e.userAgent:"",E=I.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),S=I.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),T=I.match(/Android ([0-9\.]+)/i),k=I.match(/Windows NT ([0-9\.]+)/i),b=I.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),N=I.match(/Firefox\/([0-9\.]+)/i),A=I.match(/OPR\/(\d+\.\d+)/i),D=I.match(/Tizen ([0-9\.]+)/i),R=function(){function r(){this.Y=Boolean("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.F=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(I)||/(macintosh|mac(?=_powerpc)\s)/i.test(I),this.H=/Windows NT/i.test(I),this.Z=k?l(k[1]):0,this.q=/Android/i.test(I),this.J=T?l(T[1]):0,this.K=/windows phone (8|8\.1)/i.test(I),this.nt=/iPhone/i.test(I),this.ut=/iPad/i.test(I),this.ot=this.F&&this.Y&&!this.ut,this.ct=/iPod/i.test(I),this.vt=/Mobile Safari/i.test(I),this.dt=/EOSSTB/i.test(I),this.wt=(this.nt||this.ut||this.ot||this.ct)&&!this.K,this.At=this.K||this.wt||this.q||this.vt,this.yt=/CriOS/i.test(I),this._t=Boolean(t.chrome&&/google/i.test(e.vendor))||this.yt,this.kt=this._t&&/Edg\//i.test(e.userAgent),this.Mt=S?v(S[1],10):0,this.bt=Boolean(t.chrome||/Chrome/i.test(I)||/CriOS/i.test(I)),this.Nt=E?v(E[1],10):0,this.Tt=/SMART-TV.*Tizen/i.test(I),this.Dt=D?l(D[1]):0,this.It=/webos|web0s/i.test(I),this.Et=/Edge\/\d+/i.test(I),this.St=/Trident/i.test(I),this.Lt=this.St&&!t.ActiveXObject&&"ActiveXObject"in t,this.jt=/Vivaldi/i.test(I),this.Ct=/Firefox/i.test(I)&&!/Seamonkey/i.test(I),this.Ot=N?l(N[1]):0,this.xt=/Safari/i.test(I)&&!/Chrome/i.test(I)&&!this.K&&!this.Tt,this.zt=b?l(b[2]):0,this.Bt=Boolean(A),this.Rt=A?l(A[1]):0,this.Ut=/CrKey/.test(I),this.Qt=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(I),this.Pt="web"===n.I,this.Yt="web"===n.N,this.Ft=this.Yt||this.Pt,this.Gt="web"===n.j,this.Vt="web"===n.B,this.Wt="web"===n.U}return m(r,[{key:"Ht",get:function(){return this.Y}},{key:"Xt",get:function(){return this.F}},{key:"Zt",get:function(){return this.H}},{key:"qt",get:function(){return this.Z}},{key:"Jt",get:function(){return this.q}},{key:"Kt",get:function(){return this.J}},{key:"$t",get:function(){return this.K}},{key:"in",get:function(){return this.nt}},{key:"un",get:function(){return this.ut}},{key:"hn",get:function(){return this.ot}},{key:"cn",get:function(){return this.ct}},{key:"fn",get:function(){return this.wt}},{key:"vn",get:function(){return this.dt}},{key:"dn",get:function(){return this.vt}},{key:"wn",get:function(){return this.At}},{key:"An",get:function(){return this.yt}},{key:"yn",get:function(){return this._t}},{key:"_n",get:function(){return this.Nt}},{key:"pn",get:function(){return this.kt}},{key:"Mn",get:function(){return this.Mt}},{key:"Nn",get:function(){return this.Tt}},{key:"Tn",get:function(){return this.Dt}},{key:"Dn",get:function(){return this.It}},{key:"In",get:function(){return this.Et}},{key:"En",get:function(){return this.St}},{key:"Sn",get:function(){return this.Lt}},{key:"Ln",get:function(){return this.jt}},{key:"jn",get:function(){return this.Ct}},{key:"Cn",get:function(){return this.Ot}},{key:"On",get:function(){return this.xt}},{key:"xn",get:function(){return this.zt}},{key:"zn",get:function(){return this.Bt}},{key:"Bn",get:function(){return this.Rt}},{key:"Rn",get:function(){return this.Ut}},{key:"Un",get:function(){return this.Qt}},{key:"Qn",get:function(){if(!(this.Dn||this.Nn))return!1;var t=this._n;return void 0===t||Number(t)<56}},{key:"Pn",get:function(){return this.Pt}},{key:"Yn",get:function(){return this.Yt}},{key:"Fn",get:function(){return this.Ft}},{key:"Gn",get:function(){return this.Gt}},{key:"Vn",get:function(){return this.Vt}},{key:"Wn",get:function(){return this.Wt}},{key:"Hn",get:function(){return this.bt}}]),r}();R.Xn=new R;var O=R.Xn;function P(t){return null!=t}var C=function(){},L=!(O.En&&!O.Sn),F=t.console;function M(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function x(t){return t.map(M).join(" ")}function B(t){var n=F&&F[t];return n?n.bind&&L?n.bind(F):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];F[t](x(r))}:void 0}var U,H=B("log")||C,V=B("warn")||H.bind(void 0,"WARNING:"),G=B("error")||H.bind(void 0,"ERROR:"),W=(U=F&&F.assert)?U.bind&&L?U.bind(F):function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];F.assert(t,x(r))}:function(t){if(!t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];G.apply(void 0,["Assertion failed:"].concat(r))}},z=Y,X=null;try{X=new WebAssembly.Instance(new WebAssembly.Module(new p([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function Y(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function j(t){return!0===(t&&t.Kn)}Y.prototype.Kn,h.defineProperty(Y.prototype,"Kn",{value:!0}),Y.isLong=j;var q={},K={};function Z(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=K[t])?i:(r=J(t,(0|t)<0?-1:0,!0),e&&(K[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=q[t])?i:(r=J(t,t<0?-1:0,!1),e&&(q[t]=r),r)}function $(t,n){if(d(t))return n?at:ot;if(n){if(t<0)return at;if(t>=it)return _t}else{if(t<=-et)return vt;if(t+1>=et)return ht}return t<0?$(-t,n).neg():J(t%rt|0,t/rt|0,n)}function J(t,n,r){return new Y(t,n,r)}Y.fromInt=Z,Y.fromNumber=$,Y.fromBits=J;var Q=_.pow;function tt(t,n,r){if(0===t.length)throw s("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return ot;if("number"==typeof n?(r=n,n=!1):n=!!n,(r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw s("interior hyphen");if(0===i)return tt(t.substring(1),n,r).neg();for(var e=$(Q(r,8)),u=ot,o=0;o<t.length;o+=8){var a=_.min(8,t.length-o),f=v(t.substring(o,o+a),r);if(a<8){var c=$(Q(r,a));u=u.mul(c).add($(f))}else u=(u=u.mul(e)).add($(f))}return u.unsigned=n,u}function nt(t,n){return"number"==typeof t?$(t,n):"string"==typeof t?tt(t,n):J(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Y.fromString=tt,Y.fromValue=nt;var rt=4294967296,it=rt*rt,et=it/2,ut=Z(1<<24),ot=Z(0);Y.ZERO=ot;var at=Z(0,!0);Y.UZERO=at;var ft=Z(1);Y.ONE=ft;var st=Z(1,!0);Y.UONE=st;var ct=Z(-1);Y.NEG_ONE=ct;var ht=J(-1,2147483647,!1);Y.MAX_VALUE=ht;var _t=J(-1,-1,!0);Y.MAX_UNSIGNED_VALUE=_t;var vt=J(0,-2147483648,!1);Y.MIN_VALUE=vt;var lt=Y.prototype;lt.toInt=function(){return this.unsigned?this.low>>>0:this.low},lt.toNumber=function(){return this.unsigned?(this.high>>>0)*rt+(this.low>>>0):this.high*rt+(this.low>>>0)},lt.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(vt)){var n=$(t),r=this.div(n),i=r.mul(n).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=$(Q(t,6),this.unsigned),u=this,o="";;){var a=u.div(e),f=(u.sub(a.mul(e)).toInt()>>>0).toString(t);if((u=a).isZero())return f+o;for(;f.length<6;)f="0"+f;o=""+f+o}},lt.getHighBits=function(){return this.high},lt.getHighBitsUnsigned=function(){return this.high>>>0},lt.getLowBits=function(){return this.low},lt.getLowBitsUnsigned=function(){return this.low>>>0},lt.getNumBitsAbs=function(){if(this.isNegative())return this.eq(vt)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&0==(t&1<<n);n--);return 0!=this.high?n+33:n+1},lt.isZero=function(){return 0===this.high&&0===this.low},lt.eqz=lt.isZero,lt.isNegative=function(){return!this.unsigned&&this.high<0},lt.isPositive=function(){return this.unsigned||this.high>=0},lt.isOdd=function(){return 1==(1&this.low)},lt.isEven=function(){return 0==(1&this.low)},lt.equals=function(t){return j(t)||(t=nt(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},lt.eq=lt.equals,lt.notEquals=function(t){return!this.eq(t)},lt.neq=lt.notEquals,lt.ne=lt.notEquals,lt.lessThan=function(t){return this.comp(t)<0},lt.lt=lt.lessThan,lt.lessThanOrEqual=function(t){return this.comp(t)<=0},lt.lte=lt.lessThanOrEqual,lt.le=lt.lessThanOrEqual,lt.greaterThan=function(t){return this.comp(t)>0},lt.gt=lt.greaterThan,lt.greaterThanOrEqual=function(t){return this.comp(t)>=0},lt.gte=lt.greaterThanOrEqual,lt.ge=lt.greaterThanOrEqual,lt.compare=function(t){if(j(t)||(t=nt(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},lt.comp=lt.compare,lt.negate=function(){return!this.unsigned&&this.eq(vt)?vt:this.not().add(ft)},lt.neg=lt.negate,lt.add=function(t){j(t)||(t=nt(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,a=t.low>>>16,f=0,s=0,c=0,h=0;return c+=(h+=e+(65535&t.low))>>>16,s+=(c+=i+a)>>>16,f+=(s+=r+o)>>>16,f+=n+u,J((c&=65535)<<16|(h&=65535),(f&=65535)<<16|(s&=65535),this.unsigned)},lt.subtract=function(t){return j(t)||(t=nt(t)),this.add(t.neg())},lt.sub=lt.subtract,lt.multiply=function(t){if(this.isZero())return ot;if(j(t)||(t=nt(t)),X)return J(X.mul(this.low,this.high,t.low,t.high),X.get_high(),this.unsigned);if(t.isZero())return ot;if(this.eq(vt))return t.isOdd()?vt:ot;if(t.eq(vt))return this.isOdd()?vt:ot;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(ut)&&t.lt(ut))return $(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,a=t.low>>>16,f=65535&t.low,s=0,c=0,h=0,_=0;return h+=(_+=e*f)>>>16,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=e*a)>>>16,s+=(c+=r*f)>>>16,c&=65535,s+=(c+=i*a)>>>16,c&=65535,s+=(c+=e*o)>>>16,s+=n*f+r*a+i*o+e*u,J((h&=65535)<<16|(_&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},lt.mul=lt.multiply,lt.divide=function(t){if(j(t)||(t=nt(t)),t.isZero())throw s("division by zero");var n,r,i;if(X)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?J((this.unsigned?X.div_u:X.div_s)(this.low,this.high,t.low,t.high),X.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?at:ot;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return at;if(t.gt(this.shru(1)))return st;i=at}else{if(this.eq(vt))return t.eq(ft)||t.eq(ct)?vt:t.eq(vt)?ft:(n=this.shr(1).div(t).shl(1)).eq(ot)?t.isNegative()?ft:ct:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(vt))return this.unsigned?at:ot;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=ot}for(r=this;r.gte(t);){n=_.max(1,_.floor(r.toNumber()/t.toNumber()));for(var e=_.ceil(_.log(n)/_.LN2),u=e<=48?1:Q(2,e-48),o=$(n),a=o.mul(t);a.isNegative()||a.gt(r);)a=(o=$(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=ft),i=i.add(o),r=r.sub(a)}return i},lt.div=lt.divide,lt.modulo=function(t){return j(t)||(t=nt(t)),X?J((this.unsigned?X.rem_u:X.rem_s)(this.low,this.high,t.low,t.high),X.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},lt.mod=lt.modulo,lt.rem=lt.modulo,lt.not=function(){return J(~this.low,~this.high,this.unsigned)},lt.and=function(t){return j(t)||(t=nt(t)),J(this.low&t.low,this.high&t.high,this.unsigned)},lt.or=function(t){return j(t)||(t=nt(t)),J(this.low|t.low,this.high|t.high,this.unsigned)},lt.xor=function(t){return j(t)||(t=nt(t)),J(this.low^t.low,this.high^t.high,this.unsigned)},lt.shiftLeft=function(t){return j(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):J(0,this.low<<t-32,this.unsigned)},lt.shl=lt.shiftLeft,lt.shiftRight=function(t){return j(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):J(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},lt.shr=lt.shiftRight,lt.shiftRightUnsigned=function(t){if(j(t)&&(t=t.toInt()),0===(t&=63))return this;var n=this.high;return t<32?J(this.low>>>t|n<<32-t,n>>>t,this.unsigned):J(32===t?n:n>>>t-32,0,this.unsigned)},lt.shru=lt.shiftRightUnsigned,lt.shr_u=lt.shiftRightUnsigned,lt.toSigned=function(){return this.unsigned?J(this.low,this.high,!1):this},lt.toUnsigned=function(){return this.unsigned?this:J(this.low,this.high,!0)},lt.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},lt.toBytesLE=function(){var t=this.high,n=this.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},lt.toBytesBE=function(){var t=this.high,n=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]},Y.fromBytes=function(t,n,r){return r?Y.fromBytesLE(t,n):Y.fromBytesBE(t,n)},Y.fromBytesLE=function(t,n){return new Y(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Y.fromBytesBE=function(t,n){return new Y(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var dt=z,pt=_.pow(2,-52);function wt(t,n){for(var r=t,i=n;0!==i;){var e=r%i;r=i,i=e}return r<0?-r:r}function mt(){return Date.now()||(new Date).getTime()}var yt;dt.fromNumber(9007199254740991);!function(t){t[t.ni=1]="ni",t[t.ri=2]="ri",t[t.ei=3]="ei",t[t.oi=4]="oi",t[t.ai=9]="ai"}(yt||(yt={}));var gt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];s.apply(this,n)};(gt.prototype=h.create(s.prototype)).constructor=gt;var It=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,s.captureStackTrace&&s.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i),i.constructor),i}return g(n,t),m(n,[{key:"name",get:function(){return"BaseError"}}]),n}(gt),Et=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return g(n,t),n}(It),St=function(){function t(){}return t.prototype.ci=function(t){var n,r=new DOMParser;try{n=r.parseFromString(t,"text/xml")}catch(t){throw new Et(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Et;return new Rt(n)},t}(),Tt=function(){function t(t){this.di=void 0,this.di=t}var n=t.prototype;return n.gi=function(t){return this.di.isEqualNode(t.di)},n.wi=function(n){return new t(this.di.cloneNode(n))},m(t,[{key:"$n",get:function(){return yt.ri}},{key:"Ai",get:function(){var t;return null!=(t=this.di.localName)?t:Ct(this.di.nodeName)}},{key:"_i",get:function(){return this.di.nodeName}},{key:"Mi",get:function(){var t;return null!=(t=this.di.namespaceURI)?t:void 0}},{key:"Ni",get:function(){var t;return null!=(t=this.di.prefix)?t:void 0}},{key:"Ti",get:function(){return this.di.nodeValue}}]),t}(),kt=function(){function t(t){this.Di=void 0,this.Ii=void 0,this.Di=t}var n=t.prototype;return n.Ei=function(t){return this.Si.filter(function(n){return Ot(n)&&n.Li===t})},n.ji=function(t,n){return this.Si.filter(function(r){return Ot(r)&&r.Ai===n&&r.Mi===t})},n.Ci=function(t){this.Di.appendChild(t.Oi),this.Ii&&this.Ii.push(t)},n.gi=function(t){return this.Di.isEqualNode(t.Oi)},m(t,[{key:"Si",get:function(){return void 0===this.Ii&&(this.Ii=function(t){for(var n=[],r=0;r<t.length;r++){var i=Pt(t.item(r));i&&n.push(i)}return n}(this.Di.childNodes)),this.Ii}},{key:"xi",get:function(){return this.Si.filter(Ot)}},{key:"Oi",get:function(){return this.Di}}]),t}(),bt=function(t){function n(n){return t.call(this,n)||this}g(n,t);var r=n.prototype;return r.zi=function(t){if(this.Di.hasAttribute(t))return this.Di.getAttribute(t)},r.Bi=function(t,n){if(this.Di.hasAttributeNS(t,n))return this.Di.getAttributeNS(t,n)},r.Ri=function(t){this.Di.removeAttribute(t)},r.Ui=function(t,n){this.Di.removeAttributeNS(t,n)},r.Qi=function(t,n){this.Di.setAttribute(t,n)},r.Pi=function(t,n,r){this.Di.setAttributeNS(t,n,r)},r.wi=function(t){return new n(this.Di.cloneNode(t))},m(n,[{key:"$n",get:function(){return yt.ni}},{key:"Ai",get:function(){var t;return null!=(t=this.Di.localName)?t:Ct(this.Di.nodeName)}},{key:"Mi",get:function(){var t;return null!=(t=this.Di.namespaceURI)?t:void 0}},{key:"Ni",get:function(){var t;return null!=(t=this.Di.prefix)?t:void 0}},{key:"Li",get:function(){return this.Di.nodeName}},{key:"Yi",get:function(){return function(t){for(var n=[],r=0;r<t.length;r++)n.push(new Tt(t.item(r)));return n}(this.Di.attributes)}},{key:"Fi",get:function(){return this.Di.textContent}}]),n}(kt),Nt=function(){function t(t){this.Di=void 0,this.Di=t}return t.prototype.gi=function(t){return this.Gi===t.Gi},m(t,[{key:"Gi",get:function(){return this.Di.nodeValue}},{key:"Oi",get:function(){return this.Di}}]),t}(),At=function(t){function n(n){return t.call(this,n)||this}return g(n,t),n.prototype.wi=function(t){return new n(this.Di.cloneNode(t))},m(n,[{key:"$n",get:function(){return yt.ei}}]),n}(Nt),Dt=function(t){function n(n){return t.call(this,n)||this}return g(n,t),n.prototype.wi=function(t){return new n(this.Di.cloneNode(t))},m(n,[{key:"$n",get:function(){return yt.oi}}]),n}(Nt),Rt=function(t){function n(n){return t.call(this,n)||this}return g(n,t),n.prototype.wi=function(t){return new n(this.Di.cloneNode(t))},m(n,[{key:"$n",get:function(){return yt.ai}},{key:"Vi",get:function(){return new bt(this.Di.documentElement)}}]),n}(kt);function Ot(t){return function(t){return t.$n===yt.ni}(t)}function Pt(t){switch(t.nodeType){case yt.ni:return new bt(t);case yt.ei:return new At(t);case yt.oi:return new Dt(t)}}function Ct(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Lt(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),h.defineProperty(t,i.key,i)}}function Ft(t,n){var r=function(t,n){var r=t.length;if(r<=1)return t;for(var i=new Array(r),e=1;e<r;e*=2){Mt(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&Mt(r,null,t.length,t),t}function Mt(t,n,r,i){var e,u,o,a,f,s=t.length,c=0,h=2*r;for(e=0;e<s;e+=h)for(o=(u=e+r)+r,u>s&&(u=s),o>s&&(o=s),a=e,f=u;;)if(a<u&&f<o)n(t[a],t[f])<=0?i[c++]=t[a++]:i[c++]=t[f++];else if(a<u)i[c++]=t[a++];else{if(!(f<o))break;i[c++]=t[f++]}}var xt=/[a-zA-Z]/,Bt=/[0-9]/,Ut=/[0-9a-fA-F]/,Ht=/^0x/i,Vt=/^[0-9]+$/,Gt=/^[0-9a-fA-F]+$/,Wt=/^[0-7]+$/,zt=h.prototype.toString,Xt=Array.isArray||function(t){return"[object Array]"===zt.call(t)},Yt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function jt(t){return Xt(t)?t:Array.from(t)}function qt(t){return t>=65&&t<=90}function Kt(t){return qt(t)||function(t){return t>=97&&t<=122}(t)}function Zt(t){return t>=48&&t<=57}function $t(t){return Zt(t)||Kt(t)}function Jt(t){return Zt(t)||t>=65&&t<=70||t>=97&&t<=102}function Qt(t){return qt(t)?t+32:t}function tn(t){return Zt(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function nn(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var rn=_.min,en=String.fromCharCode,un=16384;function on(t){for(var n=t.length,r=[],i=0;i<n;i+=un){var e=rn(i+un,n);r.push(en.apply(null,t.slice(i,e)))}return r.join("")}var an=/[^\0-\x7E]/,fn=/[\x2E\u3002\uFF0E\uFF61]/g,sn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cn=_.floor,hn=String.fromCharCode;function _n(t){throw new RangeError(sn[t])}function vn(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var ln,dn,pn,wn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},mn=function(t,n,r){var i=0;for(t=r?cn(t/700):t>>1,t+=cn(t/n);t>455;i+=36)t=cn(t/35);return cn(i+36*t/(t+38))},yn=function(t){return function(t,n){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]);var e=function(t,n){for(var r=[],i=t.length;i--;)r[i]=n(t[i]);return r}((t=t.replace(fn,".")).split("."),n).join(".");return i+e}(t,function(t){return an.test(t)?"xn--"+function(t){for(var n=[],r=(t=vn(t)).length,i=128,e=0,u=72,o=0,a=t;o<a.length;o++){var f=a[o];f<128&&n.push(hn(f))}var s=n.length,c=s;for(s&&n.push("-");c<r;){for(var h=2147483647,_=0,v=t;_<v.length;_++){var l=v[_];l>=i&&l<h&&(h=l)}var d=c+1;h-i>cn((2147483647-e)/d)&&_n("overflow"),e+=(h-i)*d,i=h;for(var p=0,w=t;p<w.length;p++){var m=w[p];if(m<i&&++e>2147483647&&_n("overflow"),m==i){for(var y=e,g=36;;g+=36){var I=g<=u?1:g>=u+26?26:g-u;if(y<I)break;var E=y-I,S=36-I;n.push(hn(wn(I+E%S,0))),y=cn(E/S)}n.push(hn(wn(y,0))),u=mn(e,d,c==s),e=0,++c}}++e,++i}return n.join("")}(t):t})};function gn(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return on(n)}function In(t){if(t>=55296&&t<=57343)throw new s("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function En(t,n){return t>>n&63|128}function Sn(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(In(t),n.push(t>>12&15|224),n.push(En(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(En(t,12)),n.push(En(t,6))),n.push(63&t|128)):n.push(t)}function Tn(t){for(var n=[],r=0;r<t.length;r++){Sn(t[r],n)}return n}function kn(){if(pn>=dn)throw new s("Invalid byte index");var t=255&ln[pn];if(pn++,128==(192&t))return 63&t;throw new s("Invalid continuation byte")}function bn(){var t,n;if(pn>dn)throw new s("Invalid byte index");if(pn===dn)return!1;if(t=255&ln[pn],pn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|kn())>=128)return n;throw new s("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|kn()<<6|kn())>=2048)return In(n),n;throw new s("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|kn()<<12|kn()<<6|kn())>=65536&&n<=1114111)return n;throw new s("Invalid UTF-8 detected")}function Nn(t){return[37,nn(t>>4),nn(15&t)]}function An(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Dn(t){return An(t)||32===t||34===t||60===t||62===t||96===t}function Rn(t){return Dn(t)||35===t||63===t||123===t||125===t}function On(t){return Rn(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Pn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Cn(t){return Pn(t)||39===t}function Ln(t,n){if(!n(t))return[t];for(var r=Tn([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Nn(u))}return i}function Fn(t,n){for(var r=[],i=0,e=vn(t);i<e.length;i++){var u=e[i];r.push.apply(r,Ln(u,n))}return gn(r)}function Mn(t){return function(t){for(var n=[],r=t.length,i=0;i<r;i++){var e=t[i];if(37===e&&i+2<r&&Jt(t[i+1])&&Jt(t[i+2])){var u=tn(t[i+1])<<4|tn(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Tn(t))}function xn(t){return gn(function(t){ln=t.slice(),dn=ln.length,pn=0;for(var n,r=[];!1!==(n=bn());)r.push(n);return r}(Mn(vn(t))))}function Bn(t){var n,r,i,e,u=t.length,o=[0,0,0,0,0,0,0,0],a=0,f=null,s=0;if(s<u&&":"===t[s]){if(!(s+1<u&&":"===t[s+1]))throw new c;s+=2,f=a+=1}for(;s<u;){if(8===a)throw new c("Too many groups");if(":"!==t[s]){for(var h=0,_=0;_<4&&s<u&&Ut.test(t[s]);)h=h<<4|v(t[s],16),s+=1,_+=1;if("."===t[s]){if(0===_)throw new c;if(s-=_,a>6)throw new c;for(var l=0;s<u;){var d=null;if(l>0){if(!("."===t[s]&&l<4))throw new c;s+=1}if(!Bt.test(t[s]))throw new c;for(;s<u&&Bt.test(t[s]);){var p=v(t[s],10);if(null===d)d=p;else{if(0===d)throw new c;if((d=10*d+p)>255)throw new c}s+=1}o[a]=o[a]<<8|d,2!==(l+=1)&&4!==l||(a+=1)}if(4!==l)throw new c;break}if(":"===t[s]){if((s+=1)===u)throw new c}else if(s<u)throw new c;o[a]=h,a+=1}else{if(null!==f)throw new c("Too many :: groups");s+=1,f=a+=1}}if(null!==f){var w=a-f;for(a=7;0!==a&&w>0;)i=f+w-1,e=void 0,e=(n=o)[r=a],n[r]=n[i],n[i]=e,a-=1,w-=1}else if(8!==a)throw new c;return o}function Un(t){var n=10,r=Vt;return Ht.test(t)?(t=t.slice(2),n=16,r=Gt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=Wt),""===t?0:r.test(t)?v(t,n):void 0}var Hn={Wi:4},Vn=/[\0\t\n\r #%/:?@\[\\\]]/,Gn=/[\0\t\n\r #/:?@\[\\\]]/;function Wn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new c("Invalid IPv6 address");return{Wi:2,Hi:Bn(t.slice(1,-1))}}if(!n)return function(t){if(Gn.test(t))throw new c("Invalid code point in opaque host");var n=Fn(t,An);return""===n?Hn:{Wi:3,Xi:n}}(t);var r=function(t){return function(t){return yn(t.toLowerCase())}(t)}(xn(t));if(Vn.test(r))throw new c("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=Un(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new c;if(r[r.length-1]>=_.pow(256,5-r.length))throw new c;for(var a=r.pop(),f=0;f<r.length;f++)a+=r[f]*_.pow(256,3-f);return a}}(r);return void 0!==i?{Wi:1,Hi:i}:""===r?Hn:{Wi:0,Zi:r}}function zn(t){switch(t.Wi){case 0:return t.Zi;case 1:return function(t){for(var n=[],r=t,i=1;i<=4;i++)n.push(""+(255&r)),4!==i&&n.push("."),r>>>=8;return n.reverse().join("")}(t.Hi);case 2:return"["+function(t){for(var n="",r=function(t){for(var n=0,r=0,i=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(i=u),e++):(e>r&&(n=i,r=e),e=0);return e>r&&(n=i,r=e),r>1?n:null}(t),i=!1,e=0;e<8;e++){if(i){if(0===t[e])continue;i=!1}r!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",i=!0)}return n}(t.Hi)+"]";case 3:return t.Xi;case 4:return""}}var Xn=/\+/g;function Yn(t){for(var n=t.split("&"),r=[],i=0;i<n.length;i++){var e=n[i];if(""!==e){var u=e.indexOf("="),o=void 0,a=void 0;-1!==u?(o=e.slice(0,u),a=e.slice(u+1)):(o=e,a=""),o=o.replace(Xn," "),a=a.replace(Xn," ");var f=xn(o),s=xn(a);r.push([f,s])}}return r}function jn(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=qn(Tn(vn(i[0])))+"="+qn(Tn(vn(i[1])))}return n}function qn(t){for(var n,r=[],i=0;i<t.length;i++){var e=t[i];32===e?r.push(43):42===(n=e)||45===n||46===n||95===n||$t(n)?r.push(e):r.push.apply(r,Nn(e))}return on(r)}var Kn=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function Zn(t){var n=""+t,r=Kn.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Jn(u))if(Qn(u)||e===r-1)i.push($n);else{var o=t.charCodeAt(e+1);Qn(o)?(i.push(u,o),e++):i.push($n)}else i.push(u)}return t.slice(0,n)+on(i)}(n,r.index):n}var $n=65533,Jn=function(t){return 55296==(63488&t)},Qn=function(t){return 0!=(1024&t)};function tr(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function nr(t){t.qi.length=0}function rr(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.qi,Yn(n))}function ir(t){if(t.Ji){var n=jn(t.qi);""===n&&(n=null),t.Ji.Ji.Ki=n}}function er(t){return t instanceof ur&&(!!Xt(t.qi)&&(!Yt||t[Symbol.iterator]===or))}var ur=function(){function t(t){if(void 0===t&&(t=void 0),this.Ji=null,null==t)this.qi=[];else if("object"==typeof t||"function"==typeof t)if(er(t))this.qi=t.qi.slice();else if(null!=(u=t)&&(Xt(u)||Yt&&"function"==typeof u[Symbol.iterator])){this.qi=[];for(var n=0,r=jt(t);n<r.length;n++){var i=jt(r[n]);if(2!==i.length)throw new c("Invalid name-value pair");this.qi.push([Zn(i[0]),Zn(i[1])])}}else for(var e in this.qi=[],t)h.prototype.hasOwnProperty.call(t,e)&&this.qi.push([Zn(e),Zn(t[e])]);else(t=Zn(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.qi=Yn(t);var u}var n=t.prototype;return n.append=function(t,n){t=Zn(t),n=Zn(n),this.qi.push([t,n]),ir(this)},n.delete=function(t){t=Zn(t);for(var n=this.qi,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}ir(this)},n.get=function(t){t=Zn(t);for(var n=this.qi,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=Zn(t);for(var n=this.qi,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},n.has=function(t){t=Zn(t);for(var n=this.qi,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=Zn(t),n=Zn(n);for(var r=this.qi,i=!1,e=0;e<r.length;){var u=r[e];u[0]===t?i?r.splice(e,1):(u[1]=n,i=!0,e++):e++}i||r.push([t,n]),ir(this)},n.sort=function(){Ft(this.qi,tr),ir(this)},n.toString=function(){return jn(this.qi)},n.entries=function(){return new cr(this.qi,ar)},n.keys=function(){return new cr(this.qi,fr)},n.values=function(){return new cr(this.qi,sr)},n.forEach=function(t){var n=this;this.qi.forEach(function(r){return t(r[1],r[0],n)})},t}(),or=ur.prototype.entries;Yt&&(ur.prototype[Symbol.iterator]=or);var ar=function(t){return[t[0],t[1]]},fr=function(t){return t[0]},sr=function(t){return t[1]},cr=function(){function t(t,n){this.$i=0,this.qi=t,this.re=n}return t.prototype.next=function(){return this.$i<this.qi.length?{done:!1,value:this.re(this.qi[this.$i++])}:{done:!0,value:void 0}},t}(),hr="null";var _r=h.create(null);_r.ftp=21,_r.file=0,_r.gopher=70,_r.http=80,_r.https=443,_r.ws=80,_r.wss=443;var vr=/^(?:\.|%2e)$/i,lr=/^(?:\.|%2e){2}$/i;function dr(t){return vr.test(t)}function pr(t){return lr.test(t)}function wr(t){return void 0!==_r[t]}function mr(t){return wr(t.ue)}function yr(t){return""!==t.oe||""!==t.fe}function gr(t){var n=t.length;if(!(n>=2))return!1;if(!Er(t.slice(0,2)))return!1;if(2!==n){var r=t[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function Ir(t){return 2===t.length&&xt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Er(t){return 2===t.length&&Ir(on(t))}function Sr(t){return Ir(t)&&":"===t[1]}function Tr(t){var n=t.we;0!==n.length&&("file"===t.ue&&1===n.length&&Sr(n[0])||n.pop())}function kr(t){return null===t.Ae||Hn===t.Ae||t.ye||"file"===t.ue}var br=-1,Nr=/\t|\n|\r/g,Ar=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Dr(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Or,t=t.replace(Ar,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,a=!1,f=!1,s=vn(t=t.replace(Nr,"")),h=s.length,_=0;_<=h;){var l=_<h?s[_]:br;switch(e){case 0:if(!Kt(l)){if(null===i){u.length=0,e=2;continue}throw new c("Invalid scheme")}u.push(Qt(l)),e=1;break;case 1:if($t(l)||43===l||45===l||46===l)u.push(Qt(l));else{if(58!==l){if(null===i){u.length=0,e=2,_=0;continue}throw new c("Invalid scheme")}var d=gn(u);if(null!==i){if(wr(r.ue)&&!wr(d))return;if(!wr(r.ue)&&wr(d))return;if((yr(r)||null!==r._e)&&"file"===d)return;if("file"===r.ue&&(r.Ae===Hn||null===r.Ae))return}if(r.ue=d,null!==i)return void(mr(r)&&r._e===_r[r.ue]&&(r._e=null));u.length=0,"file"===r.ue?e=13:mr(r)&&n&&n.ue===r.ue?e=3:mr(r)?e=7:47===s[_+1]?(e=4,_+=1):(r.ye=!0,r.we.push(""),e=18)}break;case 2:if(!n||n.ye&&35!==l)throw new c("Invalid scheme");n.ye&&35===l?(r.ue=n.ue,r.we=n.we.slice(),r.Ki=n.Ki,r.ke="",r.ye=!0,e=20):"file"!==n.ue?(e=5,_-=1):(e=13,_-=1);break;case 3:47===l&&47===s[_+1]?e=8:(e=5,_-=1);break;case 4:47===l?e=9:(e=17,_-=1);break;case 5:r.ue=n.ue,br===l?(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.Ki=n.Ki):47===l?e=6:63===l?(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.Ki="",e=19):35===l?(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.Ki=n.Ki,r.ke="",e=20):92===l&&mr(r)?e=6:(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,r.we=n.we.slice(),r.we.pop(),e=17,_-=1);break;case 6:!mr(r)||47!==l&&92!==l?47===l?e=9:(r.oe=n.oe,r.fe=n.fe,r.Ae=n.Ae,r._e=n._e,e=17,_-=1):e=8;break;case 7:if(47!==l||47!==s[_+1]){e=8;continue}e=8,_+=1;break;case 8:47!==l&&92!==l&&(e=9,_-=1);break;case 9:if(64===l){o&&u.unshift(37,52,48),o=!0;for(var p=0;p<u.length;p++){var w=u[p];if(58!==w||f){var m=gn(Ln(w,On));f?r.fe+=m:r.oe+=m}else f=!0}u.length=0}else if(br===l||47===l||63===l||35===l||mr(r)&&92===l){if(o&&0===u.length)throw new c("Invalid host");_-=u.length+1,u.length=0,e=10}else u.push(l);break;case 10:case 11:if(null!==i&&"file"===r.ue)_-=1,e=15;else if(58!==l||a)if(br===l||47===l||63===l||35===l||mr(r)&&92===l){if(_-=1,mr(r)&&0===u.length)throw new c("Invalid host");if(null!==i&&0===u.length&&(yr(r)||null!==r._e))return;var y=Wn(gn(u),mr(r));if(r.Ae=y,u.length=0,e=16,null!==i)return}else 91===l?a=!0:93===l&&(a=!1),u.push(l);else{if(0===u.length)throw new c("Invalid host");var g=Wn(gn(u),mr(r));if(r.Ae=g,u.length=0,e=12,11===i)return}break;case 12:if(Zt(l))u.push(l);else{if(!(br===l||47===l||63===l||35===l||mr(r)&&92===l||null!==i))throw new c("Invalid port");if(0!==u.length){var I=v(gn(u),10);if(I>65535)throw new c("Invalid port");r._e=I===_r[r.ue]?null:I,u.length=0}if(null!==i)return;e=16,_-=1}break;case 13:r.ue="file",47===l||92===l?e=14:n&&"file"===n.ue?br===l?(r.Ae=n.Ae,r.we=n.we.slice(),r.Ki=n.Ki):63===l?(r.Ae=n.Ae,r.we=n.we.slice(),r.Ki="",e=19):35===l?(r.Ae=n.Ae,r.we=n.we.slice(),r.Ki=n.Ki,r.ke="",e=20):(gr(s.slice(_))||(r.Ae=n.Ae,r.we=n.we.slice(),Tr(r)),e=17,_-=1):(e=17,_-=1);break;case 14:47===l||92===l?e=15:(n&&"file"===n.ue&&!gr(s.slice(_))&&(Sr(n.we[0])?r.we.push(n.we[0]):r.Ae=n.Ae),e=17,_-=1);break;case 15:if(br===l||47===l||92===l||63===l||35===l)if(_-=1,null===i&&Er(u))e=17;else if(0===u.length){if(r.Ae=Hn,null!==i)return;e=16}else{var E=Wn(gn(u),mr(r));if(0===E.Wi&&"localhost"===E.Zi&&(E=Hn),r.Ae=E,null!==i)return;u.length=0,e=16}else u.push(l);break;case 16:mr(r)?(e=17,47!==l&&92!==l&&(_-=1)):null===i&&63===l?(r.Ki="",e=19):null===i&&35===l?(r.ke="",e=20):br!==l&&(e=17,47!==l&&(_-=1));break;case 17:if(br===l||47===l||mr(r)&&92===l||null===i&&(63===l||35===l)){var S=gn(u);if(pr(S)?(Tr(r),47===l||mr(r)&&92===l||r.we.push("")):!dr(S)||47===l||mr(r)&&92===l?dr(S)||("file"===r.ue&&0===r.we.length&&Er(u)&&(Hn!==r.Ae&&null!==r.Ae&&(r.Ae=Hn),u[1]=58,S=gn(u)),r.we.push(S)):r.we.push(""),u.length=0,"file"===r.ue&&(br===l||63===l||35===l))for(;r.we.length>1&&""===r.we[0];)r.we.shift();63===l?(r.Ki="",e=19):35===l&&(r.ke="",e=20)}else u.push.apply(u,Ln(l,Rn));break;case 18:63===l?(r.Ki="",e=19):35===l?(r.ke="",e=20):br!==l&&(r.we[0]+=gn(Ln(l,An)));break;case 19:null===i&&35===l?(r.ke="",e=20):br!==l&&(r.Ki+=gn(Ln(l,mr(r)?Cn:Pn)));break;case 20:br===l||0===l||(r.ke+=gn(Ln(l,Dn)))}_++}return r}function Rr(t,n,r,i){try{Dr(t,n,r,i)}catch(t){}}var Or=function(){this.ue="",this.oe="",this.fe="",this.Ae=null,this._e=null,this.we=[],this.Ki=null,this.ke=null,this.ye=!1};function Pr(t){switch(t.ue){case"blob":var n;try{n=Dr(t.we[0],null)}catch(t){return hr}return Pr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=t.ue,i=t.Ae,e=t._e,r+"://"+zn(i)+(null===e?"":":"+e);case"file":default:return hr}var r,i,e}function Cr(t){return null!=t&&(t instanceof Lr&&"object"==typeof t.Ji)}var Lr=function(){function t(t,n){var r,i=null;if(null!=n)if(Cr(n))i=n.Ji;else try{i=Dr(String(n),null)}catch(t){throw new c("Invalid base URL: "+t.message)}try{r=Dr(String(t),i)}catch(t){throw new c("Invalid URL: "+t.message)}var e=r.Ki;this.Ji=r,this.Ki=function(t){var n=new ur;return null!==t&&rr(n,t),n}(e),this.Ki.Ji=this}var n,r,i,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(r=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.ue+":";if(null!==t.Ae?(r+="//",yr(t)&&(r+=t.oe,""!==t.fe&&(r+=":"+t.fe),r+="@"),r+=zn(t.Ae),null!==t._e&&(r+=":"+t._e)):null===t.Ae&&"file"===t.ue&&(r+="//"),t.ye)r+=t.we[0];else for(var i=0,e=t.we;i<e.length;i++)r+="/"+e[i];return null!==t.Ki&&(r+="?"+t.Ki),n||null===t.ke||(r+="#"+t.ke),r}(this.Ji)},set:function(t){var n;try{n=Dr(String(t),null)}catch(t){throw new c("Invalid URL: "+t.message)}this.Ji=n,nr(this.Ki);var r=this.Ji.Ki;null!==r&&rr(this.Ki,r)}},{key:"origin",get:function(){return Pr(this.Ji)}},{key:"protocol",get:function(){return this.Ji.ue+":"},set:function(t){Rr(t+":",null,this.Ji,0)}},{key:"username",get:function(){return this.Ji.oe},set:function(t){kr(this.Ji)||(this.Ji.oe=Fn(t,On))}},{key:"password",get:function(){return this.Ji.fe},set:function(t){kr(this.Ji)||(this.Ji.fe=Fn(t,On))}},{key:"host",get:function(){var t=this.Ji,n=t.Ae;if(null===n)return"";var r=t._e,i=zn(n);return null!==r&&(i+=":"+r),i},set:function(t){this.Ji.ye||Rr(t,null,this.Ji,10)}},{key:"hostname",get:function(){var t=this.Ji.Ae;return null===t?"":zn(t)},set:function(t){this.Ji.ye||Rr(t,null,this.Ji,11)}},{key:"port",get:function(){var t=this.Ji._e;return null===t?"":""+t},set:function(t){kr(this.Ji)||(""===t?this.Ji._e=null:Rr(t,null,this.Ji,12))}},{key:"pathname",get:function(){var t=this.Ji.we;return this.Ji.ye?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Ji.ye||(this.Ji.we.length=0,Rr(t,null,this.Ji,16))}},{key:"search",get:function(){var t=this.Ji.Ki;return null===t||""===t?"":"?"+t},set:function(t){t=Zn(t);var n=this.Ji;if(""===t)return n.Ki=null,void nr(this.Ki);"?"===t[0]&&(t=t.slice(1)),n.Ki="",Rr(t,null,n,19),rr(this.Ki,t)}},{key:"searchParams",get:function(){return this.Ki}},{key:"hash",get:function(){var t=this.Ji.ke;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Ji.ke="",Rr(t,null,this.Ji,20)):this.Ji.ke=null}}])&&Lt(n.prototype,r),i&&Lt(n,i),t}();function Fr(t){return t.document&&t.document.baseURI||t.location.href||""}var Mr=u;function xr(t){return Boolean(t&&void 0!==t.length)}function Br(){}function Ur(t){if(!(this instanceof Ur))throw new c("Promises must be constructed via new");if("function"!=typeof t)throw new c("not a function");this.pe=0,this.me=!1,this.Me=void 0,this.Ne=[],Xr(t,this)}function Hr(t,n){for(;3===t.pe;)t=t.Me;0!==t.pe?(t.me=!0,Ur.Te(function(){var r=1===t.pe?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.Me)}catch(t){return void Gr(n.promise,t)}Vr(n.promise,i)}else(1===t.pe?Vr:Gr)(n.promise,t.Me)})):t.Ne.push(n)}function Vr(t,n){try{if(n===t)throw new c("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if(n instanceof Ur)return t.pe=3,t.Me=n,void Wr(t);if("function"==typeof r)return void Xr((i=r,e=n,function(){i.apply(e,arguments)}),t)}t.pe=1,t.Me=n,Wr(t)}catch(n){Gr(t,n)}var i,e}function Gr(t,n){t.pe=2,t.Me=n,Wr(t)}function Wr(t){2===t.pe&&0===t.Ne.length&&Ur.Te(function(){t.me||Ur.De(t.Me)});for(var n=0,r=t.Ne.length;n<r;n++)Hr(t,t.Ne[n]);t.Ne=null}function zr(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function Xr(t,n){var r=!1;try{t(function(t){r||(r=!0,Vr(n,t))},function(t){r||(r=!0,Gr(n,t))})}catch(t){if(r)return;r=!0,Gr(n,t)}}Ur.prototype.catch=function(t){return this.then(null,t)},Ur.prototype.then=function(t,n){var r=new this.constructor(Br);return Hr(this,new zr(t,n,r)),r},Ur.prototype.finally=function(t){var n=this.constructor;return this.then(function(r){return n.resolve(t()).then(function(){return r})},function(r){return n.resolve(t()).then(function(){return n.reject(r)})})},Ur.all=function(t){return new Ur(function(n,r){if(!xr(t))return r(new c("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var a=o.then;if("function"==typeof a)return void a.call(o,function(n){u(t,n)},r)}i[t]=o,0==--e&&n(i)}catch(t){r(t)}}for(var o=0;o<i.length;o++)u(o,i[o])})},Ur.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new c(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,r){if(r&&("object"==typeof r||"function"==typeof r)){var o=r.then;if("function"==typeof o)return void o.call(r,function(n){u(t,n)},function(r){i[t]={status:"rejected",reason:r},0==--e&&n(i)})}i[t]={status:"fulfilled",value:r},0==--e&&n(i)}for(var o=0;o<i.length;o++)u(o,i[o])})},Ur.resolve=function(t){return t&&"object"==typeof t&&t.constructor===Ur?t:new Ur(function(n){n(t)})},Ur.reject=function(t){return new Ur(function(n,r){r(t)})},Ur.race=function(t){return new Ur(function(n,r){if(!xr(t))return r(new c("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)Ur.resolve(t[i]).then(n,r)})},Ur.Te="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){Mr(t,0)},Ur.De=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var Yr=function(){var n=t.Promise;if(void 0!==n)try{if(-1!==n.toString().indexOf("[native code]"))return n}catch(t){}}(),jr=e?e.userAgent:"",qr=jr.match(/Firefox\/([0-9]+)/i),Kr=null!=qr,Zr=qr?Number(qr[1]):0,$r=jr.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Jr=null!=$r,Qr=$r?Number($r[3]):0,ti=function(){function t(t){this.Ie=0,this.Ee=0,this.Xi=[],this.Se=t}return t.prototype.Le=function(t){var n=this.length();this.je(n+1);var r=this.Ee+n&this.Se-1;this.Xi[r]=t,this.Ie=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.Se<n)this.Le(t);else{var r=this.Ee+n-1,i=this.Se-1;this.Xi[r&i]=t,this.Ie=n}},t.prototype.shift=function(){var t=this.Ee,n=this.Xi[t];return this.Xi[t]=void 0,this.Ee=t+1&this.Se-1,this.Ie--,n},t.prototype.length=function(){return this.Ie},t.prototype.je=function(t){this.Se<t&&this.Ce(this.Se<<1)},t.prototype.Ce=function(t){var n=this.Se;this.Se=t;var r=this.Ee+this.Ie&n-1;!function(t,n,r,i){for(var e=0;e<i;++e)t[e+r]=t[e+n],t[e+n]=void 0}(this.Xi,0,n,r)},t}();var ni="unhandledrejection",ri=t.PromiseRejectionEvent,ii=t.CustomEvent;function ei(t){return new ri(ni,{reason:t,promise:Yr.reject(t).catch(function(){}),cancelable:!0})}function ui(t){var n=new ii(ni,{detail:{reason:t},cancelable:!0});return h.defineProperty(n,"reason",{value:t}),n}function oi(t){var n=i.createEvent("CustomEvent");return n.initCustomEvent(ni,!1,!0,{reason:t}),n}var ai,fi,si,ci,hi,_i,vi,li=function(t){return(li=function(){try{var t=Yr.resolve(),n=new ri(ni,{reason:"error",promise:t});return ni===n.type&&"error"===n.reason}catch(t){}return!1}()?ei:function(){try{var t=new ii(ni,{detail:{reason:"error"}});return ni===t.type&&"error"===t.detail.reason}catch(t){}return!1}()?ui:oi)(t)};if(Yr&&!(Kr&&Zr<60||Jr&&Qr<15))fi=Yr,function(){};else{fi=Ur;var di=null!==(ai=function(){var n=t.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var r=Yr;if(r&&"function"==typeof r.resolve){var i=r.resolve();return function(t){return i.then(t)}}}())&&void 0!==ai?ai:Ur.Te,pi=(si=di,ci=new ti(16),hi=!1,{Oe:function(t){ci.push(t),hi||(hi=!0,si(_i))},xe:_i=function(){for(;ci.length()>0;)ci.shift()();hi=!1}});pi.xe,Ur.Te=pi.Oe,Ur.De=function(n){try{var r=li(n);if(!t.dispatchEvent(r)||r.defaultPrevented)return}catch(t){}u(function(){throw new s("Unhandled promise rejection: ".concat(n))},0)}}function wi(){return void 0!==i?i.createElement("video"):void 0}var mi=!!("ontouchstart"in t||t.DocumentTouch&&i instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),yi=(vi||(vi=wi()),vi),gi=!(!yi||!yi.webkitShowPlaybackTargetPicker),Ii=function(){function t(){this.ze=void 0,this.Be=!1,this.Ht=mi,this.wn=!1,this.Re=!0,this.Ue=!0}var n=t.prototype;return n.Qe=function(){return 0},n.Pe=function(t,n){return!0},n.Ye=function(t){return t>=1/6*2},m(t,[{key:"Fe",get:function(){return void 0===this.ze&&(this.ze=this.Qe()),this.ze}},{key:"Ge",get:function(){return r.devicePixelRatio||1}},{key:"Ve",get:function(){return gi}},{key:"We",get:function(){return!1}},{key:"He",get:function(){return!0}},{key:"Xe",get:function(){return O.Xt||O.fn}},{key:"Ze",get:function(){return!0}},{key:"qe",get:function(){return!0}},{key:"Je",get:function(){}},{key:"Ke",get:function(){return!0}}]),t}(),Ei=function(){var t=wi();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(O.hn)return!1;var t=wi();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Si=function(t){function n(n){var r;return(r=t.call(this)||this).$e=void 0,r.$e=n,r.$e&&(r.Be=r.$e.Be,r.Ht=r.$e.Ht,r.Re=Ei&&r.$e.Re),r}g(n,t);var r=n.prototype;return r.Qe=function(){return this.$e?this.$e.Fe:t.prototype.Qe.call(this)},r.Pe=function(n,r){return this.$e?this.$e.Pe(n,r):t.prototype.Pe.call(this,n,r)},r.Ye=function(n){return this.$e?this.$e.Ye(n):t.prototype.Ye.call(this,n)},m(n,[{key:"Je",get:function(){var t;return null==(t=this.$e)?void 0:t.Je}},{key:"Ke",get:function(){var t,n;return null==(t=null==(n=this.$e)?void 0:n.Ke)||t}}]),n}(Ii),Ti=function(t){function n(n){var r;return(r=t.call(this,n)||this).Be=!0,r.wn=!0,r}return g(n,t),n}(Si),ki=function(t){function n(){return t.apply(this,arguments)||this}return g(n,t),n.prototype.Qe=function(){if(!(void 0).MediaSource)return 1},n}(Ti),bi=function(t){function n(){return t.apply(this,arguments)||this}return g(n,t),n.prototype.Pe=function(n,r){return t.prototype.Pe.call(this,n,r)},m(n,[{key:"We",get:function(){return O.Tn<3}},{key:"He",get:function(){return O.Tn>=3}}]),n}(Si),Ni=function(t){function n(){return t.call(this)||this}return g(n,t),n}(Ii),Ai=function(t){function n(){return t.apply(this,arguments)||this}return g(n,t),n.prototype.Pe=function(t,n){if(t&&t.ir&&n&&n.ir){var r=Di(t.ir,"mp4a.40.2")&&Di(n.ir,"mp4a.40.5"),i=Di(t.ir,"mp4a.40.5")&&Di(n.ir,"mp4a.40.2"),e=Di(t.ir,"mp4a.40.2")&&Di(n.ir,"mp4a.40.34"),u=Di(t.ir,"mp4a.40.34")&&Di(n.ir,"mp4a.40.2"),o=Di(t.ir,"mp4a.40.5")&&Di(n.ir,"mp4a.40.34"),a=Di(t.ir,"mp4a.40.34")&&Di(n.ir,"mp4a.40.5");return!(r||i||e||u||o||a)}return!0},m(n,[{key:"Je",get:function(){if(O.Xt)return 4096}}]),n}(Ni);function Di(t,n){return t.indexOf(n)>-1}var Ri=function(t){function n(){return t.apply(this,arguments)||this}return g(n,t),n.prototype.Ye=function(t){return t>=2},n}(Ni),Oi=function(t){function n(){var n;return(n=t.call(this)||this).Be=O.xn>=11,n.Re=O.On&&!(O.fn&&O.xn<10),n}return g(n,t),n}(Ni),Pi=function(t){function n(){return t.apply(this,arguments)||this}return g(n,t),m(n,[{key:"Ze",get:function(){return!1}}]),n}(Si),Ci=function(t){function n(){return t.apply(this,arguments)||this}return g(n,t),m(n,[{key:"Ke",get:function(){return!O.Zt||!!O.pn&&92!==O.Mn}}]),n}(Ni),Li=function(){function n(){var n;this.Zn=void 0,this.rr=new St,this.dr=new Fi,this.gr=(n=function(){if(O.jn)return new Ai;if(O.In||O.En)return new Ri;if(O.On)return new Oi;if(O.yn)return new Ci;return new Ni}(),O.fn?new ki(n):O.wn?new Ti(n):O.Nn?new bi(n):O.Dn?new Pi(n):new Si(n)),this.wr=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this.Zn=function(){return t.performance.now()}:this.Zn=mt}var r=n.prototype;return r.Ar=function(){H.apply(void 0,arguments)},r.yr=function(){V.apply(void 0,arguments)},r._r=function(){G.apply(void 0,arguments)},r.Mr=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];W.apply(void 0,[t].concat(r))},r.Jn=function(t,n){return u(t,n)},r.Nr=function(t,n){return a(t,n)},r.qn=function(t){o(t)},r.Tr=function(t){f(t)},r.ci=function(t){return this.rr.ci(t)},r.Dr=function(){return this.Ir.Dr()},r.Er=function(){return this.Ir.Er()},r.Sr=function(){return this.Ir.Sr()},r.Lr=function(){return this.Ir.Lr()},r.jr=function(){return this.Ir.jr()},r.Cr=function(t,n){return this.Ir.Cr(t,n)},r.Or=function(t){return this.Ir.Or(t)},r.xr=function(t,n){var r;return void 0===n&&(n=Fr(void 0)),r="object"!=typeof n||n instanceof Lr?n:n.href,new Lr(t,r)},r.zr=function(n,r){if(void 0===r&&(r=Fr(void 0)),this.wr){var i="string"==typeof r?r:r.toString();return new t.URL(n,i).href}return this.xr(n,r).href},m(n,[{key:"Br",get:function(){return this.dr}},{key:"Rr",get:function(){return this.gr}},{key:"Ur",get:function(){return{Qr:e&&e.userAgent.match(/Android /i)?"Android":"other",Pr:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"Yr",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Fr",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),Fi=function(){function t(){}return m(t,[{key:"Gr",get:function(){return e.oscpu}},{key:"Rr",get:function(){return e.platform}},{key:"Vr",get:function(){return e.vendor}},{key:"Wr",get:function(){return e.vendorSub}}]),t}();var Mi=function(t,n,r){return t(r={path:n,exports:{},require:function(t,n){return function(){throw new s("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&r.path)}},r.exports),r.exports}(function(t){!function(t){var n,r=h.prototype,i=r.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",a=e.toStringTag||"@@toStringTag";function f(t,n,r,i){var e=n&&n.prototype instanceof y?n:y,u=h.create(e.prototype),o=new O(i||[]);return u.Hr=function(t,n,r){var i=v;return function(e,u){if(i===p)throw new s("Generator is already running");if(i===w){if("throw"===e)throw u;return C()}for(r.method=e,r.arg=u;;){var o=r.delegate;if(o){var a=A(o,r);if(a){if(a===m)continue;return a}}if("next"===r.method)r.sent=r.Xr=r.arg;else if("throw"===r.method){if(i===v)throw i=w,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var f=_(t,n,r);if("normal"===f.type){if(i=r.done?w:l,f.arg===m)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(i=w,r.method="throw",r.arg=f.arg)}}}(t,r,o),u}function _(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var v="suspendedStart",l="suspendedYield",p="executing",w="completed",m={};function y(){}function g(){}function I(){}var E={};E[u]=function(){return this};var S=h.getPrototypeOf,T=S&&S(S(P([])));T&&T!==r&&i.call(T,u)&&(E=T);var k=I.prototype=y.prototype=h.create(E);function b(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Hr(n,t)}})}function N(t){var n;this.Hr=function(r,e){function u(){return new fi(function(n,u){!function n(r,e,u,o){var a=_(t[r],t,e);if("throw"!==a.type){var f=a.arg,s=f.value;return s&&"object"==typeof s&&i.call(s,"Zr")?fi.resolve(s.Zr).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):fi.resolve(s).then(function(t){f.value=t,u(f)},function(t){return n("throw",t,u,o)})}o(a.arg)}(r,e,n,u)})}return n=n?n.then(u,u):u()}}function A(t,r){var i=t.iterator[r.method];if(i===n){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=n,A(t,r),"throw"===r.method))return m;r.method="throw",r.arg=new c("The iterator does not provide a 'throw' method")}return m}var e=_(i,t.iterator,r.arg);if("throw"===e.type)return r.method="throw",r.arg=e.arg,r.delegate=null,m;var u=e.arg;return u?u.done?(r[t.resultName]=u.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=n),r.delegate=null,m):u:(r.method="throw",r.arg=new c("iterator result is not an object"),r.delegate=null,m)}function D(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 R(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function P(t){if(t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!d(t.length)){var e=-1,o=function r(){for(;++e<t.length;)if(i.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=n,r.done=!0,r};return o.next=o}}return{next:C}}function C(){return{value:n,done:!0}}g.prototype=k.constructor=I,I.constructor=g,I[a]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===g||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return h.setPrototypeOf?h.setPrototypeOf(t,I):(t.__proto__=I,a in t||(t[a]="GeneratorFunction")),t.prototype=h.create(k),t},t.awrap=function(t){return{Zr:t}},b(N.prototype),N.prototype[o]=function(){return this},t.AsyncIterator=N,t.async=function(n,r,i,e){var u=new N(f(n,r,i,e));return t.isGeneratorFunction(r)?u:u.next().then(function(t){return t.done?t.value:u.next()})},b(k),k[a]="Generator",k[u]=function(){return this},k.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var i=n.pop();if(i in t)return r.value=i,r.done=!1,r}return r.done=!0,r}},t.values=P,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Xr=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(R),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!d(+r.slice(1))&&(this[r]=n)},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 r=this;function e(i,e){return a.type="throw",a.arg=t,r.next=i,e&&(r.method="next",r.arg=n),!!e}for(var u=this.tryEntries.length-1;u>=0;--u){var o=this.tryEntries[u],a=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var f=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(f&&c){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(f){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!c)throw new s("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&i.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var u=e;break}}u&&("break"===t||"continue"===t)&&u.tryLoc<=n&&n<=u.finallyLoc&&(u=null);var o=u?u.completion:{};return o.type=t,o.arg=n,u?(this.method="next",this.next=u.finallyLoc,m):this.complete(o)},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),m},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),m}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var e=i.arg;R(r)}return e}}throw new s("illegal catch attempt")},delegateYield:function(t,r,i){return this.delegate={iterator:P(t),resultName:r,nextLoc:i},"next"===this.method&&(this.arg=n),m}}}(t.exports)});function xi(){return(xi=h.assign||function(t){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var i in r)h.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function Bi(){var t=h.create(null);return t.__=void 0,delete t.__,t}var Ui,Hi=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(Ui=function(){function t(t,n){this.data=void 0,this.keys=void 0,this.index=0,this.selector=void 0,this.data=t,this.selector=n,this.keys=h.keys(t)}var n=t.prototype;return n.next=function(){var t=this.index;return t<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[t]),done:!1}):{value:void 0,done:!0}},t}(),function(){function t(){this.data=Bi(),this.size=0}var n=t.prototype;return n.get=function(t){return this.data[t]},n.set=function(t,n){return this.has(t)||this.size++,this.data[t]=n,this},n.has=function(t){return t in this.data},n.delete=function(t){return!!this.has(t)&&(this.size--,delete this.data[t],!0)},n.clear=function(){this.data=Bi(),this.size=0},n.keys=function(){return new Ui(this.data,function(t,n){return n})},n.values=function(){return new Ui(this.data,function(t,n){return t[n]})},n.entries=function(){return new Ui(this.data,function(t,n){return[n,t[n]]})},n.forEach=function(t){for(var n in this.data)t(this.data[n],n)},t}());var Vi,Gi="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",Wi="urn:uuid:"+Gi;!function(t){t.ns="playready",t.rs="widevine",t.us="fairplay",t.hs="clearkey",t.fs="aes128"}(Vi||(Vi={}));var zi={vs:Vi.ns,ls:"com.microsoft.playready",ds:"cenc",gs:"9a04f079-9840-4286-ab92-e65be0885f95",As:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",ys:"PlayReady"},Xi={vs:Vi.rs,ls:"com.widevine.alpha",ds:"cenc",gs:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",As:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ys:"Widevine"},Yi={vs:Vi.us,ls:"com.apple.fps.1_0",ds:"skd",gs:Gi,As:Wi,ys:"FairPlay"},ji=(Vi.us,{vs:Vi.hs,ls:"org.w3.clearkey",ds:"cenc",gs:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",As:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ys:"ClearKey"});var qi=16384;function Ki(t){var n=t.length;if(n<=qi)return String.fromCharCode.apply(String,t);for(var r=[],i=0;i<n;i+=qi)r.push(String.fromCharCode.apply(String,t.slice(i,i+qi)));return r.join("")}var Zi=O.yn&&O._n>=42||O.jn&&O.Cn>=38||O.In||O.Sn||O.zn&&O.Bn>=29;function $i(t,n){return i="audio",null!=(r=t)&&-1!==r.indexOf(i)?{initDataTypes:["cenc"],audioCapabilities:[xi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[xi({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var r,i}var Ji,Qi=function(){function t(t){this._s=void 0,this.Ms=new Hi,this.Ns=void 0,this._s=t}var n=t.prototype;return n.jr=function(){return this.Or(Xi)},n.Er=function(){return this.Or(ji)},n.Lr=function(){return this.Or(zi)},n.Sr=function(){return this.Or(Yi)},n.Or=function(t){var n=t.As,r=this.Ms.get(n);if(r)return r;var i=this.Cr(t,'video/mp4; codecs="avc1.42000a"');return this.Ms.set(n,i),i},n.Cr=function(t,n){return Mi.async(function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,Mi.awrap(this._s.Ts(t.ls,[$i(n,!0)]));case 3:return r.abrupt("return",!0);case 6:return r.prev=6,r.t0=r.catch(0),r.prev=8,r.next=11,Mi.awrap(this._s.Ts(t.ls,[$i(n,!1)]));case 11:return r.abrupt("return",!0);case 14:return r.prev=14,r.t1=r.catch(8),r.abrupt("return",!1);case 17:case"end":return r.stop()}},null,this,[[0,6],[8,14]],fi)},n.Dr=function(){return this.Ns||(this.Ns=this.Ds()),this.Ns},n.Ds=function(){return Mi.async(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(Zi){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,Mi.awrap(this.Er());case 6:if(!t.sent){t.next=8;break}return t.abrupt("return",!1);case 8:return t.abrupt("return",!0);case 9:case"end":return t.stop()}},null,this,null,fi)},t}(),te=function(){function t(){}var n=t.prototype;return n.cf=function(){},n.ju=function(t){},n.Eu=function(t){},n.vf=function(t,n){},t}(),ne=function(){function t(){}return t.prototype.Ts=function(t,n){return fi.reject(new c("Unsupported key system configuration"))},t}();!function(t){t.Jf="arraybuffer",t.Kf="json",t.$f="stream",t.ei="text"}(Ji||(Ji={}));var re,ie=function(){function t(n){var r=this;this.$r=void 0,this.$r={},n instanceof t?n.asList().forEach(function(t){var n=t[0],i=t[1];r.append(n,i)}):Array.isArray(n)?n.forEach(function(t){r.append(t[0],t[1])}):n&&h.getOwnPropertyNames(n).forEach(function(t){r.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var r=t,i=n;r=ee(r),i=ue(i);var e=r.toLowerCase();if(this.$r.hasOwnProperty(e)){var u=this.$r[e],o=u[1];u[1]=o?o+", "+i:i}else this.$r[e]=[r,i]},n.delete=function(t){var n=ee(t).toLowerCase();delete this.$r[n]},n.get=function(t){var n=ee(t).toLowerCase();return this.$r.hasOwnProperty(n)?this.$r[n][1]:null},n.has=function(t){var n=ee(t).toLowerCase();return this.$r.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=ee(r)).toLowerCase();this.$r[i]=[r,ue(n)]},n.forEach=function(t,n){for(var r in this.$r)this.$r.hasOwnProperty(r)&&t.call(n,this.$r[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.$r)if(this.$r.hasOwnProperty(n)){var r=this.$r[n],i=r[0],e=r[1];t.push([i,e])}return t},n.rv=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.uv=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.ov=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function ee(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new c("Invalid character in header field name");return n}function ue(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function oe(t,n){return function(t,n){var r=t,i=r.length;if(i<=1)return r;for(var e=new Array(i),u=1;u<i;u*=2){ae(r,n,u,e);var o=r;r=e,e=o}return r}(t.slice(),n)}function ae(t,n,r,i){var e,u,o,a,f,s=t.length,c=0,h=2*r;for(u=0;u<s;u+=h)for(e=(o=u+r)+r,o>s&&(o=s),e>s&&(e=s),a=u,f=o;;)if(a<o&&f<e)n&&n(t[a],t[f])<=0?i[c++]=t[a++]:i[c++]=t[f++];else if(a<o)i[c++]=t[a++];else{if(!(f<e))break;i[c++]=t[f++]}}!function(t){t[t.Is=0]="Is",t[t.Es=1]="Es",t[t.Ss=-1]="Ss"}(re||(re={}));var fe=function(t,n){return(0|t)-(0|n)},se=function(t,n){return function(t,n){if(t===n)return!0;var r=_.abs(t-n);return r<pt||r<_.max(_.abs(t),_.abs(n))*pt}(t,n)?re.Is:function(t,n){return t===n?re.Is:t<n?re.Ss:t>n?re.Es:d(t)?d(n)?re.Is:re.Es:re.Ss}(t,n)};function ce(t,n,r){var i=he(t,n,r);return-1===i?void 0:t[i]}function he(t,n,r){for(var i=0;i<t.length;i+=1){var e=t[i];if(n.call(r,e,i,t))return i}return-1}function _e(t,n){var r=t.indexOf(n);return-1!==r&&(ve(t,r),!0)}function ve(t,n){t.splice(n,1)}function le(t){t.length=0}var de,pe,we,me,ye=function(){function t(){this.Ls=!1,this.Cs=!1,this.Os=[],this.xs=[]}var n=t.prototype;return n.zs=function(){if(!this.Ls&&!this.Cs){this.Ls=!0;for(var t=0,n=this.Os.slice();t<n.length;t++){(0,n[t])()}this.Bs()}},n.Bs=function(){if(!this.Cs){this.Cs=!0;for(var t=0,n=this.xs.slice();t<n.length;t++){(0,n[t])()}le(this.Os),le(this.xs)}},n.Rs=function(t){this.Cs||this.Os.push(t)},n.Us=function(t){this.Cs||_e(this.Os,t)},n.Qs=function(t){this.Cs||this.xs.push(t)},n.Ps=function(t){this.Cs||_e(this.xs,t)},t}(),ge=function(){function t(){this.Ys=new ye}var n=t.prototype;return n.Fs=function(){this.Ys.zs()},n.Bs=function(){this.Ys.Bs()},n.Gs=function(t){var n=this.Ys;if(!n.Ls)if(t.Ls)n.zs();else if(!n.Cs&&!t.Cs){var r=function(){i(),n.zs()},i=function i(){t.Us(r),t.Ps(i),n.Us(r),n.Ps(i)};t.Rs(r),t.Qs(i),n.Rs(r),n.Qs(i)}},n.Vs=function(){var n=new t,r=new t,i=n.Ws,e=r.Ws,u=this.Ys,o=function(){i.Ls&&e.Cs||e.Ls&&i.Cs?u.zs():i.Cs&&e.Cs&&u.Bs()};i.Rs(o),e.Rs(o),i.Qs(o),e.Qs(o),n.Gs(u),r.Gs(u);return u.Qs(function(){i.Us(o),e.Us(o),i.Ps(o),e.Ps(o)}),[n,r]},m(t,[{key:"Ws",get:function(){return this.Ys}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(de||(de={})),function(t){t.vd="",t.ld="manifest",t.dd="segment",t.wd="content-protection"}(pe||(pe={})),function(t){t.vd="",t.yd="initialization-segment",t._d="fairplay-license",t.kd="fairplay-certificate",t.pd="widevine-license",t.md="widevine-certificate",t.Md="playready-license",t.bd="clearkey-license",t.Nd="aes128-key"}(we||(we={})),function(t){t.vd="",t.Td="audio",t.Dd="video",t.ei="text",t.Id="image"}(me||(me={}));var Ie,Ee=function(t,n){this.Pl=void 0,this.$l=void 0,this.Ed=void 0,this.td=void 0,this.Sd=void 0,this.Ws=void 0,this.vs=void 0,this.Ld=void 0,this.jd=void 0,this.hd=void 0,this.Cd=void 0,this.Od=void 0;var r,i,e,u,o,a,f,s,c,h,_,v=t.hd;n?(r=n.Pl,i=n.$l,e=n.Ed,u=n.td,o=n.Sd,a=n.Ws,f=n.vs,s=n.Ld,c=n.jd,h=n.Cd,_=n.Od):(r=null,i={},e=de.GET,u=Ji.ei,o=0,f=pe.vd,s=we.vd,c=me.vd,h=!1),this.hd=v,this.Pl=t.Pl||r,this.$l=new ie(t.$l||i),this.Ed=t.Ed||e,this.td=t.td||u,this.Sd=void 0!==t.Sd?Number(t.Sd)||0:o,this.Ws=t.Ws||a||(new ge).Ws,this.vs=t.vs||f,this.Ld=t.Ld||s,this.jd=t.jd||c,this.Cd=void 0!==t.Cd?Boolean(t.Cd):h,this.Od=t.Od||_};!function(t){t.Gd="HttpOpenError",t.Vd="HttpResponseError",t.Wd="HttpTimeoutError"}(Ie||(Ie={}));var Se,Te=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.hd+". Invalid URL.",r)||this}return g(n,t),m(n,[{key:"name",get:function(){return Ie.Gd}}]),n}(function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).Hd=void 0,e.Hd=n,e}return g(n,t),m(n,[{key:"ud",get:function(){return this.Hd}}]),n}(It)),ke=function(){function t(){}var n=t.prototype;return n.ud=function(t){return fi.reject(new Te(new Ee(t)))},n.xd=function(t){},n.zd=function(){},t}();function be(t){return"function"==typeof t.Eu}function Ne(t,n,r){if(!(r&&n.byte>=r)){var i=be(t)?t.Eu(n.byte):t[n.byte];return n.byte+=1,i}}function Ae(t,n){return function(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=256*i+Ne(t,n);return i}(t,n,2)}Se=new(function(t){function n(){for(var n,r=arguments.length,i=new Array(r),e=0;e<r;e++)i[e]=arguments[e];return(n=t.call.apply(t,[this].concat(i))||this).Fg=new Qi(new ne),n.yT=new ke,n.i=new te,n}return g(n,t),m(n,[{key:"Ir",get:function(){return this.Fg}},{key:"Hg",get:function(){return!1}},{key:"Xg",get:function(){return!1}},{key:"Zg",get:function(){return!1}},{key:"qg",get:function(){return this.i}},{key:"Jg",get:function(){return{Kg:C}}},{key:"$g",get:function(){return"default"}},{key:"nw",get:function(){return"unknown"}},{key:"iw",get:function(){return this.yT}}]),n}(Li));var De=function(){function t(){this.Wst=0,this.Hst=[],this.nT={}}var n=t.prototype;return n.Xst=function(t){this.Hst=this.Hst.concat(t.Hst),this.Wst+=t.Fw},n.Zst=function(t,n,r){var i=this.Wst,e=r-n;e>0&&(this.Hst.push({qst:n,Jst:r,Kst:e,$st:i,tut:t}),this.Wst+=e)},n.Eu=function(t){for(var n=0,r=this.Hst;n<r.length;n++){var i=r[n];if(i.$st<=t&&t<i.$st+i.Kst)return i.tut[t+i.qst-i.$st]}},n.nut=function(t,n){for(var r=n,i=0,e=this.Hst;i<e.length;i++)for(var u=e[i],o=u.Jst,a=u.qst;a<o;a+=1,r+=1)t[r]=u.tut[a];return r},n.iut=function(){for(var t=new p(this.Wst),n=0,r=0,i=this.Hst;r<i.length;r++)for(var e=i[r],u=e.Jst,o=e.qst;o<u;o+=1,n+=1)t[n]=e.tut[o];return t},n.Ru=function(n){for(var r=new t,i=0,e=this.Hst;i<e.length;i++){var u=e[i];r.Zst(u.tut,u.qst,u.Jst)}return r.nT=n||xi({},this.nT),r},m(t,[{key:"Fw",get:function(){return this.Wst},set:function(t){var n=this.Hst,r=this.Wst-t;if(!(t>=this.Wst))if(this.Wst=t,0!==t)for(var i=n.length-1;i>=0;i-=1){var e=n[i];if(r<=e.Kst)return e.Jst-=r,e.Kst-=r,void(n.length!==i+1&&(n.length=i+1));r-=e.Kst}else n.length=0}},{key:"Gi",get:function(){for(var t=new Array(this.Wst),n=0,r=0,i=this.Hst;r<i.length;r++)for(var e=i[r],u=e.Jst,o=e.qst;o<u;o+=1,n+=1)t[n]=e.tut[o];return t}}]),t}();function Re(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}var Oe=[128,64,32,16,8,4,2,1];function Pe(t,n){var r=_.floor(n.bit/8),i=0==(("function"==typeof t.Eu?t.Eu(r):t[r])&Oe[n.bit%8])?0:1;return n.bit+=1,i}function Ce(t,n,r){for(var i=0;r>0;)r-=1,i=2*i+Pe(t,n);return i}function Le(t,n){return t.push(n),t}function Fe(t,n,r,i){var e=r||0,u=i||n.length,o=u-e,a=t.length,f=a+o;for(t.length=f;e<u;e+=1,a+=1)t[a]=n[e];return t}function Me(t,n){return Fe(t,Re(n))}function xe(t,n){return Fe(t,function(t){return[t>>>8&255,255&t]}(n))}var Be,Ue=function(t){function n(n,r){var i,e=Ve[n];return(i=t.call(this,e?e.Au:"")||this).code=void 0,i.info=void 0,i.helpLink=void 0,i.helpLinkText=void 0,i.code=n,i.info=r,i.helpLink=e&&e.ult,i.helpLinkText=e&&e.olt,i}return g(n,t),m(n,[{key:"name",get:function(){return"THEOplayerError"}}]),n}(It);!function(t){t.hlt="LICENSE_INVALID",t.clt="MANIFEST_NOT_FOUND",t.flt="MANIFEST_CORS_ERROR",t.vlt="INVALID_HLS_MANIFEST",t.llt="PLAYBACK_ISSUE",t.dlt="AUDIO_ISSUE",t.glt="BROWSER_SUPPORT_ISSUE",t.wlt="INVALID_KEY",t.Alt="DECRYPTION_ERROR",t.ylt="AD_BLOCK_DETECTED",t._lt="THEOPLAYER_NOT_INITIALIZED",t.aA="ERROR",t.klt="MANIFEST_SEQUENCE_RESET_ERROR",t.plt="PLAYER_INCORRECTLY_CONFIGURED",t.Mlt="UNSUPPORTED"}(Be||(Be={}));for(var He=[{Xu:Be.hlt,Au:"The license for this player is invalid. Please contact your service provider for additional information."},{Xu:Be.clt,Au:"Could not load the manifest file."},{Xu:Be.flt,Au:"Could not load the manifest file. Make sure the source is set correctly and that CORS support is enabled.",ult:"https://www.theoplayer.com/documentation/cors.html",blt:!1},{Xu:Be.vlt,Au:"The source of the player is an invalid HLS manifest.",ult:"https://developer.apple.com/library/ios/technotes/tn2288/_index.html"},{Xu:Be.llt,Au:"There appears to be a playback issue."},{Xu:Be.dlt,Au:"There is an audio issue. Please contact your service provider with the code below for additional information."},{Xu:Be.glt,Au:"Your browser doesn't support a feature. Try upgrading your browser or please contact your service provider referring to the code below."},{Xu:Be.wlt,Au:"There is an invalid key being decrypted. Please contact your service provider with the code below for additional information."},{Xu:Be.Alt,Au:"There is a decryption error. Please contact your service provider with the code below for additional information."},{Xu:Be.ylt,Au:"An ad blocker was detected. Please turn it off and refresh the page in order to watch this video."},{Xu:Be._lt,Au:"THEOplayer hasn't been initialized yet. Please check your configuration or wait."},{Xu:Be.aA,Au:"THEOplayer encountered an error. If this issue holds, please contact your service provider."},{Xu:Be.klt,Au:"The video stream has been reset. THEOplayer will attempt to reload the source."},{Xu:Be.plt,Au:"The player is incorrectly configured.",ult:"https://support.theoplayer.com/hc/en-us/articles/214343065-Player-API"},{Xu:Be.Mlt,Au:"This browser does not allow you to watch this video. Try to update your browser or use a different browser."}],Ve={},Ge=0;Ge<He.length;Ge++){var We=He[Ge];Ve[We.Xu]=We}var ze="SBR_DETECTED",Xe=[[[1,0,0,0,0,0],[5,16,1,0,0,0],[5,17,-1,0,0,0],[5,18,0,0,0,-1],[5,19,0,1,0,0],[5,20,0,0,0,1],[5,21,0,0,-1,0],[5,22,0,0,1,0],[5,23,0,-1,0,0],[7,96,1,-1,0,0],[7,97,-1,1,0,0],[7,98,0,0,-1,1],[7,99,0,1,-1,0],[7,100,0,-1,1,0],[7,101,0,0,1,-1],[7,102,1,1,0,0],[7,103,0,0,-1,-1],[7,104,-1,-1,0,0],[7,105,0,-1,-1,0],[7,106,1,0,-1,0],[7,107,0,1,0,-1],[7,108,-1,0,1,0],[7,109,0,0,1,1],[7,110,1,0,1,0],[7,111,0,-1,0,1],[7,112,0,1,1,0],[7,113,0,1,0,1],[7,114,-1,0,-1,0],[7,115,1,0,0,1],[7,116,-1,0,0,-1],[7,117,1,0,0,-1],[7,118,-1,0,0,1],[7,119,0,-1,0,-1],[9,480,1,1,-1,0],[9,481,-1,1,-1,0],[9,482,1,-1,1,0],[9,483,0,1,1,-1],[9,484,0,1,-1,1],[9,485,0,-1,1,1],[9,486,0,-1,1,-1],[9,487,1,-1,-1,0],[9,488,1,0,-1,1],[9,489,0,1,-1,-1],[9,490,-1,1,1,0],[9,491,-1,0,1,-1],[9,492,-1,-1,1,0],[9,493,0,-1,-1,1],[9,494,1,-1,0,1],[9,495,1,-1,0,-1],[9,496,-1,1,0,-1],[9,497,-1,-1,-1,0],[9,498,0,-1,-1,-1],[9,499,0,1,1,1],[9,500,1,0,1,-1],[9,501,1,1,0,1],[9,502,-1,1,0,1],[9,503,1,1,1,0],[10,1008,-1,-1,0,1],[10,1009,-1,0,-1,-1],[10,1010,1,1,0,-1],[10,1011,1,0,-1,-1],[10,1012,-1,0,-1,1],[10,1013,-1,-1,0,-1],[10,1014,-1,0,1,1],[10,1015,1,0,1,1],[11,2032,1,-1,1,-1],[11,2033,-1,1,-1,1],[11,2034,-1,1,1,-1],[11,2035,1,-1,-1,1],[11,2036,1,1,1,1],[11,2037,-1,-1,1,1],[11,2038,1,1,-1,-1],[11,2039,-1,-1,1,-1],[11,2040,-1,-1,-1,-1],[11,2041,1,1,-1,1],[11,2042,1,-1,1,1],[11,2043,-1,1,1,1],[11,2044,-1,1,-1,-1],[11,2045,-1,-1,-1,1],[11,2046,1,-1,-1,-1],[11,2047,1,1,1,-1]],[[3,0,0,0,0,0],[4,2,1,0,0,0],[5,6,-1,0,0,0],[5,7,0,0,0,1],[5,8,0,0,-1,0],[5,9,0,0,0,-1],[5,10,0,-1,0,0],[5,11,0,0,1,0],[5,12,0,1,0,0],[6,26,0,-1,1,0],[6,27,-1,1,0,0],[6,28,0,1,-1,0],[6,29,0,0,1,-1],[6,30,0,1,0,-1],[6,31,0,0,-1,1],[6,32,-1,0,0,-1],[6,33,1,-1,0,0],[6,34,1,0,-1,0],[6,35,-1,-1,0,0],[6,36,0,0,-1,-1],[6,37,1,0,1,0],[6,38,1,0,0,1],[6,39,0,-1,0,1],[6,40,-1,0,1,0],[6,41,0,1,0,1],[6,42,0,-1,-1,0],[6,43,-1,0,0,1],[6,44,0,-1,0,-1],[6,45,-1,0,-1,0],[6,46,1,1,0,0],[6,47,0,1,1,0],[6,48,0,0,1,1],[6,49,1,0,0,-1],[7,100,0,1,-1,1],[7,101,1,0,-1,1],[7,102,-1,1,-1,0],[7,103,0,-1,1,-1],[7,104,1,-1,1,0],[7,105,1,1,0,-1],[7,106,1,0,1,1],[7,107,-1,1,1,0],[7,108,0,-1,-1,1],[7,109,1,1,1,0],[7,110,-1,0,1,-1],[7,111,-1,-1,-1,0],[7,112,-1,0,-1,1],[7,113,1,-1,-1,0],[7,114,1,1,-1,0],[8,230,1,-1,0,1],[8,231,-1,1,0,-1],[8,232,-1,-1,1,0],[8,233,-1,0,1,1],[8,234,-1,-1,0,1],[8,235,-1,-1,0,-1],[8,236,0,-1,-1,-1],[8,237,1,0,1,-1],[8,238,1,0,-1,-1],[8,239,0,1,-1,-1],[8,240,0,1,1,1],[8,241,-1,1,0,1],[8,242,-1,0,-1,-1],[8,243,0,1,1,-1],[8,244,1,-1,0,-1],[8,245,0,-1,1,1],[8,246,1,1,0,1],[8,247,1,-1,1,-1],[8,248,-1,1,-1,1],[9,498,1,-1,-1,1],[9,499,-1,-1,-1,-1],[9,500,-1,1,1,-1],[9,501,-1,1,1,1],[9,502,1,1,1,1],[9,503,-1,-1,1,-1],[9,504,1,-1,1,1],[9,505,-1,1,-1,-1],[9,506,-1,-1,1,1],[9,507,1,1,-1,-1],[9,508,1,-1,-1,-1],[9,509,-1,-1,-1,1],[9,510,1,1,-1,1],[9,511,1,1,1,-1]],[[1,0,0,0,0,0],[4,8,1,0,0,0],[4,9,0,0,0,1],[4,10,0,1,0,0],[4,11,0,0,1,0],[5,24,1,1,0,0],[5,25,0,0,1,1],[6,52,0,1,1,0],[6,53,0,1,0,1],[6,54,1,0,1,0],[6,55,0,1,1,1],[6,56,1,0,0,1],[6,57,1,1,1,0],[7,116,1,1,1,1],[7,117,1,0,1,1],[7,118,1,1,0,1],[8,238,2,0,0,0],[8,239,0,0,0,2],[8,240,0,0,1,2],[8,241,2,1,0,0],[8,242,1,2,1,0],[9,486,0,0,2,1],[9,487,0,1,2,1],[9,488,1,2,0,0],[9,489,0,1,1,2],[9,490,2,1,1,0],[9,491,0,0,2,0],[9,492,0,2,1,0],[9,493,0,1,2,0],[9,494,0,2,0,0],[9,495,0,1,0,2],[9,496,2,0,1,0],[9,497,1,2,1,1],[9,498,0,2,1,1],[9,499,1,1,2,0],[9,500,1,1,2,1],[10,1002,1,2,0,1],[10,1003,1,0,2,0],[10,1004,1,0,2,1],[10,1005,0,2,0,1],[10,1006,2,1,1,1],[10,1007,1,1,1,2],[10,1008,2,1,0,1],[10,1009,1,0,1,2],[10,1010,0,0,2,2],[10,1011,0,1,2,2],[10,1012,2,2,1,0],[10,1013,1,2,2,0],[10,1014,1,0,0,2],[10,1015,2,0,0,1],[10,1016,0,2,2,1],[11,2034,2,2,0,0],[11,2035,1,2,2,1],[11,2036,1,1,0,2],[11,2037,2,0,1,1],[11,2038,1,1,2,2],[11,2039,2,2,1,1],[11,2040,0,2,2,0],[11,2041,0,2,1,2],[12,4084,1,0,2,2],[12,4085,2,2,0,1],[12,4086,2,1,2,0],[12,4087,2,2,2,0],[12,4088,0,2,2,2],[12,4089,2,2,2,1],[12,4090,2,1,2,1],[12,4091,1,2,1,2],[12,4092,1,2,2,2],[13,8186,0,2,0,2],[13,8187,2,0,2,0],[13,8188,1,2,0,2],[14,16378,2,0,2,1],[14,16379,2,1,1,2],[14,16380,2,1,0,2],[15,32762,2,2,2,2],[15,32763,2,2,1,2],[15,32764,2,1,2,2],[15,32765,2,0,1,2],[15,32766,2,0,0,2],[16,65534,2,2,0,2],[16,65535,2,0,2,2]],[[4,0,1,1,1,1],[4,1,0,1,1,1],[4,2,1,1,0,1],[4,3,1,1,1,0],[4,4,1,0,1,1],[4,5,1,0,0,0],[4,6,1,1,0,0],[4,7,0,0,0,0],[4,8,0,0,1,1],[4,9,1,0,1,0],[5,20,1,0,0,1],[5,21,0,1,1,0],[5,22,0,0,0,1],[5,23,0,1,0,1],[5,24,0,0,1,0],[5,25,0,1,0,0],[7,104,2,1,1,1],[7,105,1,1,2,1],[7,106,1,2,1,1],[7,107,1,1,1,2],[7,108,2,1,1,0],[7,109,2,1,0,1],[7,110,1,2,1,0],[7,111,2,0,1,1],[7,112,0,1,2,1],[8,226,0,1,1,2],[8,227,1,1,2,0],[8,228,0,2,1,1],[8,229,1,0,1,2],[8,230,1,2,0,1],[8,231,1,1,0,2],[8,232,1,0,2,1],[8,233,2,1,0,0],[8,234,2,0,1,0],[8,235,1,2,0,0],[8,236,2,0,0,1],[8,237,0,1,0,2],[8,238,0,2,1,0],[8,239,0,0,1,2],[8,240,0,1,2,0],[8,241,0,2,0,1],[8,242,1,0,0,2],[8,243,0,0,2,1],[8,244,1,0,2,0],[8,245,2,0,0,0],[8,246,0,0,0,2],[9,494,0,2,0,0],[9,495,0,0,2,0],[9,496,1,2,2,1],[9,497,2,2,1,1],[9,498,2,1,2,1],[9,499,1,1,2,2],[9,500,1,2,1,2],[9,501,2,1,1,2],[10,1004,1,2,2,0],[10,1005,2,2,1,0],[10,1006,2,1,2,0],[10,1007,0,2,2,1],[10,1008,0,1,2,2],[10,1009,2,2,0,1],[10,1010,0,2,1,2],[10,1011,2,0,2,1],[10,1012,1,0,2,2],[10,1013,2,2,2,1],[10,1014,1,2,0,2],[10,1015,2,0,1,2],[10,1016,2,1,0,2],[10,1017,1,2,2,2],[11,2036,2,1,2,2],[11,2037,2,2,1,2],[11,2038,0,2,2,0],[11,2039,2,2,0,0],[11,2040,0,0,2,2],[11,2041,2,0,2,0],[11,2042,0,2,0,2],[11,2043,2,0,0,2],[11,2044,2,2,2,2],[11,2045,0,2,2,2],[11,2046,2,2,2,0],[12,4094,2,2,0,2],[12,4095,2,0,2,2]],[[1,0,0,0],[4,8,-1,0],[4,9,1,0],[4,10,0,1],[4,11,0,-1],[5,24,1,-1],[5,25,-1,1],[5,26,-1,-1],[5,27,1,1],[7,112,-2,0],[7,113,0,2],[7,114,2,0],[7,115,0,-2],[8,232,-2,-1],[8,233,2,1],[8,234,-1,-2],[8,235,1,2],[8,236,-2,1],[8,237,2,-1],[8,238,-1,2],[8,239,1,-2],[8,240,-3,0],[8,241,3,0],[8,242,0,-3],[8,243,0,3],[9,488,-3,-1],[9,489,1,3],[9,490,3,1],[9,491,-1,-3],[9,492,-3,1],[9,493,3,-1],[9,494,1,-3],[9,495,-1,3],[9,496,-2,2],[9,497,2,2],[9,498,-2,-2],[9,499,2,-2],[10,1e3,-3,-2],[10,1001,3,-2],[10,1002,-2,3],[10,1003,2,-3],[10,1004,3,2],[10,1005,2,3],[10,1006,-3,2],[10,1007,-2,-3],[10,1008,0,-4],[10,1009,-4,0],[10,1010,4,1],[10,1011,4,0],[11,2024,-4,-1],[11,2025,0,4],[11,2026,4,-1],[11,2027,-1,-4],[11,2028,1,4],[11,2029,-1,4],[11,2030,-4,1],[11,2031,1,-4],[11,2032,3,-3],[11,2033,-3,-3],[11,2034,-3,3],[11,2035,-2,4],[11,2036,-4,-2],[11,2037,4,2],[11,2038,2,-4],[11,2039,2,4],[11,2040,3,3],[11,2041,-4,2],[12,4084,-2,-4],[12,4085,4,-2],[12,4086,3,-4],[12,4087,-4,-3],[12,4088,-4,3],[12,4089,3,4],[12,4090,-3,4],[12,4091,4,3],[12,4092,4,-3],[12,4093,-3,-4],[13,8188,4,-4],[13,8189,-4,4],[13,8190,4,4],[13,8191,-4,-4]],[[4,0,0,0],[4,1,1,0],[4,2,0,-1],[4,3,0,1],[4,4,-1,0],[4,5,1,1],[4,6,-1,1],[4,7,1,-1],[4,8,-1,-1],[6,36,2,-1],[6,37,2,1],[6,38,-2,1],[6,39,-2,-1],[6,40,-2,0],[6,41,-1,2],[6,42,2,0],[6,43,1,-2],[6,44,1,2],[6,45,0,-2],[6,46,-1,-2],[6,47,0,2],[6,48,2,-2],[6,49,-2,2],[6,50,-2,-2],[6,51,2,2],[7,104,-3,1],[7,105,3,1],[7,106,3,-1],[7,107,-1,3],[7,108,-3,-1],[7,109,1,3],[7,110,1,-3],[7,111,-1,-3],[7,112,3,0],[7,113,-3,0],[7,114,0,-3],[7,115,0,3],[7,116,3,2],[8,234,-3,-2],[8,235,-2,3],[8,236,2,3],[8,237,3,-2],[8,238,2,-3],[8,239,-2,-3],[8,240,-3,2],[8,241,3,3],[9,484,3,-3],[9,485,-3,-3],[9,486,-3,3],[9,487,1,-4],[9,488,-1,-4],[9,489,4,1],[9,490,-4,1],[9,491,-4,-1],[9,492,1,4],[9,493,4,-1],[9,494,-1,4],[9,495,0,-4],[9,496,-4,2],[9,497,-4,-2],[9,498,2,4],[9,499,-2,-4],[9,500,-4,0],[9,501,4,2],[9,502,4,-2],[9,503,-2,4],[9,504,4,0],[9,505,2,-4],[9,506,0,4],[10,1014,-3,-4],[10,1015,-3,4],[10,1016,3,-4],[10,1017,4,-3],[10,1018,3,4],[10,1019,4,3],[10,1020,-4,3],[10,1021,-4,-3],[11,2044,4,4],[11,2045,-4,4],[11,2046,-4,-4],[11,2047,4,-4]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,1,3],[7,114,2,2],[7,115,3,0],[7,116,0,3],[8,234,2,3],[8,235,3,2],[8,236,1,4],[8,237,4,1],[8,238,1,5],[8,239,5,1],[8,240,3,3],[8,241,2,4],[8,242,0,4],[8,243,4,0],[9,488,4,2],[9,489,2,5],[9,490,5,2],[9,491,0,5],[9,492,6,1],[9,493,5,0],[9,494,1,6],[9,495,4,3],[9,496,3,5],[9,497,3,4],[9,498,5,3],[9,499,2,6],[9,500,6,2],[9,501,1,7],[10,1004,3,6],[10,1005,0,6],[10,1006,6,0],[10,1007,4,4],[10,1008,7,1],[10,1009,4,5],[10,1010,7,2],[10,1011,5,4],[10,1012,6,3],[10,1013,2,7],[10,1014,7,3],[10,1015,6,4],[10,1016,5,5],[10,1017,4,6],[10,1018,3,7],[11,2038,7,0],[11,2039,0,7],[11,2040,6,5],[11,2041,5,6],[11,2042,7,4],[11,2043,4,7],[11,2044,5,7],[11,2045,7,5],[12,4092,7,6],[12,4093,6,6],[12,4094,6,7],[12,4095,7,7]],[[3,0,1,1],[4,2,2,1],[4,3,1,0],[4,4,1,2],[4,5,0,1],[4,6,2,2],[5,14,0,0],[5,15,2,0],[5,16,0,2],[5,17,3,1],[5,18,1,3],[5,19,3,2],[5,20,2,3],[6,42,3,3],[6,43,4,1],[6,44,1,4],[6,45,4,2],[6,46,2,4],[6,47,3,0],[6,48,0,3],[6,49,4,3],[6,50,3,4],[6,51,5,2],[7,104,5,1],[7,105,2,5],[7,106,1,5],[7,107,5,3],[7,108,3,5],[7,109,4,4],[7,110,5,4],[7,111,0,4],[7,112,4,5],[7,113,4,0],[7,114,2,6],[7,115,6,2],[7,116,6,1],[7,117,1,6],[8,236,3,6],[8,237,6,3],[8,238,5,5],[8,239,5,0],[8,240,6,4],[8,241,0,5],[8,242,4,6],[8,243,7,1],[8,244,7,2],[8,245,2,7],[8,246,6,5],[8,247,7,3],[8,248,1,7],[8,249,5,6],[8,250,3,7],[9,502,6,6],[9,503,7,4],[9,504,6,0],[9,505,4,7],[9,506,0,6],[9,507,7,5],[9,508,7,6],[9,509,6,7],[10,1020,5,7],[10,1021,7,0],[10,1022,0,7],[10,1023,7,7]],[[1,0,0,0],[3,4,1,0],[3,5,0,1],[4,12,1,1],[6,52,2,1],[6,53,1,2],[6,54,2,0],[6,55,0,2],[7,112,3,1],[7,113,2,2],[7,114,1,3],[8,230,3,0],[8,231,0,3],[8,232,2,3],[8,233,3,2],[8,234,1,4],[8,235,4,1],[8,236,2,4],[8,237,1,5],[9,476,4,2],[9,477,3,3],[9,478,0,4],[9,479,4,0],[9,480,5,1],[9,481,2,5],[9,482,1,6],[9,483,3,4],[9,484,5,2],[9,485,6,1],[9,486,4,3],[10,974,0,5],[10,975,2,6],[10,976,5,0],[10,977,1,7],[10,978,3,5],[10,979,1,8],[10,980,8,1],[10,981,4,4],[10,982,5,3],[10,983,6,2],[10,984,7,1],[10,985,0,6],[10,986,8,2],[10,987,2,8],[10,988,3,6],[10,989,2,7],[10,990,4,5],[10,991,9,1],[10,992,1,9],[10,993,7,2],[11,1988,6,0],[11,1989,5,4],[11,1990,6,3],[11,1991,8,3],[11,1992,0,7],[11,1993,9,2],[11,1994,3,8],[11,1995,4,6],[11,1996,3,7],[11,1997,0,8],[11,1998,10,1],[11,1999,6,4],[11,2e3,2,9],[11,2001,5,5],[11,2002,8,0],[11,2003,7,0],[11,2004,7,3],[11,2005,10,2],[11,2006,9,3],[11,2007,8,4],[11,2008,1,10],[11,2009,7,4],[11,2010,6,5],[11,2011,5,6],[11,2012,4,8],[11,2013,4,7],[11,2014,3,9],[11,2015,11,1],[11,2016,5,8],[11,2017,9,0],[11,2018,8,5],[12,4038,10,3],[12,4039,2,10],[12,4040,0,9],[12,4041,11,2],[12,4042,9,4],[12,4043,6,6],[12,4044,12,1],[12,4045,4,9],[12,4046,8,6],[12,4047,1,11],[12,4048,9,5],[12,4049,10,4],[12,4050,5,7],[12,4051,7,5],[12,4052,2,11],[12,4053,1,12],[12,4054,12,2],[12,4055,11,3],[12,4056,3,10],[12,4057,5,9],[12,4058,6,7],[12,4059,8,7],[12,4060,11,4],[12,4061,0,10],[12,4062,7,6],[12,4063,12,3],[12,4064,10,0],[12,4065,10,5],[12,4066,4,10],[12,4067,6,8],[12,4068,2,12],[12,4069,9,6],[12,4070,9,7],[12,4071,4,11],[12,4072,11,0],[12,4073,6,9],[12,4074,3,11],[12,4075,5,10],[13,8152,8,8],[13,8153,7,8],[13,8154,12,5],[13,8155,3,12],[13,8156,11,5],[13,8157,7,7],[13,8158,12,4],[13,8159,11,6],[13,8160,10,6],[13,8161,4,12],[13,8162,7,9],[13,8163,5,11],[13,8164,0,11],[13,8165,12,6],[13,8166,6,10],[13,8167,12,0],[13,8168,10,7],[13,8169,5,12],[13,8170,7,10],[13,8171,9,8],[13,8172,0,12],[13,8173,11,7],[13,8174,8,9],[13,8175,9,9],[13,8176,10,8],[13,8177,7,11],[13,8178,12,7],[13,8179,6,11],[13,8180,8,11],[13,8181,11,8],[13,8182,7,12],[13,8183,6,12],[14,16368,8,10],[14,16369,10,9],[14,16370,8,12],[14,16371,9,10],[14,16372,9,11],[14,16373,9,12],[14,16374,10,11],[14,16375,12,9],[14,16376,10,10],[14,16377,11,9],[14,16378,12,8],[14,16379,11,10],[14,16380,12,10],[14,16381,12,11],[15,32764,10,12],[15,32765,11,11],[15,32766,11,12],[15,32767,12,12]],[[4,0,1,1],[4,1,1,2],[4,2,2,1],[5,6,2,2],[5,7,1,0],[5,8,0,1],[5,9,1,3],[5,10,3,2],[5,11,3,1],[5,12,2,3],[5,13,3,3],[6,28,2,0],[6,29,0,2],[6,30,2,4],[6,31,4,2],[6,32,1,4],[6,33,4,1],[6,34,0,0],[6,35,4,3],[6,36,3,4],[6,37,3,0],[6,38,0,3],[6,39,4,4],[6,40,2,5],[6,41,5,2],[7,84,1,5],[7,85,5,1],[7,86,5,3],[7,87,3,5],[7,88,5,4],[7,89,4,5],[7,90,6,2],[7,91,2,6],[7,92,6,3],[7,93,4,0],[7,94,6,1],[7,95,0,4],[7,96,1,6],[7,97,3,6],[7,98,5,5],[7,99,6,4],[7,100,4,6],[8,202,6,5],[8,203,7,2],[8,204,3,7],[8,205,2,7],[8,206,5,6],[8,207,8,2],[8,208,7,3],[8,209,5,0],[8,210,7,1],[8,211,0,5],[8,212,8,1],[8,213,1,7],[8,214,8,3],[8,215,7,4],[8,216,4,7],[8,217,2,8],[8,218,6,6],[8,219,7,5],[8,220,1,8],[8,221,3,8],[8,222,8,4],[8,223,4,8],[8,224,5,7],[8,225,8,5],[8,226,5,8],[9,454,7,6],[9,455,6,7],[9,456,9,2],[9,457,6,0],[9,458,6,8],[9,459,9,3],[9,460,3,9],[9,461,9,1],[9,462,2,9],[9,463,0,6],[9,464,8,6],[9,465,9,4],[9,466,4,9],[9,467,10,2],[9,468,1,9],[9,469,7,7],[9,470,8,7],[9,471,9,5],[9,472,7,8],[9,473,10,3],[9,474,5,9],[9,475,10,4],[9,476,2,10],[9,477,10,1],[9,478,3,10],[9,479,9,6],[9,480,6,9],[9,481,8,0],[9,482,4,10],[9,483,7,0],[9,484,11,2],[10,970,7,9],[10,971,11,3],[10,972,10,6],[10,973,1,10],[10,974,11,1],[10,975,9,7],[10,976,0,7],[10,977,8,8],[10,978,10,5],[10,979,3,11],[10,980,5,10],[10,981,8,9],[10,982,11,5],[10,983,0,8],[10,984,11,4],[10,985,2,11],[10,986,7,10],[10,987,6,10],[10,988,10,7],[10,989,4,11],[10,990,1,11],[10,991,12,2],[10,992,9,8],[10,993,12,3],[10,994,11,6],[10,995,5,11],[10,996,12,4],[10,997,11,7],[10,998,12,5],[10,999,3,12],[10,1e3,6,11],[10,1001,9,0],[10,1002,10,8],[10,1003,10,0],[10,1004,12,1],[10,1005,0,9],[10,1006,4,12],[10,1007,9,9],[10,1008,12,6],[10,1009,2,12],[10,1010,8,10],[11,2022,9,10],[11,2023,1,12],[11,2024,11,8],[11,2025,12,7],[11,2026,7,11],[11,2027,5,12],[11,2028,6,12],[11,2029,10,9],[11,2030,8,11],[11,2031,12,8],[11,2032,0,10],[11,2033,7,12],[11,2034,11,0],[11,2035,10,10],[11,2036,11,9],[11,2037,11,10],[11,2038,0,11],[11,2039,11,11],[11,2040,9,11],[11,2041,10,11],[11,2042,12,0],[11,2043,8,12],[12,4088,12,9],[12,4089,10,12],[12,4090,9,12],[12,4091,11,12],[12,4092,12,11],[12,4093,0,12],[12,4094,12,10],[12,4095,12,12]],[[4,0,0,0],[4,1,1,1],[5,4,16,16],[5,5,1,0],[5,6,0,1],[5,7,2,1],[5,8,1,2],[5,9,2,2],[6,20,1,3],[6,21,3,1],[6,22,3,2],[6,23,2,0],[6,24,2,3],[6,25,0,2],[6,26,3,3],[7,54,4,1],[7,55,1,4],[7,56,4,2],[7,57,2,4],[7,58,4,3],[7,59,3,4],[7,60,3,0],[7,61,0,3],[7,62,5,1],[7,63,5,2],[7,64,2,5],[7,65,4,4],[7,66,1,5],[7,67,5,3],[7,68,3,5],[7,69,5,4],[8,140,4,5],[8,141,6,2],[8,142,2,6],[8,143,6,1],[8,144,6,3],[8,145,3,6],[8,146,1,6],[8,147,4,16],[8,148,3,16],[8,149,16,5],[8,150,16,3],[8,151,16,4],[8,152,6,4],[8,153,16,6],[8,154,4,0],[8,155,4,6],[8,156,0,4],[8,157,2,16],[8,158,5,5],[8,159,5,16],[8,160,16,7],[8,161,16,2],[8,162,16,8],[8,163,2,7],[8,164,7,2],[8,165,3,7],[8,166,6,5],[8,167,5,6],[8,168,6,16],[8,169,16,10],[8,170,7,3],[8,171,7,1],[8,172,16,9],[8,173,7,16],[8,174,1,16],[8,175,1,7],[8,176,4,7],[8,177,16,11],[8,178,7,4],[8,179,16,12],[8,180,8,16],[8,181,16,1],[8,182,6,6],[8,183,9,16],[8,184,2,8],[8,185,5,7],[8,186,10,16],[8,187,16,13],[8,188,8,3],[8,189,8,2],[8,190,3,8],[8,191,5,0],[8,192,16,14],[8,193,11,16],[8,194,7,5],[8,195,4,8],[8,196,6,7],[8,197,7,6],[8,198,0,5],[9,398,8,4],[9,399,16,15],[9,400,12,16],[9,401,1,8],[9,402,8,1],[9,403,14,16],[9,404,5,8],[9,405,13,16],[9,406,3,9],[9,407,8,5],[9,408,7,7],[9,409,2,9],[9,410,8,6],[9,411,9,2],[9,412,9,3],[9,413,15,16],[9,414,4,9],[9,415,6,8],[9,416,6,0],[9,417,9,4],[9,418,5,9],[9,419,8,7],[9,420,7,8],[9,421,1,9],[9,422,10,3],[9,423,0,6],[9,424,10,2],[9,425,9,1],[9,426,9,5],[9,427,4,10],[9,428,2,10],[9,429,9,6],[9,430,3,10],[9,431,6,9],[9,432,10,4],[9,433,8,8],[9,434,10,5],[9,435,9,7],[9,436,11,3],[9,437,1,10],[9,438,7,0],[9,439,10,6],[9,440,7,9],[9,441,3,11],[9,442,5,10],[9,443,10,1],[9,444,4,11],[9,445,11,2],[9,446,13,2],[9,447,6,10],[9,448,13,3],[9,449,2,11],[9,450,16,0],[9,451,5,11],[9,452,11,5],[10,906,11,4],[10,907,9,8],[10,908,7,10],[10,909,8,9],[10,910,0,16],[10,911,4,13],[10,912,0,7],[10,913,3,13],[10,914,11,6],[10,915,13,1],[10,916,13,4],[10,917,12,3],[10,918,2,13],[10,919,13,5],[10,920,8,10],[10,921,6,11],[10,922,10,8],[10,923,10,7],[10,924,14,2],[10,925,12,4],[10,926,1,11],[10,927,4,12],[10,928,11,1],[10,929,3,12],[10,930,1,13],[10,931,12,2],[10,932,7,11],[10,933,3,14],[10,934,5,12],[10,935,5,13],[10,936,14,4],[10,937,4,14],[10,938,11,7],[10,939,14,3],[10,940,12,5],[10,941,13,6],[10,942,12,6],[10,943,8,0],[10,944,11,8],[10,945,2,12],[10,946,9,9],[10,947,14,5],[10,948,6,13],[10,949,10,10],[10,950,15,2],[10,951,8,11],[10,952,9,10],[10,953,14,6],[10,954,10,9],[10,955,5,14],[10,956,11,9],[10,957,14,1],[10,958,2,14],[10,959,6,12],[10,960,1,12],[10,961,13,8],[10,962,0,8],[10,963,13,7],[10,964,7,12],[10,965,12,7],[10,966,7,13],[10,967,15,3],[10,968,12,1],[10,969,6,14],[10,970,2,15],[10,971,15,5],[10,972,15,4],[10,973,1,14],[10,974,9,11],[10,975,4,15],[10,976,14,7],[10,977,8,13],[10,978,13,9],[10,979,8,12],[10,980,5,15],[10,981,3,15],[10,982,10,11],[10,983,11,10],[10,984,12,8],[10,985,15,6],[10,986,15,7],[10,987,8,14],[10,988,15,1],[10,989,7,14],[10,990,9,0],[10,991,0,9],[10,992,9,13],[10,993,9,12],[10,994,12,9],[10,995,14,8],[10,996,10,13],[10,997,14,9],[10,998,12,10],[10,999,6,15],[10,1e3,7,15],[11,2002,9,14],[11,2003,15,8],[11,2004,11,11],[11,2005,11,14],[11,2006,1,15],[11,2007,10,12],[11,2008,10,14],[11,2009,13,11],[11,2010,13,10],[11,2011,11,13],[11,2012,11,12],[11,2013,8,15],[11,2014,14,11],[11,2015,13,12],[11,2016,12,13],[11,2017,15,9],[11,2018,14,10],[11,2019,10,0],[11,2020,12,11],[11,2021,9,15],[11,2022,0,10],[11,2023,12,12],[11,2024,11,0],[11,2025,12,14],[11,2026,10,15],[11,2027,13,13],[11,2028,0,13],[11,2029,14,12],[11,2030,15,10],[11,2031,15,11],[11,2032,11,15],[11,2033,14,13],[11,2034,13,0],[11,2035,0,11],[11,2036,13,14],[11,2037,15,12],[11,2038,15,13],[11,2039,12,15],[11,2040,14,0],[11,2041,14,14],[11,2042,13,15],[11,2043,12,0],[11,2044,14,15],[12,4090,0,14],[12,4091,0,12],[12,4092,15,14],[12,4093,15,0],[12,4094,0,15],[12,4095,15,15]]],Ye=[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,96,108,120,132,144,156,172,188,212,240,276,320,384,448,512,576,640,704,768,832,896,960,1024],je=[0,4,8,12,16,20,24,32,40,48,64,92,128],qe=[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,1024],Ke=[0,4,8,12,16,20,28,36,44,56,68,80,96,112,128],Ze=[0,4,8,12,16,20,24,28,32,36,40,44,52,60,68,76,84,92,100,108,116,124,136,148,160,172,188,204,220,240,260,284,308,336,364,396,432,468,508,552,600,652,704,768,832,896,960,1024],$e=[0,4,8,12,16,20,24,28,36,44,52,64,76,92,108,128],Je=[0,8,16,24,32,40,48,56,64,72,80,88,100,112,124,136,148,160,172,184,196,212,228,244,260,280,300,320,344,368,396,424,456,492,532,572,616,664,716,772,832,896,960,1024],Qe=[0,4,8,12,16,20,24,28,32,40,48,60,72,88,108,128],tu=[Ye,Ye,[0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,64,72,80,88,100,112,124,140,156,172,192,216,240,268,304,344,384,424,464,504,544,584,624,664,704,744,784,824,864,904,944,984,1024],qe,qe,[0,4,8,12,16,20,24,28,32,36,40,48,56,64,72,80,88,96,108,120,132,144,160,176,196,216,240,264,292,320,352,384,416,448,480,512,544,576,608,640,672,704,736,768,800,832,864,896,928,960,992,1024],Ze,Ze,Je,Je,Je,[0,12,24,36,48,60,72,84,96,108,120,132,144,156,172,188,204,220,236,252,268,288,308,328,348,372,396,420,448,476,508,544,580,620,664,712,764,820,880,944,1024]],nu=[je,je,[0,4,8,12,16,20,24,32,40,48,64,92,128],Ke,Ke,Ke,$e,$e,Qe,Qe,Qe,[0,4,8,12,16,20,24,28,36,44,52,60,72,88,108,128]],ru=2;function iu(t,n,r,i){var e;if(t.it=[1,0,0,0,0,0,0,0],r.bit+=1,t.et=Ce(n,r,2),r.bit+=1,t.et===ru){for(t.ft=0,t.st=Ce(n,r,4),e=0;e<7;e+=1)Pe(n,r)?t.it[t.ft]+=1:(t.ft+=1,t.it[t.ft]=1);t.ft+=1,t.ht=8,t.pt=nu[t.tn]}else if(t.ft=1,t.ht=1,t.pt=tu[t.tn],t.st=Ce(n,r,6),Pe(n,r))throw new Ue(Be.dlt,{info:"Prediction not implemented"})}var eu,uu,ou=[[1,0],[3,4],[4,10],[4,11],[4,12],[5,26],[5,27],[6,56],[6,57],[6,58],[6,59],[7,120],[7,121],[7,122],[8,246],[8,247],[8,248],[8,249],[8,250],[9,502],[9,503],[9,504],[9,505],[10,1012],[10,1013],[10,1014],[10,1015],[10,1016],[10,1017],[11,2036],[11,2037],[11,2038],[11,2039],[11,2040],[11,2041],[12,4084],[12,4085],[12,4086],[12,4087],[12,4088],[12,4089],[13,8180],[13,8181],[13,8182],[13,8183],[13,8184],[14,16370],[14,16371],[14,16372],[14,16373],[14,16374],[14,16375],[14,16376],[14,16377],[15,32756],[15,32757],[15,32758],[15,32759],[16,65520],[16,65521],[16,65522],[16,65523],[16,65524],[16,65525],[16,65526],[17,131054],[17,131055],[17,131056],[18,262114],[18,262115],[18,262116],[18,262117],[18,262118],[18,262119],[18,262120],[19,524242],[19,524243],[19,524244],[19,524245],[19,524246],[19,524247],[19,524248],[19,524249],[19,524250],[19,524251],[19,524252],[19,524253],[19,524254],[19,524255],[19,524256],[19,524257],[19,524258],[19,524259],[19,524260],[19,524261],[19,524262],[19,524263],[19,524264],[19,524265],[19,524266],[19,524267],[19,524268],[19,524269],[19,524270],[19,524271],[19,524272],[19,524273],[19,524274],[19,524275],[19,524276],[19,524277],[19,524278],[19,524279],[19,524280],[19,524281],[19,524282],[19,524283],[19,524284],[19,524285],[19,524286],[19,524287]];function au(t,n){for(var r,i=0,e=1,u=e,o=Pe(t,n);o!==ou[i][1];)(u=(r=ou[i+=1][0])-e)&&(e=r,o<<=u,o|=Ce(t,n,u))}function fu(t,n,r){function i(t,n){for(var r=0,i=n.length;r<i;r+=1)n[r]&&(t.bit+=1)}function e(t,n){for(var r=4;Pe(t,n);)r+=1;n.bit+=r}var u=Xe[r-1],o=function(t,n,r){for(var i,e=0,u=r[0][0],o=u,a=Ce(t,n,o);a!==r[e][1];)(o=(i=r[e+=1][0])-u)&&(u=i,a<<=o,a|=Ce(t,n,o));return e}(t,n,u),a=[0,0,0,0];if(a[0]=u[o][2],a[1]=u[o][3],r<5&&(a[2]=u[o][4],a[3]=u[o][5]),r<11)(3===r||4===r||r>=7)&&i(n,a);else{if(!(11===r||r>15))throw new Ue(Be.dlt,{info:"Huffman: unknown spectral codebook: "+r});i(n,a),16===a[0]&&e(t,n),16===a[1]&&e(t,n)}}function su(t,n,r,i,e){if(r.bit+=8,i||e||iu(t,n,r),function(t,n,r){var i,e,u,o,a,f=t.et===ru?3:5,s=t.et===ru?7:31,c=0,h=t.ft,_=t.st,v=[],l=[];for(t.nn=v,t.rn=l,i=0;i<h;i+=1)for(e=0;e<_;){for(u=Ce(n,r,4),a=e;(o=Ce(n,r,f))===s;)a+=o;if((a+=o)>_)throw new Ue(Be.dlt,{info:"Number of bands is too high"});if(0===a)throw new Ue(Be.dlt,{info:"sectionLength is 0"});for(;e<a;e+=1)v[c]=u,l[c]=a,c+=1}}(t,n,r),function(t,n,r){var i,e,u,o=0,a=!0,f=t.ft,s=t.st,c=t.nn;for(i=0;i<f;i+=1)for(e=0;e<s;e+=1,o+=1)(u=c[o])!==eu.hmt&&(u===eu.vmt||u===eu.fmt?au(n,r):u===eu.cmt&&a?(r.bit+=9,a=!1):au(n,r))}(t,n,r),!e){if(Pe(n,r)){if(2===t.et)throw new Ue(Be.dlt,{info:"Pulse not allowed in eight short sequence."});!function(t,n){var r=Ce(t,n,2);n.bit+=6+9*r}(n,r)}if(Pe(n,r)&&function(t,n,r){for(var i,e,u,o,a,f=0,s=t.ht,c=2===t.et?[1,4,3]:[2,6,5];f<s;f+=1)if(e=Ce(n,r,c[0]))for(u=Pe(n,r),i=0;i<e;i+=1)r.bit+=c[1],(a=Ce(n,r,c[2]))&&(r.bit+=1,o=u+3-Pe(n,r),r.bit+=o*a)}(t,n,r),Pe(n,r))throw new Ue(Be.dlt,{info:"Gain Control not implemented."})}!function(t,n,r){var i,e,u,o,a,f,s,c=t.ft,h=0,_=t.pt,v=t.it,l=t.st,d=t.nn;for(i=0;i<c;i+=1)for(f=v[i],e=0;e<l;e+=1,h+=1)if(a=d[h],s=_[e+1]-_[e],a!==eu.hmt&&a!==eu.cmt&&a!==eu.vmt&&a!==eu.fmt)for(o=0;o<f;o+=1)if(a<eu.amt)for(u=0;u<s;u+=4)fu(n,r,a);else for(u=0;u<s;u+=2)fu(n,r,a)}(t,n,r)}function cu(t,n,r){r.bit+=4,su(t,n,r,0,0)}function hu(t,n,r){r.bit+=4;var i=Pe(n,r);i&&(iu(t,n,r),1===Ce(n,r,2)&&(r.bit+=t.ft*t.st));su(t,n,r,i,0),su(t,n,r,i,0)}function _u(t,n,r){var i,e,u,o,a,f,s,c,h,_,v=0;for(r.bit+=4,i=Pe(n,r),e=Ce(n,r,3),u=0;u<=e;u+=1)v+=1,o=Pe(n,r),r.bit+=4,o&&3===Ce(n,r,2)&&(v+=1);for(r.bit+=4,su(t,n,r,0,0),c=t.ft,h=t.st,_=t.nn,u=1;u<v;u+=1)if(s=0,i?1:Pe(n,r))au(n,r);else for(a=0;a<c;a+=1)for(f=0;f<h;f+=1,s+=1)_[s]!==eu.hmt&&au(n,r)}function vu(t,n){var r,i;n.bit+=4,r=Pe(t,n),255===(i=Ce(t,n,8))&&(i+=Ce(t,n,8)),r&&0!==n.bit&&(n.bit+=7-(n.bit-1)%8),n.bit+=8*i}function lu(t,n){var r,i,e,u,o,a,f,s;n.bit+=10,r=Ce(t,n,4),i=Ce(t,n,4),e=Ce(t,n,4),u=Ce(t,n,2),o=Ce(t,n,3),a=Ce(t,n,4),Pe(t,n)&&(n.bit+=4),Pe(t,n)&&(n.bit+=4),Pe(t,n)&&(n.bit+=3),n.bit+=5*r,n.bit+=5*i,n.bit+=5*e,n.bit+=4*u,n.bit+=4*o,n.bit+=5*a,0!==(s=n.bit%8)&&(n.bit+=8-s),f=Ce(t,n,8),n.bit+=8*f}function du(t,n){var r=1,i=1;return Pe(t,n)&&(n.bit+=8,r=2),Pe(t,n)&&(r+=function(t,n){var r=1;for(n.bit+=7;Pe(t,n);)n.bit+=7,r+=1;return r}(t,n)),Pe(t,n)&&(r+=1+(i+=Ce(t,n,4)),n.bit+=4+8*i),Pe(t,n)&&(n.bit+=8,r+=1),n.bit+=8*i,r+=i}!function(t){t[t.hmt=0]="hmt",t[t.amt=5]="amt",t[t.cmt=13]="cmt",t[t.fmt=14]="fmt",t[t.vmt=15]="vmt"}(eu||(eu={})),function(t){t[t.lmt=0]="lmt",t[t.dmt=1]="dmt",t[t.gmt=2]="gmt",t[t.wmt=11]="wmt",t[t.Amt=13]="Amt",t[t.ymt=14]="ymt"}(uu||(uu={}));var pu,wu=0;function mu(t,n,r){var i,e=0,u=0;switch(Ce(t,n,4)){case uu.wmt:return du(t,n);case uu.Amt:case uu.ymt:return ze;case uu.dmt:return n.bit+=4+8*(r-1),r;case uu.gmt:switch(Ce(t,n,4)){case wu:do{e+=i=Ce(t,n,8),u+=1}while(255===i);return n.bit+=8*e,e+u+1;default:return n.bit+=8*(r-1),r}case uu.lmt:default:return n.bit+=8*r-4,r}}function yu(t,n){var r=Ce(t,n,4);for(15===r&&(r+=Ce(t,n,8)-1);r>0;){var i=mu(t,n,r);if(i===ze)return!0;r-=i}return!1}function gu(t,n){for(var r={bit:0},i={tn:n},e=Ce(t,r,3);e!==pu.Tmt;){if(t.length<r.bit/8)return!1;switch(e){case pu._mt:cu(i,t,r);break;case pu.kmt:hu(i,t,r);break;case pu.pmt:_u(i,t,r);break;case pu.mmt:cu(i,t,r);break;case pu.Mmt:vu(t,r);break;case pu.bmt:lu(t,r);break;case pu.Nmt:if(yu(t,r))return!0}e=Ce(t,r,3)}return!1}!function(t){t[t._mt=0]="_mt",t[t.kmt=1]="kmt",t[t.pmt=2]="pmt",t[t.mmt=3]="mmt",t[t.Mmt=4]="Mmt",t[t.bmt=5]="bmt",t[t.Nmt=6]="Nmt",t[t.Tmt=7]="Tmt"}(pu||(pu={}));var Iu=function(){function t(){}var n=t.prototype;return n.Nk=function(t){return this.Tk()*t},n.Dk=function(t){return this.Ik(t)>0},n.Ek=function(t){return this.Ik(t)>=0},n.Sk=function(t,n){return this.jk(t).Lk(n)},n.vk=function(t){return 0===this.Ik(t)},n.Ck=function(t){return this.Ik(t)<0},n.Lk=function(t){return this.Ik(t)<=0},n.Ok=function(){return this.xk()?this.zk():this},n.Bk=function(t){return this.m_(t.zk())},n.jk=function(t){return this.Bk(t).Ok()},t}();function Eu(t,n){return t.Rk()?n.Rk()?re.Is:re.Es:n.Rk()?re.Ss:t.Uk()?n.Uk()&&t.xk()===n.xk()?re.Is:t.xk()?re.Ss:re.Es:n.xk()?re.Es:re.Ss}var Su=function(){function t(t,n){this.Qk=void 0,this.Pk=void 0,this.Qk=t,this.Pk=n}t.Yk=function(n,r,i){return i?new t(n.toUnsigned(),r.toUnsigned()):new t(n.toSigned(),r.toSigned())},t.Fk=function(n){return n.unsigned?new t(n,dt.UZERO):new t(n,n.isNegative()?dt.NEG_ONE:dt.ZERO)},t.Gk=function(n,r){if(d(n))return r?t.Vk:t.Wk;if(r){if(n<0)return t.Vk;if(n>=3.402823669209385e38)return t.Hk}else{if(n<=-1.7014118346046923e38)return t.Xk;if(n+1>=1.7014118346046923e38)return t.Zk}return n<0?t.Gk(-n,r).zk():t.Yk(dt.fromNumber(n%0x10000000000000000),dt.fromNumber(n/0x10000000000000000),r)};var n=t.prototype;return n.qk=function(){return this.Pk.unsigned},n.Jk=function(){return this.Qk.isZero()&&this.Pk.isZero()},n.xk=function(){return this.Pk.isNegative()},n.Kk=function(){return this.qk()?t.Yk(this.Qk,this.Pk,!1):this},n.$k=function(){return this.qk()?this:t.Yk(this.Qk,this.Pk,!0)},n.tp=function(){return this.Qk},n.Tk=function(){return this.xk()?-this.zk().Tk():0x10000000000000000*this.Pk.toNumber()+this.Qk.toUnsigned().toNumber()},n.np=function(){return this.Qk.toInt()},n.vk=function(t){return(this.qk()===t.qk()||this.Pk.getHighBits()>>>31!=1||t.Pk.getHighBits()>>>31!=1)&&(this.Pk.toUnsigned().eq(t.Pk.toUnsigned())&&this.Qk.toUnsigned().eq(t.Qk.toUnsigned()))},n.Ik=function(t){if(this.vk(t))return re.Is;var n=this.xk(),r=t.xk();if(n&&!r)return re.Ss;if(!n&&r)return re.Es;if(!this.qk())return this.Bk(t).xk()?re.Ss:re.Es;var i=this.$k(),e=t.$k(),u=e.Pk.comp(i.Pk);return u>0||0===u&&e.Qk.gt(i.Qk)?re.Ss:re.Es},n.Ck=function(t){return this.Ik(t)<0},n.Lk=function(t){return this.Ik(t)<=0},n.ip=function(t){return this.Ik(t)>0},n.ep=function(t){return this.Ik(t)>=0},n.rp=function(){return new t(this.Qk.not(),this.Pk.not())},n.sp=function(n){return new t(this.Qk.and(n.Qk),this.Pk.and(n.Pk))},n.op=function(n){return new t(this.Qk.or(n.Qk),this.Pk.or(n.Pk))},n.hp=function(n){var r=127&n;return 0===r?this:r<64?t.Yk(this.Qk.shl(r),this.Pk.shl(r).or(this.Qk.shru(64-r)),this.qk()):t.Yk(dt.ZERO,this.Qk.shl(r-64),this.qk())},n.ap=function(n){var r=127&n;return 0===r?this:r<64?t.Yk(this.Qk.shru(r).or(this.Pk.shl(64-r)),this.Pk.shr(r),this.qk()):t.Yk(this.Pk.shr(r-64),this.Pk.isNegative()?dt.NEG_ONE:dt.ZERO,this.qk())},n.cp=function(n){var r=127&n;return 0===r?this:r<64?t.Yk(this.Qk.shru(r).or(this.Pk.shl(64-r)),this.Pk.shru(r),this.qk()):64===r?t.Yk(this.Pk,dt.ZERO,this.qk()):t.Yk(this.Pk.shru(r-64),dt.ZERO,this.qk())},n.m_=function(n){var r=this.Pk.high>>>16,i=65535&this.Pk.high,e=this.Pk.low>>>16,u=65535&this.Pk.low,o=this.Qk.high>>>16,a=65535&this.Qk.high,f=this.Qk.low>>>16,s=65535&this.Qk.low,c=n.Pk.high>>>16,h=65535&n.Pk.high,_=n.Pk.low>>>16,v=65535&n.Pk.low,l=n.Qk.high>>>16,d=65535&n.Qk.high,p=n.Qk.low>>>16,w=0,m=0,y=0,g=0,I=0,E=0,S=0,T=0;S+=(T+=s+(65535&n.Qk.low))>>>16,T&=65535,E+=(S+=f+p)>>>16,S&=65535,I+=(E+=a+d)>>>16,E&=65535,g+=(I+=o+l)>>>16,I&=65535,y+=(g+=u+v)>>>16,g&=65535,m+=(y+=e+_)>>>16,y&=65535,w+=(m+=i+h)>>>16,m&=65535,w+=r+c,w&=65535;var k=this.qk(),b=dt.fromBits(y<<16|g,w<<16|m,k),N=dt.fromBits(S<<16|T,I<<16|E,k);return t.Yk(N,b,k)},n.Bk=function(t){return this.m_(t.zk())},n.zk=function(){return this.rp().m_(t.fp)},n.vp=function(n){if(this.Jk()||n.Jk())return this.qk()?t.Vk:t.Wk;if(this.xk())return n.xk()?this.zk().vp(n.zk()):this.zk().vp(n).zk();if(n.xk())return this.vp(n.zk()).zk();if(this.Pk.isZero()&&0===this.Qk.high&&n.Pk.isZero()&&0===n.Qk.high)return t.Fk(this.Qk.multiply(n.Qk));var r=dt.fromBits(4294967295,0,!0),i=this.Qk.and(r),e=this.Qk.shru(32),u=this.Pk.and(r),o=this.Pk.shru(32),a=n.Qk.and(r),f=n.Qk.shru(32),s=n.Pk.and(r),c=n.Pk.shru(32),h=dt.UZERO,_=dt.UZERO,v=dt.UZERO,l=dt.UZERO;h=h.add(i.mul(a)),_=_.add(h.shru(32)),h=h.and(r),_=_.add(e.mul(a)),v=v.add(_.shru(32)),_=(_=_.and(r)).add(i.mul(f)),v=v.add(_.shru(32)),_=_.and(r),v=v.add(u.mul(a)),l=l.add(v.shru(32)),v=(v=v.and(r)).add(e.mul(f)),l=l.add(v.shru(32)),v=(v=v.and(r)).add(i.mul(s)),l=l.add(v.shru(32)),v=v.and(r),l=l.add(o.mul(a)).add(u.mul(f)).add(e.mul(s)).add(i.mul(c)).and(r);var d=dt.fromBits(h.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0),p=dt.fromBits(v.getLowBitsUnsigned(),l.getLowBitsUnsigned(),!0);return t.Yk(d,p,this.qk())},n.lp=function(n){var r,i,e=n;if(e.Jk())throw new RangeError("division by zero");if(this.Jk())return this.qk()?[t.Vk,t.Vk]:[t.Wk,t.Wk];if(this.qk()){if(e.qk()||(e=e.$k()),e.ip(this))return[t.Vk,this];if(e.ip(this.cp(1)))return[i=t.dp,r=this.Bk(e)];i=t.Vk}else{if(this.vk(t.Xk)){if(e.vk(t.fp)||e.vk(t.gp))return[t.Xk,t.Wk];if(e.vk(t.Xk))return[t.fp,t.Wk];var u=this.ap(1).wp(e).hp(1);return u.vk(t.Wk)?i=e.xk()?t.fp:t.gp:(r=this.Bk(e.vp(u)),i=u.m_(r.wp(e))),[i,r=this.Bk(e.vp(i))]}if(e.vk(t.Xk))return this.qk()?[t.Vk,this]:[t.Wk,this];if(this.xk()){if(e.xk())return this.zk().lp(e.zk());var o=this.zk().lp(e);return i=o[0],r=o[1],[i.zk(),r.zk()]}if(e.xk()){var a=this.lp(e.zk());return i=a[0],r=a[1],[i.zk(),r.zk()]}i=t.Wk}for(r=this;r.ep(e);){for(var f=_.max(1,_.floor(r.Tk()/e.Tk())),s=_.ceil(_.log(f)/_.LN2),c=s<=48?1:_.pow(2,s-48),h=t.Gk(f),v=h.vp(e);v.xk()||v.ip(r);)f-=c,v=(h=t.Gk(f,this.qk())).vp(e);h.Jk()&&(h=t.fp),i=i.m_(h),r=r.Bk(v)}return[i,r]},n.wp=function(t){return this.lp(t)[0]},n.Ap=function(t){return this.lp(t)[1]},n.toString=function(n){var r=n||10;if(r<2||r>36)throw new RangeError("radix");if(this.Jk())return"0";if(this.xk()){if(this.vk(t.Xk)){var i=t.Gk(r),e=this.wp(i),u=e.vp(i).Bk(this);return e.toString(r)+u.np().toString(r)}return"-"+this.zk().toString(r)}for(var o=t.Gk(_.pow(r,6),this.qk()),a=this,f="";;){var s=a.wp(o),c=(a.Bk(s.vp(o)).np()>>>0).toString(r);if((a=s).Jk())return c+f;for(;c.length<6;)c="0"+c;f=String(c)+f}},t}();Su.Wk=Su.Fk(dt.ZERO),Su.Vk=Su.Fk(dt.UZERO),Su.fp=Su.Fk(dt.ONE),Su.dp=Su.Fk(dt.UONE),Su.gp=Su.Fk(dt.NEG_ONE),Su.Zk=Su.Yk(dt.NEG_ONE,dt.MAX_VALUE,!1),Su.Hk=Su.Yk(dt.MAX_UNSIGNED_VALUE,dt.MAX_UNSIGNED_VALUE,!0),Su.Xk=Su.Yk(dt.ZERO,dt.MIN_VALUE,!1);var Tu=function(){function t(t,n){void 0===n&&(n=1),this.yp=void 0,this._p=void 0,this.yp=t,this._p=n}t.kp=function(n){return new t(_.ceil(n.yp),n._p)},t.pp=function(n){return new t(_.floor(n.yp),n._p)},t.mp=function(t,n){return t.Ek(n)?t:n},t.Mp=function(t,n){return t.Lk(n)?t:n};var n=t.prototype;return n.m_=function(n){return this._p>=n._p?new t(this.yp+n.bp(this._p).yp,this._p):new t(this.bp(n._p).yp+n.yp,n._p)},n.Dk=function(t){return t.Ck(this)},n.Ek=function(t){return t.Lk(this)},n.jk=function(n){return this._p>=n._p?new t(_.abs(this.yp-n.bp(this._p).yp),this._p):n.jk(this)},n.Sk=function(t,n){return this.jk(t).Lk(n)},n.Ik=function(t){return r=t,(n=this)._p>=r._p?se(n.yp,r.bp(n._p).yp):se(n.bp(r._p).yp,r.yp);var n,r},n.vk=function(t){return 0===this.Ik(t)},n.Ck=function(t){return this.Ik(t)<0},n.Lk=function(t){return this.Ik(t)<=0},n.bp=function(n){return new t(this.yp*(n/this._p),n)},n.Bk=function(n){return this._p>=n._p?new t(this.yp-n.bp(this._p).yp,this._p):new t(this.bp(n._p).yp-n.yp,n._p)},n.Np=function(n){return new t(this.yp*n,this._p)},m(t,[{key:"Uk",get:function(){return!isFinite(this.yp)}},{key:"Tp",get:function(){return this.yp/this._p}}]),t}();Tu.Dp=new Tu(1/6,1),Tu.Wk=new Tu(0),Tu.Ip=new Tu(1/0),Tu.Ep=1e6;var ku=function(t){function n(n,r){var i;return(i=t.call(this)||this).Ti=void 0,i._p=void 0,i.Ti=n.toSigned(),i._p=r>>>0,i}g(n,t),n.Sp=function(t,r){return void 0===r&&(r=1e6),n.Gk(t*r,r)},n.Gk=function(t,r){return d(t)?n.Lp:t===1/0?n.jp:t===-1/0?n.Cp:new n(dt.fromNumber(t),r)},n.Fk=function(t,r){return new n(t,r)},n.Op=function(t){return n.Sp(t.Tp,1e6)},n.xp=function(t){return new n(dt.fromNumber(t.getTime()),1e3)},n.mp=function(t,n){return t.Ek(n)?t:n},n.Mp=function(t,n){return t.Lk(n)?t:n},n.zp=function(t,r,i){return n.mp(r,n.Mp(i,t))};var r=n.prototype;return r.xk=function(){return this.Ti.isNegative()},r.Jk=function(){return 0!==this._p&&this.Ti.isZero()},r.Uk=function(){return 0===this._p&&!this.Ti.isZero()},r.Rk=function(){return 0===this._p&&this.Ti.isZero()},r.Tk=function(){if(0===this._p)return this.Ti.isZero()?NaN:this.Ti.isNegative()?-1/0:1/0;var t=this.Ti.divide(this._p),n=this.Ti.subtract(t.multiply(this._p));return t.toNumber()+n.toNumber()/this._p},r.tp=function(){if(0===this._p)throw new s("Failed to convert timestamp");return this.Ti},r.Bp=function(){return new Date(0===this._p?NaN:this.bp(1e3).Ti.toNumber())},r.Rp=function(){return new Tu(0===this._p?this.Tk():this.Ti.toNumber(),this._p)},r.bp=function(t,r){void 0===r&&(r=Au.Up);var i=this._p;if(i===t)return this;if(0===i)return this;var e=wt(i,t);return new n(function(t,n,r){var i=t.lp(n),e=i[0],u=i[1];if(u.Jk())return e;if(r===Au.Up)return u.xk()?e.Bk(Su.fp):e;if(r===Au.Qp)return u.xk()?e:e.m_(Su.fp);var o=u.vp(Su.Gk(2));return o.xk()?o.zk().Ck(n)?e:e.Bk(Su.fp):o.Ck(n)?e:e.m_(Su.fp)}(Su.Fk(this.Ti).vp(Su.Gk(t/e)),Su.Gk(i/e),r).tp(),t)},r.Ik=function(t){if(this===t)return re.Is;if(0===this._p||0===t._p)return Eu(this,t);if(this.Jk())return t.Jk()?re.Is:t.xk()?re.Es:re.Ss;if(t.Jk())return this.xk()?re.Ss:re.Es;var n=_.min(this._p,t._p),r=this.bp(n,Au.Pp).Ti,i=t.bp(n,Au.Pp).Ti;return r.compare(i)},r.zk=function(){return 0===this._p?bu(this):new n(this.Ti.negate(),this._p)},r.m_=function(t){if(0===this._p||0===t._p)return Nu(this,t);if(this.Jk())return t;if(t.Jk())return this;var r=_.max(this._p,t._p),i=this.bp(r,Au.Pp),e=t.bp(r,Au.Pp);return new n(i.Ti.add(e.Ti),r)},r.vp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk()||!isFinite(t)){if(this.Jk()||0===t)return n.Lp;var r=this.xk()?n.Cp:n.jp;return t<0?r.zk():r}return this.Jk()?this:new n(0===t?dt.ZERO:this.Ti.multiply(t),this._p)},r.wp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk())return isFinite(t)?0===t?1/t<0?this.zk():this:t<0?this.zk():this:n.Lp;if(!isFinite(t))return new n(dt.ZERO,this._p);if(this.Jk())return 0===t?n.Lp:new n(dt.ZERO,this._p);if(0===t){var r=this.xk()?n.Cp:n.jp;return 1/t<0?r.zk():r}return new n(this.Ti.divide(t),this._p)},r.Yp=function(){return[this.Ti.low,this.Ti.high,this._p]},n}(Iu);function bu(t){return t.Rk()?t:t.xk()?ku.jp:ku.Cp}function Nu(t,n){return t.Rk()||n.Rk()?ku.Lp:t.Uk()&&n.Uk()?t.xk()===n.xk()?t:ku.Lp:t.Uk()?t:n}ku.Wk=new ku(dt.ZERO,1e6),ku.Lp=new ku(dt.ZERO,0),ku.jp=new ku(dt.ONE,0),ku.Cp=new ku(dt.NEG_ONE,0);var Au,Du=function(t){function n(n,r){var i;return(i=t.call(this)||this).Ti=void 0,i._p=void 0,i.Ti=BigInt.asIntN(64,n),i._p=r>>>0,i}g(n,t),n.Sp=function(t,r){return void 0===r&&(r=1e6),n.Gk(t*r,r)},n.Gk=function(t,r){return d(t)?n.Lp:t===1/0?n.jp:t===-1/0?n.Cp:new n(BigInt(_.floor(t)),r)},n.Fk=function(t,r){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),r)},n.Op=function(t){return n.Sp(t.Tp,1e6)},n.xp=function(t){return n.Gk(t.getTime(),1e3)},n.mp=function(t,n){return t.Ek(n)?t:n},n.Mp=function(t,n){return t.Lk(n)?t:n},n.zp=function(t,r,i){return n.mp(r,n.Mp(i,t))};var r=n.prototype;return r.xk=function(){return this.Ti<BigInt(0)},r.Jk=function(){return 0!==this._p&&this.Ti===BigInt(0)},r.Uk=function(){return 0===this._p&&this.Ti!==BigInt(0)},r.Rk=function(){return 0===this._p&&this.Ti===BigInt(0)},r.Tk=function(){if(0===this._p)return this.Ti===BigInt(0)?NaN:this.Ti<BigInt(0)?-1/0:1/0;var t=this.Ti/BigInt(this._p),n=this.Ti-t*BigInt(this._p);return Number(t)+Number(n)/this._p},r.tp=function(){if(0===this._p)throw new s("Failed to convert timestamp");return this.Fp()},r.Fp=function(){var t=this.Ti&BigInt(4294967295),n=this.Ti>>BigInt(32)&BigInt(4294967295);return dt.fromBits(Number(t),Number(n))},r.Bp=function(){return new Date(0===this._p?NaN:Number(this.bp(1e3).Ti))},r.Rp=function(){return new Tu(0===this._p?this.Tk():Number(this.Ti),this._p)},r.bp=function(t,r){void 0===r&&(r=Au.Up);var i=this._p;if(i===t)return this;if(0===i)return this;var e=wt(i,t);return new n(function(t,n,r){var i=t/n,e=t-i*n;if(e===BigInt(0))return i;if(r===Au.Up)return e<BigInt(0)?i-BigInt(1):i;if(r===Au.Qp)return e<BigInt(0)?i:i+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?i:i-BigInt(1):u<n?i:i+BigInt(1)}(this.Ti*BigInt(t/e),BigInt(i/e),r),t)},r.Ik=function(t){if(this===t)return re.Is;if(0===this._p||0===t._p)return Eu(this,t);if(this.Jk())return t.Jk()?re.Is:t.xk()?re.Es:re.Ss;if(t.Jk())return this.xk()?re.Ss:re.Es;var n=_.min(this._p,t._p),r=this.bp(n,Au.Pp).Ti,i=t.bp(n,Au.Pp).Ti;return r>i?re.Es:r<i?re.Ss:re.Is},r.zk=function(){return 0===this._p?Ru(this):new n(-this.Ti,this._p)},r.m_=function(t){if(0===this._p||0===t._p)return Ou(this,t);if(this.Jk())return t;if(t.Jk())return this;var r=_.max(this._p,t._p),i=this.bp(r,Au.Pp),e=t.bp(r,Au.Pp);return new n(i.Ti+e.Ti,r)},r.vp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk()||!isFinite(t)){if(this.Jk()||0===t)return n.Lp;var r=this.xk()?n.Cp:n.jp;return t<0?r.zk():r}return this.Jk()?this:new n(0===t?BigInt(0):this.Ti*BigInt(t),this._p)},r.wp=function(t){if(this.Rk()||d(t))return n.Lp;if(this.Uk())return isFinite(t)?0===t?1/t<0?this.zk():this:t<0?this.zk():this:n.Lp;if(!isFinite(t))return new n(BigInt(0),this._p);if(this.Jk())return 0===t?n.Lp:new n(BigInt(0),this._p);if(0===t){var r=this.xk()?n.Cp:n.jp;return 1/t<0?r.zk():r}return new n(this.Ti/BigInt(t),this._p)},r.Yp=function(){var t=this.Fp();return[t.low,t.high,this._p]},m(n,null,[{key:"Wk",get:function(){return n.Gp||(n.Gp=new n(BigInt(0),1e6)),n.Gp}},{key:"Lp",get:function(){return n.Vp||(n.Vp=new n(BigInt(0),0)),n.Vp}},{key:"jp",get:function(){return n.Wp||(n.Wp=new n(BigInt(1),0)),n.Wp}},{key:"Cp",get:function(){return n.Hp||(n.Hp=new n(BigInt(-1),0)),n.Hp}}]),n}(Iu);function Ru(t){return t.Rk()?t:t.xk()?Du.jp:Du.Cp}function Ou(t,n){return t.Rk()||n.Rk()?Du.Lp:t.Uk()&&n.Uk()?t.xk()===n.xk()?t:Du.Lp:t.Uk()?t:n}Du.Gp=void 0,Du.Vp=void 0,Du.Wp=void 0,Du.Hp=void 0,function(t){t[t.Up=0]="Up",t[t.Qp=1]="Qp",t[t.Pp=2]="Pp"}(Au||(Au={}));var Pu=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?Du:ku;function Cu(t,n){return t.Ik(n)}var Lu=9e4,Fu=_.pow(2,33),Mu=Pu.Gk(Fu,Lu),xu=Mu.wp(2);function Bu(t,n){var r=t.Bk(n);return t.Uk()||n.Uk()?r:(r.Ek(xu)?r=r.Bk(Mu):r.Ck(xu.zk())&&(r=r.m_(Mu)),r)}function Uu(t){return Pu.Gk(t,Lu)}var Hu=Lu,Vu=2,Gu=1024;function Wu(t,n,r,i){var e,u,o=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3];e=u=n,i.oV=i.oV||[],i.en=i.en||new De,i.an=i.an||0;for(var a=i.en;u<r;){var f=void 0;if(i.an<9&&(f=t[u],u+=1),0===i.an)255===f&&(i.an=1);else if(1===i.an)240==(240&f)?(i.an=2,i.en=a=new De,i.oV.push(a),a.nT.Qut=i.Qut,a.nT.Put=i.Qut,a.nT.Yut=i.Qut,i.sn=1&f):i.an=0;else if(2===i.an){i.an=3,i.fct=f>>6&3;var s=a.nT.A_t=f>>2&15,c=a.nT.y_t=o[s];a.nT.__t=(1&f)<<2,i.Qut=i.Qut.m_(Uu(Hu*Gu/c))}else if(3===i.an)i.an=4,a.nT.__t+=f>>6&3,i.ln=(3&f)<<11;else if(4===i.an)i.an=5,i.ln+=f<<3;else if(5===i.an)i.an=6,i.ln+=(224&f)>>5;else if(6===i.an)i.an=7,i.mn=3&f,e=u,i.gn=i.ln-7,0===i.mn&&0===i.sn||(i.an=9);else if(7===i.an)e+=1,i.gn-=1,i.an=8;else if(8===i.an)e+=1,i.gn-=1,i.an=9;else{var h=_.min(r-e,i.gn);0!==h&&(u=e+h,i.gn-=h,a.Zst(t,e,e+h)),0===i.gn&&(i.an=0)}}return i.oV}function zu(t){var n,r;if(!t)return!1;for(n=0,r=t.length;n<r;n+=1)try{if(gu(t[n].iut(),t[n].nT.A_t))return!0}catch(t){0}return!1}function Xu(t,n,r){var i,e,u,o=t.oV||[];o[0]&&o[0].nT.y_t?(i=o[0].nT.y_t/Gu,e=Uu(Hu/i),u=o[0].nT.y_t):(i=0,e=Uu(0),u=0),null===r&&(r=!n&&zu(o)),n=n||r;var a=o[0]?o[0].nT.__t:0,f=function(t,n){if(t)switch(n){case 1:return new p([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);case 2:case 3:return new p([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}else switch(n){case 1:return new p([0,200,0,128,35,128]);case 2:return new p([33,0,73,144,2,25,0,35,128]);case 3:return new p([0,200,0,128,32,132,1,38,64,8,100,0,142]);case 4:return new p([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);case 5:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);case 6:return new p([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224])}return null}(n,a);!function(t,n,r){if(0!==r.gn){var i=t.length-1,e=t[i],u=t[i]=new De;u.Zst(n,0,n.length),u.nT=e.nT,r.gn=0}}(o,f,t),function(t,n){if(t.length)for(var r=1,i=1;i<t.length;i++){var e=t[i-1].nT.Put,u=t[i].nT.Put;if(u===e)r++;else{var o=u.Bk(e),a=_.max(1,_.round(o.Tk()/n.Tk()));if(r>a){var f=r-a;t.splice(i-f,f),i-=f}r=1}}}(o,e),function(t,n){if(t.length)for(var r=t[0],i=1,e=t.length;i<e;i+=1){var u=t[i],o=Uu(Hu*Gu/r.nT.y_t),a=r.nT.Qut.m_(o),f=u.nT.Qut.Bk(a),s=f.tp().divide(o.bp(f._p).tp()).toNumber();if(s>0){for(var c=[],h=0;h<s;h++){var _=new De;_.Zst(n,0,n.length),_.nT=xi({},r.nT,{Qut:a,Put:a,Yut:a}),c.push(_),a=a.m_(o)}t.splice.apply(t,[i,0].concat(c)),i+=s}r=u}}(o,f);var s=function(t){var n=[],r=t[0]&&t[0].nT,i=r&&r.A_t||0,e=r&&r.__t||0,u=[];return u[0]=(Vu<<3)+(i>>1),u[1]=((1&i)<<7)+(e<<3),Le(n,3),Le(n,23+u.length),xe(n,2),Le(n,0),Le(n,4),Le(n,15+u.length),Le(n,64),Le(n,21),Fe(n,[0,0,0]),Me(n,0),Me(n,0),Le(n,5),Le(n,u.length),Fe(n,u),Le(n,6),Le(n,1),Le(n,2),n}(o);return{qyt:t.qyt,oV:o,i_t:t.i_t,e_t:t.e_t,I_t:s,s_t:Uu(t.s_t),N_t:u,T_t:Gu,D_t:a,zut:i,u_t:e,Pgt:r,k_t:n,l_t:Pu.Lp,d_t:Pu.Lp,r_t:NaN,duration:NaN,o_t:t.o_t,h_t:t.h_t,a_t:t.a_t,c_t:t.c_t,f_t:t.f_t,v_t:t.v_t}}function Yu(t){var n=t.u_t.vp(t.oV.length);t.duration=n.Tk(),t.r_t||(t.r_t=n.Tk())}var ju=2,qu=3,Ku=1,Zu=[null,null,[22050,24e3,16e3,0],[44100,48e3,32e3,0]],$u=[null,null,[0,8e3,16e3,24e3,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,144e3,16e4,0],[0,32e3,4e4,48e3,56e3,64e3,8e4,96e3,112e3,128e3,16e4,192e3,224e3,256e3,32e4,0]],Ju=[576,0,576,1152],Qu=[2,2,2,1];function to(t,n){if(255!==t||224!=(224&n))return!1;var r=(24&n)>>3;return(6&n)>>1===Ku&&(r===qu||r===ju)}function no(t,n,r,i){var e,u,o,a,f=n;for(i.oV=i.oV||[],i.en=i.en||new De,i.an=i.an||0,u=i.en;f<r;)switch(i.an){case 0:e=t[f],f+=1,255===e?i.an=1:u.Zst(t,f-1,f);break;case 1:e=t[f],f+=1,to(255,e)?(i.en=u=new De,i.kn=e,u.nT.DM=(24&e)>>3,u.nT.ub=(6&e)>>1,u.nT.Qut=i.Qut,u.nT.Put=i.Qut,u.nT.Yut=i.Qut,i.oV.push(u),i.an=2):255!==e?(i.an=0,u.Zst([255,e],0,2)):255===e&&u.Zst([255],0,1);break;case 2:if(e=t[f],f+=1,i.bn=e,u.nT.m_t=$u[u.nT.DM][e>>4],u.nT.M_t=Zu[u.nT.DM][(12&e)>>2],i.m=2==(2&e)?1:0,i.Fw=_.round(Ju[u.nT.DM]/8*u.nT.m_t/u.nT.M_t+i.m)-1,!i.Fw)return;i.an=3;break;case 3:e=t[f],f+=1,i.tr=e,u.nT.b_t=Qu[e>>6],i.an=4,u.Zst([255,i.kn,i.bn,e],0,4),i.gn=_.max(i.Fw-4,0);break;default:if(i.Fw!==1/0)(a=i.gn)>r-f?(a=r-f,u.Zst(t,f,r),i.gn-=a,f=r):(u.Zst(t,f,f+a),i.gn=0,i.an=0,f+=a);else{i.nr=i.nr||0,o=f;t:for(;f<r;)switch(e=t[f],f+=1,i.nr){case 1:if(to(255,e)){i.an=1,f-=1;break t}i.nr=0;break;default:255===e&&(i.nr=1)}f<r?u.Zst(t,o,f-1):u.Zst(t,o,r)}}}function ro(t){var n,r,i,e,u=t.oV||[];u[0]&&u[0].nT.M_t?(n=9e4/(r=u[0].nT.M_t/Ju[u[0].nT.DM]),i=u[0].nT.M_t,e=Ju[u[0].nT.DM]):(n=0,r=0,i=0,e=Ju[qu]);var o=function(t){var n=[],r=t[0]&&t[0].nT,i=r?32*r.M_t:0,e=r?32*r.M_t:0;return Le(n,3),Fe(n,[128,128,128]),Le(n,27),xe(n,2),Le(n,0),Le(n,4),Fe(n,[128,128,128]),Le(n,13),Le(n,107),Le(n,21),Fe(n,[0,0,0]),Me(n,i),Me(n,e),Le(n,6),Fe(n,[128,128,128]),Le(n,1),Le(n,2),n}(u),a=u[0]?u[0].nT.b_t:0;return{qyt:t.qyt,oV:u,i_t:t.i_t,e_t:t.e_t,I_t:o,s_t:Uu(t.s_t),N_t:i,T_t:e,D_t:a,zut:r,u_t:Uu(n),l_t:Pu.Lp,d_t:Pu.Lp,r_t:NaN,duration:NaN,o_t:t.o_t,h_t:t.h_t,a_t:t.a_t,c_t:t.c_t,f_t:t.f_t,v_t:t.v_t}}function io(t){var n=t.u_t.vp(t.oV.length);t.duration=n.Tk(),t.r_t=n.Tk()}function eo(t,n){var r=n.Uu,i=t.getUint8(r>>3),e=1<<7-(7&r);return n.xu(1),(i&e)===e?1:0}function uo(t,n,r){for(var i=0,e=0;e<r;e++)i=2*i+eo(t,n);return i}var oo=function(){function t(t){void 0===t&&(t=0),this.Ou=t}var n=t.prototype;return n.xu=function(t){this.Ou+=t},n.Bu=function(t){this.Ou=t},n.Ru=function(){return new t(this.Uu)},m(t,[{key:"Uu",get:function(){return this.Ou}}]),t}(),ao=[128,64,32,16,8,4,2,1],fo=function(){function t(t){this.Qu=t}return t.prototype.Pu=function(t){return so(this.Qu,t)},t}();function so(t,n){return(t&n)===n}function co(t,n){return so(t,ao[n])}function ho(t,n){var r=t.getUint8(n.Uu);return n.xu(1),r}function _o(t,n,r){var i=Ao(Oo(t),n.Uu,n.Uu+r);return n.xu(i.byteLength),i}function vo(t,n,r){return n.Uu+r<=t.byteLength}function lo(t,n,r,i){return void 0===i&&(i=!1),i?function(t,n,r){for(var i=0,e=1,u=0;u<r;u++)i+=ho(t,n)*e,e*=256;return i}(t,n,r):function(t,n,r){for(var i=0,e=0;e<r;e++)i=256*i+ho(t,n);return i}(t,n,r)}function po(t,n,r){void 0===r&&(r=!1);var i=t.getUint16(n.Uu,r);return n.xu(2),i}function wo(t,n,r){void 0===r&&(r=!1);var i=t.getUint32(n.Uu,r);return n.xu(4),i}function mo(t,n,r){void 0===r&&(r=!1);var i=wo(t,n,r),e=wo(t,n,r),u=r?e:i,o=r?i:e;return dt.fromBits(o,u,!0)}function yo(t,n){var r=ho(t,n);if(r)return String.fromCharCode(r)}function go(t,n){return So(t,n)}function Io(t,n,r){for(var i="",e=0;e<r;e++)i+=yo(t,n);return i}function Eo(t,n){var r,i=ho(t,n);return 0==(128&i)?r=i:192==(224&i)?r=64*(31&i)+(63&ho(t,n)):224==(240&i)?r=4096*(15&i)+64*(63&ho(t,n))+(63&ho(t,n)):240==(248&i)&&(r=262144*(7&i)+4096*(63&ho(t,n))+64*(63&ho(t,n))+(63&ho(t,n))),r}function So(t,n){return function(t,n,r){var i=[];for(;n.Uu<t.byteLength;){var e=ho(t,n);if(r&&!e)break;i.push(e)}return Ki(i)}(t,n,!0)}function To(t,n){if(n.Uu+2<=t.byteLength){var r=t.getUint8(n.Uu),i=t.getUint8(n.Uu+1);return(254!==r||255!==i)&&(255===r&&254===i||void 0)}}function ko(t,n){var r=To(t,n);return void 0!==r&&n.xu(2),bo(t,n,!0===r)}function bo(t,n,r){return void 0===r&&(r=!1),function(t,n,r,i){var e=[];for(;n.Uu+2<=t.byteLength;){var u=po(t,n,r);if(i&&!u)break;e.push(u)}return Ki(e)}(t,n,r,!0)}function No(t,n){return function(t,n,r){var i=[];(function(t,n){return n.Uu+3<=t.byteLength&&239===t.getUint8(n.Uu)&&187===t.getUint8(n.Uu+1)&&191===t.getUint8(n.Uu+2)})(t,n)&&n.xu(3);for(;n.Uu<t.byteLength;){var e=Eo(t,n);if(void 0===e)break;if(r&&0===e)break;i.push(e)}return function(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return Ki(n)}(i)}(t,n,!0)}function Ao(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new p(t.buffer,t.byteOffset+n,r-n)}function Do(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new DataView(t.buffer,t.byteOffset+n,r-n)}function Ro(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function Oo(t){return new p(t.buffer,t.byteOffset,t.byteLength)}function Po(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),t.slice?t.slice(n,r):Co(Ao(t,n,r))}function Co(t){if(t.slice)return t.slice(0);var n=new p(t.byteLength);return n.set(t,0),n}function Lo(t){return[].slice.call(t)}var Fo,Mo,xo=function(){function t(t){void 0===t&&(t=0),this.Ou=t}var n=t.prototype;return n.xu=function(t){this.Ou+=t},n.Bu=function(t){this.Ou=t},n.Ru=function(){return new t(this.Uu)},n.Yu=function(){return new oo(this.Uu<<3)},m(t,[{key:"Uu",get:function(){return this.Ou}}]),t}();function Bo(t){switch(t){case Fo.ISO_8859_1:case Fo.UTF16_BOM:case Fo.UTF16:case Fo.UTF8:return!0}return!1}function Uo(t){switch(t){case Fo.ISO_8859_1:return So;case Fo.UTF16_BOM:return ko;case Fo.UTF16:return bo;case Fo.UTF8:return No}}function Ho(t,n){var r=n.Uu,i=t.byteLength,e=Oo(t);return n.xu(i-r),Po(e,r,i).buffer}function Vo(t,n,r){var i=ho(t,n);if(Bo(i)){var e=Uo(i);return{id:r,language:Io(t,n,3),description:e(t,n),text:e(t,n)}}}function Go(t,n,r){var i=ho(t,n);if(Bo(i)){var e=Uo(i);return{id:r,mimeType:So(t,n),fileName:e(t,n),description:e(t,n),data:Ho(t,n)}}}function Wo(t,n,r){var i=ho(t,n);if(Bo(i)){for(var e=Uo(i),u=[];n.Uu<t.byteLength;)u.push({involvement:e(t,n),involvee:e(t,n)});return{id:r,entries:u}}}function zo(t,n,r){var i=ho(t,n);if(Bo(i)){for(var e=Uo(i),u=Io(t,n,3),o=ho(t,n),a=ho(t,n),f=e(t,n),s=!1,c=[];n.Uu<t.byteLength;){var h=void 0;if(i===Fo.UTF16_BOM){var _=To(t,n);void 0===_?_=s:s=_,h=bo(t,n,_)}else h=e(t,n);if(!h||n.Uu+4>t.byteLength)break;c.push({text:h,timestamp:wo(t,n)})}return{id:r,language:u,format:o,contentType:a,description:f,entries:c}}}function Xo(t,n,r){return{id:r,ownerIdentifier:So(t,n),identifier:Ho(t,n)}}function Yo(t,n,r){var i=ho(t,n);if(Bo(i)){var e=Uo(i);return{id:r,language:Io(t,n,3),description:e(t,n),text:e(t,n)}}}function jo(t,n,r){var i=ho(t,n);if(Bo(i))return{id:r,text:Uo(i)(t,n)}}function qo(t,n,r){return{id:r,url:So(t,n)}}function Ko(t,n,r){var i=ho(t,n);if(Bo(i)){var e=Uo(i);return{id:r,description:e(t,n),text:e(t,n)}}}function Zo(t,n,r){var i=ho(t,n);if(Bo(i))return{id:r,description:Uo(i)(t,n),url:So(t,n)}}function $o(t,n,r){switch(r){case"COM":return Vo(t,n,r);case"GEO":return Go(t,n,r);case"IPL":return Wo(t,n,r);case"PIC":return function(t,n,r){var i=ho(t,n);if(Bo(i)){var e,u,o=Uo(i),a=Io(t,n,3),f=ho(t,n),s=o(t,n);return"--\x3e"===a?(e=a,u=So(t,n)):(e="image/"+a.toLowerCase(),u=Ho(t,n)),{id:r,mimeType:e,pictureType:f,description:s,data:u}}}(t,n,r);case"SLT":return zo(t,n,r);case"TXX":return Ko(t,n,r);case"UFI":return Xo(t,n,r);case"ULT":return Yo(t,n,r);case"WXX":return Zo(t,n,r);default:if("T"===r.charAt(0))return jo(t,n,r);if("W"===r.charAt(0))return qo(t,n,r)}}function Jo(t,n,r){switch(r){case"APIC":return function(t,n,r){var i=ho(t,n);if(Bo(i)){var e=Uo(i),u=So(t,n);return{id:r,mimeType:u,pictureType:ho(t,n),description:e(t,n),data:"--\x3e"===u?So(t,n):Ho(t,n)}}}(t,n,r);case"COMM":return Vo(t,n,r);case"COMR":return function(t,n,r){var i=ho(t,n);if(Bo(i)){var e,u,o=Uo(i),a=So(t,n),f=Io(t,n,8),s=So(t,n),c=ho(t,n),h=o(t,n),_=o(t,n);return n.Uu<t.byteLength&&(e=So(t,n)||"image/",u=Ho(t,n)),{id:r,price:a,validUntil:f,contactURL:s,receivedAs:c,nameOfSeller:h,description:_,pictureMimeType:e,sellerLogo:u}}}(t,n,r);case"GEOB":return Go(t,n,r);case"IPLS":return Wo(t,n,r);case"PRIV":return function(t,n,r){return{id:r,ownerIdentifier:So(t,n),data:Ho(t,n)}}(t,n,r);case"POSS":return function(t,n,r){return{id:r,format:ho(t,n),position:wo(t,n)}}(t,n,r);case"SYLT":return zo(t,n,r);case"TXXX":return Ko(t,n,r);case"UFID":return Xo(t,n,r);case"USER":return function(t,n,r){var i=ho(t,n);if(Bo(i)){var e=Uo(i);return{id:r,language:Io(t,n,3),text:e(t,n)}}}(t,n,r);case"USLT":return Yo(t,n,r);case"WXXX":return Zo(t,n,r);case"YMID":case"YTYP":case"YSEQ":case"YDUR":case"YCSP":return jo(t,n,r);default:var i=r.charAt(0);if("T"===i)return jo(t,n,r);if("W"===i)return qo(t,n,r)}}!function(t){t[t.ISO_8859_1=0]="ISO_8859_1",t[t.UTF16_BOM=1]="UTF16_BOM",t[t.UTF16=2]="UTF16",t[t.UTF8=3]="UTF8"}(Fo||(Fo={})),function(t){t[t.V22=2]="V22",t[t.V23=3]="V23",t[t.V24=4]="V24"}(Mo||(Mo={}));var Qo,ta=10;function na(t,n){return(127&ho(t,n))<<21|(127&ho(t,n))<<14|(127&ho(t,n))<<7|127&ho(t,n)}function ra(t,n){switch(t){case Mo.V24:return{KG:co(n,0),$G:co(n,1),tV:co(n,2),nV:co(n,3)};case Mo.V23:return{KG:co(n,0),$G:co(n,1),tV:co(n,2)};case Mo.V22:return{KG:co(n,0),iV:co(n,1)}}}function ia(t,n,r){switch(r.DM){case Mo.V23:r.IM.$G&&function(t,n){var r=n.Uu,i=wo(t,n)+4,e=32768&po(t,n);n.Bu(r+i),e&&wo(t,n)}(t,n);break;case Mo.V24:r.IM.$G&&function(t,n){var r=n.Uu,i=na(t,n);n.Bu(r+i)}(t,n)}}function ea(t,n){if(t.byteLength-n.Uu<ta)return null;if(73!==ho(t,n)||68!==ho(t,n)||51!==ho(t,n))return null;var r=ho(t,n),i=ho(t,n);if(!function(t){switch(t){case Mo.V22:case Mo.V23:case Mo.V24:return!0}return!1}(r))return null;var e=ho(t,n),u=na(t,n);return{DM:r,eV:i,IM:ra(r,e),rV:u}}function ua(t,n,r){switch(r.DM){case Mo.V22:return function(t,n,r){return{$w:Io(t,n,3),Cu:lo(t,n,3)}}(t,n);case Mo.V23:return function(t,n,r){var i=Io(t,n,4),e=wo(t,n);ho(t,n);var u=ho(t,n);return{$w:i,Cu:e,IM:{iV:co(u,0),sV:co(u,1),groupingIdentity:co(u,2)}}}(t,n);case Mo.V24:return function(t,n,r){var i=Io(t,n,4),e=na(t,n);ho(t,n);var u=ho(t,n);return{$w:i,Cu:e,IM:{groupingIdentity:co(u,1),iV:co(u,4),sV:co(u,5),KG:co(u,6),uV:co(u,7)}}}(t,n)}}function oa(t){for(var n=new p(t.byteLength),r=0,i=0;i<t.byteLength;i++){var e=t.getUint8(i);255===e&&i++,n[r]=e,r++}return new DataView(n,0,r)}function aa(t,n,r){var i=[],e=n.Uu,u=Do(t,e,e+r.rV),o=new xo;switch(n.xu(r.rV),r.DM){case Mo.V22:case Mo.V23:r.IM.KG&&(u=oa(u))}for(ia(t,n,r);o.Uu<u.byteLength;)i.push(fa(u,o,r));return i}function fa(t,n,r){var i,e,u=ua(t,n,r),o=n.Uu,a=Do(t,o,o+u.Cu);switch(n.xu(u.Cu),r.DM){case Mo.V22:var f=u;i=$o(e=a,new xo,f.$w);break;case Mo.V23:var s=u,c=new xo;!function(t,n,r){var i,e,u,o=r.IM;o.iV&&(i=wo(t,n)),o.sV&&(e=ho(t,n)),o.groupingIdentity&&(u=ho(t,n))}(a,c,s),i=Jo(e=Do(a,c.Uu,a.byteLength),new xo,s.$w);break;case Mo.V24:var h=u,_=new xo;h.IM.KG&&(a=oa(a)),function(t,n,r){var i,e,u,o,a=r.IM;a.groupingIdentity&&(i=ho(t,n)),a.iV&&(e=wo(t,n)),a.sV&&(u=ho(t,n)),a.uV&&(o=na(t,n))}(a,_,h),i=Jo(e=Do(a,_.Uu,a.byteLength),new xo,h.$w)}if(!i){var v=Co(Oo(e));i=function(t,n){return{id:t||"",data:n instanceof ArrayBuffer?n:void 0}}(u.$w,v.buffer)}return i}function sa(t,n){var r=new DataView(t.buffer,n),i=new xo,e=ea(r,i);return e?i.Uu+e.rV:0}function ca(t,n,r,i,e){var u=e.t_t=e.t_t||[],o=Do(Ro(t),n,r),a=new xo,f=ea(o,a);if(null!==f){var s=Ro(new p(f.rV)),c=new xo,h={nT:{O0:i.Tk(),Qut:i},mM:f,Gi:{rT:s,tM:c}};u.push(h),ha(h,Do(o,a.Uu))}}function ha(t,n){var r=t.Gi,i=r.rT.byteLength-r.tM.Uu,e=Do(n,0,_.min(i,n.byteLength));!function(t,n,r){Oo(t).set(Oo(r),n.Uu),n.xu(r.byteLength)}(r.rT,r.tM,e)}function _a(t){for(var n=[],r=0,i=t.t_t;r<i.length;r++){var e=i[r],u=e.mM,o={mM:u,oV:aa(e.Gi.rT,new xo,u),nT:{O0:e.nT.O0,jJ:e.nT.Qut}};n.push(o)}return{qyt:t.qyt,Jyt:t.Jyt,Kyt:t.Kyt,$yt:t.$yt,t_t:n,mwt:"",cA:"",gA:[]}}!function(t){t.R_t="h.264",t.p_t="mp3",t.g_t="aac-lc",t.w_t="he-aac"}(Qo||(Qo={}));var va,la,da=O.On?function(t,n){return Bu(t.Put,n.Put)}:function(t,n){return Bu(t.Yut,n.Yut)};!function(t){t[t.UZ=0]="UZ",t[t.QZ=1]="QZ",t[t.PZ=2]="PZ",t[t.YZ=3]="YZ",t[t.FZ=4]="FZ",t[t.GZ=5]="GZ"}(va||(va={})),function(t){t[t.VZ=0]="VZ",t[t.WZ=1]="WZ",t[t.HZ=2]="HZ",t[t.XZ=3]="XZ"}(la||(la={}));var pa,wa,ma,ya,ga,Ia;[[42,225],[92,233],[94,237],[95,243],[96,250],[123,231],[124,247],[125,209],[126,241],[127,9608],[128,174],[129,176],[130,189],[131,191],[132,8482],[133,162],[134,163],[135,9834],[136,224],[137,32],[138,232],[139,226],[140,234],[141,238],[142,244],[143,251],[144,193],[145,201],[146,211],[147,218],[148,220],[149,252],[150,8216],[151,161],[152,42],[153,8217],[154,9473],[155,169],[156,8480],[157,8226],[158,8220],[159,8221],[160,192],[161,194],[162,199],[163,200],[164,202],[165,203],[166,235],[167,206],[168,207],[169,239],[170,212],[171,217],[172,249],[173,219],[174,171],[175,187],[176,195],[177,227],[178,205],[179,204],[180,236],[181,210],[182,242],[183,213],[184,245],[185,123],[186,125],[187,92],[188,94],[189,95],[190,124],[191,8764],[192,196],[193,228],[194,214],[195,246],[196,223],[197,165],[198,164],[199,9475],[200,197],[201,229],[202,216],[203,248],[204,9487],[205,9491],[206,9495],[207,9499]].reduce(function(t,n){return t[n[0]]=n[1],t},{}),fi.resolve();!function(t){t.x_="z_",t.B_="R_",t.Lw="tc"}(pa||(pa={})),function(t){t.x_="enter",t.B_="exit",t.Lw="update"}(wa||(wa={})),function(t){t[t.fS=0]="fS",t[t.Wq=1]="Wq",t[t.Hq=2]="Hq",t[t.Xq=3]="Xq",t[t.ei=4]="ei"}(ma||(ma={})),function(t){t.cZ='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.fZ='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.vZ='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.lZ='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(ya||(ya={})),function(t){t.BLACK="#000000",t.WHITE="#FFFFFF",t.GREEN="#00ff00",t.BLUE="#0000ff",t.CYAN="#00ffff",t.RED="#ff0000",t.YELLOW="#ffff00",t.MAGENTA="#ff00ff",t.TRANSPARENT="transparent"}(ga||(ga={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ia||(Ia={}));var Ea;ga.WHITE,ya.vZ,ga.BLACK,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.GREEN,Ia.FONT_REGULAR,ga.GREEN,Ia.FONT_UNDERLINE,ga.BLUE,Ia.FONT_REGULAR,ga.BLUE,Ia.FONT_UNDERLINE,ga.CYAN,Ia.FONT_REGULAR,ga.CYAN,Ia.FONT_UNDERLINE,ga.RED,Ia.FONT_REGULAR,ga.RED,Ia.FONT_UNDERLINE,ga.YELLOW,Ia.FONT_REGULAR,ga.YELLOW,Ia.FONT_UNDERLINE,ga.MAGENTA,Ia.FONT_REGULAR,ga.MAGENTA,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_ITALICS,ga.WHITE,Ia.FONT_UNDERLINE_ITALICS,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE,ga.WHITE,Ia.FONT_REGULAR,ga.WHITE,Ia.FONT_UNDERLINE;function Sa(t,n){return Cu(t.jJ,n.jJ)||fe(t.yN,n.yN)}function Ta(t,n,r){return r===va.UZ?r:n!==la.VZ&&n!==la.WZ||r!==va.QZ&&r!==va.PZ?t?n===la.HZ?va.FZ:n===la.XZ?va.YZ:va.UZ:va.GZ:va.PZ}function ka(t,n,r,i){var e={byte:r},u=va.QZ,o=[],a=31&Ne(n,e,i);e.byte+=1;for(var f=0;f<a;f+=1){var s=Ne(n,e,i),c=4&s,h=3&s;u=Ta(Boolean(c),h,u);var _=Ne(n,e,i),v=Ne(n,e,i);o.push({jJ:t,yN:-1,bJ:!f,MJ:Boolean(c),vs:h,eut:u,NJ:_,TJ:v})}return o}function ba(t,n,r){var i=Ne(t,n,r);if(!d(i))return String.fromCharCode(i)}function Na(t){var n=t.rut,r={byte:t.sut},i=t.uut,e=Ne(n,r,i);if(255===e&&(r.byte+=1),181===e){var u=Ae(n,r);if(u===Ea.out||u===Ea.hut){if(u===Ea.hut)if("GA94"!==function(t,n,r){for(var i="",e=r;e>0;)e-=1,i+=ba(t,n);return i}(n,r,4))return;if(3===Ne(n,r,i)){u===Ea.out&&(r.byte+=1);var o=t;return o.aut=r.byte,o}}}}function Aa(t){return 4===t.cut}function Da(t){for(var n=t.filter(Aa).map(Na).filter(P),r=[],i=0;i<n.length;i++){var e=n[i];r.push.apply(r,ka(e.fut,e.rut,e.aut,e.uut))}return r}function Ra(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i.nT.Hut&&n.push.apply(n,i.nT.Hut),delete i.nT.Hut}for(var e=0;e<n.length;e+=1)n[e].yN=e;return n.sort(Sa)}!function(t){t[t.out=47]="out",t[t.hut=49]="hut"}(Ea||(Ea={}));var Oa,Pa=[128,64,32,16,8,4,2,1];function Ca(t,n){var r=_.floor(n.bit/8),i=0==((be(t)?t.Eu(r):t[r])&Pa[n.bit%8])?0:1;return n.bit+=1,i}function La(t,n,r){for(var i=0,e=r;e>0;)e-=1,i=2*i+Ca(t,n);return i}function Fa(t,n){for(var r=0;0===Ca(t,n)&&r<32;)r+=1;return La(t,n,r)+_.pow(2,r)-1}function Ma(t,n){var r=Fa(t,n);return 1&r?_.floor((r+1)/2):-_.floor(r/2)}function xa(t,n){var r,i=[],e={byte:1};do{i.push(Ua(t,n,e)),r=n.Eu(e.byte)}while(void 0!==r&&128!==r);return i}function Ba(t,n){var r,i=0;do{i+=r=Ne(t,n)}while(255===r);return i}function Ua(t,n,r){var i=Ba(n,r),e=Ba(n,r),u=r.byte,o=u+e;return r.byte=o,{fut:t,cut:i,kut:e,sut:u,uut:o,rut:n}}!function(t){t[t.mut=1]="mut",t[t.Mut=2]="Mut",t[t.but=3]="but",t[t.Nut=4]="Nut",t[t.Tut=5]="Tut",t[t.Dut=6]="Dut",t[t.Iut=7]="Iut",t[t.Eut=8]="Eut",t[t.Sut=9]="Sut"}(Oa||(Oa={}));var Ha=[void 0,[1,1],[12,11],[10,11],[16,11],[40,33],[24,11],[20,11],[32,11],[80,33],[18,11],[15,11],[64,33],[160,99],[4,3],[3,2],[2,1]];function Va(t,n,r){for(var i=8,e=8,u=0;u<r;u+=1){if(0!==e)e=(i+Ma(t,n)+256)%256;i=0===e?i:e}}var Ga=function(){function t(t){this.Lut=void 0,this.jut=[],this.Cut=0,this.Lut=t}var n=t.prototype;return n.Out=function(){for(var t=this.jut,n=_.max(0,this.Cut+t.length-2),r=this.Lut,i=r.Fw,e=0;n<i;n+=1){var u=r.Eu(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Cut=n-t.length},n.xut=function(t){for(var n=this.jut,r=t,i=0;i<n.length;i++){if(!(n[i]<=r))return r;r+=1}return r},n.Eu=function(t){if(!(t>this.Lut.Fw))return t>this.Cut&&this.Out(),this.Lut.Eu(this.xut(t))},t}();function Wa(t){var n,r,i,e,u,o,a=new Ga(t),f=0,s=0,c=0,h=0,v=a.Eu(1),l={bit:32};if(Fa(a,l),100===v||110===v||122===v||144===v){var d=Fa(a,l);if(3===d&&(n=Ca(a,l)),Fa(a,l),Fa(a,l),Ca(a,l),1===Ca(a,l))for(var p=0;p<(3!==d?8:12);p+=1){1===Ca(a,l)&&Va(a,l,p<6?16:64)}}var w=Fa(a,l),m=Fa(a,l);if(0===m)Fa(a,l);else if(1===m){Ca(a,l),Ma(a,l),Ma(a,l);for(var y=Fa(a,l),g=0;g<y;g+=1)Ma(a,l)}Fa(a,l),Ca(a,l);var I=Fa(a,l),E=Fa(a,l),S=Ca(a,l);if(0===S&&Ca(a,l),Ca(a,l),1===Ca(a,l)&&(f=Fa(a,l),s=Fa(a,l),c=Fa(a,l),h=Fa(a,l)),1===Ca(a,l)){if(1===Ca(a,l)){var T=La(a,l,8);if(255===T)r=La(a,l,16),i=La(a,l,16);else{var k=Ha[T];k&&(r=k[0],i=k[1])}}if(1===Ca(a,l)&&Ca(a,l),1===Ca(a,l))La(a,l,3),Ca(a,l),1===Ca(a,l)&&(La(a,l,8),La(a,l,8),La(a,l,8));1===Ca(a,l)&&(Fa(a,l),Fa(a,l)),1===(e=Ca(a,l))&&(u=La(a,l,32),o=La(a,l,32),Ca(a,l))}return{width:_.floor(16*(I+1)-2*f-2*s),height:_.floor((2-S)*(E+1)*16-2*c-2*h),hN:r,aN:i,zut:!!e&&o/(2*u),But:n,Rut:w}}var za=9e4;function Xa(t,n){var r=new De,i=r.nT;return i.Qut=t.Qut,i.Gut=t.Gut,i.Put=t.Put,i.Vut=t.Vut,i.Yut=t.Yut,t.Lut=r,n.push(r),r}function Ya(t,n){var r,i,e,u,o=t.er;if(!o)return{};for(var a=0;a<o.length&&(!r||!e);a+=1)o[a].nT.vs===Oa.Iut?r=o[a]:o[a].nT.vs===Oa.Eut&&(e=o[a].Gi);i=r&&r.Gi||n.xgt,e=e||n.zgt,!r&&i&&(r=new De).Zst(i,0,i.length);var f,s,c,h,_=i&&e&&function(t,n){var r=t.length,i=n.length,e=[];return Le(e,1),Le(e,t[1]),Le(e,t[2]),Le(e,t[3]),Le(e,255),Le(e,225),Le(e,(65280&r)>>8),Le(e,255&r),Fe(e,t),Le(e,1),Le(e,(65280&i)>>8),Le(e,255&i),Fe(e,n),e}(i,e),v=(u=r&&Wa(r))&&u.width,l=u&&u.height,d=r&&r.Eu(1),p=r&&r.Eu(2),w=r&&r.Eu(3);return u&&u.zut?(f=u.zut,s=!1):(f=void 0,s=!0),u&&u.hN&&u.aN&&(c=u.hN,h=u.aN),{qb:_,bk:v,hb:l,fct:d,z_t:p,lct:w,xgt:i,zgt:e,zut:f,x_t:s,hN:c,aN:h}}function ja(t){for(var n=t.Fw-1;n>=0;n-=1)if(0!==t.Eu(n))return t.Fw!==n+1&&(t.Fw=n+1),t;return t}function qa(t,n){n.nT.Zut=!0}function Ka(t,n){n.nT.Wut=!0,qa(0,n)}function Za(t){var n=new De,r=n.nT,i=t.nT;return r.Qut=i.Qut,r.O0=i.O0,r.Gut=i.Gut,r.Put=i.Put,r.Vut=i.Vut,r.Yut=i.Yut,n}function $a(t,n){var r=t.length&&t[t.length-1],i=n.nT;i.Zut&&(!i.Xut&&r||t.push(n))}function Ja(t,n,r){return n.nT.Zut?($a(t,n),Za(r)):null}function Qa(t){for(var n=function(t){return t.map(function(t){return t.nT.Put}).sort(Cu)}(t),r=[],i=1;i<n.length;i+=1){var e=n[i],u=n[i-1];r.push(e.Bk(u))}return r.sort(Cu),r}function tf(t){var n=Qa(t);return n.length?n[_.floor(n.length/2)]:Uu(.4*za)}function nf(t,n){!function(t){var n=t.er;if(n)for(var r,i=n.length,e=0;e<i;e+=1)switch((r=n[e]).nT.vs){case Oa.Sut:case Oa.Dut:case Oa.Iut:case Oa.Eut:ja(r)}}(t);var r,i,e=Ya(t,n),u=function(t){var n,r=[],i=new De,e=t.er;if(!e)return r;for(var u=0;u<e.length;u++){var o=e[u];switch(o.nT.vs){case Oa.Tut:Ka(0,i);break;case Oa.mut:case Oa.Mut:case Oa.but:case Oa.Nut:qa(0,i);break;case Oa.Dut:(n=Ja(r,i,o))&&(i=n);var a,f=Da(xa(o.nT.Put,new Ga(o)));i.nT.Hut?(a=i.nT.Hut).push.apply(a,f):i.nT.Hut=f;break;case Oa.Iut:case Oa.Eut:(n=Ja(r,i,o))&&(i=n);break;case Oa.Sut:$a(r,i),(i=Za(o)).nT.Xut=!0}0!==o.nT.vs&&(i.Zst(Re(o.Fw),0,4),i.Xst(o))}return $a(r,i),r}(t),o=u.length>1?t.f_t.Bk(t.a_t).wp(u.length-1):Pu.Lp,a=!1;return o.Rk()||e.zut&&!(_.abs(e.zut-1/o.Tk())>10)?e.zut?(i=e.zut,r=Uu(za/i)):r=Uu(za/(i=24)):(a=!0,i=1/(r=tf(u)).Tk()),{qyt:t.qyt,oV:u,i_t:t.i_t,e_t:t.e_t,s_t:Uu(t.s_t),zut:i,u_t:r,O_t:a,x_t:e.x_t,qb:e.qb,width:e.bk,height:e.hb,fct:e.fct,z_t:e.z_t,lct:e.lct,xgt:e.xgt,zgt:e.zgt,hN:e.hN,aN:e.aN,l_t:Pu.Lp,d_t:Pu.Lp,r_t:NaN,duration:NaN,o_t:t.o_t,h_t:t.h_t,a_t:t.a_t,c_t:t.c_t,f_t:t.f_t,v_t:t.v_t}}function rf(t){t.duration=t.r_t,function(t){var n,r,i=t.oV,e=i.length,u=Pu.Wk;if(e){n=(i=oe(i,function(t,n){return da(t.nT,n.nT).Ik(Pu.Wk)}))[0];for(var o=1;o<e;o+=1){var a=i[o];(r=da(a.nT,n.nT)).Lk(Pu.Wk)&&(r=t.u_t),u=u.m_(r),n.nT.Fut=r,n.nT.JA=r.Tk(),n=a}n&&(r=Pu.mp(Uu(_.round(t.duration*za)).Bk(u),t.u_t),n.nT.Fut=r,n.nT.JA=r.Tk())}}(t)}var ef,uf=71,of=188,af=0;function ff(t,n,r){if(t&&n&&n.length){for(var i=Pu.jp,e=Pu.jp,u=Pu.Cp,o=Pu.Cp,a=0;a<n.length;a++){var f=n[a].nT;i=Pu.Mp(f.Yut,i),e=Pu.Mp(f.Put,e),u=Pu.mp(f.Yut,u),o=Pu.mp(f.Put,o)}t.a_t=e,t.c_t=i,t.f_t=o,t.v_t=u,t.s_t=Pu.mp(Pu.Wk,t.h_t.Bk(r)).Tk()}}function sf(t){t.l_t=t.f_t.m_(t.u_t),t.d_t=t.v_t.m_(t.u_t),t.r_t=t.l_t.Bk(t.a_t).Tk()}function cf(t,n,r){if(0!=(48&t[n+6]))throw new s("MTE1540");var i=t[n+7],e=0!=(128&i),u=0!=(64&i),o=t[n+8],a=e?Uu((14&t[n+9])*_.pow(2,29)+(t[n+10]<<22)+((254&t[n+11])<<14)+(t[n+12]<<7)+((254&t[n+13])>>1)):void 0,f=u?Uu((14&t[n+14])*_.pow(2,29)+(t[n+15]<<22)+((254&t[n+16])<<14)+(t[n+17]<<7)+((254&t[n+18])>>1)):void 0,c=r.Yut||r.Put||f||a;if(e){var h=Bu(a,c),v=c.m_(h);r.Put=v,r.Gut=v.Tk()}else 0;if(r.e_t=u,u){var l=Bu(f,c),d=c.m_(l);r.Yut=d,r.Qut=d,r.Vut=d.Tk()}else r.Vut=r.Gut,r.Yut=r.Put,r.Qut=r.Put;return void 0===r.h_t&&(r.h_t=r.Qut),r.ur=!0,n+8+o+1}function hf(t,n,r,i,e){i.ar?ca(t,n=cf(t,n,e),r,e.Put,e):e.ur&&function(t,n,r,i){var e=i.t_t=i.t_t||[];if(e.length){var u=e[e.length-1];u&&ha(u,Do(Ro(t),n,r))}}(t,n,r,e)}function _f(t,n,r,i,e){i.ar&&(n=cf(t,n,e)),e.ur&&function(t,n,r,i){var e,u,o,a,f;for(e=u=n,o=i.er=i.er||[],a=i.Lut||Xa(i,o),f=i.an||0;u<r;){var s=t[u];if(u+=1,0===f)0===s&&(f=1);else if(1===f)f=0===s?2:0;else if(0===s)f=3;else if(1===s){var c=1+f;a.Zst(t,e,u-c),a.nT.vs||(a.nT.vs=31&a.Eu(0)),e=u,0!==a.Fw&&(a=Xa(i,o)),f=0}else f=0}u-e>0&&(a.Zst(t,e,u),a.nT.vs||(a.nT.vs=31&a.Eu(0))),i.an=f}(t,n,r,e)}function vf(t,n,r,i,e){return e.video&&i.qyt===e.video.qyt?_f(t,n,r,i,e.video):e.audio&&i.qyt===e.audio.qyt?function(t,n,r,i,e){i.ar&&(n=cf(t,n,e)),e.ur&&(e.i_t===Qo.g_t||e.i_t===Qo.w_t?Wu(t,n,r,e):e.i_t===Qo.p_t&&no(t,n,r,e))}(t,n,r,i,e.audio):e.Zyt&&i.qyt===e.Zyt.qyt?hf(t,n,r,i,e.Zyt):e}function lf(t,n,r,i,e){return i.qyt===af?i.ar?function(t,n,r){var i,e=((15&t[n+2])<<8)+t[n+3];if(e<13)return r;if(0!==(t[n+9]<<8)+t[n+10])i=n+11;else{if(!(e>=17))return r;i=n+15}return r.sr=((31&t[i])<<8)+t[i+1],r}(t,n,e):e:i.qyt===e.sr&&i.ar?function(t,n,r){var i,e,u=((15&t[n+2])<<8)+t[n+3],o=((15&t[n+11])<<8)+t[n+12];i=n+13+o,e=u-9-4-o;for(var a=!1,f=!1,s=!1;e>=5;){var c=null,h=t[i],_=((31&t[i+1])<<8)+t[i+2];a||h!==ef.R_t?f||h!==ef.cr&&h!==ef.hr?f||h!==ef.g_t?f||h!==ef.w_t?s||h!==ef.vr||(r.Zyt.qyt=_,c=r.Zyt,s=!0):(r.audio.i_t=Qo.w_t,r.audio.qyt=_,c=r.audio,f=!0):(r.audio.i_t=Qo.g_t,r.audio.qyt=_,c=r.audio,f=!0):(r.audio.i_t=Qo.p_t,r.audio.qyt=_,c=r.audio,f=!0):(r.video.i_t=Qo.R_t,r.video.qyt=_,c=r.video,a=!0);var v=((15&t[i+3])<<8)+t[i+4];c&&(c.Jyt=h,c.Kyt=v,c.$yt=Lo(Ao(t,i+5,i+5+v))),e=e-5-v,i=i+5+v}}(t,n,e):e}function df(t,n){return t===af||t===n.sr}function pf(t,n){return!(!n.video||t!==n.video.qyt)||(!(!n.audio||t!==n.audio.qyt)||!(!n.Zyt||t!==n.Zyt.qyt))}function wf(t,n,r,i,e,u){if(t[n]===uf){var o,a=128&(o=t[n+1]),f=64==(64&o),s=((31&o)<<8)+t[n+2],c=192&(o=t[n+3]),h=32==(32&o),_=16==(16&o);if(!e(s,i))return i;if(0!==a)return i;if(0!==c)return i;if(!_)return i;var v=n+4;return h&&(v+=t[v]+1),v>=r?i:u(t,v,r,{lr:a,ar:f,qyt:s,pr:c,mr:h,kr:_},i)}}function mf(t){for(var n=_.min(1e3,t.length-3*of),r=0;r<n;r++)if(t[r]===uf&&t[r+of]===uf&&t[r+2*of]===uf)return r;return-1}function yf(t,n){return n.Dk(t)&&(t=t.m_(Mu)),t.Tk()}function gf(t,n,r){if(t&&n){t.o_t=yf(t.h_t,r);for(var i=0;i<n.length;i++){var e=n[i];e.nT.O0=yf(e.nT.Qut,r)}}}function If(t){return!!t&&void 0!==t.h_t}function Ef(t,n){return Cu(t.h_t,n.h_t)}function Sf(t,n){var r=function(t,n){for(var r={audio:{},video:{},Zyt:{}},i=mf(t),e=t.length-(t.length-i)%of,u=i;u<e;u+=of)wf(t,u,u+of,r,df,lf);n.Bgt&&!r.audio.qyt&&(r.audio.qyt=n.Bgt),n.Rgt&&!r.video.qyt&&(r.video.qyt=n.Rgt),n.Ugt&&!r.audio.i_t&&(r.audio.i_t=n.Ugt),n.Qgt&&!r.video.i_t&&(r.video.i_t=n.Qgt),!r.audio||n.g1&&"mp4a.40.5"!==n.g1.Gdt||(r.audio.br=!0);for(var o=i;o<e;o+=of)wf(t,o,o+of,r,pf,vf);return r}(t,n);if(t=null,r.audio&&r.audio.oV&&0!==r.audio.oV.length||(r.audio=null),r.video&&r.video.er&&0!==r.video.er.length||(r.video=null),r.Zyt&&r.Zyt.t_t&&0!==r.Zyt.t_t.length||(r.Zyt=null),null===r.audio&&null===r.video&&null===r.Zyt)return r;var i,e,u=(i=[r.audio,r.video,r.Zyt],(e=i.filter(If)).length?(e.sort(Ef),e[0].h_t):Pu.Wk);gf(r.audio,r.audio&&r.audio.oV,u),gf(r.video,r.video&&r.video.er,u),gf(r.Zyt,r.Zyt&&r.Zyt.t_t,u),ff(r.audio,r.audio&&r.audio.oV,u),ff(r.video,r.video&&r.video.er,u);var o=null,a=null;r.video&&(a=Ra((o=nf(r.video,n)).oV),sf(o),rf(o));var f=null;if(r.audio)if(r.audio.i_t===Qo.g_t||r.audio.i_t===Qo.w_t){var s=r.audio.i_t===Qo.w_t||n.g1&&"mp4a.40.5"===n.g1.Gdt,c=!s&&n.Pgt;sf(f=Xu(r.audio,s,c)),Yu(f)}else r.audio.i_t===Qo.p_t&&(sf(f=ro(r.audio)),io(f));var h=null;return r.Zyt&&(h=_a(r.Zyt)),{audio:f,video:o,Zyt:h,Hut:a,n_t:u}}function Tf(t,n,r,i,e){!function(t,n,r){return to(t[n],t[n+1])}(t,n)?(i.g1&&"mp4a.40.5"===i.g1.Gdt?e.i_t=Qo.w_t:e.i_t=Qo.g_t,Wu(t,n,r,e)):(e.i_t=Qo.p_t,no(t,n,r,e))}function kf(t,n){var r=0,i={};r+=function(t,n,r,i,e){for(var u=sa(t,n);u>0&&n+u<r;)ca(t,n,n+u,i,e),u=sa(t,n+=u);return n}(t,r,t.byteLength,Pu.Wk,i);for(var e=_a(i),u=function(t){for(var n=Pu.Lp,r=0;r<t.t_t.length;r+=1)for(var i=t.t_t[r],e=0;e<i.oV.length;e+=1){var u=i.oV[e];if("PRIV"===u.id&&"com.apple.streaming.transportStreamTimestamp"===u.ownerIdentifier){var o=new DataView(u.data);return n=Pu.Fk(mo(o,new xo),Lu),bf(t,r,e),n}}return n}(e),o=0,a=e.t_t;o<a.length;o++){a[o].nT={jJ:u,O0:u.Tk()}}var f={};return f.a_t=f.c_t=f.Qut=f.h_t=u,f.o_t=u.Tk(),f.s_t=0,Tf(t,r,t.byteLength,n,f),{audio:f,Zyt:e}}function bf(t,n,r){var i=t.t_t,e=i[n].oV;e.length>1?ve(e,r):i.length>1?ve(i,n):i.length=0}function Nf(t){var n=t.u_t.vp(t.oV.length);t.d_t=t.a_t.m_(n),t.l_t=t.a_t.m_(n)}!function(t){t[t.R_t=27]="R_t",t[t.cr=3]="cr",t[t.hr=4]="hr",t[t.g_t=15]="g_t",t[t.w_t=17]="w_t",t[t.vr=21]="vr"}(ef||(ef={}));var Af,Df,Rf,Of,Pf,Cf,Lf,Ff=t;function Mf(t,n){return void 0===Af&&(Af=function(){var t=new p(1);try{return Ff.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&Af?Ff.postMessage(t,n):Ff.postMessage(t)}function xf(t){return{mM:t.mM,nT:{O0:t.nT.O0,Qut:t.nT.jJ.Yp()},oV:t.oV}}function Bf(t){return{jJ:t.jJ.Yp(),yN:t.yN,bJ:t.bJ,MJ:t.MJ,vs:t.vs,eut:t.eut,NJ:t.NJ,TJ:t.TJ}}function Uf(t){return{qyt:t.qyt,oV:[],i_t:t.i_t,e_t:t.e_t,duration:t.duration,r_t:t.r_t,s_t:t.s_t.Yp(),zut:t.zut,u_t:t.u_t.Yp(),o_t:t.o_t,h_t:t.h_t.Yp(),a_t:t.a_t.Yp(),c_t:t.c_t.Yp(),f_t:t.f_t.Yp(),v_t:t.v_t.Yp(),l_t:t.l_t.Yp(),d_t:t.d_t.Yp()}}function Hf(t,n){switch(t.i_t){case Qo.g_t:case Qo.w_t:return function(t,n){return xi({},Vf(t),{i_t:t.i_t,oV:t.oV.map(function(t){return function(t,n){var r=(i=t.nT,xi({},Xf(i),{A_t:i.A_t,y_t:i.y_t,__t:i.__t}));var i;return Gf(t.Ru(r),n)}(t,n)}),Pgt:t.Pgt,k_t:t.k_t})}(t,n);case Qo.p_t:return function(t,n){return xi({},Vf(t),{i_t:t.i_t,oV:t.oV.map(function(t){return function(t,n){var r=(i=t.nT,xi({},Xf(i),{DM:i.DM,ub:i.ub,m_t:i.m_t,M_t:i.M_t,b_t:i.b_t}));var i;return Gf(t.Ru(r),n)}(t,n)})})}(t,n)}}function Vf(t){return xi({},Uf(t),{oV:[],i_t:t.i_t,N_t:t.N_t,T_t:t.T_t,D_t:t.D_t,I_t:t.I_t})}function Gf(t,n){var r=t.iut();return n.push(r.buffer),{E_t:r,S_t:t.Fw,L_t:t.nT}}function Wf(t,n){return xi({},Uf(t),{i_t:t.i_t,oV:t.oV.map(function(t){return function(t,n){var r=(i=t.nT,xi({},zf(i),{JA:i.JA,Fut:i.Fut.Yp(),Gut:i.Gut,Vut:i.Vut,j_t:i.j_t&&i.j_t.Yp(),C_t:i.C_t&&i.C_t.Yp(),Wut:i.Wut,Zut:i.Zut,Hut:i.Hut,Xut:i.Xut}));var i;return Gf(t.Ru(r),n)}(t,n)}),O_t:t.O_t,x_t:t.x_t,qb:t.qb,width:t.width,height:t.height,fct:t.fct,z_t:t.z_t,lct:t.lct,xgt:t.xgt,zgt:t.zgt,hN:t.hN,aN:t.aN})}function zf(t){var n;return xi({},{O0:(n=t).O0,Qut:n.Qut.Yp()},{Put:t.Put.Yp(),Yut:t.Yut.Yp()})}function Xf(t){return xi({},zf(t))}!function(t){t.W_t="Xat",t.P_t="Y_t"}(Df||(Df={})),function(t){t.H_t="X_t",t.Z_t="q_t"}(Rf||(Rf={})),function(t){t.im="moov",t.um="mvhd",t.hm="trak",t.cm="tkhd",t.fm="mdia",t.vm="mdhd",t.lm="hdlr",t.dm="minf",t.gm="stbl",t.wm="stsd",t.Am="stsc",t.ym="mvex",t._m="trex",t.pm="avc1",t.Mm="avcC",t.Nm="hev1",t.Tm="hvc1",t.Dm="hvcC",t.Im="pasp",t.Em="mp4a",t.Sm="esds",t.Lm="wvtt",t.jm="vttC",t.Cm="vlab",t.Om="enca",t.xm="encv",t.zm="moof",t.Bm="mfhd",t.Rm="traf",t.Um="tfhd",t.Qm="trun",t.Pm="tfdt",t.Ym="mdat",t.Fm="pssh",t.Gm="emsg",t.Vm="sidx",t.Wm="styp",t.Hm="ftyp",t.Xm="sinf",t.Zm="frma"}(Of||(Of={})),function(t){t.Dd="vide",t.Td="soun",t.qm="subt",t.Jm="hint",t.Km="meta",t.$m="auxv"}(Pf||(Pf={})),function(t){t[t.BASE_DATA_OFFSET_PRESENT=1]="BASE_DATA_OFFSET_PRESENT",t[t.SAMPLE_DESCRIPTION_INDEX_PRESENT=2]="SAMPLE_DESCRIPTION_INDEX_PRESENT",t[t.DEFAULT_SAMPLE_DURATION_PRESENT=8]="DEFAULT_SAMPLE_DURATION_PRESENT",t[t.DEFAULT_SAMPLE_SIZE_PRESENT=16]="DEFAULT_SAMPLE_SIZE_PRESENT",t[t.DEFAULT_SAMPLE_FLAGS_PRESENT=32]="DEFAULT_SAMPLE_FLAGS_PRESENT",t[t.DURATION_IS_EMPTY=32]="DURATION_IS_EMPTY",t[t.DEFAULT_BASE_IS_MOOF=131072]="DEFAULT_BASE_IS_MOOF"}(Cf||(Cf={})),function(t){t[t.DATA_OFFSET_PRESENT=1]="DATA_OFFSET_PRESENT",t[t.FIRST_SAMPLE_FLAGS_PRESENT=4]="FIRST_SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_DURATION_PRESENT=256]="SAMPLE_DURATION_PRESENT",t[t.SAMPLE_SIZE_PRESENT=512]="SAMPLE_SIZE_PRESENT",t[t.SAMPLE_FLAGS_PRESENT=1024]="SAMPLE_FLAGS_PRESENT",t[t.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT=2048]="SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT"}(Lf||(Lf={}));var Yf=function(){function t(t,n){this.Gi=void 0,this.tM=void 0,this.Gi=t,this.tM=n}var n=t.prototype;return n.nM=function(){return ho(this.Gi,this.tM)},n.iM=function(){return po(this.Gi,this.tM)},n.eM=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt16(n.Uu,r);return n.xu(2),i}(this.Gi,this.tM)},n.rM=function(){return wo(this.Gi,this.tM)},n.sM=function(){return function(t,n,r){void 0===r&&(r=!1);var i=t.getInt32(n.Uu,r);return n.xu(4),i}(this.Gi,this.tM)},n.uM=function(){return mo(this.Gi,this.tM)},n.oM=function(t){return _o(this.Gi,this.tM,t)},n.hM=function(t){return function(t,n,r){for(var i=[],e=0;e<r;e++)i.push(wo(t,n));return i}(this.Gi,this.tM,t)},n.aM=function(t){return Io(this.Gi,this.tM,t)},n.cM=function(){return No(this.Gi,this.tM)},n.fM=function(t){this.tM.xu(t)},n.Ru=function(){return new t(this.Gi,this.tM.Ru())},t}();function jf(t,n){return t.vs===n}var qf=function(t){function n(n,r){var i;return(i=t.call(this)||this).vM=n,i.lM=r,i}return g(n,t),m(n,[{key:"name",get:function(){return"DataIncompleteError"}}]),n}(It),Kf=function(){function t(){}return t.dM=function(n){var r=n.Gi,i=n.tM,e=t.gM(r,i,!1);if(!e.wM)throw new qf(i.Uu,e.xi);return e.xi},t.gM=function(n,r,i){for(var e=[];r.Uu<n.byteLength;){var u=t.AM(n,r,i);if(!u.wM)return{wM:!1,xi:e};e.push(u.yM)}return{wM:!0,xi:e}},t._M=function(n,r){var i=t.AM(n,r,!1);if(!i.wM)throw new qf(r.Uu);return i.yM},t.kM=function(n,r){for(var i=n.Gi,e=n.tM;e.Uu<i.byteLength;){var u=t.AM(i,e,!1);if(!u.wM)return;if(u.yM.vs===r)return u.yM}},t.AM=function(n,r,i){var e=r.Uu,u=t.pM(n,r);if(!u.wM)return u;var o=u.mM,a=o.Cu;if(0===a){if(i)return r.Bu(e),{wM:!1,MM:1/0};a=n.byteLength-e}var f=e+a;if(f>n.byteLength){var s=f;return r.Bu(e),{wM:!1,MM:s}}var c={vs:o.vs,Uu:e,Gi:new Yf(Do(n,e,f),new xo(o.bM))};return r.Bu(f),{wM:!0,yM:c}},t.pM=function(t,n){var r=n.Uu;if(!vo(t,n,8))return{wM:!1,MM:n.Uu+8};var i=wo(t,n),e=Io(t,n,4);if(1===i){if(!vo(t,n,8)){var u=n.Uu+8;return n.Bu(r),{wM:!1,MM:u}}i=mo(t,n).toNumber()}if("uuid"===e){if(!vo(t,n,16)){var o=n.Uu+16;return n.Bu(r),{wM:!1,MM:o}}e=Io(t,n,16)}return{wM:!0,mM:{vs:e,Cu:i,bM:n.Uu-r}}},t.NM=function(t,n,r){var i=t.Gi,e=t.tM,u=Ao(Oo(i),e.Uu,i.byteLength);return r&&(u=Co(u)),e.xu(u.byteLength),{vs:n,Gi:u}},t.TM=function(n,r,i){var e=Qf(n.rM());return{vs:r,DM:e.version,IM:e.flags,Gi:t.NM(n,r,i).Gi}},t}();function Zf(t,n){var r=$f(t,n);if(!r)throw new s("Missing "+n+" atom");return r}function $f(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(i.vs===n)return i.Gi}}function Jf(t,n){for(var r=[],i=0;i<t.length;i++){var e=t[i];e.vs===n&&r.push(e.Gi)}return r}function Qf(t){return{version:t>>24,flags:new fo(16777215&t)}}var ts,ns,rs,is=function(){function t(){}return t.EM=function(n){for(var r=[],i=Kf.dM(new Yf(n,new xo)),e=0;e<i.length;e++){var u=i[e],o=t.SM(u);o&&r.push(o)}return r},t.LM=function(t){return Kf.gM(t,new xo,!1).xi.some(function(t){return t.vs===Of.zm||t.vs===Of.Wm})},t.jM=function(n){return Jf(Kf.dM(new Yf(n,new xo)),Of.Fm).map(t.CM)},t.OM=function(n){return Jf(Kf.dM(n.Gi),Of.Fm).map(t.CM)},t.SM=function(n){switch(n.vs){case Of.im:return t.xM(n.Gi);case Of.zm:return t.zM(n.Gi,n.Uu);case Of.Ym:return t.BM(n.Gi);case Of.Vm:return t.RM(n.Gi);case Of.Gm:return t.UM(n.Gi)}},t.xM=function(n){var r=Kf.dM(n),i=Zf(r,Of.um),e=Jf(r,Of.hm),u=$f(r,Of.ym),o=t.QM(i),a=e.map(t.PM),f=u?t.YM(u):void 0;return{vs:Of.im,mM:o,FM:a,GM:f}},t.QM=function(t){var n=Qf(t.rM()),r=n.version,i=n.flags,e=1===r?t.uM():t.rM(),u=1===r?t.uM():t.rM(),o=t.rM(),a=1===r?t.uM():t.rM(),f=t.rM(),s=t.iM()>>8;t.fM(2),t.fM(8);var c=t.hM(9);t.fM(24);var h=t.rM();return{vs:Of.um,DM:r,IM:i,VM:e,WM:u,_p:o,JA:a,HM:f,ly:s,XM:c,ZM:h}},t.PM=function(n){var r=Kf.dM(n),i=Zf(r,Of.cm),e=Zf(r,Of.fm),u=t.qM(i),o=t.JM(e);return{vs:Of.hm,mM:u,KM:o}},t.qM=function(t){var n=Qf(t.rM()),r=n.version,i=n.flags,e=1===r?t.uM():t.rM(),u=1===r?t.uM():t.rM(),o=t.rM();t.fM(4);var a=1===r?t.uM():t.rM();t.fM(8);var f=t.eM(),s=t.eM(),c=t.eM()/_.pow(2,8);t.fM(2);var h=t.hM(9),v=t.rM()/_.pow(2,16),l=t.rM()/_.pow(2,16);return{vs:Of.cm,$M:i.Pu(1),ib:i.Pu(2),eb:i.Pu(4),VM:e,WM:u,sb:o,JA:a,ub:f,ob:s,ly:c,XM:h,bk:v,hb:l}},t.JM=function(n){var r=Kf.dM(n),i=Zf(r,Of.vm),e=Zf(r,Of.lm),u=Zf(r,Of.dm),o=t.fb(i),a=t.vb(e),f=t.gb(u);return{vs:Of.fm,mM:o,wb:a,Ab:f}},t.fb=function(t){var n=Qf(t.rM()),r=n.version,i=n.flags,e=1===r?t.uM():t.rM(),u=1===r?t.uM():t.rM(),o=t.rM(),a=1===r?t.uM():t.rM();t.iM();return t.fM(2),{vs:Of.vm,DM:r,IM:i,VM:e,WM:u,_p:o,JA:a}},t.vb=function(t){var n=Qf(t.rM()),r=n.version,i=n.flags;t.fM(4);var e=t.aM(4);t.fM(12);var u=t.cM();return{vs:Of.lm,DM:r,IM:i,yb:e,_i:u}},t.gb=function(n){var r=Zf(Kf.dM(n),Of.gm),i=t._b(r);return{vs:Of.dm,kb:i}},t._b=function(n){var r=Zf(Kf.dM(n),Of.wm),i=t.pb(r);return{vs:Of.gm,mb:i}},t.pb=function(n){for(var r=Qf(n.rM()),i=r.version,e=r.flags,u=(n.rM(),[]),o=Kf.dM(n),a=0;a<o.length;a++){var f=o[a],s=t.Mb(f.Gi,f.vs);s&&u.push(s)}return{vs:Of.wm,DM:i,IM:e,bb:u}},t.Mb=function(n,r){var i=t.Nb(n,r);return i||((i=t.Tb(n,r))||(r===Of.Lm?t.Db(n):void 0))},t.Nb=function(n,r){return r===Of.Em?t.Ib(n):r===Of.Om?t.Eb(n):void 0},t.Tb=function(n,r){return r===Of.pm?t.Sb(n):r===Of.Nm||r===Of.Tm?t.Lb(n,r):r===Of.xm?t.jb(n):void 0},t.Cb=function(t,n){return t.fM(6),{vs:n,Ob:t.iM()}},t.xb=function(n,r){var i=t.Cb(n,r);n.fM(8);var e=n.iM(),u=n.iM();return n.fM(2),n.fM(2),xi({},i,{zb:e,Bb:u,Rb:n.rM()>>>16})},t.Ub=function(n,r){var i=t.Cb(n,r);n.fM(2),n.fM(2),n.fM(12);var e=n.iM(),u=n.iM(),o=n.rM(),a=n.rM();n.fM(4);var f=n.iM();n.fM(32);var s=n.iM();return n.fM(2),xi({},i,{bk:e,hb:u,Qb:o,Pb:a,Yb:f,Fb:s})},t.Ib=function(n){var r=t.xb(n,Of.Em),i=Zf(Kf.dM(n),Of.Sm);return xi({},r,{Gb:t.Vb(i)})},t.Db=function(n){var r=t.Cb(n,Of.Lm),i=Kf.dM(n),e=Zf(i,Of.jm),u=t.Wb(e),o=$f(i,Of.Cm);return xi({},r,{Hb:u,Xb:o?t.Zb(o):o})},t.Wb=function(t){return{vs:Of.jm,fc:t.cM()}},t.Zb=function(t){return{vs:Of.Cm,iA:t.cM()}},t.Vb=function(t){return Kf.TM(t,Of.Sm,!0)},t.Sb=function(n){var r=t.Ub(n,Of.pm),i=Kf.dM(n),e=Zf(i,Of.Mm),u=$f(i,Of.Im);return xi({},r,{qb:t.Jb(e),Kb:u?t.$b(u):void 0})},t.Lb=function(n,r){var i=t.Ub(n,r),e=Zf(Kf.dM(n),Of.Dm);return xi({},i,{tN:t.nN(e)})},t.jb=function(n){var r=n.Ru(),i=t.Ub(n,Of.xm),e=Zf(Kf.dM(n),Of.Xm),u=t.iN(e);return xi({},i,{eN:t.Tb(r,u.sN.rN),uN:u})},t.Eb=function(n){var r=n.Ru(),i=t.xb(n,Of.Om),e=Zf(Kf.dM(n),Of.Xm),u=t.iN(e);return xi({},i,{eN:t.Nb(r,u.sN.rN),uN:u})},t.iN=function(n){var r=Zf(Kf.dM(n),Of.Zm),i=t.oN(r);return{vs:Of.Xm,sN:i}},t.oN=function(t){var n=t.aM(4);return{vs:Of.Zm,rN:n}},t.Jb=function(t){return Kf.NM(t,Of.Mm,!0)},t.nN=function(t){return Kf.NM(t,Of.Dm,!0)},t.$b=function(t){var n=t.rM(),r=t.rM();return{vs:Of.Im,hN:n,aN:r}},t.YM=function(n){var r=Jf(Kf.dM(n),Of._m).map(t.cN);return{vs:Of.ym,FM:r}},t.cN=function(t){var n=Qf(t.rM()),r=n.version,i=n.flags,e=t.rM(),u=t.rM(),o=t.rM(),a=t.rM(),f=t.rM();return{vs:Of._m,DM:r,IM:i,sb:e,fN:u,vN:o,lN:a,dN:f}},t.zM=function(n,r){var i=Kf.dM(n),e=Zf(i,Of.Bm),u=Jf(i,Of.Rm),o=t.gN(e),a=u.map(t.wN);return{vs:Of.zm,AN:r,mM:o,FM:a}},t.gN=function(t){var n=Qf(t.rM()),r=n.version,i=n.flags,e=t.rM();return{vs:Of.Bm,DM:r,IM:i,yN:e}},t.wN=function(n){var r=Kf.dM(n),i=Zf(r,Of.Um),e=Jf(r,Of.Qm),u=$f(r,Of.Pm),o=t._N(i),a=e.map(function(n){return t.kN(n,o)}),f=u?t.pN(u):void 0;return{vs:Of.Rm,mM:o,mN:a,MN:f}},t._N=function(t){var n=Qf(t.rM()),r=n.version,i=n.flags,e=t.rM(),u=i.Pu(Cf.BASE_DATA_OFFSET_PRESENT)?t.uM():void 0,o=i.Pu(Cf.SAMPLE_DESCRIPTION_INDEX_PRESENT)?t.rM():void 0,a=i.Pu(Cf.DEFAULT_SAMPLE_DURATION_PRESENT)?t.rM():void 0,f=i.Pu(Cf.DEFAULT_SAMPLE_SIZE_PRESENT)?t.rM():void 0,s=i.Pu(Cf.DEFAULT_SAMPLE_FLAGS_PRESENT)?t.rM():void 0;return{vs:Of.Um,DM:r,IM:i,sb:e,bN:u,NN:o,vN:a,lN:f,dN:s}},t.kN=function(n,r){for(var i=Qf(n.rM()),e=i.version,u=i.flags,o=n.rM(),a=u.Pu(Lf.DATA_OFFSET_PRESENT)?n.sM():void 0,f=u.Pu(Lf.FIRST_SAMPLE_FLAGS_PRESENT)?n.rM():void 0,s=[],c=0;c<o;c++){var h=t.TN(n,u,e,r);0===c&&void 0!==f&&(h.IM=f),s.push(h)}return{vs:Of.Qm,DM:e,IM:u,DN:o,AN:a,IN:f,EN:s}},t.TN=function(t,n,r,i){return{JA:n.Pu(Lf.SAMPLE_DURATION_PRESENT)?t.rM():i.vN,Cu:n.Pu(Lf.SAMPLE_SIZE_PRESENT)?t.rM():i.lN,IM:n.Pu(Lf.SAMPLE_FLAGS_PRESENT)?t.rM():i.dN,SN:n.Pu(Lf.SAMPLE_COMPOSITION_TIME_OFFSET_PRESENT)?0===r?t.rM():t.sM():void 0}},t.UM=function(t){var n=t.Gi,r=t.tM,i=Qf(wo(n,r)),e=i.version,u=i.flags;if(1===e){var o=wo(n,r),a=mo(n,r),f=wo(n,r),s=wo(n,r),c=go(n,r),h=go(n,r),_=Po(Oo(n),r.Uu,n.byteLength);return r.xu(_.byteLength),{vs:Of.Gm,DM:e,IM:u,LN:c,Ti:h,_p:o,jN:a,CN:f,$w:s,ON:_}}var v=go(n,r),l=go(n,r),d=wo(n,r),p=wo(n,r),w=wo(n,r),m=wo(n,r),y=Po(Oo(n),r.Uu,n.byteLength);return r.xu(y.byteLength),{vs:Of.Gm,IM:u,DM:e,LN:v,Ti:l,_p:d,xN:p,CN:w,$w:m,ON:y}},t.BM=function(t){return Kf.NM(t,Of.Ym,!1)},t.CM=function(n){var r=n.Gi,i=n.tM,e=Co(Oo(r)).buffer,u=Qf(wo(r,i)),o=u.version,a=u.flags,f=t.zN(r,i),s=[];if(o>0)for(var c=wo(r,i),h=0;h<c;h++){var _=_o(r,i,16);s.push(_)}var v=wo(r,i),l=new p(e,i.Uu,v);return i.xu(r.byteLength),{vs:Of.Fm,DM:o,IM:a,BN:f,RN:s,UN:v,Gi:l,QN:e}},t.zN=function(t,n){for(var r="",i=0;i<4;i++){var e=ho(t,n).toString(16);r+=1===e.length?"0"+e:e}r+="-";for(var u=0;u<2;u++){var o=ho(t,n).toString(16);r+=1===o.length?"0"+o:o}r+="-";for(var a=0;a<2;a++){var f=ho(t,n).toString(16);r+=1===f.length?"0"+f:f}r+="-";for(var s=0;s<2;s++){var c=ho(t,n).toString(16);r+=1===c.length?"0"+c:c}r+="-";for(var h=0;h<6;h++){var _=ho(t,n).toString(16);r+=1===_.length?"0"+_:_}return r.toLowerCase()},t.RM=function(t){var n,r,i=t.Gi,e=t.tM,u=Qf(wo(i,e)),o=u.version,a=u.flags,f=wo(i,e),s=wo(i,e);0===o?(n=dt.fromBits(wo(i,e),0,!0),r=dt.fromBits(wo(i,e),0,!0)):(n=mo(i,e),r=mo(i,e)),e.xu(2);for(var c=po(i,e),h=[],_=0;_<c;_+=1){var v=wo(i,e),l=v>>31&1,d=2147483647&v,p=wo(i,e),w=wo(i,e),m=w>>31&1,y=w>>28&7,g=268435455&w;h.push({PN:l,YN:d,JA:p,FN:m,GN:y,VN:g})}return{vs:Of.Vm,DM:o,IM:a,WN:f,_p:s,HN:n,XN:r,ZN:c,qN:h}},t.pN=function(t){var n,r=t.Gi,i=t.tM,e=Qf(wo(r,i)),u=e.version,o=e.flags;return n=0===u?dt.fromBits(wo(r,i),0,!0):mo(r,i),{vs:Of.Pm,DM:u,IM:o,MN:n}},t}();function es(t,n,r){var i=ho(t,n);if(i!==r)throw new c("Expected descriptor with tag "+r+", but found "+i)}function us(t,n){es(t,n,ts.ti);var r,i,e,u=os(t,n),o=n.Uu+u,a=po(t,n),f=ho(t,n),s=0!=(64&f),c=0!=(32&f),h=31&f;(0!=(128&f)&&(r=po(t,n)),s)&&(i=Io(t,n,ho(t,n)));c&&(e=Io(t,n,2));var _=function(t,n){es(t,n,ts.ii);var r,i=os(t,n),e=n.Uu+i,u=ho(t,n),o=ho(t,n),a=o>>2,f=0!=(2&o),s=lo(t,n,3),c=wo(t,n),h=wo(t,n);if(n.Uu<e){var _=function(t,n){return t.getUint8(n.Uu)}(t,n);_===ts.ui&&(r=function(t,n){es(t,n,ts.ui);var r=os(t,n),i=_o(t,n,r);return{fi:ts.ui,si:i}}(t,n))}return n.Bu(e),{fi:ts.ii,hi:u,Jyt:a,vi:f,li:s,pi:c,mi:h,yi:r}}(t,n);return n.Bu(o),{fi:ts.ti,$w:a,ki:r,hd:i,bi:h,te:e,ie:_}}function os(t,n){for(var r=0,i=0;i<4;i++){var e=ho(t,n);if(r=r<<7|127&e,!(128&e))break}return r}function as(t,n){for(var r=ho(t,n),i=ho(t,n),e=ho(t,n),u=ho(t,n),o=3&ho(t,n),a=31&ho(t,n),f=[],s=0;s<a;s++){var c=po(t,n);f.push(_o(t,n,c))}for(var h=ho(t,n),_=[],v=0;v<h;v++){var l=po(t,n);_.push(_o(t,n,l))}return{vut:r,lut:i,gut:e,wut:u,Aut:o,yut:f,_ut:_}}!function(t){t[t.ti=3]="ti",t[t.ii=4]="ii",t[t.ui=5]="ui"}(ts||(ts={})),function(t){t[t.ee=64]="ee",t[t.g_t=103]="g_t",t[t.p_t=107]="p_t"}(ns||(ns={})),function(t){t[t.ae=0]="ae",t[t.se=1]="se",t[t.g_t=2]="g_t",t[t.ce=5]="ce",t[t.he=34]="he"}(rs||(rs={}));var fs=24;function ss(t){var n=t.yut,r=new De;return r.Zst(Oo(n),0,n.length),Wa(r).zut}function cs(t){var n=ss(t)||fs;return t.Uut/n}function hs(t,n,r,i,e){for(var u=[],o=n.filter(_s),a=i(r),f=0;f<o.length;f++){var s,c=o[f],h=ce(c.FM,function(t){return t.mM.sb===r.sb});if(h)for(var _=h.mM.vN||0,v=h.mM.lN||0,l=h.MN?h.MN.MN:dt.ZERO,d=c.AN+(null!=(s=h.mM.bN)?s:dt.ZERO).toNumber(),p=0,w=h.mN;p<w.length;p++)for(var m=w[p],y=d+(m.AN||0),g=0,I=m.EN;g<I.length;g++){var E=I[g],S=E.Cu||v,T=new De;T.Zst(t,y,y+S);var k=Pu.Fk(l,r.Uut);T.nT=e(E,c,r,k,Po(t,y,y+S)),u.push(T),y+=S,l=l.add(E.JA||_||a)}}return u}function _s(t){return t.vs===Of.zm}var vs,ls=65536;function ds(t,n,r,i){var e=r.Uut,u=dt.fromNumber(t.SN||0),o=i.m_(Pu.Fk(u,e));return{O0:i.Tk(),Qut:i,Put:o,Yut:i}}function ps(t,n,r,i,e){for(var u,o=ds(t,0,r,i),a=Pu.Gk(t.JA||0,r.Uut),f=t.IM||0,s=!(f&ls)&&(f>>24&3)!==vs.SAMPLE_DEPENDS_ON_OTHERS,c=Ro(e),h=new xo;h.Uu<c.byteLength;){var _=wo(c,h);if((31&lo(c,h,1))===Oa.Dut){var v,l=new De;l.Zst(e,h.Uu-1,h.Uu+_-1);var d=xa(o.Put,l);(v=u=u||[]).push.apply(v,Da(d))}h.xu(_-1)}return xi({},o,{JA:a.Tk(),Fut:a,Gut:o.Put.Tk(),Vut:o.O0,Wut:s,Hut:u,Xut:!1,Zut:!1})}function ws(t){return{sb:t.mM.sb,Uut:t.KM.mM._p}}function ms(t){return t.vs===Of.im}!function(t){t[t.SAMPLE_DEPENDS_ON_UNKNOWN=0]="SAMPLE_DEPENDS_ON_UNKNOWN",t[t.SAMPLE_DEPENDS_ON_OTHERS=1]="SAMPLE_DEPENDS_ON_OTHERS",t[t.SAMPLE_DEPENDS_ON_NO_OTHER=2]="SAMPLE_DEPENDS_ON_NO_OTHER",t[t.SAMPLE_DEPENDS_ON_RESERVED=3]="SAMPLE_DEPENDS_ON_RESERVED"}(vs||(vs={}));var ys=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3],gs=.01;function Is(t,n){var r=is.EM(Ro(n.r4)),i=is.EM(Ro(t)),e=function(t){for(var n=0;n<t.FM.length;n++){var r=t.FM[n],i=ws(t.FM[n]),e=r.KM.Ab.kb.mb.bb,u=ce(e,function(t){return t.vs===Of.Em});if(u){var o=us(Ro(u.Gb.Gi),new xo),a=Es(o),f=u.zb,s=r.mM.sb;return xi({},i,{sb:s,ve:f,i_t:a,Gb:Lo(u.Gb.Gi)})}}return}(r.filter(ms)[0]),u=function(t){for(var n=0;n<t.FM.length;n++){var r=t.FM[n],i=ws(t.FM[n]),e=r.KM.Ab.kb.mb.bb,u=ce(e,function(t){return t.vs===Of.pm});if(!u){var o=ce(e.filter(function(t){return t.vs===Of.xm}),function(t){var n;return(null==(n=t.eN)?void 0:n.vs)===Of.pm});o&&(u=o.eN)}if(u){var a=as(Ro(u.qb.Gi),new xo),f=u.Kb;return xi({},i,{sb:r.mM.sb,qb:Lo(u.qb.Gi),bk:u.bk,hb:u.hb,aN:f&&f.aN,hN:f&&f.hN,fct:a.lut,vct:a.gut,lct:a.wut,yut:a.yut[0],_ut:a._ut[0]})}}}(r.filter(ms)[0]),o=e?hs(t,i,e,Ts,Ss):[],a=u?hs(t,i,u,cs,ps):[],f=e&&o.length>0?function(t,n,r,i,e){switch(r.i_t){case Qo.g_t:return bs(t,n,r,i,!1,e);case Qo.w_t:return bs(t,n,r,i,!0,e);case Qo.p_t:return}}(t,i,e,o,n.Pgt):void 0,s=u&&a.length>0?function(t,n,r,i){var e,u=ks(t,n,r,ps,i),o=!1,a=ss(r),f=u.f_t.Bk(u.a_t).wp(u.oV.length-1);f.Rk()||a&&!(_.abs(a-1/f.Tk())>10)?e=a||fs:(o=!0,e=1/tf(u.oV).Tk());return xi({},u,{i_t:Qo.R_t,O_t:o,x_t:!1===a,zut:e,u_t:Pu.Sp(1/e,r.Uut),qb:r.qb,width:r.bk,height:r.hb,fct:r.fct,z_t:r.vct,lct:r.lct,xgt:Lo(r.yut),zgt:Lo(r._ut),hN:r.hN,aN:r.aN})}(t,i,u,a):void 0,c=f?f.a_t:Pu.jp,h=s?s.a_t:Pu.jp,v=Pu.Mp(c,h);return{Zyt:void 0,Hut:Ra(a),n_t:v,audio:f,video:s}}function Es(t){var n=t.ie;switch(n.hi){case ns.ee:return function(t){var n=t.yi;if(n){var r=function(t,n){var r=uo(t,n,5);31===r&&(r=32+uo(t,n,6));var i,e=uo(t,n,4);return 15===e&&(i=uo(t,n,24)),{de:r,tn:e,M_t:i,be:uo(t,n,4)}}(Ro(n.si),new oo);switch(r.de){case rs.g_t:return Qo.g_t;case rs.ce:return Qo.w_t;case rs.he:return Qo.p_t}}}(n);case ns.g_t:return Qo.g_t;case ns.p_t:return Qo.p_t}}function Ss(t,n,r,i,e){return xi({},ds(t,0,r,i),{A_t:he(ys,function(t){return t===r.Uut}),y_t:r.Uut,__t:r.ve})}function Ts(t){return Gu}function ks(t,n,r,i,e){var u=e[0],o=e[e.length-1],a=void 0!==o.nT.JA?o.nT.JA:function(t){return void 0!==t.y_t}(o.nT)?Gu/o.nT.y_t:_.max((o.nT.O0-u.nT.O0)/e.length,gs),f=o.nT.O0+a-u.nT.O0,s=e.some(function(t){return!t.nT.Yut.vk(t.nT.Put)}),c=Pu.Sp(a,r.Uut);return{qyt:0,oV:e,i_t:"",e_t:s,duration:f,r_t:f,s_t:Pu.Wk,zut:NaN,u_t:Pu.Lp,o_t:u.nT.O0,h_t:u.nT.Qut,a_t:u.nT.Put,c_t:u.nT.Yut,f_t:o.nT.Put,v_t:o.nT.Yut,l_t:o.nT.Put.m_(c),d_t:o.nT.Yut.m_(c)}}function bs(t,n,r,i,e,u){var o=ks(0,0,r,0,i),a=ce(function(t,n){for(var r=0;r<t.length;r++){var i=t[r];if(jf(i,n))return i}}(n,Of.zm).FM,function(t){return t.mM.sb===r.sb});if(a){var f,s,c,h,_=null!=(f=null!=(s=a.mM.vN)?s:null==(c=a.mN[0])?void 0:null==(h=c.EN[0])?void 0:h.JA)?f:Gu;return null===u&&(u=!e&&zu(i)),e=e||u,xi({},o,{i_t:Qo.g_t,I_t:r.Gb,zut:r.Uut,u_t:Uu(o.duration/o.oV.length),N_t:r.Uut,T_t:_,D_t:r.ve,Pgt:u,k_t:e})}}var Ns=t;function As(t,n,r){n={},r||(r="EMW0032"),Ns.postMessage({zkt:Rf.Z_t,xkt:t,Ukt:n.message||r,X:n.name,ru:n.stack,iu:JSON.stringify(n)})}var Ds,Rs=[];function Os(t){for(var n=0;n<Rs.length;n++){if(Rs[n].tpt===t)return void ve(Rs,n)}}function Ps(){Rs.length?Ds||(Ds=u(Cs,0)):(o(Ds),Ds=void 0)}function Cs(){Ds&&(o(Ds),Ds=void 0),Rs.length&&function(t){var n,r=t.Vkt,i=t.npt,e=t.tpt,u=t.ipt,o=[];if(r===Df.W_t){try{if(function(t){return sa(t,0)>0}(i))n=function(t,n){var r=kf(t,n);if(t=null,r.audio&&r.audio.oV&&0!==r.audio.oV.length||(r.audio=null),r.Zyt&&r.Zyt.t_t&&0!==r.Zyt.t_t.length?r.Zyt.Jyt=ef.vr:r.Zyt=null,null===r.audio&&null===r.Zyt)return{n_t:Pu.Wk};var i=null;if(r.audio)if(ff(r.audio,r.audio.oV,r.audio.h_t),r.audio.i_t===Qo.g_t||r.audio.i_t===Qo.w_t){var e=r.audio.i_t===Qo.w_t,u=!e&&n.Pgt;Nf(i=Xu(r.audio,e,u)),Yu(i),i.k_t?i.i_t=Qo.w_t:i.i_t=Qo.g_t}else r.audio.i_t===Qo.p_t&&(Nf(i=ro(r.audio)),io(i));return{audio:i,Zyt:r.Zyt,n_t:Pu.Wk}}(i,u);else if(function(t){return mf(t)>=0}(i))n=Sf(i,u);else{if(!function(t){return is.LM(Ro(Po(t,0,_.min(t.length,16384))))}(i))throw new s("Unknown media format");n=Is(i,u)}}catch(t){return As(e,t,"EMW0064")}try{var a=function(t,n){return{audio:t.audio?Hf(t.audio,n):void 0,video:t.video?Wf(t.video,n):void 0,Zyt:t.Zyt?(r=t.Zyt,{qyt:r.qyt,mwt:r.mwt,cA:r.cA,Jyt:r.Jyt,Kyt:r.Kyt,$yt:r.$yt,t_t:r.t_t.map(xf),gA:[]}):void 0,Hut:t.Hut?t.Hut.map(Bf):t.Hut,n_t:t.n_t.Yp()};var r}(n,o);return Mf({zkt:Rf.H_t,xkt:e,Bkt:a},o)}catch(t){return As(e,t,"EMW0060")}}As(e,{},"EMW0072")}(Rs.shift()),Ps()}Ns.addEventListener("message",function(t){var n=t.data;switch(n.Vkt){case Df.P_t:!function(t){for(var n=0;n<t.length;n++)Os(t[n])}(n.Wkt);break;default:!function(t){Rs.push(t)}(n)}Ps()},!1),Ns.postMessage({lkt:"3.3.0"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);