<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps(['contract']) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps(['contract']); ?>
<?php foreach (array_filter((['contract']), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>

<div class="bg-white rounded-md border border-optional p-8 flex flex-col">
    <h3 class="text-size-heading mb-2"><?php echo e($contract->name); ?></h3>

    <?php if($contract->description): ?>
        <p class="text-gray text-size-small-heading"><?php echo e($contract->description); ?></p>
    <?php endif; ?>

    <?php if($contract->sections->isNotEmpty()): ?>
        <ul class="space-y-4 mt-4">
            <?php $__currentLoopData = $contract->sections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $section): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li>
                    <a href="<?php echo e(route('contract-sections.index', ['idTemplateSection' => $section->id])); ?>" 
                       class="item-option">
                        <?php echo e($section->title); ?>

                        <div class="icon-round">
                            <?php if (isset($component)) { $__componentOriginaladd031a743f1f5f36a6792851bbfe5fc = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginaladd031a743f1f5f36a6792851bbfe5fc = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icons.chevron-r','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('icons.chevron-r'); ?>
<?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([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginaladd031a743f1f5f36a6792851bbfe5fc)): ?>
<?php $attributes = $__attributesOriginaladd031a743f1f5f36a6792851bbfe5fc; ?>
<?php unset($__attributesOriginaladd031a743f1f5f36a6792851bbfe5fc); ?>
<?php endif; ?>
<?php if (isset($__componentOriginaladd031a743f1f5f36a6792851bbfe5fc)): ?>
<?php $component = $__componentOriginaladd031a743f1f5f36a6792851bbfe5fc; ?>
<?php unset($__componentOriginaladd031a743f1f5f36a6792851bbfe5fc); ?>
<?php endif; ?>
                        </div>
                    </a>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    <?php else: ?>
        <p class="text-primary100">Lo sentimos no tiene secciones disponibles.</p>
    <?php endif; ?>
</div><?php /**PATH /home/cnllsandbox/public_html/house-contract.cnll-sandbox.com/resources/views/components/cards/contract-card.blade.php ENDPATH**/ ?>