@playkit-js/media-melon 1.0.14-canary.0-f954ed0 → 1.0.15-canary.0-cc59faa

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,2 @@
1
1
  (()=>{"use strict";var t,e={86:(t,e,i)=>{i.r(e),i.d(e,{KALTURAPlayerMMSSIntgr:()=>M});var s,r,n=v;(function(t,e){for(var i=v,s=t();;)try{if(591447==-parseInt(i(572))/1*(parseInt(i(710))/2)+-parseInt(i(802))/3+-parseInt(i(1111))/4+-parseInt(i(424))/5*(-parseInt(i(1187))/6)+-parseInt(i(576))/7*(parseInt(i(1001))/8)+parseInt(i(964))/9+-parseInt(i(715))/10*(-parseInt(i(530))/11))break;s.push(s.shift())}catch(t){s.push(s.shift())}})(P),window[n(650)]||(s=n,(r=document[s(354)]("script"))[s(981)]=s(1105),document.head[s(1118)](r)),n(261);var a=Object[n(683)]({AD_BLOCKED:1,AD_IMPRESSION:2,AD_STARTED:3,AD_PLAYING:4,AD_CLICKED:5,AD_PAUSED:6,AD_RESUMED:7,AD_SKIPPED:8,AD_COMPLETED:9,AD_ERROR:10,AD_REQUEST:11,AD_PLAY:12,AD_BUFFERING:13,AD_MIDPOINT:14,AD_FIRST_QUARTILE:15,AD_THIRD_QUARTILE:16,AD_ENDED:17}),o=function(){var t=n,e={};return e[t(846)]=void 0,e[t(728)]=void 0,e[t(1079)]=0,e[t(813)]=void 0,e[t(301)]=!1,e.adCreativeType=void 0,e[t(579)]=void 0,e[t(292)]=void 0,e.adPodIndex=void 0,e[t(1049)]=void 0,e[t(585)]=void 0,e[t(1207)]=!1,e.adScheduledTime=-1,e[t(264)]=void 0,e.adUrl=void 0,e[t(370)]=void 0,e[t(517)]=void 0,e},h=Object[n(683)]({PLAYING:1,PAUSED:2,STOPPED:3}),d=Object[n(683)]({SeekStarted:1,SeekCompleted:2,Playing:3}),u=Object[n(683)]({QBRModeDisabled:n(1248),QBRModeQuality:n(1095),QBRModeBitsave:n(637),QBRModeCostsave:n(923)}),c=(Object.freeze({Cellular:"Cellular",Cellular_2G:n(768),Cellular_3G:"Cellular_3G",Cellular_4G:n(826),Cellular_LTE:n(595),Cellular_5G:"Cellular_5G",NotReachable:n(386),Wifi:n(609),WiredNetwork:n(614)}),Object.freeze({Latency:"Latency",ServerAddress:"CDN",DurationWatched:n(1084)}));n(261);var f={SDK_REGISTER_URL:"https://register.mediamelon.com/mm-apis/register/",SDK_CONFIG:{sdkVersion:n(938),hintFileVersion:n(1012),EP_SCHEMA_VERSION:n(1012),platform:n(700),qmetric:!0,statistics:!1,log_level:2},SDK_BUILD_VERSION:n(979)},l=function(t){var e=function(t,e){var i=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(i>>16)<<16|65535&i},i=function(t,i,s,r,n,a){return e((o=e(e(i,t),e(r,a)))<<(h=n)|o>>>32-h,s);var o,h},s=function(t,e,s,r,n,a,o){return i(e&s|~e&r,t,e,n,a,o)},r=function(t,e,s,r,n,a,o){return i(e&r|s&~r,t,e,n,a,o)},n=function(t,e,s,r,n,a,o){return i(e^s^r,t,e,n,a,o)},a=function(t,e,s,r,n,a,o){return i(s^(e|~r),t,e,n,a,o)},o=function(t,i){var o=v;t[i>>5]|=128<<i%32,t[14+(i+64>>>9<<4)]=i;var h,d,u,c,f,l=1732584193,p=-271733879,_=-1732584194,S=271733878;for(h=0;h<t[o(644)];h+=16)d=l,u=p,c=_,f=S,l=s(l,p,_,S,t[h],7,-680876936),S=s(S,l,p,_,t[h+1],12,-389564586),_=s(_,S,l,p,t[h+2],17,606105819),p=s(p,_,S,l,t[h+3],22,-1044525330),l=s(l,p,_,S,t[h+4],7,-176418897),S=s(S,l,p,_,t[h+5],12,1200080426),_=s(_,S,l,p,t[h+6],17,-1473231341),p=s(p,_,S,l,t[h+7],22,-45705983),l=s(l,p,_,S,t[h+8],7,1770035416),S=s(S,l,p,_,t[h+9],12,-1958414417),_=s(_,S,l,p,t[h+10],17,-42063),p=s(p,_,S,l,t[h+11],22,-1990404162),l=s(l,p,_,S,t[h+12],7,1804603682),S=s(S,l,p,_,t[h+13],12,-40341101),_=s(_,S,l,p,t[h+14],17,-1502002290),p=s(p,_,S,l,t[h+15],22,1236535329),l=r(l,p,_,S,t[h+1],5,-165796510),S=r(S,l,p,_,t[h+6],9,-1069501632),_=r(_,S,l,p,t[h+11],14,643717713),p=r(p,_,S,l,t[h],20,-373897302),l=r(l,p,_,S,t[h+5],5,-701558691),S=r(S,l,p,_,t[h+10],9,38016083),_=r(_,S,l,p,t[h+15],14,-660478335),p=r(p,_,S,l,t[h+4],20,-405537848),l=r(l,p,_,S,t[h+9],5,568446438),S=r(S,l,p,_,t[h+14],9,-1019803690),_=r(_,S,l,p,t[h+3],14,-187363961),p=r(p,_,S,l,t[h+8],20,1163531501),l=r(l,p,_,S,t[h+13],5,-1444681467),S=r(S,l,p,_,t[h+2],9,-51403784),_=r(_,S,l,p,t[h+7],14,1735328473),p=r(p,_,S,l,t[h+12],20,-1926607734),l=n(l,p,_,S,t[h+5],4,-378558),S=n(S,l,p,_,t[h+8],11,-2022574463),_=n(_,S,l,p,t[h+11],16,1839030562),p=n(p,_,S,l,t[h+14],23,-35309556),l=n(l,p,_,S,t[h+1],4,-1530992060),S=n(S,l,p,_,t[h+4],11,1272893353),_=n(_,S,l,p,t[h+7],16,-155497632),p=n(p,_,S,l,t[h+10],23,-1094730640),l=n(l,p,_,S,t[h+13],4,681279174),S=n(S,l,p,_,t[h],11,-358537222),_=n(_,S,l,p,t[h+3],16,-722521979),p=n(p,_,S,l,t[h+6],23,76029189),l=n(l,p,_,S,t[h+9],4,-640364487),S=n(S,l,p,_,t[h+12],11,-421815835),_=n(_,S,l,p,t[h+15],16,530742520),p=n(p,_,S,l,t[h+2],23,-995338651),l=a(l,p,_,S,t[h],6,-198630844),S=a(S,l,p,_,t[h+7],10,1126891415),_=a(_,S,l,p,t[h+14],15,-1416354905),p=a(p,_,S,l,t[h+5],21,-57434055),l=a(l,p,_,S,t[h+12],6,1700485571),S=a(S,l,p,_,t[h+3],10,-1894986606),_=a(_,S,l,p,t[h+10],15,-1051523),p=a(p,_,S,l,t[h+1],21,-2054922799),l=a(l,p,_,S,t[h+8],6,1873313359),S=a(S,l,p,_,t[h+15],10,-30611744),_=a(_,S,l,p,t[h+6],15,-1560198380),p=a(p,_,S,l,t[h+13],21,1309151649),l=a(l,p,_,S,t[h+4],6,-145523070),S=a(S,l,p,_,t[h+11],10,-1120210379),_=a(_,S,l,p,t[h+2],15,718787259),p=a(p,_,S,l,t[h+9],21,-343485551),l=e(l,d),p=e(p,u),_=e(_,c),S=e(S,f);return[l,p,_,S]},h=function(t){var e,i=v,s="",r=32*t[i(644)];for(e=0;e<r;e+=8)s+=String[i(778)](t[e>>5]>>>e%32&255);return s},d=function(t){var e,i=v,s=[];for(s[(t.length>>2)-1]=void 0,e=0;e<s.length;e+=1)s[e]=0;var r=8*t.length;for(e=0;e<r;e+=8)s[e>>5]|=(255&t[i(559)](e/8))<<e%32;return s},u=function(t){var e,i,s=v,r=s(876),n="";for(i=0;i<t.length;i+=1)e=t[s(559)](i),n+=r.charAt(e>>>4&15)+r[s(678)](15&e);return n},c=function(t){return unescape(encodeURIComponent(t))},f=function(t){return e=c(t),h(o(d(e),8*e.length));var e},l=function(t){return u(f(t))},p=function(t,e){return function(t,e){var i,s,r=v,n=d(t),a=[],u=[];for(a[15]=u[15]=void 0,n[r(644)]>16&&(n=o(n,8*t[r(644)])),i=0;i<16;i+=1)a[i]=909522486^n[i],u[i]=1549556828^n[i];return s=o(a[r(1174)](d(e)),512+8*e[r(644)]),h(o(u[r(1174)](s),640))}(c(t),c(e))},_=function(t,e){return u(p(t,e))};return{mm_md5:function(t,e,i){return e?i?p(e,t):_(e,t):i?f(t):l(t)},hexMD5:l,rawMD5:f,hexHMACMD5:_,rawHMACMD5:p}};function v(t,e){var i=P();return(v=function(t,e){return i[t-=247]})(t,e)}function p(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _(t){var e=n;return(_=typeof Symbol===e(344)&&typeof Symbol.iterator===e(921)?function(t){return typeof t}:function(t){var i=e;return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?i(921):typeof t})(t)}n(261);var S={_adClient:void 0,_adId:void 0,_adPosition:void 0,_adDuration:void 0,_adResolution:void 0,_adLinear:void 0,_adCreativeType:void 0,_adServer:void 0,_prevAdState:void 0,_playSent:!1,_adCreativeId:void 0,_adTitle:void 0,_adBitrate:void 0,_adUrl:void 0,_adPlaybackStartWallClockTime:0,_adplaydur:0,_adPlaybackTime:0,_adLastPlayingEventTimeStamp:-1,_adLastAdEventTimeStamp:-1,_isBumper:!1,_adPodIndex:-2,_adPodLength:-1,_adPositionInPod:-1,_adScheduledTime:-1},I=Object[n(683)]({IDLE:0,INITIALIZED:1,ONLOAD_SENT:2,STARTED:3,STOPPED:4,ERROR:5}),m=function(){var t,e,i,s,r,o,v,m,T,A,D,R,P,b,g,C,M=n;return p(g={_httpUtil:void 0,_playerName:void 0,_customerID:void 0,_subscriberID:void 0,_assetID:void 0,_assetName:void 0,_videoId:void 0,_contentMetadata:void 0,_domainName:void 0,_component:void 0,_inProgress:!1,_simulatedEndedSent:!1,_mode:null,_modeFromResponse:null,_timerObj:null,_timerObj2:null,_timerTimestampSynchro:null,_regStatus:"",_enableVideoQoE:!0,_enableAdQoE:!0,_sdkVersion:"",_hintFileVersion:"",_playDur:0,_latencyStartTime:0,_enableEP:!1,_KAdKeepAliveInterval:5e3,_adInformation:Object[M(895)](S),_flagStartLatencyViaPlayer:!1,_statsMetric:{version:"1.0.0",qubitData:[]},_recordIndex:0,_upshiftCount:0,_downshiftCount:0,_pbTime:0,_progressMark:0,_totalDuration:0,_buffWait:0,_sumBuffWait:0,_sumBuffWaitCIRR:0,_buffWaitType:"",_sumBuffWaitVRT:0,_prevPlayerState:0,_seekState:0,_EPState:0,_pauseStartTime:0,_pauseDuration:0,_adPlaybackTime:0,_bufferLength:0,_downloadRate:0,_downloadRateCount:0,_avgDownloadRate:0,_networkType:"",adClient:"",adURL:"",adDuration:0,adPosition:0,adLinear:!1,_adServer:"",_adCreativeMime:"",_wifiDataRate:0,frameLoss:0,_wifiSignalStrenth:0,_wifiSSID:"",_presentationWidth:0,_presentationHeight:0,_videoQuality:"",_deviceCapabilities:"",_deviceID:"",_playbackStatus:"",_bufferStartTime:0,_isBufferingState:!1,prevBitrate:0,newBitrate:0,_playerBrand:"",_playerModel:"",_playerVersion:"",_appName:"",_appVersion:"",_deviceType:"",_deviceBrand:"",_deviceModel:"",_deviceOs:"",_deviceOsVersion:"",_deviceOperator:"",_deviceMarketingName:"",_timeShift:0,_timeDeltaInMs:0,_isFirstBatch:!0,_eventToSend:[],_SESEventToSend:[],deviceIdStarz:"",_statsToSend:[],_epocTime:0,_setState:!1,_qoeMetric:{},_bwExtSet:!1,_prevSegInfo:{},_segINfoStatus:!1,_adBeforePlayback:!1,_cfVal:0,_maxSteps:0,_maxStepUp:0,_maxStepDown:0,_maxEventsInQ:40,_onLoadSentAtTS:0,_lastStatsPostedAtTS:0,_statsMonitorStartedAtTS:0,_bufferingCount:0,_subscriberType:void 0,_subscriberTag:void 0,_pbTimeBeforeAdStart:0,_adLoadTime:0,_adStartEpocTime:0,_adBuffWaitForInterval:0,_adSumBuffWait:0,_adPauseStartTime:0,_adPauseDuration:0,_adPauseDurationToOffsetFromInterval:0,_adLoadStartTime:0,_segRepeatationCount:0,_httpPostTimeout:9e4,sessionId:"",_eventMetric:{version:M(741),qubitData:[]},attributes:{UPSHIFTCOUNT:M(1055),DOWNSHIFTCOUNT:"downShiftCount",SDKBOOTTIME:"sdkBootuptime",STREAMFORMAT:M(511),SDKVERSION:"sdkVersion",HFILEVERSION:M(682),ISLIVE:M(402),DATASOURCE:M(804),CUSTID:M(777),SESSIONID:M(1132),CDN:M(1078),PBTIME:M(405),OPERATOR:"operator",NETWORKTYPE:M(421),WIFISSID:M(864),WIFIDATERATE:"wifidatarate",SIGNALSTRENGTH:"signalstrength",PLATFORM:M(784),LOCATION:M(1194),SCREENRES:"scrnRes",BANDWIDTH:M(993),LATENCY:M(918),BUFFERING:M(300),BUFFERINGTYPE:M(1073),SUMBUFFERING:M(1034),SUMBUFFERINGCIRR:"sumBuffWaitCIRR",SUMBUFFERINGVRT:"sumBuffWaitVRT",PLAYDUR:M(871),FRAMELOSS:M(844),ASSETID:M(1052),ASSETNAME:M(696),VIDEOID:M(685),STREAMURL:M(331),PLAYERVERSION:M(427),MINRES:M(962),MAXRES:M(1137),MAXFPS:M(1044),MINFPS:M(671),NUMPROFILE:M(1092),TOTALDURATION:M(734),RESOLUTION:"res",QBRBITRATE:M(848),CBRBITRATE:"cbrBitrate",QBRQUALITY:"qbrQual",CBRQUALITY:"cbrQual",DURATION:"dur",FPS:"fps",SEQNUM:M(1059),STARTTIME:M(432),PROFILENUM:M(699),LASTTS:M(1106),CBRSIZE:M(868),QBRSIZE:M(533),PAUSEDURATION:"pauseDuration",SUBSCRIBERID:M(811),DOMAINNAME:M(1016),PLAYERNAME:"playerName",QBRSDKMODE:M(360),DEVICETYPE:M(1144),DEVICEBRAND:M(406),DEVICEMODEL:"model",DEVICEMARKETINGNAME:"deviceMarketingName",OSVERSION:"version",SUBSCRIBERTYPE:M(415),SUBSCRIBERTAG:M(955),CONTENTTYPE:"contentType",DRMPROTECTION:M(695),EPISODENUMBER:M(312),GENRE:M(529),SEASON:M(471),SERIESTITLE:"seriesTitle",VIDEOTYPE:M(330),VIDEOTRACK:"videoTrack",SUBTITLETRACK:M(794),AUDIOTRACK:M(581),ISVDSACTIVE:M(318),ISSUBTITLEACTIVE:"isSubtitleActive",PROGRESSMARK:M(904),APPNAME:M(624),APPVERSION:"appVersion",VIDEOQUALITY:M(299),DEVICECAPABILITIES:M(1083),DEVICEID:M(838),PLAYBACKSTATUS:M(680)},_producerURL:void 0,_producerURLSES:void 0,sesRequirements:void 0,profiledIdSES:void 0,index:0,deviceIdStarz:"",_postInterval:10,_customTag:{},_baseServerTimeStampMS:0,_prevBitrate:-1,_streamUrl:"",_initLatancy:0},M(730),0),p(g,"_adEpocTime",0),p(g,M(296),(function(t){this[M(1035)]=t})),p(g,M(1233),(function(){return this[M(1035)]})),p(g,M(1011),(function(){return this[M(1250)]})),p(g,M(1061),(function(t){return!0})),p(g,M(619),(function(t){this[M(1202)]=t})),p(g,M(956),(function(){return this[M(1202)]})),(C={})[t=M(849)]=C[t]||{},C[t][M(988)]=function(t){this[M(376)]=t},C[e="postInterval"]=C[e]||{},C[e][M(736)]=function(){return this[M(376)]},C[i=M(1114)]=C[i]||{},C[i][M(988)]=function(t){this._producerURL=t},C[s=M(1114)]=C[s]||{},C[s][M(736)]=function(){return this[M(899)]},C[r="recordIndex"]=C[r]||{},C[r][M(988)]=function(t){this[M(1249)]=t},C[o=M(1192)]=C[o]||{},C[o][M(736)]=function(){return this[M(1249)]},C[v="upShiftCount"]=C[v]||{},C[v].set=function(t){this[M(947)]=t},C[m=M(1026)]=C[m]||{},C[m][M(736)]=function(){return this[M(947)]},C[T=M(691)]=C[T]||{},C[T][M(988)]=function(t){this[M(799)]=t},C[A=M(865)]=C[A]||{},C[A][M(736)]=function(){return this[M(799)]},C[D=M(1056)]=C[D]||{},C[D][M(988)]=function(t){this[M(575)]=t},C[R=M(1056)]=C[R]||{},C[R][M(736)]=function(){return this[M(575)]},C[P="eventMetric"]=C[P]||{},C[P][M(988)]=function(t){this[M(613)]=t},C[b=M(967)]=C[b]||{},C[b][M(736)]=function(){return this._eventMetric},p(g,"registerMMSmartStreaming",(function(t,e,i,s,r,n){var a=M;this[a(825)]=t,this[a(1186)]=e,this._subscriberID=i,this[a(765)]=s,this._subscriberType=r,this[a(873)]=n})),p(g,M(889),(function(t){this[M(1148)]=t})),p(g,"updateSubscriber",(function(t,e,i){var s=M;this[s(1148)]=t,this[s(561)]=e,this[s(873)]=i})),p(g,M(295),(function(t,e,i,s){var r=M;return this[r(974)]&&(this[r(974)][r(269)](),this[r(974)]=void 0),this[r(899)]=void 0,this[r(267)]=void 0,this[r(984)]="",this[r(824)]=0,this[r(619)](r(793)),this[r(322)].version=this[r(613)][r(829)]=f.SDK_CONFIG.EP_SCHEMA_VERSION,this[r(1093)]=e,this._assetID=s.assetId,this[r(537)]=s[r(696)],this[r(306)]=s[r(685)],this._contentMetadata=s,this[r(1180)]("https://mediamelon-builds.s3.amazonaws.com/MM-RELEASE-BUILDS/1185727140/files/endPoint.json"),this[r(1135)](),this.registerSdkWithBackend(t)})),p(g,M(534),(function(t){var e=M,i=f[e(310)]+this[e(1186)],s=f[e(720)];return s[e(1020)]=this[e(551)],s[e(360)]=t,this[e(974)]=new E,this[e(974)][e(906)](i,s)})),p(g,M(357),(function(){var t=M;if(this.sesRequirements){var e=this[t(795)].JWT,i=new XMLHttpRequest;i[t(660)](t(257),this[t(795)][t(645)],!0),i[t(960)](t(304),"*"),i[t(960)]("Authorization",t(557)+e),i[t(762)]=function(){console[t(920)]("Error while getting profiledId for Toolbox")};var s=this;i[t(423)]=function(){var e=t;if(i[e(297)]===XMLHttpRequest[e(1062)]){var r=i.status;if(0===r||r>=200&&r<400){var n=i[e(373)];try{s[e(672)]=JSON.parse(n).result[0].id}catch(t){console[e(920)](e(447))}}else console[e(920)]("Error while getting profiledId for Toolbox - HTTP error",r)}},i[t(1239)]()}})),p(g,M(771),(function(){var t=M;if(this.sesRequirements){var e=this[t(795)][t(1031)],i=parseFloat(this[t(808)][t(570)](2)),s=this[t(795)][t(995)],r=new XMLHttpRequest;r[t(660)]("POST",this[t(267)]+t(577),!0),r[t(358)]=this[t(1130)],r[t(960)](t(304),"*"),r.setRequestHeader(t(989),t(941));var n=this[t(795)][t(616)][t(538)](t(727))[1],a={apiKey:n[t(805)](0,n.length-1),eventType:"",deviceId:this[t(984)]};a[t(930)]=t(577),a[t(888)]={session_id:e,affiliate_name:"Dish_MX_SES",content_id:s,position_milliseconds:1e3*i};var o=JSON[t(468)](a);r.onerror=function(){var e=t;console[e(920)](e(433))},r[t(1239)](o)}})),p(g,M(397),(function(){var t=M;if(this[t(267)]&&this.profiledId&&this[t(795)]&&!this[t(795)][t(855)]){this[t(824)]+=1;var e=this.index,i=this._eventMetric[t(481)][this[t(1249)]][t(987)][this[t(1228)][t(1094)]][t(538)]("x"),s=(i[0],i[1],{content:{id:this.sesRequirements[t(995)],drmType:t(1176),formatType:t(946)},events:[],playback:{position:parseFloat(this[t(808)].toFixed(2)),timeSpent:this.getPlayDur(),bitrate:this[t(931)][t(452)]},user:{profiledId:this[t(672)]},playerID:this[t(984)]}),r={name:"StreamingProgress",number:e};s.events[t(773)](r);var n=JSON[t(468)](s),a=new XMLHttpRequest;a[t(660)](t(555),this[t(267)]),a[t(960)](t(1040),"application/json"),a[t(960)](t(304),"*"),a.setRequestHeader(t(580),t(941));var o=this[t(795)].JWT;a[t(960)]("Authorization",t(557)+o),a[t(762)]=function(){var e=t;console[e(920)](e(490))},a[t(1239)](n)}})),p(g,M(709),(function(t,e){var i=M;if(this[i(795)]&&!this.sesRequirements[i(855)]){this.sesRequirements[i(692)]&&""==this.sesRequirements[i(645)]&&this[i(357)]();var s=t;if(s!==i(674)&&s!==i(788)&&s!==i(901)&&s!==i(903)&&s!==i(779)&&s!==i(339)&&s!==i(840)&&s!==i(1200)){var r=s===i(725)?25:s===i(916)?50:s===i(409)?75:s===i(1082)?95:"ended"===s?99:s===i(788)?100:"progressmark"===s?10:void 0;this.index+=1;var n=this.index,a=this[i(613)][i(481)][this[i(1249)]][i(987)][this[i(1228)].SCREENRES][i(538)]("x"),o=(a[0],a[1],{content:{id:this[i(795)][i(995)],drmType:i(1176),formatType:i(946)},events:[],playback:{position:parseFloat(this[i(808)].toFixed(2)),timeSpent:this[i(1071)](),bitrate:this[i(931)][i(452)]},user:{profiledId:this.profiledId},playerID:this[i(984)]});if(s===i(457)||s===i(774)||s===i(560)){var h={name:s[i(1153)](),number:n};return o.events[i(773)](h),JSON.stringify(o)}if(s===i(277)){var d={name:i(535),value:{errorCode:e[i(927)],errorMessage:e[i(744)]}};return o[i(703)][i(773)](d),JSON.stringify(o)}var u={name:s,value:r,number:n};return o[i(703)][i(773)](u),JSON[i(468)](o)}}})),p(g,M(615),(function(){var t=M;if(this[t(795)]&&!this[t(795)][t(855)]&&this[t(267)]&&this.profiledId){this[t(958)][t(644)];for(var e=this[t(795)][t(711)],i=0;i<this[t(958)].length;i++){var s=new XMLHttpRequest;s[t(660)](t(555),this[t(267)],!0),s.timeout=this._httpPostTimeout,s[t(960)](t(304),"*"),s[t(960)]("Content-type",t(941)),s[t(960)]("Authorization","JWT "+e),s.setRequestHeader(t(580),t(941)),s[t(762)]=function(){var e=t;console[e(920)](e(1013))},s.send(this._SESEventToSend[i]),this[t(958)][i]=null}this[t(958)]=[]}})),p(g,M(411),(function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)))})),p(g,M(767),(function(t,e){var i=M;if(this[i(795)]&&!this[i(795)].isToolbox){var s=this.sesRequirements[i(1031)],r=parseFloat(this._pbTime[i(570)](2)),n=this[i(1032)],a=this._playerVersion,o=this[i(648)],h=this[i(1206)],d=this[i(1177)],u=this[i(1057)],c=this[i(795)][i(995)],f=i(816),l=i(748),v=i(1006),p=this[i(795)].starzEndpoint[i(538)](i(727))[1],_={apiKey:p[i(805)](0,p.length-1),eventType:"",deviceId:this.deviceIdStarz};if(t===i(779))return _[i(930)]=i(1124),_.properties={session_id:s,target_quality_resolution:e[i(617)][i(963)]+"X"+e[i(617)].height,target_quality_bitrate:e.targetQuality[i(1210)]},JSON[i(468)](_);var S=t;return"PAUSE"===S||S===i(560)||S===i(788)||S===i(840)||S===i(901)||S===i(954)?("PAUSE"===S?(_[i(930)]=i(1123),_[i(888)]={session_id:s,paused_position_milliseconds:1e3*r}):S===i(560)?(_.eventType=i(362),_[i(888)]={session_id:s,resumed_position_milliseconds:1e3*r}):S===i(788)||S===i(954)?(_[i(930)]=i(1074),_.properties={session_id:s,end_time_milliseconds:1e3*r}):S===i(840)?(_[i(930)]="SEEK_STARTED",_[i(888)]={session_id:s,start_position_milliseconds:1e3*r}):S===i(901)&&(_.eventType=i(1204),_[i(888)]={session_id:s,end_position_milliseconds:1e3*r}),JSON[i(468)](_)):S===i(674)?(_[i(930)]=i(478),_[i(888)]={session_id:s,player_name:n,player_version:a,os_name:o,os_version:h,platform_name:d,platform_version:u,device_type:"PC",content_id:c},JSON[i(468)](_)):"downloadFinished"===S?(_[i(930)]="DOWNLOAD_FINISHED",_.properties={session_id:s,http_status:e[i(943)],success:e.success,download_time:e[i(578)],size:e[i(924)],attempt:e[i(754)],max_attempts:e[i(449)],download_Type:e[i(1096)]},JSON.stringify(_)):"SES_ERROR"===S?(_[i(930)]="ERROR",_.properties={session_id:s,error_details:{code:e[i(927)],message:e[i(744)],content_id:c,detail:e[i(365)]},user_residency_country:"NA",user_residency_region:"NA",catalog_partner:v},JSON[i(468)](_)):S===i(1246)?(_[i(930)]=i(1113),_[i(888)]={session_id:s,warning_details:{code:e[i(927)],name:e[i(744)],timestamp:e.timestamp,data:e[i(365)],message:e[i(1211)]}},JSON[i(468)](_)):S===i(1200)?(_.eventType=i(1200),_[i(888)]={session_id:s},JSON[i(468)](_)):S===i(903)?(_[i(930)]=i(800),_.properties={session_id:s},JSON[i(468)](_)):S===i(457)?(_.eventType=i(298),_[i(888)]={session_id:s,startup_time_milliseconds:this[i(275)],content_id:c,affiliate_name:f,type:l,user_residency_country:"NA",user_residency_region:"NA",catalog_partner:v},JSON.stringify(_)):void 0}})),p(g,M(869),(function(){var t=M;if(this[t(795)]&&!this[t(795)][t(692)]&&this[t(267)]){this._SESEventToSend[t(644)];for(var e=0;e<this[t(958)].length;e++){var i=new XMLHttpRequest,s=JSON[t(546)](this[t(958)][e]),r=this[t(267)]+s.eventType;i[t(660)](t(555),r,!0),i[t(358)]=this[t(1130)],i[t(960)](t(304),"*"),i[t(960)](t(989),t(941)),i.onerror=function(){var e=t;console[e(920)](e(590))},i[t(1239)](this[t(958)][e]),this[t(958)][e]=null}return this[t(958)]=[],0}})),p(g,M(321),(function(t){var e,i,s=M;this[s(619)](s(950)),this._modeFromResponse=t[s(360)],this[s(1008)](t[s(280)]),void 0!==t.maxStepsUp&&(isNaN(t[s(791)])||(e=t[s(791)])),void 0!==t[s(1223)]&&(isNaN(t[s(1223)])||(i=t[s(1223)])),void 0===e&&void 0===i&&void 0!==t[s(324)]&&!isNaN(t[s(324)])&&(e=i=t.maxSteps),this[s(743)](e,i),this.reportServerTimeStamp(t[s(587)]),this.reportProducer(t[s(1114)],t.statsInterval),this[s(1145)](),this[s(880)]=!0,this[s(389)]=!1})),p(g,M(831),(function(t,e){var i=M;void 0!==t&&(this[i(524)]=t),void 0!==e&&(this[i(693)]=e)})),p(g,"reportRegistrationFailure",(function(){var t=M;this[t(619)]("FAILED"),this[t(899)]=void 0,this[t(549)]=null,this[t(376)]=-1,this[t(352)]=[],this[t(958)]=[],this[t(416)]=[],this[t(430)]()})),p(g,M(1133),(function(){var t=M;this[t(534)](this[t(1250)])[t(435)]((function(e){var i=t,s=JSON.parse(e);s&&s.timestamp&&this[i(364)](s[i(587)])}))[t(455)]((function(t){}))})),p(g,"addSegInfo",(function(t){var e=M;this[e(931)]&&-1!=t[e(1059)]&&this[e(931)][e(1059)]==t[e(1059)]&&this[e(931)][e(432)]===t[e(432)]&&this._prevSegInfo[e(452)]===t[e(452)]&&this[e(1188)]++<10||this[e(931)][e(452)]===t.cbrBitrate&&this[e(931)][e(977)]===t.res||t.cbrBitrate&&(this[e(668)]>0&&(t[e(863)]=parseFloat((1024*this._downloadRate)[e(570)](2))),this._bufferLength>=0&&(t[e(1222)]=parseInt(this[e(253)])),t[e(868)]?t[e(713)]<0&&(t[e(868)]=t[e(533)]=0):t[e(713)]>0?t[e(868)]=t.qbrSize=t[e(713)]*t[e(452)]:t[e(868)]=t[e(533)]=0,t[e(587)]=this.getCorrectedCurrentTimeinMs(),this[e(322)].qubitData[this[e(1249)]][e(935)][e(773)](t),this._prevSegInfo=t[e(332)]===Array?t[length-1]:t,this._segINfoStatus=!0,this._segRepeatationCount=0)})),p(g,M(368),(function(t){var e=M;void 0!==t&&t>0&&(this[e(668)]=t/1024,this[e(466)]=this[e(466)]+1,this[e(942)]=this[e(668)]+this[e(942)])})),p(g,"reportBufferLength",(function(t){t>=0&&(this[M(253)]=t)})),p(g,M(302),(function(){var t=M;delete this[t(613)][t(481)][this[t(1249)]][t(850)]})),p(g,M(601),(function(t,e){var i=M;typeof this[i(613)][i(481)][this[i(1249)]][i(731)]===i(608)&&(this._eventMetric[i(481)][this[i(1249)]][i(731)]={}),typeof this[i(322)].qubitData[this[i(1249)]][i(731)]===i(608)&&(this[i(322)][i(481)][this[i(1249)]].customTags={});var s=this[i(613)][i(481)][this[i(1249)]][i(731)];s[t]=e,this[i(613)][i(481)][this._recordIndex][i(731)]=s,this._statsMetric[i(481)][this._recordIndex].customTags=s})),p(g,M(251),(function(t){var e=M;void 0!==t[e(1052)]&&null!==t[e(1052)]&&this[e(489)](this[e(1228)][e(1048)],t.assetId),void 0!==t[e(696)]&&null!==t[e(696)]&&this[e(489)](this[e(1228)][e(377)],t[e(696)]),t[e(685)]&&this.setContentMetadata(this[e(1228)].VIDEOID,t[e(685)]),t[e(564)]&&this[e(489)](this[e(1228)][e(536)],t[e(564)]),t[e(695)]&&this[e(489)](this[e(1228)].DRMPROTECTION,t[e(695)]),t[e(312)]&&this.setContentMetadata(this[e(1228)][e(783)],t[e(312)]),t[e(529)]&&this[e(489)](this[e(1228)].GENRE,t.genre),t[e(471)]&&this.setContentMetadata(this[e(1228)][e(1058)],t[e(471)]),t[e(1235)]&&this.setContentMetadata(this.attributes[e(944)],t[e(1235)]),t.videoType&&this[e(489)](this[e(1228)][e(968)],t.videoType)})),p(g,"setContentMetadata",(function(t,e){var i=M;null!=e&&(this[i(322)][i(481)][this[i(1249)]][i(487)][t]=e,this[i(613)][i(481)][this[i(1249)]][i(487)][t]=e)})),p(g,M(632),(function(t){var e=M;t&&(this[e(611)]=t,this[e(724)](this.attributes[e(657)],this[e(611)]))})),p(g,M(1041),(function(t){this._deviceType=t})),p(g,M(1008),(function(t){this._cfVal=t})),p(g,M(355),(function(){return this[M(686)]})),p(g,M(743),(function(t,e){var i=M;t>=0&&(this[i(878)]=t),e>=0&&(this[i(443)]=e)})),p(g,"getMaxStepsToSwitch",(function(){return[this[M(878)],this._maxStepDown]})),p(g,M(1181),(function(t){var e=M;t&&(this[e(872)]=t,this.setClientInfo(this[e(1228)][e(961)],this[e(872)]))})),p(g,M(523),(function(t){var e=M;t&&(this[e(1076)]=t,this.setClientInfo(this.attributes[e(806)],this._wifiSignalStrenth))})),p(g,M(553),(function(t){var e=M;t&&(this[e(669)]=t,this[e(724)](this.attributes[e(507)],this[e(669)]))})),p(g,M(364),(function(t){var e=M;this._baseServerTimeStampMS=t,this[e(450)]()})),p(g,M(607),(function(t,e){var i=M;this[i(899)]=t,this[i(376)]=e})),p(g,M(985),(function(t){var e=M;this[e(267)]=t,this[e(984)]=this.GenerateDeviceIdStarz()})),p(g,M(1147),(function(t){var e=M;this[e(1250)]=t,this[e(1229)](this.attributes[e(1159)],this[e(1250)]),this[e(655)]()})),p(g,M(1208),(function(t,e,i){var s=M;t&&(this[s(817)]=t),e&&(this[s(537)]=e),i&&(this[s(306)]=i)})),p(g,M(431),(function(t,e){var i=M;this[i(1142)]=t,this[i(1149)]=e})),p(g,M(627),(function(t){var e=M;this[e(844)]=t,this.setPBStats(this[e(1228)][e(444)],this[e(844)])})),p(g,"reportABRSwitch",(function(t,e){var i=M;t<e?this[i(947)]++:t>e&&this[i(799)]++;var s=i(254)+t+", New: "+e;this[i(313)]("BITRATE_SHIFT",s,i(543),this[i(808)]),this.setSegInfo(this.attributes.CBRBITRATE,e)})),p(g,M(1145),(function(){var t=M;this[t(655)](),this.sendQueuedStats(),this[t(594)]()})),p(g,"sendQueuedStats",(function(){var t=M;if(void 0!==this[t(899)]){for(var e=0;e<this[t(416)][t(644)];e++){var i=this[t(416)][e],s=new XMLHttpRequest;s[t(660)](t(555),this[t(899)],!0),s.timeout=this[t(1130)],s[t(960)](t(304),"*"),s[t(960)](t(989),t(941)),s[t(1239)](i),this._lastStatsPostedAtTS=this[t(565)](),this[t(416)][e]=null}this._statsToSend=[]}})),p(g,M(815),(function(t,e,i){var s=M;this[s(1032)]=t,this._playerModel=e,this[s(1101)]=i})),p(g,"reportAppInfo",(function(t,e){this._appName=t,this._appVersion=e})),p(g,M(407),(function(t){this[M(599)]=t})),p(g,M(766),(function(t){this[M(369)]=t})),p(g,"reportManifestLoaded",(function(t){var e=M;this[e(313)]("MANIFEST_LOADED","Manifest Load Complete",e(919),this[e(808)])})),p(g,M(982),(function(t){this[M(279)]=t})),p(g,"reportDeviceInfo",(function(t,e,i,s,r,n,a,o){var h=M;t&&(this[h(1177)]=t),e&&(this[h(1057)]=e),i&&(this._deviceOs=i),s&&(this._deviceOsVersion=s),r&&(this._deviceOperator=r),a&&(this[h(1142)]=a),o&&(this[h(1149)]=o),n&&(this._deviceMarketingName=n),this[h(649)]()})),p(g,"reportMetricValue",(function(t,e){var i=M;t===c[i(488)]?(this[i(275)]=parseFloat(e[i(570)](2)),this[i(1087)]=!0):t===c.ServerAddress?this[i(724)](this[i(1228)][i(854)],e):c[i(1084)]})),p(g,M(1201),(function(){var t=M;if(this[t(721)]){if(!this[t(721)][t(966)]||this._isBufferingState)return;this._isBufferingState=!0;var e=this[t(565)]();populateAdRelatedInfo(e),this[t(959)]=e,this[t(470)](this[t(1228)].SUMBUFFERING,this._adSumBuffWait),notifyEvent(t(398),t(1128),t(398),null),_adInformation[t(272)]=e}})),p(g,M(833),(function(){var t=M;if(this[t(721)]){if(!_adInformation[t(966)]||0==this[t(392)])return;if(this[t(875)]=t(603),this._isBufferingState=!1,this[t(502)]===h[t(635)]){var e=this[t(565)]();this[t(959)]&&(this[t(573)]=e-this[t(959)],this[t(271)]=this[t(271)]+this._adBuffWaitForInterval,this[t(542)](this[t(1228)][t(903)],this[t(573)]),this[t(470)](this[t(1228)][t(262)],this._adSumBuffWait),this[t(959)]=0)}}})),p(g,M(499),(function(){var t=M;this[t(1233)]()!==I[t(972)]||this[t(392)]||(this[t(392)]=!0,this[t(959)]=this[t(565)](),this[t(681)]++,this[t(470)](this[t(1228)][t(262)],this[t(740)]),this[t(470)](this[t(1228)][t(340)],this[t(349)]),this[t(470)](this[t(1228)][t(602)],this[t(832)]),this[t(313)](t(755),t(503),"BUFFERING_START",this[t(808)]))})),p(g,M(606),(function(){var t=M;this.getEPState()===I.STARTED&&(this.notifyEvent(t(1241),t(1038),t(1241),this[t(808)]),this[t(392)]=!1,this[t(276)]())})),p(g,M(1027),(function(t,e){var i=M;this.notifyEvent(t,e,t,this[i(808)])})),p(g,M(531),(function(){var t=M,e=this[t(565)]();this[t(1233)]()===I[t(1243)]?(this[t(605)]=e,this[t(313)](t(674),"Player Initializing..",t(674),0),this.notifyPackager("ONLOAD"),this.setEPState(I[t(1060)])):console.log(t(284))})),p(g,"reportPlayerState",(function(t){var e=M,i=this[e(1233)](),s=this[e(565)]();this[e(470)](this.attributes.SUMBUFFERING,this[e(740)]),this[e(470)](this[e(1228)][e(340)],this[e(349)]),this[e(470)](this[e(1228)][e(602)],this._sumBuffWaitVRT);var r=!1,n=!1;switch(t){case h[e(635)]:if(this._seekState=d.Playing,this[e(502)]==h.PAUSED&&i===I[e(1060)]&&(this[e(729)]=s-this[e(366)],this[e(470)](this[e(1228)].PAUSEDURATION,this[e(729)]),this[e(366)]=0,this[e(313)](e(560),e(761),"RESUME",this[e(808)]),this[e(594)](),this[e(275)]=this._initLatency-this[e(729)],n=!0),i===I[e(1060)]){if(!this[e(1087)]){var a=s-this[e(605)];this[e(275)]=a,this[e(1140)]&&this[e(721)]&&this._initLatency>0&&(this[e(474)]>0&&(this[e(275)]-=this[e(474)]),this[e(275)]>0&&this[e(721)][e(1029)]>0&&(this._initLatency-=this[e(721)][e(1029)]),this[e(275)]>0&&this._adPauseDuration>0&&(this[e(275)]-=this[e(1063)])),this[e(275)]<0&&(this[e(275)]=0)}this[e(414)]=s,this._statsMonitorStartedAtTS||(this[e(335)]=s),this[e(542)](this[e(1228)][e(986)],this._initLatency),this[e(296)](I[e(972)]),this[e(639)](e(457)),this[e(1140)]?this[e(313)](e(809),e(1225),"START_AFTER_AD",this[e(808)]):this.notifyEvent(e(457),e(314),"START",this[e(808)]),this[e(605)]=0,this[e(594)](),n=!0,this[e(1253)]=this._pbTime}else if(i===I[e(972)]&&this._prevPlayerState===h[e(853)])this[e(366)]&&(this[e(729)]=s-this[e(366)],this[e(470)](this[e(1228)][e(735)],this._pauseDuration),this._epocTime+=this._pauseDuration,this._pauseStartTime=0,this._bufferStartTime=s,this[e(313)](e(560),"Playback resumed",e(560),this._pbTime),this[e(639)](e(560)),this[e(392)]&&(this[e(392)]=!1,r=!0),this.startMonitoring(),n=!0,this._pbTimeBeforeAdStart=this[e(808)]);else if(i===I[e(259)]&&this._prevPlayerState===h[e(259)]){var o=this[e(689)](),u=this.getStreamId(),c=this._mode;this[e(521)](),this[e(1135)](),this[e(1147)](c),this[e(509)](o[e(1137)],o.minRes,o[e(1044)],o[e(671)],o[e(1092)],o[e(511)]),this[e(1089)](o.totalDuration),this[e(592)](u[e(402)]),this[e(296)](I[e(1243)]),this[e(531)](),this[e(598)](h[e(635)]),this.setEPState(I.STARTED),n=!0}break;case h[e(853)]:(i===I[e(972)]||i===I.ONLOAD_SENT)&&(this[e(628)](),this[e(366)]=s,this[e(313)](e(774),e(852),"PAUSE",this[e(808)]),this[e(639)](e(774)),this.stopMonitoring(),n=!0,this[e(1253)]=this[e(808)]);break;case h[e(259)]:if(!0===this._simulatedEndedSent||i===I.STOPPED||void 0===this[e(502)]||this._prevPlayerState===h[e(259)])break;this[e(594)]();var f=this[e(740)]+this[e(275)];this.setBufPBEvent(this[e(1228)].SUMBUFFERING,f),this[e(900)]&&this[e(628)](),this[e(900)]<=0||this._pbTime<.9*this[e(900)]?(this.notifyEvent(e(954),e(1014),e(954),this._pbTime),this[e(639)](e(954))):(this[e(313)](e(788),e(1014),e(788),this[e(808)]),this[e(639)]("COMPLETE")),this.stopMonitoring(),this[e(880)]=!1,this[e(296)](I[e(259)]),n=!0;break;default:return void y.log("INFO",e(498))}n&&(this[e(502)]=t),r&&this[e(499)]()})),p(g,M(1081),(function(t,e){var i=M;this[i(757)](e),this.getEPState()>=I[i(1060)]&&this[i(313)]("ERROR",t,i(339),this._pbTime)})),p(g,M(395),(function(t){return null!=t&&t[M(644)]})),p(g,M(422),(function(t){var e=M;this[e(313)](e(1080),t,e(1080),this[e(808)])})),p(g,M(574),(function(t){var e=M;this.notifyEvent(e(475),t,e(475),this[e(808)])})),p(g,"reportPlaybackRateChange",(function(){var t=M;this[t(313)](t(893),"Playback Rate Changed",t(893),this._pbTime)})),p(g,M(747),(function(){var t=M;this[t(313)]("DURATION_CHANGE",t(569),t(1015),this._pbTime)})),p(g,M(383),(function(){var t=M;this[t(1197)]=d.SeekStarted,this[t(313)](t(751),t(1017),t(751),this[t(808)])})),p(g,M(822),(function(t){var e=M,i=this.getCurrentTimeinMs();this[e(1233)]()===I.STARTED&&(this[e(366)]&&(this._epocTime+=i-this[e(366)]),this.setPlaybackPos(t),this[e(1197)]=d[e(787)],this[e(313)](e(620),"Playback Seek Completed",e(620),t/1e3),this[e(639)](e(901)),this[e(366)]&&(this[e(414)]-=i-this[e(366)]))})),p(g,M(521),(function(){var t=M;this[t(880)]&&this.getEPState()===I.STARTED&&(this[t(598)](h[t(259)]),this[t(880)]=!1,this[t(389)]=!0),this[t(1250)]=null,this[t(253)]=0,this._downloadRate=0,this[t(466)]=0,this[t(942)]=0,this[t(353)]=!0,this[t(514)]=0,this[t(881)]=0,this[t(335)]=0,this[t(681)]=0,this[t(1249)]=0,this[t(591)]=-1,this[t(947)]=0,this._pbTime=0,this[t(1127)]=0,this._pbTimeBeforeAdStart=0,this[t(799)]=0,this[t(698)]=0,this[t(454)]=0,this[t(900)]=0,this[t(417)]=0,this[t(740)]=0,this._sumBuffWaitCIRR=0,this[t(1182)]="",this[t(832)]=0,this[t(275)]=0,this[t(605)]=0,this[t(1245)]=!1,this[t(1087)]=!1,this._prevPlayerState=void 0,this._prevSegInfo={},this._pauseStartTime=0,this[t(729)]=0,this[t(666)]=0,this[t(1079)]=0,this.adPosition=0,this._adBeforePlayback=!1,this[t(959)]=0,this[t(392)]=!1,this[t(739)]=0,this[t(414)]=0,this[t(575)]={},this[t(322)][t(481)]=[],this[t(613)][t(481)]=[],this[t(322)].qubitData[t(773)](this[t(274)]()),this[t(613)][t(481)][t(773)](this[t(291)]()),this[t(352)]=[],this[t(958)]=[],this[t(984)]="",this[t(416)]=[],this[t(1132)]="",this[t(1188)]=0,this._maxSteps=0,this[t(878)]=0,this[t(443)]=0,this.index=0,this.setEPState(I.IDLE)})),p(g,M(1135),(function(){var t=M;this[t(1229)](this[t(1228)][t(554)],parseInt(this._customerID)),this[t(1229)](this[t(1228)][t(308)],t(1230)),this.setStreamID(this[t(1228)][t(1169)],this[t(825)]),this[t(1132)]=this[t(630)](),this[t(984)]=this[t(411)](),this[t(1229)](this[t(1228)][t(975)],this[t(1132)]),this.setStreamID(this[t(1228)].DOMAINNAME,this[t(1070)]()),this[t(1229)](this[t(1228)].STREAMURL,this[t(1093)]),this[t(1229)](this[t(1228)].PLAYERVERSION,this[t(1101)]),this[t(379)](this[t(1228)][t(737)],this[t(464)]),this[t(379)](this[t(1228)][t(518)],this[t(782)]),this[t(724)](this[t(1228)][t(618)],this[t(951)]),this[t(724)](this[t(1228)][t(567)],this._deviceBrand),this[t(724)](this[t(1228)][t(1185)],this[t(1057)]),this.setClientInfo(this.attributes[t(705)],this[t(1206)]),this[t(724)](this[t(1228)][t(745)],this[t(648)]),this[t(724)](this.attributes[t(317)],this._deviceOperator),this.setClientInfo(this[t(1228)][t(657)],this._networkType),this.setClientInfo(this[t(1228)][t(961)],this[t(872)]),this[t(724)](this[t(1228)][t(507)],this[t(669)]),this[t(724)](this[t(1228)][t(806)],this[t(1076)]),this[t(724)](this.attributes[t(1046)],this[t(1004)]),this.setClientInfo(this[t(1228)][t(1209)],this[t(654)]),this[t(724)](this.attributes[t(388)],this[t(333)]),this[t(544)](),this.setSubscriberType(),this[t(412)](),this[t(643)](),this[t(251)](this[t(1050)]),this.setScreenRes(),this[t(296)](I[t(1243)])})),p(g,M(630),(function(){var t=M,e=(new Date)[t(851)](),i=t(359)[t(400)](/[xy]/g,(function(i){var s=t,r=(e+32*Math[s(970)]())%32|0;return e=Math[s(665)](e/32),("x"==i?r:3&r|8)[s(702)](32)}));return i+=(new Date)[t(851)](),this[t(825)]&&(i+="_"+this[t(825)]),this[t(1032)]&&(i+="_"+this[t(1032)]),this[t(336)]&&(i+="_"+this[t(336)]),this[t(1101)]&&(i+="_"+this[t(1101)]),(i=i.replace(/\//gi,"_"))[t(400)](/\s/gi,"_")})),p(g,M(1070),(function(){var t=M;return!this[t(395)](this[t(765)])&&(this[t(765)]=this.getDefaultDomainName()),this[t(765)]})),p(g,M(556),(function(){var t=M,e=window[t(1194)].hostname;if(typeof e===t(608)&&typeof document[t(1194)]!==t(608)){var i=document[t(1194)][t(361)]("//")+2;e=document.location[t(805)](i,document[t(1194)].indexOf("/",i))}return e})),p(g,"isEmpty",(function(t){var e=M;for(var i in t)if(t[e(661)](i))return!1;return!0})),p(g,"getCustomTag",(function(t){return this._customTag[t]})),p(g,M(639),(function(t,e){var i,s=M;this.sesRequirements&&(this&&this[s(795)][s(692)]&&((i="SES_ERROR"===t||t===s(1246)?this[s(709)](t,e):this[s(709)](t,this[s(808)]))&&this[s(958)][s(773)](i),this.sendEventToToolbox()),this&&this[s(795)].isStarz&&((i=t===s(779)||"SES_ERROR"===t||"downloadFinished"===t||"SES_WARNING"===t?this.packageStarzEvent(t,e):this[s(767)](t,this[s(808)]))&&this[s(958)][s(773)](i),this[s(869)]()))})),p(g,M(462),(function(t){this[M(795)]=t})),p(g,M(1180),(function(t){var e=M;if(this.sesRequirements){var i=new XMLHttpRequest;i[e(660)](e(257),t,!0);var s=this;i[e(874)]=function(){var t=e;if(200===i[t(1036)]){var r=JSON[t(546)](i[t(373)]);s[t(795)][t(692)]?(s[t(985)](r[t(1166)]),s[t(795)][t(1166)]=r[t(1166)],s[t(795)].toolboxEndpoint_profiledId=r[t(645)],s[t(357)]()):s[t(795)][t(855)]&&(s[t(985)](r[t(616)]),s[t(795)][t(616)]=r[t(616)])}else console[t(920)]("Error while fetching MM URL tracker file "+i[t(373)])},i.send()}})),p(g,M(313),(function(t,e,i,s){var r=M;if("object"===_(e)&&(e=r(764)+e),"FAILED"!==this._regStatus){this[r(613)][r(871)]=this.getPlayDur();var n=this._eventMetric.qubitData[this[r(1249)]][r(987)][this.attributes[r(1094)]];0!==t[r(361)](r(1085))?this.clearAdInfo():(void 0!==this[r(721)][r(810)]&&(this[r(613)][r(481)][this._recordIndex][r(987)][this[r(1228)].SCREENRES]=this[r(721)][r(810)]),this[r(613)].playDur=parseInt(this[r(381)]())),s=s?parseFloat(s):parseFloat(0),!this[r(613)][r(871)]&&(this._eventMetric[r(871)]=0),this[r(613)][r(481)][this[r(1249)]][r(1257)][r(867)]=t,this._eventMetric[r(481)][this[r(1249)]].pbEventInfo[r(1237)]=e,this._eventMetric[r(481)][this[r(1249)]][r(1257)].id=i,this._eventMetric.qubitData[this._recordIndex][r(1257)][r(405)]=parseFloat(s.toFixed(2)),this[r(575)][r(587)]=this[r(613)].timestamp=this[r(991)](),this[r(900)]>0&&(this[r(1127)]=this[r(808)]/this._totalDuration*100,this._qoeMetric[this[r(1228)].PROGRESSMARK]=parseFloat(this[r(1127)][r(570)](2))),this._eventMetric.interval=this[r(376)],this[r(613)].pbTime=parseFloat(s[r(570)](2)),Object[r(996)](this[r(575)])[r(644)]&&this[r(613)][r(481)][this[r(1249)]][r(282)].push(this._qoeMetric),this[r(613)].qubitData[this[r(1249)]][r(282)][0][r(661)](this[r(1228)][r(903)])&&delete this[r(613)][r(481)][this[r(1249)]].pbInfo[0][this.attributes[r(903)]],this._eventMetric.qubitData[this._recordIndex][r(282)][0][r(661)](this[r(1228)][r(459)])&&delete this[r(613)][r(481)][this[r(1249)]][r(282)][0][this.attributes[r(459)]],this[r(613)][r(481)][this[r(1249)]].pbInfo[0].hasOwnProperty(this[r(1228)][r(776)])&&delete this._eventMetric[r(481)][this[r(1249)]][r(282)][0][this[r(1228)][r(776)]];var a=JSON[r(546)](JSON[r(468)](this[r(613)]));this._eventToSend.push(a),this[r(655)](),this[r(613)][r(481)][this[r(1249)]][r(987)][this[r(1228)][r(1094)]]=n,this[r(613)].qubitData[this[r(1249)]][r(850)]=void 0,this._eventMetric[r(481)][this._recordIndex][r(1257)]={},this._eventMetric[r(481)][this[r(1249)]][r(282)]=[],this[r(875)]=t,this._qoeMetric[r(661)](this[r(1228)][r(986)])&&delete this[r(575)][this[r(1228)][r(986)]],this[r(575)][r(661)](this.attributes[r(735)])&&delete this._qoeMetric[this.attributes[r(735)]]}})),p(g,M(1136),(function(){this._downshiftCount++})),p(g,M(248),(function(){this[M(947)]++})),p(g,M(1121),(function(){return this[M(275)]})),p(g,"getBuffWait",(function(){return this._sumBuffWait})),p(g,M(1238),(function(){return this[M(681)]})),p(g,M(1229),(function(t,e){var i=M;null!=e&&(this[i(322)][i(481)][this[i(1249)]][i(375)][t]=e,this._eventMetric[i(481)][this[i(1249)]][i(375)][t]=e)})),p(g,M(547),(function(t){var e=M;typeof t!==e(608)&&String(t)[e(644)]>0&&(statsMetric.qubitData[this._recordIndex].streamID[e(360)]=t,eventMetric[e(481)][this[e(1249)]].streamID.mode=t)})),p(g,"setClientInfo",(function(t,e){var i=M;this[i(613)].qubitData&&(void 0===this._eventMetric[i(481)][this._recordIndex][i(987)]&&(this[i(613)].qubitData[this[i(1249)]][i(987)]={}),typeof this[i(322)][i(481)][this[i(1249)]][i(987)]===i(608)&&(this[i(322)][i(481)][this._recordIndex][i(987)]={}),e&&(this._statsMetric[i(481)][this[i(1249)]][i(987)][t]=e,this[i(613)][i(481)][this[i(1249)]][i(987)][t]=e))})),p(g,"setPlaybackPos",(function(t){this[M(808)]=t/1e3})),p(g,M(1193),(function(){return this[M(808)]})),p(g,M(542),(function(t,e){var i=M;if(t!==this.attributes[i(986)]){var s={};s[i(587)]=this[i(991)](),s[t]=parseFloat(e[i(570)](2)),s[this[i(1228)].PBTIME]=parseFloat(this._pbTime[i(570)](2)),this[i(900)]>0&&(this._progressMark=this._pbTime/this[i(900)]*100,s[this[i(1228)][i(566)]]=parseFloat(this._progressMark[i(570)](2))),t===this[i(1228)].BUFFERING&&(s[this[i(1228)].BUFFERINGTYPE]=this[i(1182)]),this[i(322)][i(481)][this[i(1249)]].pbInfo[i(773)](s)}(e||t==this.attributes[i(986)])&&(this[i(575)][t]=parseFloat(e.toFixed(2)))})),p(g,"setBufPBEvent",(function(t,e){var i=M;e&&(t in this[i(575)]&&t===this.attributes[i(903)]?this[i(575)][t]=parseInt(e):this[i(575)][t]=e)})),p(g,"setSDKInfo",(function(t,e){var i=M;e&&(this[i(322)].qubitData[this[i(1249)]][i(712)][t]=e,this[i(613)][i(481)][this[i(1249)]].sdkInfo[t]=e)})),p(g,"getPBStats",(function(t){return this[M(575)][t]})),p(g,"setDiagnostics",(function(t,e){var i=M;e&&(this[i(322)][i(481)][this[i(1249)]][i(1037)][t]=e)})),p(g,M(882),(function(t,e){var i=M;typeof t!==i(608)&&typeof e!==i(608)&&(this[i(322)][i(481)][this[i(1249)]][i(835)][t]=e,this._eventMetric.qubitData[this[i(1249)]][i(835)][t]=e)})),p(g,M(689),(function(){var t=M;return this[t(322)].qubitData[this[t(1249)]][t(835)]})),p(g,M(885),(function(){var t=M;return this._statsMetric.qubitData[this[t(1249)]][t(375)]})),p(g,M(356),(function(t,e){var i=M;e&&(this[i(322)][i(481)][this[i(1249)]][i(935)][t]=e)})),p(g,"setScreenRes",(function(){var t=M,e="";this.isValid(this[t(1149)])&&this[t(395)](this._presentationWidth)||this._presentationHeight>0&&this[t(1142)]>0?e=this[t(1142)]+"x"+this[t(1149)]:window.innerWidth&&window[t(463)]&&(e=window.innerWidth+"x"+window[t(463)]),this[t(724)](this.attributes.SCREENRES,e),this.setClientInfo(this[t(1228)][t(883)],this[t(369)]),this[t(724)](this[t(1228)][t(278)],this._deviceID),this[t(599)]?this[t(724)](this[t(1228)][t(1220)],this[t(599)]):window[t(753)](t(1205))&&window[t(753)]("(dynamic-range: high)")[t(1254)]&&this[t(724)](this[t(1228)].DEVICECAPABILITIES,t(1212))})),p(g,M(643),(function(){var t=M;void 0!==this._assetID&&null!==this[t(817)]&&this.setStreamID(this[t(1228)][t(1048)],this[t(817)]),void 0!==this[t(537)]&&null!==this[t(537)]&&this.setStreamID(this[t(1228)][t(377)],this._assetName),this[t(306)]&&this.setStreamID(this[t(1228)][t(785)],this[t(306)])})),p(g,M(652),(function(t,e,i){var s=M,r=t+"="+encodeURIComponent(e);"number"==typeof i&&(r+=s(1158)+24*i*60*60,document.cookie=r)})),p(g,M(285),(function(t){for(var e=M,i=document.cookie[e(538)](";"),s=0;s<i[e(644)];s++){var r=i[s][e(538)]("=");if(t==r[0].trim())return decodeURIComponent(r[1])}return null})),p(g,M(428),(function(){var t=M;return t(441)[t(400)](/[xy]/g,(function(e){var i=16*Math[t(970)]()|0;return("x"==e?i:3&i|8).toString(16)}))})),p(g,M(892),(function(){var t=M,e=this.getSubscriberIDCookie(t(440));!(null!=e)&&""!=(e=this.uuidv4_subscriberID())&&null!=e&&this[t(652)](t(440),e,730),""!=e&&null!=e&&this[t(1229)](this.attributes[t(772)],l()[t(247)](e))})),p(g,M(544),(function(){var t=M;this[t(1148)]?this.setStreamID(this[t(1228)][t(772)],l()[t(247)](this._subscriberID)):this[t(892)]()})),p(g,M(1067),(function(){var t=M;this[t(561)]&&this.setStreamID(this[t(1228)][t(504)],this[t(561)])})),p(g,M(412),(function(){var t=M;this[t(873)]&&this.setStreamID(this[t(1228)][t(939)],this[t(873)])})),p(g,"setVideoDuration",(function(t){var e=M;t&&(this[e(900)]=t,this[e(882)](this[e(1228)][e(378)],parseFloat(t.toFixed(2))))})),p(g,"setPresentationType",(function(t){var e=M;this[e(1229)](this[e(1228)][e(952)],t)})),p(g,"setPresentationStreamInfo",(function(t,e,i,s,r,n){var a=M;this[a(882)](this[a(1151)]()[a(328)],t),this[a(882)](this[a(1151)]()[a(763)],e),this.setStreamInfo(this[a(1151)]().MAXFPS,parseFloat(i)),this[a(882)](this[a(1151)]()[a(494)],parseFloat(s)),this[a(882)](this[a(1151)]().NUMPROFILE,r),this.setStreamInfo(this.getAttribute()[a(1184)],n)})),p(g,"reportTrackinfo",(function(t,e,i,s,r){var n=M;this.setStreamInfo(this[n(1151)]()[n(786)],t),this[n(882)](this.getAttribute()[n(687)],e),this[n(882)](this[n(1151)]()[n(1247)],i),this[n(882)](this[n(1151)]()[n(477)],s),this[n(882)](this[n(1151)]()[n(897)],r)})),p(g,M(382),(function(t){this[M(551)]=t})),p(g,M(501),(function(t){this._sdkVersion=f.SDK_CONFIG.sdkVersion+t})),p(g,M(491),(function(){return this[M(464)]})),p(g,M(746),(function(t){this._hintFileVersion=t})),p(g,"setBuffering",(function(){var t=M,e=this[t(565)]();this._bufferStartTime&&(this._buffWait=e-this[t(959)],this[t(740)]=this[t(740)]+this[t(417)],this[t(1197)]===d[t(827)]||this[t(1197)]===d[t(787)]?(this[t(832)]=this._sumBuffWaitVRT+this[t(417)],this[t(1182)]=t(325)):(this[t(349)]=this[t(349)]+this._buffWait,this[t(1182)]=t(1e3)),this.setPBStats(this.attributes[t(903)],this[t(417)]),this[t(470)](this.attributes.SUMBUFFERING,this._sumBuffWait),this[t(470)](this.attributes[t(340)],this[t(349)]),this[t(470)](this[t(1228)].SUMBUFFERINGVRT,this[t(832)]),this._bufferStartTime=0)})),p(g,M(450),(function(){var t=M,e=(new Date).getTime();this[t(454)]&&(this[t(454)]>e?(this[t(1018)]=-1,this._timeDeltaInMs=this[t(454)]-e):(this._timeShift=1,this._timeDeltaInMs=e-this[t(454)]))})),p(g,M(991),(function(){var t=M,e=(new Date).getTime();return this[t(1018)]>0?e-this[t(326)]:e+this[t(326)]})),p(g,M(565),(function(){var t=M;return(new Date)[t(851)]()})),p(g,M(928),(function(t){this._producerUrl=t})),p(g,M(508),(function(t){this[M(376)]=t})),p(g,"stopMonitoring",(function(){var t=M;this[t(1245)]=!1,this[t(881)]=0,this._statsMonitorStartedAtTS=0,this[t(437)]&&clearInterval(this[t(437)]),this[t(717)]&&clearInterval(this[t(717)]),this._timerObj=null,this[t(717)]=null,this[t(497)]&&clearInterval(this[t(497)]),this[t(497)]=null})),p(g,"startMonitoringForSES",(function(){var t=M;this[t(795)]&&(this&&this[t(795)][t(692)]&&null===this._timerObj2&&this[t(267)]&&(this._timerObj2=setInterval(this[t(397)][t(446)](this),3e5)),this&&this[t(795)][t(855)]&&null===this[t(717)]&&this[t(267)]&&(this._timerObj2=setInterval(this[t(771)][t(446)](this),6e4)))})),p(g,M(594),(function(){var t=M;this._regStatus===t(950)&&(this[t(1245)]=!0,null===this[t(437)]&&this[t(1233)]()===I[t(972)]&&this[t(376)]>0&&this[t(899)]&&(this[t(437)]=setInterval(this.sendQBRStats[t(446)](this),1e3*this._postInterval),this[t(795)]&&this[t(795)][t(692)]&&null===this[t(717)]&&this[t(267)]&&(this._timerObj2=setInterval(this.sendHeartbeatToToolbox[t(446)](this),3e5)),this[t(795)]&&this[t(795)].isStarz&&null===this[t(717)]&&this[t(267)]&&(this[t(717)]=setInterval(this[t(771)][t(446)](this),6e4)),this[t(335)]||(this[t(335)]=this[t(565)]()),this[t(497)]=setInterval(this[t(1133)][t(446)](this),12e4),this[t(1133)]()))})),p(g,M(1162),(function(t,e,i){var s=M,r=l().mm_md5(t+e+i);return r[s(997)](8,8)+r[s(997)](24,8)+r[s(997)](0,8)+r[s(997)](16,8)})),p(g,"sendEventInfo",(function(){var t=M;if(void 0!==this[t(899)]){if(this[t(1202)]!==t(922)){for(var e=0;e<this[t(352)][t(644)];e++){var i=this[t(352)][e];if(i&&i.qubitData[this[t(1249)]][t(375)]){if(!0===this[t(353)]?(i.timestamp=this[t(991)](),i[t(481)][this[t(1249)]][t(282)][0][t(587)]=i.timestamp,i[t(481)][this._recordIndex][t(375)][t(360)]=this[t(1250)],i[t(367)]=this[t(376)]):(isNaN(i[t(587)])||void 0===i.timestamp||null===i[t(587)])&&(i[t(587)]=this[t(991)]()),i[t(481)][this[t(1249)]][t(1257)][t(867)]===t(674))this[t(514)]=i[t(587)],this[t(549)]&&(i[t(481)][this[t(1249)]][t(375)][t(360)]=this[t(549)]);else if(i[t(481)][this._recordIndex].pbEventInfo[t(867)]!==t(903)&&"SEEKED"!==i[t(481)][this[t(1249)]][t(1257)][t(867)])this[t(549)]&&(i[t(481)][this[t(1249)]][t(375)][t(360)]=this[t(549)]);else{if(null===this[t(1250)])return;i[t(481)][this[t(1249)]][t(375)][t(360)]=this[t(1250)]}if(this[t(514)]&&i[t(481)][this[t(1249)]].pbEventInfo[t(867)]===t(457)){if(null===this[t(1250)])return;if(this._modeFromResponse=this[t(1250)],-1===this[t(900)]&&void 0===i.qubitData[this[t(1249)]][t(375)].isLive&&(i[t(481)][this._recordIndex].streamID[t(402)]=!0),void 0===i[t(481)][this[t(1249)]][t(375)][t(402)]&&this[t(900)]>=0&&(i.qubitData[this[t(1249)]][t(375)].isLive=!1),void 0===i.qubitData[this._recordIndex][t(375)][t(402)])return;i[t(481)][this[t(1249)]][t(375)][t(360)]=this._mode}if(this._onLoadSentAtTS&&(i[t(481)][this[t(1249)]][t(1257)][t(867)],t(809)),this[t(514)]&&"AD_BLOCK"===i[t(481)][this[t(1249)]][t(1257)].event&&(i[t(587)]=this[t(514)]),0===i[t(481)][this[t(1249)]].pbEventInfo[t(867)].indexOf(t(1085))&&(i.qubitData[this[t(1249)]][t(375)].mode=void 0),0===i[t(481)][this._recordIndex][t(1257)][t(867)][t(361)](t(1085))){if(!this._enableAdQoE)return void(this[t(352)][e]=null)}else if(!this[t(524)])return void(this._eventToSend[e]=null);console[t(920)](t(623),i[t(481)][this._recordIndex].pbEventInfo[t(867)]),i[t(481)][this._recordIndex][t(375)][t(1252)]=this[t(1162)](this._customerID,this[t(1132)],i[t(587)]);var s=JSON[t(468)](i),r=new XMLHttpRequest;r[t(660)](t(555),this[t(1114)],!0),r.timeout=this[t(1130)],r[t(960)](t(304),"*"),r[t(960)](t(989),t(941)),r.send(s),this[t(352)][e]=null}}this[t(353)]=!1,this[t(352)]=[]}}else this[t(352)][t(644)]>this[t(937)]&&this._eventToSend[t(1234)](this[t(937)]-4,2)})),p(g,M(628),(function(){var t=M;if(this[t(1202)]!==t(922)&&this[t(524)]&&(this._regStatus===t(793)||this._enableEP&&this[t(1233)]()===I[t(972)])){if(!1===this[t(476)]){var e=this[t(942)]/this[t(466)];!isNaN(e)&&e>0&&this[t(542)](this.attributes[t(807)],e),this._downloadRateCount=0,this[t(942)]=0}if(this[t(900)]>0&&(this[t(1127)]=this[t(808)]/this[t(900)]*100,this[t(542)](this.attributes[t(566)],parseFloat(this[t(1127)][t(570)](2)))),!1===this[t(469)]){if(this[t(322)]&&this[t(322)][t(405)]>-1&&parseFloat(this[t(322)][t(405)].toFixed(2))===parseFloat(this[t(808)][t(570)](2)))return;this._prevSegInfo&&this._prevSegInfo[t(452)]?(this._prevSegInfo[t(587)]=this.getCorrectedCurrentTimeinMs(),this[t(931)][t(713)]=-1,this._prevSegInfo[t(868)]=this._prevSegInfo[t(533)]=0,this[t(322)][t(481)][this[t(1249)]][t(935)][t(773)](this._prevSegInfo)):this._statsMetric.qubitData[this[t(1249)]].segInfo=[]}this[t(469)]=!1,this._bwExtSet=!1,this[t(322)].timestamp=this[t(991)](),this._statsMetric[t(405)]=parseFloat(this[t(808)][t(570)](2)),this[t(322)][t(871)]=this[t(1071)]();var i=this[t(335)]?this.getCurrentTimeinMs()-this._statsMonitorStartedAtTS:0;if(i=this[t(881)]?this[t(565)]()-this._lastStatsPostedAtTS:i,this._statsMetric[t(367)]=parseInt(i?i/1e3:0),"PENDING"!==this[t(1202)]&&!this[t(322)][t(367)])return;this[t(947)]>0&&this[t(542)](this[t(1228)].UPSHIFTCOUNT,this[t(947)]),this[t(799)]>0&&this.setPBStats(this[t(1228)].DOWNSHIFTCOUNT,this[t(799)]),this[t(322)].qubitData[this[t(1249)]][t(375)][t(1252)]=this.getChecksum(this[t(1186)],this[t(1132)],this[t(322)][t(587)]);var s=JSON[t(468)](this[t(322)]);if(this[t(322)][t(481)][this[t(1249)]].segInfo=[],this[t(322)][t(481)][this[t(1249)]][t(282)]=[],this._upshiftCount=0,this[t(799)]=0,this[t(416)].push(s),void 0!==this[t(899)]){for(var r=0;r<this._statsToSend[t(644)];r++){var n=this._statsToSend[r],a=new XMLHttpRequest;a[t(660)](t(555),this[t(899)],!0),a[t(358)]=this._httpPostTimeout,a[t(960)](t(304),"*"),a[t(960)](t(989),t(941)),a.send(n),this[t(881)]=this[t(565)](),this[t(416)][r]=null}this._statsToSend=[]}else this._statsToSend.length>this[t(937)]&&this[t(416)].splice(this[t(937)]-4,2)}})),p(g,"StreamInfo",(function(t,e,i,s,r,n,a,o,h,d,u){var c=M;return{maxRes:typeof t!==c(608)?t:c(480),minRes:typeof e!==c(608)?e:c(690),maxFps:typeof i!==c(608)?i:0,minFps:typeof s!==c(608)?s:0,numOfProfile:typeof r!==c(608)?r:0,totalDuration:void 0!==n?n:0,videoTrack:typeof a!==c(608)?a:c(343),subtitleTrack:typeof o!==c(608)?o:c(343),audioTrack:typeof h!==c(608)?h:c(343),isVDSActive:typeof d!==c(608)?d:c(343),isSubtitleActive:typeof u!==c(608)?u:c(343)}})),p(g,"getPlayDur",(function(){var t=M,e=this[t(565)]();return 0!==this[t(414)]?e>this[t(414)]&&(this._playDur=parseInt((e-this[t(414)])/1e3)):this[t(698)]=0,this[t(698)]})),p(g,"getAdPlayDur",(function(){var t=M,e=0;return this[t(721)]&&(e=this[t(721)]._adPlayDur),e})),p(g,M(1151),(function(){return this[M(1228)]})),p(g,M(861),(function(t,e,i,s,r,n){var a=M;return{streamURL:typeof t!==a(608)?t:a(583),assetId:void 0!==e?e:"",custId:typeof i!==a(608)?i:1111,sessionId:typeof s!==a(608)?s:a(642),isLive:typeof r!==a(608)&&r,dataSrc:typeof n!==a(608)?n:a(305)}})),p(g,M(905),(function(t,e,i,s,r,n,a,o,h,d){var u=M;return{assetId:typeof t!==u(608)?t:"",assetName:typeof t!==u(608)?e:"",contentType:typeof i!==u(608)?i:"",drmProtection:void 0!==s?s:"",episodeNumber:typeof r!==u(608)?r:"",genre:void 0!==n?n:"",season:typeof a!==u(608)?a:"",seriesTitle:typeof o!==u(608)?o:"",videoId:typeof h!==u(608)?h:"",videoType:void 0!==d?d:""}})),p(g,M(798),(function(t,e,i,s,r,n,a,o,h,d,u,c,f,l,v){var p=M;return{res:(p(608),t),qbrBitrate:typeof e!==p(608)&&e>0?e:0,cbrBitrate:typeof i!==p(608)&&i>0?i:0,qbrQual:void 0!==s?parseFloat(s[p(570)](2)):0,cbrQual:typeof r!==p(608)?parseFloat(r[p(570)](2)):0,dur:typeof n!==p(608)?n:0,seqNum:typeof a!==p(608)?a:0,startTime:typeof o!==p(608)?o:0,fps:typeof h!==p(608)?h:0,cbrProfileNum:typeof u!==p(608)?u:0,profileNum:void 0!==d?d:0,cbrSize:void 0!==c?Math[p(665)](c):0,qbrSize:typeof f!==p(608)?Math[p(665)](f):0,vCodec:typeof l!==p(608)?l:"",aCodec:void 0!==v?v:""}})),p(g,M(439),(function(t,e,i,s,r,n){var a=M;return{location:typeof t!==a(608)?t:"",operator:typeof e!==a(608)?e:"",cdn:typeof i!==a(608)?i:"",nwType:void 0!==s?s:"",platform:typeof r!==a(608)?r:"",scrnRes:typeof n!==a(608)?n:""}})),p(g,M(552),(function(t,e,i,s,r,n){var a=M;return{latency:typeof t!==a(608)?t:0,buffWait:typeof e!==a(608)?e:0,frameloss:void 0!==i?i:0,bwInUse:typeof s!==a(608)?s:0,lastTS:void 0!==r?r:0,playerState:typeof n!==a(608)?n:0}})),p(g,M(291),(function(){return{streamID:{},pbEventInfo:{},streamInfo:{},contentMetadata:{},sdkInfo:{},pbInfo:[]}})),p(g,"QBRMetricTemplate",(function(){return{streamID:{},streamInfo:{},contentMetadata:{},segInfo:[],pbInfo:[],sdkInfo:{}}})),p(g,M(707),(function(){var t=M;this[t(721)][t(810)]=void 0,this[t(721)][t(796)]=void 0,this[t(721)][t(1007)]=void 0,this[t(721)]._adDuration=void 0,this._adInformation[t(453)]=void 0,this._adInformation[t(1170)]=void 0,this[t(721)][t(1042)]=void 0,this[t(721)][t(1023)]=void 0,this._adInformation[t(1009)]=void 0,this[t(721)][t(666)]=void 0,this[t(721)][t(527)]=void 0,this[t(721)][t(348)]=void 0,this[t(721)][t(716)]=void 0,this[t(721)][t(341)]=void 0,this[t(721)]._playSent=!1,this[t(721)][t(714)]=void 0,this[t(721)][t(818)]=0,this[t(721)][t(347)]=-1,this._adInformation[t(272)]=-1,this[t(721)][t(571)]=!1,this[t(721)][t(1065)]=-2,this[t(721)]._adPodLength=-1,this[t(721)][t(646)]=-1,this[t(721)]._adScheduledTime=-1,this[t(866)]=0,this._adPauseStartTime=0,this[t(1256)]=0,this[t(474)]=0,this._adStartEpocTime=0,this._adBuffWaitForInterval=0,this[t(271)]=0,this[t(1063)]=0,this[t(1033)]=0,this._adLoadStartTime=0})),p(g,M(694),(function(){var t=M;this[t(721)][t(1009)]=null,this[t(721)][t(666)]=-1,this[t(721)][t(966)]=!1,this[t(721)]._adPlaybackStartWallClockTime=-1,this[t(721)]._adLastPlayingEventTimeStamp=-1,this[t(721)]._adLastAdEventTimeStamp=-1,this[t(721)][t(818)]=0,this[t(721)][t(1065)]=-2,this[t(721)][t(445)]=-1,this[t(721)][t(646)]=-1,this[t(721)]._adCreativeId=void 0,this._adInformation._adTitle=void 0,this[t(721)][t(716)]=void 0,this[t(721)][t(341)]=void 0,this._adEpocTime=0,this._adPauseStartTime=0,this[t(1256)]=0,this[t(474)]=0,this[t(1256)]=0,this[t(573)]=0,this._adSumBuffWait=0,this[t(1063)]=0,this[t(1033)]=0,this[t(1138)]=0})),p(g,M(775),(function(t,e){var i=M;if(null!=this._adInformation&&this[i(721)][i(966)]&&this[i(721)]._prevAdState!=a[i(582)]){var s=parseInt((t-this._adInformation[i(714)])/1e3);(e||s>0&&s%(this[i(539)]/1e3)==0)&&(this[i(721)]._adPlaybackStartWallClockTime=t,this[i(1005)](t),this[i(313)](i(834),"AD KEEP ALIVE","AD_PLAYING",this[i(351)](this._adInformation[i(666)])),this[i(721)]._adLastPlayingEventTimeStamp=t,this[i(721)]._adLastAdEventTimeStamp=this.getCurrentTimeinMs())}})),p(g,"resetAdInfoIfInitialState",(function(t){var e=M;null==this[e(721)]&&(this[e(721)]=new S),t==a[e(600)]||null==this[e(721)]._prevAdState?(this.resetAdvertisementInfo(),this[e(1138)]=this._adPauseStartTime=this[e(1063)]=this._adLoadTime=0,this[e(573)]=this[e(271)]=0):t==a.AD_IMPRESSION&&this[e(721)]._prevAdState!=a[e(790)]&&this[e(721)][e(1009)]!=a[e(600)]&&this[e(721)]._prevAdState!=a[e(493)]&&(this[e(694)](),this[e(1138)]=this[e(730)]=this[e(1063)]=this._adLoadTime=0,this[e(573)]=this[e(271)]=0);var i=Math[e(1161)](this._pbTime+3);null!=this[e(721)][e(453)]&&null!=this[e(721)][e(453)]||(this[e(1233)]()==I[e(972)]||this[e(808)]<=1?this[e(721)][e(453)]=e(1104):!this[e(721)][e(525)]&&this[e(721)][e(525)]!=h.STOPPED&&this[e(808)]>0&&i<this._totalDuration?this[e(721)][e(453)]="mid":(!this._adInformation[e(525)]&&this[e(721)].prevAdState==h[e(259)]||this[e(808)]>0&&i>=this[e(900)])&&(this[e(721)]._adPosition=e(520))),this[e(721)]._prevAdState=t})),p(g,M(1005),(function(t){var e=M;this[e(721)]&&(typeof this[e(613)][e(481)][this[e(1249)]][e(850)]===e(608)&&(this[e(613)][e(481)][this[e(1249)]][e(850)]={}),void 0!==this._adInformation[e(796)]&&(this[e(613)][e(481)][this[e(1249)]][e(850)][e(846)]=this[e(721)][e(796)]),void 0!==this[e(721)][e(1007)]&&(this[e(613)][e(481)][this[e(1249)]][e(850)].adId=this[e(721)]._adId),void 0!==this[e(721)][e(1029)]&&(this[e(613)][e(481)][this[e(1249)]][e(850)][e(1079)]=parseFloat((this[e(721)]._adDuration/1e3).toFixed(2))),void 0!==this[e(721)][e(453)]&&(this[e(613)][e(481)][this[e(1249)]][e(850)][e(813)]=this[e(721)][e(453)]),void 0!==this[e(721)][e(1170)]&&(this[e(613)][e(481)][this[e(1249)]][e(850)].adLinear=this[e(721)][e(1170)]),void 0!==this[e(721)]._adCreativeType&&(this[e(613)][e(481)][this[e(1249)]][e(850)][e(434)]=this._adInformation[e(1042)]),void 0!==this[e(721)]._adServer&&(this[e(613)][e(481)][this._recordIndex][e(850)].adSystem=this[e(721)][e(1023)]),void 0!==this[e(721)][e(810)]&&(this[e(613)][e(481)][this[e(1249)]].adInfo.adResolution=this[e(721)][e(810)]),void 0!==this[e(721)]._adTitle&&(this[e(613)][e(481)][this[e(1249)]][e(850)][e(370)]=this[e(721)][e(348)]),void 0!==this[e(721)]._adBitrate&&(this[e(613)][e(481)][this[e(1249)]].adInfo[e(517)]=this[e(721)][e(716)]),void 0!==this[e(721)][e(341)]&&(this[e(613)][e(481)][this[e(1249)]][e(850)][e(289)]=this._adInformation[e(341)]),void 0!==this[e(721)][e(527)]&&(this._eventMetric[e(481)][this._recordIndex][e(850)][e(264)]=this._adInformation[e(527)]),this[e(721)][e(445)]>0&&(this._eventMetric.qubitData[this._recordIndex][e(850)][e(585)]=this[e(721)][e(445)]),this._adInformation._adPodIndex>=-1&&(this._eventMetric[e(481)][this._recordIndex].adInfo[e(1109)]=this[e(721)][e(1065)]),this[e(721)][e(646)]>0&&(this[e(613)][e(481)][this[e(1249)]].adInfo[e(839)]=this[e(721)]._adPositionInPod),this[e(613)][e(481)][this[e(1249)]][e(850)][e(1207)]=this._adInformation._isBumper,this[e(613)][e(481)][this[e(1249)]].adInfo[e(1025)]=this[e(294)](t))})),p(g,M(294),(function(t){var e=M,i=0;return null!=this[e(721)]&&this._adInformation[e(272)]>0&&(null!=this._adPauseStartTime&&this[e(730)]>0&&(t=this._adPauseStartTime),i=1*(t-this[e(721)][e(272)])/1e3),this._adPauseDurationToOffsetFromInterval>0&&(i-=this[e(1033)]/1e3,this[e(1033)]=0),this[e(573)]>0&&(i-=this[e(573)]/1e3,this[e(721)][e(818)]+=this._adBuffWaitForInterval/1e3,this._adBuffWaitForInterval=0),i<0&&(i=0),this[e(721)]._adPlayDur+=i,i})),p(g,M(351),(function(t){var e=M;return parseFloat(1*t/1e3)[e(570)](2)})),p(g,M(1167),(function(t){var e=M,i=this[e(565)]();switch(this[e(528)](t),this[e(1005)](i),t){case a[e(1190)]:this.notifyEvent(e(662),e(1198),e(662),0);break;case a[e(493)]:this._adLoadStartTime=i,this[e(730)]=-1,this.notifyEvent("AD_IMPRESSION",e(949),e(493),0);break;case a[e(790)]:case a.AD_PLAY:this[e(1140)]=!0,0==this[e(721)][e(966)]&&(this[e(721)][e(966)]=!0,this[e(1138)]>0&&(this.loadStartTime>0&&(this[e(1138)],this[e(688)]),this._adLoadTime=i-this._adLoadStartTime,this[e(1063)]>0&&(this._adLoadTime-=this._adPauseDuration),this[e(474)]<0&&(this[e(474)]=0),this[e(721)]._adPlayDur+=Math[e(1161)](this[e(474)]/1e3)),this.populateAdRelatedInfo(i),this.setPBStats(this.attributes[e(986)],this._adLoadTime),this.notifyEvent("AD_PLAY",e(894),e(1126),0),this[e(1116)]=0,this[e(721)][e(347)]=this[e(721)][e(714)]=this.getCurrentTimeinMs(),this[e(721)][e(272)]=this[e(721)][e(347)]);break;case a[e(268)]:this[e(1140)]=!0,this[e(313)](e(973),"Ad has been clicked","AD_CLICK",this.millisecToSec(this[e(721)]._adPlaybackTime)),this[e(721)][e(272)]=i;break;case a[e(582)]:this._adPauseStartTime=this[e(565)](),this[e(313)]("AD_PAUSED",e(1213),e(582),this[e(351)](this._adInformation[e(666)])),this[e(721)]._adLastAdEventTimeStamp=i;break;case a[e(1183)]:this._adPauseStartTime>0&&(this[e(1063)]=i-this[e(730)],this[e(1063)]<0&&(this[e(1063)]=0),this[e(1033)]=this[e(1063)]),this[e(542)](this[e(1228)][e(735)],this[e(1063)]),this[e(1005)](i),this.notifyEvent("AD_RESUMED","Ad has been resumed",e(1183),this[e(351)](this[e(721)][e(666)])),this._adInformation[e(272)]=i,this._adPauseStartTime=-1;break;case a[e(545)]:this[e(1140)]=!0,this[e(271)]<0&&(this[e(271)]=0),this._adSumBuffWait+=1*this[e(474)],this.setBufPBEvent(this[e(1228)][e(262)],this[e(271)]),this[e(313)]("AD_SKIPPED",e(659),"AD_SKIPPED",this.millisecToSec(this._adInformation._adPlaybackTime)),this._adInformation._adLastAdEventTimeStamp=i,this[e(1253)]>0&&(this[e(808)]=this[e(1253)]);break;case a[e(350)]:this[e(1140)]=!0,this[e(271)]<0&&(this[e(271)]=0),this[e(271)]+=1*this[e(474)],this[e(470)](this[e(1228)][e(262)],this[e(271)]),this[e(721)][e(1029)]>0&&(this[e(721)][e(666)]-90*this[e(721)][e(1029)]/100>=0||Math.abs(this._adInformation[e(666)]-this._adInformation[e(1029)])<2)?this.notifyEvent(e(1146),"Ad completed playing",e(1146),this.millisecToSec(this._adInformation[e(666)])):(this[e(313)](e(847),e(841),e(847),this[e(351)](this._adInformation[e(666)])),this[e(1253)]>0&&(this[e(808)]=this[e(1253)])),this[e(721)][e(966)]=!1,this[e(721)][e(272)]=i;break;case a[e(847)]:this[e(1140)]=!0,this[e(271)]<0&&(this[e(271)]=0),this[e(271)]+=1*this._adLoadTime,this.setBufPBEvent(this[e(1228)][e(262)],this[e(271)]),this[e(313)](e(847),e(841),e(847),this.millisecToSec(this[e(721)][e(666)])),this[e(721)][e(966)]=!1,this._adInformation[e(272)]=i,this[e(1253)]>0&&(this[e(808)]=this[e(1253)]);break;case a[e(467)]:this[e(313)](e(467),event[e(1211)],"AD_ERROR",this.millisecToSec(this[e(721)][e(666)])),this[e(721)]._playSent=!1,this._adInformation[e(272)]=i,this[e(1253)]>0&&(this._pbTime=this[e(1253)]);break;case a.AD_REQUEST:this[e(313)](e(600),e(270),e(600),0);break;case a[e(834)]:this[e(775)](i,!1);break;case a[e(1047)]:this[e(313)](e(252),e(1139),e(252),this[e(351)](this[e(721)]._adPlaybackTime)),this[e(721)][e(272)]=i;break;case a[e(515)]:this.notifyEvent(e(626),e(597),e(626),this.millisecToSec(this[e(721)][e(666)])),this[e(721)][e(272)]=i;break;case a.AD_THIRD_QUARTILE:this[e(313)](e(677),e(890),"AD_PLAYED_THIRD_QUARTILE",this[e(351)](this[e(721)]._adPlaybackTime)),this._adInformation[e(272)]=i}})),p(g,M(759),(function(t,e){var i=M;this[i(1005)](),null==e&&(e=this[i(721)][i(666)]),void 0===e&&(e=0),this[i(313)](i(467),t,i(467),this[i(351)](e))})),p(g,M(908),(function(t){var e=M;if(t>=0&&this._adInformation){var i=this[e(565)]();this[e(721)][e(666)]=t,this.sendAdPlayingEvent(i,!1)}})),p(g,"reportAdInfo",(function(t){var e=M;!this[e(721)]&&(this[e(721)]=new S),t&&(void 0!==t[e(846)]&&(this[e(721)][e(796)]=t.adClient),void 0!==t[e(728)]&&(this[e(721)][e(1007)]=t[e(728)]),void 0!==t[e(1079)]&&(this[e(721)][e(1029)]=t.adDuration),void 0!==t[e(813)]&&(this[e(721)]._adPosition=t[e(813)]),void 0!==t[e(301)]&&(t[e(301)]?this[e(721)][e(1170)]=e(562):this[e(721)][e(1170)]=e(994)),void 0!==t[e(434)]&&(this[e(721)][e(1042)]=t.adCreativeType),void 0!==t[e(579)]&&(this[e(721)]._adServer=t.adServer),void 0!==t[e(292)]&&(this[e(721)][e(810)]=t[e(292)]),this._adInformation[e(571)]=t[e(1207)],t[e(1109)]>=-1&&(this[e(721)]._adPodIndex=t[e(1109)]),t.adPodLength>0&&(this[e(721)][e(445)]=t[e(585)]),t.adPositionInPod>0&&(this[e(721)][e(646)]=t[e(1049)]),t[e(390)]>=0&&(this[e(721)]._adScheduledTime=t.adScheduledTime),void 0!==t[e(289)]&&(this[e(721)][e(341)]=t[e(289)]),void 0!==t[e(264)]&&(this[e(721)][e(527)]=t.adCreativeId),void 0!==t.adTitle&&(this[e(721)][e(348)]=t[e(370)]),void 0!==t[e(517)]&&(this[e(721)][e(716)]=t[e(517)]))})),p(g,M(316),(function(){var t=M;return null===this[t(1250)]||"QBRDisabled-NoMetafile"==this[t(1250)]||this._mode==u[t(1236)]||this[t(1250)]==t(912)||this[t(1250)]==t(948)||this[t(1250)]==t(249)||this._mode==t(255)||this[t(1250)]==t(323)})),function(t,e){var i=n;for(var s in e)(o=e[s])[i(684)]=o[i(548)]=!0,i(836)in o&&(o.writable=!0),Object.defineProperty(t,s,o);if(Object[i(401)])for(var r=Object.getOwnPropertySymbols(e),a=0;a<r[i(644)];a++){var o,h=r[a];(o=e[h]).configurable=o[i(548)]=!0,i(836)in o&&(o[i(1091)]=!0),Object[i(371)](t,h,o)}}(g,C),g};n(261);var E=function(){var t=new XMLHttpRequest;return{doGet:function(e,i){return new Promise((function(s,r){var n,a,o=v;void 0!==i&&(e+=(n=i,a=v,"?"+Object[a(996)](n)[a(792)]((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(n[t])})).join("&"))),t[o(660)](o(257),e),t[o(358)]=25e3,t.onload=function(){var e=o;200==t[e(1036)]?s(t[e(373)]):r(Error(t[e(558)]))},t[o(762)]=function(){r(Error(o(540)))},t[o(1045)]=function(){r(Error("NetRequest Aborted"))},t[o(1131)]=function(){r(Error(o(293)))},t[o(1239)]()}))},cleanUp:function(){var e=v;t&&4!=t.readyState&&t[e(1045)]()}}};n(261),n(1068),n(641),n(261);var T=function(){var t,e=[],i=[];function s(t,e){var s=v;for(var r in i){var n=i[r];if(n[s(1077)]===t&&n[s(744)]===e)return n.instance}return null}function r(e,i,s,r){var a=v,o=n(s)[e];if(o){var h=o[a(1102)];if(!o[a(413)])return h[a(1171)]({context:s,factory:t},r);for(var d in h=h[a(1171)]({context:s,factory:t,parent:i},r))i[a(661)](d)&&(i[d]=h[d])}return i}function n(t){var i,s=v;return e[s(701)]((function(e){e===t&&(i=e)})),!i&&(i=e[s(773)](t)),i}return t={extend:function(t,e,i,s){var r=n(s);!r[t]&&e&&(r[t]={instance:e,override:i})},getSingletonInstance:s,setSingletonInstance:function(t,e,s){var r=v;for(var n in i){var a=i[n];if(a[r(1077)]===t&&a[r(744)]===e)return void(i[n][r(1102)]=s)}i[r(773)]({name:e,context:t,instance:s})},getSingletonFactory:function(t){return function(e){var n;return void 0===e&&(e={}),{getInstance:function(){var a=v;return!n&&(n=s(e,t[a(287)])),!n&&(n=r(t[a(287)],t[a(1171)]({context:e},arguments),e,arguments),i[a(773)]({name:t[a(287)],context:e,instance:n})),n}}}},getClassFactory:function(t){return function(e){return void 0===e&&(e={}),{create:function(){var i=v;return r(t[i(287)],t[i(1171)]({context:e},arguments),e,arguments)}}}}},t}();n(261);var A,D,R,y=(A=n,D=isNaN(f[A(720)][A(563)])?2:f[A(720)][A(563)],R={VERBOSE:6,DEBUG:5,INFO:4,ANALYZE:3,WARN:2,ERROR:1,OFF:0},{setLogLevel:function(t){t<0&&(t=0),D=t},log:function(t,e){var i=A;(function(t){var e=A;for(var i in R)if(i===t)return R[i];return R[e(697)]})(t)<=D&&console[i(920)]("["+t+i(1191)+e)}});function P(){var t=["audio","<![CDATA[","reportPlayerSeekCompleted","title","index","_playerName","Cellular_4G","SeekStarted","addEventListener","version","reportManifestLoaded","setSDKQoEConfig","_sumBuffWaitVRT","reportAdBufferingCompleted","AD_PLAYING","streamInfo","value","crsUrl","deviceId","adPodPosition","SEEKING","Ad ended","MEDIA_LOADED","reportChunkRequest In","frameloss","mp4","adClient","AD_ENDED","qbrBitrate","postInterval","adInfo","getTime","Playback Paused","PAUSED","CDN","isStarz","crsEnabled","USER_CLOSED_AD"," reportPlaybackPosition In :","_asArray","currentTime","StreamID","crsInterval","downloadRate","wifissid","downshiftCount","_adEpocTime","event","cbrSize","sendEventToStarz","PROGRESS","playDur","_wifiSSID","_subscriberTag","onload","_playbackStatus","0123456789abcdef","reportAppInfo","_maxStepUp","Invalid streamURL","_inProgress","_lastStatsPostedAtTS","setStreamInfo","VIDEOQUALITY","_duration","getStreamId","video","_width","properties","updateSubscriberID","Ad reached third quartile","object","checkSubscriberIDCookie","RATE_CHANGE","Ad Playback started","create","_onPlaybackStart","ISSUBTITLEACTIVE","adPodInfo","_producerURL","_totalDuration","SEEKED"," reportAppInfo In","BUFFERING","progressMark","ContentMetadata","doGet","PLAYER_RESET","reportAdPlaybackTime","_onPlayerStateChanged","Buffer Duration is ","timeOffset","QBRDisabled-QMetric","MMSmartStreamingSdk"," reportDeviceInfo In ","podIndex","midpoint","1.0.11","latency","MANIFEST_LOADED","log","symbol","FAILED","QBRCostsave","size","xml2json"," initializeSession In mode: ","code","setProducerURL","initEndByte","eventType","_prevSegInfo","#text_asArray","PLAYER_DESTROY","setPresentationInformation","segInfo"," reportAdInfo ","_maxEventsInQ","JSSDKv4.4.2_","SUBSCRIBERTAG"," metaurl: ","application/json","_avgDownloadRate","httpStatus","SERIESTITLE"," reportWifiDataRate In","application/dash+xml","_upshiftCount","QBRDisabled-NoPresentationInfo","Ad impression has been made","SUCCESS","_deviceType","ISLIVE","#cdata-section_asArray","ENDED","subscriberTag","getRegistrationStatusWithBackend","nodeName","_SESEventToSend","_bufferStartTime","setRequestHeader","WIFISSID","minRes","width","9641430ikcSdi","TEXT_NODE","_playSent","eventMetric","VIDEOTYPE","CDATA_SECTION_NODE","random","duration","STARTED","AD_CLICK","_httpUtil","SESSIONID","_bandwidth","res","reportBufferLength","17032021","setCfKonstant","src","reportDeviceId","Ad clicked","deviceIdStarz","reportProducerForSES","LATENCY","clientInfo","set","Content-type","registerMMSmartStreaming","getCorrectedCurrentTimeinMs","reportChunkRequest","bwInUse","nonlinear","cid","keys","substr","PLAYBACK_ENDED"," reportComponent ","CIRR","1496Paupni","nodeType","#text","_appName","populateAdRelatedInfo","Dish_MX","_adId","setCfVal","_prevAdState","item","getQbrMode","2.0.0","Error while sending event to Toolbox","Playback completion","DURATION_CHANGE","domainName","Playback Seek Started","_timeShift","playerModel","component","getActiveTracks","mmTrace:","_adServer"," initializing QEngine","adInterval","upshiftCount","reportEventWithValue","Ad impression at ","_adDuration"," reportVideoQuality In","sid","_playerBrand","_adPauseDurationToOffsetFromInterval","sumBuffWait","_EPState","status","diagnostics","Playback Buffering Completed","WAITING","Content-Type","reportDeviceType","_adCreativeType","_height","maxFps","abort","APPNAME","AD_FIRST_QUARTILE","ASSETID","adPositionInPod","_contentMetadata","reportDeviceInfo","assetId","&lt;","reportPresentationSize w:","upShiftCount","qoeMetric","_deviceModel","SEASON","seqNum","ONLOAD_SENT","isValidStateTransition","DONE","_adPauseDuration"," reportNetworkType In","_adPodIndex","getQBRChunk","setSubscriberType","Unknown","test","getDomainName","getPlayDur","streamType","buffWaitType","PLAYBACK_FINISHED","setExpProbe","_wifiSignalStrenth","context","cdn","adDuration","RESIZE","reportError","complete","deviceCapabilities","DurationWatched","AD_","DOCUMENT_NODE","_flagStartLatencyViaPlayer","reportMetricValue","setVideoDuration","getRegistrationStatus","writable","numOfProfile","_streamUrl","SCREENRES","QBRQuality","downloadType","Seeked event"," reportPlaybackRateChange In","Prev: "," reportBufferLength In :","_playerVersion","instance"," registerMMSmartStreaming In ","pre","https://cdn.polyfill.io/v2/polyfill.js","lastTS","setSingletonInstance","getSingletonInstance","adPodIndex","mmAd","4702912yWcsNY"," reportAdState ","WARNING","producerURL","serverAddress","adLoadStartTime","isArray","appendChild","Microsoft.XMLDOM","_sourceSelected","getInitialDelay","ERROR MMSDK Instance not created!","PLAYBACK_PAUSED","VIDEO_PLAYBACK_QUALITY_CHANGED","MMSmartStreaming Integration - ","AD_PLAY","_progressMark","Ad Buffering started"," reportError In ","_httpPostTimeout","ontimeout","sessionId","synchronizeTimestamp","parsererror","initialize","downShift","maxRes","_adLoadStartTime","Ad reached first quartile","_adBeforePlayback","getCRSUrl","_presentationWidth","__cnt","device","monitorRegistration","AD_COMPLETE","reportMode","_subscriberID","_presentationHeight","trackIdx","getAttribute"," setPresentationInformation In - live?","toLowerCase","prefix","VIDEO_TRACK_CHANGED","LOAD_START","reportDownloadRate","; max-age=","QBRSDKMODE","baseName","ceil","getChecksum","reportPlaybackRateChange"," h:","updateSubscriber","toolboxEndpoint_events","reportAdState","ELEMENT_NODE","PLAYERNAME","_adLinear","apply","__text","reportCustomMetadata","concat","_language","com.widevine.alpha","_deviceBrand","KALTURASDK","assetInfo","setSESURL","reportWifiSSID","_buffWaitType","AD_RESUMED","STREAMFORMAT","DEVICEMODEL","_customerID","653736TLLQqW","_segRepeatationCount","text/xml","AD_BLOCKED","] : ","recordIndex","getPlaybackPos","location","CHANGE_SOURCE_STARTED","AD_THIRD_QUARTILE","_seekState","Ad blocked","getElementsByTagName","BUFFERING_FINISHED","reportAdBufferingStarted","_regStatus"," reportVolumeChange In","SEEK_FINISHED","(dynamic-range: high)","_deviceOsVersion","isBumper","reportAssetID","APPVERSION","bitrate","message","HDR","Ad has been paused","onbeforeunload"," reportWifiSignalStrenthPercentage In","Ad is blocked ","_linear","getDownloadRate","IMA","DEVICECAPABILITIES","adType","bufferLength","maxStepsDown","dimensions","Playback Started after ad","qmetric","__prefix","attributes","setStreamID","Player"," blacklistRepresentation In blacklist:","SUBTITLE_CHANGE","getEPState","splice","seriesTitle","QBRModeDisabled","desc","getBufferingCount","send","converter","BUFFERING_COMPLETE","Playback Registration Failed.","INITIALIZED","VPAID","_enableEP","SES_WARNING","AUDIOTRACK","QBRDisabled","_recordIndex","_mode","PLAYBACK_START","pId","_pbTimeBeforeAdStart","matches","Buffering completed event","_adStartEpocTime","pbEventInfo","mm_md5","upShift","QBRDisabled-NoABR","Playback Registration Failed","reportContentMetadata","AD_PLAYED_FIRST_QUARTILE","_bufferLength","Pre: ","QBRDisabled-LiveSessionNotSupported","startByte","GET","preroll","STOPPED","addSegInfo","use strict","SUMBUFFERING","reportRegistrationFailure","adCreativeId","attributeValue"," reportdeviceCapabilities In","_producerURLSES","AD_CLICKED","cleanUp","Ad has been requested","_adSumBuffWait","_adLastAdEventTimeStamp","key","QBRMetricTemplate","_initLatency","setBuffering","SES_ERROR","DEVICEID","_deviceID","cfVal","initializeDisableManifestFetch","pbInfo","AD_MANIFEST_LOADED","Warn: State not valid","getSubscriberIDCookie"," reportDownloadRate In :","__dashjs_factory_name","Ad Ended at ","adUrl","_onSourceChanged","EventMetricTemplate","adResolution","NetRequest timeout","getAdInterval","initializeSession","setEPState","readyState","PLAYBACK_STARTED","videoQuality","buffWait","adIsLinear","clearAdInfo"," reportDurationChange In","Access-Control-Allow-Origin","player","_videoId","#cdata-section","DATASOURCE","Ad skipped","SDK_REGISTER_URL","QBRSDK : QEngine cannot be initialized....","episodeNumber","notifyEvent","Playback Start","InitializeSession Success","isQBRDisabled","OPERATOR","isVDSActive","__cdata","text","reportRegistrationSuccess","_statsMetric","QBRDisabled-ContentNotSupportedForQBR","maxSteps","VRT","_timeDeltaInMs","parseFromString","MAXRES"," reportBufferingCompleted In ","videoType","streamURL","constructor","_deviceMarketingName","childNodes","_statsMonitorStartedAtTS","_playerModel","getElementsByTagNameNS","Ad completed at ","ERROR","SUMBUFFERINGCIRR","_adUrl","setDownloadRate","None","function","FRAG_LOADED","Buffering started event","_adLastPlayingEventTimeStamp","_adTitle","_sumBuffWaitCIRR","AD_COMPLETED","millisecToSec","_eventToSend","_isFirstBatch","createElement","getCfVal","setSegInfo","getProfiledIdforToolbox","timeout","xxxxxyyxxxyyxxxyxxx-ymxyxxyxxyxx-","mode","indexOf","PLAYBACK_RESUMED","endByte","reportServerTimeStamp","data","_pauseStartTime","interval","setBandwidth","_videoQuality","adTitle","defineProperty","_onMediaLoaded","response"," reportBufferingStarted In ","streamID","_postInterval","ASSETNAME","TOTALDURATION","setSDKInfo","VIDEO_TRACK_CHANGE","getAdPlayDur","reportComponent","reportPlayerSeekStarted","adSystem","mid","WebNotReachable","&quot;","DEVICEMARKETINGNAME","_simulatedEndedSent","adScheduledTime","getQBRBandwidth","_isBufferingState","playerName"," downloadRate:","isValid","&amp;","sendHeartbeatToToolbox","AD_BUFFERING","url","replace","getOwnPropertySymbols","isLive"," contentMetadata:"," reportPlayerSeekCompleted In","pbTime","brand","reportDeviceCapabilities","totalSegments","thirdquartile","Pause event","GenerateDeviceIdStarz","setSubscriberTag","override","_epocTime","subscriberType","_statsToSend","_buffWait","DOMParser","reject","getPanelStats","nwType","reportResolutionChange","onreadystatechange","30tNICiP","json2xml_str","Ad Progress","playerVersion","uuidv4_subscriberID","isRoot","stopMonitoring","reportPresentationSize","startTime","Error in sending heartbeat to starz","adCreativeType","then","customerId","_timerObj","AUDIO_CHANGE","ClientInfo","subscrId","xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx","Play event","_maxStepDown","FRAMELOSS","_adPodLength","bind","JSON format incorrect for profiledId -Toolbox"," millisec","maxAttempts","setCurrentTimeDelta","PLAY","cbrBitrate","_adPosition","_baseServerTimeStampMS","catch","AUDIO_TRACK_CHANGED","START","&gt;","UPSHIFTCOUNT","reportTrackinfo","VERBOSE","setSESRequirements","innerHeight","_sdkVersion"," getQBRBandwidth In trackIdx:","_downloadRateCount","AD_ERROR","stringify","_segINfoStatus","setBufPBEvent","season","setInitialParameter","firstChild","_adLoadTime","VOLUME_CHANGE","_bwExtSet","ISVDSACTIVE","PLAYER_READY","Experience Probe Initialisation Failed.","1080*720","qubitData","postroll","parseXmlString","COMMENT_NODE"," reportMetricValue In","Ad paused","contentMetadata","Latency","setContentMetadata","Error while sending heartbeat to Toolbox","getSDKVersion","representationArray","AD_IMPRESSION","MINFPS","call"," reportCustomMetadata In","_timerTimestampSynchro","Unknown State","reportBufferingStarted","videoAssetInfo","reportSDKVersion","_prevPlayerState","Playback Buffering Started","SUBSCRIBERTYPE","sequence","resolve","WIFIDATERATE","setPostInterval","setPresentationStreamInfo","AD_PROGRESS","streamFormat","SmartTV","root","_onLoadSentAtTS","AD_MIDPOINT"," reportAdBufferingStarted In ","adBitrate","HFILEVERSION","TEXT_TRACK_CHANGED","post","reset","totalAds","reportWifiSignalStrenthPercentage","_enableVideoQoE","prevAdState","%, New: ","_adCreativeId","resetAdInfoIfInitialState","genre","6502584mprBdI","reportUserInitiatedPlayback","CHROMECAST","qbrSize","registerSdkWithBackend","playbackError","CONTENTTYPE","_assetName","split","_KAdKeepAliveInterval","Network Error","getAdErrorMessage","setPBStats","BITRATE_SHIFT","setSubscriberID","AD_SKIPPED","parse","setMode","enumerable","_modeFromResponse","height","_component","PlaybackInfo","reportWifiDataRate","CUSTID","POST","getDefaultDomainName","JWT ","statusText","charCodeAt","RESUME","_subscriberType","linear","log_level","contentType","getCurrentTimeinMs","PROGRESSMARK","DEVICEBRAND","Event","Playback Duration Changed","toFixed","_isBumper","1duUhVh","_adBuffWaitForInterval","reportVolumeChange","_qoeMetric","4249IqNcvO","PLAYBACK_UPDATE","downloadTime","adServer","Accept","audioTrack","AD_PAUSED","http://localhost"," reportResolutionChange In","adPodLength","createInstance","timestamp","codecIdentifier","getHintFileUrlFromResponse","Error while sending payload to Starz","_prevBitrate","setPresentationType","onSuccess","startMonitoring","Cellular_LTE","mergeFunction","Ad reached midpoint","reportPlayerState","_deviceCapabilities","AD_REQUEST","setCustomTag","SUMBUFFERINGVRT","AD_BUFFERING_COMPLETE","Ended event","_latencyStartTime","reportBufferingCompleted","reportProducer","undefined","Wifi","customMeta","_networkType","READY","_eventMetric","WiredNetwork","sendEventToToolbox","starzEndpoint","targetQuality","DEVICETYPE","setRegistrationStatus","SEEK_COMPLETE","hls","statistics","EVENT == ","appName"," reportFrameLoss In ","AD_PLAYED_SECOND_QUARTILE","reportFrameLoss","sendQBRStats","namespaceURI","getSessionId","initStartByte","reportNetworkType","payload"," getQBRChunk In","PLAYING"," reportPlayerSeekStarted In","QBRBitsave","vpaid","notifyPackager","_label","IDLE","session1","setAssetID","length","toolboxEndpoint_profiledId","_adPositionInPod","removeEventListener","_deviceOs","setScreenRes","Promise","getTracks","setSubscriberIDCookie"," reportManifestLoaded In","_appVersion","sendEventInfo","onErrorCodes","NETWORKTYPE","string","Ad has been skipped","open","hasOwnProperty","AD_BLOCK"," reportWifiSSID In","disableManifestsFetch","floor","_adPlaybackTime","blacklistRepresentation","_downloadRate","_wifiDataRate","localName","minFps","profiledId"," reportAdBufferingCompleted In ","ONLOAD"," url:",", New: ","AD_PLAYED_THIRD_QUARTILE","charAt","_onChangeSourceStart","playbackStatus","_bufferingCount","hFileVersion","freeze","configurable","videoId","_cfVal","SUBTITLETRACK","loadStartTime","getStreamInfo","720*640","downShiftCount","isToolbox","_enableAdQoE","resetForNewAd","drmProtection","assetName","OFF","_playDur","profileNum","Browser","forEach","toString","events"," reportABRSwitch ","OSVERSION","mmTrace ","resetAdvertisementInfo","_id","packageToolBoxEvent","1915024zVsHmk","JWT","sdkInfo","dur","_adPlaybackStartWallClockTime","20WZxifP","_adBitrate","_timerObj2","adLinear","Ad started ","SDK_CONFIG","_adInformation","TIME_UPDATE","deviceMarketingName","setClientInfo","firstquartile","Ad resumed","track/","adId","_pauseDuration","_adPauseStartTime","customTags","enableLogTrace","AD_LOADED","totalDuration","PAUSEDURATION","get","SDKVERSION","]]>","newBitrate","_sumBuffWait","1.0.0","&#x2F;","setMaxSteps","name","PLATFORM","reportHintFileVersion","reportDurationChange","Play Button","_onManifestLoaded","reportABRSwitch","SEEK_START","adProgress","matchMedia","attempt","BUFFERING_START","__children","setPlaybackPos","reportAdInfo","reportAdError","getSmartRouteUrl","Playback resumed","onerror","MINRES","Unknown error took place: ","_domainName","reportVideoQuality","packageStarzEvent","Cellular_2G","children"," reportUserInitiatedPlayback In ","sendHearbeatToStarz","SUBSCRIBERID","push","PAUSE","sendAdPlayingEvent","DOWNSHIFTCOUNT","custId","fromCharCode","VideoPlaybackQualityChanged","valid","Mid Point ","_hintFileVersion","EPISODENUMBER","platform","VIDEOID","VIDEOTRACK","SeekCompleted","COMPLETE","playerBrand","AD_STARTED","maxStepsUp","map","PENDING","subtitleTrack","sesRequirements","_adClient","extraAdData","SegmentInfo","_downshiftCount","BUFFERING_STARTED"," reportAdError ","207294fQGyZY","getLastUpdateSegmentInfo","dataSrc","substring","SIGNALSTRENGTH","BANDWIDTH","_pbTime","START_AFTER_AD","_adResolution","subscriberId","Third quartile ","adPosition","getProfileProperties","reportPlayerInfo","Dish_MX_SES","_assetID","_adPlayDur","ServerAddress"];return(P=function(){return t})()}n(261),n(261);var b=function(){var t,e,i,s,r,n=!1,a=void 0,o=new m,h=null,d=void 0,c=!1,l=!1,p=!1,_=!1,S=void 0,I=void 0;r=v,typeof MMQubitEngineImpl!==r(608)&&(a=new MMQubitEngineImpl),typeof crsPoller!==r(608)&&(S=new crsPoller),typeof statistics!==r(608)&&(d=new statistics);var E=function(t){var e=v;l&&console[e(920)](e(1022)+(new Date)[e(851)]()+"::"+t)},T=function(r){var d=v;if(null!=r&&(E(d(1152)+r.isLive+" duration:"+r.duration+" repsCnt:"+r.representationArray[d(644)]),1===(h=r)[d(402)]&&(h[d(402)]=!0),0===h[d(402)]&&(h[d(402)]=!1),n)){a?(a[d(934)](h),p&&_&&(_=!1,a[d(281)](o,e,i,s,h)[d(435)]((function(e){t[d(506)](e)}))[d(455)]((function(e){t[d(419)](e)})))):o.reportMode("QBRDisabled");var u=h[d(402)]?-1:h.duration/1e3;o[d(1089)](u),o[d(592)](h[d(402)]);var c="",f="",l=0,S=0,I=h.representationArray.length,m=h[d(564)];if(I)for(var T=0;T<I;T++)h[d(492)][T].width&&h[d(492)][T][d(550)]&&h[d(492)][T].width>0&&h.representationArray[T][d(550)]>0&&((0===l||l>h[d(492)][T][d(963)]*h.representationArray[T][d(550)])&&(f=h[d(492)][T][d(963)]+"x"+h[d(492)][T][d(550)],l=h[d(492)][T][d(963)]*h[d(492)][T][d(550)]),(0===S||S<h.representationArray[T].width*h.representationArray[T][d(550)])&&(c=h[d(492)][T][d(963)]+"x"+h[d(492)][T][d(550)],S=h[d(492)][T][d(963)]*h.representationArray[T][d(550)]));o[d(509)](c,f,0,0,I,m)}},A=function(t){var e=v,i=b(t),s=void 0;return void 0!==i&&void 0!==i[e(963)]&&void 0!==i.height&&i[e(963)]>0&&i[e(550)]>0&&(s=i.width+"x"+i[e(550)]),s},D=function(t){var e=v,i=b(t),s=void 0;return i&&(s=i[e(588)]),s},R=function(t){var e=v,i=g(t),s=void 0;return void 0!==i&&void 0!==i[e(963)]&&void 0!==i[e(550)]&&i.width>0&&i[e(550)]>0&&(s=i[e(963)]+"x"+i[e(550)]),s},P=function(t){var e=v,i=g(t),s=void 0;return i&&(s=i[e(588)]),s},b=function(t){var e=v,i=void 0;if(h)for(var s=0;s<h.representationArray[e(644)];s++)if(h[e(492)][s][e(1210)]===t){i=h[e(492)][s];break}return i},g=function(t){var e=v,i=void 0;if(h)for(var s=0;s<h[e(492)][e(644)];s++)if(h[e(492)][s][e(1150)]===t){i=h[e(492)][s];break}return i};return{getSmartRouteUrl:function(t){return S?S[v(1141)](t):t},enableLogTrace:function(t){l=t},updateSubscriberID:function(t){o.updateSubscriberID(t)},updateSubscriber:function(t,e,i){o[v(1165)](t,e,i)},getRegistrationStatus:function(){return n},getRegistrationStatusWithBackend:function(){return o[v(956)]()},registerMMSmartStreaming:function(t,e,i,s,r,a,h){var u=v;E(u(1103)+t+" "+e+" "+s+" "+r+" "+i),o.reset(),f[u(720)][u(622)]&&d&&d[u(1075)](o),o[u(990)](t,e,s,r,a,h),o[u(746)](f[u(720)].hintFileVersion),o[u(382)](i),n=!0,I=e},initializeSession:function(r,n,c,l){var m=v;return E(m(926)+r+m(675)+n+m(940)+c+m(403)+l),h=null,o[m(521)](),f[m(720)][m(622)]&&d&&d.resetStatistics(),a&&(a[m(521)](),a[m(472)](o,u[m(1236)])),o[m(295)](r,n,c,l)[m(435)]((function(r){var d,u,f,E,A=m,D=JSON[A(546)](r);if(void 0!==I&&void 0!==D[A(837)]&&void 0!==D[A(856)]&&void 0!==D[A(862)]&&S&&S[A(1135)](I,D[A(837)],D[A(856)],D[A(862)],o),void 0===D[A(1114)])return o[A(263)](),o[A(521)](),new Promise((function(t,e){var i=A;y[i(920)](i(461),i(250)),e(i(1242))}));if(o.reportRegistrationSuccess(D),o.reportAssetID(l.assetID,l[A(696)],l[A(685)]),a&&(a[A(472)](o,D[A(360)]),c=a[A(589)](n,c,D,l.assetID,l[A(696)])),T(h),y.log(A(461),A(1024)),!a)return new Promise((function(t,e){var i=A;y.log(i(461),i(315)),t(D),D&&o[i(831)](D.mmVideo,D[i(1110)])}));if(!p){var R=a.initialize(o,D[A(360)],n,c);return a[A(934)](h),R}return a?(_=!0,e=D.mode,s=c,i=n,f=v,(E=new Promise((function(t,e){d=t,u=e})))[f(506)]=d,E[f(419)]=u,t=E):void 0}))[m(455)]((function(t){var e=m;return t!=e(311)?(t=e(479),o[e(263)](),o.reset(),a&&a[e(472)](o,"QBRDisabled")):(t="MMSmartStreaming : QBR component cannot be initialized...",a&&a[e(472)](o,e(1248))),T(h),new Promise((function(i,s){var r=e;y[r(920)](r(461),t),s(t)}))}))},setPresentationInformation:T,blacklistRepresentation:function(t,e){var i=v;E(i(1231)+t+"="+e),a&&a[i(667)](t,e)},getQBRBandwidth:function(t,e,i,s){var r=v;return E(r(465)+t+r(394)+e+" buffLength:"+i+" playbackPos:"+s),this[r(978)](i),a?a[r(391)](t,e,i,s):e},getQBRChunk:function(t){var e=v;E(e(634));var i=t;if(a){c=!0,a[e(1066)](t);var s=a[e(803)]();d&&!0===s[e(780)]&&f[e(720)][e(622)]&&d.updateStatistics(s,!1,a[e(1218)](),s[e(408)])}return i},reportChunkRequest:function(t){var e=v;if(n&&!c)if(E(e(843)),o[e(316)]()&&f[e(720)][e(1226)]&&a)a[e(1066)](t);else{var i=function(t){var e=v,i=t.endByte>0?t[e(363)]-t[e(256)]:-1,s=void 0,r=void 0,n=t[e(971)]>0?parseInt(t[e(971)]/1e3):-1,a=t[e(432)]>0?t[e(432)]/1e3:-1;-1==t.trackIdx?-1!=t[e(1210)]&&(s=A(t[e(1210)]),r=D(t[e(1210)])):(s=R(t[e(1150)]),r=P(t[e(1150)]));var h=void 0,d=void 0;return r&&r[e(886)]&&(d=r[e(886)]),r&&r[e(820)]&&(h=r.audio),o[e(798)](s,t[e(1210)],t.bitrate,void 0,void 0,n,t.sequence,a,void 0,t[e(1150)],t[e(1150)],i,void 0,d,h)}(t);o[e(260)](i)}},reportDownloadRate:function(t){var e=v;n&&(E(e(286)+t),a&&a[e(342)](t),o.setBandwidth(t))},reportBufferLength:function(t){n&&(E(v(1100)+t),a&&a.reportBufferLength(t),o.reportBufferLength(t))},reportCustomMetadata:function(t,e){var i=v;n&&(E(i(496)),o[i(601)](t,e))},reportPlaybackPosition:function(t){var e=v;n&&(E(e(858)+t),a&&a.setPlaybackPos(t),o[e(757)](t))},reportNetworkType:function(t){n&&(E(v(1064)),o.reportNetworkType(t))},reportMetricValue:function(t,e){var i=v;n&&(E(i(485)),o[i(1088)](t,e))},reportDeviceInfo:function(t,e,i,s,r,n,a,h){var d=v;E(d(914)),o.reportDeviceInfo(t,e,i,s,r,n,a,h),e===d(532)?o[d(1041)]("ChromeCast"):"SMARTTV"===e&&o[d(1041)](d(512))},reportPlayerInfo:function(t,e,i){var s=v;E(" reportPlayerInfo In"),o[s(815)](t,e,i)},reportAppInfo:function(t,e){E(v(902)),o.reportAppInfo(t,e)},reportDeviceCapabilities:function(t){var e=v;E(e(266)),o[e(407)](t)},reportVideoQuality:function(t){E(v(1030)),o.reportVideoQuality(t)},reportManifestLoaded:function(){var t=v;E(t(653)),o[t(830)]()},reportDeviceId:function(t){var e=v;E(" reportDeviceId In"),o[e(982)](t)},reportPlayerState:function(t){var e=v;E(" reportPlayerState In "+t),o[e(598)](t)},notifyPackager:function(t,e){o[v(639)](t,e)},setSESRequirements:function(t){o.setSESRequirements(t)},setSESURL:function(t){o[v(1180)](t)},reportTrackinfo:function(t,e,i,s,r){o.reportTrackinfo(t,e,i,s,r)},reportUserInitiatedPlayback:function(){E(v(770)),o.reportUserInitiatedPlayback()},reportBufferingStarted:function(){var t=v;E(t(374)),o[t(499)]()},reportBufferingCompleted:function(){var t=v;E(t(329)),o[t(606)]()},reportEventWithValue:function(t,e){o[v(1027)](t,e)},reportABRSwitch:function(t,e){var i=v;n&&o[i(316)]()&&(E(i(704)+t+"->"+e),o[i(750)](t,e))},reportFrameLoss:function(t){var e=v;n&&(E(e(625)+t),o[e(627)](t))},reportPresentationSize:function(t,e){var i=v;E(i(1054)+t+i(1164)+e),o.reportPresentationSize(t,e)},reportError:function(t,e){var i=v;n&&(E(i(1129)+t),o[i(1081)](t,e))},reportPlayerSeekCompleted:function(t){n&&(E(v(404)),o.reportPlayerSeekCompleted(t))},reportPlayerSeekStarted:function(){n&&(E(v(636)),o.reportPlayerSeekStarted())},reportResolutionChange:function(t){var e=v;n&&(E(e(584)),o[e(422)](t))},reportVolumeChange:function(t){var e=v;n&&(E(e(1203)),o[e(574)](t))},reportPlaybackRateChange:function(){var t=v;n&&(E(t(1098)),o[t(1163)]())},reportDurationChange:function(){var t=v;n&&(E(t(303)),o[t(747)]())},reportSDKVersion:function(t){o[v(501)](t)},getSDKVersion:function(){return o[v(491)]()},reportWifiSSID:function(t){var e=v;n&&(E(e(663)),o[e(1181)](t))},reportWifiSignalStrenthPercentage:function(t){var e=v;n&&(E(e(1215)),o[e(523)](t))},reportWifiDataRate:function(t){var e=v;n&&(E(e(945)),o[e(553)](t))},reportAdInfo:function(t){var e=v;n&&(E(e(936)),t&&o[e(758)](t))},reportAdError:function(t,e){E(v(801)+t),o.reportAdError(t,e)},reportAdBufferingStarted:function(){var t=v;E(t(516)),o[t(1201)]()},reportAdBufferingCompleted:function(){E(v(673)),o.reportAdBufferingCompleted()},reportAdPlaybackTime:function(t){var e=v;n&&(E(" reportAdPlaybackTime "+t),o[e(908)](t))},reportAdState:function(t){var e=v;n&&(E(e(1112)+t),o[e(1167)](t))},reportComponent:function(t){var e=v;n&&(E(e(999)+t),o[e(382)](t))},getPanelStats:function(){return d[v(420)]()},getProfileProperties:function(){return n&&a?a[v(814)]():null},setRegistrationStatus:function(t){n=t},setCfValue:function(t){n&&a&&a[v(980)](t)},getSessionId:function(){if(n)return o.sessionId},getPresentationInfoInternal:function(){if(n&&a)return a.getPresentationInfoInternal()},disableManifestsFetch:function(t){n&&(p=t)}}};n(261);var g,C={createInstance:function(t){var e,i=v,s=Object[i(895)]((e=new b,{getSmartRouteUrl:function(t){return e[v(760)](t)},getSDKVersion:function(){return e[v(491)]()},getRegistrationStatus:function(){return e[v(1090)]()},getRegistrationStatusWithBackend:function(){return e[v(956)]()},registerMMSmartStreaming:function(t,i,s,r,n,a,o){return e[v(990)](t,i,s,r,n,a,o)},updateSubscriberID:function(t){return e[v(889)](t)},disableManifestsFetch:function(t){e.disableManifestsFetch(t)},reportDeviceInfo:function(t,i,s,r,n,a,o,h){e.reportDeviceInfo(t,i,s,r,n,a,o,h)},reportPlayerInfo:function(t,i,s){e[v(815)](t,i,s)},reportDeviceCapabilities:function(t){e[v(407)](t)},reportAppInfo:function(t,i){e[v(877)](t,i)},reportVideoQuality:function(t){e[v(766)](t)},reportManifestLoaded:function(){e[v(830)]()},reportDeviceId:function(t){e[v(982)](t)},initializeSession:function(t,i,s,r){return e[v(295)](t,i,s,r)},setPresentationInformation:function(t){e[v(934)](t)},blacklistRepresentation:function(t,i){e[v(667)](t,i)},getQBRBandwidth:function(t,i,s,r){return e[v(391)](t,i,s,r)},getQBRChunk:function(t){return e[v(1066)](t)},reportChunkRequest:function(t){e[v(992)](t)},reportDownloadRate:function(t){e[v(1157)](t)},reportBufferLength:function(t){e[v(978)](t)},reportCustomMetadata:function(t,i){e[v(1173)](t,i)},reportPlaybackPosition:function(t){e.reportPlaybackPosition(t)},reportNetworkType:function(t){e[v(632)](t)},reportMetricValue:function(t,i){e[v(1088)](t,i)},reportBufferingStarted:function(){e[v(499)]()},reportBufferingCompleted:function(){e[v(606)]()},reportEventWithValue:function(t,i){e[v(1027)](t,i)},reportUserInitiatedPlayback:function(){e[v(531)]()},reportPlayerState:function(t){e[v(598)](t)},notifyPackager:function(t,i){e[v(639)](t,i)},setSESRequirements:function(t){e[v(462)](t)},setSESURL:function(t){e[v(1180)](t)},reportABRSwitch:function(t,i){e[v(750)](t,i)},reportFrameLoss:function(t){e[v(627)](t)},reportPresentationSize:function(t,i){e[v(431)](t,i)},reportError:function(t,i){e[v(1081)](t,i)},reportPlayerSeekCompleted:function(t){e[v(822)](t)},reportPlayerSeekStarted:function(){e[v(383)]()},reportResolutionChange:function(t){e[v(422)](t)},reportVolumeChange:function(t){e[v(574)](t)},reportPlaybackRateChange:function(){e[v(1163)]()},reportDurationChange:function(){e[v(747)]()},reportSDKVersion:function(t){e.reportSDKVersion(t)},reportWifiSSID:function(t){e[v(1181)](t)},reportWifiSignalStrengthPercentage:function(t){e[v(523)](t)},reportWifiDataRate:function(t){e.reportWifiDataRate(t)},reportAdState:function(t){e.reportAdState(t)},reportAdInfo1:function(t,i,s,r,n,a,o,h){e[v(758)](t,i,s,r,n,a,o,h)},reportAdInfo:function(t){e[v(758)](t)},reportAdPlaybackTime:function(t){e[v(908)](t)},reportAdError:function(t,i){e[v(759)](t,i)},reportAdBufferingStarted:function(){e[v(1201)]()},reportAdBufferingCompleted:function(){e.reportAdBufferingCompleted()},enableLogTrace:function(t){e.enableLogTrace(t)},updateSubscriber:function(t,i,s){return e[v(1165)](t,i,s)},getPanelStats:function(){return e[v(420)]()},getProfileProperties:function(){return e[v(814)]()},setCfValue:function(t){e.setCfValue(t)},setRegistrationStatus:function(t){e[v(619)](t)},getSessionId:function(){return e[v(630)]()},getPresentationInfoInternal:function(){return e.getPresentationInfoInternal()},reportTrackinfo:function(t,i,s,r,n){return e[v(460)](t,i,s,r,n)}}));return s[i(287)]=i(913),T[i(1107)](t,i(913),s),s},getInstance:function(t){var e=v;if(void 0===t)return g||(g=this.createInstance(this));var i=T[e(1108)](t,e(913));return!i&&console.log(e(1122)),i}},M=(Object.freeze({DASH:"dash",HLS:n(621),MSS:"mss",MP4:n(845)}),function(){var t=n,e=Object.freeze({READY:0,PLAYING:1,PAUSED:2,STOPPED:3}),i=Object[t(683)]({READY:1,WAITING:2}),s=t(1178),r=C[t(586)](this),d=void 0,f=void 0,l=void 0,v=!1,p=void 0,_=!1,S=void 0,I=!1,m=!1,E=0,T=0,A=0,D=0,R=0,y=0,P=0,b=!1,g={},M={},N=void 0,L=void 0,O=void 0,B=void 0,k=void 0,x=void 0,U=void 0,F=void 0,w=void 0,V=0,W=!1,K=!1,q={streamURL:"",height:0,width:0,contentHeight:0,contentWidth:0,profileCount:0,duration:0,isLive:void 0,contentType:void 0,title:null,representationArray:[]},G=function(e){var i=t;r[i(501)]("KALTURA3_v1.0.2"),console[i(920)](i(1125)+r[i(491)]()),e&&(S=u[i(1236)],d=e,z())},Q=function(e,i){var s=t;if(H(),e&&(p=e),void 0!==p&&""!==p){i[s(731)]=M;var n=yt(i),a=n[s(1179)];if(a[s(1052)],a[s(696)],a[s(685)],i&&i[s(360)]?i[s(360)]:u.QBRModeDisabled,Ot(),r.initializeSession(S,p,null,a).catch((function(t){console.log(t)})),n[s(610)]&&n.customMeta[s(644)])for(var o=0;o<n[s(610)].length;o++)r.reportCustomMetadata(n[s(610)][o][s(273)],n[s(610)][o][s(265)]);a[s(1115)]&&r[s(1088)](c[s(819)],a[s(1115)]),v=!0}else console.log(s(879))},H=function(){f=void 0,l=void 0,v=!1,I=!1,p=void 0,_=!1,S=void 0,I=!1,E=0,T=0,A=0,D=0,R=0,y=0,P=0,b=!1,N=void 0,W=!1,V=0,O=void 0,B=void 0,k=void 0,x=void 0,U=void 0,F=void 0},Y=function(){K=!1,w=void 0,V=0},z=function(){var e=t;d&&(d.addEventListener(d[e(568)].SOURCE_SELECTED,ct),d.addEventListener(d.Event[e(842)],lt),d[e(828)](d[e(568)][e(919)],ft),d[e(828)](d[e(568)][e(1195)],ut),d[e(828)](d[e(568)][e(1156)],vt),d[e(828)](d[e(568)][e(1251)],pt),d.addEventListener(d.Event[e(451)],St),d.addEventListener(d.Event[e(635)],It),d.addEventListener(d.Event.PAUSE,Et),d[e(828)](d[e(568)].SEEKED,At),d[e(828)](d.Event.SEEKING,Dt),d.addEventListener(d[e(568)][e(954)],Rt),d[e(828)](d[e(568)][e(1039)],Tt),d.addEventListener(d[e(568)][e(722)],bt),d[e(828)](d[e(568)][e(339)],Ct),d[e(828)](d[e(568)][e(933)],Mt),d[e(828)](d[e(568)][e(998)],Nt),d[e(828)](d[e(568)][e(907)],Nt),d.addEventListener(d[e(568)][e(870)],gt),d[e(828)](d.Event[e(345)],mt),d.addEventListener(d[e(568)][e(456)],_t),d[e(828)](d.Event.VIDEO_TRACK_CHANGED,_t),d[e(828)](d[e(568)][e(519)],_t),d[e(828)](d[e(568)].AD_LOADED,J),d.addEventListener(d[e(568)][e(790)],X),d[e(828)](d[e(568)][e(350)],et),d[e(828)](d[e(568)][e(268)],tt),d[e(828)](d[e(568)][e(467)],st),d.addEventListener(d[e(568)].AD_SKIPPED,$),d.addEventListener(d[e(568)][e(582)],rt),d[e(828)](d.Event[e(1183)],nt),d[e(828)](d.Event.AD_FIRST_QUARTILE,at),d[e(828)](d[e(568)][e(515)],ot),d.addEventListener(d.Event[e(1196)],ht),d[e(828)](d.Event.USER_CLOSED_AD,it),d.addEventListener(d[e(568)][e(283)],j),d[e(828)](d[e(568)][e(510)],Z))},j=function(t){W=!1},J=function(i){var s=t;if(void 0===f&&(Ot(),r[s(531)](),f=e[s(612)]),!W&&(r[s(1167)](a[s(600)]),W=!0),V=0,i&&i[s(633)]){var n=o();if(i[s(633)][s(1221)]==s(258)?(n[s(813)]=s(1104),n[s(1109)]=0):"midroll"==i[s(633)][s(1221)]?(n[s(813)]=s(385),n.adPodIndex=1):i[s(633)].adType==s(482)?(n.adPosition=s(520),n[s(1109)]=-1):n.adPosition=void 0,n[s(728)]=i[s(633)].ad[s(708)],n[s(1079)]=1e3*i.payload.ad[s(884)],n[s(301)]=i[s(633)].ad._linear,n[s(579)]=i[s(633)].extraAdData[s(384)],n[s(292)]=i[s(633)].ad[s(887)]+"x"+i[s(633)].ad._height,i.payload[s(797)]){var h=i[s(633)].extraAdData[s(898)];h&&(n[s(1049)]=h.adPosition,n[s(1109)]=h[s(915)],n.adPodLength=h[s(522)],n[s(1207)]=h[s(1207)],n[s(390)]=h[s(911)]),n[s(846)]=1==i[s(633)].extraAdData[s(638)]?"VPAID":s(1219)}w=n[s(1079)],r.reportAdPlaybackTime(dt()),r.reportAdState(a[s(493)]),r[s(758)](n),kt(s(1028)+dt())}},X=function(e){var i=t;r[i(908)](dt());var s=o();if(s.adId=e[i(633)].ad[i(708)],s[i(1079)]=1e3*e[i(633)].ad[i(884)],s[i(301)]=e[i(633)].ad[i(1217)],s[i(579)]=e[i(633)].ad._system,s[i(292)]=e[i(633)].ad[i(887)]+"x"+e[i(633)].ad._height,e[i(633)][i(797)]){var n=e[i(633)][i(797)][i(898)];n&&(s[i(1049)]=n[i(813)],s[i(1109)]=n.podIndex,s.adPodLength=n.totalAds,s[i(1207)]=n[i(1207)],s[i(390)]=n.timeOffset,s[i(579)]=n[i(384)],s[i(434)]=e.payload[i(797)][i(564)]),s[i(846)]=1==e[i(633)].extraAdData.vpaid?i(1244):i(1219)}w=s[i(1079)],r.reportAdInfo(s),r[i(1167)](a[i(790)]),K=!0,kt(i(719)+dt())},Z=function(e){var i=t;K=!0,kt(i(426)),e[i(633)]&&e[i(633)][i(752)]&&(V=1e3*e.payload[i(752)][i(860)],r[i(908)](V))},$=function(e){var i=t;r[i(908)](dt()),r[i(1167)](a.AD_SKIPPED),K=!1,kt(i(309))},tt=function(e){var i=t;r.reportAdPlaybackTime(dt()),r[i(1167)](a[i(268)]),kt(i(983))},et=function(e){var i=t;K=!1,r[i(908)](w),r[i(1167)](a[i(350)]),Y(),kt(i(338)+w)},it=function(e){var i=t;K=!1,r[i(908)](dt),r[i(1167)](a[i(847)]),Y(),kt(i(288)+dt)},st=function(e){var i=t,s=dt();s<0&&(s=0),r[i(908)](s),!W&&(r[i(1167)](a[i(600)]),W=!0),r[i(759)](d[i(541)](),s),kt("Ad error reported with message "+d[i(541)]())},rt=function(e){var i=t;r[i(908)](dt()),r.reportAdState(a[i(582)]),kt(i(486))},nt=function(e){var i=t;r[i(908)](dt()),r[i(1167)](a.AD_RESUMED),kt(i(726))},at=function(e){var i=t;K=!0,r[i(908)](dt()),r[i(1167)](a[i(1047)]),kt("First quartile at "+dt())},ot=function(e){var i=t;K=!0,r[i(908)](dt()),r[i(1167)](a[i(515)]),kt(i(781)+dt())},ht=function(e){var i=t;K=!0,r[i(908)](dt()),r[i(1167)](a[i(1196)]),kt(i(812)+dt())},dt=function(t){return V},ut=function(e){var i=t;typeof d!==i(608)&&null!==d&&kt(i(679))},ct=function(i){var s=t;typeof d!==s(608)&&null!==d&&(kt(s(290)),void 0!==f&&f!==e[s(259)]&&(f=void 0,v=!1,_=!1,r.reportPlayerState(h.STOPPED)),!v&&(d[s(1120)]&&(p=d._sourceSelected[s(399)]),Q(p,g)))},ft=function(e){var i=t;typeof d!==i(608)&&null!==d&&(kt(i(749)),r[i(1027)](i(919),"MANIFEST_LOADED"))},lt=function(e){var i=t;typeof d!==i(608)&&null!==d&&kt(i(372))},vt=function(i){var s=t;typeof d!==s(608)&&null!==d&&(kt("_onLoadStart"),!v&&(d[s(1120)]&&(p=d._sourceSelected.url),Q(p,g)),void 0===f&&(r[s(531)](),f=e[s(612)],kt(s(442))))},pt=function(e){var i=t;typeof d!==i(608)&&null!==d&&kt(i(896))},_t=function(){var e=t;if(null!=d){var i=d.getActiveTracks(),s=i[e(886)],n=i[e(820)],a=i[e(320)],o=!1,h=!1,u=void 0,c=void 0;if(s&&(u=s[e(976)],c=s[e(887)]+"x"+s._height,s=s[e(640)]+", "+s[e(1175)],void 0!==B&&B!==s)){var f=e(254)+B+e(676)+s;r[e(1027)](e(380),f),void 0!==x&&x!==u&&(f=e(254)+x+e(676)+u,r.reportEventWithValue(e(543),f)),void 0!==U&&U!==c&&(f="Pre: "+U+e(676)+c,r[e(1027)]("RESIZE",f))}n&&("Commentary"==n._label&&(h=!0),n=n[e(640)],void 0!==O&&O!==n)&&(f="Pre: "+O+e(676)+n,r[e(1027)](e(438),f)),a?(a=a[e(640)],o=!0,void 0!==k&&k!==a&&(f=e(254)+k+", New: "+a,r[e(1027)](e(1232),f))):a=void 0,r[e(460)](s,a,n,h,o),k=a,B=s,O=n,x=u,U=c}},St=function(i){var s=t;typeof d!==s(608)&&null!==d&&(_t(),!1===v&&(d._sourceSelected&&(p=d[s(1120)][s(399)]),Q(p,g),void 0===f&&(r[s(531)](),f=e.READY)))},It=function(s){var n=t;if(typeof d!==n(608)&&null!==d){if(!_&&Bt(this),b&&E>0&&f===e[n(853)]){var a=(new Date)[n(851)]();kt("Pause Duration is "+(D+=a-R)+" millisec")}b&&0===E&&(E=(new Date)[n(851)]()),void 0!==f&&f!==e.PLAYING&&(r[n(598)](h[n(635)]),f=e[n(635)],kt("Playing event")),l===i[n(1039)]&&void 0!==f&&f!==e[n(259)]&&(r[n(606)](),l=i[n(612)],b&&E>0&&(a=(new Date)[n(851)](),y+=a-P,kt(n(910)+y+n(448))),kt(n(1255)))}},mt=function(e){var i,s,a,o,h,d,u,c,f,l,v=t,p=Lt();if(null!=p){var _=void 0===p[v(1210)]?p._bandwidth:p[v(1210)],S=(s=_,a=void 0,o=void 0,h=void 0,d=void 0,u=void 0,c=void 0,f=n,l={},void 0===(i=void 0)?l.trackIdx=-1:l[f(1150)]=i,void 0===i?l.trackIdx=-1:l[f(1150)]=i,l[f(1210)]=void 0===s?-1:s,l[f(505)]=void 0===a?-1:a,l[f(432)]=void 0===h?-1:h,void 0===u?l.startByte=-1:l[f(256)]=u,l[f(363)]=void 0===c?-1:c,l.duration=void 0===d?-1:d,l[f(631)]=-1,l[f(929)]=-1,l.resourceURL=o||null,l),m=_;r.reportDownloadRate(m),r.reportChunkRequest(S),!1===I&&(I=!0)}},Et=function(i){var s=t;typeof d!==s(608)&&null!==d&&f===e[s(635)]&&(f=e[s(853)],r.reportPlayerState(h[s(853)]),kt(s(410)))},Tt=function(s){var n=t;typeof d!==n(608)&&null!==d&&f===e[n(635)]&&l!==i.WAITING&&(r[n(499)](),l=i.WAITING,b&&E>0&&(P=(new Date)[n(851)]()),kt(n(346)))},At=function(i){var s=t;if(typeof d!==s(608)&&null!==d&&void 0!==f&&f!==e[s(612)]){if(b&&E>0){if((T=(new Date).getTime())-A>2e3){var n=T-E-D-y;A=T,r[s(822)](n)}}else r[s(822)](Pt());kt(s(1097))}},Dt=function(i){var s=t;typeof d!==s(608)&&null!==d&&void 0!==f&&f!==e[s(612)]&&r[s(383)]()},Rt=function(i){var s=t;typeof d!==s(608)&&null!==d&&(kt(s(604)),f=e[s(259)],H(),r[s(598)](h.STOPPED))},yt=function(e){var i=t,s=[],r={assetId:null,assetName:null,videoId:null,contentType:null,metaUrl:null,serverAddress:void 0},n={assetId:null,assetName:null,contentType:null,drmProtection:null,episodeNumber:null,genre:null,season:null,seriesTitle:null,videoId:null,videoType:null};if(null!=e&&(e.assetId&&(n[i(1052)]=r[i(1052)]=e[i(1052)]),e[i(696)]&&(n[i(696)]=r.assetName=e[i(696)]),e.videoId&&(n[i(685)]=r[i(685)]=e[i(685)]),e.contentType&&(n[i(564)]=r[i(564)]=e[i(564)]),e[i(695)]&&(n.drmProtection=r[i(695)]=e[i(695)]),e[i(312)]&&(n[i(312)]=r[i(312)]=e[i(312)]),e.genre&&(n[i(529)]=r[i(529)]=e[i(529)]),e[i(471)]&&(n.season=r.season=e[i(471)]),e[i(1235)]&&(n[i(1235)]=r.seriesTitle=e[i(1235)]),e[i(823)]&&(n[i(823)]=r[i(823)]=e[i(823)]),e[i(330)]&&(n[i(330)]=r[i(330)]=e[i(330)]),e[i(731)]))for(var a in e[i(731)])s[i(773)]({key:a,attributeValue:e.customTags[a]});return{assetInfo:r,customMeta:s,contentMetadata:n}},Pt=function(){var e=d[t(860)];return e>0&&(e*=1e3),e},bt=function(t){if(b&&E>0){if((T=(new Date).getTime())-A>2e3){var e=T-E-D-y;A=T,r.reportPlaybackPosition(e)}}else r.reportPlaybackPosition(Pt())},gt=function(e){var i=t,s=100*d.volume;if(void 0!==F&&F!==s){var n=i(1099)+F+i(526)+s+"%";r.reportEventWithValue(i(475),n)}F=s},Ct=function(i){var s=t;if(null!=d&&(void 0===f&&(r[s(531)](),f=e[s(612)]),i.payload)){var n=i[s(633)][s(927)]+":"+i[s(633)][s(365)][s(744)];n&&r.reportError(n,Pt())}},Mt=function(i){var s,n=t;K&&(K=!1,r[n(908)](dt),r[n(1167)](a[n(847)])),void 0!==f&&f!==e.STOPPED&&(f=void 0,v=!1,_=!1,r[n(598)](h[n(259)])),s=t,d&&(d[s(647)](d.Event.SOURCE_SELECTED,ct),d[s(647)](d[s(568)][s(842)],lt),d[s(647)](d[s(568)][s(919)],ft),d[s(647)](d[s(568)].CHANGE_SOURCE_STARTED,ut),d.removeEventListener(d.Event.LOAD_START,vt),d.removeEventListener(d[s(568)].PLAYBACK_START,pt),d[s(647)](d[s(568)][s(451)],St),d.removeEventListener(d[s(568)][s(635)],It),d[s(647)](d[s(568)][s(774)],Et),d[s(647)](d.Event.SEEKED,At),d[s(647)](d[s(568)][s(840)],Dt),d[s(647)](d[s(568)][s(954)],Rt),d[s(647)](d[s(568)].WAITING,Tt),d[s(647)](d[s(568)][s(722)],bt),d[s(647)](d[s(568)][s(339)],Ct),d[s(647)](d[s(568)].PLAYER_DESTROY,Mt),d[s(647)](d[s(568)].PLAYBACK_ENDED,Nt),d[s(647)](d[s(568)][s(870)],gt),d[s(647)](d[s(568)][s(345)],mt),d[s(647)](d.Event[s(456)],_t),d[s(647)](d.Event[s(1155)],_t),d[s(647)](d.Event[s(519)],_t),d[s(647)](d[s(568)][s(733)],J),d[s(647)](d.Event[s(790)],X),d.removeEventListener(d.Event[s(350)],et),d[s(647)](d.Event[s(268)],tt),d[s(647)](d[s(568)][s(467)],st),d[s(647)](d[s(568)][s(545)],$),d[s(647)](d[s(568)][s(582)],rt),d[s(647)](d.Event[s(1183)],nt),d[s(647)](d[s(568)][s(1047)],at),d.removeEventListener(d.Event[s(515)],ot),d[s(647)](d.Event[s(1196)],ht),d[s(647)](d[s(568)][s(857)],it),d[s(647)](d[s(568)][s(283)],j),d[s(647)](d[s(568)].AD_PROGRESS,Z)),d=null},Nt=function(i){var s=t;K&&(K=!1,r.reportAdPlaybackTime(dt),r.reportAdState(a[s(847)])),void 0!==f&&f!==e[s(259)]&&(f=void 0,v=!1,_=!1,r[s(598)](h[s(259)]))},Lt=function(){var e=t,i=d[e(1021)]();if(i&&i.video)return i[e(886)]},Ot=function(e){var i=t;d&&d[i(1224)]&&r[i(1051)](void 0,void 0,void 0,void 0,void 0,L,d[i(1224)][i(963)],d[i(1224)][i(550)])},Bt=function(){var e=t,i=[];N=q;var s=1e3*d[e(971)];d[e(402)]()?(N[e(971)]=-1,null!=N[e(402)]&&null!=N[e(402)]||(N[e(402)]=!0)):(N[e(971)]=s,null!=N[e(402)]&&null!=N[e(402)]||(N.isLive=!1)),b=N[e(402)];var a,o,h,u,c,f,l,v,p,S,I,m,E=d[e(1072)];if(E===e(845))N[e(564)]=E,r.setPresentationInformation(N),_=!0;else if(d[e(651)]()&&d[e(651)]()[e(644)]){var T=d[e(651)](),A=T[e(644)];if(d[e(860)],T.length>0){for(var D=0;D<A;D++){var R=(f=D,l=void 0===T[D][e(1210)]?T[D][e(976)]:T[D][e(1210)],v=T[D][e(963)],p=T[D][e(550)],S={},I=void 0,m=void 0,I=n,(m={}).trackIdx=f||0,m[I(1210)]=l||0,m.width=v||0,m[I(550)]=p||0,m.codecIdentifier=S||{},m.segmentInfo=[],m);i[e(773)](R)}a=N.isLive,o=N[e(971)],h=i,1===a&&(a=!0),(c={})[(u=n)(402)]=a||!1,c[u(971)]=o||-1,c[u(492)]=h||[],(N=c)[e(564)]=E,r.setPresentationInformation(N),_=!0}}},kt=function(e){var i=t;m&&e&&console[i(920)](i(706)+e)},xt=function(){return r.getRegistrationStatus()},Ut=function(e,i,s){return r[t(815)](e,i,s)},Ft=function(e,i,n,a,o,h){return r[t(990)](e,i,s,n,a,o,h)},wt=function(t){L=t},Vt=function(e,i){r[t(877)](e,i)},Wt=function(e){r[t(982)](e)},Kt=function(e){r[t(766)](e)};return window[t(1214)]=function(t){Mt()},{initialize:G,getRegistrationStatus:xt,registerMMSmartStreaming:Ft,reportPlayerInfo:Ut,updateSubscriber:function(e,i,s){r[t(1165)](e,i,s)},reportCustomMetadata:function(t,e){return r.reportCustomMetadata(t,e)},reportMetricValue:function(t,e){return r.reportMetricValue(t,e)},disableManifestsFetch:function(e){r[t(664)](e)},enableLogTrace:function(e){m=e,r[t(732)](e)},reportAppInfo:Vt,setDeviceInfo:wt,reportDeviceId:Wt,reportVideoQuality:Kt,setAdapter:function(e,i){var s=t;!1===xt()&&(Ft(i[s(393)],i[s(436)],i[s(811)],i[s(1016)],i.subscriberType,i[s(955)]),Ut(i[s(789)],i[s(1019)],i.playerVersion)),Vt(i[s(624)],i.appVersion),wt(i[s(723)]),Wt(i[s(838)]),Kt(i[s(299)]),g=i[s(500)],M=i[s(731)],G(e)},updateMMConfig:function(i){var s=t;g=i.videoAssetInfo,M=i[s(731)],f===e[s(635)]&&(f=e[s(259)],H(),r[s(598)](h[s(259)])),!v&&d[s(1120)]&&(p=d._sourceSelected[s(399)],Q(p,g))},destroyMMSDK:function(){Mt()}}})},739:function(t,e,i){var s,r=this&&this.__extends||(s=function(t,e){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},s(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}s(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)});Object.defineProperty(e,"__esModule",{value:!0}),e.MediaMelon=e.pluginName=void 0;var n=i(86),a=i(773);e.pluginName="mediaMelon";var o=function(t){function e(e,i,s){var r=t.call(this,e,i,s)||this;return r.mmKalturaPlugin=new n.KALTURAPlayerMMSSIntgr,r.mmKalturaPlugin.setAdapter(i,s),r}return r(e,t),e.prototype.updateConfig=function(e){t.prototype.updateConfig.call(this,e),this.mmKalturaPlugin.updateMMConfig(e)},e.isValid=function(){return!0},e.prototype.destroy=function(){this.mmKalturaPlugin.destroyMMSDK()},e.defaultConfig={customerId:"",domainName:"",subscriberTag:"",subscriberId:"",subscriberType:"",playerName:"",playerVersion:"",playerBrand:"",playerModel:"",videoAssetInfo:{assetId:"",assetName:"",videoId:"",seriesTitle:"",episodeNumber:"",season:"",contentType:"",drmProtection:"",genre:""},appName:"",appVersion:"",deviceMarketingName:"",deviceId:"",videoQuality:"",customTags:{}},e}(a.BasePlugin);e.MediaMelon=o},773:t=>{t.exports=KalturaPlayer}},i={};function s(t){var r=i[t];if(void 0!==r)return r.exports;var n=i[t]={exports:{}};return e[t].call(n.exports,n,n.exports,s),n.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},t=s(739),(0,s(773).registerPlugin)(t.pluginName,t.MediaMelon)})();
2
- //# sourceMappingURL=playkit-js-media-melon.js.map
2
+ //# sourceMappingURL=playkit-media-melon.js.map