PageSourceSearch

https://www.politeianet.gr/assets/Home.0t1A8Kuq.js

js politeianet.gr collected 2026-09-24 09:26:52 UTC 6,547 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HomeBelowTheFold.x8JuB9QZ.js","assets/index-KDcLenRU.js","assets/index.ZwqORRZd.css","assets/fixedButtonScrollToTop.Lr7QVn0C.js","assets/index.gw6lQf0q.js","assets/useContributorProducts.YxkOWeHC.js","assets/useContributorsByCode.ThO32kYz.js","assets/useFilterState.EmzgA-Mj.js","assets/awardsHelper.l2A6I6d0.js","assets/TeacherBookBadge.lXe03IJT.js","assets/warning-sign.XBdkSz9g.js","assets/toGreekCaps.1t_UCRL0.js","assets/TeacherBookBadge.zjl0V1Kh.css","assets/default_author-photo.YUn_SVu0.js","assets/ProductCardsSwiper.uWj36LrL.js","assets/useProductTabsByCode.z62J-Z7i.js","assets/Tabs.on2PeQza.js","assets/Tabs.WxnjjgEp.css","assets/useBannersByGroupName.pfrucdPc.js","assets/useBannersByGroupCode.maq9yWru.js","assets/react-select-utils.fldikllN.js","assets/variables.w40geAFS.js","assets/index.z5hTNRCp.js","assets/personalized_products.Db3asohW.css","assets/HomeBelowTheFold.mWptfHrc.css"])))=>i.map(i=>d[i]);
2import{P as x,j as e,F as w,J as j,d as _,g as y,r as h,K as g,M as v,N as S,_ as b}from"./index-KDcLenRU.js";import{u as F}from"./useBannersByGroupName.pfrucdPc.js";/* empty css               */import{P as C}from"./pagination.2PogbG0d.js";import{S as I,a as k}from"./swiper-react.4C7c-kAQ.js";import{P as R}from"./PageHeaderMeta.DcFtZHYi.js";import{R as T}from"./RecentlyViewedProducts.WWys3IM-.js";import{c as V}from"./schema.tfYslbJb.js";import"./useProductsByIds.nFkdXrlC.js";import"./useSwiperSlidePersistence.A7cCrjuI.js";import"./ProductCardMini.XQQTvl9v.js";import"./FormattedPrice._VlBjyoq.js";import"./PurchasedBadge.VYTyYo3L.js";import"./my-library.ZRI8T0vT.js";import"./Default Book.mxlZrDNP.js";import"./TeacherBookBadge.lXe03IJT.js";import"./warning-sign.XBdkSz9g.js";import"./toGreekCaps.1t_UCRL0.js";import"./AddToCart.dFMhPKyn.js";import"./react-select-utils.fldikllN.js";import"./variables.w40geAFS.js";import"./awardsHelper.l2A6I6d0.js";const E={0:{slidesPerView:4.2,spaceBetween:10},650:{slidesPerView:5,spaceBetween:13},900:{slidesPerView:6,spaceBetween:13},1200:{slidesPerView:8,spaceBetween:13}},u=({banner:r})=>{const c=r.sub_title||r.tl;return e.jsxs(e.Fragment,{children:[e.jsxs("picture",{className:"hero-cta-image",children:[e.jsx("source",{media:"(max-width:650px)",srcSet:j(r.img2),width:92,height:92}),e.jsx("img",{fetchPriority:"low",src:j(r.img1),alt:r.tl,width:92,height:92})]}),c&&e.jsx("span",{className:"hero-cta-title",children:c})]})};u.propTypes={banner:x.object};const f=({banners:r=[],isFetching:c})=>c?e.jsx("div",{id:"hero-cta",children:e.jsx("div",{className:"content-wrapper",children:e.jsx("div",{className:"hero-cta-cards placeholder",children:[0,1,2,3,4,5].map(s=>e.jsxs("div",{className:"hero-cta-card placeholder",children:[e.jsx("div",{className:"hero-cta-image"}),e.jsx("span",{className:"hero-cta-title"})]},s))})})}):r.length?e.jsx("div",{id:"hero-cta",children:e.jsx("div",{className:"content-wrapper",children:e.jsx(I,{modules:[C],watchOverflow:!0,centerInsufficientSlides:!0,spaceBetween:13,breakpoints:E,pagination:{clickable:!0,renderBullet:(s,i)=>`<span class="${i}"></span>`},className:"hero-cta-cards",children:r.map(s=>e.jsx(k,{children:s.nu?e.jsx(w,{className:"hero-cta-card",to:s.nu,children:e.jsx(u,{banner:s})}):e.jsx("div",{className:"hero-cta-card",children:e.jsx(u,{banner:s})})},s.id))})})}):null;f.propTypes={banners:x.array,isFetching:x.bool};const z=()=>{const{t:r}=_();y();const{isFetching:c,data:s}=F("1_HeroSlider"),i=(s==null?void 0:s.filter(l=>l.chex))||[],P=(s==null?void 0:s.filter(l=>!l.chex))||[],t=i[0],d=h.useRef(!1),[o,p]=h.useState(0),m=h.useRef(null),n=()=>{m.current&&clearInterval(m.current),m.current=setInterval(()=>{p(l=>(d.current=!0,(l+1)%i.length))},5e3)};h.useEffect(()=>{if(!(i.length<=1))return n(),()=>clearInterval(m.current)},[i.length]);const a=o===0?{tl:t==null?void 0:t.tl,sub_title:t==null?void 0:t.sub_title,rct:t==null?void 0:t.rct,nu:t==null?void 0:t.nu,chex:t==null?void 0:t.chex,img1:g,img2:v}:i[o];return e.jsxs(e.Fragment,{children:[e.jsxs("div",{id:"home",children:[e.jsx("div",{id:"hero-slider",children:e.jsxs("div",{className:"banners fade-slider",children:[e.jsx(w,{to:(a==null?void 0:a.nu)||"#",className:`banner-container ${d.current?"slide-in":""}`,children:e.jsxs("picture",{className:"hero-slider-image",children:[e.jsx("source",{media:"(max-width:575px)",srcSet:o===0?v:a==null?void 0:a.img2,width:375,height:375}),e.jsx("img",{fetchPriority:o===0?"high":"low",loading:o===0?"eager":"lazy",src:o===0?g:a==null?void 0:a.img1,alt:a==null?void 0:a.tl,width:720,height:588})]})}),i.length>
21&&e.jsxs("div",{className:"slider-controls",children:[e.jsx("button",{onClick:()=>{p(l=>l===0?i.length-1:l-1),d.current=!0,n()},"aria-label":"Previous",className:"slider-btn prev",children:"‹"}),e.jsx("button",{onClick:()=>{p(l=>(l+1)%i.length),d.current=!0,n()},"aria-label":"Next",className:"slider-btn next",children:"›"})]})]},o)}),e.jsx(f,{banners:P,isFetching:c}),e.jsx(T,{variant:"home"}),e.jsx(S,{importFunc:()=>b(()=>import("./HomeBelowTheFold.x8JuB9QZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24])),fallback:e.jsx(N,{}),placeholder:e.jsx(N,{}),rootMargin:"50px"})]}),e.jsx(R,{full_overwrite_title:!1,page_title:r("home.meta_title"),meta_keywords:r("home.meta_keywords"),meta_description:r("home.meta_description"),schema:V()})]})};z.propTypes={};const N=()=>{const{t:r}=_();return e.jsxs("div",{children:[e.jsx("div",{id:"home-product-tabs-slider",className:"content-wrapper",children:e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"placeholder-title"}),e.jsx("div",{className:"placeholder-swiper",children:[0,1,2,3,4,5].map((c,s)=>e.jsxs("div",{className:"placeholder-card",children:[e.jsx("div",{className:"placeholder-image"}),e.jsx("div",{className:"placeholder-subtitle"})]},s))})]})}),e.jsx("div",{id:"home-product-tabs-select",className:"placeholder"}),e.jsx("div",{id:"personalized-products",className:"placeholder"}),e.jsx("div",{id:"homepage-categories",children:e.jsxs("div",{className:"content-wrapper",children:[e.jsx("h2",{children:r("homepageCategories.popularCategories")}),e.jsx("div",{className:"homepage-categories",children:[0,1,2,3].map(c=>e.jsx("div",{className:"homepage-category"},c))})]})}),e.jsx("div",{id:"featured-author",className:"placeholder"}),e.jsx("div",{id:"homepage-blogs",className:"placeholder"}),e.jsx("div",{id:"homepage-suggestions",className:"placeholder"}),e.jsx("div",{id:"homepage-authors",className:"placeholder"})]})};export{z 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.