@theoplayer/extended 10.0.1 → 10.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THEOplayer.chromeless.d.ts +2 -2
- package/THEOplayer.chromeless.esm.js +2 -2
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.common.d.ts +918 -831
- package/THEOplayer.common.esm.js +3 -3
- package/THEOplayer.d.ts +2 -2
- package/THEOplayer.esm.js +3 -3
- package/THEOplayer.js +3 -3
- package/THEOplayer.transmux.asmjs.js +3 -3
- package/THEOplayer.transmux.js +3 -3
- package/package.json +1 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.sw.js +3 -3
package/theoplayer.sw.js
CHANGED
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
THEOplayer is based on patented technology developed by
|
|
25
25
|
THEO Technologies (https://www.theoplayer.com).
|
|
26
26
|
|
|
27
|
-
Version: 10.
|
|
28
|
-
Created: 2025-09-
|
|
27
|
+
Version: 10.1.1
|
|
28
|
+
Created: 2025-09-30T11:07:58.254Z
|
|
29
29
|
*/
|
|
30
|
-
!function(t){"use strict";var n,i,r,e,u,o,f,s,h,c=t.window,a=t.document,l=(t.location,t.navigator),v=t.setTimeout,d=t.clearTimeout,y=t.setInterval,_=t.clearInterval,w=t.Error,g=t.TypeError,k=(t.SyntaxError,t.Object),S=t.Math,p=t.parseInt,I=t.parseFloat,b=t.isNaN,m=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function E(t,i){return null!=i&&void 0!==n&&i[n.hasInstance]?!!i[n.hasInstance](t):t instanceof i}function A(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,i=null!=(o=Symbol.for)?o:Symbol,r=Symbol.iterator,e=null!=(f=Symbol.dispose)?f:i("Symbol.dispose"),u=null!=(s=Symbol.asyncDispose)?s:i("Symbol.asyncDispose")):(h=0,n=function(t){return"hd"+t+"_"+ ++h},r=(i=function(t){return"hd"+t})("Symbol.iterator"),e=i("Symbol.dispose"),u=i("Symbol.asyncDispose"),n.for=i,n.iterator=r,n.dispose=e,n.asyncDispose=u);var O=v;function R(t){return Boolean(t&&void 0!==t.length)}function T(){}function D(t){if(!E(this,D))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Va=0,this.t7t=!1,this.oAt=void 0,this.n7t=[],V(t,this)}function F(t,n){for(;3===t.Va;)t=t.oAt;0!==t.Va?(t.t7t=!0,D.i7t(function(){var i=1===t.Va?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.oAt)}catch(t){return void B(n.promise,t)}N(n.promise,r)}else(1===t.Va?N:B)(n.promise,t.oAt)})):t.n7t.push(n)}function N(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":A(n))||"function"==typeof n)){var i=n.then;if(E(n,D))return t.Va=3,t.oAt=n,void P(t);if("function"==typeof i)return void V(function(t,n){return function(){t.apply(n,arguments)}}(i,n),t)}t.Va=1,t.oAt=n,P(t)}catch(n){B(t,n)}}function B(t,n){t.Va=2,t.oAt=n,P(t)}function P(t){2===t.Va&&0===t.n7t.length&&D.i7t(function(){t.t7t||D.r7t(t.oAt)});for(var n=0,i=t.n7t.length;n<i;n++)F(t,t.n7t[n]);t.n7t=null}function M(t,n,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=i}function V(t,n){var i=!1;try{t(function(t){i||(i=!0,N(n,t))},function(t){i||(i=!0,B(n,t))})}catch(t){if(i)return;i=!0,B(n,t)}}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.then=function(t,n){var i=new this.constructor(T);return F(this,new M(t,n,i)),i},D.prototype.finally=function(t){var n=this.constructor;return this.then(function(i){return n.resolve(t()).then(function(){return i})},function(i){return n.resolve(t()).then(function(){return n.reject(i)})})},D.all=function(t){return new D(function(n,i){if(!R(t))return i(new g("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,o){try{if(o&&("object"===(void 0===o?"undefined":A(o))||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},i)}r[t]=o,0===--e&&n(r)}catch(t){i(t)}}for(var o=0;o<r.length;o++)u(o,r[o])})},D.allSettled=function(t){return new this(function(n,i){if(!t||void 0===t.length)return i(new g((void 0===t?"undefined":A(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,i){if(i&&("object"===(void 0===i?"undefined":A(i))||"function"==typeof i)){var o=i.then;if("function"==typeof o)return void o.call(i,function(n){u(t,n)},function(i){r[t]={status:"rejected",reason:i},0===--e&&n(r)})}r[t]={status:"fulfilled",value:i},0===--e&&n(r)}for(var o=0;o<r.length;o++)u(o,r[o])})},D.resolve=function(t){return t&&"object"===(void 0===t?"undefined":A(t))&&t.constructor===D?t:new D(function(n){n(t)})},D.reject=function(t){return new D(function(n,i){i(t)})},D.race=function(t){return new D(function(n,i){if(!R(t))return i(new g("Promise.race accepts an array"));for(var r=0,e=t.length;r<e;r++)D.resolve(t[r]).then(n,i)})},D.i7t="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){O(t,0)},D.r7t=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var C=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),H=l?l.userAgent:"",W=H.match(/Firefox\/([0-9]+)/i),L=null!=W,x=W?Number(W[1]):0,j=H.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),U=null!=j,z=j?Number(j[3]):0,G=function(){function t(t){this.fA=0,this.Tf=0,this.bw=[],this.e7t=t}return t.prototype.s7t=function(t){var n=this.length();this.u7t(n+1);var i=this.Tf+n&this.e7t-1;this.bw[i]=t,this.fA=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.e7t<n)this.s7t(t);else{var i=this.Tf+n-1,r=this.e7t-1;this.bw[i&r]=t,this.fA=n}},t.prototype.shift=function(){var t=this.Tf,n=this.bw[t];return this.bw[t]=void 0,this.Tf=t+1&this.e7t-1,this.fA--,n},t.prototype.length=function(){return this.fA},t.prototype.u7t=function(t){this.e7t<t&&this.o7t(this.e7t<<1)},t.prototype.o7t=function(t){var n=this.e7t;this.e7t=t;var i=this.Tf+this.fA&n-1;!function(t,n,i,r){for(var e=0;e<r;++e)t[e+i]=t[e+n],t[e+n]=void 0}(this.bw,0,n,i)},t}();var K="unhandledrejection",X=self.PromiseRejectionEvent,$=self.CustomEvent;function q(t){return new X(K,{reason:t,promise:C.reject(t).catch(function(){}),cancelable:!0})}function Z(t){var n=new $(K,{detail:{reason:t},cancelable:!0});return k.defineProperty(n,"reason",{value:t}),n}function Y(t){var n=a.createEvent("CustomEvent");return n.initCustomEvent(K,!1,!0,{reason:t}),n}var J,Q,tt,nt,it,rt,et,ut,ot=function(t){return ot=function(){try{var t=C.resolve(),n="error",i=new X(K,{reason:n,promise:t});return K===i.type&&n===i.reason}catch(t){}return!1}()?q:function(){try{var t="error",n=new $(K,{detail:{reason:t}});return K===n.type&&t===n.detail.reason}catch(t){}return!1}()?Z:Y,ot(t)};function ft(t,n){return ft=k.setPrototypeOf||function(t,n){return t.__proto__=n,t},ft(t,n)}function st(t,n){if("function"!=typeof n&&null!==n)throw new g("Super expression must either be null or a function");t.prototype=k.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ft(t,n)}function ht(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),k.defineProperty(t,r.key,r)}}function ct(t,n,i){return n&&ht(t.prototype,n),i&&ht(t,i),t}function at(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function lt(t,i){var e=void 0!==n&&t[r]||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 at(t,n);var i=k.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?at(t,n):void 0}}(t))||i&&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.")}C&&!(L&&x<60||U&&z<15)?Q=C:(Q=D,et=null!==(J=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=C;if(n&&"function"==typeof n.resolve){var i=n.resolve();return function(t){return i.then(t)}}}())&&void 0!==J?J:D.i7t,tt=et,nt=new G(16),it=!1,(ut={T3:function(t){nt.push(t),it||(it=!0,tt(rt))},gX:rt=function(){for(;nt.length()>0;)nt.shift()();it=!1}}).gX,D.i7t=ut.T3,D.r7t=function(t){try{var n=ot(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}v(function(){throw new w("Unhandled promise rejection: ".concat(t))},0)});var vt=function(t){return t.O_="web",t.F_="android",t.U_="android-tv",t.V_="ios",t.H_="tvos",t.W_="chromecast",t.q_="theoliveweb",t}({});var dt=l?l.userAgent:"",yt=dt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),_t=dt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),wt=dt.match(/Android ([0-9\.]+)/i),gt=dt.match(/Windows NT ([0-9\.]+)/i),kt=dt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),St=dt.match(/Firefox\/([0-9\.]+)/i),pt=dt.match(/OPR\/(\d+\.\d+)/i),It=dt.match(/Tizen ([0-9\.]+)/i),bt=dt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),mt=dt.match(/HbbTV\/([0-9.]+)/i),Et=dt.match(/(AFT.*) Build/i),At=function(){function t(){this.z_=Boolean("ontouchstart"in self||self.DocumentTouch&&E(a,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.G_=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(dt)||/(macintosh|mac(?=_powerpc)\s)/i.test(dt),this.K_=/Windows NT/i.test(dt),this.Y_=gt?I(gt[1]):0,this.J_=/Android/i.test(dt),this.rv=wt?I(wt[1]):0,this.ov=/windows phone (8|8\.1)/i.test(dt),this.fv=/iPhone/i.test(dt),this.vv=/iPad/i.test(dt),this.wv=this.G_&&this.z_&&!this.vv,this.yv=/iPod/i.test(dt),this.Cv=/Mobile Safari/i.test(dt),this.Pv=/EOS\d*STB/i.test(dt),this.Iv=/APP\d*STB/i.test(dt),this.bv=(this.fv||this.vv||this.wv||this.yv)&&!this.ov,this.Sv=bt?I(bt[2]):0,this.xv=this.ov||this.bv||this.J_||this.Cv,this.Dv=/CriOS/i.test(dt),this.Mv=Boolean(self.chrome&&/google/i.test(l.vendor))||this.Dv,this.Vv=this.Mv&&/Edg\//i.test(l.userAgent),this.Wv=_t?p(_t[1],10):0,this.um=Boolean(/CriOS/i.test(dt)),this.hm=Boolean(self.chrome||/Chrome/i.test(dt)||this.um),this.Fv=yt?p(yt[1],10):0,this.Xv=/SMART-TV.*Tizen/i.test(dt),this.Qv=It?I(It[1]):0,this.Ov=this.Qv>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.Qv):void 0,this.Yv=/webos|web0s/i.test(dt),this.Jv=/HbbTV/i.test(dt),this.eg=!!mt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(mt[1]),this.hg=/AFT.* Build/i.test(dt),this.og=Et?Et[1]:void 0,this.cg=/VIZIO/i.test(dt),this.fg=/Edge\/\d+/i.test(dt),this.vg=/Trident/i.test(dt),this.wg=this.vg&&!self.ActiveXObject&&"ActiveXObject"in self,this.yg=/Vivaldi/i.test(dt),this.Tg=/Firefox/i.test(dt)&&!/Seamonkey/i.test(dt),this.Eg=St?I(St[1]):0,this.Ig=/Safari/i.test(dt)&&!/Chrome/i.test(dt)&&!this.ov&&!this.Xv,this.Cg=kt?I(kt[2]):0,this.Ng=Boolean(pt),this.Bg=pt?I(pt[1]):0,this.Lg=/CrKey/.test(dt),this.Fg=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(dt),this.Hg=/PlayStation 4/i.test(dt),this.qg=/PlayStation 5/i.test(dt),this.Xg="web"===vt.U_,this.Qg="web"===vt.F_,this.jg=this.Qg||this.Xg,this.Zg="web"===vt.V_,this.$g="web"===vt.H_,this.im="web"===vt.W_}return ct(t,[{key:"tn",get:function(){return this.z_}},{key:"X_",get:function(){return this.G_}},{key:"Q_",get:function(){return this.K_}},{key:"j_",get:function(){return this.Y_}},{key:"Z_",get:function(){return this.J_}},{key:"ev",get:function(){return this.rv}},{key:"hv",get:function(){return this.ov}},{key:"uv",get:function(){return this.fv}},{key:"_v",get:function(){return this.vv}},{key:"mv",get:function(){return this.wv}},{key:"pv",get:function(){return this.yv}},{key:"Av",get:function(){return this.bv}},{key:"Tv",get:function(){return this.Sv}},{key:"Ev",get:function(){return this.Pv||this.Iv}},{key:"Rv",get:function(){return this.Cv}},{key:"te",get:function(){return this.xv}},{key:"Nv",get:function(){return this.Dv}},{key:"Bv",get:function(){return this.Mv}},{key:"Lv",get:function(){var t;return null!=(t=this.Ov)?t:this.Fv}},{key:"Uv",get:function(){return this.Vv}},{key:"Hv",get:function(){var t;return(null==(t=c.chrome)?void 0:t.webview)&&this.Wv>0}},{key:"qv",get:function(){return this.Wv}},{key:"zv",get:function(){return this.Xv}},{key:"Gv",get:function(){return this.Qv}},{key:"Kv",get:function(){return this.Yv}},{key:"Zv",get:function(){return this.Jv}},{key:"$v",get:function(){return this.eg}},{key:"rg",get:function(){return this.hg}},{key:"IS_FIRETV_AFTMM",get:function(){return"AFTMM"===this.og}},{key:"ag",get:function(){return this.cg}},{key:"dg",get:function(){return this.fg}},{key:"_g",get:function(){return this.vg}},{key:"gg",get:function(){return this.wg}},{key:"pg",get:function(){return this.yg}},{key:"Ag",get:function(){return this.Tg}},{key:"Sg",get:function(){return this.Eg}},{key:"Pg",get:function(){return this.Ig}},{key:"Rg",get:function(){return 0===this.Cg&&Ot.Av?this.Sv:this.Cg}},{key:"xg",get:function(){return this.Ng}},{key:"Dg",get:function(){return this.Bg}},{key:"Mg",get:function(){return this.Lg}},{key:"Og",get:function(){return this.Fg}},{key:"Ug",get:function(){return!(!this.Kv&&!this.zv)&&this.Lv<=56}},{key:"Vg",get:function(){return this.Hg}},{key:"Wg",get:function(){return this.qg}},{key:"zg",get:function(){return this.Xg}},{key:"Gg",get:function(){return this.Qg}},{key:"Kg",get:function(){return this.jg}},{key:"Yg",get:function(){return this.Zg}},{key:"Jg",get:function(){return this.$g}},{key:"tm",get:function(){return this.im}},{key:"nm",get:function(){return this.hm}},{key:"IS_IOS_CHROME",get:function(){return this.um}}]),t}();At.dm=new At;var Ot=At.dm,Rt={}.toString;Array.isArray;function Tt(t){return"object"===(void 0===t?"undefined":A(t))&&null!==t}function Dt(t){return function(t){return"function"==typeof t}(t)||Tt(t)}var Ft=function(){};function Nt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}S.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var Bt="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var i=0;i<t.length;i+=1){if(n(t[i],i,t))return i}return-1},Pt="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var i=t.length-1;i>=0;i-=1){if(n(t[i],i,t))return i}return-1};Array.prototype.at;function Mt(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,i),!0)}function Vt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Ct=function(){function t(){this.pm=!1,this.ym=!1,this.Am=[],this.Tm=[]}var n=t.prototype;return n.wm=function(){if(!this.pm&&!this.ym){this.pm=!0;for(var t,n=lt(this.Am.slice());!(t=n()).done;){(0,t.value)()}this.Ku()}},n.Ku=function(){if(!this.ym){this.ym=!0;for(var t,n=lt(this.Tm.slice());!(t=n()).done;){(0,t.value)()}Vt(this.Am),Vt(this.Tm)}},n.Sm=function(t){this.ym||this.Am.push(t)},n.Em=function(t){this.ym||Mt(this.Am,t)},n.Pm=function(t){this.ym||this.Tm.push(t)},n.Im=function(t){this.ym||Mt(this.Tm,t)},t}(),Ht=function(){function t(){this.Cm=new Ct}var n=t.prototype;return n.dd=function(){this.Cm.wm()},n.Ku=function(){this.Cm.Ku()},n.xm=function(t){var n=this.Cm;if(!n.pm)if(t.pm)n.wm();else if(!n.ym&&!t.ym){var i=function(){r(),n.wm()},r=function(){t.Em(i),t.Im(r),n.Em(i),n.Im(r)};t.Sm(i),t.Pm(r),n.Sm(i),n.Pm(r)}},n.Nm=function(){var n=new t,i=new t,r=n.Rm,e=i.Rm,u=this.Cm,o=function(){r.pm&&e.ym||e.pm&&r.ym?u.wm():r.ym&&e.ym&&u.Ku()};r.Sm(o),e.Sm(o),r.Pm(o),e.Pm(o),n.xm(u),i.xm(u);return u.Pm(function(){r.Em(o),e.Em(o),r.Im(o),e.Im(o)}),[n,i]},n[e]=function(){this.dd()},t.Dm=function(n){for(var i,r=new t,e=lt(n);!(i=e()).done;){var u=i.value;void 0!==u&&r.xm(u)}return r},ct(t,[{key:"Rm",get:function(){return this.Cm}}]),t}(),Wt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];w.apply(this,n)};(Wt.prototype=k.create(w.prototype)).constructor=Wt;var Lt=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,w.captureStackTrace&&w.captureStackTrace(r,r.constructor),r}return st(n,t),ct(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Wt);Q.resolve();function xt(){return void 0!==a?a.createElement("video"):void 0}var jt=Nt(xt),Ut=(Nt(function(){return"undefined"!=typeof HTMLVideoElement&&E(jt(),HTMLVideoElement)}),null);try{Ut=new WebAssembly.Instance(new WebAssembly.Module(new m([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(tt){}function zt(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function Gt(t){return!0===(t&&t.Mm)}function Kt(t){var n=S.clz32(t&-t);return t?31-n:n}zt.prototype.Mm,k.defineProperty(zt.prototype,"Mm",{value:!0}),zt.isLong=Gt;var Xt={},$t={};function qt(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=$t[t])?r:(i=Yt(t,0,!0),e&&($t[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=Xt[t])?r:(i=Yt(t,t<0?-1:0,!1),e&&(Xt[t]=i),i)}function Zt(t,n){if(b(t))return n?fn:on;if(n){if(t<0)return fn;if(t>=rn)return ln}else{if(t<=-en)return vn;if(t+1>=en)return an}return t<0?Zt(-t,n).neg():Yt(t%nn|0,t/nn|0,n)}function Yt(t,n,i){return new zt(t,n,i)}zt.fromInt=qt,zt.fromNumber=Zt,zt.fromBits=Yt;var Jt=S.pow;function Qt(t,n,i){if(0===t.length)throw w("empty string");if("number"==typeof n?(i=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?fn:on;if((i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw w("interior hyphen");if(0===r)return Qt(t.substring(1),n,i).neg();for(var e=Zt(Jt(i,8)),u=on,o=0;o<t.length;o+=8){var f=S.min(8,t.length-o),s=p(t.substring(o,o+f),i);if(f<8){var h=Zt(Jt(i,f));u=u.mul(h).add(Zt(s))}else u=(u=u.mul(e)).add(Zt(s))}return u.unsigned=n,u}function tn(t,n){return"number"==typeof t?Zt(t,n):"string"==typeof t?Qt(t,n):Yt(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}zt.fromString=Qt,zt.fromValue=tn;var nn=4294967296,rn=nn*nn,en=rn/2,un=qt(1<<24),on=qt(0);zt.ZERO=on;var fn=qt(0,!0);zt.UZERO=fn;var sn=qt(1);zt.ONE=sn;var hn=qt(1,!0);zt.UONE=hn;var cn=qt(-1);zt.NEG_ONE=cn;var an=Yt(-1,2147483647,!1);zt.MAX_VALUE=an;var ln=Yt(-1,-1,!0);zt.MAX_UNSIGNED_VALUE=ln;var vn=Yt(0,-2147483648,!1);zt.MIN_VALUE=vn;var dn=zt.prototype;function yn(){return Date.now()||(new Date).getTime()}dn.toInt=function(){return this.unsigned?this.low>>>0:this.low},dn.toNumber=function(){return this.unsigned?(this.high>>>0)*nn+(this.low>>>0):this.high*nn+(this.low>>>0)},dn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(vn)){var n=Zt(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=Zt(Jt(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}},dn.getHighBits=function(){return this.high},dn.getHighBitsUnsigned=function(){return this.high>>>0},dn.getLowBits=function(){return this.low},dn.getLowBitsUnsigned=function(){return this.low>>>0},dn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(vn)?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},dn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},dn.isZero=function(){return 0===this.high&&0===this.low},dn.eqz=dn.isZero,dn.isNegative=function(){return!this.unsigned&&this.high<0},dn.isPositive=function(){return this.unsigned||this.high>=0},dn.isOdd=function(){return!(1&~this.low)},dn.isEven=function(){return!(1&this.low)},dn.equals=function(t){return Gt(t)||(t=tn(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},dn.eq=dn.equals,dn.notEquals=function(t){return!this.eq(t)},dn.neq=dn.notEquals,dn.ne=dn.notEquals,dn.lessThan=function(t){return this.comp(t)<0},dn.lt=dn.lessThan,dn.lessThanOrEqual=function(t){return this.comp(t)<=0},dn.lte=dn.lessThanOrEqual,dn.le=dn.lessThanOrEqual,dn.greaterThan=function(t){return this.comp(t)>0},dn.gt=dn.greaterThan,dn.greaterThanOrEqual=function(t){return this.comp(t)>=0},dn.gte=dn.greaterThanOrEqual,dn.ge=dn.greaterThanOrEqual,dn.compare=function(t){if(Gt(t)||(t=tn(t)),this.eq(t))return 0;var n=this.isNegative(),i=t.isNegative();return n&&!i?-1:!n&&i?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},dn.comp=dn.compare,dn.negate=function(){return!this.unsigned&&this.eq(vn)?vn:this.not().add(sn)},dn.neg=dn.negate,dn.add=function(t){Gt(t)||(t=tn(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,h=0,c=0,a=0;return c+=(a+=e+(65535&t.low))>>>16,h+=(c+=r+f)>>>16,s+=(h+=i+o)>>>16,s+=n+u,Yt((c&=65535)<<16|(a&=65535),(s&=65535)<<16|(h&=65535),this.unsigned)},dn.subtract=function(t){return Gt(t)||(t=tn(t)),this.add(t.neg())},dn.sub=dn.subtract,dn.multiply=function(t){if(this.isZero())return this;if(Gt(t)||(t=tn(t)),Ut)return Yt(Ut.mul(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned);if(t.isZero())return this.unsigned?fn:on;if(this.eq(vn))return t.isOdd()?vn:on;if(t.eq(vn))return this.isOdd()?vn:on;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(un)&&t.lt(un))return Zt(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,h=0,c=0,a=0,l=0;return a+=(l+=e*s)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=e*f)>>>16,h+=(c+=i*s)>>>16,c&=65535,h+=(c+=r*f)>>>16,c&=65535,h+=(c+=e*o)>>>16,h+=n*s+i*f+r*o+e*u,Yt((a&=65535)<<16|(l&=65535),(h&=65535)<<16|(c&=65535),this.unsigned)},dn.mul=dn.multiply,dn.divide=function(t){if(Gt(t)||(t=tn(t)),t.isZero())throw w("division by zero");var n,i,r;if(Ut)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?Yt((this.unsigned?Ut.div_u:Ut.div_s)(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?fn:on;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return fn;if(t.gt(this.shru(1)))return hn;r=fn}else{if(this.eq(vn))return t.eq(sn)||t.eq(cn)?vn:t.eq(vn)?sn:(n=this.shr(1).div(t).shl(1)).eq(on)?t.isNegative()?sn:cn:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(vn))return this.unsigned?fn:on;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();r=on}for(i=this;i.gte(t);){n=S.max(1,S.floor(i.toNumber()/t.toNumber()));for(var e=S.ceil(S.log(n)/S.LN2),u=e<=48?1:Jt(2,e-48),o=Zt(n),f=o.mul(t);f.isNegative()||f.gt(i);)f=(o=Zt(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=sn),r=r.add(o),i=i.sub(f)}return r},dn.div=dn.divide,dn.modulo=function(t){return Gt(t)||(t=tn(t)),Ut?Yt((this.unsigned?Ut.rem_u:Ut.rem_s)(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},dn.mod=dn.modulo,dn.rem=dn.modulo,dn.not=function(){return Yt(~this.low,~this.high,this.unsigned)},dn.countLeadingZeros=function(){return this.high?S.clz32(this.high):S.clz32(this.low)+32},dn.clz=dn.countLeadingZeros,dn.countTrailingZeros=function(){return this.low?Kt(this.low):Kt(this.high)+32},dn.ctz=dn.countTrailingZeros,dn.and=function(t){return Gt(t)||(t=tn(t)),Yt(this.low&t.low,this.high&t.high,this.unsigned)},dn.or=function(t){return Gt(t)||(t=tn(t)),Yt(this.low|t.low,this.high|t.high,this.unsigned)},dn.xor=function(t){return Gt(t)||(t=tn(t)),Yt(this.low^t.low,this.high^t.high,this.unsigned)},dn.shiftLeft=function(t){return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Yt(0,this.low<<t-32,this.unsigned)},dn.shl=dn.shiftLeft,dn.shiftRight=function(t){return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Yt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},dn.shr=dn.shiftRight,dn.shiftRightUnsigned=function(t){return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):Yt(32===t?this.high:this.high>>>t-32,0,this.unsigned)},dn.shru=dn.shiftRightUnsigned,dn.shr_u=dn.shiftRightUnsigned,dn.rotateLeft=function(t){var n;return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Yt(this.high,this.low,this.unsigned):t<32?(n=32-t,Yt(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),Yt(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},dn.rotl=dn.rotateLeft,dn.rotateRight=function(t){var n;return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Yt(this.high,this.low,this.unsigned):t<32?(n=32-t,Yt(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),Yt(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},dn.rotr=dn.rotateRight,dn.toSigned=function(){return this.unsigned?Yt(this.low,this.high,!1):this},dn.toUnsigned=function(){return this.unsigned?this:Yt(this.low,this.high,!0)},dn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},dn.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]},dn.toBytesBE=function(){var t=this.high,n=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]},zt.fromBytes=function(t,n,i){return i?zt.fromBytesLE(t,n):zt.fromBytesBE(t,n)},zt.fromBytesLE=function(t,n){return new zt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},zt.fromBytesBE=function(t,n){return new zt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)},"function"==typeof BigInt&&(zt.fromBigInt=function(t,n){return Yt(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},zt.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":A(t))?zt.fromBigInt(t,n):tn(t,n)},dn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var _n=1/6,wn=(zt.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&E(a,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),gn=jt(),kn=Boolean(gn&&gn.webkitShowPlaybackTargetPicker),Sn=function(){function t(){this.Om=void 0,this.lw=!1,this.tn=wn,this.te=!1,this.Bm=!0}var n=t.prototype;return n.Fm=function(){return 0},n.ow=function(t,n){return!0},n.aw=function(t){return t>=2*_n},ct(t,[{key:"Lm",get:function(){return void 0===this.Om&&(this.Om=this.Fm()),this.Om}},{key:"Um",get:function(){return Ot.Z_?"android":Ot.X_?"macos":Ot.Av?"ios":Ot.Q_?"windows":"other"}},{key:"Vm",get:function(){return Ot.Og?"tv":Ot.te?"mobile":"desktop"}},{key:"Hm",get:function(){return!Ot.Og}},{key:"Wm",get:function(){if(c.screen)return{width:c.screen.width,height:c.screen.height}}},{key:"qm",get:function(){return c.devicePixelRatio||1}},{key:"zm",get:function(){return kn}},{key:"Xm",get:function(){return!1}},{key:"Gm",get:function(){return!0}},{key:"Qm",get:function(){return!!(Ot.Pg||Ot.Av||Ot.Hv)||!!Ot.ag}},{key:"Km",get:function(){return Ot.ag}},{key:"jm",get:function(){return!Ot.Av}},{key:"Ym",get:function(){return!0}},{key:"Zm",get:function(){return!0}},{key:"Jm",get:function(){return!1}},{key:"$m",get:function(){}},{key:"iw",get:function(){return!0}},{key:"ew",get:function(){return!1}},{key:"nw",get:function(){return Ot.ag}},{key:"hw",get:function(){return!1}},{key:"uw",get:function(){return!1}},{key:"cw",get:function(){return!1}},{key:"dw",get:function(){return!1}}]),t}(),pn=function(t){function n(){return t.call(this)||this}return st(n,t),n}(Sn),In=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.ow=function(t,n){if(t&&t.fw&&n&&n.fw){var i=bn(t.fw,"mp4a.40.2")&&bn(n.fw,"mp4a.40.5"),r=bn(t.fw,"mp4a.40.5")&&bn(n.fw,"mp4a.40.2"),e=bn(t.fw,"mp4a.40.2")&&bn(n.fw,"mp4a.40.34"),u=bn(t.fw,"mp4a.40.34")&&bn(n.fw,"mp4a.40.2"),o=bn(t.fw,"mp4a.40.5")&&bn(n.fw,"mp4a.40.34"),f=bn(t.fw,"mp4a.40.34")&&bn(n.fw,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},ct(n,[{key:"$m",get:function(){if(Ot.X_)return 4096}},{key:"dw",get:function(){return!0}}]),n}(pn);function bn(t,n){return t.indexOf(n)>-1}var mn,En=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.aw=function(t){return t>=2},n}(pn),An=function(t){function n(){var n;return(n=t.call(this)||this).lw=Ot.Rg>=11,n.Bm=Ot.Pg&&!(Ot.Av&&Ot.Rg<10),n}return st(n,t),ct(n,[{key:"hw",get:function(){return Ot.Rg<17}},{key:"uw",get:function(){return!0}}]),n}(pn),On=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"iw",get:function(){return!Ot.Q_||(Ot.Uv?92!==Ot.qv:Ot.Lv>=100)}}]),n}(pn);var Rn=function(){var t=xt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(Ot.mv)return!1;var t=xt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Tn=function(t){function n(n){var i;return(i=t.call(this)||this)._w=void 0,i._w=n,i.lw=i._w.lw,i.tn=i._w.tn,i.Bm=Rn&&i._w.Bm,i}st(n,t);var i=n.prototype;return i.Fm=function(){return this._w.Lm},i.ow=function(t,n){return this._w.ow(t,n)},i.aw=function(t){return this._w.aw(t)},ct(n,[{key:"$m",get:function(){return this._w.$m}},{key:"iw",get:function(){return this._w.iw}},{key:"hw",get:function(){return this._w.hw}},{key:"dw",get:function(){return this._w.dw}}]),n}(Sn),Dn=function(t){function n(n){var i;return(i=t.call(this,n)||this).lw=!0,i.te=!0,i}return st(n,t),ct(n,[{key:"Jm",get:function(){return Ot.Av}}]),n}(Tn);var Fn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.Fm=function(){return function(t){return t&&Dt(c.ManagedMediaSource)?c.ManagedMediaSource:Dt(c.MediaSource)?c.MediaSource:void 0}(!0)?t.prototype.Fm.call(this):1},ct(n,[{key:"Jm",get:function(){return!0}}]),n}(Dn),Nn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).pw=void 0,n}return st(n,t),n.prototype.ow=function(n,i){return t.prototype.ow.call(this,n,i)},ct(n,[{key:"Xm",get:function(){return Ot.Gv<3}},{key:"Gm",get:function(){return Ot.Gv>=3}},{key:"Wm",get:function(){var t=this;return c.tizen&&!this.pw&&c.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var i=n.resolutionWidth,r=n.resolutionHeight;1===i&&1===r||(t.pw={width:i,height:r})}),this.pw}},{key:"ew",get:function(){return Ot.Gv<3}}]),n}(Tn),Bn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).pw=void 0,n}return st(n,t),ct(n,[{key:"Wm",get:function(){var t=this;return c.webOS&&!this.pw&&c.webOS.deviceInfo(function(n){t.pw={width:n.screenWidth,height:n.screenHeight}}),this.pw}},{key:"Ym",get:function(){return!1}}]),n}(Tn),Pn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"Jm",get:function(){return!0}},{key:"uw",get:function(){return this._w.uw}}]),n}(Tn),Mn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"cw",get:function(){return Ot.IS_FIRETV_AFTMM}}]),n}(Tn);!function(t){mn=t}(function(){var t=function(){if(Ot.Ag)return new In;if(Ot.dg||Ot._g)return new En;if(Ot.Pg)return new An;if(Ot.Bv)return new On;return new pn}();return Ot.Av?new Fn(t):Ot.rg?new Mn(t):Ot.te?new Dn(t):Ot.zv?new Nn(t):Ot.Kv?new Bn(t):Ot.X_?new Pn(t):new Tn(t)}());var Vn=!(Ot._g&&!Ot.gg),Cn=self.console;function Hn(t){if(Tt(t))try{return JSON.stringify(t)}catch(t){}return t}function Wn(t){return t.map(Hn).join(" ")}function Ln(t){var n=Cn&&Cn[t];return n?n.bind&&Vn?n.bind(Cn):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];Cn[t](Wn(i))}:void 0}var xn=Ln("log")||Ft,jn=Ln("warn")||xn.bind(void 0,"WARNING:"),Un=Ln("error")||xn.bind(void 0,"ERROR:"),zn=function(){var t=Cn&&Cn.assert;return t?t.bind&&Vn?t.bind(Cn):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];Cn.assert(t,Wn(i))}:function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t||Un.apply(void 0,[].concat(["Assertion failed:"],i))}}();function Gn(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),k.defineProperty(t,r.key,r)}}function Kn(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Xn(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Xn(i,null,t.length,t),t}function Xn(t,n,i,r){var e,u,o,f,s,h=t.length,c=0,a=2*i;for(e=0;e<h;e+=a)for(o=(u=e+i)+i,u>h&&(u=h),o>h&&(o=h),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?r[c++]=t[f++]:r[c++]=t[s++];else if(f<u)r[c++]=t[f++];else{if(!(s<o))break;r[c++]=t[s++]}}var $n=/[a-zA-Z]/,qn=/[0-9]/,Zn=/[0-9a-fA-F]/,Yn=/^0x/i,Jn=/^[0-9]+$/,Qn=/^[0-9a-fA-F]+$/,ti=/^[0-7]+$/,ni=k.prototype.toString,ii=Array.isArray||function(t){return"[object Array]"===ni.call(t)},ri=void 0!==n&&"symbol"==typeof r;function ei(t){return ii(t)?t:Array.from(t)}function ui(t,n,i){var r=t[n];t[n]=t[i],t[i]=r}function oi(t){return t>=65&&t<=90}function fi(t){return oi(t)||function(t){return t>=97&&t<=122}(t)}function si(t){return t>=48&&t<=57}function hi(t){return si(t)||fi(t)}function ci(t){return si(t)||t>=65&&t<=70||t>=97&&t<=102}function ai(t){return oi(t)?t+32:t}function li(t){return si(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function vi(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var di=S.min,yi=String.fromCharCode;function _i(t){for(var n=t.length,i=[],r=0;r<n;r+=16384){var e=di(r+16384,n);i.push(yi.apply(null,t.slice(r,e)))}return i.join("")}var wi=2147483647,gi=/[^\0-\x7E]/,ki=/[\x2E\u3002\uFF0E\uFF61]/g,Si={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pi=S.floor,Ii=String.fromCharCode;function bi(t){throw new RangeError(Si[t])}function mi(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var Ei,Ai,Oi,Ri=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Ti=function(t,n,i){var r=0;for(t=i?pi(t/700):t>>1,t+=pi(t/n);t>455;r+=36)t=pi(t/35);return pi(r+36*t/(t+38))},Di=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(ki,".")).split("."),n).join(".");return r+e}(t,function(t){return gi.test(t)?"xn--"+function(t){for(var n=[],i=(t=mi(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Ii(s))}var h=n.length,c=h;for(h&&n.push("-");c<i;){for(var a=wi,l=0,v=t;l<v.length;l++){var d=v[l];d>=r&&d<a&&(a=d)}var y=c+1;a-r>pi((wi-e)/y)&&bi("overflow"),e+=(a-r)*y,r=a;for(var _=0,w=t;_<w.length;_++){var g=w[_];if(g<r&&++e>wi&&bi("overflow"),g==r){for(var k=e,S=36;;S+=36){var p=S<=u?1:S>=u+26?26:S-u;if(k<p)break;var I=k-p,b=36-p;n.push(Ii(Ri(p+I%b,0))),k=pi(I/b)}n.push(Ii(Ri(k,0))),u=Ti(e,y,c==h),e=0,++c}}++e,++r}return n.join("")}(t):t})};function Fi(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return _i(n)}function Ni(t){if(t>=55296&&t<=57343)throw new w("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Bi(t,n){return t>>n&63|128}function Pi(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Bi(t,12)),n.push(Bi(t,6))):(Ni(t),n.push(t>>12&15|224),n.push(Bi(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Mi(t){for(var n=[],i=0;i<t.length;i++){Pi(t[i],n)}return n}function Vi(){if(Oi>=Ai)throw new w("Invalid byte index");var t=255&Ei[Oi];if(Oi++,128==(192&t))return 63&t;throw new w("Invalid continuation byte")}function Ci(){var t,n;if(Oi>Ai)throw new w("Invalid byte index");if(Oi===Ai)return!1;if(t=255&Ei[Oi],Oi++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Vi())>=128)return n;throw new w("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Vi()<<6|Vi())>=2048)return Ni(n),n;throw new w("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Vi()<<12|Vi()<<6|Vi())>=65536&&n<=1114111)return n;throw new w("Invalid UTF-8 detected")}function Hi(t){return[37,vi(t>>4),vi(15&t)]}function Wi(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Li(t){return Wi(t)||32===t||34===t||60===t||62===t||96===t}function xi(t){return Li(t)||35===t||63===t||123===t||125===t}function ji(t){return xi(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Ui(t){return t<33||t>126||34===t||35===t||60===t||62===t}function zi(t){return Ui(t)||39===t}function Gi(t,n){if(!n(t))return[t];for(var i=Mi([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Hi(u))}return r}function Ki(t,n){for(var i=[],r=0,e=mi(t);r<e.length;r++){var u=e[r];i.push.apply(i,Gi(u,n))}return Fi(i)}function Xi(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&ci(t[r+1])&&ci(t[r+2])){var u=li(t[r+1])<<4|li(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Mi(t))}function $i(t){return Fi(function(t){Ei=t.slice(),Ai=Ei.length,Oi=0;for(var n,i=[];!1!==(n=Ci());)i.push(n);return i}(Xi(mi(t))))}function qi(t){var n=t.length,i=[0,0,0,0,0,0,0,0],r=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new g;u+=2,e=r+=1}for(;u<n;){if(8===r)throw new g("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&Zn.test(t[u]);)o=o<<4|p(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new g;if(u-=f,r>6)throw new g;for(var s=0;u<n;){var h=null;if(s>0){if(!("."===t[u]&&s<4))throw new g;u+=1}if(!qn.test(t[u]))throw new g;for(;u<n&&qn.test(t[u]);){var c=p(t[u],10);if(null===h)h=c;else{if(0===h)throw new g;if((h=10*h+c)>255)throw new g}u+=1}i[r]=i[r]<<8|h,2!==(s+=1)&&4!==s||(r+=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;i[r]=o,r+=1}else{if(null!==e)throw new g("Too many :: groups");u+=1,e=r+=1}}if(null!==e){var a=r-e;for(r=7;0!==r&&a>0;)ui(i,r,e+a-1),r-=1,a-=1}else if(8!==r)throw new g;return i}function Zi(t){var n=10,i=Jn;return Yn.test(t)?(t=t.slice(2),n=16,i=Qn):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=ti),""===t?0:i.test(t)?p(t,n):void 0}var Yi={yw:4},Ji=/[\0\t\n\r #%/:?@\[\\\]]/,Qi=/[\0\t\n\r #/:?@\[\\\]]/;function tr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{yw:2,Aw:qi(t.slice(1,-1))}}if(!n)return function(t){if(Qi.test(t))throw new g("Invalid code point in opaque host");var n=Ki(t,Wi);return""===n?Yi:{yw:3,bw:n}}(t);var i=function(t){var n=function(t){return Di(t.toLowerCase())}(t);return n}($i(t));if(Ji.test(i))throw new g("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=Zi(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new g;if(i[i.length-1]>=S.pow(256,5-i.length))throw new g;for(var f=i.pop(),s=0;s<i.length;s++)f+=i[s]*S.pow(256,3-s);return f}}(i);return void 0!==r?{yw:1,Aw:r}:""===i?Yi:{yw:0,Tw:i}}function nr(t){switch(t.yw){case 0:return t.Tw;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.Aw);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.Aw)+"]";case 3:return t.bw;case 4:return""}}var ir=/\+/g;function rr(t){return 42===t||45===t||46===t||95===t||hi(t)}function er(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(ir," "),f=f.replace(ir," ");var s=$i(o),h=$i(f);i.push([s,h])}}return i}function ur(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=or(Mi(mi(r[0])))+"="+or(Mi(mi(r[1])))}return n}function or(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];32===r?n.push(43):rr(r)?n.push(r):n.push.apply(n,Hi(r))}return _i(n)}var fr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function sr(t){var n=""+t,i=fr.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(cr(u))if(ar(u)||e===i-1)r.push(hr);else{var o=t.charCodeAt(e+1);ar(o)?(r.push(u,o),e++):r.push(hr)}else r.push(u)}return t.slice(0,n)+_i(r)}(n,i.index):n}var hr=65533,cr=function(t){return 55296==(63488&t)},ar=function(t){return!!(1024&t)};function lr(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function vr(t){t.Sw.length=0}function dr(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.Sw,er(n))}function yr(t){if(t.Ew){var n=ur(t.Sw);""===n&&(n=null),t.Ew.Ew.Pw=n}}var _r=function(){function t(t){if(void 0===t&&(t=void 0),this.Ew=null,null==t)this.Sw=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof _r&&!!ii(t.Sw)&&(!ri||t[r]===wr)}(t))this.Sw=t.Sw.slice();else if(function(t){return null!=t&&(!!ii(t)||!!ri&&"function"==typeof t[r])}(t)){this.Sw=[];for(var n=0,i=ei(t);n<i.length;n++){var e=ei(i[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.Sw.push([sr(e[0]),sr(e[1])])}}else for(var u in this.Sw=[],t)k.prototype.hasOwnProperty.call(t,u)&&this.Sw.push([sr(u),sr(t[u])]);else(t=sr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Sw=er(t)}var n=t.prototype;return n.append=function(t,n){t=sr(t),n=sr(n),this.Sw.push([t,n]),yr(this)},n.delete=function(t){t=sr(t);for(var n=this.Sw,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}yr(this)},n.get=function(t){t=sr(t);for(var n=this.Sw,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=sr(t);for(var n=this.Sw,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=sr(t);for(var n=this.Sw,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=sr(t),n=sr(n);for(var i=this.Sw,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),yr(this)},n.sort=function(){Kn(this.Sw,lr),yr(this)},n.toString=function(){return ur(this.Sw)},n.entries=function(){return new pr(this.Sw,gr)},n.keys=function(){return new pr(this.Sw,kr)},n.values=function(){return new pr(this.Sw,Sr)},n.forEach=function(t){var n=this;this.Sw.forEach(function(i){return t(i[1],i[0],n)})},t}(),wr=_r.prototype.entries;ri&&(_r.prototype[r]=wr);var gr=function(t){return[t[0],t[1]]},kr=function(t){return t[0]},Sr=function(t){return t[1]},pr=function(){function t(t,n){this.Iw=0,this.Sw=t,this.Rw=n}return t.prototype.next=function(){return this.Iw<this.Sw.length?{done:!1,value:this.Rw(this.Sw[this.Iw++])}:{done:!0,value:void 0}},t}(),Ir="null";var br=k.create(null);br.ftp=21,br.file=0,br.gopher=70,br.http=80,br.https=443,br.ws=80,br.wss=443;var mr=/^(?:\.|%2e)$/i,Er=/^(?:\.|%2e){2}$/i;function Ar(t){return mr.test(t)}function Or(t){return Er.test(t)}function Rr(t){return void 0!==br[t]}function Tr(t){return Rr(t.Cw)}function Dr(t){return""!==t.xw||""!==t.Nw}function Fr(t){var n=t.length;if(!(n>=2))return!1;if(!Br(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function Nr(t){return 2===t.length&&$n.test(t[0])&&(":"===t[1]||"|"===t[1])}function Br(t){return 2===t.length&&Nr(_i(t))}function Pr(t){return Nr(t)&&":"===t[1]}function Mr(t){var n=t.Dw;0!==n.length&&("file"===t.Cw&&1===n.length&&Pr(n[0])||n.pop())}function Vr(t){return null===t.Bw||Yi===t.Bw||t.Mw||"file"===t.Cw}var Cr=-1,Hr=/\t|\n|\r/g,Wr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Lr(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new jr,t=t.replace(Wr,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,h=mi(t=t.replace(Hr,"")),c=h.length,a=0;a<=c;){var l=a<c?h[a]:Cr;switch(e){case 0:if(!fi(l)){if(null===r){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(ai(l)),e=1;break;case 1:if(hi(l)||43===l||45===l||46===l)u.push(ai(l));else{if(58!==l){if(null===r){u.length=0,e=2,a=0;continue}throw new g("Invalid scheme")}var v=Fi(u);if(null!==r){if(Rr(i.Cw)&&!Rr(v))return;if(!Rr(i.Cw)&&Rr(v))return;if((Dr(i)||null!==i.Lw)&&"file"===v)return;if("file"===i.Cw&&(i.Bw===Yi||null===i.Bw))return}if(i.Cw=v,null!==r)return void(Tr(i)&&i.Lw===br[i.Cw]&&(i.Lw=null));u.length=0,"file"===i.Cw?e=13:Tr(i)&&n&&n.Cw===i.Cw?e=3:Tr(i)?e=7:47===h[a+1]?(e=4,a+=1):(i.Mw=!0,i.Dw.push(""),e=18)}break;case 2:if(!n||n.Mw&&35!==l)throw new g("Invalid scheme");n.Mw&&35===l?(i.Cw=n.Cw,i.Dw=n.Dw.slice(),i.Pw=n.Pw,i.Ow="",i.Mw=!0,e=20):"file"!==n.Cw?(e=5,a-=1):(e=13,a-=1);break;case 3:47===l&&47===h[a+1]?e=8:(e=5,a-=1);break;case 4:47===l?e=9:(e=17,a-=1);break;case 5:i.Cw=n.Cw,Cr===l?(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Pw=n.Pw):47===l?e=6:63===l?(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Pw="",e=19):35===l?(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Pw=n.Pw,i.Ow="",e=20):92===l&&Tr(i)?e=6:(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Dw.pop(),e=17,a-=1);break;case 6:!Tr(i)||47!==l&&92!==l?47===l?e=9:(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,e=17,a-=1):e=8;break;case 7:if(47!==l||47!==h[a+1]){e=8;continue}e=8,a+=1;break;case 8:47!==l&&92!==l&&(e=9,a-=1);break;case 9:if(64===l){o&&u.unshift(37,52,48),o=!0;for(var d=0;d<u.length;d++){var y=u[d];if(58!==y||s){var _=Fi(Gi(y,ji));s?i.Nw+=_:i.xw+=_}else s=!0}u.length=0}else if(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l){if(o&&0===u.length)throw new g("Invalid host");a-=u.length+1,u.length=0,e=10}else u.push(l);break;case 10:case 11:if(null!==r&&"file"===i.Cw)a-=1,e=15;else if(58!==l||f)if(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l){if(a-=1,Tr(i)&&0===u.length)throw new g("Invalid host");if(null!==r&&0===u.length&&(Dr(i)||null!==i.Lw))return;var w=tr(Fi(u),Tr(i));if(i.Bw=w,u.length=0,e=16,null!==r)return}else 91===l?f=!0:93===l&&(f=!1),u.push(l);else{if(0===u.length)throw new g("Invalid host");var k=tr(Fi(u),Tr(i));if(i.Bw=k,u.length=0,e=12,11===r)return}break;case 12:if(si(l))u.push(l);else{if(!(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l||null!==r))throw new g("Invalid port");if(0!==u.length){var S=p(Fi(u),10);if(S>65535)throw new g("Invalid port");i.Lw=S===br[i.Cw]?null:S,u.length=0}if(null!==r)return;e=16,a-=1}break;case 13:i.Cw="file",47===l||92===l?e=14:n&&"file"===n.Cw?Cr===l?(i.Bw=n.Bw,i.Dw=n.Dw.slice(),i.Pw=n.Pw):63===l?(i.Bw=n.Bw,i.Dw=n.Dw.slice(),i.Pw="",e=19):35===l?(i.Bw=n.Bw,i.Dw=n.Dw.slice(),i.Pw=n.Pw,i.Ow="",e=20):(Fr(h.slice(a))||(i.Bw=n.Bw,i.Dw=n.Dw.slice(),Mr(i)),e=17,a-=1):(e=17,a-=1);break;case 14:47===l||92===l?e=15:(n&&"file"===n.Cw&&!Fr(h.slice(a))&&(Pr(n.Dw[0])?i.Dw.push(n.Dw[0]):i.Bw=n.Bw),e=17,a-=1);break;case 15:if(Cr===l||47===l||92===l||63===l||35===l)if(a-=1,null===r&&Br(u))e=17;else if(0===u.length){if(i.Bw=Yi,null!==r)return;e=16}else{var I=tr(Fi(u),Tr(i));if(0===I.yw&&"localhost"===I.Tw&&(I=Yi),i.Bw=I,null!==r)return;u.length=0,e=16}else u.push(l);break;case 16:Tr(i)?(e=17,47!==l&&92!==l&&(a-=1)):null===r&&63===l?(i.Pw="",e=19):null===r&&35===l?(i.Ow="",e=20):Cr!==l&&(e=17,47!==l&&(a-=1));break;case 17:if(Cr===l||47===l||Tr(i)&&92===l||null===r&&(63===l||35===l)){var b=Fi(u);if(Or(b)?(Mr(i),47===l||Tr(i)&&92===l||i.Dw.push("")):!Ar(b)||47===l||Tr(i)&&92===l?Ar(b)||("file"===i.Cw&&0===i.Dw.length&&Br(u)&&(Yi!==i.Bw&&null!==i.Bw&&(i.Bw=Yi),u[1]=58,b=Fi(u)),i.Dw.push(b)):i.Dw.push(""),u.length=0,"file"===i.Cw&&(Cr===l||63===l||35===l))for(;i.Dw.length>1&&""===i.Dw[0];)i.Dw.shift();63===l?(i.Pw="",e=19):35===l&&(i.Ow="",e=20)}else u.push.apply(u,Gi(l,xi));break;case 18:63===l?(i.Pw="",e=19):35===l?(i.Ow="",e=20):Cr!==l&&(i.Dw[0]+=Fi(Gi(l,Wi)));break;case 19:null===r&&35===l?(i.Ow="",e=20):Cr!==l&&(i.Pw+=Fi(Gi(l,Tr(i)?zi:Ui)));break;case 20:Cr===l||0===l||(i.Ow+=Fi(Gi(l,Li)))}a++}return i}function xr(t,n,i,r){try{Lr(t,n,i,r)}catch(t){}}var jr=function(){this.Cw="",this.xw="",this.Nw="",this.Bw=null,this.Lw=null,this.Dw=[],this.Pw=null,this.Ow=null,this.Mw=!1};function Ur(t){switch(t.Cw){case"blob":var n;try{n=Lr(t.Dw[0],null)}catch(t){return Ir}return Ur(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,i){return t+"://"+nr(n)+(null===i?"":":"+i)}(t.Cw,t.Bw,t.Lw);default:return Ir}}var zr=function(){function t(t,n){var i,r=null;if(null!=n)if(function(t){return null!=t&&t instanceof zr&&"object"==typeof t.Ew}(n))r=n.Ew;else try{r=Lr(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{i=Lr(String(t),r)}catch(t){throw new g("Invalid URL: "+t.message)}var e=i.Pw;this.Ew=i,this.Pw=function(t){var n=new _r;return null!==t&&dr(n,t),n}(e),this.Pw.Ew=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,i){n&&Gn(t.prototype,n),i&&Gn(t,i)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Cw+":";if(null!==t.Bw?(i+="//",Dr(t)&&(i+=t.xw,""!==t.Nw&&(i+=":"+t.Nw),i+="@"),i+=nr(t.Bw),null!==t.Lw&&(i+=":"+t.Lw)):null===t.Bw&&"file"===t.Cw&&(i+="//"),t.Mw)i+=t.Dw[0];else for(var r=0,e=t.Dw;r<e.length;r++)i+="/"+e[r];return null!==t.Pw&&(i+="?"+t.Pw),n||null===t.Ow||(i+="#"+t.Ow),i}(this.Ew)},set:function(t){var n;try{n=Lr(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.Ew=n,vr(this.Pw);var i=this.Ew.Pw;null!==i&&dr(this.Pw,i)}},{key:"origin",get:function(){return Ur(this.Ew)}},{key:"protocol",get:function(){return this.Ew.Cw+":"},set:function(t){xr(t+":",null,this.Ew,0)}},{key:"username",get:function(){return this.Ew.xw},set:function(t){Vr(this.Ew)||(this.Ew.xw=Ki(t,ji))}},{key:"password",get:function(){return this.Ew.Nw},set:function(t){Vr(this.Ew)||(this.Ew.Nw=Ki(t,ji))}},{key:"host",get:function(){var t=this.Ew,n=t.Bw;if(null===n)return"";var i=t.Lw,r=nr(n);return null!==i&&(r+=":"+i),r},set:function(t){this.Ew.Mw||xr(t,null,this.Ew,10)}},{key:"hostname",get:function(){var t=this.Ew.Bw;return null===t?"":nr(t)},set:function(t){this.Ew.Mw||xr(t,null,this.Ew,11)}},{key:"port",get:function(){var t=this.Ew.Lw;return null===t?"":""+t},set:function(t){Vr(this.Ew)||(""===t?this.Ew.Lw=null:xr(t,null,this.Ew,12))}},{key:"pathname",get:function(){var t=this.Ew.Dw;return this.Ew.Mw?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Ew.Mw||(this.Ew.Dw.length=0,xr(t,null,this.Ew,16))}},{key:"search",get:function(){var t=this.Ew.Pw;return null===t||""===t?"":"?"+t},set:function(t){t=sr(t);var n=this.Ew;if(""===t)return n.Pw=null,void vr(this.Pw);"?"===t[0]&&(t=t.slice(1)),n.Pw="",xr(t,null,n,19),dr(this.Pw,t)}},{key:"searchParams",get:function(){return this.Pw}},{key:"hash",get:function(){var t=this.Ew.Ow;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Ew.Ow="",xr(t,null,this.Ew,20)):this.Ew.Ow=null}}]),t}();function Gr(t){return t.document&&t.document.baseURI||t.location.href||""}var Kr=function(){function t(){this.lm=void 0,this.$w=new Xr,this.ep=mn,this.ip=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.lm=function(){return self.performance.now()}:this.lm=yn}var n=t.prototype;return n.Fw=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];xn.apply(void 0,[].concat(n))},n.Uw=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];jn.apply(void 0,[].concat(n))},n.Vw=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];Un.apply(void 0,[].concat(n))},n.Hw=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];zn.apply(void 0,[].concat([t],i))},n._m=function(t,n){return v(t,n)},n.Ww=function(t,n){return y(t,n)},n.fm=function(t){d(t)},n.qw=function(t){_(t)},n.zw=function(){return this.Xw.zw()},n.Gw=function(){return this.Xw.Gw()},n.Qw=function(){return this.Xw.Qw()},n.Kw=function(){return this.Xw.Kw()},n.jw=function(){return this.Xw.jw()},n.Yw=function(t,n){return this.Xw.Yw(t,n)},n.Zw=function(t){return this.Xw.Zw(t)},n.Rh=function(t,n){var i;return void 0===n&&(n=Gr(c)),i="object"!==(void 0===n?"undefined":A(n))||E(n,zr)?n:n.href,new zr(t,i)},n.tp=function(t,n){if(void 0===n&&(n=Gr(c)),this.ip){var i=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,i).href}return this.Rh(t,n).href},ct(t,[{key:"Jw",get:function(){return this.$w}},{key:"ie",get:function(){return this.ep}},{key:"sp",get:function(){return{np:l&&l.userAgent.match(/Android /i)?"Android":"other",rp:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"hp",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"op",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),Xr=function(){function t(){}return ct(t,[{key:"ap",get:function(){return l.oscpu}},{key:"ie",get:function(){return l.platform}},{key:"cp",get:function(){return l.vendor}},{key:"dp",get:function(){return l.vendorSub}}]),t}();var $r=function(){function t(){}var n=t.prototype;return n.jw=function(){return Q.resolve(!1)},n.Gw=function(){return Q.resolve(!1)},n.Kw=function(){return Q.resolve(!1)},n.Qw=function(){return Q.resolve(!1)},n.Zw=function(t){return Q.resolve(!1)},n.Yw=function(t,n){return Q.resolve(!1)},n.zw=function(){return Q.resolve(!1)},t}(),qr=function(){function t(){}var n=t.prototype;return n.RS=function(){},n.eA=function(t){},n.$y=function(t){},n.tA=function(t,n){},t}(),Zr=function(t){return t.xS="arraybuffer",t.NS="json",t.DS="stream",t.MS="text",t}({}),Yr=function(){function t(n){var i=this;this.vp=void 0,this.vp={},E(n,t)?n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):Array.isArray(n)?n.forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):n&&k.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=Jr(i),r=Qr(r);var e=i.toLowerCase();if(this.vp.hasOwnProperty(e)){var u=this.vp[e],o=u[1];u[1]=o?o+", "+r:r}else this.vp[e]=[i,r]},n.delete=function(t){var n=Jr(t).toLowerCase();delete this.vp[n]},n.get=function(t){var n=Jr(t).toLowerCase();return this.vp.hasOwnProperty(n)?this.vp[n][1]:null},n.has=function(t){var n=Jr(t).toLowerCase();return this.vp.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Jr(i)).toLowerCase();this.vp[r]=[i,Qr(n)]},n.forEach=function(t,n){for(var i in this.vp)this.vp.hasOwnProperty(i)&&t.call(n,this.vp[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.vp)if(this.vp.hasOwnProperty(n)){var i=this.vp[n],r=i[0],e=i[1];t.push([r,e])}return t},n.LS=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.OS=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.FS=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Jr(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 Qr(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var te=function(t,n){this.XS=void 0,this._k=void 0,this.Vk=void 0,this.lk=void 0,this.Hk=void 0,this.Wk=void 0,this.Rm=void 0,this.bp=void 0,this.qk=void 0,this.zk=void 0,this.pk=void 0,this.Xk=void 0,this.Gk=void 0,this.Qk=void 0,this.Kk=void 0,this.jk=void 0;var i,r,e,u,o,f,s,h,c,a,l,v,d,y,_,w,g,k,S=t.pk;n?(i=n.XS,r=n._k,e=n.Vk,u=n.lk,o=n.Hk,f=n.Wk,s=n.Rm,h=n.bp,c=n.qk,a=n.zk,l=n.Xk,v=n.Gk,d=n.Qk,y=n.Kk,_=n.jk):(i=null,r={},e="GET",u=Zr.MS,o=0,f=0,h="",c="",a="",l=!1,d=void 0,y=!1,_=void 0),this.pk=S,this.XS=t.XS||i,this._k=new Yr(t._k||r),this.Vk=t.Vk||e,this.lk=t.lk||u,this.Hk=void 0!==t.Hk?Number(t.Hk)||0:o,this.Wk=void 0!==t.Wk?Number(t.Wk)||0:f,this.Rm=t.Rm||s||(new Ht).Rm,this.bp=t.bp||h,this.qk=t.qk||c,this.zk=t.zk||a,this.Xk=void 0!==t.Xk?Boolean(t.Xk):l,this.Gk=t.Gk||v,this.Qk=null!=(w=t.Qk)?w:d,this.Kk=null!=(g=t.Kk)?g:y,this.jk=null!=(k=t.jk)?k:_},ne=function(t){return t.nE="HttpOpenError",t.rE="HttpResponseError",t.hE="HttpTimeoutError",t}({}),ie=function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).oE=void 0,e.oE=n,e}return st(n,t),ct(n,[{key:"fk",get:function(){return this.oE}}]),n}(Lt),re=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.pk+".",i)||this}return st(n,t),ct(n,[{key:"name",get:function(){return ne.nE}}]),n}(ie),ee=function(){function t(){}var n=t.prototype;return n.fk=function(t){return Q.reject(new re(new te(t)))},n.Yk=function(t){},n._n=function(){},t}(),ue=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return st(n,t),n}(Lt),oe=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).uP=new $r,n.bU=new ee,n.i=new qr,n}return st(n,t),n.prototype.FE=function(t){throw new ue},ct(n,[{key:"Xw",get:function(){return this.uP}},{key:"cP",get:function(){return!1}},{key:"lP",get:function(){return!1}},{key:"gP",get:function(){return!1}},{key:"_P",get:function(){return!1}},{key:"mP",get:function(){return this.i}},{key:"wP",get:function(){return{pP:Ft}}},{key:"yP",get:function(){return"default"}},{key:"AP",get:function(){return"unknown"}},{key:"ff",get:function(){return this.bU}}]),n}(Kr);!function(t){0}(new oe)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof a?a:"undefined"!=typeof global?global:this);
|
|
30
|
+
!function(t){"use strict";var n,i,r,e,u,o,f,s,h,c=t.window,a=t.document,l=(t.location,t.navigator),v=t.setTimeout,d=t.clearTimeout,y=t.setInterval,_=t.clearInterval,w=t.Error,g=t.TypeError,k=(t.SyntaxError,t.Object),S=t.Math,p=t.parseInt,I=t.parseFloat,b=t.isNaN,m=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function E(t,i){return null!=i&&void 0!==n&&i[n.hasInstance]?!!i[n.hasInstance](t):t instanceof i}function A(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,i=null!=(o=Symbol.for)?o:Symbol,r=Symbol.iterator,e=null!=(f=Symbol.dispose)?f:i("Symbol.dispose"),u=null!=(s=Symbol.asyncDispose)?s:i("Symbol.asyncDispose")):(h=0,n=function(t){return"hd"+t+"_"+ ++h},r=(i=function(t){return"hd"+t})("Symbol.iterator"),e=i("Symbol.dispose"),u=i("Symbol.asyncDispose"),n.for=i,n.iterator=r,n.dispose=e,n.asyncDispose=u);var O=v;function R(t){return Boolean(t&&void 0!==t.length)}function T(){}function D(t){if(!E(this,D))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Va=0,this.r7t=!1,this.cAt=void 0,this.u7t=[],V(t,this)}function F(t,n){for(;3===t.Va;)t=t.cAt;0!==t.Va?(t.r7t=!0,D.o7t(function(){var i=1===t.Va?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.cAt)}catch(t){return void B(n.promise,t)}N(n.promise,r)}else(1===t.Va?N:B)(n.promise,t.cAt)})):t.u7t.push(n)}function N(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":A(n))||"function"==typeof n)){var i=n.then;if(E(n,D))return t.Va=3,t.cAt=n,void P(t);if("function"==typeof i)return void V(function(t,n){return function(){t.apply(n,arguments)}}(i,n),t)}t.Va=1,t.cAt=n,P(t)}catch(n){B(t,n)}}function B(t,n){t.Va=2,t.cAt=n,P(t)}function P(t){2===t.Va&&0===t.u7t.length&&D.o7t(function(){t.r7t||D.h7t(t.cAt)});for(var n=0,i=t.u7t.length;n<i;n++)F(t,t.u7t[n]);t.u7t=null}function M(t,n,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=i}function V(t,n){var i=!1;try{t(function(t){i||(i=!0,N(n,t))},function(t){i||(i=!0,B(n,t))})}catch(t){if(i)return;i=!0,B(n,t)}}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.then=function(t,n){var i=new this.constructor(T);return F(this,new M(t,n,i)),i},D.prototype.finally=function(t){var n=this.constructor;return this.then(function(i){return n.resolve(t()).then(function(){return i})},function(i){return n.resolve(t()).then(function(){return n.reject(i)})})},D.all=function(t){return new D(function(n,i){if(!R(t))return i(new g("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,o){try{if(o&&("object"===(void 0===o?"undefined":A(o))||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},i)}r[t]=o,0===--e&&n(r)}catch(t){i(t)}}for(var o=0;o<r.length;o++)u(o,r[o])})},D.allSettled=function(t){return new this(function(n,i){if(!t||void 0===t.length)return i(new g((void 0===t?"undefined":A(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,i){if(i&&("object"===(void 0===i?"undefined":A(i))||"function"==typeof i)){var o=i.then;if("function"==typeof o)return void o.call(i,function(n){u(t,n)},function(i){r[t]={status:"rejected",reason:i},0===--e&&n(r)})}r[t]={status:"fulfilled",value:i},0===--e&&n(r)}for(var o=0;o<r.length;o++)u(o,r[o])})},D.resolve=function(t){return t&&"object"===(void 0===t?"undefined":A(t))&&t.constructor===D?t:new D(function(n){n(t)})},D.reject=function(t){return new D(function(n,i){i(t)})},D.race=function(t){return new D(function(n,i){if(!R(t))return i(new g("Promise.race accepts an array"));for(var r=0,e=t.length;r<e;r++)D.resolve(t[r]).then(n,i)})},D.o7t="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){O(t,0)},D.h7t=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var C=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),H=l?l.userAgent:"",W=H.match(/Firefox\/([0-9]+)/i),L=null!=W,x=W?Number(W[1]):0,j=H.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),U=null!=j,z=j?Number(j[3]):0,G=function(){function t(t){this.vA=0,this.Tf=0,this.bw=[],this.c7t=t}return t.prototype.a7t=function(t){var n=this.length();this.f7t(n+1);var i=this.Tf+n&this.c7t-1;this.bw[i]=t,this.vA=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.c7t<n)this.a7t(t);else{var i=this.Tf+n-1,r=this.c7t-1;this.bw[i&r]=t,this.vA=n}},t.prototype.shift=function(){var t=this.Tf,n=this.bw[t];return this.bw[t]=void 0,this.Tf=t+1&this.c7t-1,this.vA--,n},t.prototype.length=function(){return this.vA},t.prototype.f7t=function(t){this.c7t<t&&this.v7t(this.c7t<<1)},t.prototype.v7t=function(t){var n=this.c7t;this.c7t=t;var i=this.Tf+this.vA&n-1;!function(t,n,i,r){for(var e=0;e<r;++e)t[e+i]=t[e+n],t[e+n]=void 0}(this.bw,0,n,i)},t}();var K="unhandledrejection",X=self.PromiseRejectionEvent,$=self.CustomEvent;function q(t){return new X(K,{reason:t,promise:C.reject(t).catch(function(){}),cancelable:!0})}function Z(t){var n=new $(K,{detail:{reason:t},cancelable:!0});return k.defineProperty(n,"reason",{value:t}),n}function Y(t){var n=a.createEvent("CustomEvent");return n.initCustomEvent(K,!1,!0,{reason:t}),n}var J,Q,tt,nt,it,rt,et,ut,ot=function(t){return ot=function(){try{var t=C.resolve(),n="error",i=new X(K,{reason:n,promise:t});return K===i.type&&n===i.reason}catch(t){}return!1}()?q:function(){try{var t="error",n=new $(K,{detail:{reason:t}});return K===n.type&&t===n.detail.reason}catch(t){}return!1}()?Z:Y,ot(t)};function ft(t,n){return ft=k.setPrototypeOf||function(t,n){return t.__proto__=n,t},ft(t,n)}function st(t,n){if("function"!=typeof n&&null!==n)throw new g("Super expression must either be null or a function");t.prototype=k.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ft(t,n)}function ht(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),k.defineProperty(t,r.key,r)}}function ct(t,n,i){return n&&ht(t.prototype,n),i&&ht(t,i),t}function at(t,n){(null==n||n>t.length)&&(n=t.length);for(var i=0,r=new Array(n);i<n;i++)r[i]=t[i];return r}function lt(t,i){var e=void 0!==n&&t[r]||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 at(t,n);var i=k.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?at(t,n):void 0}}(t))||i&&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.")}C&&!(L&&x<60||U&&z<15)?Q=C:(Q=D,et=null!==(J=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=C;if(n&&"function"==typeof n.resolve){var i=n.resolve();return function(t){return i.then(t)}}}())&&void 0!==J?J:D.o7t,tt=et,nt=new G(16),it=!1,(ut={E3:function(t){nt.push(t),it||(it=!0,tt(rt))},wX:rt=function(){for(;nt.length()>0;)nt.shift()();it=!1}}).wX,D.o7t=ut.E3,D.h7t=function(t){try{var n=ot(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}v(function(){throw new w("Unhandled promise rejection: ".concat(t))},0)});var vt=function(t){return t.O_="web",t.F_="android",t.U_="android-tv",t.V_="ios",t.H_="tvos",t.W_="chromecast",t.q_="theoliveweb",t}({});var dt=l?l.userAgent:"",yt=dt.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),_t=dt.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),wt=dt.match(/Android ([0-9\.]+)/i),gt=dt.match(/Windows NT ([0-9\.]+)/i),kt=dt.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),St=dt.match(/Firefox\/([0-9\.]+)/i),pt=dt.match(/OPR\/(\d+\.\d+)/i),It=dt.match(/Tizen ([0-9\.]+)/i),bt=dt.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),mt=dt.match(/HbbTV\/([0-9.]+)/i),Et=dt.match(/(AFT.*) Build/i),At=function(){function t(){this.z_=Boolean("ontouchstart"in self||self.DocumentTouch&&E(a,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.G_=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(dt)||/(macintosh|mac(?=_powerpc)\s)/i.test(dt),this.K_=/Windows NT/i.test(dt),this.Y_=gt?I(gt[1]):0,this.J_=/Android/i.test(dt),this.rv=wt?I(wt[1]):0,this.ov=/windows phone (8|8\.1)/i.test(dt),this.fv=/iPhone/i.test(dt),this.vv=/iPad/i.test(dt),this.wv=this.G_&&this.z_&&!this.vv,this.yv=/iPod/i.test(dt),this.Cv=/Mobile Safari/i.test(dt),this.Pv=/EOS\d*STB/i.test(dt),this.Iv=/APP\d*STB/i.test(dt),this.bv=(this.fv||this.vv||this.wv||this.yv)&&!this.ov,this.Sv=bt?I(bt[2]):0,this.xv=this.ov||this.bv||this.J_||this.Cv,this.Dv=/CriOS/i.test(dt),this.Mv=Boolean(self.chrome&&/google/i.test(l.vendor))||this.Dv,this.Vv=this.Mv&&/Edg\//i.test(l.userAgent),this.Wv=_t?p(_t[1],10):0,this.um=Boolean(/CriOS/i.test(dt)),this.hm=Boolean(self.chrome||/Chrome/i.test(dt)||this.um),this.Fv=yt?p(yt[1],10):0,this.Xv=/SMART-TV.*Tizen/i.test(dt),this.Qv=It?I(It[1]):0,this.Ov=this.Qv>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.Qv):void 0,this.Yv=/webos|web0s/i.test(dt),this.Jv=/HbbTV/i.test(dt),this.eg=!!mt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(mt[1]),this.hg=/AFT.* Build/i.test(dt),this.og=Et?Et[1]:void 0,this.cg=/VIZIO/i.test(dt),this.fg=/Edge\/\d+/i.test(dt),this.vg=/Trident/i.test(dt),this.wg=this.vg&&!self.ActiveXObject&&"ActiveXObject"in self,this.yg=/Vivaldi/i.test(dt),this.Tg=/Firefox/i.test(dt)&&!/Seamonkey/i.test(dt),this.Eg=St?I(St[1]):0,this.Ig=/Safari/i.test(dt)&&!/Chrome/i.test(dt)&&!this.ov&&!this.Xv,this.Cg=kt?I(kt[2]):0,this.Ng=Boolean(pt),this.Bg=pt?I(pt[1]):0,this.Lg=/CrKey/.test(dt),this.Fg=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(dt),this.Hg=/PlayStation 4/i.test(dt),this.qg=/PlayStation 5/i.test(dt),this.Xg="web"===vt.U_,this.Qg="web"===vt.F_,this.jg=this.Qg||this.Xg,this.Zg="web"===vt.V_,this.$g="web"===vt.H_,this.im="web"===vt.W_}return ct(t,[{key:"tn",get:function(){return this.z_}},{key:"X_",get:function(){return this.G_}},{key:"Q_",get:function(){return this.K_}},{key:"j_",get:function(){return this.Y_}},{key:"Z_",get:function(){return this.J_}},{key:"ev",get:function(){return this.rv}},{key:"hv",get:function(){return this.ov}},{key:"uv",get:function(){return this.fv}},{key:"_v",get:function(){return this.vv}},{key:"mv",get:function(){return this.wv}},{key:"pv",get:function(){return this.yv}},{key:"Av",get:function(){return this.bv}},{key:"Tv",get:function(){return this.Sv}},{key:"Ev",get:function(){return this.Pv||this.Iv}},{key:"Rv",get:function(){return this.Cv}},{key:"te",get:function(){return this.xv}},{key:"Nv",get:function(){return this.Dv}},{key:"Bv",get:function(){return this.Mv}},{key:"Lv",get:function(){var t;return null!=(t=this.Ov)?t:this.Fv}},{key:"Uv",get:function(){return this.Vv}},{key:"Hv",get:function(){var t;return(null==(t=c.chrome)?void 0:t.webview)&&this.Wv>0}},{key:"qv",get:function(){return this.Wv}},{key:"zv",get:function(){return this.Xv}},{key:"Gv",get:function(){return this.Qv}},{key:"Kv",get:function(){return this.Yv}},{key:"Zv",get:function(){return this.Jv}},{key:"$v",get:function(){return this.eg}},{key:"rg",get:function(){return this.hg}},{key:"IS_FIRETV_AFTMM",get:function(){return"AFTMM"===this.og}},{key:"ag",get:function(){return this.cg}},{key:"dg",get:function(){return this.fg}},{key:"_g",get:function(){return this.vg}},{key:"gg",get:function(){return this.wg}},{key:"pg",get:function(){return this.yg}},{key:"Ag",get:function(){return this.Tg}},{key:"Sg",get:function(){return this.Eg}},{key:"Pg",get:function(){return this.Ig}},{key:"Rg",get:function(){return 0===this.Cg&&Ot.Av?this.Sv:this.Cg}},{key:"xg",get:function(){return this.Ng}},{key:"Dg",get:function(){return this.Bg}},{key:"Mg",get:function(){return this.Lg}},{key:"Og",get:function(){return this.Fg}},{key:"Ug",get:function(){return!(!this.Kv&&!this.zv)&&this.Lv<=56}},{key:"Vg",get:function(){return this.Hg}},{key:"Wg",get:function(){return this.qg}},{key:"zg",get:function(){return this.Xg}},{key:"Gg",get:function(){return this.Qg}},{key:"Kg",get:function(){return this.jg}},{key:"Yg",get:function(){return this.Zg}},{key:"Jg",get:function(){return this.$g}},{key:"tm",get:function(){return this.im}},{key:"nm",get:function(){return this.hm}},{key:"IS_IOS_CHROME",get:function(){return this.um}}]),t}();At.dm=new At;var Ot=At.dm,Rt={}.toString;Array.isArray;function Tt(t){return"object"===(void 0===t?"undefined":A(t))&&null!==t}function Dt(t){return function(t){return"function"==typeof t}(t)||Tt(t)}var Ft=function(){};function Nt(t){var n;return function(){return void 0!==t&&(n=t(),t=void 0),n}}S.pow(2,-52),Array.prototype.find,Array.prototype.findLast;var Bt="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var i=0;i<t.length;i+=1){if(n(t[i],i,t))return i}return-1},Pt="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var i=t.length-1;i>=0;i-=1){if(n(t[i],i,t))return i}return-1};Array.prototype.at;function Mt(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,i),!0)}function Vt(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Ct=function(){function t(){this.pm=!1,this.ym=!1,this.Am=[],this.Tm=[]}var n=t.prototype;return n.wm=function(){if(!this.pm&&!this.ym){this.pm=!0;for(var t,n=lt(this.Am.slice());!(t=n()).done;){(0,t.value)()}this.Ku()}},n.Ku=function(){if(!this.ym){this.ym=!0;for(var t,n=lt(this.Tm.slice());!(t=n()).done;){(0,t.value)()}Vt(this.Am),Vt(this.Tm)}},n.Sm=function(t){this.ym||this.Am.push(t)},n.Em=function(t){this.ym||Mt(this.Am,t)},n.Pm=function(t){this.ym||this.Tm.push(t)},n.Im=function(t){this.ym||Mt(this.Tm,t)},t}(),Ht=function(){function t(){this.Cm=new Ct}var n=t.prototype;return n.dd=function(){this.Cm.wm()},n.Ku=function(){this.Cm.Ku()},n.xm=function(t){var n=this.Cm;if(!n.pm)if(t.pm)n.wm();else if(!n.ym&&!t.ym){var i=function(){r(),n.wm()},r=function(){t.Em(i),t.Im(r),n.Em(i),n.Im(r)};t.Sm(i),t.Pm(r),n.Sm(i),n.Pm(r)}},n.Nm=function(){var n=new t,i=new t,r=n.Rm,e=i.Rm,u=this.Cm,o=function(){r.pm&&e.ym||e.pm&&r.ym?u.wm():r.ym&&e.ym&&u.Ku()};r.Sm(o),e.Sm(o),r.Pm(o),e.Pm(o),n.xm(u),i.xm(u);return u.Pm(function(){r.Em(o),e.Em(o),r.Im(o),e.Im(o)}),[n,i]},n[e]=function(){this.dd()},t.Dm=function(n){for(var i,r=new t,e=lt(n);!(i=e()).done;){var u=i.value;void 0!==u&&r.xm(u)}return r},ct(t,[{key:"Rm",get:function(){return this.Cm}}]),t}(),Wt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];w.apply(this,n)};(Wt.prototype=k.create(w.prototype)).constructor=Wt;var Lt=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,w.captureStackTrace&&w.captureStackTrace(r,r.constructor),r}return st(n,t),ct(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Wt);Q.resolve();function xt(){return void 0!==a?a.createElement("video"):void 0}var jt=Nt(xt),Ut=(Nt(function(){return"undefined"!=typeof HTMLVideoElement&&E(jt(),HTMLVideoElement)}),null);try{Ut=new WebAssembly.Instance(new WebAssembly.Module(new m([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(tt){}function zt(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function Gt(t){return!0===(t&&t.Mm)}function Kt(t){var n=S.clz32(t&-t);return t?31-n:n}zt.prototype.Mm,k.defineProperty(zt.prototype,"Mm",{value:!0}),zt.isLong=Gt;var Xt={},$t={};function qt(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=$t[t])?r:(i=Yt(t,0,!0),e&&($t[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=Xt[t])?r:(i=Yt(t,t<0?-1:0,!1),e&&(Xt[t]=i),i)}function Zt(t,n){if(b(t))return n?fn:on;if(n){if(t<0)return fn;if(t>=rn)return ln}else{if(t<=-en)return vn;if(t+1>=en)return an}return t<0?Zt(-t,n).neg():Yt(t%nn|0,t/nn|0,n)}function Yt(t,n,i){return new zt(t,n,i)}zt.fromInt=qt,zt.fromNumber=Zt,zt.fromBits=Yt;var Jt=S.pow;function Qt(t,n,i){if(0===t.length)throw w("empty string");if("number"==typeof n?(i=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?fn:on;if((i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw w("interior hyphen");if(0===r)return Qt(t.substring(1),n,i).neg();for(var e=Zt(Jt(i,8)),u=on,o=0;o<t.length;o+=8){var f=S.min(8,t.length-o),s=p(t.substring(o,o+f),i);if(f<8){var h=Zt(Jt(i,f));u=u.mul(h).add(Zt(s))}else u=(u=u.mul(e)).add(Zt(s))}return u.unsigned=n,u}function tn(t,n){return"number"==typeof t?Zt(t,n):"string"==typeof t?Qt(t,n):Yt(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}zt.fromString=Qt,zt.fromValue=tn;var nn=4294967296,rn=nn*nn,en=rn/2,un=qt(1<<24),on=qt(0);zt.ZERO=on;var fn=qt(0,!0);zt.UZERO=fn;var sn=qt(1);zt.ONE=sn;var hn=qt(1,!0);zt.UONE=hn;var cn=qt(-1);zt.NEG_ONE=cn;var an=Yt(-1,2147483647,!1);zt.MAX_VALUE=an;var ln=Yt(-1,-1,!0);zt.MAX_UNSIGNED_VALUE=ln;var vn=Yt(0,-2147483648,!1);zt.MIN_VALUE=vn;var dn=zt.prototype;function yn(){return Date.now()||(new Date).getTime()}dn.toInt=function(){return this.unsigned?this.low>>>0:this.low},dn.toNumber=function(){return this.unsigned?(this.high>>>0)*nn+(this.low>>>0):this.high*nn+(this.low>>>0)},dn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(vn)){var n=Zt(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=Zt(Jt(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}},dn.getHighBits=function(){return this.high},dn.getHighBitsUnsigned=function(){return this.high>>>0},dn.getLowBits=function(){return this.low},dn.getLowBitsUnsigned=function(){return this.low>>>0},dn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(vn)?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},dn.isSafeInteger=function(){var t=this.high>>21;return!t||!this.unsigned&&(-1===t&&!(0===this.low&&-2097152===this.high))},dn.isZero=function(){return 0===this.high&&0===this.low},dn.eqz=dn.isZero,dn.isNegative=function(){return!this.unsigned&&this.high<0},dn.isPositive=function(){return this.unsigned||this.high>=0},dn.isOdd=function(){return!(1&~this.low)},dn.isEven=function(){return!(1&this.low)},dn.equals=function(t){return Gt(t)||(t=tn(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},dn.eq=dn.equals,dn.notEquals=function(t){return!this.eq(t)},dn.neq=dn.notEquals,dn.ne=dn.notEquals,dn.lessThan=function(t){return this.comp(t)<0},dn.lt=dn.lessThan,dn.lessThanOrEqual=function(t){return this.comp(t)<=0},dn.lte=dn.lessThanOrEqual,dn.le=dn.lessThanOrEqual,dn.greaterThan=function(t){return this.comp(t)>0},dn.gt=dn.greaterThan,dn.greaterThanOrEqual=function(t){return this.comp(t)>=0},dn.gte=dn.greaterThanOrEqual,dn.ge=dn.greaterThanOrEqual,dn.compare=function(t){if(Gt(t)||(t=tn(t)),this.eq(t))return 0;var n=this.isNegative(),i=t.isNegative();return n&&!i?-1:!n&&i?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},dn.comp=dn.compare,dn.negate=function(){return!this.unsigned&&this.eq(vn)?vn:this.not().add(sn)},dn.neg=dn.negate,dn.add=function(t){Gt(t)||(t=tn(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,h=0,c=0,a=0;return c+=(a+=e+(65535&t.low))>>>16,h+=(c+=r+f)>>>16,s+=(h+=i+o)>>>16,s+=n+u,Yt((c&=65535)<<16|(a&=65535),(s&=65535)<<16|(h&=65535),this.unsigned)},dn.subtract=function(t){return Gt(t)||(t=tn(t)),this.add(t.neg())},dn.sub=dn.subtract,dn.multiply=function(t){if(this.isZero())return this;if(Gt(t)||(t=tn(t)),Ut)return Yt(Ut.mul(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned);if(t.isZero())return this.unsigned?fn:on;if(this.eq(vn))return t.isOdd()?vn:on;if(t.eq(vn))return this.isOdd()?vn:on;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(un)&&t.lt(un))return Zt(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,h=0,c=0,a=0,l=0;return a+=(l+=e*s)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=e*f)>>>16,h+=(c+=i*s)>>>16,c&=65535,h+=(c+=r*f)>>>16,c&=65535,h+=(c+=e*o)>>>16,h+=n*s+i*f+r*o+e*u,Yt((a&=65535)<<16|(l&=65535),(h&=65535)<<16|(c&=65535),this.unsigned)},dn.mul=dn.multiply,dn.divide=function(t){if(Gt(t)||(t=tn(t)),t.isZero())throw w("division by zero");var n,i,r;if(Ut)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?Yt((this.unsigned?Ut.div_u:Ut.div_s)(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?fn:on;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return fn;if(t.gt(this.shru(1)))return hn;r=fn}else{if(this.eq(vn))return t.eq(sn)||t.eq(cn)?vn:t.eq(vn)?sn:(n=this.shr(1).div(t).shl(1)).eq(on)?t.isNegative()?sn:cn:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(vn))return this.unsigned?fn:on;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();r=on}for(i=this;i.gte(t);){n=S.max(1,S.floor(i.toNumber()/t.toNumber()));for(var e=S.ceil(S.log(n)/S.LN2),u=e<=48?1:Jt(2,e-48),o=Zt(n),f=o.mul(t);f.isNegative()||f.gt(i);)f=(o=Zt(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=sn),r=r.add(o),i=i.sub(f)}return r},dn.div=dn.divide,dn.modulo=function(t){return Gt(t)||(t=tn(t)),Ut?Yt((this.unsigned?Ut.rem_u:Ut.rem_s)(this.low,this.high,t.low,t.high),Ut.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},dn.mod=dn.modulo,dn.rem=dn.modulo,dn.not=function(){return Yt(~this.low,~this.high,this.unsigned)},dn.countLeadingZeros=function(){return this.high?S.clz32(this.high):S.clz32(this.low)+32},dn.clz=dn.countLeadingZeros,dn.countTrailingZeros=function(){return this.low?Kt(this.low):Kt(this.high)+32},dn.ctz=dn.countTrailingZeros,dn.and=function(t){return Gt(t)||(t=tn(t)),Yt(this.low&t.low,this.high&t.high,this.unsigned)},dn.or=function(t){return Gt(t)||(t=tn(t)),Yt(this.low|t.low,this.high|t.high,this.unsigned)},dn.xor=function(t){return Gt(t)||(t=tn(t)),Yt(this.low^t.low,this.high^t.high,this.unsigned)},dn.shiftLeft=function(t){return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Yt(0,this.low<<t-32,this.unsigned)},dn.shl=dn.shiftLeft,dn.shiftRight=function(t){return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Yt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},dn.shr=dn.shiftRight,dn.shiftRightUnsigned=function(t){return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Yt(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):Yt(32===t?this.high:this.high>>>t-32,0,this.unsigned)},dn.shru=dn.shiftRightUnsigned,dn.shr_u=dn.shiftRightUnsigned,dn.rotateLeft=function(t){var n;return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Yt(this.high,this.low,this.unsigned):t<32?(n=32-t,Yt(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),Yt(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},dn.rotl=dn.rotateLeft,dn.rotateRight=function(t){var n;return Gt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Yt(this.high,this.low,this.unsigned):t<32?(n=32-t,Yt(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),Yt(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},dn.rotr=dn.rotateRight,dn.toSigned=function(){return this.unsigned?Yt(this.low,this.high,!1):this},dn.toUnsigned=function(){return this.unsigned?this:Yt(this.low,this.high,!0)},dn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},dn.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]},dn.toBytesBE=function(){var t=this.high,n=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]},zt.fromBytes=function(t,n,i){return i?zt.fromBytesLE(t,n):zt.fromBytesBE(t,n)},zt.fromBytesLE=function(t,n){return new zt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},zt.fromBytesBE=function(t,n){return new zt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)},"function"==typeof BigInt&&(zt.fromBigInt=function(t,n){return Yt(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},zt.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":A(t))?zt.fromBigInt(t,n):tn(t,n)},dn.toBigInt=function(){var t=BigInt(this.low>>>0);return BigInt(this.unsigned?this.high>>>0:this.high)<<BigInt(32)|t});var _n=1/6,wn=(zt.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&E(a,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),gn=jt(),kn=Boolean(gn&&gn.webkitShowPlaybackTargetPicker),Sn=function(){function t(){this.Om=void 0,this.lw=!1,this.tn=wn,this.te=!1,this.Bm=!0}var n=t.prototype;return n.Fm=function(){return 0},n.ow=function(t,n){return!0},n.aw=function(t){return t>=2*_n},ct(t,[{key:"Lm",get:function(){return void 0===this.Om&&(this.Om=this.Fm()),this.Om}},{key:"Um",get:function(){return Ot.Z_?"android":Ot.X_?"macos":Ot.Av?"ios":Ot.Q_?"windows":"other"}},{key:"Vm",get:function(){return Ot.Og?"tv":Ot.te?"mobile":"desktop"}},{key:"Hm",get:function(){return!Ot.Og}},{key:"Wm",get:function(){if(c.screen)return{width:c.screen.width,height:c.screen.height}}},{key:"qm",get:function(){return c.devicePixelRatio||1}},{key:"zm",get:function(){return kn}},{key:"Xm",get:function(){return!1}},{key:"Gm",get:function(){return!0}},{key:"Qm",get:function(){return!!(Ot.Pg||Ot.Av||Ot.Hv)||!!Ot.ag}},{key:"Km",get:function(){return Ot.ag}},{key:"jm",get:function(){return!Ot.Av}},{key:"Ym",get:function(){return!0}},{key:"Zm",get:function(){return!0}},{key:"Jm",get:function(){return!1}},{key:"$m",get:function(){}},{key:"iw",get:function(){return!0}},{key:"ew",get:function(){return!1}},{key:"nw",get:function(){return Ot.ag}},{key:"hw",get:function(){return!1}},{key:"uw",get:function(){return!1}},{key:"cw",get:function(){return!1}},{key:"dw",get:function(){return!1}}]),t}(),pn=function(t){function n(){return t.call(this)||this}return st(n,t),n}(Sn),In=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.ow=function(t,n){if(t&&t.fw&&n&&n.fw){var i=bn(t.fw,"mp4a.40.2")&&bn(n.fw,"mp4a.40.5"),r=bn(t.fw,"mp4a.40.5")&&bn(n.fw,"mp4a.40.2"),e=bn(t.fw,"mp4a.40.2")&&bn(n.fw,"mp4a.40.34"),u=bn(t.fw,"mp4a.40.34")&&bn(n.fw,"mp4a.40.2"),o=bn(t.fw,"mp4a.40.5")&&bn(n.fw,"mp4a.40.34"),f=bn(t.fw,"mp4a.40.34")&&bn(n.fw,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},ct(n,[{key:"$m",get:function(){if(Ot.X_)return 4096}},{key:"dw",get:function(){return!0}}]),n}(pn);function bn(t,n){return t.indexOf(n)>-1}var mn,En=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.aw=function(t){return t>=2},n}(pn),An=function(t){function n(){var n;return(n=t.call(this)||this).lw=Ot.Rg>=11,n.Bm=Ot.Pg&&!(Ot.Av&&Ot.Rg<10),n}return st(n,t),ct(n,[{key:"hw",get:function(){return Ot.Rg<17}},{key:"uw",get:function(){return!0}}]),n}(pn),On=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"iw",get:function(){return!(Ot.Lv>=133)}}]),n}(pn);var Rn=function(){var t=xt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(Ot.mv)return!1;var t=xt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var Tn=function(t){function n(n){var i;return(i=t.call(this)||this)._w=void 0,i._w=n,i.lw=i._w.lw,i.tn=i._w.tn,i.Bm=Rn&&i._w.Bm,i}st(n,t);var i=n.prototype;return i.Fm=function(){return this._w.Lm},i.ow=function(t,n){return this._w.ow(t,n)},i.aw=function(t){return this._w.aw(t)},ct(n,[{key:"$m",get:function(){return this._w.$m}},{key:"iw",get:function(){return this._w.iw}},{key:"hw",get:function(){return this._w.hw}},{key:"dw",get:function(){return this._w.dw}}]),n}(Sn),Dn=function(t){function n(n){var i;return(i=t.call(this,n)||this).lw=!0,i.te=!0,i}return st(n,t),ct(n,[{key:"Jm",get:function(){return Ot.Av}}]),n}(Tn);var Fn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.Fm=function(){return function(t){return t&&Dt(c.ManagedMediaSource)?c.ManagedMediaSource:Dt(c.MediaSource)?c.MediaSource:void 0}(!0)?t.prototype.Fm.call(this):1},ct(n,[{key:"Jm",get:function(){return!0}}]),n}(Dn),Nn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).pw=void 0,n}return st(n,t),n.prototype.ow=function(n,i){return t.prototype.ow.call(this,n,i)},ct(n,[{key:"Xm",get:function(){return Ot.Gv<3}},{key:"Gm",get:function(){return Ot.Gv>=3}},{key:"Wm",get:function(){var t=this;return c.tizen&&!this.pw&&c.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var i=n.resolutionWidth,r=n.resolutionHeight;1===i&&1===r||(t.pw={width:i,height:r})}),this.pw}},{key:"ew",get:function(){return Ot.Gv<3}}]),n}(Tn),Bn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).pw=void 0,n}return st(n,t),ct(n,[{key:"Wm",get:function(){var t=this;return c.webOS&&!this.pw&&c.webOS.deviceInfo(function(n){t.pw={width:n.screenWidth,height:n.screenHeight}}),this.pw}},{key:"Ym",get:function(){return!1}}]),n}(Tn),Pn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"Jm",get:function(){return!0}},{key:"uw",get:function(){return this._w.uw}}]),n}(Tn),Mn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"cw",get:function(){return Ot.IS_FIRETV_AFTMM}}]),n}(Tn);!function(t){mn=t}(function(){var t=function(){if(Ot.Ag)return new In;if(Ot.dg||Ot._g)return new En;if(Ot.Pg)return new An;if(Ot.nm)return new On;return new pn}();return Ot.Av?new Fn(t):Ot.rg?new Mn(t):Ot.te?new Dn(t):Ot.zv?new Nn(t):Ot.Kv?new Bn(t):Ot.X_?new Pn(t):new Tn(t)}());var Vn=!(Ot._g&&!Ot.gg),Cn=self.console;function Hn(t){if(Tt(t))try{return JSON.stringify(t)}catch(t){}return t}function Wn(t){return t.map(Hn).join(" ")}function Ln(t){var n=Cn&&Cn[t];return n?n.bind&&Vn?n.bind(Cn):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];Cn[t](Wn(i))}:void 0}var xn=Ln("log")||Ft,jn=Ln("warn")||xn.bind(void 0,"WARNING:"),Un=Ln("error")||xn.bind(void 0,"ERROR:"),zn=function(){var t=Cn&&Cn.assert;return t?t.bind&&Vn?t.bind(Cn):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];Cn.assert(t,Wn(i))}:function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];t||Un.apply(void 0,[].concat(["Assertion failed:"],i))}}();function Gn(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),k.defineProperty(t,r.key,r)}}function Kn(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Xn(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Xn(i,null,t.length,t),t}function Xn(t,n,i,r){var e,u,o,f,s,h=t.length,c=0,a=2*i;for(e=0;e<h;e+=a)for(o=(u=e+i)+i,u>h&&(u=h),o>h&&(o=h),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?r[c++]=t[f++]:r[c++]=t[s++];else if(f<u)r[c++]=t[f++];else{if(!(s<o))break;r[c++]=t[s++]}}var $n=/[a-zA-Z]/,qn=/[0-9]/,Zn=/[0-9a-fA-F]/,Yn=/^0x/i,Jn=/^[0-9]+$/,Qn=/^[0-9a-fA-F]+$/,ti=/^[0-7]+$/,ni=k.prototype.toString,ii=Array.isArray||function(t){return"[object Array]"===ni.call(t)},ri=void 0!==n&&"symbol"==typeof r;function ei(t){return ii(t)?t:Array.from(t)}function ui(t,n,i){var r=t[n];t[n]=t[i],t[i]=r}function oi(t){return t>=65&&t<=90}function fi(t){return oi(t)||function(t){return t>=97&&t<=122}(t)}function si(t){return t>=48&&t<=57}function hi(t){return si(t)||fi(t)}function ci(t){return si(t)||t>=65&&t<=70||t>=97&&t<=102}function ai(t){return oi(t)?t+32:t}function li(t){return si(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function vi(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var di=S.min,yi=String.fromCharCode;function _i(t){for(var n=t.length,i=[],r=0;r<n;r+=16384){var e=di(r+16384,n);i.push(yi.apply(null,t.slice(r,e)))}return i.join("")}var wi=2147483647,gi=/[^\0-\x7E]/,ki=/[\x2E\u3002\uFF0E\uFF61]/g,Si={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pi=S.floor,Ii=String.fromCharCode;function bi(t){throw new RangeError(Si[t])}function mi(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var Ei,Ai,Oi,Ri=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Ti=function(t,n,i){var r=0;for(t=i?pi(t/700):t>>1,t+=pi(t/n);t>455;r+=36)t=pi(t/35);return pi(r+36*t/(t+38))},Di=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(ki,".")).split("."),n).join(".");return r+e}(t,function(t){return gi.test(t)?"xn--"+function(t){for(var n=[],i=(t=mi(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Ii(s))}var h=n.length,c=h;for(h&&n.push("-");c<i;){for(var a=wi,l=0,v=t;l<v.length;l++){var d=v[l];d>=r&&d<a&&(a=d)}var y=c+1;a-r>pi((wi-e)/y)&&bi("overflow"),e+=(a-r)*y,r=a;for(var _=0,w=t;_<w.length;_++){var g=w[_];if(g<r&&++e>wi&&bi("overflow"),g==r){for(var k=e,S=36;;S+=36){var p=S<=u?1:S>=u+26?26:S-u;if(k<p)break;var I=k-p,b=36-p;n.push(Ii(Ri(p+I%b,0))),k=pi(I/b)}n.push(Ii(Ri(k,0))),u=Ti(e,y,c==h),e=0,++c}}++e,++r}return n.join("")}(t):t})};function Fi(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return _i(n)}function Ni(t){if(t>=55296&&t<=57343)throw new w("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Bi(t,n){return t>>n&63|128}function Pi(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Bi(t,12)),n.push(Bi(t,6))):(Ni(t),n.push(t>>12&15|224),n.push(Bi(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Mi(t){for(var n=[],i=0;i<t.length;i++){Pi(t[i],n)}return n}function Vi(){if(Oi>=Ai)throw new w("Invalid byte index");var t=255&Ei[Oi];if(Oi++,128==(192&t))return 63&t;throw new w("Invalid continuation byte")}function Ci(){var t,n;if(Oi>Ai)throw new w("Invalid byte index");if(Oi===Ai)return!1;if(t=255&Ei[Oi],Oi++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Vi())>=128)return n;throw new w("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Vi()<<6|Vi())>=2048)return Ni(n),n;throw new w("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Vi()<<12|Vi()<<6|Vi())>=65536&&n<=1114111)return n;throw new w("Invalid UTF-8 detected")}function Hi(t){return[37,vi(t>>4),vi(15&t)]}function Wi(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Li(t){return Wi(t)||32===t||34===t||60===t||62===t||96===t}function xi(t){return Li(t)||35===t||63===t||123===t||125===t}function ji(t){return xi(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Ui(t){return t<33||t>126||34===t||35===t||60===t||62===t}function zi(t){return Ui(t)||39===t}function Gi(t,n){if(!n(t))return[t];for(var i=Mi([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Hi(u))}return r}function Ki(t,n){for(var i=[],r=0,e=mi(t);r<e.length;r++){var u=e[r];i.push.apply(i,Gi(u,n))}return Fi(i)}function Xi(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&ci(t[r+1])&&ci(t[r+2])){var u=li(t[r+1])<<4|li(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Mi(t))}function $i(t){return Fi(function(t){Ei=t.slice(),Ai=Ei.length,Oi=0;for(var n,i=[];!1!==(n=Ci());)i.push(n);return i}(Xi(mi(t))))}function qi(t){var n=t.length,i=[0,0,0,0,0,0,0,0],r=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new g;u+=2,e=r+=1}for(;u<n;){if(8===r)throw new g("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&Zn.test(t[u]);)o=o<<4|p(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new g;if(u-=f,r>6)throw new g;for(var s=0;u<n;){var h=null;if(s>0){if(!("."===t[u]&&s<4))throw new g;u+=1}if(!qn.test(t[u]))throw new g;for(;u<n&&qn.test(t[u]);){var c=p(t[u],10);if(null===h)h=c;else{if(0===h)throw new g;if((h=10*h+c)>255)throw new g}u+=1}i[r]=i[r]<<8|h,2!==(s+=1)&&4!==s||(r+=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;i[r]=o,r+=1}else{if(null!==e)throw new g("Too many :: groups");u+=1,e=r+=1}}if(null!==e){var a=r-e;for(r=7;0!==r&&a>0;)ui(i,r,e+a-1),r-=1,a-=1}else if(8!==r)throw new g;return i}function Zi(t){var n=10,i=Jn;return Yn.test(t)?(t=t.slice(2),n=16,i=Qn):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=ti),""===t?0:i.test(t)?p(t,n):void 0}var Yi={yw:4},Ji=/[\0\t\n\r #%/:?@\[\\\]]/,Qi=/[\0\t\n\r #/:?@\[\\\]]/;function tr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{yw:2,Aw:qi(t.slice(1,-1))}}if(!n)return function(t){if(Qi.test(t))throw new g("Invalid code point in opaque host");var n=Ki(t,Wi);return""===n?Yi:{yw:3,bw:n}}(t);var i=function(t){var n=function(t){return Di(t.toLowerCase())}(t);return n}($i(t));if(Ji.test(i))throw new g("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=Zi(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new g;if(i[i.length-1]>=S.pow(256,5-i.length))throw new g;for(var f=i.pop(),s=0;s<i.length;s++)f+=i[s]*S.pow(256,3-s);return f}}(i);return void 0!==r?{yw:1,Aw:r}:""===i?Yi:{yw:0,Tw:i}}function nr(t){switch(t.yw){case 0:return t.Tw;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.Aw);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.Aw)+"]";case 3:return t.bw;case 4:return""}}var ir=/\+/g;function rr(t){return 42===t||45===t||46===t||95===t||hi(t)}function er(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(ir," "),f=f.replace(ir," ");var s=$i(o),h=$i(f);i.push([s,h])}}return i}function ur(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=or(Mi(mi(r[0])))+"="+or(Mi(mi(r[1])))}return n}function or(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];32===r?n.push(43):rr(r)?n.push(r):n.push.apply(n,Hi(r))}return _i(n)}var fr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function sr(t){var n=""+t,i=fr.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(cr(u))if(ar(u)||e===i-1)r.push(hr);else{var o=t.charCodeAt(e+1);ar(o)?(r.push(u,o),e++):r.push(hr)}else r.push(u)}return t.slice(0,n)+_i(r)}(n,i.index):n}var hr=65533,cr=function(t){return 55296==(63488&t)},ar=function(t){return!!(1024&t)};function lr(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function vr(t){t.Sw.length=0}function dr(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.Sw,er(n))}function yr(t){if(t.Ew){var n=ur(t.Sw);""===n&&(n=null),t.Ew.Ew.Pw=n}}var _r=function(){function t(t){if(void 0===t&&(t=void 0),this.Ew=null,null==t)this.Sw=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof _r&&!!ii(t.Sw)&&(!ri||t[r]===wr)}(t))this.Sw=t.Sw.slice();else if(function(t){return null!=t&&(!!ii(t)||!!ri&&"function"==typeof t[r])}(t)){this.Sw=[];for(var n=0,i=ei(t);n<i.length;n++){var e=ei(i[n]);if(2!==e.length)throw new g("Invalid name-value pair");this.Sw.push([sr(e[0]),sr(e[1])])}}else for(var u in this.Sw=[],t)k.prototype.hasOwnProperty.call(t,u)&&this.Sw.push([sr(u),sr(t[u])]);else(t=sr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Sw=er(t)}var n=t.prototype;return n.append=function(t,n){t=sr(t),n=sr(n),this.Sw.push([t,n]),yr(this)},n.delete=function(t){t=sr(t);for(var n=this.Sw,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}yr(this)},n.get=function(t){t=sr(t);for(var n=this.Sw,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=sr(t);for(var n=this.Sw,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=sr(t);for(var n=this.Sw,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=sr(t),n=sr(n);for(var i=this.Sw,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),yr(this)},n.sort=function(){Kn(this.Sw,lr),yr(this)},n.toString=function(){return ur(this.Sw)},n.entries=function(){return new pr(this.Sw,gr)},n.keys=function(){return new pr(this.Sw,kr)},n.values=function(){return new pr(this.Sw,Sr)},n.forEach=function(t){var n=this;this.Sw.forEach(function(i){return t(i[1],i[0],n)})},t}(),wr=_r.prototype.entries;ri&&(_r.prototype[r]=wr);var gr=function(t){return[t[0],t[1]]},kr=function(t){return t[0]},Sr=function(t){return t[1]},pr=function(){function t(t,n){this.Iw=0,this.Sw=t,this.Rw=n}return t.prototype.next=function(){return this.Iw<this.Sw.length?{done:!1,value:this.Rw(this.Sw[this.Iw++])}:{done:!0,value:void 0}},t}(),Ir="null";var br=k.create(null);br.ftp=21,br.file=0,br.gopher=70,br.http=80,br.https=443,br.ws=80,br.wss=443;var mr=/^(?:\.|%2e)$/i,Er=/^(?:\.|%2e){2}$/i;function Ar(t){return mr.test(t)}function Or(t){return Er.test(t)}function Rr(t){return void 0!==br[t]}function Tr(t){return Rr(t.Cw)}function Dr(t){return""!==t.xw||""!==t.Nw}function Fr(t){var n=t.length;if(!(n>=2))return!1;if(!Br(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function Nr(t){return 2===t.length&&$n.test(t[0])&&(":"===t[1]||"|"===t[1])}function Br(t){return 2===t.length&&Nr(_i(t))}function Pr(t){return Nr(t)&&":"===t[1]}function Mr(t){var n=t.Dw;0!==n.length&&("file"===t.Cw&&1===n.length&&Pr(n[0])||n.pop())}function Vr(t){return null===t.Bw||Yi===t.Bw||t.Mw||"file"===t.Cw}var Cr=-1,Hr=/\t|\n|\r/g,Wr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Lr(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new jr,t=t.replace(Wr,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,h=mi(t=t.replace(Hr,"")),c=h.length,a=0;a<=c;){var l=a<c?h[a]:Cr;switch(e){case 0:if(!fi(l)){if(null===r){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(ai(l)),e=1;break;case 1:if(hi(l)||43===l||45===l||46===l)u.push(ai(l));else{if(58!==l){if(null===r){u.length=0,e=2,a=0;continue}throw new g("Invalid scheme")}var v=Fi(u);if(null!==r){if(Rr(i.Cw)&&!Rr(v))return;if(!Rr(i.Cw)&&Rr(v))return;if((Dr(i)||null!==i.Lw)&&"file"===v)return;if("file"===i.Cw&&(i.Bw===Yi||null===i.Bw))return}if(i.Cw=v,null!==r)return void(Tr(i)&&i.Lw===br[i.Cw]&&(i.Lw=null));u.length=0,"file"===i.Cw?e=13:Tr(i)&&n&&n.Cw===i.Cw?e=3:Tr(i)?e=7:47===h[a+1]?(e=4,a+=1):(i.Mw=!0,i.Dw.push(""),e=18)}break;case 2:if(!n||n.Mw&&35!==l)throw new g("Invalid scheme");n.Mw&&35===l?(i.Cw=n.Cw,i.Dw=n.Dw.slice(),i.Pw=n.Pw,i.Ow="",i.Mw=!0,e=20):"file"!==n.Cw?(e=5,a-=1):(e=13,a-=1);break;case 3:47===l&&47===h[a+1]?e=8:(e=5,a-=1);break;case 4:47===l?e=9:(e=17,a-=1);break;case 5:i.Cw=n.Cw,Cr===l?(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Pw=n.Pw):47===l?e=6:63===l?(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Pw="",e=19):35===l?(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Pw=n.Pw,i.Ow="",e=20):92===l&&Tr(i)?e=6:(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,i.Dw=n.Dw.slice(),i.Dw.pop(),e=17,a-=1);break;case 6:!Tr(i)||47!==l&&92!==l?47===l?e=9:(i.xw=n.xw,i.Nw=n.Nw,i.Bw=n.Bw,i.Lw=n.Lw,e=17,a-=1):e=8;break;case 7:if(47!==l||47!==h[a+1]){e=8;continue}e=8,a+=1;break;case 8:47!==l&&92!==l&&(e=9,a-=1);break;case 9:if(64===l){o&&u.unshift(37,52,48),o=!0;for(var d=0;d<u.length;d++){var y=u[d];if(58!==y||s){var _=Fi(Gi(y,ji));s?i.Nw+=_:i.xw+=_}else s=!0}u.length=0}else if(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l){if(o&&0===u.length)throw new g("Invalid host");a-=u.length+1,u.length=0,e=10}else u.push(l);break;case 10:case 11:if(null!==r&&"file"===i.Cw)a-=1,e=15;else if(58!==l||f)if(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l){if(a-=1,Tr(i)&&0===u.length)throw new g("Invalid host");if(null!==r&&0===u.length&&(Dr(i)||null!==i.Lw))return;var w=tr(Fi(u),Tr(i));if(i.Bw=w,u.length=0,e=16,null!==r)return}else 91===l?f=!0:93===l&&(f=!1),u.push(l);else{if(0===u.length)throw new g("Invalid host");var k=tr(Fi(u),Tr(i));if(i.Bw=k,u.length=0,e=12,11===r)return}break;case 12:if(si(l))u.push(l);else{if(!(Cr===l||47===l||63===l||35===l||Tr(i)&&92===l||null!==r))throw new g("Invalid port");if(0!==u.length){var S=p(Fi(u),10);if(S>65535)throw new g("Invalid port");i.Lw=S===br[i.Cw]?null:S,u.length=0}if(null!==r)return;e=16,a-=1}break;case 13:i.Cw="file",47===l||92===l?e=14:n&&"file"===n.Cw?Cr===l?(i.Bw=n.Bw,i.Dw=n.Dw.slice(),i.Pw=n.Pw):63===l?(i.Bw=n.Bw,i.Dw=n.Dw.slice(),i.Pw="",e=19):35===l?(i.Bw=n.Bw,i.Dw=n.Dw.slice(),i.Pw=n.Pw,i.Ow="",e=20):(Fr(h.slice(a))||(i.Bw=n.Bw,i.Dw=n.Dw.slice(),Mr(i)),e=17,a-=1):(e=17,a-=1);break;case 14:47===l||92===l?e=15:(n&&"file"===n.Cw&&!Fr(h.slice(a))&&(Pr(n.Dw[0])?i.Dw.push(n.Dw[0]):i.Bw=n.Bw),e=17,a-=1);break;case 15:if(Cr===l||47===l||92===l||63===l||35===l)if(a-=1,null===r&&Br(u))e=17;else if(0===u.length){if(i.Bw=Yi,null!==r)return;e=16}else{var I=tr(Fi(u),Tr(i));if(0===I.yw&&"localhost"===I.Tw&&(I=Yi),i.Bw=I,null!==r)return;u.length=0,e=16}else u.push(l);break;case 16:Tr(i)?(e=17,47!==l&&92!==l&&(a-=1)):null===r&&63===l?(i.Pw="",e=19):null===r&&35===l?(i.Ow="",e=20):Cr!==l&&(e=17,47!==l&&(a-=1));break;case 17:if(Cr===l||47===l||Tr(i)&&92===l||null===r&&(63===l||35===l)){var b=Fi(u);if(Or(b)?(Mr(i),47===l||Tr(i)&&92===l||i.Dw.push("")):!Ar(b)||47===l||Tr(i)&&92===l?Ar(b)||("file"===i.Cw&&0===i.Dw.length&&Br(u)&&(Yi!==i.Bw&&null!==i.Bw&&(i.Bw=Yi),u[1]=58,b=Fi(u)),i.Dw.push(b)):i.Dw.push(""),u.length=0,"file"===i.Cw&&(Cr===l||63===l||35===l))for(;i.Dw.length>1&&""===i.Dw[0];)i.Dw.shift();63===l?(i.Pw="",e=19):35===l&&(i.Ow="",e=20)}else u.push.apply(u,Gi(l,xi));break;case 18:63===l?(i.Pw="",e=19):35===l?(i.Ow="",e=20):Cr!==l&&(i.Dw[0]+=Fi(Gi(l,Wi)));break;case 19:null===r&&35===l?(i.Ow="",e=20):Cr!==l&&(i.Pw+=Fi(Gi(l,Tr(i)?zi:Ui)));break;case 20:Cr===l||0===l||(i.Ow+=Fi(Gi(l,Li)))}a++}return i}function xr(t,n,i,r){try{Lr(t,n,i,r)}catch(t){}}var jr=function(){this.Cw="",this.xw="",this.Nw="",this.Bw=null,this.Lw=null,this.Dw=[],this.Pw=null,this.Ow=null,this.Mw=!1};function Ur(t){switch(t.Cw){case"blob":var n;try{n=Lr(t.Dw[0],null)}catch(t){return Ir}return Ur(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,i){return t+"://"+nr(n)+(null===i?"":":"+i)}(t.Cw,t.Bw,t.Lw);default:return Ir}}var zr=function(){function t(t,n){var i,r=null;if(null!=n)if(function(t){return null!=t&&t instanceof zr&&"object"==typeof t.Ew}(n))r=n.Ew;else try{r=Lr(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{i=Lr(String(t),r)}catch(t){throw new g("Invalid URL: "+t.message)}var e=i.Pw;this.Ew=i,this.Pw=function(t){var n=new _r;return null!==t&&dr(n,t),n}(e),this.Pw.Ew=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,i){n&&Gn(t.prototype,n),i&&Gn(t,i)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Cw+":";if(null!==t.Bw?(i+="//",Dr(t)&&(i+=t.xw,""!==t.Nw&&(i+=":"+t.Nw),i+="@"),i+=nr(t.Bw),null!==t.Lw&&(i+=":"+t.Lw)):null===t.Bw&&"file"===t.Cw&&(i+="//"),t.Mw)i+=t.Dw[0];else for(var r=0,e=t.Dw;r<e.length;r++)i+="/"+e[r];return null!==t.Pw&&(i+="?"+t.Pw),n||null===t.Ow||(i+="#"+t.Ow),i}(this.Ew)},set:function(t){var n;try{n=Lr(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.Ew=n,vr(this.Pw);var i=this.Ew.Pw;null!==i&&dr(this.Pw,i)}},{key:"origin",get:function(){return Ur(this.Ew)}},{key:"protocol",get:function(){return this.Ew.Cw+":"},set:function(t){xr(t+":",null,this.Ew,0)}},{key:"username",get:function(){return this.Ew.xw},set:function(t){Vr(this.Ew)||(this.Ew.xw=Ki(t,ji))}},{key:"password",get:function(){return this.Ew.Nw},set:function(t){Vr(this.Ew)||(this.Ew.Nw=Ki(t,ji))}},{key:"host",get:function(){var t=this.Ew,n=t.Bw;if(null===n)return"";var i=t.Lw,r=nr(n);return null!==i&&(r+=":"+i),r},set:function(t){this.Ew.Mw||xr(t,null,this.Ew,10)}},{key:"hostname",get:function(){var t=this.Ew.Bw;return null===t?"":nr(t)},set:function(t){this.Ew.Mw||xr(t,null,this.Ew,11)}},{key:"port",get:function(){var t=this.Ew.Lw;return null===t?"":""+t},set:function(t){Vr(this.Ew)||(""===t?this.Ew.Lw=null:xr(t,null,this.Ew,12))}},{key:"pathname",get:function(){var t=this.Ew.Dw;return this.Ew.Mw?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Ew.Mw||(this.Ew.Dw.length=0,xr(t,null,this.Ew,16))}},{key:"search",get:function(){var t=this.Ew.Pw;return null===t||""===t?"":"?"+t},set:function(t){t=sr(t);var n=this.Ew;if(""===t)return n.Pw=null,void vr(this.Pw);"?"===t[0]&&(t=t.slice(1)),n.Pw="",xr(t,null,n,19),dr(this.Pw,t)}},{key:"searchParams",get:function(){return this.Pw}},{key:"hash",get:function(){var t=this.Ew.Ow;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Ew.Ow="",xr(t,null,this.Ew,20)):this.Ew.Ow=null}}]),t}();function Gr(t){return t.document&&t.document.baseURI||t.location.href||""}var Kr=function(){function t(){this.lm=void 0,this.$w=new Xr,this.ep=mn,this.ip=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.lm=function(){return self.performance.now()}:this.lm=yn}var n=t.prototype;return n.Fw=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];xn.apply(void 0,[].concat(n))},n.Uw=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];jn.apply(void 0,[].concat(n))},n.Vw=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];Un.apply(void 0,[].concat(n))},n.Hw=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];zn.apply(void 0,[].concat([t],i))},n._m=function(t,n){return v(t,n)},n.Ww=function(t,n){return y(t,n)},n.fm=function(t){d(t)},n.qw=function(t){_(t)},n.zw=function(){return this.Xw.zw()},n.Gw=function(){return this.Xw.Gw()},n.Qw=function(){return this.Xw.Qw()},n.Kw=function(){return this.Xw.Kw()},n.jw=function(){return this.Xw.jw()},n.Yw=function(t,n){return this.Xw.Yw(t,n)},n.Zw=function(t){return this.Xw.Zw(t)},n.Rh=function(t,n){var i;return void 0===n&&(n=Gr(c)),i="object"!==(void 0===n?"undefined":A(n))||E(n,zr)?n:n.href,new zr(t,i)},n.tp=function(t,n){if(void 0===n&&(n=Gr(c)),this.ip){var i=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,i).href}return this.Rh(t,n).href},ct(t,[{key:"Jw",get:function(){return this.$w}},{key:"ie",get:function(){return this.ep}},{key:"sp",get:function(){return{np:l&&l.userAgent.match(/Android /i)?"Android":"other",rp:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"hp",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"op",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),Xr=function(){function t(){}return ct(t,[{key:"ap",get:function(){return l.oscpu}},{key:"ie",get:function(){return l.platform}},{key:"cp",get:function(){return l.vendor}},{key:"dp",get:function(){return l.vendorSub}}]),t}();var $r=function(){function t(){}var n=t.prototype;return n.jw=function(){return Q.resolve(!1)},n.Gw=function(){return Q.resolve(!1)},n.Kw=function(){return Q.resolve(!1)},n.Qw=function(){return Q.resolve(!1)},n.Zw=function(t){return Q.resolve(!1)},n.Yw=function(t,n){return Q.resolve(!1)},n.zw=function(){return Q.resolve(!1)},t}(),qr=function(){function t(){}var n=t.prototype;return n.xS=function(){},n.nA=function(t){},n.iA=function(t){},n.eA=function(t,n){},t}(),Zr=function(t){return t.DS="arraybuffer",t.MS="json",t.LS="stream",t.OS="text",t}({}),Yr=function(){function t(n){var i=this;this.vp=void 0,this.vp={},E(n,t)?n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):Array.isArray(n)?n.forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):n&&k.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=Jr(i),r=Qr(r);var e=i.toLowerCase();if(this.vp.hasOwnProperty(e)){var u=this.vp[e],o=u[1];u[1]=o?o+", "+r:r}else this.vp[e]=[i,r]},n.delete=function(t){var n=Jr(t).toLowerCase();delete this.vp[n]},n.get=function(t){var n=Jr(t).toLowerCase();return this.vp.hasOwnProperty(n)?this.vp[n][1]:null},n.has=function(t){var n=Jr(t).toLowerCase();return this.vp.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Jr(i)).toLowerCase();this.vp[r]=[i,Qr(n)]},n.forEach=function(t,n){for(var i in this.vp)this.vp.hasOwnProperty(i)&&t.call(n,this.vp[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.vp)if(this.vp.hasOwnProperty(n)){var i=this.vp[n],r=i[0],e=i[1];t.push([r,e])}return t},n.FS=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.US=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.VS=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Jr(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 Qr(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var te=function(t,n){this.QS=void 0,this.gk=void 0,this.Wk=void 0,this._k=void 0,this.qk=void 0,this.zk=void 0,this.Rm=void 0,this.bp=void 0,this.Xk=void 0,this.Gk=void 0,this.Ak=void 0,this.Qk=void 0,this.Kk=void 0,this.jk=void 0,this.Yk=void 0,this.Zk=void 0;var i,r,e,u,o,f,s,h,c,a,l,v,d,y,_,w,g,k,S=t.Ak;n?(i=n.QS,r=n.gk,e=n.Wk,u=n._k,o=n.qk,f=n.zk,s=n.Rm,h=n.bp,c=n.Xk,a=n.Gk,l=n.Qk,v=n.Kk,d=n.jk,y=n.Yk,_=n.Zk):(i=null,r={},e="GET",u=Zr.OS,o=0,f=0,h="",c="",a="",l=!1,d=void 0,y=!1,_=void 0),this.Ak=S,this.QS=t.QS||i,this.gk=new Yr(t.gk||r),this.Wk=t.Wk||e,this._k=t._k||u,this.qk=void 0!==t.qk?Number(t.qk)||0:o,this.zk=void 0!==t.zk?Number(t.zk)||0:f,this.Rm=t.Rm||s||(new Ht).Rm,this.bp=t.bp||h,this.Xk=t.Xk||c,this.Gk=t.Gk||a,this.Qk=void 0!==t.Qk?Boolean(t.Qk):l,this.Kk=t.Kk||v,this.jk=null!=(w=t.jk)?w:d,this.Yk=null!=(g=t.Yk)?g:y,this.Zk=null!=(k=t.Zk)?k:_},ne=function(t){return t.hE="HttpOpenError",t.oE="HttpResponseError",t.aE="HttpTimeoutError",t}({}),ie=function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).uE=void 0,e.uE=n,e}return st(n,t),ct(n,[{key:"vk",get:function(){return this.uE}}]),n}(Lt),re=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.Ak+".",i)||this}return st(n,t),ct(n,[{key:"name",get:function(){return ne.hE}}]),n}(ie),ee=function(){function t(){}var n=t.prototype;return n.vk=function(t){return Q.reject(new re(new te(t)))},n.Jk=function(t){},n._n=function(){},t}(),ue=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return st(n,t),n}(Lt),oe=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).dP=new $r,n.SU=new ee,n.i=new qr,n}return st(n,t),n.prototype.VE=function(t){throw new ue},ct(n,[{key:"Xw",get:function(){return this.dP}},{key:"lP",get:function(){return!1}},{key:"_P",get:function(){return!1}},{key:"wP",get:function(){return!1}},{key:"gP",get:function(){return!1}},{key:"pP",get:function(){return this.i}},{key:"yP",get:function(){return{AP:Ft}}},{key:"bP",get:function(){return"default"}},{key:"TP",get:function(){return"unknown"}},{key:"ff",get:function(){return this.SU}}]),n}(Kr);!function(t){0}(new oe)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof a?a:"undefined"!=typeof global?global:this);
|
|
31
31
|
//# sourceMappingURL=theoplayer.sw.js.map
|