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