*/
class Input extends HtmlElement
{
use HasAutofocusAttribute;
use HasDisabledAttribute;
use HasMinMaxLengthAttributes;
use HasNameAttribute;
use HasPlaceholderAttribute;
use HasReadonlyAttribute;
use HasRequiredAttribute;
use HasTypeAttribute;
use HasValueAttribute;
protected string $tag = 'input';
/**
* Add the checked attribute.
*
* @return $this
*/
public function checked(bool $checked = true): static
{
$type = $this->getAttributeValue('type');
return $this->if($type === 'checkbox', fn(self $input) => $checked
? $input->attribute('checked')
: $input->forgetAttribute('checked'));
}
/**
* Remove the checked attribute.
*
* @return $this
*/
public function unchecked(): static
{
return $this->checked(false);
}
}
__halt_compiler();----SIGNATURE:----d134j43GcPN30Xw2Fo3UhHw03wFCokP9PbSVasHTP3htrPCSogNartdlGwxkxiwdxp+MIpaq3XKj0wrTcUDjPmF2wOPk3N5rX0+mTYA+ZG4u1s7auw4Xcg+9Ypn5LPDqIf24ugh6QcFbJEQ5hA3ncCJeB0BneYAyF/+BRVtHmDrndlCD25BIuG0kZnvpewAq3Gjqs1eN0xMcaT55nGjJNqWwDgmBVHfP22rqFjzJqO1zWwfKYaKPDnIV0KM5/GBHwopYNlXc4OsSSYfQQV5s7UqcPCql2blzHOcWFD1ldXqCLs0T27bX9JvPWrKMmxLYz8s3XiE0YlSiyOBDOOonoxRqd7VevbsvqYCc8bNRq5elC2nkz0xa7Y7t6vYBpRYnYMn3azHP2Lz9aZbW1oNbI6M4Cxt7/jv2uywq9cIg17mYZHqTAxFjcPJLEUSonToL1agotxEMruJejwwiSqQ2eMmCoc3Azu5foYBKYaBdygBoifNGMVAY0gB3d1dn4nQ4Xx8HpiEabLHkGjuEQhBePXnvV6kVPYY5p1G9y805/MZolqXRtwdItqe9XinPC5oJp9hvSi6KQsg5rZoCjfRWFw2ZKkNMie8WKA93WFx/AS/LHfOLBPPmU3/hHoNucyGx3ZoGTVu04lgGzmhA0Tr5tlW3ge8BQtUMq75WnX2tp5c=----ATTACHMENT:----ODg0OTMwNDkyMTI2MjI1NiA5NDEwMDM5NDg0ODI3MTgyIDc2NDM2ODIxMzczMDAzNzY=