@theoplayer/theoads 11.13.0 → 11.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THEOplayer.chromeless.d.ts +4 -3
- package/THEOplayer.chromeless.esm.js +3 -4
- package/THEOplayer.chromeless.js +21 -4
- package/THEOplayer.common.d.ts +9738 -9884
- package/THEOplayer.common.esm.js +43 -5
- package/THEOplayer.d.ts +193 -199
- package/THEOplayer.esm.js +60 -5
- package/THEOplayer.js +27 -4
- package/THEOplayer.transmux.asmjs.js +21 -4
- package/THEOplayer.transmux.js +21 -4
- package/package.json +1 -1
- package/theoplayer.d.js +21 -4
package/THEOplayer.transmux.js
CHANGED
|
@@ -24,7 +24,24 @@
|
|
|
24
24
|
THEOplayer is based on patented technology developed by
|
|
25
25
|
THEO Technologies (https://www.theoplayer.com).
|
|
26
26
|
|
|
27
|
-
Version: 11.
|
|
28
|
-
Created: 2026-10-
|
|
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),R=t.Math,S=t.parseInt,O=t.parseFloat,p=t.isNaN,T=t.Uint8Array,k=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest);function m(t,r){return null!=r&&void 0!==n&&r[n.hasInstance]?!!r[n.hasInstance](t):t instanceof r}function b(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}function N(t,n){this.name="AggregateError",this.errors=t,this.message=n||""}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,r=null!==(o=Symbol.for)&&void 0!==o?o:Symbol,i=Symbol.iterator,e=null!==(f=Symbol.dispose)&&void 0!==f?f:r("Symbol.dispose"),u=null!==(s=Symbol.asyncDispose)&&void 0!==s?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),N.prototype=I.prototype;var A=_;function C(t){return Boolean(t&&void 0!==t.length)}function D(){}function P(t){if(!m(this,P))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Oa=0,this.UI=!1,this.QIt=void 0,this.tOi=[],U(t,this)}function F(t,n){for(;3===t.Oa;)t=t.QIt;0!==t.Oa?(t.UI=!0,P.iOi(function(){var r=1===t.Oa?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.QIt)}catch(t){return void M(n.promise,t)}L(n.promise,i)}else(1===t.Oa?L:M)(n.promise,t.QIt)})):t.tOi.push(n)}function L(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":b(n))||"function"==typeof n)){var r=n.then;if(m(n,P))return t.Oa=3,t.QIt=n,void B(t);if("function"==typeof r)return void U(function(t,n){return function(){t.apply(n,arguments)}}(r,n),t)}t.Oa=1,t.QIt=n,B(t)}catch(n){M(t,n)}}function M(t,n){t.Oa=2,t.QIt=n,B(t)}function B(t){2===t.Oa&&0===t.tOi.length&&P.iOi(function(){t.UI||P.nOi(t.QIt)});for(var n=0,r=t.tOi.length;n<r;n++)F(t,t.tOi[n]);t.tOi=null}function V(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,L(n,t))},function(t){r||(r=!0,M(n,t))})}catch(t){if(r)return;r=!0,M(n,t)}}P.prototype.catch=function(t){return this.then(null,t)},P.prototype.then=function(t,n){var r=new this.constructor(D);return F(this,new V(t,n,r)),r},P.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)})})},P.all=function(t){return new P(function(n,r){if(!C(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":b(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])})},P.any=function(t){var n=this;return new n(function(r,i){if(!t||void 0===t.length)return i(new g("Promise.any accepts an array"));var e=Array.prototype.slice.call(t);if(0===e.length)return i();for(var u=[],o=0;o<e.length;o++)try{n.resolve(e[o]).then(r).catch(function(t){u.push(t),u.length===e.length&&i(new N(u,"All promises were rejected"))})}catch(t){i(t)}})},P.allSettled=function(t){return new this(function(n,r){if(!t||void 0===t.length)return r(new g((void 0===t?"undefined":b(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":b(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])})},P.resolve=function(t){return t&&"object"===(void 0===t?"undefined":b(t))&&t.constructor===P?t:new P(function(n){n(t)})},P.reject=function(t){return new P(function(n,r){r(t)})},P.race=function(t){return new P(function(n,r){if(!C(t))return r(new g("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)P.resolve(t[i]).then(n,r)})},P.iOi="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){A(t,0)},P.nOi=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var H=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),W=l?l.userAgent:"",x=W.match(/Firefox\/([0-9]+)/i),G=null!=x,K=x?Number(x[1]):0,j=W.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Y=null!=j,z=j?Number(j[3]):0,q=function(){function t(t){this.zb=0,this.Hd=0,this.wm=[],this.rOi=t}var n=t.prototype;return n.eOi=function(t){var n=this.length();this.sOi(n+1);var r=this.Hd+n&this.rOi-1;this.wm[r]=t,this.zb=n+1},n.push=function(t){var n=this.length()+1;if(this.rOi<n)this.eOi(t);else{var r=this.Hd+n-1,i=this.rOi-1;this.wm[r&i]=t,this.zb=n}},n.shift=function(){var t=this.Hd,n=this.wm[t];return this.wm[t]=void 0,this.Hd=t+1&this.rOi-1,this.zb--,n},n.length=function(){return this.zb},n.sOi=function(t){this.rOi<t&&this.uOi(this.rOi<<1)},n.uOi=function(t){var n=this.rOi;this.rOi=t;var r=this.Hd+this.zb&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.wm,0,n,r)},t}();function X(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n,r=H;return r?(n="function"==typeof r.resolve?r.resolve():new r(function(t){return t()}),function(t){return n.then(t)}):void 0}var $="unhandledrejection",Z=self.PromiseRejectionEvent,Q=self.CustomEvent;function J(t){return new Z($,{reason:t,promise:H.reject(t).catch(function(){}),cancelable:!0})}function tt(t){var n=new Q($,{detail:{reason:t},cancelable:!0});return E.defineProperty(n,"reason",{value:t}),n}function nt(t){var n=h.createEvent("CustomEvent");return n.initCustomEvent($,!1,!0,{reason:t}),n}var rt,it,et,ut,ot,ft,st,ct,at=function(t){return at=function(){try{var t=H.resolve(),n="error",r=new Z($,{reason:n,promise:t});return $===r.type&&n===r.reason}catch(t){}return!1}()?J:function(){try{var t="error",n=new Q($,{detail:{reason:t}});return $===n.type&&t===n.detail.reason}catch(t){}return!1}()?tt:nt,at(t)};function ht(t,n){return ht=E.setPrototypeOf||function(t,n){return t.__proto__=n,t},ht(t,n)}function vt(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&&ht(t,n)}function lt(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),E.defineProperty(t,i.key,i)}}function _t(t,n,r){return n&<(t.prototype,n),r&<(t,r),t}function dt(t,r){return null!=r&&void 0!==n&&r[n.hasInstance]?!!r[n.hasInstance](t):t instanceof r}function yt(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 wt(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 yt(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)?yt(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.")}H&&!(G&&K<60||Y&&z<15)?(rt=H,X()):(rt=P,st=null!=(ft=X())?ft:P.iOi,it=st,et=new q(16),ut=!1,(ct={o7:function(t){et.push(t),ut||(ut=!0,it(ot))},TZ:ot=function(){for(;et.length()>0;)et.shift()();ut=!1}}).o7,P.iOi=ct.o7,P.nOi=function(t){try{var n=at(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}_(function(){throw new I("Unhandled promise rejection: "+t)},0)});var It=function(t){return t.Iv="web",t.Rv="android",t.Dv="android-tv",t.Nv="ios",t.Bv="tvos",t.Mv="chromecast",t.Lv="theoliveweb",t}({});var gt=l?l.userAgent:"",Et=gt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),Rt=gt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),St=gt.match(/Android ([0-9\.]+)/i),Ot=gt.match(/Windows NT ([0-9\.]+)/i),pt=gt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Tt=gt.match(/Firefox\/([0-9\.]+)/i),kt=gt.match(/OPR\/(\d+\.\d+)/i),mt=gt.match(/Tizen ([0-9\.]+)/i),bt=gt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),Nt=gt.match(/HbbTV\/([0-9.]+)/i),At=gt.match(/(AFT.*) Build/i),Ct=function(){function t(){this.Ov=Boolean("ontouchstart"in self||self.DocumentTouch&&dt(h,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.Uv=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(gt)||/(macintosh|mac(?=_powerpc)\s)/i.test(gt),this.Hv=/Windows NT/i.test(gt),this.qv=Ot?O(Ot[1]):0,this.Gv=/Android/i.test(gt),this.Kv=St?O(St[1]):0,this.Yv=/windows phone (8|8\.1)/i.test(gt),this.Zv=/iPhone/i.test(gt),this.t_=/iPad/i.test(gt),this.s_=this.Uv&&this.Ov&&!this.t_,this.n_=/iPod/i.test(gt),this.d_=/Mobile Safari/i.test(gt),this.u_=/EOS\d*STB/i.test(gt),this.c_=/APP\d*STB/i.test(gt),this.r_=(this.Zv||this.t_||this.s_||this.n_)&&!this.Yv,this.h_=bt?O(bt[2]):0,this.l_=this.Yv||this.r_||this.Gv||this.d_,this.v_=/CriOS/i.test(gt),this.g_=Boolean(self.chrome&&/google/i.test(l.vendor))||this.v_,this.b_=this.g_&&/Edg\//i.test(l.userAgent),this.S_=Rt?S(Rt[1],10):0,this.Zg=Boolean(/CriOS/i.test(gt)),this.Jg=Boolean(self.chrome||/Chrome/i.test(gt)||this.Zg),this.w_=Et?S(Et[1],10):0,this.E_=/SMART-TV.*Tizen/i.test(gt),this.P_=mt?O(mt[1]):0,this.m_=this.P_>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.P_):void 0,this.I_=/webos|web0s/i.test(gt),this.D_=/HbbTV/i.test(gt),this.B_=!!Nt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(Nt[1]),this.L_=/AFT.* Build/i.test(gt),this.F_=At?At[1]:void 0,this.H_=/VIZIO/i.test(gt),this.Y_=/Edge\/\d+/i.test(gt),this.Z_=/Trident/i.test(gt),this.rg=this.Z_&&!self.ActiveXObject&&"ActiveXObject"in self,this.hg=/Vivaldi/i.test(gt),this.cg=/Firefox/i.test(gt)&&!/Seamonkey/i.test(gt),this.fg=Tt?O(Tt[1]):0,this._g=/Safari/i.test(gt)&&!/Chrome/i.test(gt)&&!this.Yv&&!this.E_,this.pg=pt?O(pt[2]):0,this.yg=Boolean(kt),this.Sg=kt?O(kt[1]):0,this.q_=/Sky_STB/i.test(gt),this.G_=/Sky_TV/i.test(gt),this.K_=/Sky_OTT/i.test(gt),this.Eg=/CrKey/.test(gt),this.Pg=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(gt)||this.q_,this.Rg=/OculusBrowser|Meta Quest/i.test(gt),this.Ng=/PlayStation 4/i.test(gt),this.Mg=/PlayStation 5/i.test(gt),this.Og=/VirginMedia_STB/i.test(gt),this.Ug="web"===It.Dv,this.Hg="web"===It.Rv,this.qg=this.Hg||this.Ug,this.Gg="web"===It.Nv,this.Kg="web"===It.Bv,this.Qg="web"===It.Mv}return _t(t,[{key:"Ke",get:function(){return this.Ov}},{key:"Fv",get:function(){return this.Uv}},{key:"Vv",get:function(){return this.Hv}},{key:"Wv",get:function(){return this.qv}},{key:"zv",get:function(){return this.Gv}},{key:"Xv",get:function(){return this.Kv}},{key:"Qv",get:function(){return this.Yv}},{key:"Jv",get:function(){return this.Zv}},{key:"$v",get:function(){return this.t_}},{key:"i_",get:function(){return this.s_}},{key:"e_",get:function(){return this.n_}},{key:"ou",get:function(){return this.r_}},{key:"o_",get:function(){return this.h_}},{key:"a_",get:function(){return this.u_||this.c_}},{key:"Dd",get:function(){return this.d_}},{key:"Ks",get:function(){return this.l_}},{key:"f_",get:function(){return this.v_}},{key:"__",get:function(){return this.g_}},{key:"p_",get:function(){var t;return null!==(t=this.m_)&&void 0!==t?t:this.w_}},{key:"y_",get:function(){return this.b_}},{key:"A_",get:function(){var t;return(null==(t=a.chrome)?void 0:t.webview)&&this.S_>0}},{key:"T_",get:function(){return this.S_}},{key:"k_",get:function(){return this.E_}},{key:"x_",get:function(){return this.P_}},{key:"C_",get:function(){return this.I_}},{key:"R_",get:function(){return this.D_}},{key:"N_",get:function(){return this.B_}},{key:"M_",get:function(){return this.L_}},{key:"O_",get:function(){return"AFTMM"===this.F_}},{key:"U_",get:function(){return"AFTM"===this.F_}},{key:"V_",get:function(){return this.H_}},{key:"W_",get:function(){return this.q_}},{key:"z_",get:function(){return this.G_}},{key:"X_",get:function(){return this.K_}},{key:"j_",get:function(){return this.W_||this.X_||this.z_}},{key:"Q_",get:function(){return this.Y_}},{key:"J_",get:function(){return this.Z_}},{key:"eg",get:function(){return this.rg}},{key:"og",get:function(){return this.hg}},{key:"ag",get:function(){return this.cg}},{key:"dg",get:function(){return this.fg}},{key:"vg",get:function(){return this._g}},{key:"gg",get:function(){return 0===this.pg&&Dt.ou?this.h_: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 this.Pg}},{key:"Cg",get:function(){return!(!this.C_&&!this.k_)&&this.p_<=56}},{key:"Ig",get:function(){return this.Rg}},{key:"Dg",get:function(){return this.Ng}},{key:"Bg",get:function(){return this.Mg}},{key:"Lg",get:function(){return this.Og}},{key:"Fg",get:function(){return this.Ug}},{key:"Vg",get:function(){return this.Hg}},{key:"Wg",get:function(){return this.qg}},{key:"zg",get:function(){return this.Gg}},{key:"Xg",get:function(){return this.Kg}},{key:"jg",get:function(){return this.Qg}},{key:"Yg",get:function(){return this.Jg}},{key:"IS_IOS_CHROME",get:function(){return this.Zg}}]),t}();Ct.$g=new Ct;var Dt=Ct.$g;function Pt(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}function Ft(t){return null!=t}function Lt(t){return"object"===(void 0===t?"undefined":Pt(t))&&null!==t}function Mt(t){return function(t){return"function"==typeof t}(t)||Lt(t)}var Bt=function(){};function Vt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}function Ut(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):rt.resolve(s).then(i,e)}function Ht(t){return function(){var n=this,r=arguments;return new rt(function(i,e){var u=t.apply(n,r);function o(t){Ut(u,i,e,o,f,"next",t)}function f(t){Ut(u,i,e,o,f,"throw",t)}o(void 0)})}}function Wt(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),c=E.defineProperty;return c(s,"next",{value:a(0)}),c(s,"throw",{value:a(1)}),c(s,"return",{value:a(2)}),"function"==typeof n&&c(s,i,{value:function(){return this}}),s;function a(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])}}}R.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var xt="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},Gt="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 Kt(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 jt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Yt=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];I.apply(this,n)};(Yt.prototype=E.create(I.prototype)).constructor=Yt;var zt=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 vt(n,t),_t(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Yt),qt=function(t){function n(n,r){return t.call(this,n||"Aborted",r)||this}return vt(n,t),_t(n,[{key:"name",get:function(){return"AbortError"}}]),n}(zt),Xt=function(){function t(){this.hp=!1,this.vp=!1,this.ap=void 0,this._p=[],this.pp=[]}var n=t.prototype;return n.fp=function(t){if(!this.hp&&!this.vp){this.hp=!0,this.ap=null!=t?t:new qt;for(var n,r=wt(this._p.slice());!(n=r()).done;){(0,n.value)()}this.gp()}},n.gp=function(){if(!this.vp){this.vp=!0;for(var t,n=wt(this.pp.slice());!(t=n()).done;){(0,t.value)()}jt(this._p),jt(this.pp)}},n.op=function(){if(this.hp)throw this.ap},n.dp=function(t){this.vp||this._p.push(t)},n.cp=function(t){this.vp||Kt(this._p,t)},n.mp=function(t){this.vp||this.pp.push(t)},n.wp=function(t){this.vp||Kt(this.pp,t)},t}(),$t=function(){function t(){this.yp=new Xt}var n=t.prototype;return n.bp=function(t){this.yp.fp(t)},n.gp=function(){this.yp.gp()},n.Ap=function(t){var n=this.yp;if(!n.hp)if(t.hp)n.fp(t.ap);else if(!n.vp&&!t.vp){var r=function(){i(),n.fp(t.ap)},i=function(){t.cp(r),t.wp(i),n.cp(r),n.wp(i)};t.dp(r),t.mp(i),n.dp(r),n.mp(i)}},n.Sp=function(){var n=new t,r=new t,i=n.lp,e=r.lp,u=this.yp,o=function(){i.hp&&e.vp?u.fp(i.ap):e.hp&&i.vp?u.fp(e.ap):i.vp&&e.vp&&u.gp()};i.dp(o),e.dp(o),i.mp(o),e.mp(o),n.Ap(u),r.Ap(u);return u.mp(function(){i.cp(o),e.cp(o),i.wp(o),e.wp(o)}),[n,r]},n[e]=function(){this.bp()},t.Tp=function(n){for(var r,i=new t,e=wt(n);!(r=e()).done;){var u=r.value;void 0!==u&&i.Ap(u)}return i},_t(t,[{key:"lp",get:function(){return this.yp}}]),t}();rt.resolve();function Zt(){return void 0!==h?h.createElement("video"):void 0}var Qt=Vt(Zt),Jt=(Vt(function(){return"undefined"!=typeof HTMLVideoElement&&dt(Qt(),HTMLVideoElement)}),null);try{Jt=new WebAssembly.Instance(new WebAssembly.Module(new T([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(it){}function tn(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function nn(t){return!0===(t&&t.Ep)}function rn(t){var n=R.clz32(t&-t);return t?31-n:n}tn.prototype.Ep,E.defineProperty(tn.prototype,"Ep",{value:!0}),tn.isLong=nn;var en={},un={};function on(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=un[t])?i:(r=sn(t,0,!0),e&&(un[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=en[t])?i:(r=sn(t,t<0?-1:0,!1),e&&(en[t]=r),r)}function fn(t,n){if(p(t))return n?wn:yn;if(n){if(t<0)return wn;if(t>=ln)return Sn}else{if(t<=-_n)return On;if(t+1>=_n)return Rn}return t<0?fn(-t,n).neg():sn(t%vn|0,t/vn|0,n)}function sn(t,n,r){return new tn(t,n,r)}tn.fromInt=on,tn.fromNumber=fn,tn.fromBits=sn;var cn=R.pow;function an(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?wn:yn;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 an(t.substring(1),n,r).neg();for(var e=fn(cn(r,8)),u=yn,o=0;o<t.length;o+=8){var f=R.min(8,t.length-o),s=S(t.substring(o,o+f),r);if(f<8){var c=fn(cn(r,f));u=u.mul(c).add(fn(s))}else u=(u=u.mul(e)).add(fn(s))}return u.unsigned=n,u}function hn(t,n){return"number"==typeof t?fn(t,n):"string"==typeof t?an(t,n):sn(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}tn.fromString=an,tn.fromValue=hn;var vn=4294967296,ln=vn*vn,_n=ln/2,dn=on(1<<24),yn=on(0);tn.ZERO=yn;var wn=on(0,!0);tn.UZERO=wn;var In=on(1);tn.ONE=In;var gn=on(1,!0);tn.UONE=gn;var En=on(-1);tn.NEG_ONE=En;var Rn=sn(-1,2147483647,!1);tn.MAX_VALUE=Rn;var Sn=sn(-1,-1,!0);tn.MAX_UNSIGNED_VALUE=Sn;var On=sn(0,-2147483648,!1);tn.MIN_VALUE=On;var pn=tn.prototype;function Tn(){return Date.now()||(new Date).getTime()}pn.toInt=function(){return this.unsigned?this.low>>>0:this.low},pn.toNumber=function(){return this.unsigned?(this.high>>>0)*vn+(this.low>>>0):this.high*vn+(this.low>>>0)},pn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(On)){var n=fn(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=fn(cn(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}},pn.getHighBits=function(){return this.high},pn.getHighBitsUnsigned=function(){return this.high>>>0},pn.getLowBits=function(){return this.low},pn.getLowBitsUnsigned=function(){return this.low>>>0},pn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(On)?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},pn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},pn.isZero=function(){return 0===this.high&&0===this.low},pn.eqz=pn.isZero,pn.isNegative=function(){return!this.unsigned&&this.high<0},pn.isPositive=function(){return this.unsigned||this.high>=0},pn.isOdd=function(){return!(1&~this.low)},pn.isEven=function(){return!(1&this.low)},pn.equals=function(t){return nn(t)||(t=hn(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},pn.eq=pn.equals,pn.notEquals=function(t){return!this.eq(t)},pn.neq=pn.notEquals,pn.ne=pn.notEquals,pn.lessThan=function(t){return this.comp(t)<0},pn.lt=pn.lessThan,pn.lessThanOrEqual=function(t){return this.comp(t)<=0},pn.lte=pn.lessThanOrEqual,pn.le=pn.lessThanOrEqual,pn.greaterThan=function(t){return this.comp(t)>0},pn.gt=pn.greaterThan,pn.greaterThanOrEqual=function(t){return this.comp(t)>=0},pn.gte=pn.greaterThanOrEqual,pn.ge=pn.greaterThanOrEqual,pn.compare=function(t){if(nn(t)||(t=hn(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},pn.comp=pn.compare,pn.negate=function(){return!this.unsigned&&this.eq(On)?On:this.not().add(In)},pn.neg=pn.negate,pn.add=function(t){nn(t)||(t=hn(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,sn((a&=65535)<<16|(h&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},pn.subtract=function(t){return nn(t)||(t=hn(t)),this.add(t.neg())},pn.sub=pn.subtract,pn.multiply=function(t){if(this.isZero())return this;if(nn(t)||(t=hn(t)),Jt)return sn(Jt.mul(this.low,this.high,t.low,t.high),Jt.get_high(),this.unsigned);if(t.isZero())return this.unsigned?wn:yn;if(this.eq(On))return t.isOdd()?On:yn;if(t.eq(On))return this.isOdd()?On:yn;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(dn)&&t.lt(dn))return fn(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,sn((h&=65535)<<16|(v&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},pn.mul=pn.multiply,pn.divide=function(t){if(nn(t)||(t=hn(t)),t.isZero())throw I("division by zero");var n,r,i;if(Jt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?sn((this.unsigned?Jt.div_u:Jt.div_s)(this.low,this.high,t.low,t.high),Jt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?wn:yn;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return wn;if(t.gt(this.shru(1)))return gn;i=wn}else{if(this.eq(On))return t.eq(In)||t.eq(En)?On:t.eq(On)?In:(n=this.shr(1).div(t).shl(1)).eq(yn)?t.isNegative()?In:En:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(On))return this.unsigned?wn:yn;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=yn}for(r=this;r.gte(t);){n=R.max(1,R.floor(r.toNumber()/t.toNumber()));for(var e=R.ceil(R.log(n)/R.LN2),u=e<=48?1:cn(2,e-48),o=fn(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=fn(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=In),i=i.add(o),r=r.sub(f)}return i},pn.div=pn.divide,pn.modulo=function(t){return nn(t)||(t=hn(t)),Jt?sn((this.unsigned?Jt.rem_u:Jt.rem_s)(this.low,this.high,t.low,t.high),Jt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},pn.mod=pn.modulo,pn.rem=pn.modulo,pn.not=function(){return sn(~this.low,~this.high,this.unsigned)},pn.countLeadingZeros=function(){return this.high?R.clz32(this.high):R.clz32(this.low)+32},pn.clz=pn.countLeadingZeros,pn.countTrailingZeros=function(){return this.low?rn(this.low):rn(this.high)+32},pn.ctz=pn.countTrailingZeros,pn.and=function(t){return nn(t)||(t=hn(t)),sn(this.low&t.low,this.high&t.high,this.unsigned)},pn.or=function(t){return nn(t)||(t=hn(t)),sn(this.low|t.low,this.high|t.high,this.unsigned)},pn.xor=function(t){return nn(t)||(t=hn(t)),sn(this.low^t.low,this.high^t.high,this.unsigned)},pn.shiftLeft=function(t){return nn(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?sn(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):sn(0,this.low<<t-32,this.unsigned)},pn.shl=pn.shiftLeft,pn.shiftRight=function(t){return nn(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?sn(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):sn(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},pn.shr=pn.shiftRight,pn.shiftRightUnsigned=function(t){return nn(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?sn(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):sn(32===t?this.high:this.high>>>t-32,0,this.unsigned)},pn.shru=pn.shiftRightUnsigned,pn.shr_u=pn.shiftRightUnsigned,pn.rotateLeft=function(t){var n;return nn(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?sn(this.high,this.low,this.unsigned):t<32?(n=32-t,sn(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),sn(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},pn.rotl=pn.rotateLeft,pn.rotateRight=function(t){var n;return nn(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?sn(this.high,this.low,this.unsigned):t<32?(n=32-t,sn(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),sn(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},pn.rotr=pn.rotateRight,pn.toSigned=function(){return this.unsigned?sn(this.low,this.high,!1):this},pn.toUnsigned=function(){return this.unsigned?this:sn(this.low,this.high,!0)},pn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},pn.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]},pn.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]},tn.fromBytes=function(t,n,r){return r?tn.fromBytesLE(t,n):tn.fromBytesBE(t,n)},tn.fromBytesLE=function(t,n){return new tn(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},tn.fromBytesBE=function(t,n){return new tn(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&&(tn.fromBigInt=function(t,n){return sn(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},tn.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":Pt(t))?tn.fromBigInt(t,n):hn(t,n)},pn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var kn=1/6,mn=(tn.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&dt(h,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),bn=Qt(),Nn=Boolean(bn&&bn.webkitShowPlaybackTargetPicker),An=function(){function t(){this.Pp=void 0,this.hm=!1,this.Ke=mn,this.Ks=!1,this.kp=!0}var n=t.prototype;return n.Cp=function(){return 0},n.Qp=function(t,n){return!0},n.Yp=function(t){return t>=2*kn},_t(t,[{key:"xp",get:function(){return void 0===this.Pp&&(this.Pp=this.Cp()),this.Pp}},{key:"Ip",get:function(){return Dt.zv?"android":Dt.Fv?"macos":Dt.ou?"ios":Dt.Vv?"windows":"other"}},{key:"Rp",get:function(){return Dt.xg?"tv":Dt.Ks?"mobile":"desktop"}},{key:"Dp",get:function(){return!Dt.xg}},{key:"Np",get:function(){if(a.screen)return{width:a.screen.width*this.Bp,height:a.screen.height*this.Bp}}},{key:"Bp",get:function(){return a.devicePixelRatio||1}},{key:"Mp",get:function(){return Nn}},{key:"Lp",get:function(){return!1}},{key:"Op",get:function(){return!0}},{key:"Fp",get:function(){return!!(Dt.vg||Dt.ou||Dt.A_)||!!Dt.V_}},{key:"Up",get:function(){return Dt.V_}},{key:"Vp",get:function(){return!Dt.ou}},{key:"Hp",get:function(){return!0}},{key:"Wp",get:function(){return!0}},{key:"qp",get:function(){return!1}},{key:"zp",get:function(){}},{key:"Gp",get:function(){return!0}},{key:"Xp",get:function(){return!1}},{key:"Kp",get:function(){return Dt.V_}},{key:"jp",get:function(){return!1}},{key:"Jp",get:function(){return!1}},{key:"Zp",get:function(){return!1}},{key:"$p",get:function(){return!0}},{key:"im",get:function(){return!Dt.p_||Dt.p_>=68}},{key:"nm",get:function(){return!1}}]),t}(),Cn=function(t){function n(){return t.call(this)||this}return vt(n,t),n}(An),Dn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),n.prototype.Qp=function(t,n){if(t&&t.um&&n&&n.um){var r=Pn(t.um,"mp4a.40.2")&&Pn(n.um,"mp4a.40.5"),i=Pn(t.um,"mp4a.40.5")&&Pn(n.um,"mp4a.40.2"),e=Pn(t.um,"mp4a.40.2")&&Pn(n.um,"mp4a.40.34"),u=Pn(t.um,"mp4a.40.34")&&Pn(n.um,"mp4a.40.2"),o=Pn(t.um,"mp4a.40.5")&&Pn(n.um,"mp4a.40.34"),f=Pn(t.um,"mp4a.40.34")&&Pn(n.um,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},_t(n,[{key:"zp",get:function(){if(Dt.Fv)return 4096}}]),n}(Cn);function Pn(t,n){return t.indexOf(n)>-1}var Fn,Ln=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),n.prototype.Yp=function(t){return t>=2},n}(Cn),Mn=function(t){function n(){var n;return(n=t.call(this)||this).hm=Dt.gg>=11,n.kp=Dt.vg&&!(Dt.ou&&Dt.gg<10),n}return vt(n,t),_t(n,[{key:"jp",get:function(){return Dt.gg<17}},{key:"Jp",get:function(){return!0}}]),n}(Cn),Bn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),_t(n,[{key:"Gp",get:function(){return!(Dt.p_>=133)}}]),n}(Cn);var Vn=function(){var t=Zt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(Dt.i_)return!1;var t=Zt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Un=function(t){function n(n){var r;return(r=t.call(this)||this).dm=void 0,r.dm=n,r.hm=r.dm.hm,r.Ke=r.dm.Ke,r.kp=Vn&&r.dm.kp,r}vt(n,t);var r=n.prototype;return r.Cp=function(){return this.dm.xp},r.Qp=function(t,n){return this.dm.Qp(t,n)},r.Yp=function(t){return this.dm.Yp(t)},_t(n,[{key:"zp",get:function(){return this.dm.zp}},{key:"Gp",get:function(){return this.dm.Gp}},{key:"jp",get:function(){return this.dm.jp}},{key:"im",get:function(){return this.dm.im}}]),n}(An),Hn=function(t){function n(n){var r;return(r=t.call(this,n)||this).hm=!0,r.Ks=!0,r}return vt(n,t),_t(n,[{key:"qp",get:function(){return Dt.ou}}]),n}(Un);var Wn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),n.prototype.Cp=function(){return function(t){return t&&Mt(a.ManagedMediaSource)?a.ManagedMediaSource:Mt(a.MediaSource)?a.MediaSource:void 0}(!0)?t.prototype.Cp.call(this):1},_t(n,[{key:"qp",get:function(){return!0}},{key:"nm",get:function(){return!0}}]),n}(Hn),xn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this)._m=void 0,n}return vt(n,t),n.prototype.Qp=function(n,r){return t.prototype.Qp.call(this,n,r)},_t(n,[{key:"Lp",get:function(){return Dt.x_<3}},{key:"Op",get:function(){return Dt.x_>=3}},{key:"Np",get:function(){var t=this;return a.tizen&&!this._m&&a.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t._m={width:r,height:i})}),this._m}},{key:"Xp",get:function(){return Dt.x_<3}}]),n}(Un),Gn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this)._m=void 0,n}return vt(n,t),_t(n,[{key:"Np",get:function(){var t=this;return a.webOS&&!this._m&&a.webOS.deviceInfo(function(n){t._m={width:n.screenWidth,height:n.screenHeight}}),this._m}},{key:"Hp",get:function(){return!1}}]),n}(Un),Kn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),_t(n,[{key:"qp",get:function(){return!0}},{key:"Jp",get:function(){return this.dm.Jp}}]),n}(Un),jn=function(t){function n(){return t.apply(this,arguments)||this}return vt(n,t),_t(n,[{key:"Zp",get:function(){return Dt.O_}}]),n}(Un);!function(t){Fn=t}(function(){var t=function(){if(Dt.ag)return new Dn;if(Dt.Q_||Dt.J_)return new Ln;if(Dt.vg)return new Mn;if(Dt.Yg)return new Bn;return new Cn}();return Dt.ou?new Wn(t):Dt.M_?new jn(t):Dt.Ks?new Hn(t):Dt.k_?new xn(t):Dt.C_?new Gn(t):Dt.Fv?new Kn(t):new Un(t)}());var Yn=!(Dt.J_&&!Dt.eg),zn=self.console;function qn(t){if(Lt(t))try{return JSON.stringify(t)}catch(t){}return t}function Xn(t){return t.map(qn).join(" ")}function $n(t){var n=zn&&zn[t];return n?n.bind&&Yn?n.bind(zn):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];zn[t](Xn(r))}:void 0}var Zn=$n("log")||Bt,Qn=$n("debug")||Zn.bind(void 0,"DEBUG:"),Jn=$n("warn")||Zn.bind(void 0,"WARNING:"),tr=$n("error")||Zn.bind(void 0,"ERROR:"),nr=function(){var t=zn&&zn.assert;return t?t.bind&&Yn?t.bind(zn):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];zn.assert(t,Xn(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||tr.apply(void 0,[].concat(["Assertion failed:"],r))}}();function rr(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 ir(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){er(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&er(r,null,t.length,t),t}function er(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 ur=/[a-zA-Z]/,or=/[0-9]/,fr=/[0-9a-fA-F]/,sr=/^0x/i,cr=/^[0-9]+$/,ar=/^[0-9a-fA-F]+$/,hr=/^[0-7]+$/,vr=E.prototype.toString,lr=Array.isArray||function(t){return"[object Array]"===vr.call(t)},_r=void 0!==n&&"symbol"==typeof i;function dr(t){return lr(t)?t:Array.from(t)}function yr(t,n,r){var i=t[n];t[n]=t[r],t[r]=i}function wr(t){return t>=65&&t<=90}function Ir(t){return wr(t)||function(t){return t>=97&&t<=122}(t)}function gr(t){return t>=48&&t<=57}function Er(t){return gr(t)||Ir(t)}function Rr(t){return gr(t)||t>=65&&t<=70||t>=97&&t<=102}function Sr(t){return wr(t)?t+32:t}function Or(t){return gr(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function pr(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var Tr=R.min,kr=String.fromCharCode;function mr(t){for(var n=t.length,r=[],i=0;i<n;i+=16384){var e=Tr(i+16384,n);r.push(kr.apply(null,t.slice(i,e)))}return r.join("")}var br=2147483647,Nr=/[^\0-\x7E]/,Ar=/[\x2E\u3002\uFF0E\uFF61]/g,Cr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Dr=R.floor,Pr=String.fromCharCode;function Fr(t){throw new RangeError(Cr[t])}function Lr(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 Mr,Br,Vr,Ur=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Hr=function(t,n,r){var i=0;for(t=r?Dr(t/700):t>>1,t+=Dr(t/n);t>455;i+=36)t=Dr(t/35);return Dr(i+36*t/(t+38))},Wr=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(Ar,".")).split("."),n).join(".");return i+e}(t,function(t){return Nr.test(t)?"xn--"+function(t){for(var n=[],r=(t=Lr(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Pr(s))}var c=n.length,a=c;for(c&&n.push("-");a<r;){for(var h=br,v=0,l=t;v<l.length;v++){var _=l[v];_>=i&&_<h&&(h=_)}var d=a+1;h-i>Dr((br-e)/d)&&Fr("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>br&&Fr("overflow"),I==i){for(var g=e,E=36;;E+=36){var R=E<=u?1:E>=u+26?26:E-u;if(g<R)break;var S=g-R,O=36-R;n.push(Pr(Ur(R+S%O,0))),g=Dr(S/O)}n.push(Pr(Ur(g,0))),u=Hr(e,d,a==c),e=0,++a}}++e,++i}return n.join("")}(t):t})};function xr(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 mr(n)}function Gr(t){if(t>=55296&&t<=57343)throw new I("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Kr(t,n){return t>>n&63|128}function jr(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Kr(t,12)),n.push(Kr(t,6))):(Gr(t),n.push(t>>12&15|224),n.push(Kr(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Yr(t){for(var n=[],r=0;r<t.length;r++){jr(t[r],n)}return n}function zr(){if(Vr>=Br)throw new I("Invalid byte index");var t=255&Mr[Vr];if(Vr++,128==(192&t))return 63&t;throw new I("Invalid continuation byte")}function qr(){var t,n;if(Vr>Br)throw new I("Invalid byte index");if(Vr===Br)return!1;if(t=255&Mr[Vr],Vr++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|zr())>=128)return n;throw new I("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|zr()<<6|zr())>=2048)return Gr(n),n;throw new I("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|zr()<<12|zr()<<6|zr())>=65536&&n<=1114111)return n;throw new I("Invalid UTF-8 detected")}function Xr(t){return[37,pr(t>>4),pr(15&t)]}function $r(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Zr(t){return $r(t)||32===t||34===t||60===t||62===t||96===t}function Qr(t){return Zr(t)||35===t||63===t||123===t||125===t}function Jr(t){return Qr(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function ti(t){return t<33||t>126||34===t||35===t||60===t||62===t}function ni(t){return ti(t)||39===t}function ri(t,n){if(!n(t))return[t];for(var r=Yr([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Xr(u))}return i}function ii(t,n){for(var r=[],i=0,e=Lr(t);i<e.length;i++){var u=e[i];r.push.apply(r,ri(u,n))}return xr(r)}function ei(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&&Rr(t[i+1])&&Rr(t[i+2])){var u=Or(t[i+1])<<4|Or(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Yr(t))}function ui(t){return xr(function(t){Mr=t.slice(),Br=Mr.length,Vr=0;for(var n,r=[];!1!==(n=qr());)r.push(n);return r}(ei(Lr(t))))}function oi(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&&fr.test(t[u]);)o=o<<4|S(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(!or.test(t[u]))throw new g;for(;u<n&&or.test(t[u]);){var a=S(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;)yr(r,i,e+h-1),i-=1,h-=1}else if(8!==i)throw new g;return r}function fi(t){var n=10,r=cr;return sr.test(t)?(t=t.slice(2),n=16,r=ar):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=hr),""===t?0:r.test(t)?S(t,n):void 0}var si={gm:4},ci=/[\0\t\n\r #%/:?@\[\\\]]/,ai=/[\0\t\n\r #/:?@\[\\\]]/;function hi(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{gm:2,pm:oi(t.slice(1,-1))}}if(!n)return function(t){if(ai.test(t))throw new g("Invalid code point in opaque host");var n=ii(t,$r);return""===n?si:{gm:3,wm:n}}(t);var r=function(t){var n=function(t){return Wr(t.toLowerCase())}(t);return n}(ui(t));if(ci.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=fi(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]>=R.pow(256,5-r.length))throw new g;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*R.pow(256,3-s);return f}}(r);return void 0!==i?{gm:1,pm:i}:""===r?si:{gm:0,ym:r}}function vi(t){switch(t.gm){case 0:return t.ym;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.pm);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.pm)+"]";case 3:return t.wm;case 4:return""}}var li=/\+/g;function _i(t){return 42===t||45===t||46===t||95===t||Er(t)}function di(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(li," "),f=f.replace(li," ");var s=ui(o),c=ui(f);r.push([s,c])}}return r}function yi(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=wi(Yr(Lr(i[0])))+"="+wi(Yr(Lr(i[1])))}return n}function wi(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];32===i?n.push(43):_i(i)?n.push(i):n.push.apply(n,Xr(i))}return mr(n)}var Ii=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function gi(t){var n=""+t,r=Ii.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Ri(u))if(Si(u)||e===r-1)i.push(Ei);else{var o=t.charCodeAt(e+1);Si(o)?(i.push(u,o),e++):i.push(Ei)}else i.push(u)}return t.slice(0,n)+mr(i)}(n,r.index):n}var Ei=65533,Ri=function(t){return 55296==(63488&t)},Si=function(t){return!!(1024&t)};function Oi(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function pi(t){t.Am.length=0}function Ti(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Am,di(n))}function ki(t){if(t.rc){var n=yi(t.Am);""===n&&(n=null),t.rc.rc.Sm=n}}var mi=function(){function t(t){if(void 0===t&&(t=void 0),this.rc=null,null==t)this.Am=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof mi&&!!lr(t.Am)&&(!_r||t[i]===bi)}(t))this.Am=t.Am.slice();else if(function(t){return null!=t&&(!!lr(t)||!!_r&&"function"==typeof t[i])}(t)){this.Am=[];for(var n=0,r=dr(t);n<r.length;n++){var e=dr(r[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.Am.push([gi(e[0]),gi(e[1])])}}else for(var u in this.Am=[],t)E.prototype.hasOwnProperty.call(t,u)&&this.Am.push([gi(u),gi(t[u])]);else(t=gi(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Am=di(t)}var n=t.prototype;return n.append=function(t,n){t=gi(t),n=gi(n),this.Am.push([t,n]),ki(this)},n.delete=function(t){t=gi(t);for(var n=this.Am,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}ki(this)},n.get=function(t){t=gi(t);for(var n=this.Am,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=gi(t);for(var n=this.Am,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=gi(t);for(var n=this.Am,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=gi(t),n=gi(n);for(var r=this.Am,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]),ki(this)},n.sort=function(){ir(this.Am,Oi),ki(this)},n.toString=function(){return yi(this.Am)},n.entries=function(){return new Di(this.Am,Ni)},n.keys=function(){return new Di(this.Am,Ai)},n.values=function(){return new Di(this.Am,Ci)},n.forEach=function(t){var n=this;this.Am.forEach(function(r){return t(r[1],r[0],n)})},t}(),bi=mi.prototype.entries;_r&&(mi.prototype[i]=bi);var Ni=function(t){return[t[0],t[1]]},Ai=function(t){return t[0]},Ci=function(t){return t[1]},Di=function(){function t(t,n){this.Tm=0,this.Am=t,this.Em=n}return t.prototype.next=function(){return this.Tm<this.Am.length?{done:!1,value:this.Em(this.Am[this.Tm++])}:{done:!0,value:void 0}},t}(),Pi="null";var Fi=E.create(null);Fi.ftp=21,Fi.file=0,Fi.gopher=70,Fi.http=80,Fi.https=443,Fi.ws=80,Fi.wss=443;var Li=/^(?:\.|%2e)$/i,Mi=/^(?:\.|%2e){2}$/i;function Bi(t){return Li.test(t)}function Vi(t){return Mi.test(t)}function Ui(t){return void 0!==Fi[t]}function Hi(t){return Ui(t.xm)}function Wi(t){return""!==t.Pm||""!==t.Cm}function xi(t){var n=t.length;if(!(n>=2))return!1;if(!Ki(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 Gi(t){return 2===t.length&&ur.test(t[0])&&(":"===t[1]||"|"===t[1])}function Ki(t){return 2===t.length&&Gi(mr(t))}function ji(t){return Gi(t)&&":"===t[1]}function Yi(t){var n=t.Im;0!==n.length&&("file"===t.xm&&1===n.length&&ji(n[0])||n.pop())}function zi(t){return null===t.Rm||si===t.Rm||t.Dm||"file"===t.xm}var qi=-1,Xi=/\t|\n|\r/g,$i=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Zi(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Ji,t=t.replace($i,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=Lr(t=t.replace(Xi,"")),a=c.length,h=0;h<=a;){var v=h<a?c[h]:qi;switch(e){case 0:if(!Ir(v)){if(null===i){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(Sr(v)),e=1;break;case 1:if(Er(v)||43===v||45===v||46===v)u.push(Sr(v));else{if(58!==v){if(null===i){u.length=0,e=2,h=0;continue}throw new g("Invalid scheme")}var l=xr(u);if(null!==i){if(Ui(r.xm)&&!Ui(l))return;if(!Ui(r.xm)&&Ui(l))return;if((Wi(r)||null!==r.Nm)&&"file"===l)return;if("file"===r.xm&&(r.Rm===si||null===r.Rm))return}if(r.xm=l,null!==i)return void(Hi(r)&&r.Nm===Fi[r.xm]&&(r.Nm=null));u.length=0,"file"===r.xm?e=13:Hi(r)&&n&&n.xm===r.xm?e=3:Hi(r)?e=7:47===c[h+1]?(e=4,h+=1):(r.Dm=!0,r.Im.push(""),e=18)}break;case 2:if(!n||n.Dm&&35!==v)throw new g("Invalid scheme");n.Dm&&35===v?(r.xm=n.xm,r.Im=n.Im.slice(),r.Sm=n.Sm,r.Bm="",r.Dm=!0,e=20):"file"!==n.xm?(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.xm=n.xm,qi===v?(r.Pm=n.Pm,r.Cm=n.Cm,r.Rm=n.Rm,r.Nm=n.Nm,r.Im=n.Im.slice(),r.Sm=n.Sm):47===v?e=6:63===v?(r.Pm=n.Pm,r.Cm=n.Cm,r.Rm=n.Rm,r.Nm=n.Nm,r.Im=n.Im.slice(),r.Sm="",e=19):35===v?(r.Pm=n.Pm,r.Cm=n.Cm,r.Rm=n.Rm,r.Nm=n.Nm,r.Im=n.Im.slice(),r.Sm=n.Sm,r.Bm="",e=20):92===v&&Hi(r)?e=6:(r.Pm=n.Pm,r.Cm=n.Cm,r.Rm=n.Rm,r.Nm=n.Nm,r.Im=n.Im.slice(),r.Im.pop(),e=17,h-=1);break;case 6:!Hi(r)||47!==v&&92!==v?47===v?e=9:(r.Pm=n.Pm,r.Cm=n.Cm,r.Rm=n.Rm,r.Nm=n.Nm,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=xr(ri(d,Jr));s?r.Cm+=y:r.Pm+=y}else s=!0}u.length=0}else if(qi===v||47===v||63===v||35===v||Hi(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.xm)h-=1,e=15;else if(58!==v||f)if(qi===v||47===v||63===v||35===v||Hi(r)&&92===v){if(h-=1,Hi(r)&&0===u.length)throw new g("Invalid host");if(null!==i&&0===u.length&&(Wi(r)||null!==r.Nm))return;var w=hi(xr(u),Hi(r));if(r.Rm=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=hi(xr(u),Hi(r));if(r.Rm=I,u.length=0,e=12,11===i)return}break;case 12:if(gr(v))u.push(v);else{if(!(qi===v||47===v||63===v||35===v||Hi(r)&&92===v||null!==i))throw new g("Invalid port");if(0!==u.length){var E=S(xr(u),10);if(E>65535)throw new g("Invalid port");r.Nm=E===Fi[r.xm]?null:E,u.length=0}if(null!==i)return;e=16,h-=1}break;case 13:r.xm="file",47===v||92===v?e=14:n&&"file"===n.xm?qi===v?(r.Rm=n.Rm,r.Im=n.Im.slice(),r.Sm=n.Sm):63===v?(r.Rm=n.Rm,r.Im=n.Im.slice(),r.Sm="",e=19):35===v?(r.Rm=n.Rm,r.Im=n.Im.slice(),r.Sm=n.Sm,r.Bm="",e=20):(xi(c.slice(h))||(r.Rm=n.Rm,r.Im=n.Im.slice(),Yi(r)),e=17,h-=1):(e=17,h-=1);break;case 14:47===v||92===v?e=15:(n&&"file"===n.xm&&!xi(c.slice(h))&&(ji(n.Im[0])?r.Im.push(n.Im[0]):r.Rm=n.Rm),e=17,h-=1);break;case 15:if(qi===v||47===v||92===v||63===v||35===v)if(h-=1,null===i&&Ki(u))e=17;else if(0===u.length){if(r.Rm=si,null!==i)return;e=16}else{var R=hi(xr(u),Hi(r));if(0===R.gm&&"localhost"===R.ym&&(R=si),r.Rm=R,null!==i)return;u.length=0,e=16}else u.push(v);break;case 16:Hi(r)?(e=17,47!==v&&92!==v&&(h-=1)):null===i&&63===v?(r.Sm="",e=19):null===i&&35===v?(r.Bm="",e=20):qi!==v&&(e=17,47!==v&&(h-=1));break;case 17:if(qi===v||47===v||Hi(r)&&92===v||null===i&&(63===v||35===v)){var O=xr(u);if(Vi(O)?(Yi(r),47===v||Hi(r)&&92===v||r.Im.push("")):!Bi(O)||47===v||Hi(r)&&92===v?Bi(O)||("file"===r.xm&&0===r.Im.length&&Ki(u)&&(si!==r.Rm&&null!==r.Rm&&(r.Rm=si),u[1]=58,O=xr(u)),r.Im.push(O)):r.Im.push(""),u.length=0,"file"===r.xm&&(qi===v||63===v||35===v))for(;r.Im.length>1&&""===r.Im[0];)r.Im.shift();63===v?(r.Sm="",e=19):35===v&&(r.Bm="",e=20)}else u.push.apply(u,ri(v,Qr));break;case 18:63===v?(r.Sm="",e=19):35===v?(r.Bm="",e=20):qi!==v&&(r.Im[0]+=xr(ri(v,$r)));break;case 19:null===i&&35===v?(r.Bm="",e=20):qi!==v&&(r.Sm+=xr(ri(v,Hi(r)?ni:ti)));break;case 20:qi===v||0===v||(r.Bm+=xr(ri(v,Zr)))}h++}return r}function Qi(t,n,r,i){try{Zi(t,n,r,i)}catch(t){}}var Ji=function(){this.xm="",this.Pm="",this.Cm="",this.Rm=null,this.Nm=null,this.Im=[],this.Sm=null,this.Bm=null,this.Dm=!1};function te(t){switch(t.xm){case"blob":var n;try{n=Zi(t.Im[0],null)}catch(t){return Pi}return te(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,r){return t+"://"+vi(n)+(null===r?"":":"+r)}(t.xm,t.Rm,t.Nm);default:return Pi}}var ne=function(){function t(t,n){var r,i=null;if(null!=n)if(function(t){return null!=t&&t instanceof ne&&"object"==typeof t.rc}(n))i=n.rc;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.Sm;this.rc=r,this.Sm=function(t){var n=new mi;return null!==t&&Ti(n,t),n}(e),this.Sm.rc=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,r){n&&rr(t.prototype,n),r&&rr(t,r)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.xm+":";if(null!==t.Rm?(r+="//",Wi(t)&&(r+=t.Pm,""!==t.Cm&&(r+=":"+t.Cm),r+="@"),r+=vi(t.Rm),null!==t.Nm&&(r+=":"+t.Nm)):null===t.Rm&&"file"===t.xm&&(r+="//"),t.Dm)r+=t.Im[0];else for(var i=0,e=t.Im;i<e.length;i++)r+="/"+e[i];return null!==t.Sm&&(r+="?"+t.Sm),n||null===t.Bm||(r+="#"+t.Bm),r}(this.rc)},set:function(t){var n;try{n=Zi(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.rc=n,pi(this.Sm);var r=this.rc.Sm;null!==r&&Ti(this.Sm,r)}},{key:"origin",get:function(){return te(this.rc)}},{key:"protocol",get:function(){return this.rc.xm+":"},set:function(t){Qi(t+":",null,this.rc,0)}},{key:"username",get:function(){return this.rc.Pm},set:function(t){zi(this.rc)||(this.rc.Pm=ii(t,Jr))}},{key:"password",get:function(){return this.rc.Cm},set:function(t){zi(this.rc)||(this.rc.Cm=ii(t,Jr))}},{key:"host",get:function(){var t=this.rc,n=t.Rm;if(null===n)return"";var r=t.Nm,i=vi(n);return null!==r&&(i+=":"+r),i},set:function(t){this.rc.Dm||Qi(t,null,this.rc,10)}},{key:"hostname",get:function(){var t=this.rc.Rm;return null===t?"":vi(t)},set:function(t){this.rc.Dm||Qi(t,null,this.rc,11)}},{key:"port",get:function(){var t=this.rc.Nm;return null===t?"":""+t},set:function(t){zi(this.rc)||(""===t?this.rc.Nm=null:Qi(t,null,this.rc,12))}},{key:"pathname",get:function(){var t=this.rc.Im;return this.rc.Dm?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.rc.Dm||(this.rc.Im.length=0,Qi(t,null,this.rc,16))}},{key:"search",get:function(){var t=this.rc.Sm;return null===t||""===t?"":"?"+t},set:function(t){t=gi(t);var n=this.rc;if(""===t)return n.Sm=null,void pi(this.Sm);"?"===t[0]&&(t=t.slice(1)),n.Sm="",Qi(t,null,n,19),Ti(this.Sm,t)}},{key:"searchParams",get:function(){return this.Sm}},{key:"hash",get:function(){var t=this.rc.Bm;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.rc.Bm="",Qi(t,null,this.rc,20)):this.rc.Bm=null}}]),t}();function re(t){return t.document&&t.document.baseURI||t.location.href||""}var ie=function(){function t(){this.tp=void 0,this.Jm=new ee,this.iw=Fn,this.$m=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.tp=function(){return self.performance.now()}:this.tp=Tn}var n=t.prototype;return n.Mm=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Qn.apply(void 0,[].concat(n))},n.Lm=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.Om=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Jn.apply(void 0,[].concat(n))},n.Fm=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];tr.apply(void 0,[].concat(n))},n.Um=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];nr.apply(void 0,[].concat([t],r))},n.ep=function(t,n){return _(t,n)},n.Vm=function(t,n){return y(t,n)},n.sp=function(t){d(t)},n.Hm=function(t){w(t)},n.Wm=function(){return this.qm.Wm()},n.zm=function(){return this.qm.zm()},n.Gm=function(){return this.qm.Gm()},n.Xm=function(){return this.qm.Xm()},n.Km=function(){return this.qm.Km()},n.jm=function(t,n){return this.qm.jm(t,n)},n.Qm=function(t){return this.qm.Qm(t)},n.Dh=function(t,n){var r;return void 0===n&&(n=re(a)),r="object"!==(void 0===n?"undefined":Pt(n))||dt(n,ne)?n:n.href,new ne(t,r)},n.Zm=function(t,n){if(void 0===n&&(n=re(a)),this.$m){var r=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,r).href}return this.Dh(t,n).href},_t(t,[{key:"Ym",get:function(){return this.Jm}},{key:"Zs",get:function(){return this.iw}},{key:"ew",get:function(){return{nw:l&&l.userAgent.match(/Android /i)?"Android":"other",ow:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"hw",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"aw",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),ee=function(){function t(){}return _t(t,[{key:"uw",get:function(){return l.oscpu}},{key:"Zs",get:function(){return l.platform}},{key:"cw",get:function(){return l.vendor}},{key:"dw",get:function(){return l.vendorSub}}]),t}();var ue=function(){function t(){}var n=t.prototype;return n.Km=function(){return rt.resolve(!1)},n.zm=function(){return rt.resolve(!1)},n.Xm=function(){return rt.resolve(!1)},n.Gm=function(){return rt.resolve(!1)},n.Qm=function(t){return rt.resolve(!1)},n.jm=function(t,n){return rt.resolve(!1)},n.Wm=function(){return rt.resolve(!1)},t}(),oe=function(){function t(){}var n=t.prototype;return n.lk=function(){},n.Rb=function(t){},n.Pb=function(t){},n.Cb=function(t,n){},t}(),fe=function(t){return t.vk="arraybuffer",t._k="json",t.gk="stream",t.pk="text",t}({});var se=function(){function t(r){var e=this;if(this.gw=void 0,this.gw={},r)if(dt(r,t))r.asList().forEach(function(t){var n=t[0],r=t[1];e.append(n,r)});else if(function(t){return Lt(t)&&"function"==typeof t.forEach}(r))r.forEach(function(t,n){Array.isArray(t)&&2===t.length?e.append(t[0],t[1]):e.append(n,t)});else if(Array.isArray(r)||function(t){return void 0!==n&&void 0!==i&&Lt(t)&&"function"==typeof t[i]}(r))for(var u,o=wt(r);!(u=o()).done;){var f=u.value,s=f[0],c=f[1];this.append(s,c)}else E.getOwnPropertyNames(r).forEach(function(t){e.append(t,r[t])});else;}var r=t.prototype;return r.append=function(t,n){var r=t,i=n;r=ce(r),i=ae(i);var e=r.toLowerCase();if(this.gw.hasOwnProperty(e)){var u=this.gw[e],o=u[1];u[1]=o?o+", "+i:i}else this.gw[e]=[r,i]},r.delete=function(t){var n=ce(t).toLowerCase();delete this.gw[n]},r.get=function(t){var n=ce(t).toLowerCase();return this.gw.hasOwnProperty(n)?this.gw[n][1]:null},r.has=function(t){var n=ce(t).toLowerCase();return this.gw.hasOwnProperty(n)},r.set=function(t,n){var r=t,i=(r=ce(r)).toLowerCase();this.gw[i]=[r,ae(n)]},r.forEach=function(t,n){for(var r in this.gw)this.gw.hasOwnProperty(r)&&t.call(n,this.gw[r][1],r,this)},r.asList=function(){var t=[];for(var n in this.gw)if(this.gw.hasOwnProperty(n)){var r=this.gw[n],i=r[0],e=r[1];t.push([i,e])}return t},r.wk=function(){var t={};return this.forEach(function(n,r){t[r]=n}),t},r.yk=function(t){var n=this;t.forEach(function(t,r){n.append(r,t)})},r.bk=function(t){var n=this;t.forEach(function(t,r){n.set(r,t)})},t}();function ce(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 ae(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var he=function(t,n){var r,i,e;this.Ck=void 0,this.Xk=void 0,this.yE=void 0,this.zk=void 0,this.bE=void 0,this.AE=void 0,this.lp=void 0,this.Tw=void 0,this.SE=void 0,this.TE=void 0,this.Yu=void 0,this.kE=void 0,this.EE=void 0,this.xE=void 0,this.PE=void 0,this.CE=void 0;var u,o,f,s,c,a,h,v,l,_,d,y,w,I,g,E=t.Yu;n?(u=n.Ck,o=n.Xk,f=n.yE,s=n.zk,c=n.bE,a=n.AE,h=n.lp,v=n.Tw,l=n.SE,_=n.TE,d=n.kE,y=n.EE,w=n.xE,I=n.PE,g=n.CE):(u=null,o={},f="GET",s=fe.pk,c=0,a=0,v="",l="",_="",d=!1,w=void 0,I="allowed",g=void 0),this.Yu=E,this.Ck=t.Ck||u,this.Xk=new se(t.Xk||o),this.yE=t.yE||f,this.zk=t.zk||s,this.bE=void 0!==t.bE?Number(t.bE)||0:c,this.AE=void 0!==t.AE?Number(t.AE)||0:a,this.lp=t.lp||h||(new $t).lp,this.Tw=t.Tw||v,this.SE=t.SE||l,this.TE=t.TE||_,this.kE=void 0!==t.kE?Boolean(t.kE):d,this.EE=t.EE||y,this.xE=null!==(r=t.xE)&&void 0!==r?r:w,this.PE=null!==(i=t.PE)&&void 0!==i?i:I,this.CE=null!==(e=t.CE)&&void 0!==e?e:g},ve=function(t){return t.HE="HttpOpenError",t.WE="HttpResponseError",t.qE="HttpTimeoutError",t}({}),le=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).zE=void 0,e.zE=n,e}return vt(n,t),_t(n,[{key:"Gk",get:function(){return this.zE}}]),n}(zt),_e=function(t){function n(n,r){var i="Error while opening "+n.Yu;return(null==r?void 0:r.message)&&(i+=": "+r.message),t.call(this,n,i,r)||this}return vt(n,t),_t(n,[{key:"name",get:function(){return ve.HE}}]),n}(le),de=function(){function t(){}var n=t.prototype;return n.Gk=function(t){return rt.reject(new _e(new he(t)))},n.RE=function(t){},n.kn=function(){},t}(),ye=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return vt(n,t),n}(zt),we=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).iP=new ue,n.yq=new de,n.i=new oe,n}return vt(n,t),n.prototype.Ix=function(t){throw new ye},_t(n,[{key:"qm",get:function(){return this.iP}},{key:"sx",get:function(){return!1}},{key:"eP",get:function(){return!1}},{key:"hP",get:function(){return!1}},{key:"aP",get:function(){return!1}},{key:"rP",get:function(){return!1}},{key:"cP",get:function(){return this.i}},{key:"dP",get:function(){return{lP:Bt}}},{key:"fP",get:function(){return"default"}},{key:"vP",get:function(){return"unknown"}},{key:"_P",get:function(){return!0}},{key:"gP",get:function(){return this.yq}},{key:"mP",get:function(){return!1}}]),n}(ie);!function(t){0}(new we);var Ie=function(t){return t[t.MPEGTS_TO_FMP4=0]="MPEGTS_TO_FMP4",t[t.RAW_AUDIO_TO_FMP4=1]="RAW_AUDIO_TO_FMP4",t}({}),ge=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.MEDIA_INTERNAL_ERROR=5005]="MEDIA_INTERNAL_ERROR",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.CONTENT_PROTECTION_DEVICE_REVOKED=7013]="CONTENT_PROTECTION_DEVICE_REVOKED",t[t.CONTENT_PROTECTION_PROVISIONING_ERROR=7014]="CONTENT_PROTECTION_PROVISIONING_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[t.THEO_LIVE_DISCOVERY_ERROR=13004]="THEO_LIVE_DISCOVERY_ERROR",t}({}),Ee=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=R.floor(n/1e3);if(r in t)return r;throw new g("Invalid error code: "+n)}}(Ee||(Ee={}));var Re=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 vt(n,t),_t(n,[{key:"name",get:function(){return"THEOplayerError"}},{key:"category",get:function(){return Ee.fromCode(this.code)}}]),n}(zt);var Se,Oe=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=dt(t,ArrayBuffer)?new T(t):new T(t.buffer,t.byteOffset,t.byteLength),String.fromCharCode.apply(void 0,r)):"";var r},t}();var pe=null;function Te(){return(null===pe||pe.buffer.detached||pe.buffer!==Se.memory.buffer)&&(pe=new T(Se.memory.buffer)),pe}var ke=new Oe("utf-8",{ignoreBOM:!0,fatal:!0});ke.decode();var me=0;function be(t,n){return function(t,n){return(me+=n)>=2146435072&&((ke=new Oe("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),me=n),ke.decode(Te().subarray(t,t+n))}(t>>>=0,n)}var Ne=new Array(128).fill(void 0);Ne.push(void 0,null,!0,!1);var Ae=Ne.length;function Ce(t){Ae===Ne.length&&Ne.push(Ne.length+1);var n=Ae;return Ae=Ne[n],Ne[n]=t,n}function De(t){return Ne[t]}function Pe(t){return null==t}function Fe(t){var n=De(t);return function(t){t<132||(Ne[t]=Ae,Ae=t)}(t),n}function Le(t,n){return t>>>=0,Te().subarray(t/1,t/1+n)}var Me=0;function Be(t,n){var r=n(1*t.length,1)>>>0;return Te().set(t,r/1),Me=t.length,r}var Ve=null;function Ue(){return(null===Ve||Ve.buffer.detached||Ve.buffer!==Se.memory.buffer)&&(Ve=new DataView(Se.memory.buffer)),Ve}function He(t){try{var n=Se.__wbindgen_add_to_stack_pointer(-16);Se.mpegts_to_fmp4(n,Ce(t));var r=Ue().getInt32(n+0,!0),i=Ue().getInt32(n+4,!0);if(Ue().getInt32(n+8,!0))throw Fe(i);return Fe(r)}finally{Se.__wbindgen_add_to_stack_pointer(16)}}function We(t){try{var n=Se.__wbindgen_add_to_stack_pointer(-16);Se.raw_audio_to_fmp4(n,Ce(t));var r=Ue().getInt32(n+0,!0),i=Ue().getInt32(n+4,!0);if(Ue().getInt32(n+8,!0))throw Fe(i);return Fe(r)}finally{Se.__wbindgen_add_to_stack_pointer(16)}}var xe=new Set(["basic","cors","default"]);function Ge(t,n){return Ht(function(){var r,i,e;return Wt(this,function(u){switch(u.label){case 0:if("function"!=typeof Response||!dt(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(),!(t.ok&&xe.has(t.type))||"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 dt(e=u.sent(),WebAssembly.Instance)?[2,{instance:e,module:t}]:[2,e];case 9:return[2]}})})()}function Ke(t,n){return Se=t.exports,je.__wbindgen_wasm_module=n,Ve=null,pe=null,Se.__wbindgen_start(),Se}function je(t){return Ht(function(){var n,r,i,e;return Wt(this,function(u){switch(u.label){case 0:return void 0!==Se?[2,Se]:(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=function(){var t={wbg:{}};return t.wbg.__wbg_Error_e83987f665cf5504=function(t,n){return Ce(I(be(t,n)))},t.wbg.__wbg___wbindgen_throw_b855445ff6a94295=function(t,n){throw new I(be(t,n))},t.wbg.__wbg_audio_pid_3239c62baa4dd1d4=function(t){var n=De(t).audio_pid;return Pe(n)?16777215:n},t.wbg.__wbg_create_output_a9c0af79f38bcb61=function(t,n){var r=function(t,n){return{data:t,metadata:n}}(Fe(t),Fe(n));return Ce(r)},t.wbg.__wbg_create_output_data_3044d0317a2ddd56=function(t,n,r,i,e,u,o,f){var s,c,a,h;0!==t&&(s=Le(t,n).slice(),Se.__wbindgen_export(t,1*n,1)),0!==r&&(c=Le(r,i).slice(),Se.__wbindgen_export(r,1*i,1)),0!==e&&(a=Le(e,u).slice(),Se.__wbindgen_export(e,1*u,1)),0!==o&&(h=Le(o,f).slice(),Se.__wbindgen_export(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 Ce(v)},t.wbg.__wbg_create_output_metadata_ea3399a4d53ad549=function(t,n,r,i,e,u,o,f,s,c,a,h,v,l,_,d,y,w,I,g,E,R,S){var O,p,T,k;0!==r&&(O=be(r,i).slice(),Se.__wbindgen_export(r,1*i,1)),0!==e&&(p=be(e,u).slice(),Se.__wbindgen_export(e,1*u,1)),0!==o&&(T=Le(o,f).slice(),Se.__wbindgen_export(o,1*f,1)),0!==s&&(k=Le(s,c).slice(),Se.__wbindgen_export(s,1*c,1));var m=function(t,n,r,i,e,u,o,f,s,c,a,h,v,l,_,d,y,w){return{video_pid:t,audio_pid:n,video_codec:r,audio_codec:i,sps_nal:e,pps_nal:u,first_decode_timestamp:{low:o,high:f,base:s},first_presentation_timestamp:{low:c,high:a,base:h},first_video_presentation_timestamp:v?{low:l,high:_,base:d}:void 0,program_map_table_pid:y,video_frame_rate:w}}(16777215===t?void 0:t,16777215===n?void 0:n,O,p,T,k,a>>>0,h>>>0,v>>>0,l>>>0,_>>>0,d>>>0,0!==y,w>>>0,I>>>0,g>>>0,16777215===E?void 0:E,0===R?void 0:S);return Ce(m)},t.wbg.__wbg_data_2ced3fffc5f71c72=function(t,n){var r=Be(De(n).data,Se.__wbindgen_export2),i=Me;Ue().setInt32(t+4,i,!0),Ue().setInt32(t+0,r,!0)},t.wbg.__wbg_metadata_cf32ba332613e69f=function(t){var n=De(t).metadata;return Pe(n)?0:Ce(n)},t.wbg.__wbg_pps_nal_16de2cf00f7daa05=function(t,n){var r=De(n).pps_nal,i=Pe(r)?0:Be(r,Se.__wbindgen_export2),e=Me;Ue().setInt32(t+4,e,!0),Ue().setInt32(t+0,i,!0)},t.wbg.__wbg_program_map_table_pid_5a3a70b2914c21ee=function(t){var n=De(t).program_map_table_pid;return Pe(n)?16777215:n},t.wbg.__wbg_sps_nal_ad226ddbb37b2ae6=function(t,n){var r=De(n).sps_nal,i=Pe(r)?0:Be(r,Se.__wbindgen_export2),e=Me;Ue().setInt32(t+4,e,!0),Ue().setInt32(t+0,i,!0)},t.wbg.__wbg_video_pid_a2da2eab0d4f81ad=function(t){var n=De(t).video_pid;return Pe(n)?16777215:n},t.wbg.__wbindgen_object_drop_ref=function(t){Fe(t)},t}(),("string"==typeof t||"function"==typeof Request&&dt(t,Request)||"function"==typeof URL&&dt(t,URL))&&(t=fetch(t)),[4,t]);case 1:return[4,Ge.apply(void 0,[u.sent(),n])];case 2:return r=u.sent(),i=r.instance,e=r.module,[2,Ke(i,e)]}})})()}function Ye(t){return Ht(function(){var n,r;return Wt(this,function(i){switch(i.label){case 0:return dt(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 rt(function(n,r){var i=new k;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,je({module_or_path:n})];case 1:return i.sent(),[2,{mpegts_to_fmp4:He,raw_audio_to_fmp4:We}]}})})()}var ze=new URL("./THEOplayer.transmux.wasm",v.href);!function(t){var n,r=rt.resolve(t()).then(function(t){n=t,r=void 0,self.postMessage({G3t:"11.13.0"})},function(t){var n=t,r={success:!1,error:n.message,errorCode:dt(n,Re)?n.code:ge.MEDIA_DECODE_ERROR};self.postMessage(r)});self.addEventListener("message",function(t){var i=t.data.id;(function(t){return Ht(function(){var i,e,u,o,f,s;return Wt(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===Ie.MPEGTS_TO_FMP4)o=n.mpegts_to_fmp4(t.input);else{if(t.type!==Ie.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(Ft).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:dt(n,Re)?n.code:ge.MEDIA_DECODE_ERROR};self.postMessage(r)})})}(function(){return Ye(ze)})}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
|
|
27
|
+
Version: 11.14.0
|
|
28
|
+
Created: 2026-10-21T09:54:11.520Z
|
|
29
|
+
*/(function(t){"use strict";var e,n,r,i,o,s,u,a,h=t.window,f=t.document,_=t.location,c=t.navigator,l=t.setTimeout,d=t.clearTimeout,p=t.setInterval,g=t.clearInterval,v=t.Error,y=t.TypeError,m=(t.SyntaxError,t.Object),w=t.Math,I=t.parseInt,b=t.parseFloat,S=t.isNaN,E=t.Uint8Array,k=(t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest),A=function(t){var e="function"==typeof t&&!!t.iterator;if(e&&t.for&&t.dispose&&t.asyncDispose)return t;var n=0,r=e?function(e){return t(e)}:function(t){return"r"+t+"_"+ ++n},i=e?t.for||t:function(t){return"r"+t};function o(n){return e&&t[n]||i("Symbol."+n)}return r.for=i,r.iterator=o("iterator"),r.asyncIterator=o("asyncIterator"),r.dispose=o("dispose"),r.asyncDispose=o("asyncDispose"),r}(t.Symbol);function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function O(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),m.defineProperty(t,r.key,r)}}function R(t,e,n){return e&&O(t.prototype,e),n&&O(t,n),t}function N(t,e){var n=void 0!==A&&t[A.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t){if(t){if("string"==typeof t)return T(t,void 0);var e=m.prototype.toString.call(t).slice(8,-1);if("Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return T(t,void 0)}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new y("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function L(t,e){if("function"!=typeof e&&null!==e)throw new y("Super expression must either be null or a function");t.prototype=m.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}function C(t,e){return null!=e&&void 0!==A&&e[A.hasInstance]?!!e[A.hasInstance](t):t instanceof e}function M(t,e){return(M=m.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function B(t,e){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},s=m.create(("function"==typeof Iterator?Iterator:m).prototype),u=m.defineProperty;return u(s,"next",{value:a(0)}),u(s,"throw",{value:a(1)}),u(s,"return",{value:a(2)}),"function"==typeof A&&u(s,A.iterator,{value:function(){return this}}),s;function a(u){return function(a){var h=[u,a];if(n)throw new y("Generator is already executing.");for(;s&&(s=0,h[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&h[0]?r.return:h[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,h[1])).done)return i;switch(r=0,i&&(h=[2&h[0],i.value]),h[0]){case 0:case 1:i=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,r=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===h[0]||2===h[0])){o=0;continue}if(3===h[0]&&(!i||h[1]>i[0]&&h[1]<i[3])){o.label=h[1];break}if(6===h[0]&&o.label<i[1]){o.label=i[1],i=h;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(h);break}i[2]&&o.ops.pop(),o.trys.pop();continue}h=e.call(t,o)}catch(t){h=[6,t],r=0}finally{n=i=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}}function D(t){return t&&void 0!==A&&t.constructor===A?"symbol":typeof t}function P(t,e){return null!=e&&void 0!==A&&e[A.hasInstance]?!!e[A.hasInstance](t):t instanceof e}function V(t){return t&&void 0!==A&&t.constructor===A?"symbol":typeof t}function F(t,e){this.name="AggregateError",this.errors=t,this.message=e||""}function x(t){return!!(t&&void 0!==t.length)}function U(){}function q(t){if(!P(this,q))throw new y("Promises must be constructed via new");if("function"!=typeof t)throw new y("not a function");this.lT=0,this.UI=!1,this.ehJ=void 0,this.tap=[],Z(t,this)}function W(t,e){for(;3===t.lT;)t=t.ehJ;0===t.lT?t.tap.push(e):(t.UI=!0,q.tou(function(){var n,r=1===t.lT?e.onFulfilled:e.onRejected;if(null===r)return void(1===t.lT?H:j)(e.promise,t.ehJ);try{n=r(t.ehJ)}catch(t){j(e.promise,t);return}H(e.promise,n)}))}function H(t,e){try{if(e===t)throw new y("A promise cannot be resolved with itself.");if(e&&((void 0===e?"undefined":V(e))==="object"||"function"==typeof e)){var n=e.then;if(P(e,q)){t.lT=3,t.ehJ=e,G(t);return}if("function"==typeof n)return void Z(function(){n.apply(e,arguments)},t)}t.lT=1,t.ehJ=e,G(t)}catch(e){j(t,e)}}function j(t,e){t.lT=2,t.ehJ=e,G(t)}function G(t){2===t.lT&&0===t.tap.length&&q.tou(function(){t.UI||q.to_(t.ehJ)});for(var e=0,n=t.tap.length;e<n;e++)W(t,t.tap[e]);t.tap=null}function z(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function Z(t,e){var n=!1;try{t(function(t){n||(n=!0,H(e,t))},function(t){n||(n=!0,j(e,t))})}catch(t){if(n)return;n=!0,j(e,t)}}F.prototype=v.prototype,q.prototype.catch=function(t){return this.then(null,t)},q.prototype.then=function(t,e){var n=new this.constructor(U);return W(this,new z(t,e,n)),n},q.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})},q.all=function(t){return new q(function(e,n){if(!x(t))return n(new y("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);for(var i=r.length,o=0;o<r.length;o++)(function t(o,s){try{if(s&&((void 0===s?"undefined":V(s))==="object"||"function"==typeof s)){var u=s.then;if("function"==typeof u)return void u.call(s,function(e){t(o,e)},n)}r[o]=s,0==--i&&e(r)}catch(t){n(t)}})(o,r[o])})},q.any=function(t){var e=this;return new e(function(n,r){if(!(t&&void 0!==t.length))return r(new y("Promise.any accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return r();for(var o=[],s=0;s<i.length;s++)try{e.resolve(i[s]).then(n).catch(function(t){o.push(t),o.length===i.length&&r(new F(o,"All promises were rejected"))})}catch(t){r(t)}})},q.allSettled=function(t){return new this(function(e,n){if(!(t&&void 0!==t.length))return n(new y((void 0===t?"undefined":V(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);for(var i=r.length,o=0;o<r.length;o++)(function t(n,o){if(o&&((void 0===o?"undefined":V(o))==="object"||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,function(e){t(n,e)},function(t){r[n]={status:"rejected",reason:t},0==--i&&e(r)})}r[n]={status:"fulfilled",value:o},0==--i&&e(r)})(o,r[o])})},q.resolve=function(t){return t&&(void 0===t?"undefined":V(t))==="object"&&t.constructor===q?t:new q(function(e){e(t)})},q.reject=function(t){return new q(function(e,n){n(t)})},q.race=function(t){return new q(function(e,n){if(!x(t))return n(new y("Promise.race accepts an array"));for(var r=0,i=t.length;r<i;r++)q.resolve(t[r]).then(e,n)})},q.tou="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){l(t,0)},q.to_=function(t){"u">typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var K=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),X=c?c.userAgent:"",Q=X.match(/Firefox\/([0-9]+)/i),Y=null!=Q,J=Q?Number(Q[1]):0,$=X.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),tt=null!=$,te=$?Number($[3]):0,tn=function(){function t(t){this.nY=0,this.dw=0,this.rR=[],this.toc=t}var e=t.prototype;return e.tod=function(t){var e=this.length();this.toh(e+1);var n=this.dw+e&this.toc-1;this.rR[n]=t,this.nY=e+1},e.push=function(t){var e=this.length()+1;if(this.toc<e)return void this.tod(t);var n=this.dw+e-1,r=this.toc-1;this.rR[n&r]=t,this.nY=e},e.shift=function(){var t=this.dw,e=this.rR[t];return this.rR[t]=void 0,this.dw=t+1&this.toc-1,this.nY--,e},e.length=function(){return this.nY},e.toh=function(t){this.toc<t&&this.tof(this.toc<<1)},e.tof=function(t){var e=this.toc;this.toc=t;for(var n=this.dw+this.nY&e-1,r=this.rR,i=e,o=n,s=0;s<o;++s)r[s+i]=r[s+0],r[s+0]=void 0},t}();function tr(){var t,e=self.queueMicrotask;return"function"==typeof e?function(t){return e(t)}:K?(t="function"==typeof K.resolve?K.resolve():new K(function(t){return t()}),function(e){return t.then(e)}):void 0}var ti="unhandledrejection",to=self.PromiseRejectionEvent,ts=self.CustomEvent;function tu(t){return new to(ti,{reason:t,promise:K.reject(t).catch(function(){}),cancelable:!0})}function ta(t){var e=new ts(ti,{detail:{reason:t},cancelable:!0});return m.defineProperty(e,"reason",{value:t}),e}function th(t){var e=f.createEvent("CustomEvent");return e.initCustomEvent(ti,!1,!0,{reason:t}),e}var tf=function(t){return(tf=function(){try{var t=K.resolve(),e="error",n=new to(ti,{reason:e,promise:t});return ti===n.type&&e===n.reason}catch(t){}return!1}()?tu:function(){try{var t="error",e=new ts(ti,{detail:{reason:t}});return ti===e.type&&t===e.detail.reason}catch(t){}return!1}()?ta:th)(t)};if(K&&!(Y&&J<60||tt&&te<15))tg=K,tr();else{var t_,tc,tl,td,tp,tg=q,tv=(t_=null!=(tp=tr())?tp:q.tou,tc=new tn(16),tl=!1,{zj:function(t){tc.push(t),tl||(tl=!0,t_(td))},DK:td=function(){for(;tc.length()>0;)tc.shift()();tl=!1}});tv.zj,tv.DK,q.tou=tv.zj,q.to_=function(t){try{var e=tf(t);if(!self.dispatchEvent(e)||e.defaultPrevented)return}catch(t){}l(function(){throw new v("Unhandled promise rejection: "+t)},0)}}var ty=c?c.userAgent:"",tm=ty.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),tw=ty.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),tI=ty.match(/Android ([0-9\.]+)/i),tb=ty.match(/Windows NT ([0-9\.]+)/i),tS=ty.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),tE=ty.match(/Firefox\/([0-9\.]+)/i),tk=ty.match(/OPR\/(\d+\.\d+)/i),tA=ty.match(/Tizen ([0-9\.]+)/i),tT=ty.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),tO=ty.match(/HbbTV\/([0-9.]+)/i),tR=ty.match(/(AFT.*) Build/i),tN=function(){function t(){var t;this.E=!!("ontouchstart"in self||self.DocumentTouch&&C(f,self.DocumentTouch)||c&&c.msMaxTouchPoints),this.N=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(ty)||/(macintosh|mac(?=_powerpc)\s)/i.test(ty),this.F=/Windows NT/i.test(ty),this.U=tb?b(tb[1]):0,this.V=/Android/i.test(ty),this.K=tI?b(tI[1]):0,this.Q=/windows phone (8|8\.1)/i.test(ty),this.Y=/iPhone/i.test(ty),this.Z=/iPad/i.test(ty),this.J=this.N&&this.E&&!this.Z,this.ei=/iPod/i.test(ty),this.ea=/Mobile Safari/i.test(ty),this.e_=/EOS\d*STB/i.test(ty),this.ed=/APP\d*STB/i.test(ty),this.eh=(this.Y||this.Z||this.J||this.ei)&&!this.Q,this.ep=tT?b(tT[2]):0,this.ef=this.Q||this.eh||this.V||this.ea,this.eg=/CriOS/i.test(ty),this.ey=!!(self.chrome&&/google/i.test(c.vendor))||this.eg,this.ew=this.ey&&/Edg\//i.test(c.userAgent),this.eS=tw?I(tw[1],10):0,this.eT=!!/CriOS/i.test(ty),this.eb=!!(self.chrome||/Chrome/i.test(ty)||this.eT),this.eE=tm?I(tm[1],10):0,this.ek=/SMART-TV.*Tizen/i.test(ty),this.eA=tA?b(tA[1]):0,this.eC=this.eA>0?(t=this.eA)>=8?108:t>=7?94:t>=6.5?85:t>=6?76:t>=5.5?69:t>=5?63:t>=4?56:47*(t>=3):void 0,this.eP=/webos|web0s/i.test(ty),this.eI=/HbbTV/i.test(ty),this.ex=!!tO&&function(t){if(!t)return!1;var e=t.split(".").map(Number);return 3===e.length&&1===e[0]&&2===e[1]}(tO[1]),this.eL=/AFT.* Build/i.test(ty),this.eR=tR?tR[1]:void 0,this.eB=/VIZIO/i.test(ty),this.eD=/Edge\/\d+/i.test(ty),this.eM=/Trident/i.test(ty),this.eN=this.eM&&!self.ActiveXObject&&"ActiveXObject"in self,this.eO=/Vivaldi/i.test(ty),this.eF=/Firefox/i.test(ty)&&!/Seamonkey/i.test(ty),this.eU=tE?b(tE[1]):0,this.eV=/Safari/i.test(ty)&&!/Chrome/i.test(ty)&&!this.Q&&!this.ek,this.eH=tS?b(tS[2]):0,this.ez=!!tk,this.eW=tk?b(tk[1]):0,this.eG=/Sky_STB/i.test(ty),this.eK=/Sky_TV/i.test(ty),this.ej=/Sky_OTT/i.test(ty),this.eQ=/CrKey/.test(ty),this.e$=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(ty)||this.eG,this.eX=/OculusBrowser|Meta Quest/i.test(ty),this.eY=/PlayStation 4/i.test(ty),this.eZ=/PlayStation 5/i.test(ty),this.eJ=/VirginMedia_STB/i.test(ty),this.e0=!1,this.e1=!1,this.e2=this.e1||this.e0,this.e3=!1,this.e4=!1,this.e6=!1}return R(t,[{key:"e5",get:function(){return this.E}},{key:"e8",get:function(){return this.N}},{key:"e7",get:function(){return this.F}},{key:"e9",get:function(){return this.U}},{key:"t_",get:function(){return this.V}},{key:"td",get:function(){return this.K}},{key:"tu",get:function(){return this.Q}},{key:"tc",get:function(){return this.Y}},{key:"tp",get:function(){return this.Z}},{key:"tf",get:function(){return this.J}},{key:"tS",get:function(){return this.ei}},{key:"tT",get:function(){return this.eh}},{key:"tE",get:function(){return this.ep}},{key:"tA",get:function(){return this.e_||this.ed}},{key:"tC",get:function(){return this.ea}},{key:"tP",get:function(){return this.ef}},{key:"tI",get:function(){return this.eg}},{key:"tx",get:function(){return this.ey}},{key:"tL",get:function(){var t;return null!=(t=this.eC)?t:this.eE}},{key:"tR",get:function(){return this.ew}},{key:"tB",get:function(){var t;return(null==(t=h.chrome)?void 0:t.webview)&&this.eS>0}},{key:"tD",get:function(){return this.eS}},{key:"tM",get:function(){return this.ek}},{key:"tN",get:function(){return this.eA}},{key:"tO",get:function(){return this.eP}},{key:"tF",get:function(){return this.eI}},{key:"tU",get:function(){return this.ex}},{key:"tq",get:function(){return this.eL}},{key:"tV",get:function(){return"AFTMM"===this.eR}},{key:"tH",get:function(){return"AFTM"===this.eR}},{key:"tz",get:function(){return this.eB}},{key:"tW",get:function(){return this.eG}},{key:"tG",get:function(){return this.eK}},{key:"tK",get:function(){return this.ej}},{key:"tj",get:function(){return this.tW||this.tK||this.tG}},{key:"tQ",get:function(){return this.eD}},{key:"t$",get:function(){return this.eM}},{key:"tX",get:function(){return this.eN}},{key:"tY",get:function(){return this.eO}},{key:"tZ",get:function(){return this.eF}},{key:"tJ",get:function(){return this.eU}},{key:"t0",get:function(){return this.eV}},{key:"t1",get:function(){return 0===this.eH&&tL.tT?this.ep:this.eH}},{key:"t2",get:function(){return this.ez}},{key:"t3",get:function(){return this.eW}},{key:"t4",get:function(){return this.eQ}},{key:"t6",get:function(){return this.e$}},{key:"t5",get:function(){return(!!this.tO||!!this.tM)&&this.tL<=56}},{key:"t8",get:function(){return this.eX}},{key:"t7",get:function(){return this.eY}},{key:"t9",get:function(){return this.eZ}},{key:"ir",get:function(){return this.eJ}},{key:"i_",get:function(){return this.e0}},{key:"il",get:function(){return this.e1}},{key:"ih",get:function(){return this.e2}},{key:"ic",get:function(){return this.e3}},{key:"im",get:function(){return this.e4}},{key:"iy",get:function(){return this.e6}},{key:"iw",get:function(){return this.eb}},{key:"IS_IOS_CHROME",get:function(){return this.eT}}]),t}();tN.iS=new tN;var tL=tN.iS;function tC(t){return null!=t}function tM(t){return(void 0===t?"undefined":D(t))==="object"&&null!==t}function tB(t){return"function"==typeof t||tM(t)}var tD=function(){};function tP(t){var e;return function(){return void 0!==t&&(e=t(),t=void 0),e}}function tV(t,e,n,r,i,o,s){try{var u=t[o](s),a=u.value}catch(t){n(t);return}u.done?e(a):tg.resolve(a).then(r,i)}function tF(t){return function(){var e=this,n=arguments;return new tg(function(r,i){var o=t.apply(e,n);function s(t){tV(o,r,i,s,u,"next",t)}function u(t){tV(o,r,i,s,u,"throw",t)}s(void 0)})}}function tx(t,e){var n,r,i=t.indexOf(e);return -1!==i&&(n=t,0===(r=i)?n.shift():n.splice(r,1),!0)}Array.prototype.find,Array.prototype.findLast,Array.prototype.findIndex,Array.prototype.findLastIndex,Array.prototype.at;Array.prototype.flat,Array.prototype.flatMap;var tU=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];v.apply(this,e)};tU.prototype=m.create(v.prototype),tU.prototype.constructor=tU;var tq=function(t){function e(e,n){var r;return(r=t.call(this)||this).cause=void 0,r.message=e||"Unknown error",r.cause=n,v.captureStackTrace&&v.captureStackTrace(r,r.constructor),r}return L(e,t),R(e,[{key:"name",get:function(){return"BaseError"}}]),e}(tU),tW=function(t){function e(e,n){return t.call(this,e||"Aborted",n)||this}return L(e,t),R(e,[{key:"name",get:function(){return"AbortError"}}]),e}(tq),tH=function(){function t(){this.ix=!1,this.iM=!1,this.iL=void 0,this.iN=[],this.iO=[]}var e=t.prototype;return e.iF=function(t){if(!this.ix&&!this.iM){this.ix=!0,this.iL=null!=t?t:new tW;for(var e,n=N(this.iN.slice());!(e=n()).done;)(0,e.value)();this.iU()}},e.iU=function(){if(!this.iM){this.iM=!0;for(var t,e=N(this.iO.slice());!(t=e()).done;)(0,t.value)();this.iN.length=0,this.iO.length=0}},e.iI=function(){if(this.ix)throw this.iL},e.iB=function(t){this.iM||this.iN.push(t)},e.iR=function(t){this.iM||tx(this.iN,t)},e.iq=function(t){this.iM||this.iO.push(t)},e.iV=function(t){this.iM||tx(this.iO,t)},t}();r=A.dispose;var tj=function(){function t(){this.iH=new tH}var e=t.prototype;return e.iz=function(t){this.iH.iF(t)},e.iU=function(){this.iH.iU()},e.iW=function(t){var e=this.iH;if(!e.ix){if(t.ix)return void e.iF(t.iL);if(!e.iM&&!t.iM){var n=function(){r(),e.iF(t.iL)},r=function(){t.iR(n),t.iV(r),e.iR(n),e.iV(r)};t.iB(n),t.iq(r),e.iB(n),e.iq(r)}}},e.iG=function(){var e=new t,n=new t,r=e.iD,i=n.iD,o=this.iH,s=function(){r.ix&&i.iM?o.iF(r.iL):i.ix&&r.iM?o.iF(i.iL):r.iM&&i.iM&&o.iU()};return r.iB(s),i.iB(s),r.iq(s),i.iq(s),e.iW(o),n.iW(o),o.iq(function(){r.iR(s),i.iR(s),r.iV(s),i.iV(s)}),[e,n]},e[r]=function(){this.iz()},t.iK=function(e){for(var n,r=new t,i=N(e);!(n=i()).done;){var o=n.value;void 0!==o&&r.iW(o)}return r},R(t,[{key:"iD",get:function(){return this.iH}}]),t}();function tG(){return void 0!==f?f.createElement("video"):void 0}tg.resolve();var tz=tP(tG);tP(function(){return"u">typeof HTMLVideoElement&&C(tz(),HTMLVideoElement)});/**
|
|
30
|
+
* @license
|
|
31
|
+
* Copyright 2009 The Closure Library Authors
|
|
32
|
+
* Copyright 2020 Daniel Wirtz / The long.js Authors.
|
|
33
|
+
*
|
|
34
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
35
|
+
* you may not use this file except in compliance with the License.
|
|
36
|
+
* You may obtain a copy of the License at
|
|
37
|
+
*
|
|
38
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
39
|
+
*
|
|
40
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
41
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
42
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
43
|
+
* See the License for the specific language governing permissions and
|
|
44
|
+
* limitations under the License.
|
|
45
|
+
*
|
|
46
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
47
|
+
*/var tZ=null;try{tZ=new WebAssembly.Instance(new WebAssembly.Module(new E([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function tK(t,e,n){this.low=0|t,this.high=0|e,this.unsigned=!!n}function tX(t){return!0===(t&&t.iQ)}function tQ(t){var e=w.clz32(t&-t);return t?31-e:e}tK.prototype.iQ,m.defineProperty(tK.prototype,"iQ",{value:!0}),tK.isLong=tX;var tY={},tJ={};function t$(t,e){var n,r,i;if(e)return(t>>>=0,(i=0<=t&&t<256)&&(r=tJ[t]))?r:(n=t1(t,0,!0),i&&(tJ[t]=n),n);return(t|=0,(i=-128<=t&&t<128)&&(r=tY[t]))?r:(n=t1(t,t<0?-1:0,!1),i&&(tY[t]=n),n)}function t0(t,e){if(S(t))return e?et:t8;if(e){if(t<0)return et;if(t>=t4)return eo}else{if(t<=-t7)return es;if(t+1>=t7)return ei}return t<0?t0(-t,e).neg():t1(t%t5|0,t/t5|0,e)}function t1(t,e,n){return new tK(t,e,n)}tK.fromInt=t$,tK.fromNumber=t0,tK.fromBits=t1;var t2=w.pow;function t3(t,e,n){if(0===t.length)throw v("empty string");if("number"==typeof e?(n=e,e=!1):e=!!e,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return e?et:t8;if((n=n||10)<2||36<n)throw RangeError("radix");if((r=t.indexOf("-"))>0)throw v("interior hyphen");if(0===r)return t3(t.substring(1),e,n).neg();for(var r,i=t0(t2(n,8)),o=t8,s=0;s<t.length;s+=8){var u=w.min(8,t.length-s),a=I(t.substring(s,s+u),n);if(u<8){var h=t0(t2(n,u));o=o.mul(h).add(t0(a))}else o=(o=o.mul(i)).add(t0(a))}return o.unsigned=e,o}function t6(t,e){return"number"==typeof t?t0(t,e):"string"==typeof t?t3(t,e):t1(t.low,t.high,"boolean"==typeof e?e:t.unsigned)}tK.fromString=t3,tK.fromValue=t6;var t5=0x100000000,t4=0xffffffffffffffff,t7=0x8000000000000000,t9=t$(0x1000000),t8=t$(0);tK.ZERO=t8;var et=t$(0,!0);tK.UZERO=et;var ee=t$(1);tK.ONE=ee;var en=t$(1,!0);tK.UONE=en;var er=t$(-1);tK.NEG_ONE=er;var ei=t1(-1,0x7fffffff,!1);tK.MAX_VALUE=ei;var eo=t1(-1,-1,!0);tK.MAX_UNSIGNED_VALUE=eo;var es=t1(0,-0x80000000,!1);tK.MIN_VALUE=es;var eu=tK.prototype;function ea(){return Date.now()||(new Date).getTime()}eu.toInt=function(){return this.unsigned?this.low>>>0:this.low},eu.toNumber=function(){return this.unsigned?(this.high>>>0)*t5+(this.low>>>0):this.high*t5+(this.low>>>0)},eu.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(!this.eq(es))return"-"+this.neg().toString(t);else{var e=t0(t),n=this.div(e),r=n.mul(e).sub(this);return n.toString(t)+r.toInt().toString(t)}for(var i=t0(t2(t,6),this.unsigned),o=this,s="";;){var u=o.div(i),a=(o.sub(u.mul(i)).toInt()>>>0).toString(t);if((o=u).isZero())return a+s;for(;a.length<6;)a="0"+a;s=""+a+s}},eu.getHighBits=function(){return this.high},eu.getHighBitsUnsigned=function(){return this.high>>>0},eu.getLowBits=function(){return this.low},eu.getLowBitsUnsigned=function(){return this.low>>>0},eu.getNumBitsAbs=function(){if(this.isNegative())return this.eq(es)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,e=31;e>0&&(t&1<<e)==0;e--);return 0!=this.high?e+33:e+1},eu.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&-1===t&&(0!==this.low||-2097152!==this.high)},eu.isZero=function(){return 0===this.high&&0===this.low},eu.eqz=eu.isZero,eu.isNegative=function(){return!this.unsigned&&this.high<0},eu.isPositive=function(){return this.unsigned||this.high>=0},eu.isOdd=function(){return(1&this.low)==1},eu.isEven=function(){return(1&this.low)==0},eu.equals=function(t){return tX(t)||(t=t6(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},eu.eq=eu.equals,eu.notEquals=function(t){return!this.eq(t)},eu.neq=eu.notEquals,eu.ne=eu.notEquals,eu.lessThan=function(t){return 0>this.comp(t)},eu.lt=eu.lessThan,eu.lessThanOrEqual=function(t){return 0>=this.comp(t)},eu.lte=eu.lessThanOrEqual,eu.le=eu.lessThanOrEqual,eu.greaterThan=function(t){return this.comp(t)>0},eu.gt=eu.greaterThan,eu.greaterThanOrEqual=function(t){return this.comp(t)>=0},eu.gte=eu.greaterThanOrEqual,eu.ge=eu.greaterThanOrEqual,eu.compare=function(t){if(tX(t)||(t=t6(t)),this.eq(t))return 0;var e=this.isNegative(),n=t.isNegative();return e&&!n?-1:!e&&n?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},eu.comp=eu.compare,eu.negate=function(){return!this.unsigned&&this.eq(es)?es:this.not().add(ee)},eu.neg=eu.negate,eu.add=function(t){tX(t)||(t=t6(t));var e,n,r=this.high>>>16,i=65535&this.high,o=this.low>>>16,s=65535&this.low,u=t.high>>>16,a=65535&t.high,h=t.low>>>16,f=65535&t.low,_=0,c=0;return e=0+((n=0+(s+f))>>>16),n&=65535,e+=o+h,c+=e>>>16,e&=65535,c+=i+a,_+=c>>>16,c&=65535,_+=r+u,t1(e<<16|n,(_&=65535)<<16|c,this.unsigned)},eu.subtract=function(t){return tX(t)||(t=t6(t)),this.add(t.neg())},eu.sub=eu.subtract,eu.multiply=function(t){if(this.isZero())return this;if(tX(t)||(t=t6(t)),tZ)return t1(tZ.mul(this.low,this.high,t.low,t.high),tZ.get_high(),this.unsigned);if(t.isZero())return this.unsigned?et:t8;if(this.eq(es))return t.isOdd()?es:t8;if(t.eq(es))return this.isOdd()?es:t8;if(this.isNegative())if(t.isNegative())return this.neg().mul(t.neg());else return this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(t9)&&t.lt(t9))return t0(this.toNumber()*t.toNumber(),this.unsigned);var e,n,r=this.high>>>16,i=65535&this.high,o=this.low>>>16,s=65535&this.low,u=t.high>>>16,a=65535&t.high,h=t.low>>>16,f=65535&t.low,_=0,c=0;return e=0+((n=0+s*f)>>>16),n&=65535,e+=o*f,c+=e>>>16,e&=65535,e+=s*h,c+=e>>>16,e&=65535,c+=i*f,_+=c>>>16,c&=65535,c+=o*h,_+=c>>>16,c&=65535,c+=s*a,_+=c>>>16,c&=65535,_+=r*f+i*h+o*a+s*u,t1(e<<16|n,(_&=65535)<<16|c,this.unsigned)},eu.mul=eu.multiply,eu.divide=function(t){if(tX(t)||(t=t6(t)),t.isZero())throw v("division by zero");if(tZ)return this.unsigned||-0x80000000!==this.high||-1!==t.low||-1!==t.high?t1((this.unsigned?tZ.div_u:tZ.div_s)(this.low,this.high,t.low,t.high),tZ.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?et:t8;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return et;if(t.gt(this.shru(1)))return en;n=et}else{if(this.eq(es))if(t.eq(ee)||t.eq(er))return es;else return t.eq(es)?ee:(r=this.shr(1).div(t).shl(1)).eq(t8)?t.isNegative()?ee:er:(e=this.sub(t.mul(r)),n=r.add(e.div(t)));if(t.eq(es))return this.unsigned?et:t8;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();n=t8}for(e=this;e.gte(t);){for(var e,n,r=w.max(1,w.floor(e.toNumber()/t.toNumber())),i=w.ceil(w.log(r)/w.LN2),o=i<=48?1:t2(2,i-48),s=t0(r),u=s.mul(t);u.isNegative()||u.gt(e);)r-=o,u=(s=t0(r,this.unsigned)).mul(t);s.isZero()&&(s=ee),n=n.add(s),e=e.sub(u)}return n},eu.div=eu.divide,eu.modulo=function(t){return(tX(t)||(t=t6(t)),tZ)?t1((this.unsigned?tZ.rem_u:tZ.rem_s)(this.low,this.high,t.low,t.high),tZ.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},eu.mod=eu.modulo,eu.rem=eu.modulo,eu.not=function(){return t1(~this.low,~this.high,this.unsigned)},eu.countLeadingZeros=function(){return this.high?w.clz32(this.high):w.clz32(this.low)+32},eu.clz=eu.countLeadingZeros,eu.countTrailingZeros=function(){return this.low?tQ(this.low):tQ(this.high)+32},eu.ctz=eu.countTrailingZeros,eu.and=function(t){return tX(t)||(t=t6(t)),t1(this.low&t.low,this.high&t.high,this.unsigned)},eu.or=function(t){return tX(t)||(t=t6(t)),t1(this.low|t.low,this.high|t.high,this.unsigned)},eu.xor=function(t){return tX(t)||(t=t6(t)),t1(this.low^t.low,this.high^t.high,this.unsigned)},eu.shiftLeft=function(t){return(tX(t)&&(t=t.toInt()),0==(t&=63))?this:t<32?t1(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):t1(0,this.low<<t-32,this.unsigned)},eu.shl=eu.shiftLeft,eu.shiftRight=function(t){return(tX(t)&&(t=t.toInt()),0==(t&=63))?this:t<32?t1(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):t1(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},eu.shr=eu.shiftRight,eu.shiftRightUnsigned=function(t){return(tX(t)&&(t=t.toInt()),0==(t&=63))?this:t<32?t1(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):32===t?t1(this.high,0,this.unsigned):t1(this.high>>>t-32,0,this.unsigned)},eu.shru=eu.shiftRightUnsigned,eu.shr_u=eu.shiftRightUnsigned,eu.rotateLeft=function(t){var e;return(tX(t)&&(t=t.toInt()),0==(t&=63))?this:32===t?t1(this.high,this.low,this.unsigned):t<32?(e=32-t,t1(this.low<<t|this.high>>>e,this.high<<t|this.low>>>e,this.unsigned)):(t-=32,e=32-t,t1(this.high<<t|this.low>>>e,this.low<<t|this.high>>>e,this.unsigned))},eu.rotl=eu.rotateLeft,eu.rotateRight=function(t){var e;return(tX(t)&&(t=t.toInt()),0==(t&=63))?this:32===t?t1(this.high,this.low,this.unsigned):t<32?(e=32-t,t1(this.high<<e|this.low>>>t,this.low<<e|this.high>>>t,this.unsigned)):(t-=32,e=32-t,t1(this.low<<e|this.high>>>t,this.high<<e|this.low>>>t,this.unsigned))},eu.rotr=eu.rotateRight,eu.toSigned=function(){return this.unsigned?t1(this.low,this.high,!1):this},eu.toUnsigned=function(){return this.unsigned?this:t1(this.low,this.high,!0)},eu.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},eu.toBytesLE=function(){var t=this.high,e=this.low;return[255&e,e>>>8&255,e>>>16&255,e>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},eu.toBytesBE=function(){var t=this.high,e=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,e>>>24,e>>>16&255,e>>>8&255,255&e]},tK.fromBytes=function(t,e,n){return n?tK.fromBytesLE(t,e):tK.fromBytesBE(t,e)},tK.fromBytesLE=function(t,e){return new tK(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,e)},tK.fromBytesBE=function(t,e){return new tK(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],e)},"function"==typeof BigInt&&(tK.fromBigInt=function(t,e){return t1(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),e)},tK.fromValue=function(t,e){return(void 0===t?"undefined":D(t))==="bigint"?tK.fromBigInt(t,e):t6(t,e)},eu.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var eh=1/6;tK.fromNumber(0x1fffffffffffff);var ef=!!("ontouchstart"in self||self.DocumentTouch&&C(f,self.DocumentTouch))||!!(c&&c.msMaxTouchPoints),e_=tz(),ec=!!(e_&&e_.webkitShowPlaybackTargetPicker),el=function(){function t(){this.i$=void 0,this.iX=!1,this.e5=ef,this.tP=!1,this.ij=!0}var e=t.prototype;return e.iZ=function(){return 0},e.rp=function(t,e){return!0},e.rf=function(t){return t>=2*eh},R(t,[{key:"iY",get:function(){return void 0===this.i$&&(this.i$=this.iZ()),this.i$}},{key:"iJ",get:function(){return tL.t_?"android":tL.e8?"macos":tL.tT?"ios":tL.e7?"windows":"other"}},{key:"i0",get:function(){return tL.t6?"tv":tL.tP?"mobile":"desktop"}},{key:"i1",get:function(){return!tL.t6}},{key:"i2",get:function(){if(h.screen)return{width:h.screen.width*this.i3,height:h.screen.height*this.i3}}},{key:"i3",get:function(){return h.devicePixelRatio||1}},{key:"i4",get:function(){return ec}},{key:"i6",get:function(){return!1}},{key:"i5",get:function(){return!0}},{key:"i8",get:function(){return!!tL.t0||!!tL.tT||!!tL.tB||!!tL.tz}},{key:"i7",get:function(){return tL.tz}},{key:"i9",get:function(){return!tL.tT}},{key:"re",get:function(){return!0}},{key:"ri",get:function(){return!0}},{key:"rr",get:function(){return!1}},{key:"rs",get:function(){}},{key:"ra",get:function(){return!0}},{key:"rd",get:function(){return!1}},{key:"rh",get:function(){return tL.tz}},{key:"rc",get:function(){return!1}},{key:"rg",get:function(){return!1}},{key:"rv",get:function(){return!1}},{key:"ry",get:function(){return!0}},{key:"rS",get:function(){return!tL.tL||tL.tL>=68}},{key:"rT",get:function(){return!1}}]),t}(),ed=function(t){function e(){return t.call(this)||this}return L(e,t),e}(el),ep=function(t){function e(){return t.apply(this,arguments)||this}return L(e,t),e.prototype.rp=function(t,e){if(t&&t.rE&&e&&e.rE){var n=eg(t.rE,"mp4a.40.2")&&eg(e.rE,"mp4a.40.5"),r=eg(t.rE,"mp4a.40.5")&&eg(e.rE,"mp4a.40.2"),i=eg(t.rE,"mp4a.40.2")&&eg(e.rE,"mp4a.40.34"),o=eg(t.rE,"mp4a.40.34")&&eg(e.rE,"mp4a.40.2"),s=eg(t.rE,"mp4a.40.5")&&eg(e.rE,"mp4a.40.34"),u=eg(t.rE,"mp4a.40.34")&&eg(e.rE,"mp4a.40.5");return!(n||r||i||o||s||u)}return!0},R(e,[{key:"rs",get:function(){if(tL.e8)return 4096}}]),e}(ed);function eg(t,e){return t.indexOf(e)>-1}var ev=function(t){function e(){return t.apply(this,arguments)||this}return L(e,t),e.prototype.rf=function(t){return t>=2},e}(ed),ey=function(t){function e(){var e;return(e=t.call(this)||this).iX=tL.t1>=11,e.ij=tL.t0&&!(tL.tT&&tL.t1<10),e}return L(e,t),R(e,[{key:"rc",get:function(){return tL.t1<17}},{key:"rg",get:function(){return!0}}]),e}(ed),em=function(t){function e(){return t.apply(this,arguments)||this}return L(e,t),R(e,[{key:"ra",get:function(){return!(tL.tL>=133)}}]),e}(ed),ew=function(){var t=tG();if(!t)return!1;var e=t.muted;return t.muted=!e,t.muted!==e}();(function(){if(tL.tf)return;var t=tG();if(t){var e=t.volume;t.volume=e/2+.1,t.volume}})();var eI=function(t){function e(e){var n;return(n=t.call(this)||this).rk=void 0,n.rk=e,n.iX=n.rk.iX,n.e5=n.rk.e5,n.ij=ew&&n.rk.ij,n}L(e,t);var n=e.prototype;return n.iZ=function(){return this.rk.iY},n.rp=function(t,e){return this.rk.rp(t,e)},n.rf=function(t){return this.rk.rf(t)},R(e,[{key:"rs",get:function(){return this.rk.rs}},{key:"ra",get:function(){return this.rk.ra}},{key:"rc",get:function(){return this.rk.rc}},{key:"rS",get:function(){return this.rk.rS}}]),e}(el),eb=function(t){function e(e){var n;return(n=t.call(this,e)||this).iX=!0,n.tP=!0,n}return L(e,t),R(e,[{key:"rr",get:function(){return tL.tT}}]),e}(eI),eS=function(t){function e(){return t.apply(this,arguments)||this}return L(e,t),e.prototype.iZ=function(){return(tB(h.ManagedMediaSource)?h.ManagedMediaSource:tB(h.MediaSource)?h.MediaSource:void 0)?t.prototype.iZ.call(this):1},R(e,[{key:"rr",get:function(){return!0}},{key:"rT",get:function(){return!0}}]),e}(eb),eE=function(t){function e(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[].concat([this],r))||this).rI=void 0,e}return L(e,t),e.prototype.rp=function(e,n){return t.prototype.rp.call(this,e,n)},R(e,[{key:"i6",get:function(){return tL.tN<3}},{key:"i5",get:function(){return tL.tN>=3}},{key:"i2",get:function(){var t=this;return h.tizen&&!this.rI&&h.tizen.systeminfo.getPropertyValue("DISPLAY",function(e){var n=e.resolutionWidth,r=e.resolutionHeight;(1!==n||1!==r)&&(t.rI={width:n,height:r})}),this.rI}},{key:"rd",get:function(){return tL.tN<3}}]),e}(eI),ek=function(t){function e(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[].concat([this],r))||this).rI=void 0,e}return L(e,t),R(e,[{key:"i2",get:function(){var t=this;return h.webOS&&!this.rI&&h.webOS.deviceInfo(function(e){t.rI={width:e.screenWidth,height:e.screenHeight}}),this.rI}},{key:"re",get:function(){return!1}}]),e}(eI),eA=function(t){function e(){return t.apply(this,arguments)||this}return L(e,t),R(e,[{key:"rr",get:function(){return!0}},{key:"rg",get:function(){return this.rk.rg}}]),e}(eI),eT=function(t){function e(){return t.apply(this,arguments)||this}return L(e,t),R(e,[{key:"rv",get:function(){return tL.tV}}]),e}(eI);i=function(){var t=tL.tZ?new ep:tL.tQ||tL.t$?new ev:tL.t0?new ey:tL.iw?new em:new ed;if(tL.tT)return new eS(t);if(tL.tq)return new eT(t);if(tL.tP)return new eb(t);if(tL.tM)return new eE(t);if(tL.tO)return new ek(t);else if(tL.e8)return new eA(t);else return new eI(t)}();var eO=!(tL.t$&&!tL.tX),eR=self.console;function eN(t){if(tM(t))try{return JSON.stringify(t)}catch(t){}return t}function eL(t){return t.map(eN).join(" ")}function eC(t){var e=eR&&eR[t];return e?e.bind&&eO?e.bind(eR):function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];eR[t](eL(n))}:void 0}var eM=eC("log")||tD,eB=eC("debug")||eM.bind(void 0,"DEBUG:"),eD=eC("warn")||eM.bind(void 0,"WARNING:"),eP=eC("error")||eM.bind(void 0,"ERROR:"),eV=(e=eR&&eR.assert)?e.bind&&eO?e.bind(eR):function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];eR.assert(t,eL(n))}:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t||eP.apply(void 0,[].concat(["Assertion failed:"],n))};function eF(t,e,n,r){var i,o,s,u,a,h=t.length,f=0,_=2*n;for(i=0;i<h;i+=_)for(s=(o=i+n)+n,o>h&&(o=h),s>h&&(s=h),u=i,a=o;;)if(u<o&&a<s)0>=e(t[u],t[a])?r[f++]=t[u++]:r[f++]=t[a++];else if(u<o)r[f++]=t[u++];else if(a<s)r[f++]=t[a++];else break}var ex=/[a-zA-Z]/,eU=/[0-9]/,eq=/[0-9a-fA-F]/,eW=/^0x/i,eH=/^[0-9]+$/,ej=/^[0-9a-fA-F]+$/,eG=/^[0-7]+$/,ez=m.prototype.toString,eZ=Array.isArray||function(t){return"[object Array]"===ez.call(t)},eK=void 0!==A&&"symbol"===D(A.iterator);function eX(t){return eZ(t)?t:Array.from(t)}function eQ(t){return t>=65&&t<=90}function eY(t){return eQ(t)||t>=97&&t<=122}function eJ(t){return t>=48&&t<=57}function e$(t){return eJ(t)||t>=65&&t<=70||t>=97&&t<=102}function e0(t){return eQ(t)?t+32:t}function e1(t){return eJ(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function e2(t,e){return(void 0===e&&(e=!1),0<=t&&t<=9)?t+48:10<=t&&t<=15?t+(e?87:55):-1}var e3=w.min,e6=String.fromCharCode;function e5(t){for(var e=t.length,n=[],r=0;r<e;r+=16384){var i=e3(r+16384,e);n.push(e6.apply(null,t.slice(r,i)))}return n.join("")}var e4=/[^\0-\x7E]/,e7=/[\x2E\u3002\uFF0E\uFF61]/g,e9={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},e8=w.floor,nt=String.fromCharCode;function ne(t){throw RangeError(e9[t])}function nn(t){for(var e=[],n=0,r=t.length;n<r;){var i=t.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){var o=t.charCodeAt(n++);(64512&o)==56320?e.push(((1023&i)<<10)+(1023&o)+65536):(e.push(i),n--)}else e.push(i)}return e}var nr=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},ni=function(t,e,n){var r=0;for(t=n?e8(t/700):t>>1,t+=e8(t/e);t>455;r+=36)t=e8(t/35);return e8(r+36*t/(t+38))},no=function(t){for(var e=[],n=(t=nn(t)).length,r=128,i=0,o=72,s=0,u=t;s<u.length;s++){var a=u[s];a<128&&e.push(nt(a))}var h=e.length,f=h;for(h&&e.push("-");f<n;){for(var _=0x7fffffff,c=0,l=t;c<l.length;c++){var d=l[c];d>=r&&d<_&&(_=d)}var p=f+1;_-r>e8((0x7fffffff-i)/p)&&ne("overflow"),i+=(_-r)*p,r=_;for(var g=0,v=t;g<v.length;g++){var y=v[g];if(y<r&&++i>0x7fffffff&&ne("overflow"),y==r){for(var m=i,w=36;;w+=36){var I=w<=o?1:w>=o+26?26:w-o;if(m<I)break;var b=m-I,S=36-I;e.push(nt(nr(I+b%S,0))),m=e8(b/S)}e.push(nt(nr(m,0))),o=ni(i,p,f==h),i=0,++f}}++i,++r}return e.join("")},ns=function(t){var e,n,r,i;return e=t,n=function(t){return e4.test(t)?"xn--"+no(t):t},r=e.split("@"),i="",r.length>1&&(i=r[0]+"@",e=r[1]),i+(function(t,e){for(var n=[],r=t.length;r--;)n[r]=e(t[r]);return n})((e=e.replace(e7,".")).split("."),n).join(".")};function nu(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];r>65535&&(r-=65536,e.push(r>>>10&1023|55296),r=56320|1023&r),e.push(r)}return e5(e)}function na(t){if(t>=55296&&t<=57343)throw new v("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function nh(t,e){return t>>e&63|128}function nf(t){for(var e,n=[],r=0;r<t.length;r++)e=t[r],(0xffffff80&e)==0?n.push(e):((0xfffff800&e)==0?n.push(e>>6&31|192):(0xffff0000&e)==0?(na(e),n.push(e>>12&15|224),n.push(nh(e,6))):(0xffe00000&e)==0&&(n.push(e>>18&7|240),n.push(nh(e,12)),n.push(nh(e,6))),n.push(63&e|128));return n}function n_(){if(u>=s)throw new v("Invalid byte index");var t=255&o[u];if(u++,(192&t)==128)return 63&t;throw new v("Invalid continuation byte")}function nc(t){return[37,e2(t>>4),e2(15&t)]}function nl(t){return t>=0&&t<=31||t>126}function nd(t){return nl(t)||32===t||34===t||60===t||62===t||96===t}function np(t){return nd(t)||35===t||63===t||123===t||125===t}function ng(t){return np(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function nv(t){return t<33||t>126||34===t||35===t||60===t||62===t}function ny(t){return nv(t)||39===t}function nm(t,e){if(!e(t))return[t];for(var n=nf([t]),r=[],i=0;i<n.length;i++){var o=n[i];r.push.apply(r,nc(o))}return r}function nw(t,e){for(var n=[],r=0,i=nn(t);r<i.length;r++){var o=i[r];n.push.apply(n,nm(o,e))}return nu(n)}function nI(t){return nu(function(t){s=(o=t.slice()).length,u=0;for(var e,n=[];!1!==(e=function(){var t,e,n,r;if(u>s)throw new v("Invalid byte index");if(u===s)return!1;if(t=255&o[u],u++,(128&t)==0)return t;if((224&t)==192){if((r=(31&t)<<6|(e=n_()))>=128)return r;throw new v("Invalid continuation byte")}if((240&t)==224){if((r=(15&t)<<12|(e=n_())<<6|(n=n_()))>=2048)return na(r),r;throw new v("Invalid continuation byte")}if((248&t)==240&&(e=n_(),(r=(7&t)<<18|e<<12|(n=n_())<<6|n_())>=65536&&r<=1114111))return r;throw new v("Invalid UTF-8 detected")}());)n.push(e);return n}(function(t){for(var e=[],n=t.length,r=0;r<n;r++){var i=t[r];if(37===i&&r+2<n&&e$(t[r+1])&&e$(t[r+2])){var o=e1(t[r+1])<<4|e1(t[r+2]);e.push(o),r+=2}else e.push(i)}return e}(nf(nn(t)))))}var nb={rx:4},nS=/[\0\t\n\r #%/:?@\[\\\]]/,nE=/[\0\t\n\r #/:?@\[\\\]]/;function nk(t,e){if("["===t[0]){if("]"!==t[t.length-1])throw new y("Invalid IPv6 address");return{rx:2,rL:function(t){var e=t.length,n=[0,0,0,0,0,0,0,0],r=0,i=null,o=0;if(0<e&&":"===t[o]){if(!(o+1<e&&":"===t[o+1]))throw new y;o+=2,r+=1,i=r}for(;o<e;){if(8===r)throw new y("Too many groups");if(":"===t[o]){if(null!==i)throw new y("Too many :: groups");o+=1,r+=1,i=r;continue}for(var s=0,u=0;u<4&&o<e&&eq.test(t[o]);)s=s<<4|I(t[o],16),o+=1,u+=1;if("."===t[o]){if(0===u||(o-=u,r>6))throw new y;for(var a=0;o<e;){var h=null;if(a>0)if("."===t[o]&&a<4)o+=1;else throw new y;if(!eU.test(t[o]))throw new y;for(;o<e&&eU.test(t[o]);){var f=I(t[o],10);if(null===h)h=f;else if(0===h)throw new y;else if((h=10*h+f)>255)throw new y;o+=1}n[r]=n[r]<<8|h,(2===(a+=1)||4===a)&&(r+=1)}if(4!==a)throw new y;break}if(":"===t[o]){if((o+=1)===e)throw new y}else if(o<e)throw new y;n[r]=s,r+=1}if(null!==i){var _=r-i;for(r=7;0!==r&&_>0;)(function(t,e,n){var r=t[e];t[e]=t[n],t[n]=r})(n,r,i+_-1),r-=1,_-=1}else if(8!==r)throw new y;return n}(t.slice(1,-1))}}if(!e){var n=t;if(nE.test(n))throw new y("Invalid code point in opaque host");var r=nw(n,nl);return""===r?nb:{rx:3,rR:r}}var i=ns(nI(t).toLowerCase());if(nS.test(i))throw new y("Invalid code point in host");var o=function(t){var e=t.split(".");if(""===e[e.length-1]&&e.pop(),!(e.length>4)){for(var n=[],r=0;r<e.length;r++){var i=e[r];if(""===i)return;var o=function(t){var e=10,n=eH;return(eW.test(t)?(t=t.slice(2),e=16,n=ej):t.length>=2&&"0"===t[0]&&(t=t.slice(1),e=8,n=eG),""===t)?0:n.test(t)?I(t,e):void 0}(i);if(void 0===o)return;n.push(o)}for(var s=0;s<n.length-1;s++)if(n[s]>255)throw new y;if(n[n.length-1]>=w.pow(256,5-n.length))throw new y;for(var u=n.pop(),a=0;a<n.length;a++)u+=n[a]*w.pow(256,3-a);return u}}(i);return void 0!==o?{rx:1,rL:o}:""===i?nb:{rx:0,rB:i}}function nA(t){switch(t.rx){case 0:return t.rB;case 1:return function(t){for(var e=[],n=t,r=1;r<=4;r++)e.push(""+(255&n)),4!==r&&e.push("."),n>>>=8;return e.reverse().join("")}(t.rL);case 2:return"["+function(t){for(var e="",n=function(t){for(var e=0,n=0,r=0,i=0,o=0;o<8;o++)0===t[o]?(0===i&&(r=o),i++):(i>n&&(e=r,n=i),i=0);return i>n&&(e=r,n=i),n>1?e:null}(t),r=!1,i=0;i<8;i++){if(r)if(0===t[i])continue;else r=!1;if(n===i){e+=0===i?"::":":",r=!0;continue}e+=t[i].toString(16),7!==i&&(e+=":")}return e}(t.rL)+"]";case 3:return t.rR;case 4:return""}}var nT=/\+/g;function nO(t){for(var e=t.split("&"),n=[],r=0;r<e.length;r++){var i=e[r];if(""!==i){var o=i.indexOf("="),s=void 0,u=void 0;-1!==o?(s=i.slice(0,o),u=i.slice(o+1)):(s=i,u=""),s=s.replace(nT," "),u=u.replace(nT," ");var a=nI(s),h=nI(u);n.push([a,h])}}return n}function nR(t){for(var e="",n=0;n<t.length;n++){var r=t[n];n>0&&(e+="&"),e+=nN(nf(nn(r[0])))+"="+nN(nf(nn(r[1])))}return e}function nN(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];32===r?e.push(43):function(t){var e;return 42===t||45===t||46===t||95===t||eJ(e=t)||eY(e)}(r)?e.push(r):e.push.apply(e,nc(r))}return e5(e)}var nL=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function nC(t){var e=""+t,n=nL.exec(e);return n?function(t,e){for(var n=t.length,r=[],i=e;i<n;i++){var o=t.charCodeAt(i);if((63488&o)==55296)if(nM(o)||i===n-1)r.push(65533);else{var s=t.charCodeAt(i+1);nM(s)?(r.push(o,s),i++):r.push(65533)}else r.push(o)}return t.slice(0,e)+e5(r)}(e,n.index):e}var nM=function(t){return(1024&t)!=0};function nB(t,e){var n=t[0],r=e[0];return n===r?0:n<r?-1:1}function nD(t){t.rD.length=0}function nP(t,e){(function(t,e){for(var n=0;n<e.length;n++)t[n]=e[n];t.length=e.length})(t.rD,nO(e))}function nV(t){if(t.rM){var e=nR(t.rD);""===e&&(e=null),t.rM.rM.rN=e}}var nF=function(){function t(t){if(void 0===t&&(t=void 0),this.rM=null,null==t)this.rD=[];else if((void 0===t?"undefined":D(t))==="object"||"function"==typeof t)if(C(n=t,nF)&&eZ(n.rD)&&(!eK||n[A.iterator]===nx)?0:1)if(null==(r=t)?1:eZ(r)?0:eK?"function"!=typeof r[A.iterator]:1)for(var e in this.rD=[],t)m.prototype.hasOwnProperty.call(t,e)&&this.rD.push([nC(e),nC(t[e])]);else{this.rD=[];for(var n,r,i=0,o=eX(t);i<o.length;i++){var s=eX(o[i]);if(2!==s.length)throw new y("Invalid name-value pair");this.rD.push([nC(s[0]),nC(s[1])])}}else this.rD=t.rD.slice();else(t=nC(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.rD=nO(t)}var e=t.prototype;return e.append=function(t,e){t=nC(t),e=nC(e),this.rD.push([t,e]),nV(this)},e.delete=function(t){t=nC(t);for(var e=this.rD,n=0;n<e.length;)e[n][0]===t?e.splice(n,1):n++;nV(this)},e.get=function(t){t=nC(t);for(var e=this.rD,n=0;n<e.length;n++){var r=e[n];if(r[0]===t)return r[1]}return null},e.getAll=function(t){t=nC(t);for(var e=this.rD,n=[],r=0;r<e.length;r++){var i=e[r];i[0]===t&&n.push(i[1])}return n},e.has=function(t){t=nC(t);for(var e=this.rD,n=0;n<e.length;n++)if(e[n][0]===t)return!0;return!1},e.set=function(t,e){t=nC(t),e=nC(e);for(var n=this.rD,r=!1,i=0;i<n.length;){var o=n[i];o[0]===t?r?n.splice(i,1):(o[1]=e,r=!0,i++):i++}r||n.push([t,e]),nV(this)},e.sort=function(){var t,e;(e=function(t,e){var n=t.length;if(n<=1)return t;for(var r=Array(n),i=1;i<n;i*=2){eF(t,e,i,r);var o=t;t=r,r=o}return t}(t=this.rD,nB))!==t&&eF(e,null,t.length,t),nV(this)},e.toString=function(){return nR(this.rD)},e.entries=function(){return new nH(this.rD,nU)},e.keys=function(){return new nH(this.rD,nq)},e.values=function(){return new nH(this.rD,nW)},e.forEach=function(t){var e=this;this.rD.forEach(function(n){return t(n[1],n[0],e)})},t}(),nx=nF.prototype.entries;eK&&(nF.prototype[A.iterator]=nx);var nU=function(t){return[t[0],t[1]]},nq=function(t){return t[0]},nW=function(t){return t[1]},nH=function(){function t(t,e){this.rO=0,this.rD=t,this.rF=e}return t.prototype.next=function(){return this.rO<this.rD.length?{done:!1,value:this.rF(this.rD[this.rO++])}:{done:!0,value:void 0}},t}(),nj="null",nG=m.create(null);nG.ftp=21,nG.file=0,nG.gopher=70,nG.http=80,nG.https=443,nG.ws=80,nG.wss=443;var nz=/^(?:\.|%2e)$/i,nZ=/^(?:\.|%2e){2}$/i;function nK(t){return void 0!==nG[t]}function nX(t){return nK(t.rU)}function nQ(t){return""!==t.rq||""!==t.rV}function nY(t){var e=t.length;if(!(e>=2)||!n$(t.slice(0,2)))return!1;if(2!==e){var n=t[2];if(47!==n&&92!==n&&63!==n&&35!==n)return!1}return!0}function nJ(t){return 2===t.length&&ex.test(t[0])&&(":"===t[1]||"|"===t[1])}function n$(t){return 2===t.length&&nJ(e5(t))}function n0(t){return nJ(t)&&":"===t[1]}function n1(t){var e=t.rH;0===e.length||"file"===t.rU&&1===e.length&&n0(e[0])||e.pop()}function n2(t){return null===t.rz||nb===t.rz||t.rW||"file"===t.rU}var n3=/\t|\n|\r/g,n6=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function n5(t,e,n,r){void 0===n&&(n=null),void 0===r&&(r=null),n||(n=new n7,t=t.replace(n6,"")),t=t.replace(n3,"");var i=null!==r?r:0;e=e||null;for(var o=[],s=!1,u=!1,a=!1,h=nn(t),f=h.length,_=0;_<=f;){var c=_<f?h[_]:-1;switch(i){case 0:if(eY(c))o.push(e0(c)),i=1;else if(null===r){o.length=0,i=2;continue}else throw new y("Invalid scheme");break;case 1:if(eJ(c)||eY(c)||43===c||45===c||46===c)o.push(e0(c));else if(58===c){var l=nu(o);if(null!==r&&(nK(n.rU)&&!nK(l)||!nK(n.rU)&&nK(l)||(nQ(n)||null!==n.rG)&&"file"===l||"file"===n.rU&&(n.rz===nb||null===n.rz)))return;if(n.rU=l,null!==r){nX(n)&&n.rG===nG[n.rU]&&(n.rG=null);return}o.length=0,"file"===n.rU?i=13:nX(n)&&e&&e.rU===n.rU?i=3:nX(n)?i=7:47===h[_+1]?(i=4,_+=1):(n.rW=!0,n.rH.push(""),i=18)}else if(null===r){o.length=0,i=2,_=0;continue}else throw new y("Invalid scheme");break;case 2:if(!e||e.rW&&35!==c)throw new y("Invalid scheme");e.rW&&35===c?(n.rU=e.rU,n.rH=e.rH.slice(),n.rN=e.rN,n.rK="",n.rW=!0,i=20):(i="file"!==e.rU?5:13,_-=1);break;case 3:47===c&&47===h[_+1]?i=8:(i=5,_-=1);break;case 4:47===c?i=9:(i=17,_-=1);break;case 5:n.rU=e.rU,-1===c?(n.rq=e.rq,n.rV=e.rV,n.rz=e.rz,n.rG=e.rG,n.rH=e.rH.slice(),n.rN=e.rN):47===c?i=6:63===c?(n.rq=e.rq,n.rV=e.rV,n.rz=e.rz,n.rG=e.rG,n.rH=e.rH.slice(),n.rN="",i=19):35===c?(n.rq=e.rq,n.rV=e.rV,n.rz=e.rz,n.rG=e.rG,n.rH=e.rH.slice(),n.rN=e.rN,n.rK="",i=20):92===c&&nX(n)?i=6:(n.rq=e.rq,n.rV=e.rV,n.rz=e.rz,n.rG=e.rG,n.rH=e.rH.slice(),n.rH.pop(),i=17,_-=1);break;case 6:nX(n)&&(47===c||92===c)?i=8:47===c?i=9:(n.rq=e.rq,n.rV=e.rV,n.rz=e.rz,n.rG=e.rG,i=17,_-=1);break;case 7:if(47===c&&47===h[_+1])i=8,_+=1;else{i=8;continue}break;case 8:47!==c&&92!==c&&(i=9,_-=1);break;case 9:if(64===c){s&&o.unshift(37,52,48),s=!0;for(var d=0;d<o.length;d++){var p=o[d];if(58===p&&!a){a=!0;continue}var g=nu(nm(p,ng));a?n.rV+=g:n.rq+=g}o.length=0}else if(-1===c||47===c||63===c||35===c||nX(n)&&92===c){if(s&&0===o.length)throw new y("Invalid host");_-=o.length+1,o.length=0,i=10}else o.push(c);break;case 10:case 11:if(null!==r&&"file"===n.rU)_-=1,i=15;else if(58!==c||u)if(-1===c||47===c||63===c||35===c||nX(n)&&92===c){if(_-=1,nX(n)&&0===o.length)throw new y("Invalid host");if(null!==r&&0===o.length&&(nQ(n)||null!==n.rG))return;var v=nk(nu(o),nX(n));if(n.rz=v,o.length=0,i=16,null!==r)return}else 91===c?u=!0:93===c&&(u=!1),o.push(c);else{if(0===o.length)throw new y("Invalid host");var m=nk(nu(o),nX(n));if(n.rz=m,o.length=0,i=12,11===r)return}break;case 12:if(eJ(c))o.push(c);else if(-1===c||47===c||63===c||35===c||nX(n)&&92===c||null!==r){if(0!==o.length){var w=I(nu(o),10);if(w>65535)throw new y("Invalid port");n.rG=w===nG[n.rU]?null:w,o.length=0}if(null!==r)return;i=16,_-=1}else throw new y("Invalid port");break;case 13:n.rU="file",47===c||92===c?i=14:e&&"file"===e.rU?-1===c?(n.rz=e.rz,n.rH=e.rH.slice(),n.rN=e.rN):63===c?(n.rz=e.rz,n.rH=e.rH.slice(),n.rN="",i=19):35===c?(n.rz=e.rz,n.rH=e.rH.slice(),n.rN=e.rN,n.rK="",i=20):(nY(h.slice(_))||(n.rz=e.rz,n.rH=e.rH.slice(),n1(n)),i=17,_-=1):(i=17,_-=1);break;case 14:47===c||92===c?i=15:(e&&"file"===e.rU&&!nY(h.slice(_))&&(n0(e.rH[0])?n.rH.push(e.rH[0]):n.rz=e.rz),i=17,_-=1);break;case 15:if(-1===c||47===c||92===c||63===c||35===c)if(_-=1,null===r&&n$(o))i=17;else if(0===o.length){if(n.rz=nb,null!==r)return;i=16}else{var b=nk(nu(o),nX(n));if(0===b.rx&&"localhost"===b.rB&&(b=nb),n.rz=b,null!==r)return;o.length=0,i=16}else o.push(c);break;case 16:nX(n)?(i=17,47!==c&&92!==c&&(_-=1)):null===r&&63===c?(n.rN="",i=19):null===r&&35===c?(n.rK="",i=20):-1!==c&&(i=17,47!==c&&(_-=1));break;case 17:if(-1===c||47===c||nX(n)&&92===c||null===r&&(63===c||35===c)){var S,E,k,A=nu(o);if((S=A,nZ.test(S))?(n1(n),47===c||nX(n)&&92===c||n.rH.push("")):(E=A,nz.test(E)&&47!==c&&!(nX(n)&&92===c))?n.rH.push(""):(k=A,nz.test(k)||("file"===n.rU&&0===n.rH.length&&n$(o)&&(nb!==n.rz&&null!==n.rz&&(n.rz=nb),o[1]=58,A=nu(o)),n.rH.push(A))),o.length=0,"file"===n.rU&&(-1===c||63===c||35===c))for(;n.rH.length>1&&""===n.rH[0];)n.rH.shift();63===c?(n.rN="",i=19):35===c&&(n.rK="",i=20)}else o.push.apply(o,nm(c,np));break;case 18:63===c?(n.rN="",i=19):35===c?(n.rK="",i=20):-1!==c&&(n.rH[0]+=nu(nm(c,nl)));break;case 19:null===r&&35===c?(n.rK="",i=20):-1!==c&&(n.rN+=nu(nm(c,nX(n)?ny:nv)));break;case 20:-1===c||0===c||(n.rK+=nu(nm(c,nd)))}_++}return n}function n4(t,e,n,r){try{n5(t,e,n,r)}catch(t){}}var n7=function(){this.rU="",this.rq="",this.rV="",this.rz=null,this.rG=null,this.rH=[],this.rN=null,this.rK=null,this.rW=!1},n9=function(){function t(t,e){var n,r,i=null;if(null!=e)if(+(!(null!=e&&C(e,n9))||"object"!==D(e.rM)))try{i=n5(String(e),null)}catch(t){throw new y("Invalid base URL: "+t.message)}else i=e.rM;try{r=n5(String(t),i)}catch(t){throw new y("Invalid URL: "+t.message)}var o=r.rN;this.rM=r,this.rN=(n=new nF,null!==o&&nP(n,o),n),this.rN.rM=this}var e,n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},e=[{key:"href",get:function(){return function(t,e){void 0===e&&(e=!1);var n=t.rU+":";if(null!==t.rz?(n+="//",nQ(t)&&(n+=t.rq,""!==t.rV&&(n+=":"+t.rV),n+="@"),n+=nA(t.rz),null!==t.rG&&(n+=":"+t.rG)):null===t.rz&&"file"===t.rU&&(n+="//"),t.rW)n+=t.rH[0];else for(var r=0,i=t.rH;r<i.length;r++)n+="/"+i[r];return null!==t.rN&&(n+="?"+t.rN),e||null===t.rK||(n+="#"+t.rK),n}(this.rM)},set:function(t){try{e=n5(String(t),null)}catch(t){throw new y("Invalid URL: "+t.message)}this.rM=e,nD(this.rN);var e,n=this.rM.rN;null!==n&&nP(this.rN,n)}},{key:"origin",get:function(){return function t(e){var n,r,i,o;switch(e.rU){case"blob":try{n=n5(e.rH[0],null)}catch(t){return nj}return t(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return r=e.rU,i=e.rz,o=e.rG,r+"://"+nA(i)+(null===o?"":":"+o);default:return nj}}(this.rM)}},{key:"protocol",get:function(){return this.rM.rU+":"},set:function(t){n4(t+":",null,this.rM,0)}},{key:"username",get:function(){return this.rM.rq},set:function(t){n2(this.rM)||(this.rM.rq=nw(t,ng))}},{key:"password",get:function(){return this.rM.rV},set:function(t){n2(this.rM)||(this.rM.rV=nw(t,ng))}},{key:"host",get:function(){var t=this.rM,e=t.rz;if(null===e)return"";var n=t.rG,r=nA(e);return null!==n&&(r+=":"+n),r},set:function(t){this.rM.rW||n4(t,null,this.rM,10)}},{key:"hostname",get:function(){var t=this.rM.rz;return null===t?"":nA(t)},set:function(t){this.rM.rW||n4(t,null,this.rM,11)}},{key:"port",get:function(){var t=this.rM.rG;return null===t?"":""+t},set:function(t){n2(this.rM)||(""===t?this.rM.rG=null:n4(t,null,this.rM,12))}},{key:"pathname",get:function(){var t=this.rM.rH;return this.rM.rW?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.rM.rW||(this.rM.rH.length=0,n4(t,null,this.rM,16))}},{key:"search",get:function(){var t=this.rM.rN;return null===t||""===t?"":"?"+t},set:function(t){t=nC(t);var e=this.rM;if(""===t){e.rN=null,nD(this.rN);return}"?"===t[0]&&(t=t.slice(1)),e.rN="",n4(t,null,e,19),nP(this.rN,t)}},{key:"searchParams",get:function(){return this.rN}},{key:"hash",get:function(){var t=this.rM.rK;return null===t||""===t?"":"#"+t},set:function(t){if(""===t){this.rM.rK=null;return}"#"===t[0]&&(t=t.slice(1)),this.rM.rK="",n4(t,null,this.rM,20)}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),m.defineProperty(t,r.key,r)}}(t.prototype,e),t}();function n8(t){return t.document&&t.document.baseURI||t.location.href||""}var rt=function(){function t(){this.iT=void 0,this.rj=new re,this.rQ=i,this.r$=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.iT=function(){return self.performance.now()}:this.iT=ea}var e=t.prototype;return e.rX=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];eB.apply(void 0,[].concat(e))},e.rY=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];eM.apply(void 0,[].concat(e))},e.rZ=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];eD.apply(void 0,[].concat(e))},e.rJ=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];eP.apply(void 0,[].concat(e))},e.r0=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];eV.apply(void 0,[].concat([t],n))},e.iE=function(t,e){return l(t,e)},e.r1=function(t,e){return p(t,e)},e.ib=function(t){d(t)},e.r2=function(t){g(t)},e.r3=function(){return this.r4.r3()},e.r6=function(){return this.r4.r6()},e.r5=function(){return this.r4.r5()},e.r8=function(){return this.r4.r8()},e.r7=function(){return this.r4.r7()},e.r9=function(t,e){return this.r4.r9(t,e)},e.s_=function(t){return this.r4.s_(t)},e.sp=function(t,e){var n;return void 0===e&&(e=n8(h)),n=(void 0===e?"undefined":D(e))!=="object"||C(e,n9)?e:e.href,new n9(t,n)},e.sy=function(t,e){if(void 0===e&&(e=n8(h)),this.r$){var n="string"==typeof e?e:e.toString();return new self.URL(t,n).href}return this.sp(t,e).href},R(t,[{key:"sh",get:function(){return this.rj}},{key:"sS",get:function(){return this.rQ}},{key:"sT",get:function(){return{sb:c&&c.userAgent.match(/Android /i)?"Android":"other",sE:!!(c&&c.userAgent.match(/Android 8.0.0/i))}}},{key:"sA",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"sC",get:function(){return"languages"in c?c.languages.slice():[c.language]}}]),t}(),re=function(){function t(){}return R(t,[{key:"sP",get:function(){return c.oscpu}},{key:"sS",get:function(){return c.platform}},{key:"sI",get:function(){return c.vendor}},{key:"sx",get:function(){return c.vendorSub}}]),t}(),rn=function(){function t(){}var e=t.prototype;return e.r7=function(){return tg.resolve(!1)},e.r6=function(){return tg.resolve(!1)},e.r8=function(){return tg.resolve(!1)},e.r5=function(){return tg.resolve(!1)},e.s_=function(t){return tg.resolve(!1)},e.r9=function(t,e){return tg.resolve(!1)},e.r3=function(){return tg.resolve(!1)},t}(),rr=function(){function t(){}var e=t.prototype;return e.lh=function(){},e.nN=function(t){},e.nB=function(t){},e.nD=function(t,e){},t}(),ri=function(){function t(e){var n=this;if(this.sD=void 0,this.sD={},e)if(C(e,t))e.asList().forEach(function(t){var e=t[0],r=t[1];n.append(e,r)});else if(tM(e)&&"function"==typeof e.forEach)e.forEach(function(t,e){Array.isArray(t)&&2===t.length?n.append(t[0],t[1]):n.append(e,t)});else if(Array.isArray(e)||void 0!==A&&void 0!==A.iterator&&tM(e)&&"function"==typeof e[A.iterator])for(var r,i=N(e);!(r=i()).done;){var o=r.value,s=o[0],u=o[1];this.append(s,u)}else m.getOwnPropertyNames(e).forEach(function(t){n.append(t,e[t])})}var e=t.prototype;return e.append=function(t,e){var n=t,r=e;n=ro(n),r=rs(r);var i=n.toLowerCase();if(this.sD.hasOwnProperty(i)){var o=this.sD[i],s=o[1];o[1]=s?s+", "+r:r}else this.sD[i]=[n,r]},e.delete=function(t){var e=ro(t).toLowerCase();delete this.sD[e]},e.get=function(t){var e=ro(t).toLowerCase();return this.sD.hasOwnProperty(e)?this.sD[e][1]:null},e.has=function(t){var e=ro(t).toLowerCase();return this.sD.hasOwnProperty(e)},e.set=function(t,e){var n=t,r=(n=ro(n)).toLowerCase();this.sD[r]=[n,rs(e)]},e.forEach=function(t,e){for(var n in this.sD)this.sD.hasOwnProperty(n)&&t.call(e,this.sD[n][1],n,this)},e.asList=function(){var t=[];for(var e in this.sD)if(this.sD.hasOwnProperty(e)){var n=this.sD[e],r=n[0],i=n[1];t.push([r,i])}return t},e.lm=function(){var t={};return this.forEach(function(e,n){t[n]=e}),t},e.lp=function(t){var e=this;t.forEach(function(t,n){e.append(n,t)})},e.lf=function(t){var e=this;t.forEach(function(t,n){e.set(n,t)})},t}();function ro(t){var e=t;if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new y("Invalid character in header field name");return e}function rs(t){var e=t;return"string"!=typeof e&&(e=String(e)),e}var ru=function(t,e){this.dK=void 0,this.d$=void 0,this.d3=void 0,this.dX=void 0,this.d4=void 0,this.d6=void 0,this.iD=void 0,this.sM=void 0,this.d5=void 0,this.d8=void 0,this.d1=void 0,this.d7=void 0,this.d9=void 0,this.hs=void 0,this.hn=void 0,this.h_=void 0;var n,r,i,o,s,u,a,h,f,_,c,l,d,p,g,v,y,m,w=t.d1;e?(o=e.dK,s=e.d$,u=e.d3,a=e.dX,h=e.d4,f=e.d6,_=e.iD,c=e.sM,l=e.d5,d=e.d8,p=e.d7,g=e.d9,v=e.hs,y=e.hn,m=e.h_):(o=null,s={},u="GET",a="text",h=0,f=0,c="",l="",d="",p=!1,v=void 0,y="allowed",m=void 0),this.d1=w,this.dK=t.dK||o,this.d$=new ri(t.d$||s),this.d3=t.d3||u,this.dX=t.dX||a,this.d4=void 0!==t.d4?Number(t.d4)||0:h,this.d6=void 0!==t.d6?Number(t.d6)||0:f,this.iD=t.iD||_||new tj().iD,this.sM=t.sM||c,this.d5=t.d5||l,this.d8=t.d8||d,this.d7=void 0!==t.d7?!!t.d7:p,this.d9=t.d9||g,this.hs=null!=(n=t.hs)?n:v,this.hn=null!=(r=t.hn)?r:y,this.h_=null!=(i=t.h_)?i:m},ra=function(t){function e(e,n){var r="Error while opening "+e.d1;return(null==n?void 0:n.message)&&(r+=": "+n.message),t.call(this,e,r,n)||this}return L(e,t),R(e,[{key:"name",get:function(){return"HttpOpenError"}}]),e}(function(t){function e(e,n,r){var i;return(i=t.call(this,n,r)||this).hv=void 0,i.hv=e,i}return L(e,t),R(e,[{key:"dJ",get:function(){return this.hv}}]),e}(tq)),rh=function(){function t(){}var e=t.prototype;return e.dJ=function(t){return tg.reject(new ra(new ru(t)))},e.hl=function(t){},e._X=function(){},t}(),rf=function(t){function e(e){return t.call(this,"Invalid XML",e)||this}return L(e,t),e}(tq);new(function(t){function e(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[].concat([this],r))||this).uf=new rn,e.Sb=new rh,e.i=new rr,e}return L(e,t),e.prototype.h$=function(t){throw new rf},R(e,[{key:"r4",get:function(){return this.uf}},{key:"hR",get:function(){return!1}},{key:"uE",get:function(){return!1}},{key:"uC",get:function(){return!1}},{key:"uP",get:function(){return!1}},{key:"uA",get:function(){return!1}},{key:"uI",get:function(){return this.i}},{key:"ux",get:function(){return{uL:tD}}},{key:"uR",get:function(){return"default"}},{key:"uB",get:function(){return"unknown"}},{key:"uD",get:function(){return!0}},{key:"uM",get:function(){return this.Sb}},{key:"uN",get:function(){return!1}}]),e}(rt));var r_=((n={})[n.CONFIGURATION=1]="CONFIGURATION",n[n.LICENSE=2]="LICENSE",n[n.SOURCE=3]="SOURCE",n[n.MANIFEST=4]="MANIFEST",n[n.MEDIA=5]="MEDIA",n[n.NETWORK=6]="NETWORK",n[n.CONTENT_PROTECTION=7]="CONTENT_PROTECTION",n[n.SUBTITLE=8]="SUBTITLE",n[n.VR=9]="VR",n[n.AD=10]="AD",n[n.FULLSCREEN=11]="FULLSCREEN",n[n.CACHE=12]="CACHE",n[n.THEOLIVE=13]="THEOLIVE",n);(r_||(r_={})).fromCode=function(t){var e=w.floor(t/1e3);if(e in r_)return e;throw new y("Invalid error code: "+t)};var rc=function(t){function e(e,n,r){var i;return(i=t.call(this,n,r)||this).code=void 0,i.code=e,i}return L(e,t),R(e,[{key:"name",get:function(){return"THEOplayerError"}},{key:"category",get:function(){return r_.fromCode(this.code)}}]),e}(tq),rl=function(){function t(t,e){this.encoding=t,this.fatal=(null==e?void 0:e.fatal)||!1,this.ignoreBOM=(null==e?void 0:e.ignoreBOM)||!1}return t.prototype.decode=function(t,e){var n;return t?(n=C(t,ArrayBuffer)?new E(t):new E(t.buffer,t.byteOffset,t.byteLength),String.fromCharCode.apply(void 0,n)):""},t}(),rd=null;function rp(){return(null===rd||rd.buffer.detached||rd.buffer!==a.memory.buffer)&&(rd=new E(a.memory.buffer)),rd}var rg=new rl("utf-8",{ignoreBOM:!0,fatal:!0});rg.decode();var rv=0;function ry(t,e){var n;return t>>>=0,n=t,(rv+=e)>=0x7ff00000&&((rg=new rl("utf-8",{ignoreBOM:!0,fatal:!0})).decode(),rv=e),rg.decode(rp().subarray(n,n+e))}var rm=Array(128).fill(void 0);rm.push(void 0,null,!0,!1);var rw=rm.length;function rI(t){rw===rm.length&&rm.push(rm.length+1);var e=rw;return rw=rm[e],rm[e]=t,e}function rb(t){return null==t}function rS(t){var e=rm[t];return t<132||(rm[t]=rw,rw=t),e}function rE(t,e){return t>>>=0,rp().subarray(t/1,t/1+e)}var rk=0;function rA(t,e){var n=e(+t.length,1)>>>0;return rp().set(t,n/1),rk=t.length,n}var rT=null;function rO(){return(null===rT||rT.buffer.detached||rT.buffer!==a.memory.buffer)&&(rT=new DataView(a.memory.buffer)),rT}function rR(t){try{var e=a.__wbindgen_add_to_stack_pointer(-16);a.mpegts_to_fmp4(e,rI(t));var n=rO().getInt32(e+0,!0),r=rO().getInt32(e+4,!0);if(rO().getInt32(e+8,!0))throw rS(r);return rS(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}function rN(t){try{var e=a.__wbindgen_add_to_stack_pointer(-16);a.raw_audio_to_fmp4(e,rI(t));var n=rO().getInt32(e+0,!0),r=rO().getInt32(e+4,!0);if(rO().getInt32(e+8,!0))throw rS(r);return rS(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}var rL=new Set(["basic","cors","default"]);function rC(t,e){return rM.apply(this,arguments)}function rM(){return(rM=tF(function(t,e){var n,r,i;return B(this,function(o){switch(o.label){case 0:if(!("function"==typeof Response&&C(t,Response)))return[3,7];if("function"!=typeof WebAssembly.instantiateStreaming)return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,WebAssembly.instantiateStreaming(t,e)];case 2:case 6:return[2,o.sent()];case 3:if(n=o.sent(),t.ok&&rL.has(t.type)&&"application/wasm"!==t.headers.get("Content-Type"))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",n);else throw n;return[3,4];case 4:return[4,t.arrayBuffer()];case 5:return r=o.sent(),[4,WebAssembly.instantiate(r,e)];case 7:return[4,WebAssembly.instantiate(t,e)];case 8:if(C(i=o.sent(),WebAssembly.Instance))return[2,{instance:i,module:t}];return[2,i];case 9:return[2]}})})).apply(this,arguments)}function rB(t){return rD.apply(this,arguments)}function rD(){return(rD=tF(function(t){var e,n,r,i;return B(this,function(o){var s;switch(o.label){case 0:if(void 0!==a)return[2,a];return void 0!==t&&(m.getPrototypeOf(t)===m.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)),(s={}).wbg={},s.wbg.__wbg_Error_e83987f665cf5504=function(t,e){return rI(v(ry(t,e)))},s.wbg.__wbg___wbindgen_throw_b855445ff6a94295=function(t,e){throw new v(ry(t,e))},s.wbg.__wbg_audio_pid_3239c62baa4dd1d4=function(t){var e=rm[t].audio_pid;return rb(e)?0xffffff:e},s.wbg.__wbg_create_output_a9c0af79f38bcb61=function(t,e){return rI({data:rS(t),metadata:rS(e)})},s.wbg.__wbg_create_output_data_3044d0317a2ddd56=function(t,e,n,r,i,o,s,u){var h,f,_,c;return 0!==t&&(h=rE(t,e).slice(),a.__wbindgen_export(t,+e,1)),0!==n&&(f=rE(n,r).slice(),a.__wbindgen_export(n,+r,1)),0!==i&&(_=rE(i,o).slice(),a.__wbindgen_export(i,+o,1)),0!==s&&(c=rE(s,u).slice(),a.__wbindgen_export(s,+u,1)),rI({video_init:h,audio_init:f,video_media:_,audio_media:c})},s.wbg.__wbg_create_output_metadata_ea3399a4d53ad549=function(t,e,n,r,i,o,s,u,h,f,_,c,l,d,p,g,v,y,m,w,I,b,S){var E,k,A,T,O,R,N,L,C,M,B,D,P,V,F,x,U,q,W,H;return 0!==n&&(E=ry(n,r).slice(),a.__wbindgen_export(n,+r,1)),0!==i&&(k=ry(i,o).slice(),a.__wbindgen_export(i,+o,1)),0!==s&&(A=rE(s,u).slice(),a.__wbindgen_export(s,+u,1)),0!==h&&(T=rE(h,f).slice(),a.__wbindgen_export(h,+f,1)),rI((O=0xffffff===t?void 0:t,R=0xffffff===e?void 0:e,N=E,L=k,C=A,M=T,B=_>>>0,D=c>>>0,P=l>>>0,V=d>>>0,F=p>>>0,x=g>>>0,U=0!==v,q=y>>>0,W=m>>>0,H=w>>>0,{video_pid:O,audio_pid:R,video_codec:N,audio_codec:L,sps_nal:C,pps_nal:M,first_decode_timestamp:{low:B,high:D,base:P},first_presentation_timestamp:{low:V,high:F,base:x},first_video_presentation_timestamp:U?{low:q,high:W,base:H}:void 0,program_map_table_pid:0xffffff===I?void 0:I,video_frame_rate:0===b?void 0:S}))},s.wbg.__wbg_data_2ced3fffc5f71c72=function(t,e){var n=rA(rm[e].data,a.__wbindgen_export2),r=rk;rO().setInt32(t+4,r,!0),rO().setInt32(t+0,n,!0)},s.wbg.__wbg_metadata_cf32ba332613e69f=function(t){var e=rm[t].metadata;return rb(e)?0:rI(e)},s.wbg.__wbg_pps_nal_16de2cf00f7daa05=function(t,e){var n=rm[e].pps_nal,r=rb(n)?0:rA(n,a.__wbindgen_export2),i=rk;rO().setInt32(t+4,i,!0),rO().setInt32(t+0,r,!0)},s.wbg.__wbg_program_map_table_pid_5a3a70b2914c21ee=function(t){var e=rm[t].program_map_table_pid;return rb(e)?0xffffff:e},s.wbg.__wbg_sps_nal_ad226ddbb37b2ae6=function(t,e){var n=rm[e].sps_nal,r=rb(n)?0:rA(n,a.__wbindgen_export2),i=rk;rO().setInt32(t+4,i,!0),rO().setInt32(t+0,r,!0)},s.wbg.__wbg_video_pid_a2da2eab0d4f81ad=function(t){var e=rm[t].video_pid;return rb(e)?0xffffff:e},s.wbg.__wbindgen_object_drop_ref=function(t){rS(t)},e=s,("string"==typeof t||"function"==typeof Request&&C(t,Request)||"function"==typeof URL&&C(t,URL))&&(t=fetch(t)),[4,t];case 1:return[4,rC.apply(void 0,[o.sent(),e])];case 2:return r=(n=o.sent()).instance,[2,(i=n.module,a=r.exports,rB.__wbindgen_wasm_module=i,rT=null,rd=null,a.__wbindgen_start(),a)]}})})).apply(this,arguments)}function rP(){return(rP=tF(function(t){var e;return B(this,function(n){switch(n.label){case 0:var r;return[4,rB({module_or_path:C(t,WebAssembly.Module)?t:"http:"===(e="string"==typeof t?new URL(t):t).protocol||"https:"===e.protocol?fetch(e.href):(r=e.href,new tg(function(t,e){var n=new k;n.onload=function(){t(n.response||new ArrayBuffer(0))},n.onerror=function(){e(new y('Failed to fetch "'+r+'", status '+n.status))},n.open("GET",r,!0),n.responseType="arraybuffer",n.send()}))})];case 1:return n.sent(),[2,{mpegts_to_fmp4:rR,raw_audio_to_fmp4:rN}]}})})).apply(this,arguments)}var rV=new URL("./THEOplayer.transmux.wasm",_.href);(function(t){var e,n=tg.resolve(t()).then(function(t){e=t,n=void 0,self.postMessage({eDk:"11.14.0"})},function(t){var e={success:!1,error:t.message,errorCode:C(t,rc)?t.code:5002};self.postMessage(e)});function r(){return(r=tF(function(t){var r,i,o,s,u,a;return B(this,function(h){switch(h.label){case 0:if(void 0===n)return[3,2];return[4,n];case 1:h.sent(),h.label=2;case 2:if(o=t.id,0===t.type)s=e.mpegts_to_fmp4(t.input);else if(1===t.type)s=e.raw_audio_to_fmp4(t.input);else throw new v("Unknown request type: "+t.type);return u={success:!0,requestId:o,output:s},a=[null==(r=t.input.metadata)?void 0:r.sps_nal,null==(i=t.input.metadata)?void 0:i.pps_nal,t.input.data,s.data.video_init,s.data.audio_init,s.data.video_media,s.data.audio_media].filter(tC).map(function(t){return t.buffer}),self.postMessage(u,a),[2]}})})).apply(this,arguments)}self.addEventListener("message",function(t){var e=t.data.id;(function(t){return r.apply(this,arguments)})(t.data).catch(function(t){var n={success:!1,requestId:e,error:t.message,errorCode:C(t,rc)?t.code:5002};self.postMessage(n)})})})(function(){return function(t){return rP.apply(this,arguments)}(rV)})})("u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:this);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@theoplayer/theoads",
|
|
3
3
|
"main": "THEOplayer.js",
|
|
4
4
|
"types": "THEOplayer.d.ts",
|
|
5
|
-
"version": "11.
|
|
5
|
+
"version": "11.14.0",
|
|
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/",
|