"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[9855],{69855:(e,t,u)=>{u.r(t),u.d(t,{default:()=>n});var a=u(86087);const n=(0,a.memo)((({value:e,onChange:t,required:u,disabled:n,id:r,name:i})=>{const l=r||i,[p,c]=(0,a.useState)("");return(0,a.useEffect)((()=>{e||(e=0),c(e)}),[]),(0,a.useEffect)((()=>{if(e===p)return;const u=setTimeout((()=>{t(p)}),500);return()=>{clearTimeout(u)}}),[p]),(0,a.createElement)("div",{className:"cmplz-input-group cmplz-text-input-group"},(0,a.createElement)("input",{type:"number",id:l,name:i,value:p,onChange:e=>(e=>{c(e)})(e.target.value),required:u,disabled:n,className:"cmplz-text-input-group__input"}))}))}}]);