<script>
	window.Laravel = {!! json_encode([
		'csrfToken' => csrf_token(),
		'baseUrl' => url('/'),
		'user' => auth()->user(),
		'routes' => collect(\Route::getRoutes())->mapWithKeys(function ($route) { return [$route->getName() => $route->uri()]; })
	]) !!};
</script>
@stack('plugins_js')
<script src="{{ mix('flatlab4/all.js') }}"></script>
<script>
	@include('flatlab::helpers.toastr')
</script>
@stack('extra_scripts')
