PageSourceSearch

https://www.gap.it/_next/static/chunks/3887.0b2b66cbad3554d2.js

js gap.it collected 2026-09-26 15:45:44 UTC 1,455 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3887],{63887:(e,t,a)=>{a.r(t),a.d(t,{SearchPageCsag:()=>C});var s=a(26514),r=a(89860),i=a(89868),n=a(77028),u=a(72298),o=a(37445),l=a(46225),g=a(75834),p=a(59429),c=a(88263),d=a(5466),h=a(66809),y=a(49421);let C=(0,p.PA)(()=>{let e=(0,l.useRouter)(),[t,a]=(0,g.useState)(!0),{productList:p,searchPage:C,dataLayer:m,settings:S,alert:f}=(0,r.Pj)();(0,g.useEffect)(()=>{(async()=>{if(e.isReady){let t=e.query.q||"",s=Number(e.query.pageNumber)||1;p.setType(d.i.CSAG_SEARCH);let[r,n]=await (0,i.eG)(t,h.m,s,C.getFilterQueryByUrlSearch(),S.defaultLocale);if(n){f.handleError(n),a(!1);return}if(!r)return a(!1);p.setProducts(r.products,!1,s),p.setPagination({pageNumber:Number(s),pageSize:r.pagination.pageSize,pageCount:r.pagination.pageCount,totalItems:r.pagination.totalItems,type:d.i.CSAG_SEARCH}),C.setHitsCount(r.pagination.totalItems),p.setIsLoading(!1),C.setFilterGroups(r.attributes),a(r.products.length>0),m.searchPageOnPageLoad(r.pagination.totalItems)}})()},[e.isReady,e.query,C,p,m,S,f]);let j=e.query.q;return t&&0===p.products.length?(0,s.jsx)("div",{className:"relative pt-12 mt-4",children:(0,s.jsx)(y.a,{isActive:!0})}):(0,s.jsx)("div",{"data-search-service":d.i.CSAG_SEARCH,children:t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.Rf,{query:j,hitsCount:p.pagination?.totalItems??0}),(0,s.jsx)(n.W,{category:null,type:u.i.Search})]}):(0,s.jsx)(o.NotFoundCatalog,{})})})}}]);

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.