PageSourceSearch

https://infoedu.uz/_next/static/chunks/6917.664118bfcae79324.js

js infoedu.uz collected 2026-10-03 01:10:50 UTC 6,020 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6917],{9990:(e,r,t)=>{t.d(r,{A:()=>n});var s=t(37876),a=t(86003);let n=({className:e="",size:r="normal"})=>(0,s.jsxs)("div",{className:`nc-CardCategory1Skeleton flex items-center rounded-2xl border border-neutral-100 p-2.5 pr-3 dark:border-neutral-700 ${e}`,children:[(0,s.jsx)("div",{className:`relative flex-shrink-0 ${"large"===r?"h-20 w-20":"h-12 w-12"} me-4 overflow-hidden rounded-xl`,children:(0,s.jsx)(a.A,{containerClassName:"absolute inset-0 leading-none",width:"100%",height:"100%"})}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h2",{className:`${"large"===r?"text-lg":"text-base"} nc-card-title text-sm font-medium text-neutral-900 sm:text-base sm:font-semibold dark:text-neutral-100`,children:(0,s.jsx)(a.A,{width:"90%"})}),(0,s.jsx)("span",{className:`${"large"===r?"text-sm":"text-xs"} mt-[2px] block text-neutral-500 dark:text-neutral-400`,children:(0,s.jsx)(a.A,{width:"60%"})})]})]})},26917:(e,r,t)=>{t.r(r),t.d(r,{default:()=>p});var s=t(37876),a=t(14232),n=t(68611),l=t(72975),i=t(49105),d=t(91173),o=t(78248),c=t(66453),m=t(72733),x=t(9990),h=t(5395),g=t(57860),u=t(68283),f=t(17633),j=t(43855);let p=()=>{let[e,r]=(0,a.useState)(0),t=(0,f.A)(),[p,{loading:v,error:b,data:k,fetchMore:w,refetch:N}]=(0,o._)(h.fF,{notifyOnNetworkStatusChange:!0});(0,a.useEffect)(()=>{if(b){if(e>3)return void(0,g.A)(b);r(e+1),N()}},[b,e,N]);let A=()=>{w({variables:{after:k?.categories?.pageInfo?.endCursor},updateQuery:(e,{fetchMoreResult:r})=>r&&r?.categories?.nodes?{categories:{...r.categories,nodes:[...e?.categories?.nodes||[],...r.categories.nodes]}}:e})},C=k?.categories?.nodes||[];return(0,s.jsx)("div",{className:"nc-ModalCategories",children:(0,s.jsx)(l.A,{renderTrigger:e=>(0,s.jsxs)(i.A,{pattern:"third",fontSize:"text-sm font-medium",onClick:()=>{e(),p({variables:{first:20},context:{fetchOptions:{method:"GET"}}})},children:[(0,s.jsx)(j.Ez,{className:"-ms-1.5 me-2 h-5 w-5"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"hidden sm:inline",children:t["Other categories"]}),(0,s.jsx)("span",{className:"inline sm:hidden",children:t.Categories})]}),(0,s.jsx)(d.A,{className:"-me-1 ms-2 h-4 w-4","aria-hidden":"true"})]}),modalTitle:t["Discover other categories"],renderContent:()=>b?(0,s.jsx)("div",{children:(0,s.jsx)(u.A,{error:b,hasRefetchBtn:!0,refetch:N,loading:v})}):(0,s.jsxs)("div",{children:[C.length||v?(0,s.jsx)("div",{className:"grid gap-2.5 sm:grid-cols-2 sm:gap-5 sm:py-2 md:grid-cols-3 xl:md:grid-cols-4",children:!C.length&&v?[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1].map((e,r)=>(0,s.jsx)(x.A,{},r)):(C||[]).map(e=>(0,s.jsx)(n.A,{term:e,size:"normal",className:"rounded-2xl border border-neutral-100 p-2.5 pr-3 dark:border-neutral-700"},e.databaseId))}):(0,s.jsx)(m.A,{}),k?.categories?.pageInfo.hasNextPage?(0,s.jsx)("div",{className:"mt-7 flex justify-center",children:(0,s.jsx)(c.A,{loading:v,onClick:A,children:t["Show me more"]})}):null]}),enableFooter:!1})})}},68283:(e,r,t)=>{t.d(r,{A:()=>d});var s=t(37876),a=t(17633),n=t(14232);let l=n.forwardRef(function({title:e,titleId:r,...t},s){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","data-slot":"icon",ref:s,"aria-labelledby":r},t),e?n.createElement("title",{id:r},e):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 21 3 16.5m0 0L7.5 12M3 16.5h13.5m0-13.5L21 7.5m0 0L16.5 12M21 7.5H7.5"}))}),i=({className:e,loading:r,children:t,...n})=>{let i=(0,a.A)();return(0,s.jsxs)("button",{type:"button",className:`inline-flex items-center justify-center rounded bg-indigo-50 px-2.5 py-1 text-sm font-medium text-indigo-600 shadow-sm hover:bg-indigo-100 dark:bg-indigo-200 dark:hover:bg-indigo-100 ${e}`,disabled:r||n.disabled,...n,children:[(0,s.jsx)(l,{className:"-ml-0.5 mr-1.5 h-4 w-4","aria-hidden":"true"}),r?i["Loading ..."]:i.Refetch]})},d=({className:e="text-center my-5",error:r,hasRefetchBtn:t=!0,loading:n,refetch:l})=>{if(!r)return null;let d=(0,a.A)(),o=d["Something went wrong"],c=d["Please try again later"];if(r?.networkError)o=d["Network error"],c=r?.networkError.message;else if(r?.graphQLErrors?.length){let e=r?.graphQLErrors[0];o=d["GraphQL error"],c=e?.message||d["Please try again later"]}else c=r?.message||d["Please try again later"];return(0,s.jsxs)("div",{className:e,children:[(0,s.jsx)("svg",{className:"mx-auto h-12 w-12 text-gray-400",fill:"none",viewBox:"0 0 24 24",strokeWidth:1,stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})}),(0,s.jsx)("h3",{className:"mt-2 text-sm font-medium",children:o||d["Something went wrong"]}),(0,s.jsx)("p",{className:"mt-1 text-sm text-gray-500 dark:text-neutral-400",children:c||d["Please try again later"]}),!!t&&(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(i,{disabled:n,onClick:()=>l?.()})})]})}},68611:(e,r,t)=>{t.d(r,{A:()=>
1o});var s=t(37876),a=t(24599),n=t(48230),l=t.n(n),i=t(25430);let d=(0,t(17633).A)(),o=({className:e="",size:r="normal",term:t})=>{let{count:n,databaseId:o,name:c,uri:m,featuredImageMeta:x}=(0,i.G)(t);return(0,s.jsxs)(l(),{href:m,className:`nc-CardCategory1 flex items-center ${e}`,children:[(0,s.jsx)(a.A,{alt:c,containerClassName:`relative flex-shrink-0 ${"large"===r?"w-20 h-20":"w-12 h-12"} rounded-xl me-4 overflow-hidden`,src:x?.sourceUrl||"",fill:!0,className:"object-cover",sizes:"80px"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:`${"large"===r?"text-lg":"text-base"} nc-card-title text-sm font-medium text-neutral-900 sm:text-base sm:font-semibold dark:text-neutral-100`,children:c}),(0,s.jsxs)("span",{className:`${"large"===r?"text-sm":"text-xs"} mt-[2px] block text-neutral-500 dark:text-neutral-400`,children:[n," ",d.Articles]})]})]})}}}]);

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.