1"use strict";(globalThis.webpackChunkpod001_frontend=globalThis.webpackChunkpod001_frontend||[]).push([[4161],{48315:(e,t,n)=>{n.d(t,{V:()=>a});var o=n(94578),a=function(e){function t(t){var n;return(n=e.call(this,t)||this)._state=null,n._del=!1,n._handleChange=function(e){var t=n.state.value,o=e.target.value,a=e.target,r=o.length>t.length,s=n._del,l=t===n.props.format(o);n.setState({value:o,local:!0},function(){var e=a.selectionStart,i=n.props.refuse||/[^\d]+/g,u=o.substr(0,e).replace(i,"");if(n._state={input:a,before:u,op:r,di:s&&l,del:s},n.props.replace&&n.props.replace(t)&&r&&!l){for(var p=-1,d=0;d!==u.length;++d)p=Math.max(p,o.toLowerCase().indexOf(u[d].toLowerCase(),p+1));var h=o.substr(p+1).replace(i,"")[0];p=o.indexOf(h,p+1),o=""+o.substr(0,p)+o.substr(p+1)}var c=n.props.format(o);t===c?n.setState({value:o}):n.props.onChange(c)})},n._hKD=function(e){"Delete"===e.code&&(n._del=!0)},n._hKU=function(e){"Delete"===e.code&&(n._del=!1)},n.state={value:t.value,local:!0},n}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return{value:t.local?t.value:e.value,local:!1}};var n=t.prototype;return n.render=function(){var e=this._handleChange,t=this.state.value;return(0,this.props.children)({value:t,onChange:e})},n.componentWillUnmount=function(){document.removeEventListener("keydown",this._hKD),document.removeEventListener("keyup",this._hKU)},n.componentDidMount=function(){document.addEventListener("keydown",this._hKD),document.addEventListener("keyup",this._hKU)},n.componentDidUpdate=function(){var e=this._state;if(e){for(var t=this.state.value,n=-1,o=0;o!==e.before.length;++o)n=Math.max(n,t.toLowerCase().indexOf(e.before[o].toLowerCase(),n+1));if(this.props.replace&&(e.op||e.del&&!e.di))for(;t[n+1]&&(this.props.refuse||/[^\d]+/).test(t[n+1]);)n+=1;e.input.selectionStart=e.input.selectionEnd=n+1+(e.di?1:0)}this._state=null},t}(n(67294).Component)}}]); 2//# sourceMappingURL=npm.rifm.8aa5e9e203a624e259d8.js.map
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.