@theoplayer/theoads 7.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +125 -0
- package/THEOplayer.chromeless.d.ts +8 -0
- package/THEOplayer.chromeless.esm.js +40 -0
- package/THEOplayer.chromeless.js +39 -0
- package/THEOplayer.common.d.ts +13425 -0
- package/THEOplayer.common.esm.js +40 -0
- package/THEOplayer.d.ts +278 -0
- package/THEOplayer.esm.js +40 -0
- package/THEOplayer.js +40 -0
- package/THEOplayer.transmux.asmjs.js +30 -0
- package/THEOplayer.transmux.js +30 -0
- package/THEOplayer.transmux.wasm +0 -0
- package/iframe.html +1 -0
- package/package.json +68 -0
- package/theoplayer.d.js +31 -0
- package/ui.css +1 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
THEOplayer
|
|
3
|
+
|
|
4
|
+
Usage of this software is limited by the THEOplayer License.
|
|
5
|
+
|
|
6
|
+
It is prohibited to reverse engineer, decompile, translate,
|
|
7
|
+
disassemble, decipher, decrypt, or otherwise attempt to
|
|
8
|
+
discover the source code of this software.
|
|
9
|
+
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
11
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
12
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
13
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
14
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
15
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
16
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
17
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
+
|
|
19
|
+
For more information, visit https://www.theoplayer.com or contact
|
|
20
|
+
contact @ theoplayer . com
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
THEOplayer is based on patented technology developed by
|
|
25
|
+
THEO Technologies (https://www.theoplayer.com).
|
|
26
|
+
|
|
27
|
+
Version: 7.10.0
|
|
28
|
+
Created: 2024-08-13T09:50:33.155Z
|
|
29
|
+
*/
|
|
30
|
+
!function(n){"use strict";var t,r,i=n.window,e=n.document,u=n.location,o=n.navigator,f=n.setTimeout,s=n.clearTimeout,c=n.setInterval,a=n.clearInterval,h=n.Error,l=n.TypeError,v=(n.SyntaxError,n.Object),_=n.Math,d=n.parseInt,y=n.parseFloat,w=n.isNaN,E=n.Uint8Array,I=(n.Worker,n.WorkerGlobalScope,n.XMLHttpRequest);"function"==typeof Symbol&&Symbol.iterator?t=Symbol:(r=0,(t=function(n){return"ttn"+n+"_"+ ++r}).iterator=t("Symbol.iterator"));var R=f;function p(n){return Boolean(n&&void 0!==n.length)}function O(){}function g(n){if(!(this instanceof g))throw new l("Promises must be constructed via new");if("function"!=typeof n)throw new l("not a function");this.ja=0,this.ntn=!1,this.hMt=void 0,this.itn=[],A(n,this)}function S(n,t){for(;3===n.ja;)n=n.hMt;0!==n.ja?(n.ntn=!0,g.rtn((function(){var r=1===n.ja?t.onFulfilled:t.onRejected;if(null!==r){var i;try{i=r(n.hMt)}catch(n){return void k(t.promise,n)}T(t.promise,i)}else(1===n.ja?T:k)(t.promise,n.hMt)}))):n.itn.push(t)}function T(n,t){try{if(t===n)throw new l("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var r=t.then;if(t instanceof g)return n.ja=3,n.hMt=t,void N(n);if("function"==typeof r)return void A(function(n,t){return function(){n.apply(t,arguments)}}(r,t),n)}n.ja=1,n.hMt=t,N(n)}catch(t){k(n,t)}}function k(n,t){n.ja=2,n.hMt=t,N(n)}function N(n){2===n.ja&&0===n.itn.length&&g.rtn((function(){n.ntn||g.etn(n.hMt)}));for(var t=0,r=n.itn.length;t<r;t++)S(n,n.itn[t]);n.itn=null}function b(n,t,r){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof t?t:null,this.promise=r}function A(n,t){var r=!1;try{n((function(n){r||(r=!0,T(t,n))}),(function(n){r||(r=!0,k(t,n))}))}catch(n){if(r)return;r=!0,k(t,n)}}g.prototype.catch=function(n){return this.then(null,n)},g.prototype.then=function(n,t){var r=new this.constructor(O);return S(this,new b(n,t,r)),r},g.prototype.finally=function(n){var t=this.constructor;return this.then((function(r){return t.resolve(n()).then((function(){return r}))}),(function(r){return t.resolve(n()).then((function(){return t.reject(r)}))}))},g.all=function(n){return new g((function(t,r){if(!p(n))return r(new l("Promise.all accepts an array"));var i=Array.prototype.slice.call(n);if(0===i.length)return t([]);var e=i.length;function u(n,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,(function(t){u(n,t)}),r)}i[n]=o,0==--e&&t(i)}catch(n){r(n)}}for(var o=0;o<i.length;o++)u(o,i[o])}))},g.allSettled=function(n){return new this((function(r,i){if(!n||void 0===n.length)return i(new l((void 0===n?"undefined":function(n){return n&&void 0!==t&&n.constructor===t?"symbol":typeof n}(n))+" "+n+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var e=Array.prototype.slice.call(n);if(0===e.length)return r([]);var u=e.length;function o(n,t){if(t&&("object"==typeof t||"function"==typeof t)){var i=t.then;if("function"==typeof i)return void i.call(t,(function(t){o(n,t)}),(function(t){e[n]={status:"rejected",reason:t},0==--u&&r(e)}))}e[n]={status:"fulfilled",value:t},0==--u&&r(e)}for(var f=0;f<e.length;f++)o(f,e[f])}))},g.resolve=function(n){return n&&"object"==typeof n&&n.constructor===g?n:new g((function(t){t(n)}))},g.reject=function(n){return new g((function(t,r){r(n)}))},g.race=function(n){return new g((function(t,r){if(!p(n))return r(new l("Promise.race accepts an array"));for(var i=0,e=n.length;i<e;i++)g.resolve(n[i]).then(t,r)}))},g.rtn="function"==typeof setImmediate&&function(n){setImmediate(n)}||function(n){R(n,0)},g.etn=function(n){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",n)};var m=function(){var n=self.Promise;if(void 0!==n)try{if(-1!==n.toString().indexOf("[native code]"))return n}catch(n){}}(),C=o?o.userAgent:"",D=C.match(/Firefox\/([0-9]+)/i),P=null!=D,L=D?Number(D[1]):0,F=C.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),U=null!=F,M=F?Number(F[3]):0,V=function(){function n(n){this.iL=0,this.ZY=0,this.YL=[],this.utn=n}return n.prototype.stn=function(n){var t=this.length();this.otn(t+1);var r=this.ZY+t&this.utn-1;this.YL[r]=n,this.iL=t+1},n.prototype.push=function(n){var t=this.length()+1;if(this.utn<t)this.stn(n);else{var r=this.ZY+t-1,i=this.utn-1;this.YL[r&i]=n,this.iL=t}},n.prototype.shift=function(){var n=this.ZY,t=this.YL[n];return this.YL[n]=void 0,this.ZY=n+1&this.utn-1,this.iL--,t},n.prototype.length=function(){return this.iL},n.prototype.otn=function(n){this.utn<n&&this.ctn(this.utn<<1)},n.prototype.ctn=function(n){var t=this.utn;this.utn=n;var r=this.ZY+this.iL&t-1;!function(n,t,r,i){for(var e=0;e<i;++e)n[e+r]=n[e+t],n[e+t]=void 0}(this.YL,0,t,r)},n}();var W="unhandledrejection",H=self.PromiseRejectionEvent,B=self.CustomEvent;function x(n){return new H(W,{reason:n,promise:m.reject(n).catch((function(){})),cancelable:!0})}function G(n){var t=new B(W,{detail:{reason:n},cancelable:!0});return v.defineProperty(t,"reason",{value:n}),t}function j(n){var t=e.createEvent("CustomEvent");return t.initCustomEvent(W,!1,!0,{reason:n}),t}var K,q,z,X,$,Y,Z,J,Q,nn=function(n){return nn=function(){try{var n=m.resolve(),t="error",r=new H(W,{reason:t,promise:n});return W===r.type&&t===r.reason}catch(n){}return!1}()?x:function(){try{var n="error",t=new B(W,{detail:{reason:n}});return W===t.type&&n===t.detail.reason}catch(n){}return!1}()?G:j,nn(n)};function tn(n,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),v.defineProperty(n,i.key,i)}}function rn(n,t,r){return t&&tn(n.prototype,t),r&&tn(n,r),n}function en(n,t){return en=v.setPrototypeOf||function(n,t){return n.__proto__=t,n},en(n,t)}function un(n,t){if("function"!=typeof t&&null!==t)throw new l("Super expression must either be null or a function");n.prototype=v.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&en(n,t)}function on(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=n[r];return i}function fn(n,t){if(n){if("string"==typeof n)return on(n,t);var r=v.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?on(n,t):void 0}}function sn(n){return function(n){if(Array.isArray(n))return on(n)}(n)||function(n){if(void 0!==t&&null!=n[t.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||fn(n)||function(){throw new l("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}m&&!(P&&L<60||U&&M<15)?q=m:(q=g,Z=null!==(K=function(){var n=self.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var t=m;if(t&&"function"==typeof t.resolve){var r=t.resolve();return function(n){return r.then(n)}}}())&&void 0!==K?K:g.rtn,z=Z,X=new V(16),$=!1,(J={Z1:function(n){X.push(n),$||($=!0,z(Y))},RF:Y=function(){for(;X.length()>0;)X.shift()();$=!1}}).RF,g.rtn=J.Z1,g.etn=function(n){try{var t=nn(n);if(!self.dispatchEvent(t)||t.defaultPrevented)return}catch(n){}f((function(){throw new h("Unhandled promise rejection: ".concat(n))}),0)}),function(n){n.SI="web",n.II="android",n.EI="android-tv",n.bI="ios",n.LI="tvos",n.kI="chromecast",n.CI="theoliveweb"}(Q||(Q={}));var cn=o?o.userAgent:"",an=cn.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),hn=cn.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),ln=cn.match(/Android ([0-9\.]+)/i),vn=cn.match(/Windows NT ([0-9\.]+)/i),_n=cn.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),dn=cn.match(/Firefox\/([0-9\.]+)/i),yn=cn.match(/OPR\/(\d+\.\d+)/i),wn=cn.match(/Tizen ([0-9\.]+)/i),En=cn.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),In=function(){function n(){this.xI=Boolean("ontouchstart"in self||self.DocumentTouch&&e instanceof self.DocumentTouch||o&&o.msMaxTouchPoints),this.jI=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(cn)||/(macintosh|mac(?=_powerpc)\s)/i.test(cn),this.BI=/Windows NT/i.test(cn),this.UI=vn?y(vn[1]):0,this.FI=/Android/i.test(cn),this.GI=ln?y(ln[1]):0,this.WI=/windows phone (8|8\.1)/i.test(cn),this.qI=/iPhone/i.test(cn),this.ZI=/iPad/i.test(cn),this.JI=this.jI&&this.xI&&!this.ZI,this.tE=/iPod/i.test(cn),this.oE=/Mobile Safari/i.test(cn),this.rE=/EOS\d*STB/i.test(cn),this.hE=/APP\d*STB/i.test(cn),this.iE=(this.qI||this.ZI||this.JI||this.tE)&&!this.WI,this.sE=En?y(En[2]):0,this.aE=this.WI||this.iE||this.FI||this.oE,this.cE=/CriOS/i.test(cn),this.lE=Boolean(self.chrome&&/google/i.test(o.vendor))||this.cE,this.AE=this.lE&&/Edg\//i.test(o.userAgent),this.mE=hn?d(hn[1],10):0,this.pb=Boolean(self.chrome||/Chrome/i.test(cn)||/CriOS/i.test(cn)),this.gE=an?d(an[1],10):0,this.yE=/SMART-TV.*Tizen/i.test(cn),this.TE=wn?y(wn[1]):0,this._E=this.TE>0?function(n){return n>=8?108:n>=7?94:n>=6.5?85:n>=6?76:n>=5.5?69:n>=5?63:n>=4?56:n>=3?47:0}(this.TE):void 0,this.DE=/webos|web0s/i.test(cn),this.EE=/VIZIO/i.test(cn),this.LE=/Edge\/\d+/i.test(cn),this.CE=/Trident/i.test(cn),this.OE=this.CE&&!self.ActiveXObject&&"ActiveXObject"in self,this.zE=/Vivaldi/i.test(cn),this.BE=/Firefox/i.test(cn)&&!/Seamonkey/i.test(cn),this.UE=dn?y(dn[1]):0,this.FE=/Safari/i.test(cn)&&!/Chrome/i.test(cn)&&!this.WI&&!this.yE,this.GE=_n?y(_n[2]):0,this.WE=Boolean(yn),this.qE=yn?y(yn[1]):0,this.ZE=/CrKey/.test(cn),this.JE=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(cn),this.eb="web"===Q.EI,this.hb="web"===Q.II,this.ub=this.hb||this.eb,this._b="web"===Q.bI,this.wb="web"===Q.LI,this.vb="web"===Q.kI}return rn(n,[{key:"Je",get:function(){return this.xI}},{key:"OI",get:function(){return this.jI}},{key:"zI",get:function(){return this.BI}},{key:"RI",get:function(){return this.UI}},{key:"QI",get:function(){return this.FI}},{key:"YI",get:function(){return this.GI}},{key:"VI",get:function(){return this.WI}},{key:"HI",get:function(){return this.qI}},{key:"XI",get:function(){return this.ZI}},{key:"KI",get:function(){return this.JI}},{key:"$I",get:function(){return this.tE}},{key:"Ga",get:function(){return this.iE}},{key:"eE",get:function(){return this.sE}},{key:"nE",get:function(){return this.rE||this.hE}},{key:"td",get:function(){return this.oE}},{key:"Qs",get:function(){return this.aE}},{key:"uE",get:function(){return this.cE}},{key:"dE",get:function(){return this.lE}},{key:"fE",get:function(){var n;return null!=(n=this._E)?n:this.gE}},{key:"wE",get:function(){return this.AE}},{key:"vE",get:function(){return this.mE}},{key:"pE",get:function(){return this.yE}},{key:"ME",get:function(){return this.TE}},{key:"NE",get:function(){return this.DE}},{key:"SE",get:function(){return this.EE}},{key:"bE",get:function(){return this.LE}},{key:"kE",get:function(){return this.CE}},{key:"xE",get:function(){return this.OE}},{key:"jE",get:function(){return this.zE}},{key:"PE",get:function(){return this.BE}},{key:"RE",get:function(){return this.UE}},{key:"QE",get:function(){return this.FE}},{key:"YE",get:function(){return this.GE}},{key:"VE",get:function(){return this.WE}},{key:"HE",get:function(){return this.qE}},{key:"XE",get:function(){return this.ZE}},{key:"KE",get:function(){return this.JE}},{key:"$E",get:function(){return!(!this.NE&&!this.pE)&&this.fE<=56}},{key:"ib",get:function(){return this.eb}},{key:"sb",get:function(){return this.hb}},{key:"ob",get:function(){return this.ub}},{key:"fb",get:function(){return this._b}},{key:"gb",get:function(){return this.wb}},{key:"Ab",get:function(){return this.vb}},{key:"mb",get:function(){return this.pb}}]),n}();In.yb=new In;var Rn=In.yb,pn={}.toString;function On(n){return null!=n}Array.isArray;function gn(n){return"object"==typeof n&&null!==n}function Sn(n){return function(n){return"function"==typeof n}(n)||gn(n)}var Tn=function(){},kn=!(Rn.kE&&!Rn.xE),Nn=self.console;function bn(n){if(gn(n))try{return JSON.stringify(n)}catch(n){}return n}function An(n){return n.map(bn).join(" ")}function mn(n){var t=Nn&&Nn[n];return t?t.bind&&kn?t.bind(Nn):function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];Nn[n](An(r))}:void 0}var Cn=mn("log")||Tn,Dn=mn("warn")||Cn.bind(void 0,"WARNING:"),Pn=mn("error")||Cn.bind(void 0,"ERROR:"),Ln=function(){var n=Nn&&Nn.assert;return n?n.bind&&kn?n.bind(Nn):function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];Nn.assert(n,An(r))}:function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];n||Pn.apply(void 0,["Assertion failed:"].concat(sn(r)))}}(),Fn=null;try{Fn=new WebAssembly.Instance(new WebAssembly.Module(new E([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(z){}function Un(n,t,r){this.low=0|n,this.high=0|t,this.unsigned=!!r}function Mn(n){return!0===(n&&n.Im)}function Vn(n){var t=_.clz32(n&-n);return n?31-t:t}Un.prototype.Im,v.defineProperty(Un.prototype,"Im",{value:!0}),Un.isLong=Mn;var Wn={},Hn={};function Bn(n,t){var r,i,e;return t?(e=0<=(n>>>=0)&&n<256)&&(i=Hn[n])?i:(r=Gn(n,0,!0),e&&(Hn[n]=r),r):(e=-128<=(n|=0)&&n<128)&&(i=Wn[n])?i:(r=Gn(n,n<0?-1:0,!1),e&&(Wn[n]=r),r)}function xn(n,t){if(w(n))return t?Jn:Zn;if(t){if(n<0)return Jn;if(n>=Xn)return it}else{if(n<=-$n)return et;if(n+1>=$n)return rt}return n<0?xn(-n,t).neg():Gn(n%zn|0,n/zn|0,t)}function Gn(n,t,r){return new Un(n,t,r)}Un.fromInt=Bn,Un.fromNumber=xn,Un.fromBits=Gn;var jn=_.pow;function Kn(n,t,r){if(0===n.length)throw h("empty string");if("number"==typeof t?(r=t,t=!1):t=!!t,"NaN"===n||"Infinity"===n||"+Infinity"===n||"-Infinity"===n)return t?Jn:Zn;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=n.indexOf("-"))>0)throw h("interior hyphen");if(0===i)return Kn(n.substring(1),t,r).neg();for(var e=xn(jn(r,8)),u=Zn,o=0;o<n.length;o+=8){var f=_.min(8,n.length-o),s=d(n.substring(o,o+f),r);if(f<8){var c=xn(jn(r,f));u=u.mul(c).add(xn(s))}else u=(u=u.mul(e)).add(xn(s))}return u.unsigned=t,u}function qn(n,t){return"number"==typeof n?xn(n,t):"string"==typeof n?Kn(n,t):Gn(n.low,n.high,"boolean"==typeof t?t:n.unsigned)}Un.fromString=Kn,Un.fromValue=qn;var zn=4294967296,Xn=zn*zn,$n=Xn/2,Yn=Bn(1<<24),Zn=Bn(0);Un.ZERO=Zn;var Jn=Bn(0,!0);Un.UZERO=Jn;var Qn=Bn(1);Un.ONE=Qn;var nt=Bn(1,!0);Un.UONE=nt;var tt=Bn(-1);Un.NEG_ONE=tt;var rt=Gn(-1,2147483647,!1);Un.MAX_VALUE=rt;var it=Gn(-1,-1,!0);Un.MAX_UNSIGNED_VALUE=it;var et=Gn(0,-2147483648,!1);Un.MIN_VALUE=et;var ut=Un.prototype;ut.toInt=function(){return this.unsigned?this.low>>>0:this.low},ut.toNumber=function(){return this.unsigned?(this.high>>>0)*zn+(this.low>>>0):this.high*zn+(this.low>>>0)},ut.toString=function(n){if((n=n||10)<2||36<n)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(et)){var t=xn(n),r=this.div(t),i=r.mul(t).sub(this);return r.toString(n)+i.toInt().toString(n)}return"-"+this.neg().toString(n)}for(var e=xn(jn(n,6),this.unsigned),u=this,o="";;){var f=u.div(e),s=(u.sub(f.mul(e)).toInt()>>>0).toString(n);if((u=f).isZero())return s+o;for(;s.length<6;)s="0"+s;o=""+s+o}},ut.getHighBits=function(){return this.high},ut.getHighBitsUnsigned=function(){return this.high>>>0},ut.getLowBits=function(){return this.low},ut.getLowBitsUnsigned=function(){return this.low>>>0},ut.getNumBitsAbs=function(){if(this.isNegative())return this.eq(et)?64:this.neg().getNumBitsAbs();for(var n=0!=this.high?this.high:this.low,t=31;t>0&&0==(n&1<<t);t--);return 0!=this.high?t+33:t+1},ut.isZero=function(){return 0===this.high&&0===this.low},ut.eqz=ut.isZero,ut.isNegative=function(){return!this.unsigned&&this.high<0},ut.isPositive=function(){return this.unsigned||this.high>=0},ut.isOdd=function(){return 1==(1&this.low)},ut.isEven=function(){return 0==(1&this.low)},ut.equals=function(n){return Mn(n)||(n=qn(n)),(this.unsigned===n.unsigned||this.high>>>31!=1||n.high>>>31!=1)&&(this.high===n.high&&this.low===n.low)},ut.eq=ut.equals,ut.notEquals=function(n){return!this.eq(n)},ut.neq=ut.notEquals,ut.ne=ut.notEquals,ut.lessThan=function(n){return this.comp(n)<0},ut.lt=ut.lessThan,ut.lessThanOrEqual=function(n){return this.comp(n)<=0},ut.lte=ut.lessThanOrEqual,ut.le=ut.lessThanOrEqual,ut.greaterThan=function(n){return this.comp(n)>0},ut.gt=ut.greaterThan,ut.greaterThanOrEqual=function(n){return this.comp(n)>=0},ut.gte=ut.greaterThanOrEqual,ut.ge=ut.greaterThanOrEqual,ut.compare=function(n){if(Mn(n)||(n=qn(n)),this.eq(n))return 0;var t=this.isNegative(),r=n.isNegative();return t&&!r?-1:!t&&r?1:this.unsigned?n.high>>>0>this.high>>>0||n.high===this.high&&n.low>>>0>this.low>>>0?-1:1:this.sub(n).isNegative()?-1:1},ut.comp=ut.compare,ut.negate=function(){return!this.unsigned&&this.eq(et)?et:this.not().add(Qn)},ut.neg=ut.negate,ut.add=function(n){Mn(n)||(n=qn(n));var t=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=n.high>>>16,o=65535&n.high,f=n.low>>>16,s=0,c=0,a=0,h=0;return a+=(h+=e+(65535&n.low))>>>16,c+=(a+=i+f)>>>16,s+=(c+=r+o)>>>16,s+=t+u,Gn((a&=65535)<<16|(h&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},ut.subtract=function(n){return Mn(n)||(n=qn(n)),this.add(n.neg())},ut.sub=ut.subtract,ut.multiply=function(n){if(this.isZero())return this;if(Mn(n)||(n=qn(n)),Fn)return Gn(Fn.mul(this.low,this.high,n.low,n.high),Fn.get_high(),this.unsigned);if(n.isZero())return this.unsigned?Jn:Zn;if(this.eq(et))return n.isOdd()?et:Zn;if(n.eq(et))return this.isOdd()?et:Zn;if(this.isNegative())return n.isNegative()?this.neg().mul(n.neg()):this.neg().mul(n).neg();if(n.isNegative())return this.mul(n.neg()).neg();if(this.lt(Yn)&&n.lt(Yn))return xn(this.toNumber()*n.toNumber(),this.unsigned);var t=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=n.high>>>16,o=65535&n.high,f=n.low>>>16,s=65535&n.low,c=0,a=0,h=0,l=0;return h+=(l+=e*s)>>>16,a+=(h+=i*s)>>>16,h&=65535,a+=(h+=e*f)>>>16,c+=(a+=r*s)>>>16,a&=65535,c+=(a+=i*f)>>>16,a&=65535,c+=(a+=e*o)>>>16,c+=t*s+r*f+i*o+e*u,Gn((h&=65535)<<16|(l&=65535),(c&=65535)<<16|(a&=65535),this.unsigned)},ut.mul=ut.multiply,ut.divide=function(n){if(Mn(n)||(n=qn(n)),n.isZero())throw h("division by zero");var t,r,i;if(Fn)return this.unsigned||-2147483648!==this.high||-1!==n.low||-1!==n.high?Gn((this.unsigned?Fn.div_u:Fn.div_s)(this.low,this.high,n.low,n.high),Fn.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?Jn:Zn;if(this.unsigned){if(n.unsigned||(n=n.toUnsigned()),n.gt(this))return Jn;if(n.gt(this.shru(1)))return nt;i=Jn}else{if(this.eq(et))return n.eq(Qn)||n.eq(tt)?et:n.eq(et)?Qn:(t=this.shr(1).div(n).shl(1)).eq(Zn)?n.isNegative()?Qn:tt:(r=this.sub(n.mul(t)),i=t.add(r.div(n)));if(n.eq(et))return this.unsigned?Jn:Zn;if(this.isNegative())return n.isNegative()?this.neg().div(n.neg()):this.neg().div(n).neg();if(n.isNegative())return this.div(n.neg()).neg();i=Zn}for(r=this;r.gte(n);){t=_.max(1,_.floor(r.toNumber()/n.toNumber()));for(var e=_.ceil(_.log(t)/_.LN2),u=e<=48?1:jn(2,e-48),o=xn(t),f=o.mul(n);f.isNegative()||f.gt(r);)f=(o=xn(t-=u,this.unsigned)).mul(n);o.isZero()&&(o=Qn),i=i.add(o),r=r.sub(f)}return i},ut.div=ut.divide,ut.modulo=function(n){return Mn(n)||(n=qn(n)),Fn?Gn((this.unsigned?Fn.rem_u:Fn.rem_s)(this.low,this.high,n.low,n.high),Fn.get_high(),this.unsigned):this.sub(this.div(n).mul(n))},ut.mod=ut.modulo,ut.rem=ut.modulo,ut.not=function(){return Gn(~this.low,~this.high,this.unsigned)},ut.countLeadingZeros=function(){return this.high?_.clz32(this.high):_.clz32(this.low)+32},ut.clz=ut.countLeadingZeros,ut.countTrailingZeros=function(){return this.low?Vn(this.low):Vn(this.high)+32},ut.ctz=ut.countTrailingZeros,ut.and=function(n){return Mn(n)||(n=qn(n)),Gn(this.low&n.low,this.high&n.high,this.unsigned)},ut.or=function(n){return Mn(n)||(n=qn(n)),Gn(this.low|n.low,this.high|n.high,this.unsigned)},ut.xor=function(n){return Mn(n)||(n=qn(n)),Gn(this.low^n.low,this.high^n.high,this.unsigned)},ut.shiftLeft=function(n){return Mn(n)&&(n=n.toInt()),0==(n&=63)?this:n<32?Gn(this.low<<n,this.high<<n|this.low>>>32-n,this.unsigned):Gn(0,this.low<<n-32,this.unsigned)},ut.shl=ut.shiftLeft,ut.shiftRight=function(n){return Mn(n)&&(n=n.toInt()),0==(n&=63)?this:n<32?Gn(this.low>>>n|this.high<<32-n,this.high>>n,this.unsigned):Gn(this.high>>n-32,this.high>=0?0:-1,this.unsigned)},ut.shr=ut.shiftRight,ut.shiftRightUnsigned=function(n){return Mn(n)&&(n=n.toInt()),0==(n&=63)?this:n<32?Gn(this.low>>>n|this.high<<32-n,this.high>>>n,this.unsigned):Gn(32===n?this.high:this.high>>>n-32,0,this.unsigned)},ut.shru=ut.shiftRightUnsigned,ut.shr_u=ut.shiftRightUnsigned,ut.rotateLeft=function(n){var t;return Mn(n)&&(n=n.toInt()),0==(n&=63)?this:32===n?Gn(this.high,this.low,this.unsigned):n<32?(t=32-n,Gn(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned)):(t=32-(n-=32),Gn(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned))},ut.rotl=ut.rotateLeft,ut.rotateRight=function(n){var t;return Mn(n)&&(n=n.toInt()),0==(n&=63)?this:32===n?Gn(this.high,this.low,this.unsigned):n<32?(t=32-n,Gn(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned)):(t=32-(n-=32),Gn(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned))},ut.rotr=ut.rotateRight,ut.toSigned=function(){return this.unsigned?Gn(this.low,this.high,!1):this},ut.toUnsigned=function(){return this.unsigned?this:Gn(this.low,this.high,!0)},ut.toBytes=function(n){return n?this.toBytesLE():this.toBytesBE()},ut.toBytesLE=function(){var n=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&n,n>>>8&255,n>>>16&255,n>>>24]},ut.toBytesBE=function(){var n=this.high,t=this.low;return[n>>>24,n>>>16&255,n>>>8&255,255&n,t>>>24,t>>>16&255,t>>>8&255,255&t]},Un.fromBytes=function(n,t,r){return r?Un.fromBytesLE(n,t):Un.fromBytesBE(n,t)},Un.fromBytesLE=function(n,t){return new Un(n[0]|n[1]<<8|n[2]<<16|n[3]<<24,n[4]|n[5]<<8|n[6]<<16|n[7]<<24,t)},Un.fromBytesBE=function(n,t){return new Un(n[4]<<24|n[5]<<16|n[6]<<8|n[7],n[0]<<24|n[1]<<16|n[2]<<8|n[3],t)};var ot=Un;_.pow(2,-52);function ft(){return Date.now()||(new Date).getTime()}ot.fromNumber(9007199254740991);function st(n,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),v.defineProperty(n,i.key,i)}}function ct(n,t){var r=function(n,t){var r=n.length;if(r<=1)return n;for(var i=new Array(r),e=1;e<r;e*=2){at(n,t,e,i);var u=n;n=i,i=u}return n}(n,t);return r!==n&&at(r,null,n.length,n),n}function at(n,t,r,i){var e,u,o,f,s,c=n.length,a=0,h=2*r;for(e=0;e<c;e+=h)for(o=(u=e+r)+r,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)t(n[f],n[s])<=0?i[a++]=n[f++]:i[a++]=n[s++];else if(f<u)i[a++]=n[f++];else{if(!(s<o))break;i[a++]=n[s++]}}var ht=/[a-zA-Z]/,lt=/[0-9]/,vt=/[0-9a-fA-F]/,_t=/^0x/i,dt=/^[0-9]+$/,yt=/^[0-9a-fA-F]+$/,wt=/^[0-7]+$/,Et=v.prototype.toString,It=Array.isArray||function(n){return"[object Array]"===Et.call(n)},Rt=void 0!==t&&"symbol"==typeof t.iterator;function pt(n){return It(n)?n:Array.from(n)}function Ot(n,t,r){var i=n[t];n[t]=n[r],n[r]=i}function gt(n){return n>=65&&n<=90}function St(n){return gt(n)||function(n){return n>=97&&n<=122}(n)}function Tt(n){return n>=48&&n<=57}function kt(n){return Tt(n)||St(n)}function Nt(n){return Tt(n)||n>=65&&n<=70||n>=97&&n<=102}function bt(n){return gt(n)?n+32:n}function At(n){return Tt(n)?n-48:n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:-1}function mt(n,t){return void 0===t&&(t=!1),0<=n&&n<=9?n+48:10<=n&&n<=15?n+(t?87:55):-1}var Ct=_.min,Dt=String.fromCharCode,Pt=16384;function Lt(n){for(var t=n.length,r=[],i=0;i<t;i+=Pt){var e=Ct(i+Pt,t);r.push(Dt.apply(null,n.slice(i,e)))}return r.join("")}var Ft=2147483647,Ut=/[^\0-\x7E]/,Mt=/[\x2E\u3002\uFF0E\uFF61]/g,Vt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Wt=_.floor,Ht=String.fromCharCode;function Bt(n){throw new RangeError(Vt[n])}function xt(n){for(var t=[],r=0,i=n.length;r<i;){var e=n.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=n.charCodeAt(r++);56320==(64512&u)?t.push(((1023&e)<<10)+(1023&u)+65536):(t.push(e),r--)}else t.push(e)}return t}var Gt,jt,Kt,qt=function(n,t){return n+22+75*(n<26)-((0!=t)<<5)},zt=function(n,t,r){var i=0;for(n=r?Wt(n/700):n>>1,n+=Wt(n/t);n>455;i+=36)n=Wt(n/35);return Wt(i+36*n/(n+38))},Xt=function(n){return function(n,t){var r=n.split("@"),i="";r.length>1&&(i=r[0]+"@",n=r[1]);var e=function(n,t){for(var r=[],i=n.length;i--;)r[i]=t(n[i]);return r}((n=n.replace(Mt,".")).split("."),t).join(".");return i+e}(n,(function(n){return Ut.test(n)?"xn--"+function(n){for(var t=[],r=(n=xt(n)).length,i=128,e=0,u=72,o=0,f=n;o<f.length;o++){var s=f[o];s<128&&t.push(Ht(s))}var c=t.length,a=c;for(c&&t.push("-");a<r;){for(var h=Ft,l=0,v=n;l<v.length;l++){var _=v[l];_>=i&&_<h&&(h=_)}var d=a+1;h-i>Wt((Ft-e)/d)&&Bt("overflow"),e+=(h-i)*d,i=h;for(var y=0,w=n;y<w.length;y++){var E=w[y];if(E<i&&++e>Ft&&Bt("overflow"),E==i){for(var I=e,R=36;;R+=36){var p=R<=u?1:R>=u+26?26:R-u;if(I<p)break;var O=I-p,g=36-p;t.push(Ht(qt(p+O%g,0))),I=Wt(O/g)}t.push(Ht(qt(I,0))),u=zt(e,d,a==c),e=0,++a}}++e,++i}return t.join("")}(n):n}))};function $t(n){for(var t=[],r=0;r<n.length;r++){var i=n[r];i>65535&&(i-=65536,t.push(i>>>10&1023|55296),i=56320|1023&i),t.push(i)}return Lt(t)}function Yt(n){if(n>=55296&&n<=57343)throw new h("Lone surrogate U+"+n.toString(16).toUpperCase()+" is not a scalar value")}function Zt(n,t){return n>>t&63|128}function Jt(n,t){0!=(4294967168&n)?(0==(4294965248&n)?t.push(n>>6&31|192):0==(4294901760&n)?(Yt(n),t.push(n>>12&15|224),t.push(Zt(n,6))):0==(4292870144&n)&&(t.push(n>>18&7|240),t.push(Zt(n,12)),t.push(Zt(n,6))),t.push(63&n|128)):t.push(n)}function Qt(n){for(var t=[],r=0;r<n.length;r++){Jt(n[r],t)}return t}function nr(){if(Kt>=jt)throw new h("Invalid byte index");var n=255&Gt[Kt];if(Kt++,128==(192&n))return 63&n;throw new h("Invalid continuation byte")}function tr(){var n,t;if(Kt>jt)throw new h("Invalid byte index");if(Kt===jt)return!1;if(n=255&Gt[Kt],Kt++,0==(128&n))return n;if(192==(224&n)){if((t=(31&n)<<6|nr())>=128)return t;throw new h("Invalid continuation byte")}if(224==(240&n)){if((t=(15&n)<<12|nr()<<6|nr())>=2048)return Yt(t),t;throw new h("Invalid continuation byte")}if(240==(248&n)&&(t=(7&n)<<18|nr()<<12|nr()<<6|nr())>=65536&&t<=1114111)return t;throw new h("Invalid UTF-8 detected")}function rr(n){return[37,mt(n>>4),mt(15&n)]}function ir(n){return function(n){return n>=0&&n<=31}(n)||n>126}function er(n){return ir(n)||32===n||34===n||60===n||62===n||96===n}function ur(n){return er(n)||35===n||63===n||123===n||125===n}function or(n){return ur(n)||47===n||58===n||59===n||61===n||64===n||n>=91&&n<=94||124===n}function fr(n){return n<33||n>126||34===n||35===n||60===n||62===n}function sr(n){return fr(n)||39===n}function cr(n,t){if(!t(n))return[n];for(var r=Qt([n]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,rr(u))}return i}function ar(n,t){for(var r=[],i=0,e=xt(n);i<e.length;i++){var u=e[i];r.push.apply(r,cr(u,t))}return $t(r)}function hr(n){return function(n){for(var t=[],r=n.length,i=0;i<r;i++){var e=n[i];if(37===e&&i+2<r&&Nt(n[i+1])&&Nt(n[i+2])){var u=At(n[i+1])<<4|At(n[i+2]);t.push(u),i+=2}else t.push(e)}return t}(Qt(n))}function lr(n){return $t(function(n){Gt=n.slice(),jt=Gt.length,Kt=0;for(var t,r=[];!1!==(t=tr());)r.push(t);return r}(hr(xt(n))))}function vr(n){var t=n.length,r=[0,0,0,0,0,0,0,0],i=0,e=null,u=0;if(u<t&&":"===n[u]){if(!(u+1<t&&":"===n[u+1]))throw new l;u+=2,e=i+=1}for(;u<t;){if(8===i)throw new l("Too many groups");if(":"!==n[u]){for(var o=0,f=0;f<4&&u<t&&vt.test(n[u]);)o=o<<4|d(n[u],16),u+=1,f+=1;if("."===n[u]){if(0===f)throw new l;if(u-=f,i>6)throw new l;for(var s=0;u<t;){var c=null;if(s>0){if(!("."===n[u]&&s<4))throw new l;u+=1}if(!lt.test(n[u]))throw new l;for(;u<t&<.test(n[u]);){var a=d(n[u],10);if(null===c)c=a;else{if(0===c)throw new l;if((c=10*c+a)>255)throw new l}u+=1}r[i]=r[i]<<8|c,2!==(s+=1)&&4!==s||(i+=1)}if(4!==s)throw new l;break}if(":"===n[u]){if((u+=1)===t)throw new l}else if(u<t)throw new l;r[i]=o,i+=1}else{if(null!==e)throw new l("Too many :: groups");u+=1,e=i+=1}}if(null!==e){var h=i-e;for(i=7;0!==i&&h>0;)Ot(r,i,e+h-1),i-=1,h-=1}else if(8!==i)throw new l;return r}function _r(n){var t=10,r=dt;return _t.test(n)?(n=n.slice(2),t=16,r=yt):n.length>=2&&"0"===n[0]&&(n=n.slice(1),t=8,r=wt),""===n?0:r.test(n)?d(n,t):void 0}var dr={F0:4},yr=/[\0\t\n\r #%/:?@\[\\\]]/,wr=/[\0\t\n\r #/:?@\[\\\]]/;function Er(n,t){if("["===n[0]){if("]"!==n[n.length-1])throw new l("Invalid IPv6 address");return{F0:2,Stt:vr(n.slice(1,-1))}}if(!t)return function(n){if(wr.test(n))throw new l("Invalid code point in opaque host");var t=ar(n,ir);return""===t?dr:{F0:3,YL:t}}(n);var r=function(n){var t=function(n){return Xt(n.toLowerCase())}(n);return t}(lr(n));if(yr.test(r))throw new l("Invalid code point in host");var i=function(n){var t=n.split(".");if(""===t[t.length-1]&&t.pop(),!(t.length>4)){for(var r=[],i=0;i<t.length;i++){var e=t[i];if(""===e)return;var u=_r(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new l;if(r[r.length-1]>=_.pow(256,5-r.length))throw new l;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*_.pow(256,3-s);return f}}(r);return void 0!==i?{F0:1,Stt:i}:""===r?dr:{F0:0,Itt:r}}function Ir(n){switch(n.F0){case 0:return n.Itt;case 1:return function(n){for(var t=[],r=n,i=1;i<=4;i++)t.push(""+(255&r)),4!==i&&t.push("."),r>>>=8;return t.reverse().join("")}(n.Stt);case 2:return"["+function(n){for(var t="",r=function(n){for(var t=0,r=0,i=0,e=0,u=0;u<8;u++)0===n[u]?(0===e&&(i=u),e++):(e>r&&(t=i,r=e),e=0);return e>r&&(t=i,r=e),r>1?t:null}(n),i=!1,e=0;e<8;e++){if(i){if(0===n[e])continue;i=!1}r!==e?(t+=n[e].toString(16),7!==e&&(t+=":")):(t+=0===e?"::":":",i=!0)}return t}(n.Stt)+"]";case 3:return n.YL;case 4:return""}}var Rr=/\+/g;function pr(n){return 42===n||45===n||46===n||95===n||kt(n)}function Or(n){for(var t=n.split("&"),r=[],i=0;i<t.length;i++){var e=t[i];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(Rr," "),f=f.replace(Rr," ");var s=lr(o),c=lr(f);r.push([s,c])}}return r}function gr(n){for(var t="",r=0;r<n.length;r++){var i=n[r];r>0&&(t+="&"),t+=Sr(Qt(xt(i[0])))+"="+Sr(Qt(xt(i[1])))}return t}function Sr(n){for(var t=[],r=0;r<n.length;r++){var i=n[r];32===i?t.push(43):pr(i)?t.push(i):t.push.apply(t,rr(i))}return Lt(t)}var Tr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function kr(n){var t=""+n,r=Tr.exec(t);return r?function(n,t){for(var r=n.length,i=[],e=t;e<r;e++){var u=n.charCodeAt(e);if(br(u))if(Ar(u)||e===r-1)i.push(Nr);else{var o=n.charCodeAt(e+1);Ar(o)?(i.push(u,o),e++):i.push(Nr)}else i.push(u)}return n.slice(0,t)+Lt(i)}(t,r.index):t}var Nr=65533,br=function(n){return 55296==(63488&n)},Ar=function(n){return 0!=(1024&n)};function mr(n,t){var r=n[0],i=t[0];return r===i?0:r<i?-1:1}function Cr(n){n.Ett.length=0}function Dr(n,t){!function(n,t){for(var r=0;r<t.length;r++)n[r]=t[r];n.length=t.length}(n.Ett,Or(t))}function Pr(n){if(n.Ju){var t=gr(n.Ett);""===t&&(t=null),n.Ju.Ju.btt=t}}var Lr=function(){function n(n){if(void 0===n&&(n=void 0),this.Ju=null,null==n)this.Ett=[];else if("object"==typeof n||"function"==typeof n)if(function(n){return n instanceof Lr&&!!It(n.Ett)&&(!Rt||n[t.iterator]===Fr)}(n))this.Ett=n.Ett.slice();else if(function(n){return null!=n&&(!!It(n)||!!Rt&&"function"==typeof n[t.iterator])}(n)){this.Ett=[];for(var r=0,i=pt(n);r<i.length;r++){var e=pt(i[r]);if(2!==e.length)throw new l("Invalid name-value pair");this.Ett.push([kr(e[0]),kr(e[1])])}}else for(var u in this.Ett=[],n)v.prototype.hasOwnProperty.call(n,u)&&this.Ett.push([kr(u),kr(n[u])]);else(n=kr(n)).length>0&&"?"===n[0]&&(n=n.slice(1)),this.Ett=Or(n)}var r=n.prototype;return r.append=function(n,t){n=kr(n),t=kr(t),this.Ett.push([n,t]),Pr(this)},r.delete=function(n){n=kr(n);for(var t=this.Ett,r=0;r<t.length;){t[r][0]===n?t.splice(r,1):r++}Pr(this)},r.get=function(n){n=kr(n);for(var t=this.Ett,r=0;r<t.length;r++){var i=t[r];if(i[0]===n)return i[1]}return null},r.getAll=function(n){n=kr(n);for(var t=this.Ett,r=[],i=0;i<t.length;i++){var e=t[i];e[0]===n&&r.push(e[1])}return r},r.has=function(n){n=kr(n);for(var t=this.Ett,r=0;r<t.length;r++){if(t[r][0]===n)return!0}return!1},r.set=function(n,t){n=kr(n),t=kr(t);for(var r=this.Ett,i=!1,e=0;e<r.length;){var u=r[e];u[0]===n?i?r.splice(e,1):(u[1]=t,i=!0,e++):e++}i||r.push([n,t]),Pr(this)},r.sort=function(){ct(this.Ett,mr),Pr(this)},r.toString=function(){return gr(this.Ett)},r.entries=function(){return new Wr(this.Ett,Ur)},r.keys=function(){return new Wr(this.Ett,Mr)},r.values=function(){return new Wr(this.Ett,Vr)},r.forEach=function(n){var t=this;this.Ett.forEach((function(r){return n(r[1],r[0],t)}))},n}(),Fr=Lr.prototype.entries;Rt&&(Lr.prototype[t.iterator]=Fr);var Ur=function(n){return[n[0],n[1]]},Mr=function(n){return n[0]},Vr=function(n){return n[1]},Wr=function(){function n(n,t){this.Ltt=0,this.Ett=n,this.ktt=t}return n.prototype.next=function(){return this.Ltt<this.Ett.length?{done:!1,value:this.ktt(this.Ett[this.Ltt++])}:{done:!0,value:void 0}},n}(),Hr="null";var Br=v.create(null);Br.ftp=21,Br.file=0,Br.gopher=70,Br.http=80,Br.https=443,Br.ws=80,Br.wss=443;var xr=/^(?:\.|%2e)$/i,Gr=/^(?:\.|%2e){2}$/i;function jr(n){return xr.test(n)}function Kr(n){return Gr.test(n)}function qr(n){return void 0!==Br[n]}function zr(n){return qr(n.Ej)}function Xr(n){return""!==n.Ctt||""!==n.xtt}function $r(n){var t=n.length;if(!(t>=2))return!1;if(!Zr(n.slice(0,2)))return!1;if(2!==t){var r=n[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function Yr(n){return 2===n.length&&ht.test(n[0])&&(":"===n[1]||"|"===n[1])}function Zr(n){return 2===n.length&&Yr(Lt(n))}function Jr(n){return Yr(n)&&":"===n[1]}function Qr(n){var t=n.Ott;0!==t.length&&("file"===n.Ej&&1===t.length&&Jr(t[0])||t.pop())}function ni(n){return null===n.jtt||dr===n.jtt||n.ztt||"file"===n.Ej}var ti=-1,ri=/\t|\n|\r/g,ii=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function ei(n,t,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new oi,n=n.replace(ii,""));var e=null!==i?i:0;t=t||null;for(var u=[],o=!1,f=!1,s=!1,c=xt(n=n.replace(ri,"")),a=c.length,h=0;h<=a;){var v=h<a?c[h]:ti;switch(e){case 0:if(!St(v)){if(null===i){u.length=0,e=2;continue}throw new l("Invalid scheme")}u.push(bt(v)),e=1;break;case 1:if(kt(v)||43===v||45===v||46===v)u.push(bt(v));else{if(58!==v){if(null===i){u.length=0,e=2,h=0;continue}throw new l("Invalid scheme")}var _=$t(u);if(null!==i){if(qr(r.Ej)&&!qr(_))return;if(!qr(r.Ej)&&qr(_))return;if((Xr(r)||null!==r.z8)&&"file"===_)return;if("file"===r.Ej&&(r.jtt===dr||null===r.jtt))return}if(r.Ej=_,null!==i)return void(zr(r)&&r.z8===Br[r.Ej]&&(r.z8=null));u.length=0,"file"===r.Ej?e=13:zr(r)&&t&&t.Ej===r.Ej?e=3:zr(r)?e=7:47===c[h+1]?(e=4,h+=1):(r.ztt=!0,r.Ott.push(""),e=18)}break;case 2:if(!t||t.ztt&&35!==v)throw new l("Invalid scheme");t.ztt&&35===v?(r.Ej=t.Ej,r.Ott=t.Ott.slice(),r.btt=t.btt,r.Ptt="",r.ztt=!0,e=20):"file"!==t.Ej?(e=5,h-=1):(e=13,h-=1);break;case 3:47===v&&47===c[h+1]?e=8:(e=5,h-=1);break;case 4:47===v?e=9:(e=17,h-=1);break;case 5:r.Ej=t.Ej,ti===v?(r.Ctt=t.Ctt,r.xtt=t.xtt,r.jtt=t.jtt,r.z8=t.z8,r.Ott=t.Ott.slice(),r.btt=t.btt):47===v?e=6:63===v?(r.Ctt=t.Ctt,r.xtt=t.xtt,r.jtt=t.jtt,r.z8=t.z8,r.Ott=t.Ott.slice(),r.btt="",e=19):35===v?(r.Ctt=t.Ctt,r.xtt=t.xtt,r.jtt=t.jtt,r.z8=t.z8,r.Ott=t.Ott.slice(),r.btt=t.btt,r.Ptt="",e=20):92===v&&zr(r)?e=6:(r.Ctt=t.Ctt,r.xtt=t.xtt,r.jtt=t.jtt,r.z8=t.z8,r.Ott=t.Ott.slice(),r.Ott.pop(),e=17,h-=1);break;case 6:!zr(r)||47!==v&&92!==v?47===v?e=9:(r.Ctt=t.Ctt,r.xtt=t.xtt,r.jtt=t.jtt,r.z8=t.z8,e=17,h-=1):e=8;break;case 7:if(47!==v||47!==c[h+1]){e=8;continue}e=8,h+=1;break;case 8:47!==v&&92!==v&&(e=9,h-=1);break;case 9:if(64===v){o&&u.unshift(37,52,48),o=!0;for(var y=0;y<u.length;y++){var w=u[y];if(58!==w||s){var E=$t(cr(w,or));s?r.xtt+=E:r.Ctt+=E}else s=!0}u.length=0}else if(ti===v||47===v||63===v||35===v||zr(r)&&92===v){if(o&&0===u.length)throw new l("Invalid host");h-=u.length+1,u.length=0,e=10}else u.push(v);break;case 10:case 11:if(null!==i&&"file"===r.Ej)h-=1,e=15;else if(58!==v||f)if(ti===v||47===v||63===v||35===v||zr(r)&&92===v){if(h-=1,zr(r)&&0===u.length)throw new l("Invalid host");if(null!==i&&0===u.length&&(Xr(r)||null!==r.z8))return;var I=Er($t(u),zr(r));if(r.jtt=I,u.length=0,e=16,null!==i)return}else 91===v?f=!0:93===v&&(f=!1),u.push(v);else{if(0===u.length)throw new l("Invalid host");var R=Er($t(u),zr(r));if(r.jtt=R,u.length=0,e=12,11===i)return}break;case 12:if(Tt(v))u.push(v);else{if(!(ti===v||47===v||63===v||35===v||zr(r)&&92===v||null!==i))throw new l("Invalid port");if(0!==u.length){var p=d($t(u),10);if(p>65535)throw new l("Invalid port");r.z8=p===Br[r.Ej]?null:p,u.length=0}if(null!==i)return;e=16,h-=1}break;case 13:r.Ej="file",47===v||92===v?e=14:t&&"file"===t.Ej?ti===v?(r.jtt=t.jtt,r.Ott=t.Ott.slice(),r.btt=t.btt):63===v?(r.jtt=t.jtt,r.Ott=t.Ott.slice(),r.btt="",e=19):35===v?(r.jtt=t.jtt,r.Ott=t.Ott.slice(),r.btt=t.btt,r.Ptt="",e=20):($r(c.slice(h))||(r.jtt=t.jtt,r.Ott=t.Ott.slice(),Qr(r)),e=17,h-=1):(e=17,h-=1);break;case 14:47===v||92===v?e=15:(t&&"file"===t.Ej&&!$r(c.slice(h))&&(Jr(t.Ott[0])?r.Ott.push(t.Ott[0]):r.jtt=t.jtt),e=17,h-=1);break;case 15:if(ti===v||47===v||92===v||63===v||35===v)if(h-=1,null===i&&Zr(u))e=17;else if(0===u.length){if(r.jtt=dr,null!==i)return;e=16}else{var O=Er($t(u),zr(r));if(0===O.F0&&"localhost"===O.Itt&&(O=dr),r.jtt=O,null!==i)return;u.length=0,e=16}else u.push(v);break;case 16:zr(r)?(e=17,47!==v&&92!==v&&(h-=1)):null===i&&63===v?(r.btt="",e=19):null===i&&35===v?(r.Ptt="",e=20):ti!==v&&(e=17,47!==v&&(h-=1));break;case 17:if(ti===v||47===v||zr(r)&&92===v||null===i&&(63===v||35===v)){var g=$t(u);if(Kr(g)?(Qr(r),47===v||zr(r)&&92===v||r.Ott.push("")):!jr(g)||47===v||zr(r)&&92===v?jr(g)||("file"===r.Ej&&0===r.Ott.length&&Zr(u)&&(dr!==r.jtt&&null!==r.jtt&&(r.jtt=dr),u[1]=58,g=$t(u)),r.Ott.push(g)):r.Ott.push(""),u.length=0,"file"===r.Ej&&(ti===v||63===v||35===v))for(;r.Ott.length>1&&""===r.Ott[0];)r.Ott.shift();63===v?(r.btt="",e=19):35===v&&(r.Ptt="",e=20)}else u.push.apply(u,cr(v,ur));break;case 18:63===v?(r.btt="",e=19):35===v?(r.Ptt="",e=20):ti!==v&&(r.Ott[0]+=$t(cr(v,ir)));break;case 19:null===i&&35===v?(r.Ptt="",e=20):ti!==v&&(r.btt+=$t(cr(v,zr(r)?sr:fr)));break;case 20:ti===v||0===v||(r.Ptt+=$t(cr(v,er)))}h++}return r}function ui(n,t,r,i){try{ei(n,t,r,i)}catch(n){}}var oi=function(){this.Ej="",this.Ctt="",this.xtt="",this.jtt=null,this.z8=null,this.Ott=[],this.btt=null,this.Ptt=null,this.ztt=!1};function fi(n){switch(n.Ej){case"blob":var t;try{t=ei(n.Ott[0],null)}catch(n){return Hr}return fi(t);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(n,t,r){return n+"://"+Ir(t)+(null===r?"":":"+r)}(n.Ej,n.jtt,n.z8);default:return Hr}}var si,ci,ai=function(){function n(n,t){var r,i=null;if(null!=t)if(function(n){return null!=n&&n instanceof ai&&"object"==typeof n.Ju}(t))i=t.Ju;else try{i=ei(String(t),null)}catch(n){throw new l("Invalid base URL: "+n.message)}try{r=ei(String(n),i)}catch(n){throw new l("Invalid URL: "+n.message)}var e=r.btt;this.Ju=r,this.btt=function(n){var t=new Lr;return null!==n&&Dr(t,n),t}(e),this.btt.Ju=this}var t=n.prototype;return t.toString=function(){return this.href},t.toJSON=function(){return this.href},function(n,t,r){t&&st(n.prototype,t),r&&st(n,r)}(n,[{key:"href",get:function(){return function(n,t){void 0===t&&(t=!1);var r=n.Ej+":";if(null!==n.jtt?(r+="//",Xr(n)&&(r+=n.Ctt,""!==n.xtt&&(r+=":"+n.xtt),r+="@"),r+=Ir(n.jtt),null!==n.z8&&(r+=":"+n.z8)):null===n.jtt&&"file"===n.Ej&&(r+="//"),n.ztt)r+=n.Ott[0];else for(var i=0,e=n.Ott;i<e.length;i++)r+="/"+e[i];return null!==n.btt&&(r+="?"+n.btt),t||null===n.Ptt||(r+="#"+n.Ptt),r}(this.Ju)},set:function(n){var t;try{t=ei(String(n),null)}catch(n){throw new l("Invalid URL: "+n.message)}this.Ju=t,Cr(this.btt);var r=this.Ju.btt;null!==r&&Dr(this.btt,r)}},{key:"origin",get:function(){return fi(this.Ju)}},{key:"protocol",get:function(){return this.Ju.Ej+":"},set:function(n){ui(n+":",null,this.Ju,0)}},{key:"username",get:function(){return this.Ju.Ctt},set:function(n){ni(this.Ju)||(this.Ju.Ctt=ar(n,or))}},{key:"password",get:function(){return this.Ju.xtt},set:function(n){ni(this.Ju)||(this.Ju.xtt=ar(n,or))}},{key:"host",get:function(){var n=this.Ju,t=n.jtt;if(null===t)return"";var r=n.z8,i=Ir(t);return null!==r&&(i+=":"+r),i},set:function(n){this.Ju.ztt||ui(n,null,this.Ju,10)}},{key:"hostname",get:function(){var n=this.Ju.jtt;return null===n?"":Ir(n)},set:function(n){this.Ju.ztt||ui(n,null,this.Ju,11)}},{key:"port",get:function(){var n=this.Ju.z8;return null===n?"":""+n},set:function(n){ni(this.Ju)||(""===n?this.Ju.z8=null:ui(n,null,this.Ju,12))}},{key:"pathname",get:function(){var n=this.Ju.Ott;return this.Ju.ztt?n[0]:0===n.length?"":"/"+n.join("/")},set:function(n){this.Ju.ztt||(this.Ju.Ott.length=0,ui(n,null,this.Ju,16))}},{key:"search",get:function(){var n=this.Ju.btt;return null===n||""===n?"":"?"+n},set:function(n){n=kr(n);var t=this.Ju;if(""===n)return t.btt=null,void Cr(this.btt);"?"===n[0]&&(n=n.slice(1)),t.btt="",ui(n,null,t,19),Dr(this.btt,n)}},{key:"searchParams",get:function(){return this.btt}},{key:"hash",get:function(){var n=this.Ju.Ptt;return null===n||""===n?"":"#"+n},set:function(n){""!==n?("#"===n[0]&&(n=n.slice(1)),this.Ju.Ptt="",ui(n,null,this.Ju,20)):this.Ju.Ptt=null}}]),n}();function hi(n){return n.document&&n.document.baseURI||n.location.href||""}function li(){return void 0!==e?e.createElement("video"):void 0}var vi=!!("ontouchstart"in self||self.DocumentTouch&&e instanceof self.DocumentTouch)||!(!o||!o.msMaxTouchPoints),_i=(ci||(ci=li()),ci),di=!(!_i||!_i.webkitShowPlaybackTargetPicker),yi=function(){function n(){this.Rtt=void 0,this.Ztt=!1,this.Je=vi,this.Qs=!1,this.I9=!0}var t=n.prototype;return t.Utt=function(){return 0},t.qtt=function(n,t){return!0},t.Xtt=function(n){return n>=.3333333333333333},rn(n,[{key:"Btt",get:function(){return void 0===this.Rtt&&(this.Rtt=this.Utt()),this.Rtt}},{key:"Qtt",get:function(){return!Rn.KE}},{key:"Ftt",get:function(){if(i.screen)return{width:i.screen.width,height:i.screen.height}}},{key:"c2",get:function(){return i.devicePixelRatio||1}},{key:"Ytt",get:function(){return di}},{key:"V4",get:function(){return!1}},{key:"B4",get:function(){return!0}},{key:"_A",get:function(){return Rn.QE||Rn.Ga}},{key:"Gtt",get:function(){return!Rn.Ga}},{key:"GO",get:function(){return!0}},{key:"wA",get:function(){return!0}},{key:"gA",get:function(){return!1}},{key:"Vtt",get:function(){}},{key:"Wtt",get:function(){return!0}},{key:"YJ",get:function(){return!1}},{key:"Htt",get:function(){return Rn.SE}}]),n}(),wi=function(){var n=li();if(!n)return!1;var t=n.muted;return n.muted=!t,n.muted!==t}();!function(){if(Rn.KI)return!1;var n=li();if(!n)return!1;var t=n.volume;n.volume=t/2+.1,n.volume}();var Ei=function(n){function t(t){var r;return(r=n.call(this)||this).Ktt=t,r.Ktt&&(r.Ztt=r.Ktt.Ztt,r.Je=r.Ktt.Je,r.I9=wi&&r.Ktt.I9),r}un(t,n);var r=t.prototype;return r.Utt=function(){return this.Ktt?this.Ktt.Btt:n.prototype.Utt.call(this)},r.qtt=function(t,r){return this.Ktt?this.Ktt.qtt(t,r):n.prototype.qtt.call(this,t,r)},r.Xtt=function(t){return this.Ktt?this.Ktt.Xtt(t):n.prototype.Xtt.call(this,t)},rn(t,[{key:"Vtt",get:function(){var n;return null==(n=this.Ktt)?void 0:n.Vtt}},{key:"Wtt",get:function(){var n,t;return null==(t=null==(n=this.Ktt)?void 0:n.Wtt)||t}}]),t}(yi),Ii=function(n){function t(t){var r;return(r=n.call(this,t)||this).Ztt=!0,r.Qs=!0,r}return un(t,n),rn(t,[{key:"gA",get:function(){return Rn.Ga}}]),t}(Ei);var Ri=function(n){function t(){return n.apply(this,arguments)}return un(t,n),t.prototype.Utt=function(){return function(n){return n&&Sn(si.ManagedMediaSource)?si.ManagedMediaSource:Sn(si.MediaSource)?si.MediaSource:void 0}(!0)?n.prototype.Utt.call(this):1},rn(t,[{key:"gA",get:function(){return!0}}]),t}(Ii),pi=function(n){function t(){return n.apply(this,arguments)}return un(t,n),t.prototype.qtt=function(t,r){return n.prototype.qtt.call(this,t,r)},rn(t,[{key:"V4",get:function(){return Rn.ME<3}},{key:"B4",get:function(){return Rn.ME>=3}},{key:"Ftt",get:function(){var n=this;return i.tizen&&!this.Jtt&&i.tizen.systeminfo.getPropertyValue("DISPLAY",(function(t){var r=t.resolutionWidth,i=t.resolutionHeight;1===r&&1===i||(n.Jtt={width:r,height:i})})),this.Jtt}},{key:"YJ",get:function(){return Rn.ME<3}}]),t}(Ei),Oi=function(n){function t(){return n.call(this)}return un(t,n),t}(yi),gi=function(n){function t(){return n.apply(this,arguments)}return un(t,n),t.prototype.qtt=function(n,t){if(n&&n.$tt&&t&&t.$tt){var r=Si(n.$tt,"mp4a.40.2")&&Si(t.$tt,"mp4a.40.5"),i=Si(n.$tt,"mp4a.40.5")&&Si(t.$tt,"mp4a.40.2"),e=Si(n.$tt,"mp4a.40.2")&&Si(t.$tt,"mp4a.40.34"),u=Si(n.$tt,"mp4a.40.34")&&Si(t.$tt,"mp4a.40.2"),o=Si(n.$tt,"mp4a.40.5")&&Si(t.$tt,"mp4a.40.34"),f=Si(n.$tt,"mp4a.40.34")&&Si(t.$tt,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},rn(t,[{key:"Vtt",get:function(){if(Rn.OI)return 4096}}]),t}(Oi);function Si(n,t){return n.indexOf(t)>-1}var Ti=function(n){function t(){return n.apply(this,arguments)}return un(t,n),t.prototype.Xtt=function(n){return n>=2},t}(Oi),ki=function(n){function t(){var t;return(t=n.call(this)||this).Ztt=Rn.YE>=11,t.I9=Rn.QE&&!(Rn.Ga&&Rn.YE<10),t}return un(t,n),t}(Oi),Ni=function(n){function t(){return n.apply(this,arguments)}return un(t,n),rn(t,[{key:"Ftt",get:function(){var n=this;return i.webOS&&!this.Jtt&&i.webOS.deviceInfo((function(t){n.Jtt={width:t.screenWidth,height:t.screenHeight}})),this.Jtt}},{key:"GO",get:function(){return!1}}]),t}(Ei),bi=function(n){function t(){return n.apply(this,arguments)}return un(t,n),rn(t,[{key:"Wtt",get:function(){return!Rn.zI||(Rn.wE?92!==Rn.vE:Rn.fE>=100)}}]),t}(Oi),Ai=function(n){function t(){return n.apply(this,arguments)}return un(t,n),rn(t,[{key:"gA",get:function(){return!0}}]),t}(Ei),mi=function(){function n(){this.nit=new Ci,this.hit=function(){var n=function(){if(Rn.PE)return new gi;if(Rn.bE||Rn.kE)return new Ti;if(Rn.QE)return new ki;if(Rn.dE)return new bi;return new Oi}();return Rn.Ga?new Ri(n):Rn.Qs?new Ii(n):Rn.pE?new pi(n):Rn.NE?new Ni(n):Rn.OI?new Ai(n):new Ei(n)}(),this.rit=function(){if(self.URL)try{var n=new self.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(n){}return!1}(),self.performance&&self.performance.now?this.Jd=function(){return self.performance.now()}:this.Jd=ft}var t=n.prototype;return t.tit=function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];Cn.apply(void 0,sn(t))},t.IA=function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];Dn.apply(void 0,sn(t))},t.iit=function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];Pn.apply(void 0,sn(t))},t.eit=function(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];Ln.apply(void 0,[n].concat(sn(r)))},t.ul=function(n,t){return f(n,t)},t.S$=function(n,t){return c(n,t)},t.$d=function(n){s(n)},t.E$=function(n){a(n)},t.RC=function(){return this.sit.RC()},t.LC=function(){return this.sit.LC()},t.xC=function(){return this.sit.xC()},t.kC=function(){return this.sit.kC()},t.EC=function(){return this.sit.EC()},t.jC=function(n,t){return this.sit.jC(n,t)},t.bC=function(n){return this.sit.bC(n)},t.Dh=function(n,t){var r;return void 0===t&&(t=hi(si)),r="object"!=typeof t||t instanceof ai?t:t.href,new ai(n,r)},t.SA=function(n,t){if(void 0===t&&(t=hi(si)),this.rit){var r=function(n){return"string"==typeof n}(t)?t:t.toString();return new self.URL(n,r).href}return this.Dh(n,t).href},rn(n,[{key:"PO",get:function(){return this.nit}},{key:"Ys",get:function(){return this.hit}},{key:"vA",get:function(){return{AA:o&&o.userAgent.match(/Android /i)?"Android":"other",mA:Boolean(o&&o.userAgent.match(/Android 8.0.0/i))}}},{key:"SV",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"oit",get:function(){return"languages"in o?o.languages.slice():[o.language]}}]),n}(),Ci=function(){function n(){}return rn(n,[{key:"BO",get:function(){return o.oscpu}},{key:"Ys",get:function(){return o.platform}},{key:"RO",get:function(){return o.vendor}},{key:"UO",get:function(){return o.vendorSub}}]),n}();var Di,Pi=function(){function n(){}var t=n.prototype;return t.EC=function(){return q.resolve(!1)},t.LC=function(){return q.resolve(!1)},t.kC=function(){return q.resolve(!1)},t.xC=function(){return q.resolve(!1)},t.bC=function(n){return q.resolve(!1)},t.jC=function(n,t){return q.resolve(!1)},t.RC=function(){return q.resolve(!1)},n}(),Li=function(){function n(){}var t=n.prototype;return t.tQ=function(){},t.Ub=function(n){},t.Pb=function(n){},t.Wj=function(n,t){},n}();function Fi(n,r){return function(n){if(Array.isArray(n))return n}(n)||function(n,r){var i=null==n?null:void 0!==t&&n[t.iterator]||n["@@iterator"];if(null!=i){var e,u,o=[],f=!0,s=!1;try{for(i=i.call(n);!(f=(e=i.next()).done)&&(o.push(e.value),!r||o.length!==r);f=!0);}catch(n){s=!0,u=n}finally{try{f||null==i.return||i.return()}finally{if(s)throw u}}return o}}(n,r)||fn(n,r)||function(){throw new l("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}!function(n){n.PS="arraybuffer",n.RS="json",n.US="stream",n.Ru="text"}(Di||(Di={}));var Ui,Mi=function(){function n(t){var r=this;this.Od={},t instanceof n?t.asList().forEach((function(n){var t=Fi(n,2),i=t[0],e=t[1];r.append(i,e)})):Array.isArray(t)?t.forEach((function(n){var t=Fi(n,2),i=t[0],e=t[1];r.append(i,e)})):t&&v.getOwnPropertyNames(t).forEach((function(n){r.append(n,t[n])}))}var t=n.prototype;return t.append=function(n,t){var r=n,i=t;r=Vi(r),i=Wi(i);var e=r.toLowerCase();if(this.Od.hasOwnProperty(e)){var u=this.Od[e],o=u[1];u[1]=o?o+", "+i:i}else this.Od[e]=[r,i]},t.delete=function(n){var t=Vi(n).toLowerCase();delete this.Od[t]},t.get=function(n){var t=Vi(n).toLowerCase();return this.Od.hasOwnProperty(t)?this.Od[t][1]:null},t.has=function(n){var t=Vi(n).toLowerCase();return this.Od.hasOwnProperty(t)},t.set=function(n,t){var r=n,i=(r=Vi(r)).toLowerCase();this.Od[i]=[r,Wi(t)]},t.forEach=function(n,t){for(var r in this.Od)this.Od.hasOwnProperty(r)&&n.call(t,this.Od[r][1],r,this)},t.asList=function(){var n=[];for(var t in this.Od)if(this.Od.hasOwnProperty(t)){var r=Fi(this.Od[t],2),i=r[0],e=r[1];n.push([i,e])}return n},t.QS=function(){var n={};return this.forEach((function(t,r){n[r]=t})),n},t.FS=function(n){var t=this;n.forEach((function(n,r){t.append(r,n)}))},t.YS=function(n){var t=this;n.forEach((function(n,r){t.set(r,n)}))},n}();function Vi(n){var t=n;if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new l("Invalid character in header field name");return t}function Wi(n){var t=n;return"string"!=typeof t&&(t=String(t)),t}function Hi(n,t,r,i,e,u,o){try{var f=n[u](o),s=f.value}catch(n){return void r(n)}f.done?t(s):q.resolve(s).then(i,e)}function Bi(n){return function(){var t=this,r=arguments;return new q((function(i,e){var u=n.apply(t,r);function o(n){Hi(u,i,e,o,f,"next",n)}function f(n){Hi(u,i,e,o,f,"throw",n)}o(void 0)}))}}function xi(n,r){var i,e,u,o,f={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof t&&(o[t.iterator]=function(){return this}),o;function s(t){return function(s){return function(t){if(i)throw new l("Generator is already executing.");for(;o&&(o=0,t[0]&&(f=0)),f;)try{if(i=1,e&&(u=2&t[0]?e.return:t[0]?e.throw||((u=e.return)&&u.call(e),0):e.next)&&!(u=u.call(e,t[1])).done)return u;switch(e=0,u&&(t=[2&t[0],u.value]),t[0]){case 0:case 1:u=t;break;case 4:return f.label++,{value:t[1],done:!1};case 5:f.label++,e=t[1],t=[0];continue;case 7:t=f.ops.pop(),f.trys.pop();continue;default:if(!(u=f.trys,(u=u.length>0&&u[u.length-1])||6!==t[0]&&2!==t[0])){f=0;continue}if(3===t[0]&&(!u||t[1]>u[0]&&t[1]<u[3])){f.label=t[1];break}if(6===t[0]&&f.label<u[1]){f.label=u[1],u=t;break}if(u&&f.label<u[2]){f.label=u[2],f.ops.push(t);break}u[2]&&f.ops.pop(),f.trys.pop();continue}t=r.call(n,f)}catch(n){t=[6,n],e=0}finally{i=u=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,s])}}}!function(n){n[n.Zr=0]="Zr",n[n.hd=1]="hd",n[n.Nd=-1]="Nd"}(Ui||(Ui={}));Array.prototype.find,Array.prototype.findLast;var Gi="function"==typeof Array.prototype.findIndex?function(n,t){return n.findIndex(t)}:function(n,t){for(var r=0;r<n.length;r+=1){if(t(n[r],r,n))return r}return-1},ji="function"==typeof Array.prototype.findLastIndex?function(n,t){return n.findLastIndex(t)}:function(n,t){for(var r=n.length-1;r>=0;r-=1){if(t(n[r],r,n))return r}return-1};function Ki(n,t){var r=n.indexOf(t);return-1!==r&&(function(n,t){0===t?n.shift():n.splice(t,1)}(n,r),!0)}function qi(n){n.length=0}Array.prototype.flat,Array.prototype.flatMap;var zi,Xi,$i,Yi,Zi,Ji=function(){function n(){this.Bd=!1,this.Rd=!1,this.Ud=[],this.Fd=[]}var t=n.prototype;return t.zd=function(){if(!this.Bd&&!this.Rd){this.Bd=!0;for(var n=0,t=this.Ud.slice();n<t.length;n++){(0,t[n])()}this.Qd()}},t.Qd=function(){if(!this.Rd){this.Rd=!0;for(var n=0,t=this.Fd.slice();n<t.length;n++){(0,t[n])()}qi(this.Ud),qi(this.Fd)}},t.Yd=function(n){this.Rd||this.Ud.push(n)},t.Gd=function(n){this.Rd||Ki(this.Ud,n)},t.Vd=function(n){this.Rd||this.Fd.push(n)},t.Wd=function(n){this.Rd||Ki(this.Fd,n)},n}(),Qi=function(){function n(){this.qd=new Ji}var t=n.prototype;return t.Xd=function(){this.qd.zd()},t.Qd=function(){this.qd.Qd()},t.Zd=function(n){var t=this.qd;if(!t.Bd)if(n.Bd)t.zd();else if(!t.Rd&&!n.Rd){var r=function(){i(),t.zd()},i=function(){n.Gd(r),n.Wd(i),t.Gd(r),t.Wd(i)};n.Yd(r),n.Vd(i),t.Yd(r),t.Vd(i)}},t.Kd=function(){var t=new n,r=new n,i=t.Hd,e=r.Hd,u=this.qd,o=function(){i.Bd&&e.Rd||e.Bd&&i.Rd?u.zd():i.Rd&&e.Rd&&u.Qd()};i.Yd(o),e.Yd(o),i.Vd(o),e.Vd(o),t.Zd(u),r.Zd(u);return u.Vd((function(){i.Gd(o),e.Gd(o),i.Wd(o),e.Wd(o)})),[t,r]},rn(n,[{key:"Hd",get:function(){return this.qd}}]),n}();!function(n){n.DELETE="DELETE",n.GET="GET",n.HEAD="HEAD",n.OPTIONS="OPTIONS",n.POST="POST",n.PUT="PUT"}(zi||(zi={})),function(n){n.tT="",n.GS="manifest",n.VS="segment",n.WS="preload-hint",n.HS="content-protection"}(Xi||(Xi={})),function(n){n.tT="",n.qS="initialization-segment",n.XS="fairplay-license",n.ZS="fairplay-certificate",n.KS="widevine-license",n.JS="widevine-certificate",n.$S="playready-license",n.tI="clearkey-license",n.iI="aes128-key"}($i||($i={})),function(n){n.tT="",n.vm="audio",n.Am="video",n.Ru="text",n.$M="image"}(Yi||(Yi={})),function(n){n.eI="same-origin",n.EA="no-cors",n.sI="cors",n.nI="navigate"}(Zi||(Zi={}));var ne=function(n,t){var r,i,e,u,o,f,s,c,a,h,l,v,_,d,y,w,E=n.zu;t?(r=t.rI,i=t.hI,e=t.oI,u=t.aI,o=t.IS,f=t.uI,s=t.Hd,c=t.Rg,a=t.cI,h=t.dI,l=t.lI,v=t.fI,_=t.jg,d=t._I):(r=null,i={},e="GET",u=Di.Ru,o=0,f=0,c="",a="",h="",l=!1,_=void 0,d=!1),this.zu=E,this.rI=n.rI||r,this.hI=new Mi(n.hI||i),this.oI=n.oI||e,this.aI=n.aI||u,this.IS=void 0!==n.IS?Number(n.IS)||0:o,this.uI=void 0!==n.uI?Number(n.uI)||0:f,this.Hd=n.Hd||s||(new Qi).Hd,this.Rg=n.Rg||c,this.cI=n.cI||a,this.dI=n.dI||h,this.lI=void 0!==n.lI?Boolean(n.lI):l,this.fI=n.fI||v,this.jg=null!=(y=n.jg)?y:_,this._I=null!=(w=n._I)?w:d};var te=function(){for(var n=arguments.length,t=new Array(n),r=0;r<n;r++)t[r]=arguments[r];h.apply(this,t)};(te.prototype=v.create(h.prototype)).constructor=te;var re,ie=function(n){function t(t,r){var i;return(i=n.call(this)||this).message=t||"Unknown error",i.cause=r,h.captureStackTrace&&h.captureStackTrace(function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(i),i.constructor),i}return un(t,n),rn(t,[{key:"name",get:function(){return"BaseError"}}]),t}(te);!function(n){n.mS="HttpOpenError",n.pS="HttpResponseError",n.yS="HttpTimeoutError"}(re||(re={}));var ee=function(n){function t(t,r,i){var e;return(e=n.call(this,r,i)||this).TS=t,e}return un(t,n),rn(t,[{key:"MS",get:function(){return this.TS}}]),t}(ie);var ue,oe,fe,se=function(n){function t(t,r){return n.call(this,t,function(n){return"Error while opening "+n+". Invalid URL."}(t.zu),r)}return un(t,n),rn(t,[{key:"name",get:function(){return re.mS}}]),t}(ee),ce=function(){function n(){}var t=n.prototype;return t.MS=function(n){return q.reject(new se(new ne(n)))},t.YF=function(n){},t.gn=function(){},n}(),ae=function(n){function t(t){return n.call(this,"Invalid XML",t)}return un(t,n),t}(ie),he=function(n){function t(){var t;return(t=n.apply(this,arguments)||this).Rit=new Pi,t.mI=new ce,t.i=new Li,t}return un(t,n),t.prototype.cS=function(n){throw new ae},rn(t,[{key:"sit",get:function(){return this.Rit}},{key:"Uit",get:function(){return!1}},{key:"m$",get:function(){return!1}},{key:"Git",get:function(){return!1}},{key:"z$",get:function(){return!1}},{key:"Yj",get:function(){return this.i}},{key:"Vit",get:function(){return{Wit:Tn}}},{key:"Hit",get:function(){return"default"}},{key:"qit",get:function(){return"unknown"}},{key:"uO",get:function(){return this.mI}}]),t}(mi);!function(n){n}(new he),function(n){n[n.MPEGTS_TO_FMP4=0]="MPEGTS_TO_FMP4",n[n.RAW_AUDIO_TO_FMP4=1]="RAW_AUDIO_TO_FMP4"}(ue||(ue={})),function(n){n[n.CONFIGURATION_ERROR=1e3]="CONFIGURATION_ERROR",n[n.LICENSE_ERROR=2e3]="LICENSE_ERROR",n[n.LICENSE_INVALID_DOMAIN=2001]="LICENSE_INVALID_DOMAIN",n[n.LICENSE_INVALID_SOURCE=2002]="LICENSE_INVALID_SOURCE",n[n.LICENSE_EXPIRED=2003]="LICENSE_EXPIRED",n[n.LICENSE_INVALID_FEATURE=2004]="LICENSE_INVALID_FEATURE",n[n.SOURCE_INVALID=3e3]="SOURCE_INVALID",n[n.SOURCE_NOT_SUPPORTED=3001]="SOURCE_NOT_SUPPORTED",n[n.MANIFEST_LOAD_ERROR=4e3]="MANIFEST_LOAD_ERROR",n[n.MANIFEST_CORS_ERROR=4001]="MANIFEST_CORS_ERROR",n[n.MANIFEST_PARSE_ERROR=4002]="MANIFEST_PARSE_ERROR",n[n.MEDIA_NOT_SUPPORTED=5e3]="MEDIA_NOT_SUPPORTED",n[n.MEDIA_LOAD_ERROR=5001]="MEDIA_LOAD_ERROR",n[n.MEDIA_DECODE_ERROR=5002]="MEDIA_DECODE_ERROR",n[n.MEDIA_AVPLAYER_ERROR=5003]="MEDIA_AVPLAYER_ERROR",n[n.MEDIA_ABORTED=5004]="MEDIA_ABORTED",n[n.NETWORK_ERROR=6e3]="NETWORK_ERROR",n[n.NETWORK_TIMEOUT=6001]="NETWORK_TIMEOUT",n[n.CONTENT_PROTECTION_ERROR=7e3]="CONTENT_PROTECTION_ERROR",n[n.CONTENT_PROTECTION_NOT_SUPPORTED=7001]="CONTENT_PROTECTION_NOT_SUPPORTED",n[n.CONTENT_PROTECTION_CONFIGURATION_MISSING=7002]="CONTENT_PROTECTION_CONFIGURATION_MISSING",n[n.CONTENT_PROTECTION_CONFIGURATION_INVALID=7003]="CONTENT_PROTECTION_CONFIGURATION_INVALID",n[n.CONTENT_PROTECTION_INITIALIZATION_INVALID=7004]="CONTENT_PROTECTION_INITIALIZATION_INVALID",n[n.CONTENT_PROTECTION_CERTIFICATE_ERROR=7005]="CONTENT_PROTECTION_CERTIFICATE_ERROR",n[n.CONTENT_PROTECTION_CERTIFICATE_INVALID=7006]="CONTENT_PROTECTION_CERTIFICATE_INVALID",n[n.CONTENT_PROTECTION_LICENSE_ERROR=7007]="CONTENT_PROTECTION_LICENSE_ERROR",n[n.CONTENT_PROTECTION_LICENSE_INVALID=7008]="CONTENT_PROTECTION_LICENSE_INVALID",n[n.CONTENT_PROTECTION_KEY_EXPIRED=7009]="CONTENT_PROTECTION_KEY_EXPIRED",n[n.CONTENT_PROTECTION_KEY_MISSING=7010]="CONTENT_PROTECTION_KEY_MISSING",n[n.CONTENT_PROTECTION_OUTPUT_RESTRICTED=7011]="CONTENT_PROTECTION_OUTPUT_RESTRICTED",n[n.CONTENT_PROTECTION_INTERNAL_ERROR=7012]="CONTENT_PROTECTION_INTERNAL_ERROR",n[n.SUBTITLE_LOAD_ERROR=8e3]="SUBTITLE_LOAD_ERROR",n[n.SUBTITLE_CORS_ERROR=8001]="SUBTITLE_CORS_ERROR",n[n.SUBTITLE_PARSE_ERROR=8002]="SUBTITLE_PARSE_ERROR",n[n.VR_PLATFORM_UNSUPPORTED=9e3]="VR_PLATFORM_UNSUPPORTED",n[n.VR_PRESENTATION_ERROR=9001]="VR_PRESENTATION_ERROR",n[n.AD_ERROR=1e4]="AD_ERROR",n[n.AD_BLOCKER_DETECTED=10001]="AD_BLOCKER_DETECTED",n[n.FULLSCREEN_ERROR=11e3]="FULLSCREEN_ERROR",n[n.CACHE_SOURCE_ERROR=12e3]="CACHE_SOURCE_ERROR",n[n.CACHE_CONTENT_PROTECTION_ERROR=12001]="CACHE_CONTENT_PROTECTION_ERROR",n[n.THEO_LIVE_UNKNOWN_ERROR=13e3]="THEO_LIVE_UNKNOWN_ERROR",n[n.THEO_LIVE_CHANNEL_NOT_FOUND=13001]="THEO_LIVE_CHANNEL_NOT_FOUND",n[n.THEO_LIVE_END_OF_DEMO=13002]="THEO_LIVE_END_OF_DEMO",n[n.THEO_LIVE_ANALYTICS_ERROR=13003]="THEO_LIVE_ANALYTICS_ERROR"}(oe||(oe={})),function(n){n[n.CONFIGURATION=1]="CONFIGURATION",n[n.LICENSE=2]="LICENSE",n[n.SOURCE=3]="SOURCE",n[n.MANIFEST=4]="MANIFEST",n[n.MEDIA=5]="MEDIA",n[n.NETWORK=6]="NETWORK",n[n.CONTENT_PROTECTION=7]="CONTENT_PROTECTION",n[n.SUBTITLE=8]="SUBTITLE",n[n.VR=9]="VR",n[n.AD=10]="AD",n[n.FULLSCREEN=11]="FULLSCREEN",n[n.CACHE=12]="CACHE",n[n.THEOLIVE=13]="THEOLIVE"}(fe||(fe={})),function(n){n.fromCode=function(t){var r=_.floor(t/1e3);if(r in n)return r;throw new l("Invalid error code: "+t)}}(fe||(fe={}));var le=function(n){function t(t,r,i){var e;return(e=n.call(this,r,i)||this).code=t,e}return un(t,n),rn(t,[{key:"name",get:function(){return"THEOplayerError"}},{key:"category",get:function(){return fe.fromCode(this.code)}}]),t}(ie);var ve,_e=function(){function n(n){this.encoding=n}var t=n.prototype;return t.encode=function(n){if(!n)return new E(0);for(var t=new E(n.length),r=0;r<n.length;r++)t[r]=n.charCodeAt(r);return t},t.encodeInto=function(n,t){for(var r=_.min(n.length,t.byteLength),i=0;i<r;i++)t[i]=n.charCodeAt(i);return{read:r,written:r}},n}(),de=function(){function n(n,t){this.encoding=n,this.fatal=(null==t?void 0:t.fatal)||!1,this.ignoreBOM=(null==t?void 0:t.ignoreBOM)||!1}return n.prototype.decode=function(n,t){return n?(r=n instanceof ArrayBuffer?new E(n):new E(n.buffer,n.byteOffset,n.byteLength),String.fromCharCode.apply(void 0,r)):"";var r},n}();var ye=new Array(128).fill(void 0);function we(n){return ye[n]}ye.push(void 0,null,!0,!1);var Ee=ye.length;function Ie(n){var t=we(n);return function(n){n<132||(ye[n]=Ee,Ee=n)}(n),t}var Re=void 0!==de?new de("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:function(){throw h("TextDecoder not available")}};void 0!==de&&Re.decode();var pe=null;function Oe(){return null!==pe&&pe.buffer===ve.memory.buffer||(pe=new E(ve.memory.buffer)),pe}function ge(n,t){return n>>>=0,Re.decode(Oe().subarray(n,n+t))}function Se(n){Ee===ye.length&&ye.push(ye.length+1);var t=Ee;return Ee=ye[t],ye[t]=n,t}var Te=0;function ke(n,t){var r=t(1*n.length,1)>>>0;return Oe().set(n,r/1),Te=n.length,r}var Ne=null;function be(){return null!==Ne&&Ne.buffer===ve.memory.buffer||(Ne=new Int32Array(ve.memory.buffer)),Ne}function Ae(n){return null==n}function me(n,t){return n>>>=0,Oe().subarray(n/1,n/1+t)}function Ce(n){try{var t=ve.__wbindgen_add_to_stack_pointer(-16);ve.mpegts_to_fmp4(t,Se(n));var r=be()[t/4+0],i=be()[t/4+1];if(be()[t/4+2])throw Ie(i);return Ie(r)}finally{ve.__wbindgen_add_to_stack_pointer(16)}}function De(n){try{var t=ve.__wbindgen_add_to_stack_pointer(-16);ve.raw_audio_to_fmp4(t,Se(n));var r=be()[t/4+0],i=be()[t/4+1];if(be()[t/4+2])throw Ie(i);return Ie(r)}finally{ve.__wbindgen_add_to_stack_pointer(16)}}var Pe=void 0!==_e?new _e("utf-8"):{encode:function(){throw h("TextEncoder not available")}},Le="function"==typeof Pe.encodeInto?function(n,t){return Pe.encodeInto(n,t)}:function(n,t){var r=Pe.encode(n);return t.set(r),{read:n.length,written:r.length}};function Fe(n,t){return Ue.apply(this,arguments)}function Ue(){return Ue=Bi((function(n,t){var r,i,e;return xi(this,(function(u){switch(u.label){case 0:if(!("function"==typeof Response&&n instanceof Response))return[3,7];if("function"!=typeof WebAssembly.instantiateStreaming)return[3,4];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,WebAssembly.instantiateStreaming(n,t)];case 2:return[2,u.sent()];case 3:if(r=u.sent(),"application/wasm"==n.headers.get("Content-Type"))throw r;return console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r),[3,4];case 4:return[4,n.arrayBuffer()];case 5:return i=u.sent(),[4,WebAssembly.instantiate(i,t)];case 6:return[2,u.sent()];case 7:return[4,WebAssembly.instantiate(n,t)];case 8:return(e=u.sent())instanceof WebAssembly.Instance?[2,{instance:e,module:n}]:[2,e];case 9:return[2]}}))})),Ue.apply(this,arguments)}function Me(){var n={wbg:{}};return n.wbg.__wbg_data_a6fcc7e5485ab253=function(n,t){var r=ke(we(t).data,ve.__wbindgen_export_0),i=Te;be()[n/4+1]=i,be()[n/4+0]=r},n.wbg.__wbg_metadata_839ce0f7c4a90056=function(n){var t=we(n).metadata;return Ae(t)?0:Se(t)},n.wbg.__wbg_spsnal_f25ca767f4bfbb48=function(n,t){var r=we(t).sps_nal,i=Ae(r)?0:ke(r,ve.__wbindgen_export_0),e=Te;be()[n/4+1]=e,be()[n/4+0]=i},n.wbg.__wbg_ppsnal_c53839aaa7452802=function(n,t){var r=we(t).pps_nal,i=Ae(r)?0:ke(r,ve.__wbindgen_export_0),e=Te;be()[n/4+1]=e,be()[n/4+0]=i},n.wbg.__wbg_videopid_838bd140f4a2757b=function(n){var t=we(n).video_pid;return Ae(t)?16777215:t},n.wbg.__wbg_audiopid_01a4aeec8221f2bc=function(n){var t=we(n).audio_pid;return Ae(t)?16777215:t},n.wbg.__wbg_programmaptablepid_75098c49c54177b4=function(n){var t=we(n).program_map_table_pid;return Ae(t)?16777215:t},n.wbg.__wbindgen_object_drop_ref=function(n){Ie(n)},n.wbg.__wbg_createoutputdata_1f571c937b2e0b2d=function(n,t,r,i,e,u,o,f){var s,c,a,h;0!==n&&(s=me(n,t).slice(),ve.__wbindgen_export_1(n,1*t,1)),0!==r&&(c=me(r,i).slice(),ve.__wbindgen_export_1(r,1*i,1)),0!==e&&(a=me(e,u).slice(),ve.__wbindgen_export_1(e,1*u,1)),0!==o&&(h=me(o,f).slice(),ve.__wbindgen_export_1(o,1*f,1));var l=function(n,t,r,i){return{video_init:n,audio_init:t,video_media:r,audio_media:i}}(s,c,a,h);return Se(l)},n.wbg.__wbg_createtimestampwithbase_b1a0f7c0ac4be87c=function(n,t,r){var i=function(n,t,r){return{low:n,high:t,base:r}}(n>>>0,t>>>0,r>>>0);return Se(i)},n.wbg.__wbg_createoutputmetadata_d35eb256e9ffe01c=function(n,t,r,i,e,u,o,f,s,c,a,h,l,v,_,d){var y,w,E,I;0!==r&&(y=ge(r,i).slice(),ve.__wbindgen_export_1(r,1*i,1)),0!==e&&(w=ge(e,u).slice(),ve.__wbindgen_export_1(e,1*u,1)),0!==o&&(E=me(o,f).slice(),ve.__wbindgen_export_1(o,1*f,1)),0!==s&&(I=me(s,c).slice(),ve.__wbindgen_export_1(s,1*c,1));var R=function(n,t,r,i,e,u,o,f,s,c,a){return{video_pid:n,audio_pid:t,video_codec:r,audio_codec:i,sps_nal:e,pps_nal:u,first_decode_timestamp:o,first_presentation_timestamp:f,first_video_presentation_timestamp:s,program_map_table_pid:c,video_frame_rate:a}}(16777215===n?void 0:n,16777215===t?void 0:t,y,w,E,I,Ie(a),Ie(h),Ie(l),16777215===v?void 0:v,0===_?void 0:d);return Se(R)},n.wbg.__wbg_createoutput_2a44a6b53fd68784=function(n,t){var r=function(n,t){return{data:n,metadata:t}}(Ie(n),Ie(t));return Se(r)},n.wbg.__wbindgen_string_new=function(n,t){return Se(ge(n,t))},n.wbg.__wbg_new_abda76e883ba8a5f=function(){return Se(new h)},n.wbg.__wbg_stack_658279fe44541cf6=function(n,t){var r=function(n,t,r){if(void 0===r){var i=Pe.encode(n),e=t(i.length,1)>>>0;return Oe().subarray(e,e+i.length).set(i),Te=i.length,e}for(var u=n.length,o=t(u,1)>>>0,f=Oe(),s=0;s<u;s++){var c=n.charCodeAt(s);if(c>127)break;f[o+s]=c}if(s!==u){0!==s&&(n=n.slice(s)),o=r(o,u,u=s+3*n.length,1)>>>0;var a=Oe().subarray(o+s,o+u);s+=Le(n,a).written}return Te=s,o}(we(t).stack,ve.__wbindgen_export_0,ve.__wbindgen_export_2),i=Te;be()[n/4+1]=i,be()[n/4+0]=r},n.wbg.__wbg_error_f851667af71bcfc6=function(n,t){var r,i;try{r=n,i=t,console.error(ge(n,t))}finally{ve.__wbindgen_export_1(r,i,1)}},n}function Ve(n,t){return ve=n.exports,We.__wbindgen_wasm_module=t,Ne=null,pe=null,ve.__wbindgen_start(),ve}function We(n){return He.apply(this,arguments)}function He(){return He=Bi((function(n){var t,r,i,e;return xi(this,(function(u){switch(u.label){case 0:return void 0!==ve?[2,ve]:(void 0===n&&(n=new URL("theomux_bg.wasm",void 0)),t=Me(),("string"==typeof n||"function"==typeof Request&&n instanceof Request||"function"==typeof URL&&n instanceof URL)&&(n=fetch(n)),[4,n]);case 1:return[4,Fe.apply(void 0,[u.sent(),t])];case 2:return r=u.sent(),i=r.instance,e=r.module,[2,Ve(i,e)]}}))})),He.apply(this,arguments)}function Be(){return Be=Bi((function(n){var t,r;return xi(this,(function(i){switch(i.label){case 0:return n instanceof WebAssembly.Module?t=n:(r="string"==typeof n?new URL(n):n,t="http:"===r.protocol||"https:"===r.protocol?fetch(r.href):function(n){return new q((function(t,r){var i=new I;i.onload=function(){t(i.response||new ArrayBuffer(0))},i.onerror=function(){r(new l('Failed to fetch "'+n+'", status '+i.status))},i.open("GET",n,!0),i.responseType="arraybuffer",i.send()}))}(r.href)),[4,We(t)];case 1:return i.sent(),[2,{mpegts_to_fmp4:Ce,raw_audio_to_fmp4:De}]}}))})),Be.apply(this,arguments)}var xe=new URL("./THEOplayer.transmux.wasm",u.href);!function(n){var t,r=q.resolve(n()).then((function(n){t=n,r=void 0,self.postMessage({DBt:"7.10.0"})}),(function(n){var t=n,r={success:!1,error:t.message,errorCode:t instanceof le?t.code:oe.MEDIA_DECODE_ERROR};self.postMessage(r)}));function i(){return(i=Bi((function(n){var i,e,u,o,f,s;return xi(this,(function(c){switch(c.label){case 0:return void 0===r?[3,2]:[4,r];case 1:c.sent(),c.label=2;case 2:if(u=n.id,n.type===ue.MPEGTS_TO_FMP4)o=t.mpegts_to_fmp4(n.input);else{if(n.type!==ue.RAW_AUDIO_TO_FMP4)throw new h("Unknown request type: "+n.type);o=t.raw_audio_to_fmp4(n.input)}return f={success:!0,requestId:u,output:o},s=[null==(i=n.input.metadata)?void 0:i.sps_nal,null==(e=n.input.metadata)?void 0:e.pps_nal,n.input.data,o.data.video_init,o.data.audio_init,o.data.video_media,o.data.audio_media].filter(On).map((function(n){return n.buffer})),self.postMessage(f,s),[2]}}))}))).apply(this,arguments)}self.addEventListener("message",(function(n){var t=n.data.id;(function(n){return i.apply(this,arguments)})(n.data).catch((function(n){var r=n,i={success:!1,requestId:t,error:r.message,errorCode:r instanceof le?r.code:oe.MEDIA_DECODE_ERROR};self.postMessage(i)}))}))}((function(){return function(n){return Be.apply(this,arguments)}(xe)}))}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
|
|
Binary file
|
package/iframe.html
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><title>_</title><meta name="robots" content="noindex,nofollow"/></head><body><script type="text/javascript">!function(e,t){"use strict";var a,s;function i(e){try{t.postMessage({type:"message",id:s,data:e.data},"*")}catch(e){n(e)}}function n(e){t.postMessage({type:"error",id:s,data:{message:e.message,filename:e.filename,lineno:e.lineno}},"*")}e.addEventListener("message",(function(e){try{"terminate"===e.data.type?a.terminate():"initialize"===e.data.type?(s=e.data.id,(a=new Worker(e.data.script)).addEventListener("message",i),a.addEventListener("error",n),t.postMessage({type:"initialized",id:s},"*")):"message"===e.data.type&&a.postMessage(e.data.data)}catch(e){n(e)}}),!1)}(window,parent);</script></body></html>
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@theoplayer/theoads",
|
|
3
|
+
"main": "THEOplayer.js",
|
|
4
|
+
"types": "THEOplayer.d.ts",
|
|
5
|
+
"version": "7.10.0",
|
|
6
|
+
"description": "THEOplayer is the universal video player solution, enabling you to quickly deliver cross-platform content playback.",
|
|
7
|
+
"author": "THEO Technologies",
|
|
8
|
+
"homepage": "https://www.theoplayer.com/",
|
|
9
|
+
"license": "SEE LICENSE AT https://www.theoplayer.com/terms",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./THEOplayer.d.ts",
|
|
13
|
+
"import": "./THEOplayer.esm.js",
|
|
14
|
+
"default": "./THEOplayer.js"
|
|
15
|
+
},
|
|
16
|
+
"./chromeless": {
|
|
17
|
+
"types": "./THEOplayer.chromeless.d.ts",
|
|
18
|
+
"import": "./THEOplayer.chromeless.esm.js",
|
|
19
|
+
"default": "./THEOplayer.chromeless.js"
|
|
20
|
+
},
|
|
21
|
+
"./THEOplayer": {
|
|
22
|
+
"types": "./THEOplayer.d.ts",
|
|
23
|
+
"import": "./THEOplayer.esm.js",
|
|
24
|
+
"default": "./THEOplayer.js"
|
|
25
|
+
},
|
|
26
|
+
"./THEOplayer.js": "./THEOplayer.js",
|
|
27
|
+
"./THEOplayer.d.ts": "./THEOplayer.d.ts",
|
|
28
|
+
"./THEOplayer.chromeless": {
|
|
29
|
+
"types": "./THEOplayer.chromeless.d.ts",
|
|
30
|
+
"import": "./THEOplayer.chromeless.esm.js",
|
|
31
|
+
"default": "./THEOplayer.chromeless.js"
|
|
32
|
+
},
|
|
33
|
+
"./THEOplayer.chromeless.js": "./THEOplayer.chromeless.js",
|
|
34
|
+
"./THEOplayer.chromeless.d.ts": "./THEOplayer.chromeless.d.ts",
|
|
35
|
+
"./THEOplayer.transmux.js": "./THEOplayer.transmux.js",
|
|
36
|
+
"./THEOplayer.transmux.asmjs.js": "./THEOplayer.transmux.asmjs.js",
|
|
37
|
+
"./THEOplayer.transmux.wasm": "./THEOplayer.transmux.wasm",
|
|
38
|
+
"./theoplayer.sw.js": "./theoplayer.sw.js",
|
|
39
|
+
"./theoplayer.d.js": "./theoplayer.d.js",
|
|
40
|
+
"./theoplayer.e.js": "./theoplayer.e.js",
|
|
41
|
+
"./theoplayer.p.js": "./theoplayer.p.js",
|
|
42
|
+
"./iframe.html": "./iframe.html",
|
|
43
|
+
"./ui.css": "./ui.css",
|
|
44
|
+
"./package": "./package.json",
|
|
45
|
+
"./package.json": "./package.json"
|
|
46
|
+
},
|
|
47
|
+
"files": [
|
|
48
|
+
"THEOplayer.js",
|
|
49
|
+
"THEOplayer.esm.js",
|
|
50
|
+
"THEOplayer.chromeless.js",
|
|
51
|
+
"THEOplayer.chromeless.esm.js",
|
|
52
|
+
"THEOplayer.common.esm.js",
|
|
53
|
+
"theoplayer.sw.js",
|
|
54
|
+
"theoplayer.d.js",
|
|
55
|
+
"theoplayer.e.js",
|
|
56
|
+
"theoplayer.p.js",
|
|
57
|
+
"THEOplayer*.d.ts",
|
|
58
|
+
"THEOplayer.transmux.js",
|
|
59
|
+
"THEOplayer.transmux.asmjs.js",
|
|
60
|
+
"THEOplayer.transmux.wasm",
|
|
61
|
+
"ui.css",
|
|
62
|
+
"iframe.html"
|
|
63
|
+
],
|
|
64
|
+
"keywords": [
|
|
65
|
+
"HTML5 video player",
|
|
66
|
+
"THEOplayer"
|
|
67
|
+
]
|
|
68
|
+
}
|
package/theoplayer.d.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
THEOplayer
|
|
3
|
+
|
|
4
|
+
Usage of this software is limited by the THEOplayer License.
|
|
5
|
+
|
|
6
|
+
It is prohibited to reverse engineer, decompile, translate,
|
|
7
|
+
disassemble, decipher, decrypt, or otherwise attempt to
|
|
8
|
+
discover the source code of this software.
|
|
9
|
+
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
11
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
12
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
13
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
14
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
15
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
16
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
17
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
18
|
+
|
|
19
|
+
For more information, visit https://www.theoplayer.com or contact
|
|
20
|
+
contact @ theoplayer . com
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
THEOplayer is based on patented technology developed by
|
|
26
|
+
THEO Technologies (https://www.theoplayer.com).
|
|
27
|
+
|
|
28
|
+
Version: 7.10.0
|
|
29
|
+
Created: 2024-08-13T09:50:33.155Z
|
|
30
|
+
*/
|
|
31
|
+
!function(t){"use strict";var n,r,i=t.window,e=t.document,u=(t.location,t.navigator),o=t.setTimeout,f=t.clearTimeout,s=t.setInterval,c=t.clearInterval,h=t.Error,a=t.TypeError,l=(t.SyntaxError,t.Object),v=t.Math,y=t.parseInt,d=t.parseFloat,w=t.isNaN,_=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;"function"==typeof Symbol&&Symbol.iterator?n=Symbol:(r=0,(n=function(t){return"ttn"+t+"_"+ ++r}).iterator=n("Symbol.iterator"));var g=o;function p(t){return Boolean(t&&void 0!==t.length)}function k(){}function S(t){if(!(this instanceof S))throw new a("Promises must be constructed via new");if("function"!=typeof t)throw new a("not a function");this.ja=0,this.ntn=!1,this.hMt=void 0,this.itn=[],R(t,this)}function I(t,n){for(;3===t.ja;)t=t.hMt;0!==t.ja?(t.ntn=!0,S.rtn((function(){var r=1===t.ja?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.hMt)}catch(t){return void m(n.promise,t)}b(n.promise,i)}else(1===t.ja?b:m)(n.promise,t.hMt)}))):t.itn.push(n)}function b(t,n){try{if(n===t)throw new a("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var r=n.then;if(n instanceof S)return t.ja=3,t.hMt=n,void A(t);if("function"==typeof r)return void R(function(t,n){return function(){t.apply(n,arguments)}}(r,n),t)}t.ja=1,t.hMt=n,A(t)}catch(n){m(t,n)}}function m(t,n){t.ja=2,t.hMt=n,A(t)}function A(t){2===t.ja&&0===t.itn.length&&S.rtn((function(){t.ntn||S.etn(t.hMt)}));for(var n=0,r=t.itn.length;n<r;n++)I(t,t.itn[n]);t.itn=null}function E(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function R(t,n){var r=!1;try{t((function(t){r||(r=!0,b(n,t))}),(function(t){r||(r=!0,m(n,t))}))}catch(t){if(r)return;r=!0,m(n,t)}}S.prototype.catch=function(t){return this.then(null,t)},S.prototype.then=function(t,n){var r=new this.constructor(k);return I(this,new E(t,n,r)),r},S.prototype.finally=function(t){var n=this.constructor;return this.then((function(r){return n.resolve(t()).then((function(){return r}))}),(function(r){return n.resolve(t()).then((function(){return n.reject(r)}))}))},S.all=function(t){return new S((function(n,r){if(!p(t))return r(new a("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,(function(n){u(t,n)}),r)}i[t]=o,0==--e&&n(i)}catch(t){r(t)}}for(var o=0;o<i.length;o++)u(o,i[o])}))},S.allSettled=function(t){return new this((function(r,i){if(!t||void 0===t.length)return i(new a((void 0===t?"undefined":function(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var e=Array.prototype.slice.call(t);if(0===e.length)return r([]);var u=e.length;function o(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var i=n.then;if("function"==typeof i)return void i.call(n,(function(n){o(t,n)}),(function(n){e[t]={status:"rejected",reason:n},0==--u&&r(e)}))}e[t]={status:"fulfilled",value:n},0==--u&&r(e)}for(var f=0;f<e.length;f++)o(f,e[f])}))},S.resolve=function(t){return t&&"object"==typeof t&&t.constructor===S?t:new S((function(n){n(t)}))},S.reject=function(t){return new S((function(n,r){r(t)}))},S.race=function(t){return new S((function(n,r){if(!p(t))return r(new a("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)S.resolve(t[i]).then(n,r)}))},S.rtn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){g(t,0)},S.etn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var O=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),D=u?u.userAgent:"",T=D.match(/Firefox\/([0-9]+)/i),P=null!=T,N=T?Number(T[1]):0,F=D.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),C=null!=F,W=F?Number(F[3]):0,j=function(){function t(t){this.iL=0,this.ZY=0,this.YL=[],this.utn=t}return t.prototype.stn=function(t){var n=this.length();this.otn(n+1);var r=this.ZY+n&this.utn-1;this.YL[r]=t,this.iL=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.utn<n)this.stn(t);else{var r=this.ZY+n-1,i=this.utn-1;this.YL[r&i]=t,this.iL=n}},t.prototype.shift=function(){var t=this.ZY,n=this.YL[t];return this.YL[t]=void 0,this.ZY=t+1&this.utn-1,this.iL--,n},t.prototype.length=function(){return this.iL},t.prototype.otn=function(t){this.utn<t&&this.ctn(this.utn<<1)},t.prototype.ctn=function(t){var n=this.utn;this.utn=t;var r=this.ZY+this.iL&n-1;!function(t,n,r,i){for(var e=0;e<i;++e)t[e+r]=t[e+n],t[e+n]=void 0}(this.YL,0,n,r)},t}();var M="unhandledrejection",B=self.PromiseRejectionEvent,U=self.CustomEvent;function L(t){return new B(M,{reason:t,promise:O.reject(t).catch((function(){})),cancelable:!0})}function V(t){var n=new U(M,{detail:{reason:t},cancelable:!0});return l.defineProperty(n,"reason",{value:t}),n}function x(t){var n=e.createEvent("CustomEvent");return n.initCustomEvent(M,!1,!0,{reason:t}),n}var H,G,z,K,X,$,q,Z,J,Y=function(t){return Y=function(){try{var t=O.resolve(),n="error",r=new B(M,{reason:n,promise:t});return M===r.type&&n===r.reason}catch(t){}return!1}()?L:function(){try{var t="error",n=new U(M,{detail:{reason:t}});return M===n.type&&t===n.detail.reason}catch(t){}return!1}()?V:x,Y(t)};function Q(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),l.defineProperty(t,i.key,i)}}function tt(t,n,r){return n&&Q(t.prototype,n),r&&Q(t,r),t}function nt(t,n){return nt=l.setPrototypeOf||function(t,n){return t.__proto__=n,t},nt(t,n)}function rt(t,n){if("function"!=typeof n&&null!==n)throw new a("Super expression must either be null or a function");t.prototype=l.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&nt(t,n)}function it(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,i=new Array(n);r<n;r++)i[r]=t[r];return i}function et(t,n){if(t){if("string"==typeof t)return it(t,n);var r=l.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?it(t,n):void 0}}function ut(t){return function(t){if(Array.isArray(t))return it(t)}(t)||function(t){if(void 0!==n&&null!=t[n.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||et(t)||function(){throw new a("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}O&&!(P&&N<60||C&&W<15)?G=O:(G=S,q=null!==(H=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=O;if(n&&"function"==typeof n.resolve){var r=n.resolve();return function(t){return r.then(t)}}}())&&void 0!==H?H:S.rtn,z=q,K=new j(16),X=!1,(Z={Z1:function(t){K.push(t),X||(X=!0,z($))},RF:$=function(){for(;K.length()>0;)K.shift()();X=!1}}).RF,S.rtn=Z.Z1,S.etn=function(t){try{var n=Y(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}o((function(){throw new h("Unhandled promise rejection: ".concat(t))}),0)}),function(t){t.SI="web",t.II="android",t.EI="android-tv",t.bI="ios",t.LI="tvos",t.kI="chromecast",t.CI="theoliveweb"}(J||(J={}));var ot=u?u.userAgent:"",ft=ot.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),st=ot.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),ct=ot.match(/Android ([0-9\.]+)/i),ht=ot.match(/Windows NT ([0-9\.]+)/i),at=ot.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),lt=ot.match(/Firefox\/([0-9\.]+)/i),vt=ot.match(/OPR\/(\d+\.\d+)/i),yt=ot.match(/Tizen ([0-9\.]+)/i),dt=ot.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),wt=function(){function t(){this.xI=Boolean("ontouchstart"in self||self.DocumentTouch&&e instanceof self.DocumentTouch||u&&u.msMaxTouchPoints),this.jI=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(ot)||/(macintosh|mac(?=_powerpc)\s)/i.test(ot),this.BI=/Windows NT/i.test(ot),this.UI=ht?d(ht[1]):0,this.FI=/Android/i.test(ot),this.GI=ct?d(ct[1]):0,this.WI=/windows phone (8|8\.1)/i.test(ot),this.qI=/iPhone/i.test(ot),this.ZI=/iPad/i.test(ot),this.JI=this.jI&&this.xI&&!this.ZI,this.tE=/iPod/i.test(ot),this.oE=/Mobile Safari/i.test(ot),this.rE=/EOS\d*STB/i.test(ot),this.hE=/APP\d*STB/i.test(ot),this.iE=(this.qI||this.ZI||this.JI||this.tE)&&!this.WI,this.sE=dt?d(dt[2]):0,this.aE=this.WI||this.iE||this.FI||this.oE,this.cE=/CriOS/i.test(ot),this.lE=Boolean(self.chrome&&/google/i.test(u.vendor))||this.cE,this.AE=this.lE&&/Edg\//i.test(u.userAgent),this.mE=st?y(st[1],10):0,this.pb=Boolean(self.chrome||/Chrome/i.test(ot)||/CriOS/i.test(ot)),this.gE=ft?y(ft[1],10):0,this.yE=/SMART-TV.*Tizen/i.test(ot),this.TE=yt?d(yt[1]):0,this._E=this.TE>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.TE):void 0,this.DE=/webos|web0s/i.test(ot),this.EE=/VIZIO/i.test(ot),this.LE=/Edge\/\d+/i.test(ot),this.CE=/Trident/i.test(ot),this.OE=this.CE&&!self.ActiveXObject&&"ActiveXObject"in self,this.zE=/Vivaldi/i.test(ot),this.BE=/Firefox/i.test(ot)&&!/Seamonkey/i.test(ot),this.UE=lt?d(lt[1]):0,this.FE=/Safari/i.test(ot)&&!/Chrome/i.test(ot)&&!this.WI&&!this.yE,this.GE=at?d(at[2]):0,this.WE=Boolean(vt),this.qE=vt?d(vt[1]):0,this.ZE=/CrKey/.test(ot),this.JE=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(ot),this.eb="web"===J.EI,this.hb="web"===J.II,this.ub=this.hb||this.eb,this._b="web"===J.bI,this.wb="web"===J.LI,this.vb="web"===J.kI}return tt(t,[{key:"Je",get:function(){return this.xI}},{key:"OI",get:function(){return this.jI}},{key:"zI",get:function(){return this.BI}},{key:"RI",get:function(){return this.UI}},{key:"QI",get:function(){return this.FI}},{key:"YI",get:function(){return this.GI}},{key:"VI",get:function(){return this.WI}},{key:"HI",get:function(){return this.qI}},{key:"XI",get:function(){return this.ZI}},{key:"KI",get:function(){return this.JI}},{key:"$I",get:function(){return this.tE}},{key:"Ga",get:function(){return this.iE}},{key:"eE",get:function(){return this.sE}},{key:"nE",get:function(){return this.rE||this.hE}},{key:"td",get:function(){return this.oE}},{key:"Qs",get:function(){return this.aE}},{key:"uE",get:function(){return this.cE}},{key:"dE",get:function(){return this.lE}},{key:"fE",get:function(){var t;return null!=(t=this._E)?t:this.gE}},{key:"wE",get:function(){return this.AE}},{key:"vE",get:function(){return this.mE}},{key:"pE",get:function(){return this.yE}},{key:"ME",get:function(){return this.TE}},{key:"NE",get:function(){return this.DE}},{key:"SE",get:function(){return this.EE}},{key:"bE",get:function(){return this.LE}},{key:"kE",get:function(){return this.CE}},{key:"xE",get:function(){return this.OE}},{key:"jE",get:function(){return this.zE}},{key:"PE",get:function(){return this.BE}},{key:"RE",get:function(){return this.UE}},{key:"QE",get:function(){return this.FE}},{key:"YE",get:function(){return this.GE}},{key:"VE",get:function(){return this.WE}},{key:"HE",get:function(){return this.qE}},{key:"XE",get:function(){return this.ZE}},{key:"KE",get:function(){return this.JE}},{key:"$E",get:function(){return!(!this.NE&&!this.pE)&&this.fE<=56}},{key:"ib",get:function(){return this.eb}},{key:"sb",get:function(){return this.hb}},{key:"ob",get:function(){return this.ub}},{key:"fb",get:function(){return this._b}},{key:"gb",get:function(){return this.wb}},{key:"Ab",get:function(){return this.vb}},{key:"mb",get:function(){return this.pb}}]),t}();wt.yb=new wt;var _t=wt.yb,gt={}.toString;function pt(t){return null!=t}Array.isArray;function kt(t){return"object"==typeof t&&null!==t}function St(t){return function(t){return"function"==typeof t}(t)||kt(t)}var It=function(){},bt=!(_t.kE&&!_t.xE),mt=self.console;function At(t){if(kt(t))try{return JSON.stringify(t)}catch(t){}return t}function Et(t){return t.map(At).join(" ")}function Rt(t){var n=mt&&mt[t];return n?n.bind&&bt?n.bind(mt):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];mt[t](Et(r))}:void 0}var Ot=Rt("log")||It,Dt=Rt("warn")||Ot.bind(void 0,"WARNING:"),Tt=Rt("error")||Ot.bind(void 0,"ERROR:"),Pt=function(){var t=mt&&mt.assert;return t?t.bind&&bt?t.bind(mt):function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];mt.assert(t,Et(r))}:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t||Tt.apply(void 0,["Assertion failed:"].concat(ut(r)))}}(),Nt=null;try{Nt=new WebAssembly.Instance(new WebAssembly.Module(new _([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(z){}function Ft(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function Ct(t){return!0===(t&&t.Im)}function Wt(t){var n=v.clz32(t&-t);return t?31-n:n}Ft.prototype.Im,l.defineProperty(Ft.prototype,"Im",{value:!0}),Ft.isLong=Ct;var jt={},Mt={};function Bt(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=Mt[t])?i:(r=Lt(t,0,!0),e&&(Mt[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=jt[t])?i:(r=Lt(t,t<0?-1:0,!1),e&&(jt[t]=r),r)}function Ut(t,n){if(w(t))return n?qt:$t;if(n){if(t<0)return qt;if(t>=zt)return tn}else{if(t<=-Kt)return nn;if(t+1>=Kt)return Qt}return t<0?Ut(-t,n).neg():Lt(t%Gt|0,t/Gt|0,n)}function Lt(t,n,r){return new Ft(t,n,r)}Ft.fromInt=Bt,Ft.fromNumber=Ut,Ft.fromBits=Lt;var Vt=v.pow;function xt(t,n,r){if(0===t.length)throw h("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?qt:$t;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw h("interior hyphen");if(0===i)return xt(t.substring(1),n,r).neg();for(var e=Ut(Vt(r,8)),u=$t,o=0;o<t.length;o+=8){var f=v.min(8,t.length-o),s=y(t.substring(o,o+f),r);if(f<8){var c=Ut(Vt(r,f));u=u.mul(c).add(Ut(s))}else u=(u=u.mul(e)).add(Ut(s))}return u.unsigned=n,u}function Ht(t,n){return"number"==typeof t?Ut(t,n):"string"==typeof t?xt(t,n):Lt(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Ft.fromString=xt,Ft.fromValue=Ht;var Gt=4294967296,zt=Gt*Gt,Kt=zt/2,Xt=Bt(1<<24),$t=Bt(0);Ft.ZERO=$t;var qt=Bt(0,!0);Ft.UZERO=qt;var Zt=Bt(1);Ft.ONE=Zt;var Jt=Bt(1,!0);Ft.UONE=Jt;var Yt=Bt(-1);Ft.NEG_ONE=Yt;var Qt=Lt(-1,2147483647,!1);Ft.MAX_VALUE=Qt;var tn=Lt(-1,-1,!0);Ft.MAX_UNSIGNED_VALUE=tn;var nn=Lt(0,-2147483648,!1);Ft.MIN_VALUE=nn;var rn=Ft.prototype;rn.toInt=function(){return this.unsigned?this.low>>>0:this.low},rn.toNumber=function(){return this.unsigned?(this.high>>>0)*Gt+(this.low>>>0):this.high*Gt+(this.low>>>0)},rn.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(nn)){var n=Ut(t),r=this.div(n),i=r.mul(n).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=Ut(Vt(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}},rn.getHighBits=function(){return this.high},rn.getHighBitsUnsigned=function(){return this.high>>>0},rn.getLowBits=function(){return this.low},rn.getLowBitsUnsigned=function(){return this.low>>>0},rn.getNumBitsAbs=function(){if(this.isNegative())return this.eq(nn)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;n>0&&0==(t&1<<n);n--);return 0!=this.high?n+33:n+1},rn.isZero=function(){return 0===this.high&&0===this.low},rn.eqz=rn.isZero,rn.isNegative=function(){return!this.unsigned&&this.high<0},rn.isPositive=function(){return this.unsigned||this.high>=0},rn.isOdd=function(){return 1==(1&this.low)},rn.isEven=function(){return 0==(1&this.low)},rn.equals=function(t){return Ct(t)||(t=Ht(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},rn.eq=rn.equals,rn.notEquals=function(t){return!this.eq(t)},rn.neq=rn.notEquals,rn.ne=rn.notEquals,rn.lessThan=function(t){return this.comp(t)<0},rn.lt=rn.lessThan,rn.lessThanOrEqual=function(t){return this.comp(t)<=0},rn.lte=rn.lessThanOrEqual,rn.le=rn.lessThanOrEqual,rn.greaterThan=function(t){return this.comp(t)>0},rn.gt=rn.greaterThan,rn.greaterThanOrEqual=function(t){return this.comp(t)>=0},rn.gte=rn.greaterThanOrEqual,rn.ge=rn.greaterThanOrEqual,rn.compare=function(t){if(Ct(t)||(t=Ht(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},rn.comp=rn.compare,rn.negate=function(){return!this.unsigned&&this.eq(nn)?nn:this.not().add(Zt)},rn.neg=rn.negate,rn.add=function(t){Ct(t)||(t=Ht(t));var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,c=0,h=0,a=0;return h+=(a+=e+(65535&t.low))>>>16,c+=(h+=i+f)>>>16,s+=(c+=r+o)>>>16,s+=n+u,Lt((h&=65535)<<16|(a&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},rn.subtract=function(t){return Ct(t)||(t=Ht(t)),this.add(t.neg())},rn.sub=rn.subtract,rn.multiply=function(t){if(this.isZero())return this;if(Ct(t)||(t=Ht(t)),Nt)return Lt(Nt.mul(this.low,this.high,t.low,t.high),Nt.get_high(),this.unsigned);if(t.isZero())return this.unsigned?qt:$t;if(this.eq(nn))return t.isOdd()?nn:$t;if(t.eq(nn))return this.isOdd()?nn:$t;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(Xt)&&t.lt(Xt))return Ut(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,r=65535&this.high,i=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,c=0,h=0,a=0,l=0;return a+=(l+=e*s)>>>16,h+=(a+=i*s)>>>16,a&=65535,h+=(a+=e*f)>>>16,c+=(h+=r*s)>>>16,h&=65535,c+=(h+=i*f)>>>16,h&=65535,c+=(h+=e*o)>>>16,c+=n*s+r*f+i*o+e*u,Lt((a&=65535)<<16|(l&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},rn.mul=rn.multiply,rn.divide=function(t){if(Ct(t)||(t=Ht(t)),t.isZero())throw h("division by zero");var n,r,i;if(Nt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?Lt((this.unsigned?Nt.div_u:Nt.div_s)(this.low,this.high,t.low,t.high),Nt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?qt:$t;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return qt;if(t.gt(this.shru(1)))return Jt;i=qt}else{if(this.eq(nn))return t.eq(Zt)||t.eq(Yt)?nn:t.eq(nn)?Zt:(n=this.shr(1).div(t).shl(1)).eq($t)?t.isNegative()?Zt:Yt:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(nn))return this.unsigned?qt:$t;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();i=$t}for(r=this;r.gte(t);){n=v.max(1,v.floor(r.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:Vt(2,e-48),o=Ut(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=Ut(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=Zt),i=i.add(o),r=r.sub(f)}return i},rn.div=rn.divide,rn.modulo=function(t){return Ct(t)||(t=Ht(t)),Nt?Lt((this.unsigned?Nt.rem_u:Nt.rem_s)(this.low,this.high,t.low,t.high),Nt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},rn.mod=rn.modulo,rn.rem=rn.modulo,rn.not=function(){return Lt(~this.low,~this.high,this.unsigned)},rn.countLeadingZeros=function(){return this.high?v.clz32(this.high):v.clz32(this.low)+32},rn.clz=rn.countLeadingZeros,rn.countTrailingZeros=function(){return this.low?Wt(this.low):Wt(this.high)+32},rn.ctz=rn.countTrailingZeros,rn.and=function(t){return Ct(t)||(t=Ht(t)),Lt(this.low&t.low,this.high&t.high,this.unsigned)},rn.or=function(t){return Ct(t)||(t=Ht(t)),Lt(this.low|t.low,this.high|t.high,this.unsigned)},rn.xor=function(t){return Ct(t)||(t=Ht(t)),Lt(this.low^t.low,this.high^t.high,this.unsigned)},rn.shiftLeft=function(t){return Ct(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Lt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Lt(0,this.low<<t-32,this.unsigned)},rn.shl=rn.shiftLeft,rn.shiftRight=function(t){return Ct(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Lt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Lt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},rn.shr=rn.shiftRight,rn.shiftRightUnsigned=function(t){return Ct(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Lt(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):Lt(32===t?this.high:this.high>>>t-32,0,this.unsigned)},rn.shru=rn.shiftRightUnsigned,rn.shr_u=rn.shiftRightUnsigned,rn.rotateLeft=function(t){var n;return Ct(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Lt(this.high,this.low,this.unsigned):t<32?(n=32-t,Lt(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),Lt(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},rn.rotl=rn.rotateLeft,rn.rotateRight=function(t){var n;return Ct(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Lt(this.high,this.low,this.unsigned):t<32?(n=32-t,Lt(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),Lt(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},rn.rotr=rn.rotateRight,rn.toSigned=function(){return this.unsigned?Lt(this.low,this.high,!1):this},rn.toUnsigned=function(){return this.unsigned?this:Lt(this.low,this.high,!0)},rn.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},rn.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]},rn.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]},Ft.fromBytes=function(t,n,r){return r?Ft.fromBytesLE(t,n):Ft.fromBytesBE(t,n)},Ft.fromBytesLE=function(t,n){return new Ft(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Ft.fromBytesBE=function(t,n){return new Ft(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var en=Ft;v.pow(2,-52);function un(){return Date.now()||(new Date).getTime()}en.fromNumber(9007199254740991);function on(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),l.defineProperty(t,i.key,i)}}function fn(t,n){var r=function(t,n){var r=t.length;if(r<=1)return t;for(var i=new Array(r),e=1;e<r;e*=2){sn(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&sn(r,null,t.length,t),t}function sn(t,n,r,i){var e,u,o,f,s,c=t.length,h=0,a=2*r;for(e=0;e<c;e+=a)for(o=(u=e+r)+r,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?i[h++]=t[f++]:i[h++]=t[s++];else if(f<u)i[h++]=t[f++];else{if(!(s<o))break;i[h++]=t[s++]}}var cn=/[a-zA-Z]/,hn=/[0-9]/,an=/[0-9a-fA-F]/,ln=/^0x/i,vn=/^[0-9]+$/,yn=/^[0-9a-fA-F]+$/,dn=/^[0-7]+$/,wn=l.prototype.toString,_n=Array.isArray||function(t){return"[object Array]"===wn.call(t)},gn=void 0!==n&&"symbol"==typeof n.iterator;function pn(t){return _n(t)?t:Array.from(t)}function kn(t,n,r){var i=t[n];t[n]=t[r],t[r]=i}function Sn(t){return t>=65&&t<=90}function In(t){return Sn(t)||function(t){return t>=97&&t<=122}(t)}function bn(t){return t>=48&&t<=57}function mn(t){return bn(t)||In(t)}function An(t){return bn(t)||t>=65&&t<=70||t>=97&&t<=102}function En(t){return Sn(t)?t+32:t}function Rn(t){return bn(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function On(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var Dn=v.min,Tn=String.fromCharCode,Pn=16384;function Nn(t){for(var n=t.length,r=[],i=0;i<n;i+=Pn){var e=Dn(i+Pn,n);r.push(Tn.apply(null,t.slice(i,e)))}return r.join("")}var Fn=2147483647,Cn=/[^\0-\x7E]/,Wn=/[\x2E\u3002\uFF0E\uFF61]/g,jn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Mn=v.floor,Bn=String.fromCharCode;function Un(t){throw new RangeError(jn[t])}function Ln(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var Vn,xn,Hn,Gn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},zn=function(t,n,r){var i=0;for(t=r?Mn(t/700):t>>1,t+=Mn(t/n);t>455;i+=36)t=Mn(t/35);return Mn(i+36*t/(t+38))},Kn=function(t){return function(t,n){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]);var e=function(t,n){for(var r=[],i=t.length;i--;)r[i]=n(t[i]);return r}((t=t.replace(Wn,".")).split("."),n).join(".");return i+e}(t,(function(t){return Cn.test(t)?"xn--"+function(t){for(var n=[],r=(t=Ln(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(Bn(s))}var c=n.length,h=c;for(c&&n.push("-");h<r;){for(var a=Fn,l=0,v=t;l<v.length;l++){var y=v[l];y>=i&&y<a&&(a=y)}var d=h+1;a-i>Mn((Fn-e)/d)&&Un("overflow"),e+=(a-i)*d,i=a;for(var w=0,_=t;w<_.length;w++){var g=_[w];if(g<i&&++e>Fn&&Un("overflow"),g==i){for(var p=e,k=36;;k+=36){var S=k<=u?1:k>=u+26?26:k-u;if(p<S)break;var I=p-S,b=36-S;n.push(Bn(Gn(S+I%b,0))),p=Mn(I/b)}n.push(Bn(Gn(p,0))),u=zn(e,d,h==c),e=0,++h}}++e,++i}return n.join("")}(t):t}))};function Xn(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i)}return Nn(n)}function $n(t){if(t>=55296&&t<=57343)throw new h("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function qn(t,n){return t>>n&63|128}function Zn(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?($n(t),n.push(t>>12&15|224),n.push(qn(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(qn(t,12)),n.push(qn(t,6))),n.push(63&t|128)):n.push(t)}function Jn(t){for(var n=[],r=0;r<t.length;r++){Zn(t[r],n)}return n}function Yn(){if(Hn>=xn)throw new h("Invalid byte index");var t=255&Vn[Hn];if(Hn++,128==(192&t))return 63&t;throw new h("Invalid continuation byte")}function Qn(){var t,n;if(Hn>xn)throw new h("Invalid byte index");if(Hn===xn)return!1;if(t=255&Vn[Hn],Hn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Yn())>=128)return n;throw new h("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Yn()<<6|Yn())>=2048)return $n(n),n;throw new h("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Yn()<<12|Yn()<<6|Yn())>=65536&&n<=1114111)return n;throw new h("Invalid UTF-8 detected")}function tr(t){return[37,On(t>>4),On(15&t)]}function nr(t){return function(t){return t>=0&&t<=31}(t)||t>126}function rr(t){return nr(t)||32===t||34===t||60===t||62===t||96===t}function ir(t){return rr(t)||35===t||63===t||123===t||125===t}function er(t){return ir(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function ur(t){return t<33||t>126||34===t||35===t||60===t||62===t}function or(t){return ur(t)||39===t}function fr(t,n){if(!n(t))return[t];for(var r=Jn([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,tr(u))}return i}function sr(t,n){for(var r=[],i=0,e=Ln(t);i<e.length;i++){var u=e[i];r.push.apply(r,fr(u,n))}return Xn(r)}function cr(t){return function(t){for(var n=[],r=t.length,i=0;i<r;i++){var e=t[i];if(37===e&&i+2<r&&An(t[i+1])&&An(t[i+2])){var u=Rn(t[i+1])<<4|Rn(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Jn(t))}function hr(t){return Xn(function(t){Vn=t.slice(),xn=Vn.length,Hn=0;for(var n,r=[];!1!==(n=Qn());)r.push(n);return r}(cr(Ln(t))))}function ar(t){var n=t.length,r=[0,0,0,0,0,0,0,0],i=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new a;u+=2,e=i+=1}for(;u<n;){if(8===i)throw new a("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&an.test(t[u]);)o=o<<4|y(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new a;if(u-=f,i>6)throw new a;for(var s=0;u<n;){var c=null;if(s>0){if(!("."===t[u]&&s<4))throw new a;u+=1}if(!hn.test(t[u]))throw new a;for(;u<n&&hn.test(t[u]);){var h=y(t[u],10);if(null===c)c=h;else{if(0===c)throw new a;if((c=10*c+h)>255)throw new a}u+=1}r[i]=r[i]<<8|c,2!==(s+=1)&&4!==s||(i+=1)}if(4!==s)throw new a;break}if(":"===t[u]){if((u+=1)===n)throw new a}else if(u<n)throw new a;r[i]=o,i+=1}else{if(null!==e)throw new a("Too many :: groups");u+=1,e=i+=1}}if(null!==e){var l=i-e;for(i=7;0!==i&&l>0;)kn(r,i,e+l-1),i-=1,l-=1}else if(8!==i)throw new a;return r}function lr(t){var n=10,r=vn;return ln.test(t)?(t=t.slice(2),n=16,r=yn):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=dn),""===t?0:r.test(t)?y(t,n):void 0}var vr={F0:4},yr=/[\0\t\n\r #%/:?@\[\\\]]/,dr=/[\0\t\n\r #/:?@\[\\\]]/;function wr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new a("Invalid IPv6 address");return{F0:2,Stt:ar(t.slice(1,-1))}}if(!n)return function(t){if(dr.test(t))throw new a("Invalid code point in opaque host");var n=sr(t,nr);return""===n?vr:{F0:3,YL:n}}(t);var r=function(t){var n=function(t){return Kn(t.toLowerCase())}(t);return n}(hr(t));if(yr.test(r))throw new a("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=lr(e);if(void 0===u)return;r.push(u)}for(var o=0;o<r.length-1;o++)if(r[o]>255)throw new a;if(r[r.length-1]>=v.pow(256,5-r.length))throw new a;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*v.pow(256,3-s);return f}}(r);return void 0!==i?{F0:1,Stt:i}:""===r?vr:{F0:0,Itt:r}}function _r(t){switch(t.F0){case 0:return t.Itt;case 1:return function(t){for(var n=[],r=t,i=1;i<=4;i++)n.push(""+(255&r)),4!==i&&n.push("."),r>>>=8;return n.reverse().join("")}(t.Stt);case 2:return"["+function(t){for(var n="",r=function(t){for(var n=0,r=0,i=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(i=u),e++):(e>r&&(n=i,r=e),e=0);return e>r&&(n=i,r=e),r>1?n:null}(t),i=!1,e=0;e<8;e++){if(i){if(0===t[e])continue;i=!1}r!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",i=!0)}return n}(t.Stt)+"]";case 3:return t.YL;case 4:return""}}var gr=/\+/g;function pr(t){return 42===t||45===t||46===t||95===t||mn(t)}function kr(t){for(var n=t.split("&"),r=[],i=0;i<n.length;i++){var e=n[i];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(gr," "),f=f.replace(gr," ");var s=hr(o),c=hr(f);r.push([s,c])}}return r}function Sr(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=Ir(Jn(Ln(i[0])))+"="+Ir(Jn(Ln(i[1])))}return n}function Ir(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];32===i?n.push(43):pr(i)?n.push(i):n.push.apply(n,tr(i))}return Nn(n)}var br=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function mr(t){var n=""+t,r=br.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(Er(u))if(Rr(u)||e===r-1)i.push(Ar);else{var o=t.charCodeAt(e+1);Rr(o)?(i.push(u,o),e++):i.push(Ar)}else i.push(u)}return t.slice(0,n)+Nn(i)}(n,r.index):n}var Ar=65533,Er=function(t){return 55296==(63488&t)},Rr=function(t){return 0!=(1024&t)};function Or(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function Dr(t){t.Ett.length=0}function Tr(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t.Ett,kr(n))}function Pr(t){if(t.Ju){var n=Sr(t.Ett);""===n&&(n=null),t.Ju.Ju.btt=n}}var Nr=function(){function t(t){if(void 0===t&&(t=void 0),this.Ju=null,null==t)this.Ett=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof Nr&&!!_n(t.Ett)&&(!gn||t[n.iterator]===Fr)}(t))this.Ett=t.Ett.slice();else if(function(t){return null!=t&&(!!_n(t)||!!gn&&"function"==typeof t[n.iterator])}(t)){this.Ett=[];for(var r=0,i=pn(t);r<i.length;r++){var e=pn(i[r]);if(2!==e.length)throw new a("Invalid name-value pair");this.Ett.push([mr(e[0]),mr(e[1])])}}else for(var u in this.Ett=[],t)l.prototype.hasOwnProperty.call(t,u)&&this.Ett.push([mr(u),mr(t[u])]);else(t=mr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Ett=kr(t)}var r=t.prototype;return r.append=function(t,n){t=mr(t),n=mr(n),this.Ett.push([t,n]),Pr(this)},r.delete=function(t){t=mr(t);for(var n=this.Ett,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}Pr(this)},r.get=function(t){t=mr(t);for(var n=this.Ett,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},r.getAll=function(t){t=mr(t);for(var n=this.Ett,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},r.has=function(t){t=mr(t);for(var n=this.Ett,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},r.set=function(t,n){t=mr(t),n=mr(n);for(var r=this.Ett,i=!1,e=0;e<r.length;){var u=r[e];u[0]===t?i?r.splice(e,1):(u[1]=n,i=!0,e++):e++}i||r.push([t,n]),Pr(this)},r.sort=function(){fn(this.Ett,Or),Pr(this)},r.toString=function(){return Sr(this.Ett)},r.entries=function(){return new Mr(this.Ett,Cr)},r.keys=function(){return new Mr(this.Ett,Wr)},r.values=function(){return new Mr(this.Ett,jr)},r.forEach=function(t){var n=this;this.Ett.forEach((function(r){return t(r[1],r[0],n)}))},t}(),Fr=Nr.prototype.entries;gn&&(Nr.prototype[n.iterator]=Fr);var Cr=function(t){return[t[0],t[1]]},Wr=function(t){return t[0]},jr=function(t){return t[1]},Mr=function(){function t(t,n){this.Ltt=0,this.Ett=t,this.ktt=n}return t.prototype.next=function(){return this.Ltt<this.Ett.length?{done:!1,value:this.ktt(this.Ett[this.Ltt++])}:{done:!0,value:void 0}},t}(),Br="null";var Ur=l.create(null);Ur.ftp=21,Ur.file=0,Ur.gopher=70,Ur.http=80,Ur.https=443,Ur.ws=80,Ur.wss=443;var Lr=/^(?:\.|%2e)$/i,Vr=/^(?:\.|%2e){2}$/i;function xr(t){return Lr.test(t)}function Hr(t){return Vr.test(t)}function Gr(t){return void 0!==Ur[t]}function zr(t){return Gr(t.Ej)}function Kr(t){return""!==t.Ctt||""!==t.xtt}function Xr(t){var n=t.length;if(!(n>=2))return!1;if(!qr(t.slice(0,2)))return!1;if(2!==n){var r=t[2];if(47!==r&&92!==r&&63!==r&&35!==r)return!1}return!0}function $r(t){return 2===t.length&&cn.test(t[0])&&(":"===t[1]||"|"===t[1])}function qr(t){return 2===t.length&&$r(Nn(t))}function Zr(t){return $r(t)&&":"===t[1]}function Jr(t){var n=t.Ott;0!==n.length&&("file"===t.Ej&&1===n.length&&Zr(n[0])||n.pop())}function Yr(t){return null===t.jtt||vr===t.jtt||t.ztt||"file"===t.Ej}var Qr=-1,ti=/\t|\n|\r/g,ni=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function ri(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new ei,t=t.replace(ni,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=Ln(t=t.replace(ti,"")),h=c.length,l=0;l<=h;){var v=l<h?c[l]:Qr;switch(e){case 0:if(!In(v)){if(null===i){u.length=0,e=2;continue}throw new a("Invalid scheme")}u.push(En(v)),e=1;break;case 1:if(mn(v)||43===v||45===v||46===v)u.push(En(v));else{if(58!==v){if(null===i){u.length=0,e=2,l=0;continue}throw new a("Invalid scheme")}var d=Xn(u);if(null!==i){if(Gr(r.Ej)&&!Gr(d))return;if(!Gr(r.Ej)&&Gr(d))return;if((Kr(r)||null!==r.z8)&&"file"===d)return;if("file"===r.Ej&&(r.jtt===vr||null===r.jtt))return}if(r.Ej=d,null!==i)return void(zr(r)&&r.z8===Ur[r.Ej]&&(r.z8=null));u.length=0,"file"===r.Ej?e=13:zr(r)&&n&&n.Ej===r.Ej?e=3:zr(r)?e=7:47===c[l+1]?(e=4,l+=1):(r.ztt=!0,r.Ott.push(""),e=18)}break;case 2:if(!n||n.ztt&&35!==v)throw new a("Invalid scheme");n.ztt&&35===v?(r.Ej=n.Ej,r.Ott=n.Ott.slice(),r.btt=n.btt,r.Ptt="",r.ztt=!0,e=20):"file"!==n.Ej?(e=5,l-=1):(e=13,l-=1);break;case 3:47===v&&47===c[l+1]?e=8:(e=5,l-=1);break;case 4:47===v?e=9:(e=17,l-=1);break;case 5:r.Ej=n.Ej,Qr===v?(r.Ctt=n.Ctt,r.xtt=n.xtt,r.jtt=n.jtt,r.z8=n.z8,r.Ott=n.Ott.slice(),r.btt=n.btt):47===v?e=6:63===v?(r.Ctt=n.Ctt,r.xtt=n.xtt,r.jtt=n.jtt,r.z8=n.z8,r.Ott=n.Ott.slice(),r.btt="",e=19):35===v?(r.Ctt=n.Ctt,r.xtt=n.xtt,r.jtt=n.jtt,r.z8=n.z8,r.Ott=n.Ott.slice(),r.btt=n.btt,r.Ptt="",e=20):92===v&&zr(r)?e=6:(r.Ctt=n.Ctt,r.xtt=n.xtt,r.jtt=n.jtt,r.z8=n.z8,r.Ott=n.Ott.slice(),r.Ott.pop(),e=17,l-=1);break;case 6:!zr(r)||47!==v&&92!==v?47===v?e=9:(r.Ctt=n.Ctt,r.xtt=n.xtt,r.jtt=n.jtt,r.z8=n.z8,e=17,l-=1):e=8;break;case 7:if(47!==v||47!==c[l+1]){e=8;continue}e=8,l+=1;break;case 8:47!==v&&92!==v&&(e=9,l-=1);break;case 9:if(64===v){o&&u.unshift(37,52,48),o=!0;for(var w=0;w<u.length;w++){var _=u[w];if(58!==_||s){var g=Xn(fr(_,er));s?r.xtt+=g:r.Ctt+=g}else s=!0}u.length=0}else if(Qr===v||47===v||63===v||35===v||zr(r)&&92===v){if(o&&0===u.length)throw new a("Invalid host");l-=u.length+1,u.length=0,e=10}else u.push(v);break;case 10:case 11:if(null!==i&&"file"===r.Ej)l-=1,e=15;else if(58!==v||f)if(Qr===v||47===v||63===v||35===v||zr(r)&&92===v){if(l-=1,zr(r)&&0===u.length)throw new a("Invalid host");if(null!==i&&0===u.length&&(Kr(r)||null!==r.z8))return;var p=wr(Xn(u),zr(r));if(r.jtt=p,u.length=0,e=16,null!==i)return}else 91===v?f=!0:93===v&&(f=!1),u.push(v);else{if(0===u.length)throw new a("Invalid host");var k=wr(Xn(u),zr(r));if(r.jtt=k,u.length=0,e=12,11===i)return}break;case 12:if(bn(v))u.push(v);else{if(!(Qr===v||47===v||63===v||35===v||zr(r)&&92===v||null!==i))throw new a("Invalid port");if(0!==u.length){var S=y(Xn(u),10);if(S>65535)throw new a("Invalid port");r.z8=S===Ur[r.Ej]?null:S,u.length=0}if(null!==i)return;e=16,l-=1}break;case 13:r.Ej="file",47===v||92===v?e=14:n&&"file"===n.Ej?Qr===v?(r.jtt=n.jtt,r.Ott=n.Ott.slice(),r.btt=n.btt):63===v?(r.jtt=n.jtt,r.Ott=n.Ott.slice(),r.btt="",e=19):35===v?(r.jtt=n.jtt,r.Ott=n.Ott.slice(),r.btt=n.btt,r.Ptt="",e=20):(Xr(c.slice(l))||(r.jtt=n.jtt,r.Ott=n.Ott.slice(),Jr(r)),e=17,l-=1):(e=17,l-=1);break;case 14:47===v||92===v?e=15:(n&&"file"===n.Ej&&!Xr(c.slice(l))&&(Zr(n.Ott[0])?r.Ott.push(n.Ott[0]):r.jtt=n.jtt),e=17,l-=1);break;case 15:if(Qr===v||47===v||92===v||63===v||35===v)if(l-=1,null===i&&qr(u))e=17;else if(0===u.length){if(r.jtt=vr,null!==i)return;e=16}else{var I=wr(Xn(u),zr(r));if(0===I.F0&&"localhost"===I.Itt&&(I=vr),r.jtt=I,null!==i)return;u.length=0,e=16}else u.push(v);break;case 16:zr(r)?(e=17,47!==v&&92!==v&&(l-=1)):null===i&&63===v?(r.btt="",e=19):null===i&&35===v?(r.Ptt="",e=20):Qr!==v&&(e=17,47!==v&&(l-=1));break;case 17:if(Qr===v||47===v||zr(r)&&92===v||null===i&&(63===v||35===v)){var b=Xn(u);if(Hr(b)?(Jr(r),47===v||zr(r)&&92===v||r.Ott.push("")):!xr(b)||47===v||zr(r)&&92===v?xr(b)||("file"===r.Ej&&0===r.Ott.length&&qr(u)&&(vr!==r.jtt&&null!==r.jtt&&(r.jtt=vr),u[1]=58,b=Xn(u)),r.Ott.push(b)):r.Ott.push(""),u.length=0,"file"===r.Ej&&(Qr===v||63===v||35===v))for(;r.Ott.length>1&&""===r.Ott[0];)r.Ott.shift();63===v?(r.btt="",e=19):35===v&&(r.Ptt="",e=20)}else u.push.apply(u,fr(v,ir));break;case 18:63===v?(r.btt="",e=19):35===v?(r.Ptt="",e=20):Qr!==v&&(r.Ott[0]+=Xn(fr(v,nr)));break;case 19:null===i&&35===v?(r.Ptt="",e=20):Qr!==v&&(r.btt+=Xn(fr(v,zr(r)?or:ur)));break;case 20:Qr===v||0===v||(r.Ptt+=Xn(fr(v,rr)))}l++}return r}function ii(t,n,r,i){try{ri(t,n,r,i)}catch(t){}}var ei=function(){this.Ej="",this.Ctt="",this.xtt="",this.jtt=null,this.z8=null,this.Ott=[],this.btt=null,this.Ptt=null,this.ztt=!1};function ui(t){switch(t.Ej){case"blob":var n;try{n=ri(t.Ott[0],null)}catch(t){return Br}return ui(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,r){return t+"://"+_r(n)+(null===r?"":":"+r)}(t.Ej,t.jtt,t.z8);default:return Br}}var oi,fi,si=function(){function t(t,n){var r,i=null;if(null!=n)if(function(t){return null!=t&&t instanceof si&&"object"==typeof t.Ju}(n))i=n.Ju;else try{i=ri(String(n),null)}catch(t){throw new a("Invalid base URL: "+t.message)}try{r=ri(String(t),i)}catch(t){throw new a("Invalid URL: "+t.message)}var e=r.btt;this.Ju=r,this.btt=function(t){var n=new Nr;return null!==t&&Tr(n,t),n}(e),this.btt.Ju=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,r){n&&on(t.prototype,n),r&&on(t,r)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.Ej+":";if(null!==t.jtt?(r+="//",Kr(t)&&(r+=t.Ctt,""!==t.xtt&&(r+=":"+t.xtt),r+="@"),r+=_r(t.jtt),null!==t.z8&&(r+=":"+t.z8)):null===t.jtt&&"file"===t.Ej&&(r+="//"),t.ztt)r+=t.Ott[0];else for(var i=0,e=t.Ott;i<e.length;i++)r+="/"+e[i];return null!==t.btt&&(r+="?"+t.btt),n||null===t.Ptt||(r+="#"+t.Ptt),r}(this.Ju)},set:function(t){var n;try{n=ri(String(t),null)}catch(t){throw new a("Invalid URL: "+t.message)}this.Ju=n,Dr(this.btt);var r=this.Ju.btt;null!==r&&Tr(this.btt,r)}},{key:"origin",get:function(){return ui(this.Ju)}},{key:"protocol",get:function(){return this.Ju.Ej+":"},set:function(t){ii(t+":",null,this.Ju,0)}},{key:"username",get:function(){return this.Ju.Ctt},set:function(t){Yr(this.Ju)||(this.Ju.Ctt=sr(t,er))}},{key:"password",get:function(){return this.Ju.xtt},set:function(t){Yr(this.Ju)||(this.Ju.xtt=sr(t,er))}},{key:"host",get:function(){var t=this.Ju,n=t.jtt;if(null===n)return"";var r=t.z8,i=_r(n);return null!==r&&(i+=":"+r),i},set:function(t){this.Ju.ztt||ii(t,null,this.Ju,10)}},{key:"hostname",get:function(){var t=this.Ju.jtt;return null===t?"":_r(t)},set:function(t){this.Ju.ztt||ii(t,null,this.Ju,11)}},{key:"port",get:function(){var t=this.Ju.z8;return null===t?"":""+t},set:function(t){Yr(this.Ju)||(""===t?this.Ju.z8=null:ii(t,null,this.Ju,12))}},{key:"pathname",get:function(){var t=this.Ju.Ott;return this.Ju.ztt?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.Ju.ztt||(this.Ju.Ott.length=0,ii(t,null,this.Ju,16))}},{key:"search",get:function(){var t=this.Ju.btt;return null===t||""===t?"":"?"+t},set:function(t){t=mr(t);var n=this.Ju;if(""===t)return n.btt=null,void Dr(this.btt);"?"===t[0]&&(t=t.slice(1)),n.btt="",ii(t,null,n,19),Tr(this.btt,t)}},{key:"searchParams",get:function(){return this.btt}},{key:"hash",get:function(){var t=this.Ju.Ptt;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.Ju.Ptt="",ii(t,null,this.Ju,20)):this.Ju.Ptt=null}}]),t}();function ci(t){return t.document&&t.document.baseURI||t.location.href||""}function hi(){return void 0!==e?e.createElement("video"):void 0}var ai=!!("ontouchstart"in self||self.DocumentTouch&&e instanceof self.DocumentTouch)||!(!u||!u.msMaxTouchPoints),li=(fi||(fi=hi()),fi),vi=!(!li||!li.webkitShowPlaybackTargetPicker),yi=function(){function t(){this.Rtt=void 0,this.Ztt=!1,this.Je=ai,this.Qs=!1,this.I9=!0}var n=t.prototype;return n.Utt=function(){return 0},n.qtt=function(t,n){return!0},n.Xtt=function(t){return t>=.3333333333333333},tt(t,[{key:"Btt",get:function(){return void 0===this.Rtt&&(this.Rtt=this.Utt()),this.Rtt}},{key:"Qtt",get:function(){return!_t.KE}},{key:"Ftt",get:function(){if(i.screen)return{width:i.screen.width,height:i.screen.height}}},{key:"c2",get:function(){return i.devicePixelRatio||1}},{key:"Ytt",get:function(){return vi}},{key:"V4",get:function(){return!1}},{key:"B4",get:function(){return!0}},{key:"_A",get:function(){return _t.QE||_t.Ga}},{key:"Gtt",get:function(){return!_t.Ga}},{key:"GO",get:function(){return!0}},{key:"wA",get:function(){return!0}},{key:"gA",get:function(){return!1}},{key:"Vtt",get:function(){}},{key:"Wtt",get:function(){return!0}},{key:"YJ",get:function(){return!1}},{key:"Htt",get:function(){return _t.SE}}]),t}(),di=function(){var t=hi();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(_t.KI)return!1;var t=hi();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var wi=function(t){function n(n){var r;return(r=t.call(this)||this).Ktt=n,r.Ktt&&(r.Ztt=r.Ktt.Ztt,r.Je=r.Ktt.Je,r.I9=di&&r.Ktt.I9),r}rt(n,t);var r=n.prototype;return r.Utt=function(){return this.Ktt?this.Ktt.Btt:t.prototype.Utt.call(this)},r.qtt=function(n,r){return this.Ktt?this.Ktt.qtt(n,r):t.prototype.qtt.call(this,n,r)},r.Xtt=function(n){return this.Ktt?this.Ktt.Xtt(n):t.prototype.Xtt.call(this,n)},tt(n,[{key:"Vtt",get:function(){var t;return null==(t=this.Ktt)?void 0:t.Vtt}},{key:"Wtt",get:function(){var t,n;return null==(n=null==(t=this.Ktt)?void 0:t.Wtt)||n}}]),n}(yi),_i=function(t){function n(n){var r;return(r=t.call(this,n)||this).Ztt=!0,r.Qs=!0,r}return rt(n,t),tt(n,[{key:"gA",get:function(){return _t.Ga}}]),n}(wi);var gi=function(t){function n(){return t.apply(this,arguments)}return rt(n,t),n.prototype.Utt=function(){return function(t){return t&&St(oi.ManagedMediaSource)?oi.ManagedMediaSource:St(oi.MediaSource)?oi.MediaSource:void 0}(!0)?t.prototype.Utt.call(this):1},tt(n,[{key:"gA",get:function(){return!0}}]),n}(_i),pi=function(t){function n(){return t.apply(this,arguments)}return rt(n,t),n.prototype.qtt=function(n,r){return t.prototype.qtt.call(this,n,r)},tt(n,[{key:"V4",get:function(){return _t.ME<3}},{key:"B4",get:function(){return _t.ME>=3}},{key:"Ftt",get:function(){var t=this;return i.tizen&&!this.Jtt&&i.tizen.systeminfo.getPropertyValue("DISPLAY",(function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t.Jtt={width:r,height:i})})),this.Jtt}},{key:"YJ",get:function(){return _t.ME<3}}]),n}(wi),ki=function(t){function n(){return t.call(this)}return rt(n,t),n}(yi),Si=function(t){function n(){return t.apply(this,arguments)}return rt(n,t),n.prototype.qtt=function(t,n){if(t&&t.$tt&&n&&n.$tt){var r=Ii(t.$tt,"mp4a.40.2")&&Ii(n.$tt,"mp4a.40.5"),i=Ii(t.$tt,"mp4a.40.5")&&Ii(n.$tt,"mp4a.40.2"),e=Ii(t.$tt,"mp4a.40.2")&&Ii(n.$tt,"mp4a.40.34"),u=Ii(t.$tt,"mp4a.40.34")&&Ii(n.$tt,"mp4a.40.2"),o=Ii(t.$tt,"mp4a.40.5")&&Ii(n.$tt,"mp4a.40.34"),f=Ii(t.$tt,"mp4a.40.34")&&Ii(n.$tt,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},tt(n,[{key:"Vtt",get:function(){if(_t.OI)return 4096}}]),n}(ki);function Ii(t,n){return t.indexOf(n)>-1}var bi=function(t){function n(){return t.apply(this,arguments)}return rt(n,t),n.prototype.Xtt=function(t){return t>=2},n}(ki),mi=function(t){function n(){var n;return(n=t.call(this)||this).Ztt=_t.YE>=11,n.I9=_t.QE&&!(_t.Ga&&_t.YE<10),n}return rt(n,t),n}(ki),Ai=function(t){function n(){return t.apply(this,arguments)}return rt(n,t),tt(n,[{key:"Ftt",get:function(){var t=this;return i.webOS&&!this.Jtt&&i.webOS.deviceInfo((function(n){t.Jtt={width:n.screenWidth,height:n.screenHeight}})),this.Jtt}},{key:"GO",get:function(){return!1}}]),n}(wi),Ei=function(t){function n(){return t.apply(this,arguments)}return rt(n,t),tt(n,[{key:"Wtt",get:function(){return!_t.zI||(_t.wE?92!==_t.vE:_t.fE>=100)}}]),n}(ki),Ri=function(t){function n(){return t.apply(this,arguments)}return rt(n,t),tt(n,[{key:"gA",get:function(){return!0}}]),n}(wi),Oi=function(){function t(){this.nit=new Di,this.hit=function(){var t=function(){if(_t.PE)return new Si;if(_t.bE||_t.kE)return new bi;if(_t.QE)return new mi;if(_t.dE)return new Ei;return new ki}();return _t.Ga?new gi(t):_t.Qs?new _i(t):_t.pE?new pi(t):_t.NE?new Ai(t):_t.OI?new Ri(t):new wi(t)}(),this.rit=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.Jd=function(){return self.performance.now()}:this.Jd=un}var n=t.prototype;return n.tit=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Ot.apply(void 0,ut(n))},n.IA=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Dt.apply(void 0,ut(n))},n.iit=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Tt.apply(void 0,ut(n))},n.eit=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];Pt.apply(void 0,[t].concat(ut(r)))},n.ul=function(t,n){return o(t,n)},n.S$=function(t,n){return s(t,n)},n.$d=function(t){f(t)},n.E$=function(t){c(t)},n.RC=function(){return this.sit.RC()},n.LC=function(){return this.sit.LC()},n.xC=function(){return this.sit.xC()},n.kC=function(){return this.sit.kC()},n.EC=function(){return this.sit.EC()},n.jC=function(t,n){return this.sit.jC(t,n)},n.bC=function(t){return this.sit.bC(t)},n.Dh=function(t,n){var r;return void 0===n&&(n=ci(oi)),r="object"!=typeof n||n instanceof si?n:n.href,new si(t,r)},n.SA=function(t,n){if(void 0===n&&(n=ci(oi)),this.rit){var r=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,r).href}return this.Dh(t,n).href},tt(t,[{key:"PO",get:function(){return this.nit}},{key:"Ys",get:function(){return this.hit}},{key:"vA",get:function(){return{AA:u&&u.userAgent.match(/Android /i)?"Android":"other",mA:Boolean(u&&u.userAgent.match(/Android 8.0.0/i))}}},{key:"SV",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"oit",get:function(){return"languages"in u?u.languages.slice():[u.language]}}]),t}(),Di=function(){function t(){}return tt(t,[{key:"BO",get:function(){return u.oscpu}},{key:"Ys",get:function(){return u.platform}},{key:"RO",get:function(){return u.vendor}},{key:"UO",get:function(){return u.vendorSub}}]),t}();var Ti,Pi=function(){function t(){}var n=t.prototype;return n.EC=function(){return G.resolve(!1)},n.LC=function(){return G.resolve(!1)},n.kC=function(){return G.resolve(!1)},n.xC=function(){return G.resolve(!1)},n.bC=function(t){return G.resolve(!1)},n.jC=function(t,n){return G.resolve(!1)},n.RC=function(){return G.resolve(!1)},t}(),Ni=function(){function t(){}var n=t.prototype;return n.tQ=function(){},n.Ub=function(t){},n.Pb=function(t){},n.Wj=function(t,n){},t}();function Fi(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var i=null==t?null:void 0!==n&&t[n.iterator]||t["@@iterator"];if(null!=i){var e,u,o=[],f=!0,s=!1;try{for(i=i.call(t);!(f=(e=i.next()).done)&&(o.push(e.value),!r||o.length!==r);f=!0);}catch(t){s=!0,u=t}finally{try{f||null==i.return||i.return()}finally{if(s)throw u}}return o}}(t,r)||et(t,r)||function(){throw new a("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}!function(t){t.PS="arraybuffer",t.RS="json",t.US="stream",t.Ru="text"}(Ti||(Ti={}));var Ci,Wi=function(){function t(n){var r=this;this.Od={},n instanceof t?n.asList().forEach((function(t){var n=Fi(t,2),i=n[0],e=n[1];r.append(i,e)})):Array.isArray(n)?n.forEach((function(t){var n=Fi(t,2),i=n[0],e=n[1];r.append(i,e)})):n&&l.getOwnPropertyNames(n).forEach((function(t){r.append(t,n[t])}))}var n=t.prototype;return n.append=function(t,n){var r=t,i=n;r=ji(r),i=Mi(i);var e=r.toLowerCase();if(this.Od.hasOwnProperty(e)){var u=this.Od[e],o=u[1];u[1]=o?o+", "+i:i}else this.Od[e]=[r,i]},n.delete=function(t){var n=ji(t).toLowerCase();delete this.Od[n]},n.get=function(t){var n=ji(t).toLowerCase();return this.Od.hasOwnProperty(n)?this.Od[n][1]:null},n.has=function(t){var n=ji(t).toLowerCase();return this.Od.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=ji(r)).toLowerCase();this.Od[i]=[r,Mi(n)]},n.forEach=function(t,n){for(var r in this.Od)this.Od.hasOwnProperty(r)&&t.call(n,this.Od[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.Od)if(this.Od.hasOwnProperty(n)){var r=Fi(this.Od[n],2),i=r[0],e=r[1];t.push([i,e])}return t},n.QS=function(){var t={};return this.forEach((function(n,r){t[r]=n})),t},n.FS=function(t){var n=this;t.forEach((function(t,r){n.append(r,t)}))},n.YS=function(t){var n=this;t.forEach((function(t,r){n.set(r,t)}))},t}();function ji(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new a("Invalid character in header field name");return n}function Mi(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}!function(t){t[t.Zr=0]="Zr",t[t.hd=1]="hd",t[t.Nd=-1]="Nd"}(Ci||(Ci={}));Array.prototype.find,Array.prototype.findLast;var Bi="function"==typeof Array.prototype.findIndex?function(t,n){return t.findIndex(n)}:function(t,n){for(var r=0;r<t.length;r+=1){if(n(t[r],r,t))return r}return-1},Ui="function"==typeof Array.prototype.findLastIndex?function(t,n){return t.findLastIndex(n)}:function(t,n){for(var r=t.length-1;r>=0;r-=1){if(n(t[r],r,t))return r}return-1};function Li(t,n){var r=t.indexOf(n);return-1!==r&&(Vi(t,r),!0)}function Vi(t,n){0===n?t.shift():t.splice(n,1)}function xi(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Hi,Gi,zi,Ki,Xi,$i=function(){function t(){this.Bd=!1,this.Rd=!1,this.Ud=[],this.Fd=[]}var n=t.prototype;return n.zd=function(){if(!this.Bd&&!this.Rd){this.Bd=!0;for(var t=0,n=this.Ud.slice();t<n.length;t++){(0,n[t])()}this.Qd()}},n.Qd=function(){if(!this.Rd){this.Rd=!0;for(var t=0,n=this.Fd.slice();t<n.length;t++){(0,n[t])()}xi(this.Ud),xi(this.Fd)}},n.Yd=function(t){this.Rd||this.Ud.push(t)},n.Gd=function(t){this.Rd||Li(this.Ud,t)},n.Vd=function(t){this.Rd||this.Fd.push(t)},n.Wd=function(t){this.Rd||Li(this.Fd,t)},t}(),qi=function(){function t(){this.qd=new $i}var n=t.prototype;return n.Xd=function(){this.qd.zd()},n.Qd=function(){this.qd.Qd()},n.Zd=function(t){var n=this.qd;if(!n.Bd)if(t.Bd)n.zd();else if(!n.Rd&&!t.Rd){var r=function(){i(),n.zd()},i=function(){t.Gd(r),t.Wd(i),n.Gd(r),n.Wd(i)};t.Yd(r),t.Vd(i),n.Yd(r),n.Vd(i)}},n.Kd=function(){var n=new t,r=new t,i=n.Hd,e=r.Hd,u=this.qd,o=function(){i.Bd&&e.Rd||e.Bd&&i.Rd?u.zd():i.Rd&&e.Rd&&u.Qd()};i.Yd(o),e.Yd(o),i.Vd(o),e.Vd(o),n.Zd(u),r.Zd(u);return u.Vd((function(){i.Gd(o),e.Gd(o),i.Wd(o),e.Wd(o)})),[n,r]},tt(t,[{key:"Hd",get:function(){return this.qd}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(Hi||(Hi={})),function(t){t.tT="",t.GS="manifest",t.VS="segment",t.WS="preload-hint",t.HS="content-protection"}(Gi||(Gi={})),function(t){t.tT="",t.qS="initialization-segment",t.XS="fairplay-license",t.ZS="fairplay-certificate",t.KS="widevine-license",t.JS="widevine-certificate",t.$S="playready-license",t.tI="clearkey-license",t.iI="aes128-key"}(zi||(zi={})),function(t){t.tT="",t.vm="audio",t.Am="video",t.Ru="text",t.$M="image"}(Ki||(Ki={})),function(t){t.eI="same-origin",t.EA="no-cors",t.sI="cors",t.nI="navigate"}(Xi||(Xi={}));var Zi=function(t,n){var r,i,e,u,o,f,s,c,h,a,l,v,y,d,w,_,g=t.zu;n?(r=n.rI,i=n.hI,e=n.oI,u=n.aI,o=n.IS,f=n.uI,s=n.Hd,c=n.Rg,h=n.cI,a=n.dI,l=n.lI,v=n.fI,y=n.jg,d=n._I):(r=null,i={},e="GET",u=Ti.Ru,o=0,f=0,c="",h="",a="",l=!1,y=void 0,d=!1),this.zu=g,this.rI=t.rI||r,this.hI=new Wi(t.hI||i),this.oI=t.oI||e,this.aI=t.aI||u,this.IS=void 0!==t.IS?Number(t.IS)||0:o,this.uI=void 0!==t.uI?Number(t.uI)||0:f,this.Hd=t.Hd||s||(new qi).Hd,this.Rg=t.Rg||c,this.cI=t.cI||h,this.dI=t.dI||a,this.lI=void 0!==t.lI?Boolean(t.lI):l,this.fI=t.fI||v,this.jg=null!=(w=t.jg)?w:y,this._I=null!=(_=t._I)?_:d};var Ji=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];h.apply(this,n)};(Ji.prototype=l.create(h.prototype)).constructor=Ji;var Yi,Qi=function(t){function n(n,r){var i;return(i=t.call(this)||this).message=n||"Unknown error",i.cause=r,h.captureStackTrace&&h.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i),i.constructor),i}return rt(n,t),tt(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Ji);!function(t){t.mS="HttpOpenError",t.pS="HttpResponseError",t.yS="HttpTimeoutError"}(Yi||(Yi={}));var te=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).TS=n,e}return rt(n,t),tt(n,[{key:"MS",get:function(){return this.TS}}]),n}(Qi);var ne=function(t){function n(n,r){return t.call(this,n,function(t){return"Error while opening "+t+". Invalid URL."}(n.zu),r)}return rt(n,t),tt(n,[{key:"name",get:function(){return Yi.mS}}]),n}(te),re=function(){function t(){}var n=t.prototype;return n.MS=function(t){return G.reject(new ne(new Zi(t)))},n.YF=function(t){},n.gn=function(){},t}(),ie=function(t){function n(n){return t.call(this,"Invalid XML",n)}return rt(n,t),n}(Qi),ee=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).Rit=new Pi,n.mI=new re,n.i=new Ni,n}return rt(n,t),n.prototype.cS=function(t){throw new ie},tt(n,[{key:"sit",get:function(){return this.Rit}},{key:"Uit",get:function(){return!1}},{key:"m$",get:function(){return!1}},{key:"Git",get:function(){return!1}},{key:"z$",get:function(){return!1}},{key:"Yj",get:function(){return this.i}},{key:"Vit",get:function(){return{Wit:It}}},{key:"Hit",get:function(){return"default"}},{key:"qit",get:function(){return"unknown"}},{key:"uO",get:function(){return this.mI}}]),n}(Oi);!function(t){t}(new ee);var ue=function(){function t(){this.Om=void 0,this.p=function(t){for(var n=new Array(t),r=0;r<t;r++)n[r]=0;return n}(20),this.en=0}var n=t.prototype;return n.Ldi=function(t){this.Om=new _(t)},n.vr=function(t){var n=this.en;this.p[n]=t,n=(n+1)%20,this.en=n},n.ui=function(t){var n,r=this.Om?this.Om.length:0;this.vr(t);var i=(n=v).max.apply(n,ut(this.p));return i>r?i+=v.round(.1*i):i<r&&(i=v.min(r,i+v.round(.1*i))),i},n.li=function(t){var n=this.ui(t);return(this.Om?this.Om.length:0)!==n&&this.Ldi(n),this.Om},t}(),oe=("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"]),fe=(ArrayBuffer.isView,String.prototype.replaceAll,String.prototype.startsWith,String.prototype.endsWith,"function"==typeof String.prototype.repeat?function(t,n){return t.repeat(n)}:function(t,n){var r=0|n;if(0===t.length||0===r)return"";for(var i=t,e="";1==(1&r)&&(e+=i),0!=(r>>>=1);)i+=i;return e}),se=(String.prototype.padStart,String.prototype.padEnd,16384);String.fromCodePoint;function ce(t,n){for(var r=[],i=0;i<t.length;i+=se)r.push(n.apply(void 0,ut(t.slice(i,i+se))));return r.join("")}function he(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),t.slice?t.slice(n,r):function(t){if(t.slice)return t.slice(0);var n=new _(t.byteLength);return n.set(t,0),n}(function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=t.byteLength),new _(t.buffer,t.byteOffset+n,r-n)}(t,n,r))}var ae=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).code=n,e}return rt(n,t),n}(Qi),le=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22,82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125,198,248,238,246,255,214,222,145,96,2,206,86,231,181,77,236,143,31,137,250,239,178,142,251,65,179,95,69,35,83,228,155,117,225,61,76,108,126,245,131,104,81,209,249,226,171,98,42,8,149,70,157,48,55,10,47,14,36,27,223,205,78,127,234,18,29,88,52,54,220,180,91,164,118,183,125,82,221,94,19,166,185,0,193,64,227,121,182,212,141,103,114,148,152,176,133,187,197,79,237,134,154,102,17,138,233,4,254,160,120,37,75,162,93,128,5,63,33,112,241,99,119,175,66,32,229,253,191,129,24,38,195,190,53,136,46,147,85,252,122,200,186,50,230,192,25,158,163,68,84,59,11,140,199,107,40,167,188,22,173,219,100,116,20,146,12,72,184,159,189,67,196,57,49,211,242,213,139,110,218,1,177,156,73,216,172,243,207,202,244,71,16,111,240,74,92,56,87,115,151,203,161,232,62,150,97,13,15,224,124,113,204,144,6,247,28,194,106,174,105,23,153,58,39,217,235,43,34,210,169,7,51,45,60,21,201,135,170,80,165,3,89,9,26,101,215,132,208,130,41,90,30,123,168,109,44,165,132,153,141,13,189,177,84,80,3,169,125,25,98,230,154,69,157,64,135,21,235,201,11,236,103,253,234,191,247,150,91,194,28,174,106,90,65,2,79,92,244,52,8,147,115,83,63,12,82,101,94,40,161,15,181,9,54,155,61,38,105,205,159,27,158,116,46,45,178,238,251,246,77,97,206,123,62,113,151,245,104,0,44,96,31,200,237,190,70,217,75,222,212,232,74,107,42,229,22,197,215,85,148,207,16,6,129,240,68,186,227,243,254,192,138,173,188,72,4,223,193,117,99,48,26,14,109,76,20,53,47,225,162,204,57,87,242,130,71,172,231,43,149,160,152,209,127,102,126,171,131,202,41,211,60,121,226,29,118,59,86,78,30,219,10,108,228,93,110,239,166,168,164,55,139,50,67,89,183,140,100,210,224,180,250,7,37,175,142,233,24,213,136,111,114,36,241,199,81,35,124,156,33,221,220,134,133,144,66,196,170,216,5,1,18,163,95,249,208,145,88,39,185,56,19,179,51,187,112,137,167,182,34,146,32,73,255,120,122,143,248,128,23,218,49,198,184,195,176,119,17,203,252,214,58,0,9,18,27,36,45,54,63,72,65,90,83,108,101,126,119,144,153,130,139,180,189,166,175,216,209,202,195,252,245,238,231,59,50,41,32,31,22,13,4,115,122,97,104,87,94,69,76,171,162,185,176,143,134,157,148,227,234,241,248,199,206,213,220,118,127,100,109,82,91,64,73,62,55,44,37,26,19,8,1,230,239,244,253,194,203,208,217,174,167,188,181,138,131,152,145,77,68,95,86,105,96,123,114,5,12,23,30,33,40,51,58,221,212,207,198,249,240,235,226,149,156,135,142,177,184,163,170,236,229,254,247,200,193,218,211,164,173,182,191,128,137,146,155,124,117,110,103,88,81,74,67,52,61,38,47,16,25,2,11,215,222,197,204,243,250,225,232,159,150,141,132,187,178,169,160,71,78,85,92,99,106,113,120,15,6,29,20,43,34,57,48,154,147,136,129,190,183,172,165,210,219,192,201,246,255,228,237,10,3,24,17,46,39,60,53,66,75,80,89,102,111,116,125,161,168,179,186,133,140,151,158,233,224,251,242,205,196,223,214,49,56,35,42,21,28,7,14,121,112,107,98,93,84,79,70,0,11,22,29,44,39,58,49,88,83,78,69,116,127,98,105,176,187,166,173,156,151,138,129,232,227,254,245,196,207,210,217,123,112,109,102,87,92,65,74,35,40,53,62,15,4,25,18,203,192,221,214,231,236,241,250,147,152,133,142,191,180,169,162,246,253,224,235,218,209,204,199,174,165,184,179,130,137,148,159,70,77,80,91,106,97,124,119,30,21,8,3,50,57,36,47,141,134,155,144,161,170,183,188,213,222,195,200,249,242,239,228,61,54,43,32,17,26,7,12,101,110,115,120,73,66,95,84,247,252,225,234,219,208,205,198,175,164,185,178,131,136,149,158,71,76,81,90,107,96,125,118,31,20,9,2,51,56,37,46,140,135,154,145,160,171,182,189,212,223,194,201,248,243,238,229,60,55,42,33,16,27,6,13,100,111,114,121,72,67,94,85,1,10,23,28,45,38,59,48,89,82,79,68,117,126,99,104,177,186,167,172,157,150,139,128,233,226,255,244,197,206,211,216,122,113,108,103,86,93,64,75,34,41,52,63,14,5,24,19,202,193,220,215,230,237,240,251,146,153,132,143,190,181,168,163,0,13,26,23,52,57,46,35,104,101,114,127,92,81,70,75,208,221,202,199,228,233,254,243,184,181,162,175,140,129,150,155,187,182,161,172,143,130,149,152,211,222,201,196,231,234,253,240,107,102,113,124,95,82,69,72,3,14,25,20,55,58,45,32,109,96,119,122,89,84,67,78,5,8,31,18,49,60,43,38,189,176,167,170,137,132,147,158,213,216,207,194,225,236,251,246,214,219,204,193,226,239,248,245,190,179,164,169,138,135,144,157,6,11,28,17,50,63,40,37,110,99,116,121,90,87,64,77,218,215,192,205,238,227,244,249,178,191,168,165,134,139,156,145,10,7,16,29,62,51,36,41,98,111,120,117,86,91,76,65,97,108,123,118,85,88,79,66,9,4,19,30,61,48,39,42,177,188,171,166,133,136,159,146,217,212,195,206,237,224,247,250,183,186,173,160,131,142,153,148,223,210,197,200,235,230,241,252,103,106,125,112,83,94,73,68,15,2,21,24,59,54,33,44,12,1,22,27,56,53,34,47,100,105,126,115,80,93,74,71,220,209,198,203,232,229,242,255,180,185,174,163,128,141,154,151,0,14,28,18,56,54,36,42,112,126,108,98,72,70,84,90,224,238,252,242,216,214,196,202,144,158,140,130,168,166,180,186,219,213,199,201,227,237,255,241,171,165,183,185,147,157,143,129,59,53,39,41,3,13,31,17,75,69,87,89,115,125,111,97,173,163,177,191,149,155,137,135,221,211,193,207,229,235,249,247,77,67,81,95,117,123,105,103,61,51,33,47,5,11,25,23,118,120,106,100,78,64,82,92,6,8,26,20,62,48,34,44,150,152,138,132,174,160,178,188,230,232,250,244,222,208,194,204,65,79,93,83,121,119,101,107,49,63,45,35,9,7,21,27,161,175,189,179,153,151,133,139,209,223,205,195,233,231,245,251,154,148,134,136,162,172,190,176,234,228,246,248,210,220,206,192,122,116,102,104,66,76,94,80,10,4,22,24,50,60,46,32,236,226,240,254,212,218,200,198,156,146,128,142,164,170,184,182,12,2,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zi[7|t],a^=E,E=0|zi[8|t],l^=R,R=0|zi[9|t],v^=O,O=0|zi[10|t],y^=D,D=0|zi[11|t],d^=T,T=0|zi[12|t],w^=P,P=0|zi[13|t],_^=N,N=0|zi[14|t],g^=F,F=0|zi[15|t],zi[t]=i,zi[1|t]=e,zi[2|t]=u,zi[3|t]=o,zi[4|t]=f,zi[5|t]=s,zi[6|t]=c,zi[7|t]=h,zi[8|t]=a,zi[9|t]=l,zi[10|t]=v,zi[11|t]=y,zi[12|t]=d,zi[13|t]=w,zi[14|t]=_,zi[15|t]=g,t=t+16|0,n=n-16|0,C=C+16|0;return i=r,e=p,u=k,o=S,f=I,s=b,c=m,h=A,a=E,l=R,v=O,y=D,d=T,w=P,_=N,g=F,0|C}}}function we(t){return new _(t).set(le),de({Uint8Array:_},0,t)}var _e=new _(1048576),ge=function(){function t(t){this.nv=!0,this.Bdt=ve,this.iv=0,this.ev=null,this.sv=new ue,this.cv=new ue,this.av=new ue;var n=t.lv||4096;if(n<=0||n%4096)throw new ae("CAD1409","Invalid heap size");this.dv=t.dv||new _(n),this.wv=t.wv||we(this.dv.buffer),this.tr(t)}var n=t.prototype;return n.gv=function(t){var n=t.kv;this.ev=null,this.Bdt=ve,this.iv=0;var r=new _(16);return n&&(n.length>16&&(n=he(n,0,16)),r.set(n,16-n.length),this.wv.af(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15])),this},n.jv=function(t){var n=new _(ye);if(t){0;var r=t.length>ye?he(t,0,ye):t;n.set(r,ye-r.length)}this.wv.ff(n[0],n[1],n[2],n[3],n[4],n[5],n[6],n[7],n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15])},n.tr=function(t){this.gv(t);var n=t.nv;return this.nv=void 0===n||Boolean(n),this.jv(t.NEt),this},n.ty=function(t,n,r,i,e){var u=t.byteLength-n,o=u<e?u:e;return t.set(new _(r.buffer||r,i,o),n),o},n.ny=function(t){for(var n=t.byteOffset||0,r=t.byteLength||t.length||0,i=this.wv,e=this.dv,u=this.nv,o=this.Bdt,f=this.iv,s=0,c=ye*v.floor((f+r)/ye),h=0,a=this.sv.li(c);r>0;)f+=h=this.ty(e,o+f,t,n,r),n+=h,r-=h,h=i.tv(o,f-(u&&0===r&&f%ye==0?ye:0)),a.set(e.subarray(o,o+h),s),s+=h,h<f?(o+=h,f-=h):(o=ve,f=0);return this.ev=a.subarray(0,s),this.Bdt=o,this.iv=f,this},n.hy=function(){var t,n=this.wv,r=this.dv,i=this.nv,e=this.Bdt,u=this.iv,o=this.cv.li(u);if(0===u){if(i)throw new ae("DAC1559","Invalid padding");return this.ev=new _(0),this.Bdt=ve,this.iv=0,this}if(u%ye!=0)throw new ae("DAC1563","Invalid data length");return u>0&&(n.tv(e,u),o.set(r.subarray(e,e+u))),i&&(t=o[u-1],o=o.subarray(0,u-t)),this.ev=o.subarray(0,u),this.Bdt=ve,this.iv=0,this},n.CCt=function(t){var n=this.ny(t).ev,r=this.hy().ev,i=n.length+r.length,e=this.av.li(i);return e.set(n),r.length>0&&e.set(r,n.length),this.ev=e.subarray(0,i),this},t}(),pe=new ge({dv:_e,wv:we(_e.buffer)});var ke,Se,Ie,be=self;function me(t,n){return void 0===ke&&(ke=function(){var t=new _(1);try{return be.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&ke?be.postMessage(t,n):be.postMessage(t)}!function(t){t.SBt="CCt",t.IBt="ext"}(Se||(Se={})),function(t){t.EBt="bBt",t.LBt="kBt"}(Ie||(Ie={}));var Ae=self;function Ee(t,n,r){Ae.postMessage({VBt:Ie.LBt,GBt:t,HBt:(null==n?void 0:n.code)||r||"DAW0008",qBt:(null==n?void 0:n.message)||""})}var Re,Oe=[];function De(t){for(var n=0;n<Oe.length;n++){if(Oe[n].RBt===t)return void Vi(Oe,n)}}function Te(){Oe.length?Re||(Re=o(Pe,0)):(f(Re),Re=void 0)}function Pe(){Re&&(f(Re),Re=void 0),Oe.length&&function(t){var n,r=t.BBt,i=t.RBt,e=t.UBt,u=t.QBt,o=t.FBt;try{if(r!==Se.SBt)return Ee(i,new ae("DAW0042","Unknown message type"));try{n=function(t,n,r,i){if(void 0===t)throw new ae("CAD1600","Missing data");if(void 0===n)throw new ae("CAD1603","Missing key");return pe.tr({kv:n,nv:r,NEt:i}).CCt(t).ev}(e,u,!0,o)}catch(t){return Ee(i,t,"DAW0033")}try{return me({VBt:Ie.EBt,GBt:i,WBt:n},[n.buffer])}catch(t){return Ee(i,t,"DAW0038")}}catch(t){return Ee(i,t,"DAW0045")}}(Oe.shift()),Te()}Ae.addEventListener("message",(function(t){var n=t.data;if(n.BBt===Se.IBt)!function(t){for(var n=0;n<t.length;n++)De(t[n])}(n.ky);else!function(t){Oe.push(t)}(n);Te()}),!1),Ae.postMessage({DBt:"7.10.0"})}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof s?s:"undefined"!=typeof global?global:this);
|