@if($start)

{{$lang == "Arabic" || $lang == "arabic" ? $settings->header_one_ar :$settings->header_one}}

{{$lang == "Arabic" || $lang == "arabic" ? $settings->description_one_ar : $settings->description_one}}

{{$lang == "Arabic" || $lang == "arabic" ? $settings->header_two_ar : $settings->header_two}}

{{$lang == "Arabic" || $lang == "arabic" ? $settings->description_two_ar : $settings->description_two}}

@if($email_enter) @if($settings->start_by_email)
@error('email') {{$message}} @enderror @if($settings->start_by_phone)
Use phone number
@endif
@elseif($settings->start_by_phone)
@error('phone') {{$message}} @enderror
@endif @else @if($settings->start_by_phone)
@error('phone') {{$message}} @enderror
Using email address
@endif @endif
@else
{{$lang == "Arabic" || $lang == "arabic" ? $settings->header_three_ar : $settings->header_three}}
@if($settings->description_three_ar != null)

{{$lang == "Arabic" || $lang == "arabic" ? $settings->description_three_ar : $settings->description_three}}

@endif
{{-- --}}
@if($old_data) @if($old_data_shown)
@else @foreach($old_data1 as $botMessagesOld ) @forelse($botMessagesOld->messages ?? [] as $message) @if($loop->index == 0) @else @if($message->type == 'Inbound')
@if($message->attachment != null) @if($message->mime_type == 'audio/ogg; codecs=opus') @elseif($message->mime_type == 'video/mp4')

{{ $message->text }}

@elseif($message->mime_type == 'application/pdf') attachment) }}" download> attachment) }}" type="application/pdf" width="100%" height="100%">

Alternative text - include a link attachment) }}">to the PDF!

@elseif($message->mime_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ) attachment) }}" download> @elseif( $message->mime_type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') attachment) }}" download> @else attachment) }}" target="_blank" > attachment) }}" alt="{{$message->attachment}}" style="padding: 0 37px;width: 280px">

{{ $message->message }}

@endif @else {{ $message->message }} @endif

{{$message->created_at->format('D h:i:A')}}

@else
mdo
{{--
--}}
@if($message->attachment != null) @if($message->mime_type == 'audio/ogg; codecs=opus') @elseif($message->mime_type == 'video/mp4')

{{ $message->text }}

@elseif($message->mime_type == 'application/pdf' ) attachment) }}" download> attachment) }}" type="application/pdf" width="100%" height="100%">

Alternative text - include a link attachment) }}">to the PDF!

@elseif($message->mime_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ) attachment) }}" download> @elseif( $message->mime_type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') attachment) }}" download> @else attachment) }}" target="_blank" > attachment) }}" alt="{{$message->attachment}}" style="padding: 0 17px;width: 280px">

{{ $message->message }}

@endif @else {!! $message->message !!} @endif
{{$message->created_at->format('D h:i:A')}}
@endif @endif @empty @endforelse @endforeach @endif @endif @forelse($botMessages->messages ?? [] as $message) @if($loop->index == 0) @else @if($message->type == 'Inbound')
@if($message->attachment != null) @if($message->mime_type == 'audio/ogg; codecs=opus') @elseif($message->mime_type == 'video/mp4')

{{ $message->text }}

@elseif($message->mime_type == 'application/pdf') attachment) }}" download> attachment) }}" type="application/pdf" width="100%" height="100%">

Alternative text - include a link attachment) }}">to the PDF!

@elseif($message->mime_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ) attachment) }}" download> @elseif( $message->mime_type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') attachment) }}" download> @else attachment) }}" target="_blank" > attachment) }}" alt="{{$message->attachment}}" style="padding: 0 37px;width: 280px">

{{ $message->message }}

@endif @else {{ $message->message }} @endif

{{$message->created_at->format('D h:i:A')}}

@else
mdo
{{--
--}}
@if($message->attachment != null) @if($message->mime_type == 'audio/ogg; codecs=opus') @elseif($message->mime_type == 'video/mp4')

{{ $message->text }}

@elseif($message->mime_type == 'application/pdf' ) attachment) }}" download> attachment) }}" type="application/pdf" width="100%" height="100%">

Alternative text - include a link attachment) }}">to the PDF!

@elseif($message->mime_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ) attachment) }}" download> @elseif( $message->mime_type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') attachment) }}" download> @else attachment) }}" target="_blank" > attachment) }}" alt="{{$message->attachment}}" style="padding: 0 17px;width: 280px">

{{ $message->message }}

@endif @else {!! $message->message !!} @endif
{{$message->created_at->format('D h:i:A')}}
@endif @endif @empty @endforelse @forelse($messages->messages ?? [] as $message) @if($message->type == 'Inbound')
@if($message->attachment != null) @if($message->mime_type == 'audio/ogg; codecs=opus') @elseif($message->mime_type == 'video/mp4')

{{ $message->text }}

@elseif($message->mime_type == 'application/pdf') attachment) }}" download> attachment) }}" type="application/pdf" width="100%" height="100%">

Alternative text - include a link attachment) }}">to the PDF!

@elseif($message->mime_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ) attachment) }}" download> @elseif( $message->mime_type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') attachment) }}" download> @else attachment) }}" target="_blank" > attachment) }}" alt="{{$message->attachment}}" style="padding: 0 37px;width: 280px">

{{ $message->message }}

@endif @else {{ $message->message }} @endif

{{$message->created_at->format('D h:i:A')}}

@else
mdo
@if($message->attachment != null) @if($message->mime_type == 'audio/ogg; codecs=opus') @elseif($message->mime_type == 'video/mp4')

{{ $message->text }}

@elseif($message->mime_type == 'application/pdf' ) attachment) }}" download> attachment) }}" type="application/pdf" width="100%" height="100%">

Alternative text - include a link attachment) }}">to the PDF!

@elseif($message->mime_type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ) attachment) }}" download> @elseif( $message->mime_type == 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') attachment) }}" download> @else attachment) }}" target="_blank" > attachment) }}" alt="{{$message->attachment}}" style="padding: 0 17px;width: 280px">

{{ $message->message }}

@endif @else {{ $message->message }} @endif
{{$message->created_at->format('D h:i:A')}}
@endif @empty @endforelse

@if($counter) @if(!$counterDownRe)
The session will be closed after : 00:00:59
@endif @endif @if(!$counterDownRe)
@if ($attachment)
@if( in_array($attachment->extension(), ['png','jpg','jpeg','gif']) ) @endif @if( in_array($attachment->extension(), ['wav', 'mp3']) ) @endif @if( $attachment->extension() === 'pdf') @endif @if( $attachment->extension() == 'docx') @endif @if( $attachment->extension() == 'xlsx') @endif @if( $attachment->extension() === 'mp4') @endif
@if( in_array($attachment->extension(), ['png','jpg','jpeg','gif','pdf','wav','mp3','docx','xlsx','mp4']) )
@endif @endif @if($showEmoji) @endif
@error('attachment') {{ $message }} @enderror {{-- @error('body') {{ $message }} @enderror --}} {{-- --}}
@else
Selected Rating: {{ $rating }}
@endif
@endif