1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9612],{14462:(e,t,r)=>{"use strict";r.d(t,{K:()=>l,N:()=>i});var n=r(92999);let i={anti_sharing_ready:!1,anti_sharing:{}};function l(){return(0,n.useCallback)(e=>{i.anti_sharing={...i.anti_sharing,...e},i.anti_sharing_ready=!0},[])}},14828:(e,t,r)=>{"use strict";r.d(t,{jr:()=>s,xU:()=>l});let n="content",i={path:e=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.startsWith("/c/")?e.replace("/c/","/focuspage/").replace(/\+/g," "):e.replace("/forside","/")})(e),structureNumber:e=>void 0!==e&&"undefined"!==e&&"string"==typeof e&&e.includes("structure")?e:void 0===e||"undefined"===e?"undefined":"structure".concat(e),entityNumber:e=>void 0!==e&&"undefined"!==e&&"string"==typeof e&&e.includes("entity")?e:void 0===e||"undefined"===e?"undefined":"entity".concat(e)};function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r={context:n,...e};return Object.keys(r).reduce((e,t)=>{let n=r[t],l=i[t]?i[t](n):n;return e.replace(":".concat(t),l)},t.reduce((e,t)=>e.replace(":".concat(t),""),":context|:path|:structureNumber|:structureType|:structureTitle|:entityNumber|:teaserType|:presentationTitle"))}function s(e){let t;return{internalCampaign:[{...Object.keys(i).reduce((e,t)=>{let r=i[t];return e[t]=r(e[t]),e},{context:n,event:1,...(t=e=>null!=e?e:"undefined",Object.fromEntries(Object.entries(e).map((e,r)=>
1{let[n,i]=e;return[n,t(i)]})))})}]}}},21910:(e,t,r)=>{"use strict";r.d(t,{qB:()=>a,s6:()=>o});var n=r(45807),i=r(92999),l=r(40340);let s=(0,i.createContext)((0,l.v)());function a(e){let{children:t,initialCache:r}=e,a=(0,i.useRef)((0,l.v)(r));return(0,n.jsx)(s.Provider,{value:a.current,children:t})}function o(){return i.useContext(s)}},39445:e=>{e.exports={spinner:"Spinner_spinner__KGQWi","sk-bouncedelay":"Spinner_sk-bouncedelay__6hSN_",bounce1:"Spinner_bounce1__I6YUL",bounce2:"Spinner_bounce2__rNLUl"}},39525:(e,t,r)=>{"use strict";r.d(t,{qK:()=>a,re:()=>c,wZ:()=>o});var n=r(45807),i=r(92999),l=r(21439);let s=(0,i.createContext)({loadedPath:null,setIsLoaded:()=>{}});function a(e){let{children:t}=e,[r,l]=(0,i.useState)(null),a=(0,i.useCallback)(e=>{l(t=>t===e?t:e)},[]),o=(0,i.useMemo)(()=>({loadedPath:r,setIsLoaded:a}),[r,a]);return(0,n.jsx)(s.Provider,{value:o,children:t})}function o(e){let t=(0,l.usePathname)(),{setIsLoaded:r}=(0,i.useContext)(s);(0,i.useEffect)(()=>{e&&t&&r(t)},[e,t,r])}function c(){let e=(0,l.usePathname)(),{loadedPath:t}=(0,i.useContext)(s);return null!==t&&t===e}},40340:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={...e};return{get:e=>t[e],set(e,r){t[e]=r},hydrate(e){Object.assign(t,e)},clearCache(){t={}},extract:()=>t}}},44554:(e,t,r)=>{"use strict";r.d(t,{t:()=>u,e:()=>c});var n=r(90929),i=r(70771),l=r(64695),s=new WeakMap;class a{static get requestHeader(){return{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"}}}addEvent(e){this.events.push(e)}constructor(e){(0,i._)(this,s,{writable:!0,value:void 0}),(0,l._)(this,s,e=>{var t,r;let{user:n,location:i,error:l,info:s,warn:a,context:o,data:c}=e,{href:u,pathname:d,host:p,search:h}=i;return this.addEvent({app:this.app,user:{id:null==n||null==(t=n.userId)?void 0:t.toString(),device:null==n||null==(r=n.device)?void 0:r.deviceUid,agent:navigator.userAgent,region:null==n?void 0:n.region,platform:null==n?void 0:n.platform,appVersion:null==n?void 0:n.appVersion},location:{href:u,pathname:d,host:p,search:h},error:l,info:s,warn:a,context:function(e){if(null==e)return e;switch(typeof e){case"string":return e;case"object":try{return JSON.stringify(e)}catch(t){return e.toString()}default:return e.toString()}}(o),data:c}),this}),this.info=e=>{var t;let{type:r="Info",message:i="Unknown",raw:l}=null!=(t=e.info)?t:{},a={name:r,message:i,raw:JSON.stringify(l)};return(0,n._)(this,s).call(this,{...e,info:a})},this.warn=e=>{var t;let{type:r="Warn",message:i="Unknown",raw:l}=null!=(t=e.warn)?t:{},a={name:r,message:i,raw:JSON.stringify(l)};return(0,n._)(this,s).call(this,{...e,warn:a})},this.error=e=>{var t;let{type:r="Error",message:i="Unknown",stack:l,raw:a,name:o}=null!=(t=e.error)?t:{},c="{}";try{c=JSON.stringify(a)}catch(e){}let u={name:null!=o?o:r,message:i,raw:c,stack:Array.isArray(l)?l:(null==l?void 0:l.split("\n"))||[]};return(0,n._)(this,s).call(this,{...e,error:u})},this.event=this.error;const{logUrl:t,appName:r,appVersion:o}=e;if(!t)throw Error("logUrl is not set");if(!r)throw Error("appName is not set");if(!o)throw Error("appVersion is not set");this.logUrl=t,this.app={name:r,version:o},this.events=[];let c=1e3;const u=()=>{if(this.events.length>0){let e=this.events;this.events=[],fetch(this.logUrl,{...a.requestHeader,body:JSON.stringify(e)}).then(e=>(c=1e3,!0)).catch(()=>{this.events.push(...e),setTimeout(u,c=Math.min(2*c,6e4))})}};setTimeout(u,c)}}var o=r(97215);function c(){let e=new a({logUrl:(0,o.h)().CLIENTSIDE_LOGGING_URL,appName:o.b.APP_NAME,appVersion:o.b.APP_VERSION}),t=t=>{var r;!t.error||null!=(r=t.error.stack)&&r.includes("-extension://")||e.error({error:{message:t.message,stack:t.error.stack,type:"offspring"},location:window.location,context:"offspring/unhandledException"})};return window.addEventListener("error",t),()=>{window.removeEventListener("error",t)}}function u(){return new a({logUrl:(0,o.h)().CLIENTSIDE_LOGGING_URL,appName:o.b.APP_NAME,appVersion:o.b.APP_VERSION})}},55656:(e,t,r)=>{"use strict";r.d(t,{kn:()=>s,z6:()=>a});var n=r(45807),i=r(92999);let l=(0,i.createContext)(null);function s(e){let{children:t,subscription:r}=e;return(0,n.jsx)(l.Provider,{value:r,children:t})}function a(){let e=(0,i.useContext)(l);if(!e)throw Error("useCustomerType must be used within a CustomerTypeProvider");return e}},59601:(e,t,r)=>{"use strict";r.d(t,{H:()=>c});var n=r(45807),i=r(38360),l=r(92999),s=r(40340),a=r(21910),o=r(86713);function c(e){var t;let r,{apiUrl:c,children:u,isAdmin:d}=e,{completed:p,accessToken:h}=(0,o.Jd)(),{updateAccessToken:f}=(0,o.Qc)(),v=(t=(0,l.useMemo)(()=>({url:c,accessToken:h,updateAccessToken:f,isAdmin:d,ready:p}),[c,h,f,d,p]),r=(0,a.s6)(),(0,l.useMemo)(()=>(function(e){let{url:t,accessToken:r=null,initialCache:n=null,ready:i=!1,updateAccessToken:l=()=>{},isAdmin:a=!1}=e;return{operationPrefix:"play_web_content_",cache:null!=n?n:(0,s.v)(),isOnline:!0,ready:i,url:t,requestPolicy:"cache-and-network",shouldRetry:(e,t)=>{if(l){var r,n,i,s,a,o;let[t]=null!=(r=e.error.graphQLErrors)?r:[],c=null!=(n=null==t||null==(i=t.data)?void 0:i.type)?n:null==t||null==(s=t.extensions)?void 0:s.code;("InvalidAuthToken"===c||"RefreshToken"===c||"UNAUTHENTICATED"===c||"INVALID_JWT"===c||"AUTH_ERROR"===c||(null==e||null==(o=e.error)||null==(a=o.response)?void 0:a.status)===401)&&l()}return 0===t},getHeaders:()=>Promise.resolve({Accept:"application/json","Content-Type":"application/json","Client-Platform":"Web","Client-Platform-Class":"","Client-Platform-Audience":"PLAY","Client-Platform-AppVersion":"".concat("2026.9.7180614"),...r?{authorization:"Bearer ".concat(r)}:{},...a?{"Client-Platform-Role":"admin"}:{}})}})({...t,initialCache:r}),[t,r]));return(0,n.jsx)(i.H,{client:v,children:u})}},74356:(e,t,r)=>{"use strict";r.d(t,{M:()=>h});var n=r(14828),i=r(92999),l=r(24080),s=r(39332),a=r(86713),o=r(86783),c=r(49577),u=r(9775),d=r(55656),p=r(14462);function h(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2)||void 0===arguments[2]||arguments[2],h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=(0,i.useRef)(!1),[v,g]=(0,s.u)(),m=function(){var e,t,r,n,i;let l,s,o=(0,a.Jd)(),{profiles:p,profile:{completed:h,profile:f}}=(0,c.F)(),v=(0,u.cB)(),g=(0,d.z6)();if(!(o.completed&&!g.loading&&!v.loading&&h))return;let m=(n=v.subscriptions,i=g.subscription,null==n?void 0:n.map(e=>{if(i){var t;let{addons:r,alert:n,...l}=null!=i?i:{};if((null==l||null==(t=l.product)?void 0:t.id)===e.id)return{...e,...l};let s=null==r?void 0:r.find(t=>{var r;return(null==(r=t.product)?void 0:r.id)===e.id});if(s)return{...e,...s}}return{...e,internal:"DTC"===e.providerType,product:{id:e.id}}}));return{customerStatus:o.user?"logged in":"not logged in",customerId:null==(e=o.user)?void 0:e.userId,traceId:null==(t=o.user)?void 0:t.adobeTraceId,subscriptions:m,subscription:v.subscriptionTracking,...f?{profile:{profileTraceId:"".concat(null==(r=o.user)?void 0:r.adobeTraceId,"_").concat(null==f?void 0:f.id),profileId:null==f?void 0:f.id,profileType:(null==f?void 0:f.kidsProfile)?"restricted":"non-restricted",profileInfo:(l=p.filter(e=>e.kidsProfile).length,s=p.length-l,"r".concat(l,"_n").concat(s,"_t").concat(p.length))}}:{}}}(),x=!!(0,a.Jd)().user,[b,y]=(0,i.useState)(0);(0,i.useEffect)(()=>
1{if(!x)return;let e=setInterval(()=>{y(e=>e+1),p.N.anti_sharing_ready&&clearInterval(e)},1e3);return()=>clearInterval(e)},[x]),(0,i.useEffect)(()=>{var i,s;if(!m||!0===f.current||f.current===e||!r||!p.N.anti_sharing_ready&&x)return;let{pathname:a}=window.location,c="ready"===v.current.status?{icid:(0,n.xU)(v.current.icid),internalCampaign:(0,n.jr)(v.current.icid).internalCampaign}:void 0,u=(null==e?void 0:e.pageName)?e.pageName.split(">"):["tv 2 play",...(null!=(i=null==h?void 0:h.path)?i:(0,o.k)(a)).replace(/-([0-9a-f-]+){5}$/i,"").replace("/c/","/focuspage/").split("/").filter(Boolean)];3===u.length&&"vis"===u[1]&&(u[1]="showall",u[2]=null!=(s=h.pageTitle)?s:u[2]),f.current=!t||e,g({status:"missing"}),(0,l.d)({event:"page view",data:{language:"da-dk",pageType:"Content",breadcrumbs:u,featureFlags:h.featureFlags,...m,...p.N.anti_sharing,...c,...e}})},[v.current,e,v.current.status,h.pageTitle,h,null==h?void 0:h.path,r,g,null==e?void 0:e.pageName,null==e?void 0:e.featureFlags,t,m,x])}},82806:(e,t,r)=>{"use strict";r.d(t,{F:()=>v,H:()=>g});var n=r(45807);let i=(0,r(92999).memo)(e=>{let{picture:t,className:r,alt:i}=e;return(0,n.jsxs)("picture",{children:[t.sources.map(e=>(0,n.jsx)("source",{media:e.maxPixelWidth?"(max-width: ".concat(e.maxPixelWidth,"px)"):void 0,srcSet:e.sourceSet.map(e=>"".concat(e.url," ").concat(e.dpr,"x")).join(", ")},e.maxPixelWidth)),(0,n.jsx)("img",{className:r,style:{marginRight:0},src:t.url,alt:null!=i?i:"",loading:"lazy"})]})});var l=r(40372),s=r(74099);let a=[360,576,768,992,1200,1440,1920],o=[.5,1,1.5,2],c=[];function u(e){let{baseUrl:t,modifications:r=c,aspectRatio:n=null,dprs:i=o,breakPoints:l=a,imgixExtraParams:u={}}=e,d=l.map((e,n)=>{let a="string"==typeof t?t:t[e];if(a)return{sourceSet:i.map(t=>({dpr:t,url:(0,s.M)(a,{gradient:r.includes("Gradient"),rightCornerMark:r.includes("RightCornerMark"),w:e,dpr:t,auto:["format","compress"],fm:"webp",...u})})),maxPixelWidth:n===l.length-1?0:e}}).filter(Boolean);return{url:d[d.length-1].sourceSet[0].url,sources:d,aspectRatio:n}}function d(e){let{title:t,body:r,link:i}=e,a=(0,s.M)("https://play-assets.imgix.net/bg-404.jpg",{blur:300,dpr:.5,fit:"clip",h:1080}),o=u({baseUrl:{768:"https://play-assets.imgix.net/bg-404.jpg?rect=886,0,2520,2160",992:"https://play-assets.imgix.net/bg-404.jpg?rect=0,0,3840,2160",1200:"https://play-assets.imgix.net/bg-404.jpg?rect=0,0,3840,2160",1440:"https://play-assets.imgix.net/bg-404.jpg?rect=0,0,3840,2160",1920:"https://play-assets.imgix.net/bg-404.jpg?rect=0,269,3840,1646"},modifications:["RightCornerMark"],aspectRatio:void 0,dprs:void 0,breakPoints:[992,1200,1440,1920]}),c=u({baseUrl:"https://play-assets.imgix.net/404-mobile.jpg?rect=40,0,1312,1124",modifications:[],aspectRatio:"7 / 6"});return(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(h,{picture:c}),(0,n.jsx)(f,{picture:o,backgroundImage:a}),(0,n.jsxs)("div",{className:"deck flex flex-col space-y-[275px] 768:space-y-0",children:[(0,n.jsx)("div",{className:"relative mb-8 1440:mb-36 w-col-12 1200:w-col-6 1440:w-col-5 1920:w-col-5 768:min-h-[700px]",children:(0,n.jsx)("div",{className:"mt-4 768:mt-0 768:pt-[340px] 992:pt-[120px] relative",children:(0,n.jsx)("div",{className:"mb-4 w-col-12 1200:w-col-6 1440:w-col-5 1920:w-col-4",children:(0,n.jsxs)("div",{className:"flex flex-col col-12",children:[(0,n.jsx)("h1",{className:"text-headline-2xs 768
1:text-headline-xs text-white",children:t}),(0,n.jsx)("p",{className:"text-white text-legacy-body-s",children:r}),(0,n.jsx)("div",{className:"mt-11",children:(0,n.jsx)(l.z9,{href:i.url,color:"primary",children:i.title})})]})})})}),(0,n.jsx)(p,{})]})]})}function p(){return(0,n.jsxs)("div",{className:"flex flex-col max-w-[315px] space-y-1",children:[(0,n.jsx)("h2",{className:"text-subheadline-s text-white",children:"Brug for hj\xe6lp?"}),(0,n.jsxs)("p",{className:"text-legacy-body-xs text-neutral-300",children:["Har du brug for vejledning? Bes\xf8g vores supportside"," ",(0,n.jsx)("a",{href:"https://play.kundeservice.tv2.dk/hc/da",className:"underline",children:"kundecenter"})]})]})}function h(e){var t;let{picture:r}=e;return(0,n.jsxs)("div",{className:"768:hidden bg-midnight-900 relative",style:{aspectRatio:null!=(t=null==r?void 0:r.aspectRatio)?t:"7 / 6"},children:[(0,n.jsx)("div",{children:r&&(0,n.jsx)(i,{picture:r})}),(0,n.jsx)("div",{className:"bg-gradient-to-t from-midnight absolute top-1/2 bottom-0 inset-x-0 -mb-[1px]"})]})}function f(e){let{backgroundImage:t,picture:r}=e;return(0,n.jsxs)("div",{className:"hidden 768:block relative",children:[(0,n.jsxs)("div",{className:"absolute w-full top-0 right-0 bg-midnight-600 h-[1000px] -z-10",children:[(0,n.jsx)("img",{className:"w-full h-full",src:t,alt:""}),(0,n.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-midnight",style:{backgroundColor:"rgba(0, 5, 35, 0.54)"}})]}),(0,n.jsx)(i,{className:"absolute right-0 768:w-col-10",picture:r})]})}function v(){return(0,n.jsx)(d,{title:"Ups... der er sket en uventet fejl.",body:"Pr\xf8v igen om lidt eller kontakt kundeservice.",link:{title:"G\xe5 til forside",url:"/forside"}})}function g(){return(0,n.jsx)(d,{title:"Ups... vi kan ikke finde siden!",body:"Det kan skyldes, at linket ikke virker, eller at siden ikke l\xe6ngere findes.",link:{title:"G\xe5 til forside",url:"/forside"}})}},86913:(e,t,r)=>{"use strict";r.d(t,{K:()=>a,y:()=>o});var n=r(45807),i=r(92999),l=r(39445),s=r.n(l);let a=e=>{let{children:t,delay:r=200,enabled:l=!0}=e,[s,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(!l)return a(!1);let e=setTimeout(()=>a(!0),r);return()=>clearTimeout(e)},[r,l]),s?(0,n.jsx)(o,{}):(0,n.jsx)(n.Fragment,{children:t})||null};function o(){return(0,n.jsxs)("div",{className:s().spinner,children:[(0,n.jsx)("div",{className:s().bounce1}),(0,n.jsx)("div",{className:s().bounce2}),(0,n.jsx)("div",{className:s().bounce3})]})}}}]); 2//# sourceMappingURL=9612-4afa772f2cb9ea10.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.