PageSourceSearch

https://newbalance.cz/_next/static/chunks/pages/repository-72b933994099a5b3.js

js newbalance.cz collected 2026-10-03 22:14:22 UTC 8,523 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5368],{59287:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/repository",function(){return n(6060)}])},84584:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var a=n(97997),r=(n(11720),n(51759)),i=n(55437),o=n(64897),l=n(4158),c=n.n(l),s=function(e){var t=e.last,n=e.item;return(0,a.BX)("li",{className:c().item,children:[n.url?(0,a.tZ)(o.Z,{href:n.url,"aria-current":t?"page":void 0,children:n.name}):n.name,t?null:(0,a.tZ)("span",{className:c().spacer,children:"/"})]})},d=n(69914),u=function(e){var t=e.items,n=e.wide,o=e.hideHomeAndCurrent,l=(0,r.Z)("common").t,u=(0,d.hp)(),m=t||u;return m?(0,a.tZ)(i.Z,{className:n?c().wide:void 0,children:(0,a.tZ)("nav",{"aria-label":"Breadcrumb",className:c().root,children:(0,a.tZ)("ol",{className:c().list,children:o?m.slice(0,-1).map((function(e,t){return(0,a.tZ)(s,{item:e,last:m.length-2===t},t)})):(0,a.BX)(a.HY,{children:[(0,a.tZ)(s,{item:{name:l("new-balance"),url:"/"}}),m.map((function(e,t){return(0,a.tZ)(s,{item:e,last:m.length-1===t},t)}))]})})})}):null}},42421:function(e,t,n){"use strict";var a=n(97997),r=(n(11720),n(79535)),i=n(55437),o=n(5925),l={container:""};t.Z=function(e){var t=e.children,n=e.withoutContainer,c=e.withoutBreadcrumbs,s=e.wideBreadcrumbs,d=e.classNames,u=(0,o.Yd)(l,d);return(0,a.BX)(a.HY,{children:[c?null:(0,a.tZ)(r.Z,{wide:s}),n?t:(0,a.tZ)(i.Z,{classNames:{container:u.container},children:t})]})}},4455:function(e,t,n){"use strict";n.d(t,{Z:function(){return a.Z}});var a=n(42421)},78286:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var a=n(14924),r=n(26042),i=n(69396),o=n(97997),l=(n(11720),n(51759)),c=n(97802),s=n(94184),d=n.n(s),u=n(38348),m=n(64897),p=n(76239),h=n(61788),v=n.n(h),Z=function(e){var t=e.currentPage,n=e.perPage,s=e.itemsCount,h=e.shallow,Z=(0,l.Z)("common").t,f=Math.ceil(s/n),g=(0,c.tv)();return 0!==f?(0,o.tZ)("div",{className:v().root,children:(0,o.BX)("nav",{className:v().smallNav,"aria-label":"Pagination Navigation",role:"navigation",children:[(0,o.BX)(m.Z,{href:{pathname:g.pathname,query:(0,i.Z)((0,r.Z)({},g.query),{page:t-1})},className:d()(v().smallLink,(0,a.Z)({}
1,v().disabled,1===t)),shallow:h,scroll:!0,children:[(0,o.tZ)("span",{className:v().forSr,children:Z("previous-page")}),(0,o.tZ)(u.Z,{content:p.Z,className:d()(v().smallIcon,v().smallIconLeft)})]}),(0,o.BX)("div",{className:v().smallSelector,children:[Z("page")," ",t," ",Z("page-from")," ",f]}),(0,o.BX)(m.Z,{href:{pathname:g.pathname,query:(0,i.Z)((0,r.Z)({},g.query),{page:t+1})},shallow:h,className:d()(v().smallLink,(0,a.Z)({},v().disabled,t===f)),scroll:!0,children:[(0,o.tZ)("span",{className:v().forSr,children:Z("next-page")}),(0,o.tZ)(u.Z,{content:p.Z,className:v().smallIcon})]})]})}):null}},6060:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return D},default:function(){return O}});var a=n(14924),r=n(51351),i=n(97997),o=n(11720),l=n(94184),c=n.n(l),s=n(51759),d=n(97802),u=n(10932),m=n(4455),p=n(10084),h=n(78286),v=n(73203),Z=n(47568),f=n(97582),g=n(49890),N=n(4077),_=n(69940),C=n(18810),w=n(64897),P=n(38348),y=n(97431),B=n(13858),I=n(88131),X=n(21135),b=n(66984),k=n(22647),q=n(87947),M=n(88995),S=n(5925),E=n(58954),L=n.n(E),T=function(e){var t,n,r,l=e.product,c=(0,C.Ux)({id:l.productId,name:l.name}),d=(0,s.Z)("common").t,u=(0,N.wE)(l),m=(0,q.dD)(),h=(0,o.useMemo)((function(){if(l.type===_.xb.Variant&&l.variantId)return l.variantId}),[l]),v=(0,M.g)(l.properties,"color",", "),E=(0,o.useState)(!1),T=E[0],Y=E[1],x=(0,o.useState)(!1),R=x[0],H=x[1],D=(0,o.useCallback)((0,Z.Z)((function(){return(0,f.__generator)(this,(function(e){switch(e.label){case 0:return H(!0),[4,c.remove()];case 1:return e.sent(),[2]}}))})),[c.remove]),O=(0,o.useCallback)((function(){Y(!0)}),[]),V=(0,o.useCallback)((function(){Y(!1)}),[]),z=(0,o.useMemo)((function(){return{id:l.productId,purposes:["product_colours"],limit:30}}),[l.productId]),J=(0,b.RB)(z).data,Q=(0,o.useMemo)((function(){var e,t,n;return null!==(n=null===(t=null===J||void 0===J||null===(e=J.product)||void 0===e?void 0:e.associations[0])||void 0===t?void 0:t.products)&&void 0!==n?n:[]}),[null===J||void 0===J||null===(t=J.product)||void 0===t?void 0:t.associations]);(0,k.y)(l.productId);var j=(0,o.useCallback)(function(){var e=(0,Z.Z)((function(e){return(0,f.__generator)(this,(function(e){return O(),[2]}))}));return function(t){return e.apply(this,arguments)}}(),[]),A=(0,C.Eb)(l);return(0,i.BX)("div",{className:(0,S.ZP)(L().root,(0,a.Z)({},L().removed,R)),children:[(0,i.BX)("div",{"data-qa-repository_big_product_name":l.name,className:L().item,children:[(0,i.tZ)("div",{className:L().picture,children:(0,i.tZ)(w.Z,{href:u,className:L().pictureLink,children:(null===(n=A[0])||void 0===n?void 0:n.filename)?(0,i.tZ)(y.Z,{src:null===(r=A[0])||void 0===r?void 0:r.filename,alt:l.name,layout:"intrinsic",width:m?141:205,height:m?141:205}):null})}),(0,i.BX)("div",{"data-qa-repository_product_name":l.name,className:L().info,children:[(0,i.tZ)(w.Z,{href:u,className:L().title,children:l.name}),(0,i.tZ)(B.Z,{className:L().price,prices:l.prices,size:"small"}),(0,i.BX)("span",{className:L().color,children:[" ",d("color"),":\xa0",v]}),(0,i.tZ)("span",{"data-qa-repository_remove_product":!0,className:L().removeItem,onClick:D,children:d("delete")})]})]}),(0,i.tZ)("div",{className:L().actions,children:(0,i.BX)(p.Z,{"data-qa-repository_add_product_to_cart":!0,className:L().addToCart,onClick:j,children:[(0,i.tZ)(P.Z,{content:g.Z,className:L().addToCartIcon}),(0,i.tZ)("span",{children:d("to-cart")})]})}),(0,i.tZ)(I.ZP,{hidePosition:"right",onClose:V,header:(0,i.tZ)("span",{children:" "}),open:T,classNameHeader:L().header,className:L().variantsModal,children:(0,i.tZ)(X.WrappedWithProduct,{productId:l.productId,selectedVariantId:h,simpleCardPage:!0,productColors:Q,onCloseModal:V})})]})},Y=n(49754),x=n(70564),R=n.n(x),H=function(e){e=null!==e?e:(0,r.Z)(new TypeError("Cannot destructure undefined"));var t=(0,s.Z)("common").t,n=(0,d.tv)(),l=(0,o.useState)({page:1}),Z=l[0],f=l[1],g=(0,u.kO)(Z),N=g.data,_=g.isFetching,C=(0,o.useMemo)((function(){return null===N||void 0===N?void 0:N.paginatedRepository.items}),[N]),w=(0,o.useMemo)((function(){return null===N||void 0===N?void 0:N.paginatedRepository.pagination}),[N]),P=n.query.page;return(0,o.useEffect)((function(){P&&w&&+P>(null===w||void 0===w?void 0:w.lastPage)&&n.push("/repository?page=".concat(w.lastPage))}),[w]),(0,o.useEffect)((function(){P?w&&+P>(null===w||void 0===w?void 0:w.lastPage)?f({page:w.lastPage}):f(w&&+P<0?{page:1}:{page:+P}):f({page:1})}),[P]),!(null===N||void 0===N?void 0:N.paginatedRepository)&&_?(0,i.tZ)(v.Z,{}):(null===N||void 0===N?void 0:N.paginatedRepository)?(0,i.tZ)(m.Z,{children:(0,i.BX)("div",{className:c()(R().root,(0,a.Z)({},R().empty,0===(null===C||void 0===C?void 0:C.length))),children:[(0,i.BX)("h1",{className:R().header,children:[t("wishlist"),
1(0,i.BX)("span",{className:R().headerCounter,children:[" (",null===C||void 0===C?void 0:C.length,")"]})]}),(null===C||void 0===C?void 0:C.length)?(0,i.BX)(i.HY,{children:[(0,i.tZ)("div",{className:R().gridView,children:C.map((function(e){return(0,i.tZ)(T,{product:e},e.repositoryItemId)}))}),w?(0,i.tZ)(h.Z,{currentPage:w.currentPage,perPage:w.itemsPerPage,itemsCount:w.itemsCount}):null]}):(0,i.BX)(i.HY,{children:[(0,i.tZ)("p",{children:t("no-products-in-repository")}),(0,i.tZ)(p.Z,{href:"/",size:"large",children:t("repository-action")})]})]})}):null};H.Metadata=Y.Z;var D=!0,O=H},4158:function(e){e.exports={root:"Ra1rCJpETr",wide:"tgdgj0ucOh",list:"_6XviIua45a",item:"azPTPOgXBL",spacer:"So-arPZct1"}},58954:function(e){e.exports={root:"_5CM4d6qwbS",actions:"yLTKsYaUBq",picture:"CiJi6EyfYY",removed:"vjv1pN9ibe",pictureLink:"oKgHxM4kTK",info:"_68mRD-dmD0",title:"nfjLjdnQSx",price:"taJ3Fh2M-C",addToCart:"PdsEYd-HEz",removeItem:"XPlwrSIae1",variantsModal:"_01DMS4aUoA",header:"-w1MHwSeNQ",color:"iIINFivJUl",addToCartIcon:"drtVtQP2XM",item:"_7Lx69qoqAv"}},70564:function(e){e.exports={root:"cGLueEnqIc",header:"PkiF3Cr2o0",headerCounter:"Jo7Aqstpde",gridView:"d-pG-qdBPS",empty:"c66qvzSVV3"}},61788:function(e){e.exports={root:"_7Dq9CRaoGq",forSr:"WkBWOvUQkm",disabled:"_3QAY2O42c6",smallNav:"npwPNiJ902",smallLink:"_2WlYg3FRgM",di:"Cf2y5DNbv3",smallIcon:"a7D2NEM6lR",smallIconLeft:"-QTYzgZcal",smallSelector:"_0Xe3sc2waj"}}},function(e){e.O(0,[5973,5385,1132,8103,8197,3287,3233,9294,2345,3240,6625,6348,1083,7183,5869,9774,2888,179],(function(){return t=59287,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.