<button type="button" 
    class="<?php echo \Illuminate\Support\Arr::toCssClasses([
        'rounded-pill btn btn-toggle border border-light bg-secondary',
        'active' => $preferences->mode == 'dark'
    ]); ?>"
    x-data="mode"
    wire:ignore.self
    x-init="dark = <?php echo \Illuminate\Support\Js::from($dark)->toHtml() ?>"
    @click="change"
    data-toggle="button"
    aria-pressed="false" autocomplete="off">
    <div class="handle"></div>
</button><?php /**PATH /home/qfstrump/digixchains.com/resources/views/livewire/account/change-mode.blade.php ENDPATH**/ ?>