<div class="mx-auto px-4 md:px-0" x-data="{
    expandedVersions: { '1.1.3': true },
    toggleVersion(version) {
        this.expandedVersions[version] = !this.expandedVersions[version];
    }
}">
     <?php $__env->slot('title', null, []); ?> 
        <?php echo e(t('software_update_management')); ?>

     <?php $__env->endSlot(); ?>
    <!-- Page Heading -->
    <div class="pb-6">
        <?php if (isset($component)) { $__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.settings-heading','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('settings-heading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?><?php echo e(t('system_setting')); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff)): ?>
<?php $attributes = $__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff; ?>
<?php unset($__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff)): ?>
<?php $component = $__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff; ?>
<?php unset($__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff); ?>
<?php endif; ?>
    </div>

    <div class="flex flex-wrap lg:flex-nowrap gap-4">
        <!-- Sidebar Menu -->
        <div class="w-full lg:w-1/5">
            <?php if (isset($component)) { $__componentOriginal6cdec1e07ce4bcc0273b57671e412ae1 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal6cdec1e07ce4bcc0273b57671e412ae1 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin-system-settings-navigation','data' => ['wire:ignore' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin-system-settings-navigation'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['wire:ignore' => true]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal6cdec1e07ce4bcc0273b57671e412ae1)): ?>
<?php $attributes = $__attributesOriginal6cdec1e07ce4bcc0273b57671e412ae1; ?>
<?php unset($__attributesOriginal6cdec1e07ce4bcc0273b57671e412ae1); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal6cdec1e07ce4bcc0273b57671e412ae1)): ?>
<?php $component = $__componentOriginal6cdec1e07ce4bcc0273b57671e412ae1; ?>
<?php unset($__componentOriginal6cdec1e07ce4bcc0273b57671e412ae1); ?>
<?php endif; ?>
        </div>
        <!-- Main Content -->
        <div class="flex-1 space-y-5">
            <?php if (isset($component)) { $__componentOriginal53747ceb358d30c0105769f8471417f6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal53747ceb358d30c0105769f8471417f6 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.card','data' => ['class' => 'rounded-lg']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'rounded-lg']); ?>
                 <?php $__env->slot('header', null, []); ?> 
                    <?php if (isset($component)) { $__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.settings-heading','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('settings-heading'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                        <?php echo e(t('software_update_management')); ?>

                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff)): ?>
<?php $attributes = $__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff; ?>
<?php unset($__attributesOriginal32b3aedb79dcb21d2517daf1cd4b81ff); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff)): ?>
<?php $component = $__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff; ?>
<?php unset($__componentOriginal32b3aedb79dcb21d2517daf1cd4b81ff); ?>
<?php endif; ?>
                    <?php if (isset($component)) { $__componentOriginald4840e1146262bfa3abec1048daf8661 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald4840e1146262bfa3abec1048daf8661 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.settings-description','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('settings-description'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
                        <?php echo e(t('software_update_management_description')); ?>

                     <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald4840e1146262bfa3abec1048daf8661)): ?>
<?php $attributes = $__attributesOriginald4840e1146262bfa3abec1048daf8661; ?>
<?php unset($__attributesOriginald4840e1146262bfa3abec1048daf8661); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald4840e1146262bfa3abec1048daf8661)): ?>
<?php $component = $__componentOriginald4840e1146262bfa3abec1048daf8661; ?>
<?php unset($__componentOriginald4840e1146262bfa3abec1048daf8661); ?>
<?php endif; ?>
                 <?php $__env->endSlot(); ?>
                 <?php $__env->slot('content', null, []); ?> 
                    <div class="mx-auto">
                        <?php if(!empty($support)): ?>
                            <div
                                class="mb-6 border-l-4 rounded-r-md z-100  dark:bg-gray-700  dark:text-white <?php echo e($support['success'] == false ? 'bg-red-100 border-red-500 text-red-700 dark:border-red-600' : 'bg-green-100 border-green-500 text-green-700 dark:bg-gray-700 dark:border-green-600'); ?>">
                                <div class="p-4">
                                    <div class="grid grid-cols-1 md:grid-cols-2 ">
                                        <div
                                            class="flex flex-col items-start <?php echo e($support['success'] == false ? 'bg-red-100 border-red-500 text-red-700 dark:border-red-600' : 'bg-green-100 border-green-500 text-green-700 dark:bg-gray-700 dark:border-green-600'); ?> ">
                                            <h1
                                                class="text-xl font-bold <?php echo e($support['success'] == false ? 'text-red-600 dark:text-red-400' : 'text-green-600 dark:text-green-400'); ?>">
                                                <?php echo e(t('support')); ?>

                                            </h1>
                                            <div
                                                class="mt-2 font-medium <?php echo e($support['success'] == false ? 'text-red-600 dark:text-red-400' : 'text-green-600 dark:text-green-400'); ?> ">
                                                <?php echo e($support['message']); ?>

                                            </div>
                                            <?php if($support['success'] == false): ?>
                                                <div
                                                    class="mt-1 flex items-start flex-col text-red-700 dark:text-red-300">
                                                    <a href="<?php echo e(config('installer.license_verification.renew_support_url')); ?>"
                                                        class="text-sm mt-1 text-red-700 dark:text-red-400 underline"
                                                        target="_blank">
                                                        <?php echo e(t('renew_support')); ?> </a>
                                                </div>
                                            <?php endif; ?>
                                        </div>
                                        <div class="flex flex-col items-start md:items-end mt-4 md:mt-0">
                                            <span class="text-sm text-gray-600 dark:text-slate-400">
                                                <?php echo e(t('do_you_want_custom_service')); ?> </span>
                                            <a href="<?php echo e($support['support_url']); ?>" target="_blank"
                                                class="mt-2 w-auto px-4 py-2 bg-white dark:bg-slate-800 text-gray-700 dark:text-slate-300 rounded-lg border border-gray-300 dark:border-slate-600 hover:bg-gray-50 dark:hover:bg-slate-700/50 transition-colors flex items-center space-x-2">
                                                <?php if (isset($component)) { $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c = $attributes; } ?>
<?php $component = BladeUI\Icons\Components\Svg::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('heroicon-c-arrow-left'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\BladeUI\Icons\Components\Svg::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'w-4 h-4']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $attributes = $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $component = $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
                                                <span> <?php echo e(t('create_support_ticket')); ?> </span>
                                            </a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>

                        <!-- Main Content -->
                        <div class="grid grid-cols-1 xl:grid-cols-2 gap-6">
                            <!-- Update Section -->
                            <div class="bg-white dark:bg-slate-800 rounded-xl shadow-sm border border-gray-200 dark:border-slate-700/50"
                                x-data="{ purchase_key: '', username: '', isValid: false }">
                                <div class="p-6">
                                    <h2 class="text-lg font-semibold text-gray-900 dark:text-white mb-6">
                                        <?php echo e(t('version_information')); ?> </h2>

                                    <div class="flex flex-col sm:flex-row mb-8 gap-4">
                                        <div
                                            class="flex-1 p-4 border-l-4 rounded-r-md z-100 dark:bg-gray-700 dark:text-white <?php echo e($currentVersion != $latestVersion ? 'bg-red-100 border-red-500 text-red-700 dark:border-red-600' : 'bg-green-100 border-green-500 text-green-700 dark:bg-gray-700 dark:border-green-600'); ?> ">
                                            <div
                                                class="text-sm mb-1 <?php echo e($currentVersion != $latestVersion ? 'text-red-600 dark:text-red-400' : 'text-green-600 dark:text-green-400'); ?> ">
                                                <?php echo e(t('your_version')); ?>

                                            </div>
                                            <div
                                                class="text-2xl font-bold <?php echo e($currentVersion != $latestVersion ? 'text-red-700 dark:text-red-300' : 'text-green-700 dark:text-green-300'); ?> ">
                                                <?php echo e($currentVersion); ?>

                                            </div>
                                        </div>
                                        <div class="hidden sm:flex items-center justify-center text-gray-400">
                                            <?php if (isset($component)) { $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c = $attributes; } ?>
<?php $component = BladeUI\Icons\Components\Svg::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('heroicon-c-arrow-long-right'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\BladeUI\Icons\Components\Svg::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'w-8 h-8']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $attributes = $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $component = $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
                                        </div>
                                        <div class="sm:hidden flex justify-center text-gray-400">
                                            <?php if (isset($component)) { $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c = $attributes; } ?>
<?php $component = BladeUI\Icons\Components\Svg::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('heroicon-c-arrow-long-down'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\BladeUI\Icons\Components\Svg::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'w-8 h-8']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $attributes = $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $component = $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
                                        </div>
                                        <div
                                            class="flex-1 p-4 border-l-4 rounded-r-md z-100 bg-green-100 border-green-500 text-green-700 dark:bg-gray-700 dark:border-green-600 dark:text-white">
                                            <div class="text-sm text-green-600 dark:text-green-400 mb-1">
                                                <?php echo e(t('latest_version')); ?> </div>
                                            <div class="text-2xl font-bold text-green-700 dark:text-green-300">
                                                <?php echo e($latestVersion); ?>

                                            </div>
                                        </div>
                                    </div>
                                    <form wire:submit.prevent="save">
                                        <div class="space-y-4" x-data>
                                            <!-- Username -->
                                            <div>
                                                <label
                                                    class="block text-sm font-medium text-gray-700 dark:text-slate-300 mb-1"
                                                    for="username">
                                                    <span class="text-red-500">*</span> <?php echo e(t('username')); ?>

                                                </label>
                                                <input type="text" id="username" wire:model.defer="username"
                                                    class="w-full px-4 py-2 rounded-lg border border-gray-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-600 focus:border-transparent transition-colors"
                                                    placeholder="Enter your username" autocomplete="off">
                                                <?php $__errorArgs = ['username'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                    <p class="text-red-500 text-sm mt-1"><?php echo e($message); ?></p>
                                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                            </div>
                                            <!-- Purchase Key -->
                                            <div>
                                                <label
                                                    class="block text-sm font-medium text-gray-700 dark:text-slate-300 mb-1"
                                                    for="purchase_key">
                                                    <span class="text-red-500">*</span> <?php echo e(t('purchase_key')); ?>

                                                </label>
                                                <input type="text" id="purchase_key" wire:model.defer="purchase_key"
                                                    class="w-full px-4 py-2 rounded-lg border border-gray-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-gray-900 dark:text-white focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-600 focus:border-transparent transition-colors"
                                                    placeholder="Enter your purchase key" autocomplete="off">
                                                <?php $__errorArgs = ['purchase_key'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                    <p class="text-red-500 text-sm mt-1"><?php echo e($message); ?></p>
                                                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                            </div>
                                        </div>

                                        <!-- Update Button -->
                                        <?php if($currentVersion != $latestVersion): ?>
                                            <div class="mt-8">
                                                <button type="submit"
                                                    class="w-full px-6 py-3 bg-indigo-600 hover:bg-indigo-700 disabled:bg-indigo-400 text-white rounded-lg transition-colors flex items-center justify-center space-x-2"
                                                    wire:loading.attr="disabled">
                                                    <?php if (isset($component)) { $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c = $attributes; } ?>
<?php $component = BladeUI\Icons\Components\Svg::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('heroicon-c-arrow-down-tray'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\BladeUI\Icons\Components\Svg::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => 'w-5 h-5']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $attributes = $__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__attributesOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c)): ?>
<?php $component = $__componentOriginal643fe1b47aec0b76658e1a0200b34b2c; ?>
<?php unset($__componentOriginal643fe1b47aec0b76658e1a0200b34b2c); ?>
<?php endif; ?>
                                                    <span> <?php echo e(t('download_update')); ?> </span>
                                                </button>
                                            </div>
                                        <?php endif; ?>
                                    </form>

                                    <!-- Warning Message -->
                                    <div
                                        class="mt-6 p-4 bg-amber-50 dark:bg-amber-900/10 rounded-lg border border-amber-100 dark:border-amber-900/20">
                                        <div class="flex items-start space-x-3">
                                            <p class="text-amber-700 dark:text-amber-300">
                                                <?php echo e(t('before_update_description')); ?>

                                            </p>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <!-- Changelog Section -->
                            <div
                                class="bg-white dark:bg-slate-800 rounded-xl shadow-sm border border-gray-200 dark:border-slate-700/50">
                                <div class="p-6">
                                    <h2 class="text-lg font-semibold text-gray-900 dark:text-white mb-6">
                                        <?php echo e(t('change_log')); ?>

                                    </h2>

                                    <!-- Changelog Content -->
                                    <div wire:loading.block wire:target="loadReleases"
                                        class="flex justify-center items-center py-8">
                                        <div
                                            class="animate-spin rounded-full h-8 w-8 border-t-2 border-b-2 border-indigo-500">
                                        </div>
                                    </div>

                                    <div wire:loading.remove wire:target="loadReleases"
                                        class="space-y-4 max-h-[500px] overflow-y-auto pr-2">
                                        <?php if(isset($versionLog['versions']) && count($versionLog['versions']) > 0): ?>
                                            <?php $__empty_1 = true; $__currentLoopData = $versionLog['versions']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $version): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                                <div
                                                    class="border border-gray-200 dark:border-gray-700 rounded-lg overflow-hidden">
                                                    <!-- Version Header -->
                                                    <div class="flex items-center justify-between p-4 cursor-pointer <?php echo e($version['is_latest'] ? 'bg-green-50 dark:bg-green-900/10' : 'bg-gray-50 dark:bg-gray-700/30'); ?>"
                                                        @click="toggleVersion('<?php echo e($version['version']); ?>')">
                                                        <div class="flex items-center space-x-2">
                                                            <span
                                                                class="<?php echo e($version['is_latest'] ? 'text-green-600 dark:text-green-400' : 'text-gray-600 dark:text-gray-400'); ?>">
                                                                <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5"
                                                                    fill="none" viewBox="0 0 24 24"
                                                                    stroke="currentColor">
                                                                    <path stroke-linecap="round" stroke-linejoin="round"
                                                                        stroke-width="2"
                                                                        d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z" />
                                                                </svg>
                                                            </span>
                                                            <div>
                                                                <span
                                                                    class="font-medium <?php echo e($version['is_latest'] ? 'text-green-700 dark:text-green-300' : 'text-gray-700 dark:text-gray-300'); ?>">
                                                                    <?php echo e($version['version']); ?>

                                                                    <?php if($version['is_latest']): ?>
                                                                        <span
                                                                            class="ml-2 text-xs px-2 py-1 bg-green-100 dark:bg-green-800 text-green-800 dark:text-green-200 rounded-full">
                                                                            <?php echo e(t('latest')); ?>

                                                                        </span>
                                                                    <?php endif; ?>
                                                                </span>
                                                                <span
                                                                    class="ml-2 text-sm text-gray-500 dark:text-gray-400"><?php echo e($version['date']); ?></span>
                                                            </div>
                                                        </div>
                                                        <svg xmlns="http://www.w3.org/2000/svg"
                                                            class="h-5 w-5 text-gray-400 transform transition-transform duration-200"
                                                            :class="{ 'rotate-180': expandedVersions[
                                                                    '<?php echo e($version['version']); ?>'] }"
                                                            viewBox="0 0 20 20" fill="currentColor">
                                                            <path fill-rule="evenodd"
                                                                d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
                                                                clip-rule="evenodd" />
                                                        </svg>
                                                    </div>

                                                    <!-- Change Items -->
                                                    <?php
                                                        $hasContentInFifTypes = false;
                                                        foreach ($version['changes'] as $changeCheck) {
                                                            if (
                                                                in_array($changeCheck['type'], [
                                                                    'feature',
                                                                    'improvement',
                                                                    'bug',
                                                                ]) &&
                                                                !empty($changeCheck['description'])
                                                            ) {
                                                                $hasContentInFifTypes = true;
                                                                break;
                                                            }
                                                        }
                                                    ?>

                                                    <div x-show="expandedVersions['<?php echo e($version['version']); ?>']"
                                                        class="p-4 border-t border-gray-200 dark:border-gray-700 divide-y divide-gray-100 dark:divide-gray-700">

                                                        <!-- First display feature, improvement, bug if they have content -->
                                                        <?php $__currentLoopData = $version['changes']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $change): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                            <?php if(in_array($change['type'], ['feature', 'improvement', 'bug']) && !empty($change['description'])): ?>
                                                                <div class="py-3 flex items-start">
                                                                    <?php if($change['type'] === 'feature'): ?>
                                                                        <span class="flex-shrink-0 mr-3 mt-1">
                                                                            <span
                                                                                class="flex h-6 w-6 items-center justify-center rounded-full bg-blue-100 text-blue-500 dark:bg-blue-900/30 dark:text-blue-300">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    class="h-4 w-4" fill="none"
                                                                                    viewBox="0 0 24 24"
                                                                                    stroke="currentColor">
                                                                                    <path stroke-linecap="round"
                                                                                        stroke-linejoin="round"
                                                                                        stroke-width="2"
                                                                                        d="M12 6v6m0 0v6m0-6h6m-6 0H6" />
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                        <div class="text-sm">
                                                                            <p
                                                                                class="font-medium text-blue-600 dark:text-blue-400">
                                                                                <?php echo e(t('new_feature')); ?></p>
                                                                            <p
                                                                                class="text-gray-700 dark:text-gray-300">
                                                                                <?php echo $change['description']; ?></p>
                                                                        </div>
                                                                    <?php elseif($change['type'] === 'improvement'): ?>
                                                                        <span class="flex-shrink-0 mr-3 mt-1">
                                                                            <span
                                                                                class="flex h-6 w-6 items-center justify-center rounded-full bg-purple-100 text-purple-500 dark:bg-purple-900/30 dark:text-purple-300">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    class="h-4 w-4" fill="none"
                                                                                    viewBox="0 0 24 24"
                                                                                    stroke="currentColor">
                                                                                    <path stroke-linecap="round"
                                                                                        stroke-linejoin="round"
                                                                                        stroke-width="2"
                                                                                        d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6" />
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                        <div class="text-sm">
                                                                            <p
                                                                                class="font-medium text-purple-600 dark:text-purple-400">
                                                                                <?php echo e(t('improvement')); ?></p>
                                                                            <p
                                                                                class="text-gray-700 dark:text-gray-300">
                                                                                <?php echo $change['description']; ?></p>
                                                                        </div>
                                                                    <?php elseif($change['type'] === 'bug'): ?>
                                                                        <span class="flex-shrink-0 mr-3 mt-1">
                                                                            <span
                                                                                class="flex h-6 w-6 items-center justify-center rounded-full bg-red-100 text-red-500 dark:bg-red-900/30 dark:text-red-300">
                                                                                <svg xmlns="http://www.w3.org/2000/svg"
                                                                                    class="h-4 w-4" fill="none"
                                                                                    viewBox="0 0 24 24"
                                                                                    stroke="currentColor">
                                                                                    <path stroke-linecap="round"
                                                                                        stroke-linejoin="round"
                                                                                        stroke-width="2"
                                                                                        d="M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z" />
                                                                                </svg>
                                                                            </span>
                                                                        </span>
                                                                        <div class="text-sm">
                                                                            <p
                                                                                class="font-medium text-red-600 dark:text-red-400">
                                                                                <?php echo e(t('bug_fix')); ?></p>
                                                                            <p
                                                                                class="text-gray-700 dark:text-gray-300">
                                                                                <?php echo $change['description']; ?></p>
                                                                        </div>
                                                                    <?php endif; ?>
                                                                </div>
                                                            <?php endif; ?>
                                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                                        <!-- Only show changelog if none of the FIF types have content -->
                                                        <?php if(!$hasContentInFifTypes): ?>
                                                            <?php $__currentLoopData = $version['changes']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $change): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                                <?php if($change['type'] === 'changelog'): ?>
                                                                    <div class="py-3 flex items-start">
                                                                        <div class="text-sm">
                                                                            <p
                                                                                class="text-gray-700 dark:text-gray-300">
                                                                                <?php echo $change['description']; ?></p>
                                                                        </div>
                                                                    </div>
                                                                <?php endif; ?>
                                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                                        <?php endif; ?>
                                                    </div>
                                                </div>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        <?php else: ?>
                                            <div class="p-4 bg-gray-50 dark:bg-slate-700/30 rounded-lg text-center">
                                                <p class="text-gray-500 dark:text-gray-400">
                                                    <?php echo e(t('no_release_information_available')); ?></p>
                                            </div>
                                        <?php endif; ?>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                 <?php $__env->endSlot(); ?>
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal53747ceb358d30c0105769f8471417f6)): ?>
<?php $attributes = $__attributesOriginal53747ceb358d30c0105769f8471417f6; ?>
<?php unset($__attributesOriginal53747ceb358d30c0105769f8471417f6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal53747ceb358d30c0105769f8471417f6)): ?>
<?php $component = $__componentOriginal53747ceb358d30c0105769f8471417f6; ?>
<?php unset($__componentOriginal53747ceb358d30c0105769f8471417f6); ?>
<?php endif; ?>
        </div>
    </div>
</div>
<?php /**PATH C:\Users\corbital\Downloads\codecanyon-orVCxsZW-whatsmark-whatsapp-marketing-and-automation-platform-with-bots-chats-bulk-sender-ai\main-files\upload\upload\resources\views\livewire\admin\settings\system\system-update-settings.blade.php ENDPATH**/ ?>