1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9262],{9262:function(e,r,t){t.r(r),t.d(r,{default:function(){return h}});var l=t(5893),n=t(7294),o=t(1664),a=t.n(o),s=t(8100),i=t(6418);let c=n.forwardRef(function({title:e,titleId:r,...t},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 9l-3 3m0 0l3 3m-3-3h7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}),d=n.forwardRef(function({title:e,titleId:r,...t},l){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12.75 15l3-3m0 0l-3-3m3 3h-7.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))}),u=({banners:e})=>{let r=e.length-1,[t,o]=n.useState(Math.random()*(r-0+1)<<0),s=e.length>1;n.useEffect(()=>{(0,i.cq)({banner:e[t]})},[t]);let u=null==e?void 0:e.map(e=>(0,l.jsx)(a(),{href:e.href,as:e.as,className:"MainCarousel_slider",onClick:()=>console.log(e.id),children:(0,l.jsx)("img",{src:e.imageUrl})},e.id));return e?(0,l.jsxs)("div",{style:{userSelect:"none"},className:"relative group rounded-md overflow-hidden drop-shadow-sm w-[930px] h-[230px] m-auto",children:[s&&(0,l.jsx)("div",{className:"absolute left-0 h-full top-0 flex justify-center items-center px-3",children:(0,l.jsx)("div",{children:(0,l.jsx)(c,{onClick:()=>{o(r=>{let t=r-1;return t<0?e.length-1:t})},className:" opacity-50 group-hover:opacity-100 h-8 w-8 text-gray-700 drop-shadow-md hover:scale-150 duration-150 stroke-1 cursor-pointer bg-white bg-opacity-50 group-hover:bg-opacity-80 rounded-full"})})}),u[t],s&&(0,l.jsx)("div",{className:"absolute right-0 h-full top-0 flex justify-center items-center px-3",children:(0,l.jsx)("div",{children:(0,l.jsx)(d,{onClick:()=>{o(r=>{let t=r+1;return t>e.length-1?0:t})},className:" opacity-50 group-hover:opacity-100 h-8 w-8 text-gray-700 drop-shadow-md hover:scale-150 duration-150 stroke-1 cursor-pointer bg-white bg-opacity-50 group-hover:bg-opacity-80 rounded-full"})})})]}):null};var h=({place:e="main"})=>{let{data:r}=(0,s.ZP)(`/offers?place=${e}`);return r&&r.length>0?(0,l.jsx)(u,{banners:r}):null}}}]);
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.