{{ __('ai.title') }}

{{ __('ai.intro') }}

{{ __('ai.disclaimer') }} @unless ($allowed) {{ __('ai.locked_title') }}

{{ __('ai.locked_text') }}

{{ __('plan.limits.see_offers') }}
@else @if ($error){{ $error }} @if ($errorUpgrade){{ __('plan.limits.see_offers') }}@endif@endif @if ($notice){{ $notice }}@endif {{-- Consent --}}

{{ __('ai.consent_title') }}

@if ($consent)

{{ __('ai.consent_given') }}

@else

{{ __('ai.consent_text') }}

{{ __('ai.consent_accept') }} @endif
{{-- Counters --}}

{{ __('ai.counter_analysis') }} : {{ __('ai.counter_value', ['used' => $analysisUsed, 'limit' => $analysisLimit ?? __('ai.unlimited')]) }}

{{ __('ai.counter_assistant') }} : {{ __('ai.counter_value', ['used' => $assistantUsed, 'limit' => $assistantLimit]) }}

@if ($consent) {{-- Analysis --}} @if ($canAnalyse)

{{ __('ai.analysis_title') }}

{{ __('ai.analysis_text') }}

{{ __('ai.analyse') }}{{ __('ai.analysing') }} @if ($latest) @php $out = $latest->output; @endphp

{{ __('ai.report_of', ['date' => App\Support\Dates::format($latest->created_at)]) }}

{{ $out['overall'] }}

{{ __('ai.strengths') }}

    @foreach ($out['strengths'] as $s)
  • {{ $s }}
  • @endforeach

{{ __('ai.improvements') }}

    @foreach ($out['improvements'] as $s)
  1. {{ $s }}
  2. @endforeach
@if (! empty($out['questions']))

{{ __('ai.questions') }}

    @foreach ($out['questions'] as $s)
  • {{ $s }}
  • @endforeach
@endif @if (! empty($out['findings']))

{{ __('ai.findings') }}

    @foreach ($out['findings'] as $s)
  • {{ $s }}
  • @endforeach
@endif
@foreach ($history as $old)

{{ __('ai.report_of', ['date' => App\Support\Dates::format($old->created_at)]) }}

{{ $old->output['overall'] }}

@endforeach @endif
@endif {{-- Assistant --}} @if ($canAssist)

{{ __('ai.assistant_title') }}

{{ __('ai.assistant_text') }}

{{ __('ai.reformulate') }} {{ __('ai.suggest_risks') }} @if (($proposal['kind'] ?? null) === 'smart')

{{ __('ai.proposal') }}

{{ $proposal['title'] }}

@if (! empty($proposal['indicator']))

{{ __('ai.indicator') }} : {{ $proposal['indicator'] }}

@endif @if (! empty($proposal['why']))

{{ $proposal['why'] }}

@endif
{{ __('ai.accept') }}{{ __('ai.reject') }}
@elseif (($proposal['kind'] ?? null) === 'risks') @foreach ($proposal['risks'] as $i => $r)

{{ __('ai.proposal') }}

{{ $r['title'] }}

@if (! empty($r['cause']))

{{ $r['cause'] }}

@endif @if (! empty($r['fallback_plan']))

{{ __('ai.plan_b') }} : {{ $r['fallback_plan'] }}

@endif {{ __('ai.accept_risk') }}
@endforeach @endif
@endif @endif @endunless