PageSourceSearch

https://kronborg.dk/_nuxt/CbRu45aY.js

js kronborg.dk collected 2026-10-02 05:02:46 UTC 3,072 bytes, 1 lines download raw bytes

1import{_ as Q}from"./7yWbMKXS.js";import{u as q,_ as G}from"./CvKW8rCp.js";import H from"./DmjNTSgM.js";import{N as J,P as y,Q as K,a6 as l,a8 as t,ak as C,af as e,a9 as k,ah as U,at as x,ai as w,aj as N,aa as p,aE as W,a7 as n,av as P,au as I}from"./Dj1sZokb.js";import{u as T}from"./DE3qlVWT.js";import{e as X}from"./CKs0ftel.js";import{u as Y}from"./DdGhHiyS.js";import{_ as Z}from"./DlAUqK2U.js";import"./CitWpwTc.js";import"./DzaSPnxV.js";import"./D6UkULNO.js";import"./zSVAXB3J.js";import"./C89A5gsx.js";import"./b6-bZ-J0.js";const ee={class:"b-related-content pb-spacing-5 pt-spacing-8 container overflow-x-hidden xl:grid xl:grid-cols-12"},ae={class:"max-xl:mb-spacing-5 lg:col-span-5"},se={class:"lg:col-span-6 lg:col-start-7"},oe={class:"gap-spacing-margin hidden w-full md:grid md:grid-cols-2"},te=["aria-label"],ne={class:"slider_container"},le=["inert"],re=["aria-label"],ie=2,ce=J({__name:"RelatedContent",props:{data:{}},setup(B){const M=B,{getResolvedCardData:m}=Y(),[R,S]=X({inViewThreshold:.7,watchFocus:!1,breakpoints:{"(min-width: 768px)":{active:!1}}}),{selectedIndex:V,slideCount:u,canScrollPrev:j,canScrollNext:A,scrollPrev:D,scrollNext:L,isSlideInert:E,statusLabel:F}=q({api:S,count:()=>c.value.length}),i=y([]),c=y([]),$=a=>{const o=[...a];for(let s=o.length-1;s>0;s--){const d=Math.floor(Math.random()*(s+1));[o[s],o[d]]=[o[d],o[s]]}return o},_=()=>{W()||(i.value=$(i.value)),c.value=i.value.slice(0,ie)};return K(()=>{i.value=M.data.items||[],_()}),(a,o)=>{var h,f,g,b,v;const s=Q,d=G,z=H;return n(),l("section",ee,[t("div",ae,[t("h2",{class:C(("cn"in a?a.cn:e(P))(("useTypography"in a?a.useTypography:e(T))("h3")))},k((h=a.data)==null?void 0:h.headline),3),t("p",{class:C(("cn"in a?a.cn:e(P))(("useTypography"in a?a.useTypography:e(T))("h5"),"pt-spacing-4"))},k((f=a.data)==null?void 0:f.subheadline),3)]),t("div",se,[t("ul",oe,[(n(!0),l(w,null,N(e(c),r=>(n(),l("li",{class:"h-full",key:r.id},[p(s,I({class:"max-w-full"},{ref_for:!0},e(m)(r)),null,16)]))),128))]),t("div",{class:"slider md:hidden",ref_key:"emblaRef",ref:R,role:"region","aria-roledescription":"carousel","aria-label":(g=a.data)==null?void 0:g.headline},[t("ul",ne,[(n(!0),l(w,null,N(e(c),(r,O)=>(n(),l("li",{class:"slider_slide",key:r.id,inert:e(E)(O)||void 0},[p(s,I({ref_for:!0},e(m)(r)),null,16)],8,le))),128))])],8,te),e(u)>1?(n(),U(d,{key:0,class:"mt-3 md:hidden","can-scroll-prev":e(j),"can-scroll-next":e(A),"selected-index":e(V),"slide-count":e(u),"position-label":e(F),onPrev:e(D),onNext:e(L)},null,8,["can-scroll-prev","can-scroll-next","selected-index","slide-count","position-label","onPrev","onNext"])):x("",!0),((v=(b=a.data)==null?void 0:b.items)==null?void 0:v.length)>2?(n(),l("button",{key:1,onClick:_,class:"mt-spacing-5 bg-theme-primary-3 flex w-10 cursor-pointer items-center justify-center p-2.5","aria-label":a.$t("related content.shuffle")},[p(z,{name:"custom-icon:magic-wand",class:"text-theme-primary-4 h-5 w-5"})],8,re)):x("",!0)])])}}}),we=Object.assign(Z(ce,[["__scopeId","data-v-b7da1bc2"]]),{__name:"BlocksRelatedContent"});export{we 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.