theoplayer 3.2.2 → 3.2.3

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.p.js CHANGED
@@ -25,7 +25,7 @@
25
25
  THEOplayer is based on patented technology developed by
26
26
  THEO Technologies (https://www.theoplayer.com).
27
27
 
28
- Version: 2022.1.2 (3.2.2)
29
- Created: 2022-04-05T11:00:14.888Z
28
+ Version: 2022.1.2 (3.2.3)
29
+ Created: 2022-04-05T16:12:54.539Z
30
30
  */
31
- !function(t){!function(){"use strict";var n,i=t.window,r=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,s=t.setInterval,f=t.clearInterval,c=t.Error,h=t.TypeError,a=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,d=t.parseFloat,_=t.isNaN,w=t.Uint8Array,p=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest,"undefined"!=typeof globalThis?globalThis:void 0!==i?i:"undefined"!=typeof global?global:void 0!==t?t:{});function y(t,n,i){return t(i={path:n,exports:{},require:function(t,n){return function(){throw new c("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&i.path)}},i.exports),i.exports}var g=y(function(s,f){s.exports=function t(i,r,e){function u(s,f){if(!r[s]){if(!i[s]){var h="function"==typeof n&&n;if(!f&&h)return h(s,!0);if(o)return o(s,!0);var a=new c("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var v=r[s]={exports:{}};i[s][0].call(v.exports,function(t){var n=i[s][1][t];return u(n||t)},v,v.exports,t,i,r,e)}return r[s].exports}for(var o="function"==typeof n&&n,s=0;s<e.length;s++)u(e[s]);return u}({1:[function(t,n,i){n.exports=function(t){var n=t.g;function i(t){var i=new n(t),r=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),r}t.any=function(t){return i(t)},t.prototype.any=function(){return i(this)}}},{}],2:[function(t,n,i){var r;try{throw new c}catch(t){r=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 h(t,n,i){this.j.push(t,n,i),this.Z()}function a(t,n,i){this.B.push(t,n,i),this.Z()}function v(t){this.B.q(t),this.Z()}function l(t){for(;t.length()>0;)d(t)}function d(t){var n=t.shift();if("function"!=typeof n)n.J();else{var i=t.shift(),r=t.shift();n.call(i,r)}}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 c?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 c("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(f.prototype.invokeLater=function(t,n,i){this.Y?h.call(this,t,n,i):this.H(function(){u(function(){t.call(n,i)},100)})},f.prototype.invoke=function(t,n,i){this.Y?a.call(this,t,n,i):this.H(function(){t.call(n,i)})},f.prototype.settlePromises=function(t){this.Y?v.call(this,t):this.H(function(){t.J()})}):(f.prototype.invokeLater=h,f.prototype.invoke=a,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=r},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,n,i){n.exports=function(t,n,i,r){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=r.propagateFromFunction(),t.prototype.dt=r.boundValueFunction());var c=i(u),h=new t(n);h.vt(this,1);var a=this.wt();if(h.yt(c),c instanceof t){var v={promiseRejectionQueued:!1,promise:h,target:a,bindingPromise:c};a.ut(n,o,void 0,h,v),c.ut(s,f,void 0,h,v),h.At(c)}else h.ct(a);return h},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,i){return t.resolve(i).bind(n)}}},{}],4:[function(t,n,i){var r;"undefined"!=typeof Promise&&(r=Promise);var e=t("./promise")();e.noConflict=function(){try{Promise===e&&(Promise=r)}catch(t){}return e},n.exports=e},{"./promise":22}],5:[function(t,n,i){var r=a.create;if(r){var e=r(null),u=r(null);e[" size"]=u[" size"]=0}n.exports=function(n){var i=t("./util"),r=i.canEvaluate;function e(t){var r=this.pop(),e=function(t,r){var e;if(null!=t&&(e=t[r]),"function"!=typeof e){var u="Object "+i.classString(t)+" has no method '"+i.toString(r)+"'";throw new n.TypeError(u)}return e}(t,r);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]}i.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,i="number"==typeof t;if(i)n=o;else if(r){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,i){n.exports=function(n,i,r,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 i=t.St;if(null==i||!i.Nt()){t.Dt()?t.It().cancel():t.Et();break}t.Dt()&&t.It().cancel(),t.Lt(),n=t,t=i}},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 i=0;i<t.length;++i)this.Ft(t[i],n);else if(void 0!==t)if("function"==typeof t){if(!n){var r=o(t).call(this.dt());r===s&&(this.Gt(r.e),f.throwLater(r.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,i){n.exports=function(n){var i=t("./util"),r=t("./es5").keys,e=i.tryCatch,u=i.errorObj;return function(t,o,s){return function(f){var h=s.dt();t:for(var a=0;a<t.length;++a){var v=t[a];if(v===c||null!=v&&v.prototype instanceof c){if(f instanceof v)return e(o).call(h,f)}else if("function"==typeof v){var l=e(v).call(h,f);if(l===u)return l;if(l)return e(o).call(h,f)}else if(i.isObject(f)){for(var d=r(v),_=0;_<d.length;++_){var w=d[_];if(v[w]!=f[w])continue t}return e(o).call(h,f)}}return n}}}},{"./es5":13,"./util":36}],8:[function(t,n,i){n.exports=function(t){var n=!1,i=[];function r(){this.Ht=new r.CapturedTrace(e())}function e(){var t=i.length-1;if(t>=0)return i[t]}return t.prototype.Xt=function(){},t.prototype.Zt=function(){},t.prototype.qt=function(){return null},t.Jt=t.prototype.Jt=function(){},r.prototype.Zt=function(){void 0!==this.Ht&&(this.Ht.Xt=null,i.push(this.Ht))},r.prototype.qt=function(){if(void 0!==this.Ht){var t=i.pop(),n=t.Xt;return t.Xt=null,n}return null},r.CapturedTrace=null,r.create=function(){if(n)return new r},r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var i=t.prototype.Zt,u=t.prototype.qt,o=t.Jt,s=t.prototype.Jt,f=t.prototype.Xt;r.deactivateLongStackTraces=function(){t.prototype.Zt=i,t.prototype.qt=u,t.Jt=o,t.prototype.Jt=s,t.prototype.Xt=f,n=!1},n=!0,t.prototype.Zt=r.prototype.Zt,t.prototype.qt=r.prototype.qt,t.Jt=t.prototype.Jt=e,t.prototype.Xt=function(){var t=this.Jt();t&&null==t.Xt&&(t.Xt=this)}},r}},{}],9:[function(t,n,i){n.exports=function(n,i){var e,o,s,f=n.Kt,v=n.Mt,d=t("./errors").Warning,_=t("./util"),w=t("./es5"),p=_.canAttachTrace,y=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,g=/\((?:timers\.js):\d+:\d+\)/,m=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,b=null,k=null,I=!1,S=!(0==_.env("BLUEBIRD_DEBUG")),E=!(0==_.env("BLUEBIRD_WARNINGS")||!S&&!_.env("BLUEBIRD_WARNINGS")),T=!(0==_.env("BLUEBIRD_LONG_STACK_TRACES")||!S&&!_.env("BLUEBIRD_LONG_STACK_TRACES")),R=0!=_.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(E||!!_.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(){Y("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(),Y("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,i){return X(t,n,i||this)},n.onPossiblyUnhandledRejection=function(t){var n=f();o="function"==typeof t?null===n?t:_.domainBind(n,t):void 0},n.onUnhandledRejectionHandled=function(t){var n=f();e="function"==typeof t?null===n?t:_.domainBind(n,t):void 0};var A=function(){};n.longStackTraces=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new c("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,r=n.prototype.Gt,e=n.prototype.Mn;et.longStackTraces=!0,A=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new c("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=r,n.prototype.Mn=e,i.deactivateLongStackTraces(),v.enableTrampoline(),et.longStackTraces=!1},n.prototype.pn=G,n.prototype.Gt=V,n.prototype.Mn=H,i.activateLongStackTraces(),v.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return et.longStackTraces&&J()};var N=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return _.global.dispatchEvent(t),function(t,n){var i={detail:n,cancelable:!0};w.defineProperty(i,"promise",{value:n.promise}),w.defineProperty(i,"reason",{value:n.reason});var r=new CustomEvent(t.toLowerCase(),i);return!_.global.dispatchEvent(r)}}if("function"==typeof Event){var t=new Event("CustomEvent");return _.global.dispatchEvent(t),function(t,n){var i=new Event(t.toLowerCase(),{cancelable:!0});return i.detail=n,w.defineProperty(i,"promise",{value:n.promise}),w.defineProperty(i,"reason",{value:n.reason}),!_.global.dispatchEvent(i)}}var t=r.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),_.global.dispatchEvent(t),function(t,n){var i=r.createEvent("CustomEvent");return i.initCustomEvent(t.toLowerCase(),!1,!0,n),!_.global.dispatchEvent(i)}}catch(t){}return function(){return!1}}(),O=_.isNode?function(){return process.emit.apply(process,arguments)}:_.global?function(t){var n="on"+t.toLowerCase(),i=_.global[n];return!!i&&(i.apply(_.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function D(t,n){return{promise:n}}var C={promiseCreated:D,promiseFulfilled:D,promiseRejected:D,promiseResolved:D,promiseCancelled:D,promiseChained:function(t,n,i){return{promise:n,child:i}},warning:function(t,n){return{warning:n}},unhandledRejection:function(t,n,i){return{reason:n,promise:i}},rejectionHandled:D},F=function(t){var n=!1;try{n=O.apply(null,arguments)}catch(t){v.throwLater(t),n=!0}var i=!1;try{i=N(t,C[t].apply(null,arguments))}catch(t){v.throwLater(t),i=!0}return i||n};function P(){return!1}function j(t,n,i){var r=this;try{t(n,i,function(t){if("function"!=typeof t)throw new h("onCancel must be a function, got: "+_.toString(t));r.Nn(t)})}catch(t){return t}}function B(t){if(!this.Nt())return this;var n=this.Vt();void 0!==n?_.isArray(n)?n.push(t):this.At([n,t]):this.At(t)}function M(){return this.Qt}function x(t){this.Qt=t}function L(){this.St=void 0,this.Qt=void 0}function U(t,n){if(0!=(1&n)){this.St=t;var i=t.Ct;void 0===i&&(i=0),t.Ct=i+1}0!=(2&n)&&t.kt()&&this.yt(t._t)}n.config=function(t){if("longStackTraces"in(t=a(t))&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&A()),"warnings"in t){var i=t.warnings;et.warnings=!!i,R=et.warnings,_.isObject(i)&&"wForgottenReturn"in i&&(R=!!i.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!et.cancellation){if(v.haveItemsQueued())throw new c("cannot enable cancellation after promises are in use");n.prototype.Tn=L,n.prototype.vt=U,n.prototype.Vt=M,n.prototype.At=x,n.prototype.Nn=B,n.prototype.Dn=j,W=U,et.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!et.monitoring?(et.monitoring=!0,n.prototype.In=F):!t.monitoring&&et.monitoring&&(et.monitoring=!1,n.prototype.In=P)),n},n.prototype.In=P,n.prototype.Dn=function(t,n,i){try{t(n,i)}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 W=function(t,n){0!=(2&n)&&t.kt()&&this.yt(t._t)};function q(){var t=this._t;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function G(){this.Ht=new it(this.Jt())}function V(t,n){if(p(t)){var i=this.Ht;if(void 0!==i&&n&&(i=i.En),void 0!==i)i.attachExtraTrace(t);else if(!t.Sn){var r=$(t);_.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),_.notEnumerableProp(t,"Sn",!0)}}}function H(){this.Ht=void 0}function X(t,i,r){if(et.warnings){var e,u=new d(t);if(i)r.Gt(u);else if(et.longStackTraces&&(e=n.Jt()))e.attachExtraTrace(u);else{var o=$(u);u.stack=o.message+"\n"+o.stack.join("\n")}F("warning",u)||K(u,"",!0)}}function z(t){for(var n=[],i=0;i<t.length;++i){var r=t[i],e=" (No stack trace)"===r||b.test(r),u=e&&Q(r);e&&!u&&(I&&" "!==r.charAt(0)&&(r=" "+r),n.push(r))}return n}function $(t){var n=t.stack,i=t.toString();return n="string"==typeof n&&n.length>0?function(t){for(var n=t.stack.replace(/\s+$/g,"").split("\n"),i=0;i<n.length;++i){var r=n[i];if(" (No stack trace)"===r||b.test(r))break}return i>0&&"SyntaxError"!=t.name&&(n=n.slice(i)),n}(t):[" (No stack trace)"],{message:i,stack:"SyntaxError"==t.name?n:z(n)}}function K(t,n,i){if("undefined"!=typeof console){var r;if(_.isObject(t)){var e=t.stack;r=n+k(e,t)}else r=n+String(t);"function"==typeof s?s(r,i):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function Y(t,n,i,r){var e=!1;try{"function"==typeof n&&(e=!0,"rejectionHandled"===t?n(r):n(i,r))}catch(t){v.throwLater(t)}"unhandledRejection"===t?F(t,i,r)||e||K(i,"Unhandled rejection "):F(t,r)}function Z(t){var n;if("function"==typeof t)n="[function "+(t.name||"anonymous")+"]";else{if(n=t&&"function"==typeof t.toString?t.toString():_.toString(t),/\[object [a-zA-Z0-9$_]+\]/.test(n))try{var i=JSON.stringify(t);n=i}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 rt}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 it(t){this.En=t,this.Ln=0;var n=this.Ut=1+(void 0===t?0:t.Ut);rt(this,it),n>32&&this.uncycle()}_.inherits(it,c),i.CapturedTrace=it,it.prototype.uncycle=function(){var t=this.Ut;if(!(t<2)){for(var n=[],i={},r=0,e=this;void 0!==e;++r)n.push(e),e=e.En;for(var r=(t=this.Ut=r)-1;r>=0;--r){var u=n[r].stack;void 0===i[u]&&(i[u]=r)}for(var r=0;r<t;++r){var o=n[r].stack,s=i[o];if(void 0!==s&&s!==r){s>0&&(n[s-1].En=void 0,n[s-1].Ut=1),n[r].En=void 0,n[r].Ut=1;var f=r>0?n[r-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 c=f.Ut+1,h=r-2;h>=0;--h)n[h].Ut=c,c++;return}}}},it.prototype.attachExtraTrace=function(t){if(!t.Sn){this.uncycle();for(var n=$(t),i=n.message,r=[n.stack],e=this;void 0!==e;)r.push(z(e.stack.split("\n"))),e=e.En;!function(t){for(var n=t[0],i=1;i<t.length;++i){for(var r=t[i],e=n.length-1,u=n[e],o=-1,s=r.length-1;s>=0;--s)if(r[s]===u){o=s;break}for(var s=o;s>=0;--s){var f=r[s];if(n[e]!==f)break;n.pop(),e--}n=r}}(r),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--)}(r),_.notEnumerableProp(t,"stack",function(t,n){for(var i=0;i<n.length-1;++i)n[i].push("From previous event:"),n[i]=n[i].join("\n");return i<n.length&&(n[i]=n[i].join("\n")),t+"\n"+n.join("\n")}(i,r)),_.notEnumerableProp(t,"Sn",!0)}};var rt=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 c.stackTraceLimit&&"function"==typeof c.captureStackTrace){c.stackTraceLimit+=6,b=t,k=n;var i=c.captureStackTrace;return Q=function(t){return y.test(t)},function(t,n){c.stackTraceLimit+=6,i(t,n),c.stackTraceLimit-=6}}var r,e=new c;if("string"==typeof e.stack&&e.stack.split("\n")[0].indexOf("stackDetection@")>=0)return b=/@/,k=n,I=!0,function(t){t.stack=(new c).stack};try{throw new c}catch(t){r="stack"in t}return"stack"in e||!r||"number"!=typeof c.stackTraceLimit?(k=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):(b=t,k=n,function(t){c.stackTraceLimit+=6;try{throw new c}catch(n){t.stack=n.stack}c.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(t){console.warn(t)},_.isNode&&process.stderr.isTTY?s=function(t,n){var i=n?"\x1b[33m":"\x1b[31m";console.warn(i+t+"\x1b[0m\n")}:_.isNode||"string"!=typeof(new c).stack||(s=function(t,n){console.warn("%c"+t,n?"color: darkorange":"color: red")}));var et={warnings:E,longStackTraces:!1,cancellation:!1,monitoring:!1};return T&&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 W},boundValueFunction:function(){return q},checkForgottenReturns:function(t,n,i,r,e){if(void 0===t&&null!==n&&R){if(void 0!==e&&e.fn())return;if(0==(65535&r.ot))return;i&&(i+=" ");var u="",o="";if(n.Ht){for(var s=n.Ht.stack.split("\n"),f=z(s),c=f.length-1;c>=0;--c){var h=f[c];if(!g.test(h)){var a=h.match(m);a&&(u="at "+a[1]+":"+a[2]+":"+a[3]+" ");break}}if(f.length>0)for(var v=f[0],c=0;c<s.length;++c)if(s[c]===v){c>0&&(o="\n"+s[c-1]);break}}var l="a promise was created in a "+i+"handler "+u+"but was not returned from it, see http://goo.gl/rRqMUw"+o;r.bt(l,!0,n)}},setBounds:function(t,n){if(J()){for(var i,r,e=(t.stack||"").split("\n"),u=(n.stack||"").split("\n"),o=-1,s=-1,f=0;f<e.length;++f){var c=nt(e[f]);if(c){i=c.fileName,o=c.line;break}}for(var f=0;f<u.length;++f){var c=nt(u[f]);if(c){r=c.fileName,s=c.line;break}}o<0||s<0||!i||!r||i!==r||o>=s||(Q=function(t){if(y.test(t))return!0;var n=nt(t);return!!(n&&n.fileName===i&&o<=n.line&&n.line<=s)})}},warn:X,deprecated:function(t,n){var i=t+" is deprecated and will be removed in a future version.";return n&&(i+=" Use "+n+" instead."),X(i)},CapturedTrace:it,fireDomEvent:N,fireGlobalEvent:O}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,n,i){n.exports=function(t){function n(){return this.value}function i(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(i){return i instanceof t&&i.suppressUnhandledRejections(),this.ut(n,void 0,void 0,{value:i},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this.ut(i,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this.ut(void 0,i,void 0,{reason:t},void 0);var n=arguments[1];return this.caught(t,function(){throw n})},t.prototype.catchReturn=function(i){if(arguments.length<=1)return i instanceof t&&i.suppressUnhandledRejections(),this.ut(void 0,n,void 0,{value:i},void 0);var r=arguments[1];return r instanceof t&&r.suppressUnhandledRejections(),this.caught(i,function(){return r})}}},{}],11:[function(t,n,i){n.exports=function(t,n){var i=t.reduce,r=t.all;function e(){return r(this)}t.prototype.each=function(t){return i(this,t,n,0).ut(e,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return i(this,t,n,n)},t.each=function(t,r){return i(t,r,n,0).ut(e,void 0,void 0,t,void 0)},t.mapSeries=function(t,r){return i(t,r,n,n)}}},{}],12:[function(t,n,i){var r,e,u=t("./es5"),o=u.freeze,s=t("./util"),f=s.inherits,a=s.notEnumerableProp;function v(t,n){function i(r){if(!(this instanceof i))return new i(r);a(this,"message","string"==typeof r?r:n),a(this,"name",t),c.captureStackTrace?c.captureStackTrace(this,this.constructor):c.call(this)}return f(i,c),i}var l=v("Warning","warning"),d=v("CancellationError","cancellation error"),_=v("TimeoutError","timeout error"),w=v("AggregateError","aggregate error");try{r=h,e=RangeError}catch(t){r=v("TypeError","type error"),e=v("RangeError","range error")}for(var p="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),y=0;y<p.length;++y)"function"==typeof Array.prototype[p[y]]&&(w.prototype[p[y]]=Array.prototype[p[y]]);u.defineProperty(w.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),w.prototype.isOperational=!0;var g=0;function m(t){if(!(this instanceof m))return new m(t);a(this,"name","OperationalError"),a(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof c?(a(this,"message",t.message),a(this,"stack",t.stack)):c.captureStackTrace&&c.captureStackTrace(this,this.constructor)}w.prototype.toString=function(){var t=Array(4*g+1).join(" "),n="\n"+t+"AggregateError of:\n";g++,t=Array(4*g+1).join(" ");for(var i=0;i<this.length;++i){for(var r=this[i]===this?"[Circular AggregateError]":this[i]+"",e=r.split("\n"),u=0;u<e.length;++u)e[u]=t+e[u];r=e.join("\n"),n+=r+"\n"}return g--,n},f(m,c);var b=c.jn;b||(b=o({CancellationError:d,TimeoutError:_,OperationalError:m,RejectionError:m,AggregateError:w}),u.defineProperty(c,"jn",{value:b,writable:!1,enumerable:!1,configurable:!1})),n.exports={Error:c,TypeError:r,RangeError:e,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:l}},{"./es5":13,"./util":36}],13:[function(t,n,i){var r=function(){return void 0===this}();if(r)n.exports={freeze:a.freeze,defineProperty:a.defineProperty,getDescriptor:a.getOwnPropertyDescriptor,keys:a.keys,names:a.getOwnPropertyNames,getPrototypeOf:a.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(t,n){var i=a.getOwnPropertyDescriptor(t,n);return!(i&&!i.writable&&!i.set)}};else{var e={}.hasOwnProperty,u={}.toString,o={}.constructor.prototype,s=function(t){var n=[];for(var i in t)e.call(t,i)&&n.push(i);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,i){return t[n]=i.value,t},getDescriptor:function(t,n){return{value:t[n]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return a(t).constructor.prototype}catch(t){return o}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,n,i){n.exports=function(t,n){var i=t.map;t.prototype.filter=function(t,r){return i(this,t,r,n)},t.filter=function(t,r,e){return i(t,r,e,n)}}},{}],15:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),u=n.CancellationError,o=e.errorObj,s=t("./catch_filter")(r);function f(t,n,i){this.promise=t,this.type=n,this.handler=i,this.called=!1,this.cancelPromise=null}function c(t){this.finallyHandler=t}function a(t,n){return null!=t.cancelPromise&&(arguments.length>1?t.cancelPromise.nt(n):t.cancelPromise.zt(),t.cancelPromise=null,!0)}function v(){return d.call(this,this.promise.wt().dn())}function l(t){if(!a(this,t))return o.e=t,o}function d(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===r)return f;if(void 0!==f){e.cn();var h=i(f,e);if(h instanceof n){if(null!=this.cancelPromise){if(h.Yt()){var d=new u("late cancellation observer");return e.Gt(d),o.e=d,o}h.isPending()&&h.Nn(new c(this))}return h.ut(v,l,void 0,this,void 0)}}}return e.isRejected()?(a(this),o.e=t,o):(a(this),t)}return f.prototype.isFinallyHandler=function(){return 0===this.type},c.prototype._resultCancelled=function(){a(this.finallyHandler)},n.prototype.Cn=function(t,n,i,r){return"function"!=typeof t?this.then():this.ut(i,r,void 0,new f(this,n,t),void 0)},n.prototype.lastly=n.prototype.finally=function(t){return this.Cn(t,0,d,d)},n.prototype.tap=function(t){return this.Cn(t,1,d)},n.prototype.tapCatch=function(t){var i=arguments.length;if(1===i)return this.Cn(t,1,void 0,d);var r,u=new Array(i-1),o=0;for(r=0;r<i-1;++r){var f=arguments[r];if(!e.isObject(f))return n.reject(new h("tapCatch statement predicate: expecting an object but got "+e.classString(f)));u[o++]=f}u.length=o;var c=arguments[r];return this.Cn(s(u,c,this),1,void 0,d)},f}},{"./catch_filter":7,"./util":36}],16:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=t("./errors"),f=s.TypeError,h=t("./util"),v=h.errorObj,l=h.tryCatch,d=[];function _(t,i,e,u){if(o.cancellation()){var s=new n(r),f=this.On=new n(r);this.xn=s.lastly(function(){return f}),s.pn(),s.At(this)}else{var c=this.xn=new n(r);c.pn()}this.zn=u,this.Rn=t,this.Bn=i,this.Un=void 0,this.Pn="function"==typeof e?[e].concat(d):d,this.Qn=null,this.Yn=!1}h.inherits(_,u),_.prototype.Fn=function(){return null===this.xn},_.prototype.Gn=function(){this.xn=this.Un=null,o.cancellation()&&null!==this.On&&(this.On.Vn(),this.On=null)},_.prototype.Wn=function(){if(!this.Fn()){var t,i=void 0!==this.Un.return;if(i)this.xn.Zt(),t=l(this.Un.return).call(this.Un,void 0),this.xn.qt();else{var r=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=r,this.xn.Gt(r),this.xn.Zt(),t=l(this.Un.throw).call(this.Un,r),this.xn.qt()}this.Yn=!0,this.Qn=null,this.Hn(t)}},_.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)},_.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)},_.prototype._resultCancelled=function(){if(this.Qn instanceof n){var t=this.Qn;this.Qn=null,t.cancel()}},_.prototype.promise=function(){return this.xn},_.prototype.qn=function(){this.Un=this.Rn.call(this.Bn),this.Bn=this.Rn=void 0,this.Xn(void 0)},_.prototype.Hn=function(t){var i=this.xn;if(t===v)return this.Gn(),this.Yn?i.cancel():i.Jn(t.e,!1);var r=t.value;if(!0===t.done)return this.Gn(),this.Yn?i.cancel():i.ct(r);var u=e(r,this.xn);if(u instanceof n||null!==(u=function(t,i,r){for(var u=0;u<i.length;++u){r.Zt();var o=l(i[u])(t);if(r.qt(),o===v){r.Zt();var s=n.reject(v.e);return r.qt(),s}var f=e(o,r);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(r))+"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 i=a(n).yieldHandler,r=_,e=(new c).stack;return function(){var n=t.apply(this,arguments),u=new r(void 0,void 0,i,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 "+h.classString(t));d.push(t)},n.spawn=function(t){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return i("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var r=new _(t,this),e=r.promise();return r.qn(n.spawn),e}}},{"./errors":12,"./util":36}],17:[function(t,n,i){n.exports=function(n,i,r,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 r=[].slice.call(arguments);t&&r.pop();var e=new i(r).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=n.Kt,f=t("./util"),c=f.tryCatch,a=f.errorObj,v=n.Mt;function l(t,n,i,r){this.constructor$(t),this.xn.pn();var e=s();this.ri=null===e?n:f.domainBind(e,n),this.ei=r===u?new Array(this.length()):null,this.oi=i,this.ai=0,this.ci=[],v.invoke(this.di,this,void 0)}function d(t,i,e,u){if("function"!=typeof i)return r("expecting a function but got "+f.classString(i));var o=0;if(void 0!==e){if("object"!=typeof e||null===e)return n.reject(new h("options argument must be an object but it is "+f.classString(e)));if("number"!=typeof e.concurrency)return n.reject(new h("'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,i,o,u).promise()}f.inherits(l,i),l.prototype.di=function(){this._init$(void 0,-2)},l.prototype._init=function(){},l.prototype.Xn=function(t,i){var r=this.gi,u=this.length(),s=this.ei,f=this.oi;if(i<0){if(r[i=-1*i-1]=t,f>=1&&(this.ai--,this.wi(),this.Fn()))return!0}else{if(f>=1&&this.ai>=f)return r[i]=t,this.ci.push(i),!1;null!==s&&(s[i]=t);var h=this.xn,v=this.ri,l=h.dt();h.Zt();var d=c(v).call(l,t,i,u),_=h.qt();if(o.checkForgottenReturns(d,_,null!==s?"Promise.filter":"Promise.map",h),d===a)return this.nt(d.e),!0;var w=e(d,this.xn);if(w instanceof n){var p=(w=w.wt()).ot;if(0==(50397184&p))return f>=1&&this.ai++,r[i]=w,w.Kn(this,-1*(i+1)),!1;if(0==(33554432&p))return 0!=(16777216&p)?(this.nt(w.ni()),!0):(this.zt(),!0);d=w.$n()}r[i]=d}var y=++this.Ai;return y>=u&&(null!==s?this._i(r,s):this.Mi(r),!0)},l.prototype.wi=function(){for(var t=this.ci,n=this.oi,i=this.gi;t.length>0&&this.ai<n;){if(this.Fn())return;var r=t.pop();this.Xn(i[r],r)}},l.prototype._i=function(t,n){for(var i=n.length,r=new Array(i),e=0,u=0;u<i;++u)t[u]&&(r[e++]=n[u]);r.length=e,this.Mi(r)},l.prototype.preservedValues=function(){return this.ei},n.prototype.map=function(t,n){return d(this,t,n,null)},n.map=function(t,n,i,r){return d(t,n,i,r)}}},{"./util":36}],19:[function(t,n,i){n.exports=function(n,i,r,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 r=new n(i);r.pn(),r.Zt();var e=s(t).apply(this,arguments),o=r.qt();return u.checkForgottenReturns(e,o,"Promise.method",r),r.Ni(e),r}},n.attempt=n.try=function(t){if("function"!=typeof t)return e("expecting a function but got "+o.classString(t));var r,f=new n(i);if(f.pn(),f.Zt(),arguments.length>1){u.deprecated("calling Promise.try with more than 1 argument");var c=arguments[1],h=arguments[2];r=o.isArray(c)?s(t).apply(h,c):s(t).call(h,c)}else r=s(t)();var a=f.qt();return u.checkForgottenReturns(r,a,"Promise.try",f),f.Ni(r),f},n.prototype.Ni=function(t){t===o.errorObj?this.Jn(t.e,!1):this.ct(t,!0)}}},{"./util":36}],20:[function(t,n,i){var r=t("./util"),e=r.maybeWrapAsError,u=t("./errors"),o=u.OperationalError,s=t("./es5"),f=/^(?:name|message|stack|cause)$/;function h(t){var n;if(function(t){return t instanceof c&&s.getPrototypeOf(t)===c.prototype}(t)){(n=new o(t)).name=t.name,n.message=t.message,n.stack=t.stack;for(var i=s.keys(t),e=0;e<i.length;++e){var u=i[e];f.test(u)||(n[u]=t[u])}return n}return r.markAsOriginatingFromRejection(t),t}n.exports=function(t,n){return function(i,r){if(null!==t){if(i){var u=h(e(i));t.Gt(u),t.nt(u)}else if(n){var o=[].slice.call(arguments,1);t.Vn(o)}else t.Vn(r);t=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(t,n,i){n.exports=function(n){var i=t("./util"),r=n.Mt,e=i.tryCatch,u=i.errorObj;function o(t,n){if(!i.isArray(t))return s.call(this,t,n);var o=e(n).apply(this.dt(),[null].concat(t));o===u&&r.throwLater(o.e)}function s(t,n){var i=this.dt(),o=void 0===t?e(n).call(i,null):e(n).call(i,null,t);o===u&&r.throwLater(o.e)}function f(t,n){if(!t){var i=new c(t+"");i.cause=t,t=i}var o=e(n).call(this.dt(),t);o===u&&r.throwLater(o.e)}n.prototype.asCallback=n.prototype.nodeify=function(t,n){if("function"==typeof t){var i=s;void 0!==n&&a(n).spread&&(i=o),this.ut(i,f,void 0,this,t)}return this}}},{"./util":36}],22:[function(t,n,i){n.exports=function(){var i=function(){return new d("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},r=function(){return new N.PromiseInspection(this.wt())},e=function(t){return N.reject(new d(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(N,"Kt",o);var c=t("./es5"),h=t("./async"),v=new h;c.defineProperty(N,"Mt",{value:v});var l=t("./errors"),d=N.TypeError=l.TypeError;N.RangeError=l.RangeError;var _=N.CancellationError=l.CancellationError;N.TimeoutError=l.TimeoutError,N.OperationalError=l.OperationalError,N.RejectionError=l.OperationalError,N.AggregateError=l.AggregateError;var w=function(){},p={},y={},g=t("./thenables")(N,w),m=t("./promise_array")(N,w,g,e,u),b=t("./context")(N),k=b.create,I=t("./debuggability")(N,b),S=(I.CapturedTrace,t("./finally")(N,g,y)),E=t("./catch_filter")(y),T=t("./nodeback"),R=f.errorObj,A=f.tryCatch;function N(t){t!==w&&function(t,n){if(null==t||t.constructor!==N)throw new d("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof n)throw new d("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 O(t){this.promise.ct(t)}function D(t){this.promise.Jn(t,!1)}function C(t){var n=new N(w);n.Ti=t,n.Di=t,n.Ii=t,n.Ei=t}return N.prototype.toString=function(){return"[object Promise]"},N.prototype.caught=N.prototype.catch=function(t){var n=arguments.length;if(n>1){var i,r=new Array(n-1),u=0;for(i=0;i<n-1;++i){var o=arguments[i];if(!f.isObject(o))return e("Catch statement predicate: expecting an object but got "+f.classString(o));r[u++]=o}if(r.length=u,"function"!=typeof(t=arguments[i]))throw new d("The last argument to .catch() must be a function, got "+f.toString(t));return this.then(void 0,E(r,t,this))}return this.then(void 0,t)},N.prototype.reflect=function(){return this.ut(r,r,void 0,this,void 0)},N.prototype.then=function(t,n){if(I.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof n){var i=".then() only accepts functions but was passed: "+f.classString(t);arguments.length>1&&(i+=", "+f.classString(n)),this.bt(i)}return this.ut(t,n,void 0,void 0,void 0)},N.prototype.done=function(t,n){var i=this.ut(t,n,void 0,void 0,void 0);i.Li()},N.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,p,void 0)},N.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},N.prototype.all=function(){return arguments.length>0&&this.bt(".all() was passed arguments but it does not take any"),new m(this).promise()},N.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},N.getNewLibraryCopy=n.exports,N.is=function(t){return t instanceof N},N.fromNode=N.fromCallback=function(t){var n=new N(w);n.pn();var i=arguments.length>1&&!!a(arguments[1]).multiArgs,r=A(t)(T(n,i));return r===R&&n.Jn(r.e,!0),n.ji()||n.Ci(),n},N.all=function(t){return new m(t).promise()},N.cast=function(t){var n=g(t);return n instanceof N||((n=new N(w)).pn(),n.Oi(),n.Di=t),n},N.resolve=N.fulfilled=N.cast,N.reject=N.rejected=function(t){var n=new N(w);return n.pn(),n.Jn(t,!0),n},N.setScheduler=function(t){if("function"!=typeof t)throw new d("expecting a function but got "+f.classString(t));return v.setScheduler(t)},N.prototype.ut=function(t,n,i,r,e){var u=void 0!==e,s=u?e:new N(w),c=this.wt(),h=c.ot;u||(s.vt(this,3),s.pn(),void 0===r&&0!=(2097152&this.ot)&&(r=0!=(50397184&h)?this.dt():c===this?void 0:this._t),this.In("promiseChained",this,s));var a=o();if(0!=(50397184&h)){var l,d,p=c.xi;0!=(33554432&h)?(d=c.Di,l=t):0!=(16777216&h)?(d=c.Ti,l=n,c._n()):(p=c.zi,d=new _("late cancellation observer"),c.Gt(d),l=n),v.invoke(p,c,{handler:null===a?l:"function"==typeof l&&f.domainBind(a,l),promise:s,receiver:r,value:d})}else c.Ri(t,n,s,r,a);return s},N.prototype.Ut=function(){return 65535&this.ot},N.prototype.ji=function(){return 0!=(117506048&this.ot)},N.prototype.Dt=function(){return 67108864==(67108864&this.ot)},N.prototype.Bi=function(t){this.ot=-65536&this.ot|65535&t},N.prototype.Oi=function(){this.ot=33554432|this.ot,this.In("promiseFulfilled",this)},N.prototype.Ui=function(){this.ot=16777216|this.ot,this.In("promiseRejected",this)},N.prototype.Pi=function(){this.ot=67108864|this.ot,this.In("promiseResolved",this)},N.prototype.Li=function(){this.ot=4194304|this.ot},N.prototype.Qi=function(){return(4194304&this.ot)>0},N.prototype.Yi=function(){this.ot=-65537&this.ot},N.prototype.Rt=function(){this.ot=65536|this.ot,this.In("promiseCancelled",this)},N.prototype.Lt=function(){this.ot=8388608|this.ot},N.prototype.Ci=function(){v.hasCustomScheduler()||(this.ot=134217728|this.ot)},N.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},N.prototype.Gi=function(t){return this[4*t-4+2]},N.prototype.Vi=function(t){return this[4*t-4+0]},N.prototype.Wi=function(t){return this[4*t-4+1]},N.prototype.dt=function(){},N.prototype.Hi=function(t){t.ot;var n=t.Ti,i=t.Di,r=t.Ii,e=t.Fi(0);void 0===e&&(e=s),this.Ri(n,i,r,e,null)},N.prototype.Xi=function(t,n){var i=t.Vi(n),r=t.Wi(n),e=t.Gi(n),u=t.Fi(n);void 0===u&&(u=s),this.Ri(i,r,e,u,null)},N.prototype.Ri=function(t,n,i,r,e){var u=this.Ut();if(u>=65531&&(u=0,this.Bi(0)),0===u)this.Ii=i,this.Ei=r,"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]=i,this[o+3]=r,"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},N.prototype.Kn=function(t,n){this.Ri(void 0,void 0,n,t,null)},N.prototype.ct=function(t,n){if(0==(117506048&this.ot)){if(t===this)return this.Jn(i(),!1);var r=g(t,this);if(!(r instanceof N))return this.Vn(t);n&&this.vt(r,2);var e=r.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 _("late cancellation observer");e.Gt(f),this.nt(f)}}else this.nt(i())}},N.prototype.Jn=function(t,n,i){var r=f.ensureErrorObject(t),e=r===t;if(!e&&!i&&I.warnings()){var u="a promise was rejected with a non-error: "+f.classString(t);this.bt(u,!0)}this.Gt(r,!!n&&e),this.nt(t)},N.prototype.Si=function(t){if(t!==w){var n=this;this.pn(),this.Zt();var i=!0,r=this.Dn(t,function(t){n.ct(t)},function(t){n.Jn(t,i)});i=!1,this.qt(),void 0!==r&&n.Jn(r,!0)}},N.prototype.qi=function(t,n,i,r){var e=r.ot;if(0==(65536&e)){var u;r.Zt(),n===p?i&&"number"==typeof i.length?u=A(t).apply(this.dt(),i):(u=R).e=new d("cannot .spread() a non-array: "+f.classString(i)):u=A(t).call(n,i);var o=r.qt();0==(65536&(e=r.ot))&&(u===y?r.nt(i):u===R?r.Jn(u.e,!1):(I.checkForgottenReturns(u,o,"",r,this),r.ct(u)))}},N.prototype.wt=function(){for(var t=this;t.Dt();)t=t.It();return t},N.prototype.It=function(){return this.Di},N.prototype.Zi=function(t){this.Di=t},N.prototype.Ji=function(t,n,i,e){var o=t instanceof N,s=this.ot,f=0!=(134217728&s);0!=(65536&s)?(o&&t.Wt(),i instanceof S&&i.isFinallyHandler()?(i.cancelPromise=t,A(n).call(i,e)===R&&t.nt(R.e)):n===r?t.Vn(r.call(i)):i instanceof u?i.Wn(t):o||t instanceof m?t.zt():i.cancel()):"function"==typeof n?o?(f&&t.Ci(),this.qi(n,i,e,t)):n.call(i,e,t):i instanceof u?i.Fn()||(0!=(33554432&s)?i.Xn(e,t):i.Zn(e,t)):o&&(f&&t.Ci(),0!=(33554432&s)?t.Vn(e):t.nt(e))},N.prototype.zi=function(t){var n=t.handler,i=t.promise,r=t.receiver,e=t.value;"function"==typeof n?i instanceof N?this.qi(n,r,e,i):n.call(r,e,i):i instanceof N&&i.nt(e)},N.prototype.xi=function(t){this.Ji(t.promise,t.handler,t.receiver,t.value)},N.prototype.Ki=function(t,n,i){var r=this.Ii,e=this.Fi(0);this.Ii=void 0,this.Ei=void 0,this.Ji(r,t,e,n)},N.prototype.$i=function(t){var n=4*t-4;this[n+2]=this[n+3]=this[n+0]=this[n+1]=void 0},N.prototype.Vn=function(t){var n=this.ot;if(!((117506048&n)>>>16)){if(t===this){var r=i();return this.Gt(r),this.nt(r)}this.Oi(),this.Di=t,(65535&n)>0&&(0!=(134217728&n)?this.J():v.settlePromises(this),this.Mn())}},N.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()}},N.prototype.ir=function(t,n){for(var i=1;i<t;i++){var r=this.Vi(i),e=this.Gi(i),u=this.Fi(i);this.$i(i),this.Ji(e,r,u,n)}},N.prototype.rr=function(t,n){for(var i=1;i<t;i++){var r=this.Wi(i),e=this.Gi(i),u=this.Fi(i);this.$i(i),this.Ji(e,r,u,n)}},N.prototype.J=function(){var t=this.ot,n=65535&t;if(n>0){if(0!=(16842752&t)){var i=this.Ti;this.Ki(this.Di,i,t),this.rr(n,i)}else{var r=this.Di;this.Ki(this.Ti,r,t),this.ir(n,r)}this.Bi(0)}this.Tn()},N.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&&c.defineProperty(N.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),N.defer=N.pending=function(){I.deprecated("Promise.defer","new Promise");var t=new N(w);return{promise:t,resolve:O,reject:D}},f.notEnumerableProp(N,"dr",i),t("./method")(N,w,g,e,I),t("./bind")(N,w,g,I),t("./cancel")(N,m,e,I),t("./direct_resolve")(N),t("./synchronous_inspection")(N),t("./join")(N,m,g,w,v,o),N.Promise=N,N.version="3.5.5",t("./call_get.js")(N),t("./generators.js")(N,e,w,g,u,I),t("./map.js")(N,m,e,g,w,I),t("./nodeify.js")(N),t("./promisify.js")(N,w),t("./props.js")(N,m,g,e),t("./race.js")(N,w,g,e),t("./reduce.js")(N,m,e,g,w,I),t("./settle.js")(N,m,I),t("./some.js")(N,m,e),t("./timers.js")(N,w,I),t("./using.js")(N,e,g,k,w,I),t("./any.js")(N),t("./each.js")(N,w),t("./filter.js")(N,w),f.toFastProperties(N),f.toFastProperties(N.prototype),C({a:1}),C({b:2}),C({c:3}),C(1),C(function(){}),C(void 0),C(!1),C(new N(w)),I.setBounds(h.firstLineError,f.lastLineError),N}},{"./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,i){n.exports=function(n,i,r,e,u){var o=t("./util");function s(t){var r=this.xn=new n(i);t instanceof n&&r.vt(t,3),r.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(i,u){var s=r(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 c=e("expecting an array or an iterable object but got "+o.classString(s)).reason();this.xn.Jn(c,!1)}},s.prototype.gr=function(t){var i=this.getActualLength(t.length);this.Ut=i,this.gi=this.shouldCopyValues()?new Array(i):this.gi;for(var e=this.xn,u=!1,o=null,s=0;s<i;++s){var f=r(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 i=++this.Ai;return i>=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 i=0;i<t.length;++i)t[i]instanceof n&&t[i].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(t){return t},s}},{"./util":36}],24:[function(t,n,i){n.exports=function(n,i){var r={},e=t("./util"),u=t("./nodeback"),o=e.withAppended,s=e.maybeWrapAsError,f=e.canEvaluate,c=t("./errors").TypeError,h={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 d(t){return!v.test(t)}function _(t){try{return!0===t.yr}catch(t){return!1}}function w(t,n,i){var r=e.getDataPropertyOrDefault(t,n+i,h);return!!r&&_(r)}function p(t,n,i,r){for(var u=e.inheritedDataKeys(t),o=[],s=0;s<u.length;++s){var f=u[s],h=t[f],a=r===l||l(f);"function"!=typeof h||_(h)||w(t,f,n)||!r(f,h,t,a)||o.push(f,h)}return function(t,n,i){for(var r=0;r<t.length;r+=2){var e=t[r];if(i.test(e))for(var u=e.replace(i,""),o=0;o<t.length;o+=2)if(t[o]===u)throw new c("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",n))}}(o,n,i),o}var y=function(t){return t.replace(/([$])/,"\\$")},g=f?void 0:function(t,f,c,h,a,v){var l=function(){return this}(),d=t;function _(){var e=f;f===r&&(e=this);var c=new n(i);c.pn();var h="string"==typeof d&&this!==l?this[d]:t,a=u(c,v);try{h.apply(e,o(arguments,a))}catch(t){c.Jn(s(t),!0,!0)}return c.ji()||c.Ci(),c}return"string"==typeof d&&(t=h),e.notEnumerableProp(_,"yr",!0),_};function m(t,n,i,u,o){for(var s=new RegExp(y(n)+"$"),f=p(t,n,s,i),c=0,h=f.length;c<h;c+=2){var a=f[c],v=f[c+1],l=a+n;if(u===g)t[l]=g(a,r,a,v,n,o);else{var d=u(v,function(){return g(a,r,a,v,n,o)});e.notEnumerableProp(d,"yr",!0),t[l]=d}}return e.toFastProperties(t),t}n.promisify=function(t,n){if("function"!=typeof t)throw new c("expecting a function but got "+e.classString(t));if(_(t))return t;var i=void 0===(n=a(n)).context?r:n.context,u=!!n.multiArgs,o=function(t,n,i){return g(t,n,void 0,t,null,i)}(t,i,u);return e.copyDescriptors(t,o,d),o},n.promisifyAll=function(t,n){if("function"!=typeof t&&"object"!=typeof t)throw new c("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var i=!!(n=a(n)).multiArgs,r=n.suffix;"string"!=typeof r&&(r="Async");var u=n.filter;"function"!=typeof u&&(u=l);var o=n.promisifier;if("function"!=typeof o&&(o=g),!e.isIdentifier(r))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 h=t[s[f]];"constructor"!==s[f]&&e.isClass(h)&&(m(h.prototype,r,u,o,i),m(h,r,u,o,i))}return m(t,r,u,o,i)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(t,n,i){n.exports=function(n,i,r,e){var u,o=t("./util"),s=o.isObject,f=t("./es5");"function"==typeof Map&&(u=Map);var c=function(){var t=0,n=0;function i(i,r){this[t]=i,this[t+n]=r,t++}return function(r){n=r.size,t=0;var e=new Array(2*r.size);return r.forEach(i,e),e}}();function h(t){var n,i=!1;if(void 0!==u&&t instanceof u)n=c(t),i=!0;else{var r=f.keys(t),e=r.length;n=new Array(2*e);for(var o=0;o<e;++o){var s=r[o];n[o]=t[s],n[o+e]=s}}this.constructor$(n),this.Ar=i,this._init$(void 0,i?-6:-3)}function a(t){var i,u=r(t);return s(u)?(i=u instanceof n?u.ut(n.props,void 0,void 0,void 0,void 0):new h(u).promise(),u instanceof n&&i.vt(u,2),i):e("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}o.inherits(h,i),h.prototype._init=function(){},h.prototype.Xn=function(t,n){this.gi[n]=t;var i=++this.Ai;if(i>=this.Ut){var r;if(this.Ar)r=function(t){for(var n=new u,i=t.length/2|0,r=0;r<i;++r){var e=t[i+r],o=t[r];n.set(e,o)}return n}(this.gi);else{r={};for(var e=this.length(),o=0,s=this.length();o<s;++o)r[this.gi[o+e]]=this.gi[o]}return this.Mi(r),!0}return!1},h.prototype.shouldCopyValues=function(){return!1},h.prototype.getActualLength=function(t){return t>>1},n.prototype.props=function(){return a(this)},n.props=function(t){return a(t)}}},{"./es5":13,"./util":36}],26:[function(t,n,i){function r(t){this._r=t,this.Ut=0,this.Mr=0}r.prototype.Nr=function(t){return this._r<t},r.prototype.q=function(t){var n=this.length();this.Tr(n+1);var i=this.Mr+n&this._r-1;this[i]=t,this.Ut=n+1},r.prototype.push=function(t,n,i){var r=this.length()+3;if(this.Nr(r))return this.q(t),this.q(n),void this.q(i);var e=this.Mr+r-3;this.Tr(r);var u=this._r-1;this[e+0&u]=t,this[e+1&u]=n,this[e+2&u]=i,this.Ut=r},r.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},r.prototype.length=function(){return this.Ut},r.prototype.Tr=function(t){this._r<t&&this.Dr(this._r<<1)},r.prototype.Dr=function(t){var n=this._r;this._r=t;var i=this.Mr,r=this.Ut,e=i+r&n-1;!function(t,n,i,r,e){for(var u=0;u<e;++u)i[u+r]=t[u+n],t[u+n]=void 0}(this,0,this,n,e)},n.exports=r},{}],27:[function(t,n,i){n.exports=function(n,i,r,e){var u=t("./util"),o=function(t){return t.then(function(n){return s(n,t)})};function s(t,s){var f=r(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 c=new n(i);void 0!==s&&c.vt(s,3);for(var h=c.Vn,a=c.nt,v=0,l=t.length;v<l;++v){var d=t[v];(void 0!==d||v in t)&&n.cast(d).ut(h,a,void 0,c,null)}return c}n.race=function(t){return s(t,void 0)},n.prototype.race=function(){return s(this,void 0)}}},{"./util":36}],28:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=n.Kt,f=t("./util"),c=f.tryCatch;function h(t,i,r,e){this.constructor$(t);var o=s();this._fn=null===o?i:f.domainBind(o,i),void 0!==r&&(r=n.resolve(r)).Nn(this),this.Er=r,this.Sr=null,this.Lr=e===u?Array(this.Ut):0===e?null:void 0,this.xn.pn(),this._init$(void 0,-5)}function a(t,n){this.isFulfilled()?n.Mi(t):n.nt(t)}function v(t,n,i,e){if("function"!=typeof n)return r("expecting a function but got "+f.classString(n));var u=new h(t,n,i,e);return u.promise()}function l(t){this.accum=t,this.array.jr(t);var i=e(this.value,this.array.xn);return i instanceof n?(this.array.Sr=i,i.ut(d,void 0,void 0,this,void 0)):d.call(this,i)}function d(t){var i,r=this.array,e=r.xn,u=c(r._fn);e.Zt(),(i=void 0!==r.Lr?u.call(e.dt(),t,this.index,this.length):u.call(e.dt(),this.accum,t,this.index,this.length))instanceof n&&(r.Sr=i);var s=e.qt();return o.checkForgottenReturns(i,s,void 0!==r.Lr?"Promise.each":"Promise.reduce",e),i}f.inherits(h,i),h.prototype.jr=function(t){void 0!==this.Lr&&null!==this.Lr&&t!==u&&this.Lr.push(t)},h.prototype.Cr=function(t){return null!==this.Lr&&this.Lr.push(t),this.Lr},h.prototype._init=function(){},h.prototype.wr=function(){this.Mi(void 0!==this.Lr?this.Lr:this.Er)},h.prototype.shouldCopyValues=function(){return!1},h.prototype.Mi=function(t){this.xn.ct(t),this.gi=null},h.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())},h.prototype.gr=function(t){var i,r;this.gi=t;var e=t.length;if(void 0!==this.Er?(i=this.Er,r=0):(i=n.resolve(t[0]),r=1),this.Sr=i,!i.isRejected())for(;r<e;++r){var u={accum:null,value:t[r],index:r,length:e,array:this};i=i.ut(l,void 0,void 0,u,void 0)}void 0!==this.Lr&&(i=i.ut(this.Cr,void 0,void 0,this,void 0)),i.ut(a,a,void 0,i,this)},n.prototype.reduce=function(t,n){return v(this,t,n,null)},n.reduce=function(t,n,i,r){return v(t,n,i,r)}}},{"./util":36}],29:[function(t,n,e){var o,s,f,h,a,v=t("./util"),l=v.getNativePromise();if(v.isNode&&"undefined"==typeof MutationObserver){var d=p.setImmediate,_=process.nextTick;o=v.isRecentNode?function(t){d.call(p,t)}:function(t){_.call(process,t)}}else if("function"==typeof l&&"function"==typeof l.resolve){var w=l.resolve();o=function(t){w.then(t)}}else o="undefined"!=typeof MutationObserver&&(void 0===i||!i.navigator||!i.navigator.standalone&&!i.cordova)&&"classList"in r.documentElement?(s=r.createElement("div"),f={attributes:!0},h=!1,a=r.createElement("div"),new MutationObserver(function(){s.classList.toggle("foo"),h=!1}).observe(a,f),function(t){var n=new MutationObserver(function(){n.disconnect(),t()});n.observe(s,f),h||(h=!0,a.classList.toggle("foo"))}):"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:void 0!==u?function(t){u(t,0)}:function(){throw new c("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};n.exports=o},{"./util":36}],30:[function(t,n,i){n.exports=function(n,i,r){var e=n.PromiseInspection,u=t("./util");function o(t){this.constructor$(t)}u.inherits(o,i),o.prototype.Or=function(t,n){this.gi[t]=n;var i=++this.Ai;return i>=this.Ut&&(this.Mi(this.gi),!0)},o.prototype.Xn=function(t,n){var i=new e;return i.ot=33554432,i.xr=t,this.Or(n,i)},o.prototype.Zn=function(t,n){var i=new e;return i.ot=16777216,i.xr=t,this.Or(n,i)},n.settle=function(t){return r.deprecated(".settle()",".reflect()"),new o(t).promise()},n.prototype.settle=function(){return n.settle(this)}}},{"./util":36}],31:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),u=t("./errors").RangeError,o=t("./errors").AggregateError,s=e.isArray,f={};function c(t){this.constructor$(t),this.zr=0,this.Rr=!1,this.Br=!1}function h(t,n){if((0|n)!==n||n<0)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var i=new c(t),e=i.promise();return i.setHowMany(n),i.init(),e}e.inherits(c,i),c.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([])},c.prototype.init=function(){this.Br=!0,this._init()},c.prototype.setUnwrap=function(){this.Rr=!0},c.prototype.howMany=function(){return this.zr},c.prototype.setHowMany=function(t){this.zr=t},c.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)},c.prototype.Zn=function(t){return this.Fr(t),this.Gr()},c.prototype.Wn=function(){return this.gi instanceof n||null==this.gi?this.zt():(this.Fr(f),this.Gr())},c.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},c.prototype.Yr=function(){return this.Ai},c.prototype.Vr=function(){return this.gi.length-this.length()},c.prototype.Fr=function(t){this.gi.push(t)},c.prototype.Qr=function(t){this.gi[this.Ai++]=t},c.prototype.Ur=function(){return this.length()-this.Vr()},c.prototype.Pr=function(t){var n="Input array must contain at least "+this.zr+" items but contains only "+t+" items";return new u(n)},c.prototype.wr=function(){this.nt(this.Pr(0))},n.some=function(t,n){return h(t,n)},n.prototype.some=function(t){return h(this,t)},n.g=c}},{"./errors":12,"./util":36}],32:[function(t,n,i){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 i=n.prototype.value=function(){if(!this.isFulfilled())throw new h("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this.dn()},r=n.prototype.error=n.prototype.reason=function(){if(!this.isRejected())throw new h("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 i.call(this.wt())},t.prototype.reason=function(){var t=this.wt();return t._n(),r.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,i){n.exports=function(n,i){var r=t("./util"),e=r.errorObj,u=r.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 c=n.reject(f.e);return s&&s.qt(),c}if("function"==typeof f){if(function(t){try{return o.call(t,"Ii")}catch(t){return!1}}(t)){var c=new n(i);return t.ut(c.Vn,c.nt,void 0,c,null),c}return function(t,u,o){var s=new n(i),f=s;o&&o.Zt(),s.pn(),o&&o.qt();var c=!0,h=r.tryCatch(u).call(t,function(t){s&&(s.ct(t),s=null)},function(t){s&&(s.Jn(t,c,!0),s=null)});return c=!1,s&&h===e&&(s.Jn(h.e,!0,!0),s=null),f}(t,f,s)}}return t}}},{"./util":36}],34:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),s=n.TimeoutError;function f(t){this.handle=t}f.prototype._resultCancelled=function(){o(this.handle)};var h=function(t){return a(+this).thenReturn(t)},a=n.delay=function(t,e){var o,s;return void 0!==e?(o=n.resolve(e).ut(h,null,null,t,void 0),r.cancellation()&&e instanceof n&&o.At(e)):(o=new n(i),s=u(function(){o.Vn()},+t),r.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 a(t,this)},n.prototype.timeout=function(t,n){var i,o,h=new f(u(function(){i.isPending()&&function(t,n,i){var r;r="string"!=typeof n?n instanceof c?n:new s("operation timed out"):new s(n),e.markAsOriginatingFromRejection(r),t.Gt(r),t.nt(r),null!=i&&i.cancel()}(i,n,o)},t=+t));return r.cancellation()?(o=this.then(),(i=o.ut(v,l,void 0,h,void 0)).At(h)):i=this.ut(v,l,void 0,h,void 0),i}}},{"./util":36}],35:[function(t,n,i){n.exports=function(n,i,r,e,o,s){var f=t("./util"),c=t("./errors").TypeError,h=t("./util").inherits,a=f.errorObj,v=f.tryCatch,l={};function d(t){u(function(){throw t},0)}function _(t,i){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=r(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=r(f.Xr().tryDispose(i),t.promise)}catch(t){return d(t)}if(f instanceof n)return f.ut(o,d,null,null,null)}o()}(),s}function w(t,n,i){this.qr=t,this.xn=n,this.Jr=i}function p(t,n,i){this.constructor$(t,n,i)}function y(t){return w.isDisposer(t)?(this.resources[this.index].Zr(t),t.promise()):t}function g(t){this.length=t,this.promise=null,this[t-1]=null}w.prototype.data=function(){return this.qr},w.prototype.promise=function(){return this.xn},w.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():l},w.prototype.tryDispose=function(t){var n=this.resource(),i=this.Jr;void 0!==i&&i.Zt();var r=n!==l?this.doDispose(n,t):null;return void 0!==i&&i.qt(),this.xn.Kr(),this.qr=null,r},w.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},h(p,w),p.prototype.doDispose=function(t,n){var i=this.data();return i.call(t,t,n)},g.prototype._resultCancelled=function(){for(var t=this.length,i=0;i<t;++i){var r=this[i];r instanceof n&&r.cancel()}},n.using=function(){var t=arguments.length;if(t<2)return i("you must pass at least 2 arguments to Promise.using");var e,u=arguments[t-1];if("function"!=typeof u)return i("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 c=new g(t),h=0;h<t;++h){var l=e[h];if(w.isDisposer(l)){var d=l;(l=l.promise()).Zr(d)}else{var p=r(l);p instanceof n&&(l=p.ut(y,null,null,{resources:c,index:h},void 0))}c[h]=l}for(var m=new Array(c.length),h=0;h<m.length;++h)m[h]=n.resolve(c[h]).reflect();var b=n.all(m).then(function(t){for(var n=0;n<t.length;++n){var i=t[n];if(i.isRejected())return a.e=i.error(),a;if(!i.isFulfilled())return void b.cancel();t[n]=i.value()}k.Zt(),u=v(u);var r=o?u.apply(void 0,t):u(t),e=k.qt();return s.checkForgottenReturns(r,e,"Promise.using",k),r}),k=b.lastly(function(){var t=new n.PromiseInspection(b);return _(c,t)});return c.promise=k,k.At(c),k},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 p(t,this,e());throw new c}}},{"./errors":12,"./util":36}],36:[function(n,r,u){var o,s=n("./es5"),f=void 0===e,h={e:{}},v=void 0!==t?t:void 0!==i?i:void 0!==p?p:void 0!==this?this:null;function l(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return h.e=t,h}}function d(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function _(t,n,i){if(d(t))return t;var r={value:i,configurable:!0,enumerable:!1,writable:!0};return s.defineProperty(t,n,r),t}var w=function(){var t=[Array.prototype,a.prototype,Function.prototype],n=function(n){for(var i=0;i<t.length;++i)if(t[i]===n)return!0;return!1};if(s.isES5){var i=a.getOwnPropertyNames;return function(t){for(var r=[],e=a.create(null);null!=t&&!n(t);){var u;try{u=i(t)}catch(t){return r}for(var o=0;o<u.length;++o){var f=u[o];if(!e[f]){e[f]=!0;var c=a.getOwnPropertyDescriptor(t,f);null!=c&&null==c.get&&null==c.set&&r.push(f)}}t=s.getPrototypeOf(t)}return r}}var r={}.hasOwnProperty;return function(i){if(n(i))return[];var e=[];t:for(var u in i)if(r.call(i,u))e.push(u);else{for(var o=0;o<t.length;++o)if(r.call(t[o],u))continue t;e.push(u)}return e}}(),y=/this\s*\.\s*\S+\s*=/,g=/^[a-z$_][a-z$_0-9]*$/i;function m(t){try{return t+""}catch(t){return"[no string representation]"}}function b(t){return t instanceof c||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function k(t){return b(t)&&s.propertyIsWritable(t,"stack")}var I="stack"in new c?function(t){return k(t)?t:new c(m(t))}:function(t){if(k(t))return t;try{throw new c(m(t))}catch(t){return t}};function S(t){return{}.toString.call(t)}var E=function(t){return s.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var T="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var n,i=[],r=t[Symbol.iterator]();!(n=r.next()).done;)i.push(n.value);return i};E=function(t){return s.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?T(t):null}}var R,A="undefined"!=typeof process&&"[object process]"===S(process).toLowerCase(),N="undefined"!=typeof process&&void 0!==process.env,O={isClass:function(t){try{if("function"==typeof t){var n=s.names(t.prototype),i=s.isES5&&n.length>1,r=n.length>0&&!(1===n.length&&"constructor"===n[0]),e=y.test(t+"")&&s.names(t).length>0;if(i||r||e)return!0}return!1}catch(t){return!1}},isIdentifier:function(t){return g.test(t)},inheritedDataKeys:w,getDataPropertyOrDefault:function(t,n,i){if(!s.isES5)return{}.hasOwnProperty.call(t,n)?t[n]:void 0;var r=a.getOwnPropertyDescriptor(t,n);return null!=r?null==r.get&&null==r.set?r.value:i:void 0},thrower:function(t){throw t},isArray:s.isArray,asArray:E,notEnumerableProp:_,isPrimitive:d,isObject:function(t){return"function"==typeof t||"object"==typeof t&&null!==t},isError:b,canEvaluate:f,errorObj:h,tryCatch:function(t){return o=t,l},inherits:function(t,n){var i={}.hasOwnProperty;function r(){for(var r in this.constructor=t,this.constructor$=n,n.prototype)i.call(n.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=n.prototype[r])}return r.prototype=n.prototype,t.prototype=new r,t.prototype},withAppended:function(t,n){var i,r=t.length,e=new Array(r+1);for(i=0;i<r;++i)e[i]=t[i];return e[i]=n,e},maybeWrapAsError:function(t){return d(t)?new c(m(t)):t},toFastProperties:function(t){return t},filledRange:function(t,n,i){for(var r=new Array(t),e=0;e<t;++e)r[e]=n+e+i;return r},toString:m,canAttachTrace:k,ensureErrorObject:I,originatesFromRejection:function(t){return null!=t&&(t instanceof c.jn.OperationalError||!0===t.isOperational)},markAsOriginatingFromRejection:function(t){try{_(t,"isOperational",!0)}catch(t){}},classString:S,copyDescriptors:function(t,n,i){for(var r=s.names(t),e=0;e<r.length;++e){var u=r[e];if(i(u))try{s.defineProperty(n,u,s.getDescriptor(t,u))}catch(t){}}},hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:A,hasEnvVariables:N,env:function(t){return N?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)}};O.isRecentNode=O.isNode&&(process.versions&&process.versions.node?R=process.versions.node.split(".").map(Number):process.version&&(R=process.version.split(".").map(Number)),0===R[0]&&R[1]>10||R[0]>0),O.isNode&&O.toFastProperties(process);try{throw new c}catch(t){O.lastLineError=t}r.exports=O},{"./es5":13}]},{},[4])(4),null!=i?i.P=i.Promise:null!=t&&(t.P=t.Promise)});var m,b=function(){};(m=g)&&m.config({warnings:!1,longStackTraces:!1});var k,I,S,E,T,R;m&&(E=m.setScheduler(b),k=E,T={fe:function(t){I=t,k(S)},we:S=function(){var t=I;t&&(I=void 0,t())}},m.setScheduler(T.fe));function A(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function N(t,n,i){return n&&A(t.prototype,n),i&&A(t,i),t}function O(t,n){return(O=a.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function D(t,n){t.prototype=a.create(n.prototype),t.prototype.constructor=t,O(t,n)}!function(t){t.ye="web",t.Ae="android",t._e="android-tv",t.pe="ios",t.ke="tvos",t.me="chromecast"}(R||(R={}));var C=e?e.userAgent:"",F=C.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),P=C.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),j=C.match(/Android ([0-9\.]+)/i),B=C.match(/Windows NT ([0-9\.]+)/i),M=C.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),x=C.match(/Firefox\/([0-9\.]+)/i),L=C.match(/OPR\/(\d+\.\d+)/i),U=C.match(/Tizen ([0-9\.]+)/i),W=function(){function n(){this.Me=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.Ne=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(C)||/(macintosh|mac(?=_powerpc)\s)/i.test(C),this.Te=/Windows NT/i.test(C),this.De=B?d(B[1]):0,this.Ie=/Android/i.test(C),this.Ee=j?d(j[1]):0,this.Se=/windows phone (8|8\.1)/i.test(C),this.Le=/iPhone/i.test(C),this.je=/iPad/i.test(C),this.Ce=this.Ne&&this.Me&&!this.je,this.Oe=/iPod/i.test(C),this.xe=/Mobile Safari/i.test(C),this.ze=/EOSSTB/i.test(C),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(C),this.Pe=Boolean(t.chrome&&/google/i.test(e.vendor))||this.Ue,this.Qe=this.Pe&&/Edg\//i.test(e.userAgent),this.Ye=P?l(P[1],10):0,this.Fe=Boolean(t.chrome||/Chrome/i.test(C)||/CriOS/i.test(C)),this.Ge=F?l(F[1],10):0,this.Ve=/SMART-TV.*Tizen/i.test(C),this.We=U?d(U[1]):0,this.He=/webos|web0s/i.test(C),this.Xe=/Edge\/\d+/i.test(C),this.Ze=/Trident/i.test(C),this.qe=this.Ze&&!t.ActiveXObject&&"ActiveXObject"in t,this.Je=/Vivaldi/i.test(C),this.Ke=/Firefox/i.test(C)&&!/Seamonkey/i.test(C),this.$e=x?d(x[1]):0,this.ns=/Safari/i.test(C)&&!/Chrome/i.test(C)&&!this.Se&&!this.Ve,this.rs=M?d(M[2]):0,this.us=Boolean(L),this.hs=L?d(L[1]):0,this.fs=/CrKey/.test(C),this.vs=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(C),this.ds="web"===R._e,this.ls="web"===R.Ae,this.gs=this.ls||this.ds,this.ys="web"===R.pe,this.As="web"===R.ke,this._s="web"===R.me}return N(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}();W.Mu=new W;var q=W.Mu;var G=!(q.Zs&&!q.qs),V=t.console;function H(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(H).join(" ")}function z(t){var n=V&&V[t];return n?n.bind&&G?n.bind(V):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];V[t](X(i))}:void 0}var $,K=z("log")||b,Y=z("warn")||K.bind(void 0,"WARNING:"),Z=z("error")||K.bind(void 0,"ERROR:"),J=($=V&&V.assert)?$.bind&&G?$.bind(V):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];V.assert(t,X(i))}:function(t){if(!t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];Z.apply(void 0,["Assertion failed:"].concat(i))}},Q=nt,tt=null;try{tt=new WebAssembly.Instance(new WebAssembly.Module(new w([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 nt(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function it(t){return!0===(t&&t.bu)}nt.prototype.bu,a.defineProperty(nt.prototype,"bu",{value:!0}),nt.isLong=it;var rt={},et={};function ut(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=et[t])?r:(i=st(t,(0|t)<0?-1:0,!0),e&&(et[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=rt[t])?r:(i=st(t,t<0?-1:0,!1),e&&(rt[t]=i),i)}function ot(t,n){if(_(t))return n?wt:_t;if(n){if(t<0)return wt;if(t>=vt)return bt}else{if(t<=-lt)return kt;if(t+1>=lt)return mt}return t<0?ot(-t,n).neg():st(t%at|0,t/at|0,n)}function st(t,n,i){return new nt(t,n,i)}nt.fromInt=ut,nt.fromNumber=ot,nt.fromBits=st;var ft=v.pow;function ct(t,n,i){if(0===t.length)throw c("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return _t;if("number"==typeof n?(i=n,n=!1):n=!!n,(i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw c("interior hyphen");if(0===r)return ct(t.substring(1),n,i).neg();for(var e=ot(ft(i,8)),u=_t,o=0;o<t.length;o+=8){var s=v.min(8,t.length-o),f=l(t.substring(o,o+s),i);if(s<8){var h=ot(ft(i,s));u=u.mul(h).add(ot(f))}else u=(u=u.mul(e)).add(ot(f))}return u.unsigned=n,u}function ht(t,n){return"number"==typeof t?ot(t,n):"string"==typeof t?ct(t,n):st(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}nt.fromString=ct,nt.fromValue=ht;var at=4294967296,vt=at*at,lt=vt/2,dt=ut(1<<24),_t=ut(0);nt.ZERO=_t;var wt=ut(0,!0);nt.UZERO=wt;var pt=ut(1);nt.ONE=pt;var yt=ut(1,!0);nt.UONE=yt;var gt=ut(-1);nt.NEG_ONE=gt;var mt=st(-1,2147483647,!1);nt.MAX_VALUE=mt;var bt=st(-1,-1,!0);nt.MAX_UNSIGNED_VALUE=bt;var kt=st(0,-2147483648,!1);nt.MIN_VALUE=kt;var It=nt.prototype;It.toInt=function(){return this.unsigned?this.low>>>0:this.low},It.toNumber=function(){return this.unsigned?(this.high>>>0)*at+(this.low>>>0):this.high*at+(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(kt)){var n=ot(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=ot(ft(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(kt)?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(),i=t.isNegative();return n&&!i?-1:!n&&i?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(kt)?kt:this.not().add(pt)},It.neg=It.negate,It.add=function(t){it(t)||(t=ht(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=0,c=0,h=0,a=0;return h+=(a+=e+(65535&t.low))>>>16,c+=(h+=r+s)>>>16,f+=(c+=i+o)>>>16,f+=n+u,st((h&=65535)<<16|(a&=65535),(f&=65535)<<16|(c&=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 _t;if(it(t)||(t=ht(t)),tt)return st(tt.mul(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned);if(t.isZero())return _t;if(this.eq(kt))return t.isOdd()?kt:_t;if(t.eq(kt))return this.isOdd()?kt:_t;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 ot(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=65535&t.low,c=0,h=0,a=0,v=0;return a+=(v+=e*f)>>>16,h+=(a+=r*f)>>>16,a&=65535,h+=(a+=e*s)>>>16,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=r*s)>>>16,h&=65535,c+=(h+=e*o)>>>16,c+=n*f+i*s+r*o+e*u,st((a&=65535)<<16|(v&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},It.mul=It.multiply,It.divide=function(t){if(it(t)||(t=ht(t)),t.isZero())throw c("division by zero");var n,i,r;if(tt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?st((this.unsigned?tt.div_u:tt.div_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?wt:_t;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return wt;if(t.gt(this.shru(1)))return yt;r=wt}else{if(this.eq(kt))return t.eq(pt)||t.eq(gt)?kt:t.eq(kt)?pt:(n=this.shr(1).div(t).shl(1)).eq(_t)?t.isNegative()?pt:gt:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(kt))return this.unsigned?wt:_t;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();r=_t}for(i=this;i.gte(t);){n=v.max(1,v.floor(i.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:ft(2,e-48),o=ot(n),s=o.mul(t);s.isNegative()||s.gt(i);)s=(o=ot(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=pt),r=r.add(o),i=i.sub(s)}return r},It.div=It.divide,It.modulo=function(t){return it(t)||(t=ht(t)),tt?st((this.unsigned?tt.rem_u:tt.rem_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},It.mod=It.modulo,It.rem=It.modulo,It.not=function(){return st(~this.low,~this.high,this.unsigned)},It.and=function(t){return it(t)||(t=ht(t)),st(this.low&t.low,this.high&t.high,this.unsigned)},It.or=function(t){return it(t)||(t=ht(t)),st(this.low|t.low,this.high|t.high,this.unsigned)},It.xor=function(t){return it(t)||(t=ht(t)),st(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?st(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):st(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?st(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):st(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?st(this.low>>>t|n<<32-t,n>>>t,this.unsigned):st(32===t?n:n>>>t-32,0,this.unsigned)},It.shru=It.shiftRightUnsigned,It.shr_u=It.shiftRightUnsigned,It.toSigned=function(){return this.unsigned?st(this.low,this.high,!1):this},It.toUnsigned=function(){return this.unsigned?this:st(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]},nt.fromBytes=function(t,n,i){return i?nt.fromBytesLE(t,n):nt.fromBytesBE(t,n)},nt.fromBytesLE=function(t,n){return new nt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},nt.fromBytesBE=function(t,n){return new nt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var St=Q,Et=v.pow(2,-52);function Tt(t,n){for(var i=t,r=n;0!==r;){var e=i%r;i=r,r=e}return i<0?-i:i}function Rt(){return Date.now()||(new Date).getTime()}var At;St.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"}(At||(At={}));var Nt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];c.apply(this,n)};(Nt.prototype=a.create(c.prototype)).constructor=Nt;var Ot=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,c.captureStackTrace&&c.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r),r.constructor),r}return D(n,t),N(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Nt),Dt=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return D(n,t),n}(Ot),Ct=function(){function t(){}return t.prototype.Lu=function(t){var n,i=new DOMParser;try{n=i.parseFromString(t,"text/xml")}catch(t){throw new Dt(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Dt;return new Lt(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))},N(t,[{key:"Nu",get:function(){return At.Iu}},{key:"xu",get:function(){var t;return null!=(t=this.ju.localName)?t:qt(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}(),Pt=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 Ut(n)&&n.Vu===t})},n.Wu=function(t,n){return this.Gu.filter(function(i){return Ut(i)&&i.xu===n&&i.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)},N(t,[{key:"Gu",get:function(){return void 0===this.Yu&&(this.Yu=function(t){for(var n=[],i=0;i<t.length;i++){var r=Wt(t.item(i));r&&n.push(r)}return n}(this.Qu.childNodes)),this.Yu}},{key:"Zu",get:function(){return this.Gu.filter(Ut)}},{key:"Xu",get:function(){return this.Qu}}]),t}(),jt=function(t){function n(n){return t.call(this,n)||this}D(n,t);var i=n.prototype;return i.Ju=function(t){if(this.Qu.hasAttribute(t))return this.Qu.getAttribute(t)},i.Ku=function(t,n){if(this.Qu.hasAttributeNS(t,n))return this.Qu.getAttributeNS(t,n)},i.$u=function(t){this.Qu.removeAttribute(t)},i.uo=function(t,n){this.Qu.removeAttributeNS(t,n)},i.oo=function(t,n){this.Qu.setAttribute(t,n)},i.ao=function(t,n,i){this.Qu.setAttributeNS(t,n,i)},i.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Tu}},{key:"xu",get:function(){var t;return null!=(t=this.Qu.localName)?t:qt(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=[],i=0;i<t.length;i++)n.push(new Ft(t.item(i)));return n}(this.Qu.attributes)}},{key:"Ao",get:function(){return this.Qu.textContent}}]),n}(Pt),Bt=function(){function t(t){this.Qu=void 0,this.Qu=t}return t.prototype.Cu=function(t){return this._o===t._o},N(t,[{key:"_o",get:function(){return this.Qu.nodeValue}},{key:"Xu",get:function(){return this.Qu}}]),t}(),Mt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Du}}]),n}(Bt),xt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Eu}}]),n}(Bt),Lt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Su}},{key:"po",get:function(){return new jt(this.Qu.documentElement)}}]),n}(Pt);function Ut(t){return function(t){return t.Nu===At.Tu}(t)}function Wt(t){switch(t.nodeType){case At.Tu:return new jt(t);case At.Du:return new Mt(t);case At.Eu:return new xt(t)}}function qt(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Gt(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function Vt(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Ht(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Ht(i,null,t.length,t),t}function Ht(t,n,i,r){var e,u,o,s,f,c=t.length,h=0,a=2*i;for(e=0;e<c;e+=a)for(o=(u=e+i)+i,u>c&&(u=c),o>c&&(o=c),s=e,f=u;;)if(s<u&&f<o)n(t[s],t[f])<=0?r[h++]=t[s++]:r[h++]=t[f++];else if(s<u)r[h++]=t[s++];else{if(!(f<o))break;r[h++]=t[f++]}}var Xt=/[a-zA-Z]/,zt=/[0-9]/,$t=/[0-9a-fA-F]/,Kt=/^0x/i,Yt=/^[0-9]+$/,Zt=/^[0-9a-fA-F]+$/,Jt=/^[0-7]+$/,Qt=a.prototype.toString,tn=Array.isArray||function(t){return"[object Array]"===Qt.call(t)},nn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function rn(t){return tn(t)?t:Array.from(t)}function en(t){return t>=65&&t<=90}function un(t){return en(t)||function(t){return t>=97&&t<=122}(t)}function on(t){return t>=48&&t<=57}function sn(t){return on(t)||un(t)}function fn(t){return on(t)||t>=65&&t<=70||t>=97&&t<=102}function cn(t){return en(t)?t+32:t}function hn(t){return on(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function an(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var vn=v.min,ln=String.fromCharCode,dn=16384;function _n(t){for(var n=t.length,i=[],r=0;r<n;r+=dn){var e=vn(r+dn,n);i.push(ln.apply(null,t.slice(r,e)))}return i.join("")}var wn=/[^\0-\x7E]/,pn=/[\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,mn=String.fromCharCode;function bn(t){throw new RangeError(yn[t])}function kn(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var In,Sn,En,Tn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Rn=function(t,n,i){var r=0;for(t=i?gn(t/700):t>>1,t+=gn(t/n);t>455;r+=36)t=gn(t/35);return gn(r+36*t/(t+38))},An=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(pn,".")).split("."),n).join(".");return r+e}(t,function(t){return wn.test(t)?"xn--"+function(t){for(var n=[],i=(t=kn(t)).length,r=128,e=0,u=72,o=0,s=t;o<s.length;o++){var f=s[o];f<128&&n.push(mn(f))}var c=n.length,h=c;for(c&&n.push("-");h<i;){for(var a=2147483647,v=0,l=t;v<l.length;v++){var d=l[v];d>=r&&d<a&&(a=d)}var _=h+1;a-r>gn((2147483647-e)/_)&&bn("overflow"),e+=(a-r)*_,r=a;for(var w=0,p=t;w<p.length;w++){var y=p[w];if(y<r&&++e>2147483647&&bn("overflow"),y==r){for(var g=e,m=36;;m+=36){var b=m<=u?1:m>=u+26?26:m-u;if(g<b)break;var k=g-b,I=36-b;n.push(mn(Tn(b+k%I,0))),g=gn(k/I)}n.push(mn(Tn(g,0))),u=Rn(e,_,h==c),e=0,++h}}++e,++r}return n.join("")}(t):t})};function Nn(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return _n(n)}function On(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Dn(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)?(On(t),n.push(t>>12&15|224),n.push(Dn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(Dn(t,12)),n.push(Dn(t,6))),n.push(63&t|128)):n.push(t)}function Fn(t){for(var n=[],i=0;i<t.length;i++){Cn(t[i],n)}return n}function Pn(){if(En>=Sn)throw new c("Invalid byte index");var t=255&In[En];if(En++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function jn(){var t,n;if(En>Sn)throw new c("Invalid byte index");if(En===Sn)return!1;if(t=255&In[En],En++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Pn())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Pn()<<6|Pn())>=2048)return On(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Pn()<<12|Pn()<<6|Pn())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function Bn(t){return[37,an(t>>4),an(15&t)]}function Mn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function xn(t){return Mn(t)||32===t||34===t||60===t||62===t||96===t}function Ln(t){return xn(t)||35===t||63===t||123===t||125===t}function Un(t){return Ln(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Wn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function qn(t){return Wn(t)||39===t}function Gn(t,n){if(!n(t))return[t];for(var i=Fn([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Bn(u))}return r}function Vn(t,n){for(var i=[],r=0,e=kn(t);r<e.length;r++){var u=e[r];i.push.apply(i,Gn(u,n))}return Nn(i)}function Hn(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&fn(t[r+1])&&fn(t[r+2])){var u=hn(t[r+1])<<4|hn(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Fn(t))}function Xn(t){return Nn(function(t){In=t.slice(),Sn=In.length,En=0;for(var n,i=[];!1!==(n=jn());)i.push(n);return i}(Hn(kn(t))))}function zn(t){var n,i,r,e,u=t.length,o=[0,0,0,0,0,0,0,0],s=0,f=null,c=0;if(c<u&&":"===t[c]){if(!(c+1<u&&":"===t[c+1]))throw new h;c+=2,f=s+=1}for(;c<u;){if(8===s)throw new h("Too many groups");if(":"!==t[c]){for(var a=0,v=0;v<4&&c<u&&$t.test(t[c]);)a=a<<4|l(t[c],16),c+=1,v+=1;if("."===t[c]){if(0===v)throw new h;if(c-=v,s>6)throw new h;for(var d=0;c<u;){var _=null;if(d>0){if(!("."===t[c]&&d<4))throw new h;c+=1}if(!zt.test(t[c]))throw new h;for(;c<u&&zt.test(t[c]);){var w=l(t[c],10);if(null===_)_=w;else{if(0===_)throw new h;if((_=10*_+w)>255)throw new h}c+=1}o[s]=o[s]<<8|_,2!==(d+=1)&&4!==d||(s+=1)}if(4!==d)throw new h;break}if(":"===t[c]){if((c+=1)===u)throw new h}else if(c<u)throw new h;o[s]=a,s+=1}else{if(null!==f)throw new h("Too many :: groups");c+=1,f=s+=1}}if(null!==f){var p=s-f;for(s=7;0!==s&&p>0;)r=f+p-1,e=void 0,e=(n=o)[i=s],n[i]=n[r],n[r]=e,s-=1,p-=1}else if(8!==s)throw new h;return o}function $n(t){var n=10,i=Yt;return Kt.test(t)?(t=t.slice(2),n=16,i=Zt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=Jt),""===t?0:i.test(t)?l(t,n):void 0}var Kn={mo:4},Yn=/[\0\t\n\r #%/:?@\[\\\]]/,Zn=/[\0\t\n\r #/:?@\[\\\]]/;function Jn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new h("Invalid IPv6 address");return{mo:2,Mo:zn(t.slice(1,-1))}}if(!n)return function(t){if(Zn.test(t))throw new h("Invalid code point in opaque host");var n=Vn(t,Mn);return""===n?Kn:{mo:3,qr:n}}(t);var i=function(t){return function(t){return An(t.toLowerCase())}(t)}(Xn(t));if(Yn.test(i))throw new h("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=$n(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new h;if(i[i.length-1]>=v.pow(256,5-i.length))throw new h;for(var s=i.pop(),f=0;f<i.length;f++)s+=i[f]*v.pow(256,3-f);return s}}(i);return void 0!==r?{mo:1,Mo:r}:""===i?Kn:{mo:0,No:i}}function Qn(t){switch(t.mo){case 0:return t.No;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.Mo);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.Mo)+"]";case 3:return t.qr;case 4:return""}}var ti=/\+/g;function ni(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];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(ti," "),s=s.replace(ti," ");var f=Xn(o),c=Xn(s);i.push([f,c])}}return i}function ii(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=ri(Fn(kn(r[0])))+"="+ri(Fn(kn(r[1])))}return n}function ri(t){for(var n,i=[],r=0;r<t.length;r++){var e=t[r];32===e?i.push(43):42===(n=e)||45===n||46===n||95===n||sn(n)?i.push(e):i.push.apply(i,Bn(e))}return _n(i)}var ei=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function ui(t){var n=""+t,i=ei.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(si(u))if(fi(u)||e===i-1)r.push(oi);else{var o=t.charCodeAt(e+1);fi(o)?(r.push(u,o),e++):r.push(oi)}else r.push(u)}return t.slice(0,n)+_n(r)}(n,i.index):n}var oi=65533,si=function(t){return 55296==(63488&t)},fi=function(t){return 0!=(1024&t)};function ci(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function hi(t){t.To.length=0}function ai(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.To,ni(n))}function vi(t){if(t.Do){var n=ii(t.To);""===n&&(n=null),t.Do.Do.Io=n}}function li(t){return t instanceof di&&(!!tn(t.To)&&(!nn||t[Symbol.iterator]===_i))}var di=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(li(t))this.To=t.To.slice();else if(null!=(u=t)&&(tn(u)||nn&&"function"==typeof u[Symbol.iterator])){this.To=[];for(var n=0,i=rn(t);n<i.length;n++){var r=rn(i[n]);if(2!==r.length)throw new h("Invalid name-value pair");this.To.push([ui(r[0]),ui(r[1])])}}else for(var e in this.To=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.To.push([ui(e),ui(t[e])]);else(t=ui(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.To=ni(t);var u}var n=t.prototype;return n.append=function(t,n){t=ui(t),n=ui(n),this.To.push([t,n]),vi(this)},n.delete=function(t){t=ui(t);for(var n=this.To,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}vi(this)},n.get=function(t){t=ui(t);for(var n=this.To,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=ui(t);for(var n=this.To,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=ui(t);for(var n=this.To,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=ui(t),n=ui(n);for(var i=this.To,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),vi(this)},n.sort=function(){Vt(this.To,ci),vi(this)},n.toString=function(){return ii(this.To)},n.entries=function(){return new gi(this.To,wi)},n.keys=function(){return new gi(this.To,pi)},n.values=function(){return new gi(this.To,yi)},n.forEach=function(t){var n=this;this.To.forEach(function(i){return t(i[1],i[0],n)})},t}(),_i=di.prototype.entries;nn&&(di.prototype[Symbol.iterator]=_i);var wi=function(t){return[t[0],t[1]]},pi=function(t){return t[0]},yi=function(t){return t[1]},gi=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}(),mi="null";var bi=a.create(null);bi.ftp=21,bi.file=0,bi.gopher=70,bi.http=80,bi.https=443,bi.ws=80,bi.wss=443;var ki=/^(?:\.|%2e)$/i,Ii=/^(?:\.|%2e){2}$/i;function Si(t){return ki.test(t)}function Ei(t){return Ii.test(t)}function Ti(t){return void 0!==bi[t]}function Ri(t){return Ti(t.Lo)}function Ai(t){return""!==t.jo||""!==t.Co}function Ni(t){var n=t.length;if(!(n>=2))return!1;if(!Di(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function Oi(t){return 2===t.length&&Xt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Di(t){return 2===t.length&&Oi(_n(t))}function Ci(t){return Oi(t)&&":"===t[1]}function Fi(t){var n=t.Oo;0!==n.length&&("file"===t.Lo&&1===n.length&&Ci(n[0])||n.pop())}function Pi(t){return null===t.xo||Kn===t.xo||t.zo||"file"===t.Lo}var ji=-1,Bi=/\t|\n|\r/g,Mi=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function xi(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ui,t=t.replace(Mi,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,s=!1,f=!1,c=kn(t=t.replace(Bi,"")),a=c.length,v=0;v<=a;){var d=v<a?c[v]:ji;switch(e){case 0:if(!un(d)){if(null===r){u.length=0,e=2;continue}throw new h("Invalid scheme")}u.push(cn(d)),e=1;break;case 1:if(sn(d)||43===d||45===d||46===d)u.push(cn(d));else{if(58!==d){if(null===r){u.length=0,e=2,v=0;continue}throw new h("Invalid scheme")}var _=Nn(u);if(null!==r){if(Ti(i.Lo)&&!Ti(_))return;if(!Ti(i.Lo)&&Ti(_))return;if((Ai(i)||null!==i.Ro)&&"file"===_)return;if("file"===i.Lo&&(i.xo===Kn||null===i.xo))return}if(i.Lo=_,null!==r)return void(Ri(i)&&i.Ro===bi[i.Lo]&&(i.Ro=null));u.length=0,"file"===i.Lo?e=13:Ri(i)&&n&&n.Lo===i.Lo?e=3:Ri(i)?e=7:47===c[v+1]?(e=4,v+=1):(i.zo=!0,i.Oo.push(""),e=18)}break;case 2:if(!n||n.zo&&35!==d)throw new h("Invalid scheme");n.zo&&35===d?(i.Lo=n.Lo,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",i.zo=!0,e=20):"file"!==n.Lo?(e=5,v-=1):(e=13,v-=1);break;case 3:47===d&&47===c[v+1]?e=8:(e=5,v-=1);break;case 4:47===d?e=9:(e=17,v-=1);break;case 5:i.Lo=n.Lo,ji===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io=n.Io):47===d?e=6:63===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io="",e=19):35===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",e=20):92===d&&Ri(i)?e=6:(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Oo.pop(),e=17,v-=1);break;case 6:!Ri(i)||47!==d&&92!==d?47===d?e=9:(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,e=17,v-=1):e=8;break;case 7:if(47!==d||47!==c[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==d&&92!==d&&(e=9,v-=1);break;case 9:if(64===d){o&&u.unshift(37,52,48),o=!0;for(var w=0;w<u.length;w++){var p=u[w];if(58!==p||f){var y=Nn(Gn(p,Un));f?i.Co+=y:i.jo+=y}else f=!0}u.length=0}else if(ji===d||47===d||63===d||35===d||Ri(i)&&92===d){if(o&&0===u.length)throw new h("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(d);break;case 10:case 11:if(null!==r&&"file"===i.Lo)v-=1,e=15;else if(58!==d||s)if(ji===d||47===d||63===d||35===d||Ri(i)&&92===d){if(v-=1,Ri(i)&&0===u.length)throw new h("Invalid host");if(null!==r&&0===u.length&&(Ai(i)||null!==i.Ro))return;var g=Jn(Nn(u),Ri(i));if(i.xo=g,u.length=0,e=16,null!==r)return}else 91===d?s=!0:93===d&&(s=!1),u.push(d);else{if(0===u.length)throw new h("Invalid host");var m=Jn(Nn(u),Ri(i));if(i.xo=m,u.length=0,e=12,11===r)return}break;case 12:if(on(d))u.push(d);else{if(!(ji===d||47===d||63===d||35===d||Ri(i)&&92===d||null!==r))throw new h("Invalid port");if(0!==u.length){var b=l(Nn(u),10);if(b>65535)throw new h("Invalid port");i.Ro=b===bi[i.Lo]?null:b,u.length=0}if(null!==r)return;e=16,v-=1}break;case 13:i.Lo="file",47===d||92===d?e=14:n&&"file"===n.Lo?ji===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io=n.Io):63===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io="",e=19):35===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",e=20):(Ni(c.slice(v))||(i.xo=n.xo,i.Oo=n.Oo.slice(),Fi(i)),e=17,v-=1):(e=17,v-=1);break;case 14:47===d||92===d?e=15:(n&&"file"===n.Lo&&!Ni(c.slice(v))&&(Ci(n.Oo[0])?i.Oo.push(n.Oo[0]):i.xo=n.xo),e=17,v-=1);break;case 15:if(ji===d||47===d||92===d||63===d||35===d)if(v-=1,null===r&&Di(u))e=17;else if(0===u.length){if(i.xo=Kn,null!==r)return;e=16}else{var k=Jn(Nn(u),Ri(i));if(0===k.mo&&"localhost"===k.No&&(k=Kn),i.xo=k,null!==r)return;u.length=0,e=16}else u.push(d);break;case 16:Ri(i)?(e=17,47!==d&&92!==d&&(v-=1)):null===r&&63===d?(i.Io="",e=19):null===r&&35===d?(i.Bo="",e=20):ji!==d&&(e=17,47!==d&&(v-=1));break;case 17:if(ji===d||47===d||Ri(i)&&92===d||null===r&&(63===d||35===d)){var I=Nn(u);if(Ei(I)?(Fi(i),47===d||Ri(i)&&92===d||i.Oo.push("")):!Si(I)||47===d||Ri(i)&&92===d?Si(I)||("file"===i.Lo&&0===i.Oo.length&&Di(u)&&(Kn!==i.xo&&null!==i.xo&&(i.xo=Kn),u[1]=58,I=Nn(u)),i.Oo.push(I)):i.Oo.push(""),u.length=0,"file"===i.Lo&&(ji===d||63===d||35===d))for(;i.Oo.length>1&&""===i.Oo[0];)i.Oo.shift();63===d?(i.Io="",e=19):35===d&&(i.Bo="",e=20)}else u.push.apply(u,Gn(d,Ln));break;case 18:63===d?(i.Io="",e=19):35===d?(i.Bo="",e=20):ji!==d&&(i.Oo[0]+=Nn(Gn(d,Mn)));break;case 19:null===r&&35===d?(i.Bo="",e=20):ji!==d&&(i.Io+=Nn(Gn(d,Ri(i)?qn:Wn)));break;case 20:ji===d||0===d||(i.Bo+=Nn(Gn(d,xn)))}v++}return i}function Li(t,n,i,r){try{xi(t,n,i,r)}catch(t){}}var Ui=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 Wi(t){switch(t.Lo){case"blob":var n;try{n=xi(t.Oo[0],null)}catch(t){return mi}return Wi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return i=t.Lo,r=t.xo,e=t.Ro,i+"://"+Qn(r)+(null===e?"":":"+e);case"file":default:return mi}var i,r,e}function qi(t){return null!=t&&(t instanceof Vi&&"object"==typeof t.Do)}var Gi,Vi=function(){function t(t,n){var i,r=null;if(null!=n)if(qi(n))r=n.Do;else try{r=xi(String(n),null)}catch(t){throw new h("Invalid base URL: "+t.message)}try{i=xi(String(t),r)}catch(t){throw new h("Invalid URL: "+t.message)}var e=i.Io;this.Do=i,this.Io=function(t){var n=new di;return null!==t&&ai(n,t),n}(e),this.Io.Do=this}var n,i,r,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(i=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Lo+":";if(null!==t.xo?(i+="//",Ai(t)&&(i+=t.jo,""!==t.Co&&(i+=":"+t.Co),i+="@"),i+=Qn(t.xo),null!==t.Ro&&(i+=":"+t.Ro)):null===t.xo&&"file"===t.Lo&&(i+="//"),t.zo)i+=t.Oo[0];else for(var r=0,e=t.Oo;r<e.length;r++)i+="/"+e[r];return null!==t.Io&&(i+="?"+t.Io),n||null===t.Bo||(i+="#"+t.Bo),i}(this.Do)},set:function(t){var n;try{n=xi(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.Do=n,hi(this.Io);var i=this.Do.Io;null!==i&&ai(this.Io,i)}},{key:"origin",get:function(){return Wi(this.Do)}},{key:"protocol",get:function(){return this.Do.Lo+":"},set:function(t){Li(t+":",null,this.Do,0)}},{key:"username",get:function(){return this.Do.jo},set:function(t){Pi(this.Do)||(this.Do.jo=Vn(t,Un))}},{key:"password",get:function(){return this.Do.Co},set:function(t){Pi(this.Do)||(this.Do.Co=Vn(t,Un))}},{key:"host",get:function(){var t=this.Do,n=t.xo;if(null===n)return"";var i=t.Ro,r=Qn(n);return null!==i&&(r+=":"+i),r},set:function(t){this.Do.zo||Li(t,null,this.Do,10)}},{key:"hostname",get:function(){var t=this.Do.xo;return null===t?"":Qn(t)},set:function(t){this.Do.zo||Li(t,null,this.Do,11)}},{key:"port",get:function(){var t=this.Do.Ro;return null===t?"":""+t},set:function(t){Pi(this.Do)||(""===t?this.Do.Ro=null:Li(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,Li(t,null,this.Do,16))}},{key:"search",get:function(){var t=this.Do.Io;return null===t||""===t?"":"?"+t},set:function(t){t=ui(t);var n=this.Do;if(""===t)return n.Io=null,void hi(this.Io);"?"===t[0]&&(t=t.slice(1)),n.Io="",Li(t,null,n,19),ai(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="",Li(t,null,this.Do,20)):this.Do.Bo=null}}])&&Gt(n.prototype,i),r&&Gt(n,r),t}();function Hi(t){return t.document&&t.document.baseURI||t.location.href||""}function Xi(){return void 0!==r?r.createElement("video"):void 0}var zi=!!("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),$i=(Gi||(Gi=Xi()),Gi),Ki=!(!$i||!$i.webkitShowPlaybackTargetPicker),Yi=function(){function t(){this.Uo=void 0,this.Po=!1,this.Ms=zi,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},N(t,[{key:"Wo",get:function(){return void 0===this.Uo&&(this.Uo=this.Fo()),this.Uo}},{key:"Ho",get:function(){return i.devicePixelRatio||1}},{key:"Xo",get:function(){return Ki}},{key:"Zo",get:function(){return!1}},{key:"qo",get:function(){return!0}},{key:"Jo",get:function(){return q.Ns||q.zs}},{key:"Ko",get:function(){return!0}},{key:"$o",get:function(){return!0}},{key:"nh",get:function(){}},{key:"ih",get:function(){return!0}}]),t}(),Zi=function(){var t=Xi();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(q.Os)return!1;var t=Xi();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Ji=function(t){function n(n){var i;return(i=t.call(this)||this).rh=void 0,i.rh=n,i.rh&&(i.Po=i.rh.Po,i.Ms=i.rh.Ms,i.Qo=Zi&&i.rh.Qo),i}D(n,t);var i=n.prototype;return i.Fo=function(){return this.rh?this.rh.Wo:t.prototype.Fo.call(this)},i.Go=function(n,i){return this.rh?this.rh.Go(n,i):t.prototype.Go.call(this,n,i)},i.Vo=function(n){return this.rh?this.rh.Vo(n):t.prototype.Vo.call(this,n)},N(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}(Yi),Qi=function(t){function n(n){var i;return(i=t.call(this,n)||this).Po=!0,i.Us=!0,i}return D(n,t),n}(Ji),tr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Fo=function(){if(!(void 0).MediaSource)return 1},n}(Qi),nr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Go=function(n,i){return!(i.eh>1920)&&t.prototype.Go.call(this,n,i)},N(n,[{key:"Zo",get:function(){return q.Ws<3}},{key:"qo",get:function(){return q.Ws>=3}}]),n}(Ji),ir=function(t){function n(){return t.call(this)||this}return D(n,t),n}(Yi),rr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Go=function(t,n){if(t&&t.sh&&n&&n.sh){var i=er(t.sh,"mp4a.40.2")&&er(n.sh,"mp4a.40.5"),r=er(t.sh,"mp4a.40.5")&&er(n.sh,"mp4a.40.2"),e=er(t.sh,"mp4a.40.2")&&er(n.sh,"mp4a.40.34"),u=er(t.sh,"mp4a.40.34")&&er(n.sh,"mp4a.40.2"),o=er(t.sh,"mp4a.40.5")&&er(n.sh,"mp4a.40.34"),s=er(t.sh,"mp4a.40.34")&&er(n.sh,"mp4a.40.5");return!(i||r||e||u||o||s)}return!0},N(n,[{key:"nh",get:function(){if(q.Ns)return 4096}}]),n}(ir);function er(t,n){return t.indexOf(n)>-1}var ur=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Vo=function(t){return t>=2},n}(ir),or=function(t){function n(){var n;return(n=t.call(this)||this).Po=q.nu>=11,n.Qo=q.tu&&!(q.zs&&q.nu<10),n}return D(n,t),n}(ir),sr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),N(n,[{key:"Ko",get:function(){return!1}}]),n}(Ji),fr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),N(n,[{key:"ih",get:function(){return!q.Ts||!!q.Fs&&92!==q.Gs}}]),n}(ir),cr=function(){function n(){var n;this.re=void 0,this.uh=new Ct,this.oh=new hr,this.ah=(n=function(){if(q.Ks)return new rr;if(q.Xs||q.Zs)return new ur;if(q.tu)return new or;if(q.Qs)return new fr;return new ir}(),q.zs?new tr(n):q.Us?new Qi(n):q.Vs?new nr(n):q.Hs?new sr(n):new Ji(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=Rt}var i=n.prototype;return i.vh=function(){K.apply(void 0,arguments)},i.dh=function(){Y.apply(void 0,arguments)},i.lh=function(){Z.apply(void 0,arguments)},i.gh=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];J.apply(void 0,[t].concat(i))},i.oe=function(t,n){return u(t,n)},i.wh=function(t,n){return s(t,n)},i.ue=function(t){o(t)},i.yh=function(t){f(t)},i.Lu=function(t){return this.uh.Lu(t)},i.Ah=function(){return this._h.Ah()},i.ph=function(){return this._h.ph()},i.kh=function(){return this._h.kh()},i.Mh=function(){return this._h.Mh()},i.Nh=function(){return this._h.Nh()},i.Th=function(t,n){return this._h.Th(t,n)},i.Dh=function(t){return this._h.Dh(t)},i.Ih=function(t,n){var i;return void 0===n&&(n=Hi(void 0)),i="object"!=typeof n||n instanceof Vi?n:n.href,new Vi(t,i)},i.Eh=function(n,i){if(void 0===i&&(i=Hi(void 0)),this.fh){var r="string"==typeof i?i:i.toString();return new t.URL(n,r).href}return this.Ih(n,i).href},N(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}(),hr=function(){function t(){}return N(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 ar=y(function(t){!function(t){var n,i=a.prototype,r=i.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",s=e.toStringTag||"@@toStringTag";function f(t,n,i,r){var e=n&&n.prototype instanceof g?n:g,u=a.create(e.prototype),o=new D(r||[]);return u.Yh=function(t,n,i){var r=l;return function(e,u){if(r===w)throw new c("Generator is already running");if(r===p){if("throw"===e)throw u;return F()}for(i.method=e,i.arg=u;;){var o=i.delegate;if(o){var s=A(o,i);if(s){if(s===y)continue;return s}}if("next"===i.method)i.sent=i.Fh=i.arg;else if("throw"===i.method){if(r===l)throw r=p,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=w;var f=v(t,n,i);if("normal"===f.type){if(r=i.done?p:d,f.arg===y)continue;return{value:f.arg,done:i.done}}"throw"===f.type&&(r=p,i.method="throw",i.arg=f.arg)}}}(t,i,o),u}function v(t,n,i){try{return{type:"normal",arg:t.call(n,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",d="suspendedYield",w="executing",p="completed",y={};function g(){}function m(){}function b(){}var k={};k[u]=function(){return this};var I=a.getPrototypeOf,S=I&&I(I(C([])));S&&S!==i&&r.call(S,u)&&(k=S);var E=b.prototype=g.prototype=a.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Yh(n,t)}})}function R(t){var n;this.Yh=function(i,e){function u(){return new Promise(function(n,u){!function n(i,e,u,o){var s=v(t[i],t,e);if("throw"!==s.type){var f=s.arg,c=f.value;return c&&"object"==typeof c&&r.call(c,"Gh")?Promise.resolve(c.Gh).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):Promise.resolve(c).then(function(t){f.value=t,u(f)},function(t){return n("throw",t,u,o)})}o(s.arg)}(i,e,n,u)})}return n=n?n.then(u,u):u()}}function A(t,i){var r=t.iterator[i.method];if(r===n){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=n,A(t,i),"throw"===i.method))return y;i.method="throw",i.arg=new h("The iterator does not provide a 'throw' method")}return y}var e=v(r,t.iterator,i.arg);if("throw"===e.type)return i.method="throw",i.arg=e.arg,i.delegate=null,y;var u=e.arg;return u?u.done?(i[t.resultName]=u.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=n),i.delegate=null,y):u:(i.method="throw",i.arg=new h("iterator result is not an object"),i.delegate=null,y)}function N(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 O(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function C(t){if(t){var i=t[u];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!_(t.length)){var e=-1,o=function i(){for(;++e<t.length;)if(r.call(t,e))return i.value=t[e],i.done=!1,i;return i.value=n,i.done=!0,i};return o.next=o}}return{next:F}}function F(){return{value:n,done:!0}}m.prototype=E.constructor=b,b.constructor=m,b[s]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return a.setPrototypeOf?a.setPrototypeOf(t,b):(t.__proto__=b,s in t||(t[s]="GeneratorFunction")),t.prototype=a.create(E),t},t.awrap=function(t){return{Gh:t}},T(R.prototype),R.prototype[o]=function(){return this},t.AsyncIterator=R,t.async=function(n,i,r,e){var u=new R(f(n,i,r,e));return t.isGeneratorFunction(i)?u:u.next().then(function(t){return t.done?t.value:u.next()})},T(E),E[s]="Generator",E[u]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var r=n.pop();if(r in t)return i.value=r,i.done=!1,i}return i.done=!0,i}},t.values=C,D.prototype={constructor:D,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(O),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!_(+i.slice(1))&&(this[i]=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 i=this;function e(r,e){return s.type="throw",s.arg=t,i.next=r,e&&(i.method="next",i.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=r.call(o,"catchLoc"),h=r.call(o,"finallyLoc");if(f&&h){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(!h)throw new c("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc<=this.prev&&r.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,y):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),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),O(i),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var e=r.arg;O(i)}return e}}throw new c("illegal catch attempt")},delegateYield:function(t,i,r){return this.delegate={iterator:C(t),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=n),y}}}(t.exports)});function vr(){return(vr=a.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)a.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function lr(){var t=a.create(null);return t.__=void 0,delete t.__,t}var dr,_r=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(dr=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=a.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=lr(),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=lr(),this.size=0},n.keys=function(){return new dr(this.data,function(t,n){return n})},n.values=function(){return new dr(this.data,function(t,n){return t[n]})},n.entries=function(){return new dr(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 wr,pr="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",yr="urn:uuid:"+pr;!function(t){t.Zh="playready",t.qh="widevine",t.Jh="fairplay",t.Kh="clearkey",t.$h="aes128"}(wr||(wr={}));var gr={ra:wr.Zh,ea:"com.microsoft.playready",oa:"cenc",va:"9a04f079-9840-4286-ab92-e65be0885f95",ya:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",Aa:"PlayReady"},mr={ra:wr.qh,ea:"com.widevine.alpha",oa:"cenc",va:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ya:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",Aa:"Widevine"},br={ra:wr.Jh,ea:"com.apple.fps.1_0",oa:"skd",va:pr,ya:yr,Aa:"FairPlay"},kr=(wr.Jh,{ra:wr.Kh,ea:"org.w3.clearkey",oa:"cenc",va:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ya:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",Aa:"ClearKey"});var Ir=q.Qs&&q.Ys>=42||q.Ks&&q.$s>=38||q.Xs||q.qs||q.uu&&q.ou>=29;function Sr(t,n){return r="audio",null!=(i=t)&&-1!==i.indexOf(r)?{initDataTypes:["cenc"],audioCapabilities:[vr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[vr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var i,r}var Er,Tr=function(){function t(t){this._a=void 0,this.ma=new _r,this.Ma=void 0,this._a=t}var n=t.prototype;return n.Nh=function(){return this.Dh(mr)},n.ph=function(){return this.Dh(kr)},n.Mh=function(){return this.Dh(gr)},n.kh=function(){return this.Dh(br)},n.Dh=function(t){var n=t.ya,i=this.ma.get(n);if(i)return i;var r=this.Th(t,'video/mp4; codecs="avc1.42000a"');return this.ma.set(n,r),r},n.Th=function(){var t=g.coroutine(ar.mark(function t(n,i){return ar.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._a.Na(n.ea,[Sr(i,!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,[Sr(i,!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,i){return t.apply(this,arguments)}}(),n.Ah=function(){return this.Ma||(this.Ma=this.Ta()),this.Ma},n.Ta=function(){var t=g.coroutine(ar.mark(function t(){return ar.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(Ir){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}(),Rr=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}(),Ar=function(){function t(){}return t.prototype.Na=function(t,n){return g.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.ld="arraybuffer",t.wd="json",t.yd="stream",t.Du="text"}(Er||(Er={}));var Nr,Or=function(){function t(n){var i=this;this.Xh=void 0,this.Xh={},n instanceof t?n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):Array.isArray(n)?n.forEach(function(t){i.append(t[0],t[1])}):n&&a.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=Dr(i),r=Cr(r);var e=i.toLowerCase();if(this.Xh.hasOwnProperty(e)){var u=this.Xh[e],o=u[1];u[1]=o?o+", "+r:r}else this.Xh[e]=[i,r]},n.delete=function(t){var n=Dr(t).toLowerCase();delete this.Xh[n]},n.get=function(t){var n=Dr(t).toLowerCase();return this.Xh.hasOwnProperty(n)?this.Xh[n][1]:null},n.has=function(t){var n=Dr(t).toLowerCase();return this.Xh.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Dr(i)).toLowerCase();this.Xh[r]=[i,Cr(n)]},n.forEach=function(t,n){for(var i in this.Xh)this.Xh.hasOwnProperty(i)&&t.call(n,this.Xh[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.Xh)if(this.Xh.hasOwnProperty(n)){var i=this.Xh[n],r=i[0],e=i[1];t.push([r,e])}return t},n._d=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.pd=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.kd=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Dr(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new h("Invalid character in header field name");return n}function Cr(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Fr(t,n){return function(t,n){var i=t,r=i.length;if(r<=1)return i;for(var e=new Array(r),u=1;u<r;u*=2){Pr(i,n,u,e);var o=i;i=e,e=o}return i}(t.slice(),n)}function Pr(t,n,i,r){var e,u,o,s,f,c=t.length,h=0,a=2*i;for(u=0;u<c;u+=a)for(e=(o=u+i)+i,o>c&&(o=c),e>c&&(e=c),s=u,f=o;;)if(s<o&&f<e)n&&n(t[s],t[f])<=0?r[h++]=t[s++]:r[h++]=t[f++];else if(s<o)r[h++]=t[s++];else{if(!(f<e))break;r[h++]=t[f++]}}!function(t){t[t.Da=0]="Da",t[t.Ia=1]="Ia",t[t.Ea=-1]="Ea"}(Nr||(Nr={}));var jr=function(t,n){return function(t,n){if(t===n)return!0;var i=v.abs(t-n);return i<Et||i<v.max(v.abs(t),v.abs(n))*Et}(t,n)?Nr.Da:function(t,n){return t===n?Nr.Da:t<n?Nr.Ea:t>n?Nr.Ia:_(t)?_(n)?Nr.Da:Nr.Ia:Nr.Ea}(t,n)};function Br(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){t.splice(n,1)}(t,i),!0)}function Mr(t){t.length=0}var xr,Lr,Ur,Wr,qr=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])()}Mr(this.Ca),Mr(this.Oa)}},n.Ba=function(t){this.La||this.Ca.push(t)},n.Ua=function(t){this.La||Br(this.Ca,t)},n.Pa=function(t){this.La||this.Oa.push(t)},n.Qa=function(t){this.La||Br(this.Oa,t)},t}(),Gr=function(){function t(){this.Ya=new qr}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 i=function(){r(),n.xa()},r=function r(){t.Ua(i),t.Qa(r),n.Ua(i),n.Qa(r)};t.Ba(i),t.Pa(r),n.Ba(i),n.Pa(r)}},n.Va=function(){var n=new t,i=new t,r=n.Wa,e=i.Wa,u=this.Ya,o=function(){r.Sa&&e.La||e.Sa&&r.La?u.xa():r.La&&e.La&&u.Ra()};r.Ba(o),e.Ba(o),r.Pa(o),e.Pa(o),n.Ga(u),i.Ga(u);return u.Pa(function(){r.Ua(o),e.Ua(o),r.Qa(o),e.Qa(o)}),[n,i]},N(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"}(xr||(xr={})),function(t){t.Ag="",t._g="manifest",t.pg="segment",t.Mg="content-protection"}(Lr||(Lr={})),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"}(Ur||(Ur={})),function(t){t.Ag="",t.Cg="audio",t.Og="video",t.Du="text",t.xg="image"}(Wr||(Wr={}));var Vr,Hr=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 i,r,e,u,o,s,f,c,h,a,v,l=t.wg;n?(i=n.Wl,r=n.ag,e=n.zg,u=n.cg,o=n.Rg,s=n.Wa,f=n.ra,c=n.Bg,h=n.Ug,a=n.Pg,v=n.Qg):(i=null,r={},e=xr.GET,u=Er.Du,o=0,f=Lr.Ag,c=Ur.Ag,h=Wr.Ag,a=!1),this.wg=l,this.Wl=t.Wl||i,this.ag=new Or(t.ag||r),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 Gr).Wa,this.ra=t.ra||f,this.Bg=t.Bg||c,this.Ug=t.Ug||h,this.Pg=void 0!==t.Pg?Boolean(t.Pg):a,this.Qg=t.Qg||v};!function(t){t.Jg="HttpOpenError",t.Kg="HttpResponseError",t.$g="HttpTimeoutError"}(Vr||(Vr={}));var Xr,zr,$r=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.wg+". Invalid URL.",i)||this}return D(n,t),N(n,[{key:"name",get:function(){return Vr.Jg}}]),n}(function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).nw=void 0,e.nw=n,e}return D(n,t),N(n,[{key:"dg",get:function(){return this.nw}}]),n}(Ot)),Kr=function(){function t(){}var n=t.prototype;return n.dg=function(t){return g.reject(new $r(new Hr(t)))},n.Yg=function(t){},n.Fg=function(){},t}();function Yr(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Zr(t,n){return t.push(n),t}function Jr(t,n,i,r){var e=i||0,u=r||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 Qr(t,n){return Jr(t,Yr(n))}Xr=new(function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).Gw=new Tr(new Ar),n.lD=new Kr,n.i=new Rr,n}return D(n,t),N(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:b}}},{key:"iy",get:function(){return"default"}},{key:"ey",get:function(){return"unknown"}},{key:"sy",get:function(){return this.lD}}]),n}(cr)),function(t){t.Bmt="h.264",t.kmt="mp3",t.gmt="aac-lc",t.wmt="he-aac"}(zr||(zr={}));var te=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,i){var r=this.Uht,e=i-n;e>0&&(this.Pht.push({Fht:n,Ght:i,Vht:e,Wht:r,Hht:t}),this.Uht+=e)},n.bc=function(t){for(var n=0,i=this.Pht;n<i.length;n++){var r=i[n];if(r.Wht<=t&&t<r.Wht+r.Vht)return r.Hht[t+r.Fht-r.Wht]}},n.Xht=function(t,n){for(var i=n,r=0,e=this.Pht;r<e.length;r++)for(var u=e[r],o=u.Ght,s=u.Fht;s<o;s+=1,i+=1)t[i]=u.Hht[s];return i},n.Zht=function(){for(var t=new w(this.Uht),n=0,i=0,r=this.Pht;i<r.length;i++)for(var e=r[i],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 i=new t,r=0,e=this.Pht;r<e.length;r++){var u=e[r];i.Yht(u.Hht,u.Fht,u.Ght)}return i.JT=n||vr({},this.JT),i},N(t,[{key:"Zy",get:function(){return this.Uht},set:function(t){var n=this.Pht,i=this.Uht-t;if(!(t>=this.Uht))if(this.Uht=t,0!==t)for(var r=n.length-1;r>=0;r-=1){var e=n[r];if(i<=e.Vht)return e.Ght-=i,e.Vht-=i,void(n.length!==r+1&&(n.length=r+1));i-=e.Vht}else n.length=0}},{key:"_o",get:function(){for(var t=new Array(this.Uht),n=0,i=0,r=this.Pht;i<r.length;i++)for(var e=r[i],u=e.Ght,o=e.Fht;o<u;o+=1,n+=1)t[n]=e.Hht[o];return t}}]),t}(),ne=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 ie(t,n){return t.xk()?n.xk()?Nr.Da:Nr.Ia:n.xk()?Nr.Ea:t.zk()?n.zk()&&t.jk()===n.jk()?Nr.Da:t.jk()?Nr.Ea:Nr.Ia:n.jk()?Nr.Ia:Nr.Ea}var re=function(){function t(t,n){this.Rk=void 0,this.Bk=void 0,this.Rk=t,this.Bk=n}t.Uk=function(n,i,r){return r?new t(n.toUnsigned(),i.toUnsigned()):new t(n.toSigned(),i.toSigned())},t.Pk=function(n){return n.unsigned?new t(n,St.UZERO):new t(n,n.isNegative()?St.NEG_ONE:St.ZERO)},t.Qk=function(n,i){if(_(n))return i?t.Yk:t.Fk;if(i){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,i).Ck():t.Uk(St.fromNumber(n%0x10000000000000000),St.fromNumber(n/0x10000000000000000),i)};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 Nr.Da;var n=this.jk(),i=t.jk();if(n&&!i)return Nr.Ea;if(!n&&i)return Nr.Ia;if(!this.Hk())return this.Ok(t).jk()?Nr.Ea:Nr.Ia;var r=this.qk(),e=t.qk(),u=e.Bk.comp(r.Bk);return u>0||0===u&&e.Rk.gt(r.Rk)?Nr.Ea:Nr.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 i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shl(i),this.Bk.shl(i).or(this.Rk.shru(64-i)),this.Hk()):t.Uk(St.ZERO,this.Rk.shl(i-64),this.Hk())},n.cm=function(n){var i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shru(i).or(this.Bk.shl(64-i)),this.Bk.shr(i),this.Hk()):t.Uk(this.Bk.shr(i-64),this.Bk.isNegative()?St.NEG_ONE:St.ZERO,this.Hk())},n.fm=function(n){var i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shru(i).or(this.Bk.shl(64-i)),this.Bk.shru(i),this.Hk()):64===i?t.Uk(this.Bk,St.ZERO,this.Hk()):t.Uk(this.Bk.shru(i-64),St.ZERO,this.Hk())},n.pp=function(n){var i=this.Bk.high>>>16,r=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,c=65535&this.Rk.low,h=n.Bk.high>>>16,a=65535&n.Bk.high,v=n.Bk.low>>>16,l=65535&n.Bk.low,d=n.Rk.high>>>16,_=65535&n.Rk.high,w=n.Rk.low>>>16,p=0,y=0,g=0,m=0,b=0,k=0,I=0,S=0;I+=(S+=c+(65535&n.Rk.low))>>>16,S&=65535,k+=(I+=f+w)>>>16,I&=65535,b+=(k+=s+_)>>>16,k&=65535,m+=(b+=o+d)>>>16,b&=65535,g+=(m+=u+l)>>>16,m&=65535,y+=(g+=e+v)>>>16,g&=65535,p+=(y+=r+a)>>>16,y&=65535,p+=i+h,p&=65535;var E=this.Hk(),T=St.fromBits(g<<16|m,p<<16|y,E),R=St.fromBits(I<<16|S,b<<16|k,E);return t.Uk(R,T,E)},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 i=St.fromBits(4294967295,0,!0),r=this.Rk.and(i),e=this.Rk.shru(32),u=this.Bk.and(i),o=this.Bk.shru(32),s=n.Rk.and(i),f=n.Rk.shru(32),c=n.Bk.and(i),h=n.Bk.shru(32),a=St.UZERO,v=St.UZERO,l=St.UZERO,d=St.UZERO;a=a.add(r.mul(s)),v=v.add(a.shru(32)),a=a.and(i),v=v.add(e.mul(s)),l=l.add(v.shru(32)),v=(v=v.and(i)).add(r.mul(f)),l=l.add(v.shru(32)),v=v.and(i),l=l.add(u.mul(s)),d=d.add(l.shru(32)),l=(l=l.and(i)).add(e.mul(f)),d=d.add(l.shru(32)),l=(l=l.and(i)).add(r.mul(c)),d=d.add(l.shru(32)),l=l.and(i),d=d.add(o.mul(s)).add(u.mul(f)).add(e.mul(c)).add(r.mul(h)).and(i);var _=St.fromBits(a.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=St.fromBits(l.getLowBitsUnsigned(),d.getLowBitsUnsigned(),!0);return t.Uk(_,w,this.Hk())},n.lm=function(n){var i,r,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[r=t.gm,i=this.Ok(e)];r=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)?r=e.jk()?t.vm:t.wm:(i=this.Ok(e.dm(u)),r=u.pp(i.ym(e))),[r,i=this.Ok(e.dm(r))]}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 r=o[0],i=o[1],[r.Ck(),i.Ck()]}if(e.jk()){var s=this.lm(e.Ck());return r=s[0],i=s[1],[r.Ck(),i.Ck()]}r=t.Fk}for(i=this;i.tm(e);){for(var f=v.max(1,v.floor(i.Mk()/e.Mk())),c=v.ceil(v.log(f)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.Qk(f),l=a.dm(e);l.jk()||l.$k(i);)f-=h,l=(a=t.Qk(f,this.Hk())).dm(e);a.Xk()&&(a=t.vm),r=r.pp(a),i=i.Ok(l)}return[r,i]},n.ym=function(t){return this.lm(t)[0]},n.Am=function(t){return this.lm(t)[1]},n.toString=function(n){var i=n||10;if(i<2||i>36)throw new RangeError("radix");if(this.Xk())return"0";if(this.jk()){if(this.ck(t.Vk)){var r=t.Qk(i),e=this.ym(r),u=e.dm(r).Ok(this);return e.toString(i)+u.Kk().toString(i)}return"-"+this.Ck().toString(i)}for(var o=t.Qk(v.pow(i,6),this.Hk()),s=this,f="";;){var c=s.ym(o),h=(s.Ok(c.dm(o)).Kk()>>>0).toString(i);if((s=c).Xk())return h+f;for(;h.length<6;)h="0"+h;f=String(h)+f}},t}();re.Fk=re.Pk(St.ZERO),re.Yk=re.Pk(St.UZERO),re.vm=re.Pk(St.ONE),re.gm=re.Pk(St.UONE),re.wm=re.Pk(St.NEG_ONE),re.Wk=re.Uk(St.NEG_ONE,St.MAX_VALUE,!1),re.Gk=re.Uk(St.MAX_UNSIGNED_VALUE,St.MAX_UNSIGNED_VALUE,!0),re.Vk=re.Uk(St.ZERO,St.MIN_VALUE,!1);var ee=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 i=t,(n=this).pm>=i.pm?jr(n._m,i.Im(n.pm)._m):jr(n.Im(i.pm)._m,i._m);var n,i},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)},N(t,[{key:"zk",get:function(){return!isFinite(this._m)}},{key:"Sm",get:function(){return this._m/this.pm}}]),t}();ee.Lm=new ee(1/6,1),ee.Fk=new ee(0),ee.jm=new ee(1/0),ee.Cm=1e6;var ue=function(t){function n(n,i){var r;return(r=t.call(this)||this).Pu=void 0,r.pm=void 0,r.Pu=n.toSigned(),r.pm=i>>>0,r}D(n,t),n.Om=function(t,i){return void 0===i&&(i=1e6),n.Qk(t*i,i)},n.Qk=function(t,i){return _(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(St.fromNumber(t),i)},n.Pk=function(t,i){return new n(t,i)},n.Bm=function(t){return n.Om(t.Sm,1e6)},n.Um=function(t){return new n(St.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,i,r){return n.Tm(i,n.Dm(r,t))};var i=n.prototype;return i.jk=function(){return this.Pu.isNegative()},i.Xk=function(){return 0!==this.pm&&this.Pu.isZero()},i.zk=function(){return 0===this.pm&&!this.Pu.isZero()},i.xk=function(){return 0===this.pm&&this.Pu.isZero()},i.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},i.Jk=function(){if(0===this.pm)throw new c("Failed to convert timestamp");return this.Pu},i.Qm=function(){return new Date(0===this.pm?NaN:this.Im(1e3).Pu.toNumber())},i.Ym=function(){return new ee(0===this.pm?this.Mk():this.Pu.toNumber(),this.pm)},i.Im=function(t,i){void 0===i&&(i=fe.Fm);var r=this.pm;if(r===t)return this;if(0===r)return this;var e=Tt(r,t);return new n(function(t,n,i){var r=t.lm(n),e=r[0],u=r[1];if(u.Xk())return e;if(i===fe.Fm)return u.jk()?e.Ok(re.vm):e;if(i===fe.Gm)return u.jk()?e:e.pp(re.vm);var o=u.dm(re.Qk(2));return o.jk()?o.Ck().Sk(n)?e:e.Ok(re.vm):o.Sk(n)?e:e.pp(re.vm)}(re.Pk(this.Pu).dm(re.Qk(t/e)),re.Qk(r/e),i).Jk(),t)},i.Nk=function(t){if(this===t)return Nr.Da;if(0===this.pm||0===t.pm)return ie(this,t);if(this.Xk())return t.Xk()?Nr.Da:t.jk()?Nr.Ia:Nr.Ea;if(t.Xk())return this.jk()?Nr.Ea:Nr.Ia;var n=v.min(this.pm,t.pm),i=this.Im(n,fe.Vm).Pu,r=t.Im(n,fe.Vm).Pu;return i.compare(r)},i.Ck=function(){return 0===this.pm?oe(this):new n(this.Pu.negate(),this.pm)},i.pp=function(t){if(0===this.pm||0===t.pm)return se(this,t);if(this.Xk())return t;if(t.Xk())return this;var i=v.max(this.pm,t.pm),r=this.Im(i,fe.Vm),e=t.Im(i,fe.Vm);return new n(r.Pu.add(e.Pu),i)},i.dm=function(t){if(this.xk()||_(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var i=this.jk()?n.Rm:n.zm;return t<0?i.Ck():i}return this.Xk()?this:new n(0===t?St.ZERO:this.Pu.multiply(t),this.pm)},i.ym=function(t){if(this.xk()||_(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(St.ZERO,this.pm);if(this.Xk())return 0===t?n.xm:new n(St.ZERO,this.pm);if(0===t){var i=this.jk()?n.Rm:n.zm;return 1/t<0?i.Ck():i}return new n(this.Pu.divide(t),this.pm)},i.Wm=function(){return[this.Pu.low,this.Pu.high,this.pm]},n}(ne);function oe(t){return t.xk()?t:t.jk()?ue.zm:ue.Rm}function se(t,n){return t.xk()||n.xk()?ue.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:ue.xm:t.zk()?t:n}ue.Fk=new ue(St.ZERO,1e6),ue.xm=new ue(St.ZERO,0),ue.zm=new ue(St.ONE,0),ue.Rm=new ue(St.NEG_ONE,0);var fe,ce=function(t){function n(n,i){var r;return(r=t.call(this)||this).Pu=void 0,r.pm=void 0,r.Pu=BigInt.asIntN(64,n),r.pm=i>>>0,r}D(n,t),n.Om=function(t,i){return void 0===i&&(i=1e6),n.Qk(t*i,i)},n.Qk=function(t,i){return _(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(BigInt(v.floor(t)),i)},n.Pk=function(t,i){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),i)},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,i,r){return n.Tm(i,n.Dm(r,t))};var i=n.prototype;return i.jk=function(){return this.Pu<BigInt(0)},i.Xk=function(){return 0!==this.pm&&this.Pu===BigInt(0)},i.zk=function(){return 0===this.pm&&this.Pu!==BigInt(0)},i.xk=function(){return 0===this.pm&&this.Pu===BigInt(0)},i.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},i.Jk=function(){if(0===this.pm)throw new c("Failed to convert timestamp");return this.Hm()},i.Hm=function(){var t=this.Pu&BigInt(4294967295),n=this.Pu>>BigInt(32)&BigInt(4294967295);return St.fromBits(Number(t),Number(n))},i.Qm=function(){return new Date(0===this.pm?NaN:Number(this.Im(1e3).Pu))},i.Ym=function(){return new ee(0===this.pm?this.Mk():Number(this.Pu),this.pm)},i.Im=function(t,i){void 0===i&&(i=fe.Fm);var r=this.pm;if(r===t)return this;if(0===r)return this;var e=Tt(r,t);return new n(function(t,n,i){var r=t/n,e=t-r*n;if(e===BigInt(0))return r;if(i===fe.Fm)return e<BigInt(0)?r-BigInt(1):r;if(i===fe.Gm)return e<BigInt(0)?r:r+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?r:r-BigInt(1):u<n?r:r+BigInt(1)}(this.Pu*BigInt(t/e),BigInt(r/e),i),t)},i.Nk=function(t){if(this===t)return Nr.Da;if(0===this.pm||0===t.pm)return ie(this,t);if(this.Xk())return t.Xk()?Nr.Da:t.jk()?Nr.Ia:Nr.Ea;if(t.Xk())return this.jk()?Nr.Ea:Nr.Ia;var n=v.min(this.pm,t.pm),i=this.Im(n,fe.Vm).Pu,r=t.Im(n,fe.Vm).Pu;return i>r?Nr.Ia:i<r?Nr.Ea:Nr.Da},i.Ck=function(){return 0===this.pm?he(this):new n(-this.Pu,this.pm)},i.pp=function(t){if(0===this.pm||0===t.pm)return ae(this,t);if(this.Xk())return t;if(t.Xk())return this;var i=v.max(this.pm,t.pm),r=this.Im(i,fe.Vm),e=t.Im(i,fe.Vm);return new n(r.Pu+e.Pu,i)},i.dm=function(t){if(this.xk()||_(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var i=this.jk()?n.Rm:n.zm;return t<0?i.Ck():i}return this.Xk()?this:new n(0===t?BigInt(0):this.Pu*BigInt(t),this.pm)},i.ym=function(t){if(this.xk()||_(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 i=this.jk()?n.Rm:n.zm;return 1/t<0?i.Ck():i}return new n(this.Pu/BigInt(t),this.pm)},i.Wm=function(){var t=this.Hm();return[t.low,t.high,this.pm]},N(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}(ne);function he(t){return t.xk()?t:t.jk()?ce.zm:ce.Rm}function ae(t,n){return t.xk()||n.xk()?ce.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:ce.xm:t.zk()?t:n}ce.Xm=void 0,ce.Zm=void 0,ce.qm=void 0,ce.Jm=void 0,function(t){t[t.Fm=0]="Fm",t[t.Gm=1]="Gm",t[t.Vm=2]="Vm"}(fe||(fe={}));var ve=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?ce:ue;function le(t){return ve.Pk(St.fromBits(t[0],t[1],!1),t[2])}var de=v.pow(2,33),_e=ve.Qk(de,9e4),we=_e.ym(2);function pe(t,n){var i=t.Ok(n);return t.zk()||n.zk()?i:(i.Tk(we)?i.Ok(_e):i.Sk(we.Ck())&&i.pp(_e),i)}var ye,ge;q.tu;!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"}(ye||(ye={})),function(t){t[t.RK=0]="RK",t[t.BK=1]="BK",t[t.UK=2]="UK",t[t.PK=3]="PK"}(ge||(ge={}));var me,be,ke,Ie,Se,Ee;[[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},{}),g.resolve();!function(t){t.Op="xp",t.zp="Rp",t.Ry="if"}(me||(me={})),function(t){t.Op="enter",t.zp="exit",t.Ry="update"}(be||(be={})),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"}(ke||(ke={})),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'}(Ie||(Ie={})),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"}(Se||(Se={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ee||(Ee={}));var Te;Se.WHITE,Ie.rK,Se.BLACK,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.GREEN,Ee.FONT_REGULAR,Se.GREEN,Ee.FONT_UNDERLINE,Se.BLUE,Ee.FONT_REGULAR,Se.BLUE,Ee.FONT_UNDERLINE,Se.CYAN,Ee.FONT_REGULAR,Se.CYAN,Ee.FONT_UNDERLINE,Se.RED,Ee.FONT_REGULAR,Se.RED,Ee.FONT_UNDERLINE,Se.YELLOW,Ee.FONT_REGULAR,Se.YELLOW,Ee.FONT_UNDERLINE,Se.MAGENTA,Ee.FONT_REGULAR,Se.MAGENTA,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_ITALICS,Se.WHITE,Ee.FONT_UNDERLINE_ITALICS,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE;!function(t){t[t.nat=47]="nat",t[t.iat=49]="iat"}(Te||(Te={}));var Re,Ae=[128,64,32,16,8,4,2,1];function Ne(t,n){var i=v.floor(n.bit/8),r=0==(("function"==typeof t.bc?t.bc(i):t[i])&Ae[n.bit%8])?0:1;return n.bit+=1,r}function Oe(t,n,i){for(var r=0,e=i;e>0;)e-=1,r=2*r+Ne(t,n);return r}function De(t,n){for(var i=0;0===Ne(t,n)&&i<32;)i+=1;return Oe(t,n,i)+v.pow(2,i)-1}function Ce(t,n){var i=De(t,n);return 1&i?v.floor((i+1)/2):-v.floor(i/2)}!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"}(Re||(Re={}));var Fe=[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 Pe(t,n,i){for(var r=8,e=8,u=0;u<i;u+=1){if(0!==e)e=(r+Ce(t,n)+256)%256;r=0===e?r:e}}var je=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),i=this.Dat,r=i.Zy,e=0;n<r;n+=1){var u=i.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,i=t,r=0;r<n.length;r++){if(!(n[r]<=i))return i;i+=1}return i},n.bc=function(t){if(!(t>this.Dat.Zy))return t>this.Eat&&this.Sat(),this.Dat.bc(this.Lat(t))},t}();function Be(t,n){Au(t.video?t.video:void 0);var i=so(t,!0),r=Ou(t)+8,e=qe.length+i+r,u=function(t,n){var i={video:[],audio:[]},r=8+n,e={video:t.video&&t.video.KH||[],audio:t.audio&&t.audio.KH||[]},u={JT:{P4:Number.POSITIVE_INFINITY}},o=0,s=0,f=e.video[0]||u,c=e.audio[0]||u;for(;o<e.video.length||s<e.audio.length;)f.JT.P4<c.JT.P4?(Qr(i.video,r),r+=f.Zy,f=e.video[o+=1]||u):(Qr(i.audio,r),r+=c.Zy,c=e.audio[s+=1]||u);return i}(t,qe.length+i);return n.v(e),n.eu(qe),fo(n,t,i,u),function(t,n,i){var r,e={JT:{P4:Number.POSITIVE_INFINITY}},u=0,o=0,s=n.video&&n.video.KH||[],f=n.audio&&n.audio.KH||[],c=s.length,h=f.length,a=s[u]||e,v=f[o]||e;t.su(i),t.eu(Ve);for(;u<c||o<h;)a.JT.P4<v.JT.P4?(r=a,a=s[u+=1]||e):(r=v,v=f[o+=1]||e),t.cu(r)}(n,t,r),n}function Me(t,n,i){var r=void 0!==n?n:void 0;Au(t.video?t.video:void 0);var e=so(t,!1,r),u=Ge.length+e;return i.v(u),i.eu(Ge),fo(i,t,e,void 0,r||ve.Fk),i}function xe(t,n,i,r,e){var u=i.Mk(),o=r.Mk(),s=function(t,n){return 1===Ao(t,n)?52:44}(t,o),f=To(t,u),c=Ou(t)+8,h=co.length+s+f+c;return e.v(h),e.eu(co),function(t,n,i,r,e){var u=n.video&&n.video.smt.pp(ve.Om(n.video.duration,n.video.smt.pm))||ve.Fk,o=n.audio&&n.audio.smt.pp(ve.Om(n.audio.duration,n.audio.smt.pm))||ve.Fk,s=ve.Tm(u,o),f=v.round(e*Ru);t.su(i),t.eu(ho),1===Ao(n,e)?(t.su(16777216),t.su(1),t.su(Ru),t.hu(St.fromNumber(f)),t.hu(St.ZERO)):(t.su(0),t.su(1),t.su(Ru),t.su(f),t.su(0));t.lu(0),t.lu(1);var c=Ro(n.video?n.video:void 0),h=Ro(n.audio?n.audio:void 0);t.su(To(n,r)+c+h+8),Co(t,s),t.eu([144,0,0,0])}(e,t,s,u,o),function(t,n,i,r,e){t.su(i),t.eu(ao),function(t,n){t.su(lo),t.eu(vo),t.su(0),t.su(n)}(t,r),Oo(t,n,n.video?n.video:void 0,1,e),Oo(t,n,n.audio?n.audio:void 0,2,e)}(e,t,f,n,u),function(t,n,i){var r=n.video&&n.video.KH||[],e=n.audio&&n.audio.KH||[];t.su(i),t.eu(Ve);for(var u=0;u<r.length;u++){var o=r[u];t.cu(o)}for(var s=0;s<e.length;s++){var f=e[s];t.cu(f)}}(e,t,c),e}function Le(t){return t.nmt===zr.kmt||t.nmt===zr.gmt||t.nmt===zr.wmt}function Ue(t){return t.nmt===zr.Bmt}function We(t){var n=t.length;if(n)for(var i=t[0].JT.Bat,r=0;r<n;r+=1){var e=t[r].JT;e.jmt=e.Rat.Ok(i),i=i.pp(e.Uat)}}var qe=[0,0,0,32,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,97,118,99,49,109,112,52,49],Ge=[0,0,0,28,102,116,121,112,109,112,52,50,0,0,0,0,105,115,111,109,109,112,52,50,100,97,115,104],Ve=[109,100,97,116],He=[109,111,111,118],Xe=[109,118,104,100],ze=[116,114,97,107],$e=[116,107,104,100],Ke=[109,118,101,120],Ye=[116,114,101,120],Ze=32,Je=[101,100,116,115],Qe=[101,108,115,116],tu=[109,100,105,97],nu=[109,100,104,100],iu=[99,116,116,115],ru=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0],eu=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0],uu=45,ou=[109,105,110,102],su=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],fu=16,cu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],hu=20,au=[0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1],vu=36,lu=[115,116,98,108],du=[115,116,115,100],_u=[97,118,99,67],wu=[101,115,100,115],pu=[115,116,115,115],yu=[115,116,116,115],gu=[115,116,115,99],mu=[115,116,115,122],bu=[115,116,99,111],ku=[112,97,115,112],Iu=[97,118,99,49],Su=[109,112,52,97],Eu=[1,0],Tu=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0],Ru=9e4;function Au(t){if(t&&!t.WN){var n=t.kAt,i=t.mAt;t.WN=function(t,n){var i=t.length,r=n.length,e=[];return Zr(e,1),Zr(e,t[1]),Zr(e,t[2]),Zr(e,t[3]),Zr(e,255),Zr(e,225),Zr(e,(65280&i)>>8),Zr(e,255&i),Jr(e,t),Zr(e,1),Zr(e,(65280&r)>>8),Zr(e,255&r),Jr(e,n),e}(n,i);var r=new te;r.Yht(n,0,n.length);var e=function(t){var n,i,r,e,u,o,s=new je(t),f=0,c=0,h=0,a=0,l=s.bc(1),d={bit:32};if(De(s,d),100===l||110===l||122===l||144===l){var _=De(s,d);if(3===_&&(n=Ne(s,d)),De(s,d),De(s,d),Ne(s,d),1===Ne(s,d))for(var w=0;w<(3!==_?8:12);w+=1)1===Ne(s,d)&&Pe(s,d,w<6?16:64)}var p=De(s,d),y=De(s,d);if(0===y)De(s,d);else if(1===y){Ne(s,d),Ce(s,d),Ce(s,d);for(var g=De(s,d),m=0;m<g;m+=1)Ce(s,d)}De(s,d),Ne(s,d);var b=De(s,d),k=De(s,d),I=Ne(s,d);if(0===I&&Ne(s,d),Ne(s,d),1===Ne(s,d)&&(f=De(s,d),c=De(s,d),h=De(s,d),a=De(s,d)),1===Ne(s,d)){if(1===Ne(s,d)){var S=Oe(s,d,8);if(255===S)i=Oe(s,d,16),r=Oe(s,d,16);else{var E=Fe[S];E&&(i=E[0],r=E[1])}}1===Ne(s,d)&&Ne(s,d),1===Ne(s,d)&&(Oe(s,d,3),Ne(s,d),1===Ne(s,d)&&(Oe(s,d,8),Oe(s,d,8),Oe(s,d,8))),1===Ne(s,d)&&(De(s,d),De(s,d)),1===(e=Ne(s,d))&&(u=Oe(s,d,32),o=Oe(s,d,32),Ne(s,d))}return{width:v.floor(16*(b+1)-2*f-2*c),height:v.floor((2-I)*(k+1)*16-2*h-2*a),eT:i,sT:r,jat:!!e&&o/(2*u),Cat:n,Oat:p}}(r);t.width=e&&e.width,t.height=e&&e.height,e&&e.eT&&e.sT&&(t.eT=e.eT,t.sT=e.sT)}}function Nu(t,n){var i=t.jat||0;if(Le(t))return t.Nmt;var r=v.max(Ru,i);return n?v.round(r):r}function Ou(t){var n=0,i=function(t){for(var n=t.length,i=0,r=0;r<n;r+=1)i+=t[r].Zy;return i};return t.video&&(n+=i(t.video.KH)),t.audio&&(n+=i(t.audio.KH)),n}function Du(t,n,i,r){var e=ve.Om(0,t.pm);return n?(r||e).pp(t):i||e}function Cu(t,n,i){var r=t.video&&Du(ve.Om(t.video.duration,Ru),n,i,t.video.smt)||ve.Fk,e=t.audio&&Du(ve.Om(t.audio.duration,Ru),n,i,t.audio.smt)||ve.Fk;return 0!==ve.Tm(r,e).Im(Ru).Jk().high?1:0}function Fu(t,n,i){return 1===Cu(t,n,i)?120:108}function Pu(t,n,i){return 0!==Du(ve.Om(t.duration,Ru),n,i,t.smt).Im(Ru).Jk().high?1:0}function ju(t,n,i){return 1===Pu(t,n,i)?104:92}function Bu(t,n,i){var r=Nu(t,!1),e=Du(ve.Om(t.duration,r),n,i);return e.bk(ve.Om(v.pow(2,32)-1,e.pm))?1:0}function Mu(t,n,i){return 1===Bu(t,n,i)?44:32}function xu(t){if(t.hasOwnProperty("gu"))return t.gu;for(var n=0,i=0,r=t.KH;i<r.length;i++){r[i].JT.Yat&&(n+=1)}return t.gu=n,n}function Lu(t,n){var i=t.video&&0!==a.keys(t.video).length,r=t.audio&&0!==a.keys(t.audio).length;return n?0:8+(i?Ze:0)+(r?Ze:0)}function Uu(t){return!Ue(t)&&t.Imt?t.Imt.length+12:0}function Wu(t){return Ue(t)?110+t.WN.length+Uu(t)+(t.eT&&t.sT?16:0):52+Uu(t)}function qu(t,n){return Ue(t)&&n?16+4*xu(t):0}function Gu(t,n){return t.imt&&n&&Ue(t)?16+8*t.KH.length:0}function Vu(t,n){return 20+(n?4*t.KH.length:0)}function Hu(t,n){return 16+(n?4*t.KH.length:0)}function Xu(t,n){return Ue(t)?16+(n?8*t.KH.length:0):16+(n?8:0)}function zu(t){return 16+(t?12:0)}function $u(t,n){return 8+Wu(t)+qu(t,n)+Gu(t,n)+Xu(t,n)+zu(n)+Vu(t,n)+Hu(t,n)}function Ku(t,n){return 8+(Ue(t)?hu:fu)+vu+$u(t,n)}function Yu(t,n,i){return 8+Mu(t,n,i)+uu+Ku(t,n)}function Zu(t){var n=v.floor(Ru*t.duration||0),i=t.smt;return n>v.pow(2,31)-1||i.bk(ve.Qk(v.pow(2,31)-1,Ru))?1:0}function Ju(t,n){return n?1===Zu(t)?24+(t.smt.Xk()?20:40):24+(t.smt.Xk()?12:24):0}function Qu(t,n,i){return t&&0!==a.keys(t).length?8+ju(t,n,i)+Yu(t,n,i)+Ju(t,n):0}function to(t,n,i){var r=Wu(n),e=function(t){if(t===zr.Bmt)return Iu;if(t===zr.kmt)return Su;if(t===zr.gmt||t===zr.wmt)return Su;throw new c("unknown codec "+t)}(n.nmt);t.su(r),t.eu(du),t.su(0),t.su(1),t.su(r-16),t.eu(e),t.su(0),t.lu(0),t.lu(1),e===Iu&&Ue(n)?(t.su(0),t.su(0),t.su(0),t.su(0),t.lu(n.width||0),t.lu(n.height||0),t.lu(72),t.lu(0),t.lu(72),t.lu(0),t.su(0),t.lu(1),t.eu([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.lu(24),t.eu([255,255]),t.su(8+n.WN.length),t.eu(_u),t.eu(n.WN)):e===Su&&Le(n)&&(t.su(0),t.su(0),t.lu(n.Dmt),t.lu(16),t.lu(0),t.lu(0),t.lu(n.Nmt),t.lu(0)),Ue(n)&&n.eT&&n.sT&&(t.su(16),t.eu(ku),t.su(n.eT),t.su(n.sT)),!Ue(n)&&n.Imt&&(t.su(Uu(n)),t.eu(wu),t.su(0),t.eu(n.Imt))}function no(t,n,i){var r=Nu(n,!0),e=i?n.KH.length:0;!function(t){var n=t.length;if(n){var i=(t=Fr(t,function(t,n){return function(t,n){return t.Nk(n)}(t.JT.Bat,n.JT.Bat)}))[0].JT;i.Cmt=ve.Fk;for(var r=1;r<n;r+=1){var e=t[r].JT,u=e.Bat.Ok(i.Bat);e.Cmt=ve.Tm(u,ve.Fk),i=e}}}(n.KH),t.su(e);for(var u=0;u<e;u+=1){var o=n.KH[u].JT.Cmt;t.su(1),t.su(o.Im(r,fe.Vm).Jk().toInt())}}function io(t,n,i,r){var e=$u(n,!!r);t.su(e),t.eu(lu),to(t,n),function(t,n,i){t.su(Xu(n,i)),t.eu(yu),t.su(0),Ue(n)?no(t,n,i):function(t,n,i){t.su(i?1:0),i&&(t.su(n.KH.length),t.su(n.Tmt))}(t,n,i)}(t,n,!!r),function(t,n,i){if(Ue(n)&&i){var r=qu(n,i);t.su(r),t.eu(pu),t.su(0),t.su(xu(n));for(var e=0;e<n.KH.length;e+=1)n.KH[e].JT.Yat&&t.su(e+1)}}(t,n,!!r),function(t,n,i){var r=Nu(n,!1);if(n.imt&&i&&Ue(n)){We(n.KH);var e=Gu(n,i);t.su(e),t.eu(iu),t.su(0),t.su(n.KH.length);for(var u=0,o=n.KH;u<o.length;u++){var s=o[u].JT.jmt;t.su(1),t.su(s.Im(r,fe.Vm).Jk().toInt())}}}(t,n,!!r),function(t,n){t.su(zu(n)),t.eu(gu),t.su(0),t.su(n?1:0),n&&(t.su(1),t.su(1),t.su(1))}(t,!!r),function(t,n,i){var r=Vu(n,i);if(t.su(r),t.eu(mu),t.su(0),t.su(0),t.su(i?n.KH.length:0),i)for(var e=0,u=n.KH;e<u.length;e++){var o=u[e];t.su(o.Zy)}}(t,n,!!r),function(t,n,i){var r=Hu(n,!!i);t.su(r),t.eu(bu),t.su(0),t.su(i?n.KH.length:0),i&&t.eu(i)}(t,n,r)}function ro(t,n,i,r){var e=Ku(n,!!r);t.su(e),t.eu(ou),Ue(n)?function(t){t.eu(cu)}(t):function(t){t.eu(su)}(t),function(t){t.eu(au)}(t),io(t,n,0,r)}function eo(t,n,i,r,e){var u=Yu(n,!!r,e);t.su(u),t.eu(tu),function(t,n,i,r){var e=Mu(n,i,r),u=Nu(n,!1),o=Du(ve.Om(n.duration,u),i,r);u=v.round(u),t.su(e),t.eu(nu),1===Bu(n,i,r)?(t.su(16777216),t.hu(St.ZERO),t.hu(St.ZERO),t.su(u),Do(t,o)):(t.su(0),t.su(0),t.su(0),t.su(u),Co(t,o)),t.eu([85,196]),t.eu([0,0])}(t,n,!!r,e),function(t,n){n?t.eu(ru):t.eu(eu)}(t,Ue(n)),ro(t,n,0,r)}function uo(t,n){t.su(Ze),t.eu(Ye),t.su(0),t.su(n),t.su(1),t.su(0),t.su(0),t.su(0)}function oo(t,n,i,r,e){var u=Qu(n,!!i,e);n&&0!==u&&(t.su(u),t.eu(ze),function(t,n,i,r,e){var u=Du(ve.Om(n.duration,Ru),r,e,n.smt),o=ju(n,r,e),s=Ue(n);t.su(o),t.eu($e),1===Pu(n,r,e)?(t.su(16777231),t.hu(St.ZERO),t.hu(St.ZERO),t.su(i),t.su(0),Do(t,u)):(t.su(15),t.su(0),t.su(0),t.su(i),t.su(0),Co(t,u)),t.su(0),t.su(0),t.lu(0),t.lu(s?0:1),t.eu(s?[0,0]:Eu),t.eu([0,0]),t.eu(Tu),Ue(n)?(t.lu(n.width||0),t.lu(0),t.lu(n.height||0),t.lu(0)):(t.su(0),t.su(0))}(t,n,r,!!i,e),i&&function(t,n){var i=Ju(n,!0),r=v.floor(Ru*n.duration||0),e=Zu(n);t.su(i),t.eu(Je),t.su(i-8),t.eu(Qe),1===e?t.su(16777216):t.su(0),t.su(n.smt.Xk()?1:2),n.smt.Xk()||(1===e?(Do(t,n.smt),t.eu([255,255,255,255,255,255,255,255])):(Co(t,n.smt),t.eu([255,255,255,255])),t.lu(1),t.lu(0)),1===e?(t.hu(St.fromNumber(r)),t.hu(St.ZERO)):(t.su(r),t.su(0)),t.lu(1),t.lu(0)}(t,n),eo(t,n,0,i,e))}function so(t,n,i){var r=Qu(t.video?t.video:void 0,n,i),e=Qu(t.audio?t.audio:void 0,n,i);return 8+Fu(t,n,i)+Lu(t,n)+r+e}function fo(t,n,i,r,e){t.su(i),t.eu(He),function(t,n,i,r){var e=Fu(n,i,r),u=n.video&&Du(ve.Om(n.video.duration,Ru),i,r,n.video.smt)||ve.Fk,o=n.audio&&Du(ve.Om(n.audio.duration,Ru),i,r,n.audio.smt)||ve.Fk,s=ve.Tm(u,o);t.su(e),t.eu(Xe),1===Cu(n,i,r)?(t.su(16777216),t.hu(St.ZERO),t.hu(St.ZERO),t.su(Ru),Do(t,s)):(t.su(0),t.su(0),t.su(0),t.su(Ru),Co(t,s)),t.eu([0,1,0,0]),t.eu(Eu),t.eu([0,0,0,0,0,0,0,0,0,0]),t.eu(Tu),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(3)}(t,n,!!r,e),r||function(t,n){t.su(Lu(n,!1)),t.eu(Ke),n.video&&0!==a.keys(n.video).length&&uo(t,1),n.audio&&0!==a.keys(n.audio).length&&uo(t,2)}(t,n),oo(t,n.video?n.video:void 0,r&&r.video,1,e),oo(t,n.audio?n.audio:void 0,r&&r.audio,2,e)}var co=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],ho=[115,105,100,120],ao=[109,111,111,102],vo=[109,102,104,100],lo=16,_o=[116,114,97,102],wo=[116,102,104,100],po=24,yo=[116,102,100,116],go=[116,114,117,110],mo=[115,100,116,112];function bo(t){return Ue(t)?20+16*t.KH.length:20+4*t.KH.length}function ko(t){return Ue(t)?12+t.KH.length:0}function Io(t,n){var i=Nu(t,!0);return v.round(n*i)>v.pow(2,32)-1?1:0}function So(t,n){return 1===Io(t,n)?20:16}function Eo(t,n){return t&&t.KH?8+po+So(t,n)+bo(t)+ko(t):0}function To(t,n){var i=Eo(t.audio?t.audio:void 0,n),r=Eo(t.video?t.video:void 0,n);return 8+lo+i+r}function Ro(t){if(!t||!t.KH)return 0;for(var n=0,i=0,r=t.KH;i<r.length;i++){n+=r[i].Zy}return n}function Ao(t,n){return v.round(n*Ru)>v.pow(2,32)-1?1:0}function No(t,n,i,r){Ue(i)?function(t,n,i,r){var e=To(n,r)+8,u=Nu(i,!1);We(i.KH),t.su(bo(i)),t.eu(go),t.eu([1,0,15,1]),t.su(i.KH.length),t.su(e);for(var o=0,s=i.KH;o<s.length;o++){var f=s[o];t.su(v.round(f.JT.r_*u));var c=f.JT.jmt;t.su(f.Zy),t.eu(f.JT.Yat?[2,0,0,0]:[0,1,0,0]),t.su(c.Im(u).Jk().toInt())}}(t,n,i,r):function(t,n,i,r){var e=Ro(n.video?n.video:void 0),u=To(n,r)+8+e;t.su(bo(i)),t.eu(go),t.eu([0,0,2,1]),t.su(i.KH.length),t.su(u);for(var o=0,s=i.KH;o<s.length;o++){var f=s[o];t.su(f.Zy)}}(t,n,i,r)}function Oo(t,n,i,r,e){i&&(t.su(Eo(i,e)),t.eu(_o),function(t,n,i){var r=Nu(n,!0),e=Ue(n)?v.round(r/(n.umt.Mk()||0)):n.Tmt;t.su(po),t.eu(wo),t.su(40),t.su(i),t.su(e),t.eu(Ue(n)?[0,1,0,0]:[2,0,0,0])}(t,i,r),function(t,n,i){var r=Nu(n,!0),e=v.round(i*r);t.su(So(n,i)),t.eu(yo),1===Io(n,i)?(t.su(16777216),t.hu(St.fromNumber(e))):(t.su(0),t.su(e))}(t,i,e),No(t,n,i,e),function(t,n,i){if(Ue(i)){t.su(ko(i)),t.eu(mo),t.eu([0,0,0,0]);for(var r=0,e=i.KH;r<e.length;r++)e[r].JT.Yat?t.ku(32):t.ku(16)}}(t,0,i))}function Do(t,n){t.hu(n.Im(Ru).Jk())}function Co(t,n){t.su(n.Im(Ru).Jk().toNumber())}var Fo,Po={qu:function(t,n){n.v(function(t){var n=0;return t.audio&&(n+=function(t){var n,i=t.length,r=0;for(n=0;n<i;n+=1)r+=t[n].Zy;return r}(t.audio.KH)),n}(t));for(var i=0,r=t.audio&&t.audio.KH||[],e=r.length;i<e;)n.cu(r[i]),i+=1}},jo=function(){function t(t){this._o=void 0,this.Vl=void 0,this.zu=0,this.Vl=t}var n=t.prototype;return n.to=function(t,n,i){var r=this.zu,e=this._o;for(n=n||0,i=i||t.length;n<i;n+=1,r+=1)e[r]=t[n];this.zu=r},n.v=function(t){this._o=new w(t),this.zu=0},n.ku=function(t){this._o&&(this._o[this.zu]=t,this.zu+=1)},n.eu=function(t,n,i){this._o&&this.to(t,n,i)},n.cu=function(t){this.zu=t.Xht(this._o,this.zu)},n.Wm=function(t){return t(this._o,this.Vl)},n.lu=function(t){return this.eu([(n=t)>>>8&255,255&n]);var n},n.su=function(t){return this.eu(Yr(t))},n.hu=function(t){var n=t.toUnsigned();this.su(n.high),this.su(n.low)},t}(),Bo=t;function Mo(t,n){return void 0===Fo&&(Fo=function(){var t=new w(1);try{return Bo.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&Fo?Bo.postMessage(t,n):Bo.postMessage(t)}var xo,Lo,Uo,Wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),qo=16383;function Go(t,n,i){for(var r,e,u,o=[],s=n;s<i;s+=3)o.push((r=t[s],e=t[s+1],u=t[s+2],Wo[r>>2]+Wo[(3&r)<<4|e>>4]+Wo[(15&e)<<2|u>>6]+Wo[63&u]));return o.join("")}function Vo(t){for(var n=t.length,i=n%3,r=[],e=n-i,u=0;u<e;u+=qo)r.push(Go(t,u,v.min(e,u+qo)));if(1===i){var o=t[n-1];r.push(Wo[o>>2]+Wo[(3&o)<<4]+"==")}else if(2===i){var s=t[n-2],f=t[n-1];r.push(Wo[s>>2]+Wo[(3&s)<<4|f>>4]+Wo[(15&f)<<2]+"=")}return r.join("")}function Ho(t){return{Nb:t.Nb,JT:{P4:t.JT.P4,b0:le(t.JT.zat)},KH:t.KH}}function Xo(t){return{b0:le(t.b0),lT:t.lT,w0:t.w0,g0:t.g0,ra:t.ra,qht:t.qht,y0:t.y0,A0:t.A0}}function zo(t){return{Zkt:t.Zkt,KH:[],nmt:t.nmt,imt:t.imt,duration:t.duration,emt:t.emt,smt:le(t.smt),jat:t.jat,umt:le(t.umt),omt:t.omt,hmt:le(t.hmt),amt:le(t.amt),cmt:le(t.cmt),fmt:le(t.fmt),vmt:le(t.vmt),dmt:le(t.dmt),lmt:le(t.lmt)}}function $o(t){switch(t.nmt){case zr.gmt:case zr.wmt:return function(t){return vr({},Ko(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t){var n=Yo(t),i=(r=n.JT,vr({},Jo(r),{ymt:r.ymt,Amt:r.Amt,_mt:r._mt}));var r;return n.jc(i)}(t)}),DAt:t.DAt,pmt:t.pmt})}(t);case zr.kmt:return function(t){return vr({},Ko(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t){var n=Yo(t),i=(r=n.JT,vr({},Jo(r),{Sb:r.Sb,uN:r.uN,mmt:r.mmt,Mmt:r.Mmt,bmt:r.bmt}));var r;return n.jc(i)}(t)})})}(t)}}function Ko(t){return vr({},zo(t),{KH:[],nmt:t.nmt,Nmt:t.Nmt,Tmt:t.Tmt,Dmt:t.Dmt,Imt:t.Imt})}function Yo(t){var n=new te;return n.Yht(t.Emt,0,t.Smt),n.JT=t.Lmt,n}function Zo(t){var n;return vr({},{P4:(n=t).P4,zat:le(n.zat)},{Rat:le(t.Rat),Bat:le(t.Bat)})}function Jo(t){return vr({},Zo(t))}!function(t){t.kmt="ZNt",t.zA="qNt",t.JNt="KNt",t.$Nt="tTt",t.nTt="iTt"}(xo||(xo={})),function(t){t.rTt="eTt",t.sTt="uTt"}(Lo||(Lo={})),function(t){t.oTt="audio/mp4",t.hTt="audio/mpeg",t.aTt="video/mp4"}(Uo||(Uo={}));var Qo=t;function ts(t,n,i){n={},i||(i="PIW0031"),Qo.postMessage({qTt:"iDt",JTt:t,$Tt:n.message||i,no:n.name,io:n.stack,ro:JSON.stringify(n)})}function ns(t,n){return{_o:Vo(t),Vl:n}}Qo.addEventListener("message",function(t){var n,i,r,e,u=t.data,o=u.DTt,s=u.LTt,f=u.ETt,c=[],h=s===Lo.rTt?function(t,n,i){return t.push(n.buffer),{_o:n,Vl:i}}.bind(void 0,c):ns;if("ITt"===o){r=function(t){return{audio:t.audio?$o(t.audio):void 0,video:t.video?(i=t.video,r=zo(i),vr({},r,{nmt:i.nmt,KH:i.KH.map(function(t){return function(t){var n,i=Yo(t),r=vr({},Zo(n=i.JT),{r_:n.r_,Uat:le(n.Uat),Pat:n.Pat,Qat:n.Qat,jmt:n.jmt&&le(n.jmt),Cmt:n.Cmt&&le(n.Cmt),Yat:n.Yat,Vat:n.Vat,Fat:n.Fat,Gat:n.Gat});return i.jc(r)}(t)}),Omt:i.Omt,xmt:i.xmt,WN:i.WN,width:i.width,height:i.height,$vt:i.$vt,zmt:i.zmt,ndt:i.ndt,kAt:i.kAt,mAt:i.mAt,eT:i.eT,sT:i.sT})):void 0,Xkt:t.Xkt?(n=t.Xkt,{Zkt:n.Zkt,a_t:n.a_t,wA:n.wA,qkt:n.qkt,Jkt:n.Jkt,Kkt:n.Kkt,$kt:n.$kt.map(Ho),kA:[]}):void 0,Fat:t.Fat?t.Fat.map(Xo):t.Fat,tmt:le(t.tmt)};var n,i,r}(u.CTt),u.CTt=void 0;try{if((e=u.STt)===xo.nTt||e===xo.$Nt||e===xo.JNt)n=function(t,n){var i=t.jTt,r=t.OTt,e=le(t.zTt),u=le(t.RTt),o=t.xTt&&le(t.xTt);switch(t.STt){case xo.JNt:var s=new jo(i);return xe(n,r,e,u,s),s;case xo.$Nt:var f=new jo(i);return Me(n,o,f),f;case xo.nTt:var c={hDt:new jo(i),aDt:new jo(i),Wm:function(t){return{hDt:c.hDt.Wm(t),aDt:c.aDt.Wm(t)}}};return Me(n,o,c.hDt),xe(n,r,e,u,c.aDt),c}}(u,r);else{if(!function(t){var n=t.STt;return n===xo.zA||n===xo.kmt}(u))return ts(f,{},"PIW0072");n=function(t,n){var i=t.jTt;switch(t.STt){case xo.kmt:var r=new jo(i);return Po.qu(n,r),r;case xo.zA:var e=new jo(i);return Be(n,e),e}}(u,r)}}catch(t){return ts(f,t,"PIW0082")}try{i=n.Wm(h)}catch(t){return ts(f,t,"PIW0077")}try{return Mo({qTt:"tDt",JTt:f,KTt:i},c)}catch(t){return ts(f,t,"PIW0078")}}return ts(f,{},"PIW0090")},!1),Qo.postMessage({Skt:"3.2.2"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
31
+ !function(t){!function(){"use strict";var n,i=t.window,r=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,s=t.setInterval,f=t.clearInterval,c=t.Error,h=t.TypeError,a=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,d=t.parseFloat,_=t.isNaN,w=t.Uint8Array,p=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest,"undefined"!=typeof globalThis?globalThis:void 0!==i?i:"undefined"!=typeof global?global:void 0!==t?t:{});function y(t,n,i){return t(i={path:n,exports:{},require:function(t,n){return function(){throw new c("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==n&&i.path)}},i.exports),i.exports}var g=y(function(s,f){s.exports=function t(i,r,e){function u(s,f){if(!r[s]){if(!i[s]){var h="function"==typeof n&&n;if(!f&&h)return h(s,!0);if(o)return o(s,!0);var a=new c("Cannot find module '"+s+"'");throw a.code="MODULE_NOT_FOUND",a}var v=r[s]={exports:{}};i[s][0].call(v.exports,function(t){var n=i[s][1][t];return u(n||t)},v,v.exports,t,i,r,e)}return r[s].exports}for(var o="function"==typeof n&&n,s=0;s<e.length;s++)u(e[s]);return u}({1:[function(t,n,i){n.exports=function(t){var n=t.g;function i(t){var i=new n(t),r=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),r}t.any=function(t){return i(t)},t.prototype.any=function(){return i(this)}}},{}],2:[function(t,n,i){var r;try{throw new c}catch(t){r=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 h(t,n,i){this.j.push(t,n,i),this.Z()}function a(t,n,i){this.B.push(t,n,i),this.Z()}function v(t){this.B.q(t),this.Z()}function l(t){for(;t.length()>0;)d(t)}function d(t){var n=t.shift();if("function"!=typeof n)n.J();else{var i=t.shift(),r=t.shift();n.call(i,r)}}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 c?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 c("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")}},s.hasDevTools?(f.prototype.invokeLater=function(t,n,i){this.Y?h.call(this,t,n,i):this.H(function(){u(function(){t.call(n,i)},100)})},f.prototype.invoke=function(t,n,i){this.Y?a.call(this,t,n,i):this.H(function(){t.call(n,i)})},f.prototype.settlePromises=function(t){this.Y?v.call(this,t):this.H(function(){t.J()})}):(f.prototype.invokeLater=h,f.prototype.invoke=a,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=r},{"./queue":26,"./schedule":29,"./util":36}],3:[function(t,n,i){n.exports=function(t,n,i,r){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=r.propagateFromFunction(),t.prototype.dt=r.boundValueFunction());var c=i(u),h=new t(n);h.vt(this,1);var a=this.wt();if(h.yt(c),c instanceof t){var v={promiseRejectionQueued:!1,promise:h,target:a,bindingPromise:c};a.ut(n,o,void 0,h,v),c.ut(s,f,void 0,h,v),h.At(c)}else h.ct(a);return h},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,i){return t.resolve(i).bind(n)}}},{}],4:[function(t,n,i){var r;"undefined"!=typeof Promise&&(r=Promise);var e=t("./promise")();e.noConflict=function(){try{Promise===e&&(Promise=r)}catch(t){}return e},n.exports=e},{"./promise":22}],5:[function(t,n,i){var r=a.create;if(r){var e=r(null),u=r(null);e[" size"]=u[" size"]=0}n.exports=function(n){var i=t("./util"),r=i.canEvaluate;function e(t){var r=this.pop(),e=function(t,r){var e;if(null!=t&&(e=t[r]),"function"!=typeof e){var u="Object "+i.classString(t)+" has no method '"+i.toString(r)+"'";throw new n.TypeError(u)}return e}(t,r);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]}i.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,i="number"==typeof t;if(i)n=o;else if(r){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,i){n.exports=function(n,i,r,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 i=t.St;if(null==i||!i.Nt()){t.Dt()?t.It().cancel():t.Et();break}t.Dt()&&t.It().cancel(),t.Lt(),n=t,t=i}},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 i=0;i<t.length;++i)this.Ft(t[i],n);else if(void 0!==t)if("function"==typeof t){if(!n){var r=o(t).call(this.dt());r===s&&(this.Gt(r.e),f.throwLater(r.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,i){n.exports=function(n){var i=t("./util"),r=t("./es5").keys,e=i.tryCatch,u=i.errorObj;return function(t,o,s){return function(f){var h=s.dt();t:for(var a=0;a<t.length;++a){var v=t[a];if(v===c||null!=v&&v.prototype instanceof c){if(f instanceof v)return e(o).call(h,f)}else if("function"==typeof v){var l=e(v).call(h,f);if(l===u)return l;if(l)return e(o).call(h,f)}else if(i.isObject(f)){for(var d=r(v),_=0;_<d.length;++_){var w=d[_];if(v[w]!=f[w])continue t}return e(o).call(h,f)}}return n}}}},{"./es5":13,"./util":36}],8:[function(t,n,i){n.exports=function(t){var n=!1,i=[];function r(){this.Ht=new r.CapturedTrace(e())}function e(){var t=i.length-1;if(t>=0)return i[t]}return t.prototype.Xt=function(){},t.prototype.Zt=function(){},t.prototype.qt=function(){return null},t.Jt=t.prototype.Jt=function(){},r.prototype.Zt=function(){void 0!==this.Ht&&(this.Ht.Xt=null,i.push(this.Ht))},r.prototype.qt=function(){if(void 0!==this.Ht){var t=i.pop(),n=t.Xt;return t.Xt=null,n}return null},r.CapturedTrace=null,r.create=function(){if(n)return new r},r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var i=t.prototype.Zt,u=t.prototype.qt,o=t.Jt,s=t.prototype.Jt,f=t.prototype.Xt;r.deactivateLongStackTraces=function(){t.prototype.Zt=i,t.prototype.qt=u,t.Jt=o,t.prototype.Jt=s,t.prototype.Xt=f,n=!1},n=!0,t.prototype.Zt=r.prototype.Zt,t.prototype.qt=r.prototype.qt,t.Jt=t.prototype.Jt=e,t.prototype.Xt=function(){var t=this.Jt();t&&null==t.Xt&&(t.Xt=this)}},r}},{}],9:[function(t,n,i){n.exports=function(n,i){var e,o,s,f=n.Kt,v=n.Mt,d=t("./errors").Warning,_=t("./util"),w=t("./es5"),p=_.canAttachTrace,y=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,g=/\((?:timers\.js):\d+:\d+\)/,m=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,b=null,k=null,I=!1,S=!(0==_.env("BLUEBIRD_DEBUG")),E=!(0==_.env("BLUEBIRD_WARNINGS")||!S&&!_.env("BLUEBIRD_WARNINGS")),T=!(0==_.env("BLUEBIRD_LONG_STACK_TRACES")||!S&&!_.env("BLUEBIRD_LONG_STACK_TRACES")),R=0!=_.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(E||!!_.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(){Y("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(),Y("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,i){return X(t,n,i||this)},n.onPossiblyUnhandledRejection=function(t){var n=f();o="function"==typeof t?null===n?t:_.domainBind(n,t):void 0},n.onUnhandledRejectionHandled=function(t){var n=f();e="function"==typeof t?null===n?t:_.domainBind(n,t):void 0};var A=function(){};n.longStackTraces=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new c("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,r=n.prototype.Gt,e=n.prototype.Mn;et.longStackTraces=!0,A=function(){if(v.haveItemsQueued()&&!et.longStackTraces)throw new c("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=r,n.prototype.Mn=e,i.deactivateLongStackTraces(),v.enableTrampoline(),et.longStackTraces=!1},n.prototype.pn=G,n.prototype.Gt=V,n.prototype.Mn=H,i.activateLongStackTraces(),v.disableTrampolineIfNecessary()}},n.hasLongStackTraces=function(){return et.longStackTraces&&J()};var N=function(){try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return _.global.dispatchEvent(t),function(t,n){var i={detail:n,cancelable:!0};w.defineProperty(i,"promise",{value:n.promise}),w.defineProperty(i,"reason",{value:n.reason});var r=new CustomEvent(t.toLowerCase(),i);return!_.global.dispatchEvent(r)}}if("function"==typeof Event){var t=new Event("CustomEvent");return _.global.dispatchEvent(t),function(t,n){var i=new Event(t.toLowerCase(),{cancelable:!0});return i.detail=n,w.defineProperty(i,"promise",{value:n.promise}),w.defineProperty(i,"reason",{value:n.reason}),!_.global.dispatchEvent(i)}}var t=r.createEvent("CustomEvent");return t.initCustomEvent("testingtheevent",!1,!0,{}),_.global.dispatchEvent(t),function(t,n){var i=r.createEvent("CustomEvent");return i.initCustomEvent(t.toLowerCase(),!1,!0,n),!_.global.dispatchEvent(i)}}catch(t){}return function(){return!1}}(),O=_.isNode?function(){return process.emit.apply(process,arguments)}:_.global?function(t){var n="on"+t.toLowerCase(),i=_.global[n];return!!i&&(i.apply(_.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function D(t,n){return{promise:n}}var C={promiseCreated:D,promiseFulfilled:D,promiseRejected:D,promiseResolved:D,promiseCancelled:D,promiseChained:function(t,n,i){return{promise:n,child:i}},warning:function(t,n){return{warning:n}},unhandledRejection:function(t,n,i){return{reason:n,promise:i}},rejectionHandled:D},F=function(t){var n=!1;try{n=O.apply(null,arguments)}catch(t){v.throwLater(t),n=!0}var i=!1;try{i=N(t,C[t].apply(null,arguments))}catch(t){v.throwLater(t),i=!0}return i||n};function P(){return!1}function j(t,n,i){var r=this;try{t(n,i,function(t){if("function"!=typeof t)throw new h("onCancel must be a function, got: "+_.toString(t));r.Nn(t)})}catch(t){return t}}function B(t){if(!this.Nt())return this;var n=this.Vt();void 0!==n?_.isArray(n)?n.push(t):this.At([n,t]):this.At(t)}function M(){return this.Qt}function x(t){this.Qt=t}function L(){this.St=void 0,this.Qt=void 0}function U(t,n){if(0!=(1&n)){this.St=t;var i=t.Ct;void 0===i&&(i=0),t.Ct=i+1}0!=(2&n)&&t.kt()&&this.yt(t._t)}n.config=function(t){if("longStackTraces"in(t=a(t))&&(t.longStackTraces?n.longStackTraces():!t.longStackTraces&&n.hasLongStackTraces()&&A()),"warnings"in t){var i=t.warnings;et.warnings=!!i,R=et.warnings,_.isObject(i)&&"wForgottenReturn"in i&&(R=!!i.wForgottenReturn)}if("cancellation"in t&&t.cancellation&&!et.cancellation){if(v.haveItemsQueued())throw new c("cannot enable cancellation after promises are in use");n.prototype.Tn=L,n.prototype.vt=U,n.prototype.Vt=M,n.prototype.At=x,n.prototype.Nn=B,n.prototype.Dn=j,W=U,et.cancellation=!0}return"monitoring"in t&&(t.monitoring&&!et.monitoring?(et.monitoring=!0,n.prototype.In=F):!t.monitoring&&et.monitoring&&(et.monitoring=!1,n.prototype.In=P)),n},n.prototype.In=P,n.prototype.Dn=function(t,n,i){try{t(n,i)}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 W=function(t,n){0!=(2&n)&&t.kt()&&this.yt(t._t)};function q(){var t=this._t;return void 0!==t&&t instanceof n?t.isFulfilled()?t.value():void 0:t}function G(){this.Ht=new it(this.Jt())}function V(t,n){if(p(t)){var i=this.Ht;if(void 0!==i&&n&&(i=i.En),void 0!==i)i.attachExtraTrace(t);else if(!t.Sn){var r=$(t);_.notEnumerableProp(t,"stack",r.message+"\n"+r.stack.join("\n")),_.notEnumerableProp(t,"Sn",!0)}}}function H(){this.Ht=void 0}function X(t,i,r){if(et.warnings){var e,u=new d(t);if(i)r.Gt(u);else if(et.longStackTraces&&(e=n.Jt()))e.attachExtraTrace(u);else{var o=$(u);u.stack=o.message+"\n"+o.stack.join("\n")}F("warning",u)||K(u,"",!0)}}function z(t){for(var n=[],i=0;i<t.length;++i){var r=t[i],e=" (No stack trace)"===r||b.test(r),u=e&&Q(r);e&&!u&&(I&&" "!==r.charAt(0)&&(r=" "+r),n.push(r))}return n}function $(t){var n=t.stack,i=t.toString();return n="string"==typeof n&&n.length>0?function(t){for(var n=t.stack.replace(/\s+$/g,"").split("\n"),i=0;i<n.length;++i){var r=n[i];if(" (No stack trace)"===r||b.test(r))break}return i>0&&"SyntaxError"!=t.name&&(n=n.slice(i)),n}(t):[" (No stack trace)"],{message:i,stack:"SyntaxError"==t.name?n:z(n)}}function K(t,n,i){if("undefined"!=typeof console){var r;if(_.isObject(t)){var e=t.stack;r=n+k(e,t)}else r=n+String(t);"function"==typeof s?s(r,i):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function Y(t,n,i,r){var e=!1;try{"function"==typeof n&&(e=!0,"rejectionHandled"===t?n(r):n(i,r))}catch(t){v.throwLater(t)}"unhandledRejection"===t?F(t,i,r)||e||K(i,"Unhandled rejection "):F(t,r)}function Z(t){var n;if("function"==typeof t)n="[function "+(t.name||"anonymous")+"]";else{if(n=t&&"function"==typeof t.toString?t.toString():_.toString(t),/\[object [a-zA-Z0-9$_]+\]/.test(n))try{var i=JSON.stringify(t);n=i}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 rt}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 it(t){this.En=t,this.Ln=0;var n=this.Ut=1+(void 0===t?0:t.Ut);rt(this,it),n>32&&this.uncycle()}_.inherits(it,c),i.CapturedTrace=it,it.prototype.uncycle=function(){var t=this.Ut;if(!(t<2)){for(var n=[],i={},r=0,e=this;void 0!==e;++r)n.push(e),e=e.En;for(var r=(t=this.Ut=r)-1;r>=0;--r){var u=n[r].stack;void 0===i[u]&&(i[u]=r)}for(var r=0;r<t;++r){var o=n[r].stack,s=i[o];if(void 0!==s&&s!==r){s>0&&(n[s-1].En=void 0,n[s-1].Ut=1),n[r].En=void 0,n[r].Ut=1;var f=r>0?n[r-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 c=f.Ut+1,h=r-2;h>=0;--h)n[h].Ut=c,c++;return}}}},it.prototype.attachExtraTrace=function(t){if(!t.Sn){this.uncycle();for(var n=$(t),i=n.message,r=[n.stack],e=this;void 0!==e;)r.push(z(e.stack.split("\n"))),e=e.En;!function(t){for(var n=t[0],i=1;i<t.length;++i){for(var r=t[i],e=n.length-1,u=n[e],o=-1,s=r.length-1;s>=0;--s)if(r[s]===u){o=s;break}for(var s=o;s>=0;--s){var f=r[s];if(n[e]!==f)break;n.pop(),e--}n=r}}(r),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--)}(r),_.notEnumerableProp(t,"stack",function(t,n){for(var i=0;i<n.length-1;++i)n[i].push("From previous event:"),n[i]=n[i].join("\n");return i<n.length&&(n[i]=n[i].join("\n")),t+"\n"+n.join("\n")}(i,r)),_.notEnumerableProp(t,"Sn",!0)}};var rt=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 c.stackTraceLimit&&"function"==typeof c.captureStackTrace){c.stackTraceLimit+=6,b=t,k=n;var i=c.captureStackTrace;return Q=function(t){return y.test(t)},function(t,n){c.stackTraceLimit+=6,i(t,n),c.stackTraceLimit-=6}}var r,e=new c;if("string"==typeof e.stack&&e.stack.split("\n")[0].indexOf("stackDetection@")>=0)return b=/@/,k=n,I=!0,function(t){t.stack=(new c).stack};try{throw new c}catch(t){r="stack"in t}return"stack"in e||!r||"number"!=typeof c.stackTraceLimit?(k=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):(b=t,k=n,function(t){c.stackTraceLimit+=6;try{throw new c}catch(n){t.stack=n.stack}c.stackTraceLimit-=6})}();"undefined"!=typeof console&&void 0!==console.warn&&(s=function(t){console.warn(t)},_.isNode&&process.stderr.isTTY?s=function(t,n){var i=n?"\x1b[33m":"\x1b[31m";console.warn(i+t+"\x1b[0m\n")}:_.isNode||"string"!=typeof(new c).stack||(s=function(t,n){console.warn("%c"+t,n?"color: darkorange":"color: red")}));var et={warnings:E,longStackTraces:!1,cancellation:!1,monitoring:!1};return T&&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 W},boundValueFunction:function(){return q},checkForgottenReturns:function(t,n,i,r,e){if(void 0===t&&null!==n&&R){if(void 0!==e&&e.fn())return;if(0==(65535&r.ot))return;i&&(i+=" ");var u="",o="";if(n.Ht){for(var s=n.Ht.stack.split("\n"),f=z(s),c=f.length-1;c>=0;--c){var h=f[c];if(!g.test(h)){var a=h.match(m);a&&(u="at "+a[1]+":"+a[2]+":"+a[3]+" ");break}}if(f.length>0)for(var v=f[0],c=0;c<s.length;++c)if(s[c]===v){c>0&&(o="\n"+s[c-1]);break}}var l="a promise was created in a "+i+"handler "+u+"but was not returned from it, see http://goo.gl/rRqMUw"+o;r.bt(l,!0,n)}},setBounds:function(t,n){if(J()){for(var i,r,e=(t.stack||"").split("\n"),u=(n.stack||"").split("\n"),o=-1,s=-1,f=0;f<e.length;++f){var c=nt(e[f]);if(c){i=c.fileName,o=c.line;break}}for(var f=0;f<u.length;++f){var c=nt(u[f]);if(c){r=c.fileName,s=c.line;break}}o<0||s<0||!i||!r||i!==r||o>=s||(Q=function(t){if(y.test(t))return!0;var n=nt(t);return!!(n&&n.fileName===i&&o<=n.line&&n.line<=s)})}},warn:X,deprecated:function(t,n){var i=t+" is deprecated and will be removed in a future version.";return n&&(i+=" Use "+n+" instead."),X(i)},CapturedTrace:it,fireDomEvent:N,fireGlobalEvent:O}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(t,n,i){n.exports=function(t){function n(){return this.value}function i(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(i){return i instanceof t&&i.suppressUnhandledRejections(),this.ut(n,void 0,void 0,{value:i},void 0)},t.prototype.throw=t.prototype.thenThrow=function(t){return this.ut(i,void 0,void 0,{reason:t},void 0)},t.prototype.catchThrow=function(t){if(arguments.length<=1)return this.ut(void 0,i,void 0,{reason:t},void 0);var n=arguments[1];return this.caught(t,function(){throw n})},t.prototype.catchReturn=function(i){if(arguments.length<=1)return i instanceof t&&i.suppressUnhandledRejections(),this.ut(void 0,n,void 0,{value:i},void 0);var r=arguments[1];return r instanceof t&&r.suppressUnhandledRejections(),this.caught(i,function(){return r})}}},{}],11:[function(t,n,i){n.exports=function(t,n){var i=t.reduce,r=t.all;function e(){return r(this)}t.prototype.each=function(t){return i(this,t,n,0).ut(e,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(t){return i(this,t,n,n)},t.each=function(t,r){return i(t,r,n,0).ut(e,void 0,void 0,t,void 0)},t.mapSeries=function(t,r){return i(t,r,n,n)}}},{}],12:[function(t,n,i){var r,e,u=t("./es5"),o=u.freeze,s=t("./util"),f=s.inherits,a=s.notEnumerableProp;function v(t,n){function i(r){if(!(this instanceof i))return new i(r);a(this,"message","string"==typeof r?r:n),a(this,"name",t),c.captureStackTrace?c.captureStackTrace(this,this.constructor):c.call(this)}return f(i,c),i}var l=v("Warning","warning"),d=v("CancellationError","cancellation error"),_=v("TimeoutError","timeout error"),w=v("AggregateError","aggregate error");try{r=h,e=RangeError}catch(t){r=v("TypeError","type error"),e=v("RangeError","range error")}for(var p="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),y=0;y<p.length;++y)"function"==typeof Array.prototype[p[y]]&&(w.prototype[p[y]]=Array.prototype[p[y]]);u.defineProperty(w.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),w.prototype.isOperational=!0;var g=0;function m(t){if(!(this instanceof m))return new m(t);a(this,"name","OperationalError"),a(this,"message",t),this.cause=t,this.isOperational=!0,t instanceof c?(a(this,"message",t.message),a(this,"stack",t.stack)):c.captureStackTrace&&c.captureStackTrace(this,this.constructor)}w.prototype.toString=function(){var t=Array(4*g+1).join(" "),n="\n"+t+"AggregateError of:\n";g++,t=Array(4*g+1).join(" ");for(var i=0;i<this.length;++i){for(var r=this[i]===this?"[Circular AggregateError]":this[i]+"",e=r.split("\n"),u=0;u<e.length;++u)e[u]=t+e[u];r=e.join("\n"),n+=r+"\n"}return g--,n},f(m,c);var b=c.jn;b||(b=o({CancellationError:d,TimeoutError:_,OperationalError:m,RejectionError:m,AggregateError:w}),u.defineProperty(c,"jn",{value:b,writable:!1,enumerable:!1,configurable:!1})),n.exports={Error:c,TypeError:r,RangeError:e,CancellationError:b.CancellationError,OperationalError:b.OperationalError,TimeoutError:b.TimeoutError,AggregateError:b.AggregateError,Warning:l}},{"./es5":13,"./util":36}],13:[function(t,n,i){var r=function(){return void 0===this}();if(r)n.exports={freeze:a.freeze,defineProperty:a.defineProperty,getDescriptor:a.getOwnPropertyDescriptor,keys:a.keys,names:a.getOwnPropertyNames,getPrototypeOf:a.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(t,n){var i=a.getOwnPropertyDescriptor(t,n);return!(i&&!i.writable&&!i.set)}};else{var e={}.hasOwnProperty,u={}.toString,o={}.constructor.prototype,s=function(t){var n=[];for(var i in t)e.call(t,i)&&n.push(i);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,i){return t[n]=i.value,t},getDescriptor:function(t,n){return{value:t[n]}},freeze:function(t){return t},getPrototypeOf:function(t){try{return a(t).constructor.prototype}catch(t){return o}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],14:[function(t,n,i){n.exports=function(t,n){var i=t.map;t.prototype.filter=function(t,r){return i(this,t,r,n)},t.filter=function(t,r,e){return i(t,r,e,n)}}},{}],15:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),u=n.CancellationError,o=e.errorObj,s=t("./catch_filter")(r);function f(t,n,i){this.promise=t,this.type=n,this.handler=i,this.called=!1,this.cancelPromise=null}function c(t){this.finallyHandler=t}function a(t,n){return null!=t.cancelPromise&&(arguments.length>1?t.cancelPromise.nt(n):t.cancelPromise.zt(),t.cancelPromise=null,!0)}function v(){return d.call(this,this.promise.wt().dn())}function l(t){if(!a(this,t))return o.e=t,o}function d(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===r)return f;if(void 0!==f){e.cn();var h=i(f,e);if(h instanceof n){if(null!=this.cancelPromise){if(h.Yt()){var d=new u("late cancellation observer");return e.Gt(d),o.e=d,o}h.isPending()&&h.Nn(new c(this))}return h.ut(v,l,void 0,this,void 0)}}}return e.isRejected()?(a(this),o.e=t,o):(a(this),t)}return f.prototype.isFinallyHandler=function(){return 0===this.type},c.prototype._resultCancelled=function(){a(this.finallyHandler)},n.prototype.Cn=function(t,n,i,r){return"function"!=typeof t?this.then():this.ut(i,r,void 0,new f(this,n,t),void 0)},n.prototype.lastly=n.prototype.finally=function(t){return this.Cn(t,0,d,d)},n.prototype.tap=function(t){return this.Cn(t,1,d)},n.prototype.tapCatch=function(t){var i=arguments.length;if(1===i)return this.Cn(t,1,void 0,d);var r,u=new Array(i-1),o=0;for(r=0;r<i-1;++r){var f=arguments[r];if(!e.isObject(f))return n.reject(new h("tapCatch statement predicate: expecting an object but got "+e.classString(f)));u[o++]=f}u.length=o;var c=arguments[r];return this.Cn(s(u,c,this),1,void 0,d)},f}},{"./catch_filter":7,"./util":36}],16:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=t("./errors"),f=s.TypeError,h=t("./util"),v=h.errorObj,l=h.tryCatch,d=[];function _(t,i,e,u){if(o.cancellation()){var s=new n(r),f=this.On=new n(r);this.xn=s.lastly(function(){return f}),s.pn(),s.At(this)}else{var c=this.xn=new n(r);c.pn()}this.zn=u,this.Rn=t,this.Bn=i,this.Un=void 0,this.Pn="function"==typeof e?[e].concat(d):d,this.Qn=null,this.Yn=!1}h.inherits(_,u),_.prototype.Fn=function(){return null===this.xn},_.prototype.Gn=function(){this.xn=this.Un=null,o.cancellation()&&null!==this.On&&(this.On.Vn(),this.On=null)},_.prototype.Wn=function(){if(!this.Fn()){var t,i=void 0!==this.Un.return;if(i)this.xn.Zt(),t=l(this.Un.return).call(this.Un,void 0),this.xn.qt();else{var r=new n.CancellationError("generator .return() sentinel");n.coroutine.returnSentinel=r,this.xn.Gt(r),this.xn.Zt(),t=l(this.Un.throw).call(this.Un,r),this.xn.qt()}this.Yn=!0,this.Qn=null,this.Hn(t)}},_.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)},_.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)},_.prototype._resultCancelled=function(){if(this.Qn instanceof n){var t=this.Qn;this.Qn=null,t.cancel()}},_.prototype.promise=function(){return this.xn},_.prototype.qn=function(){this.Un=this.Rn.call(this.Bn),this.Bn=this.Rn=void 0,this.Xn(void 0)},_.prototype.Hn=function(t){var i=this.xn;if(t===v)return this.Gn(),this.Yn?i.cancel():i.Jn(t.e,!1);var r=t.value;if(!0===t.done)return this.Gn(),this.Yn?i.cancel():i.ct(r);var u=e(r,this.xn);if(u instanceof n||null!==(u=function(t,i,r){for(var u=0;u<i.length;++u){r.Zt();var o=l(i[u])(t);if(r.qt(),o===v){r.Zt();var s=n.reject(v.e);return r.qt(),s}var f=e(o,r);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(r))+"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 i=a(n).yieldHandler,r=_,e=(new c).stack;return function(){var n=t.apply(this,arguments),u=new r(void 0,void 0,i,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 "+h.classString(t));d.push(t)},n.spawn=function(t){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof t)return i("generatorFunction must be a function\n\n See http://goo.gl/MqrFmX\n");var r=new _(t,this),e=r.promise();return r.qn(n.spawn),e}}},{"./errors":12,"./util":36}],17:[function(t,n,i){n.exports=function(n,i,r,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 r=[].slice.call(arguments);t&&r.pop();var e=new i(r).promise();return void 0!==t?e.spread(t):e}}},{"./util":36}],18:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=n.Kt,f=t("./util"),c=f.tryCatch,a=f.errorObj,v=n.Mt;function l(t,n,i,r){this.constructor$(t),this.xn.pn();var e=s();this.ri=null===e?n:f.domainBind(e,n),this.ei=r===u?new Array(this.length()):null,this.oi=i,this.ai=0,this.ci=[],v.invoke(this.di,this,void 0)}function d(t,i,e,u){if("function"!=typeof i)return r("expecting a function but got "+f.classString(i));var o=0;if(void 0!==e){if("object"!=typeof e||null===e)return n.reject(new h("options argument must be an object but it is "+f.classString(e)));if("number"!=typeof e.concurrency)return n.reject(new h("'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,i,o,u).promise()}f.inherits(l,i),l.prototype.di=function(){this._init$(void 0,-2)},l.prototype._init=function(){},l.prototype.Xn=function(t,i){var r=this.gi,u=this.length(),s=this.ei,f=this.oi;if(i<0){if(r[i=-1*i-1]=t,f>=1&&(this.ai--,this.wi(),this.Fn()))return!0}else{if(f>=1&&this.ai>=f)return r[i]=t,this.ci.push(i),!1;null!==s&&(s[i]=t);var h=this.xn,v=this.ri,l=h.dt();h.Zt();var d=c(v).call(l,t,i,u),_=h.qt();if(o.checkForgottenReturns(d,_,null!==s?"Promise.filter":"Promise.map",h),d===a)return this.nt(d.e),!0;var w=e(d,this.xn);if(w instanceof n){var p=(w=w.wt()).ot;if(0==(50397184&p))return f>=1&&this.ai++,r[i]=w,w.Kn(this,-1*(i+1)),!1;if(0==(33554432&p))return 0!=(16777216&p)?(this.nt(w.ni()),!0):(this.zt(),!0);d=w.$n()}r[i]=d}var y=++this.Ai;return y>=u&&(null!==s?this._i(r,s):this.Mi(r),!0)},l.prototype.wi=function(){for(var t=this.ci,n=this.oi,i=this.gi;t.length>0&&this.ai<n;){if(this.Fn())return;var r=t.pop();this.Xn(i[r],r)}},l.prototype._i=function(t,n){for(var i=n.length,r=new Array(i),e=0,u=0;u<i;++u)t[u]&&(r[e++]=n[u]);r.length=e,this.Mi(r)},l.prototype.preservedValues=function(){return this.ei},n.prototype.map=function(t,n){return d(this,t,n,null)},n.map=function(t,n,i,r){return d(t,n,i,r)}}},{"./util":36}],19:[function(t,n,i){n.exports=function(n,i,r,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 r=new n(i);r.pn(),r.Zt();var e=s(t).apply(this,arguments),o=r.qt();return u.checkForgottenReturns(e,o,"Promise.method",r),r.Ni(e),r}},n.attempt=n.try=function(t){if("function"!=typeof t)return e("expecting a function but got "+o.classString(t));var r,f=new n(i);if(f.pn(),f.Zt(),arguments.length>1){u.deprecated("calling Promise.try with more than 1 argument");var c=arguments[1],h=arguments[2];r=o.isArray(c)?s(t).apply(h,c):s(t).call(h,c)}else r=s(t)();var a=f.qt();return u.checkForgottenReturns(r,a,"Promise.try",f),f.Ni(r),f},n.prototype.Ni=function(t){t===o.errorObj?this.Jn(t.e,!1):this.ct(t,!0)}}},{"./util":36}],20:[function(t,n,i){var r=t("./util"),e=r.maybeWrapAsError,u=t("./errors"),o=u.OperationalError,s=t("./es5"),f=/^(?:name|message|stack|cause)$/;function h(t){var n;if(function(t){return t instanceof c&&s.getPrototypeOf(t)===c.prototype}(t)){(n=new o(t)).name=t.name,n.message=t.message,n.stack=t.stack;for(var i=s.keys(t),e=0;e<i.length;++e){var u=i[e];f.test(u)||(n[u]=t[u])}return n}return r.markAsOriginatingFromRejection(t),t}n.exports=function(t,n){return function(i,r){if(null!==t){if(i){var u=h(e(i));t.Gt(u),t.nt(u)}else if(n){var o=[].slice.call(arguments,1);t.Vn(o)}else t.Vn(r);t=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(t,n,i){n.exports=function(n){var i=t("./util"),r=n.Mt,e=i.tryCatch,u=i.errorObj;function o(t,n){if(!i.isArray(t))return s.call(this,t,n);var o=e(n).apply(this.dt(),[null].concat(t));o===u&&r.throwLater(o.e)}function s(t,n){var i=this.dt(),o=void 0===t?e(n).call(i,null):e(n).call(i,null,t);o===u&&r.throwLater(o.e)}function f(t,n){if(!t){var i=new c(t+"");i.cause=t,t=i}var o=e(n).call(this.dt(),t);o===u&&r.throwLater(o.e)}n.prototype.asCallback=n.prototype.nodeify=function(t,n){if("function"==typeof t){var i=s;void 0!==n&&a(n).spread&&(i=o),this.ut(i,f,void 0,this,t)}return this}}},{"./util":36}],22:[function(t,n,i){n.exports=function(){var i=function(){return new d("circular promise resolution chain\n\n See http://goo.gl/MqrFmX\n")},r=function(){return new N.PromiseInspection(this.wt())},e=function(t){return N.reject(new d(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(N,"Kt",o);var c=t("./es5"),h=t("./async"),v=new h;c.defineProperty(N,"Mt",{value:v});var l=t("./errors"),d=N.TypeError=l.TypeError;N.RangeError=l.RangeError;var _=N.CancellationError=l.CancellationError;N.TimeoutError=l.TimeoutError,N.OperationalError=l.OperationalError,N.RejectionError=l.OperationalError,N.AggregateError=l.AggregateError;var w=function(){},p={},y={},g=t("./thenables")(N,w),m=t("./promise_array")(N,w,g,e,u),b=t("./context")(N),k=b.create,I=t("./debuggability")(N,b),S=(I.CapturedTrace,t("./finally")(N,g,y)),E=t("./catch_filter")(y),T=t("./nodeback"),R=f.errorObj,A=f.tryCatch;function N(t){t!==w&&function(t,n){if(null==t||t.constructor!==N)throw new d("the promise constructor cannot be invoked directly\n\n See http://goo.gl/MqrFmX\n");if("function"!=typeof n)throw new d("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 O(t){this.promise.ct(t)}function D(t){this.promise.Jn(t,!1)}function C(t){var n=new N(w);n.Ti=t,n.Di=t,n.Ii=t,n.Ei=t}return N.prototype.toString=function(){return"[object Promise]"},N.prototype.caught=N.prototype.catch=function(t){var n=arguments.length;if(n>1){var i,r=new Array(n-1),u=0;for(i=0;i<n-1;++i){var o=arguments[i];if(!f.isObject(o))return e("Catch statement predicate: expecting an object but got "+f.classString(o));r[u++]=o}if(r.length=u,"function"!=typeof(t=arguments[i]))throw new d("The last argument to .catch() must be a function, got "+f.toString(t));return this.then(void 0,E(r,t,this))}return this.then(void 0,t)},N.prototype.reflect=function(){return this.ut(r,r,void 0,this,void 0)},N.prototype.then=function(t,n){if(I.warnings()&&arguments.length>0&&"function"!=typeof t&&"function"!=typeof n){var i=".then() only accepts functions but was passed: "+f.classString(t);arguments.length>1&&(i+=", "+f.classString(n)),this.bt(i)}return this.ut(t,n,void 0,void 0,void 0)},N.prototype.done=function(t,n){var i=this.ut(t,n,void 0,void 0,void 0);i.Li()},N.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,p,void 0)},N.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},N.prototype.all=function(){return arguments.length>0&&this.bt(".all() was passed arguments but it does not take any"),new m(this).promise()},N.prototype.error=function(t){return this.caught(f.originatesFromRejection,t)},N.getNewLibraryCopy=n.exports,N.is=function(t){return t instanceof N},N.fromNode=N.fromCallback=function(t){var n=new N(w);n.pn();var i=arguments.length>1&&!!a(arguments[1]).multiArgs,r=A(t)(T(n,i));return r===R&&n.Jn(r.e,!0),n.ji()||n.Ci(),n},N.all=function(t){return new m(t).promise()},N.cast=function(t){var n=g(t);return n instanceof N||((n=new N(w)).pn(),n.Oi(),n.Di=t),n},N.resolve=N.fulfilled=N.cast,N.reject=N.rejected=function(t){var n=new N(w);return n.pn(),n.Jn(t,!0),n},N.setScheduler=function(t){if("function"!=typeof t)throw new d("expecting a function but got "+f.classString(t));return v.setScheduler(t)},N.prototype.ut=function(t,n,i,r,e){var u=void 0!==e,s=u?e:new N(w),c=this.wt(),h=c.ot;u||(s.vt(this,3),s.pn(),void 0===r&&0!=(2097152&this.ot)&&(r=0!=(50397184&h)?this.dt():c===this?void 0:this._t),this.In("promiseChained",this,s));var a=o();if(0!=(50397184&h)){var l,d,p=c.xi;0!=(33554432&h)?(d=c.Di,l=t):0!=(16777216&h)?(d=c.Ti,l=n,c._n()):(p=c.zi,d=new _("late cancellation observer"),c.Gt(d),l=n),v.invoke(p,c,{handler:null===a?l:"function"==typeof l&&f.domainBind(a,l),promise:s,receiver:r,value:d})}else c.Ri(t,n,s,r,a);return s},N.prototype.Ut=function(){return 65535&this.ot},N.prototype.ji=function(){return 0!=(117506048&this.ot)},N.prototype.Dt=function(){return 67108864==(67108864&this.ot)},N.prototype.Bi=function(t){this.ot=-65536&this.ot|65535&t},N.prototype.Oi=function(){this.ot=33554432|this.ot,this.In("promiseFulfilled",this)},N.prototype.Ui=function(){this.ot=16777216|this.ot,this.In("promiseRejected",this)},N.prototype.Pi=function(){this.ot=67108864|this.ot,this.In("promiseResolved",this)},N.prototype.Li=function(){this.ot=4194304|this.ot},N.prototype.Qi=function(){return(4194304&this.ot)>0},N.prototype.Yi=function(){this.ot=-65537&this.ot},N.prototype.Rt=function(){this.ot=65536|this.ot,this.In("promiseCancelled",this)},N.prototype.Lt=function(){this.ot=8388608|this.ot},N.prototype.Ci=function(){v.hasCustomScheduler()||(this.ot=134217728|this.ot)},N.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},N.prototype.Gi=function(t){return this[4*t-4+2]},N.prototype.Vi=function(t){return this[4*t-4+0]},N.prototype.Wi=function(t){return this[4*t-4+1]},N.prototype.dt=function(){},N.prototype.Hi=function(t){t.ot;var n=t.Ti,i=t.Di,r=t.Ii,e=t.Fi(0);void 0===e&&(e=s),this.Ri(n,i,r,e,null)},N.prototype.Xi=function(t,n){var i=t.Vi(n),r=t.Wi(n),e=t.Gi(n),u=t.Fi(n);void 0===u&&(u=s),this.Ri(i,r,e,u,null)},N.prototype.Ri=function(t,n,i,r,e){var u=this.Ut();if(u>=65531&&(u=0,this.Bi(0)),0===u)this.Ii=i,this.Ei=r,"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]=i,this[o+3]=r,"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},N.prototype.Kn=function(t,n){this.Ri(void 0,void 0,n,t,null)},N.prototype.ct=function(t,n){if(0==(117506048&this.ot)){if(t===this)return this.Jn(i(),!1);var r=g(t,this);if(!(r instanceof N))return this.Vn(t);n&&this.vt(r,2);var e=r.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 _("late cancellation observer");e.Gt(f),this.nt(f)}}else this.nt(i())}},N.prototype.Jn=function(t,n,i){var r=f.ensureErrorObject(t),e=r===t;if(!e&&!i&&I.warnings()){var u="a promise was rejected with a non-error: "+f.classString(t);this.bt(u,!0)}this.Gt(r,!!n&&e),this.nt(t)},N.prototype.Si=function(t){if(t!==w){var n=this;this.pn(),this.Zt();var i=!0,r=this.Dn(t,function(t){n.ct(t)},function(t){n.Jn(t,i)});i=!1,this.qt(),void 0!==r&&n.Jn(r,!0)}},N.prototype.qi=function(t,n,i,r){var e=r.ot;if(0==(65536&e)){var u;r.Zt(),n===p?i&&"number"==typeof i.length?u=A(t).apply(this.dt(),i):(u=R).e=new d("cannot .spread() a non-array: "+f.classString(i)):u=A(t).call(n,i);var o=r.qt();0==(65536&(e=r.ot))&&(u===y?r.nt(i):u===R?r.Jn(u.e,!1):(I.checkForgottenReturns(u,o,"",r,this),r.ct(u)))}},N.prototype.wt=function(){for(var t=this;t.Dt();)t=t.It();return t},N.prototype.It=function(){return this.Di},N.prototype.Zi=function(t){this.Di=t},N.prototype.Ji=function(t,n,i,e){var o=t instanceof N,s=this.ot,f=0!=(134217728&s);0!=(65536&s)?(o&&t.Wt(),i instanceof S&&i.isFinallyHandler()?(i.cancelPromise=t,A(n).call(i,e)===R&&t.nt(R.e)):n===r?t.Vn(r.call(i)):i instanceof u?i.Wn(t):o||t instanceof m?t.zt():i.cancel()):"function"==typeof n?o?(f&&t.Ci(),this.qi(n,i,e,t)):n.call(i,e,t):i instanceof u?i.Fn()||(0!=(33554432&s)?i.Xn(e,t):i.Zn(e,t)):o&&(f&&t.Ci(),0!=(33554432&s)?t.Vn(e):t.nt(e))},N.prototype.zi=function(t){var n=t.handler,i=t.promise,r=t.receiver,e=t.value;"function"==typeof n?i instanceof N?this.qi(n,r,e,i):n.call(r,e,i):i instanceof N&&i.nt(e)},N.prototype.xi=function(t){this.Ji(t.promise,t.handler,t.receiver,t.value)},N.prototype.Ki=function(t,n,i){var r=this.Ii,e=this.Fi(0);this.Ii=void 0,this.Ei=void 0,this.Ji(r,t,e,n)},N.prototype.$i=function(t){var n=4*t-4;this[n+2]=this[n+3]=this[n+0]=this[n+1]=void 0},N.prototype.Vn=function(t){var n=this.ot;if(!((117506048&n)>>>16)){if(t===this){var r=i();return this.Gt(r),this.nt(r)}this.Oi(),this.Di=t,(65535&n)>0&&(0!=(134217728&n)?this.J():v.settlePromises(this),this.Mn())}},N.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()}},N.prototype.ir=function(t,n){for(var i=1;i<t;i++){var r=this.Vi(i),e=this.Gi(i),u=this.Fi(i);this.$i(i),this.Ji(e,r,u,n)}},N.prototype.rr=function(t,n){for(var i=1;i<t;i++){var r=this.Wi(i),e=this.Gi(i),u=this.Fi(i);this.$i(i),this.Ji(e,r,u,n)}},N.prototype.J=function(){var t=this.ot,n=65535&t;if(n>0){if(0!=(16842752&t)){var i=this.Ti;this.Ki(this.Di,i,t),this.rr(n,i)}else{var r=this.Di;this.Ki(this.Ti,r,t),this.ir(n,r)}this.Bi(0)}this.Tn()},N.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&&c.defineProperty(N.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),N.defer=N.pending=function(){I.deprecated("Promise.defer","new Promise");var t=new N(w);return{promise:t,resolve:O,reject:D}},f.notEnumerableProp(N,"dr",i),t("./method")(N,w,g,e,I),t("./bind")(N,w,g,I),t("./cancel")(N,m,e,I),t("./direct_resolve")(N),t("./synchronous_inspection")(N),t("./join")(N,m,g,w,v,o),N.Promise=N,N.version="3.5.5",t("./call_get.js")(N),t("./generators.js")(N,e,w,g,u,I),t("./map.js")(N,m,e,g,w,I),t("./nodeify.js")(N),t("./promisify.js")(N,w),t("./props.js")(N,m,g,e),t("./race.js")(N,w,g,e),t("./reduce.js")(N,m,e,g,w,I),t("./settle.js")(N,m,I),t("./some.js")(N,m,e),t("./timers.js")(N,w,I),t("./using.js")(N,e,g,k,w,I),t("./any.js")(N),t("./each.js")(N,w),t("./filter.js")(N,w),f.toFastProperties(N),f.toFastProperties(N.prototype),C({a:1}),C({b:2}),C({c:3}),C(1),C(function(){}),C(void 0),C(!1),C(new N(w)),I.setBounds(h.firstLineError,f.lastLineError),N}},{"./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,i){n.exports=function(n,i,r,e,u){var o=t("./util");function s(t){var r=this.xn=new n(i);t instanceof n&&r.vt(t,3),r.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(i,u){var s=r(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 c=e("expecting an array or an iterable object but got "+o.classString(s)).reason();this.xn.Jn(c,!1)}},s.prototype.gr=function(t){var i=this.getActualLength(t.length);this.Ut=i,this.gi=this.shouldCopyValues()?new Array(i):this.gi;for(var e=this.xn,u=!1,o=null,s=0;s<i;++s){var f=r(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 i=++this.Ai;return i>=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 i=0;i<t.length;++i)t[i]instanceof n&&t[i].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(t){return t},s}},{"./util":36}],24:[function(t,n,i){n.exports=function(n,i){var r={},e=t("./util"),u=t("./nodeback"),o=e.withAppended,s=e.maybeWrapAsError,f=e.canEvaluate,c=t("./errors").TypeError,h={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 d(t){return!v.test(t)}function _(t){try{return!0===t.yr}catch(t){return!1}}function w(t,n,i){var r=e.getDataPropertyOrDefault(t,n+i,h);return!!r&&_(r)}function p(t,n,i,r){for(var u=e.inheritedDataKeys(t),o=[],s=0;s<u.length;++s){var f=u[s],h=t[f],a=r===l||l(f);"function"!=typeof h||_(h)||w(t,f,n)||!r(f,h,t,a)||o.push(f,h)}return function(t,n,i){for(var r=0;r<t.length;r+=2){var e=t[r];if(i.test(e))for(var u=e.replace(i,""),o=0;o<t.length;o+=2)if(t[o]===u)throw new c("Cannot promisify an API that has normal methods with '%s'-suffix\n\n See http://goo.gl/MqrFmX\n".replace("%s",n))}}(o,n,i),o}var y=function(t){return t.replace(/([$])/,"\\$")},g=f?void 0:function(t,f,c,h,a,v){var l=function(){return this}(),d=t;function _(){var e=f;f===r&&(e=this);var c=new n(i);c.pn();var h="string"==typeof d&&this!==l?this[d]:t,a=u(c,v);try{h.apply(e,o(arguments,a))}catch(t){c.Jn(s(t),!0,!0)}return c.ji()||c.Ci(),c}return"string"==typeof d&&(t=h),e.notEnumerableProp(_,"yr",!0),_};function m(t,n,i,u,o){for(var s=new RegExp(y(n)+"$"),f=p(t,n,s,i),c=0,h=f.length;c<h;c+=2){var a=f[c],v=f[c+1],l=a+n;if(u===g)t[l]=g(a,r,a,v,n,o);else{var d=u(v,function(){return g(a,r,a,v,n,o)});e.notEnumerableProp(d,"yr",!0),t[l]=d}}return e.toFastProperties(t),t}n.promisify=function(t,n){if("function"!=typeof t)throw new c("expecting a function but got "+e.classString(t));if(_(t))return t;var i=void 0===(n=a(n)).context?r:n.context,u=!!n.multiArgs,o=function(t,n,i){return g(t,n,void 0,t,null,i)}(t,i,u);return e.copyDescriptors(t,o,d),o},n.promisifyAll=function(t,n){if("function"!=typeof t&&"object"!=typeof t)throw new c("the target of promisifyAll must be an object or a function\n\n See http://goo.gl/MqrFmX\n");var i=!!(n=a(n)).multiArgs,r=n.suffix;"string"!=typeof r&&(r="Async");var u=n.filter;"function"!=typeof u&&(u=l);var o=n.promisifier;if("function"!=typeof o&&(o=g),!e.isIdentifier(r))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 h=t[s[f]];"constructor"!==s[f]&&e.isClass(h)&&(m(h.prototype,r,u,o,i),m(h,r,u,o,i))}return m(t,r,u,o,i)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(t,n,i){n.exports=function(n,i,r,e){var u,o=t("./util"),s=o.isObject,f=t("./es5");"function"==typeof Map&&(u=Map);var c=function(){var t=0,n=0;function i(i,r){this[t]=i,this[t+n]=r,t++}return function(r){n=r.size,t=0;var e=new Array(2*r.size);return r.forEach(i,e),e}}();function h(t){var n,i=!1;if(void 0!==u&&t instanceof u)n=c(t),i=!0;else{var r=f.keys(t),e=r.length;n=new Array(2*e);for(var o=0;o<e;++o){var s=r[o];n[o]=t[s],n[o+e]=s}}this.constructor$(n),this.Ar=i,this._init$(void 0,i?-6:-3)}function a(t){var i,u=r(t);return s(u)?(i=u instanceof n?u.ut(n.props,void 0,void 0,void 0,void 0):new h(u).promise(),u instanceof n&&i.vt(u,2),i):e("cannot await properties of a non-object\n\n See http://goo.gl/MqrFmX\n")}o.inherits(h,i),h.prototype._init=function(){},h.prototype.Xn=function(t,n){this.gi[n]=t;var i=++this.Ai;if(i>=this.Ut){var r;if(this.Ar)r=function(t){for(var n=new u,i=t.length/2|0,r=0;r<i;++r){var e=t[i+r],o=t[r];n.set(e,o)}return n}(this.gi);else{r={};for(var e=this.length(),o=0,s=this.length();o<s;++o)r[this.gi[o+e]]=this.gi[o]}return this.Mi(r),!0}return!1},h.prototype.shouldCopyValues=function(){return!1},h.prototype.getActualLength=function(t){return t>>1},n.prototype.props=function(){return a(this)},n.props=function(t){return a(t)}}},{"./es5":13,"./util":36}],26:[function(t,n,i){function r(t){this._r=t,this.Ut=0,this.Mr=0}r.prototype.Nr=function(t){return this._r<t},r.prototype.q=function(t){var n=this.length();this.Tr(n+1);var i=this.Mr+n&this._r-1;this[i]=t,this.Ut=n+1},r.prototype.push=function(t,n,i){var r=this.length()+3;if(this.Nr(r))return this.q(t),this.q(n),void this.q(i);var e=this.Mr+r-3;this.Tr(r);var u=this._r-1;this[e+0&u]=t,this[e+1&u]=n,this[e+2&u]=i,this.Ut=r},r.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},r.prototype.length=function(){return this.Ut},r.prototype.Tr=function(t){this._r<t&&this.Dr(this._r<<1)},r.prototype.Dr=function(t){var n=this._r;this._r=t;var i=this.Mr,r=this.Ut,e=i+r&n-1;!function(t,n,i,r,e){for(var u=0;u<e;++u)i[u+r]=t[u+n],t[u+n]=void 0}(this,0,this,n,e)},n.exports=r},{}],27:[function(t,n,i){n.exports=function(n,i,r,e){var u=t("./util"),o=function(t){return t.then(function(n){return s(n,t)})};function s(t,s){var f=r(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 c=new n(i);void 0!==s&&c.vt(s,3);for(var h=c.Vn,a=c.nt,v=0,l=t.length;v<l;++v){var d=t[v];(void 0!==d||v in t)&&n.cast(d).ut(h,a,void 0,c,null)}return c}n.race=function(t){return s(t,void 0)},n.prototype.race=function(){return s(this,void 0)}}},{"./util":36}],28:[function(t,n,i){n.exports=function(n,i,r,e,u,o){var s=n.Kt,f=t("./util"),c=f.tryCatch;function h(t,i,r,e){this.constructor$(t);var o=s();this._fn=null===o?i:f.domainBind(o,i),void 0!==r&&(r=n.resolve(r)).Nn(this),this.Er=r,this.Sr=null,this.Lr=e===u?Array(this.Ut):0===e?null:void 0,this.xn.pn(),this._init$(void 0,-5)}function a(t,n){this.isFulfilled()?n.Mi(t):n.nt(t)}function v(t,n,i,e){if("function"!=typeof n)return r("expecting a function but got "+f.classString(n));var u=new h(t,n,i,e);return u.promise()}function l(t){this.accum=t,this.array.jr(t);var i=e(this.value,this.array.xn);return i instanceof n?(this.array.Sr=i,i.ut(d,void 0,void 0,this,void 0)):d.call(this,i)}function d(t){var i,r=this.array,e=r.xn,u=c(r._fn);e.Zt(),(i=void 0!==r.Lr?u.call(e.dt(),t,this.index,this.length):u.call(e.dt(),this.accum,t,this.index,this.length))instanceof n&&(r.Sr=i);var s=e.qt();return o.checkForgottenReturns(i,s,void 0!==r.Lr?"Promise.each":"Promise.reduce",e),i}f.inherits(h,i),h.prototype.jr=function(t){void 0!==this.Lr&&null!==this.Lr&&t!==u&&this.Lr.push(t)},h.prototype.Cr=function(t){return null!==this.Lr&&this.Lr.push(t),this.Lr},h.prototype._init=function(){},h.prototype.wr=function(){this.Mi(void 0!==this.Lr?this.Lr:this.Er)},h.prototype.shouldCopyValues=function(){return!1},h.prototype.Mi=function(t){this.xn.ct(t),this.gi=null},h.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())},h.prototype.gr=function(t){var i,r;this.gi=t;var e=t.length;if(void 0!==this.Er?(i=this.Er,r=0):(i=n.resolve(t[0]),r=1),this.Sr=i,!i.isRejected())for(;r<e;++r){var u={accum:null,value:t[r],index:r,length:e,array:this};i=i.ut(l,void 0,void 0,u,void 0)}void 0!==this.Lr&&(i=i.ut(this.Cr,void 0,void 0,this,void 0)),i.ut(a,a,void 0,i,this)},n.prototype.reduce=function(t,n){return v(this,t,n,null)},n.reduce=function(t,n,i,r){return v(t,n,i,r)}}},{"./util":36}],29:[function(t,n,e){var o,s,f,h,a,v=t("./util"),l=v.getNativePromise();if(v.isNode&&"undefined"==typeof MutationObserver){var d=p.setImmediate,_=process.nextTick;o=v.isRecentNode?function(t){d.call(p,t)}:function(t){_.call(process,t)}}else if("function"==typeof l&&"function"==typeof l.resolve){var w=l.resolve();o=function(t){w.then(t)}}else o="undefined"!=typeof MutationObserver&&(void 0===i||!i.navigator||!i.navigator.standalone&&!i.cordova)&&"classList"in r.documentElement?(s=r.createElement("div"),f={attributes:!0},h=!1,a=r.createElement("div"),new MutationObserver(function(){s.classList.toggle("foo"),h=!1}).observe(a,f),function(t){var n=new MutationObserver(function(){n.disconnect(),t()});n.observe(s,f),h||(h=!0,a.classList.toggle("foo"))}):"undefined"!=typeof setImmediate?function(t){setImmediate(t)}:void 0!==u?function(t){u(t,0)}:function(){throw new c("No async scheduler available\n\n See http://goo.gl/MqrFmX\n")};n.exports=o},{"./util":36}],30:[function(t,n,i){n.exports=function(n,i,r){var e=n.PromiseInspection,u=t("./util");function o(t){this.constructor$(t)}u.inherits(o,i),o.prototype.Or=function(t,n){this.gi[t]=n;var i=++this.Ai;return i>=this.Ut&&(this.Mi(this.gi),!0)},o.prototype.Xn=function(t,n){var i=new e;return i.ot=33554432,i.xr=t,this.Or(n,i)},o.prototype.Zn=function(t,n){var i=new e;return i.ot=16777216,i.xr=t,this.Or(n,i)},n.settle=function(t){return r.deprecated(".settle()",".reflect()"),new o(t).promise()},n.prototype.settle=function(){return n.settle(this)}}},{"./util":36}],31:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),u=t("./errors").RangeError,o=t("./errors").AggregateError,s=e.isArray,f={};function c(t){this.constructor$(t),this.zr=0,this.Rr=!1,this.Br=!1}function h(t,n){if((0|n)!==n||n<0)return r("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");var i=new c(t),e=i.promise();return i.setHowMany(n),i.init(),e}e.inherits(c,i),c.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([])},c.prototype.init=function(){this.Br=!0,this._init()},c.prototype.setUnwrap=function(){this.Rr=!0},c.prototype.howMany=function(){return this.zr},c.prototype.setHowMany=function(t){this.zr=t},c.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)},c.prototype.Zn=function(t){return this.Fr(t),this.Gr()},c.prototype.Wn=function(){return this.gi instanceof n||null==this.gi?this.zt():(this.Fr(f),this.Gr())},c.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},c.prototype.Yr=function(){return this.Ai},c.prototype.Vr=function(){return this.gi.length-this.length()},c.prototype.Fr=function(t){this.gi.push(t)},c.prototype.Qr=function(t){this.gi[this.Ai++]=t},c.prototype.Ur=function(){return this.length()-this.Vr()},c.prototype.Pr=function(t){var n="Input array must contain at least "+this.zr+" items but contains only "+t+" items";return new u(n)},c.prototype.wr=function(){this.nt(this.Pr(0))},n.some=function(t,n){return h(t,n)},n.prototype.some=function(t){return h(this,t)},n.g=c}},{"./errors":12,"./util":36}],32:[function(t,n,i){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 i=n.prototype.value=function(){if(!this.isFulfilled())throw new h("cannot get fulfillment value of a non-fulfilled promise\n\n See http://goo.gl/MqrFmX\n");return this.dn()},r=n.prototype.error=n.prototype.reason=function(){if(!this.isRejected())throw new h("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 i.call(this.wt())},t.prototype.reason=function(){var t=this.wt();return t._n(),r.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,i){n.exports=function(n,i){var r=t("./util"),e=r.errorObj,u=r.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 c=n.reject(f.e);return s&&s.qt(),c}if("function"==typeof f){if(function(t){try{return o.call(t,"Ii")}catch(t){return!1}}(t)){var c=new n(i);return t.ut(c.Vn,c.nt,void 0,c,null),c}return function(t,u,o){var s=new n(i),f=s;o&&o.Zt(),s.pn(),o&&o.qt();var c=!0,h=r.tryCatch(u).call(t,function(t){s&&(s.ct(t),s=null)},function(t){s&&(s.Jn(t,c,!0),s=null)});return c=!1,s&&h===e&&(s.Jn(h.e,!0,!0),s=null),f}(t,f,s)}}return t}}},{"./util":36}],34:[function(t,n,i){n.exports=function(n,i,r){var e=t("./util"),s=n.TimeoutError;function f(t){this.handle=t}f.prototype._resultCancelled=function(){o(this.handle)};var h=function(t){return a(+this).thenReturn(t)},a=n.delay=function(t,e){var o,s;return void 0!==e?(o=n.resolve(e).ut(h,null,null,t,void 0),r.cancellation()&&e instanceof n&&o.At(e)):(o=new n(i),s=u(function(){o.Vn()},+t),r.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 a(t,this)},n.prototype.timeout=function(t,n){var i,o,h=new f(u(function(){i.isPending()&&function(t,n,i){var r;r="string"!=typeof n?n instanceof c?n:new s("operation timed out"):new s(n),e.markAsOriginatingFromRejection(r),t.Gt(r),t.nt(r),null!=i&&i.cancel()}(i,n,o)},t=+t));return r.cancellation()?(o=this.then(),(i=o.ut(v,l,void 0,h,void 0)).At(h)):i=this.ut(v,l,void 0,h,void 0),i}}},{"./util":36}],35:[function(t,n,i){n.exports=function(n,i,r,e,o,s){var f=t("./util"),c=t("./errors").TypeError,h=t("./util").inherits,a=f.errorObj,v=f.tryCatch,l={};function d(t){u(function(){throw t},0)}function _(t,i){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=r(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=r(f.Xr().tryDispose(i),t.promise)}catch(t){return d(t)}if(f instanceof n)return f.ut(o,d,null,null,null)}o()}(),s}function w(t,n,i){this.qr=t,this.xn=n,this.Jr=i}function p(t,n,i){this.constructor$(t,n,i)}function y(t){return w.isDisposer(t)?(this.resources[this.index].Zr(t),t.promise()):t}function g(t){this.length=t,this.promise=null,this[t-1]=null}w.prototype.data=function(){return this.qr},w.prototype.promise=function(){return this.xn},w.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():l},w.prototype.tryDispose=function(t){var n=this.resource(),i=this.Jr;void 0!==i&&i.Zt();var r=n!==l?this.doDispose(n,t):null;return void 0!==i&&i.qt(),this.xn.Kr(),this.qr=null,r},w.isDisposer=function(t){return null!=t&&"function"==typeof t.resource&&"function"==typeof t.tryDispose},h(p,w),p.prototype.doDispose=function(t,n){var i=this.data();return i.call(t,t,n)},g.prototype._resultCancelled=function(){for(var t=this.length,i=0;i<t;++i){var r=this[i];r instanceof n&&r.cancel()}},n.using=function(){var t=arguments.length;if(t<2)return i("you must pass at least 2 arguments to Promise.using");var e,u=arguments[t-1];if("function"!=typeof u)return i("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 c=new g(t),h=0;h<t;++h){var l=e[h];if(w.isDisposer(l)){var d=l;(l=l.promise()).Zr(d)}else{var p=r(l);p instanceof n&&(l=p.ut(y,null,null,{resources:c,index:h},void 0))}c[h]=l}for(var m=new Array(c.length),h=0;h<m.length;++h)m[h]=n.resolve(c[h]).reflect();var b=n.all(m).then(function(t){for(var n=0;n<t.length;++n){var i=t[n];if(i.isRejected())return a.e=i.error(),a;if(!i.isFulfilled())return void b.cancel();t[n]=i.value()}k.Zt(),u=v(u);var r=o?u.apply(void 0,t):u(t),e=k.qt();return s.checkForgottenReturns(r,e,"Promise.using",k),r}),k=b.lastly(function(){var t=new n.PromiseInspection(b);return _(c,t)});return c.promise=k,k.At(c),k},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 p(t,this,e());throw new c}}},{"./errors":12,"./util":36}],36:[function(n,r,u){var o,s=n("./es5"),f=void 0===e,h={e:{}},v=void 0!==t?t:void 0!==i?i:void 0!==p?p:void 0!==this?this:null;function l(){try{var t=o;return o=null,t.apply(this,arguments)}catch(t){return h.e=t,h}}function d(t){return null==t||!0===t||!1===t||"string"==typeof t||"number"==typeof t}function _(t,n,i){if(d(t))return t;var r={value:i,configurable:!0,enumerable:!1,writable:!0};return s.defineProperty(t,n,r),t}var w=function(){var t=[Array.prototype,a.prototype,Function.prototype],n=function(n){for(var i=0;i<t.length;++i)if(t[i]===n)return!0;return!1};if(s.isES5){var i=a.getOwnPropertyNames;return function(t){for(var r=[],e=a.create(null);null!=t&&!n(t);){var u;try{u=i(t)}catch(t){return r}for(var o=0;o<u.length;++o){var f=u[o];if(!e[f]){e[f]=!0;var c=a.getOwnPropertyDescriptor(t,f);null!=c&&null==c.get&&null==c.set&&r.push(f)}}t=s.getPrototypeOf(t)}return r}}var r={}.hasOwnProperty;return function(i){if(n(i))return[];var e=[];t:for(var u in i)if(r.call(i,u))e.push(u);else{for(var o=0;o<t.length;++o)if(r.call(t[o],u))continue t;e.push(u)}return e}}(),y=/this\s*\.\s*\S+\s*=/,g=/^[a-z$_][a-z$_0-9]*$/i;function m(t){try{return t+""}catch(t){return"[no string representation]"}}function b(t){return t instanceof c||null!==t&&"object"==typeof t&&"string"==typeof t.message&&"string"==typeof t.name}function k(t){return b(t)&&s.propertyIsWritable(t,"stack")}var I="stack"in new c?function(t){return k(t)?t:new c(m(t))}:function(t){if(k(t))return t;try{throw new c(m(t))}catch(t){return t}};function S(t){return{}.toString.call(t)}var E=function(t){return s.isArray(t)?t:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var T="function"==typeof Array.from?function(t){return Array.from(t)}:function(t){for(var n,i=[],r=t[Symbol.iterator]();!(n=r.next()).done;)i.push(n.value);return i};E=function(t){return s.isArray(t)?t:null!=t&&"function"==typeof t[Symbol.iterator]?T(t):null}}var R,A="undefined"!=typeof process&&"[object process]"===S(process).toLowerCase(),N="undefined"!=typeof process&&void 0!==process.env,O={isClass:function(t){try{if("function"==typeof t){var n=s.names(t.prototype),i=s.isES5&&n.length>1,r=n.length>0&&!(1===n.length&&"constructor"===n[0]),e=y.test(t+"")&&s.names(t).length>0;if(i||r||e)return!0}return!1}catch(t){return!1}},isIdentifier:function(t){return g.test(t)},inheritedDataKeys:w,getDataPropertyOrDefault:function(t,n,i){if(!s.isES5)return{}.hasOwnProperty.call(t,n)?t[n]:void 0;var r=a.getOwnPropertyDescriptor(t,n);return null!=r?null==r.get&&null==r.set?r.value:i:void 0},thrower:function(t){throw t},isArray:s.isArray,asArray:E,notEnumerableProp:_,isPrimitive:d,isObject:function(t){return"function"==typeof t||"object"==typeof t&&null!==t},isError:b,canEvaluate:f,errorObj:h,tryCatch:function(t){return o=t,l},inherits:function(t,n){var i={}.hasOwnProperty;function r(){for(var r in this.constructor=t,this.constructor$=n,n.prototype)i.call(n.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=n.prototype[r])}return r.prototype=n.prototype,t.prototype=new r,t.prototype},withAppended:function(t,n){var i,r=t.length,e=new Array(r+1);for(i=0;i<r;++i)e[i]=t[i];return e[i]=n,e},maybeWrapAsError:function(t){return d(t)?new c(m(t)):t},toFastProperties:function(t){return t},filledRange:function(t,n,i){for(var r=new Array(t),e=0;e<t;++e)r[e]=n+e+i;return r},toString:m,canAttachTrace:k,ensureErrorObject:I,originatesFromRejection:function(t){return null!=t&&(t instanceof c.jn.OperationalError||!0===t.isOperational)},markAsOriginatingFromRejection:function(t){try{_(t,"isOperational",!0)}catch(t){}},classString:S,copyDescriptors:function(t,n,i){for(var r=s.names(t),e=0;e<r.length;++e){var u=r[e];if(i(u))try{s.defineProperty(n,u,s.getDescriptor(t,u))}catch(t){}}},hasDevTools:"undefined"!=typeof chrome&&chrome&&"function"==typeof chrome.loadTimes,isNode:A,hasEnvVariables:N,env:function(t){return N?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)}};O.isRecentNode=O.isNode&&(process.versions&&process.versions.node?R=process.versions.node.split(".").map(Number):process.version&&(R=process.version.split(".").map(Number)),0===R[0]&&R[1]>10||R[0]>0),O.isNode&&O.toFastProperties(process);try{throw new c}catch(t){O.lastLineError=t}r.exports=O},{"./es5":13}]},{},[4])(4),null!=i?i.P=i.Promise:null!=t&&(t.P=t.Promise)});var m,b=function(){};(m=g)&&m.config({warnings:!1,longStackTraces:!1});var k,I,S,E,T,R;m&&(E=m.setScheduler(b),k=E,T={fe:function(t){I=t,k(S)},we:S=function(){var t=I;t&&(I=void 0,t())}},m.setScheduler(T.fe));function A(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function N(t,n,i){return n&&A(t.prototype,n),i&&A(t,i),t}function O(t,n){return(O=a.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function D(t,n){t.prototype=a.create(n.prototype),t.prototype.constructor=t,O(t,n)}!function(t){t.ye="web",t.Ae="android",t._e="android-tv",t.pe="ios",t.ke="tvos",t.me="chromecast"}(R||(R={}));var C=e?e.userAgent:"",F=C.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),P=C.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),j=C.match(/Android ([0-9\.]+)/i),B=C.match(/Windows NT ([0-9\.]+)/i),M=C.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),x=C.match(/Firefox\/([0-9\.]+)/i),L=C.match(/OPR\/(\d+\.\d+)/i),U=C.match(/Tizen ([0-9\.]+)/i),W=function(){function n(){this.Me=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.Ne=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(C)||/(macintosh|mac(?=_powerpc)\s)/i.test(C),this.Te=/Windows NT/i.test(C),this.De=B?d(B[1]):0,this.Ie=/Android/i.test(C),this.Ee=j?d(j[1]):0,this.Se=/windows phone (8|8\.1)/i.test(C),this.Le=/iPhone/i.test(C),this.je=/iPad/i.test(C),this.Ce=this.Ne&&this.Me&&!this.je,this.Oe=/iPod/i.test(C),this.xe=/Mobile Safari/i.test(C),this.ze=/EOSSTB/i.test(C),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(C),this.Pe=Boolean(t.chrome&&/google/i.test(e.vendor))||this.Ue,this.Qe=this.Pe&&/Edg\//i.test(e.userAgent),this.Ye=P?l(P[1],10):0,this.Fe=Boolean(t.chrome||/Chrome/i.test(C)||/CriOS/i.test(C)),this.Ge=F?l(F[1],10):0,this.Ve=/SMART-TV.*Tizen/i.test(C),this.We=U?d(U[1]):0,this.He=/webos|web0s/i.test(C),this.Xe=/Edge\/\d+/i.test(C),this.Ze=/Trident/i.test(C),this.qe=this.Ze&&!t.ActiveXObject&&"ActiveXObject"in t,this.Je=/Vivaldi/i.test(C),this.Ke=/Firefox/i.test(C)&&!/Seamonkey/i.test(C),this.$e=x?d(x[1]):0,this.ns=/Safari/i.test(C)&&!/Chrome/i.test(C)&&!this.Se&&!this.Ve,this.rs=M?d(M[2]):0,this.us=Boolean(L),this.hs=L?d(L[1]):0,this.fs=/CrKey/.test(C),this.vs=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(C),this.ds="web"===R._e,this.ls="web"===R.Ae,this.gs=this.ls||this.ds,this.ys="web"===R.pe,this.As="web"===R.ke,this._s="web"===R.me}return N(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}();W.Mu=new W;var q=W.Mu;var G=!(q.Zs&&!q.qs),V=t.console;function H(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(H).join(" ")}function z(t){var n=V&&V[t];return n?n.bind&&G?n.bind(V):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];V[t](X(i))}:void 0}var $,K=z("log")||b,Y=z("warn")||K.bind(void 0,"WARNING:"),Z=z("error")||K.bind(void 0,"ERROR:"),J=($=V&&V.assert)?$.bind&&G?$.bind(V):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];V.assert(t,X(i))}:function(t){if(!t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];Z.apply(void 0,["Assertion failed:"].concat(i))}},Q=nt,tt=null;try{tt=new WebAssembly.Instance(new WebAssembly.Module(new w([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 nt(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function it(t){return!0===(t&&t.bu)}nt.prototype.bu,a.defineProperty(nt.prototype,"bu",{value:!0}),nt.isLong=it;var rt={},et={};function ut(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=et[t])?r:(i=st(t,(0|t)<0?-1:0,!0),e&&(et[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=rt[t])?r:(i=st(t,t<0?-1:0,!1),e&&(rt[t]=i),i)}function ot(t,n){if(_(t))return n?wt:_t;if(n){if(t<0)return wt;if(t>=vt)return bt}else{if(t<=-lt)return kt;if(t+1>=lt)return mt}return t<0?ot(-t,n).neg():st(t%at|0,t/at|0,n)}function st(t,n,i){return new nt(t,n,i)}nt.fromInt=ut,nt.fromNumber=ot,nt.fromBits=st;var ft=v.pow;function ct(t,n,i){if(0===t.length)throw c("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return _t;if("number"==typeof n?(i=n,n=!1):n=!!n,(i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw c("interior hyphen");if(0===r)return ct(t.substring(1),n,i).neg();for(var e=ot(ft(i,8)),u=_t,o=0;o<t.length;o+=8){var s=v.min(8,t.length-o),f=l(t.substring(o,o+s),i);if(s<8){var h=ot(ft(i,s));u=u.mul(h).add(ot(f))}else u=(u=u.mul(e)).add(ot(f))}return u.unsigned=n,u}function ht(t,n){return"number"==typeof t?ot(t,n):"string"==typeof t?ct(t,n):st(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}nt.fromString=ct,nt.fromValue=ht;var at=4294967296,vt=at*at,lt=vt/2,dt=ut(1<<24),_t=ut(0);nt.ZERO=_t;var wt=ut(0,!0);nt.UZERO=wt;var pt=ut(1);nt.ONE=pt;var yt=ut(1,!0);nt.UONE=yt;var gt=ut(-1);nt.NEG_ONE=gt;var mt=st(-1,2147483647,!1);nt.MAX_VALUE=mt;var bt=st(-1,-1,!0);nt.MAX_UNSIGNED_VALUE=bt;var kt=st(0,-2147483648,!1);nt.MIN_VALUE=kt;var It=nt.prototype;It.toInt=function(){return this.unsigned?this.low>>>0:this.low},It.toNumber=function(){return this.unsigned?(this.high>>>0)*at+(this.low>>>0):this.high*at+(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(kt)){var n=ot(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=ot(ft(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(kt)?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(),i=t.isNegative();return n&&!i?-1:!n&&i?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(kt)?kt:this.not().add(pt)},It.neg=It.negate,It.add=function(t){it(t)||(t=ht(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=0,c=0,h=0,a=0;return h+=(a+=e+(65535&t.low))>>>16,c+=(h+=r+s)>>>16,f+=(c+=i+o)>>>16,f+=n+u,st((h&=65535)<<16|(a&=65535),(f&=65535)<<16|(c&=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 _t;if(it(t)||(t=ht(t)),tt)return st(tt.mul(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned);if(t.isZero())return _t;if(this.eq(kt))return t.isOdd()?kt:_t;if(t.eq(kt))return this.isOdd()?kt:_t;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 ot(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,s=t.low>>>16,f=65535&t.low,c=0,h=0,a=0,v=0;return a+=(v+=e*f)>>>16,h+=(a+=r*f)>>>16,a&=65535,h+=(a+=e*s)>>>16,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=r*s)>>>16,h&=65535,c+=(h+=e*o)>>>16,c+=n*f+i*s+r*o+e*u,st((a&=65535)<<16|(v&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},It.mul=It.multiply,It.divide=function(t){if(it(t)||(t=ht(t)),t.isZero())throw c("division by zero");var n,i,r;if(tt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?st((this.unsigned?tt.div_u:tt.div_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?wt:_t;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return wt;if(t.gt(this.shru(1)))return yt;r=wt}else{if(this.eq(kt))return t.eq(pt)||t.eq(gt)?kt:t.eq(kt)?pt:(n=this.shr(1).div(t).shl(1)).eq(_t)?t.isNegative()?pt:gt:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(kt))return this.unsigned?wt:_t;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();r=_t}for(i=this;i.gte(t);){n=v.max(1,v.floor(i.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:ft(2,e-48),o=ot(n),s=o.mul(t);s.isNegative()||s.gt(i);)s=(o=ot(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=pt),r=r.add(o),i=i.sub(s)}return r},It.div=It.divide,It.modulo=function(t){return it(t)||(t=ht(t)),tt?st((this.unsigned?tt.rem_u:tt.rem_s)(this.low,this.high,t.low,t.high),tt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},It.mod=It.modulo,It.rem=It.modulo,It.not=function(){return st(~this.low,~this.high,this.unsigned)},It.and=function(t){return it(t)||(t=ht(t)),st(this.low&t.low,this.high&t.high,this.unsigned)},It.or=function(t){return it(t)||(t=ht(t)),st(this.low|t.low,this.high|t.high,this.unsigned)},It.xor=function(t){return it(t)||(t=ht(t)),st(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?st(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):st(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?st(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):st(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?st(this.low>>>t|n<<32-t,n>>>t,this.unsigned):st(32===t?n:n>>>t-32,0,this.unsigned)},It.shru=It.shiftRightUnsigned,It.shr_u=It.shiftRightUnsigned,It.toSigned=function(){return this.unsigned?st(this.low,this.high,!1):this},It.toUnsigned=function(){return this.unsigned?this:st(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]},nt.fromBytes=function(t,n,i){return i?nt.fromBytesLE(t,n):nt.fromBytesBE(t,n)},nt.fromBytesLE=function(t,n){return new nt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},nt.fromBytesBE=function(t,n){return new nt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var St=Q,Et=v.pow(2,-52);function Tt(t,n){for(var i=t,r=n;0!==r;){var e=i%r;i=r,r=e}return i<0?-i:i}function Rt(){return Date.now()||(new Date).getTime()}var At;St.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"}(At||(At={}));var Nt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];c.apply(this,n)};(Nt.prototype=a.create(c.prototype)).constructor=Nt;var Ot=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,c.captureStackTrace&&c.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r),r.constructor),r}return D(n,t),N(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Nt),Dt=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return D(n,t),n}(Ot),Ct=function(){function t(){}return t.prototype.Lu=function(t){var n,i=new DOMParser;try{n=i.parseFromString(t,"text/xml")}catch(t){throw new Dt(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new Dt;return new Lt(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))},N(t,[{key:"Nu",get:function(){return At.Iu}},{key:"xu",get:function(){var t;return null!=(t=this.ju.localName)?t:qt(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}(),Pt=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 Ut(n)&&n.Vu===t})},n.Wu=function(t,n){return this.Gu.filter(function(i){return Ut(i)&&i.xu===n&&i.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)},N(t,[{key:"Gu",get:function(){return void 0===this.Yu&&(this.Yu=function(t){for(var n=[],i=0;i<t.length;i++){var r=Wt(t.item(i));r&&n.push(r)}return n}(this.Qu.childNodes)),this.Yu}},{key:"Zu",get:function(){return this.Gu.filter(Ut)}},{key:"Xu",get:function(){return this.Qu}}]),t}(),jt=function(t){function n(n){return t.call(this,n)||this}D(n,t);var i=n.prototype;return i.Ju=function(t){if(this.Qu.hasAttribute(t))return this.Qu.getAttribute(t)},i.Ku=function(t,n){if(this.Qu.hasAttributeNS(t,n))return this.Qu.getAttributeNS(t,n)},i.$u=function(t){this.Qu.removeAttribute(t)},i.uo=function(t,n){this.Qu.removeAttributeNS(t,n)},i.oo=function(t,n){this.Qu.setAttribute(t,n)},i.ao=function(t,n,i){this.Qu.setAttributeNS(t,n,i)},i.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Tu}},{key:"xu",get:function(){var t;return null!=(t=this.Qu.localName)?t:qt(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=[],i=0;i<t.length;i++)n.push(new Ft(t.item(i)));return n}(this.Qu.attributes)}},{key:"Ao",get:function(){return this.Qu.textContent}}]),n}(Pt),Bt=function(){function t(t){this.Qu=void 0,this.Qu=t}return t.prototype.Cu=function(t){return this._o===t._o},N(t,[{key:"_o",get:function(){return this.Qu.nodeValue}},{key:"Xu",get:function(){return this.Qu}}]),t}(),Mt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Du}}]),n}(Bt),xt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Eu}}]),n}(Bt),Lt=function(t){function n(n){return t.call(this,n)||this}return D(n,t),n.prototype.Ou=function(t){return new n(this.Qu.cloneNode(t))},N(n,[{key:"Nu",get:function(){return At.Su}},{key:"po",get:function(){return new jt(this.Qu.documentElement)}}]),n}(Pt);function Ut(t){return function(t){return t.Nu===At.Tu}(t)}function Wt(t){switch(t.nodeType){case At.Tu:return new jt(t);case At.Du:return new Mt(t);case At.Eu:return new xt(t)}}function qt(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Gt(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function Vt(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Ht(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Ht(i,null,t.length,t),t}function Ht(t,n,i,r){var e,u,o,s,f,c=t.length,h=0,a=2*i;for(e=0;e<c;e+=a)for(o=(u=e+i)+i,u>c&&(u=c),o>c&&(o=c),s=e,f=u;;)if(s<u&&f<o)n(t[s],t[f])<=0?r[h++]=t[s++]:r[h++]=t[f++];else if(s<u)r[h++]=t[s++];else{if(!(f<o))break;r[h++]=t[f++]}}var Xt=/[a-zA-Z]/,zt=/[0-9]/,$t=/[0-9a-fA-F]/,Kt=/^0x/i,Yt=/^[0-9]+$/,Zt=/^[0-9a-fA-F]+$/,Jt=/^[0-7]+$/,Qt=a.prototype.toString,tn=Array.isArray||function(t){return"[object Array]"===Qt.call(t)},nn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function rn(t){return tn(t)?t:Array.from(t)}function en(t){return t>=65&&t<=90}function un(t){return en(t)||function(t){return t>=97&&t<=122}(t)}function on(t){return t>=48&&t<=57}function sn(t){return on(t)||un(t)}function fn(t){return on(t)||t>=65&&t<=70||t>=97&&t<=102}function cn(t){return en(t)?t+32:t}function hn(t){return on(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function an(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var vn=v.min,ln=String.fromCharCode,dn=16384;function _n(t){for(var n=t.length,i=[],r=0;r<n;r+=dn){var e=vn(r+dn,n);i.push(ln.apply(null,t.slice(r,e)))}return i.join("")}var wn=/[^\0-\x7E]/,pn=/[\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,mn=String.fromCharCode;function bn(t){throw new RangeError(yn[t])}function kn(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var In,Sn,En,Tn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Rn=function(t,n,i){var r=0;for(t=i?gn(t/700):t>>1,t+=gn(t/n);t>455;r+=36)t=gn(t/35);return gn(r+36*t/(t+38))},An=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(pn,".")).split("."),n).join(".");return r+e}(t,function(t){return wn.test(t)?"xn--"+function(t){for(var n=[],i=(t=kn(t)).length,r=128,e=0,u=72,o=0,s=t;o<s.length;o++){var f=s[o];f<128&&n.push(mn(f))}var c=n.length,h=c;for(c&&n.push("-");h<i;){for(var a=2147483647,v=0,l=t;v<l.length;v++){var d=l[v];d>=r&&d<a&&(a=d)}var _=h+1;a-r>gn((2147483647-e)/_)&&bn("overflow"),e+=(a-r)*_,r=a;for(var w=0,p=t;w<p.length;w++){var y=p[w];if(y<r&&++e>2147483647&&bn("overflow"),y==r){for(var g=e,m=36;;m+=36){var b=m<=u?1:m>=u+26?26:m-u;if(g<b)break;var k=g-b,I=36-b;n.push(mn(Tn(b+k%I,0))),g=gn(k/I)}n.push(mn(Tn(g,0))),u=Rn(e,_,h==c),e=0,++h}}++e,++r}return n.join("")}(t):t})};function Nn(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return _n(n)}function On(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Dn(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)?(On(t),n.push(t>>12&15|224),n.push(Dn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(Dn(t,12)),n.push(Dn(t,6))),n.push(63&t|128)):n.push(t)}function Fn(t){for(var n=[],i=0;i<t.length;i++){Cn(t[i],n)}return n}function Pn(){if(En>=Sn)throw new c("Invalid byte index");var t=255&In[En];if(En++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function jn(){var t,n;if(En>Sn)throw new c("Invalid byte index");if(En===Sn)return!1;if(t=255&In[En],En++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Pn())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Pn()<<6|Pn())>=2048)return On(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Pn()<<12|Pn()<<6|Pn())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function Bn(t){return[37,an(t>>4),an(15&t)]}function Mn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function xn(t){return Mn(t)||32===t||34===t||60===t||62===t||96===t}function Ln(t){return xn(t)||35===t||63===t||123===t||125===t}function Un(t){return Ln(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Wn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function qn(t){return Wn(t)||39===t}function Gn(t,n){if(!n(t))return[t];for(var i=Fn([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Bn(u))}return r}function Vn(t,n){for(var i=[],r=0,e=kn(t);r<e.length;r++){var u=e[r];i.push.apply(i,Gn(u,n))}return Nn(i)}function Hn(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&fn(t[r+1])&&fn(t[r+2])){var u=hn(t[r+1])<<4|hn(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Fn(t))}function Xn(t){return Nn(function(t){In=t.slice(),Sn=In.length,En=0;for(var n,i=[];!1!==(n=jn());)i.push(n);return i}(Hn(kn(t))))}function zn(t){var n,i,r,e,u=t.length,o=[0,0,0,0,0,0,0,0],s=0,f=null,c=0;if(c<u&&":"===t[c]){if(!(c+1<u&&":"===t[c+1]))throw new h;c+=2,f=s+=1}for(;c<u;){if(8===s)throw new h("Too many groups");if(":"!==t[c]){for(var a=0,v=0;v<4&&c<u&&$t.test(t[c]);)a=a<<4|l(t[c],16),c+=1,v+=1;if("."===t[c]){if(0===v)throw new h;if(c-=v,s>6)throw new h;for(var d=0;c<u;){var _=null;if(d>0){if(!("."===t[c]&&d<4))throw new h;c+=1}if(!zt.test(t[c]))throw new h;for(;c<u&&zt.test(t[c]);){var w=l(t[c],10);if(null===_)_=w;else{if(0===_)throw new h;if((_=10*_+w)>255)throw new h}c+=1}o[s]=o[s]<<8|_,2!==(d+=1)&&4!==d||(s+=1)}if(4!==d)throw new h;break}if(":"===t[c]){if((c+=1)===u)throw new h}else if(c<u)throw new h;o[s]=a,s+=1}else{if(null!==f)throw new h("Too many :: groups");c+=1,f=s+=1}}if(null!==f){var p=s-f;for(s=7;0!==s&&p>0;)r=f+p-1,e=void 0,e=(n=o)[i=s],n[i]=n[r],n[r]=e,s-=1,p-=1}else if(8!==s)throw new h;return o}function $n(t){var n=10,i=Yt;return Kt.test(t)?(t=t.slice(2),n=16,i=Zt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=Jt),""===t?0:i.test(t)?l(t,n):void 0}var Kn={mo:4},Yn=/[\0\t\n\r #%/:?@\[\\\]]/,Zn=/[\0\t\n\r #/:?@\[\\\]]/;function Jn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new h("Invalid IPv6 address");return{mo:2,Mo:zn(t.slice(1,-1))}}if(!n)return function(t){if(Zn.test(t))throw new h("Invalid code point in opaque host");var n=Vn(t,Mn);return""===n?Kn:{mo:3,qr:n}}(t);var i=function(t){return function(t){return An(t.toLowerCase())}(t)}(Xn(t));if(Yn.test(i))throw new h("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=$n(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new h;if(i[i.length-1]>=v.pow(256,5-i.length))throw new h;for(var s=i.pop(),f=0;f<i.length;f++)s+=i[f]*v.pow(256,3-f);return s}}(i);return void 0!==r?{mo:1,Mo:r}:""===i?Kn:{mo:0,No:i}}function Qn(t){switch(t.mo){case 0:return t.No;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.Mo);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.Mo)+"]";case 3:return t.qr;case 4:return""}}var ti=/\+/g;function ni(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];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(ti," "),s=s.replace(ti," ");var f=Xn(o),c=Xn(s);i.push([f,c])}}return i}function ii(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=ri(Fn(kn(r[0])))+"="+ri(Fn(kn(r[1])))}return n}function ri(t){for(var n,i=[],r=0;r<t.length;r++){var e=t[r];32===e?i.push(43):42===(n=e)||45===n||46===n||95===n||sn(n)?i.push(e):i.push.apply(i,Bn(e))}return _n(i)}var ei=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function ui(t){var n=""+t,i=ei.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(si(u))if(fi(u)||e===i-1)r.push(oi);else{var o=t.charCodeAt(e+1);fi(o)?(r.push(u,o),e++):r.push(oi)}else r.push(u)}return t.slice(0,n)+_n(r)}(n,i.index):n}var oi=65533,si=function(t){return 55296==(63488&t)},fi=function(t){return 0!=(1024&t)};function ci(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function hi(t){t.To.length=0}function ai(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.To,ni(n))}function vi(t){if(t.Do){var n=ii(t.To);""===n&&(n=null),t.Do.Do.Io=n}}function li(t){return t instanceof di&&(!!tn(t.To)&&(!nn||t[Symbol.iterator]===_i))}var di=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(li(t))this.To=t.To.slice();else if(null!=(u=t)&&(tn(u)||nn&&"function"==typeof u[Symbol.iterator])){this.To=[];for(var n=0,i=rn(t);n<i.length;n++){var r=rn(i[n]);if(2!==r.length)throw new h("Invalid name-value pair");this.To.push([ui(r[0]),ui(r[1])])}}else for(var e in this.To=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.To.push([ui(e),ui(t[e])]);else(t=ui(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.To=ni(t);var u}var n=t.prototype;return n.append=function(t,n){t=ui(t),n=ui(n),this.To.push([t,n]),vi(this)},n.delete=function(t){t=ui(t);for(var n=this.To,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}vi(this)},n.get=function(t){t=ui(t);for(var n=this.To,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=ui(t);for(var n=this.To,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=ui(t);for(var n=this.To,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=ui(t),n=ui(n);for(var i=this.To,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),vi(this)},n.sort=function(){Vt(this.To,ci),vi(this)},n.toString=function(){return ii(this.To)},n.entries=function(){return new gi(this.To,wi)},n.keys=function(){return new gi(this.To,pi)},n.values=function(){return new gi(this.To,yi)},n.forEach=function(t){var n=this;this.To.forEach(function(i){return t(i[1],i[0],n)})},t}(),_i=di.prototype.entries;nn&&(di.prototype[Symbol.iterator]=_i);var wi=function(t){return[t[0],t[1]]},pi=function(t){return t[0]},yi=function(t){return t[1]},gi=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}(),mi="null";var bi=a.create(null);bi.ftp=21,bi.file=0,bi.gopher=70,bi.http=80,bi.https=443,bi.ws=80,bi.wss=443;var ki=/^(?:\.|%2e)$/i,Ii=/^(?:\.|%2e){2}$/i;function Si(t){return ki.test(t)}function Ei(t){return Ii.test(t)}function Ti(t){return void 0!==bi[t]}function Ri(t){return Ti(t.Lo)}function Ai(t){return""!==t.jo||""!==t.Co}function Ni(t){var n=t.length;if(!(n>=2))return!1;if(!Di(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function Oi(t){return 2===t.length&&Xt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Di(t){return 2===t.length&&Oi(_n(t))}function Ci(t){return Oi(t)&&":"===t[1]}function Fi(t){var n=t.Oo;0!==n.length&&("file"===t.Lo&&1===n.length&&Ci(n[0])||n.pop())}function Pi(t){return null===t.xo||Kn===t.xo||t.zo||"file"===t.Lo}var ji=-1,Bi=/\t|\n|\r/g,Mi=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function xi(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ui,t=t.replace(Mi,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,s=!1,f=!1,c=kn(t=t.replace(Bi,"")),a=c.length,v=0;v<=a;){var d=v<a?c[v]:ji;switch(e){case 0:if(!un(d)){if(null===r){u.length=0,e=2;continue}throw new h("Invalid scheme")}u.push(cn(d)),e=1;break;case 1:if(sn(d)||43===d||45===d||46===d)u.push(cn(d));else{if(58!==d){if(null===r){u.length=0,e=2,v=0;continue}throw new h("Invalid scheme")}var _=Nn(u);if(null!==r){if(Ti(i.Lo)&&!Ti(_))return;if(!Ti(i.Lo)&&Ti(_))return;if((Ai(i)||null!==i.Ro)&&"file"===_)return;if("file"===i.Lo&&(i.xo===Kn||null===i.xo))return}if(i.Lo=_,null!==r)return void(Ri(i)&&i.Ro===bi[i.Lo]&&(i.Ro=null));u.length=0,"file"===i.Lo?e=13:Ri(i)&&n&&n.Lo===i.Lo?e=3:Ri(i)?e=7:47===c[v+1]?(e=4,v+=1):(i.zo=!0,i.Oo.push(""),e=18)}break;case 2:if(!n||n.zo&&35!==d)throw new h("Invalid scheme");n.zo&&35===d?(i.Lo=n.Lo,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",i.zo=!0,e=20):"file"!==n.Lo?(e=5,v-=1):(e=13,v-=1);break;case 3:47===d&&47===c[v+1]?e=8:(e=5,v-=1);break;case 4:47===d?e=9:(e=17,v-=1);break;case 5:i.Lo=n.Lo,ji===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io=n.Io):47===d?e=6:63===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io="",e=19):35===d?(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",e=20):92===d&&Ri(i)?e=6:(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,i.Oo=n.Oo.slice(),i.Oo.pop(),e=17,v-=1);break;case 6:!Ri(i)||47!==d&&92!==d?47===d?e=9:(i.jo=n.jo,i.Co=n.Co,i.xo=n.xo,i.Ro=n.Ro,e=17,v-=1):e=8;break;case 7:if(47!==d||47!==c[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==d&&92!==d&&(e=9,v-=1);break;case 9:if(64===d){o&&u.unshift(37,52,48),o=!0;for(var w=0;w<u.length;w++){var p=u[w];if(58!==p||f){var y=Nn(Gn(p,Un));f?i.Co+=y:i.jo+=y}else f=!0}u.length=0}else if(ji===d||47===d||63===d||35===d||Ri(i)&&92===d){if(o&&0===u.length)throw new h("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(d);break;case 10:case 11:if(null!==r&&"file"===i.Lo)v-=1,e=15;else if(58!==d||s)if(ji===d||47===d||63===d||35===d||Ri(i)&&92===d){if(v-=1,Ri(i)&&0===u.length)throw new h("Invalid host");if(null!==r&&0===u.length&&(Ai(i)||null!==i.Ro))return;var g=Jn(Nn(u),Ri(i));if(i.xo=g,u.length=0,e=16,null!==r)return}else 91===d?s=!0:93===d&&(s=!1),u.push(d);else{if(0===u.length)throw new h("Invalid host");var m=Jn(Nn(u),Ri(i));if(i.xo=m,u.length=0,e=12,11===r)return}break;case 12:if(on(d))u.push(d);else{if(!(ji===d||47===d||63===d||35===d||Ri(i)&&92===d||null!==r))throw new h("Invalid port");if(0!==u.length){var b=l(Nn(u),10);if(b>65535)throw new h("Invalid port");i.Ro=b===bi[i.Lo]?null:b,u.length=0}if(null!==r)return;e=16,v-=1}break;case 13:i.Lo="file",47===d||92===d?e=14:n&&"file"===n.Lo?ji===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io=n.Io):63===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io="",e=19):35===d?(i.xo=n.xo,i.Oo=n.Oo.slice(),i.Io=n.Io,i.Bo="",e=20):(Ni(c.slice(v))||(i.xo=n.xo,i.Oo=n.Oo.slice(),Fi(i)),e=17,v-=1):(e=17,v-=1);break;case 14:47===d||92===d?e=15:(n&&"file"===n.Lo&&!Ni(c.slice(v))&&(Ci(n.Oo[0])?i.Oo.push(n.Oo[0]):i.xo=n.xo),e=17,v-=1);break;case 15:if(ji===d||47===d||92===d||63===d||35===d)if(v-=1,null===r&&Di(u))e=17;else if(0===u.length){if(i.xo=Kn,null!==r)return;e=16}else{var k=Jn(Nn(u),Ri(i));if(0===k.mo&&"localhost"===k.No&&(k=Kn),i.xo=k,null!==r)return;u.length=0,e=16}else u.push(d);break;case 16:Ri(i)?(e=17,47!==d&&92!==d&&(v-=1)):null===r&&63===d?(i.Io="",e=19):null===r&&35===d?(i.Bo="",e=20):ji!==d&&(e=17,47!==d&&(v-=1));break;case 17:if(ji===d||47===d||Ri(i)&&92===d||null===r&&(63===d||35===d)){var I=Nn(u);if(Ei(I)?(Fi(i),47===d||Ri(i)&&92===d||i.Oo.push("")):!Si(I)||47===d||Ri(i)&&92===d?Si(I)||("file"===i.Lo&&0===i.Oo.length&&Di(u)&&(Kn!==i.xo&&null!==i.xo&&(i.xo=Kn),u[1]=58,I=Nn(u)),i.Oo.push(I)):i.Oo.push(""),u.length=0,"file"===i.Lo&&(ji===d||63===d||35===d))for(;i.Oo.length>1&&""===i.Oo[0];)i.Oo.shift();63===d?(i.Io="",e=19):35===d&&(i.Bo="",e=20)}else u.push.apply(u,Gn(d,Ln));break;case 18:63===d?(i.Io="",e=19):35===d?(i.Bo="",e=20):ji!==d&&(i.Oo[0]+=Nn(Gn(d,Mn)));break;case 19:null===r&&35===d?(i.Bo="",e=20):ji!==d&&(i.Io+=Nn(Gn(d,Ri(i)?qn:Wn)));break;case 20:ji===d||0===d||(i.Bo+=Nn(Gn(d,xn)))}v++}return i}function Li(t,n,i,r){try{xi(t,n,i,r)}catch(t){}}var Ui=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 Wi(t){switch(t.Lo){case"blob":var n;try{n=xi(t.Oo[0],null)}catch(t){return mi}return Wi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return i=t.Lo,r=t.xo,e=t.Ro,i+"://"+Qn(r)+(null===e?"":":"+e);case"file":default:return mi}var i,r,e}function qi(t){return null!=t&&(t instanceof Vi&&"object"==typeof t.Do)}var Gi,Vi=function(){function t(t,n){var i,r=null;if(null!=n)if(qi(n))r=n.Do;else try{r=xi(String(n),null)}catch(t){throw new h("Invalid base URL: "+t.message)}try{i=xi(String(t),r)}catch(t){throw new h("Invalid URL: "+t.message)}var e=i.Io;this.Do=i,this.Io=function(t){var n=new di;return null!==t&&ai(n,t),n}(e),this.Io.Do=this}var n,i,r,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(i=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Lo+":";if(null!==t.xo?(i+="//",Ai(t)&&(i+=t.jo,""!==t.Co&&(i+=":"+t.Co),i+="@"),i+=Qn(t.xo),null!==t.Ro&&(i+=":"+t.Ro)):null===t.xo&&"file"===t.Lo&&(i+="//"),t.zo)i+=t.Oo[0];else for(var r=0,e=t.Oo;r<e.length;r++)i+="/"+e[r];return null!==t.Io&&(i+="?"+t.Io),n||null===t.Bo||(i+="#"+t.Bo),i}(this.Do)},set:function(t){var n;try{n=xi(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.Do=n,hi(this.Io);var i=this.Do.Io;null!==i&&ai(this.Io,i)}},{key:"origin",get:function(){return Wi(this.Do)}},{key:"protocol",get:function(){return this.Do.Lo+":"},set:function(t){Li(t+":",null,this.Do,0)}},{key:"username",get:function(){return this.Do.jo},set:function(t){Pi(this.Do)||(this.Do.jo=Vn(t,Un))}},{key:"password",get:function(){return this.Do.Co},set:function(t){Pi(this.Do)||(this.Do.Co=Vn(t,Un))}},{key:"host",get:function(){var t=this.Do,n=t.xo;if(null===n)return"";var i=t.Ro,r=Qn(n);return null!==i&&(r+=":"+i),r},set:function(t){this.Do.zo||Li(t,null,this.Do,10)}},{key:"hostname",get:function(){var t=this.Do.xo;return null===t?"":Qn(t)},set:function(t){this.Do.zo||Li(t,null,this.Do,11)}},{key:"port",get:function(){var t=this.Do.Ro;return null===t?"":""+t},set:function(t){Pi(this.Do)||(""===t?this.Do.Ro=null:Li(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,Li(t,null,this.Do,16))}},{key:"search",get:function(){var t=this.Do.Io;return null===t||""===t?"":"?"+t},set:function(t){t=ui(t);var n=this.Do;if(""===t)return n.Io=null,void hi(this.Io);"?"===t[0]&&(t=t.slice(1)),n.Io="",Li(t,null,n,19),ai(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="",Li(t,null,this.Do,20)):this.Do.Bo=null}}])&&Gt(n.prototype,i),r&&Gt(n,r),t}();function Hi(t){return t.document&&t.document.baseURI||t.location.href||""}function Xi(){return void 0!==r?r.createElement("video"):void 0}var zi=!!("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),$i=(Gi||(Gi=Xi()),Gi),Ki=!(!$i||!$i.webkitShowPlaybackTargetPicker),Yi=function(){function t(){this.Uo=void 0,this.Po=!1,this.Ms=zi,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},N(t,[{key:"Wo",get:function(){return void 0===this.Uo&&(this.Uo=this.Fo()),this.Uo}},{key:"Ho",get:function(){return i.devicePixelRatio||1}},{key:"Xo",get:function(){return Ki}},{key:"Zo",get:function(){return!1}},{key:"qo",get:function(){return!0}},{key:"Jo",get:function(){return q.Ns||q.zs}},{key:"Ko",get:function(){return!0}},{key:"$o",get:function(){return!0}},{key:"nh",get:function(){}},{key:"ih",get:function(){return!0}}]),t}(),Zi=function(){var t=Xi();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(q.Os)return!1;var t=Xi();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Ji=function(t){function n(n){var i;return(i=t.call(this)||this).rh=void 0,i.rh=n,i.rh&&(i.Po=i.rh.Po,i.Ms=i.rh.Ms,i.Qo=Zi&&i.rh.Qo),i}D(n,t);var i=n.prototype;return i.Fo=function(){return this.rh?this.rh.Wo:t.prototype.Fo.call(this)},i.Go=function(n,i){return this.rh?this.rh.Go(n,i):t.prototype.Go.call(this,n,i)},i.Vo=function(n){return this.rh?this.rh.Vo(n):t.prototype.Vo.call(this,n)},N(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}(Yi),Qi=function(t){function n(n){var i;return(i=t.call(this,n)||this).Po=!0,i.Us=!0,i}return D(n,t),n}(Ji),tr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Fo=function(){if(!(void 0).MediaSource)return 1},n}(Qi),nr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Go=function(n,i){return!(i.eh>1920)&&t.prototype.Go.call(this,n,i)},N(n,[{key:"Zo",get:function(){return q.Ws<3}},{key:"qo",get:function(){return q.Ws>=3}}]),n}(Ji),ir=function(t){function n(){return t.call(this)||this}return D(n,t),n}(Yi),rr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Go=function(t,n){if(t&&t.sh&&n&&n.sh){var i=er(t.sh,"mp4a.40.2")&&er(n.sh,"mp4a.40.5"),r=er(t.sh,"mp4a.40.5")&&er(n.sh,"mp4a.40.2"),e=er(t.sh,"mp4a.40.2")&&er(n.sh,"mp4a.40.34"),u=er(t.sh,"mp4a.40.34")&&er(n.sh,"mp4a.40.2"),o=er(t.sh,"mp4a.40.5")&&er(n.sh,"mp4a.40.34"),s=er(t.sh,"mp4a.40.34")&&er(n.sh,"mp4a.40.5");return!(i||r||e||u||o||s)}return!0},N(n,[{key:"nh",get:function(){if(q.Ns)return 4096}}]),n}(ir);function er(t,n){return t.indexOf(n)>-1}var ur=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),n.prototype.Vo=function(t){return t>=2},n}(ir),or=function(t){function n(){var n;return(n=t.call(this)||this).Po=q.nu>=11,n.Qo=q.tu&&!(q.zs&&q.nu<10),n}return D(n,t),n}(ir),sr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),N(n,[{key:"Ko",get:function(){return!1}}]),n}(Ji),fr=function(t){function n(){return t.apply(this,arguments)||this}return D(n,t),N(n,[{key:"ih",get:function(){return!q.Ts||!!q.Fs&&92!==q.Gs}}]),n}(ir),cr=function(){function n(){var n;this.re=void 0,this.uh=new Ct,this.oh=new hr,this.ah=(n=function(){if(q.Ks)return new rr;if(q.Xs||q.Zs)return new ur;if(q.tu)return new or;if(q.Qs)return new fr;return new ir}(),q.zs?new tr(n):q.Us?new Qi(n):q.Vs?new nr(n):q.Hs?new sr(n):new Ji(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=Rt}var i=n.prototype;return i.vh=function(){K.apply(void 0,arguments)},i.dh=function(){Y.apply(void 0,arguments)},i.lh=function(){Z.apply(void 0,arguments)},i.gh=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];J.apply(void 0,[t].concat(i))},i.oe=function(t,n){return u(t,n)},i.wh=function(t,n){return s(t,n)},i.ue=function(t){o(t)},i.yh=function(t){f(t)},i.Lu=function(t){return this.uh.Lu(t)},i.Ah=function(){return this._h.Ah()},i.ph=function(){return this._h.ph()},i.kh=function(){return this._h.kh()},i.Mh=function(){return this._h.Mh()},i.Nh=function(){return this._h.Nh()},i.Th=function(t,n){return this._h.Th(t,n)},i.Dh=function(t){return this._h.Dh(t)},i.Ih=function(t,n){var i;return void 0===n&&(n=Hi(void 0)),i="object"!=typeof n||n instanceof Vi?n:n.href,new Vi(t,i)},i.Eh=function(n,i){if(void 0===i&&(i=Hi(void 0)),this.fh){var r="string"==typeof i?i:i.toString();return new t.URL(n,r).href}return this.Ih(n,i).href},N(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}(),hr=function(){function t(){}return N(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 ar=y(function(t){!function(t){var n,i=a.prototype,r=i.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",s=e.toStringTag||"@@toStringTag";function f(t,n,i,r){var e=n&&n.prototype instanceof g?n:g,u=a.create(e.prototype),o=new D(r||[]);return u.Yh=function(t,n,i){var r=l;return function(e,u){if(r===w)throw new c("Generator is already running");if(r===p){if("throw"===e)throw u;return F()}for(i.method=e,i.arg=u;;){var o=i.delegate;if(o){var s=A(o,i);if(s){if(s===y)continue;return s}}if("next"===i.method)i.sent=i.Fh=i.arg;else if("throw"===i.method){if(r===l)throw r=p,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=w;var f=v(t,n,i);if("normal"===f.type){if(r=i.done?p:d,f.arg===y)continue;return{value:f.arg,done:i.done}}"throw"===f.type&&(r=p,i.method="throw",i.arg=f.arg)}}}(t,i,o),u}function v(t,n,i){try{return{type:"normal",arg:t.call(n,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",d="suspendedYield",w="executing",p="completed",y={};function g(){}function m(){}function b(){}var k={};k[u]=function(){return this};var I=a.getPrototypeOf,S=I&&I(I(C([])));S&&S!==i&&r.call(S,u)&&(k=S);var E=b.prototype=g.prototype=a.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Yh(n,t)}})}function R(t){var n;this.Yh=function(i,e){function u(){return new Promise(function(n,u){!function n(i,e,u,o){var s=v(t[i],t,e);if("throw"!==s.type){var f=s.arg,c=f.value;return c&&"object"==typeof c&&r.call(c,"Gh")?Promise.resolve(c.Gh).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):Promise.resolve(c).then(function(t){f.value=t,u(f)},function(t){return n("throw",t,u,o)})}o(s.arg)}(i,e,n,u)})}return n=n?n.then(u,u):u()}}function A(t,i){var r=t.iterator[i.method];if(r===n){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=n,A(t,i),"throw"===i.method))return y;i.method="throw",i.arg=new h("The iterator does not provide a 'throw' method")}return y}var e=v(r,t.iterator,i.arg);if("throw"===e.type)return i.method="throw",i.arg=e.arg,i.delegate=null,y;var u=e.arg;return u?u.done?(i[t.resultName]=u.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=n),i.delegate=null,y):u:(i.method="throw",i.arg=new h("iterator result is not an object"),i.delegate=null,y)}function N(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 O(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function C(t){if(t){var i=t[u];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!_(t.length)){var e=-1,o=function i(){for(;++e<t.length;)if(r.call(t,e))return i.value=t[e],i.done=!1,i;return i.value=n,i.done=!0,i};return o.next=o}}return{next:F}}function F(){return{value:n,done:!0}}m.prototype=E.constructor=b,b.constructor=m,b[s]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return a.setPrototypeOf?a.setPrototypeOf(t,b):(t.__proto__=b,s in t||(t[s]="GeneratorFunction")),t.prototype=a.create(E),t},t.awrap=function(t){return{Gh:t}},T(R.prototype),R.prototype[o]=function(){return this},t.AsyncIterator=R,t.async=function(n,i,r,e){var u=new R(f(n,i,r,e));return t.isGeneratorFunction(i)?u:u.next().then(function(t){return t.done?t.value:u.next()})},T(E),E[s]="Generator",E[u]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var r=n.pop();if(r in t)return i.value=r,i.done=!1,i}return i.done=!0,i}},t.values=C,D.prototype={constructor:D,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(O),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!_(+i.slice(1))&&(this[i]=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 i=this;function e(r,e){return s.type="throw",s.arg=t,i.next=r,e&&(i.method="next",i.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=r.call(o,"catchLoc"),h=r.call(o,"finallyLoc");if(f&&h){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(!h)throw new c("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc<=this.prev&&r.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,y):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),y},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),O(i),y}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var e=r.arg;O(i)}return e}}throw new c("illegal catch attempt")},delegateYield:function(t,i,r){return this.delegate={iterator:C(t),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=n),y}}}(t.exports)});function vr(){return(vr=a.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)a.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function lr(){var t=a.create(null);return t.__=void 0,delete t.__,t}var dr,_r=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(dr=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=a.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=lr(),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=lr(),this.size=0},n.keys=function(){return new dr(this.data,function(t,n){return n})},n.values=function(){return new dr(this.data,function(t,n){return t[n]})},n.entries=function(){return new dr(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 wr,pr="94ce86fb-07ff-4f43-adb8-93d2fa968ca2",yr="urn:uuid:"+pr;!function(t){t.Zh="playready",t.qh="widevine",t.Jh="fairplay",t.Kh="clearkey",t.$h="aes128"}(wr||(wr={}));var gr={ra:wr.Zh,ea:"com.microsoft.playready",oa:"cenc",va:"9a04f079-9840-4286-ab92-e65be0885f95",ya:"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95",Aa:"PlayReady"},mr={ra:wr.qh,ea:"com.widevine.alpha",oa:"cenc",va:"edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",ya:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",Aa:"Widevine"},br={ra:wr.Jh,ea:"com.apple.fps.1_0",oa:"skd",va:pr,ya:yr,Aa:"FairPlay"},kr=(wr.Jh,{ra:wr.Kh,ea:"org.w3.clearkey",oa:"cenc",va:"1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",ya:"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",Aa:"ClearKey"});var Ir=q.Qs&&q.Ys>=42||q.Ks&&q.$s>=38||q.Xs||q.qs||q.uu&&q.ou>=29;function Sr(t,n){return r="audio",null!=(i=t)&&-1!==i.indexOf(r)?{initDataTypes:["cenc"],audioCapabilities:[vr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[vr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var i,r}var Er,Tr=function(){function t(t){this._a=void 0,this.ma=new _r,this.Ma=void 0,this._a=t}var n=t.prototype;return n.Nh=function(){return this.Dh(mr)},n.ph=function(){return this.Dh(kr)},n.Mh=function(){return this.Dh(gr)},n.kh=function(){return this.Dh(br)},n.Dh=function(t){var n=t.ya,i=this.ma.get(n);if(i)return i;var r=this.Th(t,'video/mp4; codecs="avc1.42000a"');return this.ma.set(n,r),r},n.Th=function(){var t=g.coroutine(ar.mark(function t(n,i){return ar.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this._a.Na(n.ea,[Sr(i,!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,[Sr(i,!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,i){return t.apply(this,arguments)}}(),n.Ah=function(){return this.Ma||(this.Ma=this.Ta()),this.Ma},n.Ta=function(){var t=g.coroutine(ar.mark(function t(){return ar.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(Ir){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}(),Rr=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}(),Ar=function(){function t(){}return t.prototype.Na=function(t,n){return g.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.ld="arraybuffer",t.wd="json",t.yd="stream",t.Du="text"}(Er||(Er={}));var Nr,Or=function(){function t(n){var i=this;this.Xh=void 0,this.Xh={},n instanceof t?n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):Array.isArray(n)?n.forEach(function(t){i.append(t[0],t[1])}):n&&a.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=Dr(i),r=Cr(r);var e=i.toLowerCase();if(this.Xh.hasOwnProperty(e)){var u=this.Xh[e],o=u[1];u[1]=o?o+", "+r:r}else this.Xh[e]=[i,r]},n.delete=function(t){var n=Dr(t).toLowerCase();delete this.Xh[n]},n.get=function(t){var n=Dr(t).toLowerCase();return this.Xh.hasOwnProperty(n)?this.Xh[n][1]:null},n.has=function(t){var n=Dr(t).toLowerCase();return this.Xh.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Dr(i)).toLowerCase();this.Xh[r]=[i,Cr(n)]},n.forEach=function(t,n){for(var i in this.Xh)this.Xh.hasOwnProperty(i)&&t.call(n,this.Xh[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.Xh)if(this.Xh.hasOwnProperty(n)){var i=this.Xh[n],r=i[0],e=i[1];t.push([r,e])}return t},n._d=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.pd=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.kd=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Dr(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new h("Invalid character in header field name");return n}function Cr(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function Fr(t,n){return function(t,n){var i=t,r=i.length;if(r<=1)return i;for(var e=new Array(r),u=1;u<r;u*=2){Pr(i,n,u,e);var o=i;i=e,e=o}return i}(t.slice(),n)}function Pr(t,n,i,r){var e,u,o,s,f,c=t.length,h=0,a=2*i;for(u=0;u<c;u+=a)for(e=(o=u+i)+i,o>c&&(o=c),e>c&&(e=c),s=u,f=o;;)if(s<o&&f<e)n&&n(t[s],t[f])<=0?r[h++]=t[s++]:r[h++]=t[f++];else if(s<o)r[h++]=t[s++];else{if(!(f<e))break;r[h++]=t[f++]}}!function(t){t[t.Da=0]="Da",t[t.Ia=1]="Ia",t[t.Ea=-1]="Ea"}(Nr||(Nr={}));var jr=function(t,n){return function(t,n){if(t===n)return!0;var i=v.abs(t-n);return i<Et||i<v.max(v.abs(t),v.abs(n))*Et}(t,n)?Nr.Da:function(t,n){return t===n?Nr.Da:t<n?Nr.Ea:t>n?Nr.Ia:_(t)?_(n)?Nr.Da:Nr.Ia:Nr.Ea}(t,n)};function Br(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){t.splice(n,1)}(t,i),!0)}function Mr(t){t.length=0}var xr,Lr,Ur,Wr,qr=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])()}Mr(this.Ca),Mr(this.Oa)}},n.Ba=function(t){this.La||this.Ca.push(t)},n.Ua=function(t){this.La||Br(this.Ca,t)},n.Pa=function(t){this.La||this.Oa.push(t)},n.Qa=function(t){this.La||Br(this.Oa,t)},t}(),Gr=function(){function t(){this.Ya=new qr}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 i=function(){r(),n.xa()},r=function r(){t.Ua(i),t.Qa(r),n.Ua(i),n.Qa(r)};t.Ba(i),t.Pa(r),n.Ba(i),n.Pa(r)}},n.Va=function(){var n=new t,i=new t,r=n.Wa,e=i.Wa,u=this.Ya,o=function(){r.Sa&&e.La||e.Sa&&r.La?u.xa():r.La&&e.La&&u.Ra()};r.Ba(o),e.Ba(o),r.Pa(o),e.Pa(o),n.Ga(u),i.Ga(u);return u.Pa(function(){r.Ua(o),e.Ua(o),r.Qa(o),e.Qa(o)}),[n,i]},N(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"}(xr||(xr={})),function(t){t.Ag="",t._g="manifest",t.pg="segment",t.Mg="content-protection"}(Lr||(Lr={})),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"}(Ur||(Ur={})),function(t){t.Ag="",t.Cg="audio",t.Og="video",t.Du="text",t.xg="image"}(Wr||(Wr={}));var Vr,Hr=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 i,r,e,u,o,s,f,c,h,a,v,l=t.wg;n?(i=n.Wl,r=n.ag,e=n.zg,u=n.cg,o=n.Rg,s=n.Wa,f=n.ra,c=n.Bg,h=n.Ug,a=n.Pg,v=n.Qg):(i=null,r={},e=xr.GET,u=Er.Du,o=0,f=Lr.Ag,c=Ur.Ag,h=Wr.Ag,a=!1),this.wg=l,this.Wl=t.Wl||i,this.ag=new Or(t.ag||r),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 Gr).Wa,this.ra=t.ra||f,this.Bg=t.Bg||c,this.Ug=t.Ug||h,this.Pg=void 0!==t.Pg?Boolean(t.Pg):a,this.Qg=t.Qg||v};!function(t){t.Jg="HttpOpenError",t.Kg="HttpResponseError",t.$g="HttpTimeoutError"}(Vr||(Vr={}));var Xr,zr,$r=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.wg+". Invalid URL.",i)||this}return D(n,t),N(n,[{key:"name",get:function(){return Vr.Jg}}]),n}(function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).nw=void 0,e.nw=n,e}return D(n,t),N(n,[{key:"dg",get:function(){return this.nw}}]),n}(Ot)),Kr=function(){function t(){}var n=t.prototype;return n.dg=function(t){return g.reject(new $r(new Hr(t)))},n.Yg=function(t){},n.Fg=function(){},t}();function Yr(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Zr(t,n){return t.push(n),t}function Jr(t,n,i,r){var e=i||0,u=r||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 Qr(t,n){return Jr(t,Yr(n))}Xr=new(function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).Gw=new Tr(new Ar),n.lD=new Kr,n.i=new Rr,n}return D(n,t),N(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:b}}},{key:"iy",get:function(){return"default"}},{key:"ey",get:function(){return"unknown"}},{key:"sy",get:function(){return this.lD}}]),n}(cr)),function(t){t.Bmt="h.264",t.kmt="mp3",t.gmt="aac-lc",t.wmt="he-aac"}(zr||(zr={}));var te=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,i){var r=this.Uht,e=i-n;e>0&&(this.Pht.push({Fht:n,Ght:i,Vht:e,Wht:r,Hht:t}),this.Uht+=e)},n.bc=function(t){for(var n=0,i=this.Pht;n<i.length;n++){var r=i[n];if(r.Wht<=t&&t<r.Wht+r.Vht)return r.Hht[t+r.Fht-r.Wht]}},n.Xht=function(t,n){for(var i=n,r=0,e=this.Pht;r<e.length;r++)for(var u=e[r],o=u.Ght,s=u.Fht;s<o;s+=1,i+=1)t[i]=u.Hht[s];return i},n.Zht=function(){for(var t=new w(this.Uht),n=0,i=0,r=this.Pht;i<r.length;i++)for(var e=r[i],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 i=new t,r=0,e=this.Pht;r<e.length;r++){var u=e[r];i.Yht(u.Hht,u.Fht,u.Ght)}return i.JT=n||vr({},this.JT),i},N(t,[{key:"Zy",get:function(){return this.Uht},set:function(t){var n=this.Pht,i=this.Uht-t;if(!(t>=this.Uht))if(this.Uht=t,0!==t)for(var r=n.length-1;r>=0;r-=1){var e=n[r];if(i<=e.Vht)return e.Ght-=i,e.Vht-=i,void(n.length!==r+1&&(n.length=r+1));i-=e.Vht}else n.length=0}},{key:"_o",get:function(){for(var t=new Array(this.Uht),n=0,i=0,r=this.Pht;i<r.length;i++)for(var e=r[i],u=e.Ght,o=e.Fht;o<u;o+=1,n+=1)t[n]=e.Hht[o];return t}}]),t}(),ne=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 ie(t,n){return t.xk()?n.xk()?Nr.Da:Nr.Ia:n.xk()?Nr.Ea:t.zk()?n.zk()&&t.jk()===n.jk()?Nr.Da:t.jk()?Nr.Ea:Nr.Ia:n.jk()?Nr.Ia:Nr.Ea}var re=function(){function t(t,n){this.Rk=void 0,this.Bk=void 0,this.Rk=t,this.Bk=n}t.Uk=function(n,i,r){return r?new t(n.toUnsigned(),i.toUnsigned()):new t(n.toSigned(),i.toSigned())},t.Pk=function(n){return n.unsigned?new t(n,St.UZERO):new t(n,n.isNegative()?St.NEG_ONE:St.ZERO)},t.Qk=function(n,i){if(_(n))return i?t.Yk:t.Fk;if(i){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,i).Ck():t.Uk(St.fromNumber(n%0x10000000000000000),St.fromNumber(n/0x10000000000000000),i)};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 Nr.Da;var n=this.jk(),i=t.jk();if(n&&!i)return Nr.Ea;if(!n&&i)return Nr.Ia;if(!this.Hk())return this.Ok(t).jk()?Nr.Ea:Nr.Ia;var r=this.qk(),e=t.qk(),u=e.Bk.comp(r.Bk);return u>0||0===u&&e.Rk.gt(r.Rk)?Nr.Ea:Nr.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 i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shl(i),this.Bk.shl(i).or(this.Rk.shru(64-i)),this.Hk()):t.Uk(St.ZERO,this.Rk.shl(i-64),this.Hk())},n.cm=function(n){var i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shru(i).or(this.Bk.shl(64-i)),this.Bk.shr(i),this.Hk()):t.Uk(this.Bk.shr(i-64),this.Bk.isNegative()?St.NEG_ONE:St.ZERO,this.Hk())},n.fm=function(n){var i=127&n;return 0===i?this:i<64?t.Uk(this.Rk.shru(i).or(this.Bk.shl(64-i)),this.Bk.shru(i),this.Hk()):64===i?t.Uk(this.Bk,St.ZERO,this.Hk()):t.Uk(this.Bk.shru(i-64),St.ZERO,this.Hk())},n.pp=function(n){var i=this.Bk.high>>>16,r=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,c=65535&this.Rk.low,h=n.Bk.high>>>16,a=65535&n.Bk.high,v=n.Bk.low>>>16,l=65535&n.Bk.low,d=n.Rk.high>>>16,_=65535&n.Rk.high,w=n.Rk.low>>>16,p=0,y=0,g=0,m=0,b=0,k=0,I=0,S=0;I+=(S+=c+(65535&n.Rk.low))>>>16,S&=65535,k+=(I+=f+w)>>>16,I&=65535,b+=(k+=s+_)>>>16,k&=65535,m+=(b+=o+d)>>>16,b&=65535,g+=(m+=u+l)>>>16,m&=65535,y+=(g+=e+v)>>>16,g&=65535,p+=(y+=r+a)>>>16,y&=65535,p+=i+h,p&=65535;var E=this.Hk(),T=St.fromBits(g<<16|m,p<<16|y,E),R=St.fromBits(I<<16|S,b<<16|k,E);return t.Uk(R,T,E)},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 i=St.fromBits(4294967295,0,!0),r=this.Rk.and(i),e=this.Rk.shru(32),u=this.Bk.and(i),o=this.Bk.shru(32),s=n.Rk.and(i),f=n.Rk.shru(32),c=n.Bk.and(i),h=n.Bk.shru(32),a=St.UZERO,v=St.UZERO,l=St.UZERO,d=St.UZERO;a=a.add(r.mul(s)),v=v.add(a.shru(32)),a=a.and(i),v=v.add(e.mul(s)),l=l.add(v.shru(32)),v=(v=v.and(i)).add(r.mul(f)),l=l.add(v.shru(32)),v=v.and(i),l=l.add(u.mul(s)),d=d.add(l.shru(32)),l=(l=l.and(i)).add(e.mul(f)),d=d.add(l.shru(32)),l=(l=l.and(i)).add(r.mul(c)),d=d.add(l.shru(32)),l=l.and(i),d=d.add(o.mul(s)).add(u.mul(f)).add(e.mul(c)).add(r.mul(h)).and(i);var _=St.fromBits(a.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=St.fromBits(l.getLowBitsUnsigned(),d.getLowBitsUnsigned(),!0);return t.Uk(_,w,this.Hk())},n.lm=function(n){var i,r,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[r=t.gm,i=this.Ok(e)];r=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)?r=e.jk()?t.vm:t.wm:(i=this.Ok(e.dm(u)),r=u.pp(i.ym(e))),[r,i=this.Ok(e.dm(r))]}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 r=o[0],i=o[1],[r.Ck(),i.Ck()]}if(e.jk()){var s=this.lm(e.Ck());return r=s[0],i=s[1],[r.Ck(),i.Ck()]}r=t.Fk}for(i=this;i.tm(e);){for(var f=v.max(1,v.floor(i.Mk()/e.Mk())),c=v.ceil(v.log(f)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.Qk(f),l=a.dm(e);l.jk()||l.$k(i);)f-=h,l=(a=t.Qk(f,this.Hk())).dm(e);a.Xk()&&(a=t.vm),r=r.pp(a),i=i.Ok(l)}return[r,i]},n.ym=function(t){return this.lm(t)[0]},n.Am=function(t){return this.lm(t)[1]},n.toString=function(n){var i=n||10;if(i<2||i>36)throw new RangeError("radix");if(this.Xk())return"0";if(this.jk()){if(this.ck(t.Vk)){var r=t.Qk(i),e=this.ym(r),u=e.dm(r).Ok(this);return e.toString(i)+u.Kk().toString(i)}return"-"+this.Ck().toString(i)}for(var o=t.Qk(v.pow(i,6),this.Hk()),s=this,f="";;){var c=s.ym(o),h=(s.Ok(c.dm(o)).Kk()>>>0).toString(i);if((s=c).Xk())return h+f;for(;h.length<6;)h="0"+h;f=String(h)+f}},t}();re.Fk=re.Pk(St.ZERO),re.Yk=re.Pk(St.UZERO),re.vm=re.Pk(St.ONE),re.gm=re.Pk(St.UONE),re.wm=re.Pk(St.NEG_ONE),re.Wk=re.Uk(St.NEG_ONE,St.MAX_VALUE,!1),re.Gk=re.Uk(St.MAX_UNSIGNED_VALUE,St.MAX_UNSIGNED_VALUE,!0),re.Vk=re.Uk(St.ZERO,St.MIN_VALUE,!1);var ee=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 i=t,(n=this).pm>=i.pm?jr(n._m,i.Im(n.pm)._m):jr(n.Im(i.pm)._m,i._m);var n,i},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)},N(t,[{key:"zk",get:function(){return!isFinite(this._m)}},{key:"Sm",get:function(){return this._m/this.pm}}]),t}();ee.Lm=new ee(1/6,1),ee.Fk=new ee(0),ee.jm=new ee(1/0),ee.Cm=1e6;var ue=function(t){function n(n,i){var r;return(r=t.call(this)||this).Pu=void 0,r.pm=void 0,r.Pu=n.toSigned(),r.pm=i>>>0,r}D(n,t),n.Om=function(t,i){return void 0===i&&(i=1e6),n.Qk(t*i,i)},n.Qk=function(t,i){return _(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(St.fromNumber(t),i)},n.Pk=function(t,i){return new n(t,i)},n.Bm=function(t){return n.Om(t.Sm,1e6)},n.Um=function(t){return new n(St.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,i,r){return n.Tm(i,n.Dm(r,t))};var i=n.prototype;return i.jk=function(){return this.Pu.isNegative()},i.Xk=function(){return 0!==this.pm&&this.Pu.isZero()},i.zk=function(){return 0===this.pm&&!this.Pu.isZero()},i.xk=function(){return 0===this.pm&&this.Pu.isZero()},i.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},i.Jk=function(){if(0===this.pm)throw new c("Failed to convert timestamp");return this.Pu},i.Qm=function(){return new Date(0===this.pm?NaN:this.Im(1e3).Pu.toNumber())},i.Ym=function(){return new ee(0===this.pm?this.Mk():this.Pu.toNumber(),this.pm)},i.Im=function(t,i){void 0===i&&(i=fe.Fm);var r=this.pm;if(r===t)return this;if(0===r)return this;var e=Tt(r,t);return new n(function(t,n,i){var r=t.lm(n),e=r[0],u=r[1];if(u.Xk())return e;if(i===fe.Fm)return u.jk()?e.Ok(re.vm):e;if(i===fe.Gm)return u.jk()?e:e.pp(re.vm);var o=u.dm(re.Qk(2));return o.jk()?o.Ck().Sk(n)?e:e.Ok(re.vm):o.Sk(n)?e:e.pp(re.vm)}(re.Pk(this.Pu).dm(re.Qk(t/e)),re.Qk(r/e),i).Jk(),t)},i.Nk=function(t){if(this===t)return Nr.Da;if(0===this.pm||0===t.pm)return ie(this,t);if(this.Xk())return t.Xk()?Nr.Da:t.jk()?Nr.Ia:Nr.Ea;if(t.Xk())return this.jk()?Nr.Ea:Nr.Ia;var n=v.min(this.pm,t.pm),i=this.Im(n,fe.Vm).Pu,r=t.Im(n,fe.Vm).Pu;return i.compare(r)},i.Ck=function(){return 0===this.pm?oe(this):new n(this.Pu.negate(),this.pm)},i.pp=function(t){if(0===this.pm||0===t.pm)return se(this,t);if(this.Xk())return t;if(t.Xk())return this;var i=v.max(this.pm,t.pm),r=this.Im(i,fe.Vm),e=t.Im(i,fe.Vm);return new n(r.Pu.add(e.Pu),i)},i.dm=function(t){if(this.xk()||_(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var i=this.jk()?n.Rm:n.zm;return t<0?i.Ck():i}return this.Xk()?this:new n(0===t?St.ZERO:this.Pu.multiply(t),this.pm)},i.ym=function(t){if(this.xk()||_(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(St.ZERO,this.pm);if(this.Xk())return 0===t?n.xm:new n(St.ZERO,this.pm);if(0===t){var i=this.jk()?n.Rm:n.zm;return 1/t<0?i.Ck():i}return new n(this.Pu.divide(t),this.pm)},i.Wm=function(){return[this.Pu.low,this.Pu.high,this.pm]},n}(ne);function oe(t){return t.xk()?t:t.jk()?ue.zm:ue.Rm}function se(t,n){return t.xk()||n.xk()?ue.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:ue.xm:t.zk()?t:n}ue.Fk=new ue(St.ZERO,1e6),ue.xm=new ue(St.ZERO,0),ue.zm=new ue(St.ONE,0),ue.Rm=new ue(St.NEG_ONE,0);var fe,ce=function(t){function n(n,i){var r;return(r=t.call(this)||this).Pu=void 0,r.pm=void 0,r.Pu=BigInt.asIntN(64,n),r.pm=i>>>0,r}D(n,t),n.Om=function(t,i){return void 0===i&&(i=1e6),n.Qk(t*i,i)},n.Qk=function(t,i){return _(t)?n.xm:t===1/0?n.zm:t===-1/0?n.Rm:new n(BigInt(v.floor(t)),i)},n.Pk=function(t,i){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),i)},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,i,r){return n.Tm(i,n.Dm(r,t))};var i=n.prototype;return i.jk=function(){return this.Pu<BigInt(0)},i.Xk=function(){return 0!==this.pm&&this.Pu===BigInt(0)},i.zk=function(){return 0===this.pm&&this.Pu!==BigInt(0)},i.xk=function(){return 0===this.pm&&this.Pu===BigInt(0)},i.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},i.Jk=function(){if(0===this.pm)throw new c("Failed to convert timestamp");return this.Hm()},i.Hm=function(){var t=this.Pu&BigInt(4294967295),n=this.Pu>>BigInt(32)&BigInt(4294967295);return St.fromBits(Number(t),Number(n))},i.Qm=function(){return new Date(0===this.pm?NaN:Number(this.Im(1e3).Pu))},i.Ym=function(){return new ee(0===this.pm?this.Mk():Number(this.Pu),this.pm)},i.Im=function(t,i){void 0===i&&(i=fe.Fm);var r=this.pm;if(r===t)return this;if(0===r)return this;var e=Tt(r,t);return new n(function(t,n,i){var r=t/n,e=t-r*n;if(e===BigInt(0))return r;if(i===fe.Fm)return e<BigInt(0)?r-BigInt(1):r;if(i===fe.Gm)return e<BigInt(0)?r:r+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?r:r-BigInt(1):u<n?r:r+BigInt(1)}(this.Pu*BigInt(t/e),BigInt(r/e),i),t)},i.Nk=function(t){if(this===t)return Nr.Da;if(0===this.pm||0===t.pm)return ie(this,t);if(this.Xk())return t.Xk()?Nr.Da:t.jk()?Nr.Ia:Nr.Ea;if(t.Xk())return this.jk()?Nr.Ea:Nr.Ia;var n=v.min(this.pm,t.pm),i=this.Im(n,fe.Vm).Pu,r=t.Im(n,fe.Vm).Pu;return i>r?Nr.Ia:i<r?Nr.Ea:Nr.Da},i.Ck=function(){return 0===this.pm?he(this):new n(-this.Pu,this.pm)},i.pp=function(t){if(0===this.pm||0===t.pm)return ae(this,t);if(this.Xk())return t;if(t.Xk())return this;var i=v.max(this.pm,t.pm),r=this.Im(i,fe.Vm),e=t.Im(i,fe.Vm);return new n(r.Pu+e.Pu,i)},i.dm=function(t){if(this.xk()||_(t))return n.xm;if(this.zk()||!isFinite(t)){if(this.Xk()||0===t)return n.xm;var i=this.jk()?n.Rm:n.zm;return t<0?i.Ck():i}return this.Xk()?this:new n(0===t?BigInt(0):this.Pu*BigInt(t),this.pm)},i.ym=function(t){if(this.xk()||_(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 i=this.jk()?n.Rm:n.zm;return 1/t<0?i.Ck():i}return new n(this.Pu/BigInt(t),this.pm)},i.Wm=function(){var t=this.Hm();return[t.low,t.high,this.pm]},N(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}(ne);function he(t){return t.xk()?t:t.jk()?ce.zm:ce.Rm}function ae(t,n){return t.xk()||n.xk()?ce.xm:t.zk()&&n.zk()?t.jk()===n.jk()?t:ce.xm:t.zk()?t:n}ce.Xm=void 0,ce.Zm=void 0,ce.qm=void 0,ce.Jm=void 0,function(t){t[t.Fm=0]="Fm",t[t.Gm=1]="Gm",t[t.Vm=2]="Vm"}(fe||(fe={}));var ve=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?ce:ue;function le(t){return ve.Pk(St.fromBits(t[0],t[1],!1),t[2])}var de=v.pow(2,33),_e=ve.Qk(de,9e4),we=_e.ym(2);function pe(t,n){var i=t.Ok(n);return t.zk()||n.zk()?i:(i.Tk(we)?i.Ok(_e):i.Sk(we.Ck())&&i.pp(_e),i)}var ye,ge;q.tu;!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"}(ye||(ye={})),function(t){t[t.RK=0]="RK",t[t.BK=1]="BK",t[t.UK=2]="UK",t[t.PK=3]="PK"}(ge||(ge={}));var me,be,ke,Ie,Se,Ee;[[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},{}),g.resolve();!function(t){t.Op="xp",t.zp="Rp",t.Ry="if"}(me||(me={})),function(t){t.Op="enter",t.zp="exit",t.Ry="update"}(be||(be={})),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"}(ke||(ke={})),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'}(Ie||(Ie={})),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"}(Se||(Se={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ee||(Ee={}));var Te;Se.WHITE,Ie.rK,Se.BLACK,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.GREEN,Ee.FONT_REGULAR,Se.GREEN,Ee.FONT_UNDERLINE,Se.BLUE,Ee.FONT_REGULAR,Se.BLUE,Ee.FONT_UNDERLINE,Se.CYAN,Ee.FONT_REGULAR,Se.CYAN,Ee.FONT_UNDERLINE,Se.RED,Ee.FONT_REGULAR,Se.RED,Ee.FONT_UNDERLINE,Se.YELLOW,Ee.FONT_REGULAR,Se.YELLOW,Ee.FONT_UNDERLINE,Se.MAGENTA,Ee.FONT_REGULAR,Se.MAGENTA,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_ITALICS,Se.WHITE,Ee.FONT_UNDERLINE_ITALICS,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE,Se.WHITE,Ee.FONT_REGULAR,Se.WHITE,Ee.FONT_UNDERLINE;!function(t){t[t.nat=47]="nat",t[t.iat=49]="iat"}(Te||(Te={}));var Re,Ae=[128,64,32,16,8,4,2,1];function Ne(t,n){var i=v.floor(n.bit/8),r=0==(("function"==typeof t.bc?t.bc(i):t[i])&Ae[n.bit%8])?0:1;return n.bit+=1,r}function Oe(t,n,i){for(var r=0,e=i;e>0;)e-=1,r=2*r+Ne(t,n);return r}function De(t,n){for(var i=0;0===Ne(t,n)&&i<32;)i+=1;return Oe(t,n,i)+v.pow(2,i)-1}function Ce(t,n){var i=De(t,n);return 1&i?v.floor((i+1)/2):-v.floor(i/2)}!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"}(Re||(Re={}));var Fe=[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 Pe(t,n,i){for(var r=8,e=8,u=0;u<i;u+=1){if(0!==e)e=(r+Ce(t,n)+256)%256;r=0===e?r:e}}var je=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),i=this.Dat,r=i.Zy,e=0;n<r;n+=1){var u=i.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,i=t,r=0;r<n.length;r++){if(!(n[r]<=i))return i;i+=1}return i},n.bc=function(t){if(!(t>this.Dat.Zy))return t>this.Eat&&this.Sat(),this.Dat.bc(this.Lat(t))},t}();function Be(t,n){Au(t.video?t.video:void 0);var i=so(t,!0),r=Ou(t)+8,e=qe.length+i+r,u=function(t,n){var i={video:[],audio:[]},r=8+n,e={video:t.video&&t.video.KH||[],audio:t.audio&&t.audio.KH||[]},u={JT:{P4:Number.POSITIVE_INFINITY}},o=0,s=0,f=e.video[0]||u,c=e.audio[0]||u;for(;o<e.video.length||s<e.audio.length;)f.JT.P4<c.JT.P4?(Qr(i.video,r),r+=f.Zy,f=e.video[o+=1]||u):(Qr(i.audio,r),r+=c.Zy,c=e.audio[s+=1]||u);return i}(t,qe.length+i);return n.v(e),n.eu(qe),fo(n,t,i,u),function(t,n,i){var r,e={JT:{P4:Number.POSITIVE_INFINITY}},u=0,o=0,s=n.video&&n.video.KH||[],f=n.audio&&n.audio.KH||[],c=s.length,h=f.length,a=s[u]||e,v=f[o]||e;t.su(i),t.eu(Ve);for(;u<c||o<h;)a.JT.P4<v.JT.P4?(r=a,a=s[u+=1]||e):(r=v,v=f[o+=1]||e),t.cu(r)}(n,t,r),n}function Me(t,n,i){var r=void 0!==n?n:void 0;Au(t.video?t.video:void 0);var e=so(t,!1,r),u=Ge.length+e;return i.v(u),i.eu(Ge),fo(i,t,e,void 0,r||ve.Fk),i}function xe(t,n,i,r,e){var u=i.Mk(),o=r.Mk(),s=function(t,n){return 1===Ao(t,n)?52:44}(t,o),f=To(t,u),c=Ou(t)+8,h=co.length+s+f+c;return e.v(h),e.eu(co),function(t,n,i,r,e){var u=n.video&&n.video.smt.pp(ve.Om(n.video.duration,n.video.smt.pm))||ve.Fk,o=n.audio&&n.audio.smt.pp(ve.Om(n.audio.duration,n.audio.smt.pm))||ve.Fk,s=ve.Tm(u,o),f=v.round(e*Ru);t.su(i),t.eu(ho),1===Ao(n,e)?(t.su(16777216),t.su(1),t.su(Ru),t.hu(St.fromNumber(f)),t.hu(St.ZERO)):(t.su(0),t.su(1),t.su(Ru),t.su(f),t.su(0));t.lu(0),t.lu(1);var c=Ro(n.video?n.video:void 0),h=Ro(n.audio?n.audio:void 0);t.su(To(n,r)+c+h+8),Co(t,s),t.eu([144,0,0,0])}(e,t,s,u,o),function(t,n,i,r,e){t.su(i),t.eu(ao),function(t,n){t.su(lo),t.eu(vo),t.su(0),t.su(n)}(t,r),Oo(t,n,n.video?n.video:void 0,1,e),Oo(t,n,n.audio?n.audio:void 0,2,e)}(e,t,f,n,u),function(t,n,i){var r=n.video&&n.video.KH||[],e=n.audio&&n.audio.KH||[];t.su(i),t.eu(Ve);for(var u=0;u<r.length;u++){var o=r[u];t.cu(o)}for(var s=0;s<e.length;s++){var f=e[s];t.cu(f)}}(e,t,c),e}function Le(t){return t.nmt===zr.kmt||t.nmt===zr.gmt||t.nmt===zr.wmt}function Ue(t){return t.nmt===zr.Bmt}function We(t){var n=t.length;if(n)for(var i=t[0].JT.Bat,r=0;r<n;r+=1){var e=t[r].JT;e.jmt=e.Rat.Ok(i),i=i.pp(e.Uat)}}var qe=[0,0,0,32,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,97,118,99,49,109,112,52,49],Ge=[0,0,0,28,102,116,121,112,109,112,52,50,0,0,0,0,105,115,111,109,109,112,52,50,100,97,115,104],Ve=[109,100,97,116],He=[109,111,111,118],Xe=[109,118,104,100],ze=[116,114,97,107],$e=[116,107,104,100],Ke=[109,118,101,120],Ye=[116,114,101,120],Ze=32,Je=[101,100,116,115],Qe=[101,108,115,116],tu=[109,100,105,97],nu=[109,100,104,100],iu=[99,116,116,115],ru=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0],eu=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0],uu=45,ou=[109,105,110,102],su=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],fu=16,cu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],hu=20,au=[0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1],vu=36,lu=[115,116,98,108],du=[115,116,115,100],_u=[97,118,99,67],wu=[101,115,100,115],pu=[115,116,115,115],yu=[115,116,116,115],gu=[115,116,115,99],mu=[115,116,115,122],bu=[115,116,99,111],ku=[112,97,115,112],Iu=[97,118,99,49],Su=[109,112,52,97],Eu=[1,0],Tu=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0],Ru=9e4;function Au(t){if(t&&!t.WN){var n=t.kAt,i=t.mAt;t.WN=function(t,n){var i=t.length,r=n.length,e=[];return Zr(e,1),Zr(e,t[1]),Zr(e,t[2]),Zr(e,t[3]),Zr(e,255),Zr(e,225),Zr(e,(65280&i)>>8),Zr(e,255&i),Jr(e,t),Zr(e,1),Zr(e,(65280&r)>>8),Zr(e,255&r),Jr(e,n),e}(n,i);var r=new te;r.Yht(n,0,n.length);var e=function(t){var n,i,r,e,u,o,s=new je(t),f=0,c=0,h=0,a=0,l=s.bc(1),d={bit:32};if(De(s,d),100===l||110===l||122===l||144===l){var _=De(s,d);if(3===_&&(n=Ne(s,d)),De(s,d),De(s,d),Ne(s,d),1===Ne(s,d))for(var w=0;w<(3!==_?8:12);w+=1)1===Ne(s,d)&&Pe(s,d,w<6?16:64)}var p=De(s,d),y=De(s,d);if(0===y)De(s,d);else if(1===y){Ne(s,d),Ce(s,d),Ce(s,d);for(var g=De(s,d),m=0;m<g;m+=1)Ce(s,d)}De(s,d),Ne(s,d);var b=De(s,d),k=De(s,d),I=Ne(s,d);if(0===I&&Ne(s,d),Ne(s,d),1===Ne(s,d)&&(f=De(s,d),c=De(s,d),h=De(s,d),a=De(s,d)),1===Ne(s,d)){if(1===Ne(s,d)){var S=Oe(s,d,8);if(255===S)i=Oe(s,d,16),r=Oe(s,d,16);else{var E=Fe[S];E&&(i=E[0],r=E[1])}}1===Ne(s,d)&&Ne(s,d),1===Ne(s,d)&&(Oe(s,d,3),Ne(s,d),1===Ne(s,d)&&(Oe(s,d,8),Oe(s,d,8),Oe(s,d,8))),1===Ne(s,d)&&(De(s,d),De(s,d)),1===(e=Ne(s,d))&&(u=Oe(s,d,32),o=Oe(s,d,32),Ne(s,d))}return{width:v.floor(16*(b+1)-2*f-2*c),height:v.floor((2-I)*(k+1)*16-2*h-2*a),eT:i,sT:r,jat:!!e&&o/(2*u),Cat:n,Oat:p}}(r);t.width=e&&e.width,t.height=e&&e.height,e&&e.eT&&e.sT&&(t.eT=e.eT,t.sT=e.sT)}}function Nu(t,n){var i=t.jat||0;if(Le(t))return t.Nmt;var r=v.max(Ru,i);return n?v.round(r):r}function Ou(t){var n=0,i=function(t){for(var n=t.length,i=0,r=0;r<n;r+=1)i+=t[r].Zy;return i};return t.video&&(n+=i(t.video.KH)),t.audio&&(n+=i(t.audio.KH)),n}function Du(t,n,i,r){var e=ve.Om(0,t.pm);return n?(r||e).pp(t):i||e}function Cu(t,n,i){var r=t.video&&Du(ve.Om(t.video.duration,Ru),n,i,t.video.smt)||ve.Fk,e=t.audio&&Du(ve.Om(t.audio.duration,Ru),n,i,t.audio.smt)||ve.Fk;return 0!==ve.Tm(r,e).Im(Ru).Jk().high?1:0}function Fu(t,n,i){return 1===Cu(t,n,i)?120:108}function Pu(t,n,i){return 0!==Du(ve.Om(t.duration,Ru),n,i,t.smt).Im(Ru).Jk().high?1:0}function ju(t,n,i){return 1===Pu(t,n,i)?104:92}function Bu(t,n,i){var r=Nu(t,!1),e=Du(ve.Om(t.duration,r),n,i);return e.bk(ve.Om(v.pow(2,32)-1,e.pm))?1:0}function Mu(t,n,i){return 1===Bu(t,n,i)?44:32}function xu(t){if(t.hasOwnProperty("gu"))return t.gu;for(var n=0,i=0,r=t.KH;i<r.length;i++){r[i].JT.Yat&&(n+=1)}return t.gu=n,n}function Lu(t,n){var i=t.video&&0!==a.keys(t.video).length,r=t.audio&&0!==a.keys(t.audio).length;return n?0:8+(i?Ze:0)+(r?Ze:0)}function Uu(t){return!Ue(t)&&t.Imt?t.Imt.length+12:0}function Wu(t){return Ue(t)?110+t.WN.length+Uu(t)+(t.eT&&t.sT?16:0):52+Uu(t)}function qu(t,n){return Ue(t)&&n?16+4*xu(t):0}function Gu(t,n){return t.imt&&n&&Ue(t)?16+8*t.KH.length:0}function Vu(t,n){return 20+(n?4*t.KH.length:0)}function Hu(t,n){return 16+(n?4*t.KH.length:0)}function Xu(t,n){return Ue(t)?16+(n?8*t.KH.length:0):16+(n?8:0)}function zu(t){return 16+(t?12:0)}function $u(t,n){return 8+Wu(t)+qu(t,n)+Gu(t,n)+Xu(t,n)+zu(n)+Vu(t,n)+Hu(t,n)}function Ku(t,n){return 8+(Ue(t)?hu:fu)+vu+$u(t,n)}function Yu(t,n,i){return 8+Mu(t,n,i)+uu+Ku(t,n)}function Zu(t){var n=v.floor(Ru*t.duration||0),i=t.smt;return n>v.pow(2,31)-1||i.bk(ve.Qk(v.pow(2,31)-1,Ru))?1:0}function Ju(t,n){return n?1===Zu(t)?24+(t.smt.Xk()?20:40):24+(t.smt.Xk()?12:24):0}function Qu(t,n,i){return t&&0!==a.keys(t).length?8+ju(t,n,i)+Yu(t,n,i)+Ju(t,n):0}function to(t,n,i){var r=Wu(n),e=function(t){if(t===zr.Bmt)return Iu;if(t===zr.kmt)return Su;if(t===zr.gmt||t===zr.wmt)return Su;throw new c("unknown codec "+t)}(n.nmt);t.su(r),t.eu(du),t.su(0),t.su(1),t.su(r-16),t.eu(e),t.su(0),t.lu(0),t.lu(1),e===Iu&&Ue(n)?(t.su(0),t.su(0),t.su(0),t.su(0),t.lu(n.width||0),t.lu(n.height||0),t.lu(72),t.lu(0),t.lu(72),t.lu(0),t.su(0),t.lu(1),t.eu([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.lu(24),t.eu([255,255]),t.su(8+n.WN.length),t.eu(_u),t.eu(n.WN)):e===Su&&Le(n)&&(t.su(0),t.su(0),t.lu(n.Dmt),t.lu(16),t.lu(0),t.lu(0),t.lu(n.Nmt),t.lu(0)),Ue(n)&&n.eT&&n.sT&&(t.su(16),t.eu(ku),t.su(n.eT),t.su(n.sT)),!Ue(n)&&n.Imt&&(t.su(Uu(n)),t.eu(wu),t.su(0),t.eu(n.Imt))}function no(t,n,i){var r=Nu(n,!0),e=i?n.KH.length:0;!function(t){var n=t.length;if(n){var i=(t=Fr(t,function(t,n){return function(t,n){return t.Nk(n)}(t.JT.Bat,n.JT.Bat)}))[0].JT;i.Cmt=ve.Fk;for(var r=1;r<n;r+=1){var e=t[r].JT,u=e.Bat.Ok(i.Bat);e.Cmt=ve.Tm(u,ve.Fk),i=e}}}(n.KH),t.su(e);for(var u=0;u<e;u+=1){var o=n.KH[u].JT.Cmt;t.su(1),t.su(o.Im(r,fe.Vm).Jk().toInt())}}function io(t,n,i,r){var e=$u(n,!!r);t.su(e),t.eu(lu),to(t,n),function(t,n,i){t.su(Xu(n,i)),t.eu(yu),t.su(0),Ue(n)?no(t,n,i):function(t,n,i){t.su(i?1:0),i&&(t.su(n.KH.length),t.su(n.Tmt))}(t,n,i)}(t,n,!!r),function(t,n,i){if(Ue(n)&&i){var r=qu(n,i);t.su(r),t.eu(pu),t.su(0),t.su(xu(n));for(var e=0;e<n.KH.length;e+=1)n.KH[e].JT.Yat&&t.su(e+1)}}(t,n,!!r),function(t,n,i){var r=Nu(n,!1);if(n.imt&&i&&Ue(n)){We(n.KH);var e=Gu(n,i);t.su(e),t.eu(iu),t.su(0),t.su(n.KH.length);for(var u=0,o=n.KH;u<o.length;u++){var s=o[u].JT.jmt;t.su(1),t.su(s.Im(r,fe.Vm).Jk().toInt())}}}(t,n,!!r),function(t,n){t.su(zu(n)),t.eu(gu),t.su(0),t.su(n?1:0),n&&(t.su(1),t.su(1),t.su(1))}(t,!!r),function(t,n,i){var r=Vu(n,i);if(t.su(r),t.eu(mu),t.su(0),t.su(0),t.su(i?n.KH.length:0),i)for(var e=0,u=n.KH;e<u.length;e++){var o=u[e];t.su(o.Zy)}}(t,n,!!r),function(t,n,i){var r=Hu(n,!!i);t.su(r),t.eu(bu),t.su(0),t.su(i?n.KH.length:0),i&&t.eu(i)}(t,n,r)}function ro(t,n,i,r){var e=Ku(n,!!r);t.su(e),t.eu(ou),Ue(n)?function(t){t.eu(cu)}(t):function(t){t.eu(su)}(t),function(t){t.eu(au)}(t),io(t,n,0,r)}function eo(t,n,i,r,e){var u=Yu(n,!!r,e);t.su(u),t.eu(tu),function(t,n,i,r){var e=Mu(n,i,r),u=Nu(n,!1),o=Du(ve.Om(n.duration,u),i,r);u=v.round(u),t.su(e),t.eu(nu),1===Bu(n,i,r)?(t.su(16777216),t.hu(St.ZERO),t.hu(St.ZERO),t.su(u),Do(t,o)):(t.su(0),t.su(0),t.su(0),t.su(u),Co(t,o)),t.eu([85,196]),t.eu([0,0])}(t,n,!!r,e),function(t,n){n?t.eu(ru):t.eu(eu)}(t,Ue(n)),ro(t,n,0,r)}function uo(t,n){t.su(Ze),t.eu(Ye),t.su(0),t.su(n),t.su(1),t.su(0),t.su(0),t.su(0)}function oo(t,n,i,r,e){var u=Qu(n,!!i,e);n&&0!==u&&(t.su(u),t.eu(ze),function(t,n,i,r,e){var u=Du(ve.Om(n.duration,Ru),r,e,n.smt),o=ju(n,r,e),s=Ue(n);t.su(o),t.eu($e),1===Pu(n,r,e)?(t.su(16777231),t.hu(St.ZERO),t.hu(St.ZERO),t.su(i),t.su(0),Do(t,u)):(t.su(15),t.su(0),t.su(0),t.su(i),t.su(0),Co(t,u)),t.su(0),t.su(0),t.lu(0),t.lu(s?0:1),t.eu(s?[0,0]:Eu),t.eu([0,0]),t.eu(Tu),Ue(n)?(t.lu(n.width||0),t.lu(0),t.lu(n.height||0),t.lu(0)):(t.su(0),t.su(0))}(t,n,r,!!i,e),i&&function(t,n){var i=Ju(n,!0),r=v.floor(Ru*n.duration||0),e=Zu(n);t.su(i),t.eu(Je),t.su(i-8),t.eu(Qe),1===e?t.su(16777216):t.su(0),t.su(n.smt.Xk()?1:2),n.smt.Xk()||(1===e?(Do(t,n.smt),t.eu([255,255,255,255,255,255,255,255])):(Co(t,n.smt),t.eu([255,255,255,255])),t.lu(1),t.lu(0)),1===e?(t.hu(St.fromNumber(r)),t.hu(St.ZERO)):(t.su(r),t.su(0)),t.lu(1),t.lu(0)}(t,n),eo(t,n,0,i,e))}function so(t,n,i){var r=Qu(t.video?t.video:void 0,n,i),e=Qu(t.audio?t.audio:void 0,n,i);return 8+Fu(t,n,i)+Lu(t,n)+r+e}function fo(t,n,i,r,e){t.su(i),t.eu(He),function(t,n,i,r){var e=Fu(n,i,r),u=n.video&&Du(ve.Om(n.video.duration,Ru),i,r,n.video.smt)||ve.Fk,o=n.audio&&Du(ve.Om(n.audio.duration,Ru),i,r,n.audio.smt)||ve.Fk,s=ve.Tm(u,o);t.su(e),t.eu(Xe),1===Cu(n,i,r)?(t.su(16777216),t.hu(St.ZERO),t.hu(St.ZERO),t.su(Ru),Do(t,s)):(t.su(0),t.su(0),t.su(0),t.su(Ru),Co(t,s)),t.eu([0,1,0,0]),t.eu(Eu),t.eu([0,0,0,0,0,0,0,0,0,0]),t.eu(Tu),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(0),t.su(3)}(t,n,!!r,e),r||function(t,n){t.su(Lu(n,!1)),t.eu(Ke),n.video&&0!==a.keys(n.video).length&&uo(t,1),n.audio&&0!==a.keys(n.audio).length&&uo(t,2)}(t,n),oo(t,n.video?n.video:void 0,r&&r.video,1,e),oo(t,n.audio?n.audio:void 0,r&&r.audio,2,e)}var co=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],ho=[115,105,100,120],ao=[109,111,111,102],vo=[109,102,104,100],lo=16,_o=[116,114,97,102],wo=[116,102,104,100],po=24,yo=[116,102,100,116],go=[116,114,117,110],mo=[115,100,116,112];function bo(t){return Ue(t)?20+16*t.KH.length:20+4*t.KH.length}function ko(t){return Ue(t)?12+t.KH.length:0}function Io(t,n){var i=Nu(t,!0);return v.round(n*i)>v.pow(2,32)-1?1:0}function So(t,n){return 1===Io(t,n)?20:16}function Eo(t,n){return t&&t.KH?8+po+So(t,n)+bo(t)+ko(t):0}function To(t,n){var i=Eo(t.audio?t.audio:void 0,n),r=Eo(t.video?t.video:void 0,n);return 8+lo+i+r}function Ro(t){if(!t||!t.KH)return 0;for(var n=0,i=0,r=t.KH;i<r.length;i++){n+=r[i].Zy}return n}function Ao(t,n){return v.round(n*Ru)>v.pow(2,32)-1?1:0}function No(t,n,i,r){Ue(i)?function(t,n,i,r){var e=To(n,r)+8,u=Nu(i,!1);We(i.KH),t.su(bo(i)),t.eu(go),t.eu([1,0,15,1]),t.su(i.KH.length),t.su(e);for(var o=0,s=i.KH;o<s.length;o++){var f=s[o];t.su(v.round(f.JT.r_*u));var c=f.JT.jmt;t.su(f.Zy),t.eu(f.JT.Yat?[2,0,0,0]:[0,1,0,0]),t.su(c.Im(u).Jk().toInt())}}(t,n,i,r):function(t,n,i,r){var e=Ro(n.video?n.video:void 0),u=To(n,r)+8+e;t.su(bo(i)),t.eu(go),t.eu([0,0,2,1]),t.su(i.KH.length),t.su(u);for(var o=0,s=i.KH;o<s.length;o++){var f=s[o];t.su(f.Zy)}}(t,n,i,r)}function Oo(t,n,i,r,e){i&&(t.su(Eo(i,e)),t.eu(_o),function(t,n,i){var r=Nu(n,!0),e=Ue(n)?v.round(r/(n.umt.Mk()||0)):n.Tmt;t.su(po),t.eu(wo),t.su(40),t.su(i),t.su(e),t.eu(Ue(n)?[0,1,0,0]:[2,0,0,0])}(t,i,r),function(t,n,i){var r=Nu(n,!0),e=v.round(i*r);t.su(So(n,i)),t.eu(yo),1===Io(n,i)?(t.su(16777216),t.hu(St.fromNumber(e))):(t.su(0),t.su(e))}(t,i,e),No(t,n,i,e),function(t,n,i){if(Ue(i)){t.su(ko(i)),t.eu(mo),t.eu([0,0,0,0]);for(var r=0,e=i.KH;r<e.length;r++)e[r].JT.Yat?t.ku(32):t.ku(16)}}(t,0,i))}function Do(t,n){t.hu(n.Im(Ru).Jk())}function Co(t,n){t.su(n.Im(Ru).Jk().toNumber())}var Fo,Po={qu:function(t,n){n.v(function(t){var n=0;return t.audio&&(n+=function(t){var n,i=t.length,r=0;for(n=0;n<i;n+=1)r+=t[n].Zy;return r}(t.audio.KH)),n}(t));for(var i=0,r=t.audio&&t.audio.KH||[],e=r.length;i<e;)n.cu(r[i]),i+=1}},jo=function(){function t(t){this._o=void 0,this.Vl=void 0,this.zu=0,this.Vl=t}var n=t.prototype;return n.to=function(t,n,i){var r=this.zu,e=this._o;for(n=n||0,i=i||t.length;n<i;n+=1,r+=1)e[r]=t[n];this.zu=r},n.v=function(t){this._o=new w(t),this.zu=0},n.ku=function(t){this._o&&(this._o[this.zu]=t,this.zu+=1)},n.eu=function(t,n,i){this._o&&this.to(t,n,i)},n.cu=function(t){this.zu=t.Xht(this._o,this.zu)},n.Wm=function(t){return t(this._o,this.Vl)},n.lu=function(t){return this.eu([(n=t)>>>8&255,255&n]);var n},n.su=function(t){return this.eu(Yr(t))},n.hu=function(t){var n=t.toUnsigned();this.su(n.high),this.su(n.low)},t}(),Bo=t;function Mo(t,n){return void 0===Fo&&(Fo=function(){var t=new w(1);try{return Bo.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&Fo?Bo.postMessage(t,n):Bo.postMessage(t)}var xo,Lo,Uo,Wo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),qo=16383;function Go(t,n,i){for(var r,e,u,o=[],s=n;s<i;s+=3)o.push((r=t[s],e=t[s+1],u=t[s+2],Wo[r>>2]+Wo[(3&r)<<4|e>>4]+Wo[(15&e)<<2|u>>6]+Wo[63&u]));return o.join("")}function Vo(t){for(var n=t.length,i=n%3,r=[],e=n-i,u=0;u<e;u+=qo)r.push(Go(t,u,v.min(e,u+qo)));if(1===i){var o=t[n-1];r.push(Wo[o>>2]+Wo[(3&o)<<4]+"==")}else if(2===i){var s=t[n-2],f=t[n-1];r.push(Wo[s>>2]+Wo[(3&s)<<4|f>>4]+Wo[(15&f)<<2]+"=")}return r.join("")}function Ho(t){return{Nb:t.Nb,JT:{P4:t.JT.P4,b0:le(t.JT.zat)},KH:t.KH}}function Xo(t){return{b0:le(t.b0),lT:t.lT,w0:t.w0,g0:t.g0,ra:t.ra,qht:t.qht,y0:t.y0,A0:t.A0}}function zo(t){return{Zkt:t.Zkt,KH:[],nmt:t.nmt,imt:t.imt,duration:t.duration,emt:t.emt,smt:le(t.smt),jat:t.jat,umt:le(t.umt),omt:t.omt,hmt:le(t.hmt),amt:le(t.amt),cmt:le(t.cmt),fmt:le(t.fmt),vmt:le(t.vmt),dmt:le(t.dmt),lmt:le(t.lmt)}}function $o(t){switch(t.nmt){case zr.gmt:case zr.wmt:return function(t){return vr({},Ko(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t){var n=Yo(t),i=(r=n.JT,vr({},Jo(r),{ymt:r.ymt,Amt:r.Amt,_mt:r._mt}));var r;return n.jc(i)}(t)}),DAt:t.DAt,pmt:t.pmt})}(t);case zr.kmt:return function(t){return vr({},Ko(t),{nmt:t.nmt,KH:t.KH.map(function(t){return function(t){var n=Yo(t),i=(r=n.JT,vr({},Jo(r),{Sb:r.Sb,uN:r.uN,mmt:r.mmt,Mmt:r.Mmt,bmt:r.bmt}));var r;return n.jc(i)}(t)})})}(t)}}function Ko(t){return vr({},zo(t),{KH:[],nmt:t.nmt,Nmt:t.Nmt,Tmt:t.Tmt,Dmt:t.Dmt,Imt:t.Imt})}function Yo(t){var n=new te;return n.Yht(t.Emt,0,t.Smt),n.JT=t.Lmt,n}function Zo(t){var n;return vr({},{P4:(n=t).P4,zat:le(n.zat)},{Rat:le(t.Rat),Bat:le(t.Bat)})}function Jo(t){return vr({},Zo(t))}!function(t){t.kmt="ZNt",t.zA="qNt",t.JNt="KNt",t.$Nt="tTt",t.nTt="iTt"}(xo||(xo={})),function(t){t.rTt="eTt",t.sTt="uTt"}(Lo||(Lo={})),function(t){t.oTt="audio/mp4",t.hTt="audio/mpeg",t.aTt="video/mp4"}(Uo||(Uo={}));var Qo=t;function ts(t,n,i){n={},i||(i="PIW0031"),Qo.postMessage({qTt:"iDt",JTt:t,$Tt:n.message||i,no:n.name,io:n.stack,ro:JSON.stringify(n)})}function ns(t,n){return{_o:Vo(t),Vl:n}}Qo.addEventListener("message",function(t){var n,i,r,e,u=t.data,o=u.DTt,s=u.LTt,f=u.ETt,c=[],h=s===Lo.rTt?function(t,n,i){return t.push(n.buffer),{_o:n,Vl:i}}.bind(void 0,c):ns;if("ITt"===o){r=function(t){return{audio:t.audio?$o(t.audio):void 0,video:t.video?(i=t.video,r=zo(i),vr({},r,{nmt:i.nmt,KH:i.KH.map(function(t){return function(t){var n,i=Yo(t),r=vr({},Zo(n=i.JT),{r_:n.r_,Uat:le(n.Uat),Pat:n.Pat,Qat:n.Qat,jmt:n.jmt&&le(n.jmt),Cmt:n.Cmt&&le(n.Cmt),Yat:n.Yat,Vat:n.Vat,Fat:n.Fat,Gat:n.Gat});return i.jc(r)}(t)}),Omt:i.Omt,xmt:i.xmt,WN:i.WN,width:i.width,height:i.height,$vt:i.$vt,zmt:i.zmt,ndt:i.ndt,kAt:i.kAt,mAt:i.mAt,eT:i.eT,sT:i.sT})):void 0,Xkt:t.Xkt?(n=t.Xkt,{Zkt:n.Zkt,a_t:n.a_t,wA:n.wA,qkt:n.qkt,Jkt:n.Jkt,Kkt:n.Kkt,$kt:n.$kt.map(Ho),kA:[]}):void 0,Fat:t.Fat?t.Fat.map(Xo):t.Fat,tmt:le(t.tmt)};var n,i,r}(u.CTt),u.CTt=void 0;try{if((e=u.STt)===xo.nTt||e===xo.$Nt||e===xo.JNt)n=function(t,n){var i=t.jTt,r=t.OTt,e=le(t.zTt),u=le(t.RTt),o=t.xTt&&le(t.xTt);switch(t.STt){case xo.JNt:var s=new jo(i);return xe(n,r,e,u,s),s;case xo.$Nt:var f=new jo(i);return Me(n,o,f),f;case xo.nTt:var c={hDt:new jo(i),aDt:new jo(i),Wm:function(t){return{hDt:c.hDt.Wm(t),aDt:c.aDt.Wm(t)}}};return Me(n,o,c.hDt),xe(n,r,e,u,c.aDt),c}}(u,r);else{if(!function(t){var n=t.STt;return n===xo.zA||n===xo.kmt}(u))return ts(f,{},"PIW0072");n=function(t,n){var i=t.jTt;switch(t.STt){case xo.kmt:var r=new jo(i);return Po.qu(n,r),r;case xo.zA:var e=new jo(i);return Be(n,e),e}}(u,r)}}catch(t){return ts(f,t,"PIW0082")}try{i=n.Wm(h)}catch(t){return ts(f,t,"PIW0077")}try{return Mo({qTt:"tDt",JTt:f,KTt:i},c)}catch(t){return ts(f,t,"PIW0078")}}return ts(f,{},"PIW0090")},!1),Qo.postMessage({Skt:"3.2.3"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);