@theoplayer/extended 11.6.0 → 11.6.1
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.chromeless.d.ts +1 -1
- package/THEOplayer.chromeless.esm.js +2 -2
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.common.esm.js +3 -3
- package/THEOplayer.d.ts +1 -1
- package/THEOplayer.esm.js +3 -3
- package/THEOplayer.js +3 -3
- package/THEOplayer.transmux.asmjs.js +3 -3
- package/THEOplayer.transmux.js +3 -3
- package/package.json +1 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.sw.js +2 -2
package/THEOplayer.transmux.js
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
THEOplayer is based on patented technology developed by
|
|
25
25
|
THEO Technologies (https://www.theoplayer.com).
|
|
26
26
|
|
|
27
|
-
Version: 11.6.
|
|
28
|
-
Created: 2026-07-
|
|
27
|
+
Version: 11.6.1
|
|
28
|
+
Created: 2026-07-08T08:41:40.661Z
|
|
29
29
|
*/
|
|
30
|
-
!function(t){"use strict";var n,r,i,e,u,o,f,s,c,a=t.window,h=t.document,v=t.location,l=t.navigator,_=t.setTimeout,d=t.clearTimeout,y=t.setInterval,w=t.clearInterval,I=t.Error,g=t.TypeError,E=(t.SyntaxError,t.Object),S=t.Math,p=t.parseInt,R=t.parseFloat,O=t.isNaN,k=t.Uint8Array,T=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest);function b(t,r){return null!=r&&void 0!==n&&r[n.hasInstance]?!!r[n.hasInstance](t):t instanceof r}function m(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,r=null!=(o=Symbol.for)?o:Symbol,i=Symbol.iterator,e=null!=(f=Symbol.dispose)?f:r("Symbol.dispose"),u=null!=(s=Symbol.asyncDispose)?s:r("Symbol.asyncDispose")):(c=0,n=function(t){return"hd"+t+"_"+ ++c},i=(r=function(t){return"hd"+t})("Symbol.iterator"),e=r("Symbol.dispose"),u=r("Symbol.asyncDispose"),n.for=r,n.iterator=i,n.dispose=e,n.asyncDispose=u);var A=_;function N(t){return Boolean(t&&void 0!==t.length)}function C(){}function D(t){if(!b(this,D))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Va=0,this.ttn=!1,this.OEt=void 0,this.ntn=[],U(t,this)}function P(t,n){for(;3===t.Va;)t=t.OEt;0!==t.Va?(t.ttn=!0,D.itn(function(){var r=1===t.Va?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.OEt)}catch(t){return void L(n.promise,t)}F(n.promise,i)}else(1===t.Va?F:L)(n.promise,t.OEt)})):t.ntn.push(n)}function F(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":m(n))||"function"==typeof n)){var r=n.then;if(b(n,D))return t.Va=3,t.OEt=n,void M(t);if("function"==typeof r)return void U(function(t,n){return function(){t.apply(n,arguments)}}(r,n),t)}t.Va=1,t.OEt=n,M(t)}catch(n){L(t,n)}}function L(t,n){t.Va=2,t.OEt=n,M(t)}function M(t){2===t.Va&&0===t.ntn.length&&D.itn(function(){t.ttn||D.rtn(t.OEt)});for(var n=0,r=t.ntn.length;n<r;n++)P(t,t.ntn[n]);t.ntn=null}function B(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function U(t,n){var r=!1;try{t(function(t){r||(r=!0,F(n,t))},function(t){r||(r=!0,L(n,t))})}catch(t){if(r)return;r=!0,L(n,t)}}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.then=function(t,n){var r=new this.constructor(C);return P(this,new B(t,n,r)),r},D.prototype.finally=function(t){var n=this.constructor;return this.then(function(r){return n.resolve(t()).then(function(){return r})},function(r){return n.resolve(t()).then(function(){return n.reject(r)})})},D.all=function(t){return new D(function(n,r){if(!N(t))return r(new g("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,o){try{if(o&&("object"===(void 0===o?"undefined":m(o))||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},r)}i[t]=o,0===--e&&n(i)}catch(t){r(t)}}for(var o=0;o<i.length;o++)u(o,i[o])})},D.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new g((void 0===t?"undefined":m(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,r){if(r&&("object"===(void 0===r?"undefined":m(r))||"function"==typeof r)){var o=r.then;if("function"==typeof o)return void o.call(r,function(n){u(t,n)},function(r){i[t]={status:"rejected",reason:r},0===--e&&n(i)})}i[t]={status:"fulfilled",value:r},0===--e&&n(i)}for(var o=0;o<i.length;o++)u(o,i[o])})},D.resolve=function(t){return t&&"object"===(void 0===t?"undefined":m(t))&&t.constructor===D?t:new D(function(n){n(t)})},D.reject=function(t){return new D(function(n,r){r(t)})},D.race=function(t){return new D(function(n,r){if(!N(t))return r(new g("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)D.resolve(t[i]).then(n,r)})},D.itn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){A(t,0)},D.rtn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var V=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),H=l?l.userAgent:"",W=H.match(/Firefox\/([0-9]+)/i),x=null!=W,G=W?Number(W[1]):0,K=H.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),j=null!=K,Y=K?Number(K[3]):0,q=function(){function t(t){this.sA=0,this.Tf=0,this.Yp=[],this.etn=t}return t.prototype.stn=function(t){var n=this.length();this.utn(n+1);var r=this.Tf+n&this.etn-1;this.Yp[r]=t,this.sA=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.etn<n)this.stn(t);else{var r=this.Tf+n-1,i=this.etn-1;this.Yp[r&i]=t,this.sA=n}},t.prototype.shift=function(){var t=this.Tf,n=this.Yp[t];return this.Yp[t]=void 0,this.Tf=t+1&this.etn-1,this.sA--,n},t.prototype.length=function(){return this.sA},t.prototype.utn=function(t){this.etn<t&&this.otn(this.etn<<1)},t.prototype.otn=function(t){var n=this.etn;this.etn=t;var r=this.Tf+this.sA&n-1;!function(t,n,r,i){for(var e=0;e<i;++e)t[e+r]=t[e+n],t[e+n]=void 0}(this.Yp,0,n,r)},t}();var z="unhandledrejection",X=self.PromiseRejectionEvent,$=self.CustomEvent;function Z(t){return new X(z,{reason:t,promise:V.reject(t).catch(function(){}),cancelable:!0})}function Q(t){var n=new $(z,{detail:{reason:t},cancelable:!0});return E.defineProperty(n,"reason",{value:t}),n}function J(t){var n=h.createEvent("CustomEvent");return n.initCustomEvent(z,!1,!0,{reason:t}),n}var tt,nt,rt,it,et,ut,ot,ft,st=function(t){return st=function(){try{var t=V.resolve(),n="error",r=new X(z,{reason:n,promise:t});return z===r.type&&n===r.reason}catch(t){}return!1}()?Z:function(){try{var t="error",n=new $(z,{detail:{reason:t}});return z===n.type&&t===n.detail.reason}catch(t){}return!1}()?Q:J,st(t)};function ct(t,n){return ct=E.setPrototypeOf||function(t,n){return t.__proto__=n,t},ct(t,n)}function at(t,n){if("function"!=typeof n&&null!==n)throw new g("Super expression must either be null or a function");t.prototype=E.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ct(t,n)}function ht(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),E.defineProperty(t,i.key,i)}}function vt(t,n,r){return n&&ht(t.prototype,n),r&&ht(t,r),t}function lt(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,i=new Array(n);r<n;r++)i[r]=t[r];return i}function _t(t,r){var e=void 0!==n&&t[i]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return lt(t,n);var r=E.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lt(t,n):void 0}}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new g("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}V&&!(x&&G<60||j&&Y<15)?nt=V:(nt=D,ot=null!==(tt=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=V;if(n&&"function"==typeof n.resolve){var r=n.resolve();return function(t){return r.then(t)}}}())&&void 0!==tt?tt:D.itn,rt=ot,it=new q(16),et=!1,(ft={G4:function(t){it.push(t),et||(et=!0,rt(ut))},OQ:ut=function(){for(;it.length()>0;)it.shift()();et=!1}}).OQ,D.itn=ft.G4,D.rtn=function(t){try{var n=st(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}_(function(){throw new I("Unhandled promise rejection: ".concat(t))},0)});var dt=function(t){return t.u_="web",t.c_="android",t.d_="android-tv",t.l_="ios",t.f_="tvos",t.v_="chromecast",t.__="theoliveweb",t}({});var yt=l?l.userAgent:"",wt=yt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),It=yt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),gt=yt.match(/Android ([0-9\.]+)/i),Et=yt.match(/Windows NT ([0-9\.]+)/i),St=yt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),pt=yt.match(/Firefox\/([0-9\.]+)/i),Rt=yt.match(/OPR\/(\d+\.\d+)/i),Ot=yt.match(/Tizen ([0-9\.]+)/i),kt=yt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),Tt=yt.match(/HbbTV\/([0-9.]+)/i),bt=yt.match(/(AFT.*) Build/i),mt=function(){function t(){this.g_=Boolean("ontouchstart"in self||self.DocumentTouch&&b(h,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.p_=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(yt)||/(macintosh|mac(?=_powerpc)\s)/i.test(yt),this.y_=/Windows NT/i.test(yt),this.A_=Et?R(Et[1]):0,this.T_=/Android/i.test(yt),this.E_=gt?R(gt[1]):0,this.P_=/windows phone (8|8\.1)/i.test(yt),this.R_=/iPhone/i.test(yt),this.D_=/iPad/i.test(yt),this.N_=this.p_&&this.g_&&!this.D_,this.L_=/iPod/i.test(yt),this.G_=/Mobile Safari/i.test(yt),this.q_=/EOS\d*STB/i.test(yt),this.W_=/APP\d*STB/i.test(yt),this.F_=(this.R_||this.D_||this.N_||this.L_)&&!this.P_,this.V_=kt?R(kt[2]):0,this.X_=this.P_||this.F_||this.T_||this.G_,this.Q_=/CriOS/i.test(yt),this.Y_=Boolean(self.chrome&&/google/i.test(l.vendor))||this.Q_,this.og=this.Y_&&/Edg\//i.test(l.userAgent),this.ag=It?p(It[1],10):0,this.Vm=Boolean(/CriOS/i.test(yt)),this.Um=Boolean(self.chrome||/Chrome/i.test(yt)||this.Vm),this.eg=wt?p(wt[1],10):0,this.fg=/SMART-TV.*Tizen/i.test(yt),this._g=Ot?R(Ot[1]):0,this.Z_=this._g>0?function(t){return t>=8?108:t>=7?94:t>=6.5?85:t>=6?76:t>=5.5?69:t>=5?63:t>=4?56:t>=3?47:0}(this._g):void 0,this.pg=/webos|web0s/i.test(yt),this.yg=/HbbTV/i.test(yt),this.Sg=!!Tt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(Tt[1]),this.Eg=/AFT.* Build/i.test(yt),this.Pg=bt?bt[1]:void 0,this.Cg=/VIZIO/i.test(yt),this.Vg=/Edge\/\d+/i.test(yt),this.qg=/Trident/i.test(yt),this.zg=this.qg&&!self.ActiveXObject&&"ActiveXObject"in self,this.Xg=/Vivaldi/i.test(yt),this.Qg=/Firefox/i.test(yt)&&!/Seamonkey/i.test(yt),this.Yg=pt?R(pt[1]):0,this.Zg=/Safari/i.test(yt)&&!/Chrome/i.test(yt)&&!this.P_&&!this.fg,this.im=St?R(St[2]):0,this.hm=Boolean(Rt),this.dm=Rt?R(Rt[1]):0,this.Bg=/Sky_STB/i.test(yt),this.Mg=/Sky_TV/i.test(yt),this.Og=/Sky_OTT/i.test(yt),this.fm=/CrKey/.test(yt),this._m=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(yt)||this.Bg,this.wm=/OculusBrowser|Meta Quest/i.test(yt),this.Am=/PlayStation 4/i.test(yt),this.Tm=/PlayStation 5/i.test(yt),this.xm="web"===dt.d_,this.Im="web"===dt.c_,this.Cm=this.Im||this.xm,this.Bm="web"===dt.l_,this.Mm="web"===dt.f_,this.Om="web"===dt.v_}return vt(t,[{key:"tn",get:function(){return this.g_}},{key:"m_",get:function(){return this.p_}},{key:"w_",get:function(){return this.y_}},{key:"b_",get:function(){return this.A_}},{key:"S_",get:function(){return this.T_}},{key:"k_",get:function(){return this.E_}},{key:"x_",get:function(){return this.P_}},{key:"I_",get:function(){return this.R_}},{key:"C_",get:function(){return this.D_}},{key:"B_",get:function(){return this.N_}},{key:"M_",get:function(){return this.L_}},{key:"O_",get:function(){return this.F_}},{key:"U_",get:function(){return this.V_}},{key:"H_",get:function(){return this.q_||this.W_}},{key:"z_",get:function(){return this.G_}},{key:"te",get:function(){return this.X_}},{key:"j_",get:function(){return this.Q_}},{key:"K_",get:function(){return this.Y_}},{key:"J_",get:function(){var t;return null!=(t=this.Z_)?t:this.eg}},{key:"rg",get:function(){return this.og}},{key:"hg",get:function(){var t;return(null==(t=a.chrome)?void 0:t.webview)&&this.ag>0}},{key:"cg",get:function(){return this.ag}},{key:"dg",get:function(){return this.fg}},{key:"vg",get:function(){return this._g}},{key:"gg",get:function(){return this.pg}},{key:"wg",get:function(){return this.yg}},{key:"Ag",get:function(){return this.Sg}},{key:"Tg",get:function(){return this.Eg}},{key:"xg",get:function(){return"AFTMM"===this.Pg}},{key:"Ig",get:function(){return"AFTM"===this.Pg}},{key:"Rg",get:function(){return this.Cg}},{key:"Dg",get:function(){return this.Bg}},{key:"Ng",get:function(){return this.Mg}},{key:"Lg",get:function(){return this.Og}},{key:"Fg",get:function(){return this.Dg||this.Lg||this.Ng}},{key:"Ug",get:function(){return this.Vg}},{key:"Hg",get:function(){return this.qg}},{key:"Wg",get:function(){return this.zg}},{key:"Gg",get:function(){return this.Xg}},{key:"jg",get:function(){return this.Qg}},{key:"Kg",get:function(){return this.Yg}},{key:"Jg",get:function(){return this.Zg}},{key:"$g",get:function(){return 0===this.im&&At.O_?this.V_:this.im}},{key:"nm",get:function(){return this.hm}},{key:"um",get:function(){return this.dm}},{key:"lm",get:function(){return this.fm}},{key:"vm",get:function(){return this._m}},{key:"gm",get:function(){return!(!this.gg&&!this.dg)&&this.J_<=56}},{key:"pm",get:function(){return this.wm}},{key:"ym",get:function(){return this.Am}},{key:"Sm",get:function(){return this.Tm}},{key:"Em",get:function(){return this.xm}},{key:"Pm",get:function(){return this.Im}},{key:"Rm",get:function(){return this.Cm}},{key:"Dm",get:function(){return this.Bm}},{key:"Nm",get:function(){return this.Mm}},{key:"Lm",get:function(){return this.Om}},{key:"Fm",get:function(){return this.Um}},{key:"IS_IOS_CHROME",get:function(){return this.Vm}}]),t}();mt.Hm=new mt;var At=mt.Hm,Nt={}.toString;function Ct(t){return null!=t}Array.isArray;function Dt(t){return"object"===(void 0===t?"undefined":m(t))&&null!==t}function Pt(t){return function(t){return"function"==typeof t}(t)||Dt(t)}var Ft=function(){};function Lt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}function Mt(t,n,r,i,e,u,o){try{var f=t[u](o),s=f.value}catch(t){return void r(t)}f.done?n(s):nt.resolve(s).then(i,e)}function Bt(t){return function(){var n=this,r=arguments;return new nt(function(i,e){var u=t.apply(n,r);function o(t){Mt(u,i,e,o,f,"next",t)}function f(t){Mt(u,i,e,o,f,"throw",t)}o(void 0)})}}function Ut(t,r){var e,u,o,f={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=E.create(("function"==typeof Iterator?Iterator:E).prototype);return s.next=c(0),s.throw=c(1),s.return=c(2),"function"==typeof n&&(s[i]=function(){return this}),s;function c(n){return function(i){return function(n){if(e)throw new g("Generator is already executing.");for(;s&&(s=0,n[0]&&(f=0)),f;)try{if(e=1,u&&(o=2&n[0]?u.return:n[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,n[1])).done)return o;switch(u=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return f.label++,{value:n[1],done:!1};case 5:f.label++,u=n[1],n=[0];continue;case 7:n=f.ops.pop(),f.trys.pop();continue;default:if(!(o=f.trys,(o=o.length>0&&o[o.length-1])||6!==n[0]&&2!==n[0])){f=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){f.label=n[1];break}if(6===n[0]&&f.label<o[1]){f.label=o[1],o=n;break}if(o&&f.label<o[2]){f.label=o[2],f.ops.push(n);break}o[2]&&f.ops.pop(),f.trys.pop();continue}n=r.call(t,f)}catch(t){n=[6,t],u=0}finally{e=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,i])}}}S.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var Vt="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var r=0;r<t.length;r+=1){if(n(t[r],r,t))return r}return-1},Ht="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var r=t.length-1;r>=0;r-=1){if(n(t[r],r,t))return r}return-1};Array.prototype.at;function Wt(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,r),!0)}function xt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Gt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];I.apply(this,n)};(Gt.prototype=E.create(I.prototype)).constructor=Gt;var Kt=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,I.captureStackTrace&&I.captureStackTrace(i,i.constructor),i}return at(n,t),vt(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Gt),jt=function(t){function n(n,r){return t.call(this,n||"Aborted",r)||this}return at(n,t),vt(n,[{key:"name",get:function(){return"AbortError"}}]),n}(Kt),Yt=function(){function t(){this.Qm=!1,this.tp=!1,this.Km=void 0,this.ep=[],this.sp=[]}var n=t.prototype;return n.$m=function(t){if(!this.Qm&&!this.tp){this.Qm=!0,this.Km=null!=t?t:new jt;for(var n,r=_t(this.ep.slice());!(n=r()).done;){(0,n.value)()}this.Ku()}},n.Ku=function(){if(!this.tp){this.tp=!0;for(var t,n=_t(this.sp.slice());!(t=n()).done;){(0,t.value)()}xt(this.ep),xt(this.sp)}},n.jm=function(){if(this.Qm)throw this.Km},n.Jm=function(t){this.tp||this.ep.push(t)},n.Ym=function(t){this.tp||Wt(this.ep,t)},n.np=function(t){this.tp||this.sp.push(t)},n.rp=function(t){this.tp||Wt(this.sp,t)},t}(),qt=function(){function t(){this.op=new Yt}var n=t.prototype;return n.dd=function(t){this.op.$m(t)},n.Ku=function(){this.op.Ku()},n.hp=function(t){var n=this.op;if(!n.Qm)if(t.Qm)n.$m(t.Km);else if(!n.tp&&!t.tp){var r=function(){i(),n.$m(t.Km)},i=function(){t.Ym(r),t.rp(i),n.Ym(r),n.rp(i)};t.Jm(r),t.np(i),n.Jm(r),n.np(i)}},n.ap=function(){var n=new t,r=new t,i=n.Zm,e=r.Zm,u=this.op,o=function(){i.Qm&&e.tp?u.$m(i.Km):e.Qm&&i.tp?u.$m(e.Km):i.tp&&e.tp&&u.Ku()};i.Jm(o),e.Jm(o),i.np(o),e.np(o),n.hp(u),r.hp(u);return u.np(function(){i.Ym(o),e.Ym(o),i.rp(o),e.rp(o)}),[n,r]},n[e]=function(){this.dd()},t.cp=function(n){for(var r,i=new t,e=_t(n);!(r=e()).done;){var u=r.value;void 0!==u&&i.hp(u)}return i},vt(t,[{key:"Zm",get:function(){return this.op}}]),t}();nt.resolve();function zt(){return void 0!==h?h.createElement("video"):void 0}var Xt=Lt(zt),$t=(Lt(function(){return"undefined"!=typeof HTMLVideoElement&&b(Xt(),HTMLVideoElement)}),null);try{$t=new WebAssembly.Instance(new WebAssembly.Module(new k([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(rt){}function Zt(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function Qt(t){return!0===(t&&t.lp)}function Jt(t){var n=S.clz32(t&-t);return t?31-n:n}Zt.prototype.lp,E.defineProperty(Zt.prototype,"lp",{value:!0}),Zt.isLong=Qt;var tn={},nn={};function rn(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=nn[t])?i:(r=un(t,0,!0),e&&(nn[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=tn[t])?i:(r=un(t,t<0?-1:0,!1),e&&(tn[t]=r),r)}function en(t,n){if(O(t))return n?_n:ln;if(n){if(t<0)return _n;if(t>=an)return gn}else{if(t<=-hn)return En;if(t+1>=hn)return In}return t<0?en(-t,n).neg():un(t%cn|0,t/cn|0,n)}function un(t,n,r){return new Zt(t,n,r)}Zt.fromInt=rn,Zt.fromNumber=en,Zt.fromBits=un;var on=S.pow;function fn(t,n,r){if(0===t.length)throw I("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?_n:ln;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw I("interior hyphen");if(0===i)return fn(t.substring(1),n,r).neg();for(var e=en(on(r,8)),u=ln,o=0;o<t.length;o+=8){var f=S.min(8,t.length-o),s=p(t.substring(o,o+f),r);if(f<8){var c=en(on(r,f));u=u.mul(c).add(en(s))}else u=(u=u.mul(e)).add(en(s))}return u.unsigned=n,u}function sn(t,n){return"number"==typeof t?en(t,n):"string"==typeof t?fn(t,n):un(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Zt.fromString=fn,Zt.fromValue=sn;var cn=4294967296,an=cn*cn,hn=an/2,vn=rn(1<<24),ln=rn(0);Zt.ZERO=ln;var _n=rn(0,!0);Zt.UZERO=_n;var dn=rn(1);Zt.ONE=dn;var yn=rn(1,!0);Zt.UONE=yn;var wn=rn(-1);Zt.NEG_ONE=wn;var In=un(-1,2147483647,!1);Zt.MAX_VALUE=In;var gn=un(-1,-1,!0);Zt.MAX_UNSIGNED_VALUE=gn;var En=un(0,-2147483648,!1);Zt.MIN_VALUE=En;var Sn=Zt.prototype;function pn(){return Date.now()||(new Date).getTime()}Sn.toInt=function(){return this.unsigned?this.low>>>0:this.low},Sn.toNumber=function(){return this.unsigned?(this.high>>>0)*cn+(this.low>>>0):this.high*cn+(this.low>>>0)},Sn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(En)){var n=en(t),r=this.div(n),i=r.mul(n).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=en(on(t,6),this.unsigned),u=this,o="";;){var f=u.div(e),s=(u.sub(f.mul(e)).toInt()>>>0).toString(t);if((u=f).isZero())return s+o;for(;s.length<6;)s="0"+s;o=""+s+o}},Sn.getHighBits=function(){return this.high},Sn.getHighBitsUnsigned=function(){return this.high>>>0},Sn.getLowBits=function(){return this.low},Sn.getLowBitsUnsigned=function(){return this.low>>>0},Sn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(En)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&!(t&1<<n);n--);return 0!=this.high?n+33:n+1},Sn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},Sn.isZero=function(){return 0===this.high&&0===this.low},Sn.eqz=Sn.isZero,Sn.isNegative=function(){return!this.unsigned&&this.high<0},Sn.isPositive=function(){return this.unsigned||this.high>=0},Sn.isOdd=function(){return!(1&~this.low)},Sn.isEven=function(){return!(1&this.low)},Sn.equals=function(t){return Qt(t)||(t=sn(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},Sn.eq=Sn.equals,Sn.notEquals=function(t){return!this.eq(t)},Sn.neq=Sn.notEquals,Sn.ne=Sn.notEquals,Sn.lessThan=function(t){return this.comp(t)<0},Sn.lt=Sn.lessThan,Sn.lessThanOrEqual=function(t){return this.comp(t)<=0},Sn.lte=Sn.lessThanOrEqual,Sn.le=Sn.lessThanOrEqual,Sn.greaterThan=function(t){return this.comp(t)>0},Sn.gt=Sn.greaterThan,Sn.greaterThanOrEqual=function(t){return this.comp(t)>=0},Sn.gte=Sn.greaterThanOrEqual,Sn.ge=Sn.greaterThanOrEqual,Sn.compare=function(t){if(Qt(t)||(t=sn(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},Sn.comp=Sn.compare,Sn.negate=function(){return!this.unsigned&&this.eq(En)?En:this.not().add(dn)},Sn.neg=Sn.negate,Sn.add=function(t){Qt(t)||(t=sn(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,c=0,a=0,h=0;return a+=(h+=e+(65535&t.low))>>>16,c+=(a+=i+f)>>>16,s+=(c+=r+o)>>>16,s+=n+u,un((a&=65535)<<16|(h&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},Sn.subtract=function(t){return Qt(t)||(t=sn(t)),this.add(t.neg())},Sn.sub=Sn.subtract,Sn.multiply=function(t){if(this.isZero())return this;if(Qt(t)||(t=sn(t)),$t)return un($t.mul(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned);if(t.isZero())return this.unsigned?_n:ln;if(this.eq(En))return t.isOdd()?En:ln;if(t.eq(En))return this.isOdd()?En:ln;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(vn)&&t.lt(vn))return en(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,c=0,a=0,h=0,v=0;return h+=(v+=e*s)>>>16,a+=(h+=i*s)>>>16,h&=65535,a+=(h+=e*f)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=i*f)>>>16,a&=65535,c+=(a+=e*o)>>>16,c+=n*s+r*f+i*o+e*u,un((h&=65535)<<16|(v&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},Sn.mul=Sn.multiply,Sn.divide=function(t){if(Qt(t)||(t=sn(t)),t.isZero())throw I("division by zero");var n,r,i;if($t)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?un((this.unsigned?$t.div_u:$t.div_s)(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?_n:ln;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return _n;if(t.gt(this.shru(1)))return yn;i=_n}else{if(this.eq(En))return t.eq(dn)||t.eq(wn)?En:t.eq(En)?dn:(n=this.shr(1).div(t).shl(1)).eq(ln)?t.isNegative()?dn:wn:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(En))return this.unsigned?_n:ln;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=ln}for(r=this;r.gte(t);){n=S.max(1,S.floor(r.toNumber()/t.toNumber()));for(var e=S.ceil(S.log(n)/S.LN2),u=e<=48?1:on(2,e-48),o=en(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=en(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=dn),i=i.add(o),r=r.sub(f)}return i},Sn.div=Sn.divide,Sn.modulo=function(t){return Qt(t)||(t=sn(t)),$t?un((this.unsigned?$t.rem_u:$t.rem_s)(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},Sn.mod=Sn.modulo,Sn.rem=Sn.modulo,Sn.not=function(){return un(~this.low,~this.high,this.unsigned)},Sn.countLeadingZeros=function(){return this.high?S.clz32(this.high):S.clz32(this.low)+32},Sn.clz=Sn.countLeadingZeros,Sn.countTrailingZeros=function(){return this.low?Jt(this.low):Jt(this.high)+32},Sn.ctz=Sn.countTrailingZeros,Sn.and=function(t){return Qt(t)||(t=sn(t)),un(this.low&t.low,this.high&t.high,this.unsigned)},Sn.or=function(t){return Qt(t)||(t=sn(t)),un(this.low|t.low,this.high|t.high,this.unsigned)},Sn.xor=function(t){return Qt(t)||(t=sn(t)),un(this.low^t.low,this.high^t.high,this.unsigned)},Sn.shiftLeft=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):un(0,this.low<<t-32,this.unsigned)},Sn.shl=Sn.shiftLeft,Sn.shiftRight=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):un(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},Sn.shr=Sn.shiftRight,Sn.shiftRightUnsigned=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):un(32===t?this.high:this.high>>>t-32,0,this.unsigned)},Sn.shru=Sn.shiftRightUnsigned,Sn.shr_u=Sn.shiftRightUnsigned,Sn.rotateLeft=function(t){var n;return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?un(this.high,this.low,this.unsigned):t<32?(n=32-t,un(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),un(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},Sn.rotl=Sn.rotateLeft,Sn.rotateRight=function(t){var n;return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?un(this.high,this.low,this.unsigned):t<32?(n=32-t,un(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),un(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},Sn.rotr=Sn.rotateRight,Sn.toSigned=function(){return this.unsigned?un(this.low,this.high,!1):this},Sn.toUnsigned=function(){return this.unsigned?this:un(this.low,this.high,!0)},Sn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},Sn.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]},Sn.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]},Zt.fromBytes=function(t,n,r){return r?Zt.fromBytesLE(t,n):Zt.fromBytesBE(t,n)},Zt.fromBytesLE=function(t,n){return new Zt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Zt.fromBytesBE=function(t,n){return new Zt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)},"function"==typeof BigInt&&(Zt.fromBigInt=function(t,n){return un(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},Zt.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":m(t))?Zt.fromBigInt(t,n):sn(t,n)},Sn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var Rn=1/6,On=(Zt.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&b(h,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),kn=Xt(),Tn=Boolean(kn&&kn.webkitShowPlaybackTargetPicker),bn=function(){function t(){this.vp=void 0,this.Hp=!1,this.tn=On,this.te=!1,this.dp=!0}var n=t.prototype;return n._p=function(){return 0},n.Mp=function(t,n){return!0},n.Lp=function(t){return t>=2*Rn},vt(t,[{key:"fp",get:function(){return void 0===this.vp&&(this.vp=this._p()),this.vp}},{key:"gp",get:function(){return At.S_?"android":At.m_?"macos":At.O_?"ios":At.w_?"windows":"other"}},{key:"mp",get:function(){return At.vm?"tv":At.te?"mobile":"desktop"}},{key:"pp",get:function(){return!At.vm}},{key:"wp",get:function(){if(a.screen)return{width:a.screen.width*this.yp,height:a.screen.height*this.yp}}},{key:"yp",get:function(){return a.devicePixelRatio||1}},{key:"bp",get:function(){return Tn}},{key:"Ap",get:function(){return!1}},{key:"Sp",get:function(){return!0}},{key:"Tp",get:function(){return!!(At.Jg||At.O_||At.hg)||!!At.Rg}},{key:"kp",get:function(){return At.Rg}},{key:"Ep",get:function(){return!At.O_}},{key:"xp",get:function(){return!0}},{key:"Pp",get:function(){return!0}},{key:"Ip",get:function(){return!1}},{key:"Rp",get:function(){}},{key:"Cp",get:function(){return!0}},{key:"Dp",get:function(){return!1}},{key:"Bp",get:function(){return At.Rg}},{key:"Np",get:function(){return!1}},{key:"Op",get:function(){return!1}},{key:"Fp",get:function(){return!1}},{key:"Up",get:function(){return!0}},{key:"Vp",get:function(){return!At.J_||At.J_>=68}}]),t}(),mn=function(t){function n(){return t.call(this)||this}return at(n,t),n}(bn),An=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype.Mp=function(t,n){if(t&&t.qp&&n&&n.qp){var r=Nn(t.qp,"mp4a.40.2")&&Nn(n.qp,"mp4a.40.5"),i=Nn(t.qp,"mp4a.40.5")&&Nn(n.qp,"mp4a.40.2"),e=Nn(t.qp,"mp4a.40.2")&&Nn(n.qp,"mp4a.40.34"),u=Nn(t.qp,"mp4a.40.34")&&Nn(n.qp,"mp4a.40.2"),o=Nn(t.qp,"mp4a.40.5")&&Nn(n.qp,"mp4a.40.34"),f=Nn(t.qp,"mp4a.40.34")&&Nn(n.qp,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},vt(n,[{key:"Rp",get:function(){if(At.m_)return 4096}}]),n}(mn);function Nn(t,n){return t.indexOf(n)>-1}var Cn,Dn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype.Lp=function(t){return t>=2},n}(mn),Pn=function(t){function n(){var n;return(n=t.call(this)||this).Hp=At.$g>=11,n.dp=At.Jg&&!(At.O_&&At.$g<10),n}return at(n,t),vt(n,[{key:"Np",get:function(){return At.$g<17}},{key:"Op",get:function(){return!0}}]),n}(mn),Fn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"Cp",get:function(){return!(At.J_>=133)}}]),n}(mn);var Ln=function(){var t=zt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(At.B_)return!1;var t=zt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Mn=function(t){function n(n){var r;return(r=t.call(this)||this).Wp=void 0,r.Wp=n,r.Hp=r.Wp.Hp,r.tn=r.Wp.tn,r.dp=Ln&&r.Wp.dp,r}at(n,t);var r=n.prototype;return r._p=function(){return this.Wp.fp},r.Mp=function(t,n){return this.Wp.Mp(t,n)},r.Lp=function(t){return this.Wp.Lp(t)},vt(n,[{key:"Rp",get:function(){return this.Wp.Rp}},{key:"Cp",get:function(){return this.Wp.Cp}},{key:"Np",get:function(){return this.Wp.Np}},{key:"Vp",get:function(){return this.Wp.Vp}}]),n}(bn),Bn=function(t){function n(n){var r;return(r=t.call(this,n)||this).Hp=!0,r.te=!0,r}return at(n,t),vt(n,[{key:"Ip",get:function(){return At.O_}}]),n}(Mn);var Un=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype._p=function(){return function(t){return t&&Pt(a.ManagedMediaSource)?a.ManagedMediaSource:Pt(a.MediaSource)?a.MediaSource:void 0}(!0)?t.prototype._p.call(this):1},vt(n,[{key:"Ip",get:function(){return!0}}]),n}(Bn),Vn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).jp=void 0,n}return at(n,t),n.prototype.Mp=function(n,r){return t.prototype.Mp.call(this,n,r)},vt(n,[{key:"Ap",get:function(){return At.vg<3}},{key:"Sp",get:function(){return At.vg>=3}},{key:"wp",get:function(){var t=this;return a.tizen&&!this.jp&&a.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t.jp={width:r,height:i})}),this.jp}},{key:"Dp",get:function(){return At.vg<3}}]),n}(Mn),Hn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).jp=void 0,n}return at(n,t),vt(n,[{key:"wp",get:function(){var t=this;return a.webOS&&!this.jp&&a.webOS.deviceInfo(function(n){t.jp={width:n.screenWidth,height:n.screenHeight}}),this.jp}},{key:"xp",get:function(){return!1}}]),n}(Mn),Wn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"Ip",get:function(){return!0}},{key:"Op",get:function(){return this.Wp.Op}}]),n}(Mn),xn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"Fp",get:function(){return At.xg}}]),n}(Mn);!function(t){Cn=t}(function(){var t=function(){if(At.jg)return new An;if(At.Ug||At.Hg)return new Dn;if(At.Jg)return new Pn;if(At.Fm)return new Fn;return new mn}();return At.O_?new Un(t):At.Tg?new xn(t):At.te?new Bn(t):At.dg?new Vn(t):At.gg?new Hn(t):At.m_?new Wn(t):new Mn(t)}());var Gn=!(At.Hg&&!At.Wg),Kn=self.console;function jn(t){if(Dt(t))try{return JSON.stringify(t)}catch(t){}return t}function Yn(t){return t.map(jn).join(" ")}function qn(t){var n=Kn&&Kn[t];return n?n.bind&&Gn?n.bind(Kn):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];Kn[t](Yn(r))}:void 0}var zn=qn("log")||Ft,Xn=qn("debug")||zn.bind(void 0,"DEBUG:"),$n=qn("warn")||zn.bind(void 0,"WARNING:"),Zn=qn("error")||zn.bind(void 0,"ERROR:"),Qn=function(){var t=Kn&&Kn.assert;return t?t.bind&&Gn?t.bind(Kn):function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Kn.assert(t,Yn(r))}:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t||Zn.apply(void 0,[].concat(["Assertion failed:"],r))}}();function Jn(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),E.defineProperty(t,i.key,i)}}function tr(t,n){var r=function(t,n){var r=t.length;if(r<=1)return t;for(var i=new Array(r),e=1;e<r;e*=2){nr(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&nr(r,null,t.length,t),t}function nr(t,n,r,i){var e,u,o,f,s,c=t.length,a=0,h=2*r;for(e=0;e<c;e+=h)for(o=(u=e+r)+r,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?i[a++]=t[f++]:i[a++]=t[s++];else if(f<u)i[a++]=t[f++];else{if(!(s<o))break;i[a++]=t[s++]}}var rr=/[a-zA-Z]/,ir=/[0-9]/,er=/[0-9a-fA-F]/,ur=/^0x/i,or=/^[0-9]+$/,fr=/^[0-9a-fA-F]+$/,sr=/^[0-7]+$/,cr=E.prototype.toString,ar=Array.isArray||function(t){return"[object Array]"===cr.call(t)},hr=void 0!==n&&"symbol"==typeof i;function vr(t){return ar(t)?t:Array.from(t)}function lr(t,n,r){var i=t[n];t[n]=t[r],t[r]=i}function _r(t){return t>=65&&t<=90}function dr(t){return _r(t)||function(t){return t>=97&&t<=122}(t)}function yr(t){return t>=48&&t<=57}function wr(t){return yr(t)||dr(t)}function Ir(t){return yr(t)||t>=65&&t<=70||t>=97&&t<=102}function gr(t){return _r(t)?t+32:t}function Er(t){return yr(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function Sr(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var pr=S.min,Rr=String.fromCharCode;function Or(t){for(var n=t.length,r=[],i=0;i<n;i+=16384){var e=pr(i+16384,n);r.push(Rr.apply(null,t.slice(i,e)))}return r.join("")}var kr=2147483647,Tr=/[^\0-\x7E]/,br=/[\x2E\u3002\uFF0E\uFF61]/g,mr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ar=S.floor,Nr=String.fromCharCode;function Cr(t){throw new RangeError(mr[t])}function Dr(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var Pr,Fr,Lr,Mr=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Br=function(t,n,r){var i=0;for(t=r?Ar(t/700):t>>1,t+=Ar(t/n);t>455;i+=36)t=Ar(t/35);return Ar(i+36*t/(t+38))},Ur=function(t){return function(t,n){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]);var e=function(t,n){for(var r=[],i=t.length;i--;)r[i]=n(t[i]);return r}((t=t.replace(br,".")).split("."),n).join(".");return i+e}(t,function(t){return Tr.test(t)?"xn--"+function(t){for(var n=[],r=(t=Dr(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Nr(s))}var c=n.length,a=c;for(c&&n.push("-");a<r;){for(var h=kr,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=a+1;h-i>Ar((kr-e)/d)&&Cr("overflow"),e+=(h-i)*d,i=h;for(var y=0,w=t;y<w.length;y++){var I=w[y];if(I<i&&++e>kr&&Cr("overflow"),I==i){for(var g=e,E=36;;E+=36){var S=E<=u?1:E>=u+26?26:E-u;if(g<S)break;var p=g-S,R=36-S;n.push(Nr(Mr(S+p%R,0))),g=Ar(p/R)}n.push(Nr(Mr(g,0))),u=Br(e,d,a==c),e=0,++a}}++e,++i}return n.join("")}(t):t})};function Vr(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return Or(n)}function Hr(t){if(t>=55296&&t<=57343)throw new I("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Wr(t,n){return t>>n&63|128}function xr(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Wr(t,12)),n.push(Wr(t,6))):(Hr(t),n.push(t>>12&15|224),n.push(Wr(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Gr(t){for(var n=[],r=0;r<t.length;r++){xr(t[r],n)}return n}function Kr(){if(Lr>=Fr)throw new I("Invalid byte index");var t=255&Pr[Lr];if(Lr++,128==(192&t))return 63&t;throw new I("Invalid continuation byte")}function jr(){var t,n;if(Lr>Fr)throw new I("Invalid byte index");if(Lr===Fr)return!1;if(t=255&Pr[Lr],Lr++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Kr())>=128)return n;throw new I("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Kr()<<6|Kr())>=2048)return Hr(n),n;throw new I("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Kr()<<12|Kr()<<6|Kr())>=65536&&n<=1114111)return n;throw new I("Invalid UTF-8 detected")}function Yr(t){return[37,Sr(t>>4),Sr(15&t)]}function qr(t){return function(t){return t>=0&&t<=31}(t)||t>126}function zr(t){return qr(t)||32===t||34===t||60===t||62===t||96===t}function Xr(t){return zr(t)||35===t||63===t||123===t||125===t}function $r(t){return Xr(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Zr(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Qr(t){return Zr(t)||39===t}function Jr(t,n){if(!n(t))return[t];for(var r=Gr([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Yr(u))}return i}function ti(t,n){for(var r=[],i=0,e=Dr(t);i<e.length;i++){var u=e[i];r.push.apply(r,Jr(u,n))}return Vr(r)}function ni(t){return function(t){for(var n=[],r=t.length,i=0;i<r;i++){var e=t[i];if(37===e&&i+2<r&&Ir(t[i+1])&&Ir(t[i+2])){var u=Er(t[i+1])<<4|Er(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Gr(t))}function ri(t){return Vr(function(t){Pr=t.slice(),Fr=Pr.length,Lr=0;for(var n,r=[];!1!==(n=jr());)r.push(n);return r}(ni(Dr(t))))}function ii(t){var n=t.length,r=[0,0,0,0,0,0,0,0],i=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new g;u+=2,e=i+=1}for(;u<n;){if(8===i)throw new g("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&er.test(t[u]);)o=o<<4|p(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new g;if(u-=f,i>6)throw new g;for(var s=0;u<n;){var c=null;if(s>0){if(!("."===t[u]&&s<4))throw new g;u+=1}if(!ir.test(t[u]))throw new g;for(;u<n&&ir.test(t[u]);){var a=p(t[u],10);if(null===c)c=a;else{if(0===c)throw new g;if((c=10*c+a)>255)throw new g}u+=1}r[i]=r[i]<<8|c,2!==(s+=1)&&4!==s||(i+=1)}if(4!==s)throw new g;break}if(":"===t[u]){if((u+=1)===n)throw new g}else if(u<n)throw new g;r[i]=o,i+=1}else{if(null!==e)throw new g("Too many :: groups");u+=1,e=i+=1}}if(null!==e){var h=i-e;for(i=7;0!==i&&h>0;)lr(r,i,e+h-1),i-=1,h-=1}else if(8!==i)throw new g;return r}function ei(t){var n=10,r=or;return ur.test(t)?(t=t.slice(2),n=16,r=fr):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=sr),""===t?0:r.test(t)?p(t,n):void 0}var ui={Qp:4},oi=/[\0\t\n\r #%/:?@\[\\\]]/,fi=/[\0\t\n\r #/:?@\[\\\]]/;function si(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{Qp:2,Kp:ii(t.slice(1,-1))}}if(!n)return function(t){if(fi.test(t))throw new g("Invalid code point in opaque host");var n=ti(t,qr);return""===n?ui:{Qp:3,Yp:n}}(t);var r=function(t){var n=function(t){return Ur(t.toLowerCase())}(t);return n}(ri(t));if(oi.test(r))throw new g("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=ei(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new g;if(r[r.length-1]>=S.pow(256,5-r.length))throw new g;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*S.pow(256,3-s);return f}}(r);return void 0!==i?{Qp:1,Kp:i}:""===r?ui:{Qp:0,Jp:r}}function ci(t){switch(t.Qp){case 0:return t.Jp;case 1:return function(t){for(var n=[],r=t,i=1;i<=4;i++)n.push(""+(255&r)),4!==i&&n.push("."),r>>>=8;return n.reverse().join("")}(t.Kp);case 2:return"["+function(t){for(var n="",r=function(t){for(var n=0,r=0,i=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(i=u),e++):(e>r&&(n=i,r=e),e=0);return e>r&&(n=i,r=e),r>1?n:null}(t),i=!1,e=0;e<8;e++){if(i){if(0===t[e])continue;i=!1}r!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",i=!0)}return n}(t.Kp)+"]";case 3:return t.Yp;case 4:return""}}var ai=/\+/g;function hi(t){return 42===t||45===t||46===t||95===t||wr(t)}function vi(t){for(var n=t.split("&"),r=[],i=0;i<n.length;i++){var e=n[i];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(ai," "),f=f.replace(ai," ");var s=ri(o),c=ri(f);r.push([s,c])}}return r}function li(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=_i(Gr(Dr(i[0])))+"="+_i(Gr(Dr(i[1])))}return n}function _i(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];32===i?n.push(43):hi(i)?n.push(i):n.push.apply(n,Yr(i))}return Or(n)}var di=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function yi(t){var n=""+t,r=di.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Ii(u))if(gi(u)||e===r-1)i.push(wi);else{var o=t.charCodeAt(e+1);gi(o)?(i.push(u,o),e++):i.push(wi)}else i.push(u)}return t.slice(0,n)+Or(i)}(n,r.index):n}var wi=65533,Ii=function(t){return 55296==(63488&t)},gi=function(t){return!!(1024&t)};function Ei(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function Si(t){t.Zp.length=0}function pi(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Zp,vi(n))}function Ri(t){if(t.$p){var n=li(t.Zp);""===n&&(n=null),t.$p.$p.iw=n}}var Oi=function(){function t(t){if(void 0===t&&(t=void 0),this.$p=null,null==t)this.Zp=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof Oi&&!!ar(t.Zp)&&(!hr||t[i]===ki)}(t))this.Zp=t.Zp.slice();else if(function(t){return null!=t&&(!!ar(t)||!!hr&&"function"==typeof t[i])}(t)){this.Zp=[];for(var n=0,r=vr(t);n<r.length;n++){var e=vr(r[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.Zp.push([yi(e[0]),yi(e[1])])}}else for(var u in this.Zp=[],t)E.prototype.hasOwnProperty.call(t,u)&&this.Zp.push([yi(u),yi(t[u])]);else(t=yi(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Zp=vi(t)}var n=t.prototype;return n.append=function(t,n){t=yi(t),n=yi(n),this.Zp.push([t,n]),Ri(this)},n.delete=function(t){t=yi(t);for(var n=this.Zp,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}Ri(this)},n.get=function(t){t=yi(t);for(var n=this.Zp,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=yi(t);for(var n=this.Zp,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},n.has=function(t){t=yi(t);for(var n=this.Zp,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=yi(t),n=yi(n);for(var r=this.Zp,i=!1,e=0;e<r.length;){var u=r[e];u[0]===t?i?r.splice(e,1):(u[1]=n,i=!0,e++):e++}i||r.push([t,n]),Ri(this)},n.sort=function(){tr(this.Zp,Ei),Ri(this)},n.toString=function(){return li(this.Zp)},n.entries=function(){return new Ai(this.Zp,Ti)},n.keys=function(){return new Ai(this.Zp,bi)},n.values=function(){return new Ai(this.Zp,mi)},n.forEach=function(t){var n=this;this.Zp.forEach(function(r){return t(r[1],r[0],n)})},t}(),ki=Oi.prototype.entries;hr&&(Oi.prototype[i]=ki);var Ti=function(t){return[t[0],t[1]]},bi=function(t){return t[0]},mi=function(t){return t[1]},Ai=function(){function t(t,n){this.ew=0,this.Zp=t,this.nw=n}return t.prototype.next=function(){return this.ew<this.Zp.length?{done:!1,value:this.nw(this.Zp[this.ew++])}:{done:!0,value:void 0}},t}(),Ni="null";var Ci=E.create(null);Ci.ftp=21,Ci.file=0,Ci.gopher=70,Ci.http=80,Ci.https=443,Ci.ws=80,Ci.wss=443;var Di=/^(?:\.|%2e)$/i,Pi=/^(?:\.|%2e){2}$/i;function Fi(t){return Di.test(t)}function Li(t){return Pi.test(t)}function Mi(t){return void 0!==Ci[t]}function Bi(t){return Mi(t.ow)}function Ui(t){return""!==t.hw||""!==t.aw}function Vi(t){var n=t.length;if(!(n>=2))return!1;if(!Wi(t.slice(0,2)))return!1;if(2!==n){var r=t[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function Hi(t){return 2===t.length&&rr.test(t[0])&&(":"===t[1]||"|"===t[1])}function Wi(t){return 2===t.length&&Hi(Or(t))}function xi(t){return Hi(t)&&":"===t[1]}function Gi(t){var n=t.uw;0!==n.length&&("file"===t.ow&&1===n.length&&xi(n[0])||n.pop())}function Ki(t){return null===t.cw||ui===t.cw||t.dw||"file"===t.ow}var ji=-1,Yi=/\t|\n|\r/g,qi=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function zi(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new $i,t=t.replace(qi,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=Dr(t=t.replace(Yi,"")),a=c.length,h=0;h<=a;){var v=h<a?c[h]:ji;switch(e){case 0:if(!dr(v)){if(null===i){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(gr(v)),e=1;break;case 1:if(wr(v)||43===v||45===v||46===v)u.push(gr(v));else{if(58!==v){if(null===i){u.length=0,e=2,h=0;continue}throw new g("Invalid scheme")}var l=Vr(u);if(null!==i){if(Mi(r.ow)&&!Mi(l))return;if(!Mi(r.ow)&&Mi(l))return;if((Ui(r)||null!==r.lw)&&"file"===l)return;if("file"===r.ow&&(r.cw===ui||null===r.cw))return}if(r.ow=l,null!==i)return void(Bi(r)&&r.lw===Ci[r.ow]&&(r.lw=null));u.length=0,"file"===r.ow?e=13:Bi(r)&&n&&n.ow===r.ow?e=3:Bi(r)?e=7:47===c[h+1]?(e=4,h+=1):(r.dw=!0,r.uw.push(""),e=18)}break;case 2:if(!n||n.dw&&35!==v)throw new g("Invalid scheme");n.dw&&35===v?(r.ow=n.ow,r.uw=n.uw.slice(),r.iw=n.iw,r.fw="",r.dw=!0,e=20):"file"!==n.ow?(e=5,h-=1):(e=13,h-=1);break;case 3:47===v&&47===c[h+1]?e=8:(e=5,h-=1);break;case 4:47===v?e=9:(e=17,h-=1);break;case 5:r.ow=n.ow,ji===v?(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.iw=n.iw):47===v?e=6:63===v?(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.iw="",e=19):35===v?(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.iw=n.iw,r.fw="",e=20):92===v&&Bi(r)?e=6:(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.uw.pop(),e=17,h-=1);break;case 6:!Bi(r)||47!==v&&92!==v?47===v?e=9:(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,e=17,h-=1):e=8;break;case 7:if(47!==v||47!==c[h+1]){e=8;continue}e=8,h+=1;break;case 8:47!==v&&92!==v&&(e=9,h-=1);break;case 9:if(64===v){o&&u.unshift(37,52,48),o=!0;for(var _=0;_<u.length;_++){var d=u[_];if(58!==d||s){var y=Vr(Jr(d,$r));s?r.aw+=y:r.hw+=y}else s=!0}u.length=0}else if(ji===v||47===v||63===v||35===v||Bi(r)&&92===v){if(o&&0===u.length)throw new g("Invalid host");h-=u.length+1,u.length=0,e=10}else u.push(v);break;case 10:case 11:if(null!==i&&"file"===r.ow)h-=1,e=15;else if(58!==v||f)if(ji===v||47===v||63===v||35===v||Bi(r)&&92===v){if(h-=1,Bi(r)&&0===u.length)throw new g("Invalid host");if(null!==i&&0===u.length&&(Ui(r)||null!==r.lw))return;var w=si(Vr(u),Bi(r));if(r.cw=w,u.length=0,e=16,null!==i)return}else 91===v?f=!0:93===v&&(f=!1),u.push(v);else{if(0===u.length)throw new g("Invalid host");var I=si(Vr(u),Bi(r));if(r.cw=I,u.length=0,e=12,11===i)return}break;case 12:if(yr(v))u.push(v);else{if(!(ji===v||47===v||63===v||35===v||Bi(r)&&92===v||null!==i))throw new g("Invalid port");if(0!==u.length){var E=p(Vr(u),10);if(E>65535)throw new g("Invalid port");r.lw=E===Ci[r.ow]?null:E,u.length=0}if(null!==i)return;e=16,h-=1}break;case 13:r.ow="file",47===v||92===v?e=14:n&&"file"===n.ow?ji===v?(r.cw=n.cw,r.uw=n.uw.slice(),r.iw=n.iw):63===v?(r.cw=n.cw,r.uw=n.uw.slice(),r.iw="",e=19):35===v?(r.cw=n.cw,r.uw=n.uw.slice(),r.iw=n.iw,r.fw="",e=20):(Vi(c.slice(h))||(r.cw=n.cw,r.uw=n.uw.slice(),Gi(r)),e=17,h-=1):(e=17,h-=1);break;case 14:47===v||92===v?e=15:(n&&"file"===n.ow&&!Vi(c.slice(h))&&(xi(n.uw[0])?r.uw.push(n.uw[0]):r.cw=n.cw),e=17,h-=1);break;case 15:if(ji===v||47===v||92===v||63===v||35===v)if(h-=1,null===i&&Wi(u))e=17;else if(0===u.length){if(r.cw=ui,null!==i)return;e=16}else{var S=si(Vr(u),Bi(r));if(0===S.Qp&&"localhost"===S.Jp&&(S=ui),r.cw=S,null!==i)return;u.length=0,e=16}else u.push(v);break;case 16:Bi(r)?(e=17,47!==v&&92!==v&&(h-=1)):null===i&&63===v?(r.iw="",e=19):null===i&&35===v?(r.fw="",e=20):ji!==v&&(e=17,47!==v&&(h-=1));break;case 17:if(ji===v||47===v||Bi(r)&&92===v||null===i&&(63===v||35===v)){var R=Vr(u);if(Li(R)?(Gi(r),47===v||Bi(r)&&92===v||r.uw.push("")):!Fi(R)||47===v||Bi(r)&&92===v?Fi(R)||("file"===r.ow&&0===r.uw.length&&Wi(u)&&(ui!==r.cw&&null!==r.cw&&(r.cw=ui),u[1]=58,R=Vr(u)),r.uw.push(R)):r.uw.push(""),u.length=0,"file"===r.ow&&(ji===v||63===v||35===v))for(;r.uw.length>1&&""===r.uw[0];)r.uw.shift();63===v?(r.iw="",e=19):35===v&&(r.fw="",e=20)}else u.push.apply(u,Jr(v,Xr));break;case 18:63===v?(r.iw="",e=19):35===v?(r.fw="",e=20):ji!==v&&(r.uw[0]+=Vr(Jr(v,qr)));break;case 19:null===i&&35===v?(r.fw="",e=20):ji!==v&&(r.iw+=Vr(Jr(v,Bi(r)?Qr:Zr)));break;case 20:ji===v||0===v||(r.fw+=Vr(Jr(v,zr)))}h++}return r}function Xi(t,n,r,i){try{zi(t,n,r,i)}catch(t){}}var $i=function(){this.ow="",this.hw="",this.aw="",this.cw=null,this.lw=null,this.uw=[],this.iw=null,this.fw=null,this.dw=!1};function Zi(t){switch(t.ow){case"blob":var n;try{n=zi(t.uw[0],null)}catch(t){return Ni}return Zi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,r){return t+"://"+ci(n)+(null===r?"":":"+r)}(t.ow,t.cw,t.lw);default:return Ni}}var Qi=function(){function t(t,n){var r,i=null;if(null!=n)if(function(t){return null!=t&&t instanceof Qi&&"object"==typeof t.$p}(n))i=n.$p;else try{i=zi(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{r=zi(String(t),i)}catch(t){throw new g("Invalid URL: "+t.message)}var e=r.iw;this.$p=r,this.iw=function(t){var n=new Oi;return null!==t&&pi(n,t),n}(e),this.iw.$p=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,r){n&&Jn(t.prototype,n),r&&Jn(t,r)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.ow+":";if(null!==t.cw?(r+="//",Ui(t)&&(r+=t.hw,""!==t.aw&&(r+=":"+t.aw),r+="@"),r+=ci(t.cw),null!==t.lw&&(r+=":"+t.lw)):null===t.cw&&"file"===t.ow&&(r+="//"),t.dw)r+=t.uw[0];else for(var i=0,e=t.uw;i<e.length;i++)r+="/"+e[i];return null!==t.iw&&(r+="?"+t.iw),n||null===t.fw||(r+="#"+t.fw),r}(this.$p)},set:function(t){var n;try{n=zi(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.$p=n,Si(this.iw);var r=this.$p.iw;null!==r&&pi(this.iw,r)}},{key:"origin",get:function(){return Zi(this.$p)}},{key:"protocol",get:function(){return this.$p.ow+":"},set:function(t){Xi(t+":",null,this.$p,0)}},{key:"username",get:function(){return this.$p.hw},set:function(t){Ki(this.$p)||(this.$p.hw=ti(t,$r))}},{key:"password",get:function(){return this.$p.aw},set:function(t){Ki(this.$p)||(this.$p.aw=ti(t,$r))}},{key:"host",get:function(){var t=this.$p,n=t.cw;if(null===n)return"";var r=t.lw,i=ci(n);return null!==r&&(i+=":"+r),i},set:function(t){this.$p.dw||Xi(t,null,this.$p,10)}},{key:"hostname",get:function(){var t=this.$p.cw;return null===t?"":ci(t)},set:function(t){this.$p.dw||Xi(t,null,this.$p,11)}},{key:"port",get:function(){var t=this.$p.lw;return null===t?"":""+t},set:function(t){Ki(this.$p)||(""===t?this.$p.lw=null:Xi(t,null,this.$p,12))}},{key:"pathname",get:function(){var t=this.$p.uw;return this.$p.dw?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.$p.dw||(this.$p.uw.length=0,Xi(t,null,this.$p,16))}},{key:"search",get:function(){var t=this.$p.iw;return null===t||""===t?"":"?"+t},set:function(t){t=yi(t);var n=this.$p;if(""===t)return n.iw=null,void Si(this.iw);"?"===t[0]&&(t=t.slice(1)),n.iw="",Xi(t,null,n,19),pi(this.iw,t)}},{key:"searchParams",get:function(){return this.iw}},{key:"hash",get:function(){var t=this.$p.fw;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.$p.fw="",Xi(t,null,this.$p,20)):this.$p.fw=null}}]),t}();function Ji(t){return t.document&&t.document.baseURI||t.location.href||""}var te=function(){function t(){this.qm=void 0,this.Dw=new ne,this.Mw=Cn,this.Nw=function(){if(self.URL)try{var t=new self.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href}catch(t){}return!1}(),self.performance&&self.performance.now?this.qm=function(){return self.performance.now()}:this.qm=pn}var n=t.prototype;return n._w=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Xn.apply(void 0,[].concat(n))},n.gw=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];zn.apply(void 0,[].concat(n))},n.mw=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];$n.apply(void 0,[].concat(n))},n.pw=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Zn.apply(void 0,[].concat(n))},n.ww=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Qn.apply(void 0,[].concat([t],r))},n.zm=function(t,n){return _(t,n)},n.yw=function(t,n){return y(t,n)},n.Wm=function(t){d(t)},n.bw=function(t){w(t)},n.Aw=function(){return this.Sw.Aw()},n.Tw=function(){return this.Sw.Tw()},n.Ew=function(){return this.Sw.Ew()},n.xw=function(){return this.Sw.xw()},n.Pw=function(){return this.Sw.Pw()},n.Iw=function(t,n){return this.Sw.Iw(t,n)},n.Rw=function(t){return this.Sw.Rw(t)},n.Rh=function(t,n){var r;return void 0===n&&(n=Ji(a)),r="object"!==(void 0===n?"undefined":m(n))||b(n,Qi)?n:n.href,new Qi(t,r)},n.Bw=function(t,n){if(void 0===n&&(n=Ji(a)),this.Nw){var r=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,r).href}return this.Rh(t,n).href},vt(t,[{key:"Cw",get:function(){return this.Dw}},{key:"ie",get:function(){return this.Mw}},{key:"Lw",get:function(){return{Ow:l&&l.userAgent.match(/Android /i)?"Android":"other",Fw:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"Uw",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"Vw",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),ne=function(){function t(){}return vt(t,[{key:"Hw",get:function(){return l.oscpu}},{key:"ie",get:function(){return l.platform}},{key:"qw",get:function(){return l.vendor}},{key:"Ww",get:function(){return l.vendorSub}}]),t}();var re=function(){function t(){}var n=t.prototype;return n.Pw=function(){return nt.resolve(!1)},n.Tw=function(){return nt.resolve(!1)},n.xw=function(){return nt.resolve(!1)},n.Ew=function(){return nt.resolve(!1)},n.Rw=function(t){return nt.resolve(!1)},n.Iw=function(t,n){return nt.resolve(!1)},n.Aw=function(){return nt.resolve(!1)},t}(),ie=function(){function t(){}var n=t.prototype;return n.Ak=function(){},n.Xb=function(t){},n.Wb=function(t){},n.zb=function(t,n){},t}(),ee=function(t){return t.Tk="arraybuffer",t.Ek="json",t.xk="stream",t.Pk="text",t}({});var ue=function(){function t(n){var r=this;if(this.jw=void 0,this.jw={},n)if(b(n,t))n.asList().forEach(function(t){var n=t[0],i=t[1];r.append(n,i)});else if(function(t){return Dt(t)&&"function"==typeof t.forEach}(n))n.forEach(function(t,n){Array.isArray(t)&&2===t.length?r.append(t[0],t[1]):r.append(n,t)});else if(function(t){return void 0!==i&&Dt(t)&&i in t}(n))for(var e,u=_t(n);!(e=u()).done;){var o=e.value,f=o[0],s=o[1];this.append(f,s)}else E.getOwnPropertyNames(n).forEach(function(t){r.append(t,n[t])});else;}var n=t.prototype;return n.append=function(t,n){var r=t,i=n;r=oe(r),i=fe(i);var e=r.toLowerCase();if(this.jw.hasOwnProperty(e)){var u=this.jw[e],o=u[1];u[1]=o?o+", "+i:i}else this.jw[e]=[r,i]},n.delete=function(t){var n=oe(t).toLowerCase();delete this.jw[n]},n.get=function(t){var n=oe(t).toLowerCase();return this.jw.hasOwnProperty(n)?this.jw[n][1]:null},n.has=function(t){var n=oe(t).toLowerCase();return this.jw.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=oe(r)).toLowerCase();this.jw[i]=[r,fe(n)]},n.forEach=function(t,n){for(var r in this.jw)this.jw.hasOwnProperty(r)&&t.call(n,this.jw[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.jw)if(this.jw.hasOwnProperty(n)){var r=this.jw[n],i=r[0],e=r[1];t.push([i,e])}return t},n.Ik=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.Rk=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.Ck=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function oe(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new g("Invalid character in header field name");return n}function fe(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var se=function(t,n){this.Fk=void 0,this.iE=void 0,this.EE=void 0,this.$k=void 0,this.xE=void 0,this.PE=void 0,this.Zm=void 0,this.iy=void 0,this.RE=void 0,this.CE=void 0,this.rE=void 0,this.DE=void 0,this.BE=void 0,this.NE=void 0,this.LE=void 0,this.OE=void 0;var r,i,e,u,o,f,s,c,a,h,v,l,_,d,y,w,I,g,E=t.rE;n?(r=n.Fk,i=n.iE,e=n.EE,u=n.$k,o=n.xE,f=n.PE,s=n.Zm,c=n.iy,a=n.RE,h=n.CE,v=n.DE,l=n.BE,_=n.NE,d=n.LE,y=n.OE):(r=null,i={},e="GET",u=ee.Pk,o=0,f=0,c="",a="",h="",v=!1,_=void 0,d=!1,y=void 0),this.rE=E,this.Fk=t.Fk||r,this.iE=new ue(t.iE||i),this.EE=t.EE||e,this.$k=t.$k||u,this.xE=void 0!==t.xE?Number(t.xE)||0:o,this.PE=void 0!==t.PE?Number(t.PE)||0:f,this.Zm=t.Zm||s||(new qt).Zm,this.iy=t.iy||c,this.RE=t.RE||a,this.CE=t.CE||h,this.DE=void 0!==t.DE?Boolean(t.DE):v,this.BE=t.BE||l,this.NE=null!=(w=t.NE)?w:_,this.LE=null!=(I=t.LE)?I:d,this.OE=null!=(g=t.OE)?g:y},ce=function(t){return t.jE="HttpOpenError",t.QE="HttpResponseError",t.KE="HttpTimeoutError",t}({}),ae=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).YE=void 0,e.YE=n,e}return at(n,t),vt(n,[{key:"tE",get:function(){return this.YE}}]),n}(Kt),he=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.rE+".",r)||this}return at(n,t),vt(n,[{key:"name",get:function(){return ce.jE}}]),n}(ae),ve=function(){function t(){}var n=t.prototype;return n.tE=function(t){return nt.reject(new he(new se(t)))},n.FE=function(t){},n._n=function(){},t}(),le=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return at(n,t),n}(Kt),_e=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).oP=new re,n.Nq=new ve,n.i=new ie,n}return at(n,t),n.prototype.Mx=function(t){throw new le},vt(n,[{key:"Sw",get:function(){return this.oP}},{key:"hP",get:function(){return!1}},{key:"uP",get:function(){return!1}},{key:"fP",get:function(){return!1}},{key:"dP",get:function(){return!1}},{key:"vP",get:function(){return this.i}},{key:"_P",get:function(){return{gP:Ft}}},{key:"mP",get:function(){return"default"}},{key:"pP",get:function(){return"unknown"}},{key:"wP",get:function(){return!0}},{key:"ff",get:function(){return this.Nq}},{key:"bP",get:function(){return!1}}]),n}(te);!function(t){0}(new _e);var de=function(t){return t[t.MPEGTS_TO_FMP4=0]="MPEGTS_TO_FMP4",t[t.RAW_AUDIO_TO_FMP4=1]="RAW_AUDIO_TO_FMP4",t}({}),ye=function(t){return t[t.CONFIGURATION_ERROR=1e3]="CONFIGURATION_ERROR",t[t.LICENSE_ERROR=2e3]="LICENSE_ERROR",t[t.LICENSE_INVALID_DOMAIN=2001]="LICENSE_INVALID_DOMAIN",t[t.LICENSE_INVALID_SOURCE=2002]="LICENSE_INVALID_SOURCE",t[t.LICENSE_EXPIRED=2003]="LICENSE_EXPIRED",t[t.LICENSE_INVALID_FEATURE=2004]="LICENSE_INVALID_FEATURE",t[t.SOURCE_INVALID=3e3]="SOURCE_INVALID",t[t.SOURCE_NOT_SUPPORTED=3001]="SOURCE_NOT_SUPPORTED",t[t.MANIFEST_LOAD_ERROR=4e3]="MANIFEST_LOAD_ERROR",t[t.MANIFEST_CORS_ERROR=4001]="MANIFEST_CORS_ERROR",t[t.MANIFEST_PARSE_ERROR=4002]="MANIFEST_PARSE_ERROR",t[t.MEDIA_NOT_SUPPORTED=5e3]="MEDIA_NOT_SUPPORTED",t[t.MEDIA_LOAD_ERROR=5001]="MEDIA_LOAD_ERROR",t[t.MEDIA_DECODE_ERROR=5002]="MEDIA_DECODE_ERROR",t[t.MEDIA_AVPLAYER_ERROR=5003]="MEDIA_AVPLAYER_ERROR",t[t.MEDIA_ABORTED=5004]="MEDIA_ABORTED",t[t.NETWORK_ERROR=6e3]="NETWORK_ERROR",t[t.NETWORK_TIMEOUT=6001]="NETWORK_TIMEOUT",t[t.CONTENT_PROTECTION_ERROR=7e3]="CONTENT_PROTECTION_ERROR",t[t.CONTENT_PROTECTION_NOT_SUPPORTED=7001]="CONTENT_PROTECTION_NOT_SUPPORTED",t[t.CONTENT_PROTECTION_CONFIGURATION_MISSING=7002]="CONTENT_PROTECTION_CONFIGURATION_MISSING",t[t.CONTENT_PROTECTION_CONFIGURATION_INVALID=7003]="CONTENT_PROTECTION_CONFIGURATION_INVALID",t[t.CONTENT_PROTECTION_INITIALIZATION_INVALID=7004]="CONTENT_PROTECTION_INITIALIZATION_INVALID",t[t.CONTENT_PROTECTION_CERTIFICATE_ERROR=7005]="CONTENT_PROTECTION_CERTIFICATE_ERROR",t[t.CONTENT_PROTECTION_CERTIFICATE_INVALID=7006]="CONTENT_PROTECTION_CERTIFICATE_INVALID",t[t.CONTENT_PROTECTION_LICENSE_ERROR=7007]="CONTENT_PROTECTION_LICENSE_ERROR",t[t.CONTENT_PROTECTION_LICENSE_INVALID=7008]="CONTENT_PROTECTION_LICENSE_INVALID",t[t.CONTENT_PROTECTION_KEY_EXPIRED=7009]="CONTENT_PROTECTION_KEY_EXPIRED",t[t.CONTENT_PROTECTION_KEY_MISSING=7010]="CONTENT_PROTECTION_KEY_MISSING",t[t.CONTENT_PROTECTION_OUTPUT_RESTRICTED=7011]="CONTENT_PROTECTION_OUTPUT_RESTRICTED",t[t.CONTENT_PROTECTION_INTERNAL_ERROR=7012]="CONTENT_PROTECTION_INTERNAL_ERROR",t[t.SUBTITLE_LOAD_ERROR=8e3]="SUBTITLE_LOAD_ERROR",t[t.SUBTITLE_CORS_ERROR=8001]="SUBTITLE_CORS_ERROR",t[t.SUBTITLE_PARSE_ERROR=8002]="SUBTITLE_PARSE_ERROR",t[t.VR_PLATFORM_UNSUPPORTED=9e3]="VR_PLATFORM_UNSUPPORTED",t[t.VR_PRESENTATION_ERROR=9001]="VR_PRESENTATION_ERROR",t[t.AD_ERROR=1e4]="AD_ERROR",t[t.AD_BLOCKER_DETECTED=10001]="AD_BLOCKER_DETECTED",t[t.FULLSCREEN_ERROR=11e3]="FULLSCREEN_ERROR",t[t.PICTURE_IN_PICTURE_ERROR=11001]="PICTURE_IN_PICTURE_ERROR",t[t.CACHE_SOURCE_ERROR=12e3]="CACHE_SOURCE_ERROR",t[t.CACHE_CONTENT_PROTECTION_ERROR=12001]="CACHE_CONTENT_PROTECTION_ERROR",t[t.THEO_LIVE_UNKNOWN_ERROR=13e3]="THEO_LIVE_UNKNOWN_ERROR",t[t.THEO_LIVE_CHANNEL_NOT_FOUND=13001]="THEO_LIVE_CHANNEL_NOT_FOUND",t[t.THEO_LIVE_END_OF_DEMO=13002]="THEO_LIVE_END_OF_DEMO",t[t.THEO_LIVE_ANALYTICS_ERROR=13003]="THEO_LIVE_ANALYTICS_ERROR",t}({}),we=function(t){return t[t.CONFIGURATION=1]="CONFIGURATION",t[t.LICENSE=2]="LICENSE",t[t.SOURCE=3]="SOURCE",t[t.MANIFEST=4]="MANIFEST",t[t.MEDIA=5]="MEDIA",t[t.NETWORK=6]="NETWORK",t[t.CONTENT_PROTECTION=7]="CONTENT_PROTECTION",t[t.SUBTITLE=8]="SUBTITLE",t[t.VR=9]="VR",t[t.AD=10]="AD",t[t.FULLSCREEN=11]="FULLSCREEN",t[t.CACHE=12]="CACHE",t[t.THEOLIVE=13]="THEOLIVE",t}({});!function(t){t.fromCode=function(n){var r=S.floor(n/1e3);if(r in t)return r;throw new g("Invalid error code: "+n)}}(we||(we={}));var Ie=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).code=void 0,e.code=n,e}return at(n,t),vt(n,[{key:"name",get:function(){return"THEOplayerError"}},{key:"category",get:function(){return we.fromCode(this.code)}}]),n}(Kt);var ge,Ee=function(){function t(t){this.encoding=t}var n=t.prototype;return n.encode=function(t){if(!t)return new k(0);for(var n=new k(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},n.encodeInto=function(t,n){for(var r=S.min(t.length,n.byteLength),i=0;i<r;i++)n[i]=t.charCodeAt(i);return{read:r,written:r}},t}(),Se=function(){function t(t,n){this.encoding=t,this.fatal=(null==n?void 0:n.fatal)||!1,this.ignoreBOM=(null==n?void 0:n.ignoreBOM)||!1}return t.prototype.decode=function(t,n){return t?(r=b(t,ArrayBuffer)?new k(t):new k(t.buffer,t.byteOffset,t.byteLength),String.fromCharCode.apply(void 0,r)):"";var r},t}();var pe=new Array(128).fill(void 0);function Re(t){return pe[t]}function Oe(t){return null==t}pe.push(void 0,null,!0,!1);var ke=pe.length;function Te(t){var n=Re(t);return function(t){t<132||(pe[t]=ke,ke=t)}(t),n}function be(t){ke===pe.length&&pe.push(pe.length+1);var n=ke;return ke=pe[n],pe[n]=t,n}var me=null;function Ae(){return(null===me||me.buffer.detached||me.buffer!==ge.memory.buffer)&&(me=new k(ge.memory.buffer)),me}function Ne(t,n){return t>>>=0,Ae().subarray(t/1,t/1+n)}var Ce=void 0!==Se?new Se("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:function(){throw I("TextDecoder not available")}};function De(t,n){return t>>>=0,Ce.decode(Ae().subarray(t,t+n))}void 0!==Se&&Ce.decode();var Pe=0;function Fe(t,n){var r=n(1*t.length,1)>>>0;return Ae().set(t,r/1),Pe=t.length,r}var Le=null;function Me(){return(null===Le||Le.buffer.detached||Le.buffer!==ge.memory.buffer)&&(Le=new DataView(ge.memory.buffer)),Le}var Be=void 0!==Ee?new Ee("utf-8"):{encode:function(){throw I("TextEncoder not available")}},Ue="function"==typeof Be.encodeInto?function(t,n){return Be.encodeInto(t,n)}:function(t,n){var r=Be.encode(t);return n.set(r),{read:t.length,written:r.length}};function Ve(t){try{var n=ge.__wbindgen_add_to_stack_pointer(-16);ge.mpegts_to_fmp4(n,be(t));var r=Me().getInt32(n+0,!0),i=Me().getInt32(n+4,!0);if(Me().getInt32(n+8,!0))throw Te(i);return Te(r)}finally{ge.__wbindgen_add_to_stack_pointer(16)}}function He(t){try{var n=ge.__wbindgen_add_to_stack_pointer(-16);ge.raw_audio_to_fmp4(n,be(t));var r=Me().getInt32(n+0,!0),i=Me().getInt32(n+4,!0);if(Me().getInt32(n+8,!0))throw Te(i);return Te(r)}finally{ge.__wbindgen_add_to_stack_pointer(16)}}function We(t,n){return Bt(function(){var r,i,e;return Ut(this,function(u){switch(u.label){case 0:if("function"!=typeof Response||!b(t,Response))return[3,7];if("function"!=typeof WebAssembly.instantiateStreaming)return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,WebAssembly.instantiateStreaming(t,n)];case 2:return[2,u.sent()];case 3:if(r=u.sent(),"application/wasm"==t.headers.get("Content-Type"))throw r;return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r),[3,4];case 4:return[4,t.arrayBuffer()];case 5:return i=u.sent(),[4,WebAssembly.instantiate(i,n)];case 6:return[2,u.sent()];case 7:return[4,WebAssembly.instantiate(t,n)];case 8:return b(e=u.sent(),WebAssembly.Instance)?[2,{instance:e,module:t}]:[2,e];case 9:return[2]}})})()}function xe(){var t={wbg:{}};return t.wbg.__wbg_audiopid_cf63a2881fb603de=function(t){var n=Re(t).audio_pid;return Oe(n)?16777215:n},t.wbg.__wbg_createoutput_f81a086f372d422e=function(t,n){var r=function(t,n){return{data:t,metadata:n}}(Te(t),Te(n));return be(r)},t.wbg.__wbg_createoutputdata_f9352c5065ea01aa=function(t,n,r,i,e,u,o,f){var s,c,a,h;0!==t&&(s=Ne(t,n).slice(),ge.__wbindgen_export_0(t,1*n,1)),0!==r&&(c=Ne(r,i).slice(),ge.__wbindgen_export_0(r,1*i,1)),0!==e&&(a=Ne(e,u).slice(),ge.__wbindgen_export_0(e,1*u,1)),0!==o&&(h=Ne(o,f).slice(),ge.__wbindgen_export_0(o,1*f,1));var v=function(t,n,r,i){return{video_init:t,audio_init:n,video_media:r,audio_media:i}}(s,c,a,h);return be(v)},t.wbg.__wbg_createoutputmetadata_79a74f7d3aafd2c5=function(t,n,r,i,e,u,o,f,s,c,a,h,v,l,_,d){var y,w,I,g;0!==r&&(y=De(r,i).slice(),ge.__wbindgen_export_0(r,1*i,1)),0!==e&&(w=De(e,u).slice(),ge.__wbindgen_export_0(e,1*u,1)),0!==o&&(I=Ne(o,f).slice(),ge.__wbindgen_export_0(o,1*f,1)),0!==s&&(g=Ne(s,c).slice(),ge.__wbindgen_export_0(s,1*c,1));var E=function(t,n,r,i,e,u,o,f,s,c,a){return{video_pid:t,audio_pid:n,video_codec:r,audio_codec:i,sps_nal:e,pps_nal:u,first_decode_timestamp:o,first_presentation_timestamp:f,first_video_presentation_timestamp:s,program_map_table_pid:c,video_frame_rate:a}}(16777215===t?void 0:t,16777215===n?void 0:n,y,w,I,g,Te(a),Te(h),Te(v),16777215===l?void 0:l,0===_?void 0:d);return be(E)},t.wbg.__wbg_createtimestampwithbase_9f3b56a7f281a060=function(t,n,r){var i=function(t,n,r){return{low:t,high:n,base:r}}(t>>>0,n>>>0,r>>>0);return be(i)},t.wbg.__wbg_data_0dfa593a0aa2e64c=function(t,n){var r=Fe(Re(n).data,ge.__wbindgen_export_1),i=Pe;Me().setInt32(t+4,i,!0),Me().setInt32(t+0,r,!0)},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,n){var r,i;try{r=t,i=n,console.error(De(t,n))}finally{ge.__wbindgen_export_0(r,i,1)}},t.wbg.__wbg_metadata_262906c02690f219=function(t){var n=Re(t).metadata;return Oe(n)?0:be(n)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){return be(new I)},t.wbg.__wbg_ppsnal_24d7d831a1284b13=function(t,n){var r=Re(n).pps_nal,i=Oe(r)?0:Fe(r,ge.__wbindgen_export_1),e=Pe;Me().setInt32(t+4,e,!0),Me().setInt32(t+0,i,!0)},t.wbg.__wbg_programmaptablepid_2bf8112d9d4d8cb1=function(t){var n=Re(t).program_map_table_pid;return Oe(n)?16777215:n},t.wbg.__wbg_spsnal_b5454d39031feeca=function(t,n){var r=Re(n).sps_nal,i=Oe(r)?0:Fe(r,ge.__wbindgen_export_1),e=Pe;Me().setInt32(t+4,e,!0),Me().setInt32(t+0,i,!0)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,n){var r=function(t,n,r){if(void 0===r){var i=Be.encode(t),e=n(i.length,1)>>>0;return Ae().subarray(e,e+i.length).set(i),Pe=i.length,e}for(var u=t.length,o=n(u,1)>>>0,f=Ae(),s=0;s<u;s++){var c=t.charCodeAt(s);if(c>127)break;f[o+s]=c}if(s!==u){0!==s&&(t=t.slice(s)),o=r(o,u,u=s+3*t.length,1)>>>0;var a=Ae().subarray(o+s,o+u);o=r(o,u,s+=Ue(t,a).written,1)>>>0}return Pe=s,o}(Re(n).stack,ge.__wbindgen_export_1,ge.__wbindgen_export_2),i=Pe;Me().setInt32(t+4,i,!0),Me().setInt32(t+0,r,!0)},t.wbg.__wbg_videopid_60d3be6c566fc051=function(t){var n=Re(t).video_pid;return Oe(n)?16777215:n},t.wbg.__wbindgen_object_drop_ref=function(t){Te(t)},t.wbg.__wbindgen_string_new=function(t,n){return be(De(t,n))},t}function Ge(t,n){return ge=t.exports,Ke.__wbindgen_wasm_module=n,Le=null,me=null,ge.__wbindgen_start(),ge}function Ke(t){return Bt(function(){var n,r,i,e;return Ut(this,function(u){switch(u.label){case 0:return void 0!==ge?[2,ge]:(void 0!==t&&(E.getPrototypeOf(t)===E.prototype?t=t.module_or_path:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL("theomux_bg.wasm",void 0)),n=xe(),("string"==typeof t||"function"==typeof Request&&b(t,Request)||"function"==typeof URL&&b(t,URL))&&(t=fetch(t)),[4,t]);case 1:return[4,We.apply(void 0,[u.sent(),n])];case 2:return r=u.sent(),i=r.instance,e=r.module,[2,Ge(i,e)]}})})()}function je(t){return Bt(function(){var n,r;return Ut(this,function(i){switch(i.label){case 0:return b(t,WebAssembly.Module)?n=t:(r="string"==typeof t?new URL(t):t,n="http:"===r.protocol||"https:"===r.protocol?fetch(r.href):function(t){return new nt(function(n,r){var i=new T;i.onload=function(){n(i.response||new ArrayBuffer(0))},i.onerror=function(){r(new g('Failed to fetch "'+t+'", status '+i.status))},i.open("GET",t,!0),i.responseType="arraybuffer",i.send()})}(r.href)),[4,Ke({module_or_path:n})];case 1:return i.sent(),[2,{mpegts_to_fmp4:Ve,raw_audio_to_fmp4:He}]}})})()}var Ye=new URL("./THEOplayer.transmux.wasm",v.href);!function(t){var n,r=nt.resolve(t()).then(function(t){n=t,r=void 0,self.postMessage({nZt:"11.6.0"})},function(t){var n=t,r={success:!1,error:n.message,errorCode:b(n,Ie)?n.code:ye.MEDIA_DECODE_ERROR};self.postMessage(r)});self.addEventListener("message",function(t){var i=t.data.id;(function(t){return Bt(function(){var i,e,u,o,f,s;return Ut(this,function(c){switch(c.label){case 0:return void 0===r?[3,2]:[4,r];case 1:c.sent(),c.label=2;case 2:if(u=t.id,t.type===de.MPEGTS_TO_FMP4)o=n.mpegts_to_fmp4(t.input);else{if(t.type!==de.RAW_AUDIO_TO_FMP4)throw new I("Unknown request type: "+t.type);o=n.raw_audio_to_fmp4(t.input)}return f={success:!0,requestId:u,output:o},s=[null==(i=t.input.metadata)?void 0:i.sps_nal,null==(e=t.input.metadata)?void 0:e.pps_nal,t.input.data,o.data.video_init,o.data.audio_init,o.data.video_media,o.data.audio_media].filter(Ct).map(function(t){return t.buffer}),self.postMessage(f,s),[2]}})})()})(t.data).catch(function(t){var n=t,r={success:!1,requestId:i,error:n.message,errorCode:b(n,Ie)?n.code:ye.MEDIA_DECODE_ERROR};self.postMessage(r)})})}(function(){return je(Ye)})}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof a?a:"undefined"!=typeof global?global:this);
|
|
30
|
+
!function(t){"use strict";var n,r,i,e,u,o,f,s,c,a=t.window,h=t.document,v=t.location,l=t.navigator,_=t.setTimeout,d=t.clearTimeout,y=t.setInterval,w=t.clearInterval,I=t.Error,g=t.TypeError,E=(t.SyntaxError,t.Object),S=t.Math,p=t.parseInt,R=t.parseFloat,O=t.isNaN,k=t.Uint8Array,T=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest);function b(t,r){return null!=r&&void 0!==n&&r[n.hasInstance]?!!r[n.hasInstance](t):t instanceof r}function m(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,r=null!=(o=Symbol.for)?o:Symbol,i=Symbol.iterator,e=null!=(f=Symbol.dispose)?f:r("Symbol.dispose"),u=null!=(s=Symbol.asyncDispose)?s:r("Symbol.asyncDispose")):(c=0,n=function(t){return"hd"+t+"_"+ ++c},i=(r=function(t){return"hd"+t})("Symbol.iterator"),e=r("Symbol.dispose"),u=r("Symbol.asyncDispose"),n.for=r,n.iterator=i,n.dispose=e,n.asyncDispose=u);var A=_;function N(t){return Boolean(t&&void 0!==t.length)}function C(){}function D(t){if(!b(this,D))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Va=0,this.ttn=!1,this.OEt=void 0,this.ntn=[],U(t,this)}function P(t,n){for(;3===t.Va;)t=t.OEt;0!==t.Va?(t.ttn=!0,D.itn(function(){var r=1===t.Va?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.OEt)}catch(t){return void L(n.promise,t)}F(n.promise,i)}else(1===t.Va?F:L)(n.promise,t.OEt)})):t.ntn.push(n)}function F(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":m(n))||"function"==typeof n)){var r=n.then;if(b(n,D))return t.Va=3,t.OEt=n,void M(t);if("function"==typeof r)return void U(function(t,n){return function(){t.apply(n,arguments)}}(r,n),t)}t.Va=1,t.OEt=n,M(t)}catch(n){L(t,n)}}function L(t,n){t.Va=2,t.OEt=n,M(t)}function M(t){2===t.Va&&0===t.ntn.length&&D.itn(function(){t.ttn||D.rtn(t.OEt)});for(var n=0,r=t.ntn.length;n<r;n++)P(t,t.ntn[n]);t.ntn=null}function B(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function U(t,n){var r=!1;try{t(function(t){r||(r=!0,F(n,t))},function(t){r||(r=!0,L(n,t))})}catch(t){if(r)return;r=!0,L(n,t)}}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.then=function(t,n){var r=new this.constructor(C);return P(this,new B(t,n,r)),r},D.prototype.finally=function(t){var n=this.constructor;return this.then(function(r){return n.resolve(t()).then(function(){return r})},function(r){return n.resolve(t()).then(function(){return n.reject(r)})})},D.all=function(t){return new D(function(n,r){if(!N(t))return r(new g("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,o){try{if(o&&("object"===(void 0===o?"undefined":m(o))||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},r)}i[t]=o,0===--e&&n(i)}catch(t){r(t)}}for(var o=0;o<i.length;o++)u(o,i[o])})},D.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new g((void 0===t?"undefined":m(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,r){if(r&&("object"===(void 0===r?"undefined":m(r))||"function"==typeof r)){var o=r.then;if("function"==typeof o)return void o.call(r,function(n){u(t,n)},function(r){i[t]={status:"rejected",reason:r},0===--e&&n(i)})}i[t]={status:"fulfilled",value:r},0===--e&&n(i)}for(var o=0;o<i.length;o++)u(o,i[o])})},D.resolve=function(t){return t&&"object"===(void 0===t?"undefined":m(t))&&t.constructor===D?t:new D(function(n){n(t)})},D.reject=function(t){return new D(function(n,r){r(t)})},D.race=function(t){return new D(function(n,r){if(!N(t))return r(new g("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)D.resolve(t[i]).then(n,r)})},D.itn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){A(t,0)},D.rtn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var V=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),H=l?l.userAgent:"",W=H.match(/Firefox\/([0-9]+)/i),x=null!=W,G=W?Number(W[1]):0,K=H.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),j=null!=K,Y=K?Number(K[3]):0,q=function(){function t(t){this.sA=0,this.Tf=0,this.Yp=[],this.etn=t}return t.prototype.stn=function(t){var n=this.length();this.utn(n+1);var r=this.Tf+n&this.etn-1;this.Yp[r]=t,this.sA=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.etn<n)this.stn(t);else{var r=this.Tf+n-1,i=this.etn-1;this.Yp[r&i]=t,this.sA=n}},t.prototype.shift=function(){var t=this.Tf,n=this.Yp[t];return this.Yp[t]=void 0,this.Tf=t+1&this.etn-1,this.sA--,n},t.prototype.length=function(){return this.sA},t.prototype.utn=function(t){this.etn<t&&this.otn(this.etn<<1)},t.prototype.otn=function(t){var n=this.etn;this.etn=t;var r=this.Tf+this.sA&n-1;!function(t,n,r,i){for(var e=0;e<i;++e)t[e+r]=t[e+n],t[e+n]=void 0}(this.Yp,0,n,r)},t}();var z="unhandledrejection",X=self.PromiseRejectionEvent,$=self.CustomEvent;function Z(t){return new X(z,{reason:t,promise:V.reject(t).catch(function(){}),cancelable:!0})}function Q(t){var n=new $(z,{detail:{reason:t},cancelable:!0});return E.defineProperty(n,"reason",{value:t}),n}function J(t){var n=h.createEvent("CustomEvent");return n.initCustomEvent(z,!1,!0,{reason:t}),n}var tt,nt,rt,it,et,ut,ot,ft,st=function(t){return st=function(){try{var t=V.resolve(),n="error",r=new X(z,{reason:n,promise:t});return z===r.type&&n===r.reason}catch(t){}return!1}()?Z:function(){try{var t="error",n=new $(z,{detail:{reason:t}});return z===n.type&&t===n.detail.reason}catch(t){}return!1}()?Q:J,st(t)};function ct(t,n){return ct=E.setPrototypeOf||function(t,n){return t.__proto__=n,t},ct(t,n)}function at(t,n){if("function"!=typeof n&&null!==n)throw new g("Super expression must either be null or a function");t.prototype=E.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ct(t,n)}function ht(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),E.defineProperty(t,i.key,i)}}function vt(t,n,r){return n&&ht(t.prototype,n),r&&ht(t,r),t}function lt(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,i=new Array(n);r<n;r++)i[r]=t[r];return i}function _t(t,r){var e=void 0!==n&&t[i]||t["@@iterator"];if(e)return(e=e.call(t)).next.bind(e);if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return lt(t,n);var r=E.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lt(t,n):void 0}}(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}throw new g("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}V&&!(x&&G<60||j&&Y<15)?nt=V:(nt=D,ot=null!==(tt=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=V;if(n&&"function"==typeof n.resolve){var r=n.resolve();return function(t){return r.then(t)}}}())&&void 0!==tt?tt:D.itn,rt=ot,it=new q(16),et=!1,(ft={G4:function(t){it.push(t),et||(et=!0,rt(ut))},OQ:ut=function(){for(;it.length()>0;)it.shift()();et=!1}}).OQ,D.itn=ft.G4,D.rtn=function(t){try{var n=st(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}_(function(){throw new I("Unhandled promise rejection: ".concat(t))},0)});var dt=function(t){return t.u_="web",t.c_="android",t.d_="android-tv",t.l_="ios",t.f_="tvos",t.v_="chromecast",t.__="theoliveweb",t}({});var yt=l?l.userAgent:"",wt=yt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),It=yt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),gt=yt.match(/Android ([0-9\.]+)/i),Et=yt.match(/Windows NT ([0-9\.]+)/i),St=yt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),pt=yt.match(/Firefox\/([0-9\.]+)/i),Rt=yt.match(/OPR\/(\d+\.\d+)/i),Ot=yt.match(/Tizen ([0-9\.]+)/i),kt=yt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),Tt=yt.match(/HbbTV\/([0-9.]+)/i),bt=yt.match(/(AFT.*) Build/i),mt=function(){function t(){this.g_=Boolean("ontouchstart"in self||self.DocumentTouch&&b(h,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.p_=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(yt)||/(macintosh|mac(?=_powerpc)\s)/i.test(yt),this.y_=/Windows NT/i.test(yt),this.A_=Et?R(Et[1]):0,this.T_=/Android/i.test(yt),this.E_=gt?R(gt[1]):0,this.P_=/windows phone (8|8\.1)/i.test(yt),this.R_=/iPhone/i.test(yt),this.D_=/iPad/i.test(yt),this.N_=this.p_&&this.g_&&!this.D_,this.L_=/iPod/i.test(yt),this.G_=/Mobile Safari/i.test(yt),this.q_=/EOS\d*STB/i.test(yt),this.W_=/APP\d*STB/i.test(yt),this.F_=(this.R_||this.D_||this.N_||this.L_)&&!this.P_,this.V_=kt?R(kt[2]):0,this.X_=this.P_||this.F_||this.T_||this.G_,this.Q_=/CriOS/i.test(yt),this.Y_=Boolean(self.chrome&&/google/i.test(l.vendor))||this.Q_,this.og=this.Y_&&/Edg\//i.test(l.userAgent),this.ag=It?p(It[1],10):0,this.Vm=Boolean(/CriOS/i.test(yt)),this.Um=Boolean(self.chrome||/Chrome/i.test(yt)||this.Vm),this.eg=wt?p(wt[1],10):0,this.fg=/SMART-TV.*Tizen/i.test(yt),this._g=Ot?R(Ot[1]):0,this.Z_=this._g>0?function(t){return t>=8?108:t>=7?94:t>=6.5?85:t>=6?76:t>=5.5?69:t>=5?63:t>=4?56:t>=3?47:0}(this._g):void 0,this.pg=/webos|web0s/i.test(yt),this.yg=/HbbTV/i.test(yt),this.Sg=!!Tt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(Tt[1]),this.Eg=/AFT.* Build/i.test(yt),this.Pg=bt?bt[1]:void 0,this.Cg=/VIZIO/i.test(yt),this.Vg=/Edge\/\d+/i.test(yt),this.qg=/Trident/i.test(yt),this.zg=this.qg&&!self.ActiveXObject&&"ActiveXObject"in self,this.Xg=/Vivaldi/i.test(yt),this.Qg=/Firefox/i.test(yt)&&!/Seamonkey/i.test(yt),this.Yg=pt?R(pt[1]):0,this.Zg=/Safari/i.test(yt)&&!/Chrome/i.test(yt)&&!this.P_&&!this.fg,this.im=St?R(St[2]):0,this.hm=Boolean(Rt),this.dm=Rt?R(Rt[1]):0,this.Bg=/Sky_STB/i.test(yt),this.Mg=/Sky_TV/i.test(yt),this.Og=/Sky_OTT/i.test(yt),this.fm=/CrKey/.test(yt),this._m=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(yt)||this.Bg,this.wm=/OculusBrowser|Meta Quest/i.test(yt),this.Am=/PlayStation 4/i.test(yt),this.Tm=/PlayStation 5/i.test(yt),this.xm="web"===dt.d_,this.Im="web"===dt.c_,this.Cm=this.Im||this.xm,this.Bm="web"===dt.l_,this.Mm="web"===dt.f_,this.Om="web"===dt.v_}return vt(t,[{key:"tn",get:function(){return this.g_}},{key:"m_",get:function(){return this.p_}},{key:"w_",get:function(){return this.y_}},{key:"b_",get:function(){return this.A_}},{key:"S_",get:function(){return this.T_}},{key:"k_",get:function(){return this.E_}},{key:"x_",get:function(){return this.P_}},{key:"I_",get:function(){return this.R_}},{key:"C_",get:function(){return this.D_}},{key:"B_",get:function(){return this.N_}},{key:"M_",get:function(){return this.L_}},{key:"O_",get:function(){return this.F_}},{key:"U_",get:function(){return this.V_}},{key:"H_",get:function(){return this.q_||this.W_}},{key:"z_",get:function(){return this.G_}},{key:"te",get:function(){return this.X_}},{key:"j_",get:function(){return this.Q_}},{key:"K_",get:function(){return this.Y_}},{key:"J_",get:function(){var t;return null!=(t=this.Z_)?t:this.eg}},{key:"rg",get:function(){return this.og}},{key:"hg",get:function(){var t;return(null==(t=a.chrome)?void 0:t.webview)&&this.ag>0}},{key:"cg",get:function(){return this.ag}},{key:"dg",get:function(){return this.fg}},{key:"vg",get:function(){return this._g}},{key:"gg",get:function(){return this.pg}},{key:"wg",get:function(){return this.yg}},{key:"Ag",get:function(){return this.Sg}},{key:"Tg",get:function(){return this.Eg}},{key:"xg",get:function(){return"AFTMM"===this.Pg}},{key:"Ig",get:function(){return"AFTM"===this.Pg}},{key:"Rg",get:function(){return this.Cg}},{key:"Dg",get:function(){return this.Bg}},{key:"Ng",get:function(){return this.Mg}},{key:"Lg",get:function(){return this.Og}},{key:"Fg",get:function(){return this.Dg||this.Lg||this.Ng}},{key:"Ug",get:function(){return this.Vg}},{key:"Hg",get:function(){return this.qg}},{key:"Wg",get:function(){return this.zg}},{key:"Gg",get:function(){return this.Xg}},{key:"jg",get:function(){return this.Qg}},{key:"Kg",get:function(){return this.Yg}},{key:"Jg",get:function(){return this.Zg}},{key:"$g",get:function(){return 0===this.im&&At.O_?this.V_:this.im}},{key:"nm",get:function(){return this.hm}},{key:"um",get:function(){return this.dm}},{key:"lm",get:function(){return this.fm}},{key:"vm",get:function(){return this._m}},{key:"gm",get:function(){return!(!this.gg&&!this.dg)&&this.J_<=56}},{key:"pm",get:function(){return this.wm}},{key:"ym",get:function(){return this.Am}},{key:"Sm",get:function(){return this.Tm}},{key:"Em",get:function(){return this.xm}},{key:"Pm",get:function(){return this.Im}},{key:"Rm",get:function(){return this.Cm}},{key:"Dm",get:function(){return this.Bm}},{key:"Nm",get:function(){return this.Mm}},{key:"Lm",get:function(){return this.Om}},{key:"Fm",get:function(){return this.Um}},{key:"IS_IOS_CHROME",get:function(){return this.Vm}}]),t}();mt.Hm=new mt;var At=mt.Hm,Nt={}.toString;function Ct(t){return null!=t}Array.isArray;function Dt(t){return"object"===(void 0===t?"undefined":m(t))&&null!==t}function Pt(t){return function(t){return"function"==typeof t}(t)||Dt(t)}var Ft=function(){};function Lt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}function Mt(t,n,r,i,e,u,o){try{var f=t[u](o),s=f.value}catch(t){return void r(t)}f.done?n(s):nt.resolve(s).then(i,e)}function Bt(t){return function(){var n=this,r=arguments;return new nt(function(i,e){var u=t.apply(n,r);function o(t){Mt(u,i,e,o,f,"next",t)}function f(t){Mt(u,i,e,o,f,"throw",t)}o(void 0)})}}function Ut(t,r){var e,u,o,f={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=E.create(("function"==typeof Iterator?Iterator:E).prototype);return s.next=c(0),s.throw=c(1),s.return=c(2),"function"==typeof n&&(s[i]=function(){return this}),s;function c(n){return function(i){return function(n){if(e)throw new g("Generator is already executing.");for(;s&&(s=0,n[0]&&(f=0)),f;)try{if(e=1,u&&(o=2&n[0]?u.return:n[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,n[1])).done)return o;switch(u=0,o&&(n=[2&n[0],o.value]),n[0]){case 0:case 1:o=n;break;case 4:return f.label++,{value:n[1],done:!1};case 5:f.label++,u=n[1],n=[0];continue;case 7:n=f.ops.pop(),f.trys.pop();continue;default:if(!(o=f.trys,(o=o.length>0&&o[o.length-1])||6!==n[0]&&2!==n[0])){f=0;continue}if(3===n[0]&&(!o||n[1]>o[0]&&n[1]<o[3])){f.label=n[1];break}if(6===n[0]&&f.label<o[1]){f.label=o[1],o=n;break}if(o&&f.label<o[2]){f.label=o[2],f.ops.push(n);break}o[2]&&f.ops.pop(),f.trys.pop();continue}n=r.call(t,f)}catch(t){n=[6,t],u=0}finally{e=o=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,i])}}}S.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var Vt="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var r=0;r<t.length;r+=1){if(n(t[r],r,t))return r}return-1},Ht="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var r=t.length-1;r>=0;r-=1){if(n(t[r],r,t))return r}return-1};Array.prototype.at;function Wt(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,r),!0)}function xt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Gt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];I.apply(this,n)};(Gt.prototype=E.create(I.prototype)).constructor=Gt;var Kt=function(t){function n(n,r){var i;return(i=t.call(this)||this).cause=void 0,i.message=n||"Unknown error",i.cause=r,I.captureStackTrace&&I.captureStackTrace(i,i.constructor),i}return at(n,t),vt(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Gt),jt=function(t){function n(n,r){return t.call(this,n||"Aborted",r)||this}return at(n,t),vt(n,[{key:"name",get:function(){return"AbortError"}}]),n}(Kt),Yt=function(){function t(){this.Qm=!1,this.tp=!1,this.Km=void 0,this.ep=[],this.sp=[]}var n=t.prototype;return n.$m=function(t){if(!this.Qm&&!this.tp){this.Qm=!0,this.Km=null!=t?t:new jt;for(var n,r=_t(this.ep.slice());!(n=r()).done;){(0,n.value)()}this.Ku()}},n.Ku=function(){if(!this.tp){this.tp=!0;for(var t,n=_t(this.sp.slice());!(t=n()).done;){(0,t.value)()}xt(this.ep),xt(this.sp)}},n.jm=function(){if(this.Qm)throw this.Km},n.Jm=function(t){this.tp||this.ep.push(t)},n.Ym=function(t){this.tp||Wt(this.ep,t)},n.np=function(t){this.tp||this.sp.push(t)},n.rp=function(t){this.tp||Wt(this.sp,t)},t}(),qt=function(){function t(){this.op=new Yt}var n=t.prototype;return n.dd=function(t){this.op.$m(t)},n.Ku=function(){this.op.Ku()},n.hp=function(t){var n=this.op;if(!n.Qm)if(t.Qm)n.$m(t.Km);else if(!n.tp&&!t.tp){var r=function(){i(),n.$m(t.Km)},i=function(){t.Ym(r),t.rp(i),n.Ym(r),n.rp(i)};t.Jm(r),t.np(i),n.Jm(r),n.np(i)}},n.ap=function(){var n=new t,r=new t,i=n.Zm,e=r.Zm,u=this.op,o=function(){i.Qm&&e.tp?u.$m(i.Km):e.Qm&&i.tp?u.$m(e.Km):i.tp&&e.tp&&u.Ku()};i.Jm(o),e.Jm(o),i.np(o),e.np(o),n.hp(u),r.hp(u);return u.np(function(){i.Ym(o),e.Ym(o),i.rp(o),e.rp(o)}),[n,r]},n[e]=function(){this.dd()},t.cp=function(n){for(var r,i=new t,e=_t(n);!(r=e()).done;){var u=r.value;void 0!==u&&i.hp(u)}return i},vt(t,[{key:"Zm",get:function(){return this.op}}]),t}();nt.resolve();function zt(){return void 0!==h?h.createElement("video"):void 0}var Xt=Lt(zt),$t=(Lt(function(){return"undefined"!=typeof HTMLVideoElement&&b(Xt(),HTMLVideoElement)}),null);try{$t=new WebAssembly.Instance(new WebAssembly.Module(new k([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(rt){}function Zt(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function Qt(t){return!0===(t&&t.lp)}function Jt(t){var n=S.clz32(t&-t);return t?31-n:n}Zt.prototype.lp,E.defineProperty(Zt.prototype,"lp",{value:!0}),Zt.isLong=Qt;var tn={},nn={};function rn(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=nn[t])?i:(r=un(t,0,!0),e&&(nn[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=tn[t])?i:(r=un(t,t<0?-1:0,!1),e&&(tn[t]=r),r)}function en(t,n){if(O(t))return n?_n:ln;if(n){if(t<0)return _n;if(t>=an)return gn}else{if(t<=-hn)return En;if(t+1>=hn)return In}return t<0?en(-t,n).neg():un(t%cn|0,t/cn|0,n)}function un(t,n,r){return new Zt(t,n,r)}Zt.fromInt=rn,Zt.fromNumber=en,Zt.fromBits=un;var on=S.pow;function fn(t,n,r){if(0===t.length)throw I("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?_n:ln;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw I("interior hyphen");if(0===i)return fn(t.substring(1),n,r).neg();for(var e=en(on(r,8)),u=ln,o=0;o<t.length;o+=8){var f=S.min(8,t.length-o),s=p(t.substring(o,o+f),r);if(f<8){var c=en(on(r,f));u=u.mul(c).add(en(s))}else u=(u=u.mul(e)).add(en(s))}return u.unsigned=n,u}function sn(t,n){return"number"==typeof t?en(t,n):"string"==typeof t?fn(t,n):un(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Zt.fromString=fn,Zt.fromValue=sn;var cn=4294967296,an=cn*cn,hn=an/2,vn=rn(1<<24),ln=rn(0);Zt.ZERO=ln;var _n=rn(0,!0);Zt.UZERO=_n;var dn=rn(1);Zt.ONE=dn;var yn=rn(1,!0);Zt.UONE=yn;var wn=rn(-1);Zt.NEG_ONE=wn;var In=un(-1,2147483647,!1);Zt.MAX_VALUE=In;var gn=un(-1,-1,!0);Zt.MAX_UNSIGNED_VALUE=gn;var En=un(0,-2147483648,!1);Zt.MIN_VALUE=En;var Sn=Zt.prototype;function pn(){return Date.now()||(new Date).getTime()}Sn.toInt=function(){return this.unsigned?this.low>>>0:this.low},Sn.toNumber=function(){return this.unsigned?(this.high>>>0)*cn+(this.low>>>0):this.high*cn+(this.low>>>0)},Sn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(En)){var n=en(t),r=this.div(n),i=r.mul(n).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=en(on(t,6),this.unsigned),u=this,o="";;){var f=u.div(e),s=(u.sub(f.mul(e)).toInt()>>>0).toString(t);if((u=f).isZero())return s+o;for(;s.length<6;)s="0"+s;o=""+s+o}},Sn.getHighBits=function(){return this.high},Sn.getHighBitsUnsigned=function(){return this.high>>>0},Sn.getLowBits=function(){return this.low},Sn.getLowBitsUnsigned=function(){return this.low>>>0},Sn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(En)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&!(t&1<<n);n--);return 0!=this.high?n+33:n+1},Sn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},Sn.isZero=function(){return 0===this.high&&0===this.low},Sn.eqz=Sn.isZero,Sn.isNegative=function(){return!this.unsigned&&this.high<0},Sn.isPositive=function(){return this.unsigned||this.high>=0},Sn.isOdd=function(){return!(1&~this.low)},Sn.isEven=function(){return!(1&this.low)},Sn.equals=function(t){return Qt(t)||(t=sn(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},Sn.eq=Sn.equals,Sn.notEquals=function(t){return!this.eq(t)},Sn.neq=Sn.notEquals,Sn.ne=Sn.notEquals,Sn.lessThan=function(t){return this.comp(t)<0},Sn.lt=Sn.lessThan,Sn.lessThanOrEqual=function(t){return this.comp(t)<=0},Sn.lte=Sn.lessThanOrEqual,Sn.le=Sn.lessThanOrEqual,Sn.greaterThan=function(t){return this.comp(t)>0},Sn.gt=Sn.greaterThan,Sn.greaterThanOrEqual=function(t){return this.comp(t)>=0},Sn.gte=Sn.greaterThanOrEqual,Sn.ge=Sn.greaterThanOrEqual,Sn.compare=function(t){if(Qt(t)||(t=sn(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},Sn.comp=Sn.compare,Sn.negate=function(){return!this.unsigned&&this.eq(En)?En:this.not().add(dn)},Sn.neg=Sn.negate,Sn.add=function(t){Qt(t)||(t=sn(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,c=0,a=0,h=0;return a+=(h+=e+(65535&t.low))>>>16,c+=(a+=i+f)>>>16,s+=(c+=r+o)>>>16,s+=n+u,un((a&=65535)<<16|(h&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},Sn.subtract=function(t){return Qt(t)||(t=sn(t)),this.add(t.neg())},Sn.sub=Sn.subtract,Sn.multiply=function(t){if(this.isZero())return this;if(Qt(t)||(t=sn(t)),$t)return un($t.mul(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned);if(t.isZero())return this.unsigned?_n:ln;if(this.eq(En))return t.isOdd()?En:ln;if(t.eq(En))return this.isOdd()?En:ln;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(vn)&&t.lt(vn))return en(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,c=0,a=0,h=0,v=0;return h+=(v+=e*s)>>>16,a+=(h+=i*s)>>>16,h&=65535,a+=(h+=e*f)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=i*f)>>>16,a&=65535,c+=(a+=e*o)>>>16,c+=n*s+r*f+i*o+e*u,un((h&=65535)<<16|(v&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},Sn.mul=Sn.multiply,Sn.divide=function(t){if(Qt(t)||(t=sn(t)),t.isZero())throw I("division by zero");var n,r,i;if($t)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?un((this.unsigned?$t.div_u:$t.div_s)(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?_n:ln;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return _n;if(t.gt(this.shru(1)))return yn;i=_n}else{if(this.eq(En))return t.eq(dn)||t.eq(wn)?En:t.eq(En)?dn:(n=this.shr(1).div(t).shl(1)).eq(ln)?t.isNegative()?dn:wn:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(En))return this.unsigned?_n:ln;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=ln}for(r=this;r.gte(t);){n=S.max(1,S.floor(r.toNumber()/t.toNumber()));for(var e=S.ceil(S.log(n)/S.LN2),u=e<=48?1:on(2,e-48),o=en(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=en(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=dn),i=i.add(o),r=r.sub(f)}return i},Sn.div=Sn.divide,Sn.modulo=function(t){return Qt(t)||(t=sn(t)),$t?un((this.unsigned?$t.rem_u:$t.rem_s)(this.low,this.high,t.low,t.high),$t.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},Sn.mod=Sn.modulo,Sn.rem=Sn.modulo,Sn.not=function(){return un(~this.low,~this.high,this.unsigned)},Sn.countLeadingZeros=function(){return this.high?S.clz32(this.high):S.clz32(this.low)+32},Sn.clz=Sn.countLeadingZeros,Sn.countTrailingZeros=function(){return this.low?Jt(this.low):Jt(this.high)+32},Sn.ctz=Sn.countTrailingZeros,Sn.and=function(t){return Qt(t)||(t=sn(t)),un(this.low&t.low,this.high&t.high,this.unsigned)},Sn.or=function(t){return Qt(t)||(t=sn(t)),un(this.low|t.low,this.high|t.high,this.unsigned)},Sn.xor=function(t){return Qt(t)||(t=sn(t)),un(this.low^t.low,this.high^t.high,this.unsigned)},Sn.shiftLeft=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):un(0,this.low<<t-32,this.unsigned)},Sn.shl=Sn.shiftLeft,Sn.shiftRight=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):un(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},Sn.shr=Sn.shiftRight,Sn.shiftRightUnsigned=function(t){return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?un(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):un(32===t?this.high:this.high>>>t-32,0,this.unsigned)},Sn.shru=Sn.shiftRightUnsigned,Sn.shr_u=Sn.shiftRightUnsigned,Sn.rotateLeft=function(t){var n;return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?un(this.high,this.low,this.unsigned):t<32?(n=32-t,un(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),un(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},Sn.rotl=Sn.rotateLeft,Sn.rotateRight=function(t){var n;return Qt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?un(this.high,this.low,this.unsigned):t<32?(n=32-t,un(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),un(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},Sn.rotr=Sn.rotateRight,Sn.toSigned=function(){return this.unsigned?un(this.low,this.high,!1):this},Sn.toUnsigned=function(){return this.unsigned?this:un(this.low,this.high,!0)},Sn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},Sn.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]},Sn.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]},Zt.fromBytes=function(t,n,r){return r?Zt.fromBytesLE(t,n):Zt.fromBytesBE(t,n)},Zt.fromBytesLE=function(t,n){return new Zt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Zt.fromBytesBE=function(t,n){return new Zt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)},"function"==typeof BigInt&&(Zt.fromBigInt=function(t,n){return un(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},Zt.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":m(t))?Zt.fromBigInt(t,n):sn(t,n)},Sn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var Rn=1/6,On=(Zt.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&b(h,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),kn=Xt(),Tn=Boolean(kn&&kn.webkitShowPlaybackTargetPicker),bn=function(){function t(){this.vp=void 0,this.Hp=!1,this.tn=On,this.te=!1,this.dp=!0}var n=t.prototype;return n._p=function(){return 0},n.Mp=function(t,n){return!0},n.Lp=function(t){return t>=2*Rn},vt(t,[{key:"fp",get:function(){return void 0===this.vp&&(this.vp=this._p()),this.vp}},{key:"gp",get:function(){return At.S_?"android":At.m_?"macos":At.O_?"ios":At.w_?"windows":"other"}},{key:"mp",get:function(){return At.vm?"tv":At.te?"mobile":"desktop"}},{key:"pp",get:function(){return!At.vm}},{key:"wp",get:function(){if(a.screen)return{width:a.screen.width*this.yp,height:a.screen.height*this.yp}}},{key:"yp",get:function(){return a.devicePixelRatio||1}},{key:"bp",get:function(){return Tn}},{key:"Ap",get:function(){return!1}},{key:"Sp",get:function(){return!0}},{key:"Tp",get:function(){return!!(At.Jg||At.O_||At.hg)||!!At.Rg}},{key:"kp",get:function(){return At.Rg}},{key:"Ep",get:function(){return!At.O_}},{key:"xp",get:function(){return!0}},{key:"Pp",get:function(){return!0}},{key:"Ip",get:function(){return!1}},{key:"Rp",get:function(){}},{key:"Cp",get:function(){return!0}},{key:"Dp",get:function(){return!1}},{key:"Bp",get:function(){return At.Rg}},{key:"Np",get:function(){return!1}},{key:"Op",get:function(){return!1}},{key:"Fp",get:function(){return!1}},{key:"Up",get:function(){return!0}},{key:"Vp",get:function(){return!At.J_||At.J_>=68}}]),t}(),mn=function(t){function n(){return t.call(this)||this}return at(n,t),n}(bn),An=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype.Mp=function(t,n){if(t&&t.qp&&n&&n.qp){var r=Nn(t.qp,"mp4a.40.2")&&Nn(n.qp,"mp4a.40.5"),i=Nn(t.qp,"mp4a.40.5")&&Nn(n.qp,"mp4a.40.2"),e=Nn(t.qp,"mp4a.40.2")&&Nn(n.qp,"mp4a.40.34"),u=Nn(t.qp,"mp4a.40.34")&&Nn(n.qp,"mp4a.40.2"),o=Nn(t.qp,"mp4a.40.5")&&Nn(n.qp,"mp4a.40.34"),f=Nn(t.qp,"mp4a.40.34")&&Nn(n.qp,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},vt(n,[{key:"Rp",get:function(){if(At.m_)return 4096}}]),n}(mn);function Nn(t,n){return t.indexOf(n)>-1}var Cn,Dn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype.Lp=function(t){return t>=2},n}(mn),Pn=function(t){function n(){var n;return(n=t.call(this)||this).Hp=At.$g>=11,n.dp=At.Jg&&!(At.O_&&At.$g<10),n}return at(n,t),vt(n,[{key:"Np",get:function(){return At.$g<17}},{key:"Op",get:function(){return!0}}]),n}(mn),Fn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"Cp",get:function(){return!(At.J_>=133)}}]),n}(mn);var Ln=function(){var t=zt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(At.B_)return!1;var t=zt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Mn=function(t){function n(n){var r;return(r=t.call(this)||this).Wp=void 0,r.Wp=n,r.Hp=r.Wp.Hp,r.tn=r.Wp.tn,r.dp=Ln&&r.Wp.dp,r}at(n,t);var r=n.prototype;return r._p=function(){return this.Wp.fp},r.Mp=function(t,n){return this.Wp.Mp(t,n)},r.Lp=function(t){return this.Wp.Lp(t)},vt(n,[{key:"Rp",get:function(){return this.Wp.Rp}},{key:"Cp",get:function(){return this.Wp.Cp}},{key:"Np",get:function(){return this.Wp.Np}},{key:"Vp",get:function(){return this.Wp.Vp}}]),n}(bn),Bn=function(t){function n(n){var r;return(r=t.call(this,n)||this).Hp=!0,r.te=!0,r}return at(n,t),vt(n,[{key:"Ip",get:function(){return At.O_}}]),n}(Mn);var Un=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),n.prototype._p=function(){return function(t){return t&&Pt(a.ManagedMediaSource)?a.ManagedMediaSource:Pt(a.MediaSource)?a.MediaSource:void 0}(!0)?t.prototype._p.call(this):1},vt(n,[{key:"Ip",get:function(){return!0}}]),n}(Bn),Vn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).jp=void 0,n}return at(n,t),n.prototype.Mp=function(n,r){return t.prototype.Mp.call(this,n,r)},vt(n,[{key:"Ap",get:function(){return At.vg<3}},{key:"Sp",get:function(){return At.vg>=3}},{key:"wp",get:function(){var t=this;return a.tizen&&!this.jp&&a.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t.jp={width:r,height:i})}),this.jp}},{key:"Dp",get:function(){return At.vg<3}}]),n}(Mn),Hn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).jp=void 0,n}return at(n,t),vt(n,[{key:"wp",get:function(){var t=this;return a.webOS&&!this.jp&&a.webOS.deviceInfo(function(n){t.jp={width:n.screenWidth,height:n.screenHeight}}),this.jp}},{key:"xp",get:function(){return!1}}]),n}(Mn),Wn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"Ip",get:function(){return!0}},{key:"Op",get:function(){return this.Wp.Op}}]),n}(Mn),xn=function(t){function n(){return t.apply(this,arguments)||this}return at(n,t),vt(n,[{key:"Fp",get:function(){return At.xg}}]),n}(Mn);!function(t){Cn=t}(function(){var t=function(){if(At.jg)return new An;if(At.Ug||At.Hg)return new Dn;if(At.Jg)return new Pn;if(At.Fm)return new Fn;return new mn}();return At.O_?new Un(t):At.Tg?new xn(t):At.te?new Bn(t):At.dg?new Vn(t):At.gg?new Hn(t):At.m_?new Wn(t):new Mn(t)}());var Gn=!(At.Hg&&!At.Wg),Kn=self.console;function jn(t){if(Dt(t))try{return JSON.stringify(t)}catch(t){}return t}function Yn(t){return t.map(jn).join(" ")}function qn(t){var n=Kn&&Kn[t];return n?n.bind&&Gn?n.bind(Kn):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];Kn[t](Yn(r))}:void 0}var zn=qn("log")||Ft,Xn=qn("debug")||zn.bind(void 0,"DEBUG:"),$n=qn("warn")||zn.bind(void 0,"WARNING:"),Zn=qn("error")||zn.bind(void 0,"ERROR:"),Qn=function(){var t=Kn&&Kn.assert;return t?t.bind&&Gn?t.bind(Kn):function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Kn.assert(t,Yn(r))}:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t||Zn.apply(void 0,[].concat(["Assertion failed:"],r))}}();function Jn(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),E.defineProperty(t,i.key,i)}}function tr(t,n){var r=function(t,n){var r=t.length;if(r<=1)return t;for(var i=new Array(r),e=1;e<r;e*=2){nr(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&nr(r,null,t.length,t),t}function nr(t,n,r,i){var e,u,o,f,s,c=t.length,a=0,h=2*r;for(e=0;e<c;e+=h)for(o=(u=e+r)+r,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?i[a++]=t[f++]:i[a++]=t[s++];else if(f<u)i[a++]=t[f++];else{if(!(s<o))break;i[a++]=t[s++]}}var rr=/[a-zA-Z]/,ir=/[0-9]/,er=/[0-9a-fA-F]/,ur=/^0x/i,or=/^[0-9]+$/,fr=/^[0-9a-fA-F]+$/,sr=/^[0-7]+$/,cr=E.prototype.toString,ar=Array.isArray||function(t){return"[object Array]"===cr.call(t)},hr=void 0!==n&&"symbol"==typeof i;function vr(t){return ar(t)?t:Array.from(t)}function lr(t,n,r){var i=t[n];t[n]=t[r],t[r]=i}function _r(t){return t>=65&&t<=90}function dr(t){return _r(t)||function(t){return t>=97&&t<=122}(t)}function yr(t){return t>=48&&t<=57}function wr(t){return yr(t)||dr(t)}function Ir(t){return yr(t)||t>=65&&t<=70||t>=97&&t<=102}function gr(t){return _r(t)?t+32:t}function Er(t){return yr(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function Sr(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var pr=S.min,Rr=String.fromCharCode;function Or(t){for(var n=t.length,r=[],i=0;i<n;i+=16384){var e=pr(i+16384,n);r.push(Rr.apply(null,t.slice(i,e)))}return r.join("")}var kr=2147483647,Tr=/[^\0-\x7E]/,br=/[\x2E\u3002\uFF0E\uFF61]/g,mr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ar=S.floor,Nr=String.fromCharCode;function Cr(t){throw new RangeError(mr[t])}function Dr(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var Pr,Fr,Lr,Mr=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Br=function(t,n,r){var i=0;for(t=r?Ar(t/700):t>>1,t+=Ar(t/n);t>455;i+=36)t=Ar(t/35);return Ar(i+36*t/(t+38))},Ur=function(t){return function(t,n){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]);var e=function(t,n){for(var r=[],i=t.length;i--;)r[i]=n(t[i]);return r}((t=t.replace(br,".")).split("."),n).join(".");return i+e}(t,function(t){return Tr.test(t)?"xn--"+function(t){for(var n=[],r=(t=Dr(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Nr(s))}var c=n.length,a=c;for(c&&n.push("-");a<r;){for(var h=kr,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=a+1;h-i>Ar((kr-e)/d)&&Cr("overflow"),e+=(h-i)*d,i=h;for(var y=0,w=t;y<w.length;y++){var I=w[y];if(I<i&&++e>kr&&Cr("overflow"),I==i){for(var g=e,E=36;;E+=36){var S=E<=u?1:E>=u+26?26:E-u;if(g<S)break;var p=g-S,R=36-S;n.push(Nr(Mr(S+p%R,0))),g=Ar(p/R)}n.push(Nr(Mr(g,0))),u=Br(e,d,a==c),e=0,++a}}++e,++i}return n.join("")}(t):t})};function Vr(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return Or(n)}function Hr(t){if(t>=55296&&t<=57343)throw new I("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Wr(t,n){return t>>n&63|128}function xr(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Wr(t,12)),n.push(Wr(t,6))):(Hr(t),n.push(t>>12&15|224),n.push(Wr(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Gr(t){for(var n=[],r=0;r<t.length;r++){xr(t[r],n)}return n}function Kr(){if(Lr>=Fr)throw new I("Invalid byte index");var t=255&Pr[Lr];if(Lr++,128==(192&t))return 63&t;throw new I("Invalid continuation byte")}function jr(){var t,n;if(Lr>Fr)throw new I("Invalid byte index");if(Lr===Fr)return!1;if(t=255&Pr[Lr],Lr++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Kr())>=128)return n;throw new I("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Kr()<<6|Kr())>=2048)return Hr(n),n;throw new I("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Kr()<<12|Kr()<<6|Kr())>=65536&&n<=1114111)return n;throw new I("Invalid UTF-8 detected")}function Yr(t){return[37,Sr(t>>4),Sr(15&t)]}function qr(t){return function(t){return t>=0&&t<=31}(t)||t>126}function zr(t){return qr(t)||32===t||34===t||60===t||62===t||96===t}function Xr(t){return zr(t)||35===t||63===t||123===t||125===t}function $r(t){return Xr(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Zr(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Qr(t){return Zr(t)||39===t}function Jr(t,n){if(!n(t))return[t];for(var r=Gr([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Yr(u))}return i}function ti(t,n){for(var r=[],i=0,e=Dr(t);i<e.length;i++){var u=e[i];r.push.apply(r,Jr(u,n))}return Vr(r)}function ni(t){return function(t){for(var n=[],r=t.length,i=0;i<r;i++){var e=t[i];if(37===e&&i+2<r&&Ir(t[i+1])&&Ir(t[i+2])){var u=Er(t[i+1])<<4|Er(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Gr(t))}function ri(t){return Vr(function(t){Pr=t.slice(),Fr=Pr.length,Lr=0;for(var n,r=[];!1!==(n=jr());)r.push(n);return r}(ni(Dr(t))))}function ii(t){var n=t.length,r=[0,0,0,0,0,0,0,0],i=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new g;u+=2,e=i+=1}for(;u<n;){if(8===i)throw new g("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&er.test(t[u]);)o=o<<4|p(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new g;if(u-=f,i>6)throw new g;for(var s=0;u<n;){var c=null;if(s>0){if(!("."===t[u]&&s<4))throw new g;u+=1}if(!ir.test(t[u]))throw new g;for(;u<n&&ir.test(t[u]);){var a=p(t[u],10);if(null===c)c=a;else{if(0===c)throw new g;if((c=10*c+a)>255)throw new g}u+=1}r[i]=r[i]<<8|c,2!==(s+=1)&&4!==s||(i+=1)}if(4!==s)throw new g;break}if(":"===t[u]){if((u+=1)===n)throw new g}else if(u<n)throw new g;r[i]=o,i+=1}else{if(null!==e)throw new g("Too many :: groups");u+=1,e=i+=1}}if(null!==e){var h=i-e;for(i=7;0!==i&&h>0;)lr(r,i,e+h-1),i-=1,h-=1}else if(8!==i)throw new g;return r}function ei(t){var n=10,r=or;return ur.test(t)?(t=t.slice(2),n=16,r=fr):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=sr),""===t?0:r.test(t)?p(t,n):void 0}var ui={Qp:4},oi=/[\0\t\n\r #%/:?@\[\\\]]/,fi=/[\0\t\n\r #/:?@\[\\\]]/;function si(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{Qp:2,Kp:ii(t.slice(1,-1))}}if(!n)return function(t){if(fi.test(t))throw new g("Invalid code point in opaque host");var n=ti(t,qr);return""===n?ui:{Qp:3,Yp:n}}(t);var r=function(t){var n=function(t){return Ur(t.toLowerCase())}(t);return n}(ri(t));if(oi.test(r))throw new g("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=ei(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new g;if(r[r.length-1]>=S.pow(256,5-r.length))throw new g;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*S.pow(256,3-s);return f}}(r);return void 0!==i?{Qp:1,Kp:i}:""===r?ui:{Qp:0,Jp:r}}function ci(t){switch(t.Qp){case 0:return t.Jp;case 1:return function(t){for(var n=[],r=t,i=1;i<=4;i++)n.push(""+(255&r)),4!==i&&n.push("."),r>>>=8;return n.reverse().join("")}(t.Kp);case 2:return"["+function(t){for(var n="",r=function(t){for(var n=0,r=0,i=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(i=u),e++):(e>r&&(n=i,r=e),e=0);return e>r&&(n=i,r=e),r>1?n:null}(t),i=!1,e=0;e<8;e++){if(i){if(0===t[e])continue;i=!1}r!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",i=!0)}return n}(t.Kp)+"]";case 3:return t.Yp;case 4:return""}}var ai=/\+/g;function hi(t){return 42===t||45===t||46===t||95===t||wr(t)}function vi(t){for(var n=t.split("&"),r=[],i=0;i<n.length;i++){var e=n[i];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(ai," "),f=f.replace(ai," ");var s=ri(o),c=ri(f);r.push([s,c])}}return r}function li(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=_i(Gr(Dr(i[0])))+"="+_i(Gr(Dr(i[1])))}return n}function _i(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];32===i?n.push(43):hi(i)?n.push(i):n.push.apply(n,Yr(i))}return Or(n)}var di=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function yi(t){var n=""+t,r=di.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Ii(u))if(gi(u)||e===r-1)i.push(wi);else{var o=t.charCodeAt(e+1);gi(o)?(i.push(u,o),e++):i.push(wi)}else i.push(u)}return t.slice(0,n)+Or(i)}(n,r.index):n}var wi=65533,Ii=function(t){return 55296==(63488&t)},gi=function(t){return!!(1024&t)};function Ei(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function Si(t){t.Zp.length=0}function pi(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Zp,vi(n))}function Ri(t){if(t.$p){var n=li(t.Zp);""===n&&(n=null),t.$p.$p.iw=n}}var Oi=function(){function t(t){if(void 0===t&&(t=void 0),this.$p=null,null==t)this.Zp=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof Oi&&!!ar(t.Zp)&&(!hr||t[i]===ki)}(t))this.Zp=t.Zp.slice();else if(function(t){return null!=t&&(!!ar(t)||!!hr&&"function"==typeof t[i])}(t)){this.Zp=[];for(var n=0,r=vr(t);n<r.length;n++){var e=vr(r[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.Zp.push([yi(e[0]),yi(e[1])])}}else for(var u in this.Zp=[],t)E.prototype.hasOwnProperty.call(t,u)&&this.Zp.push([yi(u),yi(t[u])]);else(t=yi(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Zp=vi(t)}var n=t.prototype;return n.append=function(t,n){t=yi(t),n=yi(n),this.Zp.push([t,n]),Ri(this)},n.delete=function(t){t=yi(t);for(var n=this.Zp,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}Ri(this)},n.get=function(t){t=yi(t);for(var n=this.Zp,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=yi(t);for(var n=this.Zp,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},n.has=function(t){t=yi(t);for(var n=this.Zp,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=yi(t),n=yi(n);for(var r=this.Zp,i=!1,e=0;e<r.length;){var u=r[e];u[0]===t?i?r.splice(e,1):(u[1]=n,i=!0,e++):e++}i||r.push([t,n]),Ri(this)},n.sort=function(){tr(this.Zp,Ei),Ri(this)},n.toString=function(){return li(this.Zp)},n.entries=function(){return new Ai(this.Zp,Ti)},n.keys=function(){return new Ai(this.Zp,bi)},n.values=function(){return new Ai(this.Zp,mi)},n.forEach=function(t){var n=this;this.Zp.forEach(function(r){return t(r[1],r[0],n)})},t}(),ki=Oi.prototype.entries;hr&&(Oi.prototype[i]=ki);var Ti=function(t){return[t[0],t[1]]},bi=function(t){return t[0]},mi=function(t){return t[1]},Ai=function(){function t(t,n){this.ew=0,this.Zp=t,this.nw=n}return t.prototype.next=function(){return this.ew<this.Zp.length?{done:!1,value:this.nw(this.Zp[this.ew++])}:{done:!0,value:void 0}},t}(),Ni="null";var Ci=E.create(null);Ci.ftp=21,Ci.file=0,Ci.gopher=70,Ci.http=80,Ci.https=443,Ci.ws=80,Ci.wss=443;var Di=/^(?:\.|%2e)$/i,Pi=/^(?:\.|%2e){2}$/i;function Fi(t){return Di.test(t)}function Li(t){return Pi.test(t)}function Mi(t){return void 0!==Ci[t]}function Bi(t){return Mi(t.ow)}function Ui(t){return""!==t.hw||""!==t.aw}function Vi(t){var n=t.length;if(!(n>=2))return!1;if(!Wi(t.slice(0,2)))return!1;if(2!==n){var r=t[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function Hi(t){return 2===t.length&&rr.test(t[0])&&(":"===t[1]||"|"===t[1])}function Wi(t){return 2===t.length&&Hi(Or(t))}function xi(t){return Hi(t)&&":"===t[1]}function Gi(t){var n=t.uw;0!==n.length&&("file"===t.ow&&1===n.length&&xi(n[0])||n.pop())}function Ki(t){return null===t.cw||ui===t.cw||t.dw||"file"===t.ow}var ji=-1,Yi=/\t|\n|\r/g,qi=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function zi(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new $i,t=t.replace(qi,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=Dr(t=t.replace(Yi,"")),a=c.length,h=0;h<=a;){var v=h<a?c[h]:ji;switch(e){case 0:if(!dr(v)){if(null===i){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(gr(v)),e=1;break;case 1:if(wr(v)||43===v||45===v||46===v)u.push(gr(v));else{if(58!==v){if(null===i){u.length=0,e=2,h=0;continue}throw new g("Invalid scheme")}var l=Vr(u);if(null!==i){if(Mi(r.ow)&&!Mi(l))return;if(!Mi(r.ow)&&Mi(l))return;if((Ui(r)||null!==r.lw)&&"file"===l)return;if("file"===r.ow&&(r.cw===ui||null===r.cw))return}if(r.ow=l,null!==i)return void(Bi(r)&&r.lw===Ci[r.ow]&&(r.lw=null));u.length=0,"file"===r.ow?e=13:Bi(r)&&n&&n.ow===r.ow?e=3:Bi(r)?e=7:47===c[h+1]?(e=4,h+=1):(r.dw=!0,r.uw.push(""),e=18)}break;case 2:if(!n||n.dw&&35!==v)throw new g("Invalid scheme");n.dw&&35===v?(r.ow=n.ow,r.uw=n.uw.slice(),r.iw=n.iw,r.fw="",r.dw=!0,e=20):"file"!==n.ow?(e=5,h-=1):(e=13,h-=1);break;case 3:47===v&&47===c[h+1]?e=8:(e=5,h-=1);break;case 4:47===v?e=9:(e=17,h-=1);break;case 5:r.ow=n.ow,ji===v?(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.iw=n.iw):47===v?e=6:63===v?(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.iw="",e=19):35===v?(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.iw=n.iw,r.fw="",e=20):92===v&&Bi(r)?e=6:(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,r.uw=n.uw.slice(),r.uw.pop(),e=17,h-=1);break;case 6:!Bi(r)||47!==v&&92!==v?47===v?e=9:(r.hw=n.hw,r.aw=n.aw,r.cw=n.cw,r.lw=n.lw,e=17,h-=1):e=8;break;case 7:if(47!==v||47!==c[h+1]){e=8;continue}e=8,h+=1;break;case 8:47!==v&&92!==v&&(e=9,h-=1);break;case 9:if(64===v){o&&u.unshift(37,52,48),o=!0;for(var _=0;_<u.length;_++){var d=u[_];if(58!==d||s){var y=Vr(Jr(d,$r));s?r.aw+=y:r.hw+=y}else s=!0}u.length=0}else if(ji===v||47===v||63===v||35===v||Bi(r)&&92===v){if(o&&0===u.length)throw new g("Invalid host");h-=u.length+1,u.length=0,e=10}else u.push(v);break;case 10:case 11:if(null!==i&&"file"===r.ow)h-=1,e=15;else if(58!==v||f)if(ji===v||47===v||63===v||35===v||Bi(r)&&92===v){if(h-=1,Bi(r)&&0===u.length)throw new g("Invalid host");if(null!==i&&0===u.length&&(Ui(r)||null!==r.lw))return;var w=si(Vr(u),Bi(r));if(r.cw=w,u.length=0,e=16,null!==i)return}else 91===v?f=!0:93===v&&(f=!1),u.push(v);else{if(0===u.length)throw new g("Invalid host");var I=si(Vr(u),Bi(r));if(r.cw=I,u.length=0,e=12,11===i)return}break;case 12:if(yr(v))u.push(v);else{if(!(ji===v||47===v||63===v||35===v||Bi(r)&&92===v||null!==i))throw new g("Invalid port");if(0!==u.length){var E=p(Vr(u),10);if(E>65535)throw new g("Invalid port");r.lw=E===Ci[r.ow]?null:E,u.length=0}if(null!==i)return;e=16,h-=1}break;case 13:r.ow="file",47===v||92===v?e=14:n&&"file"===n.ow?ji===v?(r.cw=n.cw,r.uw=n.uw.slice(),r.iw=n.iw):63===v?(r.cw=n.cw,r.uw=n.uw.slice(),r.iw="",e=19):35===v?(r.cw=n.cw,r.uw=n.uw.slice(),r.iw=n.iw,r.fw="",e=20):(Vi(c.slice(h))||(r.cw=n.cw,r.uw=n.uw.slice(),Gi(r)),e=17,h-=1):(e=17,h-=1);break;case 14:47===v||92===v?e=15:(n&&"file"===n.ow&&!Vi(c.slice(h))&&(xi(n.uw[0])?r.uw.push(n.uw[0]):r.cw=n.cw),e=17,h-=1);break;case 15:if(ji===v||47===v||92===v||63===v||35===v)if(h-=1,null===i&&Wi(u))e=17;else if(0===u.length){if(r.cw=ui,null!==i)return;e=16}else{var S=si(Vr(u),Bi(r));if(0===S.Qp&&"localhost"===S.Jp&&(S=ui),r.cw=S,null!==i)return;u.length=0,e=16}else u.push(v);break;case 16:Bi(r)?(e=17,47!==v&&92!==v&&(h-=1)):null===i&&63===v?(r.iw="",e=19):null===i&&35===v?(r.fw="",e=20):ji!==v&&(e=17,47!==v&&(h-=1));break;case 17:if(ji===v||47===v||Bi(r)&&92===v||null===i&&(63===v||35===v)){var R=Vr(u);if(Li(R)?(Gi(r),47===v||Bi(r)&&92===v||r.uw.push("")):!Fi(R)||47===v||Bi(r)&&92===v?Fi(R)||("file"===r.ow&&0===r.uw.length&&Wi(u)&&(ui!==r.cw&&null!==r.cw&&(r.cw=ui),u[1]=58,R=Vr(u)),r.uw.push(R)):r.uw.push(""),u.length=0,"file"===r.ow&&(ji===v||63===v||35===v))for(;r.uw.length>1&&""===r.uw[0];)r.uw.shift();63===v?(r.iw="",e=19):35===v&&(r.fw="",e=20)}else u.push.apply(u,Jr(v,Xr));break;case 18:63===v?(r.iw="",e=19):35===v?(r.fw="",e=20):ji!==v&&(r.uw[0]+=Vr(Jr(v,qr)));break;case 19:null===i&&35===v?(r.fw="",e=20):ji!==v&&(r.iw+=Vr(Jr(v,Bi(r)?Qr:Zr)));break;case 20:ji===v||0===v||(r.fw+=Vr(Jr(v,zr)))}h++}return r}function Xi(t,n,r,i){try{zi(t,n,r,i)}catch(t){}}var $i=function(){this.ow="",this.hw="",this.aw="",this.cw=null,this.lw=null,this.uw=[],this.iw=null,this.fw=null,this.dw=!1};function Zi(t){switch(t.ow){case"blob":var n;try{n=zi(t.uw[0],null)}catch(t){return Ni}return Zi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,r){return t+"://"+ci(n)+(null===r?"":":"+r)}(t.ow,t.cw,t.lw);default:return Ni}}var Qi=function(){function t(t,n){var r,i=null;if(null!=n)if(function(t){return null!=t&&t instanceof Qi&&"object"==typeof t.$p}(n))i=n.$p;else try{i=zi(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{r=zi(String(t),i)}catch(t){throw new g("Invalid URL: "+t.message)}var e=r.iw;this.$p=r,this.iw=function(t){var n=new Oi;return null!==t&&pi(n,t),n}(e),this.iw.$p=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,r){n&&Jn(t.prototype,n),r&&Jn(t,r)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.ow+":";if(null!==t.cw?(r+="//",Ui(t)&&(r+=t.hw,""!==t.aw&&(r+=":"+t.aw),r+="@"),r+=ci(t.cw),null!==t.lw&&(r+=":"+t.lw)):null===t.cw&&"file"===t.ow&&(r+="//"),t.dw)r+=t.uw[0];else for(var i=0,e=t.uw;i<e.length;i++)r+="/"+e[i];return null!==t.iw&&(r+="?"+t.iw),n||null===t.fw||(r+="#"+t.fw),r}(this.$p)},set:function(t){var n;try{n=zi(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.$p=n,Si(this.iw);var r=this.$p.iw;null!==r&&pi(this.iw,r)}},{key:"origin",get:function(){return Zi(this.$p)}},{key:"protocol",get:function(){return this.$p.ow+":"},set:function(t){Xi(t+":",null,this.$p,0)}},{key:"username",get:function(){return this.$p.hw},set:function(t){Ki(this.$p)||(this.$p.hw=ti(t,$r))}},{key:"password",get:function(){return this.$p.aw},set:function(t){Ki(this.$p)||(this.$p.aw=ti(t,$r))}},{key:"host",get:function(){var t=this.$p,n=t.cw;if(null===n)return"";var r=t.lw,i=ci(n);return null!==r&&(i+=":"+r),i},set:function(t){this.$p.dw||Xi(t,null,this.$p,10)}},{key:"hostname",get:function(){var t=this.$p.cw;return null===t?"":ci(t)},set:function(t){this.$p.dw||Xi(t,null,this.$p,11)}},{key:"port",get:function(){var t=this.$p.lw;return null===t?"":""+t},set:function(t){Ki(this.$p)||(""===t?this.$p.lw=null:Xi(t,null,this.$p,12))}},{key:"pathname",get:function(){var t=this.$p.uw;return this.$p.dw?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.$p.dw||(this.$p.uw.length=0,Xi(t,null,this.$p,16))}},{key:"search",get:function(){var t=this.$p.iw;return null===t||""===t?"":"?"+t},set:function(t){t=yi(t);var n=this.$p;if(""===t)return n.iw=null,void Si(this.iw);"?"===t[0]&&(t=t.slice(1)),n.iw="",Xi(t,null,n,19),pi(this.iw,t)}},{key:"searchParams",get:function(){return this.iw}},{key:"hash",get:function(){var t=this.$p.fw;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.$p.fw="",Xi(t,null,this.$p,20)):this.$p.fw=null}}]),t}();function Ji(t){return t.document&&t.document.baseURI||t.location.href||""}var te=function(){function t(){this.qm=void 0,this.Dw=new ne,this.Mw=Cn,this.Nw=function(){if(self.URL)try{var t=new self.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href}catch(t){}return!1}(),self.performance&&self.performance.now?this.qm=function(){return self.performance.now()}:this.qm=pn}var n=t.prototype;return n._w=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Xn.apply(void 0,[].concat(n))},n.gw=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];zn.apply(void 0,[].concat(n))},n.mw=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];$n.apply(void 0,[].concat(n))},n.pw=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Zn.apply(void 0,[].concat(n))},n.ww=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Qn.apply(void 0,[].concat([t],r))},n.zm=function(t,n){return _(t,n)},n.yw=function(t,n){return y(t,n)},n.Wm=function(t){d(t)},n.bw=function(t){w(t)},n.Aw=function(){return this.Sw.Aw()},n.Tw=function(){return this.Sw.Tw()},n.Ew=function(){return this.Sw.Ew()},n.xw=function(){return this.Sw.xw()},n.Pw=function(){return this.Sw.Pw()},n.Iw=function(t,n){return this.Sw.Iw(t,n)},n.Rw=function(t){return this.Sw.Rw(t)},n.Rh=function(t,n){var r;return void 0===n&&(n=Ji(a)),r="object"!==(void 0===n?"undefined":m(n))||b(n,Qi)?n:n.href,new Qi(t,r)},n.Bw=function(t,n){if(void 0===n&&(n=Ji(a)),this.Nw){var r=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,r).href}return this.Rh(t,n).href},vt(t,[{key:"Cw",get:function(){return this.Dw}},{key:"ie",get:function(){return this.Mw}},{key:"Lw",get:function(){return{Ow:l&&l.userAgent.match(/Android /i)?"Android":"other",Fw:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"Uw",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"Vw",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),ne=function(){function t(){}return vt(t,[{key:"Hw",get:function(){return l.oscpu}},{key:"ie",get:function(){return l.platform}},{key:"qw",get:function(){return l.vendor}},{key:"Ww",get:function(){return l.vendorSub}}]),t}();var re=function(){function t(){}var n=t.prototype;return n.Pw=function(){return nt.resolve(!1)},n.Tw=function(){return nt.resolve(!1)},n.xw=function(){return nt.resolve(!1)},n.Ew=function(){return nt.resolve(!1)},n.Rw=function(t){return nt.resolve(!1)},n.Iw=function(t,n){return nt.resolve(!1)},n.Aw=function(){return nt.resolve(!1)},t}(),ie=function(){function t(){}var n=t.prototype;return n.Ak=function(){},n.Xb=function(t){},n.Wb=function(t){},n.zb=function(t,n){},t}(),ee=function(t){return t.Tk="arraybuffer",t.Ek="json",t.xk="stream",t.Pk="text",t}({});var ue=function(){function t(n){var r=this;if(this.jw=void 0,this.jw={},n)if(b(n,t))n.asList().forEach(function(t){var n=t[0],i=t[1];r.append(n,i)});else if(function(t){return Dt(t)&&"function"==typeof t.forEach}(n))n.forEach(function(t,n){Array.isArray(t)&&2===t.length?r.append(t[0],t[1]):r.append(n,t)});else if(function(t){return void 0!==i&&Dt(t)&&i in t}(n))for(var e,u=_t(n);!(e=u()).done;){var o=e.value,f=o[0],s=o[1];this.append(f,s)}else E.getOwnPropertyNames(n).forEach(function(t){r.append(t,n[t])});else;}var n=t.prototype;return n.append=function(t,n){var r=t,i=n;r=oe(r),i=fe(i);var e=r.toLowerCase();if(this.jw.hasOwnProperty(e)){var u=this.jw[e],o=u[1];u[1]=o?o+", "+i:i}else this.jw[e]=[r,i]},n.delete=function(t){var n=oe(t).toLowerCase();delete this.jw[n]},n.get=function(t){var n=oe(t).toLowerCase();return this.jw.hasOwnProperty(n)?this.jw[n][1]:null},n.has=function(t){var n=oe(t).toLowerCase();return this.jw.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=oe(r)).toLowerCase();this.jw[i]=[r,fe(n)]},n.forEach=function(t,n){for(var r in this.jw)this.jw.hasOwnProperty(r)&&t.call(n,this.jw[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.jw)if(this.jw.hasOwnProperty(n)){var r=this.jw[n],i=r[0],e=r[1];t.push([i,e])}return t},n.Ik=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},n.Rk=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},n.Ck=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function oe(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new g("Invalid character in header field name");return n}function fe(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var se=function(t,n){this.Fk=void 0,this.iE=void 0,this.EE=void 0,this.$k=void 0,this.xE=void 0,this.PE=void 0,this.Zm=void 0,this.iy=void 0,this.RE=void 0,this.CE=void 0,this.rE=void 0,this.DE=void 0,this.BE=void 0,this.NE=void 0,this.LE=void 0,this.OE=void 0;var r,i,e,u,o,f,s,c,a,h,v,l,_,d,y,w,I,g,E=t.rE;n?(r=n.Fk,i=n.iE,e=n.EE,u=n.$k,o=n.xE,f=n.PE,s=n.Zm,c=n.iy,a=n.RE,h=n.CE,v=n.DE,l=n.BE,_=n.NE,d=n.LE,y=n.OE):(r=null,i={},e="GET",u=ee.Pk,o=0,f=0,c="",a="",h="",v=!1,_=void 0,d=!1,y=void 0),this.rE=E,this.Fk=t.Fk||r,this.iE=new ue(t.iE||i),this.EE=t.EE||e,this.$k=t.$k||u,this.xE=void 0!==t.xE?Number(t.xE)||0:o,this.PE=void 0!==t.PE?Number(t.PE)||0:f,this.Zm=t.Zm||s||(new qt).Zm,this.iy=t.iy||c,this.RE=t.RE||a,this.CE=t.CE||h,this.DE=void 0!==t.DE?Boolean(t.DE):v,this.BE=t.BE||l,this.NE=null!=(w=t.NE)?w:_,this.LE=null!=(I=t.LE)?I:d,this.OE=null!=(g=t.OE)?g:y},ce=function(t){return t.jE="HttpOpenError",t.QE="HttpResponseError",t.KE="HttpTimeoutError",t}({}),ae=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).YE=void 0,e.YE=n,e}return at(n,t),vt(n,[{key:"tE",get:function(){return this.YE}}]),n}(Kt),he=function(t){function n(n,r){return t.call(this,n,"Error while opening "+n.rE+".",r)||this}return at(n,t),vt(n,[{key:"name",get:function(){return ce.jE}}]),n}(ae),ve=function(){function t(){}var n=t.prototype;return n.tE=function(t){return nt.reject(new he(new se(t)))},n.FE=function(t){},n._n=function(){},t}(),le=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return at(n,t),n}(Kt),_e=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).oP=new re,n.Nq=new ve,n.i=new ie,n}return at(n,t),n.prototype.Mx=function(t){throw new le},vt(n,[{key:"Sw",get:function(){return this.oP}},{key:"hP",get:function(){return!1}},{key:"uP",get:function(){return!1}},{key:"fP",get:function(){return!1}},{key:"dP",get:function(){return!1}},{key:"vP",get:function(){return this.i}},{key:"_P",get:function(){return{gP:Ft}}},{key:"mP",get:function(){return"default"}},{key:"pP",get:function(){return"unknown"}},{key:"wP",get:function(){return!0}},{key:"ff",get:function(){return this.Nq}},{key:"bP",get:function(){return!1}}]),n}(te);!function(t){0}(new _e);var de=function(t){return t[t.MPEGTS_TO_FMP4=0]="MPEGTS_TO_FMP4",t[t.RAW_AUDIO_TO_FMP4=1]="RAW_AUDIO_TO_FMP4",t}({}),ye=function(t){return t[t.CONFIGURATION_ERROR=1e3]="CONFIGURATION_ERROR",t[t.LICENSE_ERROR=2e3]="LICENSE_ERROR",t[t.LICENSE_INVALID_DOMAIN=2001]="LICENSE_INVALID_DOMAIN",t[t.LICENSE_INVALID_SOURCE=2002]="LICENSE_INVALID_SOURCE",t[t.LICENSE_EXPIRED=2003]="LICENSE_EXPIRED",t[t.LICENSE_INVALID_FEATURE=2004]="LICENSE_INVALID_FEATURE",t[t.SOURCE_INVALID=3e3]="SOURCE_INVALID",t[t.SOURCE_NOT_SUPPORTED=3001]="SOURCE_NOT_SUPPORTED",t[t.MANIFEST_LOAD_ERROR=4e3]="MANIFEST_LOAD_ERROR",t[t.MANIFEST_CORS_ERROR=4001]="MANIFEST_CORS_ERROR",t[t.MANIFEST_PARSE_ERROR=4002]="MANIFEST_PARSE_ERROR",t[t.MEDIA_NOT_SUPPORTED=5e3]="MEDIA_NOT_SUPPORTED",t[t.MEDIA_LOAD_ERROR=5001]="MEDIA_LOAD_ERROR",t[t.MEDIA_DECODE_ERROR=5002]="MEDIA_DECODE_ERROR",t[t.MEDIA_AVPLAYER_ERROR=5003]="MEDIA_AVPLAYER_ERROR",t[t.MEDIA_ABORTED=5004]="MEDIA_ABORTED",t[t.NETWORK_ERROR=6e3]="NETWORK_ERROR",t[t.NETWORK_TIMEOUT=6001]="NETWORK_TIMEOUT",t[t.CONTENT_PROTECTION_ERROR=7e3]="CONTENT_PROTECTION_ERROR",t[t.CONTENT_PROTECTION_NOT_SUPPORTED=7001]="CONTENT_PROTECTION_NOT_SUPPORTED",t[t.CONTENT_PROTECTION_CONFIGURATION_MISSING=7002]="CONTENT_PROTECTION_CONFIGURATION_MISSING",t[t.CONTENT_PROTECTION_CONFIGURATION_INVALID=7003]="CONTENT_PROTECTION_CONFIGURATION_INVALID",t[t.CONTENT_PROTECTION_INITIALIZATION_INVALID=7004]="CONTENT_PROTECTION_INITIALIZATION_INVALID",t[t.CONTENT_PROTECTION_CERTIFICATE_ERROR=7005]="CONTENT_PROTECTION_CERTIFICATE_ERROR",t[t.CONTENT_PROTECTION_CERTIFICATE_INVALID=7006]="CONTENT_PROTECTION_CERTIFICATE_INVALID",t[t.CONTENT_PROTECTION_LICENSE_ERROR=7007]="CONTENT_PROTECTION_LICENSE_ERROR",t[t.CONTENT_PROTECTION_LICENSE_INVALID=7008]="CONTENT_PROTECTION_LICENSE_INVALID",t[t.CONTENT_PROTECTION_KEY_EXPIRED=7009]="CONTENT_PROTECTION_KEY_EXPIRED",t[t.CONTENT_PROTECTION_KEY_MISSING=7010]="CONTENT_PROTECTION_KEY_MISSING",t[t.CONTENT_PROTECTION_OUTPUT_RESTRICTED=7011]="CONTENT_PROTECTION_OUTPUT_RESTRICTED",t[t.CONTENT_PROTECTION_INTERNAL_ERROR=7012]="CONTENT_PROTECTION_INTERNAL_ERROR",t[t.SUBTITLE_LOAD_ERROR=8e3]="SUBTITLE_LOAD_ERROR",t[t.SUBTITLE_CORS_ERROR=8001]="SUBTITLE_CORS_ERROR",t[t.SUBTITLE_PARSE_ERROR=8002]="SUBTITLE_PARSE_ERROR",t[t.VR_PLATFORM_UNSUPPORTED=9e3]="VR_PLATFORM_UNSUPPORTED",t[t.VR_PRESENTATION_ERROR=9001]="VR_PRESENTATION_ERROR",t[t.AD_ERROR=1e4]="AD_ERROR",t[t.AD_BLOCKER_DETECTED=10001]="AD_BLOCKER_DETECTED",t[t.FULLSCREEN_ERROR=11e3]="FULLSCREEN_ERROR",t[t.PICTURE_IN_PICTURE_ERROR=11001]="PICTURE_IN_PICTURE_ERROR",t[t.CACHE_SOURCE_ERROR=12e3]="CACHE_SOURCE_ERROR",t[t.CACHE_CONTENT_PROTECTION_ERROR=12001]="CACHE_CONTENT_PROTECTION_ERROR",t[t.THEO_LIVE_UNKNOWN_ERROR=13e3]="THEO_LIVE_UNKNOWN_ERROR",t[t.THEO_LIVE_CHANNEL_NOT_FOUND=13001]="THEO_LIVE_CHANNEL_NOT_FOUND",t[t.THEO_LIVE_END_OF_DEMO=13002]="THEO_LIVE_END_OF_DEMO",t[t.THEO_LIVE_ANALYTICS_ERROR=13003]="THEO_LIVE_ANALYTICS_ERROR",t}({}),we=function(t){return t[t.CONFIGURATION=1]="CONFIGURATION",t[t.LICENSE=2]="LICENSE",t[t.SOURCE=3]="SOURCE",t[t.MANIFEST=4]="MANIFEST",t[t.MEDIA=5]="MEDIA",t[t.NETWORK=6]="NETWORK",t[t.CONTENT_PROTECTION=7]="CONTENT_PROTECTION",t[t.SUBTITLE=8]="SUBTITLE",t[t.VR=9]="VR",t[t.AD=10]="AD",t[t.FULLSCREEN=11]="FULLSCREEN",t[t.CACHE=12]="CACHE",t[t.THEOLIVE=13]="THEOLIVE",t}({});!function(t){t.fromCode=function(n){var r=S.floor(n/1e3);if(r in t)return r;throw new g("Invalid error code: "+n)}}(we||(we={}));var Ie=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).code=void 0,e.code=n,e}return at(n,t),vt(n,[{key:"name",get:function(){return"THEOplayerError"}},{key:"category",get:function(){return we.fromCode(this.code)}}]),n}(Kt);var ge,Ee=function(){function t(t){this.encoding=t}var n=t.prototype;return n.encode=function(t){if(!t)return new k(0);for(var n=new k(t.length),r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},n.encodeInto=function(t,n){for(var r=S.min(t.length,n.byteLength),i=0;i<r;i++)n[i]=t.charCodeAt(i);return{read:r,written:r}},t}(),Se=function(){function t(t,n){this.encoding=t,this.fatal=(null==n?void 0:n.fatal)||!1,this.ignoreBOM=(null==n?void 0:n.ignoreBOM)||!1}return t.prototype.decode=function(t,n){return t?(r=b(t,ArrayBuffer)?new k(t):new k(t.buffer,t.byteOffset,t.byteLength),String.fromCharCode.apply(void 0,r)):"";var r},t}();var pe=new Array(128).fill(void 0);function Re(t){return pe[t]}function Oe(t){return null==t}pe.push(void 0,null,!0,!1);var ke=pe.length;function Te(t){var n=Re(t);return function(t){t<132||(pe[t]=ke,ke=t)}(t),n}function be(t){ke===pe.length&&pe.push(pe.length+1);var n=ke;return ke=pe[n],pe[n]=t,n}var me=null;function Ae(){return(null===me||me.buffer.detached||me.buffer!==ge.memory.buffer)&&(me=new k(ge.memory.buffer)),me}function Ne(t,n){return t>>>=0,Ae().subarray(t/1,t/1+n)}var Ce=void 0!==Se?new Se("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:function(){throw I("TextDecoder not available")}};function De(t,n){return t>>>=0,Ce.decode(Ae().subarray(t,t+n))}void 0!==Se&&Ce.decode();var Pe=0;function Fe(t,n){var r=n(1*t.length,1)>>>0;return Ae().set(t,r/1),Pe=t.length,r}var Le=null;function Me(){return(null===Le||Le.buffer.detached||Le.buffer!==ge.memory.buffer)&&(Le=new DataView(ge.memory.buffer)),Le}var Be=void 0!==Ee?new Ee("utf-8"):{encode:function(){throw I("TextEncoder not available")}},Ue="function"==typeof Be.encodeInto?function(t,n){return Be.encodeInto(t,n)}:function(t,n){var r=Be.encode(t);return n.set(r),{read:t.length,written:r.length}};function Ve(t){try{var n=ge.__wbindgen_add_to_stack_pointer(-16);ge.mpegts_to_fmp4(n,be(t));var r=Me().getInt32(n+0,!0),i=Me().getInt32(n+4,!0);if(Me().getInt32(n+8,!0))throw Te(i);return Te(r)}finally{ge.__wbindgen_add_to_stack_pointer(16)}}function He(t){try{var n=ge.__wbindgen_add_to_stack_pointer(-16);ge.raw_audio_to_fmp4(n,be(t));var r=Me().getInt32(n+0,!0),i=Me().getInt32(n+4,!0);if(Me().getInt32(n+8,!0))throw Te(i);return Te(r)}finally{ge.__wbindgen_add_to_stack_pointer(16)}}function We(t,n){return Bt(function(){var r,i,e;return Ut(this,function(u){switch(u.label){case 0:if("function"!=typeof Response||!b(t,Response))return[3,7];if("function"!=typeof WebAssembly.instantiateStreaming)return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,WebAssembly.instantiateStreaming(t,n)];case 2:return[2,u.sent()];case 3:if(r=u.sent(),"application/wasm"==t.headers.get("Content-Type"))throw r;return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r),[3,4];case 4:return[4,t.arrayBuffer()];case 5:return i=u.sent(),[4,WebAssembly.instantiate(i,n)];case 6:return[2,u.sent()];case 7:return[4,WebAssembly.instantiate(t,n)];case 8:return b(e=u.sent(),WebAssembly.Instance)?[2,{instance:e,module:t}]:[2,e];case 9:return[2]}})})()}function xe(){var t={wbg:{}};return t.wbg.__wbg_audiopid_cf63a2881fb603de=function(t){var n=Re(t).audio_pid;return Oe(n)?16777215:n},t.wbg.__wbg_createoutput_f81a086f372d422e=function(t,n){var r=function(t,n){return{data:t,metadata:n}}(Te(t),Te(n));return be(r)},t.wbg.__wbg_createoutputdata_f9352c5065ea01aa=function(t,n,r,i,e,u,o,f){var s,c,a,h;0!==t&&(s=Ne(t,n).slice(),ge.__wbindgen_export_0(t,1*n,1)),0!==r&&(c=Ne(r,i).slice(),ge.__wbindgen_export_0(r,1*i,1)),0!==e&&(a=Ne(e,u).slice(),ge.__wbindgen_export_0(e,1*u,1)),0!==o&&(h=Ne(o,f).slice(),ge.__wbindgen_export_0(o,1*f,1));var v=function(t,n,r,i){return{video_init:t,audio_init:n,video_media:r,audio_media:i}}(s,c,a,h);return be(v)},t.wbg.__wbg_createoutputmetadata_79a74f7d3aafd2c5=function(t,n,r,i,e,u,o,f,s,c,a,h,v,l,_,d){var y,w,I,g;0!==r&&(y=De(r,i).slice(),ge.__wbindgen_export_0(r,1*i,1)),0!==e&&(w=De(e,u).slice(),ge.__wbindgen_export_0(e,1*u,1)),0!==o&&(I=Ne(o,f).slice(),ge.__wbindgen_export_0(o,1*f,1)),0!==s&&(g=Ne(s,c).slice(),ge.__wbindgen_export_0(s,1*c,1));var E=function(t,n,r,i,e,u,o,f,s,c,a){return{video_pid:t,audio_pid:n,video_codec:r,audio_codec:i,sps_nal:e,pps_nal:u,first_decode_timestamp:o,first_presentation_timestamp:f,first_video_presentation_timestamp:s,program_map_table_pid:c,video_frame_rate:a}}(16777215===t?void 0:t,16777215===n?void 0:n,y,w,I,g,Te(a),Te(h),Te(v),16777215===l?void 0:l,0===_?void 0:d);return be(E)},t.wbg.__wbg_createtimestampwithbase_9f3b56a7f281a060=function(t,n,r){var i=function(t,n,r){return{low:t,high:n,base:r}}(t>>>0,n>>>0,r>>>0);return be(i)},t.wbg.__wbg_data_0dfa593a0aa2e64c=function(t,n){var r=Fe(Re(n).data,ge.__wbindgen_export_1),i=Pe;Me().setInt32(t+4,i,!0),Me().setInt32(t+0,r,!0)},t.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,n){var r,i;try{r=t,i=n,console.error(De(t,n))}finally{ge.__wbindgen_export_0(r,i,1)}},t.wbg.__wbg_metadata_262906c02690f219=function(t){var n=Re(t).metadata;return Oe(n)?0:be(n)},t.wbg.__wbg_new_8a6f238a6ece86ea=function(){return be(new I)},t.wbg.__wbg_ppsnal_24d7d831a1284b13=function(t,n){var r=Re(n).pps_nal,i=Oe(r)?0:Fe(r,ge.__wbindgen_export_1),e=Pe;Me().setInt32(t+4,e,!0),Me().setInt32(t+0,i,!0)},t.wbg.__wbg_programmaptablepid_2bf8112d9d4d8cb1=function(t){var n=Re(t).program_map_table_pid;return Oe(n)?16777215:n},t.wbg.__wbg_spsnal_b5454d39031feeca=function(t,n){var r=Re(n).sps_nal,i=Oe(r)?0:Fe(r,ge.__wbindgen_export_1),e=Pe;Me().setInt32(t+4,e,!0),Me().setInt32(t+0,i,!0)},t.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,n){var r=function(t,n,r){if(void 0===r){var i=Be.encode(t),e=n(i.length,1)>>>0;return Ae().subarray(e,e+i.length).set(i),Pe=i.length,e}for(var u=t.length,o=n(u,1)>>>0,f=Ae(),s=0;s<u;s++){var c=t.charCodeAt(s);if(c>127)break;f[o+s]=c}if(s!==u){0!==s&&(t=t.slice(s)),o=r(o,u,u=s+3*t.length,1)>>>0;var a=Ae().subarray(o+s,o+u);o=r(o,u,s+=Ue(t,a).written,1)>>>0}return Pe=s,o}(Re(n).stack,ge.__wbindgen_export_1,ge.__wbindgen_export_2),i=Pe;Me().setInt32(t+4,i,!0),Me().setInt32(t+0,r,!0)},t.wbg.__wbg_videopid_60d3be6c566fc051=function(t){var n=Re(t).video_pid;return Oe(n)?16777215:n},t.wbg.__wbindgen_object_drop_ref=function(t){Te(t)},t.wbg.__wbindgen_string_new=function(t,n){return be(De(t,n))},t}function Ge(t,n){return ge=t.exports,Ke.__wbindgen_wasm_module=n,Le=null,me=null,ge.__wbindgen_start(),ge}function Ke(t){return Bt(function(){var n,r,i,e;return Ut(this,function(u){switch(u.label){case 0:return void 0!==ge?[2,ge]:(void 0!==t&&(E.getPrototypeOf(t)===E.prototype?t=t.module_or_path:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t&&(t=new URL("theomux_bg.wasm",void 0)),n=xe(),("string"==typeof t||"function"==typeof Request&&b(t,Request)||"function"==typeof URL&&b(t,URL))&&(t=fetch(t)),[4,t]);case 1:return[4,We.apply(void 0,[u.sent(),n])];case 2:return r=u.sent(),i=r.instance,e=r.module,[2,Ge(i,e)]}})})()}function je(t){return Bt(function(){var n,r;return Ut(this,function(i){switch(i.label){case 0:return b(t,WebAssembly.Module)?n=t:(r="string"==typeof t?new URL(t):t,n="http:"===r.protocol||"https:"===r.protocol?fetch(r.href):function(t){return new nt(function(n,r){var i=new T;i.onload=function(){n(i.response||new ArrayBuffer(0))},i.onerror=function(){r(new g('Failed to fetch "'+t+'", status '+i.status))},i.open("GET",t,!0),i.responseType="arraybuffer",i.send()})}(r.href)),[4,Ke({module_or_path:n})];case 1:return i.sent(),[2,{mpegts_to_fmp4:Ve,raw_audio_to_fmp4:He}]}})})()}var Ye=new URL("./THEOplayer.transmux.wasm",v.href);!function(t){var n,r=nt.resolve(t()).then(function(t){n=t,r=void 0,self.postMessage({nZt:"11.6.1"})},function(t){var n=t,r={success:!1,error:n.message,errorCode:b(n,Ie)?n.code:ye.MEDIA_DECODE_ERROR};self.postMessage(r)});self.addEventListener("message",function(t){var i=t.data.id;(function(t){return Bt(function(){var i,e,u,o,f,s;return Ut(this,function(c){switch(c.label){case 0:return void 0===r?[3,2]:[4,r];case 1:c.sent(),c.label=2;case 2:if(u=t.id,t.type===de.MPEGTS_TO_FMP4)o=n.mpegts_to_fmp4(t.input);else{if(t.type!==de.RAW_AUDIO_TO_FMP4)throw new I("Unknown request type: "+t.type);o=n.raw_audio_to_fmp4(t.input)}return f={success:!0,requestId:u,output:o},s=[null==(i=t.input.metadata)?void 0:i.sps_nal,null==(e=t.input.metadata)?void 0:e.pps_nal,t.input.data,o.data.video_init,o.data.audio_init,o.data.video_media,o.data.audio_media].filter(Ct).map(function(t){return t.buffer}),self.postMessage(f,s),[2]}})})()})(t.data).catch(function(t){var n=t,r={success:!1,requestId:i,error:n.message,errorCode:b(n,Ie)?n.code:ye.MEDIA_DECODE_ERROR};self.postMessage(r)})})}(function(){return je(Ye)})}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof a?a:"undefined"!=typeof global?global:this);
|
|
31
31
|
//# sourceMappingURL=THEOplayer.transmux.js.map
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@theoplayer/extended",
|
|
3
3
|
"main": "THEOplayer.js",
|
|
4
4
|
"types": "THEOplayer.d.ts",
|
|
5
|
-
"version": "11.6.
|
|
5
|
+
"version": "11.6.1",
|
|
6
6
|
"description": "THEOplayer is the universal video player solution, enabling you to quickly deliver cross-platform content playback.",
|
|
7
7
|
"author": "THEO Technologies",
|
|
8
8
|
"homepage": "https://www.theoplayer.com/",
|