@php
$app_local = get_default_language_code();
$default = App\Constants\LanguageConst::NOT_REMOVABLE;
$slug = Illuminate\Support\Str::slug(App\Constants\SiteSectionConst::STATISTIC_SECTION);
$statistic = App\Models\Admin\SiteSections::getData($slug)->first();
@endphp
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Start Statistics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<section class="statistics-section section--bg ptb-120">
<div class="container">
<div class="row justify-content-center align-items-center mb-30-none">
<div class="col-xl-5 col-lg-6 mb-30">
<div class="section-header">
<span class="title-badge"></span>
<h5 class="section-sub-title">{{ $statistic->value->language->$app_local->title ?? $statistic->value->language->$default->title ?? '' }}</h5>
@php
$heading = explode('|', $statistic->value->language->$app_local->heading ?? $statistic->value->language->$default->heading ?? '');
@endphp
<h2 class="section-title">{{ isset($heading[0]) ? $heading[0] : '' }}
<span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 150" preserveAspectRatio="none"><path d="M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"></path></svg>
{{ isset($heading[1]) ? $heading[1] : '' }}
</span>
</h2>
</div>
<p>{{ $statistic->value->language->$app_local->sub_heading ?? $statistic->value->language->$default->sub_heading ?? '' }}</p>
<div class="statistics-wrapper">
<div class="row mb-30-none">
@foreach ($statistic->value->items ?? [] as $item)
<div class="col-xl-4 col-lg-4 col-md-6 col-sm-6 mb-30">
<div class="statistics-item">
<div class="statistics-content">
<div class="odo-area">
@php
$counter_value = numeric_unit_converter($item->counter_value ?? '');
@endphp
<h3 class="odo-title odometer" data-odometer-final="{{ $counter_value->number ?? '' }}">0</h3>
<h3 class="title">{{ $counter_value->unit ?? '' }}</h3>
</div>
<p>{{ $item->language->$app_local->title ?? $item->language->$default->title ?? '' }}</p>
</div>
</div>
</div>
@endforeach
</div>
</div>
</div>
<div class="col-xl-7 col-lg-6 mb-30">
<div class="statistics-thumb-wrapper">
<div class="statistics-thumb">
<img src="{{ get_image($statistic->value->image ?? '','site-section') }}" alt="element">
</div>
</div>
</div>
</div>
</div>
</section>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
End Statistics
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
To access the Kueue Pay Developer API, you’ll need an API key. You can obtain your API key by logging in to your Kueue Pay merchant account and navigating to the API section. Collect Client ID , Secret ID & Merchant ID Carefully. Keep your API key confidential and do not share it publicly.