1import{_ as U}from"./pMGUb7q5.js";import{_ as W}from"./DK6lQ68Z.js";import{_ as X}from"./C7B3NXIt.js";import Y from"./DkbAYqeG.js";import Z from"./BhLq0Uri.js";import ee from"./Dd7-JGMD.js";import te from"./C19OTJZ1.js";import ne from"./3p-F7bxt.js";import{_ as oe}from"./B-5bLwEr.js";import{d as ae,k as re,l as ie,m as v,i as se,c as g,e as c,g as e,b as f,w as k,x as r,h as m,F as le,r as ce,j as l,C as me,p as ue,q as _e,v as pe,o as n,y as de,t as ye,z as ve,B as ge,A as fe}from"./DjUjRTxR.js";import{u as ke}from"./CyAJfFrK.js";import{u as xe}from"./Cyp3h_wz.js";import{u as be}from"./Ccx08mft.js";import"./DhdqehsD.js";import"./BQHSZ1rp.js";import"./B51w9WgX.js";import"./BVGpt9TG.js";import"./B-G3Xx3n.js";import"./C70RBKox.js";import"./Cchh0342.js";import"./CQSF46WN.js";import"./DqtgfT1k.js";import"./B-izdFga.js";import"./DGEhTJPs.js";import"./CdLzRx-X.js";import"./DWWdV8x_.js";import"./D1fKpC9K.js";const he={class:"frame frame--noTop"},Te={class:"content-stack mt-16"},Ye=ae({__name:"frokost-kantine",async setup(Le){let a,u;re("invert","overlay");const{contentRef:x}=ke(),{data:t}=ie()?([a,u]=v(()=>ue(_e().LunchCantinaSingletonQuery)),a=await a,u(),a):([a,u]=v(()=>pe("/api/lunch-cantina","$Iec_b9gP7S")),a=await a,u(),a),b=l(()=>t.value?.video?.source?.muxPlaybackId||null),h=l(()=>t.value?.heroTheme||"primary"),T=l(()=>t?.value?.content??[]),L=l(()=>t.value?.textOpeningSmartLink??null),C=l(()=>{const i=t.value;if(!i)return null;const o=i.caseListSmartLink;if(o?.label)return o;const p=i.ctaLabel;return p?{label:p,linkType:"internal",destination:null,destinationType:"casesSingleton"}:null});xe({title:t.value?.title,seo:t.value?.seo,image:t.value?.image});const S=[{_id:"0",media:t?.value?.segments?.cantina?.image||null,text:t?.value?.segments?.cantina?.description||null,title:t?.value?.segments?.cantina?.title||null,color:"primary",smartLink:{label:t?.value?.segments?.cantina?.ctaLabel||null,linkType:"internal",destination:"kantine",destinationType:"page"}},{_id:"1",media:t?.value?.segments?.lunch?.image||null,text:t?.value?.segments?.lunch?.description||null,title:t?.value?.segments?.lunch?.title||null,color:"secondary",smartLink:{label:t?.value?.segments?.lunch?.ctaLabel||null,linkType:"internal",destination:"frokost",destinationType:"page"}}],y=l(()=>t.value?.informationsbar??null),{primaryLabel:O,primaryTo:R,primaryTarget:q,primaryRel:B,secondaryLabel:F,secondaryTo:$,secondaryTarget:I,secondaryRel:w,overlayRef:_,overlayFormType:d,onPrimaryClick:A,onSecondaryClick:D}=be(y,"lunch",se.START_DIALOGEN_I_DAG);return(i,o)=>{const p=U,N=W,P=X,V=Y,E=Z,G=ee,M=te,Q=ne,j=oe,H=ve,z=ge,J=fe,K=me;return n(),g("div",he,[c(p,{class:"break-out--frame",title:e(t)?.title||"",image:e(t)?.image,"video-playback-id":e(b),"hero-theme":e(h),"overlap-layout":""},null,8,["title","image","video-playback-id","hero-theme"]),f("div",{ref_key:"contentRef",ref:x,class:"hero-primary-content bg-theme-neutral"},[c(N,{entrance:"",title:e(y)?.title||e(t)?.title||void 0,to:e(R),target:e(q),rel:e(B),"secondary-label":e(F),"secondary-to":e($),"secondary-target":e(I),"secondary-rel":e(w),onClick:e(A),onSecondaryClick:e(D)},{default:k(()=>[de(ye(e(O)),1)]),_:1},8,["title","to","target","rel","secondary-label","secondary-to","secondary-target","secondary-rel","onClick","onSecondaryClick"]),c(P,{"overlap-bar":""}),f("div",Te,[e(t)?.textOpening?(n(),r(V,{key:0,layout:"simple",text:e(t).textOpening,"smart-link":e(L),"content-alignment":"højre","left-align":""},null,8,["text","smart-link"])):m("",!0),c(E,{title:e(t)?.servicesTitle||"",description:e(t)?.servicesDescription||"",items:S,layout:"large"},null,8,["title","description"]),e(t)?.testimonials?(n(),r(G,{key:1,testimonials:e(t).testimonials},null,8,["testimonials"])):m("",!0),e(t)?.caseLogos?.length?(n(),r(M,{key:2,title:e(t)?.casesTitle||"",description:e(t)?.casesDescription||"","smart-link":e(C),cases:e(t)?.caseLogos?.map(s=>({logo:s}))||[]},null,8,["title","description","smart-link","cases"])):m("",!0),e(t)?.faqs?(n(),r(Q,{key:3,faqs:e(t)?.faqs,title:e(t)?.faqsTitle,description:e(t)?.faqsDescription},null,8,["faqs","title","description"])):m("",!0),(n(!0),g(le,null,ce(e(T),s=>(n(),r(j,{key:s._key,block:s},null,8,["block"]))),128))])],512),c(K,{ref_key:"ctaOverlayRef",ref:_,"hide-nav":"","dialog-width":"1/2"},{default:k(()=>
1[e(d)==="lunch"?(n(),r(H,{key:0,onClose:o[0]||(o[0]=s=>e(_)?.closeOverlay())})):e(d)==="catering"?(n(),r(z,{key:1,onClose:o[1]||(o[1]=s=>e(_)?.closeOverlay())})):e(d)==="teambuilding"?(n(),r(J,{key:2,onClose:o[2]||(o[2]=s=>e(_)?.closeOverlay())})):m("",!0)]),_:1},512)])}}});export{Ye as default};
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.