1import{_ as f,o as s,c as o,e,F as _,a as h,n as b,t as r,h as d,b as k,r as m}from"./app-index-CXQob2hh.js";const g="/assets/ex-video-banner-CuHXP6vY.svg",v="/assets/ex-one-pager-banner-BOIZS3Zy.svg",C={name:"PartnerResourcesContent",props:{block:{type:Object,required:!0}},computed:{tags(){return this.block.field_tags||[]},fileItems(){return this.block.field_file&&this.block.field_file.items?this.block.field_file.items:[]},downloadLabel(){return this.block.field_file?.download_label||"Download in "},hasVideoTag(){return this.tags.some(l=>l.machine_name==="video")},heroBackgroundImage(){return this.hasVideoTag?g:v}},methods:{getFileName(l){return l?l.split("/").pop():""},formatLangcode(l){return l?l.toUpperCase():""}}},w={class:"container"},y={class:"partner-resources-content"},L={class:"partner-resources-hero"},M=["src"],B={class:"hero-inner"},H={class:"hero-tags"},T=["innerHTML"],x=["innerHTML"],I=["href"],V={class:"text t-caption"},p={class:"partner-resources-body"},F={class:"left-column"},N=["innerHTML"],P={key:0,class:"right-column"},S={class:"downloads-card"},E=["innerHTML"],Z={class:"downloads-list"},j=["href","download"],A={class:"label"};function D(l,a,t,O,R,i){const u=m("BaseMediaEntity");return s(),o("div",w,[e("div",y,[e("div",L,[e("img",{src:i.heroBackgroundImage,alt:"Hero banner",class:"hero-background"},null,8,M),e("div",B,[e("div",H,[(s(!0),o(_,null,h(i.tags,(n,c)=>(s(),o("button",{key:c,class:b(["tag t-small-strong",{"is-active":n.is_active||n.active}])},r(n.name||n),3))),128))]),t.block.field_title&&l.$isBlockHtml(t.block.field_title)?(s(),o("div",{key:0,class:"hero-title",innerHTML:t.block.field_title},null,8,T)):t.block.field_title?(s(),o("h1",{key:1,class:"hero-title",innerHTML:t.block.field_title},null,8,x)):d("",!0)])]),e("a",{href:t.block.go_back_link,class:"go-back-link"},[a[0]||(a[0]=e("span",{class:"icon"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"5",height:"10",viewBox:"0 0 5 10",fill:"none"},[e("path",{d:"M4.86563 0.84313C4.90855 0.795422 4.94211 0.739302 4.96438 0.677974C4.98665 0.616645 4.99721 0.55131 4.99544 0.485697C4.99367 0.420085 4.97962 0.35548 4.95408 0.295573C4.92854 0.235665 4.89202 0.181627 4.8466 0.136544C4.80118 0.0914618 4.74775 0.0562174 4.68937 0.0328233C4.63098 0.00942931 4.56878 -0.0016562 4.50631 0.000199884C4.44384 0.00205597 4.38234 0.0168172 4.3253 0.0436408C4.26826 0.0704645 4.21682 0.108825 4.1739 0.156533L0.130042 4.65389C0.0465311 4.74667 0 4.86951 0 4.99719C0 5.12487 0.0465311 5.24771 0.130042 5.34049L4.1739 9.83835C4.21653 9.8871 4.26797 9.92647 4.32521 9.95417C4.38246 9.98186 4.44437 9.99733 4.50736 9.99969C4.57035 10.002 4.63315 9.99122 4.69212 9.96786C4.75109 9.9445 4.80506 9.90907 4.85088 9.86362C4.89671 9.81816 4.93348 9.7636 4.95906 9.7031C4.98464 9.6426 4.99852 9.57736 4.99989 9.51117C5.00126 9.44499 4.9901 9.37918 4.96705 9.31756C4.944 9.25595 4.90953 9.19976 4.86563 9.15225L1.13006 4.99719L4.86563 0.84313Z",fill:"#96A5BA"})])],-1)),e("span",V,r(t.block.go_back_label),1)],8,I),e("div",p,[e("div",F,[t.block.field_media?.[0]?(s(),k(u,{key:0,image_style:"default",media:t.block.field_media[0],thumbnail:t.block.field_teaser_media?.[0]},null,8,["media","thumbnail"])):d("",!0),t.block.body?(s(),o("div",{key:1,class:"field-body",innerHTML:t.block.body},null,8,N)):d("",!0)]),i.fileItems.length?(s(),o("aside",P,[e("div",S,[e("div",{class:"downloads-card-title t-body-emphasis",innerHTML:t.block.field_subtitle},null,8,E),e("ul",Z,[(s(!0),o(_,null,h(i.fileItems,(n,c)=>(s(),o("li",{key:c},[e("a",{href:n.file,class:"download-link t-body-emphasis",download:i.getFileName(n.file),target:"_blank",rel:"noopener noreferrer"},[a[1]||(a[1]=e("span",{class:"icon"},[e("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M12.5 5V13.5M12.5 13.5L15.5 10.5M12.5 13.5L9.5 10.5M5.5 15V17C5.5 17.5304 5.71071 18.0391 6.08579 18.4142C6.46086 18.7893 6.96957 19 7.5 19H17.5C18.0304 19 18.5391 18.7893 18.9142 18.4142C19.2893 18.0391 19.5 17.5304 19.5 17V15",stroke:"#01388C","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})])],-1)),e("span",A,r(i.downloadLabel)+r(i.formatLangcode(n.langcode)),1)],8,j)]))),128))])])])):d("",!0)])])])}const z=f(C,[["render",D],["__scopeId","data-v-ae385c37"]]);export{z 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.