1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[102],{10449:(e,t,r)=>{r.d(t,{j:()=>s});function s(e){let t="hidden",r="visibilitychange",s="visibilityState";return void 0===e.hidden&&void 0!==e.webkitHidden&&(t="webkitHidden",r="webkitvisibilitychange",s="webkitVisibilityState"),{hiddenAttribute:t,visibilityChangeEvent:r,visibilityStateKey:s}}},14844:(e,t,r)=>{r.d(t,{Y:()=>n});var s=r(42333),i=r(70334);class n extends s.S{context;isMemoryMonitoringSupported;scheduleUserAgentMemoryTimeout;isUserAgentSpecificMemorySupported;constructor(e){super(),this.context=e,this.supportedTags.add("FPS"),this.isMemoryMonitoringSupported="memory"in e.performance,this.isMemoryMonitoringSupported&&(this.supportedTags.add("MEMORY"),this.supportedTags.add("MEMORY_LIMIT"),this.performMemoryMeasurement=this.performMemoryMeasurement.bind(this)),this.isUserAgentSpecificMemorySupported=this.context.crossOriginIsolated&&"function"==typeof this.context.performance.measureUserAgentSpecificMemory,this.isUserAgentSpecificMemorySupported&&(this.measureUserAgentMemory=this.measureUserAgentMemory.bind(this),this.supportedTags.add("USER_AGENT_SPECIFIC_MEMORY"))}nativeStartMonitoring(){let e=(0,i.Cu)(this.telemetryLog),t=this.startUsedMemoryMonitoring();return()=>{e(),t()}}startUsedMemoryMonitoring(){let e;return this.isMemoryMonitoringSupported&&(e=setInterval(this.performMemoryMeasurement,1e3)),this.isUserAgentSpecificMemorySupported&&this.performUserAgentMemoryMeasurement(),()=>{clearInterval(e),clearTimeout(this.scheduleUserAgentMemoryTimeout),this.scheduleUserAgentMemoryTimeout=void 0}}performMemoryMeasurement(){let{usedJSHeapSize:e,jsHeapSizeLimit:t}=this.context.performance.memory;this.telemetryLog.measure("TELEMETRY","MEMORY",e),this.telemetryLog.measure("TELEMETRY","MEMORY_LIMIT",t)}performUserAgentMemoryMeasurement(){this.scheduleUserAgentMemoryTimeout=setTimeout(this.measureUserAgentMemory,1e3)}async measureUserAgentMemory(){let e=await this.context.performance.measureUserAgentSpecificMemory();this.telemetryLog.measure("TELEMETRY","USER_AGENT_SPECIFIC_MEMORY",e.bytes),this.scheduleUserAgentMemoryTimeout&&this.performUserAgentMemoryMeasurement()}}},21890:(e,t,r)=>{r.d(t,{V:()=>n});var s=r(71673);let i="CTV_FRAMEWORK_DEVICE_ID";class n{cache;deviceBrand="";deviceManufacturer="";deviceFirmware="";deviceModel="";deviceFullModel="";deviceType="Unknown";deviceVersion="";deviceFullVersion="";partnerId="";operatingSystemName="";operatingSystemVersion="";browserName="";browserVersion="";userFriendlyName="";frameworkName="";frameworkVersion="";containerVersion="";deviceChipset="";cachedDeviceId="";constructor(e){this.cache=e}initialise(){return this.cache.getItem(i).then(e=>this.cacheDeviceId(e))}get uniqueDeviceId(){return this.cachedDeviceId}set uniqueDeviceId(e){this.cachedDeviceId=e,this.cache.setItem(i,e)}cacheDeviceId(e){return e?this.cachedDeviceId=e:(this.cachedDeviceId=(0,s.D)(20),this.cache.setItem(i,this.cachedDeviceId)),this.cachedDeviceId}}},32307:(e,t,r)=>{r.d(t,{p:()=>n});var s=r(94657),i=r(97571);class n{keyCodeMap={};preventDefault=new Set([-1]);keyUpObservable=new i.c;keyDownObservable=new i.c;constructor(e){e.onkeydown=e=>{this.handleKeyDown(e)},e.onkeyup=e=>{this.handleKeyUp(e)}}onKeyUp(e){this.keyUpObservable.registerObserver(e,this)}onKeyDown(e){this.keyDownObservable.registerObserver(e,this)}removeKeyUpListener(e){this.keyUpObservable.unregisterObserver(e)}removeKeyDownListener(e){this.keyDownObservable.unregisterObserver(e)}removeAllKeyUpListeners(){this.keyUpObservable.unregisterObservers(this)}removeAllKeyDownListeners(){this.keyDownObservable.unregisterObservers(this)}removeAllListeners(){this.keyUpObservable.unregisterObservers(this),this.keyDownObservable.unregisterObservers(this)}handleKeyDown(e){this.handleKeyEvent(this.keyDownObservable,e)}handleKeyUp(e){this.handleKeyEvent(this.keyUpObservable,e)}handleKeyEvent(e,t){this.preventDefault.has(t.keyCode)&&t.preventDefault&&t.preventDefault();let r=(0,s.t)(this.keyCodeMap,t.keyCode),[i,n,...o]=r,a={key:i,keyCode:t.keyCode};r.length>1&&(a.secondaryKey=n,a.otherKeys=[n,...o]),e.notifyObservers(a)}}},37831:(e,t,r)=>{r.d(t,{P:()=>i,v:()=>
1o});var s,i,n=r(97571);(s=i||(i={})).Fullscreen="fullscreen",s.Resume="resume",s.Suspend="suspend";class o{observables={};on(e,t){(this.observables[e]||=new n.c).registerObserver(t,this)}off(e,t){let r=this.observables[e];r&&r.unregisterObserver(t)}notify(e,t){let r=this.observables[e];r&&r.notifyObservers(t)}isAppBackgrounded(){return!1}onResuming(e){this.on("resume",e)}unregisterResuming(e){this.off("resume",e)}onSuspending(e){this.on("suspend",e)}unregisterSuspending(e){this.off("suspend",e)}onFullscreenChanged(e){this.on("fullscreen",e)}unregisterFullscreenChanged(e){this.off("fullscreen",e)}}},42333:(e,t,r)=>{r.d(t,{S:()=>n});var s=r(54013),i=r(70334);class n{supportedTags=new Set;measurementsStore;telemetryLog;stopMonitoring=null;constructor(){this.telemetryLog=new i.FU,this.measurementsStore=(0,i.FY)(),this.telemetryLog.registerHandler(this.measurementsStore.metricsHandler)}getMeasurementsStore(){return this.measurementsStore}getPerformanceTags(){return this.supportedTags}startMonitoring(){this.stopMonitoring&&(s.k.warn("Tried to start monitoring without stopping the previous session"),this.stopMonitoring(),this.stopMonitoring=null);let e=this.nativeStartMonitoring(),t=()=>{e(),this.stopMonitoring=null};return this.stopMonitoring=t,t}getMemoryData(e,t){let r={usage:e.filter(e=>"MEMORY"===e.tag).map(e=>({time:e.t.currentTime,value:e.value}))};if(t.has("MEMORY_LIMIT")){let t=e.find(e=>"MEMORY_LIMIT"===e.tag);r.memoryLimit=t?.value}if(t.has("USER_AGENT_SPECIFIC_MEMORY")){let t=e.find(e=>"USER_AGENT_SPECIFIC_MEMORY"===e.tag);r.userAgentSpecificMemory=t?.value}return r}}},47947:(e,t,r)=>{r.d(t,{P:()=>n});var s=r(37831),i=r(10449);class n extends s.v{context;hiddenAttribute;constructor(e){super(),this.context=e;const t=e.document,{hiddenAttribute:r,visibilityChangeEvent:s}=(0,i.j)(t);this.hiddenAttribute=r,t.addEventListener(s,()=>{t[this.hiddenAttribute]?this.notify("suspend"):this.notify("resume")}),t.addEventListener("fullscreenchange",()=>{this.notify("fullscreen",t.fullscreen||!!t.fullscreenElement)})}isAppBackgrounded(){return this.context.document[this.hiddenAttribute]}}},56910:(e,t,r)=>{r.d(t,{OneSdkDeviceFactory:()=>f});var s=r(63438),i=r(71653),n=r(89962),o=r(47947),a=r(14844),c=r(82763),h=r(13383),u=r(9778),l=r(98224);class d{hasLowerEndSpecs(){return!0}requiresLicensingSigning(){return!1}hasThumbnailScrubbingSupport(){return!0}hasExtendedDvrSupport(){return!1}supportsExtendedDvrOnIsp(){return!1}prefersHttp(){return!1}getHardwareCapabilities(){return Promise.resolve({audioFormats:[h.S.Stereo],colourSpaces:[l.K1.SDR],videoFormat:l.T4.HD})}getPlayoutCapabilities(){return{default:u.bS}}}var m=r(21890);class p extends m.V{context;constructor(e,t){super(e),this.context=t}initialise(){let e=this.context.navigator.userAgent;return this.deviceType="Settop",this.userFriendlyName="RDK_OneSdk",this.deviceBrand="vodafoneziggo",this.operatingSystemName="Linux",this.browserName="WPE",this.browserVersion=g(e,/WPE\/(.*?) /),this.deviceChipset=g(e,/MN=(.*?);/),this.deviceManufacturer=g(e,/brand=(.*?) /),this.deviceModel=this.deviceFullModel=g(e,/PC=(.*?);/),Promise.all([this.setVersionInformation(e),super.initialise()])}setVersionInformation(e){if(!this.context.onesdk){let t=g(e,/HZN\/(.*?) /),r=g(e,/FV=(.*?);/);return this.deviceVersion=t,this.deviceFirmware=this.operatingSystemVersion=r,Promise.resolve()}return this.context.onesdk.getDeviceInformation().catch(()=>({})).then(({middlewareVersion:e="N/A",firmwareVersion:t="N/A"})=>{this.deviceVersion=e,this.deviceFirmware=this.operatingSystemVersion=t})}}function g(e,t){let r=e.match(t);return r&&r[1]||"N/A"}var v=r(32307),y=r(94657);let S={[y.w.UP]:[38],[y.w.DOWN]:[40],[y.w.LEFT]:[37],[y.w.RIGHT]:[39],[y.w.ENTER]:[13],[y.w.BACK]:[27],[y.w.RW]:[227],[y.w.FF]:[228],[y.w.PLAY_PAUSE]:[179],[y.w.INFO]:[93],[y.w[1]]:[49],[y.w[2]]:[50],[y.w[3]]:[51],[y.w[4]]:[52],[y.w[5]]:[53],[y.w[6]]:[54],[y.w[7]]:[55],[y.w[8]]:[56],[y.w[9]]:[57],[y.w[0]]:[48],[y.w.CHANNEL_UP]:[176],[y.w.CHANNEL_DOWN]:[177]},E=new Set;class T extends v.p{keyCodeMap=S;preventDefault=E}class f{constructor(){self.onesdk?.init()}initialise(){let e=new T(self),t=new d,r=new o.P(self),h=new i.v(self),u=new p(h,self),l=new c.v(self),m=new a.Y(self),g=new n.z(self);return u.initialise().then(()=>({type:s.b.OneSdk,capabilities:t,deeplink:l,deviceInfo:u,input:e,lifecycle:r,networkStatus:g,storage:h,telemetry:m}))}}},71653:(e,t,r)=>{r.d(t,{v:()=>i});var s=r(77995);
1class i{storage;setSecureItem=this.setItem;getSecureItem=this.getItem;removeSecureItem=this.removeItem;getAllSecureKeys=this.getAllKeys;constructor(e){this.storage=e.localStorage}setItem(e,t){return null===t?(this.storage.removeItem(e),Promise.resolve()):(0,s.j)(()=>this.storage.setItem(e,t))}getItem(e){return(0,s.j)(()=>this.storage.getItem(e))}removeItem(e){return(0,s.j)(()=>this.storage.removeItem(e))}clear(){return(0,s.j)(()=>this.storage.clear())}getAllKeys(){return(0,s.j)(()=>Object.keys(this.storage))}}},71673:(e,t,r)=>{r.d(t,{D:()=>i,y:()=>n});let s="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";function i(e){let t="";for(let r=0;r<e;r++)t+=s[Math.floor(Math.random()*s.length)];return t}function n(e,t){return e.substring(0,3)===t?e.substring(3):e}},77995:(e,t,r)=>{r.d(t,{j:()=>s});function s(e){return new Promise(t=>t(e()))}},82763:(e,t,r)=>{r.d(t,{h:()=>o,v:()=>n});var s=r(54013),i=r(89759);class n{data="";constructor(e=self,t=!0,r=i.b){t&&(this.data=o(e.location.href,r))}onDeeplink(e){}}let o=(e,t=i.b)=>{if(e)try{let r=decodeURIComponent(e.replace(/\+/g,"%20")),s=t.exec(r);if(s&&s.length>0)return s[1]}catch(t){s.k.error("Unable to decode deeplink",e,t)}return""}},89759:(e,t,r)=>{r.d(t,{b:()=>s,p:()=>i});let s=/deeplinkData=([^&]+)/,i=/([^&]+)/},89962:(e,t,r)=>{r.d(t,{z:()=>i});var s=r(72158);class i extends s.pT{context;constructor(e){super(),this.context=e,this.context.addEventListener("online",this.handleConnected.bind(this)),this.context.addEventListener("offline",this.handleDisconnected.bind(this))}getNetworkConnectionStatus(){return+!!this.context.navigator.onLine}getNetworkConnectionType(){let e=this.context.navigator,t=e.connection||e.mozConnection||e.webkitConnection;if(t){let e=t.type;if(e)return"cellular"===e?t.effectiveType.toUpperCase():e.toLowerCase()}return"unknown"}handleConnected(){this.notifyConnectionStatusChanged(1)}handleDisconnected(){this.notifyConnectionStatusChanged(0)}}},94657:(e,t,r)=>{r.d(t,{t:()=>i,w:()=>s});let s={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",AD:"AD",BACK:"BACK",BLUE:"BLUE",CHANNEL_DOWN:"CHANNEL_DOWN",CHANNEL_PREV:"CHANNEL_PREV",CHANNEL_UP:"CHANNEL_UP",DELETE:"DELETE",DOWN:"DOWN",ENTER:"ENTER",EXIT:"EXIT",FF:"FF",GREEN:"GREEN",HELP:"HELP",INFO:"INFO",INSTANT_REPLAY:"INSTANT_REPLAY",L3:"L3",LEFT:"LEFT",PAUSE:"PAUSE",PLAY:"PLAY",PLAY_PAUSE:"PLAY_PAUSE",RED:"RED",RIGHT:"RIGHT",RW:"RW",SEARCH:"SEARCH",SHORTCUT_1:"SHORTCUT_1",SHORTCUT_2:"SHORTCUT_2",SHORTCUT_3:"SHORTCUT_3",SHORTCUT_4:"SHORTCUT_4",SHORTCUT_5:"SHORTCUT_5",SHORTCUT_6:"SHORTCUT_6",SHORTCUT_7:"SHORTCUT_7",SHORTCUT_8:"SHORTCUT_8",SHORTCUT_9:"SHORTCUT_9",SKIP_NEXT:"SKIP_NEXT",SKIP_PREV:"SKIP_PREV",START:"START",STOP:"STOP",SUBTITLES:"SUBTITLES",UNKNOWN:"UNKNOWN",UP:"UP",Y:"Y",YELLOW:"YELLOW"};function i(e,t){let r=[];for(let s in e)-1!==e[s].indexOf(t)&&r.push(s);return 0===r.length&&r.push(s.UNKNOWN),r}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.