1import{_ as L}from"./Ckh_v7kC.js";import{_ as q}from"./4PDHrT8g.js";import{_ as B}from"./CP9qmeKN.js";import{_ as D}from"./MlP7Qtb8.js";import{_ as M}from"./2Pzz7TjC.js";import{d as j,o,c as y,w as f,a as u,e as c,t as p,m as k,f as C,F as N,g as z,n as P,u as V,h as I,i as K,j as O,k as E,l as F,p as R,q as G,r as U,s as Z,v as $}from"./Drwx1MbE.js";import{_ as H}from"./wFTCYrkH.js";import{T as g}from"./CYdv9e03.js";import{u as J}from"./DXtfLA9S.js";import{q as Q}from"./D7LtCQ6P.js";import"./DdYAIKw7.js";import"./BVAc6emo.js";const W={tagName:"testimonials-detail",props:{detailColor:{type:String,default:"--color-testimonials"},title:{type:String,default:""},name:{type:String,default:""},location:{type:String,default:""},light:{type:Boolean,default:!1},headlineLevel:{type:String,default:"h1"},headlineClasses:{type:String,default:"h2-font-size bold"},introText:{type:String,default:""},description:{type:String,default:""},image:{type:Object,default:()=>({img:"",alt:""})},body:{type:Object,default:null}},computed:{computedName(){return this.name.replace(/ /g,"<br/>")},computedSubline(){return this.title?`${this.title} | ${this.location}`:this.title}}},X={class:"page-detail__description has-no-border richtext",tag:"main"},Y={class:"testimonials-detail__subline page-detail__subline"},ee={class:"page-detail__img page-detail__animation-3"};function te(h,a,e,v,x,_){const l=q,m=B,i=D,d=M;return o(),y(d,{style:P({"--page-detail-color":`var(${e.detailColor})`,"--color-icon-hover-color":`var(${e.detailColor})`})},{body:f(()=>[c("div",X,[c("p",null,p(e.introText),1),e.body?(o(),y(l,{key:0,value:e.body,tag:"div"},null,8,["value"])):(o(),C(N,{key:1},[z(p(e.description),1)],64))])]),intro:f(()=>[u(m,{text:_.computedName,level:e.headlineLevel,classes:"testimonials-detail__headline page-detail__headline"+(e.headlineClasses?` ${e.headlineClasses}`:" h2-font-size bold")},null,8,["text","level","classes"]),c("span",Y,p(_.computedSubline),1),c("div",ee,[u(i,k(e.image,{cloudinary:h.cloudinary?e.image.cloudinary:!0}),null,16,["cloudinary"])])]),_:1},8,["style"])}const ae=Object.assign(j(W,[["render",te]]),{__name:"TestimonialDetail"}),ge={__name:"[...slug]",async setup(h){var b,S;let a,e;const v=J(),x=V(),l=I().$getLocale(),m=K(),i=x.path.replace(/^\/[a-z]{2}\//,"/"),d=g.getDataKey("testimonial",null,l,i),{data:s}=([a,e]=O(()=>G(d,()=>{const t="content_"+l;return Q(t).path(i).first()},"$eLktEUyGZs")),a=await a,e(),a),n=U(()=>{var r;if(!s.value)return null;const t=g.normalizeMarkdownItem(s.value);return t?{...t,image:t.sliderImg||t.image,body:{...t==null?void 0:t.body,value:g.applyKramdownAttrs((r=t==null?void 0:t.body)==null?void 0:r.value)}}:null});return m.value={footer:((S=(b=s.value)==null?void 0:b.meta)==null?void 0:S.footer)??{noMargin:!0}},s.value&&n.value&&E({title:n.value.name,description:n.value.excerpt??null}),F(()=>{R(()=>{v.setPageIsLoaded(!0)})}),(t,r)=>{const A=L,T=ae,w=H;return o(),C(N,null,[u(A),u(w,null,{default:f(()=>[n.value?(o(),y(T,Z(k({key:0},n.value)),null,16)):$("",!0)]),_:1})],64)}}};export{ge 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.