@theoplayer/extended 5.0.1 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/theoplayer.p.js CHANGED
@@ -25,7 +25,7 @@
25
25
  THEOplayer is based on patented technology developed by
26
26
  THEO Technologies (https://www.theoplayer.com).
27
27
 
28
- Version: 2023.2.1 (5.0.1)
29
- Created: 2023-04-12T20:00:20.987Z
28
+ Version: 2023.2.1 (5.0.2)
29
+ Created: 2023-04-13T17:13:23.610Z
30
30
  */
31
- !function(t){!function(){"use strict";var n,i=t.window,r=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,f=t.setInterval,s=t.clearInterval,c=t.Error,h=t.TypeError,a=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,_=t.parseFloat,d=t.isNaN,w=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function y(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function g(t,n,i){return n&&y(t.prototype,n),i&&y(t,i),a.defineProperty(t,"prototype",{writable:!1}),t}function p(t,n){return(p=a.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t,n){t.prototype=a.create(n.prototype),t.prototype.constructor=t,p(t,n)}!function(t){t.l="web",t.g="android",t.I="android-tv",t.R="ios",t.N="tvos",t.M="chromecast"}(n||(n={}));var I=e?e.userAgent:"",k=I.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),S=I.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),b=I.match(/Android ([0-9\.]+)/i),E=I.match(/Windows NT ([0-9\.]+)/i),T=I.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),R=I.match(/Firefox\/([0-9\.]+)/i),N=I.match(/OPR\/(\d+\.\d+)/i),O=I.match(/Tizen ([0-9\.]+)/i),A=I.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),D=function(){function i(){this.U=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.F=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(I)||/(macintosh|mac(?=_powerpc)\s)/i.test(I),this.V=/Windows NT/i.test(I),this.q=E?_(E[1]):0,this.G=/Android/i.test(I),this.Y=b?_(b[1]):0,this.j=/windows phone (8|8\.1)/i.test(I),this.K=/iPhone/i.test(I),this.Z=/iPad/i.test(I),this.J=this.F&&this.U&&!this.Z,this.nt=/iPod/i.test(I),this.ut=/Mobile Safari/i.test(I),this.ot=/EOSSTB/i.test(I),this.ct=(this.K||this.Z||this.J||this.nt)&&!this.j,this.ft=A?_(A[2]):0,this.vt=this.j||this.ct||this.G||this.ut,this.dt=/CriOS/i.test(I),this._t=Boolean(t.chrome&&/google/i.test(e.vendor))||this.dt,this.wt=this._t&&/Edg\//i.test(e.userAgent),this.yt=S?l(S[1],10):0,this.kt=Boolean(t.chrome||/Chrome/i.test(I)||/CriOS/i.test(I)),this.bt=k?l(k[1],10):0,this.At=/SMART-TV.*Tizen/i.test(I),this.Tt=O?_(O[1]):0,this.St=/webos|web0s/i.test(I),this.Et=/Edge\/\d+/i.test(I),this.It=/Trident/i.test(I),this.Rt=this.It&&!t.ActiveXObject&&"ActiveXObject"in t,this.Nt=/Vivaldi/i.test(I),this.Dt=/Firefox/i.test(I)&&!/Seamonkey/i.test(I),this.Ct=R?_(R[1]):0,this.Pt=/Safari/i.test(I)&&!/Chrome/i.test(I)&&!this.j&&!this.At,this.Ot=T?_(T[2]):0,this.Bt=Boolean(N),this.Lt=N?_(N[1]):0,this.Mt=/CrKey/.test(I),this.xt=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(I),this.Ut="web"===n.I,this.Ft="web"===n.g,this.Ht=this.Ft||this.Ut,this.Vt="web"===n.R,this.Xt="web"===n.N,this.zt="web"===n.M}return g(i,[{key:"qt",get:function(){return this.U}},{key:"Wt",get:function(){return this.F}},{key:"Gt",get:function(){return this.V}},{key:"Yt",get:function(){return this.q}},{key:"jt",get:function(){return this.G}},{key:"Qt",get:function(){return this.Y}},{key:"Kt",get:function(){return this.j}},{key:"Zt",get:function(){return this.K}},{key:"Jt",get:function(){return this.Z}},{key:"$t",get:function(){return this.J}},{key:"in",get:function(){return this.nt}},{key:"un",get:function(){return this.ct}},{key:"hn",get:function(){return this.ft}},{key:"cn",get:function(){return this.ot}},{key:"fn",get:function(){return this.ut}},{key:"vn",get:function(){return this.vt}},{key:"dn",get:function(){return this.dt}},{key:"_n",get:function(){return this._t}},{key:"wn",get:function(){return this.bt}},{key:"yn",get:function(){return this.wt}},{key:"pn",get:function(){return this.yt}},{key:"An",get:function(){return this.At}},{key:"Tn",get:function(){return this.Tt}},{key:"Sn",get:function(){return this.St}},{key:"En",get:function(){return this.Et}},{key:"In",get:function(){return this.It}},{key:"Rn",get:function(){return this.Rt}},{key:"Nn",get:function(){return this.Nt}},{key:"Dn",get:function(){return this.Dt}},{key:"Cn",get:function(){return this.Ct}},{key:"Pn",get:function(){return this.Pt}},{key:"On",get:function(){return this.Ot}},{key:"Bn",get:function(){return this.Bt}},{key:"Ln",get:function(){return this.Lt}},{key:"Mn",get:function(){return this.Mt}},{key:"xn",get:function(){return this.xt}},{key:"Un",get:function(){return!(!this.Sn&&!this.An)&&this.wn<=56}},{key:"Fn",get:function(){return this.Ut}},{key:"Hn",get:function(){return this.Ft}},{key:"Vn",get:function(){return this.Ht}},{key:"Xn",get:function(){return this.Vt}},{key:"zn",get:function(){return this.Xt}},{key:"qn",get:function(){return this.zt}},{key:"Wn",get:function(){return this.kt}}]),i}();D.Gn=new D;var C=D.Gn;var P=function(){},F=!(C.In&&!C.Rn),B=t.console;function M(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function x(t){return t.map(M).join(" ")}function L(t){var n=B&&B[t];return n?n.bind&&F?n.bind(B):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];B[t](x(i))}:void 0}var W,U=L("log")||P,V=L("warn")||U.bind(void 0,"WARNING:"),H=L("error")||U.bind(void 0,"ERROR:"),G=(W=B&&B.assert)?W.bind&&F?W.bind(B):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];B.assert(t,x(i))}:function(t){if(!t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];H.apply(void 0,["Assertion failed:"].concat(i))}},j=null;try{j=new WebAssembly.Instance(new WebAssembly.Module(new w([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function z(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function K(t){return!0===(t&&t.Qn)}function q(t){var n=v.clz32(t&-t);return t?31-n:n}z.prototype.Qn,a.defineProperty(z.prototype,"Qn",{value:!0}),z.isLong=K;var X={},Y={};function $(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=Y[t])?r:(i=J(t,0,!0),e&&(Y[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=X[t])?r:(i=J(t,t<0?-1:0,!1),e&&(X[t]=i),i)}function Z(t,n){if(d(t))return n?ft:ot;if(n){if(t<0)return ft;if(t>=rt)return vt}else{if(t<=-et)return lt;if(t+1>=et)return at}return t<0?Z(-t,n).neg():J(t%it|0,t/it|0,n)}function J(t,n,i){return new z(t,n,i)}z.fromInt=$,z.fromNumber=Z,z.fromBits=J;var Q=v.pow;function tt(t,n,i){if(0===t.length)throw c("empty string");if("number"==typeof n?(i=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?ft:ot;if((i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw c("interior hyphen");if(0===r)return tt(t.substring(1),n,i).neg();for(var e=Z(Q(i,8)),u=ot,o=0;o<t.length;o+=8){var f=v.min(8,t.length-o),s=l(t.substring(o,o+f),i);if(f<8){var h=Z(Q(i,f));u=u.mul(h).add(Z(s))}else u=(u=u.mul(e)).add(Z(s))}return u.unsigned=n,u}function nt(t,n){return"number"==typeof t?Z(t,n):"string"==typeof t?tt(t,n):J(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}z.fromString=tt,z.fromValue=nt;var it=4294967296,rt=it*it,et=rt/2,ut=$(1<<24),ot=$(0);z.ZERO=ot;var ft=$(0,!0);z.UZERO=ft;var st=$(1);z.ONE=st;var ct=$(1,!0);z.UONE=ct;var ht=$(-1);z.NEG_ONE=ht;var at=J(-1,2147483647,!1);z.MAX_VALUE=at;var vt=J(-1,-1,!0);z.MAX_UNSIGNED_VALUE=vt;var lt=J(0,-2147483648,!1);z.MIN_VALUE=lt;var _t=z.prototype;_t.toInt=function(){return this.unsigned?this.low>>>0:this.low},_t.toNumber=function(){return this.unsigned?(this.high>>>0)*it+(this.low>>>0):this.high*it+(this.low>>>0)},_t.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(lt)){var n=Z(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=Z(Q(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}},_t.getHighBits=function(){return this.high},_t.getHighBitsUnsigned=function(){return this.high>>>0},_t.getLowBits=function(){return this.low},_t.getLowBitsUnsigned=function(){return this.low>>>0},_t.getNumBitsAbs=function(){if(this.isNegative())return this.eq(lt)?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},_t.isZero=function(){return 0===this.high&&0===this.low},_t.eqz=_t.isZero,_t.isNegative=function(){return!this.unsigned&&this.high<0},_t.isPositive=function(){return this.unsigned||this.high>=0},_t.isOdd=function(){return 1==(1&this.low)},_t.isEven=function(){return 0==(1&this.low)},_t.equals=function(t){return K(t)||(t=nt(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},_t.eq=_t.equals,_t.notEquals=function(t){return!this.eq(t)},_t.neq=_t.notEquals,_t.ne=_t.notEquals,_t.lessThan=function(t){return this.comp(t)<0},_t.lt=_t.lessThan,_t.lessThanOrEqual=function(t){return this.comp(t)<=0},_t.lte=_t.lessThanOrEqual,_t.le=_t.lessThanOrEqual,_t.greaterThan=function(t){return this.comp(t)>0},_t.gt=_t.greaterThan,_t.greaterThanOrEqual=function(t){return this.comp(t)>=0},_t.gte=_t.greaterThanOrEqual,_t.ge=_t.greaterThanOrEqual,_t.compare=function(t){if(K(t)||(t=nt(t)),this.eq(t))return 0;var n=this.isNegative(),i=t.isNegative();return n&&!i?-1:!n&&i?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},_t.comp=_t.compare,_t.negate=function(){return!this.unsigned&&this.eq(lt)?lt:this.not().add(st)},_t.neg=_t.negate,_t.add=function(t){K(t)||(t=nt(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,c=0,h=0,a=0;return h+=(a+=e+(65535&t.low))>>>16,c+=(h+=r+f)>>>16,s+=(c+=i+o)>>>16,s+=n+u,J((h&=65535)<<16|(a&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},_t.subtract=function(t){return K(t)||(t=nt(t)),this.add(t.neg())},_t.sub=_t.subtract,_t.multiply=function(t){if(this.isZero())return this;if(K(t)||(t=nt(t)),j)return J(j.mul(this.low,this.high,t.low,t.high),j.get_high(),this.unsigned);if(t.isZero())return this.unsigned?ft:ot;if(this.eq(lt))return t.isOdd()?lt:ot;if(t.eq(lt))return this.isOdd()?lt:ot;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(ut)&&t.lt(ut))return Z(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,c=0,h=0,a=0,v=0;return a+=(v+=e*s)>>>16,h+=(a+=r*s)>>>16,a&=65535,h+=(a+=e*f)>>>16,c+=(h+=i*s)>>>16,h&=65535,c+=(h+=r*f)>>>16,h&=65535,c+=(h+=e*o)>>>16,c+=n*s+i*f+r*o+e*u,J((a&=65535)<<16|(v&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},_t.mul=_t.multiply,_t.divide=function(t){if(K(t)||(t=nt(t)),t.isZero())throw c("division by zero");var n,i,r;if(j)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?J((this.unsigned?j.div_u:j.div_s)(this.low,this.high,t.low,t.high),j.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?ft:ot;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return ft;if(t.gt(this.shru(1)))return ct;r=ft}else{if(this.eq(lt))return t.eq(st)||t.eq(ht)?lt:t.eq(lt)?st:(n=this.shr(1).div(t).shl(1)).eq(ot)?t.isNegative()?st:ht:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(lt))return this.unsigned?ft:ot;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();r=ot}for(i=this;i.gte(t);){n=v.max(1,v.floor(i.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:Q(2,e-48),o=Z(n),f=o.mul(t);f.isNegative()||f.gt(i);)f=(o=Z(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=st),r=r.add(o),i=i.sub(f)}return r},_t.div=_t.divide,_t.modulo=function(t){return K(t)||(t=nt(t)),j?J((this.unsigned?j.rem_u:j.rem_s)(this.low,this.high,t.low,t.high),j.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},_t.mod=_t.modulo,_t.rem=_t.modulo,_t.not=function(){return J(~this.low,~this.high,this.unsigned)},_t.countLeadingZeros=function(){return this.high?v.clz32(this.high):v.clz32(this.low)+32},_t.clz=_t.countLeadingZeros,_t.countTrailingZeros=function(){return this.low?q(this.low):q(this.high)+32},_t.ctz=_t.countTrailingZeros,_t.and=function(t){return K(t)||(t=nt(t)),J(this.low&t.low,this.high&t.high,this.unsigned)},_t.or=function(t){return K(t)||(t=nt(t)),J(this.low|t.low,this.high|t.high,this.unsigned)},_t.xor=function(t){return K(t)||(t=nt(t)),J(this.low^t.low,this.high^t.high,this.unsigned)},_t.shiftLeft=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):J(0,this.low<<t-32,this.unsigned)},_t.shl=_t.shiftLeft,_t.shiftRight=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):J(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},_t.shr=_t.shiftRight,_t.shiftRightUnsigned=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):J(32===t?this.high:this.high>>>t-32,0,this.unsigned)},_t.shru=_t.shiftRightUnsigned,_t.shr_u=_t.shiftRightUnsigned,_t.rotateLeft=function(t){var n;return K(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?J(this.high,this.low,this.unsigned):t<32?(n=32-t,J(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),J(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},_t.rotl=_t.rotateLeft,_t.rotateRight=function(t){var n;return K(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?J(this.high,this.low,this.unsigned):t<32?(n=32-t,J(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),J(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},_t.rotr=_t.rotateRight,_t.toSigned=function(){return this.unsigned?J(this.low,this.high,!1):this},_t.toUnsigned=function(){return this.unsigned?this:J(this.low,this.high,!0)},_t.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},_t.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]},_t.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]},z.fromBytes=function(t,n,i){return i?z.fromBytesLE(t,n):z.fromBytesBE(t,n)},z.fromBytesLE=function(t,n){return new z(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},z.fromBytesBE=function(t,n){return new z(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var dt=v.pow(2,-52);function wt(t,n){for(var i=t,r=n;0!==r;){var e=i%r;i=r,r=e}return i<0?-i:i}function yt(){return Date.now()||(new Date).getTime()}var gt;z.fromNumber(9007199254740991),function(t){t[t.Zn=1]="Zn",t[t.$n=2]="$n",t[t.Jn=3]="Jn",t[t.ni=4]="ni",t[t.ei=9]="ei"}(gt||(gt={}));var pt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];c.apply(this,n)};(pt.prototype=a.create(c.prototype)).constructor=pt;var mt=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,c.captureStackTrace&&c.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r),r.constructor),r}return m(n,t),g(n,[{key:"name",get:function(){return"BaseError"}}]),n}(pt),It=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return m(n,t),n}(mt),kt=function(){function t(){}return t.prototype.ri=function(t){var n,i=new DOMParser;try{n=i.parseFromString(t,"text/xml")}catch(t){throw new It(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new It;return new Ot(n)},t}(),St=function(){function t(t){this.oi=void 0,this.oi=t}var n=t.prototype;return n.ai=function(t){return this.oi.isEqualNode(t.oi)},n.ci=function(n){return new t(this.oi.cloneNode(n))},g(t,[{key:"Kn",get:function(){return gt.$n}},{key:"di",get:function(){var t;return null!=(t=this.oi.localName)?t:Ct(this.oi.nodeName)}},{key:"_i",get:function(){return this.oi.nodeName}},{key:"gi",get:function(){var t;return null!=(t=this.oi.namespaceURI)?t:void 0}},{key:"wi",get:function(){var t;return null!=(t=this.oi.prefix)?t:void 0}},{key:"Ai",get:function(){return this.oi.nodeValue}}]),t}(),bt=function(){function t(t){this.Ti=void 0,this.Si=void 0,this.Ti=t}var n=t.prototype;return n.Ei=function(t){return this.Ii.filter(function(n){return At(n)&&n.Ri===t})},n.Ni=function(t,n){return this.Ii.filter(function(i){return At(i)&&i.di===n&&i.gi===t})},n.Di=function(t){this.Ti.appendChild(t.Ci),this.Si&&this.Si.push(t)},n.ai=function(t){return this.Ti.isEqualNode(t.Ci)},g(t,[{key:"Ii",get:function(){return void 0===this.Si&&(this.Si=function(t){for(var n=[],i=0;i<t.length;i++){var r=Dt(t.item(i));r&&n.push(r)}return n}(this.Ti.childNodes)),this.Si}},{key:"Pi",get:function(){return this.Ii.filter(At)}},{key:"Ci",get:function(){return this.Ti}}]),t}(),Et=function(t){function n(n){return t.call(this,n)||this}m(n,t);var i=n.prototype;return i.Oi=function(t){if(this.Ti.hasAttribute(t))return this.Ti.getAttribute(t)},i.Bi=function(t,n){if(this.Ti.hasAttributeNS(t,n))return this.Ti.getAttributeNS(t,n)},i.Li=function(t){this.Ti.removeAttribute(t)},i.Mi=function(t,n){this.Ti.removeAttributeNS(t,n)},i.xi=function(t,n){this.Ti.setAttribute(t,n)},i.Ui=function(t,n,i){this.Ti.setAttributeNS(t,n,i)},i.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.Zn}},{key:"di",get:function(){var t;return null!=(t=this.Ti.localName)?t:Ct(this.Ti.nodeName)}},{key:"gi",get:function(){var t;return null!=(t=this.Ti.namespaceURI)?t:void 0}},{key:"wi",get:function(){var t;return null!=(t=this.Ti.prefix)?t:void 0}},{key:"Ri",get:function(){return this.Ti.nodeName}},{key:"Fi",get:function(){return function(t){for(var n=[],i=0;i<t.length;i++)n.push(new St(t.item(i)));return n}(this.Ti.attributes)}},{key:"Hi",get:function(){return this.Ti.textContent}}]),n}(bt),Tt=function(){function t(t){this.Ti=void 0,this.Ti=t}return t.prototype.ai=function(t){return this.Vi===t.Vi},g(t,[{key:"Vi",get:function(){return this.Ti.nodeValue}},{key:"Ci",get:function(){return this.Ti}}]),t}(),Rt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.Jn}}]),n}(Tt),Nt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.ni}}]),n}(Tt),Ot=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.ei}},{key:"Xi",get:function(){return new Et(this.Ti.documentElement)}}]),n}(bt);function At(t){return function(t){return t.Kn===gt.Zn}(t)}function Dt(t){switch(t.nodeType){case gt.Zn:return new Et(t);case gt.Jn:return new Rt(t);case gt.ni:return new Nt(t)}}function Ct(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Pt(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function Ft(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Bt(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Bt(i,null,t.length,t),t}function Bt(t,n,i,r){var e,u,o,f,s,c=t.length,h=0,a=2*i;for(e=0;e<c;e+=a)for(o=(u=e+i)+i,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?r[h++]=t[f++]:r[h++]=t[s++];else if(f<u)r[h++]=t[f++];else{if(!(s<o))break;r[h++]=t[s++]}}var Mt=/[a-zA-Z]/,xt=/[0-9]/,Lt=/[0-9a-fA-F]/,Wt=/^0x/i,Ut=/^[0-9]+$/,Vt=/^[0-9a-fA-F]+$/,Ht=/^[0-7]+$/,Gt=a.prototype.toString,jt=Array.isArray||function(t){return"[object Array]"===Gt.call(t)},zt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function Kt(t){return jt(t)?t:Array.from(t)}function qt(t){return t>=65&&t<=90}function Xt(t){return qt(t)||function(t){return t>=97&&t<=122}(t)}function Yt(t){return t>=48&&t<=57}function $t(t){return Yt(t)||Xt(t)}function Zt(t){return Yt(t)||t>=65&&t<=70||t>=97&&t<=102}function Jt(t){return qt(t)?t+32:t}function Qt(t){return Yt(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function tn(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var nn=v.min,rn=String.fromCharCode,en=16384;function un(t){for(var n=t.length,i=[],r=0;r<n;r+=en){var e=nn(r+en,n);i.push(rn.apply(null,t.slice(r,e)))}return i.join("")}var on=/[^\0-\x7E]/,fn=/[\x2E\u3002\uFF0E\uFF61]/g,sn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cn=v.floor,hn=String.fromCharCode;function an(t){throw new RangeError(sn[t])}function vn(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var ln,_n,dn,wn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},yn=function(t,n,i){var r=0;for(t=i?cn(t/700):t>>1,t+=cn(t/n);t>455;r+=36)t=cn(t/35);return cn(r+36*t/(t+38))},gn=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(fn,".")).split("."),n).join(".");return r+e}(t,function(t){return on.test(t)?"xn--"+function(t){for(var n=[],i=(t=vn(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(hn(s))}var c=n.length,h=c;for(c&&n.push("-");h<i;){for(var a=2147483647,v=0,l=t;v<l.length;v++){var _=l[v];_>=r&&_<a&&(a=_)}var d=h+1;a-r>cn((2147483647-e)/d)&&an("overflow"),e+=(a-r)*d,r=a;for(var w=0,y=t;w<y.length;w++){var g=y[w];if(g<r&&++e>2147483647&&an("overflow"),g==r){for(var p=e,m=36;;m+=36){var I=m<=u?1:m>=u+26?26:m-u;if(p<I)break;var k=p-I,S=36-I;n.push(hn(wn(I+k%S,0))),p=cn(k/S)}n.push(hn(wn(p,0))),u=yn(e,d,h==c),e=0,++h}}++e,++r}return n.join("")}(t):t})};function pn(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return un(n)}function mn(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function In(t,n){return t>>n&63|128}function kn(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(mn(t),n.push(t>>12&15|224),n.push(In(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(In(t,12)),n.push(In(t,6))),n.push(63&t|128)):n.push(t)}function Sn(t){for(var n=[],i=0;i<t.length;i++){kn(t[i],n)}return n}function bn(){if(dn>=_n)throw new c("Invalid byte index");var t=255&ln[dn];if(dn++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function En(){var t,n;if(dn>_n)throw new c("Invalid byte index");if(dn===_n)return!1;if(t=255&ln[dn],dn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|bn())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|bn()<<6|bn())>=2048)return mn(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|bn()<<12|bn()<<6|bn())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function Tn(t){return[37,tn(t>>4),tn(15&t)]}function Rn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Nn(t){return Rn(t)||32===t||34===t||60===t||62===t||96===t}function On(t){return Nn(t)||35===t||63===t||123===t||125===t}function An(t){return On(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Dn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Cn(t){return Dn(t)||39===t}function Pn(t,n){if(!n(t))return[t];for(var i=Sn([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Tn(u))}return r}function Fn(t,n){for(var i=[],r=0,e=vn(t);r<e.length;r++){var u=e[r];i.push.apply(i,Pn(u,n))}return pn(i)}function Bn(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&Zt(t[r+1])&&Zt(t[r+2])){var u=Qt(t[r+1])<<4|Qt(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Sn(t))}function Mn(t){return pn(function(t){ln=t.slice(),_n=ln.length,dn=0;for(var n,i=[];!1!==(n=En());)i.push(n);return i}(Bn(vn(t))))}function xn(t){var n,i,r,e,u=t.length,o=[0,0,0,0,0,0,0,0],f=0,s=null,c=0;if(c<u&&":"===t[c]){if(!(c+1<u&&":"===t[c+1]))throw new h;c+=2,s=f+=1}for(;c<u;){if(8===f)throw new h("Too many groups");if(":"!==t[c]){for(var a=0,v=0;v<4&&c<u&&Lt.test(t[c]);)a=a<<4|l(t[c],16),c+=1,v+=1;if("."===t[c]){if(0===v)throw new h;if(c-=v,f>6)throw new h;for(var _=0;c<u;){var d=null;if(_>0){if(!("."===t[c]&&_<4))throw new h;c+=1}if(!xt.test(t[c]))throw new h;for(;c<u&&xt.test(t[c]);){var w=l(t[c],10);if(null===d)d=w;else{if(0===d)throw new h;if((d=10*d+w)>255)throw new h}c+=1}o[f]=o[f]<<8|d,2!==(_+=1)&&4!==_||(f+=1)}if(4!==_)throw new h;break}if(":"===t[c]){if((c+=1)===u)throw new h}else if(c<u)throw new h;o[f]=a,f+=1}else{if(null!==s)throw new h("Too many :: groups");c+=1,s=f+=1}}if(null!==s){var y=f-s;for(f=7;0!==f&&y>0;)r=s+y-1,e=void 0,e=(n=o)[i=f],n[i]=n[r],n[r]=e,f-=1,y-=1}else if(8!==f)throw new h;return o}function Ln(t){var n=10,i=Ut;return Wt.test(t)?(t=t.slice(2),n=16,i=Vt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=Ht),""===t?0:i.test(t)?l(t,n):void 0}var Wn={zi:4},Un=/[\0\t\n\r #%/:?@\[\\\]]/,Vn=/[\0\t\n\r #/:?@\[\\\]]/;function Hn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new h("Invalid IPv6 address");return{zi:2,qi:xn(t.slice(1,-1))}}if(!n)return function(t){if(Vn.test(t))throw new h("Invalid code point in opaque host");var n=Fn(t,Rn);return""===n?Wn:{zi:3,Wi:n}}(t);var i=function(t){return function(t){return gn(t.toLowerCase())}(t)}(Mn(t));if(Un.test(i))throw new h("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=Ln(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new h;if(i[i.length-1]>=v.pow(256,5-i.length))throw new h;for(var f=i.pop(),s=0;s<i.length;s++)f+=i[s]*v.pow(256,3-s);return f}}(i);return void 0!==r?{zi:1,qi:r}:""===i?Wn:{zi:0,Gi:i}}function Gn(t){switch(t.zi){case 0:return t.Gi;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.qi);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.qi)+"]";case 3:return t.Wi;case 4:return""}}var jn=/\+/g;function zn(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(jn," "),f=f.replace(jn," ");var s=Mn(o),c=Mn(f);i.push([s,c])}}return i}function Kn(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=qn(Sn(vn(r[0])))+"="+qn(Sn(vn(r[1])))}return n}function qn(t){for(var n,i=[],r=0;r<t.length;r++){var e=t[r];32===e?i.push(43):42===(n=e)||45===n||46===n||95===n||$t(n)?i.push(e):i.push.apply(i,Tn(e))}return un(i)}var Xn=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function Yn(t){var n=""+t,i=Xn.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(Zn(u))if(Jn(u)||e===i-1)r.push($n);else{var o=t.charCodeAt(e+1);Jn(o)?(r.push(u,o),e++):r.push($n)}else r.push(u)}return t.slice(0,n)+un(r)}(n,i.index):n}var $n=65533,Zn=function(t){return 55296==(63488&t)},Jn=function(t){return 0!=(1024&t)};function Qn(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function ti(t){t.Yi.length=0}function ni(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.Yi,zn(n))}function ii(t){if(t.ji){var n=Kn(t.Yi);""===n&&(n=null),t.ji.ji.Qi=n}}function ri(t){return t instanceof ei&&(!!jt(t.Yi)&&(!zt||t[Symbol.iterator]===ui))}var ei=function(){function t(t){if(void 0===t&&(t=void 0),this.ji=null,null==t)this.Yi=[];else if("object"==typeof t||"function"==typeof t)if(ri(t))this.Yi=t.Yi.slice();else if(null!=(u=t)&&(jt(u)||zt&&"function"==typeof u[Symbol.iterator])){this.Yi=[];for(var n=0,i=Kt(t);n<i.length;n++){var r=Kt(i[n]);if(2!==r.length)throw new h("Invalid name-value pair");this.Yi.push([Yn(r[0]),Yn(r[1])])}}else for(var e in this.Yi=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.Yi.push([Yn(e),Yn(t[e])]);else(t=Yn(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Yi=zn(t);var u}var n=t.prototype;return n.append=function(t,n){t=Yn(t),n=Yn(n),this.Yi.push([t,n]),ii(this)},n.delete=function(t){t=Yn(t);for(var n=this.Yi,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}ii(this)},n.get=function(t){t=Yn(t);for(var n=this.Yi,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=Yn(t);for(var n=this.Yi,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=Yn(t);for(var n=this.Yi,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=Yn(t),n=Yn(n);for(var i=this.Yi,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),ii(this)},n.sort=function(){Ft(this.Yi,Qn),ii(this)},n.toString=function(){return Kn(this.Yi)},n.entries=function(){return new ci(this.Yi,oi)},n.keys=function(){return new ci(this.Yi,fi)},n.values=function(){return new ci(this.Yi,si)},n.forEach=function(t){var n=this;this.Yi.forEach(function(i){return t(i[1],i[0],n)})},t}(),ui=ei.prototype.entries;zt&&(ei.prototype[Symbol.iterator]=ui);var oi=function(t){return[t[0],t[1]]},fi=function(t){return t[0]},si=function(t){return t[1]},ci=function(){function t(t,n){this.Ki=0,this.Yi=t,this.Zi=n}return t.prototype.next=function(){return this.Ki<this.Yi.length?{done:!1,value:this.Zi(this.Yi[this.Ki++])}:{done:!0,value:void 0}},t}(),hi="null";var ai=a.create(null);ai.ftp=21,ai.file=0,ai.gopher=70,ai.http=80,ai.https=443,ai.ws=80,ai.wss=443;var vi=/^(?:\.|%2e)$/i,li=/^(?:\.|%2e){2}$/i;function _i(t){return vi.test(t)}function di(t){return li.test(t)}function wi(t){return void 0!==ai[t]}function yi(t){return wi(t.Ji)}function gi(t){return""!==t.$i||""!==t.re}function pi(t){var n=t.length;if(!(n>=2))return!1;if(!Ii(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function mi(t){return 2===t.length&&Mt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Ii(t){return 2===t.length&&mi(un(t))}function ki(t){return mi(t)&&":"===t[1]}function Si(t){var n=t.ue;0!==n.length&&("file"===t.Ji&&1===n.length&&ki(n[0])||n.pop())}function bi(t){return null===t.oe||Wn===t.oe||t.fe||"file"===t.Ji}var Ei=-1,Ti=/\t|\n|\r/g,Ri=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Ni(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ai,t=t.replace(Ri,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=vn(t=t.replace(Ti,"")),a=c.length,v=0;v<=a;){var _=v<a?c[v]:Ei;switch(e){case 0:if(!Xt(_)){if(null===r){u.length=0,e=2;continue}throw new h("Invalid scheme")}u.push(Jt(_)),e=1;break;case 1:if($t(_)||43===_||45===_||46===_)u.push(Jt(_));else{if(58!==_){if(null===r){u.length=0,e=2,v=0;continue}throw new h("Invalid scheme")}var d=pn(u);if(null!==r){if(wi(i.Ji)&&!wi(d))return;if(!wi(i.Ji)&&wi(d))return;if((gi(i)||null!==i._e)&&"file"===d)return;if("file"===i.Ji&&(i.oe===Wn||null===i.oe))return}if(i.Ji=d,null!==r)return void(yi(i)&&i._e===ai[i.Ji]&&(i._e=null));u.length=0,"file"===i.Ji?e=13:yi(i)&&n&&n.Ji===i.Ji?e=3:yi(i)?e=7:47===c[v+1]?(e=4,v+=1):(i.fe=!0,i.ue.push(""),e=18)}break;case 2:if(!n||n.fe&&35!==_)throw new h("Invalid scheme");n.fe&&35===_?(i.Ji=n.Ji,i.ue=n.ue.slice(),i.Qi=n.Qi,i.we="",i.fe=!0,e=20):"file"!==n.Ji?(e=5,v-=1):(e=13,v-=1);break;case 3:47===_&&47===c[v+1]?e=8:(e=5,v-=1);break;case 4:47===_?e=9:(e=17,v-=1);break;case 5:i.Ji=n.Ji,Ei===_?(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.Qi=n.Qi):47===_?e=6:63===_?(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.Qi="",e=19):35===_?(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.Qi=n.Qi,i.we="",e=20):92===_&&yi(i)?e=6:(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.ue.pop(),e=17,v-=1);break;case 6:!yi(i)||47!==_&&92!==_?47===_?e=9:(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,e=17,v-=1):e=8;break;case 7:if(47!==_||47!==c[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==_&&92!==_&&(e=9,v-=1);break;case 9:if(64===_){o&&u.unshift(37,52,48),o=!0;for(var w=0;w<u.length;w++){var y=u[w];if(58!==y||s){var g=pn(Pn(y,An));s?i.re+=g:i.$i+=g}else s=!0}u.length=0}else if(Ei===_||47===_||63===_||35===_||yi(i)&&92===_){if(o&&0===u.length)throw new h("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==r&&"file"===i.Ji)v-=1,e=15;else if(58!==_||f)if(Ei===_||47===_||63===_||35===_||yi(i)&&92===_){if(v-=1,yi(i)&&0===u.length)throw new h("Invalid host");if(null!==r&&0===u.length&&(gi(i)||null!==i._e))return;var p=Hn(pn(u),yi(i));if(i.oe=p,u.length=0,e=16,null!==r)return}else 91===_?f=!0:93===_&&(f=!1),u.push(_);else{if(0===u.length)throw new h("Invalid host");var m=Hn(pn(u),yi(i));if(i.oe=m,u.length=0,e=12,11===r)return}break;case 12:if(Yt(_))u.push(_);else{if(!(Ei===_||47===_||63===_||35===_||yi(i)&&92===_||null!==r))throw new h("Invalid port");if(0!==u.length){var I=l(pn(u),10);if(I>65535)throw new h("Invalid port");i._e=I===ai[i.Ji]?null:I,u.length=0}if(null!==r)return;e=16,v-=1}break;case 13:i.Ji="file",47===_||92===_?e=14:n&&"file"===n.Ji?Ei===_?(i.oe=n.oe,i.ue=n.ue.slice(),i.Qi=n.Qi):63===_?(i.oe=n.oe,i.ue=n.ue.slice(),i.Qi="",e=19):35===_?(i.oe=n.oe,i.ue=n.ue.slice(),i.Qi=n.Qi,i.we="",e=20):(pi(c.slice(v))||(i.oe=n.oe,i.ue=n.ue.slice(),Si(i)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Ji&&!pi(c.slice(v))&&(ki(n.ue[0])?i.ue.push(n.ue[0]):i.oe=n.oe),e=17,v-=1);break;case 15:if(Ei===_||47===_||92===_||63===_||35===_)if(v-=1,null===r&&Ii(u))e=17;else if(0===u.length){if(i.oe=Wn,null!==r)return;e=16}else{var k=Hn(pn(u),yi(i));if(0===k.zi&&"localhost"===k.Gi&&(k=Wn),i.oe=k,null!==r)return;u.length=0,e=16}else u.push(_);break;case 16:yi(i)?(e=17,47!==_&&92!==_&&(v-=1)):null===r&&63===_?(i.Qi="",e=19):null===r&&35===_?(i.we="",e=20):Ei!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(Ei===_||47===_||yi(i)&&92===_||null===r&&(63===_||35===_)){var S=pn(u);if(di(S)?(Si(i),47===_||yi(i)&&92===_||i.ue.push("")):!_i(S)||47===_||yi(i)&&92===_?_i(S)||("file"===i.Ji&&0===i.ue.length&&Ii(u)&&(Wn!==i.oe&&null!==i.oe&&(i.oe=Wn),u[1]=58,S=pn(u)),i.ue.push(S)):i.ue.push(""),u.length=0,"file"===i.Ji&&(Ei===_||63===_||35===_))for(;i.ue.length>1&&""===i.ue[0];)i.ue.shift();63===_?(i.Qi="",e=19):35===_&&(i.we="",e=20)}else u.push.apply(u,Pn(_,On));break;case 18:63===_?(i.Qi="",e=19):35===_?(i.we="",e=20):Ei!==_&&(i.ue[0]+=pn(Pn(_,Rn)));break;case 19:null===r&&35===_?(i.we="",e=20):Ei!==_&&(i.Qi+=pn(Pn(_,yi(i)?Cn:Dn)));break;case 20:Ei===_||0===_||(i.we+=pn(Pn(_,Nn)))}v++}return i}function Oi(t,n,i,r){try{Ni(t,n,i,r)}catch(t){}}var Ai=function(){this.Ji="",this.$i="",this.re="",this.oe=null,this._e=null,this.ue=[],this.Qi=null,this.we=null,this.fe=!1};function Di(t){switch(t.Ji){case"blob":var n;try{n=Ni(t.ue[0],null)}catch(t){return hi}return Di(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return i=t.Ji,r=t.oe,e=t._e,i+"://"+Gn(r)+(null===e?"":":"+e);case"file":default:return hi}var i,r,e}function Ci(t){return null!=t&&(t instanceof Pi&&"object"==typeof t.ji)}var Pi=function(){function t(t,n){var i,r=null;if(null!=n)if(Ci(n))r=n.ji;else try{r=Ni(String(n),null)}catch(t){throw new h("Invalid base URL: "+t.message)}try{i=Ni(String(t),r)}catch(t){throw new h("Invalid URL: "+t.message)}var e=i.Qi;this.ji=i,this.Qi=function(t){var n=new ei;return null!==t&&ni(n,t),n}(e),this.Qi.ji=this}var n,i,r,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(i=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Ji+":";if(null!==t.oe?(i+="//",gi(t)&&(i+=t.$i,""!==t.re&&(i+=":"+t.re),i+="@"),i+=Gn(t.oe),null!==t._e&&(i+=":"+t._e)):null===t.oe&&"file"===t.Ji&&(i+="//"),t.fe)i+=t.ue[0];else for(var r=0,e=t.ue;r<e.length;r++)i+="/"+e[r];return null!==t.Qi&&(i+="?"+t.Qi),n||null===t.we||(i+="#"+t.we),i}(this.ji)},set:function(t){var n;try{n=Ni(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.ji=n,ti(this.Qi);var i=this.ji.Qi;null!==i&&ni(this.Qi,i)}},{key:"origin",get:function(){return Di(this.ji)}},{key:"protocol",get:function(){return this.ji.Ji+":"},set:function(t){Oi(t+":",null,this.ji,0)}},{key:"username",get:function(){return this.ji.$i},set:function(t){bi(this.ji)||(this.ji.$i=Fn(t,An))}},{key:"password",get:function(){return this.ji.re},set:function(t){bi(this.ji)||(this.ji.re=Fn(t,An))}},{key:"host",get:function(){var t=this.ji,n=t.oe;if(null===n)return"";var i=t._e,r=Gn(n);return null!==i&&(r+=":"+i),r},set:function(t){this.ji.fe||Oi(t,null,this.ji,10)}},{key:"hostname",get:function(){var t=this.ji.oe;return null===t?"":Gn(t)},set:function(t){this.ji.fe||Oi(t,null,this.ji,11)}},{key:"port",get:function(){var t=this.ji._e;return null===t?"":""+t},set:function(t){bi(this.ji)||(""===t?this.ji._e=null:Oi(t,null,this.ji,12))}},{key:"pathname",get:function(){var t=this.ji.ue;return this.ji.fe?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.ji.fe||(this.ji.ue.length=0,Oi(t,null,this.ji,16))}},{key:"search",get:function(){var t=this.ji.Qi;return null===t||""===t?"":"?"+t},set:function(t){t=Yn(t);var n=this.ji;if(""===t)return n.Qi=null,void ti(this.Qi);"?"===t[0]&&(t=t.slice(1)),n.Qi="",Oi(t,null,n,19),ni(this.Qi,t)}},{key:"searchParams",get:function(){return this.Qi}},{key:"hash",get:function(){var t=this.ji.we;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.ji.we="",Oi(t,null,this.ji,20)):this.ji.we=null}}])&&Pt(n.prototype,i),r&&Pt(n,r),t}();function Fi(t){return t.document&&t.document.baseURI||t.location.href||""}var Bi=u;function Mi(t){return Boolean(t&&void 0!==t.length)}function xi(){}function Li(t){if(!(this instanceof Li))throw new h("Promises must be constructed via new");if("function"!=typeof t)throw new h("not a function");this.ye=0,this.ke=!1,this.me=void 0,this.pe=[],ji(t,this)}function Wi(t,n){for(;3===t.ye;)t=t.me;0!==t.ye?(t.ke=!0,Li.Ae(function(){var i=1===t.ye?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.me)}catch(t){return void Vi(n.promise,t)}Ui(n.promise,r)}else(1===t.ye?Ui:Vi)(n.promise,t.me)})):t.pe.push(n)}function Ui(t,n){try{if(n===t)throw new h("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var i=n.then;if(n instanceof Li)return t.ye=3,t.me=n,void Hi(t);if("function"==typeof i)return void ji((r=i,e=n,function(){r.apply(e,arguments)}),t)}t.ye=1,t.me=n,Hi(t)}catch(n){Vi(t,n)}var r,e}function Vi(t,n){t.ye=2,t.me=n,Hi(t)}function Hi(t){2===t.ye&&0===t.pe.length&&Li.Ae(function(){t.ke||Li.Te(t.me)});for(var n=0,i=t.pe.length;n<i;n++)Wi(t,t.pe[n]);t.pe=null}function Gi(t,n,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=i}function ji(t,n){var i=!1;try{t(function(t){i||(i=!0,Ui(n,t))},function(t){i||(i=!0,Vi(n,t))})}catch(t){if(i)return;i=!0,Vi(n,t)}}Li.prototype.catch=function(t){return this.then(null,t)},Li.prototype.then=function(t,n){var i=new this.constructor(xi);return Wi(this,new Gi(t,n,i)),i},Li.prototype.finally=function(t){var n=this.constructor;return this.then(function(i){return n.resolve(t()).then(function(){return i})},function(i){return n.resolve(t()).then(function(){return n.reject(i)})})},Li.all=function(t){return new Li(function(n,i){if(!Mi(t))return i(new h("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},i)}r[t]=o,0==--e&&n(r)}catch(t){i(t)}}for(var o=0;o<r.length;o++)u(o,r[o])})},Li.allSettled=function(t){return new this(function(n,i){if(!t||void 0===t.length)return i(new h(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,i){if(i&&("object"==typeof i||"function"==typeof i)){var o=i.then;if("function"==typeof o)return void o.call(i,function(n){u(t,n)},function(i){r[t]={status:"rejected",reason:i},0==--e&&n(r)})}r[t]={status:"fulfilled",value:i},0==--e&&n(r)}for(var o=0;o<r.length;o++)u(o,r[o])})},Li.resolve=function(t){return t&&"object"==typeof t&&t.constructor===Li?t:new Li(function(n){n(t)})},Li.reject=function(t){return new Li(function(n,i){i(t)})},Li.race=function(t){return new Li(function(n,i){if(!Mi(t))return i(new h("Promise.race accepts an array"));for(var r=0,e=t.length;r<e;r++)Li.resolve(t[r]).then(n,i)})},Li.Ae="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){Bi(t,0)},Li.Te=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var zi=function(){var n=t.Promise;if(void 0!==n)try{if(-1!==n.toString().indexOf("[native code]"))return n}catch(t){}}(),Ki=e?e.userAgent:"",qi=Ki.match(/Firefox\/([0-9]+)/i),Xi=null!=qi,Yi=qi?Number(qi[1]):0,$i=Ki.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Zi=null!=$i,Ji=$i?Number($i[3]):0,Qi=function(){function t(t){this.Se=0,this.Ee=0,this.Wi=[],this.Ie=t}return t.prototype.Re=function(t){var n=this.length();this.Ne(n+1);var i=this.Ee+n&this.Ie-1;this.Wi[i]=t,this.Se=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.Ie<n)this.Re(t);else{var i=this.Ee+n-1,r=this.Ie-1;this.Wi[i&r]=t,this.Se=n}},t.prototype.shift=function(){var t=this.Ee,n=this.Wi[t];return this.Wi[t]=void 0,this.Ee=t+1&this.Ie-1,this.Se--,n},t.prototype.length=function(){return this.Se},t.prototype.Ne=function(t){this.Ie<t&&this.De(this.Ie<<1)},t.prototype.De=function(t){var n=this.Ie;this.Ie=t;var i=this.Ee+this.Se&n-1;!function(t,n,i,r){for(var e=0;e<r;++e)t[e+i]=t[e+n],t[e+n]=void 0}(this.Wi,0,n,i)},t}();var tr="unhandledrejection",nr=t.PromiseRejectionEvent,ir=t.CustomEvent;function rr(t){return new nr(tr,{reason:t,promise:zi.reject(t).catch(function(){}),cancelable:!0})}function er(t){var n=new ir(tr,{detail:{reason:t},cancelable:!0});return a.defineProperty(n,"reason",{value:t}),n}function ur(t){var n=r.createEvent("CustomEvent");return n.initCustomEvent(tr,!1,!0,{reason:t}),n}var or,fr,sr,cr,hr,ar,vr,lr=function(t){return(lr=function(){try{var t=zi.resolve(),n=new nr(tr,{reason:"error",promise:t});return tr===n.type&&"error"===n.reason}catch(t){}return!1}()?rr:function(){try{var t=new ir(tr,{detail:{reason:"error"}});return tr===t.type&&"error"===t.detail.reason}catch(t){}return!1}()?er:ur)(t)};if(zi&&!(Xi&&Yi<60||Zi&&Ji<15))fr=zi;else{fr=Li;var _r=null!==(or=function(){var n=t.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var i=zi;if(i&&"function"==typeof i.resolve){var r=i.resolve();return function(t){return r.then(t)}}}())&&void 0!==or?or:Li.Ae,dr=(sr=_r,cr=new Qi(16),hr=!1,{Ce:function(t){cr.push(t),hr||(hr=!0,sr(ar))},Pe:ar=function(){for(;cr.length()>0;)cr.shift()();hr=!1}});Li.Ae=dr.Ce,Li.Te=function(n){try{var i=lr(n);if(!t.dispatchEvent(i)||i.defaultPrevented)return}catch(t){}u(function(){throw new c("Unhandled promise rejection: ".concat(n))},0)}}function wr(){return void 0!==r?r.createElement("video"):void 0}var yr=!!("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),gr=(vr||(vr=wr()),vr),pr=!(!gr||!gr.webkitShowPlaybackTargetPicker),mr=function(){function t(){this.Oe=void 0,this.Be=!1,this.qt=yr,this.vn=!1,this.Le=!0}var n=t.prototype;return n.Me=function(){return 0},n.xe=function(t,n){return!0},n.Ue=function(t){return t>=1/6*2},g(t,[{key:"Fe",get:function(){return void 0===this.Oe&&(this.Oe=this.Me()),this.Oe}},{key:"He",get:function(){return!C.xn}},{key:"Ve",get:function(){}},{key:"Xe",get:function(){return i.devicePixelRatio||1}},{key:"ze",get:function(){return pr}},{key:"qe",get:function(){return!1}},{key:"We",get:function(){return!0}},{key:"Ge",get:function(){return C.Pn||C.un}},{key:"Ye",get:function(){return!0}},{key:"je",get:function(){return!0}},{key:"Qe",get:function(){return!1}},{key:"Ke",get:function(){}},{key:"Ze",get:function(){return!0}},{key:"Je",get:function(){return!1}},{key:"$e",get:function(){return!1}}]),t}(),Ir=function(){var t=wr();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(C.$t)return!1;var t=wr();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var kr=function(t){function n(n){var i;return(i=t.call(this)||this).ir=void 0,i.ir=n,i.ir&&(i.Be=i.ir.Be,i.qt=i.ir.qt,i.Le=Ir&&i.ir.Le),i}m(n,t);var i=n.prototype;return i.Me=function(){return this.ir?this.ir.Fe:t.prototype.Me.call(this)},i.xe=function(n,i){return this.ir?this.ir.xe(n,i):t.prototype.xe.call(this,n,i)},i.Ue=function(n){return this.ir?this.ir.Ue(n):t.prototype.Ue.call(this,n)},g(n,[{key:"Ke",get:function(){var t;return null==(t=this.ir)?void 0:t.Ke}},{key:"Ze",get:function(){var t,n;return null==(t=null==(n=this.ir)?void 0:n.Ze)||t}}]),n}(mr),Sr=function(t){function n(n){var i;return(i=t.call(this,n)||this).Be=!0,i.vn=!0,i}return m(n,t),g(n,[{key:"Qe",get:function(){return C.un}}]),n}(kr),br=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Me=function(){if(!(void 0).MediaSource)return 1},g(n,[{key:"Qe",get:function(){return!0}}]),n}(Sr),Er=function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).rr=void 0,n}return m(n,t),n.prototype.xe=function(n,i){return t.prototype.xe.call(this,n,i)},g(n,[{key:"qe",get:function(){return C.Tn<3}},{key:"We",get:function(){return C.Tn>=3}},{key:"Ve",get:function(){var t=this;return i.tizen&&!this.rr&&i.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var i=n.resolutionWidth,r=n.resolutionHeight;1===i&&1===r||(t.rr={width:i,height:r})}),this.rr}},{key:"Je",get:function(){return C.Tn<3}},{key:"$e",get:function(){return!0}}]),n}(kr),Tr=function(t){function n(){return t.call(this)||this}return m(n,t),n}(mr),Rr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.xe=function(t,n){if(t&&t.dr&&n&&n.dr){var i=Nr(t.dr,"mp4a.40.2")&&Nr(n.dr,"mp4a.40.5"),r=Nr(t.dr,"mp4a.40.5")&&Nr(n.dr,"mp4a.40.2"),e=Nr(t.dr,"mp4a.40.2")&&Nr(n.dr,"mp4a.40.34"),u=Nr(t.dr,"mp4a.40.34")&&Nr(n.dr,"mp4a.40.2"),o=Nr(t.dr,"mp4a.40.5")&&Nr(n.dr,"mp4a.40.34"),f=Nr(t.dr,"mp4a.40.34")&&Nr(n.dr,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},g(n,[{key:"Ke",get:function(){if(C.Wt)return 4096}}]),n}(Tr);function Nr(t,n){return t.indexOf(n)>-1}var Or=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Ue=function(t){return t>=2},n}(Tr),Ar=function(t){function n(){var n;return(n=t.call(this)||this).Be=C.On>=11,n.Le=C.Pn&&!(C.un&&C.On<10),n}return m(n,t),n}(Tr),Dr=function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).rr=void 0,n}return m(n,t),g(n,[{key:"Ve",get:function(){var t=this;return i.webOS&&!this.rr&&i.webOS.deviceInfo(function(n){t.rr={width:n.screenWidth,height:n.screenHeight}}),this.rr}},{key:"Ye",get:function(){return!1}},{key:"$e",get:function(){return!0}}]),n}(kr),Cr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),g(n,[{key:"Ze",get:function(){return!C.Gt||(C.yn?92!==C.pn:C.wn>=100)}}]),n}(Tr),Pr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),g(n,[{key:"Qe",get:function(){return!0}}]),n}(kr),Fr=function(){function n(){var n;this._r=void 0,this.gr=new kt,this.wr=new Br,this.yr=(n=function(){if(C.Dn)return new Rr;if(C.En||C.In)return new Or;if(C.Pn)return new Ar;if(C._n)return new Cr;return new Tr}(),C.un?new br(n):C.vn?new Sr(n):C.An?new Er(n):C.Sn?new Dr(n):C.Wt?new Pr(n):new kr(n)),this.pr=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this._r=function(){return t.performance.now()}:this._r=yt}var i=n.prototype;return i.Ar=function(){U.apply(void 0,arguments)},i.Tr=function(){V.apply(void 0,arguments)},i.Sr=function(){H.apply(void 0,arguments)},i.Er=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];G.apply(void 0,[t].concat(i))},i.jn=function(t,n){return u(t,n)},i.Ir=function(t,n){return f(t,n)},i.Yn=function(t){o(t)},i.Rr=function(t){s(t)},i.ri=function(t){return this.gr.ri(t)},i.Nr=function(){return this.Dr.Nr()},i.Cr=function(){return this.Dr.Cr()},i.Pr=function(){return this.Dr.Pr()},i.Or=function(){return this.Dr.Or()},i.Br=function(){return this.Dr.Br()},i.Lr=function(t,n){return this.Dr.Lr(t,n)},i.Mr=function(t){return this.Dr.Mr(t)},i.xr=function(t,n){var i;return void 0===n&&(n=Fi(void 0)),i="object"!=typeof n||n instanceof Pi?n:n.href,new Pi(t,i)},i.Ur=function(n,i){if(void 0===i&&(i=Fi(void 0)),this.pr){var r="string"==typeof i?i:i.toString();return new t.URL(n,r).href}return this.xr(n,i).href},g(n,[{key:"Fr",get:function(){return this.wr}},{key:"Hr",get:function(){return this.yr}},{key:"Vr",get:function(){return{Xr:e&&e.userAgent.match(/Android /i)?"Android":"other",zr:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"qr",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Wr",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),Br=function(){function t(){}return g(t,[{key:"Gr",get:function(){return e.oscpu}},{key:"Hr",get:function(){return e.platform}},{key:"Yr",get:function(){return e.vendor}},{key:"jr",get:function(){return e.vendorSub}}]),t}();var Mr={exports:{}};!function(t){var n,i=a.prototype,r=i.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",f=e.toStringTag||"@@toStringTag";function s(t,n,i,r){var e=n&&n.prototype instanceof p?n:p,u=a.create(e.prototype),o=new D(r||[]);return u.Qr=function(t,n,i){var r=l;return function(e,u){if(r===w)throw new c("Generator is already running");if(r===y){if("throw"===e)throw u;return P()}for(i.method=e,i.arg=u;;){var o=i.delegate;if(o){var f=N(o,i);if(f){if(f===g)continue;return f}}if("next"===i.method)i.sent=i.Kr=i.arg;else if("throw"===i.method){if(r===l)throw r=y,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=w;var s=v(t,n,i);if("normal"===s.type){if(r=i.done?y:_,s.arg===g)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(r=y,i.method="throw",i.arg=s.arg)}}}(t,i,o),u}function v(t,n,i){try{return{type:"normal",arg:t.call(n,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",_="suspendedYield",w="executing",y="completed",g={};function p(){}function m(){}function I(){}var k={};k[u]=function(){return this};var S=a.getPrototypeOf,b=S&&S(S(C([])));b&&b!==i&&r.call(b,u)&&(k=b);var E=I.prototype=p.prototype=a.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Qr(n,t)}})}function R(t){var n;this.Qr=function(i,e){function u(){return new fr(function(n,u){!function n(i,e,u,o){var f=v(t[i],t,e);if("throw"!==f.type){var s=f.arg,c=s.value;return c&&"object"==typeof c&&r.call(c,"Zr")?fr.resolve(c.Zr).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):fr.resolve(c).then(function(t){s.value=t,u(s)},function(t){return n("throw",t,u,o)})}o(f.arg)}(i,e,n,u)})}return n=n?n.then(u,u):u()}}function N(t,i){var r=t.iterator[i.method];if(r===n){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=n,N(t,i),"throw"===i.method))return g;i.method="throw",i.arg=new h("The iterator does not provide a 'throw' method")}return g}var e=v(r,t.iterator,i.arg);if("throw"===e.type)return i.method="throw",i.arg=e.arg,i.delegate=null,g;var u=e.arg;return u?u.done?(i[t.resultName]=u.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=n),i.delegate=null,g):u:(i.method="throw",i.arg=new h("iterator result is not an object"),i.delegate=null,g)}function O(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function A(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(t){if(t){var i=t[u];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!d(t.length)){var e=-1,o=function i(){for(;++e<t.length;)if(r.call(t,e))return i.value=t[e],i.done=!1,i;return i.value=n,i.done=!0,i};return o.next=o}}return{next:P}}function P(){return{value:n,done:!0}}m.prototype=E.constructor=I,I.constructor=m,I[f]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return a.setPrototypeOf?a.setPrototypeOf(t,I):(t.__proto__=I,f in t||(t[f]="GeneratorFunction")),t.prototype=a.create(E),t},t.awrap=function(t){return{Zr:t}},T(R.prototype),R.prototype[o]=function(){return this},t.AsyncIterator=R,t.async=function(n,i,r,e){var u=new R(s(n,i,r,e));return t.isGeneratorFunction(i)?u:u.next().then(function(t){return t.done?t.value:u.next()})},T(E),E[f]="Generator",E[u]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var r=n.pop();if(r in t)return i.value=r,i.done=!1,i}return i.done=!0,i}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Kr=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!d(+i.slice(1))&&(this[i]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function e(r,e){return f.type="throw",f.arg=t,i.next=r,e&&(i.method="next",i.arg=n),!!e}for(var u=this.tryEntries.length-1;u>=0;--u){var o=this.tryEntries[u],f=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),h=r.call(o,"finallyLoc");if(s&&h){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!h)throw new c("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc<=this.prev&&r.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var u=e;break}}u&&("break"===t||"continue"===t)&&u.tryLoc<=n&&n<=u.finallyLoc&&(u=null);var o=u?u.completion:{};return o.type=t,o.arg=n,u?(this.method="next",this.next=u.finallyLoc,g):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),g},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),A(i),g}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var e=r.arg;A(i)}return e}}throw new c("illegal catch attempt")},delegateYield:function(t,i,r){return this.delegate={iterator:C(t),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}(Mr.exports);var xr=Mr.exports;function Lr(){return(Lr=a.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)a.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function Wr(){var t=a.create(null);return t.__=void 0,delete t.__,t}var Ur,Vr,Hr=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(Ur=function(){function t(t,n){this.data=void 0,this.keys=void 0,this.index=0,this.selector=void 0,this.data=t,this.selector=n,this.keys=a.keys(t)}var n=t.prototype;return n.next=function(){var t=this.index;return t<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[t]),done:!1}):{value:void 0,done:!0}},t}(),function(){function t(){this.data=Wr(),this.size=0}var n=t.prototype;return n.get=function(t){return this.data[t]},n.set=function(t,n){return this.has(t)||this.size++,this.data[t]=n,this},n.has=function(t){return t in this.data},n.delete=function(t){return!!this.has(t)&&(this.size--,delete this.data[t],!0)},n.clear=function(){this.data=Wr(),this.size=0},n.keys=function(){return new Ur(this.data,function(t,n){return n})},n.values=function(){return new Ur(this.data,function(t,n){return t[n]})},n.entries=function(){return new Ur(this.data,function(t,n){return[n,t[n]]})},n.forEach=function(t){for(var n in this.data)t(this.data[n],n)},t}());!function(t){t.us="9a04f079-9840-4286-ab92-e65be0885f95",t.hs="edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",t.fs="1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",t.vs="94ce86fb-07ff-4f43-adb8-93d2fa968ca2"}(Vr||(Vr={}));var Gr,jr=Vr.us,zr="urn:uuid:"+jr,Kr=Vr.hs,qr="urn:uuid:"+Kr,Xr=Vr.fs,Yr="urn:uuid:"+Xr,$r=Vr.vs,Zr="urn:uuid:"+$r;!function(t){t.us="playready",t.hs="widevine",t.vs="fairplay",t.fs="clearkey",t.ds="aes128"}(Gr||(Gr={}));var Jr={ls:Gr.us,_s:"com.microsoft.playready",gs:"cenc",ys:jr,As:zr,Ts:"PlayReady"},Qr={ls:Gr.hs,_s:"com.widevine.alpha",gs:"cenc",ys:Kr,As:qr,Ts:"Widevine"},te={ls:Gr.vs,_s:"com.apple.fps.1_0",gs:"skd",ys:$r,As:Zr,Ts:"FairPlay"};Gr.vs;var ne={ls:Gr.fs,_s:"org.w3.clearkey",gs:"cenc",ys:Xr,As:Yr,Ts:"ClearKey"};var ie=C._n&&C.wn>=42||C.Dn&&C.Cn>=38||C.En||C.Rn||C.Bn&&C.Ln>=29;function re(t,n){return r="audio",null!=(i=t)&&-1!==i.indexOf(r)?{initDataTypes:["cenc"],audioCapabilities:[Lr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[Lr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var i,r}var ee,ue=function(){function t(t){this.Ss=void 0,this.Es=new Hr,this.Is=void 0,this.Ss=t}var n=t.prototype;return n.Br=function(){return this.Mr(Qr)},n.Cr=function(){return this.Mr(ne)},n.Or=function(){return this.Mr(Jr)},n.Pr=function(){return this.Mr(te)},n.Mr=function(t){var n=t.As,i=this.Es.get(n);if(i)return i;var r=this.Lr(t,'video/mp4; codecs="avc1.42000a"');return this.Es.set(n,r),r},n.Lr=function(t,n){return xr.async(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,xr.awrap(this.Ss.Rs(t._s,[re(n,!0)]));case 3:return i.abrupt("return",!0);case 6:return i.prev=6,i.t0=i.catch(0),i.prev=8,i.next=11,xr.awrap(this.Ss.Rs(t._s,[re(n,!1)]));case 11:return i.abrupt("return",!0);case 14:return i.prev=14,i.t1=i.catch(8),i.abrupt("return",!1);case 17:case"end":return i.stop()}},null,this,[[0,6],[8,14]],fr)},n.Nr=function(){return this.Is||(this.Is=this.Ns()),this.Is},n.Ns=function(){return xr.async(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(ie){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,xr.awrap(this.Cr());case 6:if(!t.sent){t.next=8;break}return t.abrupt("return",!1);case 8:return t.abrupt("return",!0);case 9:case"end":return t.stop()}},null,this,null,fr)},t}(),oe=function(){function t(){}var n=t.prototype;return n.kf=function(){},n.Ou=function(t){},n.Du=function(t){},n.mf=function(t,n){},t}(),fe=function(){function t(){}return t.prototype.Rs=function(t,n){return fr.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.hv="arraybuffer",t.fv="json",t.vv="stream",t.Jn="text"}(ee||(ee={}));var se,ce=function(){function t(n){var i=this;this.rs=void 0,this.rs={},n instanceof t?n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):Array.isArray(n)?n.forEach(function(t){i.append(t[0],t[1])}):n&&a.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=he(i),r=ae(r);var e=i.toLowerCase();if(this.rs.hasOwnProperty(e)){var u=this.rs[e],o=u[1];u[1]=o?o+", "+r:r}else this.rs[e]=[i,r]},n.delete=function(t){var n=he(t).toLowerCase();delete this.rs[n]},n.get=function(t){var n=he(t).toLowerCase();return this.rs.hasOwnProperty(n)?this.rs[n][1]:null},n.has=function(t){var n=he(t).toLowerCase();return this.rs.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=he(i)).toLowerCase();this.rs[r]=[i,ae(n)]},n.forEach=function(t,n){for(var i in this.rs)this.rs.hasOwnProperty(i)&&t.call(n,this.rs[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.rs)if(this.rs.hasOwnProperty(n)){var i=this.rs[n],r=i[0],e=i[1];t.push([r,e])}return t},n._v=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.wv=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.yv=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function he(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new h("Invalid character in header field name");return n}function ae(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function ve(t,n){return function(t,n){var i=t,r=i.length;if(r<=1)return i;for(var e=new Array(r),u=1;u<r;u*=2){le(i,n,u,e);var o=i;i=e,e=o}return i}(t.slice(),n)}function le(t,n,i,r){var e,u,o,f,s,c=t.length,h=0,a=2*i;for(u=0;u<c;u+=a)for(e=(o=u+i)+i,o>c&&(o=c),e>c&&(e=c),f=u,s=o;;)if(f<o&&s<e)n&&n(t[f],t[s])<=0?r[h++]=t[f++]:r[h++]=t[s++];else if(f<o)r[h++]=t[f++];else{if(!(s<e))break;r[h++]=t[s++]}}!function(t){t[t.Ds=0]="Ds",t[t.Cs=1]="Cs",t[t.Ps=-1]="Ps"}(se||(se={}));var _e=function(t,n){return function(t,n){if(t===n)return!0;var i=v.abs(t-n);return i<dt||i<v.max(v.abs(t),v.abs(n))*dt}(t,n)?se.Ds:function(t,n){return t===n?se.Ds:t<n?se.Ps:t>n?se.Cs:d(t)?d(n)?se.Ds:se.Cs:se.Ps}(t,n)};function de(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){t.splice(n,1)}(t,i),!0)}function we(t){t.length=0}var ye,ge,pe,me,Ie=function(){function t(){this.Os=!1,this.Bs=!1,this.Ls=[],this.Ms=[]}var n=t.prototype;return n.xs=function(){if(!this.Os&&!this.Bs){this.Os=!0;for(var t=0,n=this.Ls.slice();t<n.length;t++){(0,n[t])()}this.Us()}},n.Us=function(){if(!this.Bs){this.Bs=!0;for(var t=0,n=this.Ms.slice();t<n.length;t++){(0,n[t])()}we(this.Ls),we(this.Ms)}},n.Fs=function(t){this.Bs||this.Ls.push(t)},n.Hs=function(t){this.Bs||de(this.Ls,t)},n.Vs=function(t){this.Bs||this.Ms.push(t)},n.Xs=function(t){this.Bs||de(this.Ms,t)},t}(),ke=function(){function t(){this.zs=new Ie}var n=t.prototype;return n.qs=function(){this.zs.xs()},n.Us=function(){this.zs.Us()},n.Ws=function(t){var n=this.zs;if(!n.Os)if(t.Os)n.xs();else if(!n.Bs&&!t.Bs){var i=function(){r(),n.xs()},r=function r(){t.Hs(i),t.Xs(r),n.Hs(i),n.Xs(r)};t.Fs(i),t.Vs(r),n.Fs(i),n.Vs(r)}},n.Gs=function(){var n=new t,i=new t,r=n.Ys,e=i.Ys,u=this.zs,o=function(){r.Os&&e.Bs||e.Os&&r.Bs?u.xs():r.Bs&&e.Bs&&u.Us()};r.Fs(o),e.Fs(o),r.Vs(o),e.Vs(o),n.Ws(u),i.Ws(u);return u.Vs(function(){r.Hs(o),e.Hs(o),r.Xs(o),e.Xs(o)}),[n,i]},g(t,[{key:"Ys",get:function(){return this.zs}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(ye||(ye={})),function(t){t.ll="",t._l="manifest",t.wl="segment",t.yl="preload-hint",t.bl="content-protection"}(ge||(ge={})),function(t){t.ll="",t.Al="initialization-segment",t.Tl="fairplay-license",t.Sl="fairplay-certificate",t.El="widevine-license",t.Il="widevine-certificate",t.Rl="playready-license",t.Nl="clearkey-license",t.Dl="aes128-key"}(pe||(pe={})),function(t){t.ll="",t.Cl="audio",t.Pl="video",t.Jn="text",t.Ol="image"}(me||(me={}));var Se,be=function(t,n){this.zd=void 0,this.ul=void 0,this.Bl=void 0,this.ol=void 0,this.Ll=void 0,this.Ys=void 0,this.ls=void 0,this.Ml=void 0,this.xl=void 0,this.vl=void 0,this.Ul=void 0,this.Fl=void 0;var i,r,e,u,o,f,s,c,h,a,v,l=t.vl;n?(i=n.zd,r=n.ul,e=n.Bl,u=n.ol,o=n.Ll,f=n.Ys,s=n.ls,c=n.Ml,h=n.xl,a=n.Ul,v=n.Fl):(i=null,r={},e=ye.GET,u=ee.Jn,o=0,s=ge.ll,c=pe.ll,h=me.ll,a=!1),this.vl=l,this.zd=t.zd||i,this.ul=new ce(t.ul||r),this.Bl=t.Bl||e,this.ol=t.ol||u,this.Ll=void 0!==t.Ll?Number(t.Ll)||0:o,this.Ys=t.Ys||f||(new ke).Ys,this.ls=t.ls||s,this.Ml=t.Ml||c,this.xl=t.xl||h,this.Ul=void 0!==t.Ul?Boolean(t.Ul):a,this.Fl=t.Fl||v};!function(t){t.jl="HttpOpenError",t.Ql="HttpResponseError",t.Kl="HttpTimeoutError"}(Se||(Se={}));var Ee,Te,Re=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.vl+". Invalid URL.",i)||this}return m(n,t),g(n,[{key:"name",get:function(){return Se.jl}}]),n}(function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).Zl=void 0,e.Zl=n,e}return m(n,t),g(n,[{key:"cl",get:function(){return this.Zl}}]),n}(mt)),Ne=function(){function t(){}var n=t.prototype;return n.cl=function(t){return fr.reject(new Re(new be(t)))},n.Hl=function(t){},n.Jc=function(){},t}();function Oe(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Ae(t,n){return t.push(n),t}function De(t,n,i,r){var e=i||0,u=r||n.length,o=u-e,f=t.length,s=f+o;for(t.length=s;e<u;e+=1,f+=1)t[f]=n[e];return t}function Ce(t,n){return De(t,Oe(n))}Ee=new(function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).x_=new ue(new fe),n.NE=new Ne,n.i=new oe,n}return m(n,t),g(n,[{key:"Dr",get:function(){return this.x_}},{key:"X_",get:function(){return!1}},{key:"z_",get:function(){return!1}},{key:"W_",get:function(){return!1}},{key:"q_",get:function(){return!1}},{key:"G_",get:function(){return this.i}},{key:"Y_",get:function(){return{j_:P}}},{key:"Q_",get:function(){return"default"}},{key:"K_",get:function(){return"unknown"}},{key:"Z_",get:function(){return this.NE}}]),n}(Fr)),function(t){t.dDt="h.264",t.NX="mp3",t.RX="aac-lc",t.YNt="he-aac"}(Te||(Te={}));var Pe=function(){function t(){this.$rt=0,this.tst=[],this.cE={}}var n=t.prototype;return n.nst=function(t){this.tst=this.tst.concat(t.tst),this.$rt+=t.zg},n.ist=function(t,n,i){var r=this.$rt,e=i-n;e>0&&(this.tst.push({rst:n,sst:i,ust:e,ost:r,hst:t}),this.$rt+=e)},n.Du=function(t){for(var n=0,i=this.tst;n<i.length;n++){var r=i[n];if(r.ost<=t&&t<r.ost+r.ust)return r.hst[t+r.rst-r.ost]}},n.ast=function(t,n){for(var i=n,r=0,e=this.tst;r<e.length;r++)for(var u=e[r],o=u.sst,f=u.rst;f<o;f+=1,i+=1)t[i]=u.hst[f];return i},n.cst=function(){for(var t=new w(this.$rt),n=0,i=0,r=this.tst;i<r.length;i++)for(var e=r[i],u=e.sst,o=e.rst;o<u;o+=1,n+=1)t[n]=e.hst[o];return t},n.Fu=function(n){for(var i=new t,r=0,e=this.tst;r<e.length;r++){var u=e[r];i.ist(u.hst,u.rst,u.sst)}return i.cE=n||Lr({},this.cE),i},g(t,[{key:"zg",get:function(){return this.$rt},set:function(t){var n=this.tst,i=this.$rt-t;if(!(t>=this.$rt))if(this.$rt=t,0!==t)for(var r=n.length-1;r>=0;r-=1){var e=n[r];if(i<=e.ust)return e.sst-=i,e.ust-=i,void(n.length!==r+1&&(n.length=r+1));i-=e.ust}else n.length=0}},{key:"Vi",get:function(){for(var t=new Array(this.$rt),n=0,i=0,r=this.tst;i<r.length;i++)for(var e=r[i],u=e.sst,o=e.rst;o<u;o+=1,n+=1)t[n]=e.hst[o];return t}}]),t}(),Fe=function(){function t(){}var n=t.prototype;return n.Hm=function(t){return this.Vm()*t},n.Xm=function(t){return this.zm(t)>0},n.qm=function(t){return this.zm(t)>=0},n.Wm=function(t,n){return this.Ym(t).Gm(n)},n.Dm=function(t){return 0===this.zm(t)},n.jm=function(t){return this.zm(t)<0},n.Gm=function(t){return this.zm(t)<=0},n.Qm=function(){return this.Km()?this.Zm():this},n.Jm=function(t){return this.Vk(t.Zm())},n.Ym=function(t){return this.Jm(t).Qm()},t}();function Be(t,n){return t.$m()?n.$m()?se.Ds:se.Cs:n.$m()?se.Ps:t.tp()?n.tp()&&t.Km()===n.Km()?se.Ds:t.Km()?se.Ps:se.Cs:n.Km()?se.Cs:se.Ps}var Me=function(){function t(t,n){this.np=void 0,this.ip=void 0,this.np=t,this.ip=n}t.ep=function(n,i,r){return r?new t(n.toUnsigned(),i.toUnsigned()):new t(n.toSigned(),i.toSigned())},t.rp=function(n){return n.unsigned?new t(n,z.UZERO):new t(n,n.isNegative()?z.NEG_ONE:z.ZERO)},t.sp=function(n,i){if(d(n))return i?t.op:t.hp;if(i){if(n<0)return t.op;if(n>=3.402823669209385e38)return t.ap}else{if(n<=-1.7014118346046923e38)return t.cp;if(n+1>=1.7014118346046923e38)return t.fp}return n<0?t.sp(-n,i).Zm():t.ep(z.fromNumber(n%0x10000000000000000),z.fromNumber(n/0x10000000000000000),i)};var n=t.prototype;return n.vp=function(){return this.ip.unsigned},n.dp=function(){return this.np.isZero()&&this.ip.isZero()},n.Km=function(){return this.ip.isNegative()},n.lp=function(){return this.vp()?t.ep(this.np,this.ip,!1):this},n._p=function(){return this.vp()?this:t.ep(this.np,this.ip,!0)},n.gp=function(){return this.np},n.Vm=function(){return this.Km()?-this.Zm().Vm():0x10000000000000000*this.ip.toNumber()+this.np.toUnsigned().toNumber()},n.wp=function(){return this.np.toInt()},n.Dm=function(t){return(this.vp()===t.vp()||this.ip.getHighBits()>>>31!=1||t.ip.getHighBits()>>>31!=1)&&(this.ip.toUnsigned().eq(t.ip.toUnsigned())&&this.np.toUnsigned().eq(t.np.toUnsigned()))},n.zm=function(t){if(this.Dm(t))return se.Ds;var n=this.Km(),i=t.Km();if(n&&!i)return se.Ps;if(!n&&i)return se.Cs;if(!this.vp())return this.Jm(t).Km()?se.Ps:se.Cs;var r=this._p(),e=t._p(),u=e.ip.comp(r.ip);return u>0||0===u&&e.np.gt(r.np)?se.Ps:se.Cs},n.jm=function(t){return this.zm(t)<0},n.Gm=function(t){return this.zm(t)<=0},n.yp=function(t){return this.zm(t)>0},n.kp=function(t){return this.zm(t)>=0},n.mp=function(){return new t(this.np.not(),this.ip.not())},n.pp=function(n){return new t(this.np.and(n.np),this.ip.and(n.ip))},n.bp=function(n){return new t(this.np.or(n.np),this.ip.or(n.ip))},n.Ap=function(n){var i=127&n;return 0===i?this:i<64?t.ep(this.np.shl(i),this.ip.shl(i).or(this.np.shru(64-i)),this.vp()):t.ep(z.ZERO,this.np.shl(i-64),this.vp())},n.Tp=function(n){var i=127&n;return 0===i?this:i<64?t.ep(this.np.shru(i).or(this.ip.shl(64-i)),this.ip.shr(i),this.vp()):t.ep(this.ip.shr(i-64),this.ip.isNegative()?z.NEG_ONE:z.ZERO,this.vp())},n.Sp=function(n){var i=127&n;return 0===i?this:i<64?t.ep(this.np.shru(i).or(this.ip.shl(64-i)),this.ip.shru(i),this.vp()):64===i?t.ep(this.ip,z.ZERO,this.vp()):t.ep(this.ip.shru(i-64),z.ZERO,this.vp())},n.Vk=function(n){var i=this.ip.high>>>16,r=65535&this.ip.high,e=this.ip.low>>>16,u=65535&this.ip.low,o=this.np.high>>>16,f=65535&this.np.high,s=this.np.low>>>16,c=65535&this.np.low,h=n.ip.high>>>16,a=65535&n.ip.high,v=n.ip.low>>>16,l=65535&n.ip.low,_=n.np.high>>>16,d=65535&n.np.high,w=n.np.low>>>16,y=0,g=0,p=0,m=0,I=0,k=0,S=0,b=0;S+=(b+=c+(65535&n.np.low))>>>16,b&=65535,k+=(S+=s+w)>>>16,S&=65535,I+=(k+=f+d)>>>16,k&=65535,m+=(I+=o+_)>>>16,I&=65535,p+=(m+=u+l)>>>16,m&=65535,g+=(p+=e+v)>>>16,p&=65535,y+=(g+=r+a)>>>16,g&=65535,y+=i+h,y&=65535;var E=this.vp(),T=z.fromBits(p<<16|m,y<<16|g,E),R=z.fromBits(S<<16|b,I<<16|k,E);return t.ep(R,T,E)},n.Jm=function(t){return this.Vk(t.Zm())},n.Zm=function(){return this.mp().Vk(t.Ep)},n.Ip=function(n){if(this.dp()||n.dp())return this.vp()?t.op:t.hp;if(this.Km())return n.Km()?this.Zm().Ip(n.Zm()):this.Zm().Ip(n).Zm();if(n.Km())return this.Ip(n.Zm()).Zm();if(this.ip.isZero()&&0===this.np.high&&n.ip.isZero()&&0===n.np.high)return t.rp(this.np.multiply(n.np));var i=z.fromBits(4294967295,0,!0),r=this.np.and(i),e=this.np.shru(32),u=this.ip.and(i),o=this.ip.shru(32),f=n.np.and(i),s=n.np.shru(32),c=n.ip.and(i),h=n.ip.shru(32),a=z.UZERO,v=z.UZERO,l=z.UZERO,_=z.UZERO;a=a.add(r.mul(f)),v=v.add(a.shru(32)),a=a.and(i),v=v.add(e.mul(f)),l=l.add(v.shru(32)),v=(v=v.and(i)).add(r.mul(s)),l=l.add(v.shru(32)),v=v.and(i),l=l.add(u.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(i)).add(e.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(i)).add(r.mul(c)),_=_.add(l.shru(32)),l=l.and(i),_=_.add(o.mul(f)).add(u.mul(s)).add(e.mul(c)).add(r.mul(h)).and(i);var d=z.fromBits(a.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=z.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.ep(d,w,this.vp())},n.Rp=function(n){var i,r,e=n;if(e.dp())throw new RangeError("division by zero");if(this.dp())return this.vp()?[t.op,t.op]:[t.hp,t.hp];if(this.vp()){if(e.vp()||(e=e._p()),e.yp(this))return[t.op,this];if(e.yp(this.Sp(1)))return[r=t.Np,i=this.Jm(e)];r=t.op}else{if(this.Dm(t.cp)){if(e.Dm(t.Ep)||e.Dm(t.Dp))return[t.cp,t.hp];if(e.Dm(t.cp))return[t.Ep,t.hp];var u=this.Tp(1).Cp(e).Ap(1);return u.Dm(t.hp)?r=e.Km()?t.Ep:t.Dp:(i=this.Jm(e.Ip(u)),r=u.Vk(i.Cp(e))),[r,i=this.Jm(e.Ip(r))]}if(e.Dm(t.cp))return this.vp()?[t.op,this]:[t.hp,this];if(this.Km()){if(e.Km())return this.Zm().Rp(e.Zm());var o=this.Zm().Rp(e);return r=o[0],i=o[1],[r.Zm(),i.Zm()]}if(e.Km()){var f=this.Rp(e.Zm());return r=f[0],i=f[1],[r.Zm(),i.Zm()]}r=t.hp}for(i=this;i.kp(e);){for(var s=v.max(1,v.floor(i.Vm()/e.Vm())),c=v.ceil(v.log(s)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.sp(s),l=a.Ip(e);l.Km()||l.yp(i);)s-=h,l=(a=t.sp(s,this.vp())).Ip(e);a.dp()&&(a=t.Ep),r=r.Vk(a),i=i.Jm(l)}return[r,i]},n.Cp=function(t){return this.Rp(t)[0]},n.Pp=function(t){return this.Rp(t)[1]},n.toString=function(n){var i=n||10;if(i<2||i>36)throw new RangeError("radix");if(this.dp())return"0";if(this.Km()){if(this.Dm(t.cp)){var r=t.sp(i),e=this.Cp(r),u=e.Ip(r).Jm(this);return e.toString(i)+u.wp().toString(i)}return"-"+this.Zm().toString(i)}for(var o=t.sp(v.pow(i,6),this.vp()),f=this,s="";;){var c=f.Cp(o),h=(f.Jm(c.Ip(o)).wp()>>>0).toString(i);if((f=c).dp())return h+s;for(;h.length<6;)h="0"+h;s=String(h)+s}},t}();Me.hp=Me.rp(z.ZERO),Me.op=Me.rp(z.UZERO),Me.Ep=Me.rp(z.ONE),Me.Np=Me.rp(z.UONE),Me.Dp=Me.rp(z.NEG_ONE),Me.fp=Me.ep(z.NEG_ONE,z.MAX_VALUE,!1),Me.ap=Me.ep(z.MAX_UNSIGNED_VALUE,z.MAX_UNSIGNED_VALUE,!0),Me.cp=Me.ep(z.ZERO,z.MIN_VALUE,!1);var xe=function(){function t(t,n){void 0===n&&(n=1),this.Op=void 0,this.Bp=void 0,this.Op=t,this.Bp=n}t.Lp=function(n){return new t(v.ceil(n.Op),n.Bp)},t.Mp=function(n){return new t(v.floor(n.Op),n.Bp)},t.xp=function(t,n){return t.qm(n)?t:n},t.Up=function(t,n){return t.Gm(n)?t:n};var n=t.prototype;return n.Vk=function(n){return this.Bp>=n.Bp?new t(this.Op+n.Fp(this.Bp).Op,this.Bp):new t(this.Fp(n.Bp).Op+n.Op,n.Bp)},n.Xm=function(t){return t.jm(this)},n.qm=function(t){return t.Gm(this)},n.Ym=function(n){return this.Bp>=n.Bp?new t(v.abs(this.Op-n.Fp(this.Bp).Op),this.Bp):n.Ym(this)},n.Wm=function(t,n){return this.Ym(t).Gm(n)},n.zm=function(t){return i=t,(n=this).Bp>=i.Bp?_e(n.Op,i.Fp(n.Bp).Op):_e(n.Fp(i.Bp).Op,i.Op);var n,i},n.Dm=function(t){return 0===this.zm(t)},n.jm=function(t){return this.zm(t)<0},n.Gm=function(t){return this.zm(t)<=0},n.Fp=function(n){return new t(this.Op*(n/this.Bp),n)},n.Jm=function(n){return this.Bp>=n.Bp?new t(this.Op-n.Fp(this.Bp).Op,this.Bp):new t(this.Fp(n.Bp).Op-n.Op,n.Bp)},n.Hp=function(n){return new t(this.Op*n,this.Bp)},g(t,[{key:"tp",get:function(){return!isFinite(this.Op)}},{key:"Vp",get:function(){return this.Op/this.Bp}}]),t}();xe.Xp=new xe(1/6,1),xe.hp=new xe(0),xe.zp=new xe(1/0),xe.qp=1e6;var Le=function(t){function n(n,i){var r;return(r=t.call(this)||this).Ai=void 0,r.Bp=void 0,r.Ai=n.toSigned(),r.Bp=i>>>0,r}m(n,t),n.Wp=function(t,i){return void 0===i&&(i=1e6),n.sp(t*i,i)},n.sp=function(t,i){return d(t)?n.Gp:t===1/0?n.Yp:t===-1/0?n.jp:new n(z.fromNumber(t),i)},n.rp=function(t,i){return new n(t,i)},n.Qp=function(t){return n.Wp(t.Vp,1e6)},n.Kp=function(t){return new n(z.fromNumber(t.getTime()),1e3)},n.xp=function(t,n){return t.qm(n)?t:n},n.Up=function(t,n){return t.Gm(n)?t:n},n.Zp=function(t,i,r){return n.xp(i,n.Up(r,t))};var i=n.prototype;return i.Km=function(){return this.Ai.isNegative()},i.dp=function(){return 0!==this.Bp&&this.Ai.isZero()},i.tp=function(){return 0===this.Bp&&!this.Ai.isZero()},i.$m=function(){return 0===this.Bp&&this.Ai.isZero()},i.Vm=function(){if(0===this.Bp)return this.Ai.isZero()?NaN:this.Ai.isNegative()?-1/0:1/0;var t=this.Ai.divide(this.Bp),n=this.Ai.subtract(t.multiply(this.Bp));return t.toNumber()+n.toNumber()/this.Bp},i.gp=function(){if(0===this.Bp)throw new c("Failed to convert timestamp");return this.Ai},i.Jp=function(){return new Date(0===this.Bp?NaN:this.Fp(1e3).Ai.toNumber())},i.$p=function(){return new xe(0===this.Bp?this.Vm():this.Ai.toNumber(),this.Bp)},i.Fp=function(t,i){void 0===i&&(i=Ve.ib);var r=this.Bp;if(r===t)return this;if(0===r)return this;var e=wt(r,t);return new n(function(t,n,i){var r=t.Rp(n),e=r[0],u=r[1];if(u.dp())return e;if(i===Ve.ib)return u.Km()?e.Jm(Me.Ep):e;if(i===Ve.eb)return u.Km()?e:e.Vk(Me.Ep);var o=u.Ip(Me.sp(2));return o.Km()?o.Zm().jm(n)?e:e.Jm(Me.Ep):o.jm(n)?e:e.Vk(Me.Ep)}(Me.rp(this.Ai).Ip(Me.sp(t/e)),Me.sp(r/e),i).gp(),t)},i.zm=function(t){if(this===t)return se.Ds;if(0===this.Bp||0===t.Bp)return Be(this,t);if(this.dp())return t.dp()?se.Ds:t.Km()?se.Cs:se.Ps;if(t.dp())return this.Km()?se.Ps:se.Cs;var n=v.min(this.Bp,t.Bp),i=this.Fp(n,Ve.sb).Ai,r=t.Fp(n,Ve.sb).Ai;return i.compare(r)},i.Zm=function(){return 0===this.Bp?We(this):new n(this.Ai.negate(),this.Bp)},i.Vk=function(t){if(0===this.Bp||0===t.Bp)return Ue(this,t);if(this.dp())return t;if(t.dp())return this;var i=v.max(this.Bp,t.Bp),r=this.Fp(i,Ve.sb),e=t.Fp(i,Ve.sb);return new n(r.Ai.add(e.Ai),i)},i.Ip=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp()||!isFinite(t)){if(this.dp()||0===t)return n.Gp;var i=this.Km()?n.jp:n.Yp;return t<0?i.Zm():i}return this.dp()?this:new n(0===t?z.ZERO:this.Ai.multiply(t),this.Bp)},i.Cp=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp())return isFinite(t)?0===t?1/t<0?this.Zm():this:t<0?this.Zm():this:n.Gp;if(!isFinite(t))return new n(z.ZERO,this.Bp);if(this.dp())return 0===t?n.Gp:new n(z.ZERO,this.Bp);if(0===t){var i=this.Km()?n.jp:n.Yp;return 1/t<0?i.Zm():i}return new n(this.Ai.divide(t),this.Bp)},i.ub=function(){return[this.Ai.low,this.Ai.high,this.Bp]},n}(Fe);function We(t){return t.$m()?t:t.Km()?Le.Yp:Le.jp}function Ue(t,n){return t.$m()||n.$m()?Le.Gp:t.tp()&&n.tp()?t.Km()===n.Km()?t:Le.Gp:t.tp()?t:n}Le.hp=new Le(z.ZERO,1e6),Le.Gp=new Le(z.ZERO,0),Le.Yp=new Le(z.ONE,0),Le.jp=new Le(z.NEG_ONE,0);var Ve,He=function(t){function n(n,i){var r;return(r=t.call(this)||this).Ai=void 0,r.Bp=void 0,r.Ai=BigInt.asIntN(64,n),r.Bp=i>>>0,r}m(n,t),n.Wp=function(t,i){return void 0===i&&(i=1e6),n.sp(t*i,i)},n.sp=function(t,i){return d(t)?n.Gp:t===1/0?n.Yp:t===-1/0?n.jp:new n(BigInt(v.floor(t)),i)},n.rp=function(t,i){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),i)},n.Qp=function(t){return n.Wp(t.Vp,1e6)},n.Kp=function(t){return n.sp(t.getTime(),1e3)},n.xp=function(t,n){return t.qm(n)?t:n},n.Up=function(t,n){return t.Gm(n)?t:n},n.Zp=function(t,i,r){return n.xp(i,n.Up(r,t))};var i=n.prototype;return i.Km=function(){return this.Ai<BigInt(0)},i.dp=function(){return 0!==this.Bp&&this.Ai===BigInt(0)},i.tp=function(){return 0===this.Bp&&this.Ai!==BigInt(0)},i.$m=function(){return 0===this.Bp&&this.Ai===BigInt(0)},i.Vm=function(){if(0===this.Bp)return this.Ai===BigInt(0)?NaN:this.Ai<BigInt(0)?-1/0:1/0;var t=this.Ai/BigInt(this.Bp),n=this.Ai-t*BigInt(this.Bp);return Number(t)+Number(n)/this.Bp},i.gp=function(){if(0===this.Bp)throw new c("Failed to convert timestamp");return this.ob()},i.ob=function(){var t=this.Ai&BigInt(4294967295),n=this.Ai>>BigInt(32)&BigInt(4294967295);return z.fromBits(Number(t),Number(n))},i.Jp=function(){return new Date(0===this.Bp?NaN:Number(this.Fp(1e3).Ai))},i.$p=function(){return new xe(0===this.Bp?this.Vm():Number(this.Ai),this.Bp)},i.Fp=function(t,i){void 0===i&&(i=Ve.ib);var r=this.Bp;if(r===t)return this;if(0===r)return this;var e=wt(r,t);return new n(function(t,n,i){var r=t/n,e=t-r*n;if(e===BigInt(0))return r;if(i===Ve.ib)return e<BigInt(0)?r-BigInt(1):r;if(i===Ve.eb)return e<BigInt(0)?r:r+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?r:r-BigInt(1):u<n?r:r+BigInt(1)}(this.Ai*BigInt(t/e),BigInt(r/e),i),t)},i.zm=function(t){if(this===t)return se.Ds;if(0===this.Bp||0===t.Bp)return Be(this,t);if(this.dp())return t.dp()?se.Ds:t.Km()?se.Cs:se.Ps;if(t.dp())return this.Km()?se.Ps:se.Cs;var n=v.min(this.Bp,t.Bp),i=this.Fp(n,Ve.sb).Ai,r=t.Fp(n,Ve.sb).Ai;return i>r?se.Cs:i<r?se.Ps:se.Ds},i.Zm=function(){return 0===this.Bp?Ge(this):new n(-this.Ai,this.Bp)},i.Vk=function(t){if(0===this.Bp||0===t.Bp)return je(this,t);if(this.dp())return t;if(t.dp())return this;var i=v.max(this.Bp,t.Bp),r=this.Fp(i,Ve.sb),e=t.Fp(i,Ve.sb);return new n(r.Ai+e.Ai,i)},i.Ip=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp()||!isFinite(t)){if(this.dp()||0===t)return n.Gp;var i=this.Km()?n.jp:n.Yp;return t<0?i.Zm():i}return this.dp()?this:new n(0===t?BigInt(0):this.Ai*BigInt(t),this.Bp)},i.Cp=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp())return isFinite(t)?0===t?1/t<0?this.Zm():this:t<0?this.Zm():this:n.Gp;if(!isFinite(t))return new n(BigInt(0),this.Bp);if(this.dp())return 0===t?n.Gp:new n(BigInt(0),this.Bp);if(0===t){var i=this.Km()?n.jp:n.Yp;return 1/t<0?i.Zm():i}return new n(this.Ai/BigInt(t),this.Bp)},i.ub=function(){var t=this.ob();return[t.low,t.high,this.Bp]},g(n,null,[{key:"hp",get:function(){return n.hb||(n.hb=new n(BigInt(0),1e6)),n.hb}},{key:"Gp",get:function(){return n.cb||(n.cb=new n(BigInt(0),0)),n.cb}},{key:"Yp",get:function(){return n.fb||(n.fb=new n(BigInt(1),0)),n.fb}},{key:"jp",get:function(){return n.vb||(n.vb=new n(BigInt(-1),0)),n.vb}}]),n}(Fe);function Ge(t){return t.$m()?t:t.Km()?He.Yp:He.jp}function je(t,n){return t.$m()||n.$m()?He.Gp:t.tp()&&n.tp()?t.Km()===n.Km()?t:He.Gp:t.tp()?t:n}He.hb=void 0,He.cb=void 0,He.fb=void 0,He.vb=void 0,function(t){t[t.ib=0]="ib",t[t.eb=1]="eb",t[t.sb=2]="sb"}(Ve||(Ve={}));var ze=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?He:Le;function Ke(t){return ze.rp(z.fromBits(t[0],t[1],!1),t[2])}var qe,Xe,Ye,$e,Ze,Je,Qe=v.pow(2,33),tu=ze.sp(Qe,9e4);tu.Cp(2);C.Pn,function(t){t[t.zrt=0]="zrt",t[t.qrt=1]="qrt",t[t.Wrt=2]="Wrt",t[t.Grt=3]="Grt",t[t.Yrt=4]="Yrt",t[t.jrt=5]="jrt"}(qe||(qe={})),function(t){t[t.Qrt=0]="Qrt",t[t.Krt=1]="Krt",t[t.Zrt=2]="Zrt",t[t.Jrt=3]="Jrt"}(Xe||(Xe={})),function(t){t.DQ='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.CQ='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.OQ='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.BQ='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(Ye||(Ye={})),function(t){t.BLACK="#000000",t.WHITE="#FFFFFF",t.GREEN="#00ff00",t.BLUE="#0000ff",t.CYAN="#00ffff",t.RED="#ff0000",t.YELLOW="#ffff00",t.MAGENTA="#ff00ff",t.TRANSPARENT="transparent"}($e||($e={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ze||(Ze={})),$e.WHITE,Ye.OQ,$e.BLACK,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.GREEN,Ze.FONT_REGULAR,$e.GREEN,Ze.FONT_UNDERLINE,$e.BLUE,Ze.FONT_REGULAR,$e.BLUE,Ze.FONT_UNDERLINE,$e.CYAN,Ze.FONT_REGULAR,$e.CYAN,Ze.FONT_UNDERLINE,$e.RED,Ze.FONT_REGULAR,$e.RED,Ze.FONT_UNDERLINE,$e.YELLOW,Ze.FONT_REGULAR,$e.YELLOW,Ze.FONT_UNDERLINE,$e.MAGENTA,Ze.FONT_REGULAR,$e.MAGENTA,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_ITALICS,$e.WHITE,Ze.FONT_UNDERLINE_ITALICS,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,function(t){t[t.yst=47]="yst",t[t.kst=49]="kst"}(Je||(Je={}));var nu,iu=[128,64,32,16,8,4,2,1];function ru(t,n){var i=v.floor(n.bit/8),r=0==(("function"==typeof t.Du?t.Du(i):t[i])&iu[n.bit%8])?0:1;return n.bit+=1,r}function eu(t,n,i){for(var r=0,e=i;e>0;)e-=1,r=2*r+ru(t,n);return r}function uu(t,n){for(var i=0;0===ru(t,n)&&i<32;)i+=1;return eu(t,n,i)+v.pow(2,i)-1}function ou(t,n){var i=uu(t,n);return 1&i?v.floor((i+1)/2):-v.floor(i/2)}!function(t){t[t.Tst=1]="Tst",t[t.Sst=2]="Sst",t[t.Est=3]="Est",t[t.Ist=4]="Ist",t[t.Rst=5]="Rst",t[t.Nst=6]="Nst",t[t.Dst=7]="Dst",t[t.Cst=8]="Cst",t[t.Pst=9]="Pst"}(nu||(nu={}));var fu=[void 0,[1,1],[12,11],[10,11],[16,11],[40,33],[24,11],[20,11],[32,11],[80,33],[18,11],[15,11],[64,33],[160,99],[4,3],[3,2],[2,1]];function su(t,n,i){for(var r=8,e=8,u=0;u<i;u+=1){if(0!==e)e=(r+ou(t,n)+256)%256;r=0===e?r:e}}var cu=function(){function t(t){this.Ost=void 0,this.Bst=[],this.Lst=0,this.Ost=t}var n=t.prototype;return n.Mst=function(){for(var t=this.Bst,n=v.max(0,this.Lst+t.length-2),i=this.Ost,r=i.zg,e=0;n<r;n+=1){var u=i.Du(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Lst=n-t.length},n.xst=function(t){for(var n=this.Bst,i=t,r=0;r<n.length;r++){if(!(n[r]<=i))return i;i+=1}return i},n.Du=function(t){if(!(t>this.Ost.zg))return t>this.Lst&&this.Mst(),this.Ost.Du(this.xst(t))},t}();function hu(t,n){io(t.video?t.video:void 0);var i=Mo(t,!0),r=eo(t)+8,e=wu.length+i+r,u=function(t,n){var i={video:[],audio:[]},r=8+n,e={video:t.video&&t.video.RW||[],audio:t.audio&&t.audio.RW||[]},u={cE:{S$:Number.POSITIVE_INFINITY}},o=0,f=0,s=e.video[0]||u,c=e.audio[0]||u;for(;o<e.video.length||f<e.audio.length;)s.cE.S$<c.cE.S$?(Ce(i.video,r),r+=s.zg,s=e.video[o+=1]||u):(Ce(i.audio,r),r+=c.zg,c=e.audio[f+=1]||u);return i}(t,wu.length+i);return n.p(e),n.li(wu),xo(n,t,i,u),function(t,n,i){var r,e={cE:{S$:Number.POSITIVE_INFINITY}},u=0,o=0,f=n.video&&n.video.RW||[],s=n.audio&&n.audio.RW||[],c=f.length,h=s.length,a=f[u]||e,v=s[o]||e;t.yi(i),t.li(gu);for(;u<c||o<h;)a.cE.S$<v.cE.S$?(r=a,a=f[u+=1]||e):(r=v,v=s[o+=1]||e),t.pi(r)}(n,t,r),n}function au(t,n,i){var r=void 0!==n?n:void 0;io(t.video?t.video:void 0);var e=Mo(t,!1,r),u=yu.length+e;return i.p(u),i.li(yu),xo(i,t,e,void 0,r||ze.hp),i}function vu(t,n,i,r,e){var u=i.Vm(),o=r.Vm(),f=function(t,n){return 1===rf(t,n)?52:44}(t,o),s=tf(t,u),c=eo(t)+8,h=Lo.length+f+s+c;return e.p(h),e.li(Lo),function(t,n,i,r,e){var u=n.video&&n.video.xNt.Vk(ze.Wp(n.video.duration,n.video.xNt.Bp))||ze.hp,o=n.audio&&n.audio.xNt.Vk(ze.Wp(n.audio.duration,n.audio.xNt.Bp))||ze.hp,f=ze.xp(u,o),s=v.round(e*no);t.yi(i),t.li(Wo),1===rf(n,e)?(t.yi(16777216),t.yi(1),t.yi(no),t.mi(z.fromNumber(s)),t.mi(z.ZERO)):(t.yi(0),t.yi(1),t.yi(no),t.yi(s),t.yi(0));t.ki(0),t.ki(1);var c=nf(n.video?n.video:void 0),h=nf(n.audio?n.audio:void 0);t.yi(tf(n,r)+c+h+8),ff(t,f),t.li([144,0,0,0])}(e,t,f,u,o),function(t,n,i,r,e){t.yi(i),t.li(Uo),function(t,n){t.yi(Ho),t.li(Vo),t.yi(0),t.yi(n)}(t,r),uf(t,n,n.video?n.video:void 0,1,e),uf(t,n,n.audio?n.audio:void 0,2,e)}(e,t,s,n,u),function(t,n,i){var r=n.video&&n.video.RW||[],e=n.audio&&n.audio.RW||[];t.yi(i),t.li(gu);for(var u=0;u<r.length;u++){var o=r[u];t.pi(o)}for(var f=0;f<e.length;f++){var s=e[f];t.pi(s)}}(e,t,c),e}function lu(t){return t.BNt===Te.NX||t.BNt===Te.RX||t.BNt===Te.YNt}function _u(t){return t.BNt===Te.dDt}function du(t){var n=t.length;if(n)for(var i=t[0].cE.qst,r=0;r<n;r+=1){var e=t[r].cE;e.oDt=e.zst.Jm(i),i=i.Vk(e.Wst)}}var wu=[0,0,0,32,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,97,118,99,49,109,112,52,49],yu=[0,0,0,28,102,116,121,112,109,112,52,50,0,0,0,0,105,115,111,109,109,112,52,50,100,97,115,104],gu=[109,100,97,116],pu=[109,111,111,118],mu=[109,118,104,100],Iu=[116,114,97,107],ku=[116,107,104,100],Su=[109,118,101,120],bu=[116,114,101,120],Eu=32,Tu=[101,100,116,115],Ru=[101,108,115,116],Nu=[109,100,105,97],Ou=[109,100,104,100],Au=[99,116,116,115],Du=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0],Cu=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0],Pu=45,Fu=[109,105,110,102],Bu=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],Mu=16,xu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],Lu=20,Wu=[0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1],Uu=36,Vu=[115,116,98,108],Hu=[115,116,115,100],Gu=[97,118,99,67],ju=[101,115,100,115],zu=[115,116,115,115],Ku=[115,116,116,115],qu=[115,116,115,99],Xu=[115,116,115,122],Yu=[115,116,99,111],$u=[112,97,115,112],Zu=[97,118,99,49],Ju=[109,112,52,97],Qu=[1,0],to=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0],no=9e4;function io(t){if(t&&!t.rS){var n=t.CEt,i=t.PEt;t.rS=function(t,n){var i=t.length,r=n.length,e=[];return Ae(e,1),Ae(e,t[1]),Ae(e,t[2]),Ae(e,t[3]),Ae(e,255),Ae(e,225),Ae(e,(65280&i)>>8),Ae(e,255&i),De(e,t),Ae(e,1),Ae(e,(65280&r)>>8),Ae(e,255&r),De(e,n),e}(n,i);var r=new Pe;r.ist(n,0,n.length);var e=function(t){var n,i,r,e,u,o,f=new cu(t),s=0,c=0,h=0,a=0,l=f.Du(1),_={bit:32};if(uu(f,_),100===l||110===l||122===l||144===l){var d=uu(f,_);if(3===d&&(n=ru(f,_)),uu(f,_),uu(f,_),ru(f,_),1===ru(f,_))for(var w=0;w<(3!==d?8:12);w+=1)1===ru(f,_)&&su(f,_,w<6?16:64)}var y=uu(f,_),g=uu(f,_);if(0===g)uu(f,_);else if(1===g){ru(f,_),ou(f,_),ou(f,_);for(var p=uu(f,_),m=0;m<p;m+=1)ou(f,_)}uu(f,_),ru(f,_);var I=uu(f,_),k=uu(f,_),S=ru(f,_);if(0===S&&ru(f,_),ru(f,_),1===ru(f,_)&&(s=uu(f,_),c=uu(f,_),h=uu(f,_),a=uu(f,_)),1===ru(f,_)){if(1===ru(f,_)){var b=eu(f,_,8);if(255===b)i=eu(f,_,16),r=eu(f,_,16);else{var E=fu[b];E&&(i=E[0],r=E[1])}}1===ru(f,_)&&ru(f,_),1===ru(f,_)&&(eu(f,_,3),ru(f,_),1===ru(f,_)&&(eu(f,_,8),eu(f,_,8),eu(f,_,8))),1===ru(f,_)&&(uu(f,_),uu(f,_)),1===(e=ru(f,_))&&(u=eu(f,_,32),o=eu(f,_,32),ru(f,_))}return{width:v.floor(16*(I+1)-2*s-2*c),height:v.floor((2-S)*(k+1)*16-2*h-2*a),gS:i,wS:r,Ust:!!e&&o/(2*u),Fst:n,Hst:y}}(r);t.width=e&&e.width,t.height=e&&e.height,e&&e.gS&&e.wS&&(t.gS=e.gS,t.wS=e.wS)}}function ro(t,n){var i=t.Ust||0;if(lu(t))return t.tDt;var r=v.max(no,i);return n?v.round(r):r}function eo(t){var n=0,i=function(t){for(var n=t.length,i=0,r=0;r<n;r+=1)i+=t[r].zg;return i};return t.video&&(n+=i(t.video.RW)),t.audio&&(n+=i(t.audio.RW)),n}function uo(t,n,i,r){var e=ze.Wp(0,t.Bp);return n?(r||e).Vk(t):i||e}function oo(t,n,i){var r=t.video&&uo(ze.Wp(t.video.duration,no),n,i,t.video.xNt)||ze.hp,e=t.audio&&uo(ze.Wp(t.audio.duration,no),n,i,t.audio.xNt)||ze.hp;return 0!==ze.xp(r,e).Fp(no).gp().high?1:0}function fo(t,n,i){return 1===oo(t,n,i)?120:108}function so(t,n,i){return 0!==uo(ze.Wp(t.duration,no),n,i,t.xNt).Fp(no).gp().high?1:0}function co(t,n,i){return 1===so(t,n,i)?104:92}function ho(t,n,i){var r=ro(t,!1),e=uo(ze.Wp(t.duration,r),n,i);return e.Xm(ze.Wp(v.pow(2,32)-1,e.Bp))?1:0}function ao(t,n,i){return 1===ho(t,n,i)?44:32}function vo(t){if(t.hasOwnProperty("bi"))return t.bi;for(var n=0,i=0,r=t.RW;i<r.length;i++){r[i].cE.jst&&(n+=1)}return t.bi=n,n}function lo(t,n){var i=t.video&&0!==a.keys(t.video).length,r=t.audio&&0!==a.keys(t.audio).length;return n?0:8+(i?Eu:0)+(r?Eu:0)}function _o(t){return!_u(t)&&t.eDt?t.eDt.length+12:0}function wo(t){return _u(t)?110+t.rS.length+_o(t)+(t.gS&&t.wS?16:0):52+_o(t)}function yo(t,n){return _u(t)&&n?16+4*vo(t):0}function go(t,n){return t.LNt&&n&&_u(t)?16+8*t.RW.length:0}function po(t,n){return 20+(n?4*t.RW.length:0)}function mo(t,n){return 16+(n?4*t.RW.length:0)}function Io(t,n){return _u(t)?16+(n?8*t.RW.length:0):16+(n?8:0)}function ko(t){return 16+(t?12:0)}function So(t,n){return 8+wo(t)+yo(t,n)+go(t,n)+Io(t,n)+ko(n)+po(t,n)+mo(t,n)}function bo(t,n){return 8+(_u(t)?Lu:Mu)+Uu+So(t,n)}function Eo(t,n,i){return 8+ao(t,n,i)+Pu+bo(t,n)}function To(t){var n=v.floor(no*t.duration||0),i=t.xNt;return n>v.pow(2,31)-1||i.Xm(ze.sp(v.pow(2,31)-1,no))?1:0}function Ro(t,n){return n?1===To(t)?24+(t.xNt.dp()?20:40):24+(t.xNt.dp()?12:24):0}function No(t,n,i){return t&&0!==a.keys(t).length?8+co(t,n,i)+Eo(t,n,i)+Ro(t,n):0}function Oo(t,n,i){var r=wo(n),e=function(t){if(t===Te.dDt)return Zu;if(t===Te.NX)return Ju;if(t===Te.RX||t===Te.YNt)return Ju;throw new c("unknown codec "+t)}(n.BNt);t.yi(r),t.li(Hu),t.yi(0),t.yi(1),t.yi(r-16),t.li(e),t.yi(0),t.ki(0),t.ki(1),e===Zu&&_u(n)?(t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.ki(n.width||0),t.ki(n.height||0),t.ki(72),t.ki(0),t.ki(72),t.ki(0),t.yi(0),t.ki(1),t.li([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.ki(24),t.li([255,255]),t.yi(8+n.rS.length),t.li(Gu),t.li(n.rS)):e===Ju&&lu(n)&&(t.yi(0),t.yi(0),t.ki(n.iDt),t.ki(16),t.ki(0),t.ki(0),t.ki(n.tDt),t.ki(0)),_u(n)&&n.gS&&n.wS&&(t.yi(16),t.li($u),t.yi(n.gS),t.yi(n.wS)),!_u(n)&&n.eDt&&(t.yi(_o(n)),t.li(ju),t.yi(0),t.li(n.eDt))}function Ao(t,n,i){var r=ro(n,!0),e=i?n.RW.length:0;!function(t){var n=t.length;if(n){var i=(t=ve(t,function(t,n){return function(t,n){return t.zm(n)}(t.cE.qst,n.cE.qst)}))[0].cE;i.hDt=ze.hp;for(var r=1;r<n;r+=1){var e=t[r].cE,u=e.qst.Jm(i.qst);e.hDt=ze.xp(u,ze.hp),i=e}}}(n.RW),t.yi(e);for(var u=0;u<e;u+=1){var o=n.RW[u].cE.hDt;t.yi(1),t.yi(o.Fp(r,Ve.sb).gp().toInt())}}function Do(t,n,i,r){var e=So(n,!!r);t.yi(e),t.li(Vu),Oo(t,n),function(t,n,i){t.yi(Io(n,i)),t.li(Ku),t.yi(0),_u(n)?Ao(t,n,i):function(t,n,i){t.yi(i?1:0),i&&(t.yi(n.RW.length),t.yi(n.nDt))}(t,n,i)}(t,n,!!r),function(t,n,i){if(_u(n)&&i){var r=yo(n,i);t.yi(r),t.li(zu),t.yi(0),t.yi(vo(n));for(var e=0;e<n.RW.length;e+=1)n.RW[e].cE.jst&&t.yi(e+1)}}(t,n,!!r),function(t,n,i){var r=ro(n,!1);if(n.LNt&&i&&_u(n)){du(n.RW);var e=go(n,i);t.yi(e),t.li(Au),t.yi(0),t.yi(n.RW.length);for(var u=0,o=n.RW;u<o.length;u++){var f=o[u].cE.oDt;t.yi(1),t.yi(f.Fp(r,Ve.sb).gp().toInt())}}}(t,n,!!r),function(t,n){t.yi(ko(n)),t.li(qu),t.yi(0),t.yi(n?1:0),n&&(t.yi(1),t.yi(1),t.yi(1))}(t,!!r),function(t,n,i){var r=po(n,i);if(t.yi(r),t.li(Xu),t.yi(0),t.yi(0),t.yi(i?n.RW.length:0),i)for(var e=0,u=n.RW;e<u.length;e++){var o=u[e];t.yi(o.zg)}}(t,n,!!r),function(t,n,i){var r=mo(n,!!i);t.yi(r),t.li(Yu),t.yi(0),t.yi(i?n.RW.length:0),i&&t.li(i)}(t,n,r)}function Co(t,n,i,r){var e=bo(n,!!r);t.yi(e),t.li(Fu),_u(n)?function(t){t.li(xu)}(t):function(t){t.li(Bu)}(t),function(t){t.li(Wu)}(t),Do(t,n,0,r)}function Po(t,n,i,r,e){var u=Eo(n,!!r,e);t.yi(u),t.li(Nu),function(t,n,i,r){var e=ao(n,i,r),u=ro(n,!1),o=uo(ze.Wp(n.duration,u),i,r);u=v.round(u),t.yi(e),t.li(Ou),1===ho(n,i,r)?(t.yi(16777216),t.mi(z.ZERO),t.mi(z.ZERO),t.yi(u),of(t,o)):(t.yi(0),t.yi(0),t.yi(0),t.yi(u),ff(t,o)),t.li([85,196]),t.li([0,0])}(t,n,!!r,e),function(t,n){n?t.li(Du):t.li(Cu)}(t,_u(n)),Co(t,n,0,r)}function Fo(t,n){t.yi(Eu),t.li(bu),t.yi(0),t.yi(n),t.yi(1),t.yi(0),t.yi(0),t.yi(0)}function Bo(t,n,i,r,e){var u=No(n,!!i,e);n&&0!==u&&(t.yi(u),t.li(Iu),function(t,n,i,r,e){var u=uo(ze.Wp(n.duration,no),r,e,n.xNt),o=co(n,r,e),f=_u(n);t.yi(o),t.li(ku),1===so(n,r,e)?(t.yi(16777231),t.mi(z.ZERO),t.mi(z.ZERO),t.yi(i),t.yi(0),of(t,u)):(t.yi(15),t.yi(0),t.yi(0),t.yi(i),t.yi(0),ff(t,u)),t.yi(0),t.yi(0),t.ki(0),t.ki(f?0:1),t.li(f?[0,0]:Qu),t.li([0,0]),t.li(to),_u(n)?(t.ki(n.width||0),t.ki(0),t.ki(n.height||0),t.ki(0)):(t.yi(0),t.yi(0))}(t,n,r,!!i,e),i&&function(t,n){var i=Ro(n,!0),r=v.floor(no*n.duration||0),e=To(n);t.yi(i),t.li(Tu),t.yi(i-8),t.li(Ru),1===e?t.yi(16777216):t.yi(0),t.yi(n.xNt.dp()?1:2),n.xNt.dp()||(1===e?(of(t,n.xNt),t.li([255,255,255,255,255,255,255,255])):(ff(t,n.xNt),t.li([255,255,255,255])),t.ki(1),t.ki(0)),1===e?(t.mi(z.fromNumber(r)),t.mi(z.ZERO)):(t.yi(r),t.yi(0)),t.ki(1),t.ki(0)}(t,n),Po(t,n,0,i,e))}function Mo(t,n,i){var r=No(t.video?t.video:void 0,n,i),e=No(t.audio?t.audio:void 0,n,i);return 8+fo(t,n,i)+lo(t,n)+r+e}function xo(t,n,i,r,e){t.yi(i),t.li(pu),function(t,n,i,r){var e=fo(n,i,r),u=n.video&&uo(ze.Wp(n.video.duration,no),i,r,n.video.xNt)||ze.hp,o=n.audio&&uo(ze.Wp(n.audio.duration,no),i,r,n.audio.xNt)||ze.hp,f=ze.xp(u,o);t.yi(e),t.li(mu),1===oo(n,i,r)?(t.yi(16777216),t.mi(z.ZERO),t.mi(z.ZERO),t.yi(no),of(t,f)):(t.yi(0),t.yi(0),t.yi(0),t.yi(no),ff(t,f)),t.li([0,1,0,0]),t.li(Qu),t.li([0,0,0,0,0,0,0,0,0,0]),t.li(to),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(3)}(t,n,!!r,e),r||function(t,n){t.yi(lo(n,!1)),t.li(Su),n.video&&0!==a.keys(n.video).length&&Fo(t,1),n.audio&&0!==a.keys(n.audio).length&&Fo(t,2)}(t,n),Bo(t,n.video?n.video:void 0,r&&r.video,1,e),Bo(t,n.audio?n.audio:void 0,r&&r.audio,2,e)}var Lo=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],Wo=[115,105,100,120],Uo=[109,111,111,102],Vo=[109,102,104,100],Ho=16,Go=[116,114,97,102],jo=[116,102,104,100],zo=24,Ko=[116,102,100,116],qo=[116,114,117,110],Xo=[115,100,116,112];function Yo(t){return _u(t)?20+16*t.RW.length:20+4*t.RW.length}function $o(t){return _u(t)?12+t.RW.length:0}function Zo(t,n){var i=ro(t,!0);return v.round(n*i)>v.pow(2,32)-1?1:0}function Jo(t,n){return 1===Zo(t,n)?20:16}function Qo(t,n){return t&&t.RW?8+zo+Jo(t,n)+Yo(t)+$o(t):0}function tf(t,n){var i=Qo(t.audio?t.audio:void 0,n),r=Qo(t.video?t.video:void 0,n);return 8+Ho+i+r}function nf(t){if(!t||!t.RW)return 0;for(var n=0,i=0,r=t.RW;i<r.length;i++){n+=r[i].zg}return n}function rf(t,n){return v.round(n*no)>v.pow(2,32)-1?1:0}function ef(t,n,i,r){_u(i)?function(t,n,i,r){var e=tf(n,r)+8,u=ro(i,!1);du(i.RW),t.yi(Yo(i)),t.li(qo),t.li([1,0,15,1]),t.yi(i.RW.length),t.yi(e);for(var o=0,f=i.RW;o<f.length;o++){var s=f[o];t.yi(v.round(s.cE.ey*u));var c=s.cE.oDt;t.yi(s.zg),t.li(s.cE.jst?[2,0,0,0]:[0,1,0,0]),t.yi(c.Fp(u).gp().toInt())}}(t,n,i,r):function(t,n,i,r){var e=nf(n.video?n.video:void 0),u=tf(n,r)+8+e;t.yi(Yo(i)),t.li(qo),t.li([0,0,2,1]),t.yi(i.RW.length),t.yi(u);for(var o=0,f=i.RW;o<f.length;o++){var s=f[o];t.yi(s.zg)}}(t,n,i,r)}function uf(t,n,i,r,e){i&&(t.yi(Qo(i,e)),t.li(Go),function(t,n,i){var r=ro(n,!0),e=_u(n)?v.round(r/(n.UNt.Vm()||0)):n.nDt;t.yi(zo),t.li(jo),t.yi(40),t.yi(i),t.yi(e),t.li(_u(n)?[0,1,0,0]:[2,0,0,0])}(t,i,r),function(t,n,i){var r=ro(n,!0),e=v.round(i*r);t.yi(Jo(n,i)),t.li(Ko),1===Zo(n,i)?(t.yi(16777216),t.mi(z.fromNumber(e))):(t.yi(0),t.yi(e))}(t,i,e),ef(t,n,i,e),function(t,n,i){if(_u(i)){t.yi($o(i)),t.li(Xo),t.li([0,0,0,0]);for(var r=0,e=i.RW;r<e.length;r++)e[r].cE.jst?t.te(32):t.te(16)}}(t,0,i))}function of(t,n){t.mi(n.Fp(no).gp())}function ff(t,n){t.yi(n.Fp(no).gp().toNumber())}var sf,cf={ie:function(t,n){n.p(function(t){var n=0;return t.audio&&(n+=function(t){var n,i=t.length,r=0;for(n=0;n<i;n+=1)r+=t[n].zg;return r}(t.audio.RW)),n}(t));for(var i=0,r=t.audio&&t.audio.RW||[],e=r.length;i<e;)n.pi(r[i]),i+=1}},hf=function(){function t(t){this.Vi=void 0,this.Xd=void 0,this.ee=0,this.Xd=t}var n=t.prototype;return n.se=function(t,n,i){var r=this.ee,e=this.Vi;for(n=n||0,i=i||t.length;n<i;n+=1,r+=1)e[r]=t[n];this.ee=r},n.p=function(t){this.Vi=new w(t),this.ee=0},n.te=function(t){this.Vi&&(this.Vi[this.ee]=t,this.ee+=1)},n.li=function(t,n,i){this.Vi&&this.se(t,n,i)},n.pi=function(t){this.ee=t.ast(this.Vi,this.ee)},n.ub=function(t){return t(this.Vi,this.Xd)},n.ki=function(t){return this.li([(n=t)>>>8&255,255&n]);var n},n.yi=function(t){return this.li(Oe(t))},n.mi=function(t){var n=t.toUnsigned();this.yi(n.high),this.yi(n.low)},t}(),af=t;function vf(t,n){return void 0===sf&&(sf=function(){var t=new w(1);try{return af.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&sf?af.postMessage(t,n):af.postMessage(t)}var lf,_f,df,wf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),yf=16383;function gf(t,n,i){for(var r,e,u,o=[],f=n;f<i;f+=3)o.push((r=t[f],e=t[f+1],u=t[f+2],wf[r>>2]+wf[(3&r)<<4|e>>4]+wf[(15&e)<<2|u>>6]+wf[63&u]));return o.join("")}function pf(t){for(var n=t.length,i=n%3,r=[],e=n-i,u=0;u<e;u+=yf)r.push(gf(t,u,v.min(e,u+yf)));if(1===i){var o=t[n-1];r.push(wf[o>>2]+wf[(3&o)<<4]+"==")}else if(2===i){var f=t[n-2],s=t[n-1];r.push(wf[f>>2]+wf[(3&f)<<4|s>>4]+wf[(15&s)<<2]+"=")}return r.join("")}function mf(t){return{MA:t.MA,cE:{S$:t.cE.S$,wK:Ke(t.cE.Xst)},RW:t.RW}}function If(t){return{wK:Ke(t.wK),ES:t.ES,fst:t.fst,vst:t.vst,ls:t.ls,SQ:t.SQ,dst:t.dst,lst:t.lst}}function kf(t){return{NNt:t.NNt,RW:[],BNt:t.BNt,LNt:t.LNt,duration:t.duration,MNt:t.MNt,xNt:Ke(t.xNt),Ust:t.Ust,UNt:Ke(t.UNt),FNt:t.FNt,HNt:Ke(t.HNt),VNt:Ke(t.VNt),XNt:Ke(t.XNt),zNt:Ke(t.zNt),qNt:Ke(t.qNt),WNt:Ke(t.WNt),GNt:Ke(t.GNt)}}function Sf(t){switch(t.BNt){case Te.RX:case Te.YNt:return function(t){return Lr({},bf(t),{BNt:t.BNt,RW:t.RW.map(function(t){return function(t){var n=Ef(t),i=(r=n.cE,Lr({},Rf(r),{jNt:r.jNt,QNt:r.QNt,KNt:r.KNt}));var r;return n.Fu(i)}(t)}),xEt:t.xEt,ZNt:t.ZNt})}(t);case Te.NX:return function(t){return Lr({},bf(t),{BNt:t.BNt,RW:t.RW.map(function(t){return function(t){var n=Ef(t),i=(r=n.cE,Lr({},Rf(r),{VA:r.VA,yT:r.yT,JNt:r.JNt,EX:r.EX,$Nt:r.$Nt}));var r;return n.Fu(i)}(t)})})}(t)}}function bf(t){return Lr({},kf(t),{RW:[],BNt:t.BNt,tDt:t.tDt,nDt:t.nDt,iDt:t.iDt,eDt:t.eDt})}function Ef(t){var n=new Pe;return n.ist(t.rDt,0,t.sDt),n.cE=t.uDt,n}function Tf(t){var n;return Lr({},{S$:(n=t).S$,Xst:Ke(n.Xst)},{zst:Ke(t.zst),qst:Ke(t.qst)})}function Rf(t){return Lr({},Tf(t))}!function(t){t.NX="hOt",t.Bw="aOt",t.cOt="fOt",t.vOt="dOt",t.lOt="_Ot"}(lf||(lf={})),function(t){t.gOt="wOt",t.yOt="kOt"}(_f||(_f={})),function(t){t.mOt="audio/mp4",t.pOt="audio/mpeg",t.bOt="video/mp4"}(df||(df={}));var Nf=t;function Of(t,n,i){n={},i||(i="PIW0031"),Nf.postMessage({aBt:"_Bt",cBt:t,vBt:n.message||i,ce:n.name,he:n.stack,ae:JSON.stringify(n)})}function Af(t,n){return{Vi:pf(t),Xd:n}}Nf.addEventListener("message",function(t){var n,i,r,e,u=t.data,o=u.HOt,f=u.qOt,s=u.XOt,c=[],h=f===_f.gOt?function(t,n,i){return t.push(n.buffer),{Vi:n,Xd:i}}.bind(void 0,c):Af;if("VOt"===o){r=function(t){return{audio:t.audio?Sf(t.audio):void 0,video:t.video?(i=t.video,r=kf(i),Lr({},r,{BNt:i.BNt,RW:i.RW.map(function(t){return function(t){var n,i=Ef(t),r=Lr({},Tf(n=i.cE),{ey:n.ey,Wst:Ke(n.Wst),Gst:n.Gst,Yst:n.Yst,oDt:n.oDt&&Ke(n.oDt),hDt:n.hDt&&Ke(n.hDt),jst:n.jst,Zst:n.Zst,Qst:n.Qst,Kst:n.Kst});return i.Fu(r)}(t)}),aDt:i.aDt,cDt:i.cDt,rS:i.rS,width:i.width,height:i.height,Wat:i.Wat,fDt:i.fDt,Yat:i.Yat,CEt:i.CEt,PEt:i.PEt,gS:i.gS,wS:i.wS})):void 0,RNt:t.RNt?(n=t.RNt,{NNt:n.NNt,fIt:n.fIt,dw:n.dw,OV:n.OV,DNt:n.DNt,CNt:n.CNt,PNt:n.PNt.map(mf),yw:[]}):void 0,Qst:t.Qst?t.Qst.map(If):t.Qst,ONt:Ke(t.ONt)};var n,i,r}(u.GOt),u.GOt=void 0;try{if((e=u.zOt)===lf.lOt||e===lf.vOt||e===lf.cOt)n=function(t,n){var i=t.WOt,r=t.YOt,e=Ke(t.QOt),u=Ke(t.KOt),o=t.jOt&&Ke(t.jOt);switch(t.zOt){case lf.cOt:var f=new hf(i);return vu(n,r,e,u,f),f;case lf.vOt:var s=new hf(i);return au(n,o,s),s;case lf.lOt:var c={Kmt:new hf(i),pBt:new hf(i),ub:function(t){return{Kmt:c.Kmt.ub(t),pBt:c.pBt.ub(t)}}};return au(n,o,c.Kmt),vu(n,r,e,u,c.pBt),c}}(u,r);else{if(!function(t){var n=t.zOt;return n===lf.Bw||n===lf.NX}(u))return Of(s,{},"PIW0072");n=function(t,n){var i=t.WOt;switch(t.zOt){case lf.NX:var r=new hf(i);return cf.ie(n,r),r;case lf.Bw:var e=new hf(i);return hu(n,e),e}}(u,r)}}catch(t){return Of(s,t,"PIW0082")}try{i=n.ub(h)}catch(t){return Of(s,t,"PIW0077")}try{return vf({aBt:"dBt",cBt:s,fBt:i},c)}catch(t){return Of(s,t,"PIW0078")}}return Of(s,{},"PIW0090")},!1),Nf.postMessage({KAt:"5.0.1"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);
31
+ !function(t){!function(){"use strict";var n,i=t.window,r=t.document,e=(t.location,t.navigator),u=t.setTimeout,o=t.clearTimeout,f=t.setInterval,s=t.clearInterval,c=t.Error,h=t.TypeError,a=(t.SyntaxError,t.Object),v=t.Math,l=t.parseInt,_=t.parseFloat,d=t.isNaN,w=t.Uint8Array;t.Worker,t.WorkerGlobalScope,t.XMLHttpRequest;function y(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function g(t,n,i){return n&&y(t.prototype,n),i&&y(t,i),a.defineProperty(t,"prototype",{writable:!1}),t}function p(t,n){return(p=a.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}function m(t,n){t.prototype=a.create(n.prototype),t.prototype.constructor=t,p(t,n)}!function(t){t.l="web",t.g="android",t.I="android-tv",t.R="ios",t.N="tvos",t.M="chromecast"}(n||(n={}));var I=e?e.userAgent:"",k=I.match(/chrome\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),S=I.match(/Edg\/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)/i),b=I.match(/Android ([0-9\.]+)/i),E=I.match(/Windows NT ([0-9\.]+)/i),T=I.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),R=I.match(/Firefox\/([0-9\.]+)/i),N=I.match(/OPR\/(\d+\.\d+)/i),O=I.match(/Tizen ([0-9\.]+)/i),A=I.match(/(iPhone OS|iPad OS|iPod OS|Mac OS X) (\d+)_(\d+)_?(\d+)?/),D=function(){function i(){this.U=Boolean("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch||e&&e.msMaxTouchPoints),this.F=/(mac\sos\sx)\s?([\w\s\.]+\w)*/i.test(I)||/(macintosh|mac(?=_powerpc)\s)/i.test(I),this.V=/Windows NT/i.test(I),this.q=E?_(E[1]):0,this.G=/Android/i.test(I),this.Y=b?_(b[1]):0,this.j=/windows phone (8|8\.1)/i.test(I),this.K=/iPhone/i.test(I),this.Z=/iPad/i.test(I),this.J=this.F&&this.U&&!this.Z,this.nt=/iPod/i.test(I),this.ut=/Mobile Safari/i.test(I),this.ot=/EOSSTB/i.test(I),this.ct=(this.K||this.Z||this.J||this.nt)&&!this.j,this.ft=A?_(A[2]):0,this.vt=this.j||this.ct||this.G||this.ut,this.dt=/CriOS/i.test(I),this._t=Boolean(t.chrome&&/google/i.test(e.vendor))||this.dt,this.wt=this._t&&/Edg\//i.test(e.userAgent),this.yt=S?l(S[1],10):0,this.kt=Boolean(t.chrome||/Chrome/i.test(I)||/CriOS/i.test(I)),this.bt=k?l(k[1],10):0,this.At=/SMART-TV.*Tizen/i.test(I),this.Tt=O?_(O[1]):0,this.St=/webos|web0s/i.test(I),this.Et=/Edge\/\d+/i.test(I),this.It=/Trident/i.test(I),this.Rt=this.It&&!t.ActiveXObject&&"ActiveXObject"in t,this.Nt=/Vivaldi/i.test(I),this.Dt=/Firefox/i.test(I)&&!/Seamonkey/i.test(I),this.Ct=R?_(R[1]):0,this.Pt=/Safari/i.test(I)&&!/Chrome/i.test(I)&&!this.j&&!this.At,this.Ot=T?_(T[2]):0,this.Bt=Boolean(N),this.Lt=N?_(N[1]):0,this.Mt=/CrKey/.test(I),this.xt=/\b(tv|smart-tv|smarttv|appletv|crkey|googletv|hbbtv|pov_tv|roku|viera|nettv|philipstv)\b/i.test(I),this.Ut="web"===n.I,this.Ft="web"===n.g,this.Ht=this.Ft||this.Ut,this.Vt="web"===n.R,this.Xt="web"===n.N,this.zt="web"===n.M}return g(i,[{key:"qt",get:function(){return this.U}},{key:"Wt",get:function(){return this.F}},{key:"Gt",get:function(){return this.V}},{key:"Yt",get:function(){return this.q}},{key:"jt",get:function(){return this.G}},{key:"Qt",get:function(){return this.Y}},{key:"Kt",get:function(){return this.j}},{key:"Zt",get:function(){return this.K}},{key:"Jt",get:function(){return this.Z}},{key:"$t",get:function(){return this.J}},{key:"in",get:function(){return this.nt}},{key:"un",get:function(){return this.ct}},{key:"hn",get:function(){return this.ft}},{key:"cn",get:function(){return this.ot}},{key:"fn",get:function(){return this.ut}},{key:"vn",get:function(){return this.vt}},{key:"dn",get:function(){return this.dt}},{key:"_n",get:function(){return this._t}},{key:"wn",get:function(){return this.bt}},{key:"yn",get:function(){return this.wt}},{key:"pn",get:function(){return this.yt}},{key:"An",get:function(){return this.At}},{key:"Tn",get:function(){return this.Tt}},{key:"Sn",get:function(){return this.St}},{key:"En",get:function(){return this.Et}},{key:"In",get:function(){return this.It}},{key:"Rn",get:function(){return this.Rt}},{key:"Nn",get:function(){return this.Nt}},{key:"Dn",get:function(){return this.Dt}},{key:"Cn",get:function(){return this.Ct}},{key:"Pn",get:function(){return this.Pt}},{key:"On",get:function(){return this.Ot}},{key:"Bn",get:function(){return this.Bt}},{key:"Ln",get:function(){return this.Lt}},{key:"Mn",get:function(){return this.Mt}},{key:"xn",get:function(){return this.xt}},{key:"Un",get:function(){return!(!this.Sn&&!this.An)&&this.wn<=56}},{key:"Fn",get:function(){return this.Ut}},{key:"Hn",get:function(){return this.Ft}},{key:"Vn",get:function(){return this.Ht}},{key:"Xn",get:function(){return this.Vt}},{key:"zn",get:function(){return this.Xt}},{key:"qn",get:function(){return this.zt}},{key:"Wn",get:function(){return this.kt}}]),i}();D.Gn=new D;var C=D.Gn;var P=function(){},F=!(C.In&&!C.Rn),B=t.console;function M(t){if(function(t){return"object"==typeof t&&null!==t}(t))try{return JSON.stringify(t)}catch(t){}return t}function x(t){return t.map(M).join(" ")}function L(t){var n=B&&B[t];return n?n.bind&&F?n.bind(B):function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];B[t](x(i))}:void 0}var W,U=L("log")||P,V=L("warn")||U.bind(void 0,"WARNING:"),H=L("error")||U.bind(void 0,"ERROR:"),G=(W=B&&B.assert)?W.bind&&F?W.bind(B):function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];B.assert(t,x(i))}:function(t){if(!t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];H.apply(void 0,["Assertion failed:"].concat(i))}},j=null;try{j=new WebAssembly.Instance(new WebAssembly.Module(new w([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(t){}function z(t,n,i){this.low=0|t,this.high=0|n,this.unsigned=!!i}function K(t){return!0===(t&&t.Qn)}function q(t){var n=v.clz32(t&-t);return t?31-n:n}z.prototype.Qn,a.defineProperty(z.prototype,"Qn",{value:!0}),z.isLong=K;var X={},Y={};function $(t,n){var i,r,e;return n?(e=0<=(t>>>=0)&&t<256)&&(r=Y[t])?r:(i=J(t,0,!0),e&&(Y[t]=i),i):(e=-128<=(t|=0)&&t<128)&&(r=X[t])?r:(i=J(t,t<0?-1:0,!1),e&&(X[t]=i),i)}function Z(t,n){if(d(t))return n?ft:ot;if(n){if(t<0)return ft;if(t>=rt)return vt}else{if(t<=-et)return lt;if(t+1>=et)return at}return t<0?Z(-t,n).neg():J(t%it|0,t/it|0,n)}function J(t,n,i){return new z(t,n,i)}z.fromInt=$,z.fromNumber=Z,z.fromBits=J;var Q=v.pow;function tt(t,n,i){if(0===t.length)throw c("empty string");if("number"==typeof n?(i=n,n=!1):n=!!n,"NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return n?ft:ot;if((i=i||10)<2||36<i)throw RangeError("radix");var r;if((r=t.indexOf("-"))>0)throw c("interior hyphen");if(0===r)return tt(t.substring(1),n,i).neg();for(var e=Z(Q(i,8)),u=ot,o=0;o<t.length;o+=8){var f=v.min(8,t.length-o),s=l(t.substring(o,o+f),i);if(f<8){var h=Z(Q(i,f));u=u.mul(h).add(Z(s))}else u=(u=u.mul(e)).add(Z(s))}return u.unsigned=n,u}function nt(t,n){return"number"==typeof t?Z(t,n):"string"==typeof t?tt(t,n):J(t.low,t.high,"boolean"==typeof n?n:t.unsigned)}z.fromString=tt,z.fromValue=nt;var it=4294967296,rt=it*it,et=rt/2,ut=$(1<<24),ot=$(0);z.ZERO=ot;var ft=$(0,!0);z.UZERO=ft;var st=$(1);z.ONE=st;var ct=$(1,!0);z.UONE=ct;var ht=$(-1);z.NEG_ONE=ht;var at=J(-1,2147483647,!1);z.MAX_VALUE=at;var vt=J(-1,-1,!0);z.MAX_UNSIGNED_VALUE=vt;var lt=J(0,-2147483648,!1);z.MIN_VALUE=lt;var _t=z.prototype;_t.toInt=function(){return this.unsigned?this.low>>>0:this.low},_t.toNumber=function(){return this.unsigned?(this.high>>>0)*it+(this.low>>>0):this.high*it+(this.low>>>0)},_t.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(lt)){var n=Z(t),i=this.div(n),r=i.mul(n).sub(this);return i.toString(t)+r.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var e=Z(Q(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}},_t.getHighBits=function(){return this.high},_t.getHighBitsUnsigned=function(){return this.high>>>0},_t.getLowBits=function(){return this.low},_t.getLowBitsUnsigned=function(){return this.low>>>0},_t.getNumBitsAbs=function(){if(this.isNegative())return this.eq(lt)?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},_t.isZero=function(){return 0===this.high&&0===this.low},_t.eqz=_t.isZero,_t.isNegative=function(){return!this.unsigned&&this.high<0},_t.isPositive=function(){return this.unsigned||this.high>=0},_t.isOdd=function(){return 1==(1&this.low)},_t.isEven=function(){return 0==(1&this.low)},_t.equals=function(t){return K(t)||(t=nt(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&(this.high===t.high&&this.low===t.low)},_t.eq=_t.equals,_t.notEquals=function(t){return!this.eq(t)},_t.neq=_t.notEquals,_t.ne=_t.notEquals,_t.lessThan=function(t){return this.comp(t)<0},_t.lt=_t.lessThan,_t.lessThanOrEqual=function(t){return this.comp(t)<=0},_t.lte=_t.lessThanOrEqual,_t.le=_t.lessThanOrEqual,_t.greaterThan=function(t){return this.comp(t)>0},_t.gt=_t.greaterThan,_t.greaterThanOrEqual=function(t){return this.comp(t)>=0},_t.gte=_t.greaterThanOrEqual,_t.ge=_t.greaterThanOrEqual,_t.compare=function(t){if(K(t)||(t=nt(t)),this.eq(t))return 0;var n=this.isNegative(),i=t.isNegative();return n&&!i?-1:!n&&i?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},_t.comp=_t.compare,_t.negate=function(){return!this.unsigned&&this.eq(lt)?lt:this.not().add(st)},_t.neg=_t.negate,_t.add=function(t){K(t)||(t=nt(t));var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=0,c=0,h=0,a=0;return h+=(a+=e+(65535&t.low))>>>16,c+=(h+=r+f)>>>16,s+=(c+=i+o)>>>16,s+=n+u,J((h&=65535)<<16|(a&=65535),(s&=65535)<<16|(c&=65535),this.unsigned)},_t.subtract=function(t){return K(t)||(t=nt(t)),this.add(t.neg())},_t.sub=_t.subtract,_t.multiply=function(t){if(this.isZero())return this;if(K(t)||(t=nt(t)),j)return J(j.mul(this.low,this.high,t.low,t.high),j.get_high(),this.unsigned);if(t.isZero())return this.unsigned?ft:ot;if(this.eq(lt))return t.isOdd()?lt:ot;if(t.eq(lt))return this.isOdd()?lt:ot;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(ut)&&t.lt(ut))return Z(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,r=this.low>>>16,e=65535&this.low,u=t.high>>>16,o=65535&t.high,f=t.low>>>16,s=65535&t.low,c=0,h=0,a=0,v=0;return a+=(v+=e*s)>>>16,h+=(a+=r*s)>>>16,a&=65535,h+=(a+=e*f)>>>16,c+=(h+=i*s)>>>16,h&=65535,c+=(h+=r*f)>>>16,h&=65535,c+=(h+=e*o)>>>16,c+=n*s+i*f+r*o+e*u,J((a&=65535)<<16|(v&=65535),(c&=65535)<<16|(h&=65535),this.unsigned)},_t.mul=_t.multiply,_t.divide=function(t){if(K(t)||(t=nt(t)),t.isZero())throw c("division by zero");var n,i,r;if(j)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?J((this.unsigned?j.div_u:j.div_s)(this.low,this.high,t.low,t.high),j.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?ft:ot;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return ft;if(t.gt(this.shru(1)))return ct;r=ft}else{if(this.eq(lt))return t.eq(st)||t.eq(ht)?lt:t.eq(lt)?st:(n=this.shr(1).div(t).shl(1)).eq(ot)?t.isNegative()?st:ht:(i=this.sub(t.mul(n)),r=n.add(i.div(t)));if(t.eq(lt))return this.unsigned?ft:ot;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();r=ot}for(i=this;i.gte(t);){n=v.max(1,v.floor(i.toNumber()/t.toNumber()));for(var e=v.ceil(v.log(n)/v.LN2),u=e<=48?1:Q(2,e-48),o=Z(n),f=o.mul(t);f.isNegative()||f.gt(i);)f=(o=Z(n-=u,this.unsigned)).mul(t);o.isZero()&&(o=st),r=r.add(o),i=i.sub(f)}return r},_t.div=_t.divide,_t.modulo=function(t){return K(t)||(t=nt(t)),j?J((this.unsigned?j.rem_u:j.rem_s)(this.low,this.high,t.low,t.high),j.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},_t.mod=_t.modulo,_t.rem=_t.modulo,_t.not=function(){return J(~this.low,~this.high,this.unsigned)},_t.countLeadingZeros=function(){return this.high?v.clz32(this.high):v.clz32(this.low)+32},_t.clz=_t.countLeadingZeros,_t.countTrailingZeros=function(){return this.low?q(this.low):q(this.high)+32},_t.ctz=_t.countTrailingZeros,_t.and=function(t){return K(t)||(t=nt(t)),J(this.low&t.low,this.high&t.high,this.unsigned)},_t.or=function(t){return K(t)||(t=nt(t)),J(this.low|t.low,this.high|t.high,this.unsigned)},_t.xor=function(t){return K(t)||(t=nt(t)),J(this.low^t.low,this.high^t.high,this.unsigned)},_t.shiftLeft=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):J(0,this.low<<t-32,this.unsigned)},_t.shl=_t.shiftLeft,_t.shiftRight=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):J(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},_t.shr=_t.shiftRight,_t.shiftRightUnsigned=function(t){return K(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?J(this.low>>>t|this.high<<32-t,this.high>>>t,this.unsigned):J(32===t?this.high:this.high>>>t-32,0,this.unsigned)},_t.shru=_t.shiftRightUnsigned,_t.shr_u=_t.shiftRightUnsigned,_t.rotateLeft=function(t){var n;return K(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?J(this.high,this.low,this.unsigned):t<32?(n=32-t,J(this.low<<t|this.high>>>n,this.high<<t|this.low>>>n,this.unsigned)):(n=32-(t-=32),J(this.high<<t|this.low>>>n,this.low<<t|this.high>>>n,this.unsigned))},_t.rotl=_t.rotateLeft,_t.rotateRight=function(t){var n;return K(t)&&(t=t.toInt()),0==(t&=63)?this:32===t?J(this.high,this.low,this.unsigned):t<32?(n=32-t,J(this.high<<n|this.low>>>t,this.low<<n|this.high>>>t,this.unsigned)):(n=32-(t-=32),J(this.low<<n|this.high>>>t,this.high<<n|this.low>>>t,this.unsigned))},_t.rotr=_t.rotateRight,_t.toSigned=function(){return this.unsigned?J(this.low,this.high,!1):this},_t.toUnsigned=function(){return this.unsigned?this:J(this.low,this.high,!0)},_t.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},_t.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]},_t.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]},z.fromBytes=function(t,n,i){return i?z.fromBytesLE(t,n):z.fromBytesBE(t,n)},z.fromBytesLE=function(t,n){return new z(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,n)},z.fromBytesBE=function(t,n){return new z(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],n)};var dt=v.pow(2,-52);function wt(t,n){for(var i=t,r=n;0!==r;){var e=i%r;i=r,r=e}return i<0?-i:i}function yt(){return Date.now()||(new Date).getTime()}var gt;z.fromNumber(9007199254740991),function(t){t[t.Zn=1]="Zn",t[t.$n=2]="$n",t[t.Jn=3]="Jn",t[t.ni=4]="ni",t[t.ei=9]="ei"}(gt||(gt={}));var pt=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];c.apply(this,n)};(pt.prototype=a.create(c.prototype)).constructor=pt;var mt=function(t){function n(n,i){var r;return(r=t.call(this)||this).cause=void 0,r.message=n||"Unknown error",r.cause=i,c.captureStackTrace&&c.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r),r.constructor),r}return m(n,t),g(n,[{key:"name",get:function(){return"BaseError"}}]),n}(pt),It=function(t){function n(n){return t.call(this,"Invalid XML",n)||this}return m(n,t),n}(mt),kt=function(){function t(){}return t.prototype.ri=function(t){var n,i=new DOMParser;try{n=i.parseFromString(t,"text/xml")}catch(t){throw new It(t)}if(!n||n.getElementsByTagName("parsererror").length>0)throw new It;return new Ot(n)},t}(),St=function(){function t(t){this.oi=void 0,this.oi=t}var n=t.prototype;return n.ai=function(t){return this.oi.isEqualNode(t.oi)},n.ci=function(n){return new t(this.oi.cloneNode(n))},g(t,[{key:"Kn",get:function(){return gt.$n}},{key:"di",get:function(){var t;return null!=(t=this.oi.localName)?t:Ct(this.oi.nodeName)}},{key:"_i",get:function(){return this.oi.nodeName}},{key:"gi",get:function(){var t;return null!=(t=this.oi.namespaceURI)?t:void 0}},{key:"wi",get:function(){var t;return null!=(t=this.oi.prefix)?t:void 0}},{key:"Ai",get:function(){return this.oi.nodeValue}}]),t}(),bt=function(){function t(t){this.Ti=void 0,this.Si=void 0,this.Ti=t}var n=t.prototype;return n.Ei=function(t){return this.Ii.filter(function(n){return At(n)&&n.Ri===t})},n.Ni=function(t,n){return this.Ii.filter(function(i){return At(i)&&i.di===n&&i.gi===t})},n.Di=function(t){this.Ti.appendChild(t.Ci),this.Si&&this.Si.push(t)},n.ai=function(t){return this.Ti.isEqualNode(t.Ci)},g(t,[{key:"Ii",get:function(){return void 0===this.Si&&(this.Si=function(t){for(var n=[],i=0;i<t.length;i++){var r=Dt(t.item(i));r&&n.push(r)}return n}(this.Ti.childNodes)),this.Si}},{key:"Pi",get:function(){return this.Ii.filter(At)}},{key:"Ci",get:function(){return this.Ti}}]),t}(),Et=function(t){function n(n){return t.call(this,n)||this}m(n,t);var i=n.prototype;return i.Oi=function(t){if(this.Ti.hasAttribute(t))return this.Ti.getAttribute(t)},i.Bi=function(t,n){if(this.Ti.hasAttributeNS(t,n))return this.Ti.getAttributeNS(t,n)},i.Li=function(t){this.Ti.removeAttribute(t)},i.Mi=function(t,n){this.Ti.removeAttributeNS(t,n)},i.xi=function(t,n){this.Ti.setAttribute(t,n)},i.Ui=function(t,n,i){this.Ti.setAttributeNS(t,n,i)},i.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.Zn}},{key:"di",get:function(){var t;return null!=(t=this.Ti.localName)?t:Ct(this.Ti.nodeName)}},{key:"gi",get:function(){var t;return null!=(t=this.Ti.namespaceURI)?t:void 0}},{key:"wi",get:function(){var t;return null!=(t=this.Ti.prefix)?t:void 0}},{key:"Ri",get:function(){return this.Ti.nodeName}},{key:"Fi",get:function(){return function(t){for(var n=[],i=0;i<t.length;i++)n.push(new St(t.item(i)));return n}(this.Ti.attributes)}},{key:"Hi",get:function(){return this.Ti.textContent}}]),n}(bt),Tt=function(){function t(t){this.Ti=void 0,this.Ti=t}return t.prototype.ai=function(t){return this.Vi===t.Vi},g(t,[{key:"Vi",get:function(){return this.Ti.nodeValue}},{key:"Ci",get:function(){return this.Ti}}]),t}(),Rt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.Jn}}]),n}(Tt),Nt=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.ni}}]),n}(Tt),Ot=function(t){function n(n){return t.call(this,n)||this}return m(n,t),n.prototype.ci=function(t){return new n(this.Ti.cloneNode(t))},g(n,[{key:"Kn",get:function(){return gt.ei}},{key:"Xi",get:function(){return new Et(this.Ti.documentElement)}}]),n}(bt);function At(t){return function(t){return t.Kn===gt.Zn}(t)}function Dt(t){switch(t.nodeType){case gt.Zn:return new Et(t);case gt.Jn:return new Rt(t);case gt.ni:return new Nt(t)}}function Ct(t){var n=t.indexOf(":");return n<0?t:t.substr(n+1)}function Pt(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),a.defineProperty(t,r.key,r)}}function Ft(t,n){var i=function(t,n){var i=t.length;if(i<=1)return t;for(var r=new Array(i),e=1;e<i;e*=2){Bt(t,n,e,r);var u=t;t=r,r=u}return t}(t,n);return i!==t&&Bt(i,null,t.length,t),t}function Bt(t,n,i,r){var e,u,o,f,s,c=t.length,h=0,a=2*i;for(e=0;e<c;e+=a)for(o=(u=e+i)+i,u>c&&(u=c),o>c&&(o=c),f=e,s=u;;)if(f<u&&s<o)n(t[f],t[s])<=0?r[h++]=t[f++]:r[h++]=t[s++];else if(f<u)r[h++]=t[f++];else{if(!(s<o))break;r[h++]=t[s++]}}var Mt=/[a-zA-Z]/,xt=/[0-9]/,Lt=/[0-9a-fA-F]/,Wt=/^0x/i,Ut=/^[0-9]+$/,Vt=/^[0-9a-fA-F]+$/,Ht=/^[0-7]+$/,Gt=a.prototype.toString,jt=Array.isArray||function(t){return"[object Array]"===Gt.call(t)},zt="undefined"!=typeof Symbol&&"symbol"==typeof Symbol.iterator;function Kt(t){return jt(t)?t:Array.from(t)}function qt(t){return t>=65&&t<=90}function Xt(t){return qt(t)||function(t){return t>=97&&t<=122}(t)}function Yt(t){return t>=48&&t<=57}function $t(t){return Yt(t)||Xt(t)}function Zt(t){return Yt(t)||t>=65&&t<=70||t>=97&&t<=102}function Jt(t){return qt(t)?t+32:t}function Qt(t){return Yt(t)?t-48:t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:-1}function tn(t,n){return void 0===n&&(n=!1),0<=t&&t<=9?t+48:10<=t&&t<=15?t+(n?87:55):-1}var nn=v.min,rn=String.fromCharCode,en=16384;function un(t){for(var n=t.length,i=[],r=0;r<n;r+=en){var e=nn(r+en,n);i.push(rn.apply(null,t.slice(r,e)))}return i.join("")}var on=/[^\0-\x7E]/,fn=/[\x2E\u3002\uFF0E\uFF61]/g,sn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cn=v.floor,hn=String.fromCharCode;function an(t){throw new RangeError(sn[t])}function vn(t){for(var n=[],i=0,r=t.length;i<r;){var e=t.charCodeAt(i++);if(e>=55296&&e<=56319&&i<r){var u=t.charCodeAt(i++);56320==(64512&u)?n.push(((1023&e)<<10)+(1023&u)+65536):(n.push(e),i--)}else n.push(e)}return n}var ln,_n,dn,wn=function(t,n){return t+22+75*(t<26)-((0!=n)<<5)},yn=function(t,n,i){var r=0;for(t=i?cn(t/700):t>>1,t+=cn(t/n);t>455;r+=36)t=cn(t/35);return cn(r+36*t/(t+38))},gn=function(t){return function(t,n){var i=t.split("@"),r="";i.length>1&&(r=i[0]+"@",t=i[1]);var e=function(t,n){for(var i=[],r=t.length;r--;)i[r]=n(t[r]);return i}((t=t.replace(fn,".")).split("."),n).join(".");return r+e}(t,function(t){return on.test(t)?"xn--"+function(t){for(var n=[],i=(t=vn(t)).length,r=128,e=0,u=72,o=0,f=t;o<f.length;o++){var s=f[o];s<128&&n.push(hn(s))}var c=n.length,h=c;for(c&&n.push("-");h<i;){for(var a=2147483647,v=0,l=t;v<l.length;v++){var _=l[v];_>=r&&_<a&&(a=_)}var d=h+1;a-r>cn((2147483647-e)/d)&&an("overflow"),e+=(a-r)*d,r=a;for(var w=0,y=t;w<y.length;w++){var g=y[w];if(g<r&&++e>2147483647&&an("overflow"),g==r){for(var p=e,m=36;;m+=36){var I=m<=u?1:m>=u+26?26:m-u;if(p<I)break;var k=p-I,S=36-I;n.push(hn(wn(I+k%S,0))),p=cn(k/S)}n.push(hn(wn(p,0))),u=yn(e,d,h==c),e=0,++h}}++e,++r}return n.join("")}(t):t})};function pn(t){for(var n=[],i=0;i<t.length;i++){var r=t[i];r>65535&&(r-=65536,n.push(r>>>10&1023|55296),r=56320|1023&r),n.push(r)}return un(n)}function mn(t){if(t>=55296&&t<=57343)throw new c("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value")}function In(t,n){return t>>n&63|128}function kn(t,n){0!=(4294967168&t)?(0==(4294965248&t)?n.push(t>>6&31|192):0==(4294901760&t)?(mn(t),n.push(t>>12&15|224),n.push(In(t,6))):0==(4292870144&t)&&(n.push(t>>18&7|240),n.push(In(t,12)),n.push(In(t,6))),n.push(63&t|128)):n.push(t)}function Sn(t){for(var n=[],i=0;i<t.length;i++){kn(t[i],n)}return n}function bn(){if(dn>=_n)throw new c("Invalid byte index");var t=255&ln[dn];if(dn++,128==(192&t))return 63&t;throw new c("Invalid continuation byte")}function En(){var t,n;if(dn>_n)throw new c("Invalid byte index");if(dn===_n)return!1;if(t=255&ln[dn],dn++,0==(128&t))return t;if(192==(224&t)){if((n=(31&t)<<6|bn())>=128)return n;throw new c("Invalid continuation byte")}if(224==(240&t)){if((n=(15&t)<<12|bn()<<6|bn())>=2048)return mn(n),n;throw new c("Invalid continuation byte")}if(240==(248&t)&&(n=(7&t)<<18|bn()<<12|bn()<<6|bn())>=65536&&n<=1114111)return n;throw new c("Invalid UTF-8 detected")}function Tn(t){return[37,tn(t>>4),tn(15&t)]}function Rn(t){return function(t){return t>=0&&t<=31}(t)||t>126}function Nn(t){return Rn(t)||32===t||34===t||60===t||62===t||96===t}function On(t){return Nn(t)||35===t||63===t||123===t||125===t}function An(t){return On(t)||47===t||58===t||59===t||61===t||64===t||t>=91&&t<=94||124===t}function Dn(t){return t<33||t>126||34===t||35===t||60===t||62===t}function Cn(t){return Dn(t)||39===t}function Pn(t,n){if(!n(t))return[t];for(var i=Sn([t]),r=[],e=0;e<i.length;e++){var u=i[e];r.push.apply(r,Tn(u))}return r}function Fn(t,n){for(var i=[],r=0,e=vn(t);r<e.length;r++){var u=e[r];i.push.apply(i,Pn(u,n))}return pn(i)}function Bn(t){return function(t){for(var n=[],i=t.length,r=0;r<i;r++){var e=t[r];if(37===e&&r+2<i&&Zt(t[r+1])&&Zt(t[r+2])){var u=Qt(t[r+1])<<4|Qt(t[r+2]);n.push(u),r+=2}else n.push(e)}return n}(Sn(t))}function Mn(t){return pn(function(t){ln=t.slice(),_n=ln.length,dn=0;for(var n,i=[];!1!==(n=En());)i.push(n);return i}(Bn(vn(t))))}function xn(t){var n,i,r,e,u=t.length,o=[0,0,0,0,0,0,0,0],f=0,s=null,c=0;if(c<u&&":"===t[c]){if(!(c+1<u&&":"===t[c+1]))throw new h;c+=2,s=f+=1}for(;c<u;){if(8===f)throw new h("Too many groups");if(":"!==t[c]){for(var a=0,v=0;v<4&&c<u&&Lt.test(t[c]);)a=a<<4|l(t[c],16),c+=1,v+=1;if("."===t[c]){if(0===v)throw new h;if(c-=v,f>6)throw new h;for(var _=0;c<u;){var d=null;if(_>0){if(!("."===t[c]&&_<4))throw new h;c+=1}if(!xt.test(t[c]))throw new h;for(;c<u&&xt.test(t[c]);){var w=l(t[c],10);if(null===d)d=w;else{if(0===d)throw new h;if((d=10*d+w)>255)throw new h}c+=1}o[f]=o[f]<<8|d,2!==(_+=1)&&4!==_||(f+=1)}if(4!==_)throw new h;break}if(":"===t[c]){if((c+=1)===u)throw new h}else if(c<u)throw new h;o[f]=a,f+=1}else{if(null!==s)throw new h("Too many :: groups");c+=1,s=f+=1}}if(null!==s){var y=f-s;for(f=7;0!==f&&y>0;)r=s+y-1,e=void 0,e=(n=o)[i=f],n[i]=n[r],n[r]=e,f-=1,y-=1}else if(8!==f)throw new h;return o}function Ln(t){var n=10,i=Ut;return Wt.test(t)?(t=t.slice(2),n=16,i=Vt):t.length>=2&&"0"===t[0]&&(t=t.slice(1),n=8,i=Ht),""===t?0:i.test(t)?l(t,n):void 0}var Wn={zi:4},Un=/[\0\t\n\r #%/:?@\[\\\]]/,Vn=/[\0\t\n\r #/:?@\[\\\]]/;function Hn(t,n){if("["===t[0]){if("]"!==t[t.length-1])throw new h("Invalid IPv6 address");return{zi:2,qi:xn(t.slice(1,-1))}}if(!n)return function(t){if(Vn.test(t))throw new h("Invalid code point in opaque host");var n=Fn(t,Rn);return""===n?Wn:{zi:3,Wi:n}}(t);var i=function(t){return function(t){return gn(t.toLowerCase())}(t)}(Mn(t));if(Un.test(i))throw new h("Invalid code point in host");var r=function(t){var n=t.split(".");if(""===n[n.length-1]&&n.pop(),!(n.length>4)){for(var i=[],r=0;r<n.length;r++){var e=n[r];if(""===e)return;var u=Ln(e);if(void 0===u)return;i.push(u)}for(var o=0;o<i.length-1;o++)if(i[o]>255)throw new h;if(i[i.length-1]>=v.pow(256,5-i.length))throw new h;for(var f=i.pop(),s=0;s<i.length;s++)f+=i[s]*v.pow(256,3-s);return f}}(i);return void 0!==r?{zi:1,qi:r}:""===i?Wn:{zi:0,Gi:i}}function Gn(t){switch(t.zi){case 0:return t.Gi;case 1:return function(t){for(var n=[],i=t,r=1;r<=4;r++)n.push(""+(255&i)),4!==r&&n.push("."),i>>>=8;return n.reverse().join("")}(t.qi);case 2:return"["+function(t){for(var n="",i=function(t){for(var n=0,i=0,r=0,e=0,u=0;u<8;u++)0===t[u]?(0===e&&(r=u),e++):(e>i&&(n=r,i=e),e=0);return e>i&&(n=r,i=e),i>1?n:null}(t),r=!1,e=0;e<8;e++){if(r){if(0===t[e])continue;r=!1}i!==e?(n+=t[e].toString(16),7!==e&&(n+=":")):(n+=0===e?"::":":",r=!0)}return n}(t.qi)+"]";case 3:return t.Wi;case 4:return""}}var jn=/\+/g;function zn(t){for(var n=t.split("&"),i=[],r=0;r<n.length;r++){var e=n[r];if(""!==e){var u=e.indexOf("="),o=void 0,f=void 0;-1!==u?(o=e.slice(0,u),f=e.slice(u+1)):(o=e,f=""),o=o.replace(jn," "),f=f.replace(jn," ");var s=Mn(o),c=Mn(f);i.push([s,c])}}return i}function Kn(t){for(var n="",i=0;i<t.length;i++){var r=t[i];i>0&&(n+="&"),n+=qn(Sn(vn(r[0])))+"="+qn(Sn(vn(r[1])))}return n}function qn(t){for(var n,i=[],r=0;r<t.length;r++){var e=t[r];32===e?i.push(43):42===(n=e)||45===n||46===n||95===n||$t(n)?i.push(e):i.push.apply(i,Tn(e))}return un(i)}var Xn=/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/;function Yn(t){var n=""+t,i=Xn.exec(n);return i?function(t,n){for(var i=t.length,r=[],e=n;e<i;e++){var u=t.charCodeAt(e);if(Zn(u))if(Jn(u)||e===i-1)r.push($n);else{var o=t.charCodeAt(e+1);Jn(o)?(r.push(u,o),e++):r.push($n)}else r.push(u)}return t.slice(0,n)+un(r)}(n,i.index):n}var $n=65533,Zn=function(t){return 55296==(63488&t)},Jn=function(t){return 0!=(1024&t)};function Qn(t,n){var i=t[0],r=n[0];return i===r?0:i<r?-1:1}function ti(t){t.Yi.length=0}function ni(t,n){!function(t,n){for(var i=0;i<n.length;i++)t[i]=n[i];t.length=n.length}(t.Yi,zn(n))}function ii(t){if(t.ji){var n=Kn(t.Yi);""===n&&(n=null),t.ji.ji.Qi=n}}function ri(t){return t instanceof ei&&(!!jt(t.Yi)&&(!zt||t[Symbol.iterator]===ui))}var ei=function(){function t(t){if(void 0===t&&(t=void 0),this.ji=null,null==t)this.Yi=[];else if("object"==typeof t||"function"==typeof t)if(ri(t))this.Yi=t.Yi.slice();else if(null!=(u=t)&&(jt(u)||zt&&"function"==typeof u[Symbol.iterator])){this.Yi=[];for(var n=0,i=Kt(t);n<i.length;n++){var r=Kt(i[n]);if(2!==r.length)throw new h("Invalid name-value pair");this.Yi.push([Yn(r[0]),Yn(r[1])])}}else for(var e in this.Yi=[],t)a.prototype.hasOwnProperty.call(t,e)&&this.Yi.push([Yn(e),Yn(t[e])]);else(t=Yn(t)).length>0&&"?"===t[0]&&(t=t.slice(1)),this.Yi=zn(t);var u}var n=t.prototype;return n.append=function(t,n){t=Yn(t),n=Yn(n),this.Yi.push([t,n]),ii(this)},n.delete=function(t){t=Yn(t);for(var n=this.Yi,i=0;i<n.length;){n[i][0]===t?n.splice(i,1):i++}ii(this)},n.get=function(t){t=Yn(t);for(var n=this.Yi,i=0;i<n.length;i++){var r=n[i];if(r[0]===t)return r[1]}return null},n.getAll=function(t){t=Yn(t);for(var n=this.Yi,i=[],r=0;r<n.length;r++){var e=n[r];e[0]===t&&i.push(e[1])}return i},n.has=function(t){t=Yn(t);for(var n=this.Yi,i=0;i<n.length;i++){if(n[i][0]===t)return!0}return!1},n.set=function(t,n){t=Yn(t),n=Yn(n);for(var i=this.Yi,r=!1,e=0;e<i.length;){var u=i[e];u[0]===t?r?i.splice(e,1):(u[1]=n,r=!0,e++):e++}r||i.push([t,n]),ii(this)},n.sort=function(){Ft(this.Yi,Qn),ii(this)},n.toString=function(){return Kn(this.Yi)},n.entries=function(){return new ci(this.Yi,oi)},n.keys=function(){return new ci(this.Yi,fi)},n.values=function(){return new ci(this.Yi,si)},n.forEach=function(t){var n=this;this.Yi.forEach(function(i){return t(i[1],i[0],n)})},t}(),ui=ei.prototype.entries;zt&&(ei.prototype[Symbol.iterator]=ui);var oi=function(t){return[t[0],t[1]]},fi=function(t){return t[0]},si=function(t){return t[1]},ci=function(){function t(t,n){this.Ki=0,this.Yi=t,this.Zi=n}return t.prototype.next=function(){return this.Ki<this.Yi.length?{done:!1,value:this.Zi(this.Yi[this.Ki++])}:{done:!0,value:void 0}},t}(),hi="null";var ai=a.create(null);ai.ftp=21,ai.file=0,ai.gopher=70,ai.http=80,ai.https=443,ai.ws=80,ai.wss=443;var vi=/^(?:\.|%2e)$/i,li=/^(?:\.|%2e){2}$/i;function _i(t){return vi.test(t)}function di(t){return li.test(t)}function wi(t){return void 0!==ai[t]}function yi(t){return wi(t.Ji)}function gi(t){return""!==t.$i||""!==t.re}function pi(t){var n=t.length;if(!(n>=2))return!1;if(!Ii(t.slice(0,2)))return!1;if(2!==n){var i=t[2];if(47!==i&&92!==i&&63!==i&&35!==i)return!1}return!0}function mi(t){return 2===t.length&&Mt.test(t[0])&&(":"===t[1]||"|"===t[1])}function Ii(t){return 2===t.length&&mi(un(t))}function ki(t){return mi(t)&&":"===t[1]}function Si(t){var n=t.ue;0!==n.length&&("file"===t.Ji&&1===n.length&&ki(n[0])||n.pop())}function bi(t){return null===t.oe||Wn===t.oe||t.fe||"file"===t.Ji}var Ei=-1,Ti=/\t|\n|\r/g,Ri=/^[\x00-\x1f ]+|[\x00-\x1f ]+$/g;function Ni(t,n,i,r){void 0===i&&(i=null),void 0===r&&(r=null),i||(i=new Ai,t=t.replace(Ri,""));var e=null!==r?r:0;n=n||null;for(var u=[],o=!1,f=!1,s=!1,c=vn(t=t.replace(Ti,"")),a=c.length,v=0;v<=a;){var _=v<a?c[v]:Ei;switch(e){case 0:if(!Xt(_)){if(null===r){u.length=0,e=2;continue}throw new h("Invalid scheme")}u.push(Jt(_)),e=1;break;case 1:if($t(_)||43===_||45===_||46===_)u.push(Jt(_));else{if(58!==_){if(null===r){u.length=0,e=2,v=0;continue}throw new h("Invalid scheme")}var d=pn(u);if(null!==r){if(wi(i.Ji)&&!wi(d))return;if(!wi(i.Ji)&&wi(d))return;if((gi(i)||null!==i._e)&&"file"===d)return;if("file"===i.Ji&&(i.oe===Wn||null===i.oe))return}if(i.Ji=d,null!==r)return void(yi(i)&&i._e===ai[i.Ji]&&(i._e=null));u.length=0,"file"===i.Ji?e=13:yi(i)&&n&&n.Ji===i.Ji?e=3:yi(i)?e=7:47===c[v+1]?(e=4,v+=1):(i.fe=!0,i.ue.push(""),e=18)}break;case 2:if(!n||n.fe&&35!==_)throw new h("Invalid scheme");n.fe&&35===_?(i.Ji=n.Ji,i.ue=n.ue.slice(),i.Qi=n.Qi,i.we="",i.fe=!0,e=20):"file"!==n.Ji?(e=5,v-=1):(e=13,v-=1);break;case 3:47===_&&47===c[v+1]?e=8:(e=5,v-=1);break;case 4:47===_?e=9:(e=17,v-=1);break;case 5:i.Ji=n.Ji,Ei===_?(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.Qi=n.Qi):47===_?e=6:63===_?(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.Qi="",e=19):35===_?(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.Qi=n.Qi,i.we="",e=20):92===_&&yi(i)?e=6:(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,i.ue=n.ue.slice(),i.ue.pop(),e=17,v-=1);break;case 6:!yi(i)||47!==_&&92!==_?47===_?e=9:(i.$i=n.$i,i.re=n.re,i.oe=n.oe,i._e=n._e,e=17,v-=1):e=8;break;case 7:if(47!==_||47!==c[v+1]){e=8;continue}e=8,v+=1;break;case 8:47!==_&&92!==_&&(e=9,v-=1);break;case 9:if(64===_){o&&u.unshift(37,52,48),o=!0;for(var w=0;w<u.length;w++){var y=u[w];if(58!==y||s){var g=pn(Pn(y,An));s?i.re+=g:i.$i+=g}else s=!0}u.length=0}else if(Ei===_||47===_||63===_||35===_||yi(i)&&92===_){if(o&&0===u.length)throw new h("Invalid host");v-=u.length+1,u.length=0,e=10}else u.push(_);break;case 10:case 11:if(null!==r&&"file"===i.Ji)v-=1,e=15;else if(58!==_||f)if(Ei===_||47===_||63===_||35===_||yi(i)&&92===_){if(v-=1,yi(i)&&0===u.length)throw new h("Invalid host");if(null!==r&&0===u.length&&(gi(i)||null!==i._e))return;var p=Hn(pn(u),yi(i));if(i.oe=p,u.length=0,e=16,null!==r)return}else 91===_?f=!0:93===_&&(f=!1),u.push(_);else{if(0===u.length)throw new h("Invalid host");var m=Hn(pn(u),yi(i));if(i.oe=m,u.length=0,e=12,11===r)return}break;case 12:if(Yt(_))u.push(_);else{if(!(Ei===_||47===_||63===_||35===_||yi(i)&&92===_||null!==r))throw new h("Invalid port");if(0!==u.length){var I=l(pn(u),10);if(I>65535)throw new h("Invalid port");i._e=I===ai[i.Ji]?null:I,u.length=0}if(null!==r)return;e=16,v-=1}break;case 13:i.Ji="file",47===_||92===_?e=14:n&&"file"===n.Ji?Ei===_?(i.oe=n.oe,i.ue=n.ue.slice(),i.Qi=n.Qi):63===_?(i.oe=n.oe,i.ue=n.ue.slice(),i.Qi="",e=19):35===_?(i.oe=n.oe,i.ue=n.ue.slice(),i.Qi=n.Qi,i.we="",e=20):(pi(c.slice(v))||(i.oe=n.oe,i.ue=n.ue.slice(),Si(i)),e=17,v-=1):(e=17,v-=1);break;case 14:47===_||92===_?e=15:(n&&"file"===n.Ji&&!pi(c.slice(v))&&(ki(n.ue[0])?i.ue.push(n.ue[0]):i.oe=n.oe),e=17,v-=1);break;case 15:if(Ei===_||47===_||92===_||63===_||35===_)if(v-=1,null===r&&Ii(u))e=17;else if(0===u.length){if(i.oe=Wn,null!==r)return;e=16}else{var k=Hn(pn(u),yi(i));if(0===k.zi&&"localhost"===k.Gi&&(k=Wn),i.oe=k,null!==r)return;u.length=0,e=16}else u.push(_);break;case 16:yi(i)?(e=17,47!==_&&92!==_&&(v-=1)):null===r&&63===_?(i.Qi="",e=19):null===r&&35===_?(i.we="",e=20):Ei!==_&&(e=17,47!==_&&(v-=1));break;case 17:if(Ei===_||47===_||yi(i)&&92===_||null===r&&(63===_||35===_)){var S=pn(u);if(di(S)?(Si(i),47===_||yi(i)&&92===_||i.ue.push("")):!_i(S)||47===_||yi(i)&&92===_?_i(S)||("file"===i.Ji&&0===i.ue.length&&Ii(u)&&(Wn!==i.oe&&null!==i.oe&&(i.oe=Wn),u[1]=58,S=pn(u)),i.ue.push(S)):i.ue.push(""),u.length=0,"file"===i.Ji&&(Ei===_||63===_||35===_))for(;i.ue.length>1&&""===i.ue[0];)i.ue.shift();63===_?(i.Qi="",e=19):35===_&&(i.we="",e=20)}else u.push.apply(u,Pn(_,On));break;case 18:63===_?(i.Qi="",e=19):35===_?(i.we="",e=20):Ei!==_&&(i.ue[0]+=pn(Pn(_,Rn)));break;case 19:null===r&&35===_?(i.we="",e=20):Ei!==_&&(i.Qi+=pn(Pn(_,yi(i)?Cn:Dn)));break;case 20:Ei===_||0===_||(i.we+=pn(Pn(_,Nn)))}v++}return i}function Oi(t,n,i,r){try{Ni(t,n,i,r)}catch(t){}}var Ai=function(){this.Ji="",this.$i="",this.re="",this.oe=null,this._e=null,this.ue=[],this.Qi=null,this.we=null,this.fe=!1};function Di(t){switch(t.Ji){case"blob":var n;try{n=Ni(t.ue[0],null)}catch(t){return hi}return Di(n);case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return i=t.Ji,r=t.oe,e=t._e,i+"://"+Gn(r)+(null===e?"":":"+e);case"file":default:return hi}var i,r,e}function Ci(t){return null!=t&&(t instanceof Pi&&"object"==typeof t.ji)}var Pi=function(){function t(t,n){var i,r=null;if(null!=n)if(Ci(n))r=n.ji;else try{r=Ni(String(n),null)}catch(t){throw new h("Invalid base URL: "+t.message)}try{i=Ni(String(t),r)}catch(t){throw new h("Invalid URL: "+t.message)}var e=i.Qi;this.ji=i,this.Qi=function(t){var n=new ei;return null!==t&&ni(n,t),n}(e),this.Qi.ji=this}var n,i,r,e=t.prototype;return e.toString=function(){return this.href},e.toJSON=function(){return this.href},n=t,(i=[{key:"href",get:function(){return function(t,n){void 0===n&&(n=!1);var i=t.Ji+":";if(null!==t.oe?(i+="//",gi(t)&&(i+=t.$i,""!==t.re&&(i+=":"+t.re),i+="@"),i+=Gn(t.oe),null!==t._e&&(i+=":"+t._e)):null===t.oe&&"file"===t.Ji&&(i+="//"),t.fe)i+=t.ue[0];else for(var r=0,e=t.ue;r<e.length;r++)i+="/"+e[r];return null!==t.Qi&&(i+="?"+t.Qi),n||null===t.we||(i+="#"+t.we),i}(this.ji)},set:function(t){var n;try{n=Ni(String(t),null)}catch(t){throw new h("Invalid URL: "+t.message)}this.ji=n,ti(this.Qi);var i=this.ji.Qi;null!==i&&ni(this.Qi,i)}},{key:"origin",get:function(){return Di(this.ji)}},{key:"protocol",get:function(){return this.ji.Ji+":"},set:function(t){Oi(t+":",null,this.ji,0)}},{key:"username",get:function(){return this.ji.$i},set:function(t){bi(this.ji)||(this.ji.$i=Fn(t,An))}},{key:"password",get:function(){return this.ji.re},set:function(t){bi(this.ji)||(this.ji.re=Fn(t,An))}},{key:"host",get:function(){var t=this.ji,n=t.oe;if(null===n)return"";var i=t._e,r=Gn(n);return null!==i&&(r+=":"+i),r},set:function(t){this.ji.fe||Oi(t,null,this.ji,10)}},{key:"hostname",get:function(){var t=this.ji.oe;return null===t?"":Gn(t)},set:function(t){this.ji.fe||Oi(t,null,this.ji,11)}},{key:"port",get:function(){var t=this.ji._e;return null===t?"":""+t},set:function(t){bi(this.ji)||(""===t?this.ji._e=null:Oi(t,null,this.ji,12))}},{key:"pathname",get:function(){var t=this.ji.ue;return this.ji.fe?t[0]:0===t.length?"":"/"+t.join("/")},set:function(t){this.ji.fe||(this.ji.ue.length=0,Oi(t,null,this.ji,16))}},{key:"search",get:function(){var t=this.ji.Qi;return null===t||""===t?"":"?"+t},set:function(t){t=Yn(t);var n=this.ji;if(""===t)return n.Qi=null,void ti(this.Qi);"?"===t[0]&&(t=t.slice(1)),n.Qi="",Oi(t,null,n,19),ni(this.Qi,t)}},{key:"searchParams",get:function(){return this.Qi}},{key:"hash",get:function(){var t=this.ji.we;return null===t||""===t?"":"#"+t},set:function(t){""!==t?("#"===t[0]&&(t=t.slice(1)),this.ji.we="",Oi(t,null,this.ji,20)):this.ji.we=null}}])&&Pt(n.prototype,i),r&&Pt(n,r),t}();function Fi(t){return t.document&&t.document.baseURI||t.location.href||""}var Bi=u;function Mi(t){return Boolean(t&&void 0!==t.length)}function xi(){}function Li(t){if(!(this instanceof Li))throw new h("Promises must be constructed via new");if("function"!=typeof t)throw new h("not a function");this.ye=0,this.ke=!1,this.me=void 0,this.pe=[],ji(t,this)}function Wi(t,n){for(;3===t.ye;)t=t.me;0!==t.ye?(t.ke=!0,Li.Ae(function(){var i=1===t.ye?n.onFulfilled:n.onRejected;if(null!==i){var r;try{r=i(t.me)}catch(t){return void Vi(n.promise,t)}Ui(n.promise,r)}else(1===t.ye?Ui:Vi)(n.promise,t.me)})):t.pe.push(n)}function Ui(t,n){try{if(n===t)throw new h("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var i=n.then;if(n instanceof Li)return t.ye=3,t.me=n,void Hi(t);if("function"==typeof i)return void ji((r=i,e=n,function(){r.apply(e,arguments)}),t)}t.ye=1,t.me=n,Hi(t)}catch(n){Vi(t,n)}var r,e}function Vi(t,n){t.ye=2,t.me=n,Hi(t)}function Hi(t){2===t.ye&&0===t.pe.length&&Li.Ae(function(){t.ke||Li.Te(t.me)});for(var n=0,i=t.pe.length;n<i;n++)Wi(t,t.pe[n]);t.pe=null}function Gi(t,n,i){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof n?n:null,this.promise=i}function ji(t,n){var i=!1;try{t(function(t){i||(i=!0,Ui(n,t))},function(t){i||(i=!0,Vi(n,t))})}catch(t){if(i)return;i=!0,Vi(n,t)}}Li.prototype.catch=function(t){return this.then(null,t)},Li.prototype.then=function(t,n){var i=new this.constructor(xi);return Wi(this,new Gi(t,n,i)),i},Li.prototype.finally=function(t){var n=this.constructor;return this.then(function(i){return n.resolve(t()).then(function(){return i})},function(i){return n.resolve(t()).then(function(){return n.reject(i)})})},Li.all=function(t){return new Li(function(n,i){if(!Mi(t))return i(new h("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var f=o.then;if("function"==typeof f)return void f.call(o,function(n){u(t,n)},i)}r[t]=o,0==--e&&n(r)}catch(t){i(t)}}for(var o=0;o<r.length;o++)u(o,r[o])})},Li.allSettled=function(t){return new this(function(n,i){if(!t||void 0===t.length)return i(new h(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return n([]);var e=r.length;function u(t,i){if(i&&("object"==typeof i||"function"==typeof i)){var o=i.then;if("function"==typeof o)return void o.call(i,function(n){u(t,n)},function(i){r[t]={status:"rejected",reason:i},0==--e&&n(r)})}r[t]={status:"fulfilled",value:i},0==--e&&n(r)}for(var o=0;o<r.length;o++)u(o,r[o])})},Li.resolve=function(t){return t&&"object"==typeof t&&t.constructor===Li?t:new Li(function(n){n(t)})},Li.reject=function(t){return new Li(function(n,i){i(t)})},Li.race=function(t){return new Li(function(n,i){if(!Mi(t))return i(new h("Promise.race accepts an array"));for(var r=0,e=t.length;r<e;r++)Li.resolve(t[r]).then(n,i)})},Li.Ae="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){Bi(t,0)},Li.Te=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var zi=function(){var n=t.Promise;if(void 0!==n)try{if(-1!==n.toString().indexOf("[native code]"))return n}catch(t){}}(),Ki=e?e.userAgent:"",qi=Ki.match(/Firefox\/([0-9]+)/i),Xi=null!=qi,Yi=qi?Number(qi[1]):0,$i=Ki.match(/(Version)\/((\d+)\.(\d+)(?:\.(\d+))?).*Safari/),Zi=null!=$i,Ji=$i?Number($i[3]):0,Qi=function(){function t(t){this.Se=0,this.Ee=0,this.Wi=[],this.Ie=t}return t.prototype.Re=function(t){var n=this.length();this.Ne(n+1);var i=this.Ee+n&this.Ie-1;this.Wi[i]=t,this.Se=n+1},t.prototype.push=function(t){var n=this.length()+1;if(this.Ie<n)this.Re(t);else{var i=this.Ee+n-1,r=this.Ie-1;this.Wi[i&r]=t,this.Se=n}},t.prototype.shift=function(){var t=this.Ee,n=this.Wi[t];return this.Wi[t]=void 0,this.Ee=t+1&this.Ie-1,this.Se--,n},t.prototype.length=function(){return this.Se},t.prototype.Ne=function(t){this.Ie<t&&this.De(this.Ie<<1)},t.prototype.De=function(t){var n=this.Ie;this.Ie=t;var i=this.Ee+this.Se&n-1;!function(t,n,i,r){for(var e=0;e<r;++e)t[e+i]=t[e+n],t[e+n]=void 0}(this.Wi,0,n,i)},t}();var tr="unhandledrejection",nr=t.PromiseRejectionEvent,ir=t.CustomEvent;function rr(t){return new nr(tr,{reason:t,promise:zi.reject(t).catch(function(){}),cancelable:!0})}function er(t){var n=new ir(tr,{detail:{reason:t},cancelable:!0});return a.defineProperty(n,"reason",{value:t}),n}function ur(t){var n=r.createEvent("CustomEvent");return n.initCustomEvent(tr,!1,!0,{reason:t}),n}var or,fr,sr,cr,hr,ar,vr,lr=function(t){return(lr=function(){try{var t=zi.resolve(),n=new nr(tr,{reason:"error",promise:t});return tr===n.type&&"error"===n.reason}catch(t){}return!1}()?rr:function(){try{var t=new ir(tr,{detail:{reason:"error"}});return tr===t.type&&"error"===t.detail.reason}catch(t){}return!1}()?er:ur)(t)};if(zi&&!(Xi&&Yi<60||Zi&&Ji<15))fr=zi;else{fr=Li;var _r=null!==(or=function(){var n=t.queueMicrotask;if("function"==typeof n)return function(t){return n(t)};var i=zi;if(i&&"function"==typeof i.resolve){var r=i.resolve();return function(t){return r.then(t)}}}())&&void 0!==or?or:Li.Ae,dr=(sr=_r,cr=new Qi(16),hr=!1,{Ce:function(t){cr.push(t),hr||(hr=!0,sr(ar))},Pe:ar=function(){for(;cr.length()>0;)cr.shift()();hr=!1}});Li.Ae=dr.Ce,Li.Te=function(n){try{var i=lr(n);if(!t.dispatchEvent(i)||i.defaultPrevented)return}catch(t){}u(function(){throw new c("Unhandled promise rejection: ".concat(n))},0)}}function wr(){return void 0!==r?r.createElement("video"):void 0}var yr=!!("ontouchstart"in t||t.DocumentTouch&&r instanceof t.DocumentTouch)||!(!e||!e.msMaxTouchPoints),gr=(vr||(vr=wr()),vr),pr=!(!gr||!gr.webkitShowPlaybackTargetPicker),mr=function(){function t(){this.Oe=void 0,this.Be=!1,this.qt=yr,this.vn=!1,this.Le=!0}var n=t.prototype;return n.Me=function(){return 0},n.xe=function(t,n){return!0},n.Ue=function(t){return t>=1/6*2},g(t,[{key:"Fe",get:function(){return void 0===this.Oe&&(this.Oe=this.Me()),this.Oe}},{key:"He",get:function(){return!C.xn}},{key:"Ve",get:function(){}},{key:"Xe",get:function(){return i.devicePixelRatio||1}},{key:"ze",get:function(){return pr}},{key:"qe",get:function(){return!1}},{key:"We",get:function(){return!0}},{key:"Ge",get:function(){return C.Pn||C.un}},{key:"Ye",get:function(){return!0}},{key:"je",get:function(){return!0}},{key:"Qe",get:function(){return!1}},{key:"Ke",get:function(){}},{key:"Ze",get:function(){return!0}},{key:"Je",get:function(){return!1}},{key:"$e",get:function(){return!1}}]),t}(),Ir=function(){var t=wr();if(!t)return!1;var n=t.muted;return t.muted=!n,t.muted!==n}();!function(){if(C.$t)return!1;var t=wr();if(!t)return!1;var n=t.volume;t.volume=n/2+.1,t.volume}();var kr=function(t){function n(n){var i;return(i=t.call(this)||this).ir=void 0,i.ir=n,i.ir&&(i.Be=i.ir.Be,i.qt=i.ir.qt,i.Le=Ir&&i.ir.Le),i}m(n,t);var i=n.prototype;return i.Me=function(){return this.ir?this.ir.Fe:t.prototype.Me.call(this)},i.xe=function(n,i){return this.ir?this.ir.xe(n,i):t.prototype.xe.call(this,n,i)},i.Ue=function(n){return this.ir?this.ir.Ue(n):t.prototype.Ue.call(this,n)},g(n,[{key:"Ke",get:function(){var t;return null==(t=this.ir)?void 0:t.Ke}},{key:"Ze",get:function(){var t,n;return null==(t=null==(n=this.ir)?void 0:n.Ze)||t}}]),n}(mr),Sr=function(t){function n(n){var i;return(i=t.call(this,n)||this).Be=!0,i.vn=!0,i}return m(n,t),g(n,[{key:"Qe",get:function(){return C.un}}]),n}(kr),br=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Me=function(){if(!(void 0).MediaSource)return 1},g(n,[{key:"Qe",get:function(){return!0}}]),n}(Sr),Er=function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).rr=void 0,n}return m(n,t),n.prototype.xe=function(n,i){return t.prototype.xe.call(this,n,i)},g(n,[{key:"qe",get:function(){return C.Tn<3}},{key:"We",get:function(){return C.Tn>=3}},{key:"Ve",get:function(){var t=this;return i.tizen&&!this.rr&&i.tizen.systeminfo.getPropertyValue("DISPLAY",function(n){var i=n.resolutionWidth,r=n.resolutionHeight;1===i&&1===r||(t.rr={width:i,height:r})}),this.rr}},{key:"Je",get:function(){return C.Tn<3}},{key:"$e",get:function(){return!0}}]),n}(kr),Tr=function(t){function n(){return t.call(this)||this}return m(n,t),n}(mr),Rr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.xe=function(t,n){if(t&&t.dr&&n&&n.dr){var i=Nr(t.dr,"mp4a.40.2")&&Nr(n.dr,"mp4a.40.5"),r=Nr(t.dr,"mp4a.40.5")&&Nr(n.dr,"mp4a.40.2"),e=Nr(t.dr,"mp4a.40.2")&&Nr(n.dr,"mp4a.40.34"),u=Nr(t.dr,"mp4a.40.34")&&Nr(n.dr,"mp4a.40.2"),o=Nr(t.dr,"mp4a.40.5")&&Nr(n.dr,"mp4a.40.34"),f=Nr(t.dr,"mp4a.40.34")&&Nr(n.dr,"mp4a.40.5");return!(i||r||e||u||o||f)}return!0},g(n,[{key:"Ke",get:function(){if(C.Wt)return 4096}}]),n}(Tr);function Nr(t,n){return t.indexOf(n)>-1}var Or=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),n.prototype.Ue=function(t){return t>=2},n}(Tr),Ar=function(t){function n(){var n;return(n=t.call(this)||this).Be=C.On>=11,n.Le=C.Pn&&!(C.un&&C.On<10),n}return m(n,t),n}(Tr),Dr=function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).rr=void 0,n}return m(n,t),g(n,[{key:"Ve",get:function(){var t=this;return i.webOS&&!this.rr&&i.webOS.deviceInfo(function(n){t.rr={width:n.screenWidth,height:n.screenHeight}}),this.rr}},{key:"Ye",get:function(){return!1}},{key:"$e",get:function(){return!0}}]),n}(kr),Cr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),g(n,[{key:"Ze",get:function(){return!C.Gt||(C.yn?92!==C.pn:C.wn>=100)}}]),n}(Tr),Pr=function(t){function n(){return t.apply(this,arguments)||this}return m(n,t),g(n,[{key:"Qe",get:function(){return!0}}]),n}(kr),Fr=function(){function n(){var n;this._r=void 0,this.gr=new kt,this.wr=new Br,this.yr=(n=function(){if(C.Dn)return new Rr;if(C.En||C.In)return new Or;if(C.Pn)return new Ar;if(C._n)return new Cr;return new Tr}(),C.un?new br(n):C.vn?new Sr(n):C.An?new Er(n):C.Sn?new Dr(n):C.Wt?new Pr(n):new kr(n)),this.pr=function(){if(t.URL)try{var n=new t.URL("b","http://a");return n.pathname="c d","http://a/c%20d"===n.href}catch(t){}return!1}(),t.performance&&t.performance.now?this._r=function(){return t.performance.now()}:this._r=yt}var i=n.prototype;return i.Ar=function(){U.apply(void 0,arguments)},i.Tr=function(){V.apply(void 0,arguments)},i.Sr=function(){H.apply(void 0,arguments)},i.Er=function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];G.apply(void 0,[t].concat(i))},i.jn=function(t,n){return u(t,n)},i.Ir=function(t,n){return f(t,n)},i.Yn=function(t){o(t)},i.Rr=function(t){s(t)},i.ri=function(t){return this.gr.ri(t)},i.Nr=function(){return this.Dr.Nr()},i.Cr=function(){return this.Dr.Cr()},i.Pr=function(){return this.Dr.Pr()},i.Or=function(){return this.Dr.Or()},i.Br=function(){return this.Dr.Br()},i.Lr=function(t,n){return this.Dr.Lr(t,n)},i.Mr=function(t){return this.Dr.Mr(t)},i.xr=function(t,n){var i;return void 0===n&&(n=Fi(void 0)),i="object"!=typeof n||n instanceof Pi?n:n.href,new Pi(t,i)},i.Ur=function(n,i){if(void 0===i&&(i=Fi(void 0)),this.pr){var r="string"==typeof i?i:i.toString();return new t.URL(n,r).href}return this.xr(n,i).href},g(n,[{key:"Fr",get:function(){return this.wr}},{key:"Hr",get:function(){return this.yr}},{key:"Vr",get:function(){return{Xr:e&&e.userAgent.match(/Android /i)?"Android":"other",zr:Boolean(e&&e.userAgent.match(/Android 8.0.0/i))}}},{key:"qr",get:function(){return t&&t.location&&"https:"===t.location.protocol}},{key:"Wr",get:function(){return"languages"in e?e.languages.slice():[e.language]}}]),n}(),Br=function(){function t(){}return g(t,[{key:"Gr",get:function(){return e.oscpu}},{key:"Hr",get:function(){return e.platform}},{key:"Yr",get:function(){return e.vendor}},{key:"jr",get:function(){return e.vendorSub}}]),t}();var Mr={exports:{}};!function(t){var n,i=a.prototype,r=i.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},u=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",f=e.toStringTag||"@@toStringTag";function s(t,n,i,r){var e=n&&n.prototype instanceof p?n:p,u=a.create(e.prototype),o=new D(r||[]);return u.Qr=function(t,n,i){var r=l;return function(e,u){if(r===w)throw new c("Generator is already running");if(r===y){if("throw"===e)throw u;return P()}for(i.method=e,i.arg=u;;){var o=i.delegate;if(o){var f=N(o,i);if(f){if(f===g)continue;return f}}if("next"===i.method)i.sent=i.Kr=i.arg;else if("throw"===i.method){if(r===l)throw r=y,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=w;var s=v(t,n,i);if("normal"===s.type){if(r=i.done?y:_,s.arg===g)continue;return{value:s.arg,done:i.done}}"throw"===s.type&&(r=y,i.method="throw",i.arg=s.arg)}}}(t,i,o),u}function v(t,n,i){try{return{type:"normal",arg:t.call(n,i)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",_="suspendedYield",w="executing",y="completed",g={};function p(){}function m(){}function I(){}var k={};k[u]=function(){return this};var S=a.getPrototypeOf,b=S&&S(S(C([])));b&&b!==i&&r.call(b,u)&&(k=b);var E=I.prototype=p.prototype=a.create(k);function T(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this.Qr(n,t)}})}function R(t){var n;this.Qr=function(i,e){function u(){return new fr(function(n,u){!function n(i,e,u,o){var f=v(t[i],t,e);if("throw"!==f.type){var s=f.arg,c=s.value;return c&&"object"==typeof c&&r.call(c,"Zr")?fr.resolve(c.Zr).then(function(t){n("next",t,u,o)},function(t){n("throw",t,u,o)}):fr.resolve(c).then(function(t){s.value=t,u(s)},function(t){return n("throw",t,u,o)})}o(f.arg)}(i,e,n,u)})}return n=n?n.then(u,u):u()}}function N(t,i){var r=t.iterator[i.method];if(r===n){if(i.delegate=null,"throw"===i.method){if(t.iterator.return&&(i.method="return",i.arg=n,N(t,i),"throw"===i.method))return g;i.method="throw",i.arg=new h("The iterator does not provide a 'throw' method")}return g}var e=v(r,t.iterator,i.arg);if("throw"===e.type)return i.method="throw",i.arg=e.arg,i.delegate=null,g;var u=e.arg;return u?u.done?(i[t.resultName]=u.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=n),i.delegate=null,g):u:(i.method="throw",i.arg=new h("iterator result is not an object"),i.delegate=null,g)}function O(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function A(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function C(t){if(t){var i=t[u];if(i)return i.call(t);if("function"==typeof t.next)return t;if(!d(t.length)){var e=-1,o=function i(){for(;++e<t.length;)if(r.call(t,e))return i.value=t[e],i.done=!1,i;return i.value=n,i.done=!0,i};return o.next=o}}return{next:P}}function P(){return{value:n,done:!0}}m.prototype=E.constructor=I,I.constructor=m,I[f]=m.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===m||"GeneratorFunction"===(n.displayName||n.name))},t.mark=function(t){return a.setPrototypeOf?a.setPrototypeOf(t,I):(t.__proto__=I,f in t||(t[f]="GeneratorFunction")),t.prototype=a.create(E),t},t.awrap=function(t){return{Zr:t}},T(R.prototype),R.prototype[o]=function(){return this},t.AsyncIterator=R,t.async=function(n,i,r,e){var u=new R(s(n,i,r,e));return t.isGeneratorFunction(i)?u:u.next().then(function(t){return t.done?t.value:u.next()})},T(E),E[f]="Generator",E[u]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var n=[];for(var i in t)n.push(i);return n.reverse(),function i(){for(;n.length;){var r=n.pop();if(r in t)return i.value=r,i.done=!1,i}return i.done=!0,i}},t.values=C,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this.Kr=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!t)for(var i in this)"t"===i.charAt(0)&&r.call(this,i)&&!d(+i.slice(1))&&(this[i]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var i=this;function e(r,e){return f.type="throw",f.arg=t,i.next=r,e&&(i.method="next",i.arg=n),!!e}for(var u=this.tryEntries.length-1;u>=0;--u){var o=this.tryEntries[u],f=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),h=r.call(o,"finallyLoc");if(s&&h){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!h)throw new c("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(t,n){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc<=this.prev&&r.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var u=e;break}}u&&("break"===t||"continue"===t)&&u.tryLoc<=n&&n<=u.finallyLoc&&(u=null);var o=u?u.completion:{};return o.type=t,o.arg=n,u?(this.method="next",this.next=u.finallyLoc,g):this.complete(o)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),g},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),A(i),g}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc===t){var r=i.completion;if("throw"===r.type){var e=r.arg;A(i)}return e}}throw new c("illegal catch attempt")},delegateYield:function(t,i,r){return this.delegate={iterator:C(t),resultName:i,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}(Mr.exports);var xr=Mr.exports;function Lr(){return(Lr=a.assign||function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)a.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(this,arguments)}function Wr(){var t=a.create(null);return t.__=void 0,delete t.__,t}var Ur,Vr,Hr=("undefined"!=typeof Map&&"entries"in Map.prototype?Map:void 0)||(Ur=function(){function t(t,n){this.data=void 0,this.keys=void 0,this.index=0,this.selector=void 0,this.data=t,this.selector=n,this.keys=a.keys(t)}var n=t.prototype;return n.next=function(){var t=this.index;return t<this.keys.length?(this.index++,{value:this.selector(this.data,this.keys[t]),done:!1}):{value:void 0,done:!0}},t}(),function(){function t(){this.data=Wr(),this.size=0}var n=t.prototype;return n.get=function(t){return this.data[t]},n.set=function(t,n){return this.has(t)||this.size++,this.data[t]=n,this},n.has=function(t){return t in this.data},n.delete=function(t){return!!this.has(t)&&(this.size--,delete this.data[t],!0)},n.clear=function(){this.data=Wr(),this.size=0},n.keys=function(){return new Ur(this.data,function(t,n){return n})},n.values=function(){return new Ur(this.data,function(t,n){return t[n]})},n.entries=function(){return new Ur(this.data,function(t,n){return[n,t[n]]})},n.forEach=function(t){for(var n in this.data)t(this.data[n],n)},t}());!function(t){t.us="9a04f079-9840-4286-ab92-e65be0885f95",t.hs="edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",t.fs="1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",t.vs="94ce86fb-07ff-4f43-adb8-93d2fa968ca2"}(Vr||(Vr={}));var Gr,jr=Vr.us,zr="urn:uuid:"+jr,Kr=Vr.hs,qr="urn:uuid:"+Kr,Xr=Vr.fs,Yr="urn:uuid:"+Xr,$r=Vr.vs,Zr="urn:uuid:"+$r;!function(t){t.us="playready",t.hs="widevine",t.vs="fairplay",t.fs="clearkey",t.ds="aes128"}(Gr||(Gr={}));var Jr={ls:Gr.us,_s:"com.microsoft.playready",gs:"cenc",ys:jr,As:zr,Ts:"PlayReady"},Qr={ls:Gr.hs,_s:"com.widevine.alpha",gs:"cenc",ys:Kr,As:qr,Ts:"Widevine"},te={ls:Gr.vs,_s:"com.apple.fps.1_0",gs:"skd",ys:$r,As:Zr,Ts:"FairPlay"};Gr.vs;var ne={ls:Gr.fs,_s:"org.w3.clearkey",gs:"cenc",ys:Xr,As:Yr,Ts:"ClearKey"};var ie=C._n&&C.wn>=42||C.Dn&&C.Cn>=38||C.En||C.Rn||C.Bn&&C.Ln>=29;function re(t,n){return r="audio",null!=(i=t)&&-1!==i.indexOf(r)?{initDataTypes:["cenc"],audioCapabilities:[Lr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]}:{initDataTypes:["cenc"],videoCapabilities:[Lr({contentType:t},n?{robustness:"SW_SECURE_CRYPTO"}:{})]};var i,r}var ee,ue=function(){function t(t){this.Ss=void 0,this.Es=new Hr,this.Is=void 0,this.Ss=t}var n=t.prototype;return n.Br=function(){return this.Mr(Qr)},n.Cr=function(){return this.Mr(ne)},n.Or=function(){return this.Mr(Jr)},n.Pr=function(){return this.Mr(te)},n.Mr=function(t){var n=t.As,i=this.Es.get(n);if(i)return i;var r=this.Lr(t,'video/mp4; codecs="avc1.42000a"');return this.Es.set(n,r),r},n.Lr=function(t,n){return xr.async(function(i){for(;;)switch(i.prev=i.next){case 0:return i.prev=0,i.next=3,xr.awrap(this.Ss.Rs(t._s,[re(n,!0)]));case 3:return i.abrupt("return",!0);case 6:return i.prev=6,i.t0=i.catch(0),i.prev=8,i.next=11,xr.awrap(this.Ss.Rs(t._s,[re(n,!1)]));case 11:return i.abrupt("return",!0);case 14:return i.prev=14,i.t1=i.catch(8),i.abrupt("return",!1);case 17:case"end":return i.stop()}},null,this,[[0,6],[8,14]],fr)},n.Nr=function(){return this.Is||(this.Is=this.Ns()),this.Is},n.Ns=function(){return xr.async(function(t){for(;;)switch(t.prev=t.next){case 0:if("https:"!==(void 0).protocol){t.next=2;break}case 2:if(ie){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,xr.awrap(this.Cr());case 6:if(!t.sent){t.next=8;break}return t.abrupt("return",!1);case 8:return t.abrupt("return",!0);case 9:case"end":return t.stop()}},null,this,null,fr)},t}(),oe=function(){function t(){}var n=t.prototype;return n.kf=function(){},n.Ou=function(t){},n.Du=function(t){},n.mf=function(t,n){},t}(),fe=function(){function t(){}return t.prototype.Rs=function(t,n){return fr.reject(new h("Unsupported key system configuration"))},t}();!function(t){t.hv="arraybuffer",t.fv="json",t.vv="stream",t.Jn="text"}(ee||(ee={}));var se,ce=function(){function t(n){var i=this;this.rs=void 0,this.rs={},n instanceof t?n.asList().forEach(function(t){var n=t[0],r=t[1];i.append(n,r)}):Array.isArray(n)?n.forEach(function(t){i.append(t[0],t[1])}):n&&a.getOwnPropertyNames(n).forEach(function(t){i.append(t,n[t])})}var n=t.prototype;return n.append=function(t,n){var i=t,r=n;i=he(i),r=ae(r);var e=i.toLowerCase();if(this.rs.hasOwnProperty(e)){var u=this.rs[e],o=u[1];u[1]=o?o+", "+r:r}else this.rs[e]=[i,r]},n.delete=function(t){var n=he(t).toLowerCase();delete this.rs[n]},n.get=function(t){var n=he(t).toLowerCase();return this.rs.hasOwnProperty(n)?this.rs[n][1]:null},n.has=function(t){var n=he(t).toLowerCase();return this.rs.hasOwnProperty(n)},n.set=function(t,n){var i=t,r=(i=he(i)).toLowerCase();this.rs[r]=[i,ae(n)]},n.forEach=function(t,n){for(var i in this.rs)this.rs.hasOwnProperty(i)&&t.call(n,this.rs[i][1],i,this)},n.asList=function(){var t=[];for(var n in this.rs)if(this.rs.hasOwnProperty(n)){var i=this.rs[n],r=i[0],e=i[1];t.push([r,e])}return t},n._v=function(){var t={};return this.forEach(function(n,i){t[i]=n}),t},n.wv=function(t){var n=this;t.forEach(function(t,i){n.append(i,t)})},n.yv=function(t){var n=this;t.forEach(function(t,i){n.set(i,t)})},t}();function he(t){var n=t;if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new h("Invalid character in header field name");return n}function ae(t){var n=t;return"string"!=typeof n&&(n=String(n)),n}function ve(t,n){return function(t,n){var i=t,r=i.length;if(r<=1)return i;for(var e=new Array(r),u=1;u<r;u*=2){le(i,n,u,e);var o=i;i=e,e=o}return i}(t.slice(),n)}function le(t,n,i,r){var e,u,o,f,s,c=t.length,h=0,a=2*i;for(u=0;u<c;u+=a)for(e=(o=u+i)+i,o>c&&(o=c),e>c&&(e=c),f=u,s=o;;)if(f<o&&s<e)n&&n(t[f],t[s])<=0?r[h++]=t[f++]:r[h++]=t[s++];else if(f<o)r[h++]=t[f++];else{if(!(s<e))break;r[h++]=t[s++]}}!function(t){t[t.Ds=0]="Ds",t[t.Cs=1]="Cs",t[t.Ps=-1]="Ps"}(se||(se={}));var _e=function(t,n){return function(t,n){if(t===n)return!0;var i=v.abs(t-n);return i<dt||i<v.max(v.abs(t),v.abs(n))*dt}(t,n)?se.Ds:function(t,n){return t===n?se.Ds:t<n?se.Ps:t>n?se.Cs:d(t)?d(n)?se.Ds:se.Cs:se.Ps}(t,n)};function de(t,n){var i=t.indexOf(n);return-1!==i&&(function(t,n){t.splice(n,1)}(t,i),!0)}function we(t){t.length=0}var ye,ge,pe,me,Ie=function(){function t(){this.Os=!1,this.Bs=!1,this.Ls=[],this.Ms=[]}var n=t.prototype;return n.xs=function(){if(!this.Os&&!this.Bs){this.Os=!0;for(var t=0,n=this.Ls.slice();t<n.length;t++){(0,n[t])()}this.Us()}},n.Us=function(){if(!this.Bs){this.Bs=!0;for(var t=0,n=this.Ms.slice();t<n.length;t++){(0,n[t])()}we(this.Ls),we(this.Ms)}},n.Fs=function(t){this.Bs||this.Ls.push(t)},n.Hs=function(t){this.Bs||de(this.Ls,t)},n.Vs=function(t){this.Bs||this.Ms.push(t)},n.Xs=function(t){this.Bs||de(this.Ms,t)},t}(),ke=function(){function t(){this.zs=new Ie}var n=t.prototype;return n.qs=function(){this.zs.xs()},n.Us=function(){this.zs.Us()},n.Ws=function(t){var n=this.zs;if(!n.Os)if(t.Os)n.xs();else if(!n.Bs&&!t.Bs){var i=function(){r(),n.xs()},r=function r(){t.Hs(i),t.Xs(r),n.Hs(i),n.Xs(r)};t.Fs(i),t.Vs(r),n.Fs(i),n.Vs(r)}},n.Gs=function(){var n=new t,i=new t,r=n.Ys,e=i.Ys,u=this.zs,o=function(){r.Os&&e.Bs||e.Os&&r.Bs?u.xs():r.Bs&&e.Bs&&u.Us()};r.Fs(o),e.Fs(o),r.Vs(o),e.Vs(o),n.Ws(u),i.Ws(u);return u.Vs(function(){r.Hs(o),e.Hs(o),r.Xs(o),e.Xs(o)}),[n,i]},g(t,[{key:"Ys",get:function(){return this.zs}}]),t}();!function(t){t.DELETE="DELETE",t.GET="GET",t.HEAD="HEAD",t.OPTIONS="OPTIONS",t.POST="POST",t.PUT="PUT"}(ye||(ye={})),function(t){t.ll="",t._l="manifest",t.wl="segment",t.yl="preload-hint",t.bl="content-protection"}(ge||(ge={})),function(t){t.ll="",t.Al="initialization-segment",t.Tl="fairplay-license",t.Sl="fairplay-certificate",t.El="widevine-license",t.Il="widevine-certificate",t.Rl="playready-license",t.Nl="clearkey-license",t.Dl="aes128-key"}(pe||(pe={})),function(t){t.ll="",t.Cl="audio",t.Pl="video",t.Jn="text",t.Ol="image"}(me||(me={}));var Se,be=function(t,n){this.zd=void 0,this.ul=void 0,this.Bl=void 0,this.ol=void 0,this.Ll=void 0,this.Ys=void 0,this.ls=void 0,this.Ml=void 0,this.xl=void 0,this.vl=void 0,this.Ul=void 0,this.Fl=void 0;var i,r,e,u,o,f,s,c,h,a,v,l=t.vl;n?(i=n.zd,r=n.ul,e=n.Bl,u=n.ol,o=n.Ll,f=n.Ys,s=n.ls,c=n.Ml,h=n.xl,a=n.Ul,v=n.Fl):(i=null,r={},e=ye.GET,u=ee.Jn,o=0,s=ge.ll,c=pe.ll,h=me.ll,a=!1),this.vl=l,this.zd=t.zd||i,this.ul=new ce(t.ul||r),this.Bl=t.Bl||e,this.ol=t.ol||u,this.Ll=void 0!==t.Ll?Number(t.Ll)||0:o,this.Ys=t.Ys||f||(new ke).Ys,this.ls=t.ls||s,this.Ml=t.Ml||c,this.xl=t.xl||h,this.Ul=void 0!==t.Ul?Boolean(t.Ul):a,this.Fl=t.Fl||v};!function(t){t.jl="HttpOpenError",t.Ql="HttpResponseError",t.Kl="HttpTimeoutError"}(Se||(Se={}));var Ee,Te,Re=function(t){function n(n,i){return t.call(this,n,"Error while opening "+n.vl+". Invalid URL.",i)||this}return m(n,t),g(n,[{key:"name",get:function(){return Se.jl}}]),n}(function(t){function n(n,i,r){var e;return(e=t.call(this,i,r)||this).Zl=void 0,e.Zl=n,e}return m(n,t),g(n,[{key:"cl",get:function(){return this.Zl}}]),n}(mt)),Ne=function(){function t(){}var n=t.prototype;return n.cl=function(t){return fr.reject(new Re(new be(t)))},n.Hl=function(t){},n.Jc=function(){},t}();function Oe(t){return[t>>>24&255,t>>>16&255,t>>>8&255,255&t]}function Ae(t,n){return t.push(n),t}function De(t,n,i,r){var e=i||0,u=r||n.length,o=u-e,f=t.length,s=f+o;for(t.length=s;e<u;e+=1,f+=1)t[f]=n[e];return t}function Ce(t,n){return De(t,Oe(n))}Ee=new(function(t){function n(){for(var n,i=arguments.length,r=new Array(i),e=0;e<i;e++)r[e]=arguments[e];return(n=t.call.apply(t,[this].concat(r))||this).x_=new ue(new fe),n.NE=new Ne,n.i=new oe,n}return m(n,t),g(n,[{key:"Dr",get:function(){return this.x_}},{key:"X_",get:function(){return!1}},{key:"z_",get:function(){return!1}},{key:"W_",get:function(){return!1}},{key:"q_",get:function(){return!1}},{key:"G_",get:function(){return this.i}},{key:"Y_",get:function(){return{j_:P}}},{key:"Q_",get:function(){return"default"}},{key:"K_",get:function(){return"unknown"}},{key:"Z_",get:function(){return this.NE}}]),n}(Fr)),function(t){t.dDt="h.264",t.NX="mp3",t.RX="aac-lc",t.YNt="he-aac"}(Te||(Te={}));var Pe=function(){function t(){this.$rt=0,this.tst=[],this.cE={}}var n=t.prototype;return n.nst=function(t){this.tst=this.tst.concat(t.tst),this.$rt+=t.zg},n.ist=function(t,n,i){var r=this.$rt,e=i-n;e>0&&(this.tst.push({rst:n,sst:i,ust:e,ost:r,hst:t}),this.$rt+=e)},n.Du=function(t){for(var n=0,i=this.tst;n<i.length;n++){var r=i[n];if(r.ost<=t&&t<r.ost+r.ust)return r.hst[t+r.rst-r.ost]}},n.ast=function(t,n){for(var i=n,r=0,e=this.tst;r<e.length;r++)for(var u=e[r],o=u.sst,f=u.rst;f<o;f+=1,i+=1)t[i]=u.hst[f];return i},n.cst=function(){for(var t=new w(this.$rt),n=0,i=0,r=this.tst;i<r.length;i++)for(var e=r[i],u=e.sst,o=e.rst;o<u;o+=1,n+=1)t[n]=e.hst[o];return t},n.Fu=function(n){for(var i=new t,r=0,e=this.tst;r<e.length;r++){var u=e[r];i.ist(u.hst,u.rst,u.sst)}return i.cE=n||Lr({},this.cE),i},g(t,[{key:"zg",get:function(){return this.$rt},set:function(t){var n=this.tst,i=this.$rt-t;if(!(t>=this.$rt))if(this.$rt=t,0!==t)for(var r=n.length-1;r>=0;r-=1){var e=n[r];if(i<=e.ust)return e.sst-=i,e.ust-=i,void(n.length!==r+1&&(n.length=r+1));i-=e.ust}else n.length=0}},{key:"Vi",get:function(){for(var t=new Array(this.$rt),n=0,i=0,r=this.tst;i<r.length;i++)for(var e=r[i],u=e.sst,o=e.rst;o<u;o+=1,n+=1)t[n]=e.hst[o];return t}}]),t}(),Fe=function(){function t(){}var n=t.prototype;return n.Hm=function(t){return this.Vm()*t},n.Xm=function(t){return this.zm(t)>0},n.qm=function(t){return this.zm(t)>=0},n.Wm=function(t,n){return this.Ym(t).Gm(n)},n.Dm=function(t){return 0===this.zm(t)},n.jm=function(t){return this.zm(t)<0},n.Gm=function(t){return this.zm(t)<=0},n.Qm=function(){return this.Km()?this.Zm():this},n.Jm=function(t){return this.Vk(t.Zm())},n.Ym=function(t){return this.Jm(t).Qm()},t}();function Be(t,n){return t.$m()?n.$m()?se.Ds:se.Cs:n.$m()?se.Ps:t.tp()?n.tp()&&t.Km()===n.Km()?se.Ds:t.Km()?se.Ps:se.Cs:n.Km()?se.Cs:se.Ps}var Me=function(){function t(t,n){this.np=void 0,this.ip=void 0,this.np=t,this.ip=n}t.ep=function(n,i,r){return r?new t(n.toUnsigned(),i.toUnsigned()):new t(n.toSigned(),i.toSigned())},t.rp=function(n){return n.unsigned?new t(n,z.UZERO):new t(n,n.isNegative()?z.NEG_ONE:z.ZERO)},t.sp=function(n,i){if(d(n))return i?t.op:t.hp;if(i){if(n<0)return t.op;if(n>=3.402823669209385e38)return t.ap}else{if(n<=-1.7014118346046923e38)return t.cp;if(n+1>=1.7014118346046923e38)return t.fp}return n<0?t.sp(-n,i).Zm():t.ep(z.fromNumber(n%0x10000000000000000),z.fromNumber(n/0x10000000000000000),i)};var n=t.prototype;return n.vp=function(){return this.ip.unsigned},n.dp=function(){return this.np.isZero()&&this.ip.isZero()},n.Km=function(){return this.ip.isNegative()},n.lp=function(){return this.vp()?t.ep(this.np,this.ip,!1):this},n._p=function(){return this.vp()?this:t.ep(this.np,this.ip,!0)},n.gp=function(){return this.np},n.Vm=function(){return this.Km()?-this.Zm().Vm():0x10000000000000000*this.ip.toNumber()+this.np.toUnsigned().toNumber()},n.wp=function(){return this.np.toInt()},n.Dm=function(t){return(this.vp()===t.vp()||this.ip.getHighBits()>>>31!=1||t.ip.getHighBits()>>>31!=1)&&(this.ip.toUnsigned().eq(t.ip.toUnsigned())&&this.np.toUnsigned().eq(t.np.toUnsigned()))},n.zm=function(t){if(this.Dm(t))return se.Ds;var n=this.Km(),i=t.Km();if(n&&!i)return se.Ps;if(!n&&i)return se.Cs;if(!this.vp())return this.Jm(t).Km()?se.Ps:se.Cs;var r=this._p(),e=t._p(),u=e.ip.comp(r.ip);return u>0||0===u&&e.np.gt(r.np)?se.Ps:se.Cs},n.jm=function(t){return this.zm(t)<0},n.Gm=function(t){return this.zm(t)<=0},n.yp=function(t){return this.zm(t)>0},n.kp=function(t){return this.zm(t)>=0},n.mp=function(){return new t(this.np.not(),this.ip.not())},n.pp=function(n){return new t(this.np.and(n.np),this.ip.and(n.ip))},n.bp=function(n){return new t(this.np.or(n.np),this.ip.or(n.ip))},n.Ap=function(n){var i=127&n;return 0===i?this:i<64?t.ep(this.np.shl(i),this.ip.shl(i).or(this.np.shru(64-i)),this.vp()):t.ep(z.ZERO,this.np.shl(i-64),this.vp())},n.Tp=function(n){var i=127&n;return 0===i?this:i<64?t.ep(this.np.shru(i).or(this.ip.shl(64-i)),this.ip.shr(i),this.vp()):t.ep(this.ip.shr(i-64),this.ip.isNegative()?z.NEG_ONE:z.ZERO,this.vp())},n.Sp=function(n){var i=127&n;return 0===i?this:i<64?t.ep(this.np.shru(i).or(this.ip.shl(64-i)),this.ip.shru(i),this.vp()):64===i?t.ep(this.ip,z.ZERO,this.vp()):t.ep(this.ip.shru(i-64),z.ZERO,this.vp())},n.Vk=function(n){var i=this.ip.high>>>16,r=65535&this.ip.high,e=this.ip.low>>>16,u=65535&this.ip.low,o=this.np.high>>>16,f=65535&this.np.high,s=this.np.low>>>16,c=65535&this.np.low,h=n.ip.high>>>16,a=65535&n.ip.high,v=n.ip.low>>>16,l=65535&n.ip.low,_=n.np.high>>>16,d=65535&n.np.high,w=n.np.low>>>16,y=0,g=0,p=0,m=0,I=0,k=0,S=0,b=0;S+=(b+=c+(65535&n.np.low))>>>16,b&=65535,k+=(S+=s+w)>>>16,S&=65535,I+=(k+=f+d)>>>16,k&=65535,m+=(I+=o+_)>>>16,I&=65535,p+=(m+=u+l)>>>16,m&=65535,g+=(p+=e+v)>>>16,p&=65535,y+=(g+=r+a)>>>16,g&=65535,y+=i+h,y&=65535;var E=this.vp(),T=z.fromBits(p<<16|m,y<<16|g,E),R=z.fromBits(S<<16|b,I<<16|k,E);return t.ep(R,T,E)},n.Jm=function(t){return this.Vk(t.Zm())},n.Zm=function(){return this.mp().Vk(t.Ep)},n.Ip=function(n){if(this.dp()||n.dp())return this.vp()?t.op:t.hp;if(this.Km())return n.Km()?this.Zm().Ip(n.Zm()):this.Zm().Ip(n).Zm();if(n.Km())return this.Ip(n.Zm()).Zm();if(this.ip.isZero()&&0===this.np.high&&n.ip.isZero()&&0===n.np.high)return t.rp(this.np.multiply(n.np));var i=z.fromBits(4294967295,0,!0),r=this.np.and(i),e=this.np.shru(32),u=this.ip.and(i),o=this.ip.shru(32),f=n.np.and(i),s=n.np.shru(32),c=n.ip.and(i),h=n.ip.shru(32),a=z.UZERO,v=z.UZERO,l=z.UZERO,_=z.UZERO;a=a.add(r.mul(f)),v=v.add(a.shru(32)),a=a.and(i),v=v.add(e.mul(f)),l=l.add(v.shru(32)),v=(v=v.and(i)).add(r.mul(s)),l=l.add(v.shru(32)),v=v.and(i),l=l.add(u.mul(f)),_=_.add(l.shru(32)),l=(l=l.and(i)).add(e.mul(s)),_=_.add(l.shru(32)),l=(l=l.and(i)).add(r.mul(c)),_=_.add(l.shru(32)),l=l.and(i),_=_.add(o.mul(f)).add(u.mul(s)).add(e.mul(c)).add(r.mul(h)).and(i);var d=z.fromBits(a.getLowBitsUnsigned(),v.getLowBitsUnsigned(),!0),w=z.fromBits(l.getLowBitsUnsigned(),_.getLowBitsUnsigned(),!0);return t.ep(d,w,this.vp())},n.Rp=function(n){var i,r,e=n;if(e.dp())throw new RangeError("division by zero");if(this.dp())return this.vp()?[t.op,t.op]:[t.hp,t.hp];if(this.vp()){if(e.vp()||(e=e._p()),e.yp(this))return[t.op,this];if(e.yp(this.Sp(1)))return[r=t.Np,i=this.Jm(e)];r=t.op}else{if(this.Dm(t.cp)){if(e.Dm(t.Ep)||e.Dm(t.Dp))return[t.cp,t.hp];if(e.Dm(t.cp))return[t.Ep,t.hp];var u=this.Tp(1).Cp(e).Ap(1);return u.Dm(t.hp)?r=e.Km()?t.Ep:t.Dp:(i=this.Jm(e.Ip(u)),r=u.Vk(i.Cp(e))),[r,i=this.Jm(e.Ip(r))]}if(e.Dm(t.cp))return this.vp()?[t.op,this]:[t.hp,this];if(this.Km()){if(e.Km())return this.Zm().Rp(e.Zm());var o=this.Zm().Rp(e);return r=o[0],i=o[1],[r.Zm(),i.Zm()]}if(e.Km()){var f=this.Rp(e.Zm());return r=f[0],i=f[1],[r.Zm(),i.Zm()]}r=t.hp}for(i=this;i.kp(e);){for(var s=v.max(1,v.floor(i.Vm()/e.Vm())),c=v.ceil(v.log(s)/v.LN2),h=c<=48?1:v.pow(2,c-48),a=t.sp(s),l=a.Ip(e);l.Km()||l.yp(i);)s-=h,l=(a=t.sp(s,this.vp())).Ip(e);a.dp()&&(a=t.Ep),r=r.Vk(a),i=i.Jm(l)}return[r,i]},n.Cp=function(t){return this.Rp(t)[0]},n.Pp=function(t){return this.Rp(t)[1]},n.toString=function(n){var i=n||10;if(i<2||i>36)throw new RangeError("radix");if(this.dp())return"0";if(this.Km()){if(this.Dm(t.cp)){var r=t.sp(i),e=this.Cp(r),u=e.Ip(r).Jm(this);return e.toString(i)+u.wp().toString(i)}return"-"+this.Zm().toString(i)}for(var o=t.sp(v.pow(i,6),this.vp()),f=this,s="";;){var c=f.Cp(o),h=(f.Jm(c.Ip(o)).wp()>>>0).toString(i);if((f=c).dp())return h+s;for(;h.length<6;)h="0"+h;s=String(h)+s}},t}();Me.hp=Me.rp(z.ZERO),Me.op=Me.rp(z.UZERO),Me.Ep=Me.rp(z.ONE),Me.Np=Me.rp(z.UONE),Me.Dp=Me.rp(z.NEG_ONE),Me.fp=Me.ep(z.NEG_ONE,z.MAX_VALUE,!1),Me.ap=Me.ep(z.MAX_UNSIGNED_VALUE,z.MAX_UNSIGNED_VALUE,!0),Me.cp=Me.ep(z.ZERO,z.MIN_VALUE,!1);var xe=function(){function t(t,n){void 0===n&&(n=1),this.Op=void 0,this.Bp=void 0,this.Op=t,this.Bp=n}t.Lp=function(n){return new t(v.ceil(n.Op),n.Bp)},t.Mp=function(n){return new t(v.floor(n.Op),n.Bp)},t.xp=function(t,n){return t.qm(n)?t:n},t.Up=function(t,n){return t.Gm(n)?t:n};var n=t.prototype;return n.Vk=function(n){return this.Bp>=n.Bp?new t(this.Op+n.Fp(this.Bp).Op,this.Bp):new t(this.Fp(n.Bp).Op+n.Op,n.Bp)},n.Xm=function(t){return t.jm(this)},n.qm=function(t){return t.Gm(this)},n.Ym=function(n){return this.Bp>=n.Bp?new t(v.abs(this.Op-n.Fp(this.Bp).Op),this.Bp):n.Ym(this)},n.Wm=function(t,n){return this.Ym(t).Gm(n)},n.zm=function(t){return i=t,(n=this).Bp>=i.Bp?_e(n.Op,i.Fp(n.Bp).Op):_e(n.Fp(i.Bp).Op,i.Op);var n,i},n.Dm=function(t){return 0===this.zm(t)},n.jm=function(t){return this.zm(t)<0},n.Gm=function(t){return this.zm(t)<=0},n.Fp=function(n){return new t(this.Op*(n/this.Bp),n)},n.Jm=function(n){return this.Bp>=n.Bp?new t(this.Op-n.Fp(this.Bp).Op,this.Bp):new t(this.Fp(n.Bp).Op-n.Op,n.Bp)},n.Hp=function(n){return new t(this.Op*n,this.Bp)},g(t,[{key:"tp",get:function(){return!isFinite(this.Op)}},{key:"Vp",get:function(){return this.Op/this.Bp}}]),t}();xe.Xp=new xe(1/6,1),xe.hp=new xe(0),xe.zp=new xe(1/0),xe.qp=1e6;var Le=function(t){function n(n,i){var r;return(r=t.call(this)||this).Ai=void 0,r.Bp=void 0,r.Ai=n.toSigned(),r.Bp=i>>>0,r}m(n,t),n.Wp=function(t,i){return void 0===i&&(i=1e6),n.sp(t*i,i)},n.sp=function(t,i){return d(t)?n.Gp:t===1/0?n.Yp:t===-1/0?n.jp:new n(z.fromNumber(t),i)},n.rp=function(t,i){return new n(t,i)},n.Qp=function(t){return n.Wp(t.Vp,1e6)},n.Kp=function(t){return new n(z.fromNumber(t.getTime()),1e3)},n.xp=function(t,n){return t.qm(n)?t:n},n.Up=function(t,n){return t.Gm(n)?t:n},n.Zp=function(t,i,r){return n.xp(i,n.Up(r,t))};var i=n.prototype;return i.Km=function(){return this.Ai.isNegative()},i.dp=function(){return 0!==this.Bp&&this.Ai.isZero()},i.tp=function(){return 0===this.Bp&&!this.Ai.isZero()},i.$m=function(){return 0===this.Bp&&this.Ai.isZero()},i.Vm=function(){if(0===this.Bp)return this.Ai.isZero()?NaN:this.Ai.isNegative()?-1/0:1/0;var t=this.Ai.divide(this.Bp),n=this.Ai.subtract(t.multiply(this.Bp));return t.toNumber()+n.toNumber()/this.Bp},i.gp=function(){if(0===this.Bp)throw new c("Failed to convert timestamp");return this.Ai},i.Jp=function(){return new Date(0===this.Bp?NaN:this.Fp(1e3).Ai.toNumber())},i.$p=function(){return new xe(0===this.Bp?this.Vm():this.Ai.toNumber(),this.Bp)},i.Fp=function(t,i){void 0===i&&(i=Ve.ib);var r=this.Bp;if(r===t)return this;if(0===r)return this;var e=wt(r,t);return new n(function(t,n,i){var r=t.Rp(n),e=r[0],u=r[1];if(u.dp())return e;if(i===Ve.ib)return u.Km()?e.Jm(Me.Ep):e;if(i===Ve.eb)return u.Km()?e:e.Vk(Me.Ep);var o=u.Ip(Me.sp(2));return o.Km()?o.Zm().jm(n)?e:e.Jm(Me.Ep):o.jm(n)?e:e.Vk(Me.Ep)}(Me.rp(this.Ai).Ip(Me.sp(t/e)),Me.sp(r/e),i).gp(),t)},i.zm=function(t){if(this===t)return se.Ds;if(0===this.Bp||0===t.Bp)return Be(this,t);if(this.dp())return t.dp()?se.Ds:t.Km()?se.Cs:se.Ps;if(t.dp())return this.Km()?se.Ps:se.Cs;var n=v.min(this.Bp,t.Bp),i=this.Fp(n,Ve.sb).Ai,r=t.Fp(n,Ve.sb).Ai;return i.compare(r)},i.Zm=function(){return 0===this.Bp?We(this):new n(this.Ai.negate(),this.Bp)},i.Vk=function(t){if(0===this.Bp||0===t.Bp)return Ue(this,t);if(this.dp())return t;if(t.dp())return this;var i=v.max(this.Bp,t.Bp),r=this.Fp(i,Ve.sb),e=t.Fp(i,Ve.sb);return new n(r.Ai.add(e.Ai),i)},i.Ip=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp()||!isFinite(t)){if(this.dp()||0===t)return n.Gp;var i=this.Km()?n.jp:n.Yp;return t<0?i.Zm():i}return this.dp()?this:new n(0===t?z.ZERO:this.Ai.multiply(t),this.Bp)},i.Cp=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp())return isFinite(t)?0===t?1/t<0?this.Zm():this:t<0?this.Zm():this:n.Gp;if(!isFinite(t))return new n(z.ZERO,this.Bp);if(this.dp())return 0===t?n.Gp:new n(z.ZERO,this.Bp);if(0===t){var i=this.Km()?n.jp:n.Yp;return 1/t<0?i.Zm():i}return new n(this.Ai.divide(t),this.Bp)},i.ub=function(){return[this.Ai.low,this.Ai.high,this.Bp]},n}(Fe);function We(t){return t.$m()?t:t.Km()?Le.Yp:Le.jp}function Ue(t,n){return t.$m()||n.$m()?Le.Gp:t.tp()&&n.tp()?t.Km()===n.Km()?t:Le.Gp:t.tp()?t:n}Le.hp=new Le(z.ZERO,1e6),Le.Gp=new Le(z.ZERO,0),Le.Yp=new Le(z.ONE,0),Le.jp=new Le(z.NEG_ONE,0);var Ve,He=function(t){function n(n,i){var r;return(r=t.call(this)||this).Ai=void 0,r.Bp=void 0,r.Ai=BigInt.asIntN(64,n),r.Bp=i>>>0,r}m(n,t),n.Wp=function(t,i){return void 0===i&&(i=1e6),n.sp(t*i,i)},n.sp=function(t,i){return d(t)?n.Gp:t===1/0?n.Yp:t===-1/0?n.jp:new n(BigInt(v.floor(t)),i)},n.rp=function(t,i){return new n(BigInt(t.high)<<BigInt(32)|BigInt(t.low>>>0),i)},n.Qp=function(t){return n.Wp(t.Vp,1e6)},n.Kp=function(t){return n.sp(t.getTime(),1e3)},n.xp=function(t,n){return t.qm(n)?t:n},n.Up=function(t,n){return t.Gm(n)?t:n},n.Zp=function(t,i,r){return n.xp(i,n.Up(r,t))};var i=n.prototype;return i.Km=function(){return this.Ai<BigInt(0)},i.dp=function(){return 0!==this.Bp&&this.Ai===BigInt(0)},i.tp=function(){return 0===this.Bp&&this.Ai!==BigInt(0)},i.$m=function(){return 0===this.Bp&&this.Ai===BigInt(0)},i.Vm=function(){if(0===this.Bp)return this.Ai===BigInt(0)?NaN:this.Ai<BigInt(0)?-1/0:1/0;var t=this.Ai/BigInt(this.Bp),n=this.Ai-t*BigInt(this.Bp);return Number(t)+Number(n)/this.Bp},i.gp=function(){if(0===this.Bp)throw new c("Failed to convert timestamp");return this.ob()},i.ob=function(){var t=this.Ai&BigInt(4294967295),n=this.Ai>>BigInt(32)&BigInt(4294967295);return z.fromBits(Number(t),Number(n))},i.Jp=function(){return new Date(0===this.Bp?NaN:Number(this.Fp(1e3).Ai))},i.$p=function(){return new xe(0===this.Bp?this.Vm():Number(this.Ai),this.Bp)},i.Fp=function(t,i){void 0===i&&(i=Ve.ib);var r=this.Bp;if(r===t)return this;if(0===r)return this;var e=wt(r,t);return new n(function(t,n,i){var r=t/n,e=t-r*n;if(e===BigInt(0))return r;if(i===Ve.ib)return e<BigInt(0)?r-BigInt(1):r;if(i===Ve.eb)return e<BigInt(0)?r:r+BigInt(1);var u=e*BigInt(2);return u<BigInt(0)?-u<n?r:r-BigInt(1):u<n?r:r+BigInt(1)}(this.Ai*BigInt(t/e),BigInt(r/e),i),t)},i.zm=function(t){if(this===t)return se.Ds;if(0===this.Bp||0===t.Bp)return Be(this,t);if(this.dp())return t.dp()?se.Ds:t.Km()?se.Cs:se.Ps;if(t.dp())return this.Km()?se.Ps:se.Cs;var n=v.min(this.Bp,t.Bp),i=this.Fp(n,Ve.sb).Ai,r=t.Fp(n,Ve.sb).Ai;return i>r?se.Cs:i<r?se.Ps:se.Ds},i.Zm=function(){return 0===this.Bp?Ge(this):new n(-this.Ai,this.Bp)},i.Vk=function(t){if(0===this.Bp||0===t.Bp)return je(this,t);if(this.dp())return t;if(t.dp())return this;var i=v.max(this.Bp,t.Bp),r=this.Fp(i,Ve.sb),e=t.Fp(i,Ve.sb);return new n(r.Ai+e.Ai,i)},i.Ip=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp()||!isFinite(t)){if(this.dp()||0===t)return n.Gp;var i=this.Km()?n.jp:n.Yp;return t<0?i.Zm():i}return this.dp()?this:new n(0===t?BigInt(0):this.Ai*BigInt(t),this.Bp)},i.Cp=function(t){if(this.$m()||d(t))return n.Gp;if(this.tp())return isFinite(t)?0===t?1/t<0?this.Zm():this:t<0?this.Zm():this:n.Gp;if(!isFinite(t))return new n(BigInt(0),this.Bp);if(this.dp())return 0===t?n.Gp:new n(BigInt(0),this.Bp);if(0===t){var i=this.Km()?n.jp:n.Yp;return 1/t<0?i.Zm():i}return new n(this.Ai/BigInt(t),this.Bp)},i.ub=function(){var t=this.ob();return[t.low,t.high,this.Bp]},g(n,null,[{key:"hp",get:function(){return n.hb||(n.hb=new n(BigInt(0),1e6)),n.hb}},{key:"Gp",get:function(){return n.cb||(n.cb=new n(BigInt(0),0)),n.cb}},{key:"Yp",get:function(){return n.fb||(n.fb=new n(BigInt(1),0)),n.fb}},{key:"jp",get:function(){return n.vb||(n.vb=new n(BigInt(-1),0)),n.vb}}]),n}(Fe);function Ge(t){return t.$m()?t:t.Km()?He.Yp:He.jp}function je(t,n){return t.$m()||n.$m()?He.Gp:t.tp()&&n.tp()?t.Km()===n.Km()?t:He.Gp:t.tp()?t:n}He.hb=void 0,He.cb=void 0,He.fb=void 0,He.vb=void 0,function(t){t[t.ib=0]="ib",t[t.eb=1]="eb",t[t.sb=2]="sb"}(Ve||(Ve={}));var ze=function(){try{return"function"==typeof BigInt&&"bigint"==typeof BigInt(0)}catch(t){return!1}}()?He:Le;function Ke(t){return ze.rp(z.fromBits(t[0],t[1],!1),t[2])}var qe,Xe,Ye,$e,Ze,Je,Qe=v.pow(2,33),tu=ze.sp(Qe,9e4);tu.Cp(2);C.Pn,function(t){t[t.zrt=0]="zrt",t[t.qrt=1]="qrt",t[t.Wrt=2]="Wrt",t[t.Grt=3]="Grt",t[t.Yrt=4]="Yrt",t[t.jrt=5]="jrt"}(qe||(qe={})),function(t){t[t.Qrt=0]="Qrt",t[t.Krt=1]="Krt",t[t.Zrt=2]="Zrt",t[t.Jrt=3]="Jrt"}(Xe||(Xe={})),function(t){t.DQ='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace',t.CQ='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif',t.OQ='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace',t.BQ='Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}(Ye||(Ye={})),function(t){t.BLACK="#000000",t.WHITE="#FFFFFF",t.GREEN="#00ff00",t.BLUE="#0000ff",t.CYAN="#00ffff",t.RED="#ff0000",t.YELLOW="#ffff00",t.MAGENTA="#ff00ff",t.TRANSPARENT="transparent"}($e||($e={})),function(t){t.FONT_REGULAR="regular",t.FONT_UNDERLINE="underline",t.FONT_ITALICS="italics",t.FONT_UNDERLINE_ITALICS="underline-italics"}(Ze||(Ze={})),$e.WHITE,Ye.OQ,$e.BLACK,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.GREEN,Ze.FONT_REGULAR,$e.GREEN,Ze.FONT_UNDERLINE,$e.BLUE,Ze.FONT_REGULAR,$e.BLUE,Ze.FONT_UNDERLINE,$e.CYAN,Ze.FONT_REGULAR,$e.CYAN,Ze.FONT_UNDERLINE,$e.RED,Ze.FONT_REGULAR,$e.RED,Ze.FONT_UNDERLINE,$e.YELLOW,Ze.FONT_REGULAR,$e.YELLOW,Ze.FONT_UNDERLINE,$e.MAGENTA,Ze.FONT_REGULAR,$e.MAGENTA,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_ITALICS,$e.WHITE,Ze.FONT_UNDERLINE_ITALICS,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,$e.WHITE,Ze.FONT_REGULAR,$e.WHITE,Ze.FONT_UNDERLINE,function(t){t[t.yst=47]="yst",t[t.kst=49]="kst"}(Je||(Je={}));var nu,iu=[128,64,32,16,8,4,2,1];function ru(t,n){var i=v.floor(n.bit/8),r=0==(("function"==typeof t.Du?t.Du(i):t[i])&iu[n.bit%8])?0:1;return n.bit+=1,r}function eu(t,n,i){for(var r=0,e=i;e>0;)e-=1,r=2*r+ru(t,n);return r}function uu(t,n){for(var i=0;0===ru(t,n)&&i<32;)i+=1;return eu(t,n,i)+v.pow(2,i)-1}function ou(t,n){var i=uu(t,n);return 1&i?v.floor((i+1)/2):-v.floor(i/2)}!function(t){t[t.Tst=1]="Tst",t[t.Sst=2]="Sst",t[t.Est=3]="Est",t[t.Ist=4]="Ist",t[t.Rst=5]="Rst",t[t.Nst=6]="Nst",t[t.Dst=7]="Dst",t[t.Cst=8]="Cst",t[t.Pst=9]="Pst"}(nu||(nu={}));var fu=[void 0,[1,1],[12,11],[10,11],[16,11],[40,33],[24,11],[20,11],[32,11],[80,33],[18,11],[15,11],[64,33],[160,99],[4,3],[3,2],[2,1]];function su(t,n,i){for(var r=8,e=8,u=0;u<i;u+=1){if(0!==e)e=(r+ou(t,n)+256)%256;r=0===e?r:e}}var cu=function(){function t(t){this.Ost=void 0,this.Bst=[],this.Lst=0,this.Ost=t}var n=t.prototype;return n.Mst=function(){for(var t=this.Bst,n=v.max(0,this.Lst+t.length-2),i=this.Ost,r=i.zg,e=0;n<r;n+=1){var u=i.Du(n);0===u?e+=1:(3===u&&e>=2&&t.push(n),e=0)}this.Lst=n-t.length},n.xst=function(t){for(var n=this.Bst,i=t,r=0;r<n.length;r++){if(!(n[r]<=i))return i;i+=1}return i},n.Du=function(t){if(!(t>this.Ost.zg))return t>this.Lst&&this.Mst(),this.Ost.Du(this.xst(t))},t}();function hu(t,n){io(t.video?t.video:void 0);var i=Mo(t,!0),r=eo(t)+8,e=wu.length+i+r,u=function(t,n){var i={video:[],audio:[]},r=8+n,e={video:t.video&&t.video.RW||[],audio:t.audio&&t.audio.RW||[]},u={cE:{S$:Number.POSITIVE_INFINITY}},o=0,f=0,s=e.video[0]||u,c=e.audio[0]||u;for(;o<e.video.length||f<e.audio.length;)s.cE.S$<c.cE.S$?(Ce(i.video,r),r+=s.zg,s=e.video[o+=1]||u):(Ce(i.audio,r),r+=c.zg,c=e.audio[f+=1]||u);return i}(t,wu.length+i);return n.p(e),n.li(wu),xo(n,t,i,u),function(t,n,i){var r,e={cE:{S$:Number.POSITIVE_INFINITY}},u=0,o=0,f=n.video&&n.video.RW||[],s=n.audio&&n.audio.RW||[],c=f.length,h=s.length,a=f[u]||e,v=s[o]||e;t.yi(i),t.li(gu);for(;u<c||o<h;)a.cE.S$<v.cE.S$?(r=a,a=f[u+=1]||e):(r=v,v=s[o+=1]||e),t.pi(r)}(n,t,r),n}function au(t,n,i){var r=void 0!==n?n:void 0;io(t.video?t.video:void 0);var e=Mo(t,!1,r),u=yu.length+e;return i.p(u),i.li(yu),xo(i,t,e,void 0,r||ze.hp),i}function vu(t,n,i,r,e){var u=i.Vm(),o=r.Vm(),f=function(t,n){return 1===rf(t,n)?52:44}(t,o),s=tf(t,u),c=eo(t)+8,h=Lo.length+f+s+c;return e.p(h),e.li(Lo),function(t,n,i,r,e){var u=n.video&&n.video.xNt.Vk(ze.Wp(n.video.duration,n.video.xNt.Bp))||ze.hp,o=n.audio&&n.audio.xNt.Vk(ze.Wp(n.audio.duration,n.audio.xNt.Bp))||ze.hp,f=ze.xp(u,o),s=v.round(e*no);t.yi(i),t.li(Wo),1===rf(n,e)?(t.yi(16777216),t.yi(1),t.yi(no),t.mi(z.fromNumber(s)),t.mi(z.ZERO)):(t.yi(0),t.yi(1),t.yi(no),t.yi(s),t.yi(0));t.ki(0),t.ki(1);var c=nf(n.video?n.video:void 0),h=nf(n.audio?n.audio:void 0);t.yi(tf(n,r)+c+h+8),ff(t,f),t.li([144,0,0,0])}(e,t,f,u,o),function(t,n,i,r,e){t.yi(i),t.li(Uo),function(t,n){t.yi(Ho),t.li(Vo),t.yi(0),t.yi(n)}(t,r),uf(t,n,n.video?n.video:void 0,1,e),uf(t,n,n.audio?n.audio:void 0,2,e)}(e,t,s,n,u),function(t,n,i){var r=n.video&&n.video.RW||[],e=n.audio&&n.audio.RW||[];t.yi(i),t.li(gu);for(var u=0;u<r.length;u++){var o=r[u];t.pi(o)}for(var f=0;f<e.length;f++){var s=e[f];t.pi(s)}}(e,t,c),e}function lu(t){return t.BNt===Te.NX||t.BNt===Te.RX||t.BNt===Te.YNt}function _u(t){return t.BNt===Te.dDt}function du(t){var n=t.length;if(n)for(var i=t[0].cE.qst,r=0;r<n;r+=1){var e=t[r].cE;e.oDt=e.zst.Jm(i),i=i.Vk(e.Wst)}}var wu=[0,0,0,32,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,97,118,99,49,109,112,52,49],yu=[0,0,0,28,102,116,121,112,109,112,52,50,0,0,0,0,105,115,111,109,109,112,52,50,100,97,115,104],gu=[109,100,97,116],pu=[109,111,111,118],mu=[109,118,104,100],Iu=[116,114,97,107],ku=[116,107,104,100],Su=[109,118,101,120],bu=[116,114,101,120],Eu=32,Tu=[101,100,116,115],Ru=[101,108,115,116],Nu=[109,100,105,97],Ou=[109,100,104,100],Au=[99,116,116,115],Du=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0],Cu=[0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0],Pu=45,Fu=[109,105,110,102],Bu=[0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0],Mu=16,xu=[0,0,0,20,118,109,104,100,0,0,0,1,0,0,0,0,0,0,0,0],Lu=20,Wu=[0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1],Uu=36,Vu=[115,116,98,108],Hu=[115,116,115,100],Gu=[97,118,99,67],ju=[101,115,100,115],zu=[115,116,115,115],Ku=[115,116,116,115],qu=[115,116,115,99],Xu=[115,116,115,122],Yu=[115,116,99,111],$u=[112,97,115,112],Zu=[97,118,99,49],Ju=[109,112,52,97],Qu=[1,0],to=[0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0],no=9e4;function io(t){if(t&&!t.rS){var n=t.CEt,i=t.PEt;t.rS=function(t,n){var i=t.length,r=n.length,e=[];return Ae(e,1),Ae(e,t[1]),Ae(e,t[2]),Ae(e,t[3]),Ae(e,255),Ae(e,225),Ae(e,(65280&i)>>8),Ae(e,255&i),De(e,t),Ae(e,1),Ae(e,(65280&r)>>8),Ae(e,255&r),De(e,n),e}(n,i);var r=new Pe;r.ist(n,0,n.length);var e=function(t){var n,i,r,e,u,o,f=new cu(t),s=0,c=0,h=0,a=0,l=f.Du(1),_={bit:32};if(uu(f,_),100===l||110===l||122===l||144===l){var d=uu(f,_);if(3===d&&(n=ru(f,_)),uu(f,_),uu(f,_),ru(f,_),1===ru(f,_))for(var w=0;w<(3!==d?8:12);w+=1)1===ru(f,_)&&su(f,_,w<6?16:64)}var y=uu(f,_),g=uu(f,_);if(0===g)uu(f,_);else if(1===g){ru(f,_),ou(f,_),ou(f,_);for(var p=uu(f,_),m=0;m<p;m+=1)ou(f,_)}uu(f,_),ru(f,_);var I=uu(f,_),k=uu(f,_),S=ru(f,_);if(0===S&&ru(f,_),ru(f,_),1===ru(f,_)&&(s=uu(f,_),c=uu(f,_),h=uu(f,_),a=uu(f,_)),1===ru(f,_)){if(1===ru(f,_)){var b=eu(f,_,8);if(255===b)i=eu(f,_,16),r=eu(f,_,16);else{var E=fu[b];E&&(i=E[0],r=E[1])}}1===ru(f,_)&&ru(f,_),1===ru(f,_)&&(eu(f,_,3),ru(f,_),1===ru(f,_)&&(eu(f,_,8),eu(f,_,8),eu(f,_,8))),1===ru(f,_)&&(uu(f,_),uu(f,_)),1===(e=ru(f,_))&&(u=eu(f,_,32),o=eu(f,_,32),ru(f,_))}return{width:v.floor(16*(I+1)-2*s-2*c),height:v.floor((2-S)*(k+1)*16-2*h-2*a),gS:i,wS:r,Ust:!!e&&o/(2*u),Fst:n,Hst:y}}(r);t.width=e&&e.width,t.height=e&&e.height,e&&e.gS&&e.wS&&(t.gS=e.gS,t.wS=e.wS)}}function ro(t,n){var i=t.Ust||0;if(lu(t))return t.tDt;var r=v.max(no,i);return n?v.round(r):r}function eo(t){var n=0,i=function(t){for(var n=t.length,i=0,r=0;r<n;r+=1)i+=t[r].zg;return i};return t.video&&(n+=i(t.video.RW)),t.audio&&(n+=i(t.audio.RW)),n}function uo(t,n,i,r){var e=ze.Wp(0,t.Bp);return n?(r||e).Vk(t):i||e}function oo(t,n,i){var r=t.video&&uo(ze.Wp(t.video.duration,no),n,i,t.video.xNt)||ze.hp,e=t.audio&&uo(ze.Wp(t.audio.duration,no),n,i,t.audio.xNt)||ze.hp;return 0!==ze.xp(r,e).Fp(no).gp().high?1:0}function fo(t,n,i){return 1===oo(t,n,i)?120:108}function so(t,n,i){return 0!==uo(ze.Wp(t.duration,no),n,i,t.xNt).Fp(no).gp().high?1:0}function co(t,n,i){return 1===so(t,n,i)?104:92}function ho(t,n,i){var r=ro(t,!1),e=uo(ze.Wp(t.duration,r),n,i);return e.Xm(ze.Wp(v.pow(2,32)-1,e.Bp))?1:0}function ao(t,n,i){return 1===ho(t,n,i)?44:32}function vo(t){if(t.hasOwnProperty("bi"))return t.bi;for(var n=0,i=0,r=t.RW;i<r.length;i++){r[i].cE.jst&&(n+=1)}return t.bi=n,n}function lo(t,n){var i=t.video&&0!==a.keys(t.video).length,r=t.audio&&0!==a.keys(t.audio).length;return n?0:8+(i?Eu:0)+(r?Eu:0)}function _o(t){return!_u(t)&&t.eDt?t.eDt.length+12:0}function wo(t){return _u(t)?110+t.rS.length+_o(t)+(t.gS&&t.wS?16:0):52+_o(t)}function yo(t,n){return _u(t)&&n?16+4*vo(t):0}function go(t,n){return t.LNt&&n&&_u(t)?16+8*t.RW.length:0}function po(t,n){return 20+(n?4*t.RW.length:0)}function mo(t,n){return 16+(n?4*t.RW.length:0)}function Io(t,n){return _u(t)?16+(n?8*t.RW.length:0):16+(n?8:0)}function ko(t){return 16+(t?12:0)}function So(t,n){return 8+wo(t)+yo(t,n)+go(t,n)+Io(t,n)+ko(n)+po(t,n)+mo(t,n)}function bo(t,n){return 8+(_u(t)?Lu:Mu)+Uu+So(t,n)}function Eo(t,n,i){return 8+ao(t,n,i)+Pu+bo(t,n)}function To(t){var n=v.floor(no*t.duration||0),i=t.xNt;return n>v.pow(2,31)-1||i.Xm(ze.sp(v.pow(2,31)-1,no))?1:0}function Ro(t,n){return n?1===To(t)?24+(t.xNt.dp()?20:40):24+(t.xNt.dp()?12:24):0}function No(t,n,i){return t&&0!==a.keys(t).length?8+co(t,n,i)+Eo(t,n,i)+Ro(t,n):0}function Oo(t,n,i){var r=wo(n),e=function(t){if(t===Te.dDt)return Zu;if(t===Te.NX)return Ju;if(t===Te.RX||t===Te.YNt)return Ju;throw new c("unknown codec "+t)}(n.BNt);t.yi(r),t.li(Hu),t.yi(0),t.yi(1),t.yi(r-16),t.li(e),t.yi(0),t.ki(0),t.ki(1),e===Zu&&_u(n)?(t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.ki(n.width||0),t.ki(n.height||0),t.ki(72),t.ki(0),t.ki(72),t.ki(0),t.yi(0),t.ki(1),t.li([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.ki(24),t.li([255,255]),t.yi(8+n.rS.length),t.li(Gu),t.li(n.rS)):e===Ju&&lu(n)&&(t.yi(0),t.yi(0),t.ki(n.iDt),t.ki(16),t.ki(0),t.ki(0),t.ki(n.tDt),t.ki(0)),_u(n)&&n.gS&&n.wS&&(t.yi(16),t.li($u),t.yi(n.gS),t.yi(n.wS)),!_u(n)&&n.eDt&&(t.yi(_o(n)),t.li(ju),t.yi(0),t.li(n.eDt))}function Ao(t,n,i){var r=ro(n,!0),e=i?n.RW.length:0;!function(t){var n=t.length;if(n){var i=(t=ve(t,function(t,n){return function(t,n){return t.zm(n)}(t.cE.qst,n.cE.qst)}))[0].cE;i.hDt=ze.hp;for(var r=1;r<n;r+=1){var e=t[r].cE,u=e.qst.Jm(i.qst);e.hDt=ze.xp(u,ze.hp),i=e}}}(n.RW),t.yi(e);for(var u=0;u<e;u+=1){var o=n.RW[u].cE.hDt;t.yi(1),t.yi(o.Fp(r,Ve.sb).gp().toInt())}}function Do(t,n,i,r){var e=So(n,!!r);t.yi(e),t.li(Vu),Oo(t,n),function(t,n,i){t.yi(Io(n,i)),t.li(Ku),t.yi(0),_u(n)?Ao(t,n,i):function(t,n,i){t.yi(i?1:0),i&&(t.yi(n.RW.length),t.yi(n.nDt))}(t,n,i)}(t,n,!!r),function(t,n,i){if(_u(n)&&i){var r=yo(n,i);t.yi(r),t.li(zu),t.yi(0),t.yi(vo(n));for(var e=0;e<n.RW.length;e+=1)n.RW[e].cE.jst&&t.yi(e+1)}}(t,n,!!r),function(t,n,i){var r=ro(n,!1);if(n.LNt&&i&&_u(n)){du(n.RW);var e=go(n,i);t.yi(e),t.li(Au),t.yi(0),t.yi(n.RW.length);for(var u=0,o=n.RW;u<o.length;u++){var f=o[u].cE.oDt;t.yi(1),t.yi(f.Fp(r,Ve.sb).gp().toInt())}}}(t,n,!!r),function(t,n){t.yi(ko(n)),t.li(qu),t.yi(0),t.yi(n?1:0),n&&(t.yi(1),t.yi(1),t.yi(1))}(t,!!r),function(t,n,i){var r=po(n,i);if(t.yi(r),t.li(Xu),t.yi(0),t.yi(0),t.yi(i?n.RW.length:0),i)for(var e=0,u=n.RW;e<u.length;e++){var o=u[e];t.yi(o.zg)}}(t,n,!!r),function(t,n,i){var r=mo(n,!!i);t.yi(r),t.li(Yu),t.yi(0),t.yi(i?n.RW.length:0),i&&t.li(i)}(t,n,r)}function Co(t,n,i,r){var e=bo(n,!!r);t.yi(e),t.li(Fu),_u(n)?function(t){t.li(xu)}(t):function(t){t.li(Bu)}(t),function(t){t.li(Wu)}(t),Do(t,n,0,r)}function Po(t,n,i,r,e){var u=Eo(n,!!r,e);t.yi(u),t.li(Nu),function(t,n,i,r){var e=ao(n,i,r),u=ro(n,!1),o=uo(ze.Wp(n.duration,u),i,r);u=v.round(u),t.yi(e),t.li(Ou),1===ho(n,i,r)?(t.yi(16777216),t.mi(z.ZERO),t.mi(z.ZERO),t.yi(u),of(t,o)):(t.yi(0),t.yi(0),t.yi(0),t.yi(u),ff(t,o)),t.li([85,196]),t.li([0,0])}(t,n,!!r,e),function(t,n){n?t.li(Du):t.li(Cu)}(t,_u(n)),Co(t,n,0,r)}function Fo(t,n){t.yi(Eu),t.li(bu),t.yi(0),t.yi(n),t.yi(1),t.yi(0),t.yi(0),t.yi(0)}function Bo(t,n,i,r,e){var u=No(n,!!i,e);n&&0!==u&&(t.yi(u),t.li(Iu),function(t,n,i,r,e){var u=uo(ze.Wp(n.duration,no),r,e,n.xNt),o=co(n,r,e),f=_u(n);t.yi(o),t.li(ku),1===so(n,r,e)?(t.yi(16777231),t.mi(z.ZERO),t.mi(z.ZERO),t.yi(i),t.yi(0),of(t,u)):(t.yi(15),t.yi(0),t.yi(0),t.yi(i),t.yi(0),ff(t,u)),t.yi(0),t.yi(0),t.ki(0),t.ki(f?0:1),t.li(f?[0,0]:Qu),t.li([0,0]),t.li(to),_u(n)?(t.ki(n.width||0),t.ki(0),t.ki(n.height||0),t.ki(0)):(t.yi(0),t.yi(0))}(t,n,r,!!i,e),i&&function(t,n){var i=Ro(n,!0),r=v.floor(no*n.duration||0),e=To(n);t.yi(i),t.li(Tu),t.yi(i-8),t.li(Ru),1===e?t.yi(16777216):t.yi(0),t.yi(n.xNt.dp()?1:2),n.xNt.dp()||(1===e?(of(t,n.xNt),t.li([255,255,255,255,255,255,255,255])):(ff(t,n.xNt),t.li([255,255,255,255])),t.ki(1),t.ki(0)),1===e?(t.mi(z.fromNumber(r)),t.mi(z.ZERO)):(t.yi(r),t.yi(0)),t.ki(1),t.ki(0)}(t,n),Po(t,n,0,i,e))}function Mo(t,n,i){var r=No(t.video?t.video:void 0,n,i),e=No(t.audio?t.audio:void 0,n,i);return 8+fo(t,n,i)+lo(t,n)+r+e}function xo(t,n,i,r,e){t.yi(i),t.li(pu),function(t,n,i,r){var e=fo(n,i,r),u=n.video&&uo(ze.Wp(n.video.duration,no),i,r,n.video.xNt)||ze.hp,o=n.audio&&uo(ze.Wp(n.audio.duration,no),i,r,n.audio.xNt)||ze.hp,f=ze.xp(u,o);t.yi(e),t.li(mu),1===oo(n,i,r)?(t.yi(16777216),t.mi(z.ZERO),t.mi(z.ZERO),t.yi(no),of(t,f)):(t.yi(0),t.yi(0),t.yi(0),t.yi(no),ff(t,f)),t.li([0,1,0,0]),t.li(Qu),t.li([0,0,0,0,0,0,0,0,0,0]),t.li(to),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(0),t.yi(3)}(t,n,!!r,e),r||function(t,n){t.yi(lo(n,!1)),t.li(Su),n.video&&0!==a.keys(n.video).length&&Fo(t,1),n.audio&&0!==a.keys(n.audio).length&&Fo(t,2)}(t,n),Bo(t,n.video?n.video:void 0,r&&r.video,1,e),Bo(t,n.audio?n.audio:void 0,r&&r.audio,2,e)}var Lo=[0,0,0,24,115,116,121,112,109,115,100,104,0,0,0,0,109,115,100,104,109,115,105,120],Wo=[115,105,100,120],Uo=[109,111,111,102],Vo=[109,102,104,100],Ho=16,Go=[116,114,97,102],jo=[116,102,104,100],zo=24,Ko=[116,102,100,116],qo=[116,114,117,110],Xo=[115,100,116,112];function Yo(t){return _u(t)?20+16*t.RW.length:20+4*t.RW.length}function $o(t){return _u(t)?12+t.RW.length:0}function Zo(t,n){var i=ro(t,!0);return v.round(n*i)>v.pow(2,32)-1?1:0}function Jo(t,n){return 1===Zo(t,n)?20:16}function Qo(t,n){return t&&t.RW?8+zo+Jo(t,n)+Yo(t)+$o(t):0}function tf(t,n){var i=Qo(t.audio?t.audio:void 0,n),r=Qo(t.video?t.video:void 0,n);return 8+Ho+i+r}function nf(t){if(!t||!t.RW)return 0;for(var n=0,i=0,r=t.RW;i<r.length;i++){n+=r[i].zg}return n}function rf(t,n){return v.round(n*no)>v.pow(2,32)-1?1:0}function ef(t,n,i,r){_u(i)?function(t,n,i,r){var e=tf(n,r)+8,u=ro(i,!1);du(i.RW),t.yi(Yo(i)),t.li(qo),t.li([1,0,15,1]),t.yi(i.RW.length),t.yi(e);for(var o=0,f=i.RW;o<f.length;o++){var s=f[o];t.yi(v.round(s.cE.ey*u));var c=s.cE.oDt;t.yi(s.zg),t.li(s.cE.jst?[2,0,0,0]:[0,1,0,0]),t.yi(c.Fp(u).gp().toInt())}}(t,n,i,r):function(t,n,i,r){var e=nf(n.video?n.video:void 0),u=tf(n,r)+8+e;t.yi(Yo(i)),t.li(qo),t.li([0,0,2,1]),t.yi(i.RW.length),t.yi(u);for(var o=0,f=i.RW;o<f.length;o++){var s=f[o];t.yi(s.zg)}}(t,n,i,r)}function uf(t,n,i,r,e){i&&(t.yi(Qo(i,e)),t.li(Go),function(t,n,i){var r=ro(n,!0),e=_u(n)?v.round(r/(n.UNt.Vm()||0)):n.nDt;t.yi(zo),t.li(jo),t.yi(40),t.yi(i),t.yi(e),t.li(_u(n)?[0,1,0,0]:[2,0,0,0])}(t,i,r),function(t,n,i){var r=ro(n,!0),e=v.round(i*r);t.yi(Jo(n,i)),t.li(Ko),1===Zo(n,i)?(t.yi(16777216),t.mi(z.fromNumber(e))):(t.yi(0),t.yi(e))}(t,i,e),ef(t,n,i,e),function(t,n,i){if(_u(i)){t.yi($o(i)),t.li(Xo),t.li([0,0,0,0]);for(var r=0,e=i.RW;r<e.length;r++)e[r].cE.jst?t.te(32):t.te(16)}}(t,0,i))}function of(t,n){t.mi(n.Fp(no).gp())}function ff(t,n){t.yi(n.Fp(no).gp().toNumber())}var sf,cf={ie:function(t,n){n.p(function(t){var n=0;return t.audio&&(n+=function(t){var n,i=t.length,r=0;for(n=0;n<i;n+=1)r+=t[n].zg;return r}(t.audio.RW)),n}(t));for(var i=0,r=t.audio&&t.audio.RW||[],e=r.length;i<e;)n.pi(r[i]),i+=1}},hf=function(){function t(t){this.Vi=void 0,this.Xd=void 0,this.ee=0,this.Xd=t}var n=t.prototype;return n.se=function(t,n,i){var r=this.ee,e=this.Vi;for(n=n||0,i=i||t.length;n<i;n+=1,r+=1)e[r]=t[n];this.ee=r},n.p=function(t){this.Vi=new w(t),this.ee=0},n.te=function(t){this.Vi&&(this.Vi[this.ee]=t,this.ee+=1)},n.li=function(t,n,i){this.Vi&&this.se(t,n,i)},n.pi=function(t){this.ee=t.ast(this.Vi,this.ee)},n.ub=function(t){return t(this.Vi,this.Xd)},n.ki=function(t){return this.li([(n=t)>>>8&255,255&n]);var n},n.yi=function(t){return this.li(Oe(t))},n.mi=function(t){var n=t.toUnsigned();this.yi(n.high),this.yi(n.low)},t}(),af=t;function vf(t,n){return void 0===sf&&(sf=function(){var t=new w(1);try{return af.postMessage(t,[t.buffer]),0===t.byteLength}catch(t){return!1}}()),n&&sf?af.postMessage(t,n):af.postMessage(t)}var lf,_f,df,wf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),yf=16383;function gf(t,n,i){for(var r,e,u,o=[],f=n;f<i;f+=3)o.push((r=t[f],e=t[f+1],u=t[f+2],wf[r>>2]+wf[(3&r)<<4|e>>4]+wf[(15&e)<<2|u>>6]+wf[63&u]));return o.join("")}function pf(t){for(var n=t.length,i=n%3,r=[],e=n-i,u=0;u<e;u+=yf)r.push(gf(t,u,v.min(e,u+yf)));if(1===i){var o=t[n-1];r.push(wf[o>>2]+wf[(3&o)<<4]+"==")}else if(2===i){var f=t[n-2],s=t[n-1];r.push(wf[f>>2]+wf[(3&f)<<4|s>>4]+wf[(15&s)<<2]+"=")}return r.join("")}function mf(t){return{MA:t.MA,cE:{S$:t.cE.S$,wK:Ke(t.cE.Xst)},RW:t.RW}}function If(t){return{wK:Ke(t.wK),ES:t.ES,fst:t.fst,vst:t.vst,ls:t.ls,SQ:t.SQ,dst:t.dst,lst:t.lst}}function kf(t){return{NNt:t.NNt,RW:[],BNt:t.BNt,LNt:t.LNt,duration:t.duration,MNt:t.MNt,xNt:Ke(t.xNt),Ust:t.Ust,UNt:Ke(t.UNt),FNt:t.FNt,HNt:Ke(t.HNt),VNt:Ke(t.VNt),XNt:Ke(t.XNt),zNt:Ke(t.zNt),qNt:Ke(t.qNt),WNt:Ke(t.WNt),GNt:Ke(t.GNt)}}function Sf(t){switch(t.BNt){case Te.RX:case Te.YNt:return function(t){return Lr({},bf(t),{BNt:t.BNt,RW:t.RW.map(function(t){return function(t){var n=Ef(t),i=(r=n.cE,Lr({},Rf(r),{jNt:r.jNt,QNt:r.QNt,KNt:r.KNt}));var r;return n.Fu(i)}(t)}),xEt:t.xEt,ZNt:t.ZNt})}(t);case Te.NX:return function(t){return Lr({},bf(t),{BNt:t.BNt,RW:t.RW.map(function(t){return function(t){var n=Ef(t),i=(r=n.cE,Lr({},Rf(r),{VA:r.VA,yT:r.yT,JNt:r.JNt,EX:r.EX,$Nt:r.$Nt}));var r;return n.Fu(i)}(t)})})}(t)}}function bf(t){return Lr({},kf(t),{RW:[],BNt:t.BNt,tDt:t.tDt,nDt:t.nDt,iDt:t.iDt,eDt:t.eDt})}function Ef(t){var n=new Pe;return n.ist(t.rDt,0,t.sDt),n.cE=t.uDt,n}function Tf(t){var n;return Lr({},{S$:(n=t).S$,Xst:Ke(n.Xst)},{zst:Ke(t.zst),qst:Ke(t.qst)})}function Rf(t){return Lr({},Tf(t))}!function(t){t.NX="hOt",t.Bw="aOt",t.cOt="fOt",t.vOt="dOt",t.lOt="_Ot"}(lf||(lf={})),function(t){t.gOt="wOt",t.yOt="kOt"}(_f||(_f={})),function(t){t.mOt="audio/mp4",t.pOt="audio/mpeg",t.bOt="video/mp4"}(df||(df={}));var Nf=t;function Of(t,n,i){n={},i||(i="PIW0031"),Nf.postMessage({aBt:"_Bt",cBt:t,vBt:n.message||i,ce:n.name,he:n.stack,ae:JSON.stringify(n)})}function Af(t,n){return{Vi:pf(t),Xd:n}}Nf.addEventListener("message",function(t){var n,i,r,e,u=t.data,o=u.HOt,f=u.qOt,s=u.XOt,c=[],h=f===_f.gOt?function(t,n,i){return t.push(n.buffer),{Vi:n,Xd:i}}.bind(void 0,c):Af;if("VOt"===o){r=function(t){return{audio:t.audio?Sf(t.audio):void 0,video:t.video?(i=t.video,r=kf(i),Lr({},r,{BNt:i.BNt,RW:i.RW.map(function(t){return function(t){var n,i=Ef(t),r=Lr({},Tf(n=i.cE),{ey:n.ey,Wst:Ke(n.Wst),Gst:n.Gst,Yst:n.Yst,oDt:n.oDt&&Ke(n.oDt),hDt:n.hDt&&Ke(n.hDt),jst:n.jst,Zst:n.Zst,Qst:n.Qst,Kst:n.Kst});return i.Fu(r)}(t)}),aDt:i.aDt,cDt:i.cDt,rS:i.rS,width:i.width,height:i.height,Wat:i.Wat,fDt:i.fDt,Yat:i.Yat,CEt:i.CEt,PEt:i.PEt,gS:i.gS,wS:i.wS})):void 0,RNt:t.RNt?(n=t.RNt,{NNt:n.NNt,fIt:n.fIt,dw:n.dw,OV:n.OV,DNt:n.DNt,CNt:n.CNt,PNt:n.PNt.map(mf),yw:[]}):void 0,Qst:t.Qst?t.Qst.map(If):t.Qst,ONt:Ke(t.ONt)};var n,i,r}(u.GOt),u.GOt=void 0;try{if((e=u.zOt)===lf.lOt||e===lf.vOt||e===lf.cOt)n=function(t,n){var i=t.WOt,r=t.YOt,e=Ke(t.QOt),u=Ke(t.KOt),o=t.jOt&&Ke(t.jOt);switch(t.zOt){case lf.cOt:var f=new hf(i);return vu(n,r,e,u,f),f;case lf.vOt:var s=new hf(i);return au(n,o,s),s;case lf.lOt:var c={Kmt:new hf(i),pBt:new hf(i),ub:function(t){return{Kmt:c.Kmt.ub(t),pBt:c.pBt.ub(t)}}};return au(n,o,c.Kmt),vu(n,r,e,u,c.pBt),c}}(u,r);else{if(!function(t){var n=t.zOt;return n===lf.Bw||n===lf.NX}(u))return Of(s,{},"PIW0072");n=function(t,n){var i=t.WOt;switch(t.zOt){case lf.NX:var r=new hf(i);return cf.ie(n,r),r;case lf.Bw:var e=new hf(i);return hu(n,e),e}}(u,r)}}catch(t){return Of(s,t,"PIW0082")}try{i=n.ub(h)}catch(t){return Of(s,t,"PIW0077")}try{return vf({aBt:"dBt",cBt:s,fBt:i},c)}catch(t){return Of(s,t,"PIW0078")}}return Of(s,{},"PIW0090")},!1),Nf.postMessage({KAt:"5.0.2"})}()}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:this);