PageSourceSearch

https://www.mm.dk/_nuxt/ClZsJ0Wn.js

js mm.dk collected 2026-10-01 11:38:29 UTC 7,089 bytes, 1 lines download raw bytes

1import{ba as S,d as C,j as B,H as R,I as P,a as t,o as n,k as i,l as s,f as o,t as c,s as m,c as g,w as u,p as E,e as f,Y as L,F as A,n as U,g as b,_,m as D,B as M}from"./CHMWgbwv.js";import{h as N}from"./BY7pCchF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"28d2c28e0945b6469ec584e101c9514c17a2d4a0"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8fc54d76-736c-4b20-b66a-f6dd6f17a629",e._sentryDebugIdIdentifier="sentry-dbid-8fc54d76-736c-4b20-b66a-f6dd6f17a629")}catch{}})();const $=S("/small_icon_MM_fuction_subscription.png"),z=""+new URL("promoicon_announcement.CqRTQCwS.svg",import.meta.url).href,O=""+new URL("promoicon_conversation.Ai0LzOaY.svg",import.meta.url).href,j=""+new URL("promoicon_conversation_light.BHgZ7xac.svg",import.meta.url).href,V="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='60px'%20height='60px'%20viewBox='0%200%2060%2060'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3eEmail%3c/title%3e%3cg%20id='2021.06.29'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='Kandidattesten---Overview'%20transform='translate(-770.000000,%20-2374.000000)'%3e%3cg%20id='Group'%20transform='translate(80.000000,%202344.000000)'%3e%3cg%20id='Email'%20transform='translate(690.000000,%2030.000000)'%3e%3crect%20id='Mask'%20x='0'%20y='0'%20width='60'%20height='60'%3e%3c/rect%3e%3cpath%20d='M52.7384855,17.5928969%20C52.9067232,17.7771572%2053,18.0176551%2053,18.2671662%20L53,46%20C53,46.5522847%2052.5522847,47%2052,47%20L8,47%20C7.44771525,47%207,46.5522847%207,46%20L7,18.2671662%20C7,17.7148815%207.44771525,17.2671662%208,17.2671662%20C8.24951112,17.2671662%208.49000902,17.360443%208.67426936,17.5286807%20L18.287,26.3061598%20L13.8312884,34.4759713%20C13.7651727,34.5971834%2013.8098372,34.7490425%2013.9310492,34.8151582%20C14.0284097,34.868264%2014.1491193,34.8508807%2014.227539,34.772461%20L20.59,28.4091598%20L29.3257306,36.3843628%20C29.7076248,36.7330488%2030.2923752,36.7330488%2030.6742694,36.3843628%20L39.409,28.4081598%20L45.772461,34.772461%20C45.8351968,34.8351968%2045.924998,34.8588692%2046.0082577,34.8386386%20L46.0689508,34.8151582%20C46.1901628,34.7490425%2046.2348273,34.5971834%2046.1687116,34.4759713%20L46.1687116,34.4759713%20L41.712,26.3051598%20L51.3257306,17.5286807%20C51.7335849,17.156292%2052.3660968,17.1850426%2052.7384855,17.5928969%20Z'%20id='Red'%20fill='%23E60103'%3e%3c/path%3e%3cpath%20d='M7.74522169,13%20L52.2547783,13%20C52.8070631,13%2053.2547783,13.4477153%2053.2547783,14%20C53.2547783,14.2954082%2053.1241659,14.5757007%2052.8979704,14.7657049%20L30.6431921,33.4597186%20C30.271295,33.7721122%2029.728705,33.7721122%2029.3568079,33.4597186%20L7.1020296,14.7657049%20C6.67914248,14.4104797%206.62429164,13.779695%206.97951682,13.3568079%20C7.16952104,13.1306124%207.44981349,13%207.74522169,13%20Z'%20id='Blue'%20fill='%232C2CA4'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Y=""+new URL("promoicon_podcast.IVOY9BlP.svg",import.meta.url).href,F=""+new URL("promoimage_announcement.BRD1nONv.png",import.meta.url).href,Z={key:0},G={key:0,class:"container text-center mb-6 md:mb-16"},H={class:"flex items-center flex-col"},q=["src"],K={key:0,class:"text-center max-w-4xl mx-auto body-m mt-2"},Q={class:"flex gap-6 justify-center items-center"},J={key:0,class:"flex items-center flex-col"},W={class:"ml-auto mr-auto !font-light"},X={key:0,class:"body-m mt-2"},ee={class:"flex justify-center items-center gap-6"},te=C({__name:"Promo",props:{placement:{},header1:{},header2:{},subText:{},cta:{},ctaLabel:{},iconType:{},small:{type:Boolean},id:{},hideIfLoggedIn:{type:Boolean},width:{default:300},height:{default:360}},setup(e){const r=B(),h=R(),x=P(),l=e,I=b(()=>l.hideIfLoggedIn?h.user?.hasActiveSubscription:!1),a=b(()=>{if(l.iconType==="announcement")return F}),T=b(()=>({conversation:a.value?O:j,podcast:Y,email:V,emailmm:"/small_icon_MM_fuction_email.png",announcement:z})),p=b(()=>{const d=x.activePaper?.colorRGB;if(d)return N(d,.2)}),y=()=>{r.promotionClick(l.id??"",l.header1??"","promo",l.placement??"")};return(d,v)=>{const k=E,w=_;return t(I)?o("",!0):(n(),i("div",Z,[e.placement==="full"?(n(),i("div",G,[s("div",H,[e.iconType?(n(),i("img",{key:0,src:t(T)[e.iconType],class:"h-15 w-auto mb-5"},null,8,q)):o("",!0)]),s("h1",{class:m(["text-center max-w-4xl mx-auto",e.small?"headline-xs":"headline-s"])},c(e.header1),3),s("h2",{class:m(["text-center max-w-4xl mx-auto !font-light",e.small?"headline-xs":"headline-s"])}
1,c(e.header2),3),e.subText?(n(),i("p",K,c(e.subText),1)):o("",!0),s("div",Q,[e.cta?(n(),g(w,{key:0,to:e.cta,onClick:y},{default:u(()=>[e.ctaLabel?(n(),g(k,{key:0,size:"large",bg:t(a)?"bg-white":"bg-black",text:t(a)?"text-black":"text-white",border:"border-none",class:"mt-6"},{default:u(()=>[f(c(e.ctaLabel),1)]),_:1},8,["bg","text"])):o("",!0)]),_:1},8,["to"])):o("",!0)]),d.$slots.disclaimer?(n(),i("div",{key:1,class:m(["body-xs mt-2 max-w-xl mx-auto","text-black"])},[L(d.$slots,"disclaimer")])):o("",!0)])):(n(),i(A,{key:1},[t(a)?o("",!0):(n(),i("div",J,[...v[0]||(v[0]=[s("img",{class:"w-45 h-45 -mb-12",src:$},null,-1)])])),s("div",{class:m(["rounded-xl overflow-hidden",["pt-6",t(a)?"text-white bg-top bg-contain":t(p)?"bg-white":"bg-black bg-opacity-10"]]),style:U([{"background-image":t(a)?"url("+t(a)+")":void 0},{backgroundColor:t(p)}])},[s("div",{class:m(["px-5 pb-8 text-center",[t(a)&&e.iconType==="announcement"?"bg-gradient-to-t from-darkblue via-darkblue pt-15":t(a)?"bg-gradient-to-t from-black via-black pt-15":"pt-8"]])},[o("",!0),s("div",{class:m(["ml-auto mr-auto",e.placement==="side"?"promo-title-small mb-6":"promo-title mb-10"])},[s("h1",null,c(e.header1),1),s("h2",W,c(e.header2),1),e.subText?(n(),i("p",X,c(e.subText),1)):o("",!0)],2),s("div",ee,[e.cta?(n(),g(w,{key:0,to:e.cta,onClick:y},{default:u(()=>[e.ctaLabel?(n(),g(k,{key:0,size:e.placement==="side"?"medium":"large",bg:t(a)?"bg-white":"bg-black",text:t(a)?"text-black":"text-white",border:"border-none",class:"mt-6"},{default:u(()=>[f(c(e.ctaLabel),1)]),_:1},8,["size","bg","text"])):o("",!0)]),_:1},8,["to"])):o("",!0)]),d.$slots.disclaimer?(n(),i("div",{key:1,class:m(["mt-2 body-xs",{"opacity-50":!1}])},[L(d.$slots,"disclaimer")])):o("",!0)],2)],6)],64))]))}}}),ne=Object.assign(te,{__name:"CommonPromo"}),oe=C({inheritAttrs:!1,__name:"SubscriptionPromo",setup(e){return(r,h)=>{const x=_,l=ne;return n(),g(l,M({"icon-type":"conversation",header1:"Til dig, der former fremtiden",header2:"Dybdegående analyser af samfundets største udfordringer – og de løsninger, der peger fremad.","cta-label":"Bliv abonnent",cta:{name:"subscription"},"hide-if-logged-in":""},r.$attrs),{disclaimer:u(()=>[f(c(r.$t("AllreadySubscribedShort"))+"? ",1),D(x,{class:"underline",to:{name:"login"}},{default:u(()=>[f(c(r.$t("Login")),1)]),_:1})]),_:1},16)}}}),ce=Object.assign(oe,{__name:"MmSubscriptionPromo"});export{ce as _};

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.