@theoplayer/extended 8.9.0 → 8.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.
@@ -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: 8.10.0
28
+ Created: 2025-01-29T16:11:24.204Z
29
+ */
30
+ !function(t){"use strict";var n,r,i,e,u,o,f,s,c,h=t.window,a=t.document,l=(t.location,t.navigator),v=t.setTimeout,y=t.clearTimeout,d=t.setInterval,w=t.clearInterval,_=t.Error,g=t.TypeError,k=(t.SyntaxError,t.Object),S=t.Math,p=t.parseInt,I=t.parseFloat,b=t.isNaN,m=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function E(t){return t&&void 0!==n&&t.constructor===n?"symbol":typeof t}"function"==typeof Symbol&&Symbol.iterator?(n=Symbol,r=null!=(o=Symbol.for)?o:Symbol,i=Symbol.iterator,e=null!=(f=Symbol.dispose)?f:r("Symbol.dispose"),u=null!=(s=Symbol.asyncDispose)?s:r("Symbol.asyncDispose")):(c=0,r=function(t){return"ul"+t},i=(n=function(t){return"ul"+t+"_"+ ++c}).for("Symbol.iterator"),e=n.for("Symbol.dispose"),u=n.for("Symbol.asyncDispose"),n.for=r,n.iterator=i,n.dispose=e,n.asyncDispose=u);var A=v;function O(t){return Boolean(t&&void 0!==t.length)}function R(){}function D(t){if(!(this instanceof D))throw new g("Promises must be constructed via new");if("function"!=typeof t)throw new g("not a function");this.Da=0,this.v5t=!1,this.SAt=void 0,this.w5t=[],C(t,this)}function T(t,n){for(;3===t.Da;)t=t.SAt;0!==t.Da?(t.v5t=!0,D.y5t((function(){var r=1===t.Da?n.onFulfilled:n.onRejected;if(null!==r){var i;try{i=r(t.SAt)}catch(t){return void P(n.promise,t)}N(n.promise,i)}else(1===t.Da?N:P)(n.promise,t.SAt)}))):t.w5t.push(n)}function N(t,n){try{if(n===t)throw new g("A promise cannot be resolved with itself.");if(n&&("object"===(void 0===n?"undefined":E(n))||"function"==typeof n)){var r=n.then;if(n instanceof D)return t.Da=3,t.SAt=n,void F(t);if("function"==typeof r)return void C(function(t,n){return function(){t.apply(n,arguments)}}(r,n),t)}t.Da=1,t.SAt=n,F(t)}catch(n){P(t,n)}}function P(t,n){t.Da=2,t.SAt=n,F(t)}function F(t){2===t.Da&&0===t.w5t.length&&D.y5t((function(){t.v5t||D.m5t(t.SAt)}));for(var n=0,r=t.w5t.length;n<r;n++)T(t,t.w5t[n]);t.w5t=null}function B(t,n,r){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=r}function C(t,n){var r=!1;try{t((function(t){r||(r=!0,N(n,t))}),(function(t){r||(r=!0,P(n,t))}))}catch(t){if(r)return;r=!0,P(n,t)}}D.prototype.catch=function(t){return this.then(null,t)},D.prototype.then=function(t,n){var r=new this.constructor(R);return T(this,new B(t,n,r)),r},D.prototype.finally=function(t){var n=this.constructor;return this.then((function(r){return n.resolve(t()).then((function(){return r}))}),(function(r){return n.resolve(t()).then((function(){return n.reject(r)}))}))},D.all=function(t){return new D((function(n,r){if(!O(t))return r(new g("Promise.all accepts an array"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,o){try{if(o&&("object"===(void 0===o?"undefined":E(o))||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,(function(n){u(t,n)}),r)}i[t]=o,0==--e&&n(i)}catch(t){r(t)}}for(var o=0;o<i.length;o++)u(o,i[o])}))},D.allSettled=function(t){return new this((function(n,r){if(!t||void 0===t.length)return r(new g((void 0===t?"undefined":E(t))+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var i=Array.prototype.slice.call(t);if(0===i.length)return n([]);var e=i.length;function u(t,r){if(r&&("object"===(void 0===r?"undefined":E(r))||"function"==typeof r)){var o=r.then;if("function"==typeof o)return void o.call(r,(function(n){u(t,n)}),(function(r){i[t]={status:"rejected",reason:r},0==--e&&n(i)}))}i[t]={status:"fulfilled",value:r},0==--e&&n(i)}for(var o=0;o<i.length;o++)u(o,i[o])}))},D.resolve=function(t){return t&&"object"===(void 0===t?"undefined":E(t))&&t.constructor===D?t:new D((function(n){n(t)}))},D.reject=function(t){return new D((function(n,r){r(t)}))},D.race=function(t){return new D((function(n,r){if(!O(t))return r(new g("Promise.race accepts an array"));for(var i=0,e=t.length;i<e;i++)D.resolve(t[i]).then(n,r)}))},D.y5t="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){A(t,0)},D.m5t=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var V=function(){var t=self.Promise;if(void 0!==t)try{if(-1!==t.toString().indexOf("[native code]"))return t}catch(t){}}(),M=l?l.userAgent:"",H=M.match(/Firefox\/([0-9]+)/i),W=null!=H,x=H?Number(H[1]):0,L=M.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),j=null!=L,U=L?Number(L[3]):0,z=function(){function t(t){this.Tp=0,this.oT=0,this.uv=[],this.p5t=t}return t.prototype.k5t=function(t){var n=this.length();this.A5t(n+1);var r=this.oT+n&this.p5t-1;this.uv[r]=t,this.Tp=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.p5t<n)this.k5t(t);else{var r=this.oT+n-1,i=this.p5t-1;this.uv[r&i]=t,this.Tp=n}},t.prototype.shift=function(){var t=this.oT,n=this.uv[t];return this.uv[t]=void 0,this.oT=t+1&this.p5t-1,this.Tp--,n},t.prototype.length=function(){return this.Tp},t.prototype.A5t=function(t){this.p5t<t&&this.b5t(this.p5t<<1)},t.prototype.b5t=function(t){var n=this.p5t;this.p5t=t;var r=this.oT+this.Tp&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.uv,0,n,r)},t}();var G="unhandledrejection",K=self.PromiseRejectionEvent,X=self.CustomEvent;function $(t){return new K(G,{reason:t,promise:V.reject(t).catch((function(){})),cancelable:!0})}function q(t){var n=new X(G,{detail:{reason:t},cancelable:!0});return k.defineProperty(n,"reason",{value:t}),n}function Z(t){var n=a.createEvent("CustomEvent");return n.initCustomEvent(G,!1,!0,{reason:t}),n}var J,Y,Q,tt,nt,rt,it,et,ut=function(t){return ut=function(){try{var t=V.resolve(),n="error",r=new K(G,{reason:n,promise:t});return G===r.type&&n===r.reason}catch(t){}return!1}()?$:function(){try{var t="error",n=new X(G,{detail:{reason:t}});return G===n.type&&t===n.detail.reason}catch(t){}return!1}()?q:Z,ut(t)};function ot(t,n){return ot=k.setPrototypeOf||function(t,n){return t.__proto__=n,t},ot(t,n)}function ft(t,n){if("function"!=typeof n&&null!==n)throw new g("Super expression must either be null or a function");t.prototype=k.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),n&&ot(t,n)}function st(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),k.defineProperty(t,i.key,i)}}function ct(t,n,r){return n&&st(t.prototype,n),r&&st(t,r),t}V&&!(W&&x<60||j&&U<15)?Y=V:(Y=D,it=null!==(J=function(){var t=self.queueMicrotask;if("function"==typeof t)return function(n){return t(n)};var n=V;if(n&&"function"==typeof n.resolve){var r=n.resolve();return function(t){return r.then(t)}}}())&&void 0!==J?J:D.y5t,Q=it,tt=new z(16),nt=!1,(et={M1:function(t){tt.push(t),nt||(nt=!0,Q(rt))},Zq:rt=function(){for(;tt.length()>0;)tt.shift()();nt=!1}}).Zq,D.y5t=et.M1,D.m5t=function(t){try{var n=ut(t);if(!self.dispatchEvent(n)||n.defaultPrevented)return}catch(t){}v((function(){throw new _("Unhandled promise rejection: ".concat(t))}),0)});var ht=function(t){return t.hd="web",t._d="android",t.wd="android-tv",t.yd="ios",t.bd="tvos",t.Td="chromecast",t.Sd="theoliveweb",t}({});var at=l?l.userAgent:"",lt=at.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),vt=at.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),yt=at.match(/Android ([0-9\.]+)/i),dt=at.match(/Windows NT ([0-9\.]+)/i),wt=at.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),_t=at.match(/Firefox\/([0-9\.]+)/i),gt=at.match(/OPR\/(\d+\.\d+)/i),kt=at.match(/Tizen ([0-9\.]+)/i),St=at.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),pt=at.match(/HbbTV\/([0-9.]+)/i),It=function(){function t(){this.kd=Boolean("ontouchstart"in self||self.DocumentTouch&&a instanceof self.DocumentTouch||l&&l.msMaxTouchPoints),this.Pd=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(at)||/(macintosh|mac(?=_powerpc)\s)/i.test(at),this.Cd=/Windows NT/i.test(at),this.xd=dt?I(dt[1]):0,this.Nd=/Android/i.test(at),this.Md=yt?I(yt[1]):0,this.Od=/windows phone (8|8\.1)/i.test(at),this.Ud=/iPhone/i.test(at),this.Hd=/iPad/i.test(at),this.qd=this.Pd&&this.kd&&!this.Hd,this.Xd=/iPod/i.test(at),this.t_=/Mobile Safari/i.test(at),this.Zd=/EOS\d*STB/i.test(at),this.Jd=/APP\d*STB/i.test(at),this.Qd=(this.Ud||this.Hd||this.qd||this.Xd)&&!this.Od,this.jd=St?I(St[2]):0,this.e_=this.Od||this.Qd||this.Nd||this.t_,this.s_=/CriOS/i.test(at),this.r_=Boolean(self.chrome&&/google/i.test(l.vendor))||this.s_,this.c_=this.r_&&/Edg\//i.test(l.userAgent),this.d_=vt?p(vt[1],10):0,this.pg=Boolean(/CriOS/i.test(at)),this.wg=Boolean(self.chrome||/Chrome/i.test(at)||this.pg),this.a_=lt?p(lt[1],10):0,this.g_=/SMART-TV.*Tizen/i.test(at),this.w_=kt?I(kt[1]):0,this.o_=this.w_>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.w_):void 0,this.p_=/webos|web0s/i.test(at),this.A_=/HbbTV/i.test(at),this.T_=!!pt&&function(t){if(!t)return!1;var n=t.split(".").map(Number);return 3===n.length&&1===n[0]&&2===n[1]}(pt[1]),this.k_=/VIZIO/i.test(at),this.P_=/Edge\/\d+/i.test(at),this.C_=/Trident/i.test(at),this.x_=this.C_&&!self.ActiveXObject&&"ActiveXObject"in self,this.N_=/Vivaldi/i.test(at),this.M_=/Firefox/i.test(at)&&!/Seamonkey/i.test(at),this.O_=_t?I(_t[1]):0,this.U_=/Safari/i.test(at)&&!/Chrome/i.test(at)&&!this.Od&&!this.g_,this.H_=wt?I(wt[2]):0,this.q_=Boolean(gt),this.X_=gt?I(gt[1]):0,this.Q_=/CrKey/.test(at),this.j_=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv|vizio)\b/i.test(at),this.J_="web"===ht.wd,this.rg="web"===ht._d,this.og=this.rg||this.J_,this.cg="web"===ht.yd,this.fg="web"===ht.bd,this.gg="web"===ht.Td}return ct(t,[{key:"Ye",get:function(){return this.kd}},{key:"Ed",get:function(){return this.Pd}},{key:"Id",get:function(){return this.Cd}},{key:"Rd",get:function(){return this.xd}},{key:"Dd",get:function(){return this.Nd}},{key:"Bd",get:function(){return this.Md}},{key:"Ld",get:function(){return this.Od}},{key:"Fd",get:function(){return this.Ud}},{key:"Vd",get:function(){return this.Hd}},{key:"Wd",get:function(){return this.qd}},{key:"zd",get:function(){return this.Xd}},{key:"Gd",get:function(){return this.Qd}},{key:"Kd",get:function(){return this.jd}},{key:"Yd",get:function(){return this.Zd||this.Jd}},{key:"$d",get:function(){return this.t_}},{key:"Ks",get:function(){return this.e_}},{key:"i_",get:function(){return this.s_}},{key:"n_",get:function(){return this.r_}},{key:"h_",get:function(){var t;return null!=(t=this.o_)?t:this.a_}},{key:"u_",get:function(){return this.c_}},{key:"l_",get:function(){var t;return(null==(t=h.chrome)?void 0:t.webview)&&this.d_>0}},{key:"f_",get:function(){return this.d_}},{key:"__",get:function(){return this.g_}},{key:"v_",get:function(){return this.w_}},{key:"m_",get:function(){return this.p_}},{key:"y_",get:function(){return this.A_}},{key:"b_",get:function(){return this.T_}},{key:"S_",get:function(){return this.k_}},{key:"E_",get:function(){return this.P_}},{key:"I_",get:function(){return this.C_}},{key:"R_",get:function(){return this.x_}},{key:"D_",get:function(){return this.N_}},{key:"B_",get:function(){return this.M_}},{key:"L_",get:function(){return this.O_}},{key:"F_",get:function(){return this.U_}},{key:"V_",get:function(){return this.H_}},{key:"W_",get:function(){return this.q_}},{key:"z_",get:function(){return this.X_}},{key:"G_",get:function(){return this.Q_}},{key:"K_",get:function(){return this.j_}},{key:"Y_",get:function(){return!(!this.m_&&!this.__)&&this.h_<=56}},{key:"Z_",get:function(){return this.J_}},{key:"eg",get:function(){return this.rg}},{key:"hg",get:function(){return this.og}},{key:"ag",get:function(){return this.cg}},{key:"dg",get:function(){return this.fg}},{key:"_g",get:function(){return this.gg}},{key:"vg",get:function(){return this.wg}},{key:"IS_IOS_CHROME",get:function(){return this.pg}}]),t}();It.yg=new It;var bt,mt=It.yg,Et={}.toString;Array.isArray;function At(t){return"object"===(void 0===t?"undefined":E(t))&&null!==t}function Ot(t){return function(t){return"function"==typeof t}(t)||At(t)}function Rt(){return void 0!==a?a.createElement("video"):void 0}var Dt=null;try{Dt=new WebAssembly.Instance(new WebAssembly.Module(new m([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(Q){}function Tt(t,n,r){this.low=0|t,this.high=0|n,this.unsigned=!!r}function Nt(t){return!0===(t&&t.Ag)}function Pt(t){var n=S.clz32(t&-t);return t?31-n:n}Tt.prototype.Ag,k.defineProperty(Tt.prototype,"Ag",{value:!0}),Tt.isLong=Nt;var Ft={},Bt={};function Ct(t,n){var r,i,e;return n?(e=0<=(t>>>=0)&&t<256)&&(i=Bt[t])?i:(r=Mt(t,0,!0),e&&(Bt[t]=r),r):(e=-128<=(t|=0)&&t<128)&&(i=Ft[t])?i:(r=Mt(t,t<0?-1:0,!1),e&&(Ft[t]=r),r)}function Vt(t,n){if(b(t))return n?Kt:Gt;if(n){if(t<0)return Kt;if(t>=jt)return Jt}else{if(t<=-Ut)return Yt;if(t+1>=Ut)return Zt}return t<0?Vt(-t,n).neg():Mt(t%Lt|0,t/Lt|0,n)}function Mt(t,n,r){return new Tt(t,n,r)}Tt.fromInt=Ct,Tt.fromNumber=Vt,Tt.fromBits=Mt;var Ht=S.pow;function Wt(t,n,r){if(0===t.length)throw _("empty string");if("number"==typeof n?(r=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?Kt:Gt;if((r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw _("interior hyphen");if(0===i)return Wt(t.substring(1),n,r).neg();for(var e=Vt(Ht(r,8)),u=Gt,o=0;o<t.length;o+=8){var f=S.min(8,t.length-o),s=p(t.substring(o,o+f),r);if(f<8){var c=Vt(Ht(r,f));u=u.mul(c).add(Vt(s))}else u=(u=u.mul(e)).add(Vt(s))}return u.unsigned=n,u}function xt(t,n){return"number"==typeof t?Vt(t,n):"string"==typeof t?Wt(t,n):Mt(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}Tt.fromString=Wt,Tt.fromValue=xt;var Lt=4294967296,jt=Lt*Lt,Ut=jt/2,zt=Ct(1<<24),Gt=Ct(0);Tt.ZERO=Gt;var Kt=Ct(0,!0);Tt.UZERO=Kt;var Xt=Ct(1);Tt.ONE=Xt;var $t=Ct(1,!0);Tt.UONE=$t;var qt=Ct(-1);Tt.NEG_ONE=qt;var Zt=Mt(-1,2147483647,!1);Tt.MAX_VALUE=Zt;var Jt=Mt(-1,-1,!0);Tt.MAX_UNSIGNED_VALUE=Jt;var Yt=Mt(0,-2147483648,!1);Tt.MIN_VALUE=Yt;var Qt=Tt.prototype;Qt.toInt=function(){return this.unsigned?this.low>>>0:this.low},Qt.toNumber=function(){return this.unsigned?(this.high>>>0)*Lt+(this.low>>>0):this.high*Lt+(this.low>>>0)},Qt.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(Yt)){var n=Vt(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=Vt(Ht(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}},Qt.getHighBits=function(){return this.high},Qt.getHighBitsUnsigned=function(){return this.high>>>0},Qt.getLowBits=function(){return this.low},Qt.getLowBitsUnsigned=function(){return this.low>>>0},Qt.getNumBitsAbs=function(){if(this.isNegative())return this.eq(Yt)?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},Qt.isZero=function(){return 0===this.high&&0===this.low},Qt.eqz=Qt.isZero,Qt.isNegative=function(){return!this.unsigned&&this.high<0},Qt.isPositive=function(){return this.unsigned||this.high>=0},Qt.isOdd=function(){return 1==(1&this.low)},Qt.isEven=function(){return 0==(1&this.low)},Qt.equals=function(t){return Nt(t)||(t=xt(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},Qt.eq=Qt.equals,Qt.notEquals=function(t){return!this.eq(t)},Qt.neq=Qt.notEquals,Qt.ne=Qt.notEquals,Qt.lessThan=function(t){return this.comp(t)<0},Qt.lt=Qt.lessThan,Qt.lessThanOrEqual=function(t){return this.comp(t)<=0},Qt.lte=Qt.lessThanOrEqual,Qt.le=Qt.lessThanOrEqual,Qt.greaterThan=function(t){return this.comp(t)>0},Qt.gt=Qt.greaterThan,Qt.greaterThanOrEqual=function(t){return this.comp(t)>=0},Qt.gte=Qt.greaterThanOrEqual,Qt.ge=Qt.greaterThanOrEqual,Qt.compare=function(t){if(Nt(t)||(t=xt(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},Qt.comp=Qt.compare,Qt.negate=function(){return!this.unsigned&&this.eq(Yt)?Yt:this.not().add(Xt)},Qt.neg=Qt.negate,Qt.add=function(t){Nt(t)||(t=xt(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,Mt((h&=65535)<<16|(a&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},Qt.subtract=function(t){return Nt(t)||(t=xt(t)),this.add(t.neg())},Qt.sub=Qt.subtract,Qt.multiply=function(t){if(this.isZero())return this;if(Nt(t)||(t=xt(t)),Dt)return Mt(Dt.mul(this.low,this.high,t.low,t.high),Dt.get_high(),this.unsigned);if(t.isZero())return this.unsigned?Kt:Gt;if(this.eq(Yt))return t.isOdd()?Yt:Gt;if(t.eq(Yt))return this.isOdd()?Yt:Gt;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(zt)&&t.lt(zt))return Vt(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,Mt((a&=65535)<<16|(l&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},Qt.mul=Qt.multiply,Qt.divide=function(t){if(Nt(t)||(t=xt(t)),t.isZero())throw _("division by zero");var n,r,i;if(Dt)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?Mt((this.unsigned?Dt.div_u:Dt.div_s)(this.low,this.high,t.low,t.high),Dt.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?Kt:Gt;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return Kt;if(t.gt(this.shru(1)))return $t;i=Kt}else{if(this.eq(Yt))return t.eq(Xt)||t.eq(qt)?Yt:t.eq(Yt)?Xt:(n=this.shr(1).div(t).shl(1)).eq(Gt)?t.isNegative()?Xt:qt:(r=this.sub(t.mul(n)),i=n.add(r.div(t)));if(t.eq(Yt))return this.unsigned?Kt:Gt;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=Gt}for(r=this;r.gte(t);){n=S.max(1,S.floor(r.toNumber()/t.toNumber()));for(var e=S.ceil(S.log(n)/S.LN2),u=e<=48?1:Ht(2,e-48),o=Vt(n),f=o.mul(t);f.isNegative()||f.gt(r);)f=(o=Vt(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=Xt),i=i.add(o),r=r.sub(f)}return i},Qt.div=Qt.divide,Qt.modulo=function(t){return Nt(t)||(t=xt(t)),Dt?Mt((this.unsigned?Dt.rem_u:Dt.rem_s)(this.low,this.high,t.low,t.high),Dt.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},Qt.mod=Qt.modulo,Qt.rem=Qt.modulo,Qt.not=function(){return Mt(~this.low,~this.high,this.unsigned)},Qt.countLeadingZeros=function(){return this.high?S.clz32(this.high):S.clz32(this.low)+32},Qt.clz=Qt.countLeadingZeros,Qt.countTrailingZeros=function(){return this.low?Pt(this.low):Pt(this.high)+32},Qt.ctz=Qt.countTrailingZeros,Qt.and=function(t){return Nt(t)||(t=xt(t)),Mt(this.low&t.low,this.high&t.high,this.unsigned)},Qt.or=function(t){return Nt(t)||(t=xt(t)),Mt(this.low|t.low,this.high|t.high,this.unsigned)},Qt.xor=function(t){return Nt(t)||(t=xt(t)),Mt(this.low^t.low,this.high^t.high,this.unsigned)},Qt.shiftLeft=function(t){return Nt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Mt(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):Mt(0,this.low<<t-32,this.unsigned)},Qt.shl=Qt.shiftLeft,Qt.shiftRight=function(t){return Nt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Mt(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):Mt(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},Qt.shr=Qt.shiftRight,Qt.shiftRightUnsigned=function(t){return Nt(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?Mt(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):Mt(32===t?this.high:this.high>>>t-32,0,this.unsigned)},Qt.shru=Qt.shiftRightUnsigned,Qt.shr_u=Qt.shiftRightUnsigned,Qt.rotateLeft=function(t){var n;return Nt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Mt(this.high,this.low,this.unsigned):t<32?(n=32-t,Mt(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),Mt(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},Qt.rotl=Qt.rotateLeft,Qt.rotateRight=function(t){var n;return Nt(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?Mt(this.high,this.low,this.unsigned):t<32?(n=32-t,Mt(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),Mt(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},Qt.rotr=Qt.rotateRight,Qt.toSigned=function(){return this.unsigned?Mt(this.low,this.high,!1):this},Qt.toUnsigned=function(){return this.unsigned?this:Mt(this.low,this.high,!0)},Qt.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},Qt.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]},Qt.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]},Tt.fromBytes=function(t,n,r){return r?Tt.fromBytesLE(t,n):Tt.fromBytesBE(t,n)},Tt.fromBytesLE=function(t,n){return new Tt(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},Tt.fromBytesBE=function(t,n){return new Tt(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var tn=Tt;S.pow(2,-52);function nn(){return Date.now()||(new Date).getTime()}tn.fromNumber(9007199254740991);var rn=!!("ontouchstart"in self||self.DocumentTouch&&a instanceof self.DocumentTouch)||!(!l||!l.msMaxTouchPoints),en=(bt||(bt=Rt()),bt),un=!(!en||!en.webkitShowPlaybackTargetPicker),on=function(){function t(){this.Sg=void 0,this.Gg=!1,this.Ye=rn,this.Ks=!1,this.Qg=!0}var n=t.prototype;return n.Eg=function(){return 0},n.zg=function(t,n){return!0},n.Xg=function(t){return t>=.3333333333333333},ct(t,[{key:"Tg",get:function(){return void 0===this.Sg&&(this.Sg=this.Eg()),this.Sg}},{key:"Pg",get:function(){return!mt.K_}},{key:"Ig",get:function(){if(h.screen)return{width:h.screen.width,height:h.screen.height}}},{key:"Cg",get:function(){return h.devicePixelRatio||1}},{key:"Rg",get:function(){return un}},{key:"xg",get:function(){return!1}},{key:"Dg",get:function(){return!0}},{key:"Ng",get:function(){return!(!mt.F_&&!mt.Gd)||!!mt.S_}},{key:"Bg",get:function(){return mt.S_}},{key:"Mg",get:function(){return!mt.Gd}},{key:"Lg",get:function(){return!0}},{key:"Og",get:function(){return!0}},{key:"Fg",get:function(){return!1}},{key:"Ug",get:function(){}},{key:"Vg",get:function(){return!0}},{key:"Hg",get:function(){return!1}},{key:"Wg",get:function(){return mt.S_}},{key:"qg",get:function(){return!1}}]),t}(),fn=function(t){function n(){return t.call(this)||this}return ft(n,t),n}(on),sn=function(t){function n(){return t.apply(this,arguments)||this}return ft(n,t),n.prototype.zg=function(t,n){if(t&&t.Kg&&n&&n.Kg){var r=cn(t.Kg,"mp4a.40.2")&&cn(n.Kg,"mp4a.40.5"),i=cn(t.Kg,"mp4a.40.5")&&cn(n.Kg,"mp4a.40.2"),e=cn(t.Kg,"mp4a.40.2")&&cn(n.Kg,"mp4a.40.34"),u=cn(t.Kg,"mp4a.40.34")&&cn(n.Kg,"mp4a.40.2"),o=cn(t.Kg,"mp4a.40.5")&&cn(n.Kg,"mp4a.40.34"),f=cn(t.Kg,"mp4a.40.34")&&cn(n.Kg,"mp4a.40.5");return!(r||i||e||u||o||f)}return!0},ct(n,[{key:"Ug",get:function(){if(mt.Ed)return 4096}}]),n}(fn);function cn(t,n){return t.indexOf(n)>-1}var hn,an=function(t){function n(){return t.apply(this,arguments)||this}return ft(n,t),n.prototype.Xg=function(t){return t>=2},n}(fn),ln=function(t){function n(){var n;return(n=t.call(this)||this).Gg=mt.V_>=11,n.Qg=mt.F_&&!(mt.Gd&&mt.V_<10),n}return ft(n,t),ct(n,[{key:"qg",get:function(){return mt.V_<17}}]),n}(fn),vn=function(t){function n(){return t.apply(this,arguments)||this}return ft(n,t),ct(n,[{key:"Vg",get:function(){return!mt.Id||(mt.u_?92!==mt.f_:mt.h_>=100)}}]),n}(fn);var yn=function(){var t=Rt();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(mt.Wd)return!1;var t=Rt();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var dn,wn=function(t){function n(n){var r;return(r=t.call(this)||this).jg=n,r.Gg=r.jg.Gg,r.Ye=r.jg.Ye,r.Qg=yn&&r.jg.Qg,r}ft(n,t);var r=n.prototype;return r.Eg=function(){return this.jg.Tg},r.zg=function(t,n){return this.jg.zg(t,n)},r.Xg=function(t){return this.jg.Xg(t)},ct(n,[{key:"Ug",get:function(){return this.jg.Ug}},{key:"Vg",get:function(){return this.jg.Vg}},{key:"qg",get:function(){return this.jg.qg}}]),n}(on),_n=function(t){function n(n){var r;return(r=t.call(this,n)||this).Gg=!0,r.Ks=!0,r}return ft(n,t),ct(n,[{key:"Fg",get:function(){return mt.Gd}}]),n}(wn);var gn=function(t){function n(){return t.apply(this,arguments)||this}return ft(n,t),n.prototype.Eg=function(){return function(t){return t&&Ot(dn.ManagedMediaSource)?dn.ManagedMediaSource:Ot(dn.MediaSource)?dn.MediaSource:void 0}(!0)?t.prototype.Eg.call(this):1},ct(n,[{key:"Fg",get:function(){return!0}}]),n}(_n),kn=function(t){function n(){return t.apply(this,arguments)||this}return ft(n,t),n.prototype.zg=function(n,r){return t.prototype.zg.call(this,n,r)},ct(n,[{key:"xg",get:function(){return mt.v_<3}},{key:"Dg",get:function(){return mt.v_>=3}},{key:"Ig",get:function(){var t=this;return h.tizen&&!this.$g&&h.tizen.systeminfo.getPropertyValue("DISPLAY",(function(n){var r=n.resolutionWidth,i=n.resolutionHeight;1===r&&1===i||(t.$g={width:r,height:i})})),this.$g}},{key:"Hg",get:function(){return mt.v_<3}}]),n}(wn),Sn=function(t){function n(){return t.apply(this,arguments)||this}return ft(n,t),ct(n,[{key:"Ig",get:function(){var t=this;return h.webOS&&!this.$g&&h.webOS.deviceInfo((function(n){t.$g={width:n.screenWidth,height:n.screenHeight}})),this.$g}},{key:"Lg",get:function(){return!1}}]),n}(wn),pn=function(t){function n(){return t.apply(this,arguments)||this}return ft(n,t),ct(n,[{key:"Fg",get:function(){return!0}}]),n}(wn);function In(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 bn(t,n){if(t){if("string"==typeof t)return In(t,n);var r=k.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)?In(t,n):void 0}}function mn(t){return function(t){if(Array.isArray(t))return In(t)}(t)||function(t){if(void 0!==n&&null!=t[i]||null!=t["@@iterator"])return Array.from(t)}(t)||bn(t)||function(){throw new g("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}!function(t){hn=t}(function(){var t=function(){if(mt.B_)return new sn;if(mt.E_||mt.I_)return new an;if(mt.F_)return new ln;if(mt.n_)return new vn;return new fn}();return mt.Gd?new gn(t):mt.Ks?new _n(t):mt.__?new kn(t):mt.m_?new Sn(t):mt.Ed?new pn(t):new wn(t)}());var En=function(){},An=!(mt.I_&&!mt.R_),On=self.console;function Rn(t){if(At(t))try{return JSON.stringify(t)}catch(t){}return t}function Dn(t){return t.map(Rn).join(" ")}function Tn(t){var n=On&&On[t];return n?n.bind&&An?n.bind(On):function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];On[t](Dn(r))}:void 0}var Nn=Tn("log")||En,Pn=Tn("warn")||Nn.bind(void 0,"WARNING:"),Fn=Tn("error")||Nn.bind(void 0,"ERROR:"),Bn=function(){var t=On&&On.assert;return t?t.bind&&An?t.bind(On):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];On.assert(t,Dn(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||Fn.apply(void 0,["Assertion failed:"].concat(mn(r)))}}();function Cn(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),k.defineProperty(t,i.key,i)}}function Vn(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){Mn(t,n,e,i);var u=t;t=i,i=u}return t}(t,n);return r!==t&&Mn(r,null,t.length,t),t}function Mn(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 Hn=/[a-zA-Z]/,Wn=/[0-9]/,xn=/[0-9a-fA-F]/,Ln=/^0x/i,jn=/^[0-9]+$/,Un=/^[0-9a-fA-F]+$/,zn=/^[0-7]+$/,Gn=k.prototype.toString,Kn=Array.isArray||function(t){return"[object Array]"===Gn.call(t)},Xn=void 0!==n&&"symbol"==typeof i;function $n(t){return Kn(t)?t:Array.from(t)}function qn(t,n,r){var i=t[n];t[n]=t[r],t[r]=i}function Zn(t){return t>=65&&t<=90}function Jn(t){return Zn(t)||function(t){return t>=97&&t<=122}(t)}function Yn(t){return t>=48&&t<=57}function Qn(t){return Yn(t)||Jn(t)}function tr(t){return Yn(t)||t>=65&&t<=70||t>=97&&t<=102}function nr(t){return Zn(t)?t+32:t}function rr(t){return Yn(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function ir(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var er=S.min,ur=String.fromCharCode,or=16384;function fr(t){for(var n=t.length,r=[],i=0;i<n;i+=or){var e=er(i+or,n);r.push(ur.apply(null,t.slice(i,e)))}return r.join("")}var sr=2147483647,cr=/[^\0-\x7E]/,hr=/[\x2E\u3002\uFF0E\uFF61]/g,ar={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},lr=S.floor,vr=String.fromCharCode;function yr(t){throw new RangeError(ar[t])}function dr(t){for(var n=[],r=0,i=t.length;r<i;){var e=t.charCodeAt(r++);if(e>=55296&&e<=56319&&r<i){var u=t.charCodeAt(r++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),r--)}else n.push(e)}return n}var wr,_r,gr,kr=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},Sr=function(t,n,r){var i=0;for(t=r?lr(t/700):t>>1,t+=lr(t/n);t>455;i+=36)t=lr(t/35);return lr(i+36*t/(t+38))},pr=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(hr,".")).split("."),n).join(".");return i+e}(t,(function(t){return cr.test(t)?"xn--"+function(t){for(var n=[],r=(t=dr(t)).length,i=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(vr(s))}var c=n.length,h=c;for(c&&n.push("-");h<r;){for(var a=sr,l=0,v=t;l<v.length;l++){var y=v[l];y>=i&&y<a&&(a=y)}var d=h+1;a-i>lr((sr-e)/d)&&yr("overflow"),e+=(a-i)*d,i=a;for(var w=0,_=t;w<_.length;w++){var g=_[w];if(g<i&&++e>sr&&yr("overflow"),g==i){for(var k=e,S=36;;S+=36){var p=S<=u?1:S>=u+26?26:S-u;if(k<p)break;var I=k-p,b=36-p;n.push(vr(kr(p+I%b,0))),k=lr(I/b)}n.push(vr(kr(k,0))),u=Sr(e,d,h==c),e=0,++h}}++e,++i}return n.join("")}(t):t}))};function Ir(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 fr(n)}function br(t){if(t>=55296&&t<=57343)throw new _("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function mr(t,n){return t>>n&63|128}function Er(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(br(t),n.push(t>>12&15|224),n.push(mr(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(mr(t,12)),n.push(mr(t,6))),n.push(63&t|128)):n.push(t)}function Ar(t){for(var n=[],r=0;r<t.length;r++){Er(t[r],n)}return n}function Or(){if(gr>=_r)throw new _("Invalid byte index");var t=255&wr[gr];if(gr++,128==(192&t))return 63&t;throw new _("Invalid continuation byte")}function Rr(){var t,n;if(gr>_r)throw new _("Invalid byte index");if(gr===_r)return!1;if(t=255&wr[gr],gr++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|Or())>=128)return n;throw new _("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|Or()<<6|Or())>=2048)return br(n),n;throw new _("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|Or()<<12|Or()<<6|Or())>=65536&&n<=1114111)return n;throw new _("Invalid UTF-8 detected")}function Dr(t){return[37,ir(t>>4),ir(15&t)]}function Tr(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Nr(t){return Tr(t)||32===t||34===t||60===t||62===t||96===t}function Pr(t){return Nr(t)||35===t||63===t||123===t||125===t}function Fr(t){return Pr(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Br(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Cr(t){return Br(t)||39===t}function Vr(t,n){if(!n(t))return[t];for(var r=Ar([t]),i=[],e=0;e<r.length;e++){var u=r[e];i.push.apply(i,Dr(u))}return i}function Mr(t,n){for(var r=[],i=0,e=dr(t);i<e.length;i++){var u=e[i];r.push.apply(r,Vr(u,n))}return Ir(r)}function Hr(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&&tr(t[i+1])&&tr(t[i+2])){var u=rr(t[i+1])<<4|rr(t[i+2]);n.push(u),i+=2}else n.push(e)}return n}(Ar(t))}function Wr(t){return Ir(function(t){wr=t.slice(),_r=wr.length,gr=0;for(var n,r=[];!1!==(n=Rr());)r.push(n);return r}(Hr(dr(t))))}function xr(t){var n=t.length,r=[0,0,0,0,0,0,0,0],i=0,e=null,u=0;if(u<n&&":"===t[u]){if(!(u+1<n&&":"===t[u+1]))throw new g;u+=2,e=i+=1}for(;u<n;){if(8===i)throw new g("Too many groups");if(":"!==t[u]){for(var o=0,f=0;f<4&&u<n&&xn.test(t[u]);)o=o<<4|p(t[u],16),u+=1,f+=1;if("."===t[u]){if(0===f)throw new g;if(u-=f,i>6)throw new g;for(var s=0;u<n;){var c=null;if(s>0){if(!("."===t[u]&&s<4))throw new g;u+=1}if(!Wn.test(t[u]))throw new g;for(;u<n&&Wn.test(t[u]);){var h=p(t[u],10);if(null===c)c=h;else{if(0===c)throw new g;if((c=10*c+h)>255)throw new g}u+=1}r[i]=r[i]<<8|c,2!==(s+=1)&&4!==s||(i+=1)}if(4!==s)throw new g;break}if(":"===t[u]){if((u+=1)===n)throw new g}else if(u<n)throw new g;r[i]=o,i+=1}else{if(null!==e)throw new g("Too many :: groups");u+=1,e=i+=1}}if(null!==e){var a=i-e;for(i=7;0!==i&&a>0;)qn(r,i,e+a-1),i-=1,a-=1}else if(8!==i)throw new g;return r}function Lr(t){var n=10,r=jn;return Ln.test(t)?(t=t.slice(2),n=16,r=Un):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,r=zn),""===t?0:r.test(t)?p(t,n):void 0}var jr={hv:4},Ur=/[\0\t\n\r #%/:?@\[\\\]]/,zr=/[\0\t\n\r #/:?@\[\\\]]/;function Gr(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new g("Invalid IPv6 address");return{hv:2,ov:xr(t.slice(1,-1))}}if(!n)return function(t){if(zr.test(t))throw new g("Invalid code point in opaque host");var n=Mr(t,Tr);return""===n?jr:{hv:3,uv:n}}(t);var r=function(t){var n=function(t){return pr(t.toLowerCase())}(t);return n}(Wr(t));if(Ur.test(r))throw new g("Invalid code point in host");var i=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var r=[],i=0;i<n.length;i++){var e=n[i];if(""===e)return;var u=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 g;if(r[r.length-1]>=S.pow(256,5-r.length))throw new g;for(var f=r.pop(),s=0;s<r.length;s++)f+=r[s]*S.pow(256,3-s);return f}}(r);return void 0!==i?{hv:1,ov:i}:""===r?jr:{hv:0,fv:r}}function Kr(t){switch(t.hv){case 0:return t.fv;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.ov);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.ov)+"]";case 3:return t.uv;case 4:return""}}var Xr=/\+/g;function $r(t){return 42===t||45===t||46===t||95===t||Qn(t)}function qr(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(Xr," "),f=f.replace(Xr," ");var s=Wr(o),c=Wr(f);r.push([s,c])}}return r}function Zr(t){for(var n="",r=0;r<t.length;r++){var i=t[r];r>0&&(n+="&"),n+=Jr(Ar(dr(i[0])))+"="+Jr(Ar(dr(i[1])))}return n}function Jr(t){for(var n=[],r=0;r<t.length;r++){var i=t[r];32===i?n.push(43):$r(i)?n.push(i):n.push.apply(n,Dr(i))}return fr(n)}var Yr=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function Qr(t){var n=""+t,r=Yr.exec(n);return r?function(t,n){for(var r=t.length,i=[],e=n;e<r;e++){var u=t.charCodeAt(e);if(ni(u))if(ri(u)||e===r-1)i.push(ti);else{var o=t.charCodeAt(e+1);ri(o)?(i.push(u,o),e++):i.push(ti)}else i.push(u)}return t.slice(0,n)+fr(i)}(n,r.index):n}var ti=65533,ni=function(t){return 55296==(63488&t)},ri=function(t){return 0!=(1024&t)};function ii(t,n){var r=t[0],i=n[0];return r===i?0:r<i?-1:1}function ei(t){t._v.length=0}function ui(t,n){!function(t,n){for(var r=0;r<n.length;r++)t[r]=n[r];t.length=n.length}(t._v,qr(n))}function oi(t){if(t.vv){var n=Zr(t._v);""===n&&(n=null),t.vv.vv.wv=n}}var fi=function(){function t(t){if(void 0===t&&(t=void 0),this.vv=null,null==t)this._v=[];else if("object"==typeof t||"function"==typeof t)if(function(t){return t instanceof fi&&!!Kn(t._v)&&(!Xn||t[i]===si)}(t))this._v=t._v.slice();else if(function(t){return null!=t&&(!!Kn(t)||!!Xn&&"function"==typeof t[i])}(t)){this._v=[];for(var n=0,r=$n(t);n<r.length;n++){var e=$n(r[n]);if(2!==e.length)throw new g("Invalid name-value pair");this._v.push([Qr(e[0]),Qr(e[1])])}}else for(var u in this._v=[],t)k.prototype.hasOwnProperty.call(t,u)&&this._v.push([Qr(u),Qr(t[u])]);else(t=Qr(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this._v=qr(t)}var n=t.prototype;return n.append=function(t,n){t=Qr(t),n=Qr(n),this._v.push([t,n]),oi(this)},n.delete=function(t){t=Qr(t);for(var n=this._v,r=0;r<n.length;){n[r][0]===t?n.splice(r,1):r++}oi(this)},n.get=function(t){t=Qr(t);for(var n=this._v,r=0;r<n.length;r++){var i=n[r];if(i[0]===t)return i[1]}return null},n.getAll=function(t){t=Qr(t);for(var n=this._v,r=[],i=0;i<n.length;i++){var e=n[i];e[0]===t&&r.push(e[1])}return r},n.has=function(t){t=Qr(t);for(var n=this._v,r=0;r<n.length;r++){if(n[r][0]===t)return!0}return!1},n.set=function(t,n){t=Qr(t),n=Qr(n);for(var r=this._v,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]),oi(this)},n.sort=function(){Vn(this._v,ii),oi(this)},n.toString=function(){return Zr(this._v)},n.entries=function(){return new li(this._v,ci)},n.keys=function(){return new li(this._v,hi)},n.values=function(){return new li(this._v,ai)},n.forEach=function(t){var n=this;this._v.forEach((function(r){return t(r[1],r[0],n)}))},t}(),si=fi.prototype.entries;Xn&&(fi.prototype[i]=si);var ci=function(t){return[t[0],t[1]]},hi=function(t){return t[0]},ai=function(t){return t[1]},li=function(){function t(t,n){this.mv=0,this._v=t,this.pv=n}return t.prototype.next=function(){return this.mv<this._v.length?{done:!1,value:this.pv(this._v[this.mv++])}:{done:!0,value:void 0}},t}(),vi="null";var yi=k.create(null);yi.ftp=21,yi.file=0,yi.gopher=70,yi.http=80,yi.https=443,yi.ws=80,yi.wss=443;var di=/^(?:\.|%2e)$/i,wi=/^(?:\.|%2e){2}$/i;function _i(t){return di.test(t)}function gi(t){return wi.test(t)}function ki(t){return void 0!==yi[t]}function Si(t){return ki(t.yv)}function pi(t){return""!==t.Av||""!==t.bv}function Ii(t){var n=t.length;if(!(n>=2))return!1;if(!mi(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 bi(t){return 2===t.length&&Hn.test(t[0])&&(":"===t[1]||"|"===t[1])}function mi(t){return 2===t.length&&bi(fr(t))}function Ei(t){return bi(t)&&":"===t[1]}function Ai(t){var n=t.Tv;0!==n.length&&("file"===t.yv&&1===n.length&&Ei(n[0])||n.pop())}function Oi(t){return null===t.Sv||jr===t.Sv||t.Ev||"file"===t.yv}var Ri=-1,Di=/\t|\n|\r/g,Ti=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Ni(t,n,r,i){void 0===r&&(r=null),void 0===i&&(i=null),r||(r=new Fi,t=t.replace(Ti,""));var e=null!==i?i:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=dr(t=t.replace(Di,"")),h=c.length,a=0;a<=h;){var l=a<h?c[a]:Ri;switch(e){case 0:if(!Jn(l)){if(null===i){u.length=0,e=2;continue}throw new g("Invalid scheme")}u.push(nr(l)),e=1;break;case 1:if(Qn(l)||43===l||45===l||46===l)u.push(nr(l));else{if(58!==l){if(null===i){u.length=0,e=2,a=0;continue}throw new g("Invalid scheme")}var v=Ir(u);if(null!==i){if(ki(r.yv)&&!ki(v))return;if(!ki(r.yv)&&ki(v))return;if((pi(r)||null!==r.Pv)&&"file"===v)return;if("file"===r.yv&&(r.Sv===jr||null===r.Sv))return}if(r.yv=v,null!==i)return void(Si(r)&&r.Pv===yi[r.yv]&&(r.Pv=null));u.length=0,"file"===r.yv?e=13:Si(r)&&n&&n.yv===r.yv?e=3:Si(r)?e=7:47===c[a+1]?(e=4,a+=1):(r.Ev=!0,r.Tv.push(""),e=18)}break;case 2:if(!n||n.Ev&&35!==l)throw new g("Invalid scheme");n.Ev&&35===l?(r.yv=n.yv,r.Tv=n.Tv.slice(),r.wv=n.wv,r.Iv="",r.Ev=!0,e=20):"file"!==n.yv?(e=5,a-=1):(e=13,a-=1);break;case 3:47===l&&47===c[a+1]?e=8:(e=5,a-=1);break;case 4:47===l?e=9:(e=17,a-=1);break;case 5:r.yv=n.yv,Ri===l?(r.Av=n.Av,r.bv=n.bv,r.Sv=n.Sv,r.Pv=n.Pv,r.Tv=n.Tv.slice(),r.wv=n.wv):47===l?e=6:63===l?(r.Av=n.Av,r.bv=n.bv,r.Sv=n.Sv,r.Pv=n.Pv,r.Tv=n.Tv.slice(),r.wv="",e=19):35===l?(r.Av=n.Av,r.bv=n.bv,r.Sv=n.Sv,r.Pv=n.Pv,r.Tv=n.Tv.slice(),r.wv=n.wv,r.Iv="",e=20):92===l&&Si(r)?e=6:(r.Av=n.Av,r.bv=n.bv,r.Sv=n.Sv,r.Pv=n.Pv,r.Tv=n.Tv.slice(),r.Tv.pop(),e=17,a-=1);break;case 6:!Si(r)||47!==l&&92!==l?47===l?e=9:(r.Av=n.Av,r.bv=n.bv,r.Sv=n.Sv,r.Pv=n.Pv,e=17,a-=1):e=8;break;case 7:if(47!==l||47!==c[a+1]){e=8;continue}e=8,a+=1;break;case 8:47!==l&&92!==l&&(e=9,a-=1);break;case 9:if(64===l){o&&u.unshift(37,52,48),o=!0;for(var y=0;y<u.length;y++){var d=u[y];if(58!==d||s){var w=Ir(Vr(d,Fr));s?r.bv+=w:r.Av+=w}else s=!0}u.length=0}else if(Ri===l||47===l||63===l||35===l||Si(r)&&92===l){if(o&&0===u.length)throw new g("Invalid host");a-=u.length+1,u.length=0,e=10}else u.push(l);break;case 10:case 11:if(null!==i&&"file"===r.yv)a-=1,e=15;else if(58!==l||f)if(Ri===l||47===l||63===l||35===l||Si(r)&&92===l){if(a-=1,Si(r)&&0===u.length)throw new g("Invalid host");if(null!==i&&0===u.length&&(pi(r)||null!==r.Pv))return;var _=Gr(Ir(u),Si(r));if(r.Sv=_,u.length=0,e=16,null!==i)return}else 91===l?f=!0:93===l&&(f=!1),u.push(l);else{if(0===u.length)throw new g("Invalid host");var k=Gr(Ir(u),Si(r));if(r.Sv=k,u.length=0,e=12,11===i)return}break;case 12:if(Yn(l))u.push(l);else{if(!(Ri===l||47===l||63===l||35===l||Si(r)&&92===l||null!==i))throw new g("Invalid port");if(0!==u.length){var S=p(Ir(u),10);if(S>65535)throw new g("Invalid port");r.Pv=S===yi[r.yv]?null:S,u.length=0}if(null!==i)return;e=16,a-=1}break;case 13:r.yv="file",47===l||92===l?e=14:n&&"file"===n.yv?Ri===l?(r.Sv=n.Sv,r.Tv=n.Tv.slice(),r.wv=n.wv):63===l?(r.Sv=n.Sv,r.Tv=n.Tv.slice(),r.wv="",e=19):35===l?(r.Sv=n.Sv,r.Tv=n.Tv.slice(),r.wv=n.wv,r.Iv="",e=20):(Ii(c.slice(a))||(r.Sv=n.Sv,r.Tv=n.Tv.slice(),Ai(r)),e=17,a-=1):(e=17,a-=1);break;case 14:47===l||92===l?e=15:(n&&"file"===n.yv&&!Ii(c.slice(a))&&(Ei(n.Tv[0])?r.Tv.push(n.Tv[0]):r.Sv=n.Sv),e=17,a-=1);break;case 15:if(Ri===l||47===l||92===l||63===l||35===l)if(a-=1,null===i&&mi(u))e=17;else if(0===u.length){if(r.Sv=jr,null!==i)return;e=16}else{var I=Gr(Ir(u),Si(r));if(0===I.hv&&"localhost"===I.fv&&(I=jr),r.Sv=I,null!==i)return;u.length=0,e=16}else u.push(l);break;case 16:Si(r)?(e=17,47!==l&&92!==l&&(a-=1)):null===i&&63===l?(r.wv="",e=19):null===i&&35===l?(r.Iv="",e=20):Ri!==l&&(e=17,47!==l&&(a-=1));break;case 17:if(Ri===l||47===l||Si(r)&&92===l||null===i&&(63===l||35===l)){var b=Ir(u);if(gi(b)?(Ai(r),47===l||Si(r)&&92===l||r.Tv.push("")):!_i(b)||47===l||Si(r)&&92===l?_i(b)||("file"===r.yv&&0===r.Tv.length&&mi(u)&&(jr!==r.Sv&&null!==r.Sv&&(r.Sv=jr),u[1]=58,b=Ir(u)),r.Tv.push(b)):r.Tv.push(""),u.length=0,"file"===r.yv&&(Ri===l||63===l||35===l))for(;r.Tv.length>1&&""===r.Tv[0];)r.Tv.shift();63===l?(r.wv="",e=19):35===l&&(r.Iv="",e=20)}else u.push.apply(u,Vr(l,Pr));break;case 18:63===l?(r.wv="",e=19):35===l?(r.Iv="",e=20):Ri!==l&&(r.Tv[0]+=Ir(Vr(l,Tr)));break;case 19:null===i&&35===l?(r.Iv="",e=20):Ri!==l&&(r.wv+=Ir(Vr(l,Si(r)?Cr:Br)));break;case 20:Ri===l||0===l||(r.Iv+=Ir(Vr(l,Nr)))}a++}return r}function Pi(t,n,r,i){try{Ni(t,n,r,i)}catch(t){}}var Fi=function(){this.yv="",this.Av="",this.bv="",this.Sv=null,this.Pv=null,this.Tv=[],this.wv=null,this.Iv=null,this.Ev=!1};function Bi(t){switch(t.yv){case"blob":var n;try{n=Ni(t.Tv[0],null)}catch(t){return vi}return Bi(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(t,n,r){return t+"://"+Kr(n)+(null===r?"":":"+r)}(t.yv,t.Sv,t.Pv);default:return vi}}var Ci=function(){function t(t,n){var r,i=null;if(null!=n)if(function(t){return null!=t&&t instanceof Ci&&"object"==typeof t.vv}(n))i=n.vv;else try{i=Ni(String(n),null)}catch(t){throw new g("Invalid base URL: "+t.message)}try{r=Ni(String(t),i)}catch(t){throw new g("Invalid URL: "+t.message)}var e=r.wv;this.vv=r,this.wv=function(t){var n=new fi;return null!==t&&ui(n,t),n}(e),this.wv.vv=this}var n=t.prototype;return n.toString=function(){return this.href},n.toJSON=function(){return this.href},function(t,n,r){n&&Cn(t.prototype,n),r&&Cn(t,r)}(t,[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var r=t.yv+":";if(null!==t.Sv?(r+="//",pi(t)&&(r+=t.Av,""!==t.bv&&(r+=":"+t.bv),r+="@"),r+=Kr(t.Sv),null!==t.Pv&&(r+=":"+t.Pv)):null===t.Sv&&"file"===t.yv&&(r+="//"),t.Ev)r+=t.Tv[0];else for(var i=0,e=t.Tv;i<e.length;i++)r+="/"+e[i];return null!==t.wv&&(r+="?"+t.wv),n||null===t.Iv||(r+="#"+t.Iv),r}(this.vv)},set:function(t){var n;try{n=Ni(String(t),null)}catch(t){throw new g("Invalid URL: "+t.message)}this.vv=n,ei(this.wv);var r=this.vv.wv;null!==r&&ui(this.wv,r)}},{key:"origin",get:function(){return Bi(this.vv)}},{key:"protocol",get:function(){return this.vv.yv+":"},set:function(t){Pi(t+":",null,this.vv,0)}},{key:"username",get:function(){return this.vv.Av},set:function(t){Oi(this.vv)||(this.vv.Av=Mr(t,Fr))}},{key:"password",get:function(){return this.vv.bv},set:function(t){Oi(this.vv)||(this.vv.bv=Mr(t,Fr))}},{key:"host",get:function(){var t=this.vv,n=t.Sv;if(null===n)return"";var r=t.Pv,i=Kr(n);return null!==r&&(i+=":"+r),i},set:function(t){this.vv.Ev||Pi(t,null,this.vv,10)}},{key:"hostname",get:function(){var t=this.vv.Sv;return null===t?"":Kr(t)},set:function(t){this.vv.Ev||Pi(t,null,this.vv,11)}},{key:"port",get:function(){var t=this.vv.Pv;return null===t?"":""+t},set:function(t){Oi(this.vv)||(""===t?this.vv.Pv=null:Pi(t,null,this.vv,12))}},{key:"pathname",get:function(){var t=this.vv.Tv;return this.vv.Ev?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.vv.Ev||(this.vv.Tv.length=0,Pi(t,null,this.vv,16))}},{key:"search",get:function(){var t=this.vv.wv;return null===t||""===t?"":"?"+t},set:function(t){t=Qr(t);var n=this.vv;if(""===t)return n.wv=null,void ei(this.wv);"?"===t[0]&&(t=t.slice(1)),n.wv="",Pi(t,null,n,19),ui(this.wv,t)}},{key:"searchParams",get:function(){return this.wv}},{key:"hash",get:function(){var t=this.vv.Iv;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.vv.Iv="",Pi(t,null,this.vv,20)):this.vv.Iv=null}}]),t}();function Vi(t){return t.document&&t.document.baseURI||t.location.href||""}var Mi=function(){function t(){this.zv=new Hi,this.Qv=hn,this.Gv=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.tv=function(){return self.performance.now()}:this.tv=nn}var n=t.prototype;return n.Cv=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Nn.apply(void 0,mn(n))},n.Rv=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Pn.apply(void 0,mn(n))},n.xv=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];Fn.apply(void 0,mn(n))},n.Dv=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];Bn.apply(void 0,[t].concat(mn(r)))},n.rv=function(t,n){return v(t,n)},n.Nv=function(t,n){return d(t,n)},n.ev=function(t){y(t)},n.Bv=function(t){w(t)},n.Mv=function(){return this.Lv.Mv()},n.Ov=function(){return this.Lv.Ov()},n.Fv=function(){return this.Lv.Fv()},n.Uv=function(){return this.Lv.Uv()},n.Vv=function(){return this.Lv.Vv()},n.Hv=function(t,n){return this.Lv.Hv(t,n)},n.Wv=function(t){return this.Lv.Wv(t)},n.Ih=function(t,n){var r;return void 0===n&&(n=Vi(dn)),r="object"!==(void 0===n?"undefined":E(n))||n instanceof Ci?n:n.href,new Ci(t,r)},n.Xv=function(t,n){if(void 0===n&&(n=Vi(dn)),this.Gv){var r=function(t){return"string"==typeof t}(n)?n:n.toString();return new self.URL(t,r).href}return this.Ih(t,n).href},ct(t,[{key:"qv",get:function(){return this.zv}},{key:"Zs",get:function(){return this.Qv}},{key:"Kv",get:function(){return{Yv:l&&l.userAgent.match(/Android /i)?"Android":"other",Zv:Boolean(l&&l.userAgent.match(/Android 8.0.0/i))}}},{key:"Jv",get:function(){return self&&self.location&&"https:"===self.location.protocol}},{key:"$v",get:function(){return"languages"in l?l.languages.slice():[l.language]}}]),t}(),Hi=function(){function t(){}return ct(t,[{key:"ew",get:function(){return l.oscpu}},{key:"Zs",get:function(){return l.platform}},{key:"iw",get:function(){return l.vendor}},{key:"nw",get:function(){return l.vendorSub}}]),t}();var Wi=function(){function t(){}var n=t.prototype;return n.Vv=function(){return Y.resolve(!1)},n.Ov=function(){return Y.resolve(!1)},n.Uv=function(){return Y.resolve(!1)},n.Fv=function(){return Y.resolve(!1)},n.Wv=function(t){return Y.resolve(!1)},n.Hv=function(t,n){return Y.resolve(!1)},n.Mv=function(){return Y.resolve(!1)},t}(),xi=function(){function t(){}var n=t.prototype;return n.Yb=function(){},n.cp=function(t){},n.hp=function(t){},n.op=function(t,n){},t}(),Li=function(t){return t.Jb="arraybuffer",t.$b="json",t.tT="stream",t.eT="text",t}({});function ji(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=null==t?null:void 0!==n&&t[i]||t["@@iterator"];if(null!=e){var u,o,f=[],s=!0,c=!1;try{for(e=e.call(t);!(s=(u=e.next()).done)&&(f.push(u.value),!r||f.length!==r);s=!0);}catch(t){c=!0,o=t}finally{try{s||null==e.return||e.return()}finally{if(c)throw o}}return f}}(t,r)||bn(t,r)||function(){throw new g("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ui=function(){function t(n){var r=this;this.uw={},n instanceof t?n.asList().forEach((function(t){var n=ji(t,2),i=n[0],e=n[1];r.append(i,e)})):Array.isArray(n)?n.forEach((function(t){var n=ji(t,2),i=n[0],e=n[1];r.append(i,e)})):n&&k.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=zi(r),i=Gi(i);var e=r.toLowerCase();if(this.uw.hasOwnProperty(e)){var u=this.uw[e],o=u[1];u[1]=o?o+", "+i:i}else this.uw[e]=[r,i]},n.delete=function(t){var n=zi(t).toLowerCase();delete this.uw[n]},n.get=function(t){var n=zi(t).toLowerCase();return this.uw.hasOwnProperty(n)?this.uw[n][1]:null},n.has=function(t){var n=zi(t).toLowerCase();return this.uw.hasOwnProperty(n)},n.set=function(t,n){var r=t,i=(r=zi(r)).toLowerCase();this.uw[i]=[r,Gi(n)]},n.forEach=function(t,n){for(var r in this.uw)this.uw.hasOwnProperty(r)&&t.call(n,this.uw[r][1],r,this)},n.asList=function(){var t=[];for(var n in this.uw)if(this.uw.hasOwnProperty(n)){var r=ji(this.uw[n],2),i=r[0],e=r[1];t.push([i,e])}return t},n.iT=function(){var t={};return this.forEach((function(n,r){t[r]=n})),t},n.sT=function(t){var n=this;t.forEach((function(t,r){n.append(r,t)}))},n.nT=function(t){var n=this;t.forEach((function(t,r){n.set(r,t)}))},t}();function zi(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new g("Invalid character in header field name");return n}function Gi(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}Array.prototype.find,Array.prototype.findLast;var Ki="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},Xi="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 $i(t,n){var r=t.indexOf(n);return-1!==r&&(function(t,n){0===n?t.shift():t.splice(n,1)}(t,r),!0)}function qi(t){t.length=0}Array.prototype.flat,Array.prototype.flatMap;var Zi=function(){function t(){this.Rw=!1,this.Bw=!1,this.Mw=[],this.Lw=[]}var n=t.prototype;return n.Nw=function(){if(!this.Rw&&!this.Bw){this.Rw=!0;for(var t=0,n=this.Mw.slice();t<n.length;t++){(0,n[t])()}this.Wu()}},n.Wu=function(){if(!this.Bw){this.Bw=!0;for(var t=0,n=this.Lw.slice();t<n.length;t++){(0,n[t])()}qi(this.Mw),qi(this.Lw)}},n.Dw=function(t){this.Bw||this.Mw.push(t)},n.xw=function(t){this.Bw||$i(this.Mw,t)},n.Ow=function(t){this.Bw||this.Lw.push(t)},n.Fw=function(t){this.Bw||$i(this.Lw,t)},t}(),Ji=function(){function t(){this.Vw=new Zi}var n=t.prototype;return n.tf=function(){this.Vw.Nw()},n.Wu=function(){this.Vw.Wu()},n.Hw=function(t){var n=this.Vw;if(!n.Rw)if(t.Rw)n.Nw();else if(!n.Bw&&!t.Bw){var r=function(){i(),n.Nw()},i=function(){t.xw(r),t.Fw(i),n.xw(r),n.Fw(i)};t.Dw(r),t.Ow(i),n.Dw(r),n.Ow(i)}},n.Ww=function(){var n=new t,r=new t,i=n.Uw,e=r.Uw,u=this.Vw,o=function(){i.Rw&&e.Bw||e.Rw&&i.Bw?u.Nw():i.Bw&&e.Bw&&u.Wu()};i.Dw(o),e.Dw(o),i.Ow(o),e.Ow(o),n.Hw(u),r.Hw(u);return u.Ow((function(){i.xw(o),e.xw(o),i.Fw(o),e.Fw(o)})),[n,r]},n[e]=function(){this.tf()},t.qw=function(n){for(var r=new t,i=0;i<n.length;i++){var e=n[i];void 0!==e&&r.Hw(e)}return r},ct(t,[{key:"Uw",get:function(){return this.Vw}}]),t}(),Yi=function(t,n){var r,i,e,u,o,f,s,c,h,a,l,v,y,d,w,_,g,k,S=t.HS;n?(r=n.pS,i=n.OS,e=n.fk,u=n.MS,o=n._k,f=n.gk,s=n.Uw,c=n.gw,h=n.vk,a=n.wk,l=n.pk,v=n.yk,y=n.Ak,d=n.bk,w=n.Tk):(r=null,i={},e="GET",u=Li.eT,o=0,f=0,c="",h="",a="",l=!1,y=void 0,d=!1,w=void 0),this.HS=S,this.pS=t.pS||r,this.OS=new Ui(t.OS||i),this.fk=t.fk||e,this.MS=t.MS||u,this._k=void 0!==t._k?Number(t._k)||0:o,this.gk=void 0!==t.gk?Number(t.gk)||0:f,this.Uw=t.Uw||s||(new Ji).Uw,this.gw=t.gw||c,this.vk=t.vk||h,this.wk=t.wk||a,this.pk=void 0!==t.pk?Boolean(t.pk):l,this.yk=t.yk||v,this.Ak=null!=(_=t.Ak)?_:y,this.bk=null!=(g=t.bk)?g:d,this.Tk=null!=(k=t.Tk)?k:w},Qi=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];_.apply(this,n)};(Qi.prototype=k.create(_.prototype)).constructor=Qi;var te=function(t){function n(n,r){var i;return(i=t.call(this)||this).message=n||"Unknown error",i.cause=r,_.captureStackTrace&&_.captureStackTrace(i,i.constructor),i}return ft(n,t),ct(n,[{key:"name",get:function(){return"BaseError"}}]),n}(Qi),ne=function(t){return t.Nk="HttpOpenError",t.Bk="HttpResponseError",t.Mk="HttpTimeoutError",t}({}),re=function(t){function n(n,r,i){var e;return(e=t.call(this,r,i)||this).Lk=n,e}return ft(n,t),ct(n,[{key:"LS",get:function(){return this.Lk}}]),n}(te);var ie=function(t){function n(n,r){return t.call(this,n,function(t){return"Error while opening "+t+". Invalid URL."}(n.HS),r)||this}return ft(n,t),ct(n,[{key:"name",get:function(){return ne.Nk}}]),n}(re),ee=function(){function t(){}var n=t.prototype;return n.LS=function(t){return Y.reject(new ie(new Yi(t)))},n.Sk=function(t){},n.bn=function(){},t}(),ue=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return ft(n,t),n}(te),oe=function(t){function n(){var n;return(n=t.apply(this,arguments)||this).FE=new Wi,n.AF=new ee,n.i=new xi,n}return ft(n,t),n.prototype.fE=function(t){throw new ue},ct(n,[{key:"Lv",get:function(){return this.FE}},{key:"UE",get:function(){return!1}},{key:"HE",get:function(){return!1}},{key:"XE",get:function(){return!1}},{key:"qE",get:function(){return!1}},{key:"GE",get:function(){return this.i}},{key:"QE",get:function(){return{KE:En}}},{key:"jE",get:function(){return"default"}},{key:"YE",get:function(){return"unknown"}},{key:"td",get:function(){return this.AF}}]),n}(Mi);!function(t){t}(new oe)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof a?a:"undefined"!=typeof global?global:this);