<?php if (isset($component)) { $__componentOriginalba0fe02e34014a98c16bc2c27776fea7 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalba0fe02e34014a98c16bc2c27776fea7 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'admin::components.form.control-group.controls.inline.boolean','data' => [':name' => '\''.e($attribute->code).'\'','value' => json_encode($value),'rules' => 'required','position' => 'left','label' => $attribute->name,':errors' => 'errors','placeholder' => $attribute->name,'url' => $url,'allowEdit' => $allowEdit]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('admin::form.control-group.controls.inline.boolean'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([':name' => '\''.e($attribute->code).'\'','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(json_encode($value)),'rules' => 'required','position' => 'left','label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attribute->name),':errors' => 'errors','placeholder' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($attribute->name),'url' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($url),'allow-edit' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($allowEdit)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalba0fe02e34014a98c16bc2c27776fea7)): ?>
<?php $attributes = $__attributesOriginalba0fe02e34014a98c16bc2c27776fea7; ?>
<?php unset($__attributesOriginalba0fe02e34014a98c16bc2c27776fea7); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalba0fe02e34014a98c16bc2c27776fea7)): ?>
<?php $component = $__componentOriginalba0fe02e34014a98c16bc2c27776fea7; ?>
<?php unset($__componentOriginalba0fe02e34014a98c16bc2c27776fea7); ?>
<?php endif; ?>
<?php /**PATH /var/www/html/packages/Webkul/Admin/src/Resources/views/components/attributes/view/boolean.blade.php ENDPATH**/ ?>