PageSourceSearch

https://www.danishcrown.com/_nuxt/CK_2rucL.js

js danishcrown.com collected 2026-10-01 10:45:22 UTC 5,379 bytes, 1 lines download raw bytes

1import y from"./XIrq9obg.js";import{r as w,c as n,C as s,o as t,a as l,B as h,e as c,Z as b,$ as o,K as i,D as k,a0 as v,a1 as u,J as C,a2 as L,a3 as B}from"#entry";const j={key:0,class:"c-contact-card rounded-sm overflow-hidden"},T={class:"px-24 py-md2 >=960:px-20 >=1440:px-40 >=1920:px-md2 >=960:py-48 w-full"},A={class:"flex flex-col justify-center items-center text-center"},E={key:0,class:"text-header-xxs font-bold mb-12"},F={key:1,class:"text-caption-md italic"},$={class:"flex flex-col pt-20"},M=["innerHTML"],P=["href"],N={key:3,class:"w-full flex items-center gap-12 py-8 mt-24"},O={key:4,class:"flex justify-center mx-auto flex-col gap-8 mt-24"},D={key:0,class:"flex gap-x-20 flex-wrap justify-between"},V={class:"text-caption-md whitespace-nowrap font-bold"},z=["href"],H={key:1,class:"flex gap-x-20 flex-wrap justify-between"},S={class:"text-caption-md whitespace-nowrap font-bold"},U=["href"],q={__name:"ContactCard",props:{item:Object,settings:Object,showAsCard:Boolean},setup(e){const r=w(!1);return(a,d)=>{const m=y;return e.item?(t(),n("div",j,[l("div",T,[e.item?.image?.cropUrl&&!e.settings?.hideImage?(t(),h(m,{key:0,src:("useLocalFocus"in a?a.useLocalFocus:c(b))(e.item.image?.cropUrl,e.item.localFocusPoint),width:e.item.image?.width,height:e.item.image?.height,ratio:1/1,fit:"cover",sizes:"170px >=375:170px >=605:170px",class:"w-full max-w-[170px] h-full mb-24 mx-auto",alt:e.item.altText},null,8,["src","width","height","alt"])):s("",!0),l("div",A,[e.item.name?(t(),n("span",E,o(e.item.name),1)):s("",!0),e.item.title&&!e.settings?.hideTitle?(t(),n("span",F,o(e.item.title),1)):s("",!0),!e.settings?.hideEmail||!e.settings?.hideText?(t(),n("div",{key:2,class:i(["grid duration-300 ease-slow",[c(r)?"grid-rows-[1fr]":"grid-rows-[0fr] delay-100"]])},[l("div",{class:i(["flex flex-col justify-center items-center gap-32","overflow-hidden duration-200 ease-slow",[c(r)?"opacity-100 delay-200":"opacity-0"]])},[l("div",$,[e.item.text&&!e.settings?.hideText?(t(),n("div",{key:0,class:"mt-8",innerHTML:e.item.text},null,8,M)):s("",!0),e.item.email&&!e.settings?.hideEmail?(t(),n("a",{key:1,href:`mailto:${e.item.email}`,class:"text-caption-md font-bold uppercase underline hover:no-underline cursor-pointer break-all"},o(e.item.email),9,P)):s("",!0)])],2)],2)):s("",!0),!e.settings?.hideEmail&&e.item.email?.length||!e.settings?.hideText&&e.item.text?.length?(t(),n("div",N,[l("div",{class:i(["h-1 w-20 flex-grow",[e.showAsCard?"bg-current-color":"bg-current-color >=605:bg-current-primary"]])},null,2),l("button",{class:i(["c-contact-card__button","w-40 rounded-full aspect-square",[e.showAsCard?"bg-current-color":"bg-current-color >=605:bg-current-primary"]]),onClick:d[0]||(d[0]=()=>{r.value=!c(r)})},[k(c(v),{class:i(["c-contact-card__button-icon","w-full duration-300 ease-slow",[c(r)?"rotate-180":"rotate-0",e.showAsCard?"text-current-primary":"text-current-primary >=605:text-current-color"]])},null,8,["class"])],2),l("div",{class:i(["h-1 w-20 flex-grow",[e.showAsCard?"bg-current-color":"bg-current-color >=605:bg-current-primary"]])},null,2)])):s("",!0),!e.settings?.hidePhone||!e.settings?.hideMobile?(t(),n("div",O,[e.item.phone&&!e.settings?.hidePhone?(t(),n("div",D,[l("span",V,o(("useLabel"in a?a.useLabel:c(u))("blockContactsPhone").value),1),l("a",{href:`tel:${e.item.phone}`,class:"text-caption-md whitespace-nowrap >=960:hover:underline underline-offset-2"},o(e.item.phone),9,z)])):s("",!0),e.item.mobile&&!e.settings?.hideMobile?(t(),n("div",H,[l("span",S,o(("useLabel"in a?a.useLabel:c(u))("blockContactsMobile").value),1),l("a",{href:`tel:${e.item.mobile}`,class:"text-caption-md whitespace-nowrap >=960:hover:underline underline-offset-2"},o(e.item.mobile),9,U)])):s("",!0)])):s("",!0)])])])):s("",!0)}}},K={__name:"BlockListBlocksBlockContacts",props:{content:Object,settings:Object},setup(e){const a=C(e.settings,"BlockContactEmployees");return(d,m)=>{const g=q;return t(),n("div",{class:i(["c-block-list-contacts",c(a)])},[l("div",{class:i(["c-block-list__separator-padding c-block-list__separator-line w-full text-current-primary",[[e.content.employees.length===1&&!e.content.headline?">=375:bg-current-color >=375:py-md2":"bg-current-color py-md2"]]])},[e.content?.employees?.length>0?(t(),n("div",{key:0,class:i([">
1=605:max-w-layout-max <605:px-layout-margin <605:w-full >=605:mx-auto flex <605:snap-x <605:snap-mandatory >=605:grid gap-layout-gutter <605:overflow-x-auto",[[e.content.employees.length===1?"grid-cols-1 w-12col >=605:w-8col":"w-12col"],[e.content.employees.length===2?">=605:grid-cols-2 w-8col":"w-12col"],{">=605:grid-cols-2 >=960:grid-cols-3":e.content.employees.length===3},{">=605:grid-cols-2 >=960:grid-cols-3 >=1440:grid-cols-4":e.content.employees.length>=4}]])},[(t(!0),n(L,null,B(e.content.employees,(f,x)=>(t(),h(g,{key:x,item:f,items:e.content.employees,count:e.content.employees.length,settings:e.settings?.hideFields,"show-as-card":e.settings?.showAsCards,class:i(["<605:snap-center",[[e.content.employees.length>1?"c-block-list-contacts__items-mobile":"w-full"],{"<960:first:col-span-2":e.content.employees.length===3},[e.settings.showAsCards?"bg-current-primary text-current-color":"bg-current-primary text-current-color >=605:bg-current-color >=605:text-current-primary"]]])},null,8,["item","items","count","settings","show-as-card","class"]))),128))],2)):s("",!0)],2)],2)}}};export{K 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.