PageSourceSearch

https://discover.sabinet.co.za/_next/static/chunks/1857-a13ed5268be6ad34.js

js sabinet.co.za collected 2026-10-02 04:15:39 UTC 19,880 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1857],{7227:(e,t,n)=>{n.d(t,{A:()=>u});var a=n(8972),r=n(57078),o=n(54945),l=n(14232),i=["show"];function u(e,t){return l.useMemo(function(){var n={};t&&(n.show="object"===(0,o.A)(t)&&t.formatter?t.formatter:!!t);var l=n=(0,r.A)((0,r.A)({},n),e),u=l.show,c=(0,a.A)(l,i);return(0,r.A)((0,r.A)({},c),{},{show:!!u,showFormatter:"function"==typeof u?u:void 0,strategy:c.strategy||function(e){return e.length}})},[e,t])}},11784:(e,t,n)=>{function a(e){return!!(e.addonBefore||e.addonAfter)}function r(e){return!!(e.prefix||e.suffix||e.allowClear)}function o(e,t,n){var a=t.cloneNode(!0),r=Object.create(e,{target:{value:a},currentTarget:{value:a}});return a.value=n,"number"==typeof t.selectionStart&&"number"==typeof t.selectionEnd&&(a.selectionStart=t.selectionStart,a.selectionEnd=t.selectionEnd),a.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},r}function l(e,t,n,a){if(n){var r=t;if("click"===t.type)return void n(r=o(t,e,""));if("file"!==e.type&&void 0!==a)return void n(r=o(t,e,a));n(r)}}function i(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var a=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}n.d(t,{F4:()=>i,OL:()=>r,bk:()=>a,gS:()=>l})},31857:(e,t,n)=>{n.d(t,{A:()=>K});var a,r=n(14232),o=n(15039),l=n.n(o),i=n(44501),u=n(85190),c=n(57078),s=n(2389),f=n(12906),d=n(8972),p=n(86129),m=n(7227),v=n(11784),g=n(89889),x=n(54945),h=n(77068),b=n(47015),A=n(89173),w=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],y={},C=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],S=r.forwardRef(function(e,t){var n=e.prefixCls,o=e.defaultValue,s=e.value,p=e.autoSize,m=e.onResize,v=e.className,S=e.style,E=e.disabled,z=e.onChange,N=(e.onInternalAutoSize,(0,d.A)(e,C)),R=(0,g.A)(o,{value:s,postState:function(e){return null!=e?e:""}}),F=(0,f.A)(R,2),I=F[0],O=F[1],k=r.useRef();r.useImperativeHandle(t,function(){return{textArea:k.current}});var j=r.useMemo(function(){return p&&"object"===(0,x.A)(p)?[p.minRows,p.maxRows]:[]},[p]),P=(0,f.A)(j,2),H=P[0],T=P[1],V=!!p,W=function(){try{if(document.activeElement===k.current){var e=k.current,t=e.selectionStart,n=e.selectionEnd,a=e.scrollTop;k.current.setSelectionRange(t,n),k.current.scrollTop=a}}catch(e){}},D=r.useState(2),L=(0,f.A)(D,2),B=L[0],K=L[1],M=r.useState(),_=(0,f.A)(M,2),q=_[0],U=_[1],X=function(){K(0)};(0,b.A)(function(){V&&X()},[s,H,T,V]),(0,b.A)(function(){if(0===B)K(1);else if(1===B){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;a||((a=document.createElement("textarea")).setAttribute("tab-index","-1"),a.setAttribute("aria-hidden","true"),a.setAttribute("name","hiddenTextarea"),document.body.appendChild(a)),e.getAttribute("wrap")?a.setAttribute("wrap",e.getAttribute("wrap")):a.removeAttribute("wrap");var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&y[n])return y[n];var a=window.getComputedStyle(e),r=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),o=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),l=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),i={sizingStyle:w.map(function(e){return"".concat(e,":").concat(a.getPropertyValue(e))}).join(";"),paddingSize:o,borderSize:l,boxSizing:r};return t&&n&&(y[n]=i),i}(e,n),i=l.paddingSize,u=l.borderSize,c=l.boxSizing,s=l.sizingStyle;a.setAttribute("style","".concat(s,";").concat("\n  min-height:0 !important;\n  max-height:none !important;\n  height:0 !important;\n  visibility:hidden !important;\n  overflow:hidden !important;\n  position:absolute !important;\n  z-index:-1000 !important;\n  top:0 !important;\n  right:0 !important;\n  pointer-events: none !important;\n")),a.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=a.scrollHeight;if("border-box"===c?p+=u:"content-box"===c&&(p-=i),null!==r||null!==o){a.value=" ";var m=a.scrollHeight-i;null!==r&&(f=m*r,"border-box"===c&&(f=f+i+u),p=Math.max(f,p)),null!==o&&(d=m*o,"border-box"===c&&(d=d+i+u),t=p>d?"":"hidden",p=Math.min(d,p))}var v={height:p,overflowY:t,resize:"none"};return f&&(v.minHeight=f),d&&(v.maxHeight=d),v}(k.current,!1,H,T);K(2),U(e)}else W()},[B]);var Y=r.useRef(),G=function(){A.A.cancel(Y.current)};r.useEffect(function(){return G},[]);var Q=(0,c.A)((0,c.A)({},S),V?q:null);return(0===B||1===B)&&(Q.overflowY="hidden",Q.overflowX="hidden"),r.createElement(h.A,{onResize:function(e){2===B&&(null==m||m(e),p&&(G(),Y.current=(0,A.A)(function(){X()})))},disabled:!(p||m)},r.createElement("textarea",(0,i.A)({},N,{ref:k,style:Q,className:l()(n,v,(0,u.A)({}
1,"".concat(n,"-disabled"),E)),disabled:E,value:I,onChange:function(e){O(e.target.value),null==z||z(e)}})))}),E=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],z=r.forwardRef(function(e,t){var n,a,o=e.defaultValue,x=e.value,h=e.onFocus,b=e.onBlur,A=e.onChange,w=e.allowClear,y=e.maxLength,C=e.onCompositionStart,z=e.onCompositionEnd,N=e.suffix,R=e.prefixCls,F=void 0===R?"rc-textarea":R,I=e.showCount,O=e.count,k=e.className,j=e.style,P=e.disabled,H=e.hidden,T=e.classNames,V=e.styles,W=e.onResize,D=e.onClear,L=e.onPressEnter,B=e.readOnly,K=e.autoSize,M=e.onKeyDown,_=(0,d.A)(e,E),q=(0,g.A)(o,{value:x,defaultValue:o}),U=(0,f.A)(q,2),X=U[0],Y=U[1],G=null==X?"":String(X),Q=r.useState(!1),$=(0,f.A)(Q,2),J=$[0],Z=$[1],ee=r.useRef(!1),et=r.useState(null),en=(0,f.A)(et,2),ea=en[0],er=en[1],eo=(0,r.useRef)(null),el=(0,r.useRef)(null),ei=function(){var e;return null==(e=el.current)?void 0:e.textArea},eu=function(){ei().focus()};(0,r.useImperativeHandle)(t,function(){var e;return{resizableTextArea:el.current,focus:eu,blur:function(){ei().blur()},nativeElement:(null==(e=eo.current)?void 0:e.nativeElement)||ei()}}),(0,r.useEffect)(function(){Z(function(e){return!P&&e})},[P]);var ec=r.useState(null),es=(0,f.A)(ec,2),ef=es[0],ed=es[1];r.useEffect(function(){if(ef){var e;(e=ei()).setSelectionRange.apply(e,(0,s.A)(ef))}},[ef]);var ep=(0,m.A)(O,I),em=null!=(n=ep.max)?n:y,ev=Number(em)>0,eg=ep.strategy(G),ex=!!em&&eg>em,eh=function(e,t){var n=t;!ee.current&&ep.exceedFormatter&&ep.max&&ep.strategy(t)>ep.max&&(n=ep.exceedFormatter(t,{max:ep.max}),t!==n&&ed([ei().selectionStart||0,ei().selectionEnd||0])),Y(n),(0,v.gS)(e.currentTarget,e,A,n)},eb=N;ep.show&&(a=ep.showFormatter?ep.showFormatter({value:G,count:eg,maxLength:em}):"".concat(eg).concat(ev?" / ".concat(em):""),eb=r.createElement(r.Fragment,null,eb,r.createElement("span",{className:l()("".concat(F,"-data-count"),null==T?void 0:T.count),style:null==V?void 0:V.count},a)));var eA=!K&&!I&&!w;return r.createElement(p.a,{ref:eo,value:G,allowClear:w,handleReset:function(e){Y(""),eu(),(0,v.gS)(ei(),e,A)},suffix:eb,prefixCls:F,classNames:(0,c.A)((0,c.A)({},T),{},{affixWrapper:l()(null==T?void 0:T.affixWrapper,(0,u.A)((0,u.A)({},"".concat(F,"-show-count"),I),"".concat(F,"-textarea-allow-clear"),w))}),disabled:P,focused:J,className:l()(k,ex&&"".concat(F,"-out-of-range")),style:(0,c.A)((0,c.A)({},j),ea&&!eA?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof a?a:void 0}},hidden:H,readOnly:B,onClear:D},r.createElement(S,(0,i.A)({},_,{autoSize:K,maxLength:y,onKeyDown:function(e){"Enter"===e.key&&L&&L(e),null==M||M(e)},onChange:function(e){eh(e,e.target.value)},onFocus:function(e){Z(!0),null==h||h(e)},onBlur:function(e){Z(!1),null==b||b(e)},onCompositionStart:function(e){ee.current=!0,null==C||C(e)},onCompositionEnd:function(e){ee.current=!1,eh(e,e.currentTarget.value),null==z||z(e)},className:l()(null==T?void 0:T.textarea),style:(0,c.A)((0,c.A)({},null==V?void 0:V.textarea),{},{resize:null==j?void 0:j.resize}),disabled:P,prefixCls:F,onResize:function(e){var t;null==W||W(e),null!=(t=ei())&&t.style.height&&er(!0)},ref:el,readOnly:B})))}),N=n(32852),R=n(63681),F=n(28580),I=n(42132),O=n(35453),k=n(81034),j=n(16886),P=n(46843),H=n(75312),T=n(14114),V=n(88809),W=n(15956),D=n(7860);let L=(0,V.OF)(["Input","TextArea"],e=>[(e=>{let{componentCls:t,paddingLG:n}=e,a="".concat(t,"-textarea");return{["textarea".concat(t)]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:"all ".concat(e.motionDurationSlow),resize:"vertical",["&".concat(t,"-mouse-active")]:{transition:"all ".concat(e.motionDurationSlow,", height 0s, width 0s")}},["".concat(t,"-textarea-affix-wrapper-resize-dirty")]:{width:"auto"},[a]:{position:"relative","&-show-count":{["".concat(t,"-data-count")]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},["\n        &-allow-clear > ".concat(t,",\n        &-affix-wrapper").concat(a,"-has-feedback ").concat(t,"\n      ")]:{paddingInlineEnd:n},["&-affix-wrapper".concat(t,"-affix-wrapper")]:{padding:0,["> textarea".concat(t)]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},["".concat(t,"-suffix")]:{margin:0,"> *:not(:last-child)":{marginInline:0},["".concat(t,"-clear-icon")]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},["".concat(a,"-suffix")]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},["&-affix-wrapper".concat(t,"-affix-wrapper-rtl")]:{["".concat(t,"-suffix")]:{["".concat(t,"-data-count")]:{direction:"ltr",insetInlineStart:0}}},["&-affix-wrapper".concat(t,"-affix-wrapper-sm")]:{["".concat(t,"-suffix")]:{["".concat(t,"-clear-icon")]:{insetInlineEnd:e.paddingInlineSM}}}}}})((0,W.mergeToken)(e,(0,D.C)(e)))],D.b,{resetFont:!1});var B=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,a=Object.getOwnPropertySymbols(e);r<a.length;r++)0>t.indexOf(a[r])&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]]);return n};let K=(0,r.forwardRef)((e,t)=>{var n;let{prefixCls:a,bordered:o=!0,size:i,disabled:u,status:c,allowClear:s,classNames:f,rootClassName:d,className:p,style:m,styles:g,variant:x,showCount:h,onMouseDown:b,onResize:A}=e,w=B(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:y,direction:C,allowClear:S,autoComplete:E,className:V,style:W,classNames:D,styles:K}=(0,F.TP)("textArea"),M=r.useContext(I.A),{status:_,hasFeedback:q,feedbackIcon:U}=r.useContext(j.$W),X=(0,R.v)(_,c),Y=r.useRef(null);r.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null==(e=Y.current)?void 0:e.resizableTextArea,focus:e=>{var t,n;(0,v.F4)(null==(n=null==(t=Y.current)?void 0:t.resizableTextArea)?void 0:n.textArea,e)},blur:()=>{var e;return null==(e=Y.current)?void 0:e.blur()}}});let G=y("input",a),Q=(0,O.A)(G),[$,J,Z]=(0,T.MG)(G,d),[ee]=L(G,Q),{compactSize:et,compactItemClassnames:en}=(0,H.RQ)(G,C),ea=(0,k.A)(e=>{var t;return null!=(t=null!=i?i:et)?t:e}),[er,eo]=(0,P.A)("textArea",x,o),el=(0,N.A)(null!=s?s:S),[ei,eu]=r.useState(!1),[ec,es]=r.useState(!1);return $(ee(r.createElement(z,Object.assign({autoComplete:E},w,{style:Object.assign(Object.assign({},W),m),styles:Object.assign(Object.assign({},K),g),disabled:null!=u?u:M,allowClear:el,className:l()(Z,Q,p,d,en,V,ec&&"".concat(G,"-textarea-affix-wrapper-resize-dirty")),classNames:Object.assign(Object.assign(Object.assign({},f),D),{textarea:l()({["".concat(G,"-sm")]:"small"===ea,["".concat(G,"-lg")]:"large"===ea},J,null==f?void 0:f.textarea,D.textarea,ei&&"".concat(G,"-mouse-active")),variant:l()({["".concat(G,"-").concat(er)]:eo},(0,R.L)(G,X)),affixWrapper:l()("".concat(G,"-textarea-affix-wrapper"),{["".concat(G,"-affix-wrapper-rtl")]:"rtl"===C,["".concat(G,"-affix-wrapper-sm")]:"small"===ea,["".concat(G,"-affix-wrapper-lg")]:"large"===ea,["".concat(G,"-textarea-show-count")]:h||(null==(n=e.count)?void 0:n.show)},J)}),prefixCls:G,suffix:q&&r.createElement("span",{className:"".concat(G,"-textarea-suffix")},U),showCount:h,ref:Y,onResize:e=>{var t,n;if(null==A||A(e),ei&&"function"==typeof getComputedStyle){let e=null==(n=null==(t=Y.current)?void 0:t.nativeElement)?void 0:n.querySelector("textarea");e&&"both"===getComputedStyle(e).resize&&es(!0)}},onMouseDown:e=>{eu(!0),null==b||b(e);let t=()=>{eu(!1),document.removeEventListener("mouseup",t)};document.addEventListener("mouseup",t)}}))))})}
1,32852:(e,t,n)=>{n.d(t,{A:()=>o});var a=n(14232),r=n(72914);let o=e=>{let t;return"object"==typeof e&&(null==e?void 0:e.clearIcon)?t=e:e&&(t={clearIcon:a.createElement(r.A,null)}),t}},86129:(e,t,n)=>{n.d(t,{a:()=>f,A:()=>b});var a=n(57078),r=n(44501),o=n(85190),l=n(54945),i=n(15039),u=n.n(i),c=n(14232),s=n(11784);let f=c.forwardRef(function(e,t){var n,i,f,d=e.inputElement,p=e.children,m=e.prefixCls,v=e.prefix,g=e.suffix,x=e.addonBefore,h=e.addonAfter,b=e.className,A=e.style,w=e.disabled,y=e.readOnly,C=e.focused,S=e.triggerFocus,E=e.allowClear,z=e.value,N=e.handleReset,R=e.hidden,F=e.classes,I=e.classNames,O=e.dataAttrs,k=e.styles,j=e.components,P=e.onClear,H=null!=p?p:d,T=(null==j?void 0:j.affixWrapper)||"span",V=(null==j?void 0:j.groupWrapper)||"span",W=(null==j?void 0:j.wrapper)||"span",D=(null==j?void 0:j.groupAddon)||"span",L=(0,c.useRef)(null),B=(0,s.OL)(e),K=(0,c.cloneElement)(H,{value:z,className:u()(null==(n=H.props)?void 0:n.className,!B&&(null==I?void 0:I.variant))||null}),M=(0,c.useRef)(null);if(c.useImperativeHandle(t,function(){return{nativeElement:M.current||L.current}}),B){var _=null;if(E){var q=!w&&!y&&z,U="".concat(m,"-clear-icon"),X="object"===(0,l.A)(E)&&null!=E&&E.clearIcon?E.clearIcon:"✖";_=c.createElement("button",{type:"button",tabIndex:-1,onClick:function(e){null==N||N(e),null==P||P()},onMouseDown:function(e){return e.preventDefault()},className:u()(U,(0,o.A)((0,o.A)({},"".concat(U,"-hidden"),!q),"".concat(U,"-has-suffix"),!!g))},X)}var Y="".concat(m,"-affix-wrapper"),G=u()(Y,(0,o.A)((0,o.A)((0,o.A)((0,o.A)((0,o.A)({},"".concat(m,"-disabled"),w),"".concat(Y,"-disabled"),w),"".concat(Y,"-focused"),C),"".concat(Y,"-readonly"),y),"".concat(Y,"-input-with-clear-btn"),g&&E&&z),null==F?void 0:F.affixWrapper,null==I?void 0:I.affixWrapper,null==I?void 0:I.variant),Q=(g||E)&&c.createElement("span",{className:u()("".concat(m,"-suffix"),null==I?void 0:I.suffix),style:null==k?void 0:k.suffix},_,g);K=c.createElement(T,(0,r.A)({className:G,style:null==k?void 0:k.affixWrapper,onClick:function(e){var t;null!=(t=L.current)&&t.contains(e.target)&&(null==S||S())}},null==O?void 0:O.affixWrapper,{ref:L}),v&&c.createElement("span",{className:u()("".concat(m,"-prefix"),null==I?void 0:I.prefix),style:null==k?void 0:k.prefix},v),K,Q)}if((0,s.bk)(e)){var $="".concat(m,"-group"),J="".concat($,"-addon"),Z="".concat($,"-wrapper"),ee=u()("".concat(m,"-wrapper"),$,null==F?void 0:F.wrapper,null==I?void 0:I.wrapper),et=u()(Z,(0,o.A)({},"".concat(Z,"-disabled"),w),null==F?void 0:F.group,null==I?void 0:I.groupWrapper);K=c.createElement(V,{className:et,ref:M},c.createElement(W,{className:ee},x&&c.createElement(D,{className:J},x),K,h&&c.createElement(D,{className:J},h)))}return c.cloneElement(K,{className:u()(null==(i=K.props)?void 0:i.className,b)||null,style:(0,a.A)((0,a.A)({},null==(f=K.props)?void 0:f.style),A),hidden:R})});var d=n(2389),p=n(12906),m=n(8972),v=n(89889),g=n(24665),x=n(7227),h=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"];let b=(0,c.forwardRef)(function(e,t){var n,l=e.autoComplete,i=e.onChange,b=e.onFocus,A=e.onBlur,w=e.onPressEnter,y=e.onKeyDown,C=e.onKeyUp,S=e.prefixCls,E=void 0===S?"rc-input":S,z=e.disabled,N=e.htmlSize,R=e.className,F=e.maxLength,I=e.suffix,O=e.showCount,k=e.count,j=e.type,P=e.classes,H=e.classNames,T=e.styles,V=e.onCompositionStart,W=e.onCompositionEnd,D=(0,m.A)(e,h),L=(0,c.useState)(!1),B=(0,p.A)(L,2),K=B[0],M=B[1],_=(0,c.useRef)(!1),q=(0,c.useRef)(!1),U=(0,c.useRef)(null),X=(0,c.useRef)(null),Y=function(e){U.current&&(0,s.F4)(U.current,e)},G=(0,v.A)(e.defaultValue,{value:e.value}),Q=(0,p.A)(G,2),$=Q[0],J=Q[1],Z=null==$?"":String($),ee=(0,c.useState)(null),et=(0,p.A)(ee,2),en=et[0],ea=et[1],er=(0,x.A)(k,O),eo=er.max||F,el=er.strategy(Z),ei=!!eo&&el>eo;(0,c.useImperativeHandle)(t,function(){var e;return{focus:Y,blur:function(){var e;null==(e=U.current)||e.blur()},setSelectionRange:function(e,t,n){var a;null==(a=U.current)||a.setSelectionRange(e,t,n)},select:function(){var e;null==(e=U.current)||e.select()},input:U.current,nativeElement:(null==(e=X.current)?void 0:e.nativeElement)||U.current}}),(0,c.useEffect)(function(){q.current&&(q.current=!1),M(function(e){return(!e||!z)&&e})},[z]);var eu=function(e,t,n){var a,r,o=t;if(!_.current&&er.exceedFormatter&&er.max&&er.strategy(t)>er.max)o=er.exceedFormatter(t,{max:er.max}),t!==o&&ea([(null==(a=U.current)?void 0:a.selectionStart)||0,(null==(r=U.current)?void 0:r.selectionEnd)||0]);else if("compositionEnd"===n.source)return;J(o),U.current&&(0,s.gS)(U.current,e,i,o)};(0,c.useEffect)(function(){if(en){var e;null==(e=U.current)||e.setSelectionRange.apply(e,(0,d.A)(en))}},[en]);var ec=ei&&"".concat(E,"-out-of-range");return c.createElement(f,(0,r.A)({},D,{prefixCls:E,className:u()(R,ec),handleReset:function(e){J(""),Y(),U.current&&(0,s.gS)(U.current,e,i)},value:Z,focused:K,triggerFocus:Y,suffix:function(){var e=Number(eo)>0;if(I||er.show){var t=er.showFormatter?er.showFormatter({value:Z,count:el,maxLength:eo}):"".concat(el).concat(e?" / ".concat(eo):"");return c.createElement(c.Fragment,null,er.show&&c.createElement("span",{className:u()("".concat(E,"-show-count-suffix"),(0,o.A)({},"".concat(E,"-show-count-has-suffix"),!!I),null==H?void 0:H.count),style:(0,a.A)({},null==T?void 0:T.count)},t),I)}return null}(),disabled:z,classes:P,classNames:H,styles:T,ref:X}),(n=(0,g.A)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]),c.createElement("input",(0,r.A)({autoComplete:l},n,{onChange:function(e){eu(e,e.target.value,{source:"change"})},onFocus:function(e){M(!0),null==b||b(e)},onBlur:function(e){q.current&&(q.current=!1),M(!1),null==A||A(e)},onKeyDown:function(e){w&&"Enter"===e.key&&!q.current&&(q.current=!0,w(e)),null==y||y(e)},onKeyUp:function(e){"Enter"===e.key&&(q.current=!1),null==C||C(e)},className:u()(E,(0,o.A)({},"".concat(E,"-disabled"),z),null==H?void 0:H.input),style:null==T?void 0:T.input,ref:U,size:N,t
1ype:void 0===j?"text":j,onCompositionStart:function(e){_.current=!0,null==V||V(e)},onCompositionEnd:function(e){_.current=!1,eu(e,e.currentTarget.value,{source:"compositionEnd"}),null==W||W(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.