1import{Ar as e,Cn as t,En as n,Or as r,T as i,Vn as a,Wn as o,_n as s,ar as c,bn as l,dn as u,or as d,r as f,vn as p,wn as m,xn as h,yn as g}from"./0EUzaT4l.js";import{V as _,ct as v,st as y}from"./CHbEvvsy.js";import{u as b}from"#entry";import{t as x}from"./BNTOadxY.js";import{t as S}from"./D2p_sLWf.js";import{t as C}from"./DOzddji_.js";import{t as w}from"./DnfWcsWC2.js";import{t as T}from"./DJaTK58h2.js";var E={key:1,class:`video-container`},D={width:`100%`,autoplay:``,muted:``,loop:``,controls:``},O=[`src`],k=Object.assign(n({__name:`Content`,async setup(n){let k,A,{boxesSettings:j,sliderLocation:M,boxesLocation:N}=w(),P=y(),F=v(),I=x();[k,A]=c(()=>I.getMainPageSlider(M.value)),await k,A(),[k,A]=c(()=>I.getContentBoxes(N.value)),await k,A(),a(()=>{I.getMainPageSlider(M.value,!0),I.getContentBoxes(N.value,``,!0)});let L=s(()=>P.useMultiProvider?F.headerMenu.filter(e=>e.provider).map(e=>({text:e.text,icon:i[e.provider]?.serviceIcon??i.default.serviceIcon,url:e.href})):F.headerMenu.filter(e=>e.company).map(e=>({text:`${e.text??e.company}`,icon:`/icons/${_(e.text,e.slug,e.category)}`,url:e.href}))),R=s(()=>P.useMultiProvider?L.value.length>0:L.value.length>1),z=s(()=>{let e={regular:[],wide:[]};return I.projectBoxes?(e.regular=I.projectBoxes.filter(e=>e.layout!==`box_wide`),e.wide=I.projectBoxes.filter(e=>e.layout===`box_wide`),e):e});return b().changeBreadcrumbs([]),(n,i)=>{let a=f;return o(),h(u,null,[m(C,{"slider-boxes":r(I).topSliderBoxes??[],settings:r(j)},null,8,[`slider-boxes`,`settings`]),m(a,{class:`content`},{default:d(()=>[R.value?(o(),g(T,{key:0,services:L.value,"plain-icon":r(P).useMultiProvider},null,8,[`services`,`plain-icon`])):l(``,!0),m(S,{boxes:z.value.regular,"is-loading":r(I).isBoxesLoading,settings:r(j)},null,8,[`boxes`,`is-loading`,`settings`]),r(P).boxFile?(o(),h(`div`,E,[p(`video`,D,[p(`source`,{src:r(P).boxFile,type:`video/mp4`},null,8,O),i[0]||=t(` Your browser does not support the video tag. `,-1)])])):l(``,!0),z.value.wide.length?(o(),g(S,{key:2,class:e({"has-video":!r(P).boxFile}),boxes:z.value.wide,"is-loading":r(I).isBoxesLoading,settings:r(j)},null,8,[`class`,`boxes`,`is-loading`,`settings`])):l(``,!0)]),_:1})],64)}}}),{__name:`Content`});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.