PageSourceSearch

https://www.gazprombank.ru/_next/0747db4598e3d43ddfd9d5619e681bad/…/static/chunks/28129-782adc8e2179d0d7.js

js gazprombank.ru collected 2026-09-24 08:50:38 UTC 11,670 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="72ced062-bd9a-4830-a162-30116e00a744",e._sentryDebugIdIdentifier="sentry-dbid-72ced062-bd9a-4830-a162-30116e00a744")}()}catch(e){}!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=Object.assign({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:gpb":!0})}(),("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"6f4f1cf6ea1ccca0f0421e130d7ade767db4cf5d"},(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28129],{27943:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var o=n(37876),a=n(89482),i=n(58103),r=n.n(i),l=n(92351);function s(e){return e.charAt(0).toUpperCase()+e.substr(1)}function d(e,t,n){return Math.min(Math.max(e,t),n)}let u={orientation:{horizontal:{dimension:"width",direction:"left",reverseDirection:"right",coordinate:"x"},vertical:{dimension:"height",direction:"top",reverseDirection:"bottom",coordinate:"y"}}};class h extends a.Component{componentDidMount(){this.handleUpdate(),new l.default(this.handleUpdate).observe(this.slider),window.addEventListener("mouseup",this.handleMouseUpWindow)}componentWillUnmount(){window.removeEventListener("mouseup",this.handleMouseUpWindow)}render(){let{value:e=0,orientation:t="horizontal",className:n,tooltip:a=!0,reverse:i=!1,labels:l={},min:s=0,max:d=100,handleLabel:h="",tabIndex:_=0}=this.props,{active:c}=this.state,{dimension:p}=u.orientation[t],f=i?u.orientation[t].reverseDirection:u.orientation[t].direction,m=this.getPositionFromValue(e),g=this.coordinates(m),v={[p]:"".concat(g.fill,"px")},b={[f]:"".concat(g.handle,"px")},x=[],w=Object.keys(l);if(w.length>0)for(let e of w=w.sort((e,t)=>i?e-t:t-e)){let t=this.getPositionFromValue(e),n=this.coordinates(t),a={[f]:"".concat(n.label,"px")};x.push((0,o.jsx)("li",{className:r()("rangeslider__label-item"),"data-value":e,onMouseDown:this.handleDrag,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,style:a,children:l[e]},e))}return(0,o.jsxs)("div",{ref:e=>{this.slider=e},className:r()("rangeslider","rangeslider-".concat(t),{"rangeslider-reverse":i},n),onClick:this.handleClick,onMouseDown:this.handleDrag,onMouseUp:this.handleEnd,onTouchStart:this.handleStart,onTouchEnd:this.handleEnd,"aria-valuemin":s,"aria-valuemax":d,"aria-valuenow":e,"aria-orientation":t,children:[(0,o.jsx)("div",{className:"rangeslider__fill",style:v}),(0,o.jsxs)("div",{ref:e=>{this.handle=e},className:"rangeslider__handle",onMouseDown:this.handleStart,onTouchMove:this.handleDrag,onTouchEnd:this.handleEnd,onKeyDown:this.handleKeyDown,style:b,tabIndex:_,children:[a&&c?(0,o.jsx)("div",{ref:e=>{this.tooltip=e},className:"rangeslider__handle-tooltip",children:(0,o.jsx)("span",{children:this.handleFormat(e)})}):null,(0,o.jsx)("div",{className:"rangeslider__handle-label",children:h})]}),l?this.renderLabels(x):null]})}constructor(e,t){super(e,t),this.handleFormat=e=>{let{format:t}=this.props;return t?t(e):e},this.handleUpdate=()=>{var e;if(!this.slider)return;let{orientation:t="horizontal"}=this.props,n=s(u.orientation[t].dimension),o=this.slider["offset".concat(n)],a=null==(e=this.handle)?void 0:e["offset".concat(n)];this.setState({limit:o-a,grab:a/2})},this.handleStart=e=>{let{onChangeStart:t}=this.props;document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleEnd),document.addEventListener("touchmove",this.handleDrag),this.setState({active:!0},()=>{null==t||t(e)})},this.handleDrag=e=>{e.stopPropagation();let{onChange:t}=this.props,{className:n,classList:o,dataset:a}=e.target;if(!t||"rangeslider__labels"===n)return;document.addEventListener("pointermove",this.handleDrag);let i=this.position(e);o&&o.contains("rangeslider__label-item")&&a.value&&(i=parseFloat(a.value)),null==t||t(i,e)},this.handleEnd=e=>{let{onChangeComplete:t}=this.props;this.setState({active:!1},()=>{null==t||t(e)}),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleEnd),document.removeEventListener("pointermove",this.handleDrag),document.removeEventListener("touchmove",this.handleDrag)},this.handleKeyDown=e=>{let t,{keyCode:n}=e,{value:o=0,min:a=0,max:i=100,step:r=1,onChange:l}=this.props;switch(n){case 38:case 39:e.preventDefault(),t=o+r>i?i:o+r,null==l||l(t,e);break;case 37:case 40:e.preventDefault(),t=o-r<a?a:o-r,null==l||l(t,e)}},this.handleMouseUpWindow=()=>{document.removeEventListener("pointermove",this.handleDrag)},this.handleClick=()=>{document.removeEventListener("pointermove",this.handleDrag)},this.getPositionFromValue=e=>{let{limit:t}=this.state,{min:n=0,max:o=100}=this.props;return Math.round((e-n)/(o-n)*t)},this.getValueFromPosition=e=>{let{limit:t}=this.state,{orientation:n="horizontal",min:o=0,max:a=100,step:i=1}=this.props,r=i*Math.round(d(e,0,t)/(t||1)*(a-o)/i);return d("horizontal"===n?r+o:a-r,o,a)},this.position=e=>{let{grab:t}=this.state,{orientation:n="horizontal",reverse:o=!1}=this.props,a=this.slider,i=u.orientation[n].coordinate,r=o?u.orientation[n].reverseDirection:u.orientation[n].direction,l="client".concat(s(i)),d=e.touches?e.touches[0][l]:e[l],h=null==a?void 0:a.getBoundingClientRect()[r];return this.getValueFromPosition(o?h-d-t:d-h-t)},this.coordinates=e=>{let{limit:t,grab:n}=this.state,{orientation:o="horizontal"}=this.props,a=this.getValueFromPosition(e),i=this.getPositionFromValue(a),r="horizontal"===o?i+n:i;return{fill:"horizontal"===o?r:t-r,handle:r,label:r}},this.renderLabels=e=>(0,o.jsx)("ul",{ref:e=>{this.labels=e},className:r()("rangeslider__labels"),children:e}),this.slider=null,this.labels=null,this.handle=null,this.tooltip=null,this.state={active:!1,limit:0,grab:0}}}let _=h}
1,28129:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var o=n(37876),a=n(89482),i=n(22897),r=n(58103),l=n.n(r),s=n(94232),d=n(45313),u=n(48036),h=n(97071),_=n(60366);let c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g," ")};var p=n(95011);let f=[{type:p.o.billion,threshold:1e9,suffix:"млрд"},{type:p.o.million,threshold:1e6,suffix:"млн"},{type:p.o.thousand,threshold:1e3,suffix:"тыс"}];function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=Number(e),o=new Set(t);for(let{type:e,threshold:t,suffix:a}of f)if(o.has(e)&&n>=t){let e=n/t;return"".concat((Math.round(100*e)/100).toFixed(2).replace(/\.00$/,"").replace(/\./,",")," ").concat(a)}return e.toString()}function g(e,t,n){return!n||n<e?e:n>t?t:n}var v=n(51257),b=n.n(v);let x=e=>{let{label:t,name:n,value:r,step:p,postfix:f,max:v,min:x,isDisabled:w,isHidden:y,info:M,rangeValue:D,onChange:E,storageValue:I,isSetDefaultValue:R,numeralsAcronym:j=[]}=e,N=(0,a.useRef)(null),S=(0,a.useRef)(null),[L,k]=(0,a.useState)(!1),C=D||I||r;(0,a.useEffect)(()=>{E(g(x.value,v.value,C))},[r,x.value,v.value]);let A=(0,a.useCallback)(e=>{var t;let n=parseInt(null==(t=e.target)?void 0:t.value.replace(/[^0-9]/g,""),10)||null;n&&n>v.value&&(n=v.value),E(n,e)},[v.value,x.value]);(0,i.A)(S,()=>{L&&k(!1)});let F=(0,a.useCallback)(()=>{k(!0)},[]),T=(0,a.useCallback)(e=>{let t=0;e.target.value&&(t=parseInt(e.target.value.replace(/[^0-9]/g,""),10)),E(g(x.value,v.value,t)),k(!1)},[x.value,v.value,p]),P=(0,a.useMemo)(()=>Array.isArray(f)?(0,s.A)(D,f):f,[D,f]);(0,a.useEffect)(()=>{R&&r&&E(r)},[r,R]);let z=(0,a.useMemo)(()=>{if(!M)return;let e=(D||" ").toString().length,t=(P||" ").toString().length;if(e<=3&&!L)return e+t;let n=Math.floor(e/3),o=e%3>0;return L?o?e+n:e+(n-1):o?e+n+t:e+(n-1)+t},[M,D,P,L]),U=(0,a.useMemo)(()=>(function(e,t,n,o){let a=e.postfix||n,i=t.postfix||n,r=o.length,l=r?m(e.value,o):"".concat(c(e.value)),s=r?m(t.value,o):"".concat(c(t.value));return["".concat(e.prefix," ").concat(l," ").concat((0,_.A)(e.value,a)),"".concat(t.prefix," ").concat(s," ").concat((0,_.A)(t.value,i))]})(x,v,f,j),[x,v,f,j]);return y?null:(0,o.jsxs)("div",{className:l()(b().root,{[b().disabled]:w||v.value===x.value,[b().focused]:L}),children:[(0,o.jsx)("div",{ref:S,className:b().root__field_wrapper,children:(0,o.jsxs)("label",{htmlFor:n,className:b().root__field,children:[(0,o.jsx)("span",{className:b().root__field_label,children:t}),(0,o.jsxs)("div",{className:b().root__field_inner,children:[(0,o.jsxs)("div",{className:b().root__field_content,children:[(0,o.jsx)(u.A,{isDisabled:w,ref:N,className:b().root__field_input,mask:"separateNumbers",name:n,suffix:L?"":P,value:D,inputMode:"numeric",onChange:A,onBlur:T,onFocus:F,inputLength:z}),(0,o.jsx)("div",{className:b().root__field_pencil,children:(0,o.jsx)(h.A,{icon:{code:"edit"}})})]}),M&&(0,o.jsx)("div",{className:b().root__field_info,children:M})]})]})}),(0,o.jsx)("div",{className:b().root__range,children:(0,o.jsx)(d.A,{value:D,max:v.value,min:x.value,step:p,onChange:E,isDisabled:w||v.value===x.value})}),(0,o.jsx)("div",{className:b().root__steps,children:U.map(e=>(0,o.jsx)("span",{"data-test-id":"input-range-step",className:b().root__step,children:e},e))})]})}},45313:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(46045),a=n(68946),i=n(37876);n(89482);var r=n(58103),l=n.n(r),s=n(27943),d=n(58085),u=n.n(d);let h=e=>{var{min:t=0,max:n=100,partMin:r=0,partMax:d=0,value:h,step:_=100,classes:c={},onChange:p,isDisabled:f=!1}=e,m=(0,a._)(e,["min","max","partMin","partMax","value","step","classes","onChange","isDisabled"]);let g=n-t,v=Math.max(t,Math.min(h,n));return(0,i.jsxs)("div",{className:l()(u().root,c.root,{[u().disabled]:f}),role:"slider","aria-valuenow":v,children:[(0,i.jsx)("div",{className:u().root__wrapper,children:(0,i.jsx)(s.A,(0,o._)({className:l()(u().root__range,c.range),type:"range",min:t,max:n,value:v,step:_,onChange:(e,o)=>{if(p){let a=Math.round(e/_)*_;t>a?a=t:n<a?a=n:r&&r>a?a=r:d&&d<a&&(a=d),p(a,o)}},tooltip:!1},m))}),(0,i.jsx)("progress",{className:l()(u().root__progress,c.progress),max:g,value:v-t})]})}},51257:e=>{e.exports={root__field:"InputRange_root__field__Ni0Ws",root__field_wrapper:"InputRange_root__field_wrapper__gwZPs",root__field_inner:"InputRange_root__field_inner__UDgTY",root__field_pencil:"InputRange_root__field_pencil__29dpD",root__field_label:"InputRange_root__field_label__w9oPa",root__field_input:"InputRange_root__field_input__W8poy",root__field_content:"InputRange_root__field_content__5CXws",root__field_info:"InputRange_root__field_info__h_WtQ",root__steps:"InputRange_root__steps__7Ol2e",root__step:"InputRange_root__step__C4egZ",root:"InputRange_root__LwGTz",focused:"InputRange_focused__kXJ_S",disabled:"InputRange_disabled__JqfMK",shimmer:"InputRange_shimmer__qBZpi",timerRotateRight:"InputRange_timerRotateRight__FN3JK",timerRotateLeft:"InputRange_timerRotateLeft__MfYBr"}},58085:e=>{e.exports={root:"InputSlider_root__F1P18",root__wrapper:"InputSlider_root__wrapper__Hq7BM",root__range:"InputSlider_root__range__h__mp",disabled:"InputSlider_disabled__EyQ0j",root__progress:"InputSlider_root__progress__HwjkI",shimmer:"InputSlider_shimmer__24HaM",timerRotateRight:"InputSlider_timerRotateRight__aBjz3",timerRotateLeft:"InputSlider_timerRotateLeft__POo1H"}},95011:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var o=function(e){return e.thousand="1_000",e.million="1_000_000",e.billion="1_000_000_000",e}({})}}]);

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.