PageSourceSearch

https://www.femina.dk/_nuxt/C2HKISgw.js

js femina.dk collected 2026-09-24 18:14:54 UTC 4,303 bytes, 1 lines download raw bytes

1import{_ as A}from"./D-RQiHrU.js";import{d as v,E as j,p as w,b as n,c as l,i as h,m,h as o,l as y,x as D,f as s,t as S,F as _,e as g,q as f,y as $,ak as E,r as O}from"./D2XuZ-ni.js";import{_ as I}from"./C8vvehZu.js";import L from"./fW4OyBFt.js";import{_ as N}from"./BPgshSHP.js";import{_ as q}from"./CJqIzRoM.js";import{u as z}from"./eXhTE98z.js";import"./7yN6Eae6.js";import"./nkP0IbwG.js";import"./CvKDdFX3.js";import"./FrPQ53q-.js";import"./Cy8A5b8C.js";import"./xIDq6Avh.js";import"./CVjQf96V.js";const T={class:"h-screen overflow-hidden sticky top-[58px] md:top-[65px] lg:top-70"},P=v({__name:"MainMedia",props:{media:{type:Object,required:!0}},setup(e){const t=D(""),a=c=>{t.value=c?"scale-125 duration-[7s]":""};return(c,x)=>{const d=A,i=j("intersect");return w((n(),l("div",T,[e.media.type==="image"?w((n(),h(d,{key:0,media:e.media,sizes:"(max-width: 768px) calc(100vw - 40px), 100vw",width:"414",height:"548",modifiers:{fit:"crop",ar:"16:9"},class:m(["object-cover h-full transition-all",o(t)])},null,8,["media","class"])),[[i,{callback:a,intersection:{threshold:.8},once:!0}]]):y("",!0)])),[[i,{callback:a,intersection:{threshold:.2},once:!0}]])}}}),V=Object.assign(P,{__name:"LongreadMainMedia"}),F={class:"relative"},J={key:0,class:"relative content-grid"},R=v({__name:"Section",props:{section:{type:Object,required:!0},plus:{type:Boolean,default:!1},hasAccess:{type:Boolean,default:!1}},setup(e){const t=e,a={white:"bg-white",red:"bg-red-400",rose:"bg-rose-400",blurred:"bg-white/60"},c=f(()=>a[t.section.backgroundColor]||"bg-white"),x={white:"text-red-400",red:"text-rose-400",blurred:"text-red-400",rose:"text-white"},d=f(()=>x[t.section.backgroundColor]||"text-white"),i={red:"red-layout",rose:"rose-layout",white:"white-layout",blurred:"blurred-layout"},b=f(()=>i[t.section.backgroundColor]||"text-black"),r=t.section.contentComponents.length&&JSON.parse(JSON.stringify(t.section.contentComponents?.filter(k=>k.type==="text")[0]))||null,p=r?.text?.match(/<p\b[^>]*>.*?<\/p>/gis)||[],u=p?p.slice(0,2):[];return r?.text&&(r.text=u.join("")),(k,X)=>{const C=V,B=I,M=L;return n(),l("section",{"data-aller-id":"longReadSection",class:m([o(c),"-z-10"])},[e.section.media?(n(),h(C,{key:0,media:e.section.media},null,8,["media"])):y("",!0),s("div",{class:m(["max-w-710 py-50 mx-auto relative px-20 lg:px-40",[{"-mt-[18%]":e.section.media}]])},[s("div",{class:m([o(c),{"absolute inset-0 backdrop-blur-lg rounded-t-[50px]":e.section.media}])},null,2),s("div",F,[s("h2",{class:m([o(d),"leading-70 text-center hyphens-auto text-60 py-10 lg:mt-0 lg:text-70 font-serif"])},S(e.section.heading),3),!e.plus||e.hasAccess?(n(),h(B,{key:0,class:m(["hidden-bg-blockquote pt-20",o(b)]),"is-longread":e.section.type==="longReadSection","image-round":e.section.layout==="round_image","content-components":e.section.contentComponents},null,8,["is-longread","image-round","class","content-components"])):(n(),l(_,{key:1},[o(r)?(n(),l("div",J,[g(M,{"component-content":o(r)},null,8,["component-content"])])):y("",!0)],64))])],2)],2)}}}),W=Object.assign($(R,[["__scopeId","data-v-04c2cdab"]]),{__name:"LongreadSection"}),G={id:"longread"},H={class:"relative"},K={class:"relative flex justify-center"},Q={id:"progressBar"},U=v({__name:"longread",props:{hasEntitlementAccess:{type:Boolean,default:!1}},setup(e){const t=E("apiData"),a=t.data.attributes.sections,{longreadMeta:c}=z();return c(t.data),(x,d)=>{const i=W,b=N,r=q;return n(),l(_,null,[s("div",G,[!o(t).data.attributes.premium||e.hasEntitlementAccess?(n(!0),l(_,{key:0},O(o(a),(p,u)=>(n(),h(i,{section:p,"data-aller-position":u+1,id:"section-"+(u+1),key:u},null,8,["section","data-aller-position","id"]))),128)):(n(),l(_,{key:1},[g(i,{section:o(a)[0],"data-aller-position":1,id:"section-1",plus:o(t).data.attributes.premium,"has-access":e.hasEntitlementAccess},null,8,["section","plus","has-access"]),s("div",H,[d[0]||(d[0]=s("div",{class:"absolute inset-x-0 top-0 bg-gradient-to-t from-white from-35% py-50 z-10 -mt-[100px]"},null,-1)),s("div",K,[g(b,{hasAccess:e.hasEntitlementAccess,apiData:o(t),class:"mb-30 lg:mb-60 p-30 mx-15 bg-sand-400 rounded-3xl"},null,8,["hasAccess","apiData"])])])],64))]),s("div",Q,[g(r,{containerId:"longread",progressBarId:"progressBar"})])],64)}}}),ue=Object.assign(U,{__name:"PageTypeLongread"});export{ue 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.