PageSourceSearch

https://newbalance.cz/_next/static/chunks/165.8668d9a9eb0e4beb.js

js newbalance.cz collected 2026-10-03 22:15:23 UTC 9,620 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{10165:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return w}});var r=n(26042),t=n(69396),i=n(99534),o=n(10253),l=n(97997),u=n(11720),c=n(64063),s=n.n(c),d=n(35386),f=n(51759),m=n(14537),p=n(21357),v=n(48843),Z=n(14800),h=n.n(Z),b=function(e){var a=e.min,n=e.max,r=e.value,t=e.step,i=e.onChange,o=e.name,c=(0,f.Z)("common").t,s=(0,u.useState)(r?r.from:a),d=s[0],m=s[1],p=(0,u.useState)(r?r.to:n),v=p[0],Z=p[1];(0,u.useEffect)((function(){r&&(m(r.from),Z(r.to))}),[r]);var b=(0,u.useCallback)((function(e){e.preventDefault();var a=Math.min(+e.target.value,v-t);r||m(a),i({from:a.toFixed(2),to:v.toFixed(2)})}),[v,r]),x=(0,u.useCallback)((function(e){e.preventDefault();var a=Math.max(+e.target.value,d+t);r||Z(a),i({from:d.toFixed(2),to:a.toFixed(2)})}),[d,r]),N=(d-a)/(n-a)*100,g=(v-a)/(n-a)*100;return(0,l.BX)("div",{className:h().wrapper,children:[(0,l.BX)("div",{className:h().inputWrapper,children:[(0,l.tZ)("input",{className:h().input,type:"range",value:d,min:a,max:n,step:t,onChange:b,"aria-label":o?"".concat(o," ").concat(c("min-value")):c("min-value"),"aria-valuemin":a,"aria-valuemax":n,"aria-valuenow":d,"aria-valuetext":d.toFixed(2),role:"slider"}),(0,l.tZ)("input",{className:h().input,type:"range",value:v,min:a,max:n,step:t,onChange:x,"aria-label":o?"".concat(o," ").concat(c("max-value")):c("max-value"),"aria-valuemin":a,"aria-valuemax":n,"aria-valuenow":v,"aria-valuetext":v.toFixed(2),role:"slider"})]}),(0,l.BX)("div",{className:h().controlWrapper,children:[(0,l.tZ)("div",{className:h().control,style:{left:"".concat(N,"%")}}),(0,l.tZ)("div",{className:h().rail,children:(0,l.tZ)("div",{className:h().innerRail,style:{left:"".concat(N,"%"),right:"".concat(100-g,"%")}})}),(0,l.tZ)("div",{className:h().control,style:{left:"".concat(g,"%")}})]})]})},x=n(74483),N=n.n(x);function g(e,a){return(Number(e)*a).toFixed(0)}var w=function(e){var a=e.filter,n=(0,o.Z)(a.attributes,2),c=n[0],Z=n[1],h=a.id,x=a.unit,w=e.name,y=(0,f.Z)("common").t,C=(0,p.B)(),B=(C.prefix,C.suffix,(0,i.Z)(C,["prefix","suffix"])),S=(0,o.Z)((0,v.U$)(h),2),F=S[0],k=S[1],D=(0,u.useState)({}),E=D[0],R=D[1],M="percent_ratio"===(null===x||void 0===x?void 0:x.name);(0,d.Z)((function(){s()(F,E)||(E.from||E.to?k.range(E):k.range(null))}),100,[E]);var L=(0,u.useMemo)((function(){var e=c.bound?Math.floor(parseFloat(c.bound)):0;return{min:e,max:Z.bound?Math.ceil(parseFloat(Z.bound)):e}}),[c,Z]);(0,u.useEffect)((function(){F&&(0,v.bR)(F)&&!s()(F,E)&&R(F)}),[F]);var I=(0,u.useCallback)((function(e){var a={};"".concat(L.min)!==e.from&&(a.from=e.from),"".concat(L.max)!==e.to&&(a.to=e.to),R(a)}),[L]),T=(0,u.useCallback)((function(e){I((0,t.Z)((0,r.Z)({},(0,v.bR)(E)?E:{}),{from:"".concat(e)}))}),[E]),W=(0,u.useCallback)((function(e){I((0,t.Z)((0,r.Z)({},(0,v.bR)(E)?E:{}),{to:"".concat(e)}))}),[E]),X=(0,u.useCallback)((function(e,a,n){return function(){return(0,l.BX)("span",{children:[" ",e?g(e,100)+n:g(a,100)+n]})}}),[]),H=(0,u.useMemo)((function(){return(0,v.bR)(E)?{from:E.from?parseFloat(E.from):L.min,to:E.to?parseFloat(E.to):L.max}:void 0}),[E]),V="".concat(h,"-group-label"),_="".concat(h,"-range-description");return(0,l.BX)("div",{className:N().root,role:"group","aria-labelledby":V,"aria-describedby":_,children:[(0,l.tZ)("span",{id:V,className:N().visuallyHidden,children:w}),(0,l.tZ)("span",{id:_,className:N().visuallyHidden,children:"".concat(L.min," - ").concat(L.max)}),(0,l.BX)("div",{className:N().inputs,children:[(0,l.tZ)(m.Z,(0,t.Z)((0,r.Z)({},B),{className:N().input,value:(0,v.bR)(E)&&E.from?parseFloat(E.from):L.min,displayType:M?"text":"input",renderText:M?X(null===E||void 0===E?void 0:E.from,L.min,x.symbol):void 0,onChange:T,"aria-label":"".concat(w," ").concat(y("min-value"))})),(0,l.tZ)("div",{className:N().inputsSpacer,"aria-hidden":"true"}),(0,l.tZ)(m.Z,(0,t.Z)((0,r.Z)({},B),{className:N().input,displayType:M?"text":"input",renderText:M?X(null===E||void 0===E?void 0:E.to,L.max,x.symbol):void 0,value:(0,v.bR)(E)&&E.to?parseFloat(E.to):L.max,onChange:W,"aria-label":"".concat(w," ").concat(y("max-value"))}))]}),(0,l.tZ)("div",{className:N().range,children:(0,l.tZ)(b,(0,t.Z)((0,r.Z)({},L),{value:H,onChange:I,step:M?.01:1,name:w}))})]})}},61502:function(e,a,n){"use strict";var r=n(47568),t=n(14924),i=n(26042),o=n(69396),l=n(99534),u=n(97582),c=n(97997),s=n(11720),d=n(94184),f=n.n(d),m=n(57333),p=n(79929),v=n(96740),Z=n.n(v),h=n(2605),b=n(93709),x=n(38348),N=n(43612),g=n.n(N),w=n(432),y=n(33144),C=function(e){return void 0===e||null===e||""===e},B=(0,s.forwardRef)((function(e,a){var n=e.className,d=(e.children,e.label),v=e.id,N=(e.type,e.disabled),B=e.min,S=e.max,F=e.step,k=void 0===F?1:F,D=e.precision,E=void 0===D?0:D,R=e.showControls,M=e.defaultValue,L=e.value,I=e.onChange,T=e.onIncrease,W=e.onDecrease,X=e.onFocus,H=e.onBlur,V=e.suffix,_=e.prefix,G=e.size,q=void 0===G?"medium":G,z=e.floatingLabel,U=e.error,j=e.info,O=e.placeholder,A=e.displayType,K=e.renderText,Q=(0,l.Z)(e,["className","children","label","id","type","disabled","min","max","step","precision","showControls","defaultValue","value","onChange","onIncrease","onDecrease","onFocus","onBlur","suffix","prefix","size","floatingLabel","error","info","placeholder","displayType","renderText"]),P=(0,s.useRef)(!1),J=(0,s.useRef)(null),Y=(0,s.useRef)(void 0),$=(0,s.use
1State)(void 0),ee=$[0],ae=$[1],ne=(0,s.useState)(void 0),re=ne[0],te=ne[1],ie=(0,s.useState)(!1),oe=ie[0],le=ie[1],ue=U?(0,w.i)(v,Q.name):void 0;(0,s.useEffect)((function(){ae(ce(void 0!==L?L:M))}),[L,M]);var ce=function(e){if(void 0!==e&&null!==e){var a=e;return a="number"===typeof B?Math.max(a,B):a,a="number"===typeof S?Math.min(a,S):a}},se=function(e){var a=e;C(e)||(a=ce(e)),te(void 0),ae(a),I&&I(a)},de=(0,s.useCallback)((function(e){se(e.target.value)}),[I]),fe=function(){Y.current&&clearTimeout(Y.current)},me=function(e){le(!0),X&&X(e)},pe=function(e){if(P.current)return J.current&&J.current.focus(),void(P.current=!1);le(!1),fe(),void 0!==re&&se(re),H&&H(e)},ve=(0,s.useMemo)((function(){var e;return(0,o.Z)((0,i.Z)({id:v,className:f()(g().input,(e={},(0,t.Z)(e,g().withControls,R),(0,t.Z)(e,g().focused,oe),(0,t.Z)(e,g().sizeLarge,"large"===q),(0,t.Z)(e,g().floatingLabelInput,z),e)),onChange:de,disabled:N},Q),{value:ee,onBlur:pe,onFocus:me})}),[de,Q,ee,me,q,R,oe]),Ze=function(e){return function(){var a=(0,r.Z)((function(a){var n;return(0,u.__generator)(this,(function(r){switch(r.label){case 0:return P.current=!0,J.current&&J.current.focus(),"add"===e&&T?[4,T()]:[3,2];case 1:case 3:return r.sent(),[2];case 2:return"subtract"===e&&W?[4,W()]:[3,4];case 4:return n=Z()("number"===typeof a?a:ee,{precision:E})[e](k).value,se(n),[2]}}))}));return function(e){return a.apply(this,arguments)}}()};(0,p.Z)("mouseup",fe);var he,be=N||!C(S)&&ee===S,xe=N||!C(B)&&ee===B;return(0,c.BX)("div",{ref:a,className:f()(g().root,n),children:[(0,c.BX)("div",{className:g().wrapper,children:[_?(0,c.tZ)("div",{className:g().prefix,children:_}):null,(0,c.BX)("div",{className:f()(g().inputWrapper,(he={},(0,t.Z)(he,g().inputWrapperWithSuffix,!!V),(0,t.Z)(he,g().inputError,U),he)),children:[!z&&d?(0,c.tZ)("label",{htmlFor:v,className:g().label,children:d}):null,(0,c.tZ)(m.Z,(0,o.Z)((0,i.Z)({},ve),{decimalScale:E,getInputRef:J,displayType:A,renderText:K,fixedDecimalScale:!0,placeholder:z?void 0:O,"aria-describedby":null!==ue&&void 0!==ue?ue:Q["aria-describedby"],"aria-invalid":U?"true":Q["aria-invalid"]})),U?(0,c.tZ)(x.Z,{content:y.Z,className:g().errorIcon}):null,V?(0,c.tZ)("span",{className:g().suffix,children:V}):null,R&&(0,c.BX)("div",{className:g().arrows,children:[(0,c.tZ)(x.Z,{content:b.Z,className:f()(g().arrow,(0,t.Z)({},g().arrowDisabled,be),g().arrowUp),onMouseDown:be?void 0:Ze("add")}),(0,c.tZ)("div",{className:g().arrowSpacer}),(0,c.tZ)(x.Z,{content:h.Z,className:f()(g().arrow,(0,t.Z)({},g().arrowDisabled,xe),g().arrowDown),onMouseDown:xe?void 0:Ze("subtract")})]}),z&&d?(0,c.tZ)("label",{htmlFor:v,className:f()(g().floatingLabel,(0,t.Z)({},g().floating,ve.value||oe)),children:d}):null]}),V?(0,c.tZ)("div",{className:g().suffix,children:V}):null]}),U?(0,c.tZ)(w.Z,{error:U,id:ue}):null,j?(0,c.tZ)("p",{className:g().info,children:j}):null]})}));a.Z=B},14537:function(e,a,n){"use strict";n.d(a,{Z:function(){return r.Z}});var r=n(61502)},74483:function(e){e.exports={root:"zCCVJywsJC",visuallyHidden:"COZAkWWPE4",inputs:"MrNt2UEXNF",input:"Fgi9wfReCB",range:"-kVP62sf3Z",price:"RxqM7rQay-",inputsSpacer:"Hvl0s6s7CI",rangeSliderTrack:"NUk18Gp1RV",rangeSliderBar:"w9z6wnH-hI",rangeSliderThumb:"r9CKjIFupe",rangeSliderDragging:"hLB9o9vLw2"}},14800:function(e){e.exports={wrapper:"_3HlXfyGkAV",inputWrapper:"wyP9A4lhK4",controlWrapper:"YyBSvGNiQI",input:"zewul04v7N",rail:"IuIK9fsH1R",innerRail:"YE2Dk4aNs1",control:"CiVha79qMC"}},43612:function(e){e.exports={root:"pihhyTSCwC",label:"yl0OHKGyf7",input:"fdWc-sLIcy",withControls:"HZxkdv7EZ4",sizeLarge:"-Hu8W9j0fu",info:"_2rOe-DC-Vh",inputWrapper:"jqSx75yHxx",focused:"_3aGLsBENYQ",suffix:"MVutBqSGEk",arrows:"kDl0KDVtQm",arrow:"-zLm0wemNq",arrowDisabled:"McLAB6Grbs",arrowSpacer:"mosGtfEQBw",arrowUp:"eUdV7d9BgL",arrowDown:"ZGr97yukx4",inputError:"DPOAE3q157",errorIcon:"Oxs-jpjiF0",floatingLabel:"n8xsleqIqj",floating:"_-4eyv-cU20"}},79929:function(e,a,n){"use strict";var r=n(11720),t=n(76362),i=t.jU?window:null,o=function(e){return!!e.addEventListener},l=function(e){return!!e.on};a.Z=function(e,a,n,u){void 0===n&&(n=i),(0,r.useEffect)((function(){if(a&&n)return o(n)?(0,t.on)(n,e,a,u):l(n)&&n.on(e,a,u),function(){o(n)?(0,t.S1)(n,e,a,u):l(n)&&n.off(e,a,u)}}),[e,a,n,JSON.stringify(u)])}}}]);

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.