PageSourceSearch

https://www.kyst-kyststien.dk/_nuxt/DmEGUsGX2.js

js kyst-kyststien.dk collected 2026-10-04 09:08:38 UTC 7,681 bytes, 1 lines download raw bytes

1import{Ba as e,Ct as t,Ea as l,Qi as a,Tt as o,Ya as s,Zi as r,aa as i,ao as n,at as c,ia as u,io as d,it as m,la as g,no as h,oa as f,oo as p,ot as v,ra as x,rt as w,so as b,ua as y,ut as k,wa as S,ya as _}from"./cEYMgSOO.js";import{C,g as H,y as z}from"#entry";var j={class:d(["flex flex-col items-center","absolute top-1/4 left-1/2 -translate-x-1/2","<960:w-full <960:px-layout-margin z-3"])},E={key:1,class:d(["text-center text-body-lg-regular mb-lg","text-[rgb(var(--theme-colors-text-onSurfaceCustom))]"])},F={__name:"FrontPageHeaderSubsiteSimple",props:{title:String,teaser:String,link:Object},setup(a){const r=s(!1),n=s(null);function c(){const e=document.documentElement.scrollHeight,t=window.innerHeight,l=window.scrollY;r&&(n.value=Math.max(l/(e-t),0))}return S(()=>{r.value=!0,c()}),k("scroll",c),k("resize",c),(s,c)=>{const m=H,v=w,k=t,S=o;return l(),f("div",{class:"c-front-page-header-subsite-simple",style:p([`--percentage:${h(n)}`])},[y(m,_({"is-mounted":h(r)},{isMounted:h(r)}),null,16,["is-mounted"]),x("div",j,[a.title?(l(),u(v,{key:0,class:d(["!font-800 text-display-lg text-center mb-sm","text-[rgb(var(--theme-colors-text-onSurfaceCustom))]"])},{default:e(()=>[g(b(a.title),1)]),_:1})):i("",!0),a.teaser?(l(),f("p",E,b(a.teaser),1)):i("",!0),a.link?.url?.length?(l(),u(S,{key:2,to:a.link.url,color:"secondary",icon:"start"},{icon:e(()=>[y(k,{name:"arrow-forward"})]),default:e(()=>[g(b(a.link.name),1)]),_:1},8,["to"])):i("",!0)])],4)}}},O={class:"flex h-full"},I={class:"flex flex-col relative w-[calc(var(--visual-viewport-width)/2)] px-3xl my-auto <1280:hidden z-5 pb-22.5vh"},M={key:1,class:"max-w-5/12col mb-lg text-body-lg-regular text-[rgb(var(--theme-colors-text-onSurfaceCustom))]"},B={class:"block overflow-hidden >=1280:w-[calc(var(--visual-viewport-width)/2)] w-[--visual-viewport-width]"},D={key:1,class:"relative z-2 h-full"},P={class:"w-12/12col mb-3xl mx-auto >=1280:hidden"},Y={key:1,class:"mb-lg text-body-lg-regular text-[rgb(var(--theme-colors-text-onSurfaceCustom))] >=656:max-w-8/12col"},T={__name:"FrontPageHeaderSubsiteHalf",props:{title:String,teaser:String,link:Object,media:Object,alias:String,settings:Object},setup(n){const d=n,v=s(!1),C=s(null);function z(){v&&(C.value=Math.max(window.scrollY/(document.documentElement.scrollHeight-window.innerHeight),0))}const j=s(!0);function E(){j.value=!j.value}return k("scroll",z),k("resize",z),S(()=>{d.video&&(j.value=!0),v.value=!0,z()}),(s,d)=>{const k=H,S=w,z=t,F=o,T=m,$=c;return l(),f(a,null,[x("div",{class:"c-front-page-header-half",style:p([`--percentage:${h(C)}`])},[y(k,_({class:"absolute pointer-events-none","is-mounted":h(v)},{isMounted:h(v)}),null,16,["is-mounted"]),x("div",O,[x("div",I,[n.title?(l(),u(S,{key:0,class:"mb-sm text-display-lg !font-800 text-[rgb(var(--theme-colors-text-onSurfaceCustom))] max-w-5/12col"},{default:e(()=>[g(b(n.title),1)]),_:1})):i("",!0),n.teaser?(l(),f("p",M,b(n.teaser),1)):i("",!0),n.link?.url?.length?(l(),u(F,{key:2,to:n.link.url,color:"secondary",icon:"start"},{icon:e(()=>[y(z,{name:"arrow-forward"})]),default:e(()=>[g(b(n.link.name),1)]),_:1},8,["to"])):i("",!0)]),x("div",B,["image"===n.media.type?(l(),u(T,{key:0,class:"relative h-full z-2 !w-full",fit:"cover","show-background":!1,src:n.media.cropUrl,width:n.media.width,height:n.media.height,alt:n.media.altText,"img-attrs":{fetchpriority:"high"},loading:"eager"},null,8,["src","width","height","alt"])):"video"===n.media.type?(l(),f("div",D,[n.media?(l(),u($,{key:0,class:"h-full object-cover","play-state":h(j),video:n.media,preload:"meta",loading:"eager"},null,8,["play-state","video"])):i("",!0),"video"===n.media.type?(l(),f("button",{key:1,role:"button",class:"absolute w-lg h-lg right-sm bottom-196 >=960:bottom-164 >=1280:bottom-10vw z-10 bg-#000/64 rounded-full scale-80",onClick:r(E,["prevent"])},[h(j)?(l(),u(z,{key:0,name:"pause-circle",class:"w-full h-full text-#CFD6E0 scale-125"})):(l(),u(z,{key:1,name:"play-circle",class:"w-full h-full text-#CFD6E0 scale-125"}))])):i("",!0)])):i("",!0)])])],4),x("div",P,[n.title?(l(),u(S,{key:0,class:"mb-sm !font-800 text-display-lg text-[rgb(var(--theme-colors-text-onSurfaceCustom))]"},{default:e(()=>[g(b(n.title),1)]),_:1})):i("",!0),n.teaser?(l(),f("p",Y,b(n.teaser),1)):i("",!0),n.link?.url?.length?(l(),u(F,{key:2,to:n.link.url,color:"secondary",icon:"start"},{icon:e(()=>[y(z,{name:"arrow-forward"})]),default:e(()=>[g(b(n.link.name),1)]),_:1},8,["to"])):i("",!0)])],64)}}}
1,$={class:"c-front-page-header-subsite-full"},A={key:1,class:"relative z-1 !w-100vw h-full"},U={class:">=1280:grid 1280:grid-cols-2 flex flex-col w-12/12col mx-auto my-2xl gap-x-gutter"},Q={class:"flex flex-col items-start <1280:max-w-8/12col <960:max-w-12/12col"},Z={key:0,class:"mb-lg text-body-lg-regular text-[rgb(var(--theme-colors-text-onSurfaceCustom))]"},q={__name:"FrontPageHeaderSubsite",props:{title:String,teaser:String,link:Object,media:Object},setup(a){const n=s(!1),v=s(null);function C(){n&&(v.value=Math.max(window.scrollY/(document.documentElement.scrollHeight-window.innerHeight),0))}const z=s(!0);function j(){z.value=!z.value}return k("scroll",C),k("resize",C),S(()=>{n.value=!0,C()}),(s,k)=>{const S=m,C=c,E=t,F=H,O=w,I=o;return l(),f("div",$,[x("div",{class:"c-front-page-header-subsite-full__media",style:p([`--percentage:${h(v)}`])},[x("div",{class:d(["absolute top-0 left-0 w-[--visual-viewport-width] transition-height duration-800",{"h-[calc(100%-7.5vw)] >=1920:h-full":h(n),"h-full":!h(n)}])},["image"===a.media?.type?(l(),u(S,{key:0,class:"relative h-full z-1 !w-100vw",fit:"cover","show-background":!1,src:a.media.cropUrl,width:a.media.width,height:a.media.height,alt:a.media.altText,"img-attrs":{fetchpriority:"high"},loading:"eager"},null,8,["src","width","height","alt"])):"video"===a.media?.type?(l(),f("div",A,[a.media?(l(),u(C,{key:0,class:"w-full h-full object-cover","play-state":h(z),video:a.media,preload:"meta",loading:"eager"},null,8,["play-state","video"])):i("",!0),"video"===a.media.type?(l(),f("button",{key:1,role:"button",class:"absolute w-lg h-lg right-sm bottom-[max(0px,180px-7.5vw)] >=960:bottom-[max(0px,180px-10vw)] >=1280:bottom-[max(0px,180px-10vw)] >=1536:bottom-[max(0px,180px-7.5vw)] >=1920:bottom-10vw z-10 bg-#000/32 rounded-full scale-80",onClick:r(j,["prevent"])},[h(z)?(l(),u(E,{key:0,name:"pause-circle",class:"w-full h-full text-#CFD6E0 scale-125"})):(l(),u(E,{key:1,name:"play-circle",class:"w-full h-full text-#CFD6E0 scale-125"}))])):i("",!0)])):i("",!0)],2),y(F,_({"is-mounted":h(n),class:"pointer-events-none"},{isMounted:h(n)}),null,16,["is-mounted"])],4),x("div",U,[a.title?(l(),u(O,{key:0,class:"!font-800 mb-sm text-display-lg text-[rgb(var(--theme-colors-text-onSurfaceCustom))] <1280:max-w-8/12col <960:max-w-12/12col"},{default:e(()=>[g(b(a.title),1)]),_:1})):i("",!0),x("div",Q,[a.teaser?(l(),f("p",Z,b(a.teaser),1)):i("",!0),a.link?.url?.length?(l(),u(I,{key:1,to:a.link.url,color:"secondary",icon:"start"},{icon:e(()=>[y(E,{name:"arrow-forward"})]),default:e(()=>[g(b(a.link.name),1)]),_:1},8,["to"])):i("",!0)])])])}}},G={class:"d-front-page"},J={__name:"FrontPage",props:{feedback:Object,hideFeedback:Boolean,contentElements:Array,heroItem:Array},setup:t=>(z(),(a,o)=>{const s=F,r=T,i=q,c=C,d=v;return l(),f("article",G,[y(d,null,{default:e(()=>[y(c,{name:"content-page-layout","block-list":t.contentElements,"block-context":"wide"},{header:e(()=>["BlockSubSiteHeroSimple"===t.heroItem[0]?.alias?(l(),u(s,n(_({key:0},{...t.heroItem[0]})),null,16)):"BlockSubSiteHero5050"===t.heroItem[0]?.alias?(l(),u(r,n(_({key:1},{...t.heroItem[0]})),null,16)):(l(),u(i,n(_({key:2},{...t.heroItem[0]})),null,16))]),_:1},8,["block-list"])]),_:1})])})};export{J 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.