1/*! For license information please see 111df9c861190651451438a591364bc39dda39fd.5902115d47b6650fe02d.js.LICENSE.txt */ 2(self.webpackChunk_pray_www=self.webpackChunk_pray_www||[]).push([[9637],{885:function(t){var e,r,n,i,a,o,s,l=9e4;e=function(t){return t*l},r=function(t,e){return t*e},n=function(t){return t/l},i=function(t,e){return t/e},a=function(t,r){return e(i(t,r))},o=function(t,e){return r(n(t),e)},s=function(t,e,r){return n(r?t:t-e)},t.exports={ONE_SECOND_IN_TS:l,secondsToVideoTs:e,secondsToAudioTs:r,videoTsToSeconds:n,audioTsToSeconds:i,audioTsToVideoTs:a,videoTsToAudioTs:o,metadataTsToSeconds:s}},1316:function(t,e,r){"use strict";r.d(e,{BX:function(){return d},Et:function(){return l},TY:function(){return h},UD:function(){return p},YZ:function(){return g},Yg:function(){return f},dv:function(){return m},fz:function(){return c},tB:function(){return u}});var n=r(82553),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^/},o=["video","audio","text"],s=["Video","Audio","Text"],l=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},u=function(t){void 0===t&&(t="");var e=t.split(","),r=[];return e.forEach((function(t){var e;t=t.trim(),o.forEach((function(n){var i=a[n].exec(t.toLowerCase());if(i&&!(i.length<=1)){e=n;var o=t.substring(0,i[1].length),s=t.replace(o,"");r.push({type:o,details:s,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 u(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 l(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)}))&&(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},g=function(t){return void 0===t&&(t=""),t.toLowerCase().split(",").every((function(t){t=t.trim();for(var e=0;e<s.length;e++){if(a["muxer"+s[e]].test(t))return!0}return!1}))},f="mp4a.40.2",m="avc1.4d400d"},4279:function(t,e,r){var n=r(82553),i=t.exports={WebVTT:r(17580),VTTCue:r(72269),VTTRegion:r(34564)};n.vttjs=i,n.WebVTT=i.WebVTT;var a=i.VTTCue,o=i.VTTRegion,s=n.VTTCue,l=n.VTTRegion;i.shim=function(){n.VTTCue=a,n.VTTRegion=o},i.restore=function(){n.VTTCue=s,n.VTTRegion=l},n.VTTCue||i.shim()},4809:function(t,e,r){"use strict";r.d(e,{A:function(){return a}});var n=r(92921),i=(0,n.W_)([73,68,51]),a=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+=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}(e,r),t(e,r))}},6799:function(t,e,r){"use strict";var n=r(82553),i=r(24505),a=r(44737),o=r(34331),s=r(81297);d.httpHandler=r(36918),d.requestInterceptorsStorage=new o,d.responseInterceptorsStorage=new o,d.retryManager=new s;var l=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):e};function u(t,e,r){var n=t;
vendor: 5,312 bytes, line 2
2return 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=u(t,e,r))}function c(t){if(void 0===t.callback)throw new Error("callback argument missing");if(t.requestType&&d.requestInterceptorsStorage.getIsEnabled()){var e={uri:t.uri||t.url,headers:t.headers||{},body:t.body,metadata:t.metadata||{},retry:t.retry,timeout:t.timeout},r=d.requestInterceptorsStorage.execute(t.requestType,e);t.uri=r.uri,t.headers=r.headers,t.body=r.body,t.metadata=r.metadata,t.retry=r.retry,t.timeout=r.timeout}var n=!1,i=function(e,r,i){n||(n=!0,t.callback(e,r,i))};function a(){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(r){}return null}(h),b)try{t=JSON.parse(t)}catch(e){}return t}function o(e){if(clearTimeout(g),clearTimeout(t.retryTimeout),e instanceof Error||(e=new Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,p||!d.retryManager.getIsEnabled()||!t.retry||!t.retry.shouldRetry()){if(t.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var r={headers:E.headers||{},body:E.body,responseUrl:h.responseURL,responseType:h.responseType},n=d.responseInterceptorsStorage.execute(t.requestType,r);E.body=n.body,E.headers=n.headers}return i(e,E)}t.retryTimeout=setTimeout((function(){t.retry.moveToNextAttempt(),t.xhr=h,c(t)}),t.retry.getCurrentFuzzedDelay())}function s(){if(!p){var e;clearTimeout(g),clearTimeout(t.retryTimeout),e=t.useXDR&&void 0===h.status?200:1223===h.status?204:h.status;var r=E,n=null;if(0!==e?(r={body:a(),statusCode:e,method:m,headers:{},url:f,rawRequest:h},h.getAllResponseHeaders&&(r.headers=l(h.getAllResponseHeaders()))):n=new Error("Internal XMLHttpRequest Error"),t.requestType&&d.responseInterceptorsStorage.getIsEnabled()){var o={headers:r.headers||{},body:r.body,responseUrl:h.responseURL,responseType:h.responseType},s=d.responseInterceptorsStorage.execute(t.requestType,o);r.body=s.body,r.headers=s.headers}return i(n,r,r.body)}}var u,p,h=t.xhr||null;h||(h=t.cors||t.useXDR?new d.XDomainRequest:new d.XMLHttpRequest);var g,f=h.url=t.uri||t.url,m=h.method=t.method||"GET",A=t.body||t.data,y=h.headers=t.headers||{},v=!!t.sync,b=!1,E={body:void 0,headers:{},statusCode:0,method:m,url:f,rawRequest:h};if("json"in t&&!1!==t.json&&(b=!0,y.accept||y.Accept||(y.Accept="application/json"),"GET"!==m&&"HEAD"!==m&&(y["content-type"]||y["Content-Type"]||(y["Content-Type"]="application/json"),A=JSON.stringify(!0===t.json?A:t.json))),h.onreadystatechange=function(){4!==h.readyState||d.responseInterceptorsStorage.getIsEnabled()||setTimeout(s,0)},h.onload=s,h.onerror=o,h.onprogress=function(){},h.onabort=function(){p=!0,clearTimeout(t.retryTimeout)},h.ontimeout=o,h.open(m,f,!v,t.username,t.password),v||(h.withCredentials=!!t.withCredentials),!v&&t.timeout>0&&(g=setTimeout((function(){if(!p){p=!0,h.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",o(t)}}),t.timeout)),h.setRequestHeader)for(u in y)y.hasOwnProperty(u)&&h.setRequestHeader(u,y[u]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}(t.headers))throw new 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(A||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=u(e,r,n)).method=t.toUpperCase(),c(r)}}))},14334:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return Dt}});var n=r(14041),i=r(96184),a=r(82553),o=r.n(a),s=r(86124),l=r.n(s),u="7.5.2";var d=function(t,e){e.isImmediatePropagationStopped=function(){return!0},e.cancelBubble=!0,e.isPropagationStopped=function(){return!0}},c=function(t,e,r){d(0,r),t.trigger({type:e+r.type,originalEvent:r})};function p(t){"playing"===t.type?function(t,e){t.ads.isInAdMode()&&(t.ads.isContentResuming()?t.ads._contentEnding&&c(t,"content",e):c(t,"ad",e))}(this,t):"ended"===t.type?function(t,e){t.ads.isInAdMode()?t.ads.isContentResuming()?(d(0,e),t.trigger("resumeended")):c(t,"ad",e):t.ads._contentHasEnded||t.ads.stitchedAds()||(c(t,"content",e),t.trigger("readyforpostroll"))}(this,t):"loadstart"===t.type||"loadeddata"===t.type||"loadedmetadata"===t.type?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)}}(this,t):"play"===t.type?function(t,e){t.ads.inAdBreak()?c(t,"ad",e):t.ads.isContentResuming()&&c(t,"content",e)}(this,t):this.ads.isInAdMode()&&(this.ads.isContentResuming()?c(this,"content",t):c(this,"ad",t))}function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},h.apply(this,arguments)}function g(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,f(t,e)}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}var m={},A=function(){!function(){if(i.A.dom.isInFrame()&&"function"!=typeof o().__tcfapi){for(var t,e=o(),r={};e;){try{if(e.frames.__tcfapiLocator){t=e;break}}catch(n){}if(e===o().top)break;e=e.parent}if(!t)return;o().__tcfapi=function(e,n,i,a){var o=Math.random()+"",s={__tcfapiCall:{command:e,parameter:a,version:n,callId:o}};r[o]=i,t.postMessage(s,"*")},o().addEventListener("message",(function(t){var e={};try{e="string"==typeof t.data?JSON.parse(t.data):t.data}catch(n){}var i=e.__tcfapiReturn;i&&"function"==typeof r[i.callId]&&(r[i.callId](i.returnValue,i.success),r[i.callId]=null)}),!1)}}(),"function"==typeof o().__tcfapi&&o().__tcfapi("addEventListener",2,(function(t,e){e&&(m=t)}))},y="",v=function(t,e){if(void 0===e&&(e=o()),e.__uspapi)e.__uspapi("getUSPData",1,(function(e,r){var n=r?e.uspString:null;y=n,t(n)}));else{var r=function(t){for(var e=t.parent;e!==t.top;){try{if(e.frames&&e.frames.__uspapiLocator)return e}catch(r){}e=e.parent}try{if(t.top.frames&&t.top.frames.__uspapiLocator)return t.top}catch(r){}return null}(e);if(!r)return void t(null);var n=Math.random().toString(36).substring(2),i={__uspapiCall:{command:"getUSPData",version:1,callId:n}};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,o=a.returnValue,s=a.success?o.uspString:null;y=s,t(s)}}),!1),r.postMessage(i,"*")}},b={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"},E=function(t,e){return e?encodeURIComponent(t):t},T=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){!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]]}(t,r,e)})),r},w=function(t,e,r,n,a){for(var o in void 0===n&&(n={}),e){var s=n.hasOwnProperty(o)?n[o]:o;if(s.startsWith("r:"))try{var l=new RegExp(s.slice(2),"g");t=t.replace(l,E(e[o],r))}catch(u){a.ads.error({errorType:b.AdsMacroReplacementFailed,macro:o,error:u}),i.A.log.warn('Unable to replace macro with regex "'+s+'". The provided regex may be invalid.')}else t=t.split(s).join(E(e[o],r))}return t};function S(t,e,r){void 0===e&&(e=!1),void 0===r&&(r={});var n=r.disableDefaultMacros||!1,a=r.macroNameOverrides||{};delete r.disableDefaultMacros,delete r.macroNameOverrides;var s=r;if(n)return w(t,s,e,a);var u,d,c,p=function(t){var e={},r=t.replace(/{([^}=]+)=([^}]*)}/g,(function(t,r,n){return e["{"+r+"}"]=n,"{"+r+"}"}));return{defaults:e,modifiedString:r}}(t),g=p.defaults,f=p.modifiedString;for(var A in t=f,h(s,{"{player.id}":(c=this).options_["data-player"]||c.id_,"{player.height}":c.currentHeight(),"{player.width}":c.currentWidth(),"{player.heightInt}":Math.round(c.currentHeight()),"{player.widthInt}":Math.round(c.currentWidth()),"{player.autoplay}":c.autoplay()?1:0,"{player.muted}":c.muted()?1:0,"{player.language}":c.language()||"","{mediainfo.id}":c.mediainfo?c.mediainfo.id:"","{mediainfo.name}":c.mediainfo?c.mediainfo.name:"","{mediainfo.duration}":c.mediainfo?c.mediainfo.duration:"","{player.duration}":c.duration(),"{player.durationInt}":Math.round(c.duration()),"{player.live}":c.duration()===1/0?1:0,"{player.pageUrl}":i.A.dom.isInFrame()?l().referrer:o().location.href,"{playlistinfo.id}":c.playlistinfo?c.playlistinfo.id:"","{playlistinfo.name}":c.playlistinfo?c.playlistinfo.name:"","{timestamp}":(new Date).getTime(),"{document.referrer}":l().referrer,"{window.location.href}":o().location.href,"{random}":Math.floor(1e12*Math.random())},T(this.mediainfo,g),(u=m,d={},Object.keys(u).forEach((function(t){d["{tcf."+t+"}"]=u[t]})),d["{tcf.gdprAppliesInt}"]=u.gdprApplies?1:0,d),{"{usp.uspString}":y},function(t,e,r){var n=new RegExp("{pageVariable\\.([^}]+)}","g"),a={},s=(t.match(n)||[]).concat(Object.keys(r).filter((function(e){return n.test(e)&&t.includes(r[e])})));
vendor: 11,362 bytes, line 2
2if(s)return s.forEach((function(t){for(var r,n=t,s=t.slice(14,-1),l=s.split("."),u=o(),d=0;d<l.length;d++)if(d===l.length-1)r=u[l[d]];else if(void 0===(u=u[l[d]]))break;var c=typeof r;null===r?a[n]="null":void 0===r?e[n]?a[n]=e[n]:(i.A.log.warn('Page variable "'+s+'" not found'),a[n]=""):"string"!==c&&"number"!==c&&"boolean"!==c?(i.A.log.warn('Page variable "'+s+'" is not a supported type'),a[n]=""):a[n]=r})),a}(t,g,a)),t=w(t,s,e,a,this),g)t=t.replace(A,g[A]);return t}var C={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}},P=function(t,e){return void 0!==e&&t.ads.includedCues[e]},D=function(t,e){void 0!==e&&""!==e&&(t.ads.includedCues[e]=!0)};function R(){!1!==this.ads._shouldBlockPlay&&(this.paused()||(this.ads.debug("Playback was canceled by cancelContentPlay"),this.pause()),this.ads._cancelledPlay=!0)}C.processAdTrack=function(t,e,r,n){t.ads.includedCues={};for(var a=0;a<e.length;a++){var o=e[a],s=this.getSupportedAdCue(t,o);if(!this.isSupportedAdCue(t,o))return void i.A.log.warn("Skipping as this is not a supported ad cue.",o);var l=this.getCueId(t,o),u=o.startTime;if(P(t,l))return void i.A.log("Skipping ad already seen with ID "+l);n&&n(t,s,l,u),r(t,s,l,u),D(t,l)}};var N={},I=i.A;N.isMiddlewareMediatorSupported=function(){return!I.browser.IS_IOS&&!I.browser.IS_ANDROID&&!!(I.use&&I.middleware&&I.middleware.TERMINATOR)},N.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,I.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")}))}}},N.testHook=function(t){I=t};var L=N.playMiddleware,M=N.isMiddlewareMediatorSupported;var k={src:"data:video/mp4;base64,AAAAIGZ0eXBpc29tAAACAGlzb21pc28yYXZjMW1wNDEAAAAIZnJlZQAAAxJtZGF03ABMYXZjNjEuMy4xMDAAQiAIwRg4AAACrgYF//+q3EXpvebZSLeWLNgg2SPu73gyNjQgLSBjb3JlIDE2NCByMzEwOCAzMWUxOWY5IC0gSC4yNjQvTVBFRy00IEFWQyBjb2RlYyAtIENvcHlsZWZ0IDIwMDMtMjAyMyAtIGh0dHA6Ly93d3cudmlkZW9sYW4ub3JnL3gyNjQuaHRtbCAtIG9wdGlvbnM6IGNhYmFjPTEgcmVmPTMgZGVibG9jaz0xOjA6MCBhbmFseXNlPTB4MzoweDExMyBtZT1oZXggc3VibWU9NyBwc3k9MSBwc3lfcmQ9MS4wMDowLjAwIG1peGVkX3JlZj0xIG1lX3JhbmdlPTE2IGNocm9tYV9tZT0xIHRyZWxsaXM9MSA4eDhkY3Q9MSBjcW09MCBkZWFkem9uZT0yMSwxMSBmYXN0X3Bza2lwPTEgY2hyb21hX3FwX29mZnNldD0tMiB0aHJlYWRzPTcgbG9va2FoZWFkX3RocmVhZHM9MSBzbGljZWRfdGhyZWFkcz0wIG5yPTAgZGVjaW1hdGU9MSBpbnRlcmxhY2VkPTAgYmx1cmF5X2NvbXBhdD0wIGNvbnN0cmFpbmVkX2ludHJhPTAgYmZyYW1lcz0zIGJfcHlyYW1pZD0yIGJfYWRhcHQ9MSBiX2JpYXM9MCBkaXJlY3Q9MSB3ZWlnaHRiPTEgb3Blbl9nb3A9MCB3ZWlnaHRwPTIga2V5aW50PTI1MCBrZXlpbnRfbWluPTI1IHNjZW5lY3V0PTQwIGludHJhX3JlZnJlc2g9MCByY19sb29rYWhlYWQ9NDAgcmM9Y3JmIG1idHJlZT0xIGNyZj0yMy4wIHFjb21wPTAuNjAgcXBtaW49MCBxcG1heD02OSBxcHN0ZXA9NCBpcF9yYXRpbz0xLjQwIGFxPTE6MS4wMACAAAAAOWWIhAAn//71sXwKaunqigzoMi7hlyTJrrYi4m0AwABFxzcqWKGahTaoBcQAAMWK4AlcFlIICBeldSEQBGCMHAAABVNtb292AAAAbG12aGQAAAAAAAAAAAAAAAAAAAPoAAAAIgABAAABAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAAACQXRyYWsAAABcdGtoZAAAAAMAAAAAAAAAAAAAAAEAAAAAAAAAIgAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAABQAAAAPAAAAAAACRlZHRzAAAAHGVsc3QAAAAAAAAAAQAAACIAAAAAAAEAAAAAAbltZGlhAAAAIG1kaGQAAAAAAAAAAAAAAAAAADwAAAACAFXEAAAAAAAtaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAFZpZGVvSGFuZGxlcgAAAAFkbWluZgAAABR2bWhkAAAAAQAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABJHN0YmwAAADAc3RzZAAAAAAAAAABAAAAsGF2YzEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAABQADwAEgAAABIAAAAAAAAAAEUTGF2YzYxLjMuMTAwIGxpYngyNjQAAAAAAAAAAAAAAAAY//8AAAA2YXZjQwFkAA3/4QAZZ2QADazZQUH7ARAAAAMAEAAAAwPA8UKZYAEABmjr48siwP34+AAAAAAQcGFzcAAAAAEAAAABAAAAFGJ0cnQAAAAAAALAEAACwBAAAAAYc3R0cwAAAAAAAAABAAAAAQAAAgAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAFHN0c3oAAAAAAAAC7wAAAAEAAAAUc3RjbwAAAAAAAAABAAAARQAAAj10cmFrAAAAXHRraGQAAAADAAAAAAAAAAAAAAACAAAAAAAAABgAAAAAAAAAAAAAAAEBAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAkZWR0cwAAABxlbHN0AAAAAAAAAAEAAAAXAAAEAAABAAAAAAG1bWRpYQAAACBtZGhkAAAAAAAAAAAAAAAAAACsRAAACABVxAAAAAAALWhkbHIAAAAAAAAAAHNvdW4AAAAAAAAAAAAAAABTb3VuZEhhbmRsZXIAAAABYG1pbmYAAAAQc21oZAAAAAAAAAAAAAAAJGRpbmYAAAAcZHJlZgAAAAAAAAABAAAADHVybCAAAAABAAABJHN0YmwAAAB+c3RzZAAAAAAAAAABAAAAbm1wNGEAAAAAAAAAAQAAAAAAAAAAAAIAEAAAAACsRAAAAAAANmVzZHMAAAAAA4CAgCUAAgAEgICAF0AVAAAAAAH0AAAAEisFgICABRIQVuUABoCAgAECAAAAFGJ0cnQAAAAAAAH0AAAAEisAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAEAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAAVAAAABgAAABhzdGNvAAAAAAAAAAIAAAAwAAADNAAAABpzZ3BkAQAAAHJvbGwAAAACAAAAAf//AAAAHHNiZ3AAAAAAcm9sbAAAAAEAAAACAAAAAQAAAGF1ZHRhAAAAWW1ldGEAAAAAAAAAIWhkbHIAAAAAAAAAAG1kaXJhcHBsAAAAAAAAAAAAAAAALGlsc3QAAAAkqXRvbwAAABxkYXRhAAAAAQAAAABMYXZmNjEuMS4xMDA=",type:"video/mp4"},O=function(){function t(){}return t.getState=function(e){if(e)return t.states_&&t.states_[e]?t.states_[e]:void 0},t.registerState=function(e,r){if("string"!=typeof e||!e)throw new Error('Illegal state name, "'+e+'"; must be a non-empty string.');return t.states_||(t.states_={}),t.states_[e]=r,r},t}(),x=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=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r.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 new 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}();O.registerState("State",x);var _=function(t){function e(e){var r;return(r=t.call(this,e)||this).contentResuming=!1,r.waitingForAdBreak=!1,r}g(e,t);var r=e.prototype;return r.isAdState=function(){return!0},r.onPlaying=function(){var t=O.getState("ContentPlayback");this.contentResuming&&this.transitionTo(t)},r.onContentResumed=function(){var t=O.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}(x);O.registerState("AdState",_);var B=function(t){function e(){return t.apply(this,arguments)||this}g(e,t);var r=e.prototype;return r.isAdState=function(){return!1},r.onContentChanged=function(t){var e=O.getState("BeforePreroll"),r=O.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}(x);O.registerState("ContentState",B);var U,q=function(t){function e(){return t.apply(this,arguments)||this}g(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}(O.getState("ContentState"));O.registerState("AdsDone",q);var j={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;e=i.A.browser.IS_IOS&&t.ads.isLive(t)&&t.seekable().length>0?t.currentTime()-t.seekable().end(0):t.currentTime();var r=t.$(".vjs-tech"),n=t.textTracks?t.textTracks():[],a=[],o={ended:t.ended(),currentSrc:t.currentSrc(),sources:t.currentSources(),src:t.tech_.src(),currentTime:e,type:t.currentType()};r&&(o.style=r.getAttribute("style"));for(var s=0;s<n.length;s++){var l=n[s];a.push({track:l,mode:l.mode}),l.mode="disabled"}return o.suppressedTracks=a,o}(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=t.ads.snapshot;if(void 0===e&&(e=function(){}),!0===t.ads.disableNextSnapshotRestore)return t.ads.disableNextSnapshotRestore=!1,delete t.ads.snapshot,void e();var n,a=t.$(".vjs-tech"),o=20,s=r.suppressedTracks,l=function(){for(var t=0;t<s.length;t++)(n=s[t]).track.mode=n.mode},u=function(){var e;if(i.A.browser.IS_IOS&&t.ads.isLive(t)){if(r.currentTime<0&&(e=t.seekable().length>0?t.seekable().end(0)+r.currentTime:t.currentTime(),t.currentTime(e)),t.paused()){var n=t.play();n&&n.catch&&n.catch((function(t){i.A.log.warn("Play promise rejected in IOS snapshot resume",t)}))}}else if(r.ended)t.currentTime(t.duration());else{t.currentTime(r.currentTime);var a=t.play();a&&a.catch&&a.catch((function(t){i.A.log.warn("Play promise rejected in snapshot resume",t)}))}
2t.ads.shouldRemoveAutoplay_&&(t.autoplay(!1),t.ads.shouldRemoveAutoplay_=!1)},d=function e(){if(t.off("contentcanplay",e),U&&t.clearTimeout(U),(a=t.el().querySelector(".vjs-tech")).readyState>1)return u();if(void 0===a.seekable)return u();if(a.seekable.length>0)return u();if(o--)t.setTimeout(e,50);else try{u()}catch(r){t.ads.error({errorType:b.AdsResumeContentFailed,error:r}),i.A.log.warn("Failed to resume the content after an advertisement",r)}};if("style"in r&&a.setAttribute("style",r.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(r.sources),t.one("contentcanplay",d),U=t.setTimeout(d,2e3);else{if(l(),!t.ended()){var c=t.play();c&&c.catch&&c.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()}},F=function(t){function e(){return t.apply(this,arguments)||this}g(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:b.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,j.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,j.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}(O.getState("AdState"));O.registerState("Preroll",F);var V=function(t){function e(){return t.apply(this,arguments)||this}g(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,100 bytes, line 2
2play()},r.onAdsReady=function(t){t.ads.debug("Received adsready event (BeforePreroll)"),this.adsReady=!0},r.onPlay=function(t){var e=O.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:b.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}(O.getState("ContentState"));O.registerState("BeforePreroll",V);var W=function(t){function e(){return t.apply(this,arguments)||this}g(e,t),e._getName=function(){return"Midroll"};var r=e.prototype;return r.init=function(t){t.ads.adType="midroll",j.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"),j.end(t))},r.onAdsError=function(t){t.ads.error({errorType:b.AdsMidrollError}),this.inAdBreak()&&t.ads.endLinearAdMode()},r.cleanup=function(t){t.removeClass("vjs-ad-loading"),t.removeClass("vjs-ad-content-resuming")},e}(O.getState("AdState"));O.registerState("Midroll",W);var X=function(t){function e(){return t.apply(this,arguments)||this}g(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=O.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,j.start(t))},r.onAdStarted=function(t){t.removeClass("vjs-ad-loading")},r.endLinearAdMode=function(){var t=this,e=this.player,r=O.getState("AdsDone");this.inAdBreak()&&(e.removeClass("vjs-ad-loading"),this.resumeContent(e),j.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:b.AdsPostrollError}),t.ads.inAdBreak()?t.ads.endLinearAdMode():this.abort(t)},r.onContentChanged=function(t){if(this.isContentResuming()){var e=O.getState("BeforePreroll");this.transitionTo(e)}else if(!this.inAdBreak()){var r=O.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=O.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}(O.getState("AdState"));O.registerState("Postroll",X);var H=function(t){function e(){return t.apply(this,arguments)||this}g(e,t),e._getName=function(){return"ContentPlayback"};var r=e.prototype;return r.init=function(t){t.ads._shouldBlockPlay=!1}
2,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=O.getState("Postroll");t.ads.debug("Received readyforpostroll event"),this.transitionTo(e)},r.startLinearAdMode=function(){var t=O.getState("Midroll");this.transitionTo(t)},e}(O.getState("ContentState"));O.registerState("ContentPlayback",H);var G=function(t){function e(){return t.apply(this,arguments)||this}g(e,t),e._getName=function(){return"StitchedContentPlayback"};var r=e.prototype;return r.init=function(){this.player.ads._shouldBlockPlay=!1},r.onContentChanged=function(){this.player.ads.debug("Received contentchanged event ("+this.constructor._getName()+")")},r.startLinearAdMode=function(){var t=O.getState("StitchedAdRoll");this.transitionTo(t)},e}(O.getState("ContentState"));O.registerState("StitchedContentPlayback",G);var z=function(t){function e(){return t.apply(this,arguments)||this}g(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",j.start(this.player)},r.onPlaying=function(){},r.onContentResumed=function(){},r.onAdEnded=function(){this.endLinearAdMode(),this.player.trigger("ended")},r.endLinearAdMode=function(){var t=O.getState("StitchedContentPlayback");j.end(this.player),this.transitionTo(t)},e}(O.getState("AdState"));O.registerState("StitchedAdRoll",z);var Y=function(t){function e(){return t.apply(this,arguments)||this}g(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=O.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}(O.getState("AdState"));O.registerState("OutstreamPending",Y);var $=function(t){function e(){return t.apply(this,arguments)||this}g(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=O.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()&&j.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=O.getState("OutstreamDone");j.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=O.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}(O.getState("AdState"));O.registerState("OutstreamPlayback",$);var Z=function(t){function e(){return t.apply(this,arguments)||this}g(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}(O.getState("AdState"));O.registerState("OutstreamDone",Z);var Q=N.isMiddlewareMediatorSupported,K=i.A.getTech("Html5").Events,J={timeout:5e3,prerollTimeout:void 0,postrollTimeout:void 0,debug:!1,stitchedAds:!1,contentIsLive:void 0,liveCuePoints:!0,allowVjsAutoplay:i.A.options.normalizeAutoplay||!1},tt=function(t){var e=this,r=i.A.obj.merge(J,t),n=[];
2K.concat(["firstplay","loadedalldata"]).forEach((function(t){-1===n.indexOf(t)&&n.push(t)})),e.on(n,p),Q()||function(t,e){e&&i.A.log("Using cancelContentPlay to block content playback"),t.on("play",R)}(e,r.debug),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=function(t){return{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:u,reset:function(){t.ads.disableNextSnapshotRestore=!1,t.ads._contentEnding=!1,t.ads._contentHasEnded=!1,t.ads.snapshot=null,t.ads.adType=null,t.ads._hasThereBeenALoadedData=!1,t.ads._hasThereBeenALoadedMetaData=!1,t.ads._cancelledPlay=!1,t.ads._shouldBlockPlay=!1,t.ads._playBlocked=!1,t.ads.nopreroll_=!1,t.ads.nopostroll_=!1,t.ads._playRequested=!1,t.ads._error=null},startLinearAdMode:function(){t.ads._state.startLinearAdMode()},endLinearAdMode:function(){t.ads._state.endLinearAdMode()},skipLinearAdMode:function(){t.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(t.ads.shouldPlayContentBehindAd(t))return!1;if(!this.snapshot)throw new Error("You cannot use videoElementRecycled while there is no snapshot.");var e=t.tech_.src()!==this.snapshot.src,r=t.currentSrc()!==this.snapshot.currentSrc;return e||r},isLive:function(e){return void 0===e&&(e=t),"boolean"==typeof e.ads.settings.contentIsLive?e.ads.settings.contentIsLive:e.duration()===1/0||"8"===i.A.browser.IOS_VERSION&&0===e.duration()},shouldPlayContentBehindAd:function(e){if(void 0===e&&(e=t),e)return!!e.ads.settings.liveCuePoints&&!i.A.browser.IS_IOS&&!i.A.browser.IS_ANDROID&&e.duration()===1/0;throw new Error("shouldPlayContentBehindAd requires a player as a param")},shouldTakeSnapshots:function(e){return void 0===e&&(e=t),!this.shouldPlayContentBehindAd(e)&&!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 e=t.$(".vjs-tech");e&&e.removeAttribute("poster")},debug:function(){if(this.settings.debug){for(var t=arguments.length,e=new 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(e){if(void 0===e)return this._error||null;null!==e&&e.errorType?(this._error=e,i.A.log.error("An error with Ads occured. Type: "+e.errorType+"."),t.trigger({type:"vjsadserror",error:this._error})):this._error=null}}}(e),e.ads.settings=r,r.stitchedAds=!!r.stitchedAds,"outstream"===r.playerMode?(e.src(k),e.ads._state=new(O.getState("OutstreamPending"))(e)):r.stitchedAds?e.ads._state=new(O.getState("StitchedContentPlayback"))(e):e.ads._state=new(O.getState("BeforePreroll"))(e),e.ads._state.init(e),e.ads.cueTextTracks=C,e.ads.adMacroReplacement=S.bind(e),function(t){t.ads.contentSrc=t.currentSrc(),t.ads._seenInitialLoadstart=!1,t.on("loadstart",(function(){if(!t.ads.inAdBreak()){var e=t.currentSrc();e!==t.ads.contentSrc&&(t.ads._seenInitialLoadstart&&t.trigger({type:"contentchanged"}),t.trigger({type:"contentupdate",oldValue:t.ads.contentSrc,newValue:e}),t.ads.contentSrc=e),t.ads._seenInitialLoadstart=!0}}
2))}(e),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)})),A(),v((function(){})),e.ads.listenToTcf=A,e.ads.updateUsPrivacyString=function(t){return v(t)}};tt.Error=b,tt.VERSION=u,function(t){!function(){if(i.A.getPlugin)return Boolean(i.A.getPlugin("ads"));var t=i.A.getComponent("Player");return Boolean(t&&t.prototype.ads)}(i.A)&&((i.A.registerPlugin||i.A.plugin)("ads",t),M()&&!i.A.usingContribAdsMiddleware_&&(i.A.use("*",L),i.A.usingContribAdsMiddleware_=!0,i.A.log.debug("Play middleware has been registered with videojs")))}(tt);function et(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function rt(t){return rt="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},rt(t)}function nt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function it(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,et(n.key),n)}}function at(t,e,r){return e&&it(t.prototype,e),r&&it(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function ot(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function st(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 ot(t,e);var r=Object.prototype.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)?ot(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){s=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}var lt=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)};lt.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)},lt.prototype.updateCurrentTime=function(){this.contentPlayheadTracker.seeking||(this.contentPlayheadTracker.currentTime=this.vjsPlayer.currentTime())},lt.prototype.checkForSeeking=function(){var t=1e3*(this.vjsPlayer.currentTime()-this.contentPlayheadTracker.previousTime);Math.abs(t)>this.seekCheckInterval+this.seekThreshold?this.contentPlayheadTracker.seeking=!0:this.contentPlayheadTracker.seeking=!1,this.contentPlayheadTracker.previousTime=this.vjsPlayer.currentTime()},lt.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))},lt.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,679 bytes, line 2
2this.vjsPlayer.el()&&this.vjsPlayer.one("play",this.setUpPlayerIntervals.bind(this))},lt.prototype.onNoPostroll=function(){this.vjsPlayer.trigger("nopostroll")},lt.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])},lt.prototype.onReadyForPreroll=function(){this.controller.onPlayerReadyForPreroll()},lt.prototype.onAdTimeout=function(){this.controller.onAdTimeout()},lt.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()},lt.prototype.onFullscreenChange=function(){this.vjsPlayer.isFullscreen()?this.controller.onPlayerEnterFullscreen():this.controller.onPlayerExitFullscreen()},lt.prototype.onVolumeChange=function(){var t=this.vjsPlayer.muted()?0:this.vjsPlayer.volume();this.controller.onPlayerVolumeChanged(t)},lt.prototype.injectAdContainerDiv=function(t){this.vjsControls.el().parentNode.appendChild(t)},lt.prototype.getContentPlayer=function(){return this.h5Player},lt.prototype.getVolume=function(){return this.vjsPlayer.muted()?0:this.vjsPlayer.volume()},lt.prototype.setVolume=function(t){this.vjsPlayer.volume(t),0==t?this.vjsPlayer.muted(!0):this.vjsPlayer.muted(!1)},lt.prototype.unmute=function(){this.vjsPlayer.muted(!1)},lt.prototype.mute=function(){this.vjsPlayer.muted(!0)},lt.prototype.play=function(){this.vjsPlayer.play()},lt.prototype.togglePlayback=function(){this.vjsPlayer.paused()?this.vjsPlayer.play():this.vjsPlayer.pause()},lt.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()},lt.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()},lt.prototype.getPlayerOptions=function(){return this.vjsPlayer.options_},lt.prototype.getPlayerId=function(){return this.vjsPlayer.id()},lt.prototype.toggleFullscreen=function(){this.vjsPlayer.isFullscreen()?this.vjsPlayer.exitFullscreen():this.vjsPlayer.requestFullscreen()},lt.prototype.getContentPlayheadTracker=function(){return this.contentPlayheadTracker},lt.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}})},lt.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}})},lt.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()},lt.prototype.onAdBreakEnd=function(){this.vjsPlayer.on("contentended",this.boundContentEndedListener),this.vjsPlayer.ads.inAdBreak()&&this.vjsPlayer.ads.endLinearAdMode(),this.vjsControls.show()},lt.prototype.onAdStart=function(){this.vjsPlayer.trigger("ads-ad-started")},lt.prototype.onAllAdsCompleted=function(){1==this.contentComplete&&(this.contentSource&&this.vjsPlayer.currentSrc()!=this.contentSource&&this.vjsPlayer.src({src:this.contentSource,type:this.contentSourceType}),this.controller.onContentAndAdsCompleted())},lt.prototype.onAdsReady=function(){this.vjsPlayer.trigger("adsready")},lt.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))},lt.prototype.seekContentToZero=function(){this.vjsPlayer.currentTime(0)},lt.prototype.triggerPlayerEvent=function(t,e){this.vjsPlayer.trigger(t,e)},lt.prototype.addContentEndedListener=function(t){this.contentEndedListeners.push(t)},lt.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 ut=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()};ut.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)},ut.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)},ut.prototype.onAdPlayPauseClick=function(){this.controller.onAdPlayPauseClick()},ut.prototype.onAdMuteClick=function(){this.controller.onAdMuteClick()},ut.prototype.onAdFullscreenClick=function(){this.controller.toggleFullscreen()},ut.prototype.onAdsPaused=function(){this.controller.sdkImpl.adPlaying=!1,this.addClass(this.playPauseDiv,"ima-paused"),this.removeClass(this.playPauseDiv,"ima-playing"),this.showAdControls()},ut.prototype.onAdsResumed=function(){this.onAdsPlaying(),this.showAdControls()},ut.prototype.onAdsPlaying=function(){this.controller.sdkImpl.adPlaying=!0,this.addClass(this.playPauseDiv,"ima-playing"),this.removeClass(this.playPauseDiv,"ima-paused")},ut.prototype.updateAdUi=function(t,e,r,n,i){var a=Math.floor(e/60),o=Math.floor(e%60);o.toString().length<2&&(o="0"+o);var s=": ";i>1&&(s=" ("+n+" "+this.controller.getSettings().adLabelNofN+" "+i+"): "),this.countdownDiv.innerHTML=this.controller.getSettings().adLabel+s+a+":"+o;var l=100*(t/r);this.progressDiv.style.width=l+"%"},ut.prototype.unmute=function(){this.addClass(this.muteDiv,"ima-non-muted"),this.removeClass(this.muteDiv,"ima-muted"),this.sliderLevelDiv.style.width=100*this.controller.getPlayerVolume()+"%"},ut.prototype.mute=function(){this.addClass(this.muteDiv,"ima-muted"),this.removeClass(this.muteDiv,"ima-non-muted"),this.sliderLevelDiv.style.width="0%"},ut.prototype.onAdVolumeSliderMouseDown=function(){document.addEventListener("mouseup",this.boundOnMouseUp,!1),document.addEventListener("mousemove",this.boundOnMouseMove,!1)},ut.prototype.onMouseMove=function(t){this.changeVolume(t)},ut.prototype.onMouseUp=function(t){this.changeVolume(t),document.removeEventListener("mouseup",this.boundOnMouseUp),document.removeEventListener("mousemove",this.boundOnMouseMove)},ut.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)},ut.prototype.showAdContainer=function(){this.adContainerDiv.style.display="block"},ut.prototype.hideAdContainer=function(){this.adContainerDiv.style.display="none"},ut.prototype.onAdContainerClick=function(){this.isAdNonlinear&&this.controller.togglePlayback()},ut.prototype.reset=function(){this.hideAdContainer()},ut.prototype.onAdError=function(){this.hideAdContainer()},ut.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()},ut.prototype.onAdBreakEnd=function(){var t=this.controller.getCurrentAd();(null==t||t.isLinear())&&this.hideAdContainer(),this.controlsDiv.style.display="none",this.countdownDiv.innerHTML=""},ut.prototype.onAllAdsCompleted=function(){this.hideAdContainer()},ut.prototype.onLinearAdStart=function(){this.removeClass(this.adContainerDiv,"bumpable-ima-ad-container"),this.isAdNonlinear=!1},ut.prototype.onNonLinearAdLoad=function(){this.adContainerDiv.style.display="block",this.addClass(this.adContainerDiv,"bumpable-ima-ad-container"),this.isAdNonlinear=!0},ut.prototype.onPlayerEnterFullscreen=function(){this.addClass(this.fullscreenDiv,"ima-fullscreen"),this.removeClass(this.fullscreenDiv,"ima-non-fullscreen")},ut.prototype.onPlayerExitFullscreen=function(){this.addClass(this.fullscreenDiv,"ima-non-fullscreen"),this.removeClass(this.fullscreenDiv,"ima-fullscreen")},ut.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+"%")},ut.prototype.showAdControls=function(){this.controller.getSettings().disableAdControls||this.addClass(this.controlsDiv,"ima-controls-div-showing")},ut.prototype.hideAdControls=function(){this.removeClass(this.controlsDiv,"ima-controls-div-showing")},ut.prototype.assignControlAttributes=function(t,e){t.id=this.controlPrefix+e,t.className=this.controlPrefix+e+" "+e},ut.prototype.getClassRegexp=function(t){return new RegExp("(^|[^A-Za-z-])"+t+"((?![A-Za-z-])|$)","gi")},ut.prototype.elementHasClass=function(t,e){return this.getClassRegexp(e).test(t.className)},ut.prototype.addClass=function(t,e){t.className=t.className.trim()+" "+e},ut.prototype.removeClass=function(t,e){var r=this.getClassRegexp(e);t.className=t.className.trim().replace(r,"")},ut.prototype.getAdContainerDiv=function(){return this.adContainerDiv},ut.prototype.setShowCountdown=function(t){this.showCountdown=t,this.countdownDiv.style.display=this.showCountdown?"block":"none"};var dt="2.3.0",ct=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)};ct.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),0==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(dt),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})},ct.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"===rt(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})},ct.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()},ct.prototype.onAdsLoaderError=function(t){window.console.warn("AdsLoader error: "+t.getError()),this.controller.onErrorLoadingAds(t),this.adsManager&&this.adsManager.destroy()},ct.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,google.ima.ViewMode.NORMAL),this.adsManager.setVolume(this.controller.getPlayerVolume()),this.initializeAdDisplayContainer()}catch(r){this.onAdError(r)}},ct.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])},ct.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},ct.prototype.onAdBreakReady=function(t){this.adBreakReadyListener(t)},ct.prototype.onContentPauseRequested=function(t){this.adsActive=!0,this.adPlaying=!0,this.controller.onAdBreakStart(t)},ct.prototype.onContentResumeRequested=function(t){this.adsActive=!1,this.adPlaying=!1,this.controller.onAdBreakEnd()},ct.prototype.onAllAdsCompleted=function(t){this.allAdsCompleted=!0,this.controller.onAllAdsCompleted()},ct.prototype.onAdLoaded=function(t){t.getAd().isLinear()||(this.controller.onNonLinearAdLoad(),this.controller.playContent())},ct.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()},ct.prototype.onAdPaused=function(){this.controller.onAdsPaused()},ct.prototype.onAdResumed=function(t){this.controller.onAdsResumed()},ct.prototype.onAdComplete=function(){this.currentAd.isLinear()&&clearInterval(this.adTrackingTimer)},ct.prototype.onAdLog=function(t){this.controller.onAdLog(t)},ct.prototype.onAdPlayheadTrackerInterval=function(){if(null!==this.adsManager){var t=this.adsManager.getRemainingTime(),e=this.currentAd.getDuration(),r=e-t;r=r>0?r:0;var n,i=0;this.currentAd.getAdPodInfo()&&(n=this.currentAd.getAdPodInfo().getAdPosition(),i=this.currentAd.getAdPodInfo().getTotalAds()),this.controller.onAdPlayheadUpdated(r,t,e,n,i)}},ct.prototype.onC
vendor: 12,675 bytes, line 2
2ontentComplete=function(){this.adsLoader&&(this.adsLoader.contentComplete(),this.contentCompleteCalled=!0),(this.adsManager&&this.adsManager.getCuePoints()&&!this.adsManager.getCuePoints().includes(-1)||!this.adsManager)&&this.controller.onNoPostroll(),this.allAdsCompleted&&this.controller.onContentAndAdsCompleted()},ct.prototype.onPlayerDisposed=function(){this.adTrackingTimer&&clearInterval(this.adTrackingTimer),this.adsManager&&(this.adsManager.destroy(),this.adsManager=null)},ct.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)}}},ct.prototype.onAdTimeout=function(){this.isAdTimedOut=!0},ct.prototype.onPlayerReady=function(){this.initAdObjects(),(this.controller.getSettings().adTagUrl||this.controller.getSettings().adsResponse)&&"onLoad"===this.controller.getSettings().requestMode&&this.requestAds()},ct.prototype.onPlayerEnterFullscreen=function(){this.adsManager&&this.adsManager.resize(window.screen.width,window.screen.height,google.ima.ViewMode.FULLSCREEN)},ct.prototype.onPlayerExitFullscreen=function(){this.adsManager&&this.adsManager.resize(this.controller.getPlayerWidth(),this.controller.getPlayerHeight(),google.ima.ViewMode.NORMAL)},ct.prototype.onPlayerVolumeChanged=function(t){this.adsManager&&this.adsManager.setVolume(t),this.adMuted=0==t},ct.prototype.onPlayerResize=function(t,e){this.adsManager&&(this.adsManagerDimensions.width=t,this.adsManagerDimensions.height=e,this.adsManager.resize(t,e,google.ima.ViewMode.NORMAL))},ct.prototype.getCurrentAd=function(){return this.currentAd},ct.prototype.setAdBreakReadyListener=function(t){this.adBreakReadyListener=t},ct.prototype.isAdPlaying=function(){return this.adPlaying},ct.prototype.isAdMuted=function(){return this.adMuted},ct.prototype.pauseAds=function(){this.adsManager.pause(),this.adPlaying=!1},ct.prototype.resumeAds=function(){this.adsManager.resume(),this.adPlaying=!0},ct.prototype.unmute=function(){this.adsManager.setVolume(1),this.adMuted=!1},ct.prototype.mute=function(){this.adsManager.setVolume(0),this.adMuted=!0},ct.prototype.setVolume=function(t){this.adsManager.setVolume(t),this.adMuted=0==t},ct.prototype.initializeAdDisplayContainer=function(){this.adDisplayContainer&&(this.adDisplayContainerInitialized||(this.adDisplayContainer.initialize(),this.adDisplayContainerInitialized=!0))},ct.prototype.playAdBreak=function(){this.autoPlayAdBreaks||(this.controller.showAdContainer(),this.adsManager.setVolume(this.controller.getPlayerVolume()),this.adsManager.start())},ct.prototype.addEventListener=function(t,e){this.adsManager&&this.adsManager.addEventListener(t,e)},ct.prototype.getAdsManager=function(){return this.adsManager},ct.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 pt=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={debug:this.settings.debug,timeout:this.settings.timeout,prerollTimeout:this.settings.prerollTimeout},n=Object.assign({},r,e.contribAdsSettings||{});this.playerWrapper=new lt(t,n,this),this.adUi=new ut(this),this.sdkImpl=new ct(this)};pt.IMA_DEFAULTS={adLabel:"Advertisement",adLabelNofN:"of",debug:!1,disableAdControls:!1,prerollTimeout:1e3,preventLateAdStart:!1,requestMode:"onLoad",showControlsForJSAds:!0,timeout:5e3},pt.prototype.initWithSettings=function(t){this.settings=Object.assign({},pt.IMA_DEFAULTS,t||{}),this.warnAboutDeprecatedSettings(),this.showCountdown=!0,!1===this.settings.showCountdown&&(this.showCountdown=!1)},pt.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")}))},pt.prototype.getSettings=function(){return this.settings},pt.prototype.getIsMobile=function(){return this.isMobile},pt.prototype.getIsIos=function(){return this.isIos},pt.prototype.injectAdContainerDiv=function(t){this.playerWrapper.injectAdContainerDiv(t)},pt.prototype.getAdContainerDiv=function(){return this.adUi.getAdContainerDiv()},pt.prototype.getContentPlayer=function(){return this.playerWrapper.getContentPlayer()},pt.prototype.getContentPlayheadTracker=function(){return this.playerWrapper.getContentPlayheadTracker()},pt.prototype.requestAds=function(){this.sdkImpl.requestAds()},pt.prototype.setSetting=function(t,e){this.settings[t]=e},pt.prototype.onErrorLoadingAds=function(t){this.adUi.onAdError(),this.playerWrapper.onAdError(t)},pt.prototype.onAdPlayPauseClick=function(){this.sdkImpl.isAdPlaying()?(this.adUi.onAdsPaused(),this.sdkImpl.pauseAds()):(this.adUi.onAdsPlaying(),this.sdkImpl.resumeAds())},pt.prototype.onAdMuteClick=function(){this.sdkImpl.isAdMuted()?(this.playerWrapper.unmute(),this.adUi.unmute(),this.sdkImpl.unmute()):(this.playerWrapper.mute(),this.adUi.mute(),this.sdkImpl.mute())},pt.prototype.setVolume=function(t){this.playerWrapper.setVolume(t),this.sdkImpl.setVolume(t)},pt.prototype.getPlayerVolume=function(){return this.playerWrapper.getVolume()},pt.prototype.toggleFullscreen=function(){this.playerWrapper.toggleFullscreen()},pt.prototype.onAdError=function(t){this.adUi.onAdError(),this.playerWrapper.onAdError(t)},pt.prototype.onAdBreakStart=function(t){this.playerWrapper.onAdBreakStart(),this.adUi.onAdBreakStart(t)},pt.prototype.showAdContainer=function(){this.adUi.showAdContainer()},pt.prototype.onAdBreakEnd=function(){this.playerWrapper.onAdBreakEnd(),this.adUi.onAdBreakEnd()},pt.prototype.onAllAdsCompleted=function(){this.adUi.onAllAdsCompleted(),this.playerWrapper.onAllAdsCompleted()},pt.prototype.onAdsPaused=function(){this.adUi.onAdsPaused()},pt.prototype.onAdsResumed=function(){this.adUi.onAdsResumed()},pt.prototype.onAdPlayheadUpdated=function(t,e,r,n,i){this.adUi.updateAdUi(t,e,r,n,i)},pt.prototype.onAdLog=function(t){this.playerWrapper.onAdLog(t)},pt.prototype.getCurrentAd=function(){return this.sdkImpl.getCurrentAd()},pt.prototype.playContent=function(){this.playerWrapper.play()},pt.prototype.onLinearAdStart=function(){this.adUi.onLinearAdStart(),this.playerWrapper.onAdStart()},pt.prototype.onNonLinearAdLoad=function(){this.adUi.onNonLinearAdLoad()},pt.prototype.onNonLinearAdStart=function(){this.adUi.onNonLinearAdLoad(),this.playerWrapper.onAdStart()},pt.prototype.getPlayerWidth=function(){return this.playerWrapper.getPlayerWidth()},pt.prototype.getPlayerHeight=function(){return this.playerWrapper.getPlayerHeight()},pt.prototype.onAdsReady=function(){this.playerWrapper.onAdsReady()},pt.prototype.onPlayerResize=function(t,e){this.sdkImpl.onPlayerResize(t,e)},pt.prototype.onContentComplete=function(){this.sdkImpl.onContentComplete()},pt.prototype.onNoPostroll=function(){this.playerWrapper.onNoPostroll()},pt.prototype.onContentAndAdsCompleted=function(){for(var t in this.contentAndAdsEndedListeners)"function"==typeof this.contentAndAdsEndedListeners[t]&&this.contentAndAdsEndedListeners[t]()},pt.prototype.onPlayerDisposed=function(){this.contentAndAdsEndedListeners=[],this.sdkImpl.onPlayerDisposed()},pt.prototype.onPlayerReadyForPreroll=function(){this.sdkImpl.onPlayerReadyForPreroll()},pt.prototype.onAdTimeout=function(){this.sdkImpl.onAdTimeout()},pt.prototype.onPlayerReady=function(){this.sdkImpl.onPlayerReady()},pt.prototype.onPlayerEnterFullscreen=function(){this.adUi.onPlayerEnterFullscreen(),this.sdkImpl.onPlayerEnterFullscreen()},pt.prototype.onPlayerExitFullscreen=function(){this.adUi.onPlayerExitFullscreen(),this.sdkImpl.onPlayerExitFullscreen()},pt.prototype.onPlayerVolumeChanged=function(t){this.adUi.onPlayerVolumeChanged(t),this.sdkImpl.onPlayerVolumeChanged(t)},pt.prototype.setContentWithAdTag=function(t,e){this.reset(),this.settings.adTagUrl=e||this.settings.adTagUrl,this.playerWrapper.changeSource(t)},pt.prototype.setContentWithAdsResponse=function(t,e){this.reset(),this.settings.adsResponse=e||this.settings.adsResponse,this.playerWrapper.changeSource(t)},pt.prototype.setContentWithAdsRequest=function(t,e){this.reset(),this.settings.adsRequest=e||this.settings.adsRequest,this.playerWrapper.changeSource(t)},pt.prototype.reset=function(){this.sdkImpl.reset(),this.playerWrapper.reset(),this.adUi.reset()},pt.prototype.addContentEndedListener=function(t){this.playerWrapper.addContentEndedListener(t)},pt.prototype.addContentAndAdsEndedListener=function(t){this.contentAndAdsEndedListeners.push(t)},pt.prototype.setAdBreakReadyListener=function(t){this.sdkImpl.setAdBreakReadyListener(t)},pt.prototype.setShowCountdown=function(t){this.adUi.setShowCountdown(t),this.showCountdown=t,this.adUi.countdownDiv.style.display=this.showCountdown?"block":"none"},pt.prototype.initializeAdDisplayContainer=function(){this.sdkImpl.initializeAdDisplayContainer()},pt.prototype.playAdBreak=function(){this.sdkImpl.playAdBreak()},pt.prototype.addEventListener=function(t,e){this.sdkImpl.addEventListener(t,e)},pt.prototype.getAdsManager=function(){return this.sdkImpl.getAdsManager()},pt.prototype.getPlayerId=function(){return this.playerWrapper.getPlayerId()},pt.prototype.changeAdTag=function(t){this.reset(),this.settings.adTagUrl=t},pt.prototype.pauseAd=function(){this.adUi.onAdsPaused(),this.sdkImpl.pauseAds()},pt.prototype.resumeAd=function(){this.adUi.onAdsPlaying(),this.sdkImpl.resumeAds()},pt.prototype.togglePlayback=function(){this.playerWrapper.togglePlayback()},pt.prototype.adsWillAutoplay=function(){return void 0!==this.settings.adsWillAutoplay?this.settings.adsWillAutoplay:void 0!==this.settings.adWillAutoplay?this.settings.adWillAutoplay:!!this.playerWrapper.getPlayerOptions().autoplay},pt.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()},pt.prototype.triggerPlayerEvent=function(t,e){this.playerWrapper.triggerPlayerEvent(t,e)};var ht=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)};ht.prototype.playerDisposedListener=function(){this.contentEndedListeners=[],this.daiController.onPlayerDisposed()},ht.prototype.onPause=function(){this.daiController.isInAdBreak()&&this.vjsControls.show()},ht.prototype.onPlay=function(){this.daiController.isInAdBreak()&&this.vjsControls.hide()},ht.prototype.onSeekEnd=function(){this.daiController.onSeekEnd(this.vjsPlayer.currentTime())},ht.prototype.onPlayerReady=function(){this.h5Player=document.getElementById(this.getPlayerId()).getElementsByClassName("vjs-tech")[0],this.daiController.onPlayerReady()},ht.prototype.getStreamPlayer=function(){return this.h5Player},ht.prototype.getVjsPlayer=function(){return this.vjsPlayer},ht.prototype.getPlayerOptions=function(){return this.vjsPlayer.options_},ht.prototype.getPlayerId=function(){return this.vjsPlayer.id()},ht.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}})},ht.prototype.onAdBreakStart=function(){this.vjsControls.hide()},ht.prototype.onAdBreakEnd=function(){this.vjsControls.show()},ht.prototype.reset=function(){this.vjsControls.show()};var gt=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
2ash+xml"}};gt.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()},gt.prototype.onAddTrack=function(t){var e=this,r=t.track;"metadata"===r.kind&&(r.mode="hidden",r.addEventListener("cuechange",(function(t){var n,i=st(r.activeCues_);try{for(i.s();!(n=i.n()).done;){var a=n.value,o={};o[a.value.key]=a.value.data,e.streamManager.onTimedMetadata(o)}}catch(s){i.e(s)}finally{i.f()}})))},gt.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},gt.prototype.onStreamPause=function(){this.isAdBreak&&(this.adUiDiv.style.display="none")},gt.prototype.onStreamPlay=function(){this.isAdBreak&&(this.adUiDiv.style.display="block")},gt.prototype.onSeekEnd=function(t){if("live"!==this.daiController.getSettings().streamType)if(this.isSnapback)this.isSnapback=!1;else{var e=this.streamManager.previousCuePointForStreamTime(t);e&&!e.played&&(this.isSnapback=!0,this.snapForwardTime=t,this.vjsPlayer.currentTime(e.start))}},gt.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)}},gt.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))},gt.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})},gt.prototype.onPlayerReady=function(){this.initImaDai()},gt.prototype.onPlayerDisposed=function(){this.streamManager&&this.streamManager.reset()},gt.prototype.getStreamManager=function(){return this.StreamManager},gt.prototype.reset=function(){this.StreamManager&&this.StreamManager.reset()};var ft=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={debug:this.settings.debug,timeout:this.settings.timeout,prerollTimeout:this.settings.prerollTimeout},n=Object.assign({},r,e.contribAdsSettings||{});this.playerWrapper=new ht(t,n,this),this.sdkImpl=new gt(this)};ft.IMA_DEFAULTS={adLabel:"Advertisement",adLabelNofN:"of",debug:!1,disableAdControls:!1,showControlsForJSAds:!0},ft.prototype.initWithSettings=function(t){this.settings=Object.assign({},ft.IMA_DEFAULTS,t||{}),this.warnAboutDeprecatedSettings(),this.showCountdown=!0,!1===this.settings.showCountdown&&(this.showCountdown=!1)},ft.prototype.warnAboutDeprecatedSettings=function(){var t=this;[].forEach((function(e){void 0!==t.settings[e]&&console.warn("WARNING: videojs.imaDai setting "+e+" is deprecated")}))},ft.prototype.getSettings=function(){return this.settings},ft.prototype.getIsMobile=function(){return this.isMobile},ft.prototype.getIsIos=function(){return this.isIos},ft.prototype.getStreamPlayer=function(){return this.playerWrapper.getStreamPlayer()},ft.prototype.getVjsPlayer=function(){return this.playerWrapper.getVjsPlayer()},ft.prototype.requestStream=function(){this.sdkImpl.requestStream()},ft.prototype.setSetting=function(t,e){this.settings[t]=e},ft.prototype.onErrorLoadingAds=function(t){this.playerWrapper.onAdError(t)},ft.prototype.onAdError=function(t){this.playerWrapper.onAdError(t)},ft.prototype.onAdBreakStart=function(){this.inAdBreak=!0,this.playerWrapper.onAdBreakStart()},ft.prototype.onAdBreakEnd=function(){this.inAdBreak=!1,this.playerWrapper.onAdBreakEnd()},ft.prototype.onPlayerDisposed=function(){this.contentAndAdsEndedListeners=[],this.sdkImpl.onPlayerDisposed()},ft.prototype.isInAdBreak=function(){return this.inAdBreak},ft.prototype.onSeekEnd=function(t){this.sdkImpl.onSeekEnd(t)},ft.prototype.onPlayerReady=function(){this.sdkImpl.onPlayerReady()},ft.prototype.reset=function(){this.sdkImpl.reset(),this.playerWrapper.reset()},ft.prototype.addEventListener=function(t,e){this.sdkImpl.addEventListener(t,e)},ft.prototype.getStreamManager=function(){return this.sdkImpl.getStreamManager()},ft.prototype.getPlayerId=function(){return this.playerWrapper.getPlayerId()},ft.prototype.streamWillAutoplay=function(){return void 0!==this.settings.streamWillAutoplay?this.settings.streamWillAutoplay:!!this.playerWrapper.getPlayerOptions().autoplay},ft.prototype.triggerPlayerEvent=function(t,e){this.playerWrapper.triggerPlayerEvent(t,e)};var mt=function(t,e){this.controller=new pt(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)},At=function(t,e){this.controller=new ft(t,e),this.streamEndedListener=function(t){this.controller.addStreamEndedListener(t)}.bind(this),this.addEventListener=function(t,e){this.controller.addEventListener(t,e)}
2.bind(this),this.getStreamManager=function(){return this.controller.getStreamManager()}.bind(this)},yt=at((function t(e,r){nt(this,t),"hls"===(e=e.toLowerCase())||"dash"===e?"dash"!==e?"string"==typeof r?(this.streamFormat=e,this.assetKey=r):window.console.error("assetKey error: value must be string."):window.console.error("streamFormat error: DASH streams are notcurrently supported by this plugin."):window.console.error("VodStream error: incorrect streamFormat.")})),vt=at((function t(e,r,n){nt(this,t),"hls"===(e=e.toLowerCase())||"dash"===e?"dash"!==e?"string"==typeof r?"string"==typeof n?(this.streamFormat=e,this.cmsId=r,this.videoId=n):window.console.error("videoId error: value must be string."):window.console.error("cmsId error: value must be string."):window.console.error("streamFormat error: DASH streams are notcurrently supported by this plugin."):window.console.error("VodStream error: incorrect streamFormat.")})),bt=i.A.registerPlugin||i.A.plugin;bt("ima",(function(t){this.ima=new mt(this,t)})),bt("imaDai",(function(t,e){if(t instanceof yt)e.streamType="live",e.assetKey=t.assetKey;else{if(!(t instanceof vt))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 At(this,e)}));const Et={CLICK:"click",COMPLETE:"complete",ERROR:"error",PAUSED:"pause",RESUMED:"resume",SKIPPED:"skip",STARTED:"start"};var Tt=function(t,e){let{onPlay:r,onPause:n,onWaiting:i,onPlaying:a,onTimeUpdate:o,onSeeking:s,onSeeked:l,onEnded:u,onError:d,onLoadedData:c,onLoadedMetadata:p}=e,h=0,g=0,f=0;t.on("play",(e=>{null==r||r(e,t,t.currentTime())})),t.on("pause",(e=>{null==n||n(e,t,t.currentTime())})),t.on("waiting",(e=>{null==i||i(e,t,t.currentTime())})),t.on("playing",(e=>{null==a||a(e,t,t.currentTime())})),t.on("timeupdate",(e=>{const r=t.currentTime();null==o||o(e,t,r),g=h,h=r,g<h&&(f=g,g=h)})),t.on("seeking",(e=>{t.off("timeupdate",(()=>null)),t.one("seeked",(()=>null)),null==s||s(e,t,t.currentTime())})),t.on("seeked",(e=>{const r=t.currentTime();null==l||l(e,t,f,r)})),t.on("ended",(e=>{null==u||u(e,t)})),t.on("error",(e=>{null==d||d(e,t)})),t.on("loadeddata",(e=>{null==c||c(e,t)})),t.on("loadedmetadata",(e=>{null==p||p(e,t)}))};function wt(t){void 0===t&&(t="");const e=t.split("?")[0].toLowerCase();return e.endsWith(".m3u8")?"application/x-mpegURL":e.endsWith(".mpd")?"application/dash+xml":e.endsWith(".webm")?"video/webm":e.endsWith(".ogv")||e.endsWith(".ogg")?"video/ogg":"video/mp4"}function St(t){let{videoUrl:e="",poster:r="",adTagUrl:a="",playerOptions:o={},onAdEvent:s=null,onReady:l=null,onDisposed:u=null,onPlay:d=null,onPause:c=null,onWaiting:p=null,onPlaying:h=null,onTimeUpdate:g=null,onSeeking:f=null,onSeeked:m=null,onEnded:A=null,onError:y=null,onLoadedData:v=null,onLoadedMetadata:b=null}=t;const E="content_video",T=Object.assign({autoplay:!0,muted:!0,playsinline:!0,controls:!0,responsive:!0,fluid:!0,playbackRates:[1,1.5,2],controlBar:{children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","playbackRateMenuButton","pictureInPictureToggle","fullscreenToggle"],volumePanel:{inline:!0}}},o);return(0,n.useEffect)((()=>{const t=(0,i.A)(E,T);return function(t,e,r){void 0===t&&(t=null),void 0===e&&(e=""),void 0===r&&(r=null);const n=window.google&&e;t&&n&&(t.ima({adTagUrl:e}),t.ima.initializeAdDisplayContainer(),t.on("adsready",(()=>{if(!r)return;const e={};Object.keys(Et).forEach((n=>{t.ima.addEventListener(Et[n],(t=>{const n=Date.now(),i=t.type,{data:a}=t.getAd(),{timeOffset:o}=a.adPodInfo;i===Et.STARTED&&(e.startTime=n),e.currentTime=n,e.adDuration=(e.currentTime-e.startTime)/1e3,e.adCompletionRate=e.adDuration/a.duration,e.adPlacementTime=o,0===o?e.adPlacement="pre-roll":o>0?e.adPlacement="mid-roll":-1===o&&(e.adPlacement="post-roll");const s=Object.assign({},a,e);r(i,s)}))}))})),t.on("adserror",(t=>{var e,n,i;null===(e=r)||void 0===e||e(Et.ERROR,null==t||null===(n=t.data)||void 0===n||null===(i=n.AdError)||void 0===i?void 0:i.data)})))}(t,a,s),t.on("ready",(()=>{const e=t.controlBar.getChild("playbackRateMenuButton");e&&e.on("click",(()=>{const e=t.playbackRates(),r=t.playbackRate(),n=e.indexOf(r),i=e[(n+1)%e.length];t.playbackRate(i)})),Tt(t,{onEnded:A,onError:y,onLoadedData:v,onLoadedMetadata:b,onPause:c,onPlay:d,onPlaying:h,onSeeked:m,onSeeking:f,onTimeUpdate:g,onWaiting:p}),null==l||l(t)})),()=>
2{null==u||u(t,t.currentTime()),t.dispose()}}),[]),n.createElement("div",{"data-vjs-player":!0},n.createElement("video",{id:E,className:"video-js vjs-big-play-centered",playsInline:!0,poster:r||void 0},n.createElement("source",{src:e,type:wt(e)})))}var Ct=r(9538),Pt={live:"VideoPlayer-module--live--4581e"};function Dt(t){var e;let{isLive:r=!1,content:i={id:"",object:"",title:"",artist_name:"",content_series_id:"",content_series_title:"",content_category:"",video_url:"",thumbnail_url:"",start_time:0,finish_time:0,adsMetadata:{adNetwork:"",adTagUrl:""},metrics_properties:{}},playerOptions:a={},onError:o=null,onReady:s=null,onPlay:l=null,onPause:u=null,onEnded:d=null,onSeeked:c=null,onDisposed:p=null}=t;const{0:h,1:g}=(0,n.useState)(!1);function f(t,e,r){i.start_time=e;const{amplitudeData:n}=function(t,e,r){let n=null;const a=t>e?t-e:e-t;if(a>=.1){const e=a/r,o=(t+a)/r;n={item_id:i.id,item_type:i.object,title:i.title,start_time:t,content_duration:r,watch_duration:a,completion_rate:e,ending_percentage:o,series_id:i.content_series_id,series_title:i.content_series_title,playback_speed:1,artist_name:i.artist_name,content_category:i.content_category,source:"video_player"}}return{amplitudeData:n}}(t,e,r);n&&Ct.A.trackEventWatch(n)}return n.createElement(n.Fragment,null,h&&n.createElement("div",{className:Pt.live},"LIVE"),n.createElement(St,{key:i.id,videoUrl:i.video_url,poster:i.thumbnail_url,adTagUrl:null===(e=i.adsMetadata)||void 0===e?void 0:e.adTagUrl,playerOptions:a,onError:o,onEnded:(t,e)=>{i.finish_time=e.currentTime(),f(i.start_time,i.finish_time,e.duration()),null==d||d(e)},onReady:t=>{r&&g(!0),null==s||s(t)},onPlay:(t,e,r)=>{i.start_time||(i.start_time=r),null==l||l(e,r)},onPause:(t,e,r)=>{i.finish_time=r,f(i.start_time,i.finish_time,e.duration()),null==u||u(e,r)},onSeeked:(t,e,r,n)=>{i.finish_time=r,f(i.start_time,i.finish_time,e.duration()),null==c||c(e,r,n)},onDisposed:(t,e)=>{i.finish_time=e,f(i.start_time,i.finish_time,t.duration()),null==p||p(t,e)},onAdEvent:(t,e)=>{var r;const n={adNetwork:null===(r=i.adsMetadata)||void 0===r?void 0:r.adNetwork,metricsProperties:i.metrics_properties};Ct.A.trackEventAd(t,e,n)}}))}},17580:function(t,e,r){var n=r(86124),i=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function a(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function o(t){function e(t,e,r,n){return 3600*(0|t)+60*(0|e)+(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 s(){this.values=i(null)}function l(t,e,r,n){var i=n?t.split(n):[t];for(var a in i)if("string"==typeof i[a]){var o=i[a].split(r);if(2===o.length)e(o[0].trim(),o[1].trim())}}function u(t,e,r){var n=t;function i(){var e=o(t);if(null===e)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function u(){t=t.replace(/^\s+/,"")}if(u(),e.startTime=i(),u(),"--\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),u(),e.endTime=i(),u(),function(t,e){var n=new s;l(t,(function(t,e){switch(t){case"region":for(var i=r.length-1;i>=0;i--)if(r[i].id===e){n.set(t,r[i].region);break}break;case"vertical":n.alt(t,e,["rl","lr"]);break;case"line":var a=e.split(","),o=a[0];n.integer(t,o),n.percent(t,o)&&n.set("snapToLines",!1),n.alt(t,o,["auto"]),2===a.length&&n.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=e.split(","),n.percent(t,a[0]),2===a.length&&n.alt("positionAlign",a[1],["start","center","end"]);break;case"size":n.percent(t,e);break;case"align":n.alt(t,e,["start","center","end","left","right"])}}),/:/,/\s/),e.region=n.get("region",null),e.vertical=n.get("vertical","");try{e.line=n.get("line","auto")}catch(i){}e.lineAlign=n.get("lineAlign","start"),e.snapToLines=n.get("snapToLines",!0),e.size=n.get("size",100);try{e.align=n.get("align","center")}catch(i){e.align=n.get("align","middle")}try{e.position=n.get("position","auto")}catch(i){e.position=n.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},e.align)}e.positionAlign=n.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},e.align)}(t,e)}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."}},s.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)}};
vendor: 4,807 bytes, line 2
2var d=n.createElement&&n.createElement("textarea"),c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},p={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)"},h={v:"title",lang:"lang"},g={rt:"ruby"};function f(t,e){function r(){if(!e)return null;var t,r=e.match(/^([^<]*)(<[^>]*>?)?/);return t=r[1]?r[1]:r[2],e=e.substr(t.length),t}function n(t,e){return!g[e.localName]||g[e.localName]===t.localName}function i(e,r){var n=c[e];if(!n)return null;var i=t.document.createElement(n),a=h[e];return a&&r&&(i[a]=r.trim()),i}for(var a,s,l=t.document.createElement("div"),u=l,f=[];null!==(a=r());)if("<"!==a[0])u.appendChild(t.document.createTextNode((s=a,d.innerHTML=s,s=d.textContent,d.textContent="",s)));else{if("/"===a[1]){f.length&&f[f.length-1]===a.substr(2).replace(">","")&&(f.pop(),u=u.parentNode);continue}var m,A=o(a.substr(1,a.length-2));if(A){m=t.document.createProcessingInstruction("timestamp",A),u.appendChild(m);continue}var y=a.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!y)continue;if(!(m=i(y[1],y[3])))continue;if(!n(u,m))continue;if(y[2]){var v=y[2].split(".");v.forEach((function(t){var e=/^bg_/.test(t),r=e?t.slice(3):t;if(p.hasOwnProperty(r)){var n=e?"background-color":"color",i=p[r];m.style[n]=i}})),m.className=v.join(" ")}f.push(y[1]),u.appendChild(m),u=m}return l}var m=[[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 A(t){for(var e=0;e<m.length;e++){var r=m[e];if(t>=r[0]&&t<=r[1])return!0}return!1}function y(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])}function i(t){if(!t||!t.length)return null;var e=t.pop(),r=e.textContent||e.innerText;if(r){var a=r.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):r}return"ruby"===e.tagName?i(t):e.childNodes?(n(t,e),i(t)):void 0}for(n(e,t);r=i(e);)for(var a=0;a<r.length;a++)if(A(r.charCodeAt(a)))return"rtl";return"ltr"}function v(){}function b(t,e,r){v.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"===e.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(n,this.cueDiv),this.div=t.document.createElement("div"),n={direction:y(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")}
vendor: 6,038 bytes, line 2
2)}}function E(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 T(t,e,r,n){var i=new E(e),a=e.cue,o=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),s=[];if(a.snapToLines){var l;switch(a.vertical){case"":s=["+y","-y"],l="height";break;case"rl":s=["+x","-x"],l="width";break;case"lr":s=["-x","+x"],l="width"}var u=i.lineHeight,d=u*Math.round(o),c=r[l]+u,p=s[0];Math.abs(d)>c&&(d=d<0?-1:1,d*=Math.ceil(c/u)*u),o<0&&(d+=""===a.vertical?r.height:r.width,s=s.reverse()),i.move(p,d)}else{var h=i.lineHeight/r.height*100;switch(a.lineAlign){case"center":o-=h/2;break;case"end":o-=h}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(o,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(o,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(o,"%")})}s=["+y","-x","+x","-y"],i=new E(e)}var g=function(t,e){for(var i,a=new E(t),o=1,s=0;s<e.length;s++){for(;t.overlapsOppositeAxis(r,e[s])||t.within(r)&&t.overlapsAny(n);)t.move(e[s]);if(t.within(r))return t;var l=t.intersectPercentage(r);o>l&&(i=new E(t),o=l),t=new E(a)}return i||a}(i,s);e.move(g.toCSSCompatValues(r))}function w(){}v.prototype.applyStyles=function(t,e){for(var r in e=e||this.div,t)t.hasOwnProperty(r)&&(e.style[r]=t[r])},v.prototype.formatStyle=function(t,e){return 0===t?0:t+e},b.prototype=i(v.prototype),b.prototype.constructor=b,E.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}},E.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},E.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},E.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},E.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}},E.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)},E.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}},E.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}},w.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},w.convertCueToDOMTree=function(t,e){return t&&e?f(t,e):null};w.processCues=function(t,e,r){if(!t||!e||!r)return null;for(;r.firstChild;)r.removeChild(r.firstChild);var n=t.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",r.appendChild(n),function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}(e)){var i=[],a=E.getSimpleBoxPosition(n),o={font:Math.round(.05*a.height*100)/100+"px sans-serif"};!function(){for(var r,s,l=0;l<e.length;l++)s=e[l],r=new b(t,s,o),n.appendChild(r.div),T(0,r,a,i),s.displayState=r.div,i.push(E.getSimpleBoxPosition(r))}()}else for(var s=0;s<e.length;s++)n.appendChild(e[s].displayState)},w.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=[]},w.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof a))throw t;this.onparsingerror&&this.onparsingerror(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}function n(t){t.match(/X-TIMESTAMP-MAP/)?l(t,(function(t,r){if("X-TIMESTAMP-MAP"===t)!function(t){var r=new s;l(t,(function(t,e){switch(t){case"MPEGT":r.integer(t+"S",e);break;case"LOCA":r.set(t+"L",o(e))}}),/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:r.get("MPEGTS"),LOCAL:r.get("LOCAL")})}(r)}),/=/):l(t,(function(t,r){if("Region"===t)!function(t){var r=new s;if(l(t,(function(t,e){switch(t){case"id":r.set(t,e);break;case"width":r.percent(t,e);break;case"lines":r.integer(t,e);break;case"regionanchor":case"viewportanchor":var n=e.split(",");if(2!==n.length)break;var i=new s;if(i.percent("x",n[0]),i.percent("y",n[1]),!i.has("x")||!i.has("y"))break;r.set(t+"X",i.get("x")),r.set(t+"Y",i.get("y"));break;case"scroll":r.alt(t,e,["up"])}}),/=/,/\s/),r.has("id")){var n=new(e.vttjs.VTTRegion||e.window.VTTRegion);n.width=r.get("width",100),n.lines=r.get("lines",3),n.regionAnchorX=r.get("regionanchorX",0),n.regionAnchorY=r.get("regionanchorY",100),n.viewportAnchorX=r.get("viewportanchorX",0),n.viewportAnchorY=r.get("viewportanchorY",100),n.scroll=r.get("scroll",""),e.onregion&&e.onregion(n),e.regi
2onList.push({id:r.get("id"),region:n})}}(r)}),/:/)}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{var i;if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var d=(i=r()).match(/^WEBVTT([ \t].*)?$/);if(!d||!d[0])throw new a(a.Errors.BadSignature);e.state="HEADER"}for(var c=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(c?c=!1:i=r(),e.state){case"HEADER":/:/.test(i)?n(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(h){e.cue.align="middle"}if(e.state="CUE",-1===i.indexOf("--\x3e")){e.cue.id=i;continue}case"CUE":try{u(i,e.cue,e.regionList)}catch(h){e.reportOrThrowError(h),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var p=-1!==i.indexOf("--\x3e");if(!i||p&&(c=!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(h){e.reportOrThrowError(h),"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(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new a(a.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.exports=w},17937:function(t,e,r){var n=r(21129);n.DOMImplementation,n.XMLSerializer,e.DOMParser=r(68633).DOMParser},20005:function(t,e,r){"use strict";r.d(e,{A:function(){return o}});var n=r(82553),i=r.n(n),a=function(t){return i().atob?i().atob(t):Buffer.from(t,"base64").toString("binary")};function o(t){for(var e=a(t),r=new Uint8Array(e.length),n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}},20415:function(t,e,r){"use strict";r.d(e,{iX:function(){return f}});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,o=0;o<a;++o)e[o].apply(this,i)},e.dispose=function(){this.listeners={}},e.pipe=function(t){this.on("data",(function(e){t.push(e)}))},t}(),i=r(24505),a=r.n(i),o=r(20005);class s 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)}}const l=String.fromCharCode(9),u=function(t){const 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){const e={};if(!t)return e;const r=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))'));let n,i=r.length;for(;i--;)""!==r[i]&&(n=/([^=]*)=(.*)/.exec(r[i]).slice(1),n[0]=n[0].replace(/^\s+|\s+$/g,""),n[1]=n[1].replace(/^\s+|\s+$/g,""),n[1]=n[1].replace(/^['"](.*)['"]$/g,"$1"),e[n[0]]=n[1]);return e},c=t=>{const 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)return;if("#"!==t[0])return void this.trigger("data",{type:"uri",uri:t});this.tagMappers.reduce(((e,r)=>{const n=r(t);return n===t?e:e.concat([n])}),[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"))if(t=t.replace("\r",""),e=/^#EXTM3U/.exec(t),e)this.trigger("data",{type:"tag",tagType:"m3u"});else{if(e=/^#EXTINF:([0-9\.]*)?,?(.*)?$/.exec(t),e)return r={type:"tag",tagType:"inf"},e[1]&&(r.duration=parseFloat(e[1])),e[2]&&(r.title=e[2]),void this.trigger("data",r);if(e=/^#EXT-X-TARGETDURATION:([0-9.]*)?/.exec(t),e)return r={type:"tag",tagType:"targetduration"},e[1]&&(r.duration=parseInt(e[1],10)),void this.trigger("data",r);if(e=/^#EXT-X-VERSION:([0-9.]*)?/.exec(t),e)return r={type:"tag",tagType:"version"},e[1]&&(r.version=parseInt(e[1],10)),void this.trigger("data",r);if(e=/^#EXT-X-MEDIA-SEQUENCE:(\-?[0-9.]*)?/.exec(t),e)return r={type:"tag",tagType:"media-sequence"},e[1]&&(r.number=parseInt(e[1],10)),void this.trigger("data",r);if(e=/^#EXT-X-DISCONTINUITY-SEQUENCE:(\-?[0-9.]*)?/.exec(t),e)return r={type:"tag",tagType:"discontinuity-sequence"},e[1]&&(r.number=parseInt(e[1],10)),void this.trigger("data",r);if(e=/^#EXT-X-PLAYLIST-TYPE:(.*)?$/.exec(t),e)return r={type:"tag",tagType:"playlist-type"},e[1]&&(r.playlistType=e[1]),void this.trigger("data",r);if(e=/^#EXT-X-BYTERANGE:(.*)?$/.exec(t),e)return r=a()(u(e[1]),{type:"tag",tagType:"byterange"}),void this.trigger("data",r);if(e=/^#EXT-X-ALLOW-CACHE:(YES|NO)?/.exec(t),e)return r={type:"tag",tagType:"allow-cache"},e[1]&&(r.allowed=!/NO/.test(e[1])),void this.trigger("data",r);if(e=/^#EXT-X-MAP:(.*)$/.exec(t),e){if(r={type:"tag",tagType:"map"},e[1]){const t=d(e[1]);t.URI&&(r.uri=t.URI),t.BYTERANGE&&(r.byterange=u(t.BYTERANGE))}this.trigger("data",r)}else{if(e=/^#EXT-X-STREAM-INF:(.*)$/.exec(t),e)return 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))),void this.trigger("data",r);if(e=/^#EXT-X-MEDIA:(.*)$/.exec(t),e)return r={type:"tag",tagType:"media"},e[1]&&(r.attributes=d(e[1])),void this.trigger("data",r);if(e=/^#EXT-X-ENDLIST/.exec(t),e)this.trigger("data",{type:"tag",tagType:"endlist"});else if(e=/^#EXT-X-DISCONTINUITY/.exec(t),e)this.trigger("data",{type:"tag",tagType:"discontinuity"});else{if(e=/^#EXT-X-PROGRAM-DATE-TIME:(.*)$/.exec(t),e)return r={type:"tag",tagType:"program-date-time"}
vendor: 14,007 bytes, line 2
2,e[1]&&(r.dateTimeString=e[1],r.dateTimeObject=new Date(e[1])),void this.trigger("data",r);if(e=/^#EXT-X-KEY:(.*)$/.exec(t),e)return 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))),void this.trigger("data",r);if(e=/^#EXT-X-START:(.*)$/.exec(t),e)return 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)),void this.trigger("data",r);if(e=/^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(t),e)return r={type:"tag",tagType:"cue-out-cont"},e[1]?r.data=e[1]:r.data="",void this.trigger("data",r);if(e=/^#EXT-X-CUE-OUT:(.*)?$/.exec(t),e)return r={type:"tag",tagType:"cue-out"},e[1]?r.data=e[1]:r.data="",void this.trigger("data",r);if(e=/^#EXT-X-CUE-IN:?(.*)?$/.exec(t),e)return r={type:"tag",tagType:"cue-in"},e[1]?r.data=e[1]:r.data="",void this.trigger("data",r);if(e=/^#EXT-X-SKIP:(.*)$/.exec(t),e&&e[1])return r={type:"tag",tagType:"skip"},r.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(l)),void this.trigger("data",r);if(e=/^#EXT-X-PART:(.*)$/.exec(t),e&&e[1])return r={type:"tag",tagType:"part"},r.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=u(r.attributes.BYTERANGE)),void this.trigger("data",r);if(e=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(t),e&&e[1])return r={type:"tag",tagType:"server-control"},r.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]))})),void this.trigger("data",r);if(e=/^#EXT-X-PART-INF:(.*)$/.exec(t),e&&e[1])return r={type:"tag",tagType:"part-inf"},r.attributes=d(e[1]),["PART-TARGET"].forEach((function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseFloat(r.attributes[t]))})),void this.trigger("data",r);if(e=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(t),e&&e[1])return r={type:"tag",tagType:"preload-hint"},r.attributes=d(e[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach((function(t){if(r.attributes.hasOwnProperty(t)){r.attributes[t]=parseInt(r.attributes[t],10);const e="BYTERANGE-LENGTH"===t?"length":"offset";r.attributes.byterange=r.attributes.byterange||{},r.attributes.byterange[e]=r.attributes[t],delete r.attributes[t]}})),void this.trigger("data",r);if(e=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(t),e&&e[1])return r={type:"tag",tagType:"rendition-report"},r.attributes=d(e[1]),["LAST-MSN","LAST-PART"].forEach((function(t){r.attributes.hasOwnProperty(t)&&(r.attributes[t]=parseInt(r.attributes[t],10))})),void this.trigger("data",r);if(e=/^#EXT-X-DATERANGE:(.*)$/.exec(t),e&&e[1]){r={type:"tag",tagType:"daterange"},r.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))}));const t=/^X-([A-Z]+-)+[A-Z]+$/;for(const e in r.attributes){if(!t.test(e))continue;const 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)}else if(e=/^#EXT-X-INDEPENDENT-SEGMENTS/.exec(t),e)this.trigger("data",{type:"tag",tagType:"independent-segments"});else if(e=/^#EXT-X-I-FRAMES-ONLY/.exec(t),e)this.trigger("data",{type:"tag",tagType:"i-frames-only"});else{if(e=/^#EXT-X-CONTENT-STEERING:(.*)$/.exec(t),e)return r={type:"tag",tagType:"content-steering"},r.attributes=d(e[1]),void this.trigger("data",r);if(e=/^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(t),e)return r={type:"tag",tagType:"i-frame-playlist"},r.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"])),void this.trigger("data",r);if(e=/^#EXT-X-DEFINE:(.*)$/.exec(t),e)return r={type:"tag",tagType:"define"},r.attributes=d(e[1]),void this.trigger("data",r);this.trigger("data",{type:"tag",data:t.slice(4)})}}}}else this.trigger("data",{type:"comment",text:t.slice(1)})}))}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))}}const h=function(t){const e={};return Object.keys(t).forEach((function(r){var n;e[(n=r,n.toLowerCase().replace(/-(\w)/g,(t=>t[1].toUpperCase())))]=t[r]})),e},g=function(t){const{serverControl:e,targetDuration:r,partTargetDuration:n}=t;if(!e)return;const i="#EXT-X-SERVER-CONTROL",a="holdBack",o="partHoldBack",s=r&&3*r,l=n&&2*n;r&&!e.hasOwnProperty(a)&&(e[a]=s,this.trigger("info",{message:`${i} defaulting HOLD-BACK to targetDuration * 3 (${s}).`})),s&&e[a]<s&&(this.trigger("warn",{message:`${i} clamping HOLD-BACK (${e[a]}) to targetDuration * 3 (${s})`}),e[a]=s),n&&!e.hasOwnProperty(o)&&(e[o]=3*n,this.trigger("info",{message:`${i} defaulting PART-HOLD-BACK to partTargetDuration * 3 (${e[o]}).`})),n&&e[o]<l&&(this.trigger("warn",{message:`${i} clamping PART-HOLD-BACK (${e[o]}) to partTargetDuration * 2 (${l}).`}),e[o]=l)};class f extends n{constructor(t={}){super(),this.lineStream=new s,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;const e=this,r=[];let n,i,l={},u=!1;const d=function(){},c={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}};let f=0;this.manifest={allowCache:!0,discontinuityStarts:[],dateRanges:[],iFramePlaylists:[],segments:[]};let m=0,A=0;const y={};this.on("end",(()=>{l.uri||!l.parts&&!l.preloadHints||(!l.map&&n&&(l.map=n),!l.key&&i&&(l.key=i),l.timeline||"number"!=typeof f||(l.timeline=f),this.manifest.preloadSegment=l)})),this.parseStream.on("data",(function(t){let s,p;if(e.manifest.definitions)for(const r in e.manifest.definitions)if(t.uri&&(t.uri=t.uri.replace(`{$${r}}`,e.manifest.definitions[r])),t.attributes)for(const n in t.attributes)"string"==typeof t.attributes[n]&&(t.attributes[n]=t.attributes[n].replace(`{$${r}}`,e.manifest.definitions[r]));({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(){const e={};"length"in t&&(l.byterange=e,e.length=t.length,"offset"in t||(t.offset=m)),"offset"in t&&(l.byterange=e,e.offset=t.offset),m=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=r},key(){if(t.attributes)if("NONE"!==t.attributes.METHOD)if(t.attributes.URI){if("com.apple.streamingkeydelivery"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:t.attributes});if("com.microsoft.playready"===t.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection["com.microsoft.playready"]={uri:t.attributes.URI});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"}),i={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(i.iv=t.attributes.IV)}else this.trigger("warn",{message:"ignoring key declaration without URI"});else i=null;else this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence"(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence"(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,f=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type"(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map(){n={},t.uri&&(n.uri=t.uri),t.byterange&&(n.byterange=t.byterange),i&&(n.key=i)},"stream-inf"(){this.manifest.playlists=r,this.manifest.mediaGroups=this.manifest.mediaGroups||c,t.attributes?(l.attributes||(l.attributes={}),a()(l.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||c,!(t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME))return void this.trigger("warn",{message:"ignoring incomplete or missing media group"});const e=this.manifest.mediaGroups[t.attributes.TYPE];e[t.attributes["GROUP-ID"]]=e[t.attributes["GROUP-ID"]]||{},s=e[t.attributes["GROUP-ID"]],p={default:/yes/i.test(t.attributes.DEFAULT)},p.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)),s[t.attributes.NAME]=p},discontinuity(){f+=1,l.discontinuity=!0,this.manifest.discontinuityStarts.push(r.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;const{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(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):(this.manifest.targetDuration=t.duration,g.call(this,this.manifest))},start(){t.attributes&&!isNaN(t.attributes["TIME-OFFSET"])?this.manifest.start={timeOffset:t.attributes["TIME-OFFSET"],precise:t.attributes.PRECISE}:this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"})},"cue-out"(){l.cueOut=t.data},"cue-out-cont"(){l.cueOutCont=t.data},"cue-in"(){l.cueIn=t.data},skip(){this.manifest.skip=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",t.attributes,["SKIPPED-SEGMENTS"])},part(){u=!0;const e=this.manifest.segments.length,r=h(t.attributes);l.parts=l.parts||[],l.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=A),A=r.byterange.offset+r.byterange.length);const n=l.parts.length-1;this.warnOnMissingAttributes_(`#EXT-X-PART #${n} for segment #${e}`,t.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEac
vendor: 4,531 bytes, line 2
2h(((t,e)=>{t.hasOwnProperty("lastPart")||this.trigger("warn",{message:`#EXT-X-RENDITION-REPORT #${e} lacks required attribute(s): LAST-PART`})}))},"server-control"(){const e=this.manifest.serverControl=h(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"(){const e=this.manifest.segments.length,r=h(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?A:0,n&&(A=r.byterange.offset+r.byterange.length)));const 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++){const 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"(){const e=h(t.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);const r=this.manifest.renditionReports.length-1,n=["LAST-MSN","URI"];u&&n.push("LAST-PART"),this.warnOnMissingAttributes_(`#EXT-X-RENDITION-REPORT #${r}`,t.attributes,n)},"part-inf"(){this.manifest.partInf=h(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(h(t.attributes));const e=this.manifest.dateRanges.length-1;this.warnOnMissingAttributes_(`#EXT-X-DATERANGE #${e}`,t.attributes,["ID","START-DATE"]);const 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"});const n=!!r.endOnNext;if(n&&!r.class&&this.trigger("warn",{message:"EXT-X-DATERANGE with an END-ON-NEXT=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){const t=r.startDate.getTime()+1e3*r.duration;this.manifest.dateRanges[e].endDate=new Date(t)}if(y[r.id]){for(const e in y[r.id])if(r[e]&&JSON.stringify(y[r.id][e])!==JSON.stringify(r[e])){this.trigger("warn",{message:"EXT-X-DATERANGE tags with the same ID in a playlist must have the same attributes values"});break}const t=this.manifest.dateRanges.findIndex((t=>t.id===r.id));this.manifest.dateRanges[t]=a()(this.manifest.dateRanges[t],r),y[r.id]=a()(y[r.id],r),this.manifest.dateRanges.pop()}else y[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=h(t.attributes),this.warnOnMissingAttributes_("#EXT-X-CONTENT-STEERING",t.attributes,["SERVER-URI"])},define(){this.manifest.definitions=this.manifest.definitions||{};const e=(t,e)=>{t in this.manifest.definitions?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"});const 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}`}
vendor: 4,810 bytes, line 2
2):"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:f}),this.warnOnMissingAttributes_("#EXT-X-I-FRAME-STREAM-INF",t.attributes,["BANDWIDTH","URI"])}}[t.tagType]||d).call(e)},uri(){l.uri=t.uri,r.push(l),this.manifest.targetDuration&&!("duration"in l)&&(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),l.duration=this.manifest.targetDuration),i&&(l.key=i),l.timeline=f,n&&(l.map=n),A=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(e)}))}requiredCompatibilityversion(t,e){(t<e||!t)&&this.trigger("warn",{message:`manifest must be at least version ${e}`})}warnOnMissingAttributes_(t,e,r){const 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)}}},20525:function(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 new 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},21129:function(t,e,r){var n=r(20525),i=n.find,a=n.NAMESPACE;function o(t){return""!==t}function s(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function l(t){if(!t)return[];var e=function(t){return t?t.split(/[\t\n\f\r ]+/).filter(o):[]}(t);return Object.keys(e.reduce(s,{}))}function u(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,u(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,g=c.TEXT_NODE=3,f=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,w=c.NOTATION_NODE=12,S={},C={},P=(S.INDEX_SIZE_ERR=(C[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(C[2]="DOMString size error",2),S.HIERARCHY_REQUEST_ERR=(C[3]="Hierarchy request error",3)),D=(S.WRONG_DOCUMENT_ERR=(C[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(C[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(C[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(C[7]="No modification allowed",7),S.NOT_FOUND_ERR=(C[8]="Not found",8)),R=(S.NOT_SUPPORTED_ERR=(C[9]="Not supported",9),S.INUSE_ATTRIBUTE_ERR=(C[10]="Attribute in use",10));S.INVALID_STATE_ERR=(C[11]="Invalid state",11),S.SYNTAX_ERR=(C[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(C[13]="Invalid modification",13),S.NAMESPACE_ERR=(C[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(C[15]="Invalid access",15);function N(t,e){if(e instanceof Error)var r=e;else r=this,Error.call(this,C[t]),this.message=C[t],Error.captureStackTrace&&Error.captureStackTrace(this,N);return r.code=t,e&&(this.message=this.message+": "+e),r}function I(){}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);
vendor: 15,760 bytes, line 2
2if(vt(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];u(r,t),t._inc=e}}function k(){}function O(t,e){for(var r=t.length;r--;)if(t[r]===e)return r}function x(t,e,r,n){if(n?e[O(e,n)]=r:e[e.length++]=r,t){r.ownerElement=t;var i=t.ownerDocument;i&&(n&&V(i,t,n),function(t,e,r){t&&t._inc++;var n=r.namespaceURI;n===a.XMLNS&&(e._nsMap[r.prefix?r.localName:""]=r.value)}(i,t,r))}}function _(t,e,r){var n=O(e,r);if(!(n>=0))throw new N(D,new Error(t.tagName+"@"+r));for(var i=e.length-1;n<i;)e[n]=e[++n];if(e.length=i,t){var a=t.ownerDocument;a&&(V(a,t,r),r.ownerElement=null)}}function B(){}function U(){}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 V(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 X(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===U.DOCUMENT_TYPE_NODE}function G(t){return t&&t.nodeType===U.ELEMENT_NODE}function z(t){return t&&t.nodeType===U.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){if(!function(t){return t&&(t.nodeType===U.DOCUMENT_NODE||t.nodeType===U.DOCUMENT_FRAGMENT_NODE||t.nodeType===U.ELEMENT_NODE)}(t))throw new N(P,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new N(D,"child not in parent");if(!function(t){return t&&(G(t)||z(t)||H(t)||t.nodeType===U.DOCUMENT_FRAGMENT_NODE||t.nodeType===U.COMMENT_NODE||t.nodeType===U.PROCESSING_INSTRUCTION_NODE)}(e)||H(e)&&t.nodeType!==U.DOCUMENT_NODE)throw new N(P,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function Q(t,e,r){var n=t.childNodes||[],a=e.childNodes||[];if(e.nodeType===U.DOCUMENT_FRAGMENT_NODE){var o=a.filter(G);if(o.length>1||i(a,z))throw new N(P,"More than one element or text in fragment");if(1===o.length&&!Y(t,r))throw new N(P,"Element in fragment can not be inserted before doctype")}if(G(e)&&!Y(t,r))throw new N(P,"Only one element can be added and only after doctype");if(H(e)){if(i(n,H))throw new N(P,"Only one doctype is allowed");var s=i(n,G);if(r&&n.indexOf(s)<n.indexOf(r))throw new N(P,"Doctype can only be inserted before an element");if(!r&&s)throw new N(P,"Doctype can not be appended since element is present")}}function K(t,e,r){var n=t.childNodes||[],a=e.childNodes||[];if(e.nodeType===U.DOCUMENT_FRAGMENT_NODE){var o=a.filter(G);if(o.length>1||i(a,z))throw new N(P,"More than one element or text in fragment");if(1===o.length&&!$(t,r))throw new N(P,"Element in fragment can not be inserted before doctype")}if(G(e)&&!$(t,r))throw new N(P,"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 N(P,"Only one doctype is allowed");var s=i(n,G);if(r&&n.indexOf(s)<n.indexOf(r))throw new N(P,"Doctype can only be inserted before an element")}}function J(t,e,r,n){Z(t,e,r),t.nodeType===U.DOCUMENT_NODE&&(n||Q)(t,e,r);var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===T){var a=e.firstChild;if(null==a)return e;var o=e.lastChild}else a=o=e;var s=r?r.previousSibling:t.lastChild;a.previousSibling=s,o.nextSibling=r,s?s.nextSibling=a:t.firstChild=a,null==r?t.lastChild=o:r.previousSibling=o;do{a.parentNode=t}while(a!==o&&(a=a.nextSibling));return W(t.ownerDocument||t,t),e.nodeType==T&&(e.firstChild=e.lastChild=null),e}function tt(){this._nsMap={}}function et(){}function rt(){}function nt(){}function it(){}function at(){}function ot(){}function st(){}function lt(){}function ut(){}function dt(){}function ct(){}function pt(){}function ht(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,a=n.namespaceURI;if(a&&null==i&&null==(i=n.lookupPrefix(a)))var o=[{namespace:a,prefix:null}];return mt(this,r,t,e,o),r.join("")}function gt(t,e,r){var n=t.prefix||"",i=t.namespaceURI;if(!i)return!1;if("xml"===n&&i===a.XML||i===a.XMLNS)return!1;for(var o=r.length;o--;){var s=r[o];if(s.prefix===n)return s.namespace!==i}return!0}function ft(t,e,r){t.push(" ",e,'="',r.replace(/[<>&"\t\n\r]/g,q),'"')}function mt(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 o=t.attributes,s=o.length,l=t.firstChild,u=t.tagName,d=u;if(!(r=a.isHTML(t.namespaceURI)||r)&&!t.prefix&&t.namespaceURI){for(var c,A=0;A<o.length;A++)if("xmlns"===o.item(A).name){c=o.item(A).value;break}if(!c)for(var w=i.length-1;w>=0;w--){if(""===(S=i[w]).prefix&&S.namespace===t.namespaceURI){c=S.namespace;break}}if(c!==t.namespaceURI)for(w=i.length-1;w>=0;w--){var S;if((S=i[w]).namespace===t.namespaceURI){S.prefix&&(d=S.prefix+":"+u);break}}}e.push("<",d);for(var C=0;C<s;C++){"xmlns"==(P=o.item(C)).prefix?i.push({prefix:P.localName,namespace:P.value}):"xmlns"==P.nodeName&&i.push({prefix:"",namespace:P.value})}for(C=0;C<s;C++){var P,D,R;if(gt(P=o.item(C),0,i))ft(e,(D=P.prefix||"")?"xmlns:"+D:"xmlns",R=P.namespaceURI),i.push({prefix:D,namespace:R});mt(P,e,r,n,i)}if(u===d&>(t,0,i))ft(e,(D=t.prefix||"")?"xmlns:"+D:"xmlns",R=t.namespaceURI),i.push({prefix:D,namespace:R});if(l||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(e.push(">"),r&&/^script$/i.test(u))for(;l;)l.data?e.push(l.data):mt(l,e,r,n,i.slice()),l=l.nextSibling;else for(;l;)mt(l,e,r,n,i.slice()),l=l.nextSibling;e.push("</",d,">")}else e.push("/>");return;case b:case T:for(l=t.firstChild;l;)mt(l,e,r,n,i.slice()),l=l.nextSibling;return;case h:return ft(e,t.name,t.value);case g:return e.push(t.data.replace(/[<&>]/g,q));case f:return e.push("<![CDATA[",t.data,"]]>");case v:return e.push("\x3c!--",t.data,"--\x3e");case E:var N=t.publicId,I=t.systemId;if(e.push("<!DOCTYPE ",t.name),N)e.push(" PUBLIC ",N),I&&"."!=I&&e.push(" ",I),e.push(">");else if(I&&"."!=I)e.push(" SYSTEM ",I,">");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 At(t,e,r){var n;switch(e.nodeType){case p:(n=e.cloneNode(!1)).ownerDocument=t;case T:break;case h:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(At(t,i,r)),i=i.nextSibling;return n}function yt(t,e,r){var n=new e.constructor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=e[i];"object"!=typeof a&&a!=n[i]&&(n[i]=a)}switch(e.childNodes&&(n.childNodes=new I),n.ownerDocument=t,n.nodeType){case p:var o=e.attributes,s=n.attributes=new k,l=o.length;s._ownerElement=n;for(var u=0;u<l;u++)n.setAttributeNode(yt(t,o.item(u),!0));break;case h:r=!0}if(r)for(var d=e.firstChild;d;)n.appendChild(yt(t,d,r)),d=d.nextSibling;return n}function vt(t,e,r){t[e]=r}N.prototype=Error.prototype,u(S,N),I.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++)mt(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,I),k.prototype={length:0,item:I.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 N(R);var r=this.getNamedItem(t.nodeName);return x(this._ownerElement,this,t,r),r},setNamedItemNS:function(t){var e,r=t.ownerElement;if(r&&r!=this._ownerElement)throw new N(R);return e=this.getNamedItemNS(t.namespaceURI,t.localName),x(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return _(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var r=this.getNamedItemNS(t,e);return _(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}},B.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,r){var n=new F;if(n.implementation=this,n.childNodes=new I,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 ot;return n.name=t,n.nodeName=t,n.publicId=e||"",n.systemId=r||"",n}},U.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 J(this,t,e)},replaceChild:function(t,e){J(this,t,e,K),e&&this.removeChild(e)},removeChild:function(t){return X(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return yt(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==g&&t.nodeType==g?(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)}},u(c,U),u(c,U.prototype),F.prototype={nodeName:"#document",nodeType:b,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==T){for(var r=t.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,e),r=n}return t}return J(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),X(this,t)},replaceChild:function(t,e){J(this,t,e,K),t.ownerDocument=this,e&&this.removeChild(e),G(t)&&(this.documentElement=t)},importNode:function(t,e){return At(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=l(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 o=t===a;if(!o){var s=l(a);o=e.every((u=s,function(t){return u&&-1!==u.indexOf(t)}))}o&&n.push(i)}}var u})),n}))},createElement:function(t){var e=new tt;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new I,(e.attributes=new k)._ownerElement=e,e},createDocumentFragment:function(){var t=new dt;return t.ownerDocument=this,t.childNodes=new I,t},createTextNode:function(t){var e=new nt;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new it;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new at;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new ct;return r.ownerDocument=this,r.tagName=r.nodeName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new et;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new ut;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new tt,n=e.split(":"),i=r.attributes=new k;return r.childNodes=new I,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 et,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,U),tt.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):function(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,W(t.ownerDocument,t,e),e}(this,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=tt.prototype.getElementsByTagName,F.prototype.getElementsByTagNameNS=tt.prototype.getElementsByTagNameNS,d(tt,U),et.prototype.nodeType=h,d(et,U),rt.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 new Error(C[P])},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(rt,U),nt.prototype={nodeName:"#text",nodeType:g,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(nt,rt),it.prototype={nodeName:"#comment",nodeType:v},d(it,rt),at.prototype={nodeName:"#cdata-section",nodeType:f},d(at,rt),ot.prototype.nodeType=E,d(ot,U),st.prototype.nodeType=w,d(st,U),lt.prototype.nodeType=A,d(lt,U),ut.prototype.nodeType=m,d(ut,U),dt.prototype.nodeName="#document-fragment",dt.prototype.nodeType=T,d(dt,U
2),ct.prototype.nodeType=y,d(ct,U),pt.prototype.serializeToString=function(t,e,r){return ht.call(t,e,r)},U.prototype.toString=ht;try{if(Object.defineProperty){function bt(t){switch(t.nodeType){case p:case T:var e=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&e.push(bt(t)),t=t.nextSibling;return e.join("");default:return t.nodeValue}}Object.defineProperty(L.prototype,"length",{get:function(){return M(this),this.$$length}}),Object.defineProperty(U.prototype,"textContent",{get:function(){return bt(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}}}),vt=function(t,e,r){t["$$"+e]=r}}}catch(Et){}e.DocumentType=ot,e.DOMException=N,e.DOMImplementation=B,e.Element=tt,e.Node=U,e.NodeList=I,e.XMLSerializer=pt},24505:function(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},29395:function(t,e,r){var n=r(95765).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:2147483647&e.getUint32(i),subsegmentDuration:e.getUint32(i+4),startsWithSap:!!(128&t[i+8]),sapType:(112&t[i+8])>>>4,sapDeltaTime:268435455&e.getUint32(i+8)});return r}},31033:function(t,e,r){"use strict";r.d(e,{ne:function(){return S},J2:function(){return C}});var n,i=r(92921),a=(new Uint8Array([79,112,117,115,72,101,97,100]),function(t){return"string"==typeof t?(0,i.Af)(t):t}),o=function(t){t=(0,i.W_)(t);for(var e=[],r=0;t.length>r;){var a=t[r],o=0,s=0,l=t[++s];for(s++;128&l;)o=(127&l)<<7,l=t[s],s++;o+=127&l;for(var u=0;u<n.length;u++){var d=n[u],c=d.id,p=d.parser;if(a===c){e.push(p(t.subarray(s,s+o)));break}}r+=o+s}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=o(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:o(t.subarray(13))}}},{id:5,parser:function(t){return{tag:5,bytes:t}}},{id:6,parser:function(t){return{tag:6,bytes:t}}}];var s=function t(e,r,n){void 0===n&&(n=!1),r=function(t){return Array.isArray(t)?t.map((function(t){return a(t)})):[a(t)]}(r),e=(0,i.W_)(e);var o=[];if(!r.length)return o;for(var s=0;s<e.length;){var l=(e[s]<<24|e[s+1]<<16|e[s+2]<<8|e[s+3])>>>0,u=e.subarray(s+4,s+8);if(0===l)break;var d=s+l;if(d>e.length){if(n)break;d=e.length}var c=e.subarray(s+8,d);(0,i.L7)(u,r[0])&&(1===r.length?o.push(c):o.push.apply(o,t(c,r.slice(1),n))),s=d}return o},l={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]
2),BlockDuration:(0,i.W_)([155]),Block:(0,i.W_)([161]),SimpleBlock:(0,i.W_)([163])},u=[128,64,32,16,8,4,2,1],d=function(t,e,r,n){void 0===r&&(r=!0),void 0===n&&(n=!1);var a=function(t){for(var e=1,r=0;r<u.length&&!(t&u[r]);r++)e++;return e}(t[e]),o=t.subarray(e,e+a);return r&&((o=Array.prototype.slice.call(t,e,e+a))[0]^=u[a-1]),{length:a,value:(0,i.Sk)(o,{signed:n}),bytes:o}},c=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},p=function t(e,r,n){if(n>=r.length)return r.length;var a=d(r,n,!1);if((0,i.L7)(e.bytes,a.bytes))return n;var o=d(r,n+a.length);return t(e,r,n+o.length+o.value+a.length)},h=function t(e,r){r=function(t){return Array.isArray(t)?t.map((function(t){return c(t)})):[c(t)]}(r),e=(0,i.W_)(e);var n=[];if(!r.length)return n;for(var a=0;a<e.length;){var o=d(e,a,!1),s=d(e,a+o.length),l=a+o.length+s.length;127===s.value&&(s.value=p(o,e,l),s.value!==e.length&&(s.value-=l));var u=l+s.value>e.length?e.length:l+s.value,h=e.subarray(l,u);(0,i.L7)(r[0],o.bytes)&&(1===r.length?n.push(h):n=n.concat(t(h,r.slice(1)))),a+=o.length+s.length+h.length}return n},g=r(4809),f=(0,i.W_)([0,0,0,1]),m=(0,i.W_)([0,0,1]),A=(0,i.W_)([0,0,3]),y=function(t){for(var e=[],r=1;r<t.length-2;)(0,i.L7)(t.subarray(r,r+3),A)&&(e.push(r+2),r++),r++;if(0===e.length)return t;var n=t.length-e.length,a=new Uint8Array(n),o=0;for(r=0;r<n;o++,r++)o===e[0]&&(o++,e.shift()),a[r]=t[o];return a},v=function(t,e,r,n){void 0===n&&(n=1/0),t=(0,i.W_)(t),r=[].concat(r);for(var a,o=0,s=0;o<t.length&&(s<n||a);){var l=void 0;if((0,i.L7)(t.subarray(o),f)?l=4:(0,i.L7)(t.subarray(o),m)&&(l=3),l){if(s++,a)return y(t.subarray(a,o));var u=void 0;"h264"===e?u=31&t[o+l]:"h265"===e&&(u=t[o+l]>>1&63),-1!==r.indexOf(u)&&(a=o+l),o+=l+("h264"===e?1:2)}else o++}return t.subarray(0,0)},b={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])},E={aac:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,[255,16],{offset:e,mask:[255,22]})},mp3:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,[255,2],{offset:e,mask:[255,6]})},webm:function(t){var e=h(t,[l.EBML,l.DocType])[0];return(0,i.L7)(e,b.webm)},mkv:function(t){var e=h(t,[l.EBML,l.DocType])[0];return(0,i.L7)(e,b.matroska)},mp4:function(t){return!E["3gp"](t)&&!E.mov(t)&&(!(!(0,i.L7)(t,b.mp4,{offset:4})&&!(0,i.L7)(t,b.fmp4,{offset:4}))||(!(!(0,i.L7)(t,b.moof,{offset:4})&&!(0,i.L7)(t,b.moov,{offset:4}))||void 0))},mov:function(t){return(0,i.L7)(t,b.mov,{offset:4})},"3gp":function(t){return(0,i.L7)(t,b["3gp"],{offset:4})},ac3:function(t){var e=(0,g.A)(t);return(0,i.L7)(t,b.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,g.A)(t);return(0,i.L7)(t,b.flac,{offset:e})},ogg:function(t){return(0,i.L7)(t,b.ogg)},avi:function(t){return(0,i.L7)(t,b.riff)&&(0,i.L7)(t,b.avi,{offset:8})},wav:function(t){return(0,i.L7)(t,b.riff)&&(0,i.L7)(t,b.wav,{offset:8})},h264:function(t){return function(t,e,r){return v(t,"h264",e,r)}(t,7,3).length},h265:function(t){return function(t,e,r){return v(t,"h265",e,r)}(t,[32,33],3).length}},T=Object.keys(E).filter((function(t){return"ts"!==t&&"h264"!==t&&"h265"!==t})).concat(["ts","h264","h265"]);T.forEach((function(t){var e=E[t];E[t]=function(t){return e((0,i.W_)(t))}}));var w=E,S=function(t){t=(0,i.W_)(t);for(var e=0;e<T.length;e++){var r=T[e];if(w[r](t))return r}return""},C=function(t){return s(t,["moof"]).length>0}},34331:function(t){"use strict";function e(t,e){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,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var n=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);
2var 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=e(this.getForType(t));!(n=i()).done;){var a=n.value;try{r=a(r)}catch(o){}}return r},t}();t.exports=n},34564:function(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,o=0,s=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!r(e))throw new 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 new TypeError("Lines must be set to a number.");n=t}},regionAnchorY:{enumerable:!0,get:function(){return a}
2,set:function(t){if(!r(t))throw new Error("RegionAnchorX must be between 0 and 100.");a=t}},regionAnchorX:{enumerable:!0,get:function(){return i},set:function(t){if(!r(t))throw new Error("RegionAnchorY must be between 0 and 100.");i=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!r(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return o},set:function(t){if(!r(t))throw new Error("ViewportAnchorX must be between 0 and 100.");o=t}},scroll:{enumerable:!0,get:function(){return l},set:function(t){var r=function(t){return"string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase()}(t);!1===r?console.warn("Scroll: an invalid or illegal string was specified."):l=r}}})}},36918:function(t,e,r){"use strict";var n=r(82553);t.exports=function(t,e){return void 0===e&&(e=!1),function(r,i,a){if(r)t(r);else if(i.statusCode>=400&&i.statusCode<=599){var o=a;if(e)if(n.TextDecoder){var s=function(t){void 0===t&&(t="");return t.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")}(i.headers&&i.headers["content-type"]);try{o=new TextDecoder(s).decode(a)}catch(l){}}else o=String.fromCharCode.apply(null,new Uint8Array(a));t({cause:o})}else t(null,a)}}},37939:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return l},useVideoModal:function(){return s}});var n=r(14041),i=r(61394),a=r(14334),o={overlay:"VideoModal-module--overlay--36201",fadeIn:"VideoModal-module--fadeIn--4dbae",closeButton:"VideoModal-module--closeButton--8a5a0",content:"VideoModal-module--content--dd779",scaleIn:"VideoModal-module--scaleIn--9192f",title:"VideoModal-module--title--0bdf9",playerWrapper:"VideoModal-module--playerWrapper--68412"};const s=(0,i.v)((t=>({content:null,playVideo:e=>t((()=>({content:e}))),onClose:()=>t((()=>({content:null})))})));function l(){const{content:t,onClose:e}=s(),{0:r,1:i}=(0,n.useState)(null),l=(0,n.useCallback)((t=>{t.on("loadedmetadata",(()=>{const e=t.videoWidth(),r=t.videoHeight();if(e&&r&&r>e){const t=.85*window.innerHeight;i(t*(e/r))}}))}),[]);if((0,n.useEffect)((()=>{if(!t)return void i(null);const r=t=>{"Escape"===t.key&&e()};return document.addEventListener("keydown",r),document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",r),document.body.style.overflow=""}}),[t,e]),!t)return null;const u=r?{maxWidth:r}:void 0;return n.createElement("div",{className:o.overlay,onClick:t=>{t.target===t.currentTarget&&e()},role:"none","data-videomodal":!0},n.createElement("button",{type:"button",className:o.closeButton,onClick:e,"aria-label":"Close"},n.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},n.createElement("path",{d:"M15 5L5 15M5 5l10 10",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}))),n.createElement("div",{className:o.content,style:u},t.title&&n.createElement("h2",{className:o.title},t.title),n.createElement("div",{className:o.playerWrapper},n.createElement(a.default,{autoPlay:!0,content:t,options:{muted:!1},onReady:l}))))}},38684:function(t,e,r){"use strict";r.d(e,{Tt:function(){return S},Ze:function(){return L},qg:function(){return st},i6:function(){return lt}});var n=r(82999),i=r(82553),a=r.n(i),o=r(20005),s=r(17937);const l=t=>!!t&&"object"==typeof t,u=(...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]):l(t[r])&&l(e[r])?t[r]=u(t[r],e[r]):t[r]=e[r]})),t)),{}),d=t=>Object.keys(t).map((e=>t[e])),c=t=>t.reduce(((t,e)=>t.concat(e)),[]),p=t=>{if(!t.length)return[];const e=[];for(let r=0;r<t.length;r++)e.push(t[r]);return e};var h="INVALID_NUMBER_OF_PERIOD",g="DASH_EMPTY_MANIFEST",f="DASH_INVALID_XML",m="NO_BASE_URL",A="SEGMENT_TIME_UNSPECIFIED",y="UNSUPPORTED_UTC_TIMING_SCHEME";const v=({baseUrl:t="",source:e="",range:r="",indexRange:i=""})=>{const o={uri:e,resolvedUri:(0,n.A)(t||"",e)};if(r||i){const t=(r||i).split("-");let e,n=a().BigInt?a().BigInt(t[0]):parseInt(t[0],10),s=a().BigInt?a().BigInt(t[1]):parseInt(t[1],10);n<Number.MAX_SAFE_INTEGER&&"bigint"==typeof n&&(n=Number(n)),s<Number.MAX_SAFE_INTEGER&&"bigint"==typeof s&&(s=Number(s)),e="bigint"==typeof s||"bigint"==typeof n?a().BigInt(s)-a().BigInt(n)+a().BigInt(1):s-n+1,"bigint"==typeof e&&e<Number.MAX_SAFE_INTEGER&&(e=Number(e)),o.byterange={length:e,offset:n}}return o},b=t=>(t&&"number"!=typeof t&&(t=parseInt(t,10)),isNaN(t)?null:t),E={static(t){const{duration:e,timescale:r=1,sourceDuration:n,peri
vendor: 10,731 bytes, line 2
2odDuration:i}=t,a=b(t.endNumber),o=e/r;return"number"==typeof a?{start:0,end:a}:"number"==typeof i?{start:0,end:i/o}:{start:0,end:n/o}},dynamic(t){const{NOW:e,clientOffset:r,availabilityStartTime:n,timescale:i=1,duration:a,periodStart:o=0,minimumUpdatePeriod:s=0,timeShiftBufferDepth:l=1/0}=t,u=b(t.endNumber),d=(e+r)/1e3,c=n+o,p=d+s-c,h=Math.ceil(p*i/a),g=Math.floor((d-c-l)*i/a),f=Math.floor((d-c)*i/a);return{start:Math.max(0,g),end:"number"==typeof u?u:Math.min(h,f)}}},T=t=>{const{type:e,duration:r,timescale:n=1,periodDuration:i,sourceDuration:a}=t,{start:o,end:s}=E[e](t),l=((t,e)=>{const r=[];for(let n=t;n<e;n++)r.push(n);return r})(o,s).map((t=>e=>{const{duration:r,timescale:n=1,periodStart:i,startNumber:a=1}=t;return{number:a+e,duration:r/n,timeline:i,time:e*r}})(t));if("static"===e){const t=l.length-1,e="number"==typeof i?i:a;l[t].duration=e-r/n*t}return l},w=t=>{const{baseUrl:e,initialization:r={},sourceDuration:n,indexRange:i="",periodStart:a,presentationTime:o,number:s=0,duration:l}=t;if(!e)throw new Error(m);const u=v({baseUrl:e,source:r.sourceURL,range:r.range}),d=v({baseUrl:e,source:e,indexRange:i});if(d.map=u,l){const e=T(t);e.length&&(d.duration=e[0].duration,d.timeline=e[0].timeline)}else n&&(d.duration=n,d.timeline=a);return d.presentationTime=o||a,d.number=s,[d]},S=(t,e,r)=>{const n=t.sidx.map?t.sidx.map:null,i=t.sidx.duration,o=t.timeline||0,s=t.sidx.byterange,l=s.offset+s.length,u=e.timescale,d=e.references.filter((t=>1!==t.referenceType)),c=[],p=t.endList?"static":"dynamic",h=t.sidx.timeline;let g,f=h,m=t.mediaSequence||0;g="bigint"==typeof e.firstOffset?a().BigInt(l)+e.firstOffset:l+e.firstOffset;for(let A=0;A<d.length;A++){const t=e.references[A],s=t.referencedSize,l=t.subsegmentDuration;let d;d="bigint"==typeof g?g+a().BigInt(s)-a().BigInt(1):g+s-1;const y=w({baseUrl:r,timescale:u,timeline:o,periodStart:h,presentationTime:f,number:m,duration:l,sourceDuration:i,indexRange:`${g}-${d}`,type:p})[0];n&&(y.map=n),c.push(y),g+="bigint"==typeof g?a().BigInt(s):s,f+=l/u,m++}return t.segments=c,t},C=["AUDIO","SUBTITLES"],P=1/60,D=t=>{return(e=t,r=({timeline:t})=>t,d(e.reduce(((t,e)=>(e.forEach((e=>{t[r(e)]=e})),t)),{}))).sort(((t,e)=>t.timeline>e.timeline?1:-1));var e,r},R=t=>{let e=[];var r,n;return r=t,n=(t,r,n,i)=>{e=e.concat(t.playlists||[])},C.forEach((function(t){for(var e in r.mediaGroups[t])for(var i in r.mediaGroups[t][e]){var a=r.mediaGroups[t][e][i];n(a,t,e,i)}})),e},N=({playlist:t,mediaSequence:e})=>{t.mediaSequence=e,t.segments.forEach(((e,r)=>{e.number=t.mediaSequence+r}))},I=({oldManifest:t,newManifest:e})=>{const r=t.playlists.concat(R(t)),n=e.playlists.concat(R(e));return e.timelineStarts=D([t.timelineStarts,e.timelineStarts]),(({oldPlaylists:t,newPlaylists:e,timelineStarts:r})=>{e.forEach((e=>{e.discontinuitySequence=r.findIndex((function({timeline:t}){return t===e.timeline}));const n=((t,e)=>{for(let r=0;r<t.length;r++)if(t[r].attributes.NAME===e)return t[r];return null})(t,e.attributes.NAME);if(!n)return;if(e.sidx)return;const i=e.segments[0],a=n.segments.findIndex((function(t){return Math.abs(t.presentationTime-i.presentationTime)<P}));if(-1===a)return N({playlist:e,mediaSequence:n.mediaSequence+n.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),void((!n.segments.length&&e.timeline>n.timeline||n.segments.length&&e.timeline>n.segments[n.segments.length-1].timeline)&&e.discontinuitySequence--);n.segments[a].discontinuity&&!i.discontinuity&&(i.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),N({playlist:e,mediaSequence:n.segments[a].number})}))})({oldPlaylists:r,newPlaylists:n,timelineStarts:e.timelineStarts}),e},L=t=>t&&t.uri+"-"+(t=>{let 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}`})(t.byterange),M=t=>{const e=t.reduce((function(t,e){return t[e.attributes.baseUrl]||(t[e.attributes.baseUrl]=[]),t[e.attributes.baseUrl].push(e),t}),{});let r=[];return Object.values(e).forEach((t=>{const e=d(t.reduce(((t,e)=>{const 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=>{var e,r;return t.discontinuityStarts=(e=t.segments||[],r="discontinuity",e.reduce(((t,e,n)=>(e[r]&&t.push(n),t)),[])),t}))},k=(t,e)=>{const r=L(t.sidx),n=r&&e[r]&&e[r].sidx;return n&&S(t,n,t.sidx.resolvedUri),t},O=(t,e={})=>{if(!Object.keys(e).length)return t;for(const r in t)t[r]=k(t[r],e);return t},x=({attributes:t,segments:e,sidx:r,discontinuityStarts:n})=>{const 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},_=({attributes:t})=>"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType,B=({attributes:t})=>"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType,U=({attributes:t})=>"text/vtt"===t.mimeType||"text"===t.contentType,q=t=>t?Object.keys(t).reduce(((e,r)=>{const n=t[r];return e.concat(n.playlists)}),[]):[],j=({dashPlaylists:t,locations:e,contentSteering:r,sidxMapping:n={},previousManifest:i,eventStream:a})=>{if(!t.length)return{};const{sourceDuration:o,type:s,suggestedPresentationDelay:l,minimumUpdatePeriod:u}=t[0].attributes,d=M(t.filter(_)).map(x),c=M(t.filter(B)),p=M(t.filter(U)),h=t.map((t=>t.attributes.captionServices)).filter(Boolean),g={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:"",duration:o,playlists:O(d,n)};u>=0&&(g.minimumUpdatePeriod=1e3*u),e&&(g.locations=e),r&&(g.contentSteering=r),"dynamic"===s&&(g.suggestedPresentationDelay=l),a&&a.length>0&&(g.eventStream=a);const f=0===g.playlists.length,m=c.length?((t,e={},r=!1)=>{let n;const i=t.reduce(((t,i)=>{const a=i.attributes.role&&i.attributes.role.value||"",o=i.attributes.lang||"";let s=i.attributes.label||"main";if(o&&!i.attributes.label){const t=a?` (${a})`:"";s=`${i.attributes.lang}${t}`}t[s]||(t[s]={language:o,autoselect:!0,default:"main"===a,playlists:[],uri:""});const l=k((({attributes:t,segments:e,sidx:r,mediaSequence:n,discontinuitySequence:i,discontinuityStarts:a},o)=>{const s={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&&(s.contentProtection=t.contentProtection),t.serviceLocation&&(s.attributes.serviceLocation=t.serviceLocation),r&&(s.sidx=r),o&&(s.attributes.AUDIO="audio",s.attributes.SUBTITLES="subs"),s})(i,r),e);return t[s].playlists.push(l),void 0===n&&"main"===a&&(n=i,n.default=!0),t}),{});n||(i[Object.keys(i)[0]].default=!0);return i})(c,n,f):null,A=p.length?((t,e={})=>t.reduce(((t,r)=>{const 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(k((({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);const a={NAME:t.id,BANDWIDTH:t.bandwidth,"PROGRAM-ID":1};t.codecs&&(a.CODECS=t.codecs);const o={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&&(o.attributes.serviceLocation=t.serviceLocation),o})(r),e)),t}),{}))(p,n):null,y=d.concat(q(m),q(A)),v=y.map((({timelineStarts:t})=>t));var b,E;return g.timelineStarts=D(v),b=y,E=g.timelineStarts,b.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}))})),m&&(g.mediaGroups.AUDIO.audio=m),A&&(g.mediaGroups.SUBTITLES.subs=A),h.length&&(g.mediaGroups["CLOSED-CAPTIONS"].cc=h.reduce(((t,e)=>e?(e.forEach((e=>{const{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):t),{})),i?I({oldManifest:i,newManifest:g}):g},F=(t,e,r)=>{const{NOW:n,clientOffset:i,availabilityStartTime:a,timescale:o=1,periodStart:s=0,minimumUpdatePeriod:l=0}=t,u=(n+i)/1e3+l-(a+s);return Math.ceil((u*o-e)/r)},V=(t,e)=>{const{type:r,minimumUpdatePeriod:n=0,media:i="",sourceDuration:a,timescale:o=1,startNumber:s=1,periodStart:l}=t,u=[];let d=-1;for(let c=0;c<e.length;c++){const p=e[c],h=p.d,g=p.r||0,f=p.t||0;let m;if(d<0&&(d=f),f&&f>d&&(d=f),g<0){const s=c+1;m=s===e.length?"dynamic"===r&&n>0&&i.indexOf("$Number$")>0?F(t,d,h):(a*o-d)/h:(e[s].t-d)/h}else m=g+1;const A=s+u.length+m;let y=s+u.length;for(;y<A;)u.push({number:y,duration:h/o,time:d,timeline:l}),d+=h,y++}return u},W=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,X=(t,e)=>t.replace(W,(t=>(e,r,n,i)=>{if("$$"===e)return"$";if(void 0===t[r])return e;const a=""+t[r];return"RepresentationID"===r?a:(i=n?parseInt(i,10):1,a.length>=i?a:`${new Array(i-a.length+1).join("0")}${a}`)})(e)),H=(t,e)=>{const r={RepresentationID:t.id,Bandwidth:t.bandwidth||0},{initialization:i={sourceURL:"",range:""}}=t,a=v({baseUrl:t.baseUrl,source:X(i.sourceURL,r),range:i.range}),o=((t,e)=>t.duration||e?t.duration?T(t):V(t,e):[{number:t.startNumber||1,duration:t.sourceDuration,time:0,timeline:t.periodStart}])(t,e);return o.map((e=>{r.Number=e.number,r.Time=e.time;const i=X(t.media||"",r),o=t.timescale||1,s=t.presentationTimeOffset||0,l=t.periodStart+(e.time-s)/o;return{uri:i,timeline:e.timeline,duration:e.duration,resolvedUri:(0,n.A)(t.baseUrl||"",i),map:a,number:e.number,presentationTime:l}}))},G=(t,e)=>
2{const{duration:r,segmentUrls:n=[],periodStart:i}=t;if(!r&&!e||r&&e)throw new Error(A);const a=n.map((e=>((t,e)=>{const{baseUrl:r,initialization:n={}}=t,i=v({baseUrl:r,source:n.sourceURL,range:n.range}),a=v({baseUrl:r,source:e.media,range:e.mediaRange});return a.map=i,a})(t,e)));let o;r&&(o=T(t)),e&&(o=V(t,e));return o.map(((e,r)=>{if(a[r]){const n=a[r],o=t.timescale||1,s=t.presentationTimeOffset||0;return n.timeline=e.timeline,n.duration=e.duration,n.number=e.number,n.presentationTime=i+(e.time-s)/o,n}})).filter((t=>t))},z=({attributes:t,segmentInfo:e})=>{let r,n;e.template?(n=H,r=u(t,e.template)):e.base?(n=w,r=u(t,e.base)):e.list&&(n=G,r=u(t,e.list));const i={attributes:t};if(!n)return i;const a=n(r,e.segmentTimeline);if(r.duration){const{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},Y=(t,e)=>p(t.childNodes).filter((({tagName:t})=>t===e)),$=t=>t.textContent.trim(),Z=t=>{const e=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(t);if(!e)return 0;const[r,n,i,a,o,s]=e.slice(1);return 31536e3*parseFloat(r||0)+2592e3*parseFloat(n||0)+86400*parseFloat(i||0)+3600*parseFloat(a||0)+60*parseFloat(o||0)+parseFloat(s||0)},Q={mediaPresentationDuration(t){return Z(t)},availabilityStartTime(t){return/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e=t)&&(e+="Z"),Date.parse(e)/1e3;var e},minimumUpdatePeriod(t){return Z(t)},suggestedPresentationDelay(t){return Z(t)},type(t){return t},timeShiftBufferDepth(t){return Z(t)},start(t){return Z(t)},width(t){return parseInt(t,10)},height(t){return parseInt(t,10)},bandwidth(t){return parseInt(t,10)},frameRate(t){return(t=>parseFloat(t.split("/").reduce(((t,e)=>t/e))))(t)},startNumber(t){return parseInt(t,10)},timescale(t){return parseInt(t,10)},presentationTimeOffset(t){return parseInt(t,10)},duration(t){const e=parseInt(t,10);return isNaN(e)?Z(t):e},d(t){return parseInt(t,10)},t(t){return parseInt(t,10)},r(t){return parseInt(t,10)},presentationTime(t){return parseInt(t,10)},DEFAULT(t){return t}},K=t=>t&&t.attributes?p(t.attributes).reduce(((t,e)=>{const r=Q[e.name]||Q.DEFAULT;return t[e.name]=r(e.value),t}),{}):{},J={"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"},tt=(t,e)=>e.length?c(t.map((function(t){return e.map((function(e){const r=$(e),i=(0,n.A)(t.baseUrl,r),a=u(K(e),{baseUrl:i});return i!==r&&!a.serviceLocation&&t.serviceLocation&&(a.serviceLocation=t.serviceLocation),a}))}))):t,et=t=>{const e=Y(t,"SegmentTemplate")[0],r=Y(t,"SegmentList")[0],n=r&&Y(r,"SegmentURL").map((t=>u({tag:"SegmentURL"},K(t)))),i=Y(t,"SegmentBase")[0],a=r||e,o=a&&Y(a,"SegmentTimeline")[0],s=r||i||e,l=s&&Y(s,"Initialization")[0],d=e&&K(e);d&&l?d.initialization=l&&K(l):d&&d.initialization&&(d.initialization={sourceURL:d.initialization});const c={template:d,segmentTimeline:o&&Y(o,"S").map((t=>K(t))),list:r&&u(K(r),{segmentUrls:n,initialization:K(l)}),base:i&&u(K(i),{initialization:K(l)})};return Object.keys(c).forEach((t=>{c[t]||delete c[t]})),c},rt=t=>c(Y(t.node,"EventStream").map((e=>{const r=K(e),n=r.schemeIdUri;return Y(e,"Event").map((e=>{const i=K(e),a=i.presentationTime||0,o=r.timescale||1,s=i.duration||0,l=a/o+t.attributes.start;return{schemeIdUri:n,value:r.value,id:i.id,start:l,end:l+s/o,messageData:$(e)||i.messageData,contentEncoding:r.contentEncoding,presentationTimeOffset:r.presentationTimeOffset||0}}))}))),nt=(t,e,r)=>n=>{const i=K(n),a=tt(e,Y(n,"BaseURL")),s=Y(n,"Role")[0],l={role:K(s)};let d=u(t,i,l);const p=Y(n,"Accessibility")[0],h=(t=>{if("urn:scte:dash:cc:cea-608:2015"===t.schemeIdUri)return("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}}
vendor: 14,655 bytes, line 2
2));if("urn:scte:dash:cc:cea-708:2015"===t.schemeIdUri)return("string"!=typeof t.value?[]:t.value.split(";")).map((t=>{const e={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(t)){const[r,n=""]=t.split("=");e.channel=r,e.language=t,n.split(",").forEach((t=>{const[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}))})(K(p));h&&(d=u(d,{captionServices:h}));const g=Y(n,"Label")[0];if(g&&g.childNodes.length){const t=g.childNodes[0].nodeValue.trim();d=u(d,{label:t})}const f=Y(n,"ContentProtection").reduce(((t,e)=>{const r=K(e);r.schemeIdUri&&(r.schemeIdUri=r.schemeIdUri.toLowerCase());const n=J[r.schemeIdUri];if(n){t[n]={attributes:r};const i=Y(e,"cenc:pssh")[0];if(i){const e=$(i);t[n].pssh=e&&(0,o.A)(e)}}return t}),{});Object.keys(f).length&&(d=u(d,{contentProtection:f}));const m=et(n),A=Y(n,"Representation"),y=u(r,m);return c(A.map(((t,e,r)=>n=>{const i=Y(n,"BaseURL"),a=tt(e,i),o=u(t,K(n)),s=et(n);return a.map((t=>({segmentInfo:u(r,s),attributes:u(o,t)})))})(d,a,y)))},it=(t,e)=>(r,n)=>{const i=tt(e,Y(r.node,"BaseURL")),a=u(t,{periodStart:r.attributes.start});"number"==typeof r.attributes.duration&&(a.periodDuration=r.attributes.duration);const o=Y(r.node,"AdaptationSet"),s=et(r.node);return c(o.map(nt(a,i,s)))},at=(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;const r=u({serverURL:$(t[0])},K(t[0]));return r.queryBeforeStart="true"===r.queryBeforeStart,r},ot=t=>{if(""===t)throw new Error(g);const e=new s.DOMParser;let r,n;try{r=e.parseFromString(t,"application/xml"),n=r&&"MPD"===r.documentElement.tagName?r.documentElement:null}catch(i){}if(!n||n&&n.getElementsByTagName("parsererror").length>0)throw new Error(f);return n},st=(t,e={})=>{const r=((t,e={})=>{const{manifestUri:r="",NOW:n=Date.now(),clientOffset:i=0,eventHandler:a=function(){}}=e,o=Y(t,"Period");if(!o.length)throw new Error(h);const s=Y(t,"Location"),l=K(t),u=tt([{baseUrl:r}],Y(t,"BaseURL")),d=Y(t,"ContentSteering");l.type=l.type||"static",l.sourceDuration=l.mediaPresentationDuration||0,l.NOW=n,l.clientOffset=i,s.length&&(l.locations=s.map($));const p=[];return o.forEach(((t,e)=>{const r=K(t),n=p[e-1];r.start=(({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)({attributes:r,priorPeriodAttributes:n?n.attributes:null,mpdType:l.type}),p.push({node:t,attributes:r})})),{locations:l.locations,contentSteeringInfo:at(d,a),representationInfo:c(p.map(it(l,u))),eventStream:c(p.map(rt))}})(ot(t),e),n=r.representationInfo.map(z);return j({dashPlaylists:n,locations:r.locations,contentSteering:r.contentSteeringInfo,sidxMapping:e.sidxMapping,previousManifest:e.previousManifest,eventStream:r.eventStream})},lt=t=>(t=>{const e=Y(t,"UTCTiming")[0];if(!e)return null;const r=K(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 new Error(y)}return r})(ot(t))},44737:function(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},63025:function(){},68633:function(t,e,r){var n=r(20525),i=r(21129),a=r(76598),o=r(72133),s=i.DOMImplementation,l=n.NAMESPACE,u=o.ParseError,d=o.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 g(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function f(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,o=r.errorHandler,s=r.locator,u=r.xmlns||{},p=/\/x?html?$/.test(e),g=p?a.HTML_ENTITIES:a.XML_ENTITIES;s&&i.setDocumentLocator(s),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"+t+f(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(o,i,s),n.domBuilder=r.domBuilder||i,p&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var m=r.normalizeLineEndings||c;return t&&"string"==typeof t?n.parse(m(t),u,g):n.errorHandler.error("invalid doc source"),i.doc},h.prototype={startDocument:function(){this.doc=(new s).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),o=n.length;A(this,a),this.currentElement=a,this.locator&&g(this.locator,a);for(var s=0;s<o;s++){t=n.getURI(s);var l=n.getValue(s),u=(r=n.getQName(s),i.createAttributeNS(t,r));this.locator&&g(n.getLocator(s),u),u.value=u.nodeValue=l,a.setAttributeNode(u)}},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&&g(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 n=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(t)&&this.doc.appendChild(n),this.locator&&g(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&&g(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&&g(this.locator,i),A(this,i),this.doc.doctype=i}},warning:function(t){console.warn("[xmldom warning]\t"+t,f(this.locator))},error:function(t){console.error("[xmldom error]\t"+t,f(this.locator))},fatalError:function(t){throw new u(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},72133:function(t,e,r){var n=r(20525).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=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+i.source+a.source+"*(?::"+i.source+a.source+"*)?$");function s(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function l(){}function u(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function d(t,e,r,i,a,o){function s(t,e,n){r.attributeNames.hasOwnProperty(t)&&o.fatalError("Attribute "+t+" redefined"),r.addValue(t,e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,a),n)}for(var l,u=++e,d=0;;){var c=t.charAt(u);switch(c){case"=":if(1===d)l=t.slice(e,u),d=3;else{if(2!==d)throw new Error("attribute equal must after attrName");d=3}break;case"'":case'"':if(3===d||1===d){if(1===d&&(o.warning('attribute value must after "="'),l=t.slice(e,u)),e=u+1,!((u=t.indexOf(c,e))>0))throw new Error("attribute value no end '"+c+"' match");s(l,p=t.slice(e,u),e-1),d=5}else{if(4!=d)throw new Error('attribute value must after "="');s(l,p=t.slice(e,u),e),o.warning('attribute "'+l+'" missed start quot('+c+")!!"),e=u+1,d=5}break;case"/":switch(d){case 0:r.setTagName(t.slice(e,u));case 5:case 6:case 7:d=7,r.closed=!0;case 4:case 1:break;case 2:r.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==d&&r.setTagName(t.slice(e,u)),u;case">":switch(d){case 0:r.setTagName(t.slice(e,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=t.slice(e,u)).slice(-1)&&(r.closed=!0,p=p.slice(0,-1));case 2:2===d&&(p=l),4==d?(o.warning('attribute "'+p+'" missed quot(")!'),s(l,p,e)):(n.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),s(p,p,e));break;case 3:throw new Error("attribute value missed!!")}return u;case"Â":c=" ";default:if(c<=" ")switch(d){case 0:r.setTagName(t.slice(e,u)),d=6;break;case 1:l=t.slice(e,u),d=2;break;case 4:var p=t.slice(e,u);o.warning('attribute "'+p+'" missed quot(")!!'),s(l,p,e);case 5:d=6}else switch(d){case 2:r.tagName;n.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||o.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),s(l,l,e),e=u,d=1;break;case 5:o.warning('attribute space is required"'+l+'"!!');case 6:d=1,e=u;break;case 3:d=4,e=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function c(t,e,r){for(var i=t.tagName,a=null,o=t.length;o--;){var s=t[o],l=s.qName,u=s.value;if((h=l.indexOf(":"))>0)var d=s.prefix=l.slice(0,h),c=l.slice(h+1),p="xmlns"===d&&c;else c=l,d=null,p="xmlns"===l&&"";s.localName=c,!1!==p&&(null==a&&(a={},g(r,r={})),r[p]=a[p]=u,s.uri=n.XMLNS,e.startPrefixMapping(p,u))}for(o=t.length;o--;){(d=(s=t[o]).prefix)&&("xml"===d&&(s.uri=n.XML),"xmlns"!==d&&(s.uri=r[d||""]))}var h;(h=i.indexOf(":"))>0?(d=t.prefix=i.slice(0,h),c=t.localName=i.slice(h+1)):(d=null,c=t.localName=i);var f=t.uri=r[d||""];if(e.startElement(f,c,i,t),!t.closed)return t.currentNSMap=r,t.localNSMap=a,!0;if(e.endElement(f,c,i),a)for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&e.endPrefixMapping(d)}function p(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var a=t.indexOf("</"+r+">",e),o=t.substring(e+1,a);if(/[&<]/.test(o))return/^script$/i.test(r)?(i.characters(o,0,o.length),a):(o=o.replace(/&#?\w+;/g,n),i.characters(o,0,o.length),a)}return e+1}function h(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}function g(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function f(t,e,r,n){if("-"===t.charAt(e+2))return"-"===t.charAt(e+3)?(i=t.indexOf("--\x3e",e+4))>e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;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;i.lastIndex=e,i.exec(t);for(;r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),o=a.length;if(o>1&&/!doctype/i.test(a[0][0])){var s=a[1][0],l=!1,u=!1;o>3&&(/^public$/i.test(a[2][0])?(l=a[3][0],u=o>4&&a[4][0]):/^system$/i.test(a[2][0])&&(u=a[3][0]));var d=a[o-1];return r.startDTD(s,l,u),r.endDTD(),d.index+d[0].length}return-1}function m(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i){i[0].length;return r.processingInstruction(i[1],i[2]),n+2}return-1}return-1}function A(){this.attributeNames={}}s.prototype=new Error,s.prototype.name=s.name,l.prototype={parse:function(t,e,r){var i=this.domBuilder;i.startDocument(),g(e,e={}),function(t,e,r,i,a){function o(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}function l(t){var e=t.slice(1,-1);return Object.hasOwnProperty.call(r,e)?r[e]:"#"===e.charAt(0)?o(parseInt(e.substr(1).replace("x","0x"))):(a.error("entity not found:"+t),t)}function g(e){if(e>C){var r=t.substring(C,e).replace(/&#?\w+;/g,l);T&&y(C),i.characters(r,0,e-C),C=e}}function y(e,r){for(;e>=b&&(r=E.exec(t));)v=r.index,b=v+r[0].length,T.lineNumber++;T.columnNumber=e-v+1}var v=0,b=0,E=/.*(?:\r\n?|\n)|.*$/g,T=i.locator,w=[{currentNSMap:e}],S={},C=0;for(;;){try{var P=t.indexOf("<",C);if(P<0){if(!t.substr(C).match(/^\s*$/)){var D=i.doc,R=D.createTextNode(t.substr(C));D.appendChild(R),i.currentElement=R}return}switch(P>C&&g(P),t.charAt(P+1)){case"/":var N=t.indexOf(">",P+3),I=t.substring(P+2,N).replace(/[ \t\n\r]+$/g,""),L=w.pop();N<0?(I=t.substring(P+2).replace(/[\s<].*/,""),a.error("end tag name: "+I+" is not complete:"+L.tagName),N=P+1+I.length):I.match(/\s</)&&(I=I.replace(/[\s<].*/,""),a.error("end tag name: "+I+" maybe not complete"),N=P+1+I.length);var M=L.localNSMap,k=L.tagName==I;if(k||L.tagName&&L.tagName.toLowerCase()==I.toLowerCase()){if(i.endElement(L.uri,L.localName,I),M)for(var O in M)Object.prototype.hasOwnProperty.call(M,O)&&i.endPrefixMapping(O);k||a.fatalError("end tag name: "+I+" is not match the current start tagName:"+L.tagName)}else w.push(L);N++;break;case"?":T&&y(P),N=m(t,P,i);break;case"!":T&&y(P),N=f(t,P,i,a);break;default:T&&y(P);var x=new A,_=w[w.length-1].currentNSMap,B=(N=d(t,P,x,_,l,a),x.length);if(!x.closed&&h(t,N,x.tagName,S)&&(x.closed=!0,r.nbsp||a.warning("unclosed xml attribute")),T&&B){for(var U=u(T,{}),q=0;q<B;q++){var j=x[q];y(j.offset),j.locator=u(T,{})}i.locator=U,c(x,i,_)&&w.push(x),i.locator=T}else c(x,i,_)&&w.push(x);n.isHTML(x.uri)&&!x.closed?N=p(t,N,x.tagName,l,i):N++}}catch(F){if(F instanceof s)throw F;a.error("element parse error: "+F),N=-1}N>C?C=N:g(Math.max(P,C)+1)}}(t,e,r,i,this.errorHandler),i.endDocument()}},A.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw new 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=l,e.ParseError=s}
2,72269:function(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="",o=!1,s=t,l=r,u=i,d=null,c="",p=!0,h="auto",g="start",f="auto",m="auto",A=100,y="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a},set:function(t){a=""+t}},pauseOnExit:{enumerable:!0,get:function(){return o},set:function(t){o=!!t}},startTime:{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");s=t,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return l},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");l=t,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return u},set:function(t){u=""+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=function(t){return"string"==typeof t&&!!e[t.toLowerCase()]&&t.toLowerCase()}(t);if(!1===r)throw new 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 new SyntaxError("Line: an invalid number or illegal string was specified.");h=t,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return g},set:function(t){var e=n(t);e?(g=e,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return f},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");f=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 new 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 new 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},74555:function(t,e,r){"use strict";r.d(e,{I:function(){return 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}},76598:function(t,e,r){"use strict";var n=r(20525).freeze;e.XML_ENTITIES=n({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e
vendor: 28,743 bytes, line 2
2.HTML_ENTITIES=n({Aacute:"Ã",aacute:"á",Abreve:"Ä",abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",Acirc:"Ã",acirc:"â",acute:"´",Acy:"Ð",acy:"а",AElig:"Ã",aelig:"æ",af:"â¡",Afr:"ð",afr:"ð",Agrave:"Ã",agrave:"à ",alefsym:"âµ",aleph:"âµ",Alpha:"Î",alpha:"α",Amacr:"Ä",amacr:"Ä",amalg:"⨿",AMP:"&",amp:"&",And:"â©",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"Ã
",angzarr:"â¼",Aogon:"Ä",aogon:"Ä
",Aopf:"ð¸",aopf:"ð",ap:"â",apacir:"⩯",apE:"â©°",ape:"â",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",Aring:"Ã
",aring:"Ã¥",Ascr:"ð",ascr:"ð¶",Assign:"â",ast:"*",asymp:"â",asympeq:"â",Atilde:"Ã",atilde:"ã",Auml:"Ã",auml:"ä",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:"ð
",bfr:"ð",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:"ð¹",bopf:"ð",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:"¦",Bscr:"â¬",bscr:"ð·",bsemi:"â",bsim:"â½",bsime:"â",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:"Ã",ccedil:"ç",Ccirc:"Ä",ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",Cdot:"Ä",cdot:"Ä",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"â",cfr:"ð ",CHcy:"Ч",chcy:"Ñ",check:"â",checkmark:"â",Chi:"Χ",chi:"Ï",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"®",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:"ð",coprod:"â",Coproduct:"â",COPY:"©",copy:"©",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",Cross:"⨯",cross:"â",Cscr:"ð",cscr:"ð¸",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:"¤",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:"°",Del:"â",Delta:"Î",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"ð",dfr:"ð¡",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",Diamond:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"¨",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"÷",divide:"÷",divideontimes:"â",divonx:"â",DJcy:"Ð",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",Dopf:"ð»",dopf:"ð",Dot:"¨",dot:"Ë",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"¨",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:"ð",dscr:"ð¹",DScy:"Ð
",dscy:"Ñ",dsol:"â§¶",Dstrok:"Ä",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"Ñ",dzigrarr:"â¿",Eacute:"Ã",eacute:"é",easter:"â©®",Ecaron:"Ä",ecaron:"Ä",ecir:"â",Ecirc:"Ã",ecirc:"ê",ecolon:"â",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä",eDot:"â",edot:"Ä",ee:"â
",efDot:"â",Efr:"ð",efr:"ð¢",eg:"âª",Egrave:"Ã",egrave:"è",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",Emacr:"Ä",emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",ENG:"Å",eng:"Å",ensp:"â",Eogon:"Ä",eogon:"Ä",Eopf:"ð¼",eopf:"ð",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:"Ã",eth:"ð",Euml:"Ã",euml:"ë",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",ExponentialE:"â
",exponentiale:"â
",fallingdotseq:"â",Fcy:"Ф",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",Ffr:"ð",ffr:"ð£",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",Fopf:"ð½",fopf:"ð",ForAll:"â",forall:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"½",frac13:"â
",frac14:"¼",frac15:"â
",frac16:"â
",frac18:"â
",frac23:"â
",frac25:"â
",frac34:"¾",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",Fscr:"â±",fscr:"ð»",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:"ð",gfr:"ð¤",Gg:"â",gg:"â«",ggg:"â",gimel:"â·",GJcy:"Ð",gjcy:"Ñ",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gnE:"â©",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",Gopf:"ð¾",gopf:"ð",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"ð¢",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",Gt:"â«",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"½",hamilt:"â",HARDcy:"Ъ",hardcy:"Ñ",hArr:"â",harr:"â",harrcir:"â¥",harrw:"â",Hat:"^",hbar:"â",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",Hfr:"â",hfr:"ð¥",HilbertSpace:"â",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",Hopf:"â",hopf:"ð",horbar:"â",HorizontalLine:"â",Hscr:"â",hscr:"ð½",hslash:"â",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"â",HumpEqual:"â",hybull:"â",hyphen:"â",Iacute:"Ã",iacute:"Ã",ic:"â£",Icirc:"Ã",icirc:"î",Icy:"Ð",icy:"и",Idot:"İ",IEcy:"Ð",iecy:"е",iexcl:"¡",iff:"â",Ifr:"â",ifr:"ð¦",Igrave:"Ã",igrave:"ì",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:"ð",iopf:"ð",Iota:"Î",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"â",iscr:"ð¾",isin:"â",isindot:"âµ",isinE:"â¹",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"Ð",iukcy:"Ñ",Iuml:"Ã",iuml:"ï",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Ð",jcy:"й",Jfr:"ð",jfr:"ð§",jmath:"È·",Jopf:"ð",jopf:"ð",Jscr:"ð¥",jscr:"ð¿",Jsercy:"Ð",jsercy:"Ñ",Jukcy:"Ð",jukcy:"Ñ",Kappa:"Î",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"Ð",kcy:"к",Kfr:"ð",kfr:"ð¨",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ
",KJcy:"Ð",kjcy:"Ñ",Kopf:"ð",kopf:"ð",Kscr:"ð¦",kscr:"ð",lAarr:"â",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â",Lambda:"Î",lambda:"λ",Lang:"âª",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",Laplacetrf:"â",laquo:"«",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:"â",lesseqgtr:"â",lesseqqgtr:"âª",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",lessgtr:"â¶",LessLess:"⪡",lesssim:"â²",LessSlantEqual:"⩽",LessTilde:"â²",lfisht:"⥼",lfloor:"â",Lfr:"ð",lfr:"ð©",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:"ð",lopf:"ð",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",LowerLeftArrow:"â",LowerRightArrow:"â",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",Lscr:"â",lscr:"ð",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:"¯",male:"â",malt:"â ",maltese:"â ",Map:"â¤
",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",Mcy:"Ð",mcy:"м",mdash:"â",mDDot:"âº",measuredangle:"â¡",MediumSpace:"â",Mellintrf:"â³",Mfr:"ð",mfr:"ðª",mho:"â§",micro:"µ",mid:"â£",midast:"*",midcir:"â«°",middot:"·",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",MinusPlus:"â",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",Mopf:"ð",mopf:"ð",mp:"â",Mscr:"â³",mscr:"ð",mstpos:"â¾",Mu:"Î",mu:"μ",multimap:"â¸",mumap:"â¸",nabla:"â",Nacute:"Å",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:" ",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:"ð",nfr:"ð«",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:" ",Nopf:"â",nopf:"ð",Not:"⫬",not:"¬",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:"â ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nRightarrow:"â",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",Nscr:"ð©",nscr:"ð",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:"Ã",ntilde:"ñ",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:"Ã",oacute:"ó",oast:"â",ocir:"â",Ocirc:"Ã",ocirc:"ô",Ocy:"Ð",ocy:"о",odash:"â",Odblac:"Å",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",OElig:"Å",oelig:"Å",ofcir:"⦿",Ofr:"ð",ofr:"ð¬",ogon:"Ë",Ograve:"Ã",ograve:"ò",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",Omacr:"Å",omacr:"Å",Omega:"Ω",omega:"Ï",Omicron:"Î",omicron:"ο",omid:"⦶",ominus:"â",Oopf:"ð",oopf:"ð ",opar:"⦷",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",operp:"⦹",oplus:"â",Or:"â©",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"ª",ordm:"º",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",Oscr:"ðª",oscr:"â´",Oslash:"Ã",oslash:"ø",osol:"â",Otilde:"Ã",otilde:"õ",Otimes:"⨷",otimes:"â",otimesas:"⨶",Ouml:"Ã",ouml:"ö",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"¶",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",PartialD:"â",Pcy:"Ð",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",Pfr:"ð",pfr:"ð",Phi:"Φ",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",Pi:"Î ",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"â",pointint:"â¨",Popf:"â",popf:"ð¡",pound:"£",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:"ð«",pscr:"ð
",Psi:"Ψ",psi:"Ï",puncsp:"â",Qfr:"ð",qfr:"ð®",qint:"â¨",Qopf:"â",qopf:"ð¢",qprime:"â",Qscr:"ð¬",qscr:"ð",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",QUOT:'"',quot:'"',rAarr:"â",race:"â½Ì±",Racute:"Å",racute:"Å",radic:"â",raemptyv:"⦳",Rang:"â«",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"»",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:"®",reg:"®",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"â",Rfr:"â",rfr:"ð¯",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:"ð£",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",Rrightarrow:"â",rsaquo:"âº",Rscr:"â",rscr:"ð",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:"§",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",Sfr:"ð",sfr:"ð°",sfrown:"â¢",sharp:"â¯",SHCHcy:"Щ",shchcy:"Ñ",SHcy:"Ш",shcy:"Ñ",ShortDownArrow:"â",ShortLeftArrow:"â",shortmid:"â£",shortparallel:"â¥",ShortRightArrow:"â",ShortUpArrow:"â",shy:"Â",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:"ð",sopf:"ð¤",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:"ð®",sscr:"ð",ssetmn:"â",ssmile:"â£",sstarf:"â",Star:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"¯",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:"¹",sup2:"²",sup3:"³",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:"Ã",Tab:"\t",target:"â",Tau:"Τ",tau:"Ï",tbrk:"â´",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ",tdot:"â",telrec:"â",Tfr:"ð",tfr:"ð±",there4:"â´",Therefore:"â´",therefore:"â´",Theta:"Î",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickSpace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",THORN:"Ã",thorn:"þ",Tilde:"â¼",tilde:"Ë",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"Ã",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",Topf:"ð",topf:"ð¥",topfork:"â«",tosa:"⤩",tprime:"â´",TRADE:"â¢",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",TripleDot:"â",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"ð¯",tscr:"ð",TScy:"Ц",tscy:"Ñ",TSHcy:"Ð",tshcy:"Ñ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",Uacute:"Ã",uacute:"ú",Uarr:"â",uArr:"â",uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",ubrcy:"Ñ",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"Ã",ucirc:"û",Ucy:"У",ucy:"Ñ",udarr:"â
",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"ð",ufr:"ð²",Ugrave:"Ã",ugrave:"ù",uHar:"⥣",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",Umacr:"Ū",umacr:"Å«",uml:"¨",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",uogon:"ų",Uopf:"ð",uopf:"ð¦",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:"ð°",uscr:"ð",utdot:"â°",Utilde:"Ũ",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",Uuml:"Ã",uuml:"ü",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:"ð",vfr:"ð³",vltri:"â²",vnsub:"ââ",vnsup:"ââ",Vopf:"ð",vopf:"ð§",vprop:"â",vrtri:"â³",Vscr:"ð±",vscr:"ð",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",Vvdash:"âª",vzigzag:"â¦",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©",Wedge:"â",wedge:"â§",wedgeq:"â",weierp:"â",Wfr:"ð",wfr:"ð´",Wopf:"ð",wopf:"ð¨",wp:"â",wr:"â",wreath:"â",Wscr:"ð²",wscr:"ð",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",Xfr:"ð",xfr:"ðµ",xhArr:"âº",xharr:"â·",Xi:"Î",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",Xopf:"ð",xopf:"ð©",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",Xscr:"ð³",xscr:"ð",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",Yacute:"Ã",yacute:"ý",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ",yen:"Â¥",Yfr:"ð",yfr:"ð¶",YIcy:"Ð",yicy:"Ñ",Yopf:"ð",yopf:"ðª",Yscr:"ð´",yscr:"ð",YUcy:"Ю",yucy:"Ñ",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"Ð",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"â¨",ZeroWidthSpace:"â",Zeta:"Î",zeta:"ζ",Zfr:"â¨",zfr:"ð·",ZHcy:"Ð",zhcy:"ж",zigrarr:"â",Zopf:"â¤",zopf:"ð«",Zscr:"ðµ",zscr:"ð",zwj:"â",zwnj:"â"}),
vendor: 1,927 bytes, line 2
2e.entityMap=e.HTML_ENTITIES},81297:function(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,o=e.initialDelay;return new r({maxAttempts:n||this.maxAttempts_,delayFactor:i||this.delayFactor_,fuzzFactor:a||this.fuzzFactor_,initialDelay:o||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(),e=this.getCurrentMaxPossibleDelay();return t+Math.random()*(e-t)}
2,t}();t.exports=e},82553:function(t,e,r){var n;n="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},t.exports=n},82999:function(t,e,r){"use strict";var n=r(82553),i=r.n(n),a="https://example.com";e.A=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);t=new(i().URL)(t,i().location||a);var o=new URL(e,t);return n?o.href.slice(19):r?o.href.slice(o.protocol.length):o.href}},86124:function(t,e,r){var n,i=void 0!==r.g?r.g:"undefined"!=typeof window?window:{},a=r(63025);"undefined"!=typeof document?n=document:(n=i["__GLOBAL_DOCUMENT_CACHE@4"])||(n=i["__GLOBAL_DOCUMENT_CACHE@4"]=a),t.exports=n},92921:function(t,e,r){"use strict";r.d(e,{Af:function(){return h},Ar:function(){return p},Bu:function(){return g},L7:function(){return f},Sk:function(){return d},WG:function(){return c},W_:function(){return s},hc:function(){return o}});var n,i,a=r(82553),o=function(t){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer},s=function(t){return t instanceof Uint8Array?t:(Array.isArray(t)||o(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))},l=r.n(a)().BigInt||Number,u=[l("0x1"),l("0x100"),l("0x10000"),l("0x1000000"),l("0x100000000"),l("0x10000000000"),l("0x1000000000000"),l("0x100000000000000"),l("0x10000000000000000")],d=(n=new Uint16Array([65484]),255===(i=new Uint8Array(n.buffer,n.byteOffset,n.byteLength))[0]||i[0],function(t,e){var r=void 0===e?{}:e,n=r.signed,i=void 0!==n&&n,a=r.le,o=void 0!==a&&a;t=s(t);var d=o?"reduce":"reduceRight",c=(t[d]?t[d]:Array.prototype[d]).call(t,(function(e,r,n){var i=o?n:Math.abs(n+1-t.length);return e+l(r)*u[i]}),l(0));if(i){var p=u[t.length]/l(2)-l(1);(c=l(c))>p&&(c-=p,c-=p,c-=l(2))}return Number(c)}),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),t=l(t);for(var i,a=(i=t,Math.ceil(function(t){return t.toString(2).length}(i)/8)),o=new Uint8Array(new ArrayBuffer(a)),s=0;s<a;s++){var d=n?s:Math.abs(s+1-o.length);o[d]=Number(t/u[s]&l(255)),t<0&&(o[d]=Math.abs(~o[d]),o[d]-=0===s?1:2)}return o},p=function(t){if(!t)return"";t=Array.prototype.slice.call(t);var e=String.fromCharCode.apply(null,s(t));try{return decodeURIComponent(escape(e))}catch(r){}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)));for(var r=new Uint8Array(t.length),n=0;n<t.length;n++)r[n]=t.charCodeAt(n);return r},g=function(){for(var t=arguments.length,e=new 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})),e.length<=1)return s(e[0]);var n=e.reduce((function(t,e,r){return t+(e.byteLength||e.length)}),0),i=new Uint8Array(n),a=0;return e.forEach((function(t){t=s(t),i.set(t,a),a+=t.byteLength})),i},f=function(t,e,r){var n=void 0===r?{}:r,i=n.offset,a=void 0===i?0:i,o=n.mask,l=void 0===o?[]:o;t=s(t);var u=(e=s(e)).every?e.every:Array.prototype.every;return e.length&&t.length-a>=e.length&&u.call(e,(function(e,r){return e===(l[r]?l[r]&t[a+r]:t[a+r])}))}},95765:function(t){var e=Math.pow(2,32);t.exports={getUint64:function(t){var r,n=new DataView(t.buffer,t.byteOffset,t.byteLength);return n.getBigUint64?(r=n.getBigUint64(0))<Number.MAX_SAFE_INTEGER?Number(r):r:n.getUint32(0)*e+n.getUint32(4)},MAX_UINT32:e}}}]);
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.