PageSourceSearch

https://www.fairmed.ch/_next/static/chunks/4557.e14302555c7c2e61.js

js fairmed.ch collected 2026-10-02 17:06:34 UTC 2,765 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1077,4557],{1077:(e,l,a)=>{a.r(l),a.d(l,{default:()=>x});var s=a(7876),t=a(4517),n=a(7460),r=a(7185),i=a(8827),c=a.n(i),d=a(8230),o=a.n(d),m=a(6355),u=a(2043);function x(e){var l,a,i,d;let{blok:x,isLinked:p,story:b}=e,{t:f}=(0,m.Bd)("common");return(0,s.jsx)("section",{className:"container mt-6 md:mt-0",...(0,r.K1)(x),children:(0,s.jsxs)("div",{className:"grid-12 relative md:min-h-104",children:[(null==(l=x.bg_picture)?void 0:l.filename)&&(0,s.jsx)(c(),{src:x.bg_picture.filename,alt:null!=(i=x.bg_picture.alt)?i:"",layout:"fill",objectFit:"cover",placeholder:"blur",blurDataURL:x.bg_picture.filename+"/m/50x0",className:"rounded-lg"}),(0,s.jsx)("div",{className:"absolute inset-0 rounded-lg bg-gradient-to-r from-brown from-30% to-brown/20"}),(0,s.jsx)("div",{className:"col-span-6 md:col-span-3 self-start aspect-w-2 aspect-h-3 -mt-6 md:my-6 md:-ml-6 rounded-lg shadow-xl transform md:transform-none translate-x-6",children:(null==(a=x.picture)?void 0:a.filename)&&(0,s.jsx)(c(),{src:x.picture.filename,alt:null!=(d=x.picture.alt)?d:"",layout:"fill",objectFit:"cover",placeholder:"blur",blurDataURL:x.picture.filename+"/m/50x0",className:"rounded-lg"})}),(0,s.jsxs)("div",{className:"col-span-full md:col-span-6 relative mt-auto px-6 pb-6 md:py-8 md:pl-2 text-white",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4 mb-6",children:[(0,s.jsx)("div",{className:"btn w-9 h-9 rounded-full bg-white",children:(0,s.jsx)(n.g,{icon:t.oE6,className:"text-brown"})}),(0,s.jsx)("span",{className:"pre-headline",children:f("message")})]}),x.text&&(0,s.jsx)("div",{className:"richtext h4",children:(0,s.jsx)(u.A,{text:x.text})}),(0,s.jsxs)("div",{className:"flex flex-wrap justify-between items-center gap-x-4",children:[x.name&&(0,s.jsxs)("p",{className:"font-bold",children:[x.name," • ",x.profession]}),p&&b&&(0,s.jsx)(o(),{legacyBehavior:!0,href:"/".concat(b.full_slug),children:(0,s.jsxs)("a",{className:"btn btn-link !pl-0 !text-white",children:[f("all_ambassadors"),(0,s.jsx)(n.g,{icon:t.dmS})]})})]})]})]})})}},4557:(e,l,a)=>{a.r(l),a.d(l,{default:()=>d});var s=a(7876),t=a(1077),n=a(9099),r=a(1992),i=a(7185);let c=async(e,l)=>{l=l||!1;let{data:a}=await (0,i._8)().get("cdn/stories/",{content_type:"ambassadors",version:l?"draft":"published",language:e});return a.stories&&a.stories[0]};function d(e){var l;let{blok:a}=e,{data:i}=(()=>{let{locale:e,isPreview:l}=(0,n.useRouter)();return(0,r.useQuery)(["ambassadors",e],()=>c(e||"de",l))})(),d=null==i||null==(l=i.content.body)?void 0:l.filter(e=>"ambassador"===e.component).find(e=>{var l;return null==(l=e.name)?void 0:l.includes(a.ambassador.toString())});return d?(0,s.jsx)(t.default,{blok:d,isLinked:!0,story:i}):null}}}]);

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.