PageSourceSearch

https://newbalance.cz/_next/static/chunks/pages/customer/reviews-dd9c006c1d021c34.js

js newbalance.cz collected 2026-10-03 22:13:12 UTC 13,241 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3199],{76239:function(e,r,n){"use strict";var t,a=n(11720);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},i.apply(null,arguments)}r.Z=function(e){return a.createElement("svg",i({className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"#000"},e),t||(t=a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})))}},90091:function(e,r,n){"use strict";var t,a=n(11720);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)({}).hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},i.apply(null,arguments)}r.Z=function(e){return a.createElement("svg",i({width:31,height:29,viewBox:"0 0 31 29"},e),t||(t=a.createElement("path",{d:"M23.3553 17.9847L25.0044 28.1283L15.7509 23.3707L6.4974 28.1283L8.14654 17.9847L0.633789 10.8034L11.0784 9.36712L15.7509 0.210938L20.4235 9.36712L30.868 10.8034L23.3553 17.9847Z"})))}},42529:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer/reviews",function(){return n(29081)}])},84584:function(e,r,n){"use strict";n.d(r,{Z:function(){return d}});var t=n(97997),a=(n(11720),n(51759)),i=n(55437),o=n(64897),u=n(4158),l=n.n(u),s=function(e){var r=e.last,n=e.item;return(0,t.BX)("li",{className:l().item,children:[n.url?(0,t.tZ)(o.Z,{href:n.url,"aria-current":r?"page":void 0,children:n.name}):n.name,r?null:(0,t.tZ)("span",{className:l().spacer,children:"/"})]})},c=n(69914),d=function(e){var r=e.items,n=e.wide,o=e.hideHomeAndCurrent,u=(0,a.Z)("common").t,d=(0,c.hp)(),p=r||d;return p?(0,t.tZ)(i.Z,{className:n?l().wide:void 0,children:(0,t.tZ)("nav",{"aria-label":"Breadcrumb",className:l().root,children:(0,t.tZ)("ol",{className:l().list,children:o?p.slice(0,-1).map((function(e,r){return(0,t.tZ)(s,{item:e,last:p.length-2===r},r)})):(0,t.BX)(t.HY,{children:[(0,t.tZ)(s,{item:{name:u("new-balance"),url:"/"}}),p.map((function(e,r){return(0,t.tZ)(s,{item:e,last:p.length-1===r},r)}))]})})})}):null}},47418:function(e,r,n){"use strict";n.d(r,{Z:function(){return S}});var t=n(14924),a=n(51351),i=n(97997),o=n(11720),u=n(94184),l=n.n(u),s=n(51759),c=n(97802),d=n(76239),p=n(16195),f=n(37517),m=n(8154),h=n(64897),v=n(97431),w=n(10084),g=n(38348),Z=n(10722),y=n(72694),b=n.n(y),I=function(e){var r=e.beforeIcon,n=e.children,a=e.href,u=e.onClick,s=(0,c.tv)(),p=(0,o.useMemo)((function(){return"string"===typeof a&&s.pathname.includes(a)}),[s.pathname,a]);return(0,i.tZ)("li",{className:l()(b().menuItem,(0,t.Z)({},b().menuItemActive,p)),"data-qa-customer_menu_item":a,children:(0,i.BX)(h.Z,{href:a,onClick:u,children:[(0,i.BX)("span",{children:[r?(0,i.tZ)(v.Z,{src:r,layout:"fixed",width:"auto",alt:"",height:"auto",className:b().listIcon}):null,n]}),(0,i.tZ)(g.Z,{content:d.Z,className:b().menuItemArrow})]})})},S=function(e){e=null!==e?e:(0,a.Z)(new TypeError("Cannot destructure undefined"));var r,n=(0,s.Z)("common").t,t=(0,p.ON)(),u=(0,m.nW)(void 0,{enabled:t.isLoggedIn}).data,l=(0,m.k1)(void 0,{enabled:t.isLoggedIn}).data,d=(0,c.tv)(),h=(0,o.useCallback)((function(){t.actions.customerLogout(),d.push("/")}),[]),v=(0,o.useMemo)((function(){var e;return(null!==(e=null===u||void 0===u?void 0:u.features)&&void 0!==e?e:[]).includes(f.Te.LoyaltyCard)}),[null===u||void 0===u?void 0:u.features]),g=(0,o.useMemo)((function(){var e;return(null!==(e=null===u||void 0===u?void 0:u.features)&&void 0!==e?e:[]).includes(f.Te.Rga)}),[null===u||void 0===u?void 0:u.features]),y=(0,Z.mz)(g);return(0,i.BX)("div",{className:b().root,children:[(0,i.BX)("ul",{className:b().menu,children:[(0,i.tZ)("li",{className:b().welcome,"data-qa-customer_menu_welcome":!0,children:(0,i.BX)("span",{children:[n("welcome")," ",null===l||void 0===l||null===(r=l.customer)||void 0===r?void 0:r.user.firstName,"!"]})}),(0,i.tZ)(I,{href:"/customer/change-data",children:n("my-data")}),(0,i.tZ)(I,{href:"/customer/change-password",children:n("change-password")}),(0,i.tZ)(I,{href:"/customer/addresses",children:n("my-addresses")}),(0,i.tZ)(I,{href:"/customer/orders",children:n("my-orders")}),g&&y.length>0?(0,i.tZ)(I,{href:"/customer/rga-advanced",children:n((0,Z.EA)(y))}):null,v?(0,i.tZ)(I,{href:"/customer/club",children:n("spartavity")}):null,(0,i.tZ)(I,{href:"/repository",children:n("wishlist")}),(0,i.tZ)(I,{href:"/customer/reviews",children:n("reviews")}),(0,i.tZ)(I,{href:"/customer/agreements",children:n("terms-and-conditions")}),(0,i.tZ)(I,{href:"/customer/delete-account",children:n("delete-account")}
1)]}),(0,i.tZ)("div",{className:b().actions,children:(0,i.tZ)(w.Z,{variant:"tertiary",size:"large",width:"full",onClick:h,"data-customer_log_out_button":!0,children:n("logout")})})]})}},43056:function(e,r,n){"use strict";n.d(r,{Z:function(){return I}});var t=n(14924),a=n(26042),i=n(69396),o=n(99534),u=n(10253),l=n(97997),s=n(11720),c=n(89211),d=n(5925),p=n(33144),f=n(29333),m=n.n(f),h=n(38348),v=n(432),w=n(51759),g={withLabel:m().withLabel,passwordIcon:m().passwordIcon,passwordIconShow:m().passwordIconShow},Z=function(e){var r=e.onToggle,n=e.showPassword,a=e.classNames,i=e.hasLabel,o=(0,w.Z)("common").t,u=(0,d.Yd)(g,a);return(0,l.tZ)("span",{className:(0,d.ZP)(m().toggle,(0,t.Z)({},u.withLabel,i)),onClick:r,"data-customer_show_password":!n,children:o(n?"hide":"show")})},y={input:m().input,inputIsPassword:m().inputIsPassword,inputDisabled:m().inputDisabled,inputSizeSmall:m().inputSizeSmall,inputError:m().inputError,inputSizeLarge:m().inputSizeLarge,inputVariantPrimary:m().inputVariantPrimary,inputVariantSecondary:m().inputVariantSecondary,inputVariantTertiary:m().inputVariantTertiary,floatingLabelInput:m().floatingLabelInput,root:m().root,wrapper:m().wrapper,prefix:m().prefix,inputWrapper:m().inputWrapper,label:m().label,passwordIcon:m().passwordIcon,passwordIconShow:m().passwordIconShow,withLabel:m().withLabel,errorIcon:m().errorIcon,floatingLabel:m().floatingLabel,floating:m().floating,suffix:m().suffix,info:m().info},b=(0,s.forwardRef)((function(e,r){var n=e.className,f=(e.children,e.onChange),m=e.label,w=e.prefix,g=e.suffix,b=e.id,I=e.type,S=e.error,L=e.size,N=e.variant,x=void 0===N?"primary":N,P=e.floatingLabel,_=e.placeholder,z=e.onBlur,B=e.info,k=e.autoCapitalize,C=void 0===k?"off":k,T=e.classNames,X=(e.mask,e.alwaysShowMask,(0,o.Z)(e,["className","children","onChange","label","prefix","suffix","id","type","error","size","variant","floatingLabel","placeholder","onBlur","info","autoCapitalize","classNames","mask","alwaysShowMask"])),E=(0,u.Z)((0,c.Z)(!1),2),R=E[0],V=E[1],O=(0,d.Yd)(y,T),D=S?(0,v.i)(b,X.name):void 0,A=(0,s.useRef)(!1),F=(0,s.useRef)(null),M=(0,s.useState)(!1),Q=M[0],W=M[1],j=(0,s.useCallback)((function(e){f&&f(e.target?e.target.value:e)}),[f]),K=function(e){W(!0)},Y=function(e){if(A.current)return F.current&&F.current.focus(),void(A.current=!1);W(!1),z&&z(e)},q=(0,s.useMemo)((function(){var e;return(0,i.Z)((0,a.Z)({className:(0,d.ZP)(O.input,(e={},(0,t.Z)(e,O.inputIsPassword,"password"===I),(0,t.Z)(e,O.inputDisabled,X.disabled),(0,t.Z)(e,O.inputSizeSmall,"small"===L),(0,t.Z)(e,O.inputError,!!S),(0,t.Z)(e,O.inputSizeLarge,"large"===L),(0,t.Z)(e,O.inputVariantPrimary,"primary"===x),(0,t.Z)(e,O.inputVariantSecondary,"secondary"===x),(0,t.Z)(e,O.inputVariantTertiary,"tertiary"===x),(0,t.Z)(e,O.floatingLabelInput,P),e)),onChange:j,onFocus:K,onBlur:Y},X),{value:X.value?"".concat(X.value):"",defaultValue:X.defaultValue?"".concat(X.defaultValue):void 0})}),[j,X,L,P,S]);return"number"===I&&console.error("Consider to use NumberInput component for this type of field"),(0,l.BX)("div",{className:(0,d.ZP)(O.root,n),children:[(0,l.BX)("div",{className:O.wrapper,children:[w?(0,l.tZ)("div",{className:O.prefix,children:w}):null,(0,l.BX)("div",{className:O.inputWrapper,children:[!P&&m?(0,l.tZ)("label",{htmlFor:b,className:O.label,children:m}):null,(0,l.tZ)("input",(0,i.Z)((0,a.Z)({ref:r,autoComplete:"off",autoCorrect:"off",autoCapitalize:C,spellCheck:"false",id:b,placeholder:P?void 0:_},q),{type:R?"text":I,"aria-describedby":null!==D&&void 0!==D?D:X["aria-describedby"],"aria-invalid":S?"true":X["aria-invalid"]})),"password"!==I||S?null:(0,l.tZ)(Z,{onToggle:V,hasLabel:!!m,showPassword:R,classNames:O}),S?(0,l.tZ)(h.Z,{content:p.Z,className:O.errorIcon,onClick:V}):null,P&&m?(0,l.tZ)("label",{htmlFor:b,className:(0,d.ZP)(O.floatingLabel,(0,t.Z)({},O.floating,q.value||Q)),children:m}):null]}),g?(0,l.tZ)("div",{className:O.suffix,children:g}):null]}),S?(0,l.tZ)(v.Z,{error:S,id:D}):null,B?(0,l.tZ)("p",{className:O.info,children:B}):null]})}));b.displayName="TextInput";var I=b},42421:function(e,r,n){"use strict";var t=n(97997),a=(n(11720),n(79535)),i=n(55437),o=n(5925),u={container:""};r.Z=function(e){var r=e.children,n=e.withoutContainer,l=e.withoutBreadcrumbs,s=e.wideBreadcrumbs,c=e.classNames,d=(0,o.Yd)(u,c);return(0,t.BX)(t.HY,{children:[l?null:(0,t.tZ)(a.Z,{wide:s}),n?r:(0,t.tZ)(i.Z,{classNames:{container:d.container},children:r})]})}},4455:function(e,r,n){"use strict";n.d(r,{Z:function(){return t.Z}});var t=n(42421)},37242:function(e,r,n){"use strict";n.d(r,{$A:function(){return c},E8:function(){return p},F3:function(){return o},Li:function(){return l}});
1var t=n(3471),a=n(72421),i="\n    mutation createReview($review: ReviewInput!, $productId: ID!) {\n  createReview(review: $review, productId: $productId)\n}\n    ",o=function(e){return(0,t.useMutation)(["createReview"],(function(e){return(0,a.r)(i,e)()}),e)};o.fetcher=function(e,r){return(0,a.r)(i,e,r)};var u="\n    query reviewScoreTypes {\n  reviewScoreTypes {\n    id\n    name\n    minValue\n    maxValue\n    step\n    isDefault\n  }\n}\n    ",l=function(e,r){return(0,t.useQuery)(void 0===e?["reviewScoreTypes"]:["reviewScoreTypes",e],(0,a.r)(u,e),r)};l.getKey=function(e){return void 0===e?["reviewScoreTypes"]:["reviewScoreTypes",e]},l.fetcher=function(e,r){return(0,a.r)(u,e,r)};var s="\n    query reviewStrategy {\n  reviewStrategy {\n    forGuest\n    forLoggedIn\n    forPurchasedProduct\n    creationEnabled\n  }\n}\n    ",c=function(e,r){return(0,t.useQuery)(void 0===e?["reviewStrategy"]:["reviewStrategy",e],(0,a.r)(s,e),r)};c.getKey=function(e){return void 0===e?["reviewStrategy"]:["reviewStrategy",e]},c.fetcher=function(e,r){return(0,a.r)(s,e,r)};var d="\n    query reviewRanges {\n  reviewRanges {\n    months\n    years\n  }\n}\n    ",p=function(e,r){return(0,t.useQuery)(void 0===e?["reviewRanges"]:["reviewRanges",e],(0,a.r)(d,e),r)};p.getKey=function(e){return void 0===e?["reviewRanges"]:["reviewRanges",e]},p.fetcher=function(e,r){return(0,a.r)(d,e,r)}},29081:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSP:function(){return i}});var t=n(29159),a=n(3723),i=!0;r.default=(0,a.v)(t.Z)},4158:function(e){e.exports={root:"Ra1rCJpETr",wide:"tgdgj0ucOh",list:"_6XviIua45a",item:"azPTPOgXBL",spacer:"So-arPZct1"}},72694:function(e){e.exports={root:"o07XhPg0dK",actions:"_6nNpUC8Gy-",menu:"_5LNNI2dR3B",menuItem:"t2FSYIO3aX",menuItemActive:"l5BOaT2wr5",welcome:"Sm9JZAU0d6",menuItemArrow:"_89Vd58v607"}},9551:function(e){e.exports={root:"W46prdf43z",reviews:"ntGX7zzfbb",reviewForm:"S-r9tbGc7X",header:"SB08v0UVi2",acItem:"I8OhiyydSQ",acItemPic:"lQlKyDtkNZ",menu:"_1EChCDT-Vc",menuActive:"_6r-ATZuyYc",optionsHeader:"-a6iP9KlyS",options:"_5z-j1yztcD",loaderHead:"QqSQ82Ivyh",loaderItem:"qNRWhbujW4",loadMoreWrapper:"tNdFr95rAe"}},1314:function(e){e.exports={root:"Mzs2rnRnad",wrapper:"_1raEyfIlrl",actions:"_0I3Ok5VDN4",content:"kxKlVs-j4y",headerText:"wrb9UyZ-Ck",backArrow:"gDDZajFD8b",header:"RFIT33kBoQ"}},74143:function(e){e.exports={root:"-np87Z3SMg",search:"q0K1ft02Oi",inputWrapper:"IfZj1Agy2F",icon:"I9gy63Jj16"}},71685:function(e){e.exports={error:"x6xb0bOU7P"}},29333:function(e){e.exports={root:"_208-ys1XEV",label:"WLa9Pe4id-",passwordIcon:"F9x3z8Otkp",passwordIconShow:"im8B-a1V76",input:"Exfqp-BJ2h",inputSizeSmall:"fSAQSROhpX",toggle:"GrP8cZd1h-",inputDisabled:"HwgVLBz-JT",floating:"XAhUv6aBrt",inputIsPassword:"_9ooaeRpzZn",withLabel:"Qa6brxvbXu",inputSizeLarge:"B7-HT9XvxA",inputVariantPrimary:"pKots5cSxp",floatingLabel:"YaPQRRPIST",info:"t7teorsf-d",inputError:"_7u28-4PFxp",error:"bYcu8aXVgs",errorIcon:"UdPxbcrJLv",wrapper:"_0Kel-eNhLm",inputWrapper:"n1viyYdP8X",prefix:"YJEPe-A5Pl",suffix:"k8fXLBaWev"}},58428:function(e){e.exports={root:"FHhfCbDDj1",header:"_1OzfYrhi7C",styled:"BkdtKLsYza",prose:"OomjeyZi9B","md:prose":"ka53bRpuGD",headerWrapper:"I3-mjpAmUK"}},71722:function(e){e.exports={root:"luHQ0JLoFc",label:"DHI9me3SHG",input:"QvQ2aOKqLS",secondary:"TyzZygB1xW",large:"EeIMbd-RaD",floatingLabel:"zTIFx9hdEm",floating:"ZtYp2gu37i",inputError:"wTxZSf-6V4"}},95612:function(e){e.exports={root:"_8tN0XZp5f-",label:"XiWvLv7wfn",passwordIcon:"QMG--tUfh7",passwordIconShow:"qtPQKSzlPa",input:"iz-OsX-cMl",inputDisabled:"D93R2hMmwa",floating:"AI-klxOnG-",inputIsPassword:"dLG1EDgvgz",withLabel:"fhjDK5QWGV",inputSizeLarge:"gM0T6v6qgm",inputVariantPrimary:"BzwuF3Cx13",floatingLabel:"Mzizzc-D3o",info:"F2gFWpi25Z",inputError:"gkHgIlRuZO",errorIcon:"_0gQe1tYos-"}}},function(e){e.O(0,[5973,9079,610,7429,9294,9774,2888,179],(function(){return r=42529,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.