PageSourceSearch

https://wdp.eu/dist/assets/ConsentMedia.vue_vue_type_script_setup_true_lang-7fa9c8d0.js

js wdp.eu collected 2026-09-24 10:11:39 UTC 2,079 bytes, 2 lines download raw bytes

1import{d as h,r as v,o as _,a as y,b as s,c as u,n as w,e as c,f as n,w as f,g as d,t as m,u as t,h as C,i,j as b,F as k}from"./vue.esm-bundler-bbafd767.js";import{o as z,h as p}from"./cookie-script-41076616.js";import{g as r}from"./translations-cdaccf3a.js";import{_ as $}from"./TextBody.vue_vue_type_script_setup_true_lang-7c26a275.js";import{_ as B}from"./TextH3.vue_vue_type_script_setup_true_lang-9128df48.js";import{_ as N}from"./ImageContent.vue_vue_type_script_setup_true_lang-9ac0a13c.js";import{_ as V}from"./ButtonPrimary.vue_vue_type_script_setup_true_lang-54eab911.js";const E={class:"prose relative z-20 max-w-full space-y-8 text-center font-primary"},M=h({__name:"ConsentMedia",props:{image:{},ratio:{default:"aspect-video"},utilities:{default:""},categories:{}},setup(g){const l=g,a=v(!1),o=()=>{a.value=p(l.categories),console.log("Consent media given value: "+p(l.categories))};return _(()=>{o(),window.addEventListener("ConsentUpdated",o)}),y(()=>{window.removeEventListener("ConsentUpdated",o)}),(e,S)=>(s(),u(k,null,[a.value?i("",!0):(s(),u("div",{key:0,class:w(["h-full w-full","flex items-center justify-center","p-8","rounded-4xl","bg-white","relative overflow-hidden","after:absolute after:left-0 after:top-0 after:z-10 after:h-full after:w-full after:backdrop-blur-sm after:transition-colors after:duration-500 after:ease-in-out",e.ratio,e.utilities])},[c("div",E,[n(B,null,{default:f(()=>[d(m(t(r)("This content is hosted by a third party")),1)]),_:1}),c("div",null,[n($,null,{default:f(()=>[d(m(t(r)("You're not able to see this content because you didn't accept the cookies yet.")),1)]),_:1})]),n(V,{size:"small",type:"button",content:t(r)("Accept the cookies"),onClick:t(z)},null,8,["content","onClick"])]),e.image?(s(),C(N,{key:0,utilities:"absolute left-0 top-0 h-full w-full opacity-20",image:e.image,loading:"lazy",ratio:e.ratio,sizes:["100vw"]},null,8,["image","ratio"])):i("",!0)],2)),a.value?b(e.$slots,"default",{key:1}):i("",!0)],64))}});export{M as _};
2//# sourceMappingURL=ConsentMedia.vue_vue_type_script_setup_true_lang-7fa9c8d0.js.map

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.