PageSourceSearch

https://agrokomakchi.uz/static/js/6860.6e90f9a1.chunk.js

js agrokomakchi.uz collected 2026-10-04 01:44:10 UTC 3,887 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkagrokumakchi_web=self.webpackChunkagrokumakchi_web||[]).push([[6860],{26860:(e,l,a)=>{a.r(l),a.d(l,{default:()=>f});var s=a(9950),i=a(28429),d=a(80801),n=a(52096),o=a(49111),r=a(15576),t=a(88740),c=a(67818),v=a(92314),m=a(36150),x=a(61664),u=a(78885),h=a(60497),p=a(44414);const f=()=>{var e,l,a,f,j,g,w,b,y;const N=(0,i.Zp)(),{t:k}=(0,c.Bd)(),{data:A,isLoading:C,isError:q}=(0,m.I)({queryKey:["agro-feramon"],queryFn:async()=>await d.Ay.get("agro/feramon/"),placeholderData:x.rX}),[B,X]=(0,s.useState)(null);return(0,s.useEffect)((()=>{var e,l;(null===A||void 0===A||null===(e=A.data)||void 0===e||null===(l=e.feramons)||void 0===l?void 0:l.length)>0&&X(A.data.feramons[0].name)}),[A]),C?(0,p.jsx)(n.A,{}):q?(0,p.jsx)(o.A,{}):(0,p.jsxs)("div",{className:"p-5",style:{minHeight:"calc(100vh - 250px)"},children:[(0,p.jsxs)("div",{className:"mb-5 flex align-center",children:[(0,p.jsx)("div",{className:"arrow-icon",onClick:()=>N(-1)}),(0,p.jsx)("h2",{className:"m-0",children:k("feromon")})]}),(null===A||void 0===A||null===(e=A.data)||void 0===e?void 0:e.companies)&&(null===A||void 0===A||null===(l=A.data)||void 0===l?void 0:l.companies.length)>0&&(0,p.jsx)("div",{className:"mb-8",children:(0,p.jsx)(u.RC,{spaceBetween:20,slidesPerView:"auto",freeMode:!0,modules:[h.U1],className:"companies-swiper",style:{padding:"10px 5px"},children:null===A||void 0===A||null===(a=A.data)||void 0===a||null===(f=a.companies)||void 0===f?void 0:f.map(((e,l)=>{var a;return(0,p.jsx)(u.qr,{style:{width:"auto",height:"auto"},children:(0,p.jsxs)("div",{className:"bg-white rounded-xl p-5 border border-gray-100 shadow-sm hover:shadow-md transition-shadow flex flex-col justify-between",style:{width:"320px",height:"180px"},children:[(0,p.jsxs)("div",{children:[(0,p.jsx)("h4",{className:"font-bold mb-3 text-[#006442] text-[17px] border-b pb-2 line-clamp-1",title:null===e||void 0===e?void 0:e.name,children:null===e||void 0===e?void 0:e.name}),(0,p.jsx)("div",{className:"space-y-2",children:(0,p.jsxs)("div",{className:"flex items-start",children:[(0,p.jsx)("b",{className:"text-gray-500 w-[70px] text-xs uppercase tracking-wider",children:k("phone")}),(0,p.jsx)("div",{className:"flex flex-col gap-1",children:null===e||void 0===e||null===(a=e.phone_numbers)||void 0===a?void 0:a.slice(0,2).map(((e,l)=>(0,p.jsx)("a",{className:"text-[#006442] hover:text-[#004d33] transition-colors font-medium text-sm",href:"tel:".concat(e),children:e},l)))})]})})]}),(0,p.jsxs)("div",{className:"flex items-start mt-3 pt-2 border-t border-gray-50",children:[(0,p.jsx)("b",{className:"text-gray-500 w-[70px] text-xs uppercase tracking-wider",children:k("address")}),(0,p.jsx)("span",{className:"text-gray-700 text-sm flex-1 leading-snug line-clamp-2",title:null===e||void 0===e?void 0:e.address,children:null===e||void 0===e?void 0:e.address})]})]})},l)}))})}),(0,p.jsx)("div",{style:{overflowX:"auto"},children:(0,p.jsx)(r.A,{defaultValue:"center",style:{marginBottom:16},onChange:e=>X(e),value:B,options:null===A||void 0===A||null===(j=A.data)||void 0===j||null===(g=j.feramons)||void 0===g?void 0:g.map((e=>e.name))})}),null===A||void 0===A||null===(w=A.data)||void 0===w||null===(b=w.feramons)||void 0===b||null===(y=b.filter((e=>(null===e||void 0===e?void 0:e.name)===B)))||void 0===y?void 0:y.map(((e,l)=>{var a;return(0,p.jsxs)("div",{children:[(0,p.jsx)("div",{className:"mb-3 flex justify-center",style:{overflowX:"auto"},children:(0,p.jsx)(v.wy,{children:null===e||void 0===e||null===(a=e.images)||void 0===a?void 0:a.map(((e,l)=>(0,p.jsx)("div",{children:(0,p.jsx)(v.A8,{src:null===e||void 0===e?void 0:e.image,children:(0,p.jsx)("img",{src:null===e||void 0===e?void 0:e.image,alt:"",className:"block m-2 w-[350px] h-[250px]",style:{borderRadius:"12px"}})},l)},l)))})}),(0,p.jsx)("div",{children:(0,t.Ay)((null===e||void 0===e?void 0:e.description)||"")})]},l)}))]})}}}]);

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.