<div x-data>

    
    <div class="mb-6">
        <h1 class="text-2xl font-bold text-slate-800">Pengaturan</h1>
        <p class="text-sm text-slate-500 mt-0.5">Kelola konfigurasi dasar sistem Titipin Ba Be.</p>
    </div>

    
    <div class="flex flex-wrap gap-2 mb-6 border-b border-slate-200 pb-px">
        <button type="button" wire:click="setTab('store')"
            class="px-4 py-2.5 text-sm font-medium border-b-2 -mb-px transition-colors
                <?php echo e($activeTab === 'store' ? 'border-orange-500 text-orange-600' : 'border-transparent text-slate-500 hover:text-slate-700'); ?>">
            Identitas Toko
        </button>
        <button type="button" wire:click="setTab('operational')"
            class="px-4 py-2.5 text-sm font-medium border-b-2 -mb-px transition-colors
                <?php echo e($activeTab === 'operational' ? 'border-orange-500 text-orange-600' : 'border-transparent text-slate-500 hover:text-slate-700'); ?>">
            Operasional
        </button>
        <button type="button" wire:click="setTab('order')"
            class="px-4 py-2.5 text-sm font-medium border-b-2 -mb-px transition-colors
                <?php echo e($activeTab === 'order' ? 'border-orange-500 text-orange-600' : 'border-transparent text-slate-500 hover:text-slate-700'); ?>">
            Pesanan
        </button>
        <button type="button" wire:click="setTab('notification')"
            class="px-4 py-2.5 text-sm font-medium border-b-2 -mb-px transition-colors
                <?php echo e($activeTab === 'notification' ? 'border-orange-500 text-orange-600' : 'border-transparent text-slate-500 hover:text-slate-700'); ?>">
            Notifikasi
        </button>
    </div>

    <div class="max-w-2xl">

        
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($activeTab === 'store'): ?>
            <form wire:submit.prevent="saveStoreIdentity" class="bg-white rounded-xl border border-slate-200 p-6 space-y-5">
                <div>
                    <h2 class="font-semibold text-slate-800">Identitas Toko</h2>
                    <p class="text-sm text-slate-500 mt-0.5">Informasi dasar yang ditampilkan ke customer.</p>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Nama Toko <span class="text-red-500">*</span></label>
                    <input wire:model="store_name" type="text" placeholder="Contoh: Titipin Ba Be"
                        class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['store_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                
                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Logo Toko</label>

                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($existing_logo && ! $store_logo): ?>
                        <div class="relative inline-block mb-2 group">
                            <img src="<?php echo e(Storage::url($existing_logo)); ?>"
                                class="w-24 h-24 object-cover rounded-xl border border-slate-200" />
                            <button type="button" wire:click="removeLogo" wire:confirm="Hapus logo ini?"
                                class="absolute -top-2 -right-2 w-6 h-6 bg-red-500 text-white rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity hover:bg-red-600">
                                <svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
                                </svg>
                            </button>
                        </div>
                    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($store_logo): ?>
                        <div class="relative inline-block mb-2">
                            <img src="<?php echo e($store_logo->temporaryUrl()); ?>"
                                class="w-24 h-24 object-cover rounded-xl border border-slate-200" />
                            <button type="button" wire:click="$set('store_logo', null)"
                                class="absolute -top-2 -right-2 w-6 h-6 bg-red-500 text-white rounded-full flex items-center justify-center hover:bg-red-600">
                                <svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/>
                                </svg>
                            </button>
                        </div>
                    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                    <div>
                        <label class="inline-flex items-center gap-2 px-3 py-2 text-sm text-slate-600 bg-slate-50 border border-slate-300 rounded-lg cursor-pointer hover:bg-slate-100 transition-colors">
                            <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 7.5m0 0L7.5 12m4.5-4.5v9"/>
                            </svg>
                            <?php echo e($existing_logo || $store_logo ? 'Ganti Logo' : 'Unggah Logo'); ?>

                            <input type="file" wire:model="store_logo" accept="image/jpeg,image/png,image/webp" class="hidden" />
                        </label>
                        <p class="mt-1 text-xs text-slate-400">JPG, PNG, WEBP. Maks 2MB.</p>
                    </div>

                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['store_logo'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

                    <div wire:loading wire:target="store_logo" class="mt-2 flex items-center gap-2 text-xs text-slate-500">
                        <svg class="animate-spin w-3.5 h-3.5 text-orange-500" fill="none" viewBox="0 0 24 24">
                            <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"/>
                            <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"/>
                        </svg>
                        Mengunggah...
                    </div>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Nomor WhatsApp Admin</label>
                    <input wire:model="wa_admin" type="text" placeholder="08xxxxxxxxxx"
                        class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['wa_admin'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Email</label>
                    <input wire:model="store_email" type="email" placeholder="toko@titipinbabe.com"
                        class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['store_email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Alamat</label>
                    <textarea wire:model="store_address" rows="3" placeholder="Alamat lengkap toko..."
                        class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500 resize-none"></textarea>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['store_address'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div class="flex justify-end pt-2 border-t border-slate-100">
                    <button type="submit"
                        class="px-4 py-2 text-sm font-medium text-white bg-orange-500 rounded-lg hover:bg-orange-600"
                        wire:loading.attr="disabled" wire:target="saveStoreIdentity">
                        <span wire:loading.remove wire:target="saveStoreIdentity">Simpan Identitas Toko</span>
                        <span wire:loading wire:target="saveStoreIdentity">Menyimpan...</span>
                    </button>
                </div>
            </form>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

        
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($activeTab === 'operational'): ?>
            <form wire:submit.prevent="saveOperational" class="bg-white rounded-xl border border-slate-200 p-6 space-y-5">
                <div>
                    <h2 class="font-semibold text-slate-800">Operasional</h2>
                    <p class="text-sm text-slate-500 mt-0.5">Pengaturan jam operasional dan transaksi.</p>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Jam Operasional</label>
                    <input wire:model="operating_hours" type="text" placeholder="Contoh: 07.00 – 21.00 WIB"
                        class="w-full px-3 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                    <p class="mt-1 text-xs text-slate-400">Ditulis bebas, contoh: "07.00 – 21.00 WIB" atau "Senin–Sabtu, 08.00–20.00".</p>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['operating_hours'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Minimal Belanja <span class="text-red-500">*</span></label>
                    <div class="relative">
                        <span class="absolute left-3 top-1/2 -translate-y-1/2 text-sm text-slate-400 font-medium">Rp</span>
                        <input wire:model="min_order" type="number" min="0" step="500" placeholder="0"
                            class="w-full pl-9 pr-3 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                    </div>
                    <p class="mt-1 text-xs text-slate-400">Batas minimal total belanja agar customer bisa checkout.</p>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['min_order'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Ongkir Default <span class="text-red-500">*</span></label>
                    <div class="relative">
                        <span class="absolute left-3 top-1/2 -translate-y-1/2 text-sm text-slate-400 font-medium">Rp</span>
                        <input wire:model="default_delivery_cost" type="number" min="0" step="500" placeholder="0"
                            class="w-full pl-9 pr-3 py-2 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                    </div>
                    <p class="mt-1 text-xs text-slate-400">Dipakai jika area pengiriman customer tidak terdaftar di Area Ongkir.</p>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['default_delivery_cost'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div class="flex justify-end pt-2 border-t border-slate-100">
                    <button type="submit"
                        class="px-4 py-2 text-sm font-medium text-white bg-orange-500 rounded-lg hover:bg-orange-600"
                        wire:loading.attr="disabled" wire:target="saveOperational">
                        <span wire:loading.remove wire:target="saveOperational">Simpan Operasional</span>
                        <span wire:loading wire:target="saveOperational">Menyimpan...</span>
                    </button>
                </div>
            </form>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

        
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($activeTab === 'order'): ?>
            <form wire:submit.prevent="saveOrder" class="bg-white rounded-xl border border-slate-200 p-6 space-y-5">
                <div>
                    <h2 class="font-semibold text-slate-800">Pesanan</h2>
                    <p class="text-sm text-slate-500 mt-0.5">Aturan otomatis terkait alur pesanan.</p>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Auto Cancel Pesanan Pending <span class="text-red-500">*</span></label>
                    <div class="relative">
                        <input wire:model="auto_cancel_pending_minutes" type="number" min="0" step="5" placeholder="60"
                            class="w-full px-3 py-2 pr-14 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                        <span class="absolute right-3 top-1/2 -translate-y-1/2 text-sm text-slate-400 pointer-events-none">menit</span>
                    </div>
                    <p class="mt-1 text-xs text-slate-400">Pesanan berstatus "Menunggu Pembayaran" otomatis dibatalkan setelah durasi ini. Isi 0 untuk menonaktifkan.</p>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['auto_cancel_pending_minutes'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div>
                    <label class="block text-sm font-medium text-slate-700 mb-1">Durasi Checkout <span class="text-red-500">*</span></label>
                    <div class="relative">
                        <input wire:model="checkout_duration_minutes" type="number" min="1" step="1" placeholder="15"
                            class="w-full px-3 py-2 pr-14 border border-slate-300 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-orange-500" />
                        <span class="absolute right-3 top-1/2 -translate-y-1/2 text-sm text-slate-400 pointer-events-none">menit</span>
                    </div>
                    <p class="mt-1 text-xs text-slate-400">Batas waktu customer menyelesaikan proses checkout sebelum keranjang kedaluwarsa.</p>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['checkout_duration_minutes'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <p class="mt-1 text-xs text-red-600"><?php echo e($message); ?></p> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>

                <div class="flex justify-end pt-2 border-t border-slate-100">
                    <button type="submit"
                        class="px-4 py-2 text-sm font-medium text-white bg-orange-500 rounded-lg hover:bg-orange-600"
                        wire:loading.attr="disabled" wire:target="saveOrder">
                        <span wire:loading.remove wire:target="saveOrder">Simpan Pengaturan Pesanan</span>
                        <span wire:loading wire:target="saveOrder">Menyimpan...</span>
                    </button>
                </div>
            </form>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

        
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($activeTab === 'notification'): ?>
            <form wire:submit.prevent="saveNotification" class="bg-white rounded-xl border border-slate-200 p-6 space-y-5">
                <div>
                    <h2 class="font-semibold text-slate-800">Notifikasi</h2>
                    <p class="text-sm text-slate-500 mt-0.5">Kelola pengiriman notifikasi otomatis.</p>
                </div>

                <div class="flex items-center justify-between py-2">
                    <div>
                        <p class="text-sm font-medium text-slate-700">Notifikasi WhatsApp</p>
                        <p class="text-xs text-slate-400">Kirim notifikasi otomatis ke customer via WhatsApp (status pesanan, dll).</p>
                    </div>
                    <button type="button" wire:click="$toggle('wa_notification_enabled')"
                        class="relative inline-flex h-6 w-11 items-center rounded-full transition-colors shrink-0 ml-4
                            <?php echo e($wa_notification_enabled ? 'bg-orange-500' : 'bg-slate-200'); ?>">
                        <span class="inline-block h-4 w-4 transform rounded-full bg-white transition-transform
                            <?php echo e($wa_notification_enabled ? 'translate-x-6' : 'translate-x-1'); ?>"></span>
                    </button>
                </div>

                <div class="flex justify-end pt-2 border-t border-slate-100">
                    <button type="submit"
                        class="px-4 py-2 text-sm font-medium text-white bg-orange-500 rounded-lg hover:bg-orange-600"
                        wire:loading.attr="disabled" wire:target="saveNotification">
                        <span wire:loading.remove wire:target="saveNotification">Simpan Notifikasi</span>
                        <span wire:loading wire:target="saveNotification">Menyimpan...</span>
                    </button>
                </div>
            </form>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

    </div>

    <?php if (isset($component)) { $__componentOriginal30b09ba64d8f9e6b0023e860875d7bb6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal30b09ba64d8f9e6b0023e860875d7bb6 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.admin.toast','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin.toast'); ?>
<?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 $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal30b09ba64d8f9e6b0023e860875d7bb6)): ?>
<?php $attributes = $__attributesOriginal30b09ba64d8f9e6b0023e860875d7bb6; ?>
<?php unset($__attributesOriginal30b09ba64d8f9e6b0023e860875d7bb6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal30b09ba64d8f9e6b0023e860875d7bb6)): ?>
<?php $component = $__componentOriginal30b09ba64d8f9e6b0023e860875d7bb6; ?>
<?php unset($__componentOriginal30b09ba64d8f9e6b0023e860875d7bb6); ?>
<?php endif; ?>
</div>
<?php /**PATH C:\laragon\www\titipin-babe\resources\views/livewire/admin/pengaturan/index.blade.php ENDPATH**/ ?>