PageSourceSearch

https://stbank-approvals.netlify.app/_next/static/chunks/5967.2ff6255a2be9f2cf.js

js stbank-approvals.netlify.app collected 2026-10-03 11:29:06 UTC 15,990 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5967],{8273:function(t,e,n){"use strict";n.r(e),n.d(e,{CountUp:function(){return a}});var r=function(){return(r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var a in e=arguments[n])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},a=function(){function t(t,e,n){var a=this;this.endVal=e,this.options=n,this.version="2.6.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(t){a.startTime||(a.startTime=t);var e=t-a.startTime;a.remaining=a.duration-e,a.useEasing?a.countDown?a.frameVal=a.startVal-a.easingFn(e,0,a.startVal-a.endVal,a.duration):a.frameVal=a.easingFn(e,a.startVal,a.endVal-a.startVal,a.duration):a.frameVal=a.startVal+(a.endVal-a.startVal)*(e/a.duration);var n=a.countDown?a.frameVal<a.endVal:a.frameVal>a.endVal;a.frameVal=n?a.endVal:a.frameVal,a.frameVal=Number(a.frameVal.toFixed(a.options.decimalPlaces)),a.printValue(a.frameVal),e<a.duration?a.rAF=requestAnimationFrame(a.count):null!==a.finalEndVal?a.update(a.finalEndVal):a.options.onCompleteCallback&&a.options.onCompleteCallback()},this.formatNumber=function(t){var e,n,r,i=(Math.abs(t).toFixed(a.options.decimalPlaces)+"").split(".");if(e=i[0],n=i.length>1?a.options.decimal+i[1]:"",a.options.useGrouping){r="";for(var s=3,o=0,l=0,u=e.length;l<u;++l)a.options.useIndianSeparators&&4===l&&(s=2,o=1),0!==l&&o%s==0&&(r=a.options.separator+r),o++,r=e[u-l-1]+r;e=r}return a.options.numerals&&a.options.numerals.length&&(e=e.replace(/[0-9]/g,function(t){return a.options.numerals[+t]}),n=n.replace(/[0-9]/g,function(t){return a.options.numerals[+t]})),(t<0?"-":"")+a.options.prefix+e+n+a.options.suffix},this.easeOutExpo=function(t,e,n,r){return n*(1-Math.pow(2,-10*t/r))*1024/1023+e},this.options=r(r({},this.defaults),n),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(e),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof t?document.getElementById(t):t,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined","undefined"!=typeof window&&this.options.enableScrollSpy&&(this.error?console.error(this.error,t):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push(function(){return a.handleScroll(a)}),window.onscroll=function(){window.onScrollFns.forEach(function(t){return t()})},this.handleScroll(this)))}return t.prototype.handleScroll=function(t){if(t&&window&&!t.once){var e=window.innerHeight+window.scrollY,n=t.el.getBoundingClientRect(),r=n.top+window.pageYOffset,a=n.top+n.height+window.pageYOffset;a<e&&a>window.scrollY&&t.paused?(t.paused=!1,setTimeout(function(){return t.start()},t.options.scrollSpyDelay),t.options.scrollSpyOnce&&(t.once=!0)):(window.scrollY>a||r>e)&&!t.paused&&t.reset()}},t.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;if(this.countDown=this.startVal>t,Math.abs(t-this.startVal)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=t;var e=this.countDown?1:-1;this.endVal=t+e*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},t.prototype.start=function(t){this.error||(t&&(this.options.onCompleteCallback=t),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},t.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},t.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},t.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},t.prototype.printValue=function(t){var e;if(this.el){var n=this.formattingFn(t);null!==(e=this.options.plugin)&&void 0!==e&&e.render?this.options.plugin.render(this.el,n):"INPUT"===this.el.tagName?this.el.value=n:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=n:this.el.
1innerHTML=n}},t.prototype.ensureNumber=function(t){return"number"==typeof t&&!isNaN(t)},t.prototype.validateValue=function(t){var e=Number(t);return this.ensureNumber(e)?e:(this.error="[CountUp] invalid start or end value: ".concat(t),null)},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},t}()},28464:function(t,e,n){"use strict";var r=n(85893),a=n(67294),i=n(83824),s=n(10990),o=n(5451),l=n(45697),u=n.n(l);let c=t=>{let{children:e,bottomOffset:n="0%"}=t,l=(0,a.useRef)(),u=()=>{(null==l?void 0:l.current)&&s.ZP.to(l.current,{duration:(0,o.oU)()?0:.5,opacity:1})};return(0,r.jsx)(i.h,{onEnter:()=>u(),bottomOffset:n,children:(0,r.jsx)("div",{ref:l,style:{opacity:0},children:e})})};e.Z=c,c.propTypes={bottomOffset:u().string}},55967:function(t,e,n){"use strict";n.r(e);var r=n(85893),a=n(67294),i=n(45697),s=n.n(i),o=n(36632),l=n.n(o),u=n(17857),c=n(83824),d=n(72149),f=n(28464);let p=t=>{let{stats:e,text:n}=t,[i,s]=(0,a.useState)(!1);return(0,r.jsx)("div",{className:"container-lg ".concat(l()["container-lg"]),children:(0,r.jsx)(f.Z,{children:(0,r.jsx)(c.h,{bottomOffset:"20%",onEnter:()=>s(!0),children:(0,r.jsxs)("div",{className:"".concat(l()["stats-container"]," row"),children:[(null==n?void 0:n.textEntry)?(0,r.jsx)("div",{className:"row ".concat(l()["stats__section-header"]," col-12"),children:(0,r.jsx)("div",{className:"col offset-md-1 col-md-10",children:(0,r.jsx)(d.Z,{className:"".concat(l().stats__inner__header," ").concat(l().h5),tag:n.type,children:n.textEntry})})}):null,null==e?void 0:e.map((t,e)=>{let{preStat:n,stat:a,statDescription:s,postStat:o}=t;return(0,r.jsxs)("div",{className:"".concat(l()["stats-box"]," col-xl-2 col-lg-4 col-6"),children:[(0,r.jsxs)("div",{className:l().stat,children:[n&&(0,r.jsx)("span",{className:l().prestat,children:n}),i&&(0,r.jsx)(u.ZP,{end:a,duration:2,useEasing:!0,separator:","}),o&&(0,r.jsx)("span",{className:l().poststat,children:o})]},e),(0,r.jsx)(r.Fragment,{children:s&&(0,r.jsx)("div",{className:l()["stat-description"],dangerouslySetInnerHTML:{__html:s}})})]})})]})})})})};e.default=p,p.propTypes={stats:s().array,text:s().shape({textEntry:s().string.isRequired,type:s().string.isRequired})}},36632:function(t){t.exports={hr:"AnimatedStats_hr__hpqLE",h1:"AnimatedStats_h1__e7DLJ",h2:"AnimatedStats_h2__sac4s",h3:"AnimatedStats_h3__R9_cE",h4:"AnimatedStats_h4__GX259",h5:"AnimatedStats_h5__4EH9s",h6:"AnimatedStats_h6___lQy9",h7:"AnimatedStats_h7__v75au",h8:"AnimatedStats_h8__ZA82A","body-p":"AnimatedStats_body-p__PXP2H","form-wrapper":"AnimatedStats_form-wrapper__It9fx","form-fields":"AnimatedStats_form-fields__E8Ysu",submit:"AnimatedStats_submit__Ivg_K",checkboxes:"AnimatedStats_checkboxes__kTVKB",p:"AnimatedStats_p__smthv","sub-p":"AnimatedStats_sub-p__hxWNN",footer:"AnimatedStats_footer__i3bNb","pull-quote":"AnimatedStats_pull-quote__U7s1r","block-quote":"AnimatedStats_block-quote__JG0Fr",prehead:"AnimatedStats_prehead__L_tiO",subhead:"AnimatedStats_subhead__BC3D_","screen-reader-only":"AnimatedStats_screen-reader-only__WhXjl","hover-animation-basic":"AnimatedStats_hover-animation-basic__5BaD4","img-responsive":"AnimatedStats_img-responsive__YIWDn","--mobile-only":"AnimatedStats_--mobile-only__zzYTQ","--desktop-only":"AnimatedStats_--desktop-only__jmOap","form-container":"AnimatedStats_form-container__V1V5I","form-container__text-container":"AnimatedStats_form-container__text-container__SwA4N",wysiwyg:"AnimatedStats_wysiwyg__utGFz","form-field":"AnimatedStats_form-field__Rp7zT","select-box":"AnimatedStats_select-box__xVMnC","error-message":"AnimatedStats_error-message__YHs9J",touched:"AnimatedStats_touched__y7PPe",filled:"AnimatedStats_filled__c1Rfg",focused:"AnimatedStats_focused__l_i_w",half:"AnimatedStats_half__ij6Yn",third:"AnimatedStats_third__vc6U2",fourth:"AnimatedStats_fourth__IOAqO",full:"AnimatedStats_full__4Sr96",checkbox:"AnimatedStats_checkbox__CTf2Y",inset:"AnimatedStats_inset__6HmWc","form-error":"AnimatedStats_form-error__l0EMS","container-lg":"AnimatedStats_container-lg__18tLK","stats__section-header":"AnimatedStats_stats__section-header__JKGqu","stats-container":"AnimatedStats_stats-container__oI6k6","stats-box":"AnimatedStats_stats-box__qsvaX",stat:"AnimatedStats_stat__q10oF","stat-description":"AnimatedStats_stat-description__xw_eL"}},17857:function(t,e,n){"use strict";var r=n(67294),a=n(8273);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?i(Object(n),!0).forEach(function(e){var r,a,i;r=t,a=e,i=n[e],(a=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(a))in r?Object.defineProperty(r,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[a]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function o(){return(o=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,a=function(t,e){if(null==t)return{};var n,r,a={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(a[n]=t[n]);return a}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(a[n]=t[n])}return a}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var c="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function d(t){var e=r.useRef(t);return c(function(){e.current=t}),r.useCallback(function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.current.apply(void 0,n)},[])}var f=function(t,e){var n=e.decimal,r=e.decimals,i=e.duration,s=e.easingFn,o=e.end,l=e.formattingFn,u=e.numerals,c=e.prefix,d=e.separator,f=e.start,p=e.suffix,h=e.useEasing,m=e.useGrouping,_=e.useIndianSeparators,y=e.enableScrollSpy,g=e.scrollSpyDelay,b=e.scrollSpyOnce;return new a.CountUp(t,o,{startVal:f,duration:i,decimal:n,decimalPlaces:r,easingFn:s,formattingFn:l,numerals:u,separator:d,prefix:c,suffix:p,useEasing:h,useIndianSeparators:_,useGrouping:m,enableScrollSpy:y,scrollSpyDelay:g,scrollSpyOnce:b})},p=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],h={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},m=function(t){var e=Object.fromEntries(Object.entries(t).filter(function(t){return void 0!==(function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,a,i,s,o=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(o.push(r.value),o.length!==e);l=!0);}catch(c){u=!0,a=c}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw a}}return o}}(t,2)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]})),n=r.useMemo(function(){return s(s({},h),e)},[t]),a=n.ref,i=n.startOnMount,o=n.enableReinitialize,c=n.delay,m=n.onEnd,_=n.onStart,y=n.onPauseResume,g=n.onReset,b=n.onUpdate,S=l(n,p),v=r.useRef(),A=r.useRef(),V=r.useRef(!1),w=d(function(){return f("string"==typeof a?a:a.current,S)}),E=d(function(t){var e=v.current;if(e&&!t)return e;var n=w();return v.current=n,n}),x=d(function(){var t=function(){return E(!0).start(function(){null==m||m({pauseResume:O,reset:j,start:N,update:F})})};c&&c>0?A.current=setTimeout(t,1e3*c):t(),null==_||_({pauseResume:O,reset:j,update:F})}),O=d(function(){E().pauseResume(),null==y||y({reset:j,start:N,update:F})}),j=d(function(){E().el&&(A.current&&clearTimeout(A.current),E().reset(),null==g||g({pauseResume:O,start:N,update:F}))}),F=d(function(t){E().update(t),null==b||b({pauseResume:O,reset:j,start:N})}),N=d(function(){j(),x()}),P=d(function(t){i&&(t&&j(),x())});return r.useEffect(function(){V.current?o&&P(!0):(V.current=!0,P())},[o,V,P,c,t.start,t.suffix,t.prefix,t.duration,t.separator,t.decimals,t.decimal,t.formattingFn]),r.useEffect(function(){return function(){j()}},[j]),{start:N,pauseResume:O,reset:j,update:F,getCountUp:E}},_=["className","redraw","containerProps","children","style"];e.ZP=function(t){var e=t.className,n=t.redraw,a=t.containerProps,i=t.children,u=t.style,c=l(t,_),f=r.useRef(null),p=r.useRef(!1),h=m(s(s({},c),{},{ref:f,startOnMount:"function"!=typeof i||0===t.delay,enableReinitialize:!1})),y=h.start,g=h.reset,b=h.update,S=h.pauseResume,v=h.getCountUp,A=d(function(){y()}),V=d(function(e){t.preserveValue||g(),b(e)}),w=d(function(){if("function"==typeof t.children&&!(f.current instanceof Element)){console.error('Couldn\'t find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.');return}v()});return(r.useEffect(function(){w()},[w]),r.useEffect(function(){p.current&&V(t.end)}
1,[t.end,V]),r.useEffect(function(){n&&p.current&&A()},[A,n,n&&t]),r.useEffect(function(){!n&&p.current&&A()},[A,n,t.start,t.suffix,t.prefix,t.duration,t.separator,t.decimals,t.decimal,t.className,t.formattingFn]),r.useEffect(function(){p.current=!0},[]),"function"==typeof i)?i({countUpRef:f,start:y,reset:g,update:b,pauseResume:S,getCountUp:v}):r.createElement("span",o({className:e,ref:f,style:u},a),void 0!==t.start?v().formattingFn(t.start):"")}}}]);

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.