@php
$cache_data_time = system_setting('cache_data_time', 0);
if ($cache_data_time) {
add_js_data('____crazy_cache', true);
} else {
add_js_data('____crazy_cache', false);
}
@endphp
@if ($data = get_js_data())
@endif
@yield('jsinit')
@if ($data = get_js_src())
@foreach ($data as $src)
@endforeach
@endif
@if (get_web_type() == 'ecommerce')
@endif
@yield('js-loaded')
@yield('js')
@php
$messKeys = ['warning', 'success', 'error', 'info', 'alert'];
@endphp