@props(['title' => 'تأكيد كلمة المرور', 'content' => 'لحماية حسابك .. رجاء ادخال كلمة المرور للأستمرار', 'button' => 'تأكيد'])
@php
$confirmableId = md5($attributes->wire('then'));
@endphp
wire('then') }} x-data x-ref="span"
x-on:click="$wire.startConfirmingPassword('{{ $confirmableId }}')"
x-on:password-confirmed.window="setTimeout(() => $event.detail.id === '{{ $confirmableId }}' && $refs.span.dispatchEvent(new CustomEvent('then', { bubbles: false })), 250);">
{{ $slot }}
@once
{{ $title }}
{{ $content }}
الغاء
{{ $button }}
@endonce