PageSourceSearch

https://af-blog-sand.vercel.app/_next/static/chunks/6917.a95b12875fa76f09.js

js af-blog-sand.vercel.app collected 2026-10-03 06:12:58 UTC 4,150 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6917],{9990:(e,t,r)=>{r.d(t,{A:()=>l});var s=r(37876),a=r(86003);let l=e=>{let{className:t="",size:r="normal"}=e;return(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 ".concat(t),children:[(0,s.jsx)("div",{className:"relative flex-shrink-0 ".concat("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:"".concat("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:"".concat("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,t,r)=>{r.r(t),r.d(t,{default:()=>f});var s=r(37876),a=r(14232),l=r(68611),n=r(72975),d=r(49105),i=r(91173),o=r(93519),c=r(66453),x=r(72733),m=r(9990),h=r(5395),u=r(57860),g=r(68283),j=r(17633),v=r(43855);let f=()=>{var e;let[t,r]=(0,a.useState)(0),f=(0,j.A)(),[p,{loading:N,error:b,data:k,fetchMore:A,refetch:w}]=(0,o._)(h.fF,{variables:{first:20},notifyOnNetworkStatusChange:!0,context:{fetchOptions:{method:"GET"}},onError:e=>{if(t>3)return void(0,u.A)(e);r(t+1),w()}}),C=()=>{var e,t;A({variables:{after:null==k||null==(t=k.categories)||null==(e=t.pageInfo)?void 0:e.endCursor},updateQuery:(e,t)=>{var r,s;let{fetchMoreResult:a}=t;return a&&(null==a||null==(r=a.categories)?void 0:r.nodes)?{categories:{...a.categories,nodes:[...(null==e||null==(s=e.categories)?void 0:s.nodes)||[],...a.categories.nodes]}}:e}})},y=(null==k||null==(e=k.categories)?void 0:e.nodes)||[];return(0,s.jsx)("div",{className:"nc-ModalCategories",children:(0,s.jsx)(n.A,{renderTrigger:e=>(0,s.jsxs)(d.A,{pattern:"third",fontSize:"text-sm font-medium",onClick:()=>{e(),p()},children:[(0,s.jsx)(v.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:f["Other categories"]}),(0,s.jsx)("span",{className:"inline sm:hidden",children:f.Categories})]}),(0,s.jsx)(i.A,{className:"-me-1 ms-2 h-4 w-4","aria-hidden":"true"})]}),modalTitle:f["Discover other categories"],renderContent:()=>{var e;return b?(0,s.jsx)("div",{children:(0,s.jsx)(g.A,{error:b,hasRefetchBtn:!0,refetch:w,loading:N})}):(0,s.jsxs)("div",{children:[y.length||N?(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:!y.length&&N?[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1].map((e,t)=>(0,s.jsx)(m.A,{},t)):(y||[]).map(e=>(0,s.jsx)(l.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)(x.A,{}),(null==k||null==(e=k.categories)?void 0:e.pageInfo.hasNextPage)?(0,s.jsx)("div",{className:"mt-7 flex justify-center",children:(0,s.jsx)(c.A,{loading:N,onClick:C,children:f["Show me more"]})}):null]})},enableFooter:!1})})}},68611:(e,t,r)=>{r.d(t,{A:()=>o});var s=r(37876),a=r(24599),l=r(48230),n=r.n(l),d=r(25430);let i=(0,r(17633).A)(),o=e=>{let{className:t="",size:r="normal",term:l}=e,{count:o,databaseId:c,name:x,uri:m,featuredImageMeta:h}=(0,d.G)(l);return(0,s.jsxs)(n(),{href:m,className:"nc-CardCategory1 flex items-center ".concat(t),children:[(0,s.jsx)(a.A,{alt:x,containerClassName:"relative flex-shrink-0 ".concat("large"===r?"w-20 h-20":"w-12 h-12"," rounded-xl me-4 overflow-hidden"),src:(null==h?void 0:h.sourceUrl)||"",fill:!0,className:"object-cover",sizes:"80px"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"".concat("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:x}),(0,s.jsxs)("span",{className:"".concat("large"===r?"text-sm":"text-xs"," mt-[2px] block text-neutral-500 dark:text-neutral-400"),children:[o," ",i.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.