1"use strict";(self.webpackChunkwinshop=self.webpackChunkwinshop||[]).push([[3058],{603058:(t,e,r)=>{r.r(e),r.d(e,{default:()=>l});var n=r(667294),a=r(785893);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,a,o,i,l=[],u=!0,c=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=o.call(r)).done)&&(l.push(n.value),l.length!==e);u=!0);}catch(t){c=!0,a=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(t,e)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function l(t){var e=t.defaultValue,r=void 0===e?"0":e,i=t.onChange,l=o((0,n.useState)(String(r)),2),u=l[0],c=l[1];(0,n.useEffect)(function(){c(String(r))},[r]);return(0,a.jsx)("input",{type:"text",value:u,onChange:function(t){var e=function(t){var e=!1;t.includes("-")&&(e=!0,t=t.replace(/-/g,""));var r=t.replace(/[^0-9\.]/g,""),n=r.split(".");return n.length>2&&(r=n[0]+"."+n.slice(1).join("")),r.length>1&&"0"===r[0]&&"."!==r[1]&&(r=r.substring(1)),e&&(r="-"+r),""===r||"-"===r||"."===r||"-."===r||/^-?(?:0|[1-9]\d*)?(?:\.\d*)?$|^-?\.\d+$/.test(r)?r:"0"}(t.target.value);c(e),"function"==typeof i&&i(e)},onBlur:function(){var t=u;if(""===t||"-"===t||"."===t||"-."===t||"0."===t||"-0."===t)t="0";else if(t.endsWith("."))t=parseFloat(t).toString();else{var e=parseFloat(t);t=isNaN(e)?"0":e.toString()}t!==u&&(c(t),"function"==typeof i&&i(t))},inputMode:"decimal",placeholder:"è«è¼¸å
¥æ¸å¼",className:"form-control"})}}}]);
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.