1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4931],{1479:(t,e,r)=>{(t.exports=r(60335)).tz.load(r(6312))},1584:(t,e,r)=>{"use strict";function n(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}r.d(e,{A:()=>n})},4640:t=>{"use strict";var e=function(){function t(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1}var e=t.prototype;return e.getIsEnabled=function(){return this.enabled_},e.enable=function(){this.enabled_=!0},e.disable=function(){this.enabled_=!1},e.reset=function(){this.maxAttempts_=1,this.delayFactor_=.1,this.fuzzFactor_=.1,this.initialDelay_=1e3,this.enabled_=!1},e.getMaxAttempts=function(){return this.maxAttempts_},e.setMaxAttempts=function(t){this.maxAttempts_=t},e.getDelayFactor=function(){return this.delayFactor_},e.setDelayFactor=function(t){this.delayFactor_=t},e.getFuzzFactor=function(){return this.fuzzFactor_},e.setFuzzFactor=function(t){this.fuzzFactor_=t},e.getInitialDelay=function(){return this.initialDelay_},e.setInitialDelay=function(t){this.initialDelay_=t},e.createRetry=function(t){var e=void 0===t?{}:t,n=e.maxAttempts,i=e.delayFactor,a=e.fuzzFactor,s=e.initialDelay;return new r({maxAttempts:n||this.maxAttempts_,delayFactor:i||this.delayFactor_,fuzzFactor:a||this.fuzzFactor_,initialDelay:s||this.initialDelay_})},t}(),r=function(){function t(t){this.maxAttempts_=t.maxAttempts,this.delayFactor_=t.delayFactor,this.fuzzFactor_=t.fuzzFactor,this.currentDelay_=t.initialDelay,this.currentAttempt_=1}var e=t.prototype;return e.moveToNextAttempt=function(){this.currentAttempt_++;var t=this.currentDelay_*this.delayFactor_;this.currentDelay_=this.currentDelay_+t},e.shouldRetry=function(){return this.currentAttempt_<this.maxAttempts_},e.getCurrentDelay=function(){return this.currentDelay_},e.getCurrentMinPossibleDelay=function(){return(1-this.fuzzFactor_)*this.currentDelay_},e.getCurrentMaxPossibleDelay=function(){return(1+this.fuzzFactor_)*this.currentDelay_},e.getCurrentFuzzedDelay=function(){var t=this.getCurrentMinPossibleDelay();return t+Math.random()*(this.getCurrentMaxPossibleDelay()-t)},t}();t.exports=e},5348:t=>{var e={"":1,lr:1,rl:1},r={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function n(t){return"string"==typeof t&&!!r[t.toLowerCase()]&&t.toLowerCase()}function i(t,r,i){this.hasBeenReset=!1;var a="",s=!1,o=t,u=r,l=i,d=null,c="",p=!0,h="auto",f="start",g="auto",m="auto",A=100,y="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a}
1,set:function(t){a=""+t}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(t){s=!!t}},startTime:{enumerable:!0,get:function(){return o},set:function(t){if("number"!=typeof t)throw TypeError("Start time must be set to a number.");o=t,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return u},set:function(t){if("number"!=typeof t)throw TypeError("End time must be set to a number.");u=t,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return l},set:function(t){l=""+t,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return d},set:function(t){d=t,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return c},set:function(t){var r="string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase();if(!1===r)throw SyntaxError("Vertical: an invalid or illegal direction string was specified.");c=r,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return p},set:function(t){p=!!t,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return h},set:function(t){if("number"!=typeof t&&"auto"!==t)throw SyntaxError("Line: an invalid number or illegal string was specified.");h=t,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return f},set:function(t){var e=n(t);e?(f=e,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return g},set:function(t){if(t<0||t>100)throw Error("Position must be between 0 and 100.");g=t,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return m},set:function(t){var e=n(t);e?(m=e,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return A},set:function(t){if(t<0||t>100)throw Error("Size must be between 0 and 100.");A=t,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(t){var e=n(t);if(!e)throw SyntaxError("align: an invalid or illegal alignment string was specified.");y=e,this.hasBeenReset=!0}}}),this.displayState=void 0}i.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=i},6693:t=>{t.exports=function(t,e){var r,n=null;try{r=JSON.parse(t,e)}catch(t){n=t}return[n,r]}},6894:(t,e,r)=>{"use strict";r.d(e,{ne:()=>I,J2:()=>P});var n,i=r(22464);new Uint8Array([79,112,117,115,72,101,97,100]);var a=function(t){return"string"==typeof t?(0,i.Af)(t):t},s=function(t){t=(0,i.W_)(t);for(var e=[],r=0;t.length>r;){var a=t[r],s=0,o=0,u=t[++o];for(o++;128&u;)s=(127&u)<<7,u=t[o],o++;s+=127&u;for(var l=0;l<n.length;l++){var d=n[l],c=d.id,p=d.parser;if(a===c){e.push(p(t.subarray(o,o+s)));break}}r+=s+o}return e};n=[{id:3,parser:function(t){var e={tag:3,id:t[0]<<8|t[1],flags:t[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&e.flags&&(e.dependsOnEsId=t[e.size]<<8|t[e.size+1],e.size+=2),64&e.flags){var r=t[e.size];e.url=(0,i.Ar)(t.subarray(e.size+1,e.size+1+r)),e.size+=r}return 32&e.flags&&(e.ocrEsId=t[e.size]<<8|t[e.size+1],e.size+=2),e.descriptors=s(t.subarray(e.size))||[],e}},{id:4,parser:function(t){return{tag:4,oti:t[0],streamType:t[1],bufferSize:t[2]<<16|t[3]<<8|t[4],maxBitrate:t[5]<<24|t[6]<<16|t[7]<<8|t[8],avgBitrate:t[9]<<24|t[10]<<16|t[11]<<8|t[12],descriptors:s(t.subarray(13))}}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var o=function t(e,r,n){void 0===n&&(n=!1),r=Array.isArray(s=r)?s.map(function(t){return a(t)}):[a(s)],e=(0,i.W_)(e);var s,o=[];if(!r.length)return o;for(var u=0;u<e.length;){var l=(e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3])>>>0,d=e.subarray(u+4,u+8);if(0===l)break;var c=u+l;if(c>e.length){if(n)break;c=e.length}var p=e.subarray(u+8,c);(0,i.L7)(d,r[0])&&(1===r.length?o.push(p):o.push.apply(o,t(p,r.slice(1),n))),u=c}return o},u=function(t,e){if(!(e=a(e)).length)return t.subarray(t.length);for(var r=0;r<t.length;){if(bytesMatch(t.subarray(r,r+e.length),e)){var n=(t[r-4]<<24|t[r-3]<<16|t[r-2]<<8|t[r-1])>>>0,i=n>1?r+n:t.byteLength;return t.subarray(r+4,i)}r++}return t.subarray(t.length)},l=function(t,e,r){void 0===e&&(e=4),void 0===r&&(r=function(t){return bytesToNumber(t)});var n=[];if(!t||!t.length)return n;for(var i=bytesToNumber(t.subarray(4,8)),a=8;i;a+=e,i--)n.push(r(t.subarray(a,a+e)));return n},d={EBML:(0,i.W_)([26,69,223,163]),DocType:(0,i.W_)([66,130]),Segment:(0,i.W_)([24,83,128,103]),SegmentInfo:(0,i.W_)([21,73,169,102]),Tracks:(0,i.W_)([22,84,174,107]),Track:(0,i.W_)([174]),TrackNumber:(0,i.W_)([215]),DefaultDuration:(0,i.W_)([35,227,131]),TrackEntry:(0,i.W_)([174]),TrackType:(0,i.W_)([131]),FlagDefault:(0,i.W_)([136]),CodecID:(0,i.W_)([134]),CodecPr
1ivate:(0,i.W_)([99,162]),VideoTrack:(0,i.W_)([224]),AudioTrack:(0,i.W_)([225]),Cluster:(0,i.W_)([31,67,182,117]),Timestamp:(0,i.W_)([231]),TimestampScale:(0,i.W_)([42,215,177]),BlockGroup:(0,i.W_)([160]),BlockDuration:(0,i.W_)([155]),Block:(0,i.W_)([161]),SimpleBlock:(0,i.W_)([163])},c=[128,64,32,16,8,4,2,1],p=function(t){for(var e=1,r=0;r<c.length&&!(t&c[r]);r++)e++;return e},h=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=p(t[e]),s=t.subarray(e,e+a);return r&&(s=Array.prototype.slice.call(t,e,e+a),s[0]^=c[a-1]),{length:a,value:(0,i.Sk)(s,{signed:n}),bytes:s}},f=function t(e){return"string"==typeof e?e.match(/.{1,2}/g).map(function(e){return t(e)}):"number"==typeof e?(0,i.WG)(e):e},g=function t(e,r,n){if(n>=r.length)return r.length;var a=h(r,n,!1);if((0,i.L7)(e.bytes,a.bytes))return n;var s=h(r,n+a.length);return t(e,r,n+s.length+s.value+a.length)},m=function t(e,r){r=Array.isArray(n=r)?n.map(function(t){return f(t)}):[f(n)],e=(0,i.W_)(e);var n,a=[];if(!r.length)return a;for(var s=0;s<e.length;){var o=h(e,s,!1),u=h(e,s+o.length),l=s+o.length+u.length;127===u.value&&(u.value=g(o,e,l),u.value!==e.length&&(u.value-=l));var d=l+u.value>e.length?e.length:l+u.value,c=e.subarray(l,d);(0,i.L7)(r[0],o.bytes)&&(1===r.length?a.push(c):a=a.concat(t(c,r.slice(1)))),s+=o.length+u.length+c.length}return a},A=function(t){for(var e=0,r={};e<t.length;){var n=127&t[e],i=t[e+1],a=void 0;a=1===i?t[e+2]:t.subarray(e+2,e+2+i),1===n?r.profile=a:2===n?r.level=a:3===n?r.bitDepth=a:4===n?r.chromaSubsampling=a:r[n]=a,e+=2+i}return r},y=r(67344),v=(0,i.W_)([0,0,0,1]),b=(0,i.W_)([0,0,1]),E=(0,i.W_)([0,0,3]),T=function(t){for(var e=[],r=1;r<t.length-2;)(0,i.L7)(t.subarray(r,r+3),E)&&(e.push(r+2),r++),r++;if(0===e.length)return t;var n=t.length-e.length,a=new Uint8Array(n),s=0;for(r=0;r<n;s++,r++)s===e[0]&&(s++,e.shift()),a[r]=t[s];return a},D=function(t,e,r,n){void 0===n&&(n=1/0),t=(0,i.W_)(t),r=[].concat(r);for(var a,s=0,o=0;s<t.length&&(o<n||a);){var u=void 0;if((0,i.L7)(t.subarray(s),v)?u=4:(0,i.L7)(t.subarray(s),b)&&(u=3),!u){s++;continue}if(o++,a)return T(t.subarray(a,s));var l=void 0;"h264"===e?l=31&t[s+u]:"h265"===e&&(l=t[s+u]>>1&63),-1!==r.indexOf(l)&&(a=s+u),s+=u+("h264"===e?1:2)}return t.subarray(0,0)},S={webm:(0,i.W_)([119,101,98,109]),matroska:(0,i.W_)([109,97,116,114,111,115,107,97]),flac:(0,i.W_)([102,76,97,67]),ogg:(0,i.W_)([79,103,103,83]),ac3:(0,i.W_)([11,119]),riff:(0,i.W_)([82,73,70,70]),avi:(0,i.W_)([65,86,73]),wav:(0,i.W_)([87,65,86,69]),"3gp":(0,i.W_)([102,116,121,112,51,103]),mp4:(0,i.W_)([102,116,121,112]),fmp4:(0,i.W_)([115,116,121,112]),mov:(0,i.W_)([102,116,121,112,113,116]),moov:(0,i.W_)([109,111,111,118]),moof:(0,i.W_)([109,111,111,102])},w={aac:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=m(t,[d.EBML,d.DocType])[0];return(0,i.L7)(e,S.webm)},mkv:function(t){var e=m(t,[d.EBML,d.DocType])[0];return(0,i.L7)(e,S.matroska)},mp4:function(t){return!(w["3gp"](t)||w.mov(t))&&(!!((0,i.L7)(t,S.mp4,{offset:4})||(0,i.L7)(t,S.fmp4,{offset:4})||(0,i.L7)(t,S.moof,{offset:4})||(0,i.L7)(t,S.moov,{offset:4}))||void 0)},mov:function(t){return(0,i.L7)(t,S.mov,{offset:4})},"3gp":function(t){return(0,i.L7)(t,S["3gp"],{offset:4})},ac3:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,S.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+188<t.length&&e<188;){if(71===t[e]&&71===t[e+188])return!0;e+=1}return!1},flac:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,S.flac,{offset:e})},ogg:function(t){return(0,i.L7)(t,S.ogg)},avi:function(t){return(0,i.L7)(t,S.riff)&&(0,i.L7)(t,S.avi,{offset:8})},wav:function(t){return(0,i.L7)(t,S.riff)&&(0,i.L7)(t,S.wav,{offset:8})},h264:function(t){return D(t,"h264",7,3).length},h265:function(t){return D(t,"h265",[32,33],3).length}},C=Object.keys(w).filter(function(t){return"ts"!==t&&"h264"!==t&&"h265"!==t}).concat(["ts","h264","h265"]);C.forEach(function(t){var e=w[t];w[t]=function(t){return e((0,i.W_)(t))}});var I=function(t){t=(0,i.W_)(t);for(var e=0;e<C.length;e++){var r=C[e];if(w[r](t))return r}return""},P=function(t){return o(t,["moof"]).length>0}},8131:(t,e,r)=>{"use strict";var n=r(38216),i=r(74355),a=r(71120);u.httpHandler=r(26740);var s=function(t){var e={};return t&&t.trim().split("\n").forEach(function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();void 0===e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]}),e};function o(t,e,r){var n=t;
1return a(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function u(t,e,r){return l(e=o(t,e,r))}function l(t){if(void 0===t.callback)throw Error("callback argument missing");var e,r,n,i=!1,a=function(e,r,n){i||(i=!0,t.callback(e,r,n))};function o(t){return clearTimeout(n),t instanceof Error||(t=Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,a(t,A)}function l(){if(!r){clearTimeout(n);var e=t.useXDR&&void 0===d.status?200:1223===d.status?204:d.status,i=A,o=null;return 0!==e?(i={body:function(){var t=void 0;if(t=d.response?d.response:d.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(d),m)try{t=JSON.parse(t)}catch(t){}return t}(),statusCode:e,method:p,headers:{},url:c,rawRequest:d},d.getAllResponseHeaders&&(i.headers=s(d.getAllResponseHeaders()))):o=Error("Internal XMLHttpRequest Error"),a(o,i,i.body)}}var d=t.xhr||null;d||(d=t.cors||t.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var c=d.url=t.uri||t.url,p=d.method=t.method||"GET",h=t.body||t.data,f=d.headers=t.headers||{},g=!!t.sync,m=!1,A={body:void 0,headers:{},statusCode:0,method:p,url:c,rawRequest:d};if("json"in t&&!1!==t.json&&(m=!0,f.accept||f.Accept||(f.Accept="application/json"),"GET"!==p&&"HEAD"!==p&&(f["content-type"]||f["Content-Type"]||(f["Content-Type"]="application/json"),h=JSON.stringify(!0===t.json?h:t.json))),d.onreadystatechange=function(){4===d.readyState&&setTimeout(l,0)},d.onload=l,d.onerror=o,d.onprogress=function(){},d.onabort=function(){r=!0},d.ontimeout=o,d.open(p,c,!g,t.username,t.password),g||(d.withCredentials=!!t.withCredentials),!g&&t.timeout>0&&(n=setTimeout(function(){if(!r){r=!0,d.abort("timeout");var t=Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",o(t)}},t.timeout)),d.setRequestHeader)for(e in f)f.hasOwnProperty(e)&&d.setRequestHeader(e,f[e]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(d.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(d),d.send(h||null),d}t.exports=u,t.exports.default=u,u.XMLHttpRequest=n.XMLHttpRequest||function(){},u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r<t.length;r++)e(t[r])}(["get","put","post","patch","head","delete"],function(t){u["delete"===t?"del":t]=function(e,r,n){return(r=o(e,r,n)).method=t.toUpperCase(),l(r)}})},9628:(t,e,r)=>{"use strict";r.d(e,{Tt:()=>D,Ze:()=>M,qg:()=>tp,i6:()=>th});var n=r(96442),i=r(38216),a=r.n(i),s=function(t,e,r){e.forEach(function(e){for(var n in t.mediaGroups[e])for(var i in t.mediaGroups[e][n])r(t.mediaGroups[e][n][i],e,n,i)})},o=r(27788),u=r(54224),l=function(t){return!!t&&"object"==typeof t},d=function t(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.reduce(function(e,r){return"object"!=typeof r||Object.keys(r).forEach(function(n){Array.isArray(e[n])&&Array.isArray(r[n])?e[n]=e[n].concat(r[n]):l(e[n])&&l(r[n])?e[n]=t(e[n],r[n]):e[n]=r[n]}),e},{})},c=function(t){return Object.keys(t).map(function(e){return t[e]})},p=function(t,e){for(var r=[],n=t;n<e;n++)r.push(n);return r},h=function(t){return t.reduce(function(t,e){return t.concat(e)},[])},f=function(t){if(!t.length)return[];for(var e=[],r=0;r<t.length;r++)e.push(t[r]);return e},g=function(t,e){for(var r=0;r<t.length;r++)if(e(t[r]))return r;return -1},m={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"},A=function(t){var e=t.baseUrl,r=t.source,i=void 0===r?"":r,s=t.range,o=void 0===s?"":s,u=t.indexRange,l=void 0===u?"":u,d={uri:i,resolvedUri:(0,n.A)((void 0===e?"":e)||"",i)};if(o||l){var c,p=(o||l).split("-"),h=a().BigInt?a().BigInt(p[0]):parseInt(p[0],10),f=a().BigInt?a().BigInt(p[1]):parseInt(p[1],10);h<Number.MAX_SAFE_INTEGER&&"bigint"==typeof h&&(h=Number(h)),f<Number.MAX_SAFE_INTEGER&&"bigint"==typeof f&&(f=Number(f)),"bigint"==typeof(c="bigint"==typeof f||"bigint"==typeof h?a().BigInt(f)-a().BigInt(h)+a().BigInt(1):f-h+1)&&c<Number.MAX_SAFE_INTEGER&&(c=Number(c)),d.byterange={length:c,offset:h}}return d},y=function(t){var e;return e="bigint"==typeof t.offset||"bigint"==typeof t.length?a().BigInt(t.offset)+a().BigInt(t.length)-a().BigInt(1):t.offset+t.length-1,t.offset+"-"+e},v=function(t){return(t&&"number"!=typeof t&&(t=parseInt(t,10)),isNaN(t))?null:t},b={static:function(t){var e=t.duration,r=t.timescale,n=t.sourceDuration,i=t.periodDuration,a=v(t.endNumber),s=e/(void 0===r?1:r);return"number"==typeof a?{start:0,end:a}:"number"==typeof i?{start:0,end:i/s}:{start:0,end:n/s}},dynamic:function(t){var e=t.NOW,r=t.clientOffset,n=t.availabilityStartTime,i=t.timescale,a=void 0===i?1:i,s=t.duration,o=t.periodStart,u=t.minimumUpdatePeriod,l=t.timeShiftBufferDepth,d=v(t.endNumber),c=(e+r)/1e3,p=n+(void 0===o?0:o),h=Math.ceil((c+(void 0===u?0:u)-p)*a/s),f=Math.floor((c-p-(void 0===l?1/0:l))*a/s),g=Math.floor((c-p)*a/s);return{start:Math.max(0,f),end:"number"==typeof d?d:Math.min(h,g)}}},E=function(t){var e=t.type,r=t.duration,n=t.timescale,i=t.periodDuration,a=t.sourceDuration,s=b[e](t),o=p(s.start,s.end).map(function(e){var r=t.duration,n=t.timescale,i=t.periodStart,a=t.startNumber;return{number:(void 0===a?1:a)+e,duration:r/(void 0===n?1:n),timeline:i,time:e*r}});if("static"===e){var u=o.length-1;o[u].duration=("number"==typeof i?i:a)-r/(void 0===n?1:n)*u}return o},T=function(t){var e=t.baseUrl,r=t.initialization,n=void 0===r?{}:r,i=t.sourceDuration,a=t.indexRange,s=t.periodStart,o=t.presentationTime,u=t.number,l=t.duration;if(!e)throw Error(m.NO_BASE_URL);var d=A({baseUrl:e,source:n.sourceURL,range:n.range}),c=A({baseUrl:e,source:e,indexRange:void 0===a?"":a});if(c.map=d,l){var p=E(t);p.length&&(c.duration=p[0].duration,c.timeline=p[0].timeline)}else i&&(c.duration=i,c.timeline=s);return c.presentationTime=o||s,c.number=void 0===u?0:u,[c]}
1,D=function(t,e,r){var n,i=t.sidx.map?t.sidx.map:null,s=t.sidx.duration,o=t.timeline||0,u=t.sidx.byterange,l=u.offset+u.length,d=e.timescale,c=e.references.filter(function(t){return 1!==t.referenceType}),p=[],h=t.endList?"static":"dynamic",f=t.sidx.timeline,g=f,m=t.mediaSequence||0;n="bigint"==typeof e.firstOffset?a().BigInt(l)+e.firstOffset:l+e.firstOffset;for(var A=0;A<c.length;A++){var y=e.references[A],v=y.referencedSize,b=y.subsegmentDuration,E=void 0;E="bigint"==typeof n?n+a().BigInt(v)-a().BigInt(1):n+v-1;var D=T({baseUrl:r,timescale:d,timeline:o,periodStart:f,presentationTime:g,number:m,duration:b,sourceDuration:s,indexRange:n+"-"+E,type:h})[0];i&&(D.map=i),p.push(D),"bigint"==typeof n?n+=a().BigInt(v):n+=v,g+=b/d,m++}return t.segments=p,t},S=["AUDIO","SUBTITLES"],w=1/60,C=function(t){var e;return(e=function(t){return t.timeline},c(t.reduce(function(t,r){return r.forEach(function(r){t[e(r)]=r}),t},{}))).sort(function(t,e){return t.timeline>e.timeline?1:-1})},I=function(t,e){for(var r=0;r<t.length;r++)if(t[r].attributes.NAME===e)return t[r];return null},P=function(t){var e=[];return s(t,S,function(t,r,n,i){e=e.concat(t.playlists||[])}),e},R=function(t){var e=t.playlist;e.mediaSequence=t.mediaSequence,e.segments.forEach(function(t,r){t.number=e.mediaSequence+r})},N=function(t){var e=t.oldPlaylists,r=t.newPlaylists,n=t.timelineStarts;r.forEach(function(t){t.discontinuitySequence=g(n,function(e){return e.timeline===t.timeline});var r=I(e,t.attributes.NAME);if(r&&!t.sidx){var i=t.segments[0],a=g(r.segments,function(t){return Math.abs(t.presentationTime-i.presentationTime)<w});if(-1===a){R({playlist:t,mediaSequence:r.mediaSequence+r.segments.length}),t.segments[0].discontinuity=!0,t.discontinuityStarts.unshift(0),(!r.segments.length&&t.timeline>r.timeline||r.segments.length&&t.timeline>r.segments[r.segments.length-1].timeline)&&t.discontinuitySequence--;return}r.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,t.discontinuityStarts.unshift(0),t.discontinuitySequence--),R({playlist:t,mediaSequence:r.segments[a].number})}})},L=function(t){var e=t.oldManifest,r=t.newManifest,n=e.playlists.concat(P(e)),i=r.playlists.concat(P(r));return r.timelineStarts=C([e.timelineStarts,r.timelineStarts]),N({oldPlaylists:n,newPlaylists:i,timelineStarts:r.timelineStarts}),r},M=function(t){return t&&t.uri+"-"+y(t.byterange)},O=function(t){return c(t.reduce(function(t,e){var r,n=e.attributes.id+(e.attributes.lang||"");return t[n]?(e.segments&&(e.segments[0]&&(e.segments[0].discontinuity=!0),(r=t[n].segments).push.apply(r,e.segments)),e.attributes.contentProtection&&(t[n].attributes.contentProtection=e.attributes.contentProtection)):(t[n]=e,t[n].attributes.timelineStarts=[]),t[n].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t},{})).map(function(t){return t.discontinuityStarts=(t.segments||[]).reduce(function(t,e,r){return e.discontinuity&&t.push(r),t},[]),t})},k=function(t,e){var r=M(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&D(t,n,t.sidx.resolvedUri),t},_=function(t,e){if(void 0===e&&(e={}),!Object.keys(e).length)return t;for(var r in t)t[r]=k(t[r],e);return t},x=function(t,e){var r,n=t.attributes,i=t.segments,a=t.sidx,s=t.mediaSequence,o=t.discontinuitySequence,u=t.discontinuityStarts,l={attributes:((r={NAME:n.id,BANDWIDTH:n.bandwidth,CODECS:n.codecs})["PROGRAM-ID"]=1,r),uri:"",endList:"static"===n.type,timeline:n.periodStart,resolvedUri:"",targetDuration:n.duration,discontinuitySequence:o,discontinuityStarts:u,timelineStarts:n.timelineStarts,mediaSequence:s,segments:i};return n.contentProtection&&(l.contentProtection=n.contentProtection),a&&(l.sidx=a),e&&(l.attributes.AUDIO="audio",l.attributes.SUBTITLES="subs"),l},U=function(t){var e,r=t.attributes,n=t.segments,i=t.mediaSequence,a=t.discontinuityStarts,s=t.discontinuitySequence;void 0===n&&(n=[{uri:r.baseUrl,timeline:r.periodStart,resolvedUri:r.baseUrl||"",duration:r.sourceDuration,number:0}],r.duration=r.sourceDuration);var o=((e={NAME:r.id,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e);return r.codecs&&(o.CODECS=r.codecs),{attributes:o,uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:r.baseUrl||"",targetDuration:r.duration,timelineStarts:r.timelineStarts,discontinuityStarts:a,discontinuitySequence:s,mediaSequence:i,segments:n}},B=function(t,e,r){void 0===e&&(e={}),void 0===r&&(r=!1);var n,i=t.reduce(function(t,i){var a=i.attributes.role&&i.attributes.role.value||"",s=i.attributes.lang||"",o=i.attributes.label||"main";s&&!i.attributes.label&&(o=""+i.attributes.lang+(a?" ("+a+")":"")),t[o]||(t[o]={language:s,autoselect:!0,default:"main"===a,playlists:[],uri:""});var u=k(x(i,r),e);return t[o].playlists.push(u),void 0===n&&"main"===a&&((n=i).default=!0),t},{});if(!n){var a=Object.keys(i)[0];i[a].default=!0}return i},q=function(t){var e,r=t.attributes,n=t.segments,i=t.sidx,a=t.discontinuityStarts,s={attributes:((e={NAME:r.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:r.width,height:r.height},CODECS:r.codecs,BANDWIDTH:r.bandwidth})["PROGRAM-ID"]=1,e),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuityStarts:a,timelineStarts:r.timelineStarts,segments:n};return r.frameRate&&(s.attributes["FRAME-RATE"]=r.frameRate),r.contentProtection&&(s.contentProtection=r.contentProtection),i&&(s.sidx=i),s},j=function(t){var e=t.attributes;return"video/mp4"===e.mimeType||"video/webm"===e.mimeType||"video"===e.contentType},F=function(t){var e=t.attributes;return"audio/mp4"===e.mimeType||"audio/webm"===e.mimeType||"audio"===e.contentType},X=function(t){var e=t.attributes;return"text/vtt"===e.mimeType||"text"===e.contentType},W=function(t,e){t.forEach(function(t){t.mediaSequence=0,t.discontinuitySequence=g(e,function(e){return e.timeline===t.timeline}
1),t.segments&&t.segments.forEach(function(t,e){t.number=e})})},V=function(t){return t?Object.keys(t).reduce(function(e,r){var n=t[r];return e.concat(n.playlists)},[]):[]},H=function(t){var e,r,n=t.dashPlaylists,i=t.locations,a=t.sidxMapping,s=void 0===a?{}:a,o=t.previousManifest;if(!n.length)return{};var u=n[0].attributes,l=u.sourceDuration,d=u.type,c=u.suggestedPresentationDelay,p=u.minimumUpdatePeriod,h=O(n.filter(j)).map(q),f=O(n.filter(F)),g=O(n.filter(X)),m=n.map(function(t){return t.attributes.captionServices}).filter(Boolean),A={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:((r={AUDIO:{},VIDEO:{}})["CLOSED-CAPTIONS"]={},r.SUBTITLES={},r),uri:"",duration:l,playlists:_(h,s)};p>=0&&(A.minimumUpdatePeriod=1e3*p),i&&(A.locations=i),"dynamic"===d&&(A.suggestedPresentationDelay=c);var y=0===A.playlists.length,v=f.length?B(f,s,y):null,b=g.length?(void 0===(e=s)&&(e={}),g.reduce(function(t,r){var n=r.attributes.lang||"text";return t[n]||(t[n]={language:n,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(k(U(r),e)),t},{})):null,E=h.concat(V(v),V(b));return(A.timelineStarts=C(E.map(function(t){return t.timelineStarts})),W(E,A.timelineStarts),v&&(A.mediaGroups.AUDIO.audio=v),b&&(A.mediaGroups.SUBTITLES.subs=b),m.length&&(A.mediaGroups["CLOSED-CAPTIONS"].cc=m.reduce(function(t,e){return e&&e.forEach(function(e){var r=e.channel,n=e.language;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])}),t},{})),o)?L({oldManifest:o,newManifest:A}):A},G=function(t,e,r){var n=t.NOW,i=t.clientOffset,a=t.availabilityStartTime,s=t.timescale,o=t.periodStart,u=t.minimumUpdatePeriod;return Math.ceil((((n+i)/1e3+(void 0===u?0:u)-(a+(void 0===o?0:o)))*(void 0===s?1:s)-e)/r)},z=function(t,e){for(var r=t.type,n=t.minimumUpdatePeriod,i=void 0===n?0:n,a=t.media,s=void 0===a?"":a,o=t.sourceDuration,u=t.timescale,l=void 0===u?1:u,d=t.startNumber,c=void 0===d?1:d,p=t.periodStart,h=[],f=-1,g=0;g<e.length;g++){var m=e[g],A=m.d,y=m.r||0,v=m.t||0;f<0&&(f=v),v&&v>f&&(f=v);var b=void 0;if(y<0){var E=g+1;b=E===e.length?"dynamic"===r&&i>0&&s.indexOf("$Number$")>0?G(t,f,A):(o*l-f)/A:(e[E].t-f)/A}else b=y+1;for(var T=c+h.length+b,D=c+h.length;D<T;)h.push({number:D,duration:A/l,time:f,timeline:p}),f+=A,D++}return h},Y=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,$=function(t,e){return t.replace(Y,function(t,r,n,i){if("$$"===t)return"$";if(void 0===e[r])return t;var a=""+e[r];return"RepresentationID"===r||(i=n?parseInt(i,10):1,a.length>=i)?a:""+Array(i-a.length+1).join("0")+a})},Z=function(t,e){var r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},i=t.initialization,a=void 0===i?{sourceURL:"",range:""}:i,s=A({baseUrl:t.baseUrl,source:$(a.sourceURL,r),range:a.range});return(!t.duration&&!e?[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}]:t.duration?E(t):z(t,e)).map(function(e){r.Number=e.number,r.Time=e.time;var i=$(t.media||"",r),a=t.timescale||1,o=t.presentationTimeOffset||0,u=t.periodStart+(e.time-o)/a;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.A)(t.baseUrl||"",i),map:s,number:e.number,presentationTime:u}})},K=function(t,e){var r=t.baseUrl,n=t.initialization,i=void 0===n?{}:n,a=A({baseUrl:r,source:i.sourceURL,range:i.range}),s=A({baseUrl:r,source:e.media,range:e.mediaRange});return s.map=a,s},Q=function(t,e){var r,n=t.duration,i=t.segmentUrls,a=t.periodStart;if(!n&&!e||n&&e)throw Error(m.SEGMENT_TIME_UNSPECIFIED);var s=(void 0===i?[]:i).map(function(e){return K(t,e)});return n&&(r=E(t)),e&&(r=z(t,e)),r.map(function(e,r){if(s[r]){var n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}}).filter(function(t){return t})},J=function(t){var e,r,n=t.attributes,i=t.segmentInfo;i.template?(r=Z,e=d(n,i.template)):i.base?(r=T,e=d(n,i.base)):i.list&&(r=Q,e=d(n,i.list));var a={attributes:n};if(!r)return a;var s=r(e,i.segmentTimeline);if(e.duration){var o=e,u=o.duration,l=o.timescale;e.duration=u/(void 0===l?1:l)}else s.length?e.duration=s.reduce(function(t,e){return Math.max(t,Math.ceil(e.duration))},0):e.duration=0;return a.attributes=e,a.segments=s,i.base&&e.indexRange&&(a.sidx=s[0],a.segments=[]),a},tt=function(t,e){return f(t.childNodes).filter(function(t){return t.tagName===e})},te=function(t){return t.textContent.trim()},tr=function(t){var e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;var r=e.slice(1),n=r[0],i=r[1],a=r[2],s=r[3],o=r[4],u=r[5];
1return 31536e3*parseFloat(n||0)+2592e3*parseFloat(i||0)+86400*parseFloat(a||0)+3600*parseFloat(s||0)+60*parseFloat(o||0)+parseFloat(u||0)},tn={mediaPresentationDuration:function(t){return tr(t)},availabilityStartTime:function(t){var e;return e=t,/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e)&&(e+="Z"),Date.parse(e)/1e3},minimumUpdatePeriod:function(t){return tr(t)},suggestedPresentationDelay:function(t){return tr(t)},type:function(t){return t},timeShiftBufferDepth:function(t){return tr(t)},start:function(t){return tr(t)},width:function(t){return parseInt(t,10)},height:function(t){return parseInt(t,10)},bandwidth:function(t){return parseInt(t,10)},frameRate:function(t){return parseFloat(t.split("/").reduce(function(t,e){return t/e}))},startNumber:function(t){return parseInt(t,10)},timescale:function(t){return parseInt(t,10)},presentationTimeOffset:function(t){return parseInt(t,10)},duration:function(t){var e=parseInt(t,10);return isNaN(e)?tr(t):e},d:function(t){return parseInt(t,10)},t:function(t){return parseInt(t,10)},r:function(t){return parseInt(t,10)},DEFAULT:function(t){return t}},ti=function(t){return t&&t.attributes?f(t.attributes).reduce(function(t,e){var r=tn[e.name]||tn.DEFAULT;return t[e.name]=r(e.value),t},{}):{}},ta={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},ts=function(t,e){return e.length?h(t.map(function(t){return e.map(function(e){return(0,n.A)(t,te(e))})})):t},to=function(t){var e=tt(t,"SegmentTemplate")[0],r=tt(t,"SegmentList")[0],n=r&&tt(r,"SegmentURL").map(function(t){return d({tag:"SegmentURL"},ti(t))}),i=tt(t,"SegmentBase")[0],a=r||e,s=a&&tt(a,"SegmentTimeline")[0],o=r||i||e,u=o&&tt(o,"Initialization")[0],l=e&&ti(e);l&&u?l.initialization=u&&ti(u):l&&l.initialization&&(l.initialization={sourceURL:l.initialization});var c={template:l,segmentTimeline:s&&tt(s,"S").map(function(t){return ti(t)}),list:r&&d(ti(r),{segmentUrls:n,initialization:ti(u)}),base:i&&d(ti(i),{initialization:ti(u)})};return Object.keys(c).forEach(function(t){c[t]||delete c[t]}),c},tu=function(t){var e=t.attributes,r=t.priorPeriodAttributes,n=t.mpdType;return"number"==typeof e.start?e.start:r&&"number"==typeof r.start&&"number"==typeof r.duration?r.start+r.duration:r||"static"!==n?null:0},tl=function(t,e){void 0===e&&(e={});var r=e,n=r.manifestUri,i=r.NOW,a=void 0===i?Date.now():i,s=r.clientOffset,u=tt(t,"Period");if(!u.length)throw Error(m.INVALID_NUMBER_OF_PERIOD);var l=tt(t,"Location"),c=ti(t),p=ts([void 0===n?"":n],tt(t,"BaseURL"));c.type=c.type||"static",c.sourceDuration=c.mediaPresentationDuration||0,c.NOW=a,c.clientOffset=void 0===s?0:s,l.length&&(c.locations=l.map(te));var f=[];return u.forEach(function(t,e){var r=ti(t),n=f[e-1];r.start=tu({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:c.type}),f.push({node:t,attributes:r})}),{locations:c.locations,representationInfo:h(f.map(function(t,e){var r=ts(p,tt(t.node,"BaseURL")),n=d(c,{periodStart:t.attributes.start});"number"==typeof t.attributes.duration&&(n.periodDuration=t.attributes.duration);var i=tt(t.node,"AdaptationSet"),a=to(t.node);return h(i.map(function(t){var e,i,s=ti(t),u=ts(r,tt(t,"BaseURL")),l=d(n,s,{role:ti(tt(t,"Role")[0])}),c="urn:scte:dash:cc:cea-608:2015"===(e=ti(tt(t,"Accessibility")[0])).schemeIdUri?("string"!=typeof e.value?[]:e.value.split(";")).map(function(t){if(r=t,/^CC\d=/.test(t)){var e,r,n=t.split("=");e=n[0],r=n[1]}else/^CC\d$/.test(t)&&(e=t);return{channel:e,language:r}}):"urn:scte:dash:cc:cea-708:2015"===e.schemeIdUri?("string"!=typeof e.value?[]:e.value.split(";")).map(function(t){var e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){var r=t.split("="),n=r[0],i=r[1];e.channel=n,e.language=t,(void 0===i?"":i).split(",").forEach(function(t){var r=t.split(":"),n=r[0],i=r[1];"lang"===n?e.language=i:"er"===n?e.easyReader=Number(i):"war"===n?e.aspectRatio=Number(i):"3D"===n&&(e["3D"]=Number(i))})}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e}):void 0;c&&(l=d(l,{captionServices:c}));var p=tt(t,"Label")[0];p&&p.childNodes.length&&(l=d(l,{label:p.childNodes[0].nodeValue.trim()}));var f=tt(t,"ContentProtection").reduce(function(t,e){var r=ti(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());var n=ta[r.schemeIdUri];if(n){t[n]={attributes:r};var i=tt(e,"cenc:pssh")[0];if(i){var a=te(i);t[n].pssh=a&&(0,o.A)(a)}}return t},{});Object.keys(f).length&&(l=d(l,{contentProtection:f}));var g=to(t),m=tt(t,"Representation"),A=d(a,g);return h(m.map((i=l,function(t){var e=ts(u,tt(t,"BaseURL")),r=d(i,ti(t)),n=to(t);return e.map(function(t){return{segmentInfo:d(A,n),attributes:d(r,{baseUrl:t})}})})))}))}))}},td=function(t){if(""===t)throw Error(m.DASH_EMPTY_MANIFEST);var e,r,n=new u.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(t){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw Error(m.DASH_INVALID_XML);return r},tc=function(t){var e=tt(t,"UTCTiming")[0];if(!e)return null;var r=ti(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw Error(m.UNSUPPORTED_UTC_TIMING_SCHEME)}return r},tp=function(t,e){void 0===e&&(e={});var r=tl(td(t),e);return H({dashPlaylists:r.representationInfo.map(J),locations:r.locations,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest})},th=function(t){return tc(td(t))}},15455:(t,e,r)=>{"use strict";var n=r(82244).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=n({Aacute:"\xc1",aacute:"\xe1",Abreve:"Ä",abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"Ð",acy:"а",AElig:"\xc6",aelig:"\xe6",af:"â¡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"\xc0",agrave:"\xe0",alefsym:"âµ",aleph:"âµ",Alpha:"Î",alpha:"α",Amacr:"Ä",amacr:"Ä",amalg:"⨿",AMP:"&",amp:"&",And:"â©",and:"â§",andand:"â©",andd:"â©",andslo
1pe:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"\xc5",angzarr:"â¼",Aogon:"Ä",aogon:"Ä
",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"â",apacir:"⩯",apE:"â©°",ape:"â",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",Aring:"\xc5",aring:"\xe5",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"â",ast:"*",asymp:"â",asympeq:"â",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"â³",awint:"â¨",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",Backslash:"â",Barv:"â«§",barvee:"â½",Barwed:"â",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",Bcy:"Ð",bcy:"б",bdquo:"â",becaus:"âµ",Because:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",Bernoullis:"â¬",Beta:"Î",beta:"β",beth:"â¶",between:"â¬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bNot:"â«",bnot:"â",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"â¥",bottom:"â¥",bowtie:"â",boxbox:"â§",boxDL:"â",boxDl:"â",boxdL:"â",boxdl:"â",boxDR:"â",boxDr:"â",boxdR:"â",boxdr:"â",boxH:"â",boxh:"â",boxHD:"â¦",boxHd:"â¤",boxhD:"â¥",boxhd:"â¬",boxHU:"â©",boxHu:"â§",boxhU:"â¨",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxUL:"â",boxUl:"â",boxuL:"â",boxul:"â",boxUR:"â",boxUr:"â",boxuR:"â",boxur:"â",boxV:"â",boxv:"â",boxVH:"â¬",boxVh:"â«",boxvH:"âª",boxvh:"â¼",boxVL:"â£",boxVl:"â¢",boxvL:"â¡",boxvl:"â¤",boxVR:"â ",boxVr:"â",boxvR:"â",boxvr:"â",bprime:"âµ",Breve:"Ë",breve:"Ë",brvbar:"\xa6",Bscr:"â¬",bscr:"\uD835\uDCB7",bsemi:"â",bsim:"â½",b
1sime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",Bumpeq:"â",bumpeq:"â",Cacute:"Ä",cacute:"Ä",Cap:"â",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",CapitalDifferentialD:"â
",caps:"â©ï¸",caret:"â",caron:"Ë",Cayleys:"â",ccaps:"â©",Ccaron:"Ä",ccaron:"Ä",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"Ä",ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",Cdot:"Ä",cdot:"Ä",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"â",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"Ñ",check:"â",checkmark:"â",Chi:"Χ",chi:"Ï",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"\xae",circledS:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",cirE:"â§",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",clubs:"â£",clubsuit:"â£",Colon:"â·",colon:":",Colone:"â©´",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",Congruent:"â¡",Conint:"â¯",conint:"â®",ContourIntegral:"â®",Copf:"â",copf:"\uD835\uDD54",coprod:"â",Coproduct:"â",COPY:"\xa9",copy:"\xa9",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",Cross:"⨯",cross:"â",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",Cup:"â",cup:"âª",cupbrcap:"â©",CupCap:"â",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"\xa4",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",Dagger:"â¡",dagger:"â ",daleth:"â¸",Darr:"â¡",dArr:"â",darr:"â",dash:"â",Dashv:"⫤",dashv:"â£",dbkarow:"â¤",dblac:"Ë",Dcaron:"Ä",dcaron:"Ä",Dcy:"Ð",dcy:"д",DD:"â
",dd:"â
",ddagger:"â¡",ddarr:"â",DDotrahd:"â¤",ddotseq:"â©·",deg:"\xb0",Del:"â",Delta:"Î",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"\xb4",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",Diamond:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"\xa8",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"\xf7",divide:"\xf7",divideontimes:"â",divonx:"â",DJcy:"Ð",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"\xa8",dot:"Ë",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"\xa8",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",Downarrow:"â",downarrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",drbkarow:"â¤",drcorn:"â",drcrop:"â",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ð
",dscy:"Ñ",dsol:"â§¶",Dstrok:"Ä",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"Ñ",dzigrarr:"â¿",Eacute:"\xc9",eacute:"\xe9",easter:"â©®",Ecaron:"Ä",ecaron:"Ä",ecir:"â",Ecirc:"\xca",ecirc:"\xea",ecolon:"â",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä",eDot:"â",edot:"Ä",ee:"â
",efDot:"â",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"âª",Egrave:"\xc8",egrave:"\xe8",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",Emacr:"Ä",emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",ENG:"Å",eng:"Å",ensp:"â",Eogon:"Ä",eogon:"Ä",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",Epsilon:"Î",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",Equal:"⩵",equals:"=",EqualTilde:"â",equest:"â",Equilibrium:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erarr:"⥱",erDot:"â",Escr:"â°",escr:"â¯",esdot:"â",Esim:"⩳",esim:"â",Eta:"Î",eta:"η",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",ExponentialE:"â
",exponentiale:"â
",fallingdotseq:"â",Fcy:"Ф",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"â",forall:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"\xbd",frac13:"â
",frac14:"\xbc",frac15:"â
",frac16:"â
",frac18
1:"â
",frac23:"â
",frac25:"â
",frac34:"\xbe",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",Fscr:"â±",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Î",gamma:"γ",Gammad:"Ï",gammad:"Ï",gap:"âª",Gbreve:"Ä",gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",gcirc:"Ä",Gcy:"Ð",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",gE:"â§",ge:"â¥",gEl:"âª",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"â",gg:"â«",ggg:"â",gimel:"â·",GJcy:"Ð",gjcy:"Ñ",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gnE:"â©",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"\uD835\uDCA2",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",Gt:"â«",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"\xbd",hamilt:"â",HARDcy:"Ъ",hardcy:"Ñ",hArr:"â",harr:"â",harrcir:"â¥",harrw:"â",Hat:"^",hbar:"â",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",Hfr:"â",hfr:"\uD835\uDD25",HilbertSpace:"â",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",Hopf:"â",hopf:"\uD835\uDD59",horbar:"â",HorizontalLine:"â",Hscr:"â",hscr:"\uD835\uDCBD",hslash:"â",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"â",HumpEqual:"â",hybull:"â",hyphen:"â",Iacute:"\xcd",iacute:"\xed",ic:"â£",Icirc:"\xce",icirc:"\xee",Icy:"Ð",icy:"и",Idot:"İ",IEcy:"Ð",iecy:"е",iexcl:"\xa1",iff:"â",Ifr:"â",ifr:"\uD835\uDD26",Igrave:"\xcc",igrave:"\xec",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",IJlig:"IJ",ijlig:"ij",Im:"â",Imacr:"Ī",imacr:"Ä«",image:"â",ImaginaryI:"â
",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",Implies:"â",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",Int:"â¬",int:"â«",intcal:"âº",integers:"â¤",Integral:"â«",intercal:"âº",Intersection:"â",intlarhk:"â¨",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",IOcy:"Ð",iocy:"Ñ",Iogon:"Ä®",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Î",iota:"ι",iprod:"⨼",iquest:"\xbf",Iscr:"â",iscr:"\uD835\uDCBE",isin:"â",isindot:"âµ",isinE:"â¹",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"Ð",iukcy:"Ñ",Iuml:"\xcf",iuml:"\xef",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Ð",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"È·",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ð",jsercy:"Ñ",Jukcy:"Ð",jukcy:"Ñ",Kappa:"Î",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"Ð",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ
",KJcy:"Ð",kjcy:"Ñ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"â",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â",Lambda:"Î",lambda:"λ",Lang:"âª",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",Laplacetrf:"â",laquo:"\xab",Larr:"â",lArr:"â",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",lAtail:"â¤",latail:"â¤",late:"âª",lates:"âªï¸",lBarr:"â¤",lbarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ä»",lcedil:"ļ",lceil:"â",lcub:"{",Lcy:"Ð",lcy:"л",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",lE:"â¦",le:"â¤",LeftAngleBracket:"â¨",LeftArrow:"â",Leftarrow:"â",leftarrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",leftarrowtail:"â¢",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",LeftRightArrow:"â",Leftrightarrow:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",leftthreetimes:"â",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",lEg:"âª",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â
1",lesseqgtr:"â",lesseqqgtr:"âª",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",lessgtr:"â¶",LessLess:"⪡",lesssim:"â²",LessSlantEqual:"⩽",LessTilde:"â²",lfisht:"⥼",lfloor:"â",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"â¶",lgE:"âª",lHar:"⥢",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",LJcy:"Ð",ljcy:"Ñ",Ll:"â",ll:"âª",llarr:"â",llcorner:"â",Lleftarrow:"â",llhard:"⥫",lltri:"âº",Lmidot:"Ä¿",lmidot:"Å",lmoust:"â°",lmoustache:"â°",lnap:"âª",lnapprox:"âª",lnE:"â¨",lne:"âª",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",LongLeftArrow:"âµ",Longleftarrow:"â¸",longleftarrow:"âµ",LongLeftRightArrow:"â·",Longleftrightarrow:"âº",longleftrightarrow:"â·",longmapsto:"â¼",LongRightArrow:"â¶",Longrightarrow:"â¹",longrightarrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",LowerLeftArrow:"â",LowerRightArrow:"â",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",Lscr:"â",lscr:"\uD835\uDCC1",Lsh:"â°",lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",Lstrok:"Å",lstrok:"Å",Lt:"âª",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltri:"â",ltrie:"â´",ltrif:"â",ltrPar:"â¦",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",macr:"\xaf",male:"â",malt:"â ",maltese:"â ",Map:"â¤
",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",Mcy:"Ð",mcy:"м",mdash:"â",mDDot:"âº",measuredangle:"â¡",MediumSpace:"â",Mellintrf:"â³",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"â§",micro:"\xb5",mid:"â£",midast:"*",midcir:"â«°",middot:"\xb7",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",MinusPlus:"â",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"â",Mscr:"â³",mscr:"\uD835\uDCC2",mstpos:"â¾",Mu:"Î",mu:"μ",multimap:"â¸",mumap:"â¸",nabla:"â",Nacute:"Å",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:"\xa0",nbump:"â̸",nbumpe:"â̸",ncap:"â©",Ncaron:"Å",ncaron:"Å",Ncedil:"Å
",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",Ncy:"Ð",ncy:"н",ndash:"â",ne:"â ",nearhk:"⤤",neArr:"â",nearr:"â",nearrow:"â",nedot:"â̸",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",nequiv:"â¢",nesear:"⤨",nesim:"â̸",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:"\n",nexist:"â",nexists:"â",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"â§Ì¸",nge:"â±",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"â̸",ngsim:"âµ",nGt:"â«â",ngt:"â¯",ngtr:"â¯",nGtv:"â«Ì¸",nhArr:"â",nharr:"â®",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",NJcy:"Ð",njcy:"Ñ",nlArr:"â",nlarr:"â",nldr:"â¥",nlE:"â¦Ì¸",nle:"â°",nLeftarrow:"â",nleftarrow:"â",nLeftrightarrow:"â",nleftrightarrow:"â®",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nLl:"â̸",nlsim:"â´",nLt:"âªâ",nlt:"â®",nltri:"âª",nltrie:"â¬",nLtv:"âªÌ¸",nmid:"â¤",NoBreak:"â ",NonBreakingSpace:"\xa0",Nopf:"â",nopf:"\uD835\uDD5F",Not:"⫬",not:"\xac",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",notin:"â",notindot:"âµÌ¸",notinE:"â¹Ì¸",notinva:"â",notinvb:"â·",notinvc:"â¶",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â
1 ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nRightarrow:"â",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsubE:"â«
̸",nsube:"â",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupE:"â«Ì¸",nsupe:"â",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",Nu:"Î",nu:"ν",num:"#",numero:"â",numsp:"â",nvap:"ââ",nVDash:"â¯",nVdash:"â®",nvDash:"â",nvdash:"â¬",nvge:"â¥â",nvgt:">â",nvHarr:"â¤",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwarhk:"⤣",nwArr:"â",nwarr:"â",nwarrow:"â",nwnear:"⤧",Oacute:"\xd3",oacute:"\xf3",oast:"â",ocir:"â",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"Ð",ocy:"о",odash:"â",Odblac:"Å",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",OElig:"Å",oelig:"Å",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"Ë",Ograve:"\xd2",ograve:"\xf2",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",Omacr:"Å",omacr:"Å",Omega:"Ω",omega:"Ï",Omicron:"Î",omicron:"ο",omid:"⦶",ominus:"â",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",operp:"⦹",oplus:"â",Or:"â©",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"\xaa",ordm:"\xba",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",Oscr:"\uD835\uDCAA",oscr:"â´",Oslash:"\xd8",oslash:"\xf8",osol:"â",Otilde:"\xd5",otilde:"\xf5",Otimes:"⨷",otimes:"â",otimesas:"⨶",Ouml:"\xd6",ouml:"\xf6",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"\xb6",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",PartialD:"â",Pcy:"Ð",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",Pi:"Î ",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"â",pointint:"â¨",Popf:"â",popf:"\uD835\uDD61",pound:"\xa3",Pr:"⪻",pr:"âº",prap:"⪷",prcue:"â¼",prE:"⪳",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",Prime:"â³",prime:"â²",primes:"â",prnap:"⪹",prnE:"⪵",prnsim:"â¨",prod:"â",Product:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",Proportion:"â·",Proportional:"â",propto:"â",prsim:"â¾",prurel:"â°",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"Ï",puncsp:"â",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"â¨",Qopf:"â",qopf:"\uD835\uDD62",qprime:"â",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",QUOT:'"',quot:'"',rAarr:"â",race:"â½Ì±",Racute:"Å",racute:"Å",radic:"â",raemptyv:"⦳",Rang:"â«",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"\xbb",Rarr:"â ",rArr:"â",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",Rarrtl:"â¤",rarrtl:"â£",rarrw:"â",rAtail:"â¤",ratail:"â¤",ratio:"â¶",rationals:"â",RBarr:"â¤",rBarr:"â¤",rbarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",Rcaron:"Å",rcaron:"Å",Rcedil:"Å",rcedil:"Å",rceil:"â",rcub:"}",Rcy:"Ð ",rcy:"Ñ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",Re:"â",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",REG:"\xae",reg:"\xae",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rf
1isht:"⥽",rfloor:"â",Rfr:"â",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"â",rharu:"â",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"â©",RightArrow:"â",Rightarrow:"â",rightarrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",rightarrowtail:"â£",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",rightthreetimes:"â",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",Ropf:"â",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",Rrightarrow:"â",rsaquo:"âº",Rscr:"â",rscr:"\uD835\uDCC7",Rsh:"â±",rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",RuleDelayed:"â§´",ruluhar:"⥨",rx:"â",Sacute:"Å",sacute:"Å",sbquo:"â",Sc:"⪼",sc:"â»",scap:"⪸",Scaron:"Å ",scaron:"Å¡",sccue:"â½",scE:"⪴",sce:"⪰",Scedil:"Å",scedil:"Å",Scirc:"Å",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â©",scpolint:"â¨",scsim:"â¿",Scy:"С",scy:"Ñ",sdot:"â
",sdotb:"â¡",sdote:"⩦",searhk:"⤥",seArr:"â",searr:"â",searrow:"â",sect:"\xa7",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"â¢",sharp:"â¯",SHCHcy:"Щ",shchcy:"Ñ",SHcy:"Ш",shcy:"Ñ",ShortDownArrow:"â",ShortLeftArrow:"â",shortmid:"â£",shortparallel:"â¥",ShortRightArrow:"â",ShortUpArrow:"â",shy:"\xad",Sigma:"Σ",sigma:"Ï",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",SmallCircle:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",SOFTcy:"Ь",softcy:"Ñ",sol:"/",solb:"â§",solbar:"â¿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",Sqrt:"â",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",Square:"â¡",square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",squarf:"âª",squf:"âª",srarr:"â",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"â",ssmile:"â£",sstarf:"â",Star:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"\xaf",Sub:"â",sub:"â",subdot:"⪽",subE:"â«
",sube:"â",subedot:"â«",submult:"â«",subnE:"â«",subne:"â",subplus:"⪿",subrarr:"⥹",Subset:"â",subset:"â",subseteq:"â",subseteqq:"â«
",SubsetEqual:"â",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",SuchThat:"â",Sum:"â",sum:"â",sung:"âª",Sup:"â",sup:"â",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"â«",supE:"â«",supe:"â",supedot:"â«",Superset:"â",SupersetEqual:"â",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supnE:"â«",supne:"â",supplus:"â«",Supset:"â",supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swarhk:"⤦",swArr:"â",swarr:"â",swarrow:"â",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"â",Tau:"Τ",tau:"Ï",tbrk:"â´",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ",tdot:"â",telrec:"â",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"â´",Therefore:"â´",therefore:"â´",Theta:"Î",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickS
1pace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",THORN:"\xde",thorn:"\xfe",Tilde:"â¼",tilde:"Ë",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"\xd7",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"â«",tosa:"⤩",tprime:"â´",TRADE:"â¢",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",TripleDot:"â",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"Ñ",TSHcy:"Ð",tshcy:"Ñ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",Uacute:"\xda",uacute:"\xfa",Uarr:"â",uArr:"â",uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",ubrcy:"Ñ",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"У",ucy:"Ñ",udarr:"â
",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"⥣",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",Umacr:"Ū",umacr:"Å«",uml:"\xa8",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"â",Uparrow:"â",uparrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",Updownarrow:"â",updownarrow:"â",UpEquilibrium:"⥮",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",upsi:"Ï
",upsih:"Ï",Upsilon:"Î¥",upsilon:"Ï
",UpTee:"â¥",UpTeeArrow:"â¥",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",Uring:"Å®",uring:"ů",urtri:"â¹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"â°",Utilde:"Ũ",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",Uuml:"\xdc",uuml:"\xfc",uwangle:"⦧",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",vArr:"â",varr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",Vbar:"â««",vBar:"⫨",vBarv:"â«©",Vcy:"Ð",vcy:"в",VDash:"â«",Vdash:"â©",vDash:"â¨",vdash:"â¢",Vdashl:"⫦",Vee:"â",vee:"â¨",veebar:"â»",veeeq:"â",vellip:"â®",Verbar:"â",verbar:"|",Vert:"â",vert:"|",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"â²",vnsub:"ââ",vnsup:"ââ",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"â",vrtri:"â³",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",Vvdash:"âª",vzigzag:"â¦",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©",Wedge:"â",wedge:"â§",wedgeq:"â",weierp:"â",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"â",wr:"â",wreath:"â",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"âº",xharr:"â·",Xi:"Î",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",Yacute:"\xdd",yacute:"\xfd",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ",yen:"\xa5",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ð",yicy:"Ñ",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"Ñ",Yuml:"Ÿ",yuml:"\xff",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"Ð",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"â¨",ZeroWidthSpace:"â",Zeta:"Î",zeta:"ζ",Zfr:"â¨",zfr:"\uD835\uDD37",ZHcy:"Ð",zhcy:"ж",zigrarr:"â",Zopf:"â¤",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"â",zwnj:"â"}),e.entityMap=e.HTML_ENTITIES},21378:(t,e,r)=>{"use strict";var n=r(38216),i=r(74355),a=r(71120),s=r(97734),o=r(4640);d.httpHandler=r(62095),d.requestInterceptorsStorage=new s,d.responseInterceptorsStorage=new s,d.retryManager=new o;var u=function(t){var e={};return t&&t.trim().split("\n").forEach(function(t){var r=t.indexOf(":"),n=t.slice(0,r).trim().toLowerCase(),i=t.slice(r+1).trim();void 0===e[n]?e[n]=i:Array.isArray(e[n])?e[n].push(i):e[n]=[e[n],i]}),e};function l(t,e,r){var n=t;
1return a(e)?(r=e,"string"==typeof t&&(n={uri:t})):n=i({},e,{uri:t}),n.callback=r,n}function d(t,e,r){return c(e=l(t,e,r))}function c(t){if(void 0===t.callback)throw Error("callback argument missing");if(t.requestType&&d.requestInterceptorsStorage.getIsEnabled()){var e,r,n,i={uri:t.uri||t.url,headers:t.headers||{},body:t.body,metadata:t.metadata||{},retry:t.retry,timeout:t.timeout},a=d.requestInterceptorsStorage.execute(t.requestType,i);t.uri=a.uri,t.headers=a.headers,t.body=a.body,t.metadata=a.metadata,t.retry=a.retry,t.timeout=a.timeout}var s=!1,o=function(e,r,n){s||(s=!0,t.callback(e,r,n))};function l(e){if(clearTimeout(n),clearTimeout(t.retryTimeout),e instanceof Error||(e=Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,!r&&d.retryManager.getIsEnabled()&&t.retry&&t.retry.shouldRetry()){t.retryTimeout=setTimeout(function(){t.retry.moveToNextAttempt(),t.xhr=h,c(t)},t.retry.getCurrentFuzzedDelay());return}if(t.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var i={headers:b.headers||{},body:b.body,responseUrl:h.responseURL,responseType:h.responseType},a=d.responseInterceptorsStorage.execute(t.requestType,i);b.body=a.body,b.headers=a.headers}return o(e,b)}function p(){if(!r){clearTimeout(n),clearTimeout(t.retryTimeout);var e=t.useXDR&&void 0===h.status?200:1223===h.status?204:h.status,i=b,a=null;if(0!==e?(i={body:function(){var t=void 0;if(t=h.response?h.response:h.responseText||function(t){try{if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;if(""===t.responseType&&!e)return t.responseXML}catch(t){}return null}(h),v)try{t=JSON.parse(t)}catch(t){}return t}(),statusCode:e,method:g,headers:{},url:f,rawRequest:h},h.getAllResponseHeaders&&(i.headers=u(h.getAllResponseHeaders()))):a=Error("Internal XMLHttpRequest Error"),t.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var s={headers:i.headers||{},body:i.body,responseUrl:h.responseURL,responseType:h.responseType},l=d.responseInterceptorsStorage.execute(t.requestType,s);i.body=l.body,i.headers=l.headers}return o(a,i,i.body)}}var h=t.xhr||null;h||(h=t.cors||t.useXDR?new d.XDomainRequest:new d.XMLHttpRequest);var f=h.url=t.uri||t.url,g=h.method=t.method||"GET",m=t.body||t.data,A=h.headers=t.headers||{},y=!!t.sync,v=!1,b={body:void 0,headers:{},statusCode:0,method:g,url:f,rawRequest:h};if("json"in t&&!1!==t.json&&(v=!0,A.accept||A.Accept||(A.Accept="application/json"),"GET"!==g&&"HEAD"!==g&&(A["content-type"]||A["Content-Type"]||(A["Content-Type"]="application/json"),m=JSON.stringify(!0===t.json?m:t.json))),h.onreadystatechange=function(){4!==h.readyState||d.responseInterceptorsStorage.getIsEnabled()||setTimeout(p,0)},h.onload=p,h.onerror=l,h.onprogress=function(){},h.onabort=function(){r=!0,clearTimeout(t.retryTimeout)},h.ontimeout=l,h.open(g,f,!y,t.username,t.password),y||(h.withCredentials=!!t.withCredentials),!y&&t.timeout>0&&(n=setTimeout(function(){if(!r){r=!0,h.abort("timeout");var t=Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",l(t)}},t.timeout)),h.setRequestHeader)for(e in A)A.hasOwnProperty(e)&&h.setRequestHeader(e,A[e]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(h.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(h),h.send(m||null),h}t.exports=d,t.exports.default=d,d.XMLHttpRequest=n.XMLHttpRequest||function(){},d.XDomainRequest="withCredentials"in new d.XMLHttpRequest?d.XMLHttpRequest:n.XDomainRequest,function(t,e){for(var r=0;r<t.length;r++)e(t[r])}(["get","put","post","patch","head","delete"],function(t){d["delete"===t?"del":t]=function(e,r,n){return(r=l(e,r,n)).method=t.toUpperCase(),c(r)}})},22464:(t,e,r)=>{"use strict";r.d(e,{Af:()=>h,Ar:()=>p,Bu:()=>f,L7:()=>g,Sk:()=>d,WG:()=>c,W_:()=>o,hc:()=>s});var n=r(38216),i=r.n(n),a=function(t,e){for(var r="";e--;)r+=t;return r},s=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},o=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||s(t)||t instanceof ArrayBuffer||(t="number"!=typeof t||"number"==typeof t&&t!=t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},u=i().BigInt||Number,l=[u("0x1"),u("0x100"),u("0x10000"),u("0x1000000"),u("0x100000000"),u("0x10000000000"),u("0x1000000000000"),u("0x100000000000000"),u("0x10000000000000000")],d=(function(){var t=new Uint16Array([65484]),e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);255===e[0]||204===e[0]}(),function(t,e){var r=void 0===e?{}:e,n=r.signed,i=r.le,a=void 0!==i&&i;t=o(t);var s=a?"reduce":"reduceRight",d=(t[s]?t[s]:Array.prototype[s]).call(t,function(e,r,n){var i=a?n:Math.abs(n+1-t.length);return e+u(r)*l[i]},u(0));if(void 0!==n&&n){var c=l[t.length]/u(2)-u(1);(d=u(d))>c&&(d-=c,d-=c,d-=u(2))}return Number(d)}),c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0);for(var i=Math.ceil((t=u(t)).toString(2).length/8),a=new Uint8Array(new ArrayBuffer(i)),s=0;s<i;s++){var o=n?s:Math.abs(s+1-a.length);a[o]=Number(t/l[s]&u(255)),t<0&&(a[o]=Math.abs(~a[o]),a[o]-=0===s?1:2)}return a},p=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,o(t));try{return decodeURIComponent(escape(e))}catch(t){}return e},h=function(t,e){if("string"!=typeof t&&t&&"function"==typeof t.toString&&(t=t.toString()),"string"!=typeof t)return new Uint8Array;e||(t=unescape(encodeURIComponent(t)));
1for(var r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r},f=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if((e=e.filter(function(t){return t&&(t.byteLength||t.length)&&"string"!=typeof t})).length<=1)return o(e[0]);var n=new Uint8Array(e.reduce(function(t,e,r){return t+(e.byteLength||e.length)},0)),i=0;return e.forEach(function(t){t=o(t),n.set(t,i),i+=t.byteLength}),n},g=function(t,e,r){var n=void 0===r?{}:r,i=n.offset,a=void 0===i?0:i,s=n.mask,u=void 0===s?[]:s;t=o(t);var l=(e=o(e)).every?e.every:Array.prototype.every;return e.length&&t.length-a>=e.length&&l.call(e,function(e,r){return e===(u[r]?u[r]&t[a+r]:t[a+r])})}},22665:(t,e,r)=>{var n,i=void 0!==r.g?r.g:"undefined"!=typeof window?window:{},a=r(80542);"undefined"!=typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},24066:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(38216),i=r.n(n),a="https://example.com";let s=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=i().location&&i().location.href||"");var r=/^\/\//.test(t),n=!i().location&&!/\/\//i.test(t),s=new URL(e,t=new(i()).URL(t,i().location||a));return n?s.href.slice(a.length):r?s.href.slice(s.protocol.length):s.href}},25622:(t,e,r)=>{"use strict";r.d(e,{ne:()=>I,J2:()=>P});var n,i=r(61096);new Uint8Array([79,112,117,115,72,101,97,100]);var a=function(t){return"string"==typeof t?(0,i.Af)(t):t},s=function(t){t=(0,i.W_)(t);for(var e=[],r=0;t.length>r;){var a=t[r],s=0,o=0,u=t[++o];for(o++;128&u;)s=(127&u)<<7,u=t[o],o++;s+=127&u;for(var l=0;l<n.length;l++){var d=n[l],c=d.id,p=d.parser;if(a===c){e.push(p(t.subarray(o,o+s)));break}}r+=s+o}return e};n=[{id:3,parser:function(t){var e={tag:3,id:t[0]<<8|t[1],flags:t[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&e.flags&&(e.dependsOnEsId=t[e.size]<<8|t[e.size+1],e.size+=2),64&e.flags){var r=t[e.size];e.url=(0,i.Ar)(t.subarray(e.size+1,e.size+1+r)),e.size+=r}return 32&e.flags&&(e.ocrEsId=t[e.size]<<8|t[e.size+1],e.size+=2),e.descriptors=s(t.subarray(e.size))||[],e}},{id:4,parser:function(t){return{tag:4,oti:t[0],streamType:t[1],bufferSize:t[2]<<16|t[3]<<8|t[4],maxBitrate:t[5]<<24|t[6]<<16|t[7]<<8|t[8],avgBitrate:t[9]<<24|t[10]<<16|t[11]<<8|t[12],descriptors:s(t.subarray(13))}}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var o=function t(e,r,n){void 0===n&&(n=!1),r=Array.isArray(s=r)?s.map(function(t){return a(t)}):[a(s)],e=(0,i.W_)(e);var s,o=[];if(!r.length)return o;for(var u=0;u<e.length;){var l=(e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3])>>>0,d=e.subarray(u+4,u+8);if(0===l)break;var c=u+l;if(c>e.length){if(n)break;c=e.length}var p=e.subarray(u+8,c);(0,i.L7)(d,r[0])&&(1===r.length?o.push(p):o.push.apply(o,t(p,r.slice(1),n))),u=c}return o},u=function(t,e){if(!(e=a(e)).length)return t.subarray(t.length);for(var r=0;r<t.length;){if(bytesMatch(t.subarray(r,r+e.length),e)){var n=(t[r-4]<<24|t[r-3]<<16|t[r-2]<<8|t[r-1])>>>0,i=n>1?r+n:t.byteLength;return t.subarray(r+4,i)}r++}return t.subarray(t.length)},l=function(t,e,r){void 0===e&&(e=4),void 0===r&&(r=function(t){return bytesToNumber(t)});var n=[];if(!t||!t.length)return n;for(var i=bytesToNumber(t.subarray(4,8)),a=8;i;a+=e,i--)n.push(r(t.subarray(a,a+e)));return n},d={EBML:(0,i.W_)([26,69,223,163]),DocType:(0,i.W_)([66,130]),Segment:(0,i.W_)([24,83,128,103]),SegmentInfo:(0,i.W_)([21,73,169,102]),Tracks:(0,i.W_)([22,84,174,107]),Track:(0,i.W_)([174]),TrackNumber:(0,i.W_)([215]),DefaultDuration:(0,i.W_)([35,227,131]),TrackEntry:(0,i.W_)([174]),TrackType:(0,i.W_)([131]),FlagDefault:(0,i.W_)([136]),CodecID:(0,i.W_)([134]),CodecPrivate:(0,i.W_)([99,162]),VideoTrack:(0,i.W_)([224]),AudioTrack:(0,i.W_)([225]),Cluster:(0,i.W_)([31,67,182,117]),Timestamp:(0,i.W_)([231]),TimestampScale:(0,i.W_)([42,215,177]),BlockGroup:(0,i.W_)([160]),BlockDuration:(0,i.W_)([155]),Block:(0,i.W_)([161]),SimpleBlock:(0,i.W_)([163])},c=[128,64,32,16,8,4,2,1],p=function(t){for(var e=1,r=0;r<c.length&&!(t&c[r]);r++)e++;return e},h=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=p(t[e]),s=t.subarray(e,e+a);return r&&(s=Array.prototype.slice.call(t,e,e+a),s[0]^=c[a-1]),{length:a,value:(0,i.Sk)(s,{signed:n}),bytes:s}},f=function t(e){return"string"==typeof e?e.match(/.{1,2}/g).map(function(e){return t(e)}):"number"==typeof e?(0,i.WG)(e):e},g=function t(e,r,n){if(n>=r.length)return r.length;var a=h(r,n,!1);if((0,i.L7)(e.bytes,a.bytes))return n;var s=h(r,n+a.length);return t(e,r,n+s.length+s.value+a.length)},m=function t(e,r){r=Array.isArray(n=r)?n.map(function(t){return f(t)}):[f(n)],e=(0,i.W_)(e);var n,a=[];if(!r.length)return a;for(var s=0;s<e.length;){var o=h(e,s,!1),u=h(e,s+o.length),l=s+o.length+u.length;127===u.value&&(u.value=g(o,e,l),u.value!==e.length&&(u.value-=l));var d=l+u.value>e.length?e.length:l+u.value,c=e.subarray(l,d);(0,i.L7)(r[0],o.bytes)&&(1===r.length?a.push(c):a=a.concat(t(c,r.slice(1)))),s+=o.length+u.length+c.length}return a},A=function(t){for(var e=0,r={};e<t.length;){var n=127&t[e],i=t[e+1],a=void 0;a=1===i?t[e+2]:t.subarray(e+2,e+2+i),1===n?r.profile=a:2===n?r.level=a:3===n?r.bitDepth=a:4===n?r.chromaSubsampling=a:r[n]=a,e+=2
1+i}return r},y=r(27752),v=(0,i.W_)([0,0,0,1]),b=(0,i.W_)([0,0,1]),E=(0,i.W_)([0,0,3]),T=function(t){for(var e=[],r=1;r<t.length-2;)(0,i.L7)(t.subarray(r,r+3),E)&&(e.push(r+2),r++),r++;if(0===e.length)return t;var n=t.length-e.length,a=new Uint8Array(n),s=0;for(r=0;r<n;s++,r++)s===e[0]&&(s++,e.shift()),a[r]=t[s];return a},D=function(t,e,r,n){void 0===n&&(n=1/0),t=(0,i.W_)(t),r=[].concat(r);for(var a,s=0,o=0;s<t.length&&(o<n||a);){var u=void 0;if((0,i.L7)(t.subarray(s),v)?u=4:(0,i.L7)(t.subarray(s),b)&&(u=3),!u){s++;continue}if(o++,a)return T(t.subarray(a,s));var l=void 0;"h264"===e?l=31&t[s+u]:"h265"===e&&(l=t[s+u]>>1&63),-1!==r.indexOf(l)&&(a=s+u),s+=u+("h264"===e?1:2)}return t.subarray(0,0)},S={webm:(0,i.W_)([119,101,98,109]),matroska:(0,i.W_)([109,97,116,114,111,115,107,97]),flac:(0,i.W_)([102,76,97,67]),ogg:(0,i.W_)([79,103,103,83]),ac3:(0,i.W_)([11,119]),riff:(0,i.W_)([82,73,70,70]),avi:(0,i.W_)([65,86,73]),wav:(0,i.W_)([87,65,86,69]),"3gp":(0,i.W_)([102,116,121,112,51,103]),mp4:(0,i.W_)([102,116,121,112]),fmp4:(0,i.W_)([115,116,121,112]),mov:(0,i.W_)([102,116,121,112,113,116]),moov:(0,i.W_)([109,111,111,118]),moof:(0,i.W_)([109,111,111,102])},w={aac:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=m(t,[d.EBML,d.DocType])[0];return(0,i.L7)(e,S.webm)},mkv:function(t){var e=m(t,[d.EBML,d.DocType])[0];return(0,i.L7)(e,S.matroska)},mp4:function(t){return!(w["3gp"](t)||w.mov(t))&&(!!((0,i.L7)(t,S.mp4,{offset:4})||(0,i.L7)(t,S.fmp4,{offset:4})||(0,i.L7)(t,S.moof,{offset:4})||(0,i.L7)(t,S.moov,{offset:4}))||void 0)},mov:function(t){return(0,i.L7)(t,S.mov,{offset:4})},"3gp":function(t){return(0,i.L7)(t,S["3gp"],{offset:4})},ac3:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,S.ac3,{offset:e})},ts:function(t){if(t.length<189&&t.length>=1)return 71===t[0];for(var e=0;e+188<t.length&&e<188;){if(71===t[e]&&71===t[e+188])return!0;e+=1}return!1},flac:function(t){var e=(0,y.A)(t);return(0,i.L7)(t,S.flac,{offset:e})},ogg:function(t){return(0,i.L7)(t,S.ogg)},avi:function(t){return(0,i.L7)(t,S.riff)&&(0,i.L7)(t,S.avi,{offset:8})},wav:function(t){return(0,i.L7)(t,S.riff)&&(0,i.L7)(t,S.wav,{offset:8})},h264:function(t){return D(t,"h264",7,3).length},h265:function(t){return D(t,"h265",[32,33],3).length}},C=Object.keys(w).filter(function(t){return"ts"!==t&&"h264"!==t&&"h265"!==t}).concat(["ts","h264","h265"]);C.forEach(function(t){var e=w[t];w[t]=function(t){return e((0,i.W_)(t))}});var I=function(t){t=(0,i.W_)(t);for(var e=0;e<C.length;e++){var r=C[e];if(w[r](t))return r}return""},P=function(t){return o(t,["moof"]).length>0}},26345:(t,e,r)=>{"use strict";r.d(e,{BX:()=>d,Et:()=>u,TY:()=>h,UD:()=>p,YZ:()=>f,Yg:()=>g,dv:()=>m,fz:()=>c,tB:()=>l});var n=r(38216),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},s=["video","audio","text"],o=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)}):t},l=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach(function(t){var e;t=t.trim(),s.forEach(function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var s=t.substring(0,i[1].length),o=t.replace(s,"");r.push({type:s,details:o,mediaType:n})}}),e||r.push({type:t,details:"",mediaType:"unknown"})}),r},d=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return l(i.playlists[0].attributes.CODECS)}return null},c=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},p=function(t){if(t&&"string"==typeof t){var e,r=t.toLowerCase().split(",").map(function(t){return u(t.trim())}),n="video";1===r.length&&c(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&
1(n="application");var i="mp4";return r.every(function(t){return a.mp4.test(t)})?i="mp4":r.every(function(t){return a.webm.test(t)})?i="webm":r.every(function(t){return a.ogg.test(t)})&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},h=function(t,e){return void 0===t&&(t=""),void 0===e&&(e=!1),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(p(t))||e&&i().ManagedMediaSource&&i().ManagedMediaSource.isTypeSupported&&i().ManagedMediaSource.isTypeSupported(p(t))||!1},f=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every(function(t){t=t.trim();for(var e=0;e<o.length;e++)if(a["muxer"+o[e]].test(t))return!0;return!1})},g="mp4a.40.2",m="avc1.4d400d"},26740:(t,e,r)=>{"use strict";var n=r(38216);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)return void t(r);if(i.statusCode>=400&&i.statusCode<=599){var s=a;if(e)if(n.TextDecoder){var o,u=(void 0===(o=i.headers&&i.headers["content-type"])&&(o=""),o.toLowerCase().split(";").reduce(function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t},"utf-8"));try{s=new TextDecoder(u).decode(a)}catch(t){}}else s=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:s});return}t(null,a)}}},27196:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(74767);function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&(0,n.A)(t,e)}},27752:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(61096),i=(0,n.W_)([73,68,51]),a=function(t,e){void 0===e&&(e=0);var r=(t=(0,n.W_)(t))[e+5],i=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&r)>>4?i+20:i+10},s=function t(e,r){return(void 0===r&&(r=0),(e=(0,n.W_)(e)).length-r<10||!(0,n.L7)(e,i,{offset:r}))?r:(r+=a(e,r),t(e,r))}},27788:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(38216),i=r.n(n),a=r(59501).Buffer;function s(t){for(var e=i().atob?i().atob(t):a.from(t,"base64").toString("binary"),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}},36079:(t,e,r)=>{"use strict";function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}r.d(e,{A:()=>s});var i=r(74767),a=r(65862);function s(t){var e="function"==typeof Map?new Map:void 0;return(s=function(t){if(null===t||!function(t){try{return -1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return(0,a.A)(t,arguments,n(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,i.A)(r,t)})(t)}},38216:(t,e,r)=>{var n;t.exports="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{}},39084:t=>{var e,r,n,i;e=function(t){return 9e4*t},r=function(t,e){return t*e},n=function(t){return t/9e4},t.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i=function(t,e){return t/e},audioTsToVideoTs:function(t,r){return e(i(t,r))},videoTsToAudioTs:function(t,e){return r(n(t),e)},metadataTsToSeconds:function(t,e,r){return n(r?t:t-e)}}},41849:(t,e,r)=>{"use strict";r.d(e,{iX:()=>f});var n=r(66702),i=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2==arguments.length)for(var r=e.length,n=0;n<r;++n)e[n].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),a=e.length,s=0;s<a;++s)e[s].apply(this,i)},e.dispose=function(){this.listeners={}},e.pipe=function(t){this.on("data",function(e){t.push(e)})},t}(),a=r(44501),s=r(1584),o=r(27788),u=function(t){function e(){var e;return(e=t.call(this)||this).buffer="",e}return(0,n.A)(e,t),e.prototype.push=function(t){var e;
1for(this.buffer+=t,e=this.buffer.indexOf("\n");e>-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)},e}(i),l=function(t){var e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},d=function(t){for(var e,r=t.split(RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=r.length;i--;)""!==r[i]&&((e=/([^=]*)=(.*)/.exec(r[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),n[e[0]]=e[1]);return n},c=function(t){function e(){var e;return(e=t.call(this)||this).customParsers=[],e.tagMappers=[],e}(0,n.A)(e,t);var r=e.prototype;return r.push=function(t){var e,r,n=this;if(0!==(t=t.trim()).length){if("#"!==t[0])return void this.trigger("data",{type:"uri",uri:t});this.tagMappers.reduce(function(e,r){var n=r(t);return n===t?e:e.concat([n])},[t]).forEach(function(t){for(var i=0;i<n.customParsers.length;i++)if(n.customParsers[i].call(n,t))return;if(0!==t.indexOf("#EXT"))return void n.trigger("data",{type:"comment",text:t.slice(1)});if(t=t.replace("\r",""),e=/^#EXTM3U/.exec(t))return void n.trigger("data",{type:"tag",tagType:"m3u"});if(e=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(t)){r={type:"tag",tagType:"inf"},e[1]&&(r.duration=parseFloat(e[1])),e[2]&&(r.title=e[2]),n.trigger("data",r);return}if(e=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"targetduration"},e[1]&&(r.duration=parseInt(e[1],10)),n.trigger("data",r);return}if(e=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"version"},e[1]&&(r.version=parseInt(e[1],10)),n.trigger("data",r);return}if(e=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"media-sequence"},e[1]&&(r.number=parseInt(e[1],10)),n.trigger("data",r);return}if(e=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"discontinuity-sequence"},e[1]&&(r.number=parseInt(e[1],10)),n.trigger("data",r);return}if(e=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(t)){r={type:"tag",tagType:"playlist-type"},e[1]&&(r.playlistType=e[1]),n.trigger("data",r);return}if(e=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(t)){r=(0,a.A)(l(e[1]),{type:"tag",tagType:"byterange"}),n.trigger("data",r);return}if(e=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(t)){r={type:"tag",tagType:"allow-cache"},e[1]&&(r.allowed=!/NO/.test(e[1])),n.trigger("data",r);return}if(e=/^#EXT-X-MAP:?(.*)$/.exec(t)){if(r={type:"tag",tagType:"map"},e[1]){var s=d(e[1]);s.URI&&(r.uri=s.URI),s.BYTERANGE&&(r.byterange=l(s.BYTERANGE))}n.trigger("data",r);return}if(e=/^#EXT-X-STREAM-INF:?(.*)$/.exec(t)){if(r={type:"tag",tagType:"stream-inf"},e[1]){if(r.attributes=d(e[1]),r.attributes.RESOLUTION){var o=r.attributes.RESOLUTION.split("x"),u={};o[0]&&(u.width=parseInt(o[0],10)),o[1]&&(u.height=parseInt(o[1],10)),r.attributes.RESOLUTION=u}r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),r.attributes["PROGRAM-ID"]&&(r.attributes["PROGRAM-ID"]=parseInt(r.attributes["PROGRAM-ID"],10))}n.trigger("data",r);return}if(e=/^#EXT-X-MEDIA:?(.*)$/.exec(t)){r={type:"tag",tagType:"media"},e[1]&&(r.attributes=d(e[1])),n.trigger("data",r);return}if(e=/^#EXT-X-ENDLIST/.exec(t))return void n.trigger("data",{type:"tag",tagType:"endlist"});if(e=/^#EXT-X-DISCONTINUITY/.exec(t))return void n.trigger("data",{type:"tag",tagType:"discontinuity"});if(e=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(t)){r={type:"tag",tagType:"program-date-time"},e[1]&&(r.dateTimeString=e[1],r.dateTimeObject=new Date(e[1])),n.trigger("data",r);return}if(e=/^#EXT-X-KEY:?(.*)$/.exec(t)){r={type:"tag",tagType:"key"},e[1]&&(r.attributes=d(e[1]),r.attributes.IV&&("0x"===r.attributes.IV.substring(0,2).toLowerCase()&&(r.attributes.IV=r.attributes.IV.substring(2)),r.attributes.IV=r.attributes.IV.match(/.{8}/g),r.attributes.IV[0]=parseInt(r.attributes.IV[0],16),r.attributes.IV[1]=parseInt(r.attributes.IV[1],16),r.attributes.IV[2]=parseInt(r.attributes.IV[2],16),r.attributes.IV[3]=parseInt(r.attributes.IV[3],16),r.attributes.IV=new Uint32Array(r.attributes.IV))),n.trigger("data",r);return}if(e=/^#EXT-X-START:?(.*)$/.exec(t)){r={type:"tag",tagType:"start"},e[1]&&(r.attributes=d(e[1]),r.attributes["TIME-OFFSET"]=parseFloat(r.attributes["TIME-OFFSET"]),r.attributes.PRECISE=/YES/.test(r.attributes.PRECISE)),n.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out-cont"},e[1]?r.data=e[1]:r.data="",n.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out"},e[1]?r.data=e[1]:r.data="",n.trigger("data",r);return}if(e=/^#EXT-X-CUE-IN:?(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-in"},e[1]?r.data=e[1]:r.data="",n.trigger("data",r);return}if((e=/^#EXT-X-SKIP:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"skip"}).attributes=d(e[1]),r.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(r.attributes["SKIPPED-SEGMENTS"]=parseInt(r.attributes["SKIPPED-SEGMENTS"],10)),r.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(r.attributes["RECENTLY-REMOVED-DATERANGES"]=r.attributes["RECENTLY-REMOVED-DATERANGES"].split(" ")),n.trigger("data",r);return}
1if((e=/^#EXT-X-PART:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part"}).attributes=d(e[1]),["DURATION"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["INDEPENDENT","GAP"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),r.attributes.hasOwnProperty("BYTERANGE")&&(r.attributes.byterange=l(r.attributes.BYTERANGE)),n.trigger("data",r);return}if((e=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"server-control"}).attributes=d(e[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),n.trigger("data",r);return}if((e=/^#EXT-X-PART-INF:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part-inf"}).attributes=d(e[1]),["PART-TARGET"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),n.trigger("data",r);return}if((e=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"preload-hint"}).attributes=d(e[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(t){if(r.attributes.hasOwnProperty(t)){r.attributes[t]=parseInt(r.attributes[t],10);var e="BYTERANGE-LENGTH"===t?"length":"offset";r.attributes.byterange=r.attributes.byterange||{},r.attributes.byterange[e]=r.attributes[t],delete r.attributes[t]}}),n.trigger("data",r);return}if((e=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"rendition-report"}).attributes=d(e[1]),["LAST-MSN","LAST-PART"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseInt(r.attributes[t],10))}),n.trigger("data",r);return}n.trigger("data",{type:"tag",data:t.slice(4)})})}},r.addParser=function(t){var e=this,r=t.expression,n=t.customType,i=t.dataParser,a=t.segment;"function"!=typeof i&&(i=function(t){return t}),this.customParsers.push(function(t){if(r.exec(t))return e.trigger("data",{type:"custom",data:i(t),customType:n,segment:a}),!0})},r.addTagMapper=function(t){var e=t.expression,r=t.map;this.tagMappers.push(function(t){return e.test(t)?r(t):t})},e}(i),p=function(t){var e={};return Object.keys(t).forEach(function(r){e[r.toLowerCase().replace(/-(\w)/g,function(t){return t[1].toUpperCase()})]=t[r]}),e},h=function(t){var e=t.serverControl,r=t.targetDuration,n=t.partTargetDuration;if(e){var i="#EXT-X-SERVER-CONTROL",a="holdBack",s="partHoldBack",o=r&&3*r,u=n&&2*n;r&&!e.hasOwnProperty(a)&&(e[a]=o,this.trigger("info",{message:i+" defaulting HOLD-BACK to targetDuration * 3 ("+o+")."})),o&&e[a]<o&&(this.trigger("warn",{message:i+" clamping HOLD-BACK ("+e[a]+") to targetDuration * 3 ("+o+")"}),e[a]=o),n&&!e.hasOwnProperty(s)&&(e[s]=3*n,this.trigger("info",{message:i+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+e[s]+")."})),n&&e[s]<u&&(this.trigger("warn",{message:i+" clamping PART-HOLD-BACK ("+e[s]+") to partTargetDuration * 2 ("+u+")."}),e[s]=u)}},f=function(t){function e(){(e=t.call(this)||this).lineStream=new u,e.parseStream=new c,e.lineStream.pipe(e.parseStream);var e,r,n,i=(0,s.A)(e),l=[],d={},f=!1,g=function(){},m={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},A=0;e.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var y=0,v=0;return e.on("end",function(){!d.uri&&(d.parts||d.preloadHints)&&(!d.map&&r&&(d.map=r),!d.key&&n&&(d.key=n),d.timeline||"number"!=typeof A||(d.timeline=A),e.manifest.preloadSegment=d)}),e.parseStream.on("data",function(t){var e,s;({tag:function(){(({version:function(){t.version&&(this.manifest.version=t.version)},"allow-cache":function(){this.manifest.allowCache=t.allowed,"allowed"in t||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var e={};"length"in t&&(d.byterange=e,e.length=t.length,"offset"in t||(t.offset=y)),"offset"in t&&(d.byterange=e,e.offset=t.offset),y=e.offset+e.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),t.duration>0&&(d.duration=t.duration),0===t.duration&&(d.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=l},key:function(){if(!t.attributes)return void this.trigger("warn",{message:"ignoring key declaration without attribute list"});if("NONE"===t.attributes.METHOD){n=null;return}if(!t.attributes.URI)return void this.trigger("warn",{message:"ignoring key declaration without URI"});if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes};return}if("com.microsoft.playready"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI};return}if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT)return -1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23))?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:(0,o.A)(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"});t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),n={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(n.iv=t.attributes.IV)},"media-sequence":function(){if(!isFinite(t.number))return void this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number});this.manifest.mediaSequence=t.number},"discontinuity-sequence":function(){if(!isFinite(t.number))return void this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number});this.manifest.discontinuitySequence=t.number,A=t.number},"playlist-type":function(){if(!/VOD|EVENT/.test(t.playlistType))return void this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist});this.manifest.playlistType=t.playlistType},map:function(){r={},t.uri&&(r.uri=t.uri),t.byterange&&(r.byterange=t.byterange),n&&(r.key=n)},"stream-inf":function(){if(this.manifest.playlists=l,this.manifest.mediaGroups=this.manifest.mediaGroups||m,!t.attributes)return void this.trigger("warn",{message:"ignoring empty stream-inf attributes"});d.attributes||(d.attributes={}),(0,a.A)(d.attributes,t.attributes)},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||m,!(t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});var r=this.manifest.mediaGroups[t.attributes.TYPE];r[t.attributes["GROUP-ID"]]=r[t.attributes["GROUP-ID"]]||{},e=r[t.attributes["GROUP-ID"]],(s={default:/yes/i.test(t.attributes.DEFAULT)}).default?s.autoselect=!0:s.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(s.language=t.attributes.LANGUAGE),t.attributes.URI&&(s.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(s.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(s.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(s.forced=/yes/i.test(t.attributes.FORCED)),e[t.attributes.NAME]=s},discontinuity:function(){A+=1,d.discontinuity=!0,this.manifest.discontinuityStarts.push(l.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),d.dateTimeString=t.dateTimeString,d.dateTimeObject=t.dateTimeObject},targetduration:function(){if(!isFinite(t.duration)||t.duration<0)return void this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration});this.manifest.targetDuration=t.duration,h.call(this,this.manifest)},start:function(){if(!t.attributes||isNaN(t.attributes["TIME-OFFSET"]))return void this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}},"cue-out":function(){d.cueOut=t.data},"cue-out-cont":function(){d.cueOutCont=t.data},"cue-in":function(){d.cueIn=t.data},skip:function(){this.manifest.skip=p(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part:function(){var e=this;f=!0;var r=this.manifest.segments.length,n=p(t.attributes);d.parts=d.parts||[],d.parts.push(n),n.byterange&&(n.byterange.hasOwnProperty("offset")||(n.byterange.offset=v),v=n.byterange.offset+n.byterange.length);var i=d.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+i+" for segment #"+r,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEac
1h(function(t,r){t.hasOwnProperty("lastPart")||e.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+r+" lacks required attribute(s): LAST-PART"})})},"server-control":function(){var e=this.manifest.serverControl=p(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),h.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var e=this.manifest.segments.length,r=p(t.attributes),n=r.type&&"PART"===r.type;d.preloadHints=d.preloadHints||[],d.preloadHints.push(r),r.byterange&&!r.byterange.hasOwnProperty("offset")&&(r.byterange.offset=n?v:0,n&&(v=r.byterange.offset+r.byterange.length));var i=d.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e,t.attributes,["TYPE","URI"]),r.type)for(var a=0;a<d.preloadHints.length-1;a++){var s=d.preloadHints[a];s.type&&s.type===r.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+i+" for segment #"+e+" has the same TYPE "+r.type+" as preload hint #"+a})}},"rendition-report":function(){var e=p(t.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);var r=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];f&&n.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+r,t.attributes,n)},"part-inf":function(){this.manifest.partInf=p(t.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",t.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),h.call(this,this.manifest)}})[t.tagType]||g).call(i)},uri:function(){d.uri=t.uri,l.push(d),!this.manifest.targetDuration||"duration"in d||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),d.duration=this.manifest.targetDuration),n&&(d.key=n),d.timeline=A,r&&(d.map=r),v=0,d={}},comment:function(){},custom:function(){t.segment?(d.custom=d.custom||{},d.custom[t.customType]=t.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[t.customType]=t.data)}})[t.type].call(i)}),e}(0,n.A)(e,t);var r=e.prototype;return r.warnOnMissingAttributes_=function(t,e,r){var n=[];r.forEach(function(t){e.hasOwnProperty(t)||n.push(t)}),n.length&&this.trigger("warn",{message:t+" lacks required attribute(s): "+n.join(", ")})},r.push=function(t){this.lineStream.push(t)},r.end=function(){this.lineStream.push("\n"),this.trigger("end")},r.addParser=function(t){this.parseStream.addParser(t)},r.addTagMapper=function(t){this.parseStream.addTagMapper(t)},e}(i)},42505:(t,e,r)=>{"use strict";var n=r(42685);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}function s(t,e,r){return Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=function(t,e,r){this.vjsPlayer=t,this.controller=r,this.contentTrackingTimer=null,this.contentComplete=!1,this.updateTimeIntervalHandle=null,this.updateTimeInterval=1e3,this.seekCheckIntervalHandle=null,this.seekCheckInterval=1e3,this.resizeCheckIntervalHandle=null,this.resizeCheckInterval=250,this.seekThreshold=100,this.contentEndedListeners=[],this.contentSource="",this.contentSourceType="",this.contentPlayheadTracker={currentTime:0,previousTime:0,seeking:!1,duration:0},this.vjsPlayerDimensions={width:this.getPlayerWidth(),height:this.getPlayerHeight()},this.vjsControls=this.vjsPlayer.getChild("controlBar"),this.h5Player=null,this.vjsPlayer.one("play",this.setUpPlayerIntervals.bind(this)),this.boundContentEndedListener=this.localContentEndedListener.bind(this),this.vjsPlayer.on("contentended",this.boundContentEndedListener),this.vjsPlayer.on("dispose",this.playerDisposedListener.bind(this)),this.vjsPlayer.on("readyforpreroll",this.onReadyForPreroll.bind(this)),this.vjsPlayer.on("adtimeout",this.onAdTimeout.bind(this)),this.vjsPlayer.ready(this.onPlayerReady.bind(this)),"onPlay"===this.controller.getSettings().requestMode&&this.vjsPlayer.one("play",this.controller.requestAds.bind(this.controller)),this.vjsPlayer.ads||window.console.warn("You may be using a version of videojs-contrib-ads that is not compatible with your version of video.js."),this.vjsPlayer.ads(e)};u.prototype.setUpPlayerIntervals=function(){this.updateTimeIntervalHandle&&clearInterval(this.updateTimeIntervalHandle),this.seekCheckIntervalHandle&&clearInterval(this.seekCheckIntervalHandle),this.resizeCheckIntervalHandle&&clearInterval(this.resizeCheckIntervalHandle),this.updateTimeIntervalHandle=setInterval(this.updateCurrentTime.bind(this),this.updateTimeInterval),this.seekCheckIntervalHandle=setInterval(this.checkForSeeking.bind(this),this.seekCheckInterval),this.resizeCheckIntervalHandle=setInterval(this.checkForResize.bind(this),this.resizeCheckInterval)},u.prototype.updateCurrentTime=function(){this.contentPlayheadTracker.seeking||(this.contentPlayheadTracker.currentTime=this.vjsPlayer.currentTime())},u.prototype.checkForSeeking=function(){Math.abs((this.vjsPlayer.currentTime()-this.contentPlayheadTracker.previousTime)*1e3)>this.seekCheckInterval+this.seekThreshold?this.contentPlayheadTracker.seeking=!0:this.contentPlayheadTracker.seeking=!1,this.contentPlayheadTracker.previousTime=this.vjsPlayer.currentTime()},u.prototype.checkForResize=function(){var t=this.getPlayerWidth(),e=this.getPlayerHeight();(t!=this.vjsPlayerDimensions.width||e!=this.vjsPlayerDimensions.height)&&(this.vjsPlayerDimensions.width=t,this.vjsPlayerDimensions.height=e,this.controller.onPlayerResize(t,e))},u.prototype.localContentEndedListener=function(){for(var t in this.contentComplete||(this.contentComplete=!0,this.controller.onContentComplete()),this.contentEndedListeners)"function"==typeof this.contentEndedListeners[t]&&this.contentEndedListeners[t]();
vendor: 21,646 bytes, line 1
1this.vjsPlayer.el()&&this.vjsPlayer.one("play",this.setUpPlayerIntervals.bind(this))},u.prototype.onNoPostroll=function(){this.vjsPlayer.trigger("nopostroll")},u.prototype.playerDisposedListener=function(){this.contentEndedListeners=[],this.controller.onPlayerDisposed(),this.contentComplete=!0,this.vjsPlayer.off("contentended",this.boundContentEndedListener),this.vjsPlayer.ads.adTimeoutTimeout&&clearTimeout(this.vjsPlayer.ads.adTimeoutTimeout);var t=[this.updateTimeIntervalHandle,this.seekCheckIntervalHandle,this.resizeCheckIntervalHandle];for(var e in t)t[e]&&clearInterval(t[e])},u.prototype.onReadyForPreroll=function(){this.controller.onPlayerReadyForPreroll()},u.prototype.onAdTimeout=function(){this.controller.onAdTimeout()},u.prototype.onPlayerReady=function(){this.h5Player=document.getElementById(this.getPlayerId()).getElementsByClassName("vjs-tech")[0],this.h5Player.hasAttribute("autoplay")&&this.controller.setSetting("adWillAutoPlay",!0),this.onVolumeChange(),this.vjsPlayer.on("fullscreenchange",this.onFullscreenChange.bind(this)),this.vjsPlayer.on("volumechange",this.onVolumeChange.bind(this)),this.controller.onPlayerReady()},u.prototype.onFullscreenChange=function(){this.vjsPlayer.isFullscreen()?this.controller.onPlayerEnterFullscreen():this.controller.onPlayerExitFullscreen()},u.prototype.onVolumeChange=function(){var t=this.vjsPlayer.muted()?0:this.vjsPlayer.volume();this.controller.onPlayerVolumeChanged(t)},u.prototype.injectAdContainerDiv=function(t){this.vjsControls.el().parentNode.appendChild(t)},u.prototype.getContentPlayer=function(){return this.h5Player},u.prototype.getVolume=function(){return this.vjsPlayer.muted()?0:this.vjsPlayer.volume()},u.prototype.setVolume=function(t){this.vjsPlayer.volume(t),0==t?this.vjsPlayer.muted(!0):this.vjsPlayer.muted(!1)},u.prototype.unmute=function(){this.vjsPlayer.muted(!1)},u.prototype.mute=function(){this.vjsPlayer.muted(!0)},u.prototype.play=function(){this.vjsPlayer.play()},u.prototype.togglePlayback=function(){this.vjsPlayer.paused()?this.vjsPlayer.play():this.vjsPlayer.pause()},u.prototype.getPlayerWidth=function(){var t=(getComputedStyle(this.vjsPlayer.el())||{}).width;return t&&0!==parseFloat(t)||(t=(this.vjsPlayer.el().getBoundingClientRect()||{}).width),parseFloat(t)||this.vjsPlayer.width()},u.prototype.getPlayerHeight=function(){var t=(getComputedStyle(this.vjsPlayer.el())||{}).height;return t&&0!==parseFloat(t)||(t=(this.vjsPlayer.el().getBoundingClientRect()||{}).height),parseFloat(t)||this.vjsPlayer.height()},u.prototype.getPlayerOptions=function(){return this.vjsPlayer.options_},u.prototype.getPlayerId=function(){return this.vjsPlayer.id()},u.prototype.toggleFullscreen=function(){this.vjsPlayer.isFullscreen()?this.vjsPlayer.exitFullscreen():this.vjsPlayer.requestFullscreen()},u.prototype.getContentPlayheadTracker=function(){return this.contentPlayheadTracker},u.prototype.onAdError=function(t){this.vjsControls.show();var e=void 0!==t.getError?t.getError():t.stack;this.vjsPlayer.trigger({type:"adserror",data:{AdError:e,AdErrorEvent:t}})},u.prototype.onAdLog=function(t){var e=t.getAdData(),r=void 0!==e.adError?e.adError.getMessage():void 0;this.vjsPlayer.trigger({type:"adslog",data:{AdError:r,AdEvent:t}})},u.prototype.onAdBreakStart=function(){this.contentSource=this.vjsPlayer.currentSrc(),this.contentSourceType=this.vjsPlayer.currentType(),this.vjsPlayer.off("contentended",this.boundContentEndedListener),this.vjsPlayer.ads.startLinearAdMode(),this.vjsControls.hide(),this.vjsPlayer.pause()},u.prototype.onAdBreakEnd=function(){this.vjsPlayer.on("contentended",this.boundContentEndedListener),this.vjsPlayer.ads.inAdBreak()&&this.vjsPlayer.ads.endLinearAdMode(),this.vjsControls.show()},u.prototype.onAdStart=function(){this.vjsPlayer.trigger("ads-ad-started")},u.prototype.onAllAdsCompleted=function(){!0==this.contentComplete&&(this.contentSource&&this.vjsPlayer.currentSrc()!=this.contentSource&&this.vjsPlayer.src({src:this.contentSource,type:this.contentSourceType}),this.controller.onContentAndAdsCompleted())},u.prototype.onAdsReady=function(){this.vjsPlayer.trigger("adsready")},u.prototype.changeSource=function(t){this.vjsPlayer.currentSrc()&&(this.vjsPlayer.currentTime(0),this.vjsPlayer.pause()),t&&this.vjsPlayer.src(t),this.vjsPlayer.one("loadedmetadata",this.seekContentToZero.bind(this))},u.prototype.seekContentToZero=function(){this.vjsPlayer.currentTime(0)},u.prototype.triggerPlayerEvent=function(t,e){this.vjsPlayer.trigger(t,e)},u.prototype.addContentEndedListener=function(t){this.contentEndedListeners.push(t)},u.prototype.reset=function(){this.vjsPlayer.off("contentended",this.boundContentEndedListener),this.vjsPlayer.on("contentended",this.boundContentEndedListener),this.vjsControls.show(),this.vjsPlayer.ads.inAdBreak()&&this.vjsPlayer.ads.endLinearAdMode(),this.contentPlayheadTracker.currentTime=0,this.contentComplete=!1};var l=function(t){this.controller=t,this.adContainerDiv=document.createElement("div"),this.controlsDiv=document.createElement("div"),this.countdownDiv=document.createElement("div"),this.seekBarDiv=document.createElement("div"),this.progressDiv=document.createElement("div"),this.playPauseDiv=document.createElement("div"),this.muteDiv=document.createElement("div"),this.sliderDiv=document.createElement("div"),this.sliderLevelDiv=document.createElement("div"),this.fullscreenDiv=document.createElement("div"),this.boundOnMouseUp=this.onMouseUp.bind(this),this.boundOnMouseMove=this.onMouseMove.bind(this),this.adPlayheadTracker={currentTime:0,duration:0,isPod:!1,adPosition:0,totalAds:0},this.controlPrefix=this.controller.getPlayerId()+"_",this.showCountdown=!0,!1===this.controller.getSettings().showCountdown&&(this.showCountdown=!1),this.isAdNonlinear=!1,this.createAdContainer()};l.prototype.createAdContainer=function(){this.assignControlAttributes(this.adContainerDiv,"ima-ad-container"),this.adContainerDiv.style.position="absolute",this.adContainerDiv.style.zIndex=1111,this.adContainerDiv.addEventListener("mouseenter",this.showAdControls.bind(this),!1),this.adContainerDiv.addEventListener("mouseleave",this.hideAdControls.bind(this),!1),this.adContainerDiv.addEventListener("click",this.onAdContainerClick.bind(this),!1),this.createControls(),this.controller.injectAdContainerDiv(this.adContainerDiv)},l.prototype.createControls=function(){this.assignControlAttributes(this.controlsDiv,"ima-controls-div"),this.controlsDiv.style.width="100%",this.controller.getIsMobile()?this.countdownDiv.style.display="none":(this.assignControlAttributes(this.countdownDiv,"ima-countdown-div"),this.countdownDiv.innerHTML=this.controller.getSettings().adLabel,this.countdownDiv.style.display=this.showCountdown?"block":"none"),this.assignControlAttributes(this.seekBarDiv,"ima-seek-bar-div"),this.seekBarDiv.style.width="100%",this.assignControlAttributes(this.progressDiv,"ima-progress-div"),this.assignControlAttributes(this.playPauseDiv,"ima-play-pause-div"),this.addClass(this.playPauseDiv,"ima-playing"),this.playPauseDiv.addEventListener("click",this.onAdPlayPauseClick.bind(this),!1),this.assignControlAttributes(this.muteDiv,"ima-mute-div"),this.addClass(this.muteDiv,"ima-non-muted"),this.muteDiv.addEventListener("click",this.onAdMuteClick.bind(this),!1),this.assignControlAttributes(this.sliderDiv,"ima-slider-div"),this.sliderDiv.addEventListener("mousedown",this.onAdVolumeSliderMouseDown.bind(this),!1),this.controller.getIsIos()&&(this.sliderDiv.style.display="none"),this.assignControlAttributes(this.sliderLevelDiv,"ima-slider-level-div"),this.assignControlAttributes(this.fullscreenDiv,"ima-fullscreen-div"),this.addClass(this.fullscreenDiv,"ima-non-fullscreen"),this.fullscreenDiv.addEventListener("click",this.onAdFullscreenClick.bind(this),!1),this.adContainerDiv.appendChild(this.controlsDiv),this.controlsDiv.appendChild(this.countdownDiv),this.controlsDiv.appendChild(this.seekBarDiv),this.controlsDiv.appendChild(this.playPauseDiv),this.controlsDiv.appendChild(this.muteDiv),this.controlsDiv.appendChild(this.sliderDiv),this.controlsDiv.appendChild(this.fullscreenDiv),this.seekBarDiv.appendChild(this.progressDiv),this.sliderDiv.appendChild(this.sliderLevelDiv)},l.prototype.onAdPlayPauseClick=function(){this.controller.onAdPlayPauseClick()},l.prototype.onAdMuteClick=function(){this.controller.onAdMuteClick()},l.prototype.onAdFullscreenClick=function(){this.controller.toggleFullscreen()},l.prototype.onAdsPaused=function(){this.controller.sdkImpl.adPlaying=!1,this.addClass(this.playPauseDiv,"ima-paused"),this.removeClass(this.playPauseDiv,"ima-playing"),this.showAdControls()},l.prototype.onAdsResumed=function(){this.onAdsPlaying(),this.showAdControls()},l.prototype.onAdsPlaying=function(){this.controller.sdkImpl.adPlaying=!0,this.addClass(this.playPauseDiv,"ima-playing"),this.removeClass(this.playPauseDiv,"ima-paused")},l.prototype.updateAdUi=function(t,e,r,n,i){var a=Math.floor(e/60),s=Math.floor(e%60);s.toString().length<2&&(s="0"+s);var o=": ";i>1&&(o=" ("+n+" "+this.controller.getSettings().adLabelNofN+" "+i+"): "),this.countdownDiv.innerHTML=this.controller.getSettings().adLabel+o+a+":"+s,this.progressDiv.style.width=t/r*100+"%"},l.prototype.unmute=function(){this.addClass(this.muteDiv,"ima-non-muted"),this.removeClass(this.muteDiv,"ima-muted"),this.sliderLevelDiv.style.width=100*this.controller.getPlayerVolume()+"%"},l.prototype.mute=function(){this.addClass(this.muteDiv,"ima-muted"),this.removeClass(this.muteDiv,"ima-non-muted"),this.sliderLevelDiv.style.width="0%"},l.prototype.onAdVolumeSliderMouseDown=function(){document.addEventListener("mouseup",this.boundOnMouseUp,!1),document.addEventListener("mousemove",this.boundOnMouseMove,!1)},l.prototype.onMouseMove=function(t){this.changeVolume(t)},l.prototype.onMouseUp=function(t){this.changeVolume(t),document.removeEventListener("mouseup",this.boundOnMouseUp),document.removeEventListener("mousemove",this.boundOnMouseMove)},l.prototype.changeVolume=function(t){var e=(t.clientX-this.sliderDiv.getBoundingClientRect().left)/this.sliderDiv.offsetWidth;e*=100,e=Math.min(Math.max(e,0),100),this.sliderLevelDiv.style.width=e+"%",0==this.percent?(this.addClass(this.muteDiv,"ima-muted"),this.removeClass(this.muteDiv,"ima-non-muted")):(this.addClass(this.muteDiv,"ima-non-muted"),this.removeClass(this.muteDiv,"ima-muted")),this.controller.setVolume(e/100)},l.prototype.showAdContainer=function(){this.adContainerDiv.style.display="block"},l.prototype.hideAdContainer=function(){this.adContainerDiv.style.display="none"},l.prototype.onAdContainerClick=function(){this.isAdNonlinear&&this.controller.togglePlayback()},l.prototype.reset=function(){this.hideAdContainer()},l.prototype.onAdError=function(){this.hideAdContainer()},l.prototype.onAdBreakStart=function(t){this.showAdContainer(),"application/javascript"!==t.getAd().getContentType()||this.controller.getSettings().showControlsForJSAds?this.controlsDiv.style.display="block":this.controlsDiv.style.display="none",this.onAdsPlaying(),this.hideAdControls()},l.prototype.onAdBreakEnd=function(){var t=this.controller.getCurrentAd();(null==t||t.isLinear())&&this.hideAdContainer(),this.controlsDiv.style.display="none",this.countdownDiv.innerHTML=""},l.prototype.onAllAdsCompleted=function(){this.hideAdContainer()},l.prototype.onLinearAdStart=function(){this.removeClass(this.adContainerDiv,"bumpable-ima-ad-container"),this.isAdNonlinear=!1},l.prototype.onNonLinearAdLoad=function(){this.adContainerDiv.style.display="block",this.addClass(this.adContainerDiv,"bumpable-ima-ad-container"),this.isAdNonlinear=!0},l.prototype.onPlayerEnterFullscreen=function(){this.addClass(this.fullscreenDiv,"ima-fullscreen"),this.removeClass(this.fullscreenDiv,"ima-non-fullscreen")},l.prototype.onPlayerExitFullscreen=function(){this.addClass(this.fullscreenDiv,"ima-non-fullscreen"),this.removeClass(this.fullscreenDiv,"ima-fullscreen")},l.prototype.onPlayerVolumeChanged=function(t){0==t?(this.addClass(this.muteDiv,"ima-muted"),this.removeClass(this.muteDiv,"ima-non-muted"),this.sliderLevelDiv.style.width="0%"):(this.addClass(this.muteDiv,"ima-non-muted"),this.removeClass(this.muteDiv,"ima-muted"),this.sliderLevelDiv.style.width=100*t+"%")},l.prototype.showAdControls=function(){this.controller.getSettings().disableAdControls||this.addClass(this.controlsDiv,"ima-controls-div-showing")},l.prototype.hideAdControls=function(){this.removeClass(this.controlsDiv,"ima-controls-div-showing")},l.prototype.assignControlAttributes=function(t,e){t.id=this.controlPrefix+e,t.className=this.controlPrefix+e+" "+e},l.prototype.getClassRegexp=function(t){return RegExp("(^|[^A-Za-z-])"+t+"((?![A-Za-z-])|$)","gi")},l.prototype.elementHasClass=function(t,e){return this.getClassRegexp(e).test(t.className)},l.prototype.addClass=function(t,e){t.className=t.className.trim()+" "+e},l.prototype.removeClass=function(t,e){var r=this.getClassRegexp(e);t.className=t.className.trim().replace(r,"")},l.prototype.getAdContainerDiv=function(){return this.adContainerDiv},l.prototype.setShowCountdown=function(t){this.showCountdown=t,this.countdownDiv.style.display=this.showCountdown?"block":"none"};var d={version:"2.4.0"},c=function(t){this.controller=t,this.adDisplayContainer=null,this.adDisplayContainerInitialized=!1,this.adsLoader=null,this.adsManager=null,this.adsRenderingSettings=null,this.adsResponse=null,this.currentAd=null,this.adTrackingTimer=null,this.allAdsCompleted=!1,this.adsActive=!1,this.adPlaying=!1,this.adMuted=!1,this.adBreakReadyListener=void 0,this.contentCompleteCalled=!1,this.isAdTimedOut=!1,this.adsManagerDimensions={width:0,height:0},this.autoPlayAdBreaks=!0,!1===this.controller.getSettings().autoPlayAdBreaks&&(this.autoPlayAdBreaks=!1),this.controller.getSettings().locale&&google.ima.settings.setLocale(this.controller.getSettings().locale),this.controller.getSettings().disableFlashAds&&google.ima.settings.setDisableFlashAds(this.controller.getSettings().disableFlashAds),this.controller.getSettings().disableCustomPlaybackForIOS10Plus&&google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.controller.getSettings().disableCustomPlaybackForIOS10Plus),this.controller.getSettings().ppid&&google.ima.settings.setPpid(this.controller.getSettings().ppid),this.controller.getSettings().featureFlags&&google.ima.settings.setFeatureFlags(this.controller.getSettings().featureFlags)};c.prototype.initAdObjects=function(){this.adDisplayContainer=new google.ima.AdDisplayContainer(this.controller.getAdContainerDiv(),this.controller.getContentPlayer()),this.adsLoader=new google.ima.AdsLoader(this.adDisplayContainer),this.adsLoader.getSettings().setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),!1==this.controller.getSettings().vpaidAllowed&&this.adsLoader.getSettings().setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.DISABLED),void 0!==this.controller.getSettings().vpaidMode&&this.adsLoader.getSettings().setVpaidMode(this.controller.getSettings().vpaidMode),this.controller.getSettings().locale&&this.adsLoader.getSettings().setLocale(this.controller.getSettings().locale),this.controller.getSettings().numRedirects&&this.adsLoader.getSettings().setNumRedirects(this.controller.getSettings().numRedirects),this.controller.getSettings().sessionId&&this.adsLoader.getSettings().setSessionId(this.controller.getSettings().sessionId),this.adsLoader.getSettings().setPlayerType("videojs-ima"),this.adsLoader.getSettings().setPlayerVersion(d.version),this.adsLoader.getSettings().setAutoPlayAdBreaks(this.autoPlayAdBreaks),this.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this.onAdsManagerLoaded.bind(this),!1),this.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdsLoaderError.bind(this),!1),this.controller.playerWrapper.vjsPlayer.trigger({type:"ads-loader",adsLoader:this.adsLoader})},c.prototype.requestAds=function(){var t=new google.ima.AdsRequest;if(this.controller.getSettings().adTagUrl?t.adTagUrl=this.controller.getSettings().adTagUrl:t.adsResponse=this.controller.getSettings().adsResponse,this.controller.getSettings().forceNonLinearFullSlot&&(t.forceNonLinearFullSlot=!0),this.controller.getSettings().vastLoadTimeout&&(t.vastLoadTimeout=this.controller.getSettings().vastLoadTimeout),this.controller.getSettings().omidMode&&window.console.warn("The additional setting `omidMode` has been removed. Use `omidVendorAccess` instead."),this.controller.getSettings().omidVendorAccess){t.omidAccessModeRules={};var e=this.controller.getSettings().omidVendorAccess;Object.keys(e).forEach(function(r){t.omidAccessModeRules[r]=e[r]})}t.linearAdSlotWidth=this.controller.getPlayerWidth(),t.linearAdSlotHeight=this.controller.getPlayerHeight(),t.nonLinearAdSlotWidth=this.controller.getSettings().nonLinearWidth||this.controller.getPlayerWidth(),t.nonLinearAdSlotHeight=this.controller.getSettings().nonLinearHeight||this.controller.getPlayerHeight(),t.setAdWillAutoPlay(this.controller.adsWillAutoplay()),t.setAdWillPlayMuted(this.controller.adsWillPlayMuted());var r=this.controller.getSettings().adsRequest;r&&"object"===o(r)&&Object.keys(r).forEach(function(e){t[e]=r[e]}),this.adsLoader.requestAds(t),this.controller.playerWrapper.vjsPlayer.trigger({type:"ads-request",AdsRequest:t})},c.prototype.onAdsManagerLoaded=function(t){this.createAdsRenderingSettings(),this.adsManager=t.getAdsManager(this.controller.getContentPlayheadTracker(),this.adsRenderingSettings),this.adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this.onAdError.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.AD_BREAK_READY,this.onAdBreakReady.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this.onContentPauseRequested.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,this.onContentResumeRequested.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,this.onAllAdsCompleted.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.LOADED,this.onAdLoaded.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.STARTED,this.onAdStarted.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,this.onAdComplete.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,this.onAdComplete.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.LOG,this.onAdLog.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.PAUSED,this.onAdPaused.bind(this)),this.adsManager.addEventListener(google.ima.AdEvent.Type.RESUMED,this.onAdResumed.bind(this)),this.controller.playerWrapper.vjsPlayer.trigger({type:"ads-manager",adsManager:this.adsManager}),this.autoPlayAdBreaks||this.initAdsManager();var e=this.controller.getSettings().preventLateAdStart;e?e&&!this.isAdTimedOut&&this.controller.onAdsReady():this.controller.onAdsReady(),this.controller.getSettings().adsManagerLoadedCallback&&this.controller.getSettings().adsManagerLoadedCallback()},c.prototype.onAdsLoaderError=function(t){window.console.warn("AdsLoader error: "+t.getError()),this.controller.onErrorLoadingAds(t),this.adsManager&&this.adsManager.destroy()},c.prototype.initAdsManager=function(){try{var t=this.controller.getPlayerWidth(),e=this.controller.getPlayerHeight();this.adsManagerDimensions.width=t,this.adsManagerDimensions.height=e,this.adsManager.init(t,e),this.adsManager.setVolume(this.controller.getPlayerVolume()),this.initializeAdDisplayContainer()}catch(t){this.onAdError(t)}},c.prototype.createAdsRenderingSettings=function(){if(this.adsRenderingSettings=new google.ima.AdsRenderingSettings,this.adsRenderingSettings.restoreCustomPlaybackStateOnAdBreakComplete=!0,this.controller.getSettings().adsRenderingSettings)for(var t in this.controller.getSettings().adsRenderingSettings)""!==t&&(this.adsRenderingSettings[t]=this.controller.getSettings().adsRenderingSettings[t])},c.prototype.onAdError=function(t){var e=void 0!==t.getError?t.getError():t.stack;window.console.warn("Ad error: "+e),this.adsManager.destroy(),this.controller.onAdError(t),this.adsActive=!1,this.adPlaying=!1},c.prototype.onAdBreakReady=function(t){this.adBreakReadyListener(t)},c.prototype.onContentPauseRequested=function(t){this.adsActive=!0,this.adPlaying=!0,this.controller.onAdBreakStart(t)},c.prototype.onContentResumeRequested=function(t){this.adsActive=!1,this.adPlaying=!1,this.controller.onAdBreakEnd()},c.prototype.onAllAdsCompleted=function(t){this.allAdsCompleted=!0,this.controller.onAllAdsCompleted()},c.prototype.onAdLoaded=function(t){t.getAd().isLinear()||(this.controller.onNonLinearAdLoad(),this.controller.playContent())},c.prototype.onAdStarted=function(t){this.currentAd=t.getAd(),this.currentAd.isLinear()?(this.adTrackingTimer=setInterval(this.onAdPlayheadTrackerInterval.bind(this),250),this.controller.onLinearAdStart()):this.controller.onNonLinearAdStart()},c.prototype.onAdPaused=function(){this.controller.onAdsPaused()},c.prototype.onAdResumed=function(t){this.controller.onAdsResumed()},c.prototype.onAdComplete=function(){this.currentAd.isLinear()&&clearInterval(this.adTrackingTimer)},c.prototype.onAdLog=function(t){this.controller.onAdLog(t)},c.prototype.onAdPlayheadTrackerInterval=function(){if(null!==this.adsManager){var t,e=this.adsManager.getRemainingTime(),r=this.currentAd.getDuration(),n=r-e;n=n>0?n:0;var i=0;this.currentAd.getAdPodInfo()&&(t=this.currentAd.getAdPodInfo().getAdPosition(),i=this.currentAd.getAdPodInfo().getTotalAds()),this.controller.onAdPlayheadUpdated(n,e,r,t,i)}},c.prototype.onContentComplete=function(){this.adsLoader&&(this.adsLoader.contentComplete(),this.conte
vendor: 12,427 bytes, line 1
1ntCompleteCalled=!0),(this.adsManager&&this.adsManager.getCuePoints()&&!this.adsManager.getCuePoints().includes(-1)||!this.adsManager)&&this.controller.onNoPostroll(),this.allAdsCompleted&&this.controller.onContentAndAdsCompleted()},c.prototype.onPlayerDisposed=function(){this.adTrackingTimer&&clearInterval(this.adTrackingTimer),this.adsManager&&(this.adsManager.destroy(),this.adsManager=null)},c.prototype.onPlayerReadyForPreroll=function(){if(this.autoPlayAdBreaks){this.initAdsManager();try{this.controller.showAdContainer(),this.adsManager.setVolume(this.controller.getPlayerVolume()),this.adsManager.start()}catch(t){this.onAdError(t)}}},c.prototype.onAdTimeout=function(){this.isAdTimedOut=!0},c.prototype.onPlayerReady=function(){this.initAdObjects(),(this.controller.getSettings().adTagUrl||this.controller.getSettings().adsResponse)&&"onLoad"===this.controller.getSettings().requestMode&&this.requestAds()},c.prototype.onPlayerEnterFullscreen=function(){this.adsManager&&this.adsManager.resize(window.screen.width,window.screen.height)},c.prototype.onPlayerExitFullscreen=function(){this.adsManager&&this.adsManager.resize(this.controller.getPlayerWidth(),this.controller.getPlayerHeight())},c.prototype.onPlayerVolumeChanged=function(t){this.adsManager&&this.adsManager.setVolume(t),0==t?this.adMuted=!0:this.adMuted=!1},c.prototype.onPlayerResize=function(t,e){this.adsManager&&(this.adsManagerDimensions.width=t,this.adsManagerDimensions.height=e,this.adsManager.resize(t,e))},c.prototype.getCurrentAd=function(){return this.currentAd},c.prototype.setAdBreakReadyListener=function(t){this.adBreakReadyListener=t},c.prototype.isAdPlaying=function(){return this.adPlaying},c.prototype.isAdMuted=function(){return this.adMuted},c.prototype.pauseAds=function(){this.adsManager.pause(),this.adPlaying=!1},c.prototype.resumeAds=function(){this.adsManager.resume(),this.adPlaying=!0},c.prototype.unmute=function(){this.adsManager.setVolume(1),this.adMuted=!1},c.prototype.mute=function(){this.adsManager.setVolume(0),this.adMuted=!0},c.prototype.setVolume=function(t){this.adsManager.setVolume(t),0==t?this.adMuted=!0:this.adMuted=!1},c.prototype.initializeAdDisplayContainer=function(){this.adDisplayContainer&&!this.adDisplayContainerInitialized&&(this.adDisplayContainer.initialize(),this.adDisplayContainerInitialized=!0)},c.prototype.playAdBreak=function(){this.autoPlayAdBreaks||(this.controller.showAdContainer(),this.adsManager.setVolume(this.controller.getPlayerVolume()),this.adsManager.start())},c.prototype.addEventListener=function(t,e){this.adsManager&&this.adsManager.addEventListener(t,e)},c.prototype.getAdsManager=function(){return this.adsManager},c.prototype.reset=function(){this.adsActive=!1,this.adPlaying=!1,this.adTrackingTimer&&clearInterval(this.adTrackingTimer),this.adsManager&&(this.adsManager.destroy(),this.adsManager=null),this.adsLoader&&!this.contentCompleteCalled&&this.adsLoader.contentComplete(),this.contentCompleteCalled=!1,this.allAdsCompleted=!1};var p=function(t,e){this.settings={},this.contentAndAdsEndedListeners=[],this.isMobile=navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i),this.isIos=navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i),this.initWithSettings(e);var r=Object.assign({},{debug:this.settings.debug,timeout:this.settings.timeout,prerollTimeout:this.settings.prerollTimeout},e.contribAdsSettings||{});this.playerWrapper=new u(t,r,this),this.adUi=new l(this),this.sdkImpl=new c(this)};p.IMA_DEFAULTS={adLabel:"Advertisement",adLabelNofN:"of",debug:!1,disableAdControls:!1,prerollTimeout:1e3,preventLateAdStart:!1,requestMode:"onLoad",showControlsForJSAds:!0,timeout:5e3},p.prototype.initWithSettings=function(t){this.settings=Object.assign({},p.IMA_DEFAULTS,t||{}),this.warnAboutDeprecatedSettings(),this.showCountdown=!0,!1===this.settings.showCountdown&&(this.showCountdown=!1)},p.prototype.warnAboutDeprecatedSettings=function(){var t=this;["adWillAutoplay","adsWillAutoplay","adWillPlayMuted","adsWillPlayMuted"].forEach(function(e){void 0!==t.settings[e]&&console.warn("WARNING: videojs.ima setting "+e+" is deprecated")})},p.prototype.getSettings=function(){return this.settings},p.prototype.getIsMobile=function(){return this.isMobile},p.prototype.getIsIos=function(){return this.isIos},p.prototype.injectAdContainerDiv=function(t){this.playerWrapper.injectAdContainerDiv(t)},p.prototype.getAdContainerDiv=function(){return this.adUi.getAdContainerDiv()},p.prototype.getContentPlayer=function(){return this.playerWrapper.getContentPlayer()},p.prototype.getContentPlayheadTracker=function(){return this.playerWrapper.getContentPlayheadTracker()},p.prototype.requestAds=function(){this.sdkImpl.requestAds()},p.prototype.setSetting=function(t,e){this.settings[t]=e},p.prototype.onErrorLoadingAds=function(t){this.adUi.onAdError(),this.playerWrapper.onAdError(t)},p.prototype.onAdPlayPauseClick=function(){this.sdkImpl.isAdPlaying()?(this.adUi.onAdsPaused(),this.sdkImpl.pauseAds()):(this.adUi.onAdsPlaying(),this.sdkImpl.resumeAds())},p.prototype.onAdMuteClick=function(){this.sdkImpl.isAdMuted()?(this.playerWrapper.unmute(),this.adUi.unmute(),this.sdkImpl.unmute()):(this.playerWrapper.mute(),this.adUi.mute(),this.sdkImpl.mute())},p.prototype.setVolume=function(t){this.playerWrapper.setVolume(t),this.sdkImpl.setVolume(t)},p.prototype.getPlayerVolume=function(){return this.playerWrapper.getVolume()},p.prototype.toggleFullscreen=function(){this.playerWrapper.toggleFullscreen()},p.prototype.onAdError=function(t){this.adUi.onAdError(),this.playerWrapper.onAdError(t)},p.prototype.onAdBreakStart=function(t){this.playerWrapper.onAdBreakStart(),this.adUi.onAdBreakStart(t)},p.prototype.showAdContainer=function(){this.adUi.showAdContainer()},p.prototype.onAdBreakEnd=function(){this.playerWrapper.onAdBreakEnd(),this.adUi.onAdBreakEnd()},p.prototype.onAllAdsCompleted=function(){this.adUi.onAllAdsCompleted(),this.playerWrapper.onAllAdsCompleted()},p.prototype.onAdsPaused=function(){this.adUi.onAdsPaused()},p.prototype.onAdsResumed=function(){this.adUi.onAdsResumed()},p.prototype.onAdPlayheadUpdated=function(t,e,r,n,i){this.adUi.updateAdUi(t,e,r,n,i)},p.prototype.onAdLog=function(t){this.playerWrapper.onAdLog(t)},p.prototype.getCurrentAd=function(){return this.sdkImpl.getCurrentAd()},p.prototype.playContent=function(){this.playerWrapper.play()},p.prototype.onLinearAdStart=function(){this.adUi.onLinearAdStart(),this.playerWrapper.onAdStart()},p.prototype.onNonLinearAdLoad=function(){this.adUi.onNonLinearAdLoad()},p.prototype.onNonLinearAdStart=function(){this.adUi.onNonLinearAdLoad(),this.playerWrapper.onAdStart()},p.prototype.getPlayerWidth=function(){return this.playerWrapper.getPlayerWidth()},p.prototype.getPlayerHeight=function(){return this.playerWrapper.getPlayerHeight()},p.prototype.onAdsReady=function(){this.playerWrapper.onAdsReady()},p.prototype.onPlayerResize=function(t,e){this.sdkImpl.onPlayerResize(t,e)},p.prototype.onContentComplete=function(){this.sdkImpl.onContentComplete()},p.prototype.onNoPostroll=function(){this.playerWrapper.onNoPostroll()},p.prototype.onContentAndAdsCompleted=function(){for(var t in this.contentAndAdsEndedListeners)"function"==typeof this.contentAndAdsEndedListeners[t]&&this.contentAndAdsEndedListeners[t]()},p.prototype.onPlayerDisposed=function(){this.contentAndAdsEndedListeners=[],this.sdkImpl.onPlayerDisposed()},p.prototype.onPlayerReadyForPreroll=function(){this.sdkImpl.onPlayerReadyForPreroll()},p.prototype.onAdTimeout=function(){this.sdkImpl.onAdTimeout()},p.prototype.onPlayerReady=function(){this.sdkImpl.onPlayerReady()},p.prototype.onPlayerEnterFullscreen=function(){this.adUi.onPlayerEnterFullscreen(),this.sdkImpl.onPlayerEnterFullscreen()},p.prototype.onPlayerExitFullscreen=function(){this.adUi.onPlayerExitFullscreen(),this.sdkImpl.onPlayerExitFullscreen()},p.prototype.onPlayerVolumeChanged=function(t){this.adUi.onPlayerVolumeChanged(t),this.sdkImpl.onPlayerVolumeChanged(t)},p.prototype.setContentWithAdTag=function(t,e){this.reset(),this.settings.adTagUrl=e||this.settings.adTagUrl,this.playerWrapper.changeSource(t)},p.prototype.setContentWithAdsResponse=function(t,e){this.reset(),this.settings.adsResponse=e||this.settings.adsResponse,this.playerWrapper.changeSource(t)},p.prototype.setContentWithAdsRequest=function(t,e){this.reset(),this.settings.adsRequest=e||this.settings.adsRequest,this.playerWrapper.changeSource(t)},p.prototype.reset=function(){this.sdkImpl.reset(),this.playerWrapper.reset(),this.adUi.reset()},p.prototype.addContentEndedListener=function(t){this.playerWrapper.addContentEndedListener(t)},p.prototype.addContentAndAdsEndedListener=function(t){this.contentAndAdsEndedListeners.push(t)},p.prototype.setAdBreakReadyListener=function(t){this.sdkImpl.setAdBreakReadyListener(t)},p.prototype.setShowCountdown=function(t){this.adUi.setShowCountdown(t),this.showCountdown=t,this.adUi.countdownDiv.style.display=this.showCountdown?"block":"none"},p.prototype.initializeAdDisplayContainer=function(){this.sdkImpl.initializeAdDisplayContainer()},p.prototype.playAdBreak=function(){this.sdkImpl.playAdBreak()},p.prototype.addEventListener=function(t,e){this.sdkImpl.addEventListener(t,e)},p.prototype.getAdsManager=function(){return this.sdkImpl.getAdsManager()},p.prototype.getPlayerId=function(){return this.playerWrapper.getPlayerId()},p.prototype.changeAdTag=function(t){this.reset(),this.settings.adTagUrl=t},p.prototype.pauseAd=function(){this.adUi.onAdsPaused(),this.sdkImpl.pauseAds()},p.prototype.resumeAd=function(){this.adUi.onAdsPlaying(),this.sdkImpl.resumeAds()},p.prototype.togglePlayback=function(){this.playerWrapper.togglePlayback()},p.prototype.adsWillAutoplay=function(){return void 0!==this.settings.adsWillAutoplay?this.settings.adsWillAutoplay:void 0!==this.settings.adWillAutoplay?this.settings.adWillAutoplay:!!this.playerWrapper.getPlayerOptions().autoplay},p.prototype.adsWillPlayMuted=function(){return void 0!==this.settings.adsWillPlayMuted?this.settings.adsWillPlayMuted:void 0!==this.settings.adWillPlayMuted?this.settings.adWillPlayMuted:void 0!==this.playerWrapper.getPlayerOptions().muted?this.playerWrapper.getPlayerOptions().muted:0==this.playerWrapper.getVolume()},p.prototype.triggerPlayerEvent=function(t,e){this.playerWrapper.triggerPlayerEvent(t,e)};var h=function(t,e,r){this.vjsPlayer=t,this.daiController=r,this.vjsControls=this.vjsPlayer.getChild("controlBar"),this.h5Player=null,this.vjsPlayer.on("dispose",this.playerDisposedListener.bind(this)),this.vjsPlayer.on("pause",this.onPause.bind(this)),this.vjsPlayer.on("play",this.onPlay.bind(this)),this.vjsPlayer.on("seeked",this.onSeekEnd.bind(this)),this.vjsPlayer.ready(this.onPlayerReady.bind(this)),this.vjsPlayer.ads||window.console.warn("You may be using a version of videojs-contrib-ads that is not compatible with your version of video.js."),this.vjsPlayer.ads(e)};h.prototype.playerDisposedListener=function(){this.contentEndedListeners=[],this.daiController.onPlayerDisposed()},h.prototype.onPause=function(){this.daiController.isInAdBreak()&&this.vjsControls.show()},h.prototype.onPlay=function(){this.daiController.isInAdBreak()&&this.vjsControls.hide()},h.prototype.onSeekEnd=function(){this.daiController.onSeekEnd(this.vjsPlayer.currentTime())},h.prototype.onPlayerReady=function(){this.h5Player=document.getElementById(this.getPlayerId()).getElementsByClassName("vjs-tech")[0],this.daiController.onPlayerReady()},h.prototype.getStreamPlayer=function(){return this.h5Player},h.prototype.getVjsPlayer=function(){return this.vjsPlayer},h.prototype.getPlayerOptions=function(){return this.vjsPlayer.options_},h.prototype.getPlayerId=function(){return this.vjsPlayer.id()},h.prototype.onAdError=function(t){this.vjsControls.show();var e=void 0!==t.getError?t.getError():t.stack;this.vjsPlayer.trigger({type:"adserror",data:{AdError:e,AdErrorEvent:t}})},h.prototype.onAdBreakStart=function(){this.vjsControls.hide()},h.prototype.onAdBreakEnd=function(){this.vjsControls.show()},h.prototype.reset=function(){this.vjsControls.show()};var f=function(t){this.daiController=t,this.streamPlayer=null,this.vjsPlayer=null,this.streamManager=null,this.uiSettings=new google.ima.dai.api.UiSettings,this.isAdBreak=!1,this.isSnapback=!1,this.snapForwardTime=0,this.timedMetadata,this.metadataLoaded={},this.SOURCE_TYPES={hls:"application/x-mpegURL",dash:"application/d
1ash+xml"}};f.prototype.initImaDai=function(){this.streamPlayer=this.daiController.getStreamPlayer(),this.vjsPlayer=this.daiController.getVjsPlayer(),this.createAdUiDiv(),this.daiController.getSettings().locale&&this.uiSettings.setLocale(this.daiController.getSettings().locale),this.streamManager=new google.ima.dai.api.StreamManager(this.streamPlayer,this.adUiDiv,this.uiSettings),this.streamPlayer.addEventListener("pause",this.onStreamPause),this.streamPlayer.addEventListener("play",this.onStreamPlay),this.streamManager.addEventListener([google.ima.dai.api.StreamEvent.Type.LOADED,google.ima.dai.api.StreamEvent.Type.ERROR,google.ima.dai.api.StreamEvent.Type.AD_BREAK_STARTED,google.ima.dai.api.StreamEvent.Type.AD_BREAK_ENDED],this.onStreamEvent.bind(this),!1),this.vjsPlayer.textTracks().onaddtrack=this.onAddTrack.bind(this),this.vjsPlayer.trigger({type:"stream-manager",StreamManager:this.streamManager}),this.requestStream()},f.prototype.onAddTrack=function(t){var e=this,r=t.track;"metadata"===r.kind&&(r.mode="hidden",r.addEventListener("cuechange",function(t){var n,a=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return i(t,void 0);var r=({}).toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t))){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){u=!0,s=t},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw s}}}}(r.activeCues_);try{for(a.s();!(n=a.n()).done;){var s=n.value,o={};o[s.value.key]=s.value.data,e.streamManager.onTimedMetadata(o)}}catch(t){a.e(t)}finally{a.f()}}))},f.prototype.createAdUiDiv=function(){var t=document.createElement("div");t.id="ad-ui",t.style.height="calc(100% - 3em)",this.streamPlayer.parentNode.appendChild(t),this.adUiDiv=t},f.prototype.onStreamPause=function(){this.isAdBreak&&(this.adUiDiv.style.display="none")},f.prototype.onStreamPlay=function(){this.isAdBreak&&(this.adUiDiv.style.display="block")},f.prototype.onSeekEnd=function(t){if("live"!==this.daiController.getSettings().streamType){if(this.isSnapback){this.isSnapback=!1;return}var e=this.streamManager.previousCuePointForStreamTime(t);e&&!e.played&&(this.isSnapback=!0,this.snapForwardTime=t,this.vjsPlayer.currentTime(e.start))}},f.prototype.onStreamEvent=function(t){switch(t.type){case google.ima.dai.api.StreamEvent.Type.LOADED:this.loadUrl(t.getStreamData().url);break;case google.ima.dai.api.StreamEvent.Type.ERROR:window.console.warn("Error loading stream, attempting to play backup stream. "+t.getStreamData().errorMessage),this.daiController.onErrorLoadingAds(t),this.daiController.getSettings().fallbackStreamUrl&&this.loadurl(this.daiController.getSettings().fallbackStreamUrl);break;case google.ima.dai.api.StreamEvent.Type.AD_BREAK_STARTED:this.isAdBreak=!0,this.adUiDiv.style.display="block",this.daiController.onAdBreakStart();break;case google.ima.dai.api.StreamEvent.Type.AD_BREAK_ENDED:this.isAdBreak=!1,this.adUiDiv.style.display="none",this.daiController.onAdBreakEnd(),this.snapForwardTime&&this.snapForwardTime>this.vjsPlayer.currentTime()&&(this.vjsPlayer.currentTime(this.snapForwardTime),this.snapForwardTime=0)}},f.prototype.loadUrl=function(t){this.vjsPlayer.ready((function(){var e=this.daiController.getSettings().streamFormat;this.vjsPlayer.src({src:t,type:this.SOURCE_TYPES[e]});var r=this.daiController.getSettings().bookmarkTime;if(r){var n=this.streamManager.streamTimeForContentTime(r);this.isSnapback=!0,this.vjsPlayer.currentTime(n)}}).bind(this))},f.prototype.requestStream=function(){var t,e=this.daiController.getSettings().streamType;if("vod"===e?((t=new google.ima.dai.api.VODStreamRequest).contentSourceId=this.daiController.getSettings().cmsId,t.videoId=this.daiController.getSettings().videoId):"live"===e?(t=new google.ima.dai.api.LiveStreamRequest).assetKey=this.daiController.getSettings().assetKey:window.console.warn("No valid stream type selected"),t.format=this.daiController.getSettings().streamFormat,this.daiController.getSettings().apiKey&&(t.apiKey=this.daiController.getSettings().apiKey),this.daiController.getSettings().authToken&&(t.authToken=this.daiController.getSettings().authToken),this.daiController.getSettings().adTagParameters&&(t.adTagParameters=this.daiController.getSettings().adTagParameters),this.daiController.getSettings().streamActivityMonitorId&&(t.streamActivityMonitorId=this.daiController.getSettings().streamActivityMonitorId),this.daiController.getSettings().omidMode){t.omidAccessModeRules={};var r=this.daiController.getSettings().omidMode;r.FULL&&(t.omidAccessModeRules[google.ima.OmidAccessMode.FULL]=r.FULL),r.DOMAIN&&(t.omidAccessModeRules[google.ima.OmidAccessMode.DOMAIN]=r.DOMAIN),r.LIMITED&&(t.omidAccessModeRules[google.ima.OmidAccessMode.LIMITED]=r.LIMITED)}this.streamManager.requestStream(t),this.vjsPlayer.trigger({type:"stream-request",StreamRequest:t})},f.prototype.onPlayerReady=function(){this.initImaDai()},f.prototype.onPlayerDisposed=function(){this.streamManager&&this.streamManager.reset()},f.prototype.getStreamManager=function(){return this.StreamManager},f.prototype.reset=function(){this.StreamManager&&this.StreamManager.reset()};var g=function(t,e){this.inAdBreak=!1,this.settings={},this.isMobile=navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i),this.isIos=navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPad/i),this.initWithSettings(e);var r=Object.assign({},{debug:this.settings.debug,timeout:this.settings.timeout,prerollTimeout:this.settings.prerollTimeout},e.contribAdsSettings||{});this.playerWrapper=new h(t,r,this),this.sdkImpl=new f(this)};g.IMA_DEFAULTS={adLabel:"Advertisement",adLabelNofN:"of",debug:!1,disableAdControls:!1,showControlsForJSAds:!0},g.prototype.initWithSettings=function(t){this.settings=Object.assign({},g.IMA_DEFAULTS,t||{}),this.warnAboutDeprecatedSettings(),this.showCountdown=!0,!1===this.settings.showCountdown&&(this.showCountdown=!1)},g.prototype.warnAboutDeprecatedSettings=function(){var t=this;[].forEach(function(e){void 0!==t.settings[e]&&console.warn("WARNING: videojs.imaDai setting "+e+" is deprecated")})},g.prototype.getSettings=function(){return this.settings},g.prototype.getIsMobile=function(){return this.isMobile},g.prototype.getIsIos=function(){return this.isIos},g.prototype.getStreamPlayer=function(){return this.playerWrapper.getStreamPlayer()},g.prototype.getVjsPlayer=function(){return this.playerWrapper.getVjsPlayer()},g.prototype.requestStream=function(){this.sdkImpl.requestStream()},g.prototype.setSetting=function(t,e){this.settings[t]=e},g.prototype.onErrorLoadingAds=function(t){this.playerWrapper.onAdError(t)},g.prototype.onAdError=function(t){this.playerWrapper.onAdError(t)},g.prototype.onAdBreakStart=function(){this.inAdBreak=!0,this.playerWrapper.onAdBreakStart()},g.prototype.onAdBreakEnd=function(){this.inAdBreak=!1,this.playerWrapper.onAdBreakEnd()},g.prototype.onPlayerDisposed=function(){this.contentAndAdsEndedListeners=[],this.sdkImpl.onPlayerDisposed()},g.prototype.isInAdBreak=function(){return this.inAdBreak},g.prototype.onSeekEnd=function(t){this.sdkImpl.onSeekEnd(t)},g.prototype.onPlayerReady=function(){this.sdkImpl.onPlayerReady()},g.prototype.reset=function(){this.sdkImpl.reset(),this.playerWrapper.reset()},g.prototype.addEventListener=function(t,e){this.sdkImpl.addEventListener(t,e)},g.prototype.getStreamManager=function(){return this.sdkImpl.getStreamManager()},g.prototype.getPlayerId=function(){return this.playerWrapper.getPlayerId()},g.prototype.streamWillAutoplay=function(){return void 0!==this.settings.streamWillAutoplay?this.settings.streamWillAutoplay:!!this.playerWrapper.getPlayerOptions().autoplay},g.prototype.triggerPlayerEvent=function(t,e){this.playerWrapper.triggerPlayerEvent(t,e)};var m=function(t,e){this.controller=new p(t,e),this.addContentAndAdsEndedListener=(function(t){this.controller.addContentAndAdsEndedListener(t)}).bind(this),this.addContentEndedListener=(function(t){this.controller.addContentEndedListener(t)}).bind(this),this.addEventListener=(function(t,e){this.controller.addEventListener(t,e)}).bind(this),this.changeAdTag=(function(t){this.controller.changeAdTag(t)}).bind(this),this.getAdsManager=(function(){return this.controller.getAdsManager()}).bind(this),this.initializeAdDisplayContainer=(function(){this.controller.initializeAdDisplayContainer()}).bind(this),this.pauseAd=(function(){this.controller.pauseAd()}).bind(this),this.playAdBreak=(function(){this.controller.playAdBreak()}).bind(this),this.requestAds=(function(){this.controller.requestAds()}).bind(this),this.resumeAd=(function(){this.controller.resumeAd()}).bind(this),this.setAdBreakReadyListener=(function(t){this.controller.setAdBreakReadyListener(t)}).bind(this),this.setContentWithAdTag=(function(t,e){this.controller.setContentWithAdTag(t,e)}).bind(this),this.setContentWithAdsResponse=(function(t,e){this.controller.setContentWithAdsResponse(t,e)}).bind(this),this.setContentWithAdsRequest=(function(t,e){this.controller.setContentWithAdsRequest(t,e)}).bind(this),this.setShowCountdown=(function(t){this.controller.setShowCountdown(t)}).bind(this)},A=function(t,e){this.controller=new g(t,e),this.streamEndedListener=(function(t){this.controller.addStreamEndedListener(t)}).bind(this),this.addEventListener=(function(t,e){this.controller.addEventListener(t,e)}
1).bind(this),this.getStreamManager=(function(){return this.controller.getStreamManager()}).bind(this)},y=s(function t(e,r){return(a(this,t),"hls"!==(e=e.toLowerCase())&&"dash"!==e)?void window.console.error("VodStream error: incorrect streamFormat."):"dash"===e?void window.console.error("streamFormat error: DASH streams are notcurrently supported by this plugin."):"string"!=typeof r?void window.console.error("assetKey error: value must be string."):void(this.streamFormat=e,this.assetKey=r)}),v=s(function t(e,r,n){return(a(this,t),"hls"!==(e=e.toLowerCase())&&"dash"!==e)?void window.console.error("VodStream error: incorrect streamFormat."):"dash"===e?void window.console.error("streamFormat error: DASH streams are notcurrently supported by this plugin."):"string"!=typeof r?void window.console.error("cmsId error: value must be string."):"string"!=typeof n?void window.console.error("videoId error: value must be string."):void(this.streamFormat=e,this.cmsId=r,this.videoId=n)}),b=n.A.registerPlugin||n.A.plugin;b("ima",function(t){this.ima=new m(this,t)}),b("imaDai",function(t,e){if(t instanceof y)e.streamType="live",e.assetKey=t.assetKey;else{if(!(t instanceof v))return void window.console.error("initDai() first parameter must be an instance of LiveStream or VodStream.");e.streamType="vod",e.cmsId=t.cmsId,e.videoId=t.videoId}e.streamFormat=t.streamFormat,this.imaDai=new A(this,e)})},44065:(t,e,r)=>{"use strict";r.d(e,{BX:()=>d,Et:()=>u,TY:()=>h,UD:()=>p,YZ:()=>f,Yg:()=>g,dv:()=>m,fz:()=>c,tB:()=>l});var n=r(38216),i=r.n(n),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},s=["video","audio","text"],o=["Video","Audio","Text"],u=function(t){return t?t.replace(/avc1\.(\d+)\.(\d+)/i,function(t,e,r){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(r).toString(16)).slice(-2)}):t},l=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach(function(t){var e;t=t.trim(),s.forEach(function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var s=t.substring(0,i[1].length),o=t.replace(s,"");r.push({type:s,details:o,mediaType:n})}}),e||r.push({type:t,details:"",mediaType:"unknown"})}),r},d=function(t,e){if(!t.mediaGroups.AUDIO||!e)return null;var r=t.mediaGroups.AUDIO[e];if(!r)return null;for(var n in r){var i=r[n];if(i.default&&i.playlists)return l(i.playlists[0].attributes.CODECS)}return null},c=function(t){return void 0===t&&(t=""),a.audio.test(t.trim().toLowerCase())},p=function(t){if(t&&"string"==typeof t){var e,r=t.toLowerCase().split(",").map(function(t){return u(t.trim())}),n="video";1===r.length&&c(r[0])?n="audio":1===r.length&&(void 0===(e=r[0])&&(e=""),a.text.test(e.trim().toLowerCase()))&&(n="application");var i="mp4";return r.every(function(t){return a.mp4.test(t)})?i="mp4":r.every(function(t){return a.webm.test(t)})?i="webm":r.every(function(t){return a.ogg.test(t)}
1)&&(i="ogg"),n+"/"+i+';codecs="'+t+'"'}},h=function(t){return void 0===t&&(t=""),i().MediaSource&&i().MediaSource.isTypeSupported&&i().MediaSource.isTypeSupported(p(t))||!1},f=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every(function(t){t=t.trim();for(var e=0;e<o.length;e++)if(a["muxer"+o[e]].test(t))return!0;return!1})},g="mp4a.40.2",m="avc1.4d400d"},44501:(t,e,r)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(null,arguments)}r.d(e,{A:()=>n})},48878:(t,e,r)=>{var n=r(75708).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:0x7fffffff&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:0xfffffff&e.getUint32(i+8)});return r}},51078:(t,e,r)=>{"use strict";var n=r(65988),i=r(38216),a=r.n(i);function s(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var o={align:"top-left",class:"",content:"This overlay will show up while the video is playing",debug:!1,showBackground:!0,attachToControlBar:!1,overlays:[{start:"playing",end:"paused"}]},u=n.A.getComponent("Component"),l=n.A.dom||n.A,d=n.A.registerPlugin||n.A.plugin,c=function(t){return"number"==typeof t&&t==t},p=function(t){return"string"==typeof t&&/^\S+$/.test(t)},h=function(t){function e(r,n){var i;return i=t.call(this,r,n)||this,["start","end"].forEach(function(t){var e=i.options_[t];if(c(e))i[t+"Event_"]="timeupdate";else if(p(e))i[t+"Event_"]=e;else if("start"===t)throw Error('invalid "start" option; expected number or string')}),["endListener_","rewindListener_","startListener_"].forEach(function(t){i[t]=function(r){return e.prototype[t].call(s(s(i)),r)}}),"timeupdate"===i.startEvent_&&i.on(r,"timeupdate",i.rewindListener_),i.debug('created, listening to "'+i.startEvent_+'" for "start" and "'+(i.endEvent_||"nothing")+'" for "end"'),i.hide(),i}e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t;var r=e.prototype;return r.createEl=function(){var t=this.options_,e=t.content,r=t.showBackground?"vjs-overlay-background":"vjs-overlay-no-background",n=l.createEl("div",{className:"\n vjs-overlay\n vjs-overlay-"+t.align+"\n "+t.class+"\n "+r+"\n vjs-hidden\n "});return"string"==typeof e?n.innerHTML=e:e instanceof a().DocumentFragment?n.appendChild(e):l.appendContent(n,e),n},r.debug=function(){if(this.options_.debug){for(var t=n.A.log,e=t,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];t.hasOwnProperty(i[0])&&"function"==typeof t[i[0]]&&(e=t[i.shift()]),e.apply(void 0,["overlay#"+this.id()+": "].concat(i))}},r.hide=function(){return t.prototype.hide.call(this),this.debug("hidden"),this.debug('bound `startListener_` to "'+this.startEvent_+'"'),this.endEvent_&&(this.debug('unbound `endListener_` from "'+this.endEvent_+'"'),this.off(this.player(),this.endEvent_,this.endListener_)),this.on(this.player(),this.startEvent_,this.startListener_),this},r.shouldHide_=function(t,e){var r=this.options_.end;return c(r)?t>=r:r===e},r.show=function(){return t.prototype.show.call(this),this.off(this.player(),this.startEvent_,this.startListener_),this.debug("shown"),this.debug('unbound `startListener_` from "'+this.startEvent_+'"'),this.endEvent_&&(this.debug('bound `endListener_` to "'+this.endEvent_+'"'),this.on(this.player(),this.endEvent_,this.endListener_)),this},r.shouldShow_=function(t,e){var r=this.options_.start,n=this.options_.end;return c(r)?c(n)?t>=r&&t<n:this.hasShownSinceSeek_?Math.floor(t)===r:(this.hasShownSinceSeek_=!0,t>=r):r===e},r.startListener_=function(t){var e=this.player().currentTime();this.shouldShow_(e,t.type)&&this.show()},r.endListener_=function(t){var e=this.player().currentTime();this.shouldHide_(e,t.type)&&this.hide()},r.rewindListener_=function(t){var e=this.player().currentTime(),r=this.previousTime_,n=this.options_.start,i=this.options_.end;e<r&&(this.debug("rewind detected"),c(i)&&!this.shouldShow_(e)?(this.debug("hiding; "+i+" is an integer and overlay should not show at this time"),this.hasShownSinceSeek_=!1,this.hide()):p(i)&&e<n&&(this.debug("hiding; show point ("+n+") is before now ("+e+") and end point ("+i+") is an event"),this.hasShownSinceSeek_=!1,this.hide())),this.previousTime_=e},e}(u);n.A.registerComponent("Overlay",h);var f=function(t){var e=this,r=n.A.mergeOptions(o,t);Array.isArray(this.overlays_)&&this.overlays_.forEach(function(t){e.removeChild(t),e.controlBar&&e.controlBar.removeChild(t),t.dispose()});var i=r.overlays;delete r.overlays,this.overlays_=i.map(function(t){var i=n.A.mergeOptions(r,t),a="string"==typeof i.attachToControlBar||!0===i.attachToControlBar;if(!e.controls()||!e.controlBar)return e.addChild("overlay",i);if(a&&-1!==i.align.indexOf("bottom")){var s=e.controlBar.children()[0];if(void 0!==e.controlBar.getChild(i.attachToControlBar)&&(s=e.controlBar.getChild(i.attachToControlBar)),s){var o=e.controlBar.addChild("overlay",i);return e.controlBar.el().insertBefore(o.el(),s.el()),o}}var u=e.addChild("overlay",i);return e.el().insertBefore(u.el(),e.controlBar.el()),u})};f.VERSION="2.1.4",d("overlay",f)},52317:()=>{},54224:(t,e,r)=>{var n=r(63400);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(71544).DOMParser},56982:(t,e,r)=>{"use strict";r.d(e,{I:()=>a});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^a
1pplication\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},59457:t=>{var e={"":!0,up:!0};function r(t){return"number"==typeof t&&t>=0&&t<=100}t.exports=function(){var t=100,n=3,i=0,a=100,s=0,o=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return n},set:function(t){if("number"!=typeof t)throw TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!r(t))throw Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw Error("ViewportAnchorY must be between 0 and 100.");o=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){var r="string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase();!1===r?console.warn("Scroll: an invalid or illegal string was specified."):u=r}}})}},59652:t=>{var e,r,n,i;e=function(t){return 9e4*t},r=function(t,e){return t*e},n=function(t){return t/9e4},t.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i=function(t,e){return t/e},audioTsToVideoTs:function(t,r){return e(i(t,r))},videoTsToAudioTs:function(t,e){return r(n(t),e)},metadataTsToSeconds:function(t,e,r){return n(r?t:t-e)}}},59878:(t,e,r)=>{var n=r(78692).getUint64;t.exports=function(t){var e=new DataView(t.buffer,t.byteOffset,t.byteLength),r={version:t[0],flags:new Uint8Array(t.subarray(1,4)),references:[],referenceId:e.getUint32(4),timescale:e.getUint32(8)},i=12;0===r.version?(r.earliestPresentationTime=e.getUint32(i),r.firstOffset=e.getUint32(i+4),i+=8):(r.earliestPresentationTime=n(t.subarray(i)),r.firstOffset=n(t.subarray(i+8)),i+=16),i+=2;var a=e.getUint16(i);for(i+=2;a>0;i+=12,a--)r.references.push({referenceType:(128&t[i])>>>7,referencedSize:0x7fffffff&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:0xfffffff&e.getUint32(i+8)});return r}},60335:function(t,e,r){var n,i,a;!function(s,o){"use strict";t.exports?t.exports=o(r(10841)):(i=[r(10841)],void 0===(a="function"==typeof(n=o)?n.apply(e,i):n)||(t.exports=a))}(0,function(t){"use strict";void 0===t.version&&t.default&&(t=t.default);var e,r,n={},i={},a={},s={},o={};t&&"string"==typeof t.version||I("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var u=t.version.split("."),l=+u[0],d=+u[1];function c(t){return t>96?t-87:t>64?t-29:t-48}function p(t){var e,r=0,n=t.split("."),i=n[0],a=n[1]||"",s=1,o=0,u=1;for(45===t.charCodeAt(0)&&(r=1,u=-1);r<i.length;r++)o=60*o+(e=c(i.charCodeAt(r)));for(r=0;r<a.length;r++)s/=60,o+=(e=c(a.charCodeAt(r)))*s;return o*u}function h(t){for(var e=0;e<t.length;e++)t[e]=p(t[e])}function f(t,e){var r,n=[];for(r=0;r<e.length;r++)n[r]=t[e[r]];return n}function g(t){var e=t.split("|"),r=e[2].split(" "),n=e[3].split(""),i=e[4].split(" ");h(r),h(n),h(i);for(var a=n.length,s=0;s<a;s++)i[s]=Math.round((i[s-1]||0)+6e4*i[s]);return i[a-1]=1/0,{name:e[0],abbrs:f(e[1].split(" "),n),offsets:f(r,n),untils:i,population:0|e[5]}}function m(t){t&&this._set(g(t))}function A(t,e){this.name=t,this.zones=e}function y(t){var e=t.toTimeString(),r=e.match(/\([a-z ]+\)/i);"GMT"===(r=r&&r[0]?(r=r[0].match(/[A-Z]/g))?r.join(""):void 0:(r=e.match(/[A-Z]{3,5}/g))?r[0]:void 0)&&(r=void 0),this.at=+t,this.abbr=r,this.offset=t.getTimezoneOffset()}function v(t){this.zone=t,this.offsetScore=0,this.abbrScore=0}function b(t,e){return t.offsetScore!==e.offsetScore?t.offsetScore-e.offsetScore:t.abbrScore!==e.abbrScore?t.abbrScore-e.abbrScore:t.zone.population!==e.zone.population?e.zone.population-t.zone.population:e.zone.name.localeCompare(t.zone.name)}function E(t){return(t||"").toLowerCase().replace(/\//g,"_")}function T(t){var e,r,i,a;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)n[a=E(r=(i=t[e].split("|"))[0])]=t[e],s[a]=r,function(t,e){var r,n;for(h(e),r=0;r<e.length;r++)o[n=e[r]]=o[n]||{},o[n][t]=!0}(a,i[2].split(" "))}function D(t,e){var r,a=n[t=E(t)];return a instanceof m?a:"string"==typeof a?(a=new m(a),n[t]=a,a):i[t]&&e!==D&&(r=D(i[t],D))?((a=n[t]=new m)._set(r),a.name=s[t],a):null}function S(t){var e,r,n,a;for("string"==typeof t&&(t=[t]),e=0;e<t.length;e++)n=E((r=t[e].split("|"))[0]),a=E(r[1]),i[n]=a,s[n]=r[0],i[a]=n,s[a]=r[1]}function w(t){return w.didShowError||(w.didShowError=!0,I("moment.tz.zoneExists('"+t+"') has been deprecated
1in favor of !moment.tz.zone('"+t+"')")),!!D(t)}function C(t){var e="X"===t._f||"x"===t._f;return!!(t._a&&void 0===t._tzm&&!e)}function I(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t)}function P(e){var r,n=Array.prototype.slice.call(arguments,0,-1),i=arguments[arguments.length-1],a=t.utc.apply(null,n);return!t.isMoment(e)&&C(a)&&(r=D(i))&&a.add(r.parse(a),"minutes"),a.tz(i),a}(l<2||2===l&&d<6)&&I("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com"),m.prototype={_set:function(t){this.name=t.name,this.abbrs=t.abbrs,this.untils=t.untils,this.offsets=t.offsets,this.population=t.population},_index:function(t){var e;if((e=function(t,e){var r,n=e.length;if(t<e[0])return 0;if(n>1&&e[n-1]===1/0&&t>=e[n-2])return n-1;if(t>=e[n-1])return -1;for(var i=0,a=n-1;a-i>1;)e[r=Math.floor((i+a)/2)]<=t?i=r:a=r;return a}(+t,this.untils))>=0)return e},countries:function(){var t=this.name;return Object.keys(a).filter(function(e){return -1!==a[e].zones.indexOf(t)})},parse:function(t){var e,r,n,i,a=+t,s=this.offsets,o=this.untils,u=o.length-1;for(i=0;i<u;i++)if(e=s[i],r=s[i+1],n=s[i?i-1:i],e<r&&P.moveAmbiguousForward?e=r:e>n&&P.moveInvalidForward&&(e=n),a<o[i]-6e4*e)return s[i];return s[u]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){return I("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(t)]},utcOffset:function(t){return this.offsets[this._index(t)]}},v.prototype.scoreOffsetAt=function(t){this.offsetScore+=Math.abs(this.zone.utcOffset(t.at)-t.offset),this.zone.abbr(t.at).replace(/[^A-Z]/g,"")!==t.abbr&&this.abbrScore++},P.version="0.6.0",P.dataVersion="",P._zones=n,P._links=i,P._names=s,P._countries=a,P.add=T,P.link=S,P.load=function(t){T(t.zones),S(t.links),function(t){var e,r,n,i;if(t&&t.length)for(e=0;e<t.length;e++)r=(i=t[e].split("|"))[0].toUpperCase(),n=i[1].split(" "),a[r]=new A(r,n)}(t.countries),P.dataVersion=t.version},P.zone=D,P.zoneExists=w,P.guess=function(t){return(!r||t)&&(r=function(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(t&&t.length>3){var e=s[E(t)];if(e)return e;I("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var r,n,i,a=function(){var t,e,r,n,i=new Date().getFullYear()-2,a=new y(new Date(i,0,1)),s=a.offset,o=[a];for(n=1;n<48;n++)(r=new Date(i,n,1).getTimezoneOffset())!==s&&(o.push(t=function(t,e){for(var r,n;n=((e.at-t.at)/12e4|0)*6e4;)(r=new y(new Date(t.at+n))).offset===t.offset?t=r:e=r;return t}(a,e=new y(new Date(i,n,1)))),o.push(new y(new Date(t.at+6e4))),a=e,s=r);for(n=0;n<4;n++)o.push(new y(new Date(i+n,0,1))),o.push(new y(new Date(i+n,6,1)));return o}(),u=a.length,l=function(t){var e,r,n,i,a=t.length,u={},l=[],d={};for(e=0;e<a;e++)if(n=t[e].offset,!d.hasOwnProperty(n)){for(r in i=o[n]||{})i.hasOwnProperty(r)&&(u[r]=!0);d[n]=!0}for(e in u)u.hasOwnProperty(e)&&l.push(s[e]);return l}(a),d=[];for(n=0;n<l.length;n++){for(i=0,r=new v(D(l[n]),u);i<u;i++)r.scoreOffsetAt(a[i]);d.push(r)}return d.sort(b),d.length>0?d[0].zone.name:void 0}()),r},P.names=function(){var t,e=[];for(t in s)s.hasOwnProperty(t)&&(n[t]||n[i[t]])&&s[t]&&e.push(s[t]);return e.sort()},P.Zone=m,P.unpack=g,P.unpackBase60=p,P.needsOffset=C,P.moveInvalidForward=!0,P.moveAmbiguousForward=!1,P.countries=function(){return Object.keys(a)},P.zonesForCountry=function(t,e){if(!(t=a[t.toUpperCase()]||null))return null;var r,n=t.zones.sort();return e?n.map(function(t){var e=D(t);return{name:t,offset:e.utcOffset(new Date)}}):n};var R=t.fn;function N(t){return function(){return this._z?this._z.abbr(this):t.call(this)}}function L(t){return function(){return this._z=null,t.apply(this,arguments)}}t.tz=P,t.defaultZone=null,t.updateOffset=function(e,r){var n,i=t.defaultZone;if(void 0===e._z&&(i&&C(e)&&!e._isUTC&&e.isValid()&&(e._d=t.utc(e._a)._d,e.utc().add(i.parse(e),"minutes")),e._z=i),e._z)if(16>Math.abs(n=e._z.utcOffset(e))&&(n/=60),void 0!==e.utcOffset){var a=e._z;e.utcOffset(-n,r),e._z=a}else e.zone(n,r)},R.tz=function(e,r){if(e){if("string"!=typeof e)throw Error("Time zone name must be a string, got "+e+" ["+typeof e+"]");return this._z=D(e),this._z?t.updateOffset(this,r):I("Moment Timezone has no data for "+e+". See http://momentjs.com/timezone/docs/#/data-loading/."),this}if(this._z)return this._z.name},R.zoneName=N(R.zoneName),R.zoneAbbr=N(R.zoneAbbr),R.utc=L(R.utc),R.local=L(R.local),e=R.utcOffset,R.utcOffset=function(){return arguments.length>0&&(this._z=null),e.apply(this,arguments)},t.tz.setDefault=function(e){return(l<2||2===l&&d<9)&&I("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+t.version+"."),t.defaultZone=e?D(e):null,t};var M=t.momentProperties;return"[object Array]"===Object.prototype.toString.call(M)?(M.push("_z"),M.push("_a")):M&&(M._z=null),t})},61096:(t,e,r)=>{"use strict";r.d(e,{Af:()=>h,Ar:()=>p,Bu:()=>f,L7:()=>g,Sk:()=>d,WG:()=>c,W_:()=>o,hc:()=>s});var n=r(38216),i=r.n(n),a=function(t,e){for(var r="";e--;)r+=t;return r},s=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},o=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||s(t)||t instanceof ArrayBuffer||(t="number"!=typeof t||"number"==typeof t&&t!=t?0:[t]),new Uint8Array(t&&t.buffer||t,t&&t.byteOffset||0,t&&t.byteLength||0))},u=i().BigInt||Number,l=[u("0x1"),u("0x100"),u("0x10000"),u("0x1000000"),u("0x100000000"),u("0x10000000000"),u("0x1000000000000"),u("0x100000000000000"),u("0x10000000000000000")],d=(function(){var t=new Uint16Array([65484]),e=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);255===e[0]||204===e[0]}(),function(t,e){var r=void 0===e?{}:e,n=r.signed,i=r.le,a=void 0!==i&&i;t=o(t);var s=a?"reduce":"reduceRight",d=(t[s]?t[s]:Array.prototype[s]).call(t,function(e,r,n){var i=a?n:Math.abs(n+1-t.length);return e+u(r)*l[i]},u(0));if(void 0!==n&&n){var c=l[t.length]/u(2)-u(1);(d=u(d))>c&&(d-=c,d-=c,d-=u(2))}return Number(d)}),c=function(t,e){var r=(void 0===e?{}:e).le,n=void 0!==r&&r;("bigint"!=typeof t&&"number"!=typeof t||"number"==typeof t&&t!=t)&&(t=0);for(var i=Math.ceil((t=u(t)).toString(2).length/8),a=new Uint8Array(new ArrayBuffer(i)),s=0;s<i;s++){var o=n?s:Math.abs(s+1-a.length);a[o]=Number(t/l[s]&u(255)),t<0&&(a[o]=Math.abs(~a[o]),a[o]-=0===s?1:2)}return a},p=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,o(t));try{return decodeURIComponent(escape(e))}catch(t){}return e},h=function(t,e){if("string"!=typeof t&&t&&"function"==typeof t.toString&&(t=t.toString()),"string"!=typeof t)return new Uint8Array;e||(t=unescape(encodeURIComponent(t)));
1for(var r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r},f=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];if((e=e.filter(function(t){return t&&(t.byteLength||t.length)&&"string"!=typeof t})).length<=1)return o(e[0]);var n=new Uint8Array(e.reduce(function(t,e,r){return t+(e.byteLength||e.length)},0)),i=0;return e.forEach(function(t){t=o(t),n.set(t,i),i+=t.byteLength}),n},g=function(t,e,r){var n=void 0===r?{}:r,i=n.offset,a=void 0===i?0:i,s=n.mask,u=void 0===s?[]:s;t=o(t);var l=(e=o(e)).every?e.every:Array.prototype.every;return e.length&&t.length-a>=e.length&&l.call(e,function(e,r){return e===(u[r]?u[r]&t[a+r]:t[a+r])})}},61502:function(t){var e,r,n,i,a;e=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,r=/^(?=([^\/?#]*))\1([^]*)$/,n=/(?:\/|^)\.(?=\/)/g,i=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,t.exports=a={buildAbsoluteURL:function(t,e,n){if(n=n||{},t=t.trim(),!(e=e.trim())){if(!n.alwaysNormalize)return t;var i=a.parseURL(t);if(!i)throw Error("Error trying to parse base URL.");return i.path=a.normalizePath(i.path),a.buildURLFromParts(i)}var s=a.parseURL(e);if(!s)throw Error("Error trying to parse relative URL.");if(s.scheme)return n.alwaysNormalize?(s.path=a.normalizePath(s.path),a.buildURLFromParts(s)):e;var o=a.parseURL(t);if(!o)throw Error("Error trying to parse base URL.");if(!o.netLoc&&o.path&&"/"!==o.path[0]){var u=r.exec(o.path);o.netLoc=u[1],o.path=u[2]}o.netLoc&&!o.path&&(o.path="/");var l={scheme:o.scheme,netLoc:s.netLoc,path:null,params:s.params,query:s.query,fragment:s.fragment};if(!s.netLoc&&(l.netLoc=o.netLoc,"/"!==s.path[0]))if(s.path){var d=o.path,c=d.substring(0,d.lastIndexOf("/")+1)+s.path;l.path=a.normalizePath(c)}else l.path=o.path,!s.params&&(l.params=o.params,s.query||(l.query=o.query));return null===l.path&&(l.path=n.alwaysNormalize?a.normalizePath(s.path):s.path),a.buildURLFromParts(l)},parseURL:function(t){var r=e.exec(t);return r?{scheme:r[1]||"",netLoc:r[2]||"",path:r[3]||"",params:r[4]||"",query:r[5]||"",fragment:r[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(n,"");t.length!==(t=t.replace(i,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}}},62095:(t,e,r)=>{"use strict";var n=r(38216);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)return void t(r);if(i.statusCode>=400&&i.statusCode<=599){var s=a;if(e)if(n.TextDecoder){var o,u=(void 0===(o=i.headers&&i.headers["content-type"])&&(o=""),o.toLowerCase().split(";").reduce(function(t,e){var r=e.split("="),n=r[0],i=r[1];return"charset"===n.trim()?i.trim():t},"utf-8"));try{s=new TextDecoder(u).decode(a)}catch(t){}}else s=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:s});return}t(null,a)}}},63400:(t,e,r)=>{var n=r(82244),i=n.find,a=n.NAMESPACE;function s(t){return""!==t}function o(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function u(t){return t?Object.keys((t?t.split(/[\t\n\f\r ]+/).filter(s):[]).reduce(o,{})):[]}function l(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function d(t,e){var r=t.prototype;if(!(r instanceof e)){function n(){}n.prototype=e.prototype,l(r,n=new n),t.prototype=r=n}r.constructor!=t&&("function"!=typeof t&&console.error("unknown Class:"+t),r.constructor=t)}var c={},p=c.ELEMENT_NODE=1,h=c.ATTRIBUTE_NODE=2,f=c.TEXT_NODE=3,g=c.CDATA_SECTION_NODE=4,m=c.ENTITY_REFERENCE_NODE=5,A=c.ENTITY_NODE=6,y=c.PROCESSING_INSTRUCTION_NODE=7,v=c.COMMENT_NODE=8,b=c.DOCUMENT_NODE=9,E=c.DOCUMENT_TYPE_NODE=10,T=c.DOCUMENT_FRAGMENT_NODE=11,D=c.NOTATION_NODE=12,S={},w={};w[1]="Index size error",S.INDEX_SIZE_ERR=1,w[2]="DOMString size error",S.DOMSTRING_SIZE_ERR=2;var C=(w[3]="Hierarchy request error",S.HIERARCHY_REQUEST_ERR=3);w[4]="Wrong document",S.WRONG_DOCUMENT_ERR=4,w[5]="Invalid character",S.INVALID_CHARACTER_ERR=5,w[6]="No data allowed",S.NO_DATA_ALLOWED_ERR=6,w[7]="No modification allowed",S.NO_MODIFICATION_ALLOWED_ER
1R=7;var I=(w[8]="Not found",S.NOT_FOUND_ERR=8);w[9]="Not supported",S.NOT_SUPPORTED_ERR=9;var P=(w[10]="Attribute in use",S.INUSE_ATTRIBUTE_ERR=10);function R(t,e){if(e instanceof Error)var r=e;else r=this,Error.call(this,w[t]),this.message=w[t],Error.captureStackTrace&&Error.captureStackTrace(this,R);return r.code=t,e&&(this.message=this.message+": "+e),r}function N(){}function L(t,e){this._node=t,this._refresh=e,M(this)}function M(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var r=t._refresh(t._node);if(tg(t,"length",r.length),!t.$$length||r.length<t.$$length)for(var n=r.length;n in t;n++)Object.prototype.hasOwnProperty.call(t,n)&&delete t[n];l(r,t),t._inc=e}}function O(){}function k(t,e){for(var r=t.length;r--;)if(t[r]===e)return r}function _(t,e,r,n){if(n?e[k(e,n)]=r:e[e.length++]=r,t){r.ownerElement=t;var i,s,o,u=t.ownerDocument;u&&(n&&X(u,t,n),i=u,s=t,o=r,i&&i._inc++,o.namespaceURI===a.XMLNS&&(s._nsMap[o.prefix?o.localName:""]=o.value))}}function x(t,e,r){var n=k(e,r);if(n>=0){for(var i=e.length-1;n<i;)e[n]=e[++n];if(e.length=i,t){var a=t.ownerDocument;a&&(X(a,t,r),r.ownerElement=null)}}else throw new R(I,Error(t.tagName+"@"+r))}function U(){}function B(){}function q(t){return"<"==t&&"<"||">"==t&&">"||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function j(t,e){if(e(t))return!0;if(t=t.firstChild)do if(j(t,e))return!0;while(t=t.nextSibling)}function F(){this.ownerDocument=this}function X(t,e,r,n){t&&t._inc++,r.namespaceURI===a.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function W(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,a=0;i;)n[a++]=i,i=i.nextSibling;n.length=a,delete n[n.length]}}}function V(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,W(t.ownerDocument,t),e}function H(t){return t&&t.nodeType===B.DOCUMENT_TYPE_NODE}function G(t){return t&&t.nodeType===B.ELEMENT_NODE}function z(t){return t&&t.nodeType===B.TEXT_NODE}function Y(t,e){var r=t.childNodes||[];if(i(r,G)||H(e))return!1;var n=i(r,H);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function $(t,e){var r=t.childNodes||[];if(i(r,function(t){return G(t)&&t!==e}))return!1;var n=i(r,H);return!(e&&n&&r.indexOf(n)>r.indexOf(e))}function Z(t,e,r){var n=t.childNodes||[],a=e.childNodes||[];if(e.nodeType===B.DOCUMENT_FRAGMENT_NODE){var s=a.filter(G);if(s.length>1||i(a,z))throw new R(C,"More than one element or text in fragment");if(1===s.length&&!$(t,r))throw new R(C,"Element in fragment can not be inserted before doctype")}if(G(e)&&!$(t,r))throw new R(C,"Only one element can be added and only after doctype");if(H(e)){if(i(n,function(t){return H(t)&&t!==r}))throw new R(C,"Only one doctype is allowed");var o=i(n,G);if(r&&n.indexOf(o)<n.indexOf(r))throw new R(C,"Doctype can only be inserted before an element")}}function K(t,e,r,n){if(!(t&&(t.nodeType===B.DOCUMENT_NODE||t.nodeType===B.DOCUMENT_FRAGMENT_NODE||t.nodeType===B.ELEMENT_NODE)))throw new R(C,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new R(I,"child not in parent");if(!(e&&(G(e)||z(e)||H(e)||e.nodeType===B.DOCUMENT_FRAGMENT_NODE||e.nodeType===B.COMMENT_NODE||e.nodeType===B.PROCESSING_INSTRUCTION_NODE))||H(e)&&t.nodeType!==B.DOCUMENT_NODE)throw new R(C,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType);t.nodeType===B.DOCUMENT_NODE&&(n||function(t,e,r){var n=t.childNodes||[],a=e.childNodes||[];if(e.nodeType===B.DOCUMENT_FRAGMENT_NODE){var s=a.filter(G);if(s.length>1||i(a,z))throw new R(C,"More than one element or text in fragment");if(1===s.length&&!Y(t,r))throw new R(C,"Element in fragment can not be inserted before doctype")}if(G(e)&&!Y(t,r))throw new R(C,"Only one element can be added and only after doctype");if(H(e)){if(i(n,H))throw new R(C,"Only one doctype is allowed");var o=i(n,G);if(r&&n.indexOf(o)<n.indexOf(r))throw new R(C,"Doctype can only be inserted before an element");if(!r&&o)throw new R(C,"Doctype can not be appended since element is present")}})(t,e,r);var a=e.parentNode;if(a&&a.removeChild(e),e.nodeType===T){var s=e.firstChild;if(null==s)return e;
1var o=e.lastChild}else s=o=e;var u=r?r.previousSibling:t.lastChild;s.previousSibling=u,o.nextSibling=r,u?u.nextSibling=s:t.firstChild=s,null==r?t.lastChild=o:r.previousSibling=o;do s.parentNode=t;while(s!==o&&(s=s.nextSibling));return W(t.ownerDocument||t,t),e.nodeType==T&&(e.firstChild=e.lastChild=null),e}function Q(){this._nsMap={}}function J(){}function tt(){}function te(){}function tr(){}function tn(){}function ti(){}function ta(){}function ts(){}function to(){}function tu(){}function tl(){}function td(){}function tc(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,a=n.namespaceURI;if(a&&null==i){var i=n.lookupPrefix(a);if(null==i)var s=[{namespace:a,prefix:null}]}return tf(this,r,t,e,s),r.join("")}function tp(t,e,r){var n=t.prefix||"",i=t.namespaceURI;if(!i||"xml"===n&&i===a.XML||i===a.XMLNS)return!1;for(var s=r.length;s--;){var o=r[s];if(o.prefix===n)return o.namespace!==i}return!0}function th(t,e,r){t.push(" ",e,'="',r.replace(/[<>&"\t\n\r]/g,q),'"')}function tf(t,e,r,n,i){if(i||(i=[]),n){if(!(t=n(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case p:var s,o=t.attributes,u=o.length,l=t.firstChild,d=t.tagName;r=a.isHTML(t.namespaceURI)||r;var c=d;if(!r&&!t.prefix&&t.namespaceURI){for(var A=0;A<o.length;A++)if("xmlns"===o.item(A).name){s=o.item(A).value;break}if(!s)for(var D=i.length-1;D>=0;D--){var S=i[D];if(""===S.prefix&&S.namespace===t.namespaceURI){s=S.namespace;break}}if(s!==t.namespaceURI)for(var D=i.length-1;D>=0;D--){var S=i[D];if(S.namespace===t.namespaceURI){S.prefix&&(c=S.prefix+":"+d);break}}}e.push("<",c);for(var w=0;w<u;w++){var C=o.item(w);"xmlns"==C.prefix?i.push({prefix:C.localName,namespace:C.value}):"xmlns"==C.nodeName&&i.push({prefix:"",namespace:C.value})}for(var w=0;w<u;w++){var C=o.item(w);if(tp(C,r,i)){var I=C.prefix||"",P=C.namespaceURI;th(e,I?"xmlns:"+I:"xmlns",P),i.push({prefix:I,namespace:P})}tf(C,e,r,n,i)}if(d===c&&tp(t,r,i)){var I=t.prefix||"",P=t.namespaceURI;th(e,I?"xmlns:"+I:"xmlns",P),i.push({prefix:I,namespace:P})}if(l||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(d)){if(e.push(">"),r&&/^script$/i.test(d))for(;l;)l.data?e.push(l.data):tf(l,e,r,n,i.slice()),l=l.nextSibling;else for(;l;)tf(l,e,r,n,i.slice()),l=l.nextSibling;e.push("</",c,">")}else e.push("/>");return;case b:case T:for(var l=t.firstChild;l;)tf(l,e,r,n,i.slice()),l=l.nextSibling;return;case h:return th(e,t.name,t.value);case f:return e.push(t.data.replace(/[<&>]/g,q));case g:return e.push("<![CDATA[",t.data,"]]>");case v:return e.push("\x3c!--",t.data,"--\x3e");case E:var R=t.publicId,N=t.systemId;if(e.push("<!DOCTYPE ",t.name),R)e.push(" PUBLIC ",R),N&&"."!=N&&e.push(" ",N),e.push(">");else if(N&&"."!=N)e.push(" SYSTEM ",N,">");else{var L=t.internalSubset;L&&e.push(" [",L,"]"),e.push(">")}return;case y:return e.push("<?",t.target," ",t.data,"?>");case m:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function tg(t,e,r){t[e]=r}w[11]="Invalid state",S.INVALID_STATE_ERR=11,w[12]="Syntax error",S.SYNTAX_ERR=12,w[13]="Invalid modification",S.INVALID_MODIFICATION_ERR=13,w[14]="Invalid namespace",S.NAMESPACE_ERR=14,w[15]="Invalid access",S.INVALID_ACCESS_ERR=15,R.prototype=Error.prototype,l(S,R),N.prototype={length:0,item:function(t){return t>=0&&t<this.length?this[t]:null},toString:function(t,e){for(var r=[],n=0;n<this.length;n++)tf(this[n],r,t,e);return r.join("")},filter:function(t){return Array.prototype.filter.call(this,t)},indexOf:function(t){return Array.prototype.indexOf.call(this,t)}},L.prototype.item=function(t){return M(this),this[t]||null},d(L,N),O.prototype={length:0,item:N.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var r=this[e];if(r.nodeName==t)return r}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new R(P);var r=this.getNamedItem(t.nodeName);return _(this._ownerElement,this,t,r),r},setNamedItemNS:function(t){var e,r=t.ownerElement;if(r&&r!=this._ownerElement)throw new R(P);return e=this.getNamedItemNS(t.namespaceURI,t.localName),_(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return x(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var r=this.getNamedItemNS(t,e);return x(this._ownerElement,this,r),r},getNamedItemNS:function(t,e){for(var r=this.length;r--;){var n=this[r];if(n.localName==e&&n.namespaceURI==t)return n}return null}},U.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,r){var n=new F;if(n.implementation=this,n.childNodes=new N,n.doctype=r||null,r&&n.appendChild(r),e){var i=n.createElementNS(t,e);n.appendChild(i)}return n},createDocumentType:function(t,e,r){var n=new ti;return n.name=t,n.nodeName=t,n.publicId=e||"",n.systemId=r||"",n}},B.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return K(this,t,e)},replaceChild:function(t,e){K(this,t,e,Z),e&&this.removeChild(e)},removeChild:function(t){return V(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return function t(e,r,n){var i=new r.constructor;for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a)){var s=r[a];"object"!=typeof s&&s!=i[a]&&(i[a]=s)}switch(r.childNodes&&(i.childNodes=new N),i.ownerDocument=e,i.nodeType){case p:var o=r.attributes,u=i.attributes=new O,l=o.length;u._ownerElement=i;for(var d=0;d<l;d++)i.setAttributeNode(t(e,o.item(d),!0));break;case h:n=!0}if(n)for(var c=r.firstChild;c;)i.appendChild(t(e,c,n)),c=c.nextSibling;return i}(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==f&&t.nodeType==f?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===t)return n}e=e.nodeType==h?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];e=e.nodeType==h?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},l(c,B),l(c,B.prototype),F.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.no
1deType==T){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return K(this,t,e),t.ownerDocument=this,null===this.documentElement&&t.nodeType===p&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),V(this,t)},replaceChild:function(t,e){K(this,t,e,Z),t.ownerDocument=this,e&&this.removeChild(e),G(t)&&(this.documentElement=t)},importNode:function(t,e){return function t(e,r,n){var i;switch(r.nodeType){case p:(i=r.cloneNode(!1)).ownerDocument=e;case T:break;case h:n=!0}if(i||(i=r.cloneNode(!1)),i.ownerDocument=e,i.parentNode=null,n)for(var a=r.firstChild;a;)i.appendChild(t(e,a,n)),a=a.nextSibling;return i}(this,t,e)},getElementById:function(t){var e=null;return j(this.documentElement,function(r){if(r.nodeType==p&&r.getAttribute("id")==t)return e=r,!0}),e},getElementsByClassName:function(t){var e=u(t);return new L(this,function(r){var n=[];return e.length>0&&j(r.documentElement,function(i){if(i!==r&&i.nodeType===p){var a=i.getAttribute("class");if(a){var s=t===a;if(!s){var o=u(a);s=e.every(function(t){return o&&-1!==o.indexOf(t)})}s&&n.push(i)}}}),n})},createElement:function(t){var e=new Q;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new N,(e.attributes=new O)._ownerElement=e,e},createDocumentFragment:function(){var t=new tu;return t.ownerDocument=this,t.childNodes=new N,t},createTextNode:function(t){var e=new te;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new tr;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new tn;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new tl;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new J;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new to;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new Q,n=e.split(":"),i=r.attributes=new O;return r.childNodes=new N,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new J,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},d(F,B),Q.prototype={nodeType:p,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===T?this.insertBefore(t,null):(t.parentNode&&t.parentNode.removeChild(t),t.parentNode=this,t.previousSibling=this.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:this.firstChild=t,this.lastChild=t,W(this.ownerDocument,this,t),t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new L(this,function(e){var r=[];return j(e,function(n){n!==e&&n.nodeType==p&&("*"===t||n.tagName==t)&&r.push(n)}),r})},getElementsByTagNameNS:function(t,e){return new L(this,function(r){var n=[];return j(r,function(i){i!==r&&i.nodeType===p&&("*"===t||i.namespaceURI===t)&&("*"===e||i.localName==e)&&n.push(i)}),n})}},F.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,F.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,d(Q,B),J.prototype.nodeType=h,d(J,B),tt.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw Error(w[C])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){r=this.data.substring(0,t)+r+this.data.substring(t+e),this.nodeValue=this.data=r,this.length=r.length}},d(tt,B),te.prototype={nodeName:"#text",nodeType:f,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},d(te,tt),tr.prototype={nodeName:"#comment",nodeType:v},d(tr,tt),tn.prototype={nodeName:"#cdata-section",nodeType:g},d(tn,tt),ti.prototype.nodeType=E,d(ti,B),ta.prototype.nodeType=D,d(ta,B),ts.prototype.nodeType=A,d(ts,B),to.prototype.nodeType=m,d(to,B),tu.prototype.nodeName="#document-fragment",tu.prototype.nodeType=T,d(tu,B),tl.prototype.nodeType=y,d(tl,B),td.prototype.serializeToString=function(t,e,r){return tc.call(t,e,r)},B.prototype.toString=tc;try{Object.defineProperty&&(Object.defineProperty(L.prototype,"length",{get:function(){return M(this),this.$$length}}),Object.defineProperty(B.prototype,"textContent",{get:function(){return function t(e){switch(e.nodeType){case p:case T:var r=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&r.push(t(e)),e=e.nextSibling;return r.join("");
1default:return e.nodeValue}}(this)},set:function(t){switch(this.nodeType){case p:case T:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),tg=function(t,e,r){t["$$"+e]=r})}catch(t){}e.DocumentType=ti,e.DOMException=R,e.DOMImplementation=U,e.Element=Q,e.Node=B,e.NodeList=N,e.XMLSerializer=td},63870:(t,e,r)=>{"use strict";r.d(e,{I:()=>a});var n=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,i=/^application\/dash\+xml/i,a=function(t){return n.test(t)?"hls":i.test(t)?"dash":"application/vnd.videojs.vhs+json"===t?"vhs-json":null}},65862:(t,e,r)=>{"use strict";function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(n=function(){return!!t})()}r.d(e,{A:()=>a});var i=r(74767);function a(t,e,r){if(n())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,e);var s=new(t.bind.apply(t,a));return r&&(0,i.A)(s,r.prototype),s}},66702:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(74767);function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,n.A)(t,e)}},67344:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(22464),i=(0,n.W_)([73,68,51]),a=function(t,e){void 0===e&&(e=0);var r=(t=(0,n.W_)(t))[e+5],i=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&r)>>4?i+20:i+10},s=function t(e,r){return(void 0===r&&(r=0),(e=(0,n.W_)(e)).length-r<10||!(0,n.L7)(e,i,{offset:r}))?r:(r+=a(e,r),t(e,r))}},67388:(t,e,r)=>{var n=r(82244).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function o(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,o)}function u(){}function l(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function d(t,e,r){for(var i=t.tagName,a=null,s=t.length;s--;){var o=t[s],u=o.qName,l=o.value,d=u.indexOf(":");if(d>0)var p=o.prefix=u.slice(0,d),h=u.slice(d+1),f="xmlns"===p&&h;else h=u,p=null,f="xmlns"===u&&"";o.localName=h,!1!==f&&(null==a&&(a={},c(r,r={})),r[f]=a[f]=l,o.uri=n.XMLNS,e.startPrefixMapping(f,l))}for(var s=t.length;s--;){var p=(o=t[s]).prefix;p&&("xml"===p&&(o.uri=n.XML),"xmlns"!==p&&(o.uri=r[p||""]))}var d=i.indexOf(":");d>0?(p=t.prefix=i.slice(0,d),h=t.localName=i.slice(d+1)):(p=null,h=t.localName=i);var g=t.uri=r[p||""];if(e.startElement(g,h,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(g,h,i),a)for(p in a)Object.prototype.hasOwnProperty.call(a,p)&&e.endPrefixMapping(p)}function c(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function p(){this.attributeNames={}}o.prototype=Error(),o.prototype.name=o.name,u.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),c(e,e={}),function(t,e,r,i,a){function s(t){var e,n=t.slice(1,-1);return Object.hasOwnProperty.call(r,n)?r[n]:"#"===n.charAt(0)?(e=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((e-=65536)>>10),56320+(1023&e)):String.fromCharCode(e):(a.error("entity not found:"+t),t)}function u(e){if(e>v){var r=t.substring(v,e).replace(/&#?\w+;/g,s);m&&c(v),i.characters(r,0,e-v),v=e}}function c(e,r){for(;e>=f&&(r=g.exec(t));)f=(h=r.index)+r[0].length,m.lineNumber++;m.columnNumber=e-h+1}for(var h=0,f=0,g=/.*(?:\r\n?|\n)|.*$/g,m=i.locator,A=[{currentNSMap:e}],y={},v=0;;){try{var b=t.indexOf("<",v);if(b<0){if(!t.substr(v).match(/^\s*$/)){var E=i.doc,T=E.createTextNode(t.substr(v));E.appendChild(T),i.currentElement=T}return}switch(b>v&&u(b),t.charAt(b+1)){case"/":var D=t.indexOf(">",b+3),S=t.substring(b+2,D).replace(/[ \t\n\r]+$/g,""),w=A.pop();D<0?(S=t.substring(b+2).replace(/[\s<].*/,""),a.error("end tag name: "+S+" is not complete:"+w.tagName),D=b+1+S.length):S.match(/\s</)&&(S=S.replace(/[\s<].*/,""),a.error("end tag name: "+S+" maybe not complete"),D=b+1+S.length);var C=w.localNSMap,I=w.tagName==S;if(I||w.tagName&&w.tagName.toLowerCase()==S.toLowerCase()){if(i.endElement(w.uri,w.localName,S),C)for(var P in C)Object.prototype.hasOwnProperty.call(C,P)&&i.endPrefixMapping(P);I||a.fatalError("end tag name: "+S+" is not match the current start tagName:"+w.tagName)}else A.push(w);D++;break;case"?":m&&c(b),D=function(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i)return i[0].length,r.processingInstruction(i[1],i[2]),n+2}return -1}(t,b,i);break;case"!":m&&c(b),D=function(t,e,r,n){if("-"===t.charAt(e+2)){if("-"===t.charAt(e+3)){var i=t.indexOf("--\x3e",e+4);if(i>e)return r.comment(t,e+4,i-e-4),i+3;n.error("Unclosed comment")}}else{if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var a=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=e,i.exec(t);r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var o=a[1][0],u=!1,l=!1;s>3&&(/^public$/i.test(a[2][0])?(u=a[3][0],l=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(l=a[3][0]));var d=a[s-1];return r.startDTD(o,u,l),r.endDTD(),d.index+d[0].length}}return -1}(t,b,i,a);break;default:m&&c(b);var R=new p,N=A[A.length-1].currentNSMap,D=function(t,e,r,i,a,s){function o(t,e,n){r.attributeNames.hasOwnProperty(t)&&s.fatalError("Attribute "+t+" redefined"),r.addValue(t,e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n)}for(var u,l,d=++e,c=0;;){var p=t.charAt(d);switch(p){case"=":if(1===c)u=t.slice(e,d),c=3;else if(2===c)c=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===c||1===c)if(1===c&&(s.warning('attribute value must after "="'),u=t.slice(e,d)),e=d+1,(d=t.indexOf(p,e))>
10)o(u,l=t.slice(e,d),e-1),c=5;else throw Error("attribute value no end '"+p+"' match");else if(4==c)o(u,l=t.slice(e,d),e),s.warning('attribute "'+u+'" missed start quot('+p+")!!"),e=d+1,c=5;else throw Error('attribute value must after "="');break;case"/":switch(c){case 0:r.setTagName(t.slice(e,d));case 5:case 6:case 7:c=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==c&&r.setTagName(t.slice(e,d)),d;case">":switch(c){case 0:r.setTagName(t.slice(e,d));case 5:case 6:case 7:break;case 4:case 1:"/"===(l=t.slice(e,d)).slice(-1)&&(r.closed=!0,l=l.slice(0,-1));case 2:2===c&&(l=u),4==c?(s.warning('attribute "'+l+'" missed quot(")!'),o(u,l,e)):(n.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),o(l,l,e));break;case 3:throw Error("attribute value missed!!")}return d;case"\x80":p=" ";default:if(p<=" ")switch(c){case 0:r.setTagName(t.slice(e,d)),c=6;break;case 1:u=t.slice(e,d),c=2;break;case 4:var l=t.slice(e,d);s.warning('attribute "'+l+'" missed quot(")!!'),o(u,l,e);case 5:c=6}else switch(c){case 2:r.tagName,n.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),o(u,u,e),e=d,c=1;break;case 5:s.warning('attribute space is required"'+u+'"!!');case 6:c=1,e=d;break;case 3:c=4,e=d;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}d++}}(t,b,R,N,s,a),L=R.length;if(!R.closed&&function(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf("</"+r+">"))<e&&(i=t.lastIndexOf("</"+r)),n[r]=i),i<e}(t,D,R.tagName,y)&&(R.closed=!0,r.nbsp||a.warning("unclosed xml attribute")),m&&L){for(var M=l(m,{}),O=0;O<L;O++){var k=R[O];c(k.offset),k.locator=l(m,{})}i.locator=M,d(R,i,N)&&A.push(R),i.locator=m}else d(R,i,N)&&A.push(R);n.isHTML(R.uri)&&!R.closed?D=function(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("</"+r+">",e),s=t.substring(e+1,a);if(/[&<]/.test(s))return/^script$/i.test(r)||(s=s.replace(/&#?\w+;/g,n)),i.characters(s,0,s.length),a}return e+1}(t,D,R.tagName,s,i):D++}}catch(t){if(t instanceof o)throw t;a.error("element parse error: "+t),D=-1}D>v?v=D:u(Math.max(b,v)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},p.prototype={setTagName:function(t){if(!s.test(t))throw Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!s.test(t))throw Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},e.XMLReader=u,e.ParseError=o},67832:(t,e,r)=>{"use strict";r.d(e,{iX:()=>m});var n=function(){function t(){this.listeners={}}var e=t.prototype;return e.on=function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)},e.off=function(t,e){if(!this.listeners[t])return!1;var r=this.listeners[t].indexOf(e);return this.listeners[t]=this.listeners[t].slice(0),this.listeners[t].splice(r,1),r>-1},e.trigger=function(t){var e=this.listeners[t];if(e)if(2==arguments.length)for(var r=e.length,n=0;n<r;++n)e[n].call(this,arguments[1]);else for(var i=Array.prototype.slice.call(arguments,1),a=e.length,s=0;s<a;++s)e[s].apply(this,i)},e.dispose=function(){this.listeners={}},e.pipe=function(t){this.on("data",function(e){t.push(e)})},t}(),i=r(44501),a=r(38216),s=r.n(a),o=r(59501).Buffer;class u extends n{constructor(){super(),this.buffer=""}push(t){let e;for(this.buffer+=t,e=this.buffer.indexOf("\n");e>-1;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)}}let l=function(t){let e=/([0-9.]*)?@?([0-9.]*)?/.exec(t||""),r={};return e[1]&&(r.length=parseInt(e[1],10)),e[2]&&(r.offset=parseInt(e[2],10)),r},d=function(t){let e,r={};if(!t)return r;let n=t.split(RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),i=n.length;for(;i--;)""!==n[i]&&((e=/([^=]*)=(.*)/.exec(n[i]).slice(1))[0]=e[0].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^\s+|\s+$/g,""),e[1]=e[1].replace(/^['"](.*)['"]$/g,"$1"),r[e[0]]=e[1]);return r},c=t=>{let e=t.split("x"),r={};return e[0]&&(r.width=parseInt(e[0],10)),e[1]&&(r.height=parseInt(e[1],10)),r};class p extends n{constructor(){super(),this.customParsers=[],this.tagMappers=[]}push(t){let e,r;if(0!==(t=t.trim()).length){if("#"!==t[0])return void this.trigger("data",{type:"uri",uri:t});this.tagMappers.reduce((e,r)=>{let n=r(t);return n===t?e:e.concat([n])}
1,[t]).forEach(t=>{for(let e=0;e<this.customParsers.length;e++)if(this.customParsers[e].call(this,t))return;if(0!==t.indexOf("#EXT"))return void this.trigger("data",{type:"comment",text:t.slice(1)});if(t=t.replace("\r",""),e=/^#EXTM3U/.exec(t))return void this.trigger("data",{type:"tag",tagType:"m3u"});if(e=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(t)){r={type:"tag",tagType:"inf"},e[1]&&(r.duration=parseFloat(e[1])),e[2]&&(r.title=e[2]),this.trigger("data",r);return}if(e=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"targetduration"},e[1]&&(r.duration=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-VERSION:([0-9.]*)?/.exec(t)){r={type:"tag",tagType:"version"},e[1]&&(r.version=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"media-sequence"},e[1]&&(r.number=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(t)){r={type:"tag",tagType:"discontinuity-sequence"},e[1]&&(r.number=parseInt(e[1],10)),this.trigger("data",r);return}if(e=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(t)){r={type:"tag",tagType:"playlist-type"},e[1]&&(r.playlistType=e[1]),this.trigger("data",r);return}if(e=/^#EXT-X-BYTERANGE:(.*)?$/.exec(t)){r=(0,i.A)(l(e[1]),{type:"tag",tagType:"byterange"}),this.trigger("data",r);return}if(e=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(t)){r={type:"tag",tagType:"allow-cache"},e[1]&&(r.allowed=!/NO/.test(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-MAP:(.*)$/.exec(t)){if(r={type:"tag",tagType:"map"},e[1]){let t=d(e[1]);t.URI&&(r.uri=t.URI),t.BYTERANGE&&(r.byterange=l(t.BYTERANGE))}this.trigger("data",r);return}if(e=/^#EXT-X-STREAM-INF:(.*)$/.exec(t)){r={type:"tag",tagType:"stream-inf"},e[1]&&(r.attributes=d(e[1]),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=c(r.attributes.RESOLUTION)),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),r.attributes["PROGRAM-ID"]&&(r.attributes["PROGRAM-ID"]=parseInt(r.attributes["PROGRAM-ID"],10))),this.trigger("data",r);return}if(e=/^#EXT-X-MEDIA:(.*)$/.exec(t)){r={type:"tag",tagType:"media"},e[1]&&(r.attributes=d(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-ENDLIST/.exec(t))return void this.trigger("data",{type:"tag",tagType:"endlist"});if(e=/^#EXT-X-DISCONTINUITY/.exec(t))return void this.trigger("data",{type:"tag",tagType:"discontinuity"});if(e=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(t)){r={type:"tag",tagType:"program-date-time"},e[1]&&(r.dateTimeString=e[1],r.dateTimeObject=new Date(e[1])),this.trigger("data",r);return}if(e=/^#EXT-X-KEY:(.*)$/.exec(t)){r={type:"tag",tagType:"key"},e[1]&&(r.attributes=d(e[1]),r.attributes.IV&&("0x"===r.attributes.IV.substring(0,2).toLowerCase()&&(r.attributes.IV=r.attributes.IV.substring(2)),r.attributes.IV=r.attributes.IV.match(/.{8}/g),r.attributes.IV[0]=parseInt(r.attributes.IV[0],16),r.attributes.IV[1]=parseInt(r.attributes.IV[1],16),r.attributes.IV[2]=parseInt(r.attributes.IV[2],16),r.attributes.IV[3]=parseInt(r.attributes.IV[3],16),r.attributes.IV=new Uint32Array(r.attributes.IV))),this.trigger("data",r);return}if(e=/^#EXT-X-START:(.*)$/.exec(t)){r={type:"tag",tagType:"start"},e[1]&&(r.attributes=d(e[1]),r.attributes["TIME-OFFSET"]=parseFloat(r.attributes["TIME-OFFSET"]),r.attributes.PRECISE=/YES/.test(r.attributes.PRECISE)),this.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out-cont"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if(e=/^#EXT-X-CUE-OUT:(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-out"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if(e=/^#EXT-X-CUE-IN:?(.*)?$/.exec(t)){r={type:"tag",tagType:"cue-in"},e[1]?r.data=e[1]:r.data="",this.trigger("data",r);return}if((e=/^#EXT-X-SKIP:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"skip"}).attributes=d(e[1]),r.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(r.attributes["SKIPPED-SEGMENTS"]=parseInt(r.attributes["SKIPPED-SEGMENTS"],10)),r.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(r.attributes["RECENTLY-REMOVED-DATERANGES"]=r.attributes["RECENTLY-REMOVED-DATERANGES"].split(" ")),this.trigger("data",r);return}
1if((e=/^#EXT-X-PART:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part"}).attributes=d(e[1]),["DURATION"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["INDEPENDENT","GAP"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),r.attributes.hasOwnProperty("BYTERANGE")&&(r.attributes.byterange=l(r.attributes.BYTERANGE)),this.trigger("data",r);return}if((e=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"server-control"}).attributes=d(e[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/.test(r.attributes[t]))}),this.trigger("data",r);return}if((e=/^#EXT-X-PART-INF:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"part-inf"}).attributes=d(e[1]),["PART-TARGET"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),this.trigger("data",r);return}if((e=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"preload-hint"}).attributes=d(e[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(t){if(r.attributes.hasOwnProperty(t)){r.attributes[t]=parseInt(r.attributes[t],10);let e="BYTERANGE-LENGTH"===t?"length":"offset";r.attributes.byterange=r.attributes.byterange||{},r.attributes.byterange[e]=r.attributes[t],delete r.attributes[t]}}),this.trigger("data",r);return}if((e=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"rendition-report"}).attributes=d(e[1]),["LAST-MSN","LAST-PART"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseInt(r.attributes[t],10))}),this.trigger("data",r);return}if((e=/^#EXT-X-DATERANGE:(.*)$/.exec(t))&&e[1]){(r={type:"tag",tagType:"daterange"}).attributes=d(e[1]),["ID","CLASS"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=String(r.attributes[t]))}),["START-DATE","END-DATE"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=new Date(r.attributes[t]))}),["DURATION","PLANNED-DURATION"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))}),["END-ON-NEXT"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=/YES/i.test(r.attributes[t]))}),["SCTE35-CMD"," SCTE35-OUT","SCTE35-IN"].forEach(function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=r.attributes[t].toString(16))});let t=/^X-([A-Z]+-)+[A-Z]+$/;for(let e in r.attributes){if(!t.test(e))continue;let n=/[0-9A-Fa-f]{6}/g.test(r.attributes[e]),i=/^\d+(\.\d+)?$/.test(r.attributes[e]);r.attributes[e]=n?r.attributes[e].toString(16):i?parseFloat(r.attributes[e]):String(r.attributes[e])}this.trigger("data",r);return}if(e=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(t))return void this.trigger("data",{type:"tag",tagType:"independent-segments"});if(e=/^#EXT-X-I-FRAMES-ONLY/.exec(t))return void this.trigger("data",{type:"tag",tagType:"i-frames-only"});if(e=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(t)){(r={type:"tag",tagType:"content-steering"}).attributes=d(e[1]),this.trigger("data",r);return}if(e=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(t)){(r={type:"tag",tagType:"i-frame-playlist"}).attributes=d(e[1]),r.attributes.URI&&(r.uri=r.attributes.URI),r.attributes.BANDWIDTH&&(r.attributes.BANDWIDTH=parseInt(r.attributes.BANDWIDTH,10)),r.attributes.RESOLUTION&&(r.attributes.RESOLUTION=c(r.attributes.RESOLUTION)),r.attributes["AVERAGE-BANDWIDTH"]&&(r.attributes["AVERAGE-BANDWIDTH"]=parseInt(r.attributes["AVERAGE-BANDWIDTH"],10)),r.attributes["FRAME-RATE"]&&(r.attributes["FRAME-RATE"]=parseFloat(r.attributes["FRAME-RATE"])),this.trigger("data",r);return}if(e=/^#EXT-X-DEFINE:(.*)$/.exec(t)){(r={type:"tag",tagType:"define"}).attributes=d(e[1]),this.trigger("data",r);return}this.trigger("data",{type:"tag",data:t.slice(4)})})}}addParser({expression:t,customType:e,dataParser:r,segment:n}){"function"!=typeof r&&(r=t=>t),this.customParsers.push(i=>{if(t.exec(i))return this.trigger("data",{type:"custom",data:r(i),customType:e,segment:n}),!0})}addTagMapper({expression:t,map:e}){this.tagMappers.push(r=>t.test(r)?e(r):r)}}let h=t=>t.toLowerCase().replace(/-(\w)/g,t=>t[1].toUpperCase()),f=function(t){let e={};return Object.keys(t).forEach(function(r){e[h(r)]=t[r]}),e},g=function(t){let{serverControl:e,targetDuration:r,partTargetDuration:n}=t;if(!e)return;
1let i="#EXT-X-SERVER-CONTROL",a="holdBack",s="partHoldBack",o=r&&3*r,u=n&&2*n;r&&!e.hasOwnProperty(a)&&(e[a]=o,this.trigger("info",{message:`${i} defaulting HOLD-BACK to targetDuration * 3 (${o}).`})),o&&e[a]<o&&(this.trigger("warn",{message:`${i} clamping HOLD-BACK (${e[a]}) to targetDuration * 3 (${o})`}),e[a]=o),n&&!e.hasOwnProperty(s)&&(e[s]=3*n,this.trigger("info",{message:`${i} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${e[s]}).`})),n&&e[s]<u&&(this.trigger("warn",{message:`${i} clamping PART-HOLD-BACK (${e[s]}) to partTargetDuration * 2 (${u}).`}),e[s]=u)};class m extends n{constructor(t={}){let e,r;super(),this.lineStream=new u,this.parseStream=new p,this.lineStream.pipe(this.parseStream),this.mainDefinitions=t.mainDefinitions||{},this.params=new URL(t.uri,"https://a.com").searchParams,this.lastProgramDateTime=null;let n=this,a=[],l={},d=!1,c=function(){},h={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},m=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let A=0,y=0,v={};this.on("end",()=>{!l.uri&&(l.parts||l.preloadHints)&&(!l.map&&e&&(l.map=e),!l.key&&r&&(l.key=r),l.timeline||"number"!=typeof m||(l.timeline=m),this.manifest.preloadSegment=l)}),this.parseStream.on("data",function(t){let u,p;if(n.manifest.definitions){for(let e in n.manifest.definitions)if(t.uri&&(t.uri=t.uri.replace(`{$${e}}`,n.manifest.definitions[e])),t.attributes)for(let r in t.attributes)"string"==typeof t.attributes[r]&&(t.attributes[r]=t.attributes[r].replace(`{$${e}}`,n.manifest.definitions[e]))}({tag(){(({version(){t.version&&(this.manifest.version=t.version)},"allow-cache"(){this.manifest.allowCache=t.allowed,"allowed"in t||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange(){let e={};"length"in t&&(l.byterange=e,e.length=t.length,"offset"in t||(t.offset=A)),"offset"in t&&(l.byterange=e,e.offset=t.offset),A=e.offset+e.length},endlist(){this.manifest.endList=!0},inf(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),t.title&&(l.title=t.title),t.duration>0&&(l.duration=t.duration),0===t.duration&&(l.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=a},key(){if(!t.attributes)return void this.trigger("warn",{message:"ignoring key declaration without attribute list"});if("NONE"===t.attributes.METHOD){r=null;return}if(!t.attributes.URI)return void this.trigger("warn",{message:"ignoring key declaration without URI"});if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes};return}if("com.microsoft.playready"===t.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI};return}if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===t.attributes.KEYFORMAT)return -1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(t.attributes.METHOD)?void this.trigger("warn",{message:"invalid key method provided for Widevine"}):("SAMPLE-AES-CENC"===t.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==t.attributes.URI.substring(0,23))?void this.trigger("warn",{message:"invalid key URI provided for Widevine"}):t.attributes.KEYID&&"0x"===t.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:t.attributes.KEYFORMAT,keyId:t.attributes.KEYID.substring(2)},pssh:function(t){for(var e=s().atob?s().atob(t):o.from(t,"base64").toString("binary"),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}(t.attributes.URI.split(",")[1])})):void this.trigger("warn",{message:"invalid key ID provided for Widevine"});t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(r.iv=t.attributes.IV)},"media-sequence"(){if(!isFinite(t.number))return void this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number});this.manifest.mediaSequence=t.number},"discontinuity-sequence"(){if(!isFinite(t.number))return void this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number});this.manifest.discontinuitySequence=t.number,m=t.number},"playlist-type"(){if(!/VOD|EVENT/.test(t.playlistType))return void this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist});this.manifest.playlistType=t.playlistType},map(){e={},t.uri&&(e.uri=t.uri),t.byterange&&(e.byterange=t.byterange),r&&(e.key=r)}
1,"stream-inf"(){if(this.manifest.playlists=a,this.manifest.mediaGroups=this.manifest.mediaGroups||h,!t.attributes)return void this.trigger("warn",{message:"ignoring empty stream-inf attributes"});l.attributes||(l.attributes={}),(0,i.A)(l.attributes,t.attributes)},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||h,!(t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});let e=this.manifest.mediaGroups[t.attributes.TYPE];e[t.attributes["GROUP-ID"]]=e[t.attributes["GROUP-ID"]]||{},u=e[t.attributes["GROUP-ID"]],(p={default:/yes/i.test(t.attributes.DEFAULT)}).default?p.autoselect=!0:p.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(p.language=t.attributes.LANGUAGE),t.attributes.URI&&(p.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(p.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(p.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(p.forced=/yes/i.test(t.attributes.FORCED)),u[t.attributes.NAME]=p},discontinuity(){m+=1,l.discontinuity=!0,this.manifest.discontinuityStarts.push(a.length)},"program-date-time"(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject),l.dateTimeString=t.dateTimeString,l.dateTimeObject=t.dateTimeObject;let{lastProgramDateTime:e}=this;this.lastProgramDateTime=new Date(t.dateTimeString).getTime(),null===e&&this.manifest.segments.reduceRight((t,e)=>(e.programDateTime=t-1e3*e.duration,e.programDateTime),this.lastProgramDateTime)},targetduration(){if(!isFinite(t.duration)||t.duration<0)return void this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration});this.manifest.targetDuration=t.duration,g.call(this,this.manifest)},start(){if(!t.attributes||isNaN(t.attributes["TIME-OFFSET"]))return void this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}},"cue-out"(){l.cueOut=t.data},"cue-out-cont"(){l.cueOutCont=t.data},"cue-in"(){l.cueIn=t.data},skip(){this.manifest.skip=f(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part(){d=!0;let e=this.manifest.segments.length,r=f(t.attributes);l.parts=l.parts||[],l.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=y),y=r.byterange.offset+r.byterange.length);let n=l.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${n} for segment #${e}`,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach((t,e)=>{t.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${e} lacks required attribute(s): LAST-PART`})})},"server-control"(){let e=this.manifest.serverControl=f(t.attributes);e.hasOwnProperty("canBlockReload")||(e.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),g.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint"(){let e=this.manifest.segments.length,r=f(t.attributes),n=r.type&&"PART"===r.type;l.preloadHints=l.preloadHints||[],l.preloadHints.push(r),r.byterange&&!r.byterange.hasOwnProperty("offset")&&(r.byterange.offset=n?y:0,n&&(y=r.byterange.offset+r.byterange.length));let i=l.preloadHints.length-1;if(this.warnOnMissingAttributes_(`#EXT-X-PRELOAD-HINT #${i} for segment #${e}`,t.attributes,["TYPE","URI"]),r.type)for(let t=0;t<l.preloadHints.length-1;t++){let n=l.preloadHints[t];n.type&&n.type===r.type&&this.trigger("warn",{message:`#EXT-X-PRELOAD-HINT #${i} for segment #${e} has the same TYPE ${r.type} as preload hint #${t}`})}},"rendition-report"(){let e=f(t.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);let r=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];d&&n.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${r}`,t.attributes,n)},"part-inf"(){this.manifest.partInf=f(t.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",t.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),g.call(this,this.manifest)},daterange(){this.manifest.dateRanges.push(f(t.attributes));let e=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${e}`,t.attributes,["ID","START-DATE"]);let r=this.manifest.dateRanges[e];r.endDate&&r.startDate&&new Date(r.endDate)<new Date(r.startDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE END-DATE must be equal to or later than the value of the START-DATE"}),r.duration&&r.duration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE DURATION must not be negative"}),r.plannedDuration&&r.plannedDuration<0&&this.trigger("warn",{message:"EXT-X-DATERANGE PLANNED-DURATION must not be negative"});let n=!!r.endOnNext;if(n&&!r.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT
1=YES attribute must have a CLASS attribute"}),n&&(r.duration||r.endDate)&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=YES attribute must not contain DURATION or END-DATE attributes"}),r.duration&&r.endDate){let t=r.startDate.getTime()+1e3*r.duration;this.manifest.dateRanges[e].endDate=new Date(t)}if(v[r.id]){for(let t in v[r.id])if(r[t]&&JSON.stringify(v[r.id][t])!==JSON.stringify(r[t])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}let t=this.manifest.dateRanges.findIndex(t=>t.id===r.id);this.manifest.dateRanges[t]=(0,i.A)(this.manifest.dateRanges[t],r),v[r.id]=(0,i.A)(v[r.id],r),this.manifest.dateRanges.pop()}else v[r.id]=r},"independent-segments"(){this.manifest.independentSegments=!0},"i-frames-only"(){this.manifest.iFramesOnly=!0,this.requiredCompatibilityversion(this.manifest.version,4)},"content-steering"(){this.manifest.contentSteering=f(t.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",t.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};let e=(t,e)=>{if(t in this.manifest.definitions)return void this.trigger("error",{message:`EXT-X-DEFINE: Duplicate name ${t}`});this.manifest.definitions[t]=e};if("QUERYPARAM"in t.attributes){if("NAME"in t.attributes||"IMPORT"in t.attributes)return void this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"});let r=this.params.get(t.attributes.QUERYPARAM);return r?void e(t.attributes.QUERYPARAM,decodeURIComponent(r)):void this.trigger("error",{message:`EXT-X-DEFINE: No query param ${t.attributes.QUERYPARAM}`})}return"NAME"in t.attributes?"IMPORT"in t.attributes?void this.trigger("error",{message:"EXT-X-DEFINE: Invalid attributes"}):"VALUE"in t.attributes&&"string"==typeof t.attributes.VALUE?void e(t.attributes.NAME,t.attributes.VALUE):void this.trigger("error",{message:`EXT-X-DEFINE: No value for ${t.attributes.NAME}`}):"IMPORT"in t.attributes?this.mainDefinitions[t.attributes.IMPORT]?void e(t.attributes.IMPORT,this.mainDefinitions[t.attributes.IMPORT]):void this.trigger("error",{message:`EXT-X-DEFINE: No value ${t.attributes.IMPORT} to import, or IMPORT used on main playlist`}):void this.trigger("error",{message:"EXT-X-DEFINE: No attribute"})},"i-frame-playlist"(){this.manifest.iFramePlaylists.push({attributes:t.attributes,uri:t.uri,timeline:m}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",t.attributes,["BANDWIDTH","URI"])}})[t.tagType]||c).call(n)},uri(){l.uri=t.uri,a.push(l),!this.manifest.targetDuration||"duration"in l||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),l.duration=this.manifest.targetDuration),r&&(l.key=r),l.timeline=m,e&&(l.map=e),y=0,null!==this.lastProgramDateTime&&(l.programDateTime=this.lastProgramDateTime,this.lastProgramDateTime+=1e3*l.duration),l={}},comment(){},custom(){t.segment?(l.custom=l.custom||{},l.custom[t.customType]=t.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[t.customType]=t.data)}})[t.type].call(n)})}requiredCompatibilityversion(t,e){(t<e||!t)&&this.trigger("warn",{message:`manifest must be at least version ${e}`})}warnOnMissingAttributes_(t,e,r){let n=[];r.forEach(function(t){e.hasOwnProperty(t)||n.push(t)}),n.length&&this.trigger("warn",{message:`${t} lacks required attribute(s): ${n.join(", ")}`})}push(t){this.lineStream.push(t)}end(){this.lineStream.push("\n"),this.manifest.dateRanges.length&&null===this.lastProgramDateTime&&this.trigger("warn",{message:"A playlist with EXT-X-DATERANGE tag must contain atleast one EXT-X-PROGRAM-DATE-TIME tag"}),this.lastProgramDateTime=null,this.trigger("end")}addParser(t){this.parseStream.addParser(t)}addTagMapper(t){this.parseStream.addTagMapper(t)}}},71120:t=>{t.exports=function(t){if(!t)return!1;var r=e.call(t);return"[object Function]"===r||"function"==typeof t&&"[object RegExp]"!==r||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var e=Object.prototype.toString},71514:(t,e,r)=>{var n=r(38216),i=t.exports={WebVTT:r(71817),VTTCue:r(5348),VTTRegion:r(59457)};n.vttjs=i,n.WebVTT=i.WebVTT;var a=i.VTTCue,s=i.VTTRegion,o=n.VTTCue,u=n.VTTRegion;i.shim=function(){n.VTTCue=a,n.VTTRegion=s},i.restore=function(){n.VTTCue=o,n.VTTRegion=u},n.VTTCue||i.shim()},71544:(t,e,r)=>{var n=r(82244),i=r(63400),a=r(15455),s=r(67388),o=i.DOMImplementation,u=n.NAMESPACE,l=s.ParseError,d=s.XMLReader;function c(t){return t.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(t){this.options=t||{locator:{}}}function h(){this.cdata=!1}function f(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function g(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function m(t,e,r){return"string"==typeof t?t.substr(e,r):t.length>=e+r||e?new java.lang.String(t,e,r)+"":t}function A(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}p.prototype.parseFromString=function(t,e){var r=this.options,n=new d,i=r.domBuilder||new h,s=r.errorHandler,o=r.locator,l=r.xmlns||{},p=/\/x?html?$/.test(e),f=p?a.HTML_ENTITIES:a.XML_ENTITIES;o&&i.setDocumentLocator(o),n.errorHandler=function(t,e,r){if(!t){if(e instanceof h)return e;t=e}var n={},i=t instanceof Function;function a(e){var a=t[e];!a&&i&&(a=2==t.length?function(r){t(e,r)}:t),n[e]=a&&function(t){a("[xmldom "+e+"] "+t+g(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(s,i,o),n.domBuilder=r.domBuilder||i,p&&(l[""]=u.HTML),l.xml=l.xml||u.XML;var m=r.normalizeLineEndings||c;return t&&"string"==typeof t?n.parse(m(t),l,f):n.errorHandler.error("invalid doc source"),i.doc},h.prototype={startDocument:function(){this.doc=new o().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,a=i.createElementNS(t,r||e),s=n.length;A(this,a),this.currentElement=a,this.locator&&f(this.locator,a);for(var o=0;o<s;o++){var t=n.getURI(o),u=n.getValue(o),r=n.getQName(o),l=i.createAttributeNS(t,r);this.locator&&f(n.getLocator(o),l),l.value=l.nodeValue=u,a.setAttributeNode(l)}},endElement:function(t,e,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var r=this.doc.createProcessingInstruction(t,e);this.locator&&f(this.locator,r),A(this,r)},ignorableWhitespace:function(t,e,r){},characters:function(t,e,r){if(t=m.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(t);else var n=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(t)&&this.doc.appendChild(n),this.locator&&f(this.locator,n)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,r){t=m.apply(this,arguments);var n=this.doc.createComment(t);this.locator&&f(this.locator,n),A(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(t,e,r);this.locator&&f(this.locator,i),A(this,i),this.doc.doctype=i}},warning:function(t){console.warn("[xmldom warning] "+t,g(this.locator))},error:function(t){console.error("[xmldom error] "+t,g(this.locator))},fatalError:function(t){throw new l(t,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){h.prototype[t]=function(){return null}}),e.DOMParser=p},71817:(t,e,r)=>{var n=r(22665),i=Object.create||function(){function t(){}return function(e){if(1!=arguments.length)throw Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();
1function a(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function s(t){function e(t,e,r,n){return(0|t)*3600+(0|e)*60+(0|r)+(0|n)/1e3}var r=t.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return r?r[3]?e(r[1],r[2],r[3].replace(":",""),r[4]):r[1]>59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function o(){this.values=i(null)}function u(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"==typeof i[a]){var s=i[a].split(r);2===s.length&&e(s[0].trim(),s[1].trim())}}a.prototype=i(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var n=0;n<r.length;++n)if(e===r[n]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e))>=0)&&!!(e<=100)&&(this.set(t,e),!0)}};var l=n.createElement&&n.createElement("textarea"),d={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},c={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},p={v:"title",lang:"lang"},h={rt:"ruby"};function f(t,e){for(var r,n=t.document.createElement("div"),i=n,a=[];null!==(r=function(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}());){if("<"===r[0]){if("/"===r[1]){a.length&&a[a.length-1]===r.substr(2).replace(">","")&&(a.pop(),i=i.parentNode);continue}var o,u,f,g,m=s(r.substr(1,r.length-2));if(m){g=t.document.createProcessingInstruction("timestamp",m),i.appendChild(g);continue}var A=r.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!A||!(g=function(e,r){var n=d[e];if(!n)return null;var i=t.document.createElement(n),a=p[e];return a&&r&&(i[a]=r.trim()),i}(A[1],A[3]))||(u=i,h[(f=g).localName]&&h[f.localName]!==u.localName))continue;if(A[2]){var y=A[2].split(".");y.forEach(function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(c.hasOwnProperty(r)){var n=e?"background-color":"color",i=c[r];g.style[n]=i}}),g.className=y.join(" ")}a.push(A[1]),i.appendChild(g),i=g;continue}i.appendChild(t.document.createTextNode((l.innerHTML=o=r,o=l.textContent,l.textContent="",o)))}return n}var g=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function m(){}function A(t,e,r){m.call(this),this.cue=e,this.cueDiv=f(t,e.text);var n={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===e.vertical?"horizontal-tb":"lr"
1===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=t.document.createElement("div"),n={direction:function(t){var e=[],r="";if(!t||!t.childNodes)return"ltr";function n(t,e){for(var r=e.childNodes.length-1;r>=0;r--)t.push(e.childNodes[r])}for(n(e,t);r=function t(e){if(!e||!e.length)return null;var r=e.pop(),i=r.textContent||r.innerText;if(i){var a=i.match(/^.*(\n|\r)/);return a?(e.length=0,a[0]):i}return"ruby"===r.tagName?t(e):r.childNodes?(n(e,r),t(e)):void 0}(e);)for(var i=0;i<r.length;i++)if(function(t){for(var e=0;e<g.length;e++){var r=g[e];if(t>=r[0]&&t<=r[1])return!0}return!1}(r.charCodeAt(i)))return"rtl";return"ltr"}(this.cueDiv),writingMode:""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===e.align?"center":e.align,font:r.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(n),this.div.appendChild(this.cueDiv);var i=0;switch(e.positionAlign){case"start":case"line-left":i=e.position;break;case"center":i=e.position-e.size/2;break;case"end":case"line-right":i=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(i,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(i,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function y(t){var e,r,n,i;if(t.div){r=t.div.offsetHeight,n=t.div.offsetWidth,i=t.div.offsetTop;var a=(a=t.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();t=t.div.getBoundingClientRect(),e=a?Math.max(a[0]&&a[0].height||0,t.height/a.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||r,this.bottom=t.bottom||i+(t.height||r),this.width=t.width||n,this.lineHeight=void 0!==e?e:t.lineHeight}function v(){}m.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},m.prototype.formatStyle=function(t,e){return 0===t?0:t+e},A.prototype=i(m.prototype),A.prototype.constructor=A,y.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},y.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},y.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},y.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},y.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},y.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},y.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},y.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,r=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,n=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||n,height:t.height||e,bottom:t.bottom||n+(t.height||e),width:t.width||r}},v.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},v.convertCueToDOMTree=function(t,e){return t&&e?f(t,e):null},v.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n,i,a=t.document.createElement("div");if(a.style.position="absolute",a.style.left="0",a.style.right="0",a.style.top="0",a.style.bottom="0",a.style.margin="1.5%",r.appendChild(a),!function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}(e)){for(var s=0;s<e.length;s++)a.appendChild(e[s].displayState);return}for(var o=[],u=y.getSimpleBoxPosition(a),l={font:Math.round(.05*u.height*100)/100+"px sans-serif"},d=0;d<e.length;d++)n=new A(t,i=e[d],l),a.appendChild(n.div),function(t,e,r,n){var i=new y(e),a=e.cue,s=function(t){if("number"==typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return -1;for(var e=t.track,r=e.textTrackList,n=0,i=0;i<r.length&&r[i]!==e;i++)"showing"===r[i].mode&&n++;return -1*++n}(a),o=[];if(a.snapToLines){switch(a.vertical){case"":o=["+y","-y"],u="height";break;case"rl":o=["+x","-x"],u="width";break;case"lr":o=["-x","+x"],u="width"}var u,l=i.lineHeight,d=l*Math.round(s),c=r[u]+l,p=o[0];Math.abs(d)>c&&(d=Math.ceil(c/l)*l*(d<0?-1:1)),s<0&&(d+=""===a.vertical?r.height:r.width,o=o.reverse()),i.move(p,d)}else{var h=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":s-=h/2;break;case"end":s-=h}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(s,"%")})}o=["+y","-x","+x","-y"],i=new y(e)}var f=function(t,e){for(var i,a=new y(t),s=1,o=0;o<e.length;o++){for(;t.overlapsOppositeAxis(r,e[o])||t.within(r)&&t.overlapsAny(n);)t.move(e[o]);if(t.within(r))return t;var u=t.intersectPercentage(r);s>u&&(i=new y(t),s=u),t=new y(a)}return i||a}(i,o);e.move(f.toCSSCompatValues(r))}(0,n,u,o),i.displayState=n.div,o.push(y.getSimpleBoxPosition(n))},v.Parser=function(t,e,r){r||(r=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=r||new TextDecoder("utf8"),this.regionList=[]},v.Parser.prototype={reportOrThrowError:function(t){if(t instanceof a)this.onparsingerror&&this.onparsingerror(t);else throw t},parse:function(t){var e=this;function r(){for(var t=e.buffer,r=0;r<t.length&&"\r"!==t[r]&&"\n"!==t[r];)++r;var n=t.substr(0,r);return"\r"===t[r]&&++r,"\n"===t[r]&&++r,e.buffer=t.substr(r),n}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var n,i=r(),l=i.match(/^WEBVTT([ \t].*)?$/);if(!l||!l[0])throw new a(a.Errors.BadSignature);e.state="HEADER"}for(var d=!1;e.buffer&&/\r\n|\n/.test(e.buffer);)switch(d?d=!1:i=r(),e.state){case"HEADER":/:/.test(i)?(n=i).match(/X-TIMESTAMP-MAP/)?u(n,function(t,r){if("X-TIMESTAMP-MAP"===t){var n;n=new o,u(r,function(t,e){switch(t){case"MPEGT":n.integer(t+"S",e);break;case"LOCA":n.set(t+"L",s(e))}},/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}},/=/):u(n,function(t,r){if("Region"===t){var n=new o;if(u(r,function(t,e){switch(t){case"id":n.set(t,e);break;case"width":n.percent(t,e);break;case"lines":n.integer(t,e);break;case"regionanchor":case"viewportanchor":var r=e.split(",");if(2!==r.length)break;var i=new o;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(t+"X",i.get("x")),n.set(t+"Y",i.get("y"));break;case"scroll":n.alt(t,e,["up"])}},/=/,/\s/),n.has("id")){var i=new(e.vttjs.VTTRegion||e.window.VTTRegion);i.width=n.get("width",100),i.lines=n.get("lines",3),i.regionAnchorX=n.get("regionanchorX",0),i.regionAnchorY=n.get("regionanchorY",100),i.viewportAnchorX=n.get("viewportanchorX",0),i.viewportAnchorY=n.get("viewportanchorY",100),i.scroll=n.get("scroll",""),e.onregion&&e.onregion(i),e.regi
1onList.push({id:n.get("id"),region:i})}}},/:/):i||(e.state="ID");continue;case"NOTE":i||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){e.state="NOTE";break}if(!i)continue;e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,"");try{e.cue.align="center"}catch(t){e.cue.align="middle"}if(e.state="CUE",-1===i.indexOf("--\x3e")){e.cue.id=i;continue}case"CUE":try{!function(t,e,r){var n=t;function i(){var e=s(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function l(){t=t.replace(/^\s+/,"")}if(l(),e.startTime=i(),l(),"--\x3e"!==t.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),l(),e.endTime=i(),l();var d=t,c=new o;u(d,function(t,e){switch(t){case"region":for(var n=r.length-1;n>=0;n--)if(r[n].id===e){c.set(t,r[n].region);break}break;case"vertical":c.alt(t,e,["rl","lr"]);break;case"line":var i=e.split(","),a=i[0];c.integer(t,a),c.percent(t,a)&&c.set("snapToLines",!1),c.alt(t,a,["auto"]),2===i.length&&c.alt("lineAlign",i[1],["start","center","end"]);break;case"position":i=e.split(","),c.percent(t,i[0]),2===i.length&&c.alt("positionAlign",i[1],["start","center","end"]);break;case"size":c.percent(t,e);break;case"align":c.alt(t,e,["start","center","end","left","right"])}},/:/,/\s/),e.region=c.get("region",null),e.vertical=c.get("vertical","");try{e.line=c.get("line","auto")}catch(t){}e.lineAlign=c.get("lineAlign","start"),e.snapToLines=c.get("snapToLines",!0),e.size=c.get("size",100);try{e.align=c.get("align","center")}catch(t){e.align=c.get("align","middle")}try{e.position=c.get("position","auto")}catch(t){e.position=c.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=c.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(i,e.cue,e.regionList)}catch(t){e.reportOrThrowError(t),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var c=-1!==i.indexOf("--\x3e");if(!i||c&&(d=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=i.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":i||(e.state="ID");continue}}catch(t){e.reportOrThrowError(t),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new a(a.Errors.BadSignature)}catch(t){this.reportOrThrowError(t)}return this.onflush&&this.onflush(),this}},t.exports=v},74355:t=>{function e(){return t.exports=e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},74767:(t,e,r)=>{"use strict";function n(t,e){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}r.d(e,{A:()=>n})},75708:t=>{t.exports={getUint64:function(t){var e,r=new DataView(t.buffer,t.byteOffset,t.byteLength);return r.getBigUint64?(e=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(e):e:0x100000000*r.getUint32(0)+r.getUint32(4)},MAX_UINT32:0x100000000}},78692:t=>{t.exports={getUint64:function(t){var e,r=new DataView(t.buffer,t.byteOffset,t.byteLength);return r.getBigUint64?(e=r.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(e):e:0x100000000*r.getUint32(0)+r.getUint32(4)},MAX_UINT32:0x100000000}},78737:(t,e)=>{function r(t){if(t&&"object"==typeof t){var e=t.which||t.keyCode||t.charCode;e&&(t=e)}if("number"==typeof t)return s[t];var r=String(t),a=n[r.toLowerCase()];if(a)return a;var a=i[r.toLowerCase()];return a||(1===r.length?r.charCodeAt(0):void 0)}r.isEventKey=function(t,e){if(t&&"object"==typeof t){var r=t.which||t.keyCode||t.charCode;if(null==r)return!1;if("string"==typeof e){var a=n[e.toLowerCase()];if(a)return a===r;var a=i[e.toLowerCase()];if(a)return a===r}else if("number"==typeof e)return e===r;return!1}};var n=(e=t.exports=r).code=e.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},i=e.aliases={windows:91,"â§":16,"â¥":18,"â":17,"â":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n["f"+a]=a+111;for(a=0;a<10;a++)n["numpad "+a]=a+96;var s=e.names=e.title={};for(a in n)s[n[a]]=a;for(var o in i)n[o]=i[o]},82244:(t,e)=>{"use strict";function r(t,e){return void 0===e&&(e=Object),e&&"function"==typeof e.freeze?e.freeze(t):t}var n=r({HTML:"text/html",isHTML:function(t){return t===n.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});e.assign=function(t,e){if(null===t||"object"!=typeof t)throw TypeError("target is not an object");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},e.find=function(t,e,r){if(void 0===r&&(r=Array.prototype),t&&"function"==typeof r.find)return r.find.call(t,e);for(var n=0;n<t.length;n++)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];if(e.call(void 0,i,n,t))return i}},e.freeze=r,e.MIME_TYPE=n,e.NAMESPACE=i},87850:(t,e,r)=>{"use strict";var n,i=r(42685),a=r(38216),s=r.n(a),o=r(22665),u=r.n(o),l="7.5.2",d=function(t,e){e.isImmediatePropagationStopped=function(){return!0},e.cancelBubble=!0,e.isPropagationStopped=function(){return!0}},c=function(t,e,r){d(t,r),t.trigger({type:e+r.type,originalEvent:r})},p=function(t,e){t.ads.isInAdMode()&&(t.ads.isContentResuming()?t.ads._contentEnding&&c(t,"content",e):c(t,"ad",e))},h=function(t,e){t.ads.isInAdMode()?t.ads.isContentResuming()?(d(t,e),t.trigger("resumeended")):c(t,"ad",e):t.ads._contentHasEnded||t.ads.stitchedAds()||(c(t,"content",e),t.trigger("readyforpostroll"))},f=function(t,e){if(("loadstart"!==e.type||t.ads._hasThereBeenALoadStartDuringPlayerLife)&&("loadeddata"!==e.type||t.ads._hasThereBeenALoadedData)&&("loadedmetadata"!==e.type||t.ads._hasThereBeenALoadedMetaData))if(t.ads.inAdBreak())c(t,"ad",e);else{if(t.currentSrc()!==t.ads.contentSrc)return;c(t,"content",e)}},g=function(t,e){t.ads.inAdBreak()?c(t,"ad",e):t.ads.isContentResuming()&&c(t,"content",e)};function m(t){"playing"===t.type?p(this,t):"ended"===t.type?h(this,t):"loadstart"===t.type||"loadeddata"===t.type||"loadedmetadata"===t.type?f(this,t):"play"===t.type?g(this,t):this.ads.isInAdMode()&&(this.ads.isContentResuming()?c(this,"content",t):c(this,"ad",t))}function A(){return(A=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function y(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,v(t,e)}function v(t,e){return(v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var b={},E=function(t){if(i.A.dom.isInFrame()&&"function"!=typeof s().__tcfapi){for(var e,r=s(),n={};r;){try{if(r.frames.__tcfapiLocator){e=r;break}}catch(t){}if(r===s().top)break;r=r.parent}e&&(s().__tcfapi=function(t,r,i,a){var s=Math.random()+"";n[s]=i,e.postMessage({__tcfapiCall:{command:t,parameter:a,version:r,callId:s}},"*")},s().addEventListener("message",function(t){var e={};try{e="string"==typeof t.data?JSON.parse(t.data):t.data}catch(t){}var r=e.__tcfapiReturn;r&&"function"==typeof n[r.callId]&&(n[r.callId](r.returnValue,r.success),n[r.callId]=null)},!1))}},T=function(){E(),"function"==typeof s().__tcfapi&&s().__tcfapi("addEventListener",2,function(t,e){e&&(b=t)})},D=function(t){for(var e=t.parent;e!==t.top;){try{if(e.frames&&e.frames.__uspapiLocator)return e}catch(t){}e=e.parent}try{if(t.top.frames&&t.top.frames.__uspapiLocator)return t.top}catch(t){}return null},S="",w=function(t,e){if(void 0===e&&(e=s()),e.__uspapi)e.__uspapi("getUSPData",1,function(e,r){var n=r?e.uspString:null;S=n,t(n)});else{var r=D(e);if(!r)return void t(null);var n=Math.random().toString(36).substring(2);e.addEventListener("message",function r(i){if(i&&i.data&&i.data.__uspapiReturn&&i.data.__uspapiReturn.callId===n){e.removeEventListener("message",r,!1);var a=i.data.__uspapiReturn,s=a.returnValue,o=a.success?s.uspString:null;S=o,t(o)}},!1),r.postMessage({__uspapiCall:{command:"getUSPData",version:1,callId:n}},"*")}},C={AdsBeforePrerollError:"ads-before-preroll-error",AdsPrerollError:"ads-preroll-error",AdsMidrollError:"ads-midroll-error",AdsPostrollError:"ads-postroll-error",AdsMacroReplacementFailed:"ads-macro-replacement-failed",AdsResumeContentFailed:"ads-resume-content-failed"},I=function(t,e){return e?encodeURIComponent(t):t},P=function(t,e,r){if(t&&t[r])for(var n=t[r],i=Object.keys(n),a=0;a<i.length;a++)e["{mediainfo."+r+"."+i[a]+"}"]=n[i[a]]},R=function(t,e){var r={};return["description","tags","reference_id","ad_keys"].forEach(function(n){t&&t[n]?r["{mediainfo."+n+"}"]=t[n]:e["{mediainfo."+n+"}"]?r["{mediainfo."+n+"}"]=e["{mediainfo."+n+"}"]:r["{mediainfo."+n+"}"]=""}),["custom_fields","customFields"].forEach(function(e){P(t,r,e)}),r},N=function(t){var e={},r=t.replace(/{([^}=]+)=([^}]*)}/g,function(t,r,n){return e["{"+r+"}"]=n,"{"+r+"}"});return{defaults:e,modifiedString:r}},L=function(t){var e={};return Object.keys(t).forEach(function(r){e["{tcf."+r+"}"]=t[r]}),e["{tcf.gdprAppliesInt}"]=+!!t.gdprApplies,e},M=function(t,e,r){var n=RegExp("{pageVariable\\.([^}]+)}","g"),a={},o=(t.match(n)||[]).concat(Object.keys(r).filter(function(e){return n.test(e)&&t.includes(r[e])}));if(o)return o.forEach(function(t){for(var r,n=t.slice(14,-1),o=n.split("."),u=s(),l=0;l<o.length;l++)if(l===o.length-1)r=u[o[l]];else if(void 0===(u=u[o[l]]))break;var d=typeof r;null===r?a[t]="null":void 0===r?e[t]?a[t]=e[t]:(i.A.log.warn('Page variable "'+n+'" not found'),a[t]=""):"str
1ing"!==d&&"number"!==d&&"boolean"!==d?(i.A.log.warn('Page variable "'+n+'" is not a supported type'),a[t]=""):a[t]=r}),a},O=function(t,e,r,n,a){for(var s in void 0===n&&(n={}),e){var o=n.hasOwnProperty(s)?n[s]:s;if(o.startsWith("r:"))try{var u=RegExp(o.slice(2),"g");t=t.replace(u,I(e[s],r))}catch(t){a.ads.error({errorType:C.AdsMacroReplacementFailed,macro:s,error:t}),i.A.log.warn('Unable to replace macro with regex "'+o+'". The provided regex may be invalid.')}else t=t.split(o).join(I(e[s],r))}return t};function k(t,e,r){void 0===e&&(e=!1),void 0===r&&(r={});var n,a=r.disableDefaultMacros||!1,o=r.macroNameOverrides||{};delete r.disableDefaultMacros,delete r.macroNameOverrides;var l=r;if(a)return O(t,l,e,o);var d=N(t),c=d.defaults;for(var p in t=d.modifiedString,A(l,(n=this,{"{player.id}":n.options_["data-player"]||n.id_,"{player.height}":n.currentHeight(),"{player.width}":n.currentWidth(),"{player.heightInt}":Math.round(n.currentHeight()),"{player.widthInt}":Math.round(n.currentWidth()),"{player.autoplay}":+!!n.autoplay(),"{player.muted}":+!!n.muted(),"{player.language}":n.language()||"","{mediainfo.id}":n.mediainfo?n.mediainfo.id:"","{mediainfo.name}":n.mediainfo?n.mediainfo.name:"","{mediainfo.duration}":n.mediainfo?n.mediainfo.duration:"","{player.duration}":n.duration(),"{player.durationInt}":Math.round(n.duration()),"{player.live}":+(n.duration()===1/0),"{player.pageUrl}":i.A.dom.isInFrame()?u().referrer:s().location.href,"{playlistinfo.id}":n.playlistinfo?n.playlistinfo.id:"","{playlistinfo.name}":n.playlistinfo?n.playlistinfo.name:"","{timestamp}":new Date().getTime(),"{document.referrer}":u().referrer,"{window.location.href}":s().location.href,"{random}":Math.floor(1e12*Math.random())}),R(this.mediainfo,c),L(b),{"{usp.uspString}":S},M(t,c,o)),t=O(t,l,e,o,this),c)t=t.replace(p,c[p]);return t}var _={};_.processMetadataTracks=function(t,e){for(var r=t.textTracks(),n=function(r){"metadata"===r.kind&&(t.ads.cueTextTracks.setMetadataTrackMode(r),e(t,r))},i=0;i<r.length;i++)n(r[i]);r.addEventListener("addtrack",function(t){n(t.track)})},_.setMetadataTrackMode=function(t){},_.getSupportedAdCue=function(t,e){return e},_.isSupportedAdCue=function(t,e){return!0},_.getCueId=function(t,e){return e.id};var x=function(t,e){void 0!==e&&""!==e&&(t.ads.includedCues[e]=!0)};function U(){!1!==this.ads._shouldBlockPlay&&(this.paused()||(this.ads.debug("Playback was canceled by cancelContentPlay"),this.pause()),this.ads._cancelledPlay=!0)}_.processAdTrack=function(t,e,r,n){t.ads.includedCues={};for(var a=0;a<e.length;a++){var s=e[a],o=this.getSupportedAdCue(t,s);if(!this.isSupportedAdCue(t,s))return void i.A.log.warn("Skipping as this is not a supported ad cue.",s);var u=this.getCueId(t,s),l=s.startTime;if(void 0!==u&&t.ads.includedCues[u])return void i.A.log("Skipping ad already seen with ID "+u);n&&n(t,o,u,l),r(t,o,u,l),x(t,u)}};var B={},q=i.A;B.isMiddlewareMediatorSupported=function(){if(q.browser.IS_IOS||q.browser.IS_ANDROID);else if(q.use&&q.middleware&&q.middleware.TERMINATOR)return!0;return!1},B.playMiddleware=function(t){return{setSource:function(t,e){e(null,t)},callPlay:function(){if(t.ads&&!0===t.ads._shouldBlockPlay)return t.ads.debug("Using playMiddleware to block content playback"),t.ads._playBlocked=!0,q.middleware.TERMINATOR},play:function(e,r){t.ads&&t.ads._playBlocked&&e?(t.ads.debug("Play call to Tech was terminated."),t.trigger("play"),t.addClass("vjs-has-started"),t.ads._playBlocked=!1):r&&r.catch&&r.catch(function(e){"NotAllowedError"!==e.name||i.A.browser.IS_SAFARI||t.trigger("pause")})}}},B.testHook=function(t){q=t};var j=B.playMiddleware,F=B.isMiddlewareMediatorSupported,X={src:"data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAAAxJtZGF03ABMYXZjNjEuMy4xMDAAQiAIwRg4AAACrgYF//+q3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE2NCByMzEwOCAzMWUxOWY5IC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAyMyAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTMgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MzoweDExMyBtZT1oZXggc3VibWU9NyBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0xIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MSA4eDhkY3Q9MSBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0tMiB0aHJlYWRzPTcgbG9va2FoZWFkX3RocmVhZHM9MSBzbGljZWRfdGhyZWFkcz0wIG5yPTAgZGVjaW1hdGU9MSBpbnRlcmxhY2VkPTAgYmx1cmF5X2NvbXBhdD0wIGNvbnN0cmFpbmVkX2ludHJhPTAgYmZyYW1lcz0zIGJfcHlyYW1pZD0yIGJfYWRhcHQ9MSBiX2JpYXM9MCBkaXJlY3Q9MSB3ZWlnaHRiPTEgb3Blbl9nb3A9MCB3ZWlnaHRwPTIga2V5aW50PTI1MCBrZXlpbnRfbWluPTI1IHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NDAgcmM9Y3JmIG1idHJlZT0xIGNyZj0yMy4wIHFjb21wPTAuNjAgcXBtaW49MCBxcG1heD02OSBxcHN0ZXA9NCBpcF9yYXRpbz0xLjQwIGFxPTE6MS4wMACAAAAAOWWIhAAn//71sXwKaunqigzoMi7hlyTJrrYi4m0AwABFxzcqWKGahTaoBcQAAMWK4AlcFlIICBeldSEQBGCMHAAABVNtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAAIgABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAACQXRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAEAAAAAAAAAIgAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAABQAAAAPAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAACIAAAAAAAEAAAAAAbltZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAADwAAAACAFXEAAAAAAAtaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAFZpZGVvSGFuZGxlcgAAAAFkbWluZgAAABR2bWhkAAAAAQAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABJHN0YmwAAADAc3RzZAAAAAAAAAABAAAAsGF2YzEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABQADwAEgAAABIAAAAAAAAAAEUTGF2YzYxLjMuMTAwIGxpYngyNjQAAAAAAAAAAAAAAAAY//8AAAA2YXZjQwFkAA3/4QAZZ2QADazZQUH7ARAAAAMAEAAAAwPA8UKZYAEABmjr48siwP34+AAAAAAQcGFzcAAAAAEAAAABAAAAFGJ0cnQAAAAAAALAEAACwBAAAAAYc3R0cwAAAAAAAAABAAAAAQAAAgAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAFHN0c3oAAAAAAAAC7wAAAAEAAAAUc3RjbwAAAAAAAAABAAAARQAAAj10cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAACAAAAAAAAABgAAAAAAAAAAAAAAAEBAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAAXAAAEAAABAAAAAAG1bWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAACsRAAACABVxAAAAAAALWhkbHIAAAAAAAAAAHNvdW4AAAAAAAAAAAAAAABTb3VuZEhhbmRsZXIAAAABYG1pbmYAAAAQc21oZAAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABJHN0YmwAAAB+c3RzZAAAAAAAAAABAAAAbm1wNGEAAAAAAAAAAQAAAAAAAAAAAAIAEAAAAACsRAAAAAAANmVzZHMAAAAAA4CAgCUAAgAEgICAF0AVAAAAAAH0AAAAEisFgICABRIQVuUABoCAgAECAAAAFGJ0cnQAAAAAAAH0AAAAEisAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAAVAAAABgAAABhzdGNvAAAAAAAAAAIAAAAwAAADNAAAABpzZ3BkAQAAAHJvbGwAAAACAAAAAf//AAAAHHNiZ3AAAAAAcm9sbAAAAAEAAAACAAAAAQAAAGF1ZHRhAAAAWW1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALGlsc3QAAAAkqXRvbwAAABxkYXRhAAAAAQAAAABMYXZmNjEuMS4xMDA=",type:"video/mp4"},W=function(){function t(){}return t.getState=function(e){if(e&&t.states_&&t.states_[e])return t.states_[e]},t.registerState=function(e,r){if("string"!=typeof e||!e)throw Error('Illegal state name, "'+e+'"; must be a non-empty string.');return t.states_||(t.states_={}),t.states_[e]=r,r},t}(),V=function(){function t(t){this.player=t}t._getName=function(){return"Anonymous State"};var e=t.prototype;return e.transitionTo=function(t){var e=this.player;this.cleanup(e);var r=new t(e);e.ads._state=r,e.ads.debug(this.constructor._getName()+" -> "+r.constructor._getName());for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];
vendor: 10,357 bytes, line 1
1r.init.apply(r,[e].concat(i))},e.init=function(){},e.cleanup=function(){},e.onPlay=function(){},e.onPlaying=function(){},e.onEnded=function(){},e.onAdEnded=function(){},e.onAdsReady=function(){i.A.log.warn("Unexpected adsready event")},e.onAdsError=function(){},e.onAdsCanceled=function(){},e.onAdTimeout=function(){},e.onAdStarted=function(){},e.onAdSkipped=function(){},e.onContentChanged=function(){},e.onContentResumed=function(){},e.onReadyForPostroll=function(){i.A.log.warn("Unexpected readyforpostroll event")},e.onNoPreroll=function(){},e.onNoPostroll=function(){},e.startLinearAdMode=function(){i.A.log.warn("Unexpected startLinearAdMode invocation (State via "+this.constructor._getName()+")")},e.endLinearAdMode=function(){i.A.log.warn("Unexpected endLinearAdMode invocation (State via "+this.constructor._getName()+")")},e.skipLinearAdMode=function(){i.A.log.warn("Unexpected skipLinearAdMode invocation (State via "+this.constructor._getName()+")")},e.isAdState=function(){throw Error("isAdState unimplemented for "+this.constructor._getName())},e.isWaitingForAdBreak=function(){return!1},e.isContentResuming=function(){return!1},e.inAdBreak=function(){return!1},e.handleEvent=function(t){var e=this.player;"play"===t?this.onPlay(e):"adsready"===t?this.onAdsReady(e):"adserror"===t?this.onAdsError(e):"adscanceled"===t?this.onAdsCanceled(e):"adtimeout"===t?this.onAdTimeout(e):"ads-ad-started"===t?this.onAdStarted(e):"ads-ad-skipped"===t?this.onAdSkipped(e):"contentchanged"===t?this.onContentChanged(e):"contentresumed"===t?this.onContentResumed(e):"readyforpostroll"===t?this.onReadyForPostroll(e):"playing"===t?this.onPlaying(e):"ended"===t?this.onEnded(e):"nopreroll"===t?this.onNoPreroll(e):"nopostroll"===t?this.onNoPostroll(e):"adended"===t&&this.onAdEnded(e)},t}();W.registerState("State",V);var H=function(t){function e(e){var r;return(r=t.call(this,e)||this).contentResuming=!1,r.waitingForAdBreak=!1,r}y(e,t);var r=e.prototype;return r.isAdState=function(){return!0},r.onPlaying=function(){var t=W.getState("ContentPlayback");this.contentResuming&&this.transitionTo(t)},r.onContentResumed=function(){var t=W.getState("ContentPlayback");this.contentResuming&&this.transitionTo(t)},r.isWaitingForAdBreak=function(){return this.waitingForAdBreak},r.isContentResuming=function(){return this.contentResuming},r.inAdBreak=function(){return!0===this.player.ads._inLinearAdMode},e}(V);W.registerState("AdState",H);var G=function(t){function e(){return t.apply(this,arguments)||this}y(e,t);var r=e.prototype;return r.isAdState=function(){return!1},r.onContentChanged=function(t){var e=W.getState("BeforePreroll"),r=W.getState("Preroll");t.ads.debug("Received contentchanged event (ContentState)"),t.paused()?this.transitionTo(e):(this.transitionTo(r,!1),t.pause(),t.ads._pausedOnContentupdate=!0)},e}(V);W.registerState("ContentState",G);var z=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"AdsDone"};var r=e.prototype;return r.init=function(t){t.ads._contentHasEnded=!0,t.trigger("ended")},r.startLinearAdMode=function(){i.A.log.warn("Unexpected startLinearAdMode invocation (AdsDone)")},e}(W.getState("ContentState"));W.registerState("AdsDone",z);var Y={start:function(t){t.ads.debug("Starting ad break"),t.ads._inLinearAdMode=!0,t.trigger("adstart"),t.ads.shouldTakeSnapshots()&&(t.ads.snapshot=function(t){var e=i.A.browser.IS_IOS&&t.ads.isLive(t)&&t.seekable().length>0?t.currentTime()-t.seekable().end(0):t.currentTime(),r=t.$(".vjs-tech"),n=t.textTracks?t.textTracks():[],a=[],s={ended:t.ended(),currentSrc:t.currentSrc(),sources:t.currentSources(),src:t.tech_.src(),currentTime:e,type:t.currentType()};r&&(s.style=r.getAttribute("style"));for(var o=0;o<n.length;o++){var u=n[o];a.push({track:u,mode:u.mode}),u.mode="disabled"}return s.suppressedTracks=a,s}(t)),t.ads.shouldPlayContentBehindAd(t)&&!t.ads.settings.stitchedAds&&(t.ads.preAdVolume_=t.volume(),t.volume(0)),t.addClass("vjs-ad-playing"),t.hasClass("vjs-live")&&t.removeClass("vjs-live"),t.ads.removeNativePoster(),t.ads.preAdPlaybackRate_=t.playbackRate(),t.playbackRate(1),t.controlBar&&t.controlBar.playbackRateMenuButton&&t.controlBar.playbackRateMenuButton.playbackRateSupported&&!t.controlBar.playbackRateMenuButton.hasClass("vjs-hidden")?(t.controlBar.playbackRateMenuButton.hide(),t.ads.showPlaybackMenuOnAdEnd_=!0):t.ads.showPlaybackMenuOnAdEnd_=!1},end:function(t,e){t.ads.debug("Ending ad break"),void 0===e&&(e=function(){}),t.ads.adType=null,t.ads._inLinearAdMode=!1,t.trigger("adend"),t.removeClass("vjs-ad-playing"),t.ads.isLive(t)&&t.addClass("vjs-live"),t.ads.shouldTakeSnapshots()?function(t,e){var r,a=t.ads.snapshot;if(void 0===e&&(e=function(){}),!0===t.ads.disableNextSnapshotRestore){t.ads.disableNextSnapshotRestore=!1,delete t.ads.snapshot,e();return}var s=t.$(".vjs-tech"),o=20,u=a.suppressedTracks,l=function(){for(var t=0;t<u.length;t++)(r=u[t]).track.mode=r.mode},d=function(){var e;if(i.A.browser.IS_IOS&&t.ads.isLive(t)){if(a.currentTime<0&&(e=t.seekable().length>0?t.seekable().end(0)+a.currentTime:t.currentTime(),t.currentTime(e)),t.paused()){var r=t.play();r&&r.catch&&r.catch(function(t){i.A.log.warn("Play promise rejected in IOS snapshot resume",t)})}}else if(a.ended)t.currentTime(t.duration());else{t.currentTime(a.currentTime);var n=t.play();n&&n.catch&&n.catch(function(t){i.A.log.warn("Play promise rejected in snapshot resume",t)})}t.ads.shouldRemoveAutoplay_&&(t.autoplay(!1),t.ads.shouldRemoveAutoplay_=!1)},c=function e(){if(t.off("contentcanplay",e),n&&t.clearTimeout(n),(s=t.el().querySelector(".vjs-tech")).readyState>1||void 0===s.seekable||s.seekable.length>0)return d();if(o--)t.setTimeout(e,50);else try{d()}catch(e){t.ads.error({errorType:C.AdsResumeContentFailed,error:e}),i.A.log.warn("Failed to resume the content after an advertisement",e)}};if("style"in a&&s.setAttribute("style",a.style||""),t.ads.videoElementRecycled())t.one("resumeended",function(){delete t.ads.snapshot,e()}),t.one("contentloadedmetadata",l),i.A.browser.IS_IOS&&!t.autoplay()&&"function"==typeof t.techCall_&&(t.techCall_("setAutoplay",!0),t.ads.shouldRemoveAutoplay_=!0),t.src(a.sources),t.one("contentcanplay",c),n=t.setTimeout(c,2e3);else{if(l(),!t.ended()){var p=t.play();p&&p.catch&&p.catch(function(t){i.A.log.warn("Play promise rejected in snapshot restore",t)})}delete t.ads.snapshot,e()}}(t,e):(t.ads.preAdVolume_&&t.volume(t.ads.preAdVolume_),e()),t.playbackRate(t.ads.preAdPlaybackRate_),t.ads.showPlaybackMenuOnAdEnd_&&t.controlBar.playbackRateMenuButton.show()}},$=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"Preroll"};var r=e.prototype;return r.init=function(t,e,r){if(this.waitingForAdBreak=!0,t.addClass("vjs-ad-loading"),r||t.ads.nopreroll_)return this.resumeAfterNoPreroll(t);var n=t.ads.settings.timeout;"number"==typeof t.ads.settings.prerollTimeout&&(n=t.ads.settings.prerollTimeout),this._timeout=t.setTimeout(function(){t.trigger("adtimeout")},n),e?this.handleAdsReady():this.adsReady=!1},r.onAdsReady=function(t){t.ads.inAdBreak()?i.A.log.warn("Unexpected adsready event (Preroll)"):(t.ads.debug("Received adsready event (Preroll)"),this.handleAdsReady())},r.handleAdsReady=function(){this.adsReady=!0,this.readyForPreroll()},r.afterLoadStart=function(t){var e=this.player;e.ads._hasThereBeenALoadStartDuringPlayerLife?t():(e.ads.debug("Waiting for loadstart..."),e.one("loadstart",function(){e.ads.debug("Received loadstart event"),t()}))},r.noPreroll=function(){var t=this;this.afterLoadStart(function(){t.player.ads.debug("Skipping prerolls due to nopreroll event (Preroll)"),t.resumeAfterNoPreroll(t.player)})},r.readyForPreroll=function(){var t=this.player;this.afterLoadStart(function(){t.ads.debug("Triggered readyforpreroll event (Preroll)"),t.trigger("readyforpreroll")})},r.onAdsCanceled=function(t){var e=this;t.ads.debug("adscanceled (Preroll)"),this.afterLoadStart(function(){e.resumeAfterNoPreroll(t)})},r.onAdsError=function(t){var e=this;i.A.log("adserror (Preroll)"),t.ads.error({errorType:C.AdsPrerollError}),this.inAdBreak()?t.ads.endLinearAdMode():this.afterLoadStart(function(){e.resumeAfterNoPreroll(t)})},r.startLinearAdMode=function(){var t=this.player;!this.adsReady||t.ads.inAdBreak()||this.isContentResuming()?i.A.log.warn("Unexpected startLinearAdMode invocation (Preroll)"):(this.clearTimeout(t),t.ads.adType="preroll",this.waitingForAdBreak=!1,Y.start(t),t.ads._shouldBlockPlay=!1)},r.onAdStarted=function(t){t.removeClass("vjs-ad-loading")},r.endLinearAdMode=function(){var t=this.player;this.inAdBreak()&&(t.removeClass("vjs-ad-loading"),t.addClass("vjs-ad-content-resuming"),this.contentResuming=!0,Y.end(t))},r.skipLinearAdMode=function(){var t=this,e=this.player;e.ads.inAdBreak()||this.isContentResuming()?i.A.log.warn("Unexpected skipLinearAdMode invocation"):this.afterLoadStart(function(){e.trigger("adskip"),e.ads.debug("skipLinearAdMode (Preroll)"),t.resumeAfterNoPreroll(e)})},r.onAdTimeout=function(t){var e=this;this.afterLoadStart(function(){t.ads.debug("adtimeout (Preroll)"),e.resumeAfterNoPreroll(t)})},r.onNoPreroll=function(t){t.ads.inAdBreak()||this.isContentResuming()?i.A.log.warn("Unexpected nopreroll event (Preroll)"):this.noPreroll()},r.resumeAfterNoPreroll=function(t){if(this.contentResuming=!0,t.ads._shouldBlockPlay=!1,this.cleanupPartial(t),t.ads._playRequested||t.ads._pausedOnContentupdate)if(t.paused()){t.ads.debug("resumeAfterNoPreroll: attempting to resume playback (Preroll)");var e=t.play();e&&e.then&&e.then(null,function(t){})}else t.ads.debug("resumeAfterNoPreroll: already playing (Preroll)"),t.trigger("play"),t.trigger("playing")},r.cleanup=function(t){t.ads._hasThereBeenALoadStartDuringPlayerLife||i.A.log.warn("Leaving Preroll state before loadstart event can cause issues."),this.cleanupPartial(t)},r.cleanupPartial=function(t){t.removeClass("vjs-ad-loading"),t.removeClass("vjs-ad-content-resuming"),this.clearTimeout(t)},r.clearTimeout=function(t){t.clearTimeout(this._timeout),this._timeout=null},e}(W.getState("AdState"));W.registerState("Preroll",$);var Z=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"BeforePreroll"};var r=e.prototype;return r.init=function(t){this.adsReady=!1,this.shouldResumeToContent=!1,t.ads._shouldBlockPlay=!t.ads.settings.allowVjsAutoplay||!t.auto
vendor: 4,784 bytes, line 1
1play()},r.onAdsReady=function(t){t.ads.debug("Received adsready event (BeforePreroll)"),this.adsReady=!0},r.onPlay=function(t){var e=W.getState("Preroll");t.ads.debug("Received play event (BeforePreroll)"),this.transitionTo(e,this.adsReady,this.shouldResumeToContent)},r.onAdsCanceled=function(t){t.ads.debug("adscanceled (BeforePreroll)"),this.shouldResumeToContent=!0},r.onAdsError=function(){this.player.ads.debug("adserror (BeforePreroll)"),this.player.ads.error({errorType:C.AdsBeforePrerollError}),this.shouldResumeToContent=!0},r.onNoPreroll=function(){this.player.ads.debug("Skipping prerolls due to nopreroll event (BeforePreroll)"),this.shouldResumeToContent=!0},r.skipLinearAdMode=function(){var t=this.player;t.trigger("adskip"),t.ads.debug("skipLinearAdMode (BeforePreroll)"),this.shouldResumeToContent=!0},r.onContentChanged=function(){this.init(this.player)},e}(W.getState("ContentState"));W.registerState("BeforePreroll",Z);var K=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"Midroll"};var r=e.prototype;return r.init=function(t){t.ads.adType="midroll",Y.start(t),t.addClass("vjs-ad-loading")},r.onAdStarted=function(t){t.removeClass("vjs-ad-loading")},r.endLinearAdMode=function(){var t=this.player;this.inAdBreak()&&(this.contentResuming=!0,t.addClass("vjs-ad-content-resuming"),t.removeClass("vjs-ad-loading"),Y.end(t))},r.onAdsError=function(t){t.ads.error({errorType:C.AdsMidrollError}),this.inAdBreak()&&t.ads.endLinearAdMode()},r.cleanup=function(t){t.removeClass("vjs-ad-loading"),t.removeClass("vjs-ad-content-resuming")},e}(W.getState("AdState"));W.registerState("Midroll",K);var Q=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"Postroll"};var r=e.prototype;return r.init=function(t){if(this.waitingForAdBreak=!0,t.ads._contentEnding=!0,t.ads.nopostroll_){this.resumeContent(t);var e=W.getState("AdsDone");this.transitionTo(e)}else{t.addClass("vjs-ad-loading");var r=t.ads.settings.timeout;"number"==typeof t.ads.settings.postrollTimeout&&(r=t.ads.settings.postrollTimeout),this._postrollTimeout=t.setTimeout(function(){t.trigger("adtimeout")},r)}},r.startLinearAdMode=function(){var t=this.player;t.ads.inAdBreak()||this.isContentResuming()?i.A.log.warn("Unexpected startLinearAdMode invocation (Postroll)"):(t.ads.adType="postroll",t.clearTimeout(this._postrollTimeout),this.waitingForAdBreak=!1,Y.start(t))},r.onAdStarted=function(t){t.removeClass("vjs-ad-loading")},r.endLinearAdMode=function(){var t=this,e=this.player,r=W.getState("AdsDone");this.inAdBreak()&&(e.removeClass("vjs-ad-loading"),this.resumeContent(e),Y.end(e,function(){t.transitionTo(r)}))},r.skipLinearAdMode=function(){var t=this.player;t.ads.inAdBreak()||this.isContentResuming()?i.A.log.warn("Unexpected skipLinearAdMode invocation"):(t.ads.debug("Postroll abort (skipLinearAdMode)"),t.trigger("adskip"),this.abort(t))},r.onAdTimeout=function(t){t.ads.debug("Postroll abort (adtimeout)"),this.abort(t)},r.onAdsError=function(t){t.ads.debug("Postroll abort (adserror)"),t.ads.error({errorType:C.AdsPostrollError}),t.ads.inAdBreak()?t.ads.endLinearAdMode():this.abort(t)},r.onContentChanged=function(t){if(this.isContentResuming()){var e=W.getState("BeforePreroll");this.transitionTo(e)}else if(!this.inAdBreak()){var r=W.getState("Preroll");this.transitionTo(r)}},r.onNoPostroll=function(t){this.isContentResuming()||this.inAdBreak()?i.A.log.warn("Unexpected nopostroll event (Postroll)"):this.abort(t)},r.resumeContent=function(t){this.contentResuming=!0,t.addClass("vjs-ad-content-resuming")},r.abort=function(t){var e=W.getState("AdsDone");this.resumeContent(t),t.removeClass("vjs-ad-loading"),this.transitionTo(e)},r.cleanup=function(t){t.removeClass("vjs-ad-content-resuming"),t.clearTimeout(this._postrollTimeout),t.ads._contentEnding=!1},e}(W.getState("AdState"));W.registerState("Postroll",Q);var J=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"ContentPlayback"};var r=e.prototype;return r.init=function(t){t.ads._shouldBlockPlay=!1},r.onAdsReady=function(t){t.ads.debug("Received adsready event (ContentPlayback)"),t.ads.nopreroll_||(t.ads.debug("Triggered readyforpreroll event (ContentPlayback)"),t.trigger("readyforpreroll"))},r.onReadyForPostroll=function(t){var e=W.getState("Postroll");t.ads.debug("Received readyforpostroll event"),this.transitionTo(e)},r.startLinearAdMode=function(){var t=W.getState("Midroll");this.transitionTo(t)},e}(W.getState("ContentState"));W.registerState("ContentPlayback",J);var tt=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"StitchedContentPlayback"};var r=e.prototype;return r.init=function(){this.player.ads._shouldBlockPlay=!1}
vendor: 4,595 bytes, line 1
1,r.onContentChanged=function(){this.player.ads.debug("Received contentchanged event ("+this.constructor._getName()+")")},r.startLinearAdMode=function(){var t=W.getState("StitchedAdRoll");this.transitionTo(t)},e}(W.getState("ContentState"));W.registerState("StitchedContentPlayback",tt);var te=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"StitchedAdRoll"};var r=e.prototype;return r.init=function(){this.waitingForAdBreak=!1,this.contentResuming=!1,this.player.ads.adType="stitched",Y.start(this.player)},r.onPlaying=function(){},r.onContentResumed=function(){},r.onAdEnded=function(){this.endLinearAdMode(),this.player.trigger("ended")},r.endLinearAdMode=function(){var t=W.getState("StitchedContentPlayback");Y.end(this.player),this.transitionTo(t)},e}(W.getState("AdState"));W.registerState("StitchedAdRoll",te);var tr=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"OutstreamPending"};var r=e.prototype;return r.init=function(t){this.adsReady=!1},r.onPlay=function(t){var e=W.getState("OutstreamPlayback");t.ads.debug("Received play event (OutstreamPending)"),this.transitionTo(e,this.adsReady)},r.onAdsReady=function(t){t.ads.debug("Received adsready event (OutstreamPending)"),this.adsReady=!0},r.onAdsError=function(){this.player.ads.debug("adserror (OutstreamPending)"),this.adsReady=!1},e}(W.getState("AdState"));W.registerState("OutstreamPending",tr);var tn=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"OutstreamPlayback"};var r=e.prototype;return r.init=function(t,e){t.addClass("vjs-ad-loading"),e?this.handleAdsReady():this.abort(t)},r.onAdsReady=function(t){t.ads.inAdBreak()?i.A.log.warn("Unexpected adsready event (Preroll)"):(t.ads.debug("Received adsready event (Preroll)"),this.handleAdsReady())},r.abort=function(t){var e=W.getState("OutstreamDone");t.removeClass("vjs-ad-loading"),this.transitionTo(e)},r.onAdStarted=function(t){t.removeClass("vjs-ad-loading")},r.handleAdsReady=function(){this.adsReady=!0,this.readyForOutstreamPlayback()},r.readyForOutstreamPlayback=function(){var t=this.player;this.afterLoadStart(function(){t.trigger("readyforoutstream")})},r.startLinearAdMode=function(){var t=this.player;this.adsReady&&!t.ads.inAdBreak()&&Y.start(t)},r.cleanup=function(t){t.ads._hasThereBeenALoadStartDuringPlayerLife||i.A.log.warn("Leaving OutstreamPlayback state before loadstart event can cause issues."),this.cleanupPartial(t)},r.cleanupPartial=function(t){t.removeClass("vjs-ad-loading"),t.removeClass("vjs-ad-content-resuming"),this.clearTimeout(t)},r.clearTimeout=function(t){t.clearTimeout(this._timeout),this._timeout=null},r.onAdStarted=function(t){t.removeClass("vjs-ad-loading")},r.onAdsError=function(t){var e=this;i.A.log("adserror (OutstreamPlayback)"),this.inAdBreak()?t.ads.endLinearAdMode():this.afterLoadStart(function(){e.abort(t)})},r.onAdTimeout=function(t){var e=this;this.afterLoadStart(function(){t.ads.debug("adtimeout (OutstreamPlayback)"),e.abort(t)})},r.onAdsCanceled=function(t){var e=this;t.ads.debug("adscanceled (OutstreamPlaybac)"),this.afterLoadStart(function(){e.abort(t)})},r.endLinearAdMode=function(){var t=this;if(this.inAdBreak()){this.player.removeClass("vjs-ad-loading");var e=W.getState("OutstreamDone");Y.end(this.player,function(){t.transitionTo(e)})}},r.afterLoadStart=function(t){var e=this.player;e.ads._hasThereBeenALoadStartDuringPlayerLife?t():(e.ads.debug("Waiting for loadstart..."),e.one("loadstart",function(){e.ads.debug("Received loadstart event"),t()}))},r.skipLinearAdMode=function(){var t=this,e=this.player,r=W.getState("OutstreamDone");this.inAdBreak()?i.A.log.warn("Unexpected skipLinearAdMode invocation"):this.afterLoadStart(function(){e.trigger("adskip"),e.ads.debug("skipLinearAdMode (OutstreamPlayback)"),t.transitionTo(r)})},e}(W.getState("AdState"));W.registerState("OutstreamPlayback",tn);var ti=function(t){function e(){return t.apply(this,arguments)||this}y(e,t),e._getName=function(){return"OutstreamDone"};var r=e.prototype;return r.init=function(t){t.trigger("ended")},r.startLinearAdMode=function(){i.A.log.warn("Unexpected startLinearAdMode invocation (OutstreamDone)")},e}(W.getState("AdState"));W.registerState("OutstreamDone",ti);var ta=B.isMiddlewareMediatorSupported,ts=i.A.getTech("Html5").Events,to={timeout:5e3,prerollTimeout:void 0,postrollTimeout:void 0,debug:!1,stitchedAds:!1,contentIsLive:void 0,liveCuePoints:!0,allowVjsAutoplay:i.A.options.normalizeAutoplay||!1},tu=function(t){var e=this,r=i.A.obj.merge(to,t),n=[];
1ts.concat(["firstplay","loadedalldata"]).forEach(function(t){-1===n.indexOf(t)&&n.push(t)}),e.on(n,m),ta()||(r.debug&&i.A.log("Using cancelContentPlay to block content playback"),e.on("play",U)),e.setTimeout(function(){e.ads._hasThereBeenALoadStartDuringPlayerLife||""===e.src()||i.A.log.error("videojs-contrib-ads has not seen a loadstart event 5 seconds after being initialized, but a source is present. This indicates that videojs-contrib-ads was initialized too late. It must be initialized immediately after video.js in the same tick. As a result, some ads will not play and some media events will be incorrect. For more information, see http://videojs.github.io/videojs-contrib-ads/integrator/getting-started.html")},5e3),e.on("ended",function(){e.hasClass("vjs-has-started")||e.addClass("vjs-has-started")}),e.on("contenttimeupdate",function(){e.removeClass("vjs-waiting")}),e.on(["addurationchange","adcanplay"],function(){if(!(e.ads.settings.stitchedAds||e.hasStarted())&&(!e.ads.snapshot||e.currentSrc()!==e.ads.snapshot.currentSrc)&&e.ads.inAdBreak()){var t=e.play();t&&t.catch&&t.catch(function(t){i.A.log.warn("Play promise rejected when playing ad",t)})}}),e.on("nopreroll",function(){e.ads.debug("Received nopreroll event"),e.ads.nopreroll_=!0}),e.on("nopostroll",function(){e.ads.debug("Received nopostroll event"),e.ads.nopostroll_=!0}),e.on("playing",function(){e.ads._cancelledPlay=!1,e.ads._pausedOnContentupdate=!1}),e.on("play",function(){e.ads._playRequested=!0}),e.one("loadstart",function(){e.ads._hasThereBeenALoadStartDuringPlayerLife=!0}),e.on("loadeddata",function(){e.ads._hasThereBeenALoadedData=!0}),e.on("loadedmetadata",function(){e.ads._hasThereBeenALoadedMetaData=!0}),e.ads={disableNextSnapshotRestore:!1,_contentEnding:!1,_contentHasEnded:!1,_hasThereBeenALoadStartDuringPlayerLife:!1,_hasThereBeenALoadedData:!1,_hasThereBeenALoadedMetaData:!1,_inLinearAdMode:!1,_shouldBlockPlay:!1,_playBlocked:!1,_playRequested:!1,_error:null,adType:null,VERSION:l,reset:function(){e.ads.disableNextSnapshotRestore=!1,e.ads._contentEnding=!1,e.ads._contentHasEnded=!1,e.ads.snapshot=null,e.ads.adType=null,e.ads._hasThereBeenALoadedData=!1,e.ads._hasThereBeenALoadedMetaData=!1,e.ads._cancelledPlay=!1,e.ads._shouldBlockPlay=!1,e.ads._playBlocked=!1,e.ads.nopreroll_=!1,e.ads.nopostroll_=!1,e.ads._playRequested=!1,e.ads._error=null},startLinearAdMode:function(){e.ads._state.startLinearAdMode()},endLinearAdMode:function(){e.ads._state.endLinearAdMode()},skipLinearAdMode:function(){e.ads._state.skipLinearAdMode()},stitchedAds:function(t){return void 0!==t&&(i.A.log.warn("Using player.ads.stitchedAds() as a setter is deprecated, it should be set as an option upon initialization of contrib-ads."),this.settings.stitchedAds=!!t),this.settings.stitchedAds},videoElementRecycled:function(){if(e.ads.shouldPlayContentBehindAd(e))return!1;if(!this.snapshot)throw Error("You cannot use videoElementRecycled while there is no snapshot.");var t=e.tech_.src()!==this.snapshot.src,r=e.currentSrc()!==this.snapshot.currentSrc;return t||r},isLive:function(t){return(void 0===t&&(t=e),"boolean"==typeof t.ads.settings.contentIsLive)?t.ads.settings.contentIsLive:t.duration()===1/0||"8"===i.A.browser.IOS_VERSION&&0===t.duration()||!1},shouldPlayContentBehindAd:function(t){if(void 0===t&&(t=e),t)if(!t.ads.settings.liveCuePoints)return!1;else return!i.A.browser.IS_IOS&&!i.A.browser.IS_ANDROID&&t.duration()===1/0;throw Error("shouldPlayContentBehindAd requires a player as a param")},shouldTakeSnapshots:function(t){return void 0===t&&(t=e),!this.shouldPlayContentBehindAd(t)&&!this.stitchedAds()},isInAdMode:function(){return this._state.isAdState()},isWaitingForAdBreak:function(){return this._state.isWaitingForAdBreak()},isContentResuming:function(){return this._state.isContentResuming()},isAdPlaying:function(){return this._state.inAdBreak()},inAdBreak:function(){return this._state.inAdBreak()},removeNativePoster:function(){var t=e.$(".vjs-tech");t&&t.removeAttribute("poster")},debug:function(){if(this.settings.debug){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];1===e.length&&"string"==typeof e[0]?i.A.log("ADS: "+e[0]):i.A.log.apply(i.A,["ADS:"].concat(e))}},error:function(t){if(void 0===t)return this._error||null;if(null===t||!t.errorType){this._error=null;return}this._error=t,i.A.log.error("An error with Ads occured. Type: "+t.errorType+"."),e.trigger({type:"vjsadserror",error:this._error})}},e.ads.settings=r,r.stitchedAds=!!r.stitchedAds,"outstream"===r.playerMode?(e.src(X),e.ads._state=new(W.getState("OutstreamPending"))(e)):r.stitchedAds?e.ads._state=new(W.getState("StitchedContentPlayback"))(e):e.ads._state=new(W.getState("BeforePreroll"))(e),e.ads._state.init(e),e.ads.cueTextTracks=_,e.ads.adMacroReplacement=k.bind(e),e.ads.contentSrc=e.currentSrc(),e.ads._seenInitialLoadstart=!1,e.on("loadstart",function(){if(!e.ads.inAdBreak()){var t=e.currentSrc();t!==e.ads.contentSrc&&(e.ads._seenInitialLoadstart&&e.trigger({type:"contentchanged"}),e.trigger({type:"contentupdate",oldValue:e.ads.contentSrc,newValue:t}),e.ads.contentSrc=t),e.ads._seenInitialLoadstart=!0}}),e.on("contentchanged",e.ads.reset);var a=function(){var t=e.textTracks();if(!e.ads.shouldPlayContentBehindAd(e)&&e.ads.inAdBreak()&&e.tech_.featuresNativeTextTracks&&i.A.browser.IS_IOS&&!Array.isArray(e.textTracks()))for(var r=0;r<t.length;r++){var n=t[r];"showing"===n.mode&&(n.mode="disabled")}};e.ready(function(){e.textTracks().addEventListener("change",a)}),e.on(["play","playing","ended","adsready","adscanceled","adskip","adserror","adtimeout","adended","ads-ad-started","ads-ad-skipped","contentchanged","dispose","contentresumed","readyforpostroll","nopreroll","nopostroll"],function(t){e.ads._state.handleEvent(t.type)}),e.on("dispose",function(){e.ads.reset(),e.textTracks().removeEventListener("change",a)}),T(),w(function(){}),e.ads.listenToTcf=T,e.ads.updateUsPrivacyString=function(t){return w(t)}};tu.Error=C,tu.VERSION=l,function(){if(i.A.getPlugin)return!!i.A.getPlugin("ads");var t=i.A.getComponent("Player");return!!(t&&t.prototype.ads)}(i.A)||((i.A.registerPlugin||i.A.plugin)("ads",tu),F()&&!i.A.usingContribAdsMiddleware_&&(i.A.use("*",j),i.A.usingContribAdsMiddleware_=!0,i.A.log.debug("Play middleware has been registered with videojs")))},88443:(t,e,r)=>{"use strict";r.d(e,{Tt:()=>P,Ze:()=>U,qg:()=>tL,i6:()=>tM});var n=r(61502),i=r.n(n),a=r(38216),s=r.n(a),o="http://example.com";let u=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=s().location&&s().location.href||"");var r="function"==typeof s().URL,n=/^\/\//.test(t),a=!s().location&&!/\/\//i.test(t);if(r?t=new(s()).URL(t,s().location||o):/\/\//i.test(t)||(t=i().buildAbsoluteURL(s().location&&s().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(o.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)};var l=function(t,e,r){e.forEach(function(e){for(var n in t.mediaGroups[e])for(var i in t.mediaGroups[e][n])r(t.mediaGroups[e][n][i],e,n,i)})},d=r(59501).Buffer,c=r(54224);let p=t=>!!t&&"object"==typeof t,h=(...t)=>t.reduce((t,e)=>("object"!=typeof e||Object.keys(e).forEach(r=>{Array.isArray(t[r])&&Array.isArray(e[r])?t[r]=t[r].concat(e[r]):p(t[r])&&p(e[r])?t[r]=h(t[r],e[r]):t[r]=e[r]}),t),{}),f=t=>Object.keys(t).map(e=>t[e]),g=(t,e)=>{let r=[];for(let n=t;n<e;n++)r.push(n);return r},m=t=>t.reduce((t,e)=>t.concat(e),[]),A=t=>{if(!t.length)return[];let e=[];for(let r=0;r<t.length;r++)e.push(t[r]);return e},y=(t,e)=>t.reduce((t,r,n)=>(r[e]&&t.push(n),t),[]),v=(t,e)=>f(t.reduce((t,r)=>(r.forEach(r=>{t[e(r)]=r}),t),{}));
1var b={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"};let E=({baseUrl:t="",source:e="",range:r="",indexRange:n=""})=>{let i={uri:e,resolvedUri:u(t||"",e)};if(r||n){let t,e=(r||n).split("-"),a=s().BigInt?s().BigInt(e[0]):parseInt(e[0],10),o=s().BigInt?s().BigInt(e[1]):parseInt(e[1],10);a<Number.MAX_SAFE_INTEGER&&"bigint"==typeof a&&(a=Number(a)),o<Number.MAX_SAFE_INTEGER&&"bigint"==typeof o&&(o=Number(o)),"bigint"==typeof(t="bigint"==typeof o||"bigint"==typeof a?s().BigInt(o)-s().BigInt(a)+s().BigInt(1):o-a+1)&&t<Number.MAX_SAFE_INTEGER&&(t=Number(t)),i.byterange={length:t,offset:a}}return i},T=t=>{let e;return e="bigint"==typeof t.offset||"bigint"==typeof t.length?s().BigInt(t.offset)+s().BigInt(t.length)-s().BigInt(1):t.offset+t.length-1,`${t.offset}-${e}`},D=t=>(t&&"number"!=typeof t&&(t=parseInt(t,10)),isNaN(t))?null:t,S={static(t){let{duration:e,timescale:r=1,sourceDuration:n,periodDuration:i}=t,a=D(t.endNumber),s=e/r;return"number"==typeof a?{start:0,end:a}:"number"==typeof i?{start:0,end:i/s}:{start:0,end:n/s}},dynamic(t){let{NOW:e,clientOffset:r,availabilityStartTime:n,timescale:i=1,duration:a,periodStart:s=0,minimumUpdatePeriod:o=0,timeShiftBufferDepth:u=1/0}=t,l=D(t.endNumber),d=(e+r)/1e3,c=n+s,p=Math.ceil((d+o-c)*i/a),h=Math.floor((d-c-u)*i/a),f=Math.floor((d-c)*i/a);return{start:Math.max(0,h),end:"number"==typeof l?l:Math.min(p,f)}}},w=t=>e=>{let{duration:r,timescale:n=1,periodStart:i,startNumber:a=1}=t;return{number:a+e,duration:r/n,timeline:i,time:e*r}},C=t=>{let{type:e,duration:r,timescale:n=1,periodDuration:i,sourceDuration:a}=t,{start:s,end:o}=S[e](t),u=g(s,o).map(w(t));if("static"===e){let t=u.length-1;u[t].duration=("number"==typeof i?i:a)-r/n*t}return u},I=t=>{let{baseUrl:e,initialization:r={},sourceDuration:n,indexRange:i="",periodStart:a,presentationTime:s,number:o=0,duration:u}=t;if(!e)throw Error(b.NO_BASE_URL);let l=E({baseUrl:e,source:r.sourceURL,range:r.range}),d=E({baseUrl:e,source:e,indexRange:i});if(d.map=l,u){let e=C(t);e.length&&(d.duration=e[0].duration,d.timeline=e[0].timeline)}else n&&(d.duration=n,d.timeline=a);return d.presentationTime=s||a,d.number=o,[d]},P=(t,e,r)=>{let n,i=t.sidx.map?t.sidx.map:null,a=t.sidx.duration,o=t.timeline||0,u=t.sidx.byterange,l=u.offset+u.length,d=e.timescale,c=e.references.filter(t=>1!==t.referenceType),p=[],h=t.endList?"static":"dynamic",f=t.sidx.timeline,g=f,m=t.mediaSequence||0;n="bigint"==typeof e.firstOffset?s().BigInt(l)+e.firstOffset:l+e.firstOffset;for(let t=0;t<c.length;t++){let u,l=e.references[t],c=l.referencedSize,A=l.subsegmentDuration;u="bigint"==typeof n?n+s().BigInt(c)-s().BigInt(1):n+c-1;let y={baseUrl:r,timescale:d,timeline:o,periodStart:f,presentationTime:g,number:m,duration:A,sourceDuration:a,indexRange:`${n}-${u}`,type:h},v=I(y)[0];i&&(v.map=i),p.push(v),"bigint"==typeof n?n+=s().BigInt(c):n+=c,g+=A/d,m++}return t.segments=p,t},R=["AUDIO","SUBTITLES"],N=1/60,L=t=>v(t,({timeline:t})=>t).sort((t,e)=>t.timeline>e.timeline?1:-1),M=(t,e)=>{for(let r=0;r<t.length;r++)if(t[r].attributes.NAME===e)return t[r];return null},O=t=>{let e=[];return l(t,R,(t,r,n,i)=>{e=e.concat(t.playlists||[])}),e},k=({playlist:t,mediaSequence:e})=>{t.mediaSequence=e,t.segments.forEach((e,r)=>{e.number=t.mediaSequence+r})},_=({oldPlaylists:t,newPlaylists:e,timelineStarts:r})=>{e.forEach(e=>{e.discontinuitySequence=r.findIndex(function({timeline:t}){return t===e.timeline});let n=M(t,e.attributes.NAME);if(!n||e.sidx)return;let i=e.segments[0],a=n.segments.findIndex(function(t){return Math.abs(t.presentationTime-i.presentationTime)<N});if(-1===a){k({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),(!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--;return}n.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),k({playlist:e,mediaSequence:n.segments[a].number})})},x=({oldManifest:t,newManifest:e})=>{let r=t.playlists.concat(O(t)),n=e.playlists.concat(O(e));return e.timelineStarts=L([t.timelineStarts,e.timelineStarts]),_({oldPlaylists:r,newPlaylists:n,timelineStarts:e.timelineStarts}),e},U=t=>t&&t.uri+"-"+T(t.byterange),B=t=>{let e=t.reduce(function(t,e){return t[e.attributes.baseUrl]||(t[e.attributes.baseUrl]=[]),t[e.attributes.baseUrl].push(e),t},{}),r=[];return Object.values(e).forEach(t=>{let e=f(t.reduce((t,e)=>{let r=e.attributes.id+(e.attributes.lang||"");return t[r]?(e.segments&&(e.segments[0]&&(e.segments[0].discontinuity=!0),t[r].segments.push(...e.segments)),e.attributes.contentProtection&&(t[r].attributes.contentProtection=e.attributes.contentProtection)):(t[r]=e,t[r].attributes.timelineStarts=[]),t[r].attributes.timelineStarts.push({start:e.attributes.periodStart,timeline:e.attributes.periodStart}),t},{}));r=r.concat(e)}),r.map(t=>(t.discontinuityStarts=y(t.segments||[],"discontinuity"),t))},q=(t,e)=>{let r=U(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&P(t,n,t.sidx.resolvedUri),t},j=(t,e={})=>
1{if(!Object.keys(e).length)return t;for(let r in t)t[r]=q(t[r],e);return t},F=({attributes:t,segments:e,sidx:r,mediaSequence:n,discontinuitySequence:i,discontinuityStarts:a},s)=>{let o={attributes:{NAME:t.id,BANDWIDTH:t.bandwidth,CODECS:t.codecs,"PROGRAM-ID":1},uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuitySequence:i,discontinuityStarts:a,timelineStarts:t.timelineStarts,mediaSequence:n,segments:e};return t.contentProtection&&(o.contentProtection=t.contentProtection),t.serviceLocation&&(o.attributes.serviceLocation=t.serviceLocation),r&&(o.sidx=r),s&&(o.attributes.AUDIO="audio",o.attributes.SUBTITLES="subs"),o},X=({attributes:t,segments:e,mediaSequence:r,discontinuityStarts:n,discontinuitySequence:i})=>{void 0===e&&(e=[{uri:t.baseUrl,timeline:t.periodStart,resolvedUri:t.baseUrl||"",duration:t.sourceDuration,number:0}],t.duration=t.sourceDuration);let a={NAME:t.id,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1};t.codecs&&(a.CODECS=t.codecs);let s={attributes:a,uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,timelineStarts:t.timelineStarts,discontinuityStarts:n,discontinuitySequence:i,mediaSequence:r,segments:e};return t.serviceLocation&&(s.attributes.serviceLocation=t.serviceLocation),s},W=(t,e={},r=!1)=>{let n,i=t.reduce((t,i)=>{let a=i.attributes.role&&i.attributes.role.value||"",s=i.attributes.lang||"",o=i.attributes.label||"main";if(s&&!i.attributes.label){let t=a?` (${a})`:"";o=`${i.attributes.lang}${t}`}t[o]||(t[o]={language:s,autoselect:!0,default:"main"===a,playlists:[],uri:""});let u=q(F(i,r),e);return t[o].playlists.push(u),void 0===n&&"main"===a&&((n=i).default=!0),t},{});if(!n){let t=Object.keys(i)[0];i[t].default=!0}return i},V=(t,e={})=>t.reduce((t,r)=>{let n=r.attributes.label||r.attributes.lang||"text",i=r.attributes.lang||"und";return t[n]||(t[n]={language:i,default:!1,autoselect:!1,playlists:[],uri:""}),t[n].playlists.push(q(X(r),e)),t},{}),H=t=>t.reduce((t,e)=>(e&&e.forEach(e=>{let{channel:r,language:n}=e;t[n]={autoselect:!1,default:!1,instreamId:r,language:n},e.hasOwnProperty("aspectRatio")&&(t[n].aspectRatio=e.aspectRatio),e.hasOwnProperty("easyReader")&&(t[n].easyReader=e.easyReader),e.hasOwnProperty("3D")&&(t[n]["3D"]=e["3D"])}),t),{}),G=({attributes:t,segments:e,sidx:r,discontinuityStarts:n})=>{let i={attributes:{NAME:t.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:t.width,height:t.height},CODECS:t.codecs,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1},uri:"",endList:"static"===t.type,timeline:t.periodStart,resolvedUri:t.baseUrl||"",targetDuration:t.duration,discontinuityStarts:n,timelineStarts:t.timelineStarts,segments:e};return t.frameRate&&(i.attributes["FRAME-RATE"]=t.frameRate),t.contentProtection&&(i.contentProtection=t.contentProtection),t.serviceLocation&&(i.attributes.serviceLocation=t.serviceLocation),r&&(i.sidx=r),i},z=({attributes:t})=>"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType,Y=({attributes:t})=>"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType,$=({attributes:t})=>"text/vtt"===t.mimeType||"text"===t.contentType,Z=(t,e)=>{t.forEach(t=>{t.mediaSequence=0,t.discontinuitySequence=e.findIndex(function({timeline:e}){return e===t.timeline}),t.segments&&t.segments.forEach((t,e)=>{t.number=e})})},K=t=>t?Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(n.playlists)},[]):[],Q=({dashPlaylists:t,locations:e,contentSteering:r,sidxMapping:n={},previousManifest:i,eventStream:a})=>{if(!t.length)return{};let{sourceDuration:s,type:o,suggestedPresentationDelay:u,minimumUpdatePeriod:l}=t[0].attributes,d=B(t.filter(z)).map(G),c=B(t.filter(Y)),p=B(t.filter($)),h=t.map(t=>t.attributes.captionServices).filter(Boolean),f={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:s,playlists:j(d,n)};l>=0&&(f.minimumUpdatePeriod=1e3*l),e&&(f.locations=e),r&&(f.contentSteering=r),"dynamic"===o&&(f.suggestedPresentationDelay=u),a&&a.length>0&&(f.eventStream=a);let g=0===f.playlists.length,m=c.length?W(c,n,g):null,A=p.length?V(p,n):null,y=d.concat(K(m),K(A));
1return(f.timelineStarts=L(y.map(({timelineStarts:t})=>t)),Z(y,f.timelineStarts),m&&(f.mediaGroups.AUDIO.audio=m),A&&(f.mediaGroups.SUBTITLES.subs=A),h.length&&(f.mediaGroups["CLOSED-CAPTIONS"].cc=H(h)),i)?x({oldManifest:i,newManifest:f}):f},J=(t,e,r)=>{let{NOW:n,clientOffset:i,availabilityStartTime:a,timescale:s=1,periodStart:o=0,minimumUpdatePeriod:u=0}=t;return Math.ceil((((n+i)/1e3+u-(a+o))*s-e)/r)},tt=(t,e)=>{let{type:r,minimumUpdatePeriod:n=0,media:i="",sourceDuration:a,timescale:s=1,startNumber:o=1,periodStart:u}=t,l=[],d=-1;for(let c=0;c<e.length;c++){let p,h=e[c],f=h.d,g=h.r||0,m=h.t||0;if(d<0&&(d=m),m&&m>d&&(d=m),g<0){let o=c+1;p=o===e.length?"dynamic"===r&&n>0&&i.indexOf("$Number$")>0?J(t,d,f):(a*s-d)/f:(e[o].t-d)/f}else p=g+1;let A=o+l.length+p,y=o+l.length;for(;y<A;)l.push({number:y,duration:f/s,time:d,timeline:u}),d+=f,y++}return l},te=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,tr=t=>(e,r,n,i)=>{if("$$"===e)return"$";if(void 0===t[r])return e;let a=""+t[r];return"RepresentationID"===r||(i=n?parseInt(i,10):1,a.length>=i)?a:`${Array(i-a.length+1).join("0")}${a}`},tn=(t,e)=>t.replace(te,tr(e)),ti=(t,e)=>t.duration||e?t.duration?C(t):tt(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}],ta=(t,e)=>{let r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},{initialization:n={sourceURL:"",range:""}}
1=t,i=E({baseUrl:t.baseUrl,source:tn(n.sourceURL,r),range:n.range});return ti(t,e).map(e=>{r.Number=e.number,r.Time=e.time;let n=tn(t.media||"",r),a=t.timescale||1,s=t.presentationTimeOffset||0,o=t.periodStart+(e.time-s)/a;return{uri:n,timeline:e.timeline,duration:e.duration,resolvedUri:u(t.baseUrl||"",n),map:i,number:e.number,presentationTime:o}})},ts=(t,e)=>{let{baseUrl:r,initialization:n={}}=t,i=E({baseUrl:r,source:n.sourceURL,range:n.range}),a=E({baseUrl:r,source:e.media,range:e.mediaRange});return a.map=i,a},to=(t,e)=>{let r,{duration:n,segmentUrls:i=[],periodStart:a}=t;if(!n&&!e||n&&e)throw Error(b.SEGMENT_TIME_UNSPECIFIED);let s=i.map(e=>ts(t,e));return n&&(r=C(t)),e&&(r=tt(t,e)),r.map((e,r)=>{if(s[r]){let n=s[r],i=t.timescale||1,o=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=a+(e.time-o)/i,n}}).filter(t=>t)},tu=({attributes:t,segmentInfo:e})=>{let r,n;e.template?(n=ta,r=h(t,e.template)):e.base?(n=I,r=h(t,e.base)):e.list&&(n=to,r=h(t,e.list));let i={attributes:t};if(!n)return i;let a=n(r,e.segmentTimeline);if(r.duration){let{duration:t,timescale:e=1}=r;r.duration=t/e}else a.length?r.duration=a.reduce((t,e)=>Math.max(t,Math.ceil(e.duration)),0):r.duration=0;return i.attributes=r,i.segments=a,e.base&&r.indexRange&&(i.sidx=a[0],i.segments=[]),i},tl=t=>t.map(tu),td=(t,e)=>A(t.childNodes).filter(({tagName:t})=>t===e),tc=t=>t.textContent.trim(),tp=t=>parseFloat(t.split("/").reduce((t,e)=>t/e)),th=t=>{let e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;let[r,n,i,a,s,o]=e.slice(1);return 31536e3*parseFloat(r||0)+2592e3*parseFloat(n||0)+86400*parseFloat(i||0)+3600*parseFloat(a||0)+60*parseFloat(s||0)+parseFloat(o||0)},tf=t=>(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t)&&(t+="Z"),Date.parse(t)),tg={mediaPresentationDuration:t=>th(t),availabilityStartTime:t=>tf(t)/1e3,minimumUpdatePeriod:t=>th(t),suggestedPresentationDelay:t=>th(t),type:t=>t,timeShiftBufferDepth:t=>th(t),start:t=>th(t),width:t=>parseInt(t,10),height:t=>parseInt(t,10),bandwidth:t=>parseInt(t,10),frameRate:t=>tp(t),startNumber:t=>parseInt(t,10),timescale:t=>parseInt(t,10),presentationTimeOffset:t=>parseInt(t,10),duration(t){let e=parseInt(t,10);return isNaN(e)?th(t):e},d:t=>parseInt(t,10),t:t=>parseInt(t,10),r:t=>parseInt(t,10),presentationTime:t=>parseInt(t,10),DEFAULT:t=>t},tm=t=>t&&t.attributes?A(t.attributes).reduce((t,e)=>{let r=tg[e.name]||tg.DEFAULT;return t[e.name]=r(e.value),t},{}):{},tA={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime","urn:mpeg:dash:mp4protection:2011":"mp4protection"},ty=(t,e)=>e.length?m(t.map(function(t){return e.map(function(e){let r=tc(e),n=u(t.baseUrl,r),i=h(tm(e),{baseUrl:n});return n!==r&&!i.serviceLocation&&t.serviceLocation&&(i.serviceLocation=t.serviceLocation),i})})):t,tv=t=>{let e=td(t,"SegmentTemplate")[0],r=td(t,"SegmentList")[0],n=r&&td(r,"SegmentURL").map(t=>h({tag:"SegmentURL"},tm(t))),i=td(t,"SegmentBase")[0],a=r||e,s=a&&td(a,"SegmentTimeline")[0],o=r||i||e,u=o&&td(o,"Initialization")[0],l=e&&tm(e);l&&u?l.initialization=u&&tm(u):l&&l.initialization&&(l.initialization={sourceURL:l.initialization});let d={template:l,segmentTimeline:s&&td(s,"S").map(t=>tm(t)),list:r&&h(tm(r),{segmentUrls:n,initialization:tm(u)}),base:i&&h(tm(i),{initialization:tm(u)})};return Object.keys(d).forEach(t=>{d[t]||delete d[t]}),d},tb=(t,e,r)=>n=>{let i=ty(e,td(n,"BaseURL")),a=h(t,tm(n)),s=tv(n);return i.map(t=>({segmentInfo:h(r,s),attributes:h(a,t)}))},tE=t=>t.reduce((t,e)=>{let r=tm(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());let n=tA[r.schemeIdUri];if(n){t[n]={attributes:r};let i=td(e,"cenc:pssh")[0];if(i){let e=tc(i);t[n].pssh=e&&function(t){for(var e=s().atob?s().atob(t):d.from(t,"base64").toString("binary"),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}(e)}}return t},{}),tT=t=>
1"urn:scte:dash:cc:cea-608:2015"===t.schemeIdUri?("string"!=typeof t.value?[]:t.value.split(";")).map(t=>{let e,r;return r=t,/^CC\d=/.test(t)?[e,r]=t.split("="):/^CC\d$/.test(t)&&(e=t),{channel:e,language:r}}):"urn:scte:dash:cc:cea-708:2015"===t.schemeIdUri?("string"!=typeof t.value?[]:t.value.split(";")).map(t=>{let e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){let[r,n=""]=t.split("=");e.channel=r,e.language=t,n.split(",").forEach(t=>{let[r,n]=t.split(":");"lang"===r?e.language=n:"er"===r?e.easyReader=Number(n):"war"===r?e.aspectRatio=Number(n):"3D"===r&&(e["3D"]=Number(n))})}else e.language=t;return e.channel&&(e.channel="SERVICE"+e.channel),e}):void 0,tD=t=>m(td(t.node,"EventStream").map(e=>{let r=tm(e),n=r.schemeIdUri;return td(e,"Event").map(e=>{let i=tm(e),a=i.presentationTime||0,s=r.timescale||1,o=i.duration||0,u=a/s+t.attributes.start;return{schemeIdUri:n,value:r.value,id:i.id,start:u,end:u+o/s,messageData:tc(e)||i.messageData,contentEncoding:r.contentEncoding,presentationTimeOffset:r.presentationTimeOffset||0}})})),tS=(t,e,r)=>n=>{let i=tm(n),a=ty(e,td(n,"BaseURL")),s=h(t,i,{role:tm(td(n,"Role")[0])}),o=tT(tm(td(n,"Accessibility")[0]));o&&(s=h(s,{captionServices:o}));let u=td(n,"Label")[0];u&&u.childNodes.length&&(s=h(s,{label:u.childNodes[0].nodeValue.trim()}));let l=tE(td(n,"ContentProtection"));Object.keys(l).length&&(s=h(s,{contentProtection:l}));let d=tv(n),c=td(n,"Representation"),p=h(r,d);return m(c.map(tb(s,a,p)))},tw=(t,e)=>(r,n)=>{let i=ty(e,td(r.node,"BaseURL")),a=h(t,{periodStart:r.attributes.start});"number"==typeof r.attributes.duration&&(a.periodDuration=r.attributes.duration);let s=td(r.node,"AdaptationSet"),o=tv(r.node);return m(s.map(tS(a,i,o)))},tC=(t,e)=>{if(t.length>1&&e({type:"warn",message:"The MPD manifest should contain no more than one ContentSteering tag"}),!t.length)return null;let r=h({serverURL:tc(t[0])},tm(t[0]));return r.queryBeforeStart="true"===r.queryBeforeStart,r},tI=({attributes:t,priorPeriodAttributes:e,mpdType:r})=>"number"==typeof t.start?t.start:e&&"number"==typeof e.start&&"number"==typeof e.duration?e.start+e.duration:e||"static"!==r?null:0,tP=(t,e={})=>{let{manifestUri:r="",NOW:n=Date.now(),clientOffset:i=0,eventHandler:a=function(){}}=e,s=td(t,"Period");
1if(!s.length)throw Error(b.INVALID_NUMBER_OF_PERIOD);let o=td(t,"Location"),u=tm(t),l=ty([{baseUrl:r}],td(t,"BaseURL")),d=td(t,"ContentSteering");u.type=u.type||"static",u.sourceDuration=u.mediaPresentationDuration||0,u.NOW=n,u.clientOffset=i,o.length&&(u.locations=o.map(tc));let c=[];return s.forEach((t,e)=>{let r=tm(t),n=c[e-1];r.start=tI({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:u.type}),c.push({node:t,attributes:r})}),{locations:u.locations,contentSteeringInfo:tC(d,a),representationInfo:m(c.map(tw(u,l))),eventStream:m(c.map(tD))}},tR=t=>{let e,r;if(""===t)throw Error(b.DASH_EMPTY_MANIFEST);let n=new c.DOMParser;try{r=(e=n.parseFromString(t,"application/xml"))&&"MPD"===e.documentElement.tagName?e.documentElement:null}catch(t){}if(!r||r&&r.getElementsByTagName("parsererror").length>0)throw Error(b.DASH_INVALID_XML);return r},tN=t=>{let e=td(t,"UTCTiming")[0];if(!e)return null;let r=tm(e);switch(r.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":r.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":r.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":r.method="DIRECT",r.value=Date.parse(r.value);break;default:throw Error(b.UNSUPPORTED_UTC_TIMING_SCHEME)}return r},tL=(t,e={})=>{let r=tP(tR(t),e);return Q({dashPlaylists:tl(r.representationInfo),locations:r.locations,contentSteering:r.contentSteeringInfo,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest,eventStream:r.eventStream})},tM=t=>tN(tR(t))},96442:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(61502),i=r.n(n),a=r(38216),s=r.n(a),o="http://example.com";let u=function(t,e){if(/^[a-z]+:/i.test(e))return e;/^data:/.test(t)&&(t=s().location&&s().location.href||"");var r="function"==typeof s().URL,n=/^\/\//.test(t),a=!s().location&&!/\/\//i.test(t);if(r?t=new(s()).URL(t,s().location||o):/\/\//i.test(t)||(t=i().buildAbsoluteURL(s().location&&s().location.href||"",t)),r){var u=new URL(e,t);return a?u.href.slice(o.length):n?u.href.slice(u.protocol.length):u.href}return i().buildAbsoluteURL(t,e)}},97734:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}t.exports=function(){function t(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1}var r=t.prototype;return r.getIsEnabled=function(){return this.enabled_},r.enable=function(){this.enabled_=!0},r.disable=function(){this.enabled_=!1},r.reset=function(){this.typeToInterceptorsMap_=new Map,this.enabled_=!1},r.addInterceptor=function(t,e){this.typeToInterceptorsMap_.has(t)||this.typeToInterceptorsMap_.set(t,new Set);var r=this.typeToInterceptorsMap_.get(t);return!r.has(e)&&(r.add(e),!0)},r.removeInterceptor=function(t,e){var r=this.typeToInterceptorsMap_.get(t);return!!(r&&r.has(e))&&(r.delete(e),!0)},r.clearInterceptorsByType=function(t){return!!this.typeToInterceptorsMap_.get(t)&&(this.typeToInterceptorsMap_.delete(t),this.typeToInterceptorsMap_.set(t,new Set),!0)},r.clear=function(){return!!this.typeToInterceptorsMap_.size&&(this.typeToInterceptorsMap_=new Map,!0)},r.getForType=function(t){return this.typeToInterceptorsMap_.get(t)||new Set},r.execute=function(t,r){for(var n,i=this.getForType(t),a=function(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}}(t))){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i);!(n=a()).done;){var s=n.value;try{r=s(r)}catch(t){}}return r},t}()}}]); 2//# sourceMappingURL=4931-167a4c248f13aeba.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.