PageSourceSearch

https://www.hostfly.by/_nuxt/CzPp9kcS.js

js hostfly.by collected 2026-10-02 18:11:40 UTC 4,191 bytes, 1 lines download raw bytes

1import{p as S,e as H,l as I,a as N}from"./D0ksD-9o.js";import{_ as O}from"./B-lORQXP.js";import{d as R,k as x,w as T,I as j,b as c,o as s,h as t,e as o,i as f,u as i,J as v,a as r,f as d,F as C,r as P,S as D,H as k,O as q}from"./FA5zRPId.js";import A from"./DulB9anh.js";import{a as E}from"./BleR_4tZ.js";import"./Bmto_e_U.js";import"./CO028nsK.js";import"./rExZNmbH.js";import"./CVbz44xD.js";import"./D19kGJws.js";const F={class:"py-8 md:py-[75px]"},G={class:"container-default"},J={class:"flex items-start justify-between gap-4 flex-wrap"},U=["innerHTML"],K={key:0,class:"flex items-center gap-4"},Q={class:"overflow-hidden min-h-[380px] flex flex-col px-4 py-6 gap-6 w-full border border-gray-lighter rounded-2xl"},W={class:"flex items-center gap-4"},X={class:"text-sm tracking-tight font-semibold"},Y={class:"text-gray-accent text-sm tracking-tight font-medium"},Z={class:"flex-[1]"},ee=["innerHTML"],te={class:"flex items-center justify-between whitespace-nowrap gap-2"},se={class:"text-base leading-6 tracking-tight font-medium flex items-center gap-4"},ie={class:"flex items-center gap-1"},ne=["onClick"],ae={key:0,class:"flex items-center justify-center gap-4 mt-12"},oe=R({__name:"Reviews",props:{title:{}},async setup(z){let m,b;const w=x(!1),h=x(null),p=x(null),{data:g}=([m,b]=T(()=>E("reviews",()=>$fetch("/api/reviews"))),m=await m,b(),m),$=a=>{p.value=a};return(a,n)=>{const l=H,u=I,V=O,M=D,L=q,B=A,_=j("wave");return s(),c("section",F,[t("div",G,[t("div",J,[t("h2",{innerHTML:("parsePrepositions"in a?a.parsePrepositions:i(S))(z.title)},null,8,U),a.$viewport.isGreaterOrEquals("desktop")&&i(g)?.length?(s(),c("div",K,[v((s(),r(u,{variant:"icon",size:"large","aria-label":"предыдущий слайд",onClick:n[0]||(n[0]=e=>i(p)?.slidePrev())},{default:d(()=>[o(l,{class:"-rotate-180 min-w-6 size-6",name:"icon:arrow-right"})]),_:1})),[[_]]),v((s(),r(u,{variant:"icon",size:"large","aria-label":"следующий слайд",onClick:n[1]||(n[1]=e=>i(p)?.slideNext())},{default:d(()=>[o(l,{class:"min-w-6 size-6",name:"icon:arrow-right"})]),_:1})),[[_]])])):f("",!0)]),o(L,{class:"w-full mt-12",resistance:!1,"slides-per-view":4,"space-between":24,"centered-slides":!0,onSwiper:$,breakpoints:{1280:{slidesPerView:4,centeredSlides:!1},1025:{slidesPerView:3,centeredSlides:!1},769:{slidesPerView:2.5,centeredSlides:!1},435:{slidesPerView:1.5,centeredSlides:!1},0:{slidesPerView:1,centeredSlides:!0}},"touch-release-on-edges":"","grab-cursor":"","watch-overflow":""},{default:d(()=>[(s(!0),c(C,null,P(i(g),(e,re)=>(s(),r(M,{key:e.id},{default:d(()=>[t("div",Q,[t("div",W,[e.author?.avatar?(s(),r(V,{key:0,class:"rounded-full object-cover min-w-12 size-12",src:e.author?.avatar.url,alt:e.author?.title||"",width:"48",height:"48",provider:"strapi"},null,8,["src","alt"])):f("",!0),t("div",null,[t("p",X,k(e.author?.title),1),t("p",Y,k(e.author?.description),1)])]),t("div",Z,[o(l,{class:"size-4 min-w-4 mb-3",name:"icon:review-quotes"}),t("p",{innerHTML:("parsePrepositions"in a?a.parsePrepositions:i(S))(e.text)},null,8,ee)]),t("div",te,[t("div",se,[t("p",null,k(e.rating)+".0",1),t("div",ie,[(s(!0),c(C,null,P(e.rating,y=>(s(),r(l,{key:y,class:"min-w-4 size-4",name:"icon:review-star"}))),128))])]),e.video?(s(),c("button",{key:0,class:"cursor-pointer hover-never:text-primary duration-300 text-primary-dark text-base leading-6 font-medium",onClick:y=>{w.value=!0,h.value=e}}," Смотреть ",8,ne)):f("",!0)])])]),_:2},1024))),128))]),_:1}),a.$viewport.isLessThan("desktop")&&i(g)?.length?(s(),c("div",ae,[v((s(),r(u,{variant:"icon",size:"large","aria-label":"предыдущий слайд",onClick:n[2]||(n[2]=e=>i(p)?.slidePrev())},{default:d(()=>[o(l,{class:"-rotate-180 min-w-6 size-6",name:"icon:arrow-right"})]),_:1})),[[_]]),v((s(),r(u,{variant:"icon",size:"large","aria-label":"следующий слайд",onClick:n[3]||(n[3]=e=>i(p)?.slideNext())},{default:d(()=>[o(l,{class:"min-w-6 size-6",name:"icon:arrow-right"})]),_:1})),[[_]])])):f("",!0)]),o(B,{isModalOpen:i(w),selectedReview:i(h),onClose:n[4]||(n[4]=e=>{w.value=!1,h.value=null})},null,8,["isModalOpen","selectedReview"])])}}}),he=N(oe,[["__scopeId","data-v-9b2d8cb9"]]);export{he 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.