'use strict';
import { onTextFieldBlur } from '../form/form-field-focus.js';
import { isValidElement, Children } from 'react';

var __defProp=Object['defineProperty'],__name=(_0x211b93,_0x55a239)=>__defProp(_0x211b93,'name',{'value':_0x55a239,'configurable':!![]});function addClass(_0x4dee24){_0x4dee24(!![]);}__name(addClass,'addClass');function resetValue(_0x4c7196){_0x4c7196('');}__name(resetValue,'resetValue');function handleInputChange(_0x226e4a,_0x40c0e3){_0x40c0e3(_0x226e4a['target']['value']);}__name(handleInputChange,'handleInputChange');function onInputChange(_0x598b33,_0x52df90,_0x151cdb){_0x52df90(_0x598b33['target']['value']),_0x151cdb?.(_0x598b33['target']['value']);}__name(onInputChange,'onInputChange');function onClearInput(_0x258160,_0x3c0ac6,_0x31b498,_0x3bab08){_0x258160(''),_0x3c0ac6(![]),_0x31b498?.(''),_0x3bab08?.();}__name(onClearInput,'onClearInput');function onInputBlur(_0x1eb0d3,_0x1a6c0a,_0x33d6b9){onTextFieldBlur(_0x1eb0d3,_0x1a6c0a,_0x33d6b9);}__name(onInputBlur,'onInputBlur');function onInputFocus(_0x3c8fbe,_0x1a7521,_0x1a0228){!_0x1a7521&&_0x3c8fbe(!![]),_0x1a0228?.();}__name(onInputFocus,'onInputFocus');function hasMultipleInputActions(_0x402058){if(!isValidElement(_0x402058))return ![];return Children['toArray'](_0x402058['props']['children'])['length']>0x2*-0x2ba+0x1213*-0x1+-0xc*-0x1f6;}__name(hasMultipleInputActions,'hasMultipleInputActions');

export { addClass, handleInputChange, hasMultipleInputActions, onClearInput, onInputBlur, onInputChange, onInputFocus, resetValue };
