<?php Statamic::provideToScript([
'version' => Statamic::version(),
'laravelVersion' => app()->version(),
'csrfToken' => csrf_token(),
'cpUrl' => cp_route('index'),
'cpRoot' => str_start(config('statamic.cp.route'), '/'),
'urlPath' => Str::after(request()->getRequestUri(), config('statamic.cp.route').'/'),