PageSourceSearch

https://www.diva-e.com/_nuxt/MixedMediaForm.8cff8243.js

js diva-e.com collected 2026-10-01 11:59:01 UTC 2,557 bytes, 1 lines download raw bytes

1import{_ as y}from"./HeadingType.vue.1146a9d9.js";import{_ as w}from"./ResponsiveImage.vue.262bdd56.js";import L from"./FormBlock.f773021a.js";import{d as B,v as M,c as u,e as a,f as n,j as d,u as o,A as p,h as t,q as f,z as h,n as R}from"./swiper-vue.d06afa39.js";import{a as U,h as $}from"./entry.ad64c700.js";const C=["id"],D={class:"mixed-media-form__container"},F={class:"mixed-media-form__wrapper"},j={class:"mixed-media-form__column column-info"},H={key:0,class:"label mixed-media-form__label"},N=["innerHTML"],E={key:3,class:"mixed-media-form__img"},O={class:"mixed-media-form__column column-form"},T={key:0,class:"mixed-media-form__non-gated"},V={key:0,class:"mixed-media-form__img"},q=["aria-label"],z=B({__name:"MixedMediaForm",props:{blok:{type:Object,required:!0}},setup(b){const g=b,{blok:e}=M(g),{$resolveLink:k}=U(),_=u(()=>e.value.cta?k(e.value.cta):null),x=async()=>{const i=_.value;if(i)try{const s=await fetch(i);if(!s.ok)throw new Error("Download failed");const l=await s.blob(),r=URL.createObjectURL(l),m=i.split("/").pop()||"download",c=document.createElement("a");c.href=r,c.download=m,c.click(),URL.revokeObjectURL(r)}catch(s){console.error("Download failed:",s)}},v=u(()=>({_uid:"fake",component:"form-block",title:e.value.form_headline,form:e.value.form}));return(i,s)=>{const l=y,r=w,m=L;return a(),n("div",{id:o(e).anchor_id,class:R(["mixed-media-form",{"mixed-media-form--dark":o(e).background_color==="dark-blue"}])},[d("div",D,[d("div",F,[d("div",j,[o(e).label?(a(),n("span",H,p(o(e).label),1)):t("",!0),o(e).headline?(a(),f(l,{key:1,"current-tag":"h2","heading-type":o(e).heading_type,"class-name":"mixed-media-form__title",heading:o(e).headline},null,8,["heading-type","heading"])):t("",!0),i.$hasContent(o(e).paragraph)?(a(),n("div",{key:2,class:"mixed-media-form__paragraph richtext",innerHTML:i.$renderHtml(o(e).paragraph)},null,8,N)):t("",!0),o(e).image&&!o(e).non_gated?(a(),n("div",E,[h(r,{image:o(e).image,width:"930",height:"604"},null,8,["image"])])):t("",!0)]),d("div",O,[o(e).non_gated?(a(),n("div",T,[o(e).image?(a(),n("div",V,[h(r,{image:o(e).image,width:"930",height:"604"},null,8,["image"])])):t("",!0),o(e).cta_text&&o(_)?(a(),n("button",{key:1,class:"btn btn--sm btn--light mixed-media-form__cta","aria-label":o(e).label?`Download ${o(e).label}`:"Download file",onClick:x},p(o(e).cta_text),9,q)):t("",!0)])):t("",!0),o(e).non_gated?t("",!0):(a(),f(m,{key:1,blok:o(v),"class-name":"hubspot-form--blue"},null,8,["blok"]))])])])],10,C)}}});const K=$(z,[["__scopeId","data-v-98adf413"]]);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.