/*!
 THEOplayer

 Usage of this software is limited by the THEOplayer License.

 It is prohibited to reverse engineer, decompile, translate,
 disassemble, decipher, decrypt, or otherwise attempt to
 discover the source code of this software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

 For more information, visit https://www.theoplayer.com or contact
 contact @ theoplayer . com



 THEOplayer is based on patented technology developed by
 THEO Technologies (https://www.theoplayer.com).

 Version: 10.14.0
 Created: 2026-04-09T09:05:48.279Z
 */
!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,g=t.Error,w=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 A(t,i){return null!=i&&void 0!==n&&i[n.hasInstance]?!!i[n.hasInstance](t):t instanceof i}function E(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"ui"+t+"_"+ ++h},r=(i=function(t){return"ui"+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(!A(this,D))throw new w("Promises must be constructed via new");if("function"!=typeof t)throw new w("not a function");this.Ua=0,this.jGt=!1,this.tbt=void 0,this.YGt=[],V(t,this)}function N(t,n){for(;3===t.Ua;)t=t.tbt;0!==t.Ua?(t.jGt=!0,D.ZGt(function(){var i=1===t.Ua?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.tbt)}catch(t){return void B(n.promise,t)}F(n.promise,r)}else(1===t.Ua?F:B)(n.promise,t.tbt)})):t.YGt.push(n)}function F(t,n){try{if(n===t)throw new w("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":E(n))||"function"==typeof n)){var i=n.then;if(A(n,D))return t.Ua=3,t.tbt=n,void P(t);if("function"==typeof i)return void V(function(t,n){return function(){t.apply(n,arguments)}}(i,n),t)}t.Ua=1,t.tbt=n,P(t)}catch(n){B(t,n)}}function B(t,n){t.Ua=2,t.tbt=n,P(t)}function P(t){2===t.Ua&&0===t.YGt.length&&D.ZGt(function(){t.jGt||D.JGt(t.tbt)});for(var n=0,i=t.YGt.length;n<i;n++)N(t,t.YGt[n]);t.YGt=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,F(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 N(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 w("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":E(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 w((void 0===t?"undefined":E(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":E(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":E(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 w("Promise.race accepts an array"));for(var r=0,e=t.length;r<e;r++)D.resolve(t[r]).then(n,i)})},D.ZGt="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){O(t,0)},D.JGt=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:"",L=H.match(/Firefox\/([0-9]+)/i),W=null!=L,x=L?Number(L[1]):0,j=H.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),U=null!=j,G=j?Number(j[3]):0,z=function(){function t(t){this.fw=0,this.Wu=0,this.L_=[],this.$Gt=t}return t.prototype.tjt=function(t){var n=this.length();this.njt(n+1);var i=this.Wu+n&this.$Gt-1;this.L_[i]=t,this.fw=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.$Gt<n)this.tjt(t);else{var i=this.Wu+n-1,r=this.$Gt-1;this.L_[i&r]=t,this.fw=n}},t.prototype.shift=function(){var t=this.Wu,n=this.L_[t];return this.L_[t]=void 0,this.Wu=t+1&this.$Gt-1,this.fw--,n},t.prototype.length=function(){return this.fw},t.prototype.njt=function(t){this.$Gt<t&&this.ijt(this.$Gt<<1)},t.prototype.ijt=function(t){var n=this.$Gt;this.$Gt=t;var i=this.Wu+this.fw&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.L_,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 Y(t){var n=new $(K,{detail:{reason:t},cancelable:!0});return k.defineProperty(n,"reason",{value:t}),n}function Z(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}()?Y:Z,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 w("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 w("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}C&&!(W&&x<60||U&&G<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.ZGt,tt=et,nt=new z(16),it=!1,(ut={K1:function(t){nt.push(t),it||(it=!0,tt(rt))},zX:rt=function(){for(;nt.length()>0;)nt.shift()();it=!1}}).zX,D.ZGt=ut.K1,D.JGt=function(t){try{var n=ot(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}v(function(){throw new g("Unhandled promise rejection: ".concat(t))},0)});var vt=function(t){return t.ld="web",t.fd="android",t._d="android-tv",t.vd="ios",t.md="tvos",t.wd="chromecast",t.pd="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),gt=dt.match(/Android ([0-9\.]+)/i),wt=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),At=dt.match(/(AFT.*) Build/i),Et=function(){function t(){this.yd=Boolean("ontouchstart"in self||self.DocumentTouch&&A(a,self.DocumentTouch)||l&&l.msMaxTouchPoints),this.bd=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(dt)||/(macintosh|mac(?=_powerpc)\s)/i.test(dt),this.Td=/Windows NT/i.test(dt),this.Ed=wt?I(wt[1]):0,this.Cd=/Android/i.test(dt),this.Id=gt?I(gt[1]):0,this.Bd=/windows phone (8|8\.1)/i.test(dt),this.Dd=/iPhone/i.test(dt),this.Ld=/iPad/i.test(dt),this.Fd=this.bd&&this.yd&&!this.Ld,this.Hd=/iPod/i.test(dt),this.jd=/Mobile Safari/i.test(dt),this.Gd=/EOS\d*STB/i.test(dt),this.Qd=/APP\d*STB/i.test(dt),this.Wd=(this.Dd||this.Ld||this.Fd||this.Hd)&&!this.Bd,this.zd=bt?I(bt[2]):0,this.Yd=this.Bd||this.Wd||this.Cd||this.jd,this.Zd=/CriOS/i.test(dt),this.il=Boolean(self.chrome&&/google/i.test(l.vendor))||this.Zd,this.cl=this.il&&/Edg\//i.test(l.userAgent),this.ll=_t?p(_t[1],10):0,this.xf=Boolean(/CriOS/i.test(dt)),this.Cf=Boolean(self.chrome||/Chrome/i.test(dt)||this.xf),this.al=yt?p(yt[1],10):0,this.vl=/SMART-TV.*Tizen/i.test(dt),this.yl=It?I(It[1]):0,this.ol=this.yl>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.yl):void 0,this.Sl=/webos|web0s/i.test(dt),this.El=/HbbTV/i.test(dt),this.Cl=!!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.Il=/AFT.* Build/i.test(dt),this.Rl=At?At[1]:void 0,this.Nl=/VIZIO/i.test(dt),this.Ol=/Edge\/\d+/i.test(dt),this.Ul=/Trident/i.test(dt),this.ql=this.Ul&&!self.ActiveXObject&&"ActiveXObject"in self,this.Vl=/Vivaldi/i.test(dt),this.Xl=/Firefox/i.test(dt)&&!/Seamonkey/i.test(dt),this.Ql=St?I(St[1]):0,this.jl=/Safari/i.test(dt)&&!/Chrome/i.test(dt)&&!this.Bd&&!this.vl,this.Jl=kt?I(kt[2]):0,this.$l=Boolean(pt),this.if=pt?I(pt[1]):0,this.Ml=/Sky_STB/i.test(dt),this.nf=/CrKey/.test(dt),this.hf=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(dt)||this.Ml,this.df=/PlayStation 4/i.test(dt),this._f=/PlayStation 5/i.test(dt),this.gf="web"===vt._d,this.wf="web"===vt.fd,this.yf=this.wf||this.gf,this.bf="web"===vt.vd,this.Tf="web"===vt.md,this.Ef="web"===vt.wd}return ct(t,[{key:"tn",get:function(){return this.yd}},{key:"Ad",get:function(){return this.bd}},{key:"Sd",get:function(){return this.Td}},{key:"kd",get:function(){return this.Ed}},{key:"Pd",get:function(){return this.Cd}},{key:"xd",get:function(){return this.Id}},{key:"Rd",get:function(){return this.Bd}},{key:"Nd",get:function(){return this.Dd}},{key:"Md",get:function(){return this.Ld}},{key:"Od",get:function(){return this.Fd}},{key:"Ud",get:function(){return this.Hd}},{key:"qd",get:function(){return this.Wd}},{key:"Vd",get:function(){return this.zd}},{key:"Xd",get:function(){return this.Gd||this.Qd}},{key:"Kd",get:function(){return this.jd}},{key:"te",get:function(){return this.Yd}},{key:"Jd",get:function(){return this.Zd}},{key:"$d",get:function(){return this.il}},{key:"hl",get:function(){var t;return null!=(t=this.ol)?t:this.al}},{key:"ul",get:function(){return this.cl}},{key:"dl",get:function(){var t;return(null==(t=c.chrome)?void 0:t.webview)&&this.ll>0}},{key:"fl",get:function(){return this.ll}},{key:"_l",get:function(){return this.vl}},{key:"wl",get:function(){return this.yl}},{key:"Al",get:function(){return this.Sl}},{key:"Tl",get:function(){return this.El}},{key:"Pl",get:function(){return this.Cl}},{key:"xl",get:function(){return this.Il}},{key:"IS_FIRETV_AFTMM",get:function(){return"AFTMM"===this.Rl}},{key:"Bl",get:function(){return this.Nl}},{key:"Dl",get:function(){return this.Ml}},{key:"Ll",get:function(){return this.Ol}},{key:"Fl",get:function(){return this.Ul}},{key:"Hl",get:function(){return this.ql}},{key:"Wl",get:function(){return this.Vl}},{key:"zl",get:function(){return this.Xl}},{key:"Gl",get:function(){return this.Ql}},{key:"Kl",get:function(){return this.jl}},{key:"Yl",get:function(){return 0===this.Jl&&Ot.qd?this.zd:this.Jl}},{key:"Zl",get:function(){return this.$l}},{key:"tf",get:function(){return this.if}},{key:"ef",get:function(){return this.nf}},{key:"rf",get:function(){return this.hf}},{key:"uf",get:function(){return!(!this.Al&&!this._l)&&this.hl<=56}},{key:"cf",get:function(){return this.df}},{key:"lf",get:function(){return this._f}},{key:"vf",get:function(){return this.gf}},{key:"mf",get:function(){return this.wf}},{key:"pf",get:function(){return this.yf}},{key:"Af",get:function(){return this.bf}},{key:"Sf",get:function(){return this.Tf}},{key:"kf",get:function(){return this.Ef}},{key:"Pf",get:function(){return this.Cf}},{key:"IS_IOS_CHROME",get:function(){return this.xf}}]),t}();Et.If=new Et;var Ot=Et.If,Rt={}.toString;Array.isArray;function Tt(t){return"object"===(void 0===t?"undefined":E(t))&&null!==t}function Dt(t){return function(t){return"function"==typeof t}(t)||Tt(t)}var Nt=function(){};function Ft(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.Of=!1,this.Ff=!1,this.Uf=[],this.qf=[]}var n=t.prototype;return n.Lf=function(){if(!this.Of&&!this.Ff){this.Of=!0;for(var t,n=lt(this.Uf.slice());!(t=n()).done;){(0,t.value)()}this.Hf()}},n.Hf=function(){if(!this.Ff){this.Ff=!0;for(var t,n=lt(this.qf.slice());!(t=n()).done;){(0,t.value)()}Vt(this.Uf),Vt(this.qf)}},n.Wf=function(t){this.Ff||this.Uf.push(t)},n.Vf=function(t){this.Ff||Mt(this.Uf,t)},n.zf=function(t){this.Ff||this.qf.push(t)},n.Xf=function(t){this.Ff||Mt(this.qf,t)},t}(),Ht=function(){function t(){this.Qf=new Ct}var n=t.prototype;return n.Kf=function(){this.Qf.Lf()},n.Hf=function(){this.Qf.Hf()},n.jf=function(t){var n=this.Qf;if(!n.Of)if(t.Of)n.Lf();else if(!n.Ff&&!t.Ff){var i=function(){r(),n.Lf()},r=function(){t.Vf(i),t.Xf(r),n.Vf(i),n.Xf(r)};t.Wf(i),t.zf(r),n.Wf(i),n.zf(r)}},n.Yf=function(){var n=new t,i=new t,r=n.Gf,e=i.Gf,u=this.Qf,o=function(){r.Of&&e.Ff||e.Of&&r.Ff?u.Lf():r.Ff&&e.Ff&&u.Hf()};r.Wf(o),e.Wf(o),r.zf(o),e.zf(o),n.jf(u),i.jf(u);return u.zf(function(){r.Vf(o),e.Vf(o),r.Xf(o),e.Xf(o)}),[n,i]},n[e]=function(){this.Kf()},t.Jf=function(n){for(var i,r=new t,e=lt(n);!(i=e()).done;){var u=i.value;void 0!==u&&r.jf(u)}return r},ct(t,[{key:"Gf",get:function(){return this.Qf}}]),t}(),Lt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];g.apply(this,n)};(Lt.prototype=k.create(g.prototype)).constructor=Lt;var Wt=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,g.captureStackTrace&&g.captureStackTrace(r,r.constructor),r}return st(n,t),ct(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Lt);Q.resolve();function xt(){return void 0!==a?a.createElement("video"):void 0}var jt=Ft(xt),Ut=(Ft(function(){return"undefined"!=typeof HTMLVideoElement&&A(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 Gt(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function zt(t){return!0===(t&&t.$f)}function Kt(t){var n=S.clz32(t&-t);return t?31-n:n}Gt.prototype.$f,k.defineProperty(Gt.prototype,"$f",{value:!0}),Gt.isLong=zt;var Xt={},$t={};function qt(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=$t[t])?r:(i=Zt(t,0,!0),e&&($t[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=Xt[t])?r:(i=Zt(t,t<0?-1:0,!1),e&&(Xt[t]=i),i)}function Yt(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?Yt(-t,n).neg():Zt(t%nn|0,t/nn|0,n)}function Zt(t,n,i){return new Gt(t,n,i)}Gt.fromInt=qt,Gt.fromNumber=Yt,Gt.fromBits=Zt;var Jt=S.pow;function Qt(t,n,i){if(0===t.length)throw g("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 g("interior hyphen");if(0===r)return Qt(t.substring(1),n,i).neg();for(var e=Yt(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=Yt(Jt(i,f));u=u.mul(h).add(Yt(s))}else u=(u=u.mul(e)).add(Yt(s))}return u.unsigned=n,u}function tn(t,n){return"number"==typeof t?Yt(t,n):"string"==typeof t?Qt(t,n):Zt(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Gt.fromString=Qt,Gt.fromValue=tn;var nn=4294967296,rn=nn*nn,en=rn/2,un=qt(1<<24),on=qt(0);Gt.ZERO=on;var fn=qt(0,!0);Gt.UZERO=fn;var sn=qt(1);Gt.ONE=sn;var hn=qt(1,!0);Gt.UONE=hn;var cn=qt(-1);Gt.NEG_ONE=cn;var an=Zt(-1,2147483647,!1);Gt.MAX_VALUE=an;var ln=Zt(-1,-1,!0);Gt.MAX_UNSIGNED_VALUE=ln;var vn=Zt(0,-2147483648,!1);Gt.MIN_VALUE=vn;var dn=Gt.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=Yt(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=Yt(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 zt(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(zt(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){zt(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,Zt((c&=65535)<<16|(a&=65535),(s&=65535)<<16|(h&=65535),this.unsigned)},dn.subtract=function(t){return zt(t)||(t=tn(t)),this.add(t.neg())},dn.sub=dn.subtract,dn.multiply=function(t){if(this.isZero())return this;if(zt(t)||(t=tn(t)),Ut)return Zt(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 Yt(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,Zt((a&=65535)<<16|(l&=65535),(h&=65535)<<16|(c&=65535),this.unsigned)},dn.mul=dn.multiply,dn.divide=function(t){if(zt(t)||(t=tn(t)),t.isZero())throw g("division by zero");var n,i,r;if(Ut)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?Zt((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=Yt(n),f=o.mul(t);f.isNegative()||f.gt(i);)f=(o=Yt(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 zt(t)||(t=tn(t)),Ut?Zt((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 Zt(~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 zt(t)||(t=tn(t)),Zt(this.low&t.low,this.high&t.high,this.unsigned)},dn.or=function(t){return zt(t)||(t=tn(t)),Zt(this.low|t.low,this.high|t.high,this.unsigned)},dn.xor=function(t){return zt(t)||(t=tn(t)),Zt(this.low^t.low,this.high^t.high,this.unsigned)},dn.shiftLeft=function(t){return zt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Zt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Zt(0,this.low<<t-32,this.unsigned)},dn.shl=dn.shiftLeft,dn.shiftRight=function(t){return zt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Zt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Zt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},dn.shr=dn.shiftRight,dn.shiftRightUnsigned=function(t){return zt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Zt(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):Zt(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 zt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Zt(this.high,this.low,this.unsigned):t<32?(n=32-t,Zt(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),Zt(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 zt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Zt(this.high,this.low,this.unsigned):t<32?(n=32-t,Zt(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),Zt(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},dn.rotr=dn.rotateRight,dn.toSigned=function(){return this.unsigned?Zt(this.low,this.high,!1):this},dn.toUnsigned=function(){return this.unsigned?this:Zt(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]},Gt.fromBytes=function(t,n,i){return i?Gt.fromBytesLE(t,n):Gt.fromBytesBE(t,n)},Gt.fromBytesLE=function(t,n){return new Gt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Gt.fromBytesBE=function(t,n){return new Gt(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&&(Gt.fromBigInt=function(t,n){return Zt(Number(BigInt.asIntN(32,t)),Number(BigInt.asIntN(32,t>>BigInt(32))),n)},Gt.fromValue=function(t,n){return"bigint"===(void 0===t?"undefined":E(t))?Gt.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,gn=(Gt.fromNumber(9007199254740991),Boolean("ontouchstart"in self||self.DocumentTouch&&A(a,self.DocumentTouch))||Boolean(l&&l.msMaxTouchPoints)),wn=jt(),kn=Boolean(wn&&wn.webkitShowPlaybackTargetPicker),Sn=function(){function t(){this.i_=void 0,this.P_=!1,this.tn=gn,this.te=!1,this.Zf=!0}var n=t.prototype;return n.e_=function(){return 0},n.b_=function(t,n){return!0},n.S_=function(t){return t>=2*_n},ct(t,[{key:"t_",get:function(){return void 0===this.i_&&(this.i_=this.e_()),this.i_}},{key:"s_",get:function(){return Ot.Pd?"android":Ot.Ad?"macos":Ot.qd?"ios":Ot.Sd?"windows":"other"}},{key:"n_",get:function(){return Ot.rf?"tv":Ot.te?"mobile":"desktop"}},{key:"r_",get:function(){return!Ot.rf}},{key:"h_",get:function(){if(c.screen)return{width:c.screen.width*this.o_,height:c.screen.height*this.o_}}},{key:"o_",get:function(){return c.devicePixelRatio||1}},{key:"a_",get:function(){return kn}},{key:"u_",get:function(){return!1}},{key:"c_",get:function(){return!0}},{key:"d_",get:function(){return!!(Ot.Kl||Ot.qd||Ot.dl)||!!Ot.Bl}},{key:"l_",get:function(){return Ot.Bl}},{key:"f_",get:function(){return!Ot.qd}},{key:"__",get:function(){return!0}},{key:"v_",get:function(){return!0}},{key:"g_",get:function(){return!1}},{key:"m_",get:function(){}},{key:"w_",get:function(){return!0}},{key:"p_",get:function(){return!1}},{key:"y_",get:function(){return Ot.Bl}},{key:"A_",get:function(){return!1}},{key:"T_",get:function(){return!1}},{key:"k_",get:function(){return!1}},{key:"E_",get:function(){return!0}}]),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.b_=function(t,n){if(t&&t.C_&&n&&n.C_){var i=bn(t.C_,"mp4a.40.2")&&bn(n.C_,"mp4a.40.5"),r=bn(t.C_,"mp4a.40.5")&&bn(n.C_,"mp4a.40.2"),e=bn(t.C_,"mp4a.40.2")&&bn(n.C_,"mp4a.40.34"),u=bn(t.C_,"mp4a.40.34")&&bn(n.C_,"mp4a.40.2"),o=bn(t.C_,"mp4a.40.5")&&bn(n.C_,"mp4a.40.34"),f=bn(t.C_,"mp4a.40.34")&&bn(n.C_,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},ct(n,[{key:"m_",get:function(){if(Ot.Ad)return 4096}}]),n}(pn);function bn(t,n){return t.indexOf(n)>-1}var mn,An=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.S_=function(t){return t>=2},n}(pn),En=function(t){function n(){var n;return(n=t.call(this)||this).P_=Ot.Yl>=11,n.Zf=Ot.Kl&&!(Ot.qd&&Ot.Yl<10),n}return st(n,t),ct(n,[{key:"A_",get:function(){return Ot.Yl<17}},{key:"T_",get:function(){return!0}}]),n}(pn),On=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"w_",get:function(){return!(Ot.hl>=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.Od)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).x_=void 0,i.x_=n,i.P_=i.x_.P_,i.tn=i.x_.tn,i.Zf=Rn&&i.x_.Zf,i}st(n,t);var i=n.prototype;return i.e_=function(){return this.x_.t_},i.b_=function(t,n){return this.x_.b_(t,n)},i.S_=function(t){return this.x_.S_(t)},ct(n,[{key:"m_",get:function(){return this.x_.m_}},{key:"w_",get:function(){return this.x_.w_}},{key:"A_",get:function(){return this.x_.A_}}]),n}(Sn),Dn=function(t){function n(n){var i;return(i=t.call(this,n)||this).P_=!0,i.te=!0,i}return st(n,t),ct(n,[{key:"g_",get:function(){return Ot.qd}}]),n}(Tn);var Nn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),n.prototype.e_=function(){return function(t){return t&&Dt(c.ManagedMediaSource)?c.ManagedMediaSource:Dt(c.MediaSource)?c.MediaSource:void 0}(!0)?t.prototype.e_.call(this):1},ct(n,[{key:"g_",get:function(){return!0}}]),n}(Dn),Fn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).N_=void 0,n}return st(n,t),n.prototype.b_=function(n,i){return t.prototype.b_.call(this,n,i)},ct(n,[{key:"u_",get:function(){return Ot.wl<3}},{key:"c_",get:function(){return Ot.wl>=3}},{key:"h_",get:function(){var t=this;return c.tizen&&!this.N_&&c.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var i=n.resolutionWidth,r=n.resolutionHeight;1===i&&1===r||(t.N_={width:i,height:r})}),this.N_}},{key:"p_",get:function(){return Ot.wl<3}}]),n}(Tn),Bn=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).N_=void 0,n}return st(n,t),ct(n,[{key:"h_",get:function(){var t=this;return c.webOS&&!this.N_&&c.webOS.deviceInfo(function(n){t.N_={width:n.screenWidth,height:n.screenHeight}}),this.N_}},{key:"__",get:function(){return!1}}]),n}(Tn),Pn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"g_",get:function(){return!0}},{key:"T_",get:function(){return this.x_.T_}}]),n}(Tn),Mn=function(t){function n(){return t.apply(this,arguments)||this}return st(n,t),ct(n,[{key:"k_",get:function(){return Ot.IS_FIRETV_AFTMM}}]),n}(Tn);!function(t){mn=t}(function(){var t=function(){if(Ot.zl)return new In;if(Ot.Ll||Ot.Fl)return new An;if(Ot.Kl)return new En;if(Ot.Pf)return new On;return new pn}();return Ot.qd?new Nn(t):Ot.xl?new Mn(t):Ot.te?new Dn(t):Ot._l?new Fn(t):Ot.Al?new Bn(t):Ot.Ad?new Pn(t):new Tn(t)}());var Vn=!(Ot.Fl&&!Ot.Hl),Cn=self.console;function Hn(t){if(Tt(t))try{return JSON.stringify(t)}catch(t){}return t}function Ln(t){return t.map(Hn).join(" ")}function Wn(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](Ln(i))}:void 0}var xn=Wn("log")||Nt,jn=Wn("debug")||xn.bind(void 0,"DEBUG:"),Un=Wn("warn")||xn.bind(void 0,"WARNING:"),Gn=Wn("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,Ln(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||Gn.apply(void 0,[].concat(["Assertion failed:"],i))}}();function Kn(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 Xn(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){$n(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&$n(i,null,t.length,t),t}function $n(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 qn=/[a-zA-Z]/,Yn=/[0-9]/,Zn=/[0-9a-fA-F]/,Jn=/^0x/i,Qn=/^[0-9]+$/,ti=/^[0-9a-fA-F]+$/,ni=/^[0-7]+$/,ii=k.prototype.toString,ri=Array.isArray||function(t){return"[object Array]"===ii.call(t)},ei=void 0!==n&&"symbol"==typeof r;function ui(t){return ri(t)?t:Array.from(t)}function oi(t,n,i){var r=t[n];t[n]=t[i],t[i]=r}function fi(t){return t>=65&&t<=90}function si(t){return fi(t)||function(t){return t>=97&&t<=122}(t)}function hi(t){return t>=48&&t<=57}function ci(t){return hi(t)||si(t)}function ai(t){return hi(t)||t>=65&&t<=70||t>=97&&t<=102}function li(t){return fi(t)?t+32:t}function vi(t){return hi(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function di(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var yi=S.min,_i=String.fromCharCode;function gi(t){for(var n=t.length,i=[],r=0;r<n;r+=16384){var e=yi(r+16384,n);i.push(_i.apply(null,t.slice(r,e)))}return i.join("")}var wi=2147483647,ki=/[^\0-\x7E]/,Si=/[\x2E\u3002\uFF0E\uFF61]/g,pi={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ii=S.floor,bi=String.fromCharCode;function mi(t){throw new RangeError(pi[t])}function Ai(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,Oi,Ri,Ti=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Di=function(t,n,i){var r=0;for(t=i?Ii(t/700):t>>1,t+=Ii(t/n);t>455;r+=36)t=Ii(t/35);return Ii(r+36*t/(t+38))},Ni=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(Si,".")).split("."),n).join(".");return r+e}(t,function(t){return ki.test(t)?"xn--"+function(t){for(var n=[],i=(t=Ai(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(bi(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>Ii((wi-e)/y)&&mi("overflow"),e+=(a-r)*y,r=a;for(var _=0,g=t;_<g.length;_++){var w=g[_];if(w<r&&++e>wi&&mi("overflow"),w==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(bi(Ti(p+I%b,0))),k=Ii(I/b)}n.push(bi(Ti(k,0))),u=Di(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 gi(n)}function Bi(t){if(t>=55296&&t<=57343)throw new g("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function Pi(t,n){return t>>n&63|128}function Mi(t,n){4294967168&t?(4294965248&t?4294901760&t?4292870144&t||(n.push(t>>18&7|240),n.push(Pi(t,12)),n.push(Pi(t,6))):(Bi(t),n.push(t>>12&15|224),n.push(Pi(t,6))):n.push(t>>6&31|192),n.push(63&t|128)):n.push(t)}function Vi(t){for(var n=[],i=0;i<t.length;i++){Mi(t[i],n)}return n}function Ci(){if(Ri>=Oi)throw new g("Invalid byte index");var t=255&Ei[Ri];if(Ri++,128==(192&t))return 63&t;throw new g("Invalid continuation byte")}function Hi(){var t,n;if(Ri>Oi)throw new g("Invalid byte index");if(Ri===Oi)return!1;if(t=255&Ei[Ri],Ri++,!(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Ci())>=128)return n;throw new g("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Ci()<<6|Ci())>=2048)return Bi(n),n;throw new g("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Ci()<<12|Ci()<<6|Ci())>=65536&&n<=1114111)return n;throw new g("Invalid UTF-8 detected")}function Li(t){return[37,di(t>>4),di(15&t)]}function Wi(t){return function(t){return t>=0&&t<=31}(t)||t>126}function xi(t){return Wi(t)||32===t||34===t||60===t||62===t||96===t}function ji(t){return xi(t)||35===t||63===t||123===t||125===t}function Ui(t){return ji(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Gi(t){return t<33||t>126||34===t||35===t||60===t||62===t}function zi(t){return Gi(t)||39===t}function Ki(t,n){if(!n(t))return[t];for(var i=Vi([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Li(u))}return r}function Xi(t,n){for(var i=[],r=0,e=Ai(t);r<e.length;r++){var u=e[r];i.push.apply(i,Ki(u,n))}return Fi(i)}function $i(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&&ai(t[r+1])&&ai(t[r+2])){var u=vi(t[r+1])<<4|vi(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Vi(t))}function qi(t){return Fi(function(t){Ei=t.slice(),Oi=Ei.length,Ri=0;for(var n,i=[];!1!==(n=Hi());)i.push(n);return i}($i(Ai(t))))}function Yi(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 w;u+=2,e=r+=1}for(;u<n;){if(8===r)throw new w("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 w;if(u-=f,r>6)throw new w;for(var s=0;u<n;){var h=null;if(s>0){if(!("."===t[u]&&s<4))throw new w;u+=1}if(!Yn.test(t[u]))throw new w;for(;u<n&&Yn.test(t[u]);){var c=p(t[u],10);if(null===h)h=c;else{if(0===h)throw new w;if((h=10*h+c)>255)throw new w}u+=1}i[r]=i[r]<<8|h,2!==(s+=1)&&4!==s||(r+=1)}if(4!==s)throw new w;break}if(":"===t[u]){if((u+=1)===n)throw new w}else if(u<n)throw new w;i[r]=o,r+=1}else{if(null!==e)throw new w("Too many :: groups");u+=1,e=r+=1}}if(null!==e){var a=r-e;for(r=7;0!==r&&a>0;)oi(i,r,e+a-1),r-=1,a-=1}else if(8!==r)throw new w;return i}function Zi(t){var n=10,i=Qn;return Jn.test(t)?(t=t.slice(2),n=16,i=ti):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=ni),""===t?0:i.test(t)?p(t,n):void 0}var Ji={D_:4},Qi=/[\0\t\n\r #%/:?@\[\\\]]/,tr=/[\0\t\n\r #/:?@\[\\\]]/;function nr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new w("Invalid IPv6 address");return{D_:2,M_:Yi(t.slice(1,-1))}}if(!n)return function(t){if(tr.test(t))throw new w("Invalid code point in opaque host");var n=Xi(t,Wi);return""===n?Ji:{D_:3,L_:n}}(t);var i=function(t){var n=function(t){return Ni(t.toLowerCase())}(t);return n}(qi(t));if(Qi.test(i))throw new w("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 w;if(i[i.length-1]>=S.pow(256,5-i.length))throw new w;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?{D_:1,M_:r}:""===i?Ji:{D_:0,O_:i}}function ir(t){switch(t.D_){case 0:return t.O_;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.M_);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.M_)+"]";case 3:return t.L_;case 4:return""}}var rr=/\+/g;function er(t){return 42===t||45===t||46===t||95===t||ci(t)}function ur(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(rr," "),f=f.replace(rr," ");var s=qi(o),h=qi(f);i.push([s,h])}}return i}function or(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=fr(Vi(Ai(r[0])))+"="+fr(Vi(Ai(r[1])))}return n}function fr(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];32===r?n.push(43):er(r)?n.push(r):n.push.apply(n,Li(r))}return gi(n)}var sr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function hr(t){var n=""+t,i=sr.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(ar(u))if(lr(u)||e===i-1)r.push(cr);else{var o=t.charCodeAt(e+1);lr(o)?(r.push(u,o),e++):r.push(cr)}else r.push(u)}return t.slice(0,n)+gi(r)}(n,i.index):n}var cr=65533,ar=function(t){return 55296==(63488&t)},lr=function(t){return!!(1024&t)};function vr(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function dr(t){t.F_.length=0}function yr(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.F_,ur(n))}function _r(t){if(t.U_){var n=or(t.F_);""===n&&(n=null),t.U_.U_.H_=n}}var gr=function(){function t(t){if(void 0===t&&(t=void 0),this.U_=null,null==t)this.F_=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof gr&&!!ri(t.F_)&&(!ei||t[r]===wr)}(t))this.F_=t.F_.slice();else if(function(t){return null!=t&&(!!ri(t)||!!ei&&"function"==typeof t[r])}(t)){this.F_=[];for(var n=0,i=ui(t);n<i.length;n++){var e=ui(i[n]);if(2!==e.length)throw new w("Invalid name-value pair");this.F_.push([hr(e[0]),hr(e[1])])}}else for(var u in this.F_=[],t)k.prototype.hasOwnProperty.call(t,u)&&this.F_.push([hr(u),hr(t[u])]);else(t=hr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.F_=ur(t)}var n=t.prototype;return n.append=function(t,n){t=hr(t),n=hr(n),this.F_.push([t,n]),_r(this)},n.delete=function(t){t=hr(t);for(var n=this.F_,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}_r(this)},n.get=function(t){t=hr(t);for(var n=this.F_,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=hr(t);for(var n=this.F_,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=hr(t);for(var n=this.F_,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=hr(t),n=hr(n);for(var i=this.F_,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]),_r(this)},n.sort=function(){Xn(this.F_,vr),_r(this)},n.toString=function(){return or(this.F_)},n.entries=function(){return new Ir(this.F_,kr)},n.keys=function(){return new Ir(this.F_,Sr)},n.values=function(){return new Ir(this.F_,pr)},n.forEach=function(t){var n=this;this.F_.forEach(function(i){return t(i[1],i[0],n)})},t}(),wr=gr.prototype.entries;ei&&(gr.prototype[r]=wr);var kr=function(t){return[t[0],t[1]]},Sr=function(t){return t[0]},pr=function(t){return t[1]},Ir=function(){function t(t,n){this.q_=0,this.F_=t,this.W_=n}return t.prototype.next=function(){return this.q_<this.F_.length?{done:!1,value:this.W_(this.F_[this.q_++])}:{done:!0,value:void 0}},t}(),br="null";var mr=k.create(null);mr.ftp=21,mr.file=0,mr.gopher=70,mr.http=80,mr.https=443,mr.ws=80,mr.wss=443;var Ar=/^(?:\.|%2e)$/i,Er=/^(?:\.|%2e){2}$/i;function Or(t){return Ar.test(t)}function Rr(t){return Er.test(t)}function Tr(t){return void 0!==mr[t]}function Dr(t){return Tr(t.V_)}function Nr(t){return""!==t.z_||""!==t.X_}function Fr(t){var n=t.length;if(!(n>=2))return!1;if(!Pr(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 Br(t){return 2===t.length&&qn.test(t[0])&&(":"===t[1]||"|"===t[1])}function Pr(t){return 2===t.length&&Br(gi(t))}function Mr(t){return Br(t)&&":"===t[1]}function Vr(t){var n=t.G_;0!==n.length&&("file"===t.V_&&1===n.length&&Mr(n[0])||n.pop())}function Cr(t){return null===t.Q_||Ji===t.Q_||t.K_||"file"===t.V_}var Hr=-1,Lr=/\t|\n|\r/g,Wr=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function xr(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ur,t=t.replace(Wr,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,h=Ai(t=t.replace(Lr,"")),c=h.length,a=0;a<=c;){var l=a<c?h[a]:Hr;switch(e){case 0:if(!si(l)){if(null===r){u.length=0,e=2;continue}throw new w("Invalid scheme")}u.push(li(l)),e=1;break;case 1:if(ci(l)||43===l||45===l||46===l)u.push(li(l));else{if(58!==l){if(null===r){u.length=0,e=2,a=0;continue}throw new w("Invalid scheme")}var v=Fi(u);if(null!==r){if(Tr(i.V_)&&!Tr(v))return;if(!Tr(i.V_)&&Tr(v))return;if((Nr(i)||null!==i.j_)&&"file"===v)return;if("file"===i.V_&&(i.Q_===Ji||null===i.Q_))return}if(i.V_=v,null!==r)return void(Dr(i)&&i.j_===mr[i.V_]&&(i.j_=null));u.length=0,"file"===i.V_?e=13:Dr(i)&&n&&n.V_===i.V_?e=3:Dr(i)?e=7:47===h[a+1]?(e=4,a+=1):(i.K_=!0,i.G_.push(""),e=18)}break;case 2:if(!n||n.K_&&35!==l)throw new w("Invalid scheme");n.K_&&35===l?(i.V_=n.V_,i.G_=n.G_.slice(),i.H_=n.H_,i.Y_="",i.K_=!0,e=20):"file"!==n.V_?(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.V_=n.V_,Hr===l?(i.z_=n.z_,i.X_=n.X_,i.Q_=n.Q_,i.j_=n.j_,i.G_=n.G_.slice(),i.H_=n.H_):47===l?e=6:63===l?(i.z_=n.z_,i.X_=n.X_,i.Q_=n.Q_,i.j_=n.j_,i.G_=n.G_.slice(),i.H_="",e=19):35===l?(i.z_=n.z_,i.X_=n.X_,i.Q_=n.Q_,i.j_=n.j_,i.G_=n.G_.slice(),i.H_=n.H_,i.Y_="",e=20):92===l&&Dr(i)?e=6:(i.z_=n.z_,i.X_=n.X_,i.Q_=n.Q_,i.j_=n.j_,i.G_=n.G_.slice(),i.G_.pop(),e=17,a-=1);break;case 6:!Dr(i)||47!==l&&92!==l?47===l?e=9:(i.z_=n.z_,i.X_=n.X_,i.Q_=n.Q_,i.j_=n.j_,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(Ki(y,Ui));s?i.X_+=_:i.z_+=_}else s=!0}u.length=0}else if(Hr===l||47===l||63===l||35===l||Dr(i)&&92===l){if(o&&0===u.length)throw new w("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.V_)a-=1,e=15;else if(58!==l||f)if(Hr===l||47===l||63===l||35===l||Dr(i)&&92===l){if(a-=1,Dr(i)&&0===u.length)throw new w("Invalid host");if(null!==r&&0===u.length&&(Nr(i)||null!==i.j_))return;var g=nr(Fi(u),Dr(i));if(i.Q_=g,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 w("Invalid host");var k=nr(Fi(u),Dr(i));if(i.Q_=k,u.length=0,e=12,11===r)return}break;case 12:if(hi(l))u.push(l);else{if(!(Hr===l||47===l||63===l||35===l||Dr(i)&&92===l||null!==r))throw new w("Invalid port");if(0!==u.length){var S=p(Fi(u),10);if(S>65535)throw new w("Invalid port");i.j_=S===mr[i.V_]?null:S,u.length=0}if(null!==r)return;e=16,a-=1}break;case 13:i.V_="file",47===l||92===l?e=14:n&&"file"===n.V_?Hr===l?(i.Q_=n.Q_,i.G_=n.G_.slice(),i.H_=n.H_):63===l?(i.Q_=n.Q_,i.G_=n.G_.slice(),i.H_="",e=19):35===l?(i.Q_=n.Q_,i.G_=n.G_.slice(),i.H_=n.H_,i.Y_="",e=20):(Fr(h.slice(a))||(i.Q_=n.Q_,i.G_=n.G_.slice(),Vr(i)),e=17,a-=1):(e=17,a-=1);break;case 14:47===l||92===l?e=15:(n&&"file"===n.V_&&!Fr(h.slice(a))&&(Mr(n.G_[0])?i.G_.push(n.G_[0]):i.Q_=n.Q_),e=17,a-=1);break;case 15:if(Hr===l||47===l||92===l||63===l||35===l)if(a-=1,null===r&&Pr(u))e=17;else if(0===u.length){if(i.Q_=Ji,null!==r)return;e=16}else{var I=nr(Fi(u),Dr(i));if(0===I.D_&&"localhost"===I.O_&&(I=Ji),i.Q_=I,null!==r)return;u.length=0,e=16}else u.push(l);break;case 16:Dr(i)?(e=17,47!==l&&92!==l&&(a-=1)):null===r&&63===l?(i.H_="",e=19):null===r&&35===l?(i.Y_="",e=20):Hr!==l&&(e=17,47!==l&&(a-=1));break;case 17:if(Hr===l||47===l||Dr(i)&&92===l||null===r&&(63===l||35===l)){var b=Fi(u);if(Rr(b)?(Vr(i),47===l||Dr(i)&&92===l||i.G_.push("")):!Or(b)||47===l||Dr(i)&&92===l?Or(b)||("file"===i.V_&&0===i.G_.length&&Pr(u)&&(Ji!==i.Q_&&null!==i.Q_&&(i.Q_=Ji),u[1]=58,b=Fi(u)),i.G_.push(b)):i.G_.push(""),u.length=0,"file"===i.V_&&(Hr===l||63===l||35===l))for(;i.G_.length>1&&""===i.G_[0];)i.G_.shift();63===l?(i.H_="",e=19):35===l&&(i.Y_="",e=20)}else u.push.apply(u,Ki(l,ji));break;case 18:63===l?(i.H_="",e=19):35===l?(i.Y_="",e=20):Hr!==l&&(i.G_[0]+=Fi(Ki(l,Wi)));break;case 19:null===r&&35===l?(i.Y_="",e=20):Hr!==l&&(i.H_+=Fi(Ki(l,Dr(i)?zi:Gi)));break;case 20:Hr===l||0===l||(i.Y_+=Fi(Ki(l,xi)))}a++}return i}function jr(t,n,i,r){try{xr(t,n,i,r)}catch(t){}}var Ur=function(){this.V_="",this.z_="",this.X_="",this.Q_=null,this.j_=null,this.G_=[],this.H_=null,this.Y_=null,this.K_=!1};function Gr(t){switch(t.V_){case"blob":var n;try{n=xr(t.G_[0],null)}catch(t){return br}return Gr(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,i){return t+"://"+ir(n)+(null===i?"":":"+i)}(t.V_,t.Q_,t.j_);default:return br}}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.U_}(n))r=n.U_;else try{r=xr(String(n),null)}catch(t){throw new w("Invalid base URL: "+t.message)}try{i=xr(String(t),r)}catch(t){throw new w("Invalid URL: "+t.message)}var e=i.H_;this.U_=i,this.H_=function(t){var n=new gr;return null!==t&&yr(n,t),n}(e),this.H_.U_=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,i){n&&Kn(t.prototype,n),i&&Kn(t,i)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.V_+":";if(null!==t.Q_?(i+="//",Nr(t)&&(i+=t.z_,""!==t.X_&&(i+=":"+t.X_),i+="@"),i+=ir(t.Q_),null!==t.j_&&(i+=":"+t.j_)):null===t.Q_&&"file"===t.V_&&(i+="//"),t.K_)i+=t.G_[0];else for(var r=0,e=t.G_;r<e.length;r++)i+="/"+e[r];return null!==t.H_&&(i+="?"+t.H_),n||null===t.Y_||(i+="#"+t.Y_),i}(this.U_)},set:function(t){var n;try{n=xr(String(t),null)}catch(t){throw new w("Invalid URL: "+t.message)}this.U_=n,dr(this.H_);var i=this.U_.H_;null!==i&&yr(this.H_,i)}},{key:"origin",get:function(){return Gr(this.U_)}},{key:"protocol",get:function(){return this.U_.V_+":"},set:function(t){jr(t+":",null,this.U_,0)}},{key:"username",get:function(){return this.U_.z_},set:function(t){Cr(this.U_)||(this.U_.z_=Xi(t,Ui))}},{key:"password",get:function(){return this.U_.X_},set:function(t){Cr(this.U_)||(this.U_.X_=Xi(t,Ui))}},{key:"host",get:function(){var t=this.U_,n=t.Q_;if(null===n)return"";var i=t.j_,r=ir(n);return null!==i&&(r+=":"+i),r},set:function(t){this.U_.K_||jr(t,null,this.U_,10)}},{key:"hostname",get:function(){var t=this.U_.Q_;return null===t?"":ir(t)},set:function(t){this.U_.K_||jr(t,null,this.U_,11)}},{key:"port",get:function(){var t=this.U_.j_;return null===t?"":""+t},set:function(t){Cr(this.U_)||(""===t?this.U_.j_=null:jr(t,null,this.U_,12))}},{key:"pathname",get:function(){var t=this.U_.G_;return this.U_.K_?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.U_.K_||(this.U_.G_.length=0,jr(t,null,this.U_,16))}},{key:"search",get:function(){var t=this.U_.H_;return null===t||""===t?"":"?"+t},set:function(t){t=hr(t);var n=this.U_;if(""===t)return n.H_=null,void dr(this.H_);"?"===t[0]&&(t=t.slice(1)),n.H_="",jr(t,null,n,19),yr(this.H_,t)}},{key:"searchParams",get:function(){return this.H_}},{key:"hash",get:function(){var t=this.U_.Y_;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.U_.Y_="",jr(t,null,this.U_,20)):this.U_.Y_=null}}]),t}();function Kr(t){return t.document&&t.document.baseURI||t.location.href||""}var Xr=function(){function t(){this.Rf=void 0,this.Sv=new $r,this.Pv=mn,this.Ev=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.Rf=function(){return self.performance.now()}:this.Rf=yn}var n=t.prototype;return n.J_=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.Z_=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.ev=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.rv=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];Gn.apply(void 0,[].concat(n))},n.hv=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.Nf=function(t,n){return v(t,n)},n.ov=function(t,n){return y(t,n)},n.Bf=function(t){d(t)},n.uv=function(t){_(t)},n.fv=function(){return this._v.fv()},n.vv=function(){return this._v.vv()},n.mv=function(){return this._v.mv()},n.wv=function(){return this._v.wv()},n.pv=function(){return this._v.pv()},n.yv=function(t,n){return this._v.yv(t,n)},n.Av=function(t){return this._v.Av(t)},n.Oh=function(t,n){var i;return void 0===n&&(n=Kr(c)),i="object"!==(void 0===n?"undefined":E(n))||A(n,zr)?n:n.href,new zr(t,i)},n.Tv=function(t,n){if(void 0===n&&(n=Kr(c)),this.Ev){var i=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,i).href}return this.Oh(t,n).href},ct(t,[{key:"bv",get:function(){return this.Sv}},{key:"ie",get:function(){return this.Pv}},{key:"Cv",get:function(){return{xv:l&&l.userAgent.match(/Android /i)?"Android":"other",Iv:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"Rv",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"Bv",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),$r=function(){function t(){}return ct(t,[{key:"Nv",get:function(){return l.oscpu}},{key:"ie",get:function(){return l.platform}},{key:"Dv",get:function(){return l.vendor}},{key:"Mv",get:function(){return l.vendorSub}}]),t}();var qr=function(){function t(){}var n=t.prototype;return n.pv=function(){return Q.resolve(!1)},n.vv=function(){return Q.resolve(!1)},n.wv=function(){return Q.resolve(!1)},n.mv=function(){return Q.resolve(!1)},n.Av=function(t){return Q.resolve(!1)},n.yv=function(t,n){return Q.resolve(!1)},n.fv=function(){return Q.resolve(!1)},t}(),Yr=function(){function t(){}var n=t.prototype;return n.HA=function(){},n.Jm=function(t){},n.Km=function(t){},n.jm=function(t,n){},t}(),Zr=function(t){return t.WA="arraybuffer",t.VA="json",t.zA="stream",t.XA="text",t}({});var Jr=function(){function t(n){var i=this;if(this.Uv=void 0,this.Uv={},n)if(A(n,t))n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)});else if(function(t){return Tt(t)&&"function"==typeof t.forEach}(n))n.forEach(function(t,n){Array.isArray(t)&&2===t.length?i.append(t[0],t[1]):i.append(n,t)});else if(function(t){return void 0!==r&&Tt(t)&&r in t}(n))for(var e,u=lt(n);!(e=u()).done;){var o=e.value,f=o[0],s=o[1];this.append(f,s)}else k.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])});else;}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=Qr(i),r=te(r);var e=i.toLowerCase();if(this.Uv.hasOwnProperty(e)){var u=this.Uv[e],o=u[1];u[1]=o?o+", "+r:r}else this.Uv[e]=[i,r]},n.delete=function(t){var n=Qr(t).toLowerCase();delete this.Uv[n]},n.get=function(t){var n=Qr(t).toLowerCase();return this.Uv.hasOwnProperty(n)?this.Uv[n][1]:null},n.has=function(t){var n=Qr(t).toLowerCase();return this.Uv.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=Qr(i)).toLowerCase();this.Uv[r]=[i,te(n)]},n.forEach=function(t,n){for(var i in this.Uv)this.Uv.hasOwnProperty(i)&&t.call(n,this.Uv[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.Uv)if(this.Uv.hasOwnProperty(n)){var i=this.Uv[n],r=i[0],e=i[1];t.push([r,e])}return t},n.GA=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.QA=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.KA=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function Qr(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new w("Invalid character in header field name");return n}function te(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}var ne=function(t,n){this.eb=void 0,this.kb=void 0,this.Jb=void 0,this.Sb=void 0,this.Zb=void 0,this.$b=void 0,this.Gf=void 0,this.Gv=void 0,this.tS=void 0,this.iS=void 0,this.xb=void 0,this.eS=void 0,this.sS=void 0,this.nS=void 0,this.rS=void 0,this.hS=void 0;var i,r,e,u,o,f,s,h,c,a,l,v,d,y,_,g,w,k,S=t.xb;n?(i=n.eb,r=n.kb,e=n.Jb,u=n.Sb,o=n.Zb,f=n.$b,s=n.Gf,h=n.Gv,c=n.tS,a=n.iS,l=n.eS,v=n.sS,d=n.nS,y=n.rS,_=n.hS):(i=null,r={},e="GET",u=Zr.XA,o=0,f=0,h="",c="",a="",l=!1,d=void 0,y=!1,_=void 0),this.xb=S,this.eb=t.eb||i,this.kb=new Jr(t.kb||r),this.Jb=t.Jb||e,this.Sb=t.Sb||u,this.Zb=void 0!==t.Zb?Number(t.Zb)||0:o,this.$b=void 0!==t.$b?Number(t.$b)||0:f,this.Gf=t.Gf||s||(new Ht).Gf,this.Gv=t.Gv||h,this.tS=t.tS||c,this.iS=t.iS||a,this.eS=void 0!==t.eS?Boolean(t.eS):l,this.sS=t.sS||v,this.nS=null!=(g=t.nS)?g:d,this.rS=null!=(w=t.rS)?w:y,this.hS=null!=(k=t.hS)?k:_},ie=function(t){return t.gS="HttpOpenError",t.mS="HttpResponseError",t.wS="HttpTimeoutError",t}({}),re=function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).pS=void 0,e.pS=n,e}return st(n,t),ct(n,[{key:"Tb",get:function(){return this.pS}}]),n}(Wt),ee=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.xb+".",i)||this}return st(n,t),ct(n,[{key:"name",get:function(){return ie.gS}}]),n}(re),ue=function(){function t(){}var n=t.prototype;return n.Tb=function(t){return Q.reject(new ee(new ne(t)))},n.oS=function(t){},n.jn=function(){},t}(),oe=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return st(n,t),n}(Wt),fe=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).bT=new qr,n.UU=new ue,n.i=new Yr,n}return st(n,t),n.prototype.JS=function(t){throw new oe},ct(n,[{key:"_v",get:function(){return this.bT}},{key:"ST",get:function(){return!1}},{key:"kT",get:function(){return!1}},{key:"xT",get:function(){return!1}},{key:"PT",get:function(){return!1}},{key:"IT",get:function(){return this.i}},{key:"RT",get:function(){return{BT:Nt}}},{key:"NT",get:function(){return"default"}},{key:"DT",get:function(){return"unknown"}},{key:"MT",get:function(){return!0}},{key:"LT",get:function(){return this.UU}},{key:"FT",get:function(){return!1}}]),n}(Xr);!function(t){0}(new fe)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
//# sourceMappingURL=theoplayer.sw.js.map