@extends("client.layouts.app") @section("title", __("client.domain_search.title")) @section("content")

{{ __('client.domain_search.heading') }}

{{ __('client.domain_search.subtitle') }}

{{ __('client.domain_search.find_perfect') }}

{{ __('client.domain_search.search_desc') }}

@if($results) @php $primary = $results['primary']; @endphp @if($primary)
@if($primary['available'] && ($primary['checked'] ?? true)) @else @endif
{{ $primary['domain'] }}
@php $primaryChecked = $primary['checked'] ?? true; @endphp
@if(! $primaryChecked) {{ __('client.domain_search.could_not_check') }} @else {{ $primary['available'] ? __('client.domain_search.available') : __('client.domain_search.already_registered') }} @endif
@if($primary['available'] && ($primary['checked'] ?? true))
{{ domain_money_fmt($primary['price']) }}/{{ __('client.domain_search.per_year') }}
{{ __('client.domain_search.renews_at') }} {{ domain_money_fmt($primary['renew_price']) }}/{{ __('client.domain_search.per_year') }}
@if(($primary['grace_period'] ?? 0) > 0)
{{ __('client.domain_search.grace') }}: {{ $primary['grace_period'] }} {{ __('client.domain_search.days') }}
@endif
@csrf
@else {{ __('client.domains.transfer_domain') }} @endif
@endif @if(!empty($results['alternatives']))

{{ __('client.domain_search.other_options') }}

@foreach($results['alternatives'] as $alt) @if($alt)
@if($alt['available'] && ($alt['checked'] ?? true)) @else @endif
{{ $alt['domain'] }}
{{ ! ($alt['checked'] ?? true) ? __('client.domain_search.could_not_check_short') : ($alt['available'] ? __('client.domain_search.available_short') : __('client.domain_search.taken')) }}
@if($alt['available'] && ($alt['checked'] ?? true))
{{ domain_money_fmt($alt['price']) }}/{{ __('client.domain_search.per_year') }}
@csrf
@else {{ ($alt['checked'] ?? true) ? __('client.domain_search.taken') : __('client.domain_search.could_not_check_short') }} @endif
@endif @endforeach
@endif @endif

{{ __('client.nav.domain_pricing') }}

@foreach($tlds as $tld) @endforeach
{{ __('client.domain_search.extension') }} {{ __('common.actions.register') }} {{ __('client.domain_search.transfer') }} {{ __('client.domain_search.renew') }} {{ __('client.domain_search.grace') }} {{ __('client.security.action') }}
{{ $tld->extension }} {{ domain_money_fmt($tld->register_price) }} {{ domain_money_fmt($tld->transfer_price) }} {{ domain_money_fmt($tld->renew_price) }} {{ $tld->grace_period > 0 ? $tld->grace_period . ' ' . __('client.domain_search.days') : '-' }} {{ __('common.actions.search') }}
@include("client.partials.renewal-notes", ["open" => false]) @endsection