@php /** * The last page of a sign-up pop-up (Continue with Google / Connect Google Business Profile): tells the * page that opened it what happened, then closes itself. Rendered with no layout. The message goes to * the page's own origin only; a window nobody opened just shows the line and the link. * * @var string $kind identity | venue * @var bool $ok * @var string $error What went wrong, in the reader's words ('' when ok). */ $kind = (string) ($kind ?? ''); $ok = !empty($ok); $error = (string) ($error ?? ''); $parts = parse_url(route('home')); $origin = (string) ($parts['scheme'] ?? 'http') . '://' . (string) ($parts['host'] ?? 'localhost') . (isset($parts['port']) ? ':' . (int) $parts['port'] : ''); $msg = ['type' => 'qm-vs-popup', 'kind' => $kind, 'ok' => $ok, 'error' => $error]; @endphp {{ t_raw('auth.vendor_signup_title') }}

{!! $ok ? e(t_raw('auth.vs_popup_done')) : e($error !== '' ? $error : t_raw('auth.vs_popup_fail')) !!}
{{ t_raw('auth.vs_popup_continue') }}