1import{_ as ue,k as ce,a as de,l as me,u as pe,B as ge,b as _e,o as he,m as fe,C as ve,d as be,D as ye,f as xe,g as ke,h as we,G as Me,M as Ce,I as Ge,T as Se,K as Be,Q as Fe,O as Ae,J as Te,W as ze}from"./ClrPqwtt.js";import{_ as Ue}from"./Da0m7omf.js";import{_ as $e}from"./BPIr0Z93.js";import{_ as Ie}from"./DOGyVQYw.js";import{w as Ne,k as Le,h as T,o as We,c,m as o,a as u,q as s,s as v,u as t,b as d,t as p,v as g,x as z,F as U,y as $,B as De}from"./CGPNxvoe.js";import"./W5NKTDU8.js";import"./Ceep3lFU.js";import"./ktq6Mwsp.js";const He={__name:"[id]",async setup(Oe){let M,I;const{page:N}=ce(),{setAvailableLanguages:O}=de(),{updateListItems:q}=me(),{locale:C}=pe(),{isLogged:R}=ge(),b=_e(),{params:L}=he(),P=fe(),{push:j}=ve(),{public:G}=be(),{width:_}=ye(),{data:e}=([M,I]=Ne(()=>we(`/api/content/pages/customer-stories-cards/${C.value}`,{key:`page-customers-pages-[id]-${L.id}-${C.value}`})),M=await M,I(),M);xe({title:e.value.page.titleSeo,description:e.value.page.descriptionSeo,ogTitle:e.value.page.titleSeo,ogDescription:e.value.page.descriptionSeo,twitterTitle:e.value.page.titleSeo,twitterDescription:e.value.page.descriptionSeo}),ke({link:[{rel:"canonical",href:`${G.baseUrl}${b("customers")}`}],script:[{innerHTML:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:e.value.home.trackingBreadcrumbTitle,item:`${G.baseUrl}${b("index")}`},{"@type":"ListItem",position:2,name:e.value.page.trackingBreadcrumbTitle}]}),type:"application/ld+json"}]});const x=T(0),y=T(0),S=T(null),k=d(()=>e.value.allCustomerStories.filter(({isOfTypeExample:l})=>!l).map(l=>({...l,type:"classic-story"}))),w=d(()=>e.value.allCustomerStories.filter(({isOfTypeExample:l})=>l).map(l=>({...l,type:"example-story"}))),E=d(()=>{const l=15+24*(W.value-2);return[...k.value,...w.value].map(r=>({...r,readMore:e.value.page.gridWordingForReadMore})).sort((r,i)=>new Date(i.publishedAt||i.updatedAt)-new Date(r.publishedAt||r.updatedAt)).slice(l,l+24)}),W=d(()=>Number.parseInt(L.id)),V=d(()=>{const l=[{disabled:!0,name:e.value.page.gridFilterBy},{name:e.value.page.gridWordingForAllFilters,value:null}],r=e.value.allIndustries.filter(({id:a})=>[...k.value,...w.value].filter(n=>n.industry).map(({industry:n})=>n.id).includes(a)).map(({id:a,name:n})=>({name:n,value:a}));r.length>0&&l.push({disabled:!0,name:e.value.page.gridWordingForIndustriesFilter},...r);const i=e.value.allLocations.filter(({id:a})=>[...k.value,...w.value].filter(n=>n.location).map(({location:n})=>n.id).includes(a)).map(({id:a,name:n})=>({name:n,value:a}));i.length>0&&l.push({disabled:!0,name:e.value.page.gridWordingForLocationsFilter},...i);const B=e.value.allSizes.filter(({id:a})=>[...k.value,...w.value].filter(n=>n.size).map(({size:n})=>n.id).includes(a)).map(({id:a,size:n})=>({name:n,value:a}));i.length>0&&l.push({disabled:!0,name:e.value.page.gridWordingForSizesFilter},...B);const h=e.value.allUseCases.filter(({id:a})=>[...k.value,...w.value].filter(n=>n.useCases.length>0).map(({useCases:n})=>n.map(F=>F.id)).flat().includes(a)).map(({id:a,shortName:n})=>({name:n,value:a}));return h.length>0&&l.push({disabled:!0,name:e.value.page.gridWordingForUseCasesFilter},...h),l}),J=d(()=>C.value==="es"?"pagina":"page"),K=d(()=>{switch(!0){case _.value<768:return _.value-32;case(_.value>=768&&_.value<1328):return 550;default:return 550}}),Q=d(()=>{switch(!0){case _.value<768:return 92;case(_.value>=768&&_.value<1328):return 130;default:return 100}}),X=d(()=>Math.ceil((e.value.allCustomerStories.length-15)/24)+1),Y=d(()=>({action:"Demo clicked",slot:e.value.componentGlobal.ctaGetDemo,to:"#form-demo"})),Z=d(()=>R.value?{action:"Upgrade clicked",to:`https://${G.appBaseUrl}/#/settings/billing/overview`,slot:e.value.componentGlobal.ctaUpgradeNow}:{action:"Signup clicked",to:`https://${G.appBaseUrl}/#/signup`,slot:e.value.componentGlobal.ctaTryForFreeShort});function ee(){const{offsetHeight:l,offsetWidth:r}=document.querySelector(".page .jumbotron");x.value=l,y.value=r}function te(l){const r=l.replace(",","").replace("%",""),i=Number(r);return r.length>2?Number(Math.round(i/100)*100).toString().replace(/\B(?=(\d{3})+(?!\d))/g,","):l}function ae(l){j(b({name:"customers-filter-id",params:{id:l}}))}return Le(()=>{S.value.unobserve(document.querySelector(".page .jumbotron"))}),We(()=>{S.value=new ResizeObserver(ee),S.value.observe(document.querySelector(".page .jumbotron")),N(e.value.page.trackName||e.value.page.trackNameFallback),O([C.value]),q([{item:b("index"),name:e.value.home.trackingBreadcrumbTitle},{item:b({name:P()}),name:e.value.page.trackingBreadcrumbTitle}])}),(l,r)=>{const i=Ce,B=Se,h=Ge,a=Me,n=Be,F=Ae,oe=Fe,D=Te,ne=ze,se=Ue,le=$e,re=Ie;return u(),c(a,{class:"page"},{default:o(()=>[s(a,{class:"jumbotron"},{default:o(()=>
1[t(e).page.heroBackground?(u(),c(i,{key:`${t(x)}-${t(y)}`,alt:t(e).page.heroBackground.alt,class:"background","expected-size":t(y),"extra-params":{fit:"crop",h:t(x),w:t(y)},height:t(x),orientation:t(y)>t(x)?"landscape":"portrait",quality:[100,80,80],source:t(e).page.heroBackground.url,width:t(y)},null,8,["alt","expected-size","extra-params","height","orientation","source","width"])):v("",!0),s(h,null,{default:o(()=>[s(B,{alignment:"left","primary-button":{...t(Z),label:"Header section CTA"},"secondary-button":{...t(Y),label:"Header section CTA"}},{heading:o(()=>[p(g(t(e).page.heroTitle),1)]),paragraph:o(()=>[p(g(t(e).page.heroText),1)]),_:1},8,["primary-button","secondary-button"])]),_:1})]),_:1}),s(h,{class:"highlighted-data"},{default:o(()=>[s(a,{class:"inner"},{default:o(()=>[(u(!0),z(U,null,$(t(e).page.highlightedData,({id:f,hoverText:m,number:A,text1:ie,text2:H})=>(u(),c(a,{key:f,class:De(["item",{hoverable:!!m}]),"data-hover-text":m},{default:o(()=>[s(n,null,{default:o(()=>[p(g(te(A)),1)]),_:2},1024),s(n,null,{default:o(()=>[p(g(ie),1)]),_:2},1024),H?(u(),c(oe,{key:0,to:"https://video-engagement.org/score-calculator"},{default:o(()=>[p(g(H),1),s(F,{type:"arrow-right"})]),_:2},1024)):v("",!0)]),_:2},1032,["class","data-hover-text"]))),128))]),_:1})]),_:1}),s(h,{class:"main-grid"},{default:o(()=>[s(a,{class:"heading"},{default:o(()=>[s(D,{level:2},{default:o(()=>[p(g(t(N).gridTitle),1)]),_:1}),s(ne,{id:"filter","has-icon":"","icon-type":"filter",options:t(V),"onSelect:change":r[0]||(r[0]=f=>ae(f))},null,8,["options"])]),_:1}),s(a,{class:"list"},{default:o(()=>[(u(!0),z(U,null,$(t(E),({type:f,...m},A)=>(u(),c(se,{key:`item-${A}`,content:m,"of-type":f,"screen-width":t(_)},null,8,["content","of-type","screen-width"]))),128))]),_:1}),s(le,{count:t(X),"folder-name":t(J),root:t(b)("customers"),value:t(W)},null,8,["count","folder-name","root","value"])]),_:1}),s(a,{class:"medals-and-grid"},{default:o(()=>[s(h,null,{default:o(()=>[s(D,{level:2},{default:o(()=>[p(g(t(e).componentMedalsGrid.title),1)]),_:1}),s(a,{class:"inner"},{default:o(()=>[s(a,{class:"content"},{default:o(()=>
1[t(e).componentMedalsGrid.customer?(u(),c(a,{key:0,class:"testimonial"},{default:o(()=>[s(n,{class:"quote"},{default:o(()=>[p(" «"+g(t(e).componentMedalsGrid.customer.quote)+"» ",1)]),_:1}),s(a,{class:"footer"},{default:o(()=>[s(a,{class:"author"},{default:o(()=>[t(e).componentMedalsGrid.customer.avatar?(u(),c(i,{key:0,alt:t(e).componentMedalsGrid.customer.avatar.alt,class:"avatar","expected-size":32,height:t(e).componentMedalsGrid.customer.avatar.height,source:t(e).componentMedalsGrid.customer.avatar.url,width:t(e).componentMedalsGrid.customer.avatar.width},null,8,["alt","height","source","width"])):v("",!0),s(a,{class:"metadata"},{default:o(()=>[s(n,{class:"name"},{default:o(()=>[p(g(t(e).componentMedalsGrid.customer.author),1)]),_:1}),s(n,{class:"position"},{default:o(()=>[p(g(t(e).componentMedalsGrid.customer.position),1)]),_:1})]),_:1})]),_:1}),t(e).componentMedalsGrid.customer.logo?(u(),c(i,{key:0,alt:t(e).componentMedalsGrid.customer.logo.alt,class:"logo","expected-size":16,"extra-params":{con:100,gam:100,monochrome:"000000",sat:-100,trim:"color",vib:100},height:t(e).componentMedalsGrid.customer.logo.height,orientation:"portrait",source:t(e).componentMedalsGrid.customer.logo.url,"use-natural-width":"",width:t(e).componentMedalsGrid.customer.logo.width},null,8,["alt","height","source","width"])):v("",!0)]),_:1})]),_:1})):v("",!0),s(a,{class:"medals"},{default:o(()=>[(u(!0),z(U,null,$(t(e).componentCertification.medals||[],({id:f,icon:m})=>(u(),c(a,{key:`medal-${f}`,class:"medal"},{default:o(()=>[m?(u(),c(i,{key:0,alt:m.alt,"expected-size":t(Q),height:m.height,orientation:"portrait",source:m.url,width:m.width},null,8,["alt","expected-size","height","source","width"])):v("",!0)]),_:2},1024))),128))]),_:1})]),_:1}),s(a,{class:"image"},{default:o(()=>
1[t(e).componentMedalsGrid.image?(u(),c(i,{key:0,alt:t(e).componentMedalsGrid.image.alt,"expected-size":t(K),height:t(e).componentMedalsGrid.image.height,source:t(e).componentMedalsGrid.image.url,width:t(e).componentMedalsGrid.image.width},null,8,["alt","expected-size","height","source","width"])):v("",!0)]),_:1})]),_:1})]),_:1})]),_:1}),s(re,{content:t(e).componentDemo,global:t(e).componentGlobal},null,8,["content","global"])]),_:1})}}},Qe=ue(He,[["__scopeId","data-v-9b802d38"]]);export{Qe 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.