diff --git a/app/Helpers/CacheControl.php b/app/Helpers/CacheControl.php
new file mode 100644
index 0000000..67cd7e1
--- /dev/null
+++ b/app/Helpers/CacheControl.php
@@ -0,0 +1,42 @@
+page) ? (int) [$request->page] : 1;
+ $queryParams = $request->query();
+ ksort($queryParams);
+ $queryString = http_build_query($queryParams);
+ $roleCacheKey = CacheKey::getRoleCacheKey();
+ $key = $roleCacheKey . md5(serialize([$queryString]));
- if (! empty($request->search)) {
- $q = $request->search;
- $roles = Role::with(['permissions' => function ($query) {
- $query->select('id', 'name');
- }])->where('name', 'LIKE', '%'.$q.'%')->orderBy('id', 'desc')->paginate(10);
-
- return Inertia::render('Dashboard/Role/Index', ['roles' => $roles]);
- }
-
- $key = CacheKey::getRoleCacheKey();
- $cacheKey = $key.md5(serialize([$currentPage]));
-
- $roles = CacheControl::init($key)->remember($cacheKey, 10, function () {
+ $roles = Cache::remember($key, now()->addDay(), function () use ($request) {
return Role::with(['permissions' => function ($query) {
$query->select('id', 'name');
- }])->orderBy('id', 'desc')->paginate(10);
+ }])
+ ->when($request->has('search'), function ($query) use ($request) {
+ $query->where('name', 'LIKE', '%' . $request->input('search') . '%');
+ })
+ ->orderBy($request->input('orderBy', 'id'), $request->input('order', 'desc'))
+ ->paginate(10)
+ ->withQueryString();
});
- Session::put('last_visited_url', $request->fullUrl());
+ CacheControl::updateCacheKeys($roleCacheKey, $key);
return Inertia::render('Dashboard/Role/Index')->with(['roles' => RoleResource::collection($roles)]);
}
@@ -64,7 +63,6 @@ public function index(Request $request)
/**
* Show the form for creating a new resource.
*
- * @return \Illuminate\Http\Response
*/
public function create()
{
@@ -89,7 +87,6 @@ public function create()
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
- * @return \Illuminate\Http\Response
*/
public function store(RoleStoreRequest $request)
{
@@ -120,7 +117,6 @@ public function show(Role $role)
* Show the form for editing the specified resource.
*
* @param int $id
- * @return \Illuminate\Http\Response
*/
public function edit(Role $role)
{
@@ -152,7 +148,6 @@ public function edit(Role $role)
*
* @param \Illuminate\Http\Request $request
* @param int $id
- * @return \Illuminate\Http\Response
*/
public function update(RoleUpdateRequest $request, Role $role)
{
@@ -177,7 +172,6 @@ public function update(RoleUpdateRequest $request, Role $role)
* Remove the specified resource from storage.
*
* @param int $id
- * @return \Illuminate\Http\Response
*/
public function destroy(Role $role)
{
diff --git a/app/Http/Controllers/User/UserController.php b/app/Http/Controllers/User/UserController.php
index 819f05e..41ea39c 100644
--- a/app/Http/Controllers/User/UserController.php
+++ b/app/Http/Controllers/User/UserController.php
@@ -2,9 +2,9 @@
namespace App\Http\Controllers\User;
-use AnisAronno\LaravelCacheMaster\CacheControl;
use AnisAronno\MediaHelper\Facades\Media;
use App\Enums\UserStatus;
+use App\Helpers\CacheControl;
use App\Helpers\CacheKey;
use App\Http\Controllers\InertiaApplicationController;
use App\Http\Requests\User\UserStoreRequest;
@@ -13,6 +13,7 @@
use App\Models\Role;
use App\Models\User;
use Illuminate\Http\Request;
+use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Session;
use Inertia\Inertia;
@@ -33,34 +34,44 @@ public function __construct()
/**
* Display a listing of the resource.
*
- */
+ * @param Request $request
+ */
public function index(Request $request)
{
- $currentPage = isset($request->page) ? (int) [$request->page] : 1;
-
-
- if (! empty($request->search)) {
- $q = $request->search;
- $users = User::with(['roles'])->where('name', 'LIKE', '%'.$q.'%')->orWhere('email', 'LIKE', '%'.$q.'%')->orderBy('id', 'desc')->paginate(10);
-
- return Inertia::render('Dashboard/User/Index', ['users' => $users]);
- }
- $key = CacheKey::getUserCacheKey();
- $cacheKey = $key.md5(serialize([$currentPage]));
-
- $users = CacheControl::init($key)->remember($cacheKey, 10, function () {
- return User::with(['roles'])->orderBy('id', 'desc')->paginate(10);
+ $queryParams = $request->query();
+ ksort($queryParams);
+ $queryString = http_build_query($queryParams);
+ $userCacheKey = CacheKey::getUserCacheKey();
+ $key = $userCacheKey . md5(serialize([$queryString]));
+
+ $users = Cache::remember($key, now()->addDay(), function () use ($request) {
+ return User::with(['roles'])
+ ->when($request->has('search'), function ($query) use ($request) {
+ $query->where(function ($subQuery) use ($request) {
+ $subQuery->where('name', 'LIKE', '%' . $request->input('search') . '%')
+ ->orWhere('email', 'LIKE', '%' . $request->input('search') . '%');
+ });
+ })
+ ->when($request->has('startDate') && $request->has('endDate'), function ($query) use ($request) {
+ $query->whereBetween('created_at', [
+ new \DateTime($request->input('startDate')),
+ new \DateTime($request->input('endDate'))
+ ]);
+ })
+ ->orderBy($request->input('orderBy', 'id'), $request->input('order', 'desc'))
+ ->paginate(10)
+ ->withQueryString();
});
- Session::put('last_visited_url', $request->fullUrl());
+ CacheControl::updateCacheKeys($userCacheKey, $key);
return Inertia::render('Dashboard/User/Index')->with(['users' => UserResources::collection($users)]);
}
+
/**
* Show the form for creating a new resource.
*
- * @return \Illuminate\Http\Response
*/
public function create()
{
@@ -74,7 +85,6 @@ public function create()
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
- * @return \Illuminate\Http\Response
*/
public function store(UserStoreRequest $request)
{
@@ -110,7 +120,6 @@ public function show(User $user)
* Show the form for editing the specified resource.
*
* @param int $id
- * @return \Illuminate\Http\Response
*/
public function edit(User $user)
{
@@ -132,7 +141,6 @@ public function edit(User $user)
*
* @param \Illuminate\Http\Request $request
* @param int $id
- * @return \Illuminate\Http\Response
*/
public function update(UserUpdateRequest $request, User $user)
{
@@ -164,7 +172,6 @@ public function update(UserUpdateRequest $request, User $user)
* Remove the specified resource from storage.
*
* @param int $id
- * @return \Illuminate\Http\Response
*/
public function destroy(User $user)
{
@@ -185,7 +192,6 @@ public function destroy(User $user)
* Summary of avatarUpdate
*
* @param User $user
- * @return \Illuminate\Http\RedirectResponse
*/
public function avatarUpdate(Request $request, User $user)
{
@@ -206,7 +212,6 @@ public function avatarUpdate(Request $request, User $user)
* Remove the specified user avatar.
*
* @param int $id
- * @return \Illuminate\Http\Response
*/
public function avatarDelete(User $user)
{
diff --git a/app/Observers/OptionObserver.php b/app/Observers/OptionObserver.php
index 79936f3..90f09f3 100644
--- a/app/Observers/OptionObserver.php
+++ b/app/Observers/OptionObserver.php
@@ -2,7 +2,7 @@
namespace App\Observers;
-use AnisAronno\LaravelCacheMaster\CacheControl;
+use App\Helpers\CacheControl;
use App\Helpers\CacheKey;
use App\Models\Option;
@@ -23,7 +23,7 @@ public function __construct()
*/
public function created(Option $option)
{
- CacheControl::forgetCache($this->optionsCacheKey);
+ CacheControl::clearCache($this->optionsCacheKey);
}
/**
@@ -34,7 +34,7 @@ public function created(Option $option)
*/
public function updated(Option $option)
{
- CacheControl::forgetCache($this->optionsCacheKey);
+ CacheControl::clearCache($this->optionsCacheKey);
}
/**
@@ -45,7 +45,7 @@ public function updated(Option $option)
*/
public function deleted(Option $option)
{
- CacheControl::forgetCache($this->optionsCacheKey);
+ CacheControl::clearCache($this->optionsCacheKey);
}
/**
@@ -56,7 +56,7 @@ public function deleted(Option $option)
*/
public function restored(Option $option)
{
- CacheControl::forgetCache($this->optionsCacheKey);
+ CacheControl::clearCache($this->optionsCacheKey);
}
/**
@@ -67,7 +67,7 @@ public function restored(Option $option)
*/
public function forceDeleted(Option $option)
{
- CacheControl::forgetCache($this->optionsCacheKey);
+ CacheControl::clearCache($this->optionsCacheKey);
}
}
diff --git a/app/Observers/RoleObserver.php b/app/Observers/RoleObserver.php
index 9a2dc8b..4204c31 100644
--- a/app/Observers/RoleObserver.php
+++ b/app/Observers/RoleObserver.php
@@ -2,7 +2,7 @@
namespace App\Observers;
-use AnisAronno\LaravelCacheMaster\CacheControl;
+use App\Helpers\CacheControl;
use App\Helpers\CacheKey;
use Spatie\Permission\Contracts\Role;
@@ -26,8 +26,8 @@ public function __construct()
*/
public function created(Role $role)
{
- CacheControl::forgetCache($this->roleCacheKey);
- CacheControl::forgetCache($this->userCacheKey);
+ CacheControl::clearCache($this->roleCacheKey);
+ CacheControl::clearCache($this->userCacheKey);
}
/**
@@ -38,8 +38,8 @@ public function created(Role $role)
*/
public function updated(Role $role)
{
- CacheControl::forgetCache($this->roleCacheKey);
- CacheControl::forgetCache($this->userCacheKey);
+ CacheControl::clearCache($this->roleCacheKey);
+ CacheControl::clearCache($this->userCacheKey);
}
/**
@@ -50,8 +50,8 @@ public function updated(Role $role)
*/
public function deleted(Role $role)
{
- CacheControl::forgetCache($this->roleCacheKey);
- CacheControl::forgetCache($this->userCacheKey);
+ CacheControl::clearCache($this->roleCacheKey);
+ CacheControl::clearCache($this->userCacheKey);
}
/**
@@ -62,8 +62,8 @@ public function deleted(Role $role)
*/
public function restored(Role $role)
{
- CacheControl::forgetCache($this->roleCacheKey);
- CacheControl::forgetCache($this->userCacheKey);
+ CacheControl::clearCache($this->roleCacheKey);
+ CacheControl::clearCache($this->userCacheKey);
}
/**
@@ -74,7 +74,7 @@ public function restored(Role $role)
*/
public function forceDeleted(Role $role)
{
- CacheControl::forgetCache($this->roleCacheKey);
- CacheControl::forgetCache($this->userCacheKey);
+ CacheControl::clearCache($this->roleCacheKey);
+ CacheControl::clearCache($this->userCacheKey);
}
}
diff --git a/app/Observers/User/UserObserver.php b/app/Observers/User/UserObserver.php
index 6e9eb43..c853018 100644
--- a/app/Observers/User/UserObserver.php
+++ b/app/Observers/User/UserObserver.php
@@ -2,8 +2,8 @@
namespace App\Observers\User;
-use AnisAronno\LaravelCacheMaster\CacheControl;
use AnisAronno\MediaHelper\Facades\Media;
+use App\Helpers\CacheControl;
use App\Helpers\CacheKey;
use App\Models\User;
@@ -24,7 +24,7 @@ public function __construct()
*/
public function created(User $user)
{
- CacheControl::forgetCache($this->key);
+ CacheControl::clearCache($this->key);
}
/**
@@ -35,7 +35,7 @@ public function created(User $user)
*/
public function updated(User $user)
{
- CacheControl::forgetCache($this->key);
+ CacheControl::clearCache($this->key);
}
/**
@@ -46,7 +46,7 @@ public function updated(User $user)
*/
public function deleted(User $user)
{
- CacheControl::forgetCache($this->key);
+ CacheControl::clearCache($this->key);
Media::delete($user->avatar);
}
@@ -59,7 +59,7 @@ public function deleted(User $user)
*/
public function restored(User $user)
{
- CacheControl::forgetCache($this->key);
+ CacheControl::clearCache($this->key);
}
/**
@@ -70,7 +70,7 @@ public function restored(User $user)
*/
public function forceDeleted(User $user)
{
- CacheControl::forgetCache($this->key);
+ CacheControl::clearCache($this->key);
Media::delete($user->avatar);
}
diff --git a/app/Traits/OptionTransform.php b/app/Traits/OptionTransform.php
index 54982df..e456c6d 100644
--- a/app/Traits/OptionTransform.php
+++ b/app/Traits/OptionTransform.php
@@ -2,68 +2,60 @@
namespace App\Traits;
-use AnisAronno\LaravelCacheMaster\CacheControl;
use App\Enums\SettingsFields;
+use App\Helpers\CacheControl;
use App\Helpers\CacheKey;
+use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Artisan;
trait OptionTransform
{
public static function getOption(string $key)
{
- $key = CacheKey::getOptionsCacheKey();
- $cacheKey = $key.md5(serialize(['getOption']));
+ $baseCacheKey = CacheKey::getOptionsCacheKey();
+ $cacheKey = $baseCacheKey . md5(serialize(['getOption', $key]));
- try {
- $option = CacheControl::init($key)->remember($cacheKey, now()->addDay(), function () use ($key) {
- return self::where('option_key', $key)->first();
-
- });
- logger()->debug($option['option_value']);
- return $option['option_value'];
-
- } catch (\Throwable $th) {
- return false;
- }
+ $option = Cache::remember($cacheKey, now()->addDay(), function () use ($key) {
+ $option = self::where('option_key', $key)->first();
+ return $option ? $option['option_value'] : null;
+ });
+ CacheControl::updateCacheKeys($baseCacheKey, $cacheKey);
+ return $option;
}
public static function getAllOptions()
{
- $key = CacheKey::getOptionsCacheKey();
- $cacheKey = $key.md5(serialize(['getAllOptions']));
-
- try {
- $options = CacheControl::init($key)->remember($cacheKey, 10, function () {
- $response = self::select('option_value', 'option_key')->orderBy('option_key', 'asc')->get()->flatMap(function ($name) {
- return [$name->option_key => $name->option_value];
- });
-
- return $response;
- });
-
- if ($options) {
- return $options;
- } else {
- return [];
- }
- } catch (\Throwable $th) {
- return [];
- }
+ $baseCacheKey = CacheKey::getOptionsCacheKey();
+ $cacheKey = $baseCacheKey . md5(serialize(['getAllOptions']));
+
+ $options = Cache::remember($cacheKey, now()->addDay(), function () {
+ return self::select('option_value', 'option_key')
+ ->orderBy('option_key', 'asc')
+ ->get()
+ ->pluck('option_value', 'option_key')
+ ->toArray();
+ });
+
+ CacheControl::updateCacheKeys($baseCacheKey, $cacheKey);
+ return $options;
}
public static function updateOption(string $key, $value = '')
{
try {
$option = self::where('option_key', $key)->first();
- $option->option_value = $value;
+ if ($option) {
+ $option->option_value = $value;
+ $result = $option->save();
+ }
if ($key == 'language') {
Artisan::call('cache:clear');
Artisan::call('config:clear');
}
- return $option->save();
+ return $result ?? false;
} catch (\Throwable $th) {
return false;
}
@@ -71,10 +63,8 @@ public static function updateOption(string $key, $value = '')
public static function setOption(string $key, $value = '')
{
- $data = ['option_key' => $key, 'option_value' => $value];
-
try {
- return self::create($data);
+ return self::create(['option_key' => $key, 'option_value' => $value]);
} catch (\Throwable $th) {
return false;
}
@@ -82,27 +72,21 @@ public static function setOption(string $key, $value = '')
public static function getSettings()
{
- $settingFields = SettingsFields::values();
-
- $key = CacheKey::getOptionsCacheKey();
- $cacheKey = $key.md5(serialize(['getSettings']));
-
- try {
- $options = CacheControl::init($key)->remember($cacheKey, now()->addDay(), function () use ($settingFields) {
- $response = self::select('option_value', 'option_key')->whereIn('option_key', $settingFields)->orderBy('option_key', 'asc')->get()->flatMap(function ($name) {
- return [$name->option_key => $name->option_value];
- });
-
- return $response;
- });
-
- if ($options) {
- return $options;
- } else {
- return [];
- }
- } catch (\Throwable $th) {
- return [];
- }
- }
+ $baseCacheKey = CacheKey::getOptionsCacheKey();
+ $cacheKey = $baseCacheKey . md5(serialize(['getSettings']));
+
+ $settings = Cache::remember($cacheKey, now()->addDay(), function () {
+ $settingFields = SettingsFields::values();
+
+ return self::select('option_value', 'option_key')
+ ->whereIn('option_key', $settingFields)
+ ->orderBy('option_key', 'asc')
+ ->get()
+ ->pluck('option_value', 'option_key')
+ ->toArray();
+ });
+
+ CacheControl::updateCacheKeys($baseCacheKey, $cacheKey);
+ return $settings;
+ }
}
diff --git a/composer.json b/composer.json
index dfbf4f4..de12b53 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
"name": "anisaronno/multipurpose-admin-panel-boilerplate",
"type": "project",
"description": "Application with laravel-10, vue-3, vite -4 , inertia 1, typescript, tailwind-3",
- "version": "0.1.7",
+ "version": "0.2.0",
"keywords": [
"laravel",
"vuejs",
@@ -20,7 +20,6 @@
"license": "MIT",
"require": {
"php": "^8.1.0",
- "anisaronno/laravel-cache-control": "^0.0.1",
"anisaronno/laravel-media-helper": "^0.1.0",
"guzzlehttp/guzzle": "^7.2",
"inertiajs/inertia-laravel": "^0.6.3",
diff --git a/composer.lock b/composer.lock
index 916de4d..761a59b 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,72 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "a251049be8422ee18fce0c0ddbe70b63",
+ "content-hash": "0363abf7aa258281ef13812a2d998c3f",
"packages": [
- {
- "name": "anisaronno/laravel-cache-control",
- "version": "0.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/anisAronno/laravel-cache-control.git",
- "reference": "80536c6fedb18da8f22d2f24c9162a5708a662a4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/anisAronno/laravel-cache-control/zipball/80536c6fedb18da8f22d2f24c9162a5708a662a4",
- "reference": "80536c6fedb18da8f22d2f24c9162a5708a662a4",
- "shasum": ""
- },
- "require": {
- "laravel/framework": "^8.0|^9.0|^10.0",
- "php": "^7.4|^8.0"
- },
- "require-dev": {
- "mockery/mockery": "^1.4",
- "orchestra/testbench": "^8.0",
- "pestphp/pest": "^1.21",
- "phpunit/phpunit": "^9.0"
- },
- "type": "library",
- "extra": {
- "laravel": {
- "providers": [
- "AnisAronno\\LaravelCacheMaster\\CacheMasterServiceProvider"
- ]
- }
- },
- "autoload": {
- "psr-4": {
- "AnisAronno\\LaravelCacheMaster\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "MD. Anichur Rahaman",
- "email": "contact@anichur.com",
- "homepage": "https://anichur.com",
- "role": "Developer"
- }
- ],
- "description": "A Laravel package for efficient caching control and management.",
- "homepage": "https://github.com/anisAronno/laravel-cache-control",
- "keywords": [
- "cache",
- "laravel",
- "laravel-cache",
- "redis",
- "wedevs"
- ],
- "support": {
- "issues": "https://github.com/anisAronno/laravel-cache-control/issues",
- "source": "https://github.com/anisAronno/laravel-cache-control/tree/v0.0.1"
- },
- "time": "2023-10-13T04:38:27+00:00"
- },
{
"name": "anisaronno/laravel-media-helper",
"version": "0.1.0",
@@ -9637,5 +9573,5 @@
"php": "^8.1.0"
},
"platform-dev": [],
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
diff --git a/package-lock.json b/package-lock.json
index 3990f50..3faf3ae 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4,6 +4,7 @@
"requires": true,
"packages": {
"": {
+ "name": "multipurpose-admin-panel-boilerplate",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-brands-svg-icons": "^6.2.1",
@@ -42,10 +43,74 @@
"node": ">=6.0.0"
}
},
+ "node_modules/@esbuild/android-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
+ "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz",
+ "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/android-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz",
+ "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/darwin-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz",
+ "integrity": "sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
"node_modules/@esbuild/darwin-x64": {
- "version": "0.16.12",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.12.tgz",
- "integrity": "sha512-ApGRA6X5txIcxV0095X4e4KKv87HAEXfuDRcGTniDWUUN+qPia8sl/BqG/0IomytQWajnUn4C7TOwHduk/FXBQ==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz",
+ "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==",
"cpu": [
"x64"
],
@@ -58,6 +123,278 @@
"node": ">=12"
}
},
+ "node_modules/@esbuild/freebsd-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz",
+ "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/freebsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz",
+ "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz",
+ "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz",
+ "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz",
+ "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-loong64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz",
+ "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==",
+ "cpu": [
+ "loong64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-mips64el": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz",
+ "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==",
+ "cpu": [
+ "mips64el"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-ppc64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz",
+ "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==",
+ "cpu": [
+ "ppc64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-riscv64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz",
+ "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==",
+ "cpu": [
+ "riscv64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-s390x": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz",
+ "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==",
+ "cpu": [
+ "s390x"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/linux-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz",
+ "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/netbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "netbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/openbsd-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz",
+ "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "openbsd"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/sunos-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz",
+ "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "sunos"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-arm64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz",
+ "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-ia32": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz",
+ "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==",
+ "cpu": [
+ "ia32"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@esbuild/win32-x64": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz",
+ "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">=12"
+ }
+ },
"node_modules/@fortawesome/fontawesome-common-types": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.2.1.tgz",
@@ -512,11 +849,11 @@
}
},
"node_modules/axios": {
- "version": "1.3.4",
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz",
- "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==",
+ "version": "1.6.7",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz",
+ "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==",
"dependencies": {
- "follow-redirects": "^1.15.0",
+ "follow-redirects": "^1.15.4",
"form-data": "^4.0.0",
"proxy-from-env": "^1.1.0"
}
@@ -730,9 +1067,9 @@
"dev": true
},
"node_modules/esbuild": {
- "version": "0.16.12",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.12.tgz",
- "integrity": "sha512-eq5KcuXajf2OmivCl4e89AD3j8fbV+UTE9vczEzq5haA07U9oOTzBWlh3+6ZdjJR7Rz2QfWZ2uxZyhZxBgJ4+g==",
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
"dev": true,
"hasInstallScript": true,
"bin": {
@@ -742,28 +1079,28 @@
"node": ">=12"
},
"optionalDependencies": {
- "@esbuild/android-arm": "0.16.12",
- "@esbuild/android-arm64": "0.16.12",
- "@esbuild/android-x64": "0.16.12",
- "@esbuild/darwin-arm64": "0.16.12",
- "@esbuild/darwin-x64": "0.16.12",
- "@esbuild/freebsd-arm64": "0.16.12",
- "@esbuild/freebsd-x64": "0.16.12",
- "@esbuild/linux-arm": "0.16.12",
- "@esbuild/linux-arm64": "0.16.12",
- "@esbuild/linux-ia32": "0.16.12",
- "@esbuild/linux-loong64": "0.16.12",
- "@esbuild/linux-mips64el": "0.16.12",
- "@esbuild/linux-ppc64": "0.16.12",
- "@esbuild/linux-riscv64": "0.16.12",
- "@esbuild/linux-s390x": "0.16.12",
- "@esbuild/linux-x64": "0.16.12",
- "@esbuild/netbsd-x64": "0.16.12",
- "@esbuild/openbsd-x64": "0.16.12",
- "@esbuild/sunos-x64": "0.16.12",
- "@esbuild/win32-arm64": "0.16.12",
- "@esbuild/win32-ia32": "0.16.12",
- "@esbuild/win32-x64": "0.16.12"
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
}
},
"node_modules/escalade": {
@@ -826,9 +1163,9 @@
}
},
"node_modules/follow-redirects": {
- "version": "1.15.2",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
- "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
+ "version": "1.15.5",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz",
+ "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==",
"funding": [
{
"type": "individual",
@@ -1088,9 +1425,15 @@
}
},
"node_modules/nanoid": {
- "version": "3.3.4",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
- "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==",
+ "version": "3.3.7",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz",
+ "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
"bin": {
"nanoid": "bin/nanoid.cjs"
},
@@ -1172,9 +1515,9 @@
}
},
"node_modules/postcss": {
- "version": "8.4.20",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.20.tgz",
- "integrity": "sha512-6Q04AXR1212bXr5fh03u8aAwbLxAQNGQ/Q1LNa0VfOI06ZAlhPHtQvE4OIdpj4kLThXilalPnmDSOD65DcHt+g==",
+ "version": "8.4.33",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz",
+ "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==",
"funding": [
{
"type": "opencollective",
@@ -1183,10 +1526,14 @@
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
}
],
"dependencies": {
- "nanoid": "^3.3.4",
+ "nanoid": "^3.3.7",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.2"
},
@@ -1385,9 +1732,9 @@
}
},
"node_modules/rollup": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.9.0.tgz",
- "integrity": "sha512-nGGylpmblyjTpF4lEUPgmOw6OVxRvnI6Iuuh6Lz4O/X66cVOX1XJSsqP1YamxQ+mPuFE7qJxLFDSCk8rNv5dDw==",
+ "version": "3.29.4",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
+ "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
"dev": true,
"bin": {
"rollup": "dist/bin/rollup"
@@ -1551,15 +1898,14 @@
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
},
"node_modules/vite": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/vite/-/vite-4.0.3.tgz",
- "integrity": "sha512-HvuNv1RdE7deIfQb8mPk51UKjqptO/4RXZ5yXSAvurd5xOckwS/gg8h9Tky3uSbnjYTgUm0hVCet1cyhKd73ZA==",
+ "version": "4.5.2",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.2.tgz",
+ "integrity": "sha512-tBCZBNSBbHQkaGyhGCDUGqeo2ph8Fstyp6FMSvTtsXeZSPpSMGlviAOav2hxVTqFcx8Hj/twtWKsMJXNY0xI8w==",
"dev": true,
"dependencies": {
- "esbuild": "^0.16.3",
- "postcss": "^8.4.20",
- "resolve": "^1.22.1",
- "rollup": "^3.7.0"
+ "esbuild": "^0.18.10",
+ "postcss": "^8.4.27",
+ "rollup": "^3.27.1"
},
"bin": {
"vite": "bin/vite.js"
@@ -1567,12 +1913,16 @@
"engines": {
"node": "^14.18.0 || >=16.0.0"
},
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
"optionalDependencies": {
"fsevents": "~2.3.2"
},
"peerDependencies": {
"@types/node": ">= 14",
"less": "*",
+ "lightningcss": "^1.21.0",
"sass": "*",
"stylus": "*",
"sugarss": "*",
@@ -1585,6 +1935,9 @@
"less": {
"optional": true
},
+ "lightningcss": {
+ "optional": true
+ },
"sass": {
"optional": true
},
diff --git a/public/build/assets/About-a17a7e67.js b/public/build/assets/About-a17a7e67.js
deleted file mode 100644
index 931cc91..0000000
--- a/public/build/assets/About-a17a7e67.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{o as a,g as r,d as t,t as e}from"./app-a07534fc.js";const c={},d={class:"container mx-auto p-6 bg-white text-gray-900 dark:bg-gray-900 dark:text-gray-50"},i={class:"grid grid-col sm:grid-cols-2 gap-5 bg-cyan-50 text-gray-900 dark:bg-gray-800 dark:text-gray-50"},n={class:"p-5 sm:p-10"},l=["src"],_={class:"p-5 sm:p-10"},g={class:"text-4xl mb-5 underline underline-offset-8 decoration-slate-500"},p={class:"text-md text-gray-700 dark:text-gray-400"};function u(s,m){return a(),r("div",d,[t("div",i,[t("div",n,[t("img",{class:"w-full h-auto rounded-md",src:s.$page.props.global.options.about_image,alt:"About Picture"},null,8,l)]),t("div",_,[t("h1",g,e(s.__("about.us.title")),1),t("p",p,e(s.__("about.us.description")),1)])])])}const f=o(c,[["render",u]]);export{f as default};
diff --git a/public/build/assets/Address-69546a1b.js b/public/build/assets/Address-69546a1b.js
deleted file mode 100644
index 7b56e1d..0000000
--- a/public/build/assets/Address-69546a1b.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as y}from"./DeleteForm-95cf9c02.js";import{_ as b}from"./Dropdown-47fab125.js";import w from"./EditForm-f3b2b2c3.js";import v from"./Form-055ef52e.js";import{p as n,r as k,o as a,g as i,d as t,c as f,h as g,a as d,e as c,F as V,m as C,t as s,w as u}from"./app-a07534fc.js";import"./DangerButton-1432f67e.js";import"./SecondaryButton-e6cce7b4.js";import"./InputError-819a2731.js";import"./InputLabel-0d88b11e.js";import"./Textarea-1fe62e1d.js";import"./TextInput-6d371888.js";import"./useCountries-62ba1c05.js";import"./default.css_vue_type_style_index_0_src_true_lang-5ba86734.js";const A={class:"flex justify-between"},B=t("div",null,[t("h2",{class:"text-lg font-medium text-gray-900 dark:text-gray-100"}," Address "),t("p",{class:"mt-1 text-sm text-gray-600 dark:text-gray-400"}," Update your Address. ")],-1),j={class:"flex flex-wrap"},N={class:"w-full border border-gray-200 rounded-lg shadow-md bg-white text-gray-900 dark:bg-gray-800 dark:text-gray-50 dark:border-gray-700"},$={class:"flex justify-between px-4 pt-4 relative"},z={class:"text-2xl border-b-2 border-stone-600 pb-1"},M=t("span",{class:"inline-flex rounded-md"},[t("button",{id:"dropdownButton","data-dropdown-toggle":"dropdown",class:"inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-1.5",type:"button"},[t("span",{class:"sr-only"},"Open dropdown"),t("svg",{class:"w-6 h-6","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"})])])],-1),D={class:"py-3 space-y-3","aria-labelledby":"dropdownButton"},E={class:"flex justify-center"},U={class:"flex justify-center"},F={class:"cursor-pointer"},O={class:"bg-white text-gray-900 dark:bg-gray-800 dark:text-gray-50 p-5 space-y-3"},S={class:"flex gap-5 w-full"},q=t("h2",null,"Address :",-1),L={class:"break-all break-words"},T={class:"flex gap-5 w-full"},Z=t("h2",null,"City :",-1),G={class:"break-all"},H={class:"flex gap-5 w-full"},I=t("h2",null,"State :",-1),J={class:"break-all"},K={class:"flex gap-5 w-full"},P=t("h2",null,"District :",-1),Q={class:"break-all"},R={class:"flex gap-5 w-full"},W=t("h2",null,"Zip Code :",-1),X={class:"break-all"},Y={class:"flex gap-5 w-full"},tt=t("h2",null,"Country :",-1),et={class:"break-all"},mt={__name:"Address",props:{addresses:Object},setup(m){n(null);const l=n(!1),r=n(!1),h=()=>{r.value=!0},x=()=>{l.value=!0};return(st,o)=>{const _=k("font-awesome-icon");return a(),i("section",null,[t("header",A,[B,t("div",null,[r.value?(a(),f(v,{key:0,modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e)},null,8,["modelValue"])):g("",!0),t("span",{class:"btn btn-primary cursor-pointer",onClick:h},[d(_,{icon:"fa-solid fa-circle-plus",class:"mr-1"}),c("Add New Address ")])])]),t("div",j,[(a(!0),i(V,null,C(m.addresses,e=>(a(),i("div",{class:"p-5 gap-5 w-1/2",key:e.id},[l.value?(a(),f(w,{key:0,modelValue:l.value,"onUpdate:modelValue":o[1]||(o[1]=p=>l.value=p),address:e,onBlur:o[2]||(o[2]=p=>l.value!=!0),tabindex:"-1"},null,8,["modelValue","address"])):g("",!0),t("div",N,[t("div",$,[t("h2",z,s(e.title),1),d(b,{align:"right",width:"48"},{trigger:u(()=>[M]),content:u(()=>[t("ul",D,[t("li",E,[t("div",{class:"btn btn-primary flex gap-3 cursor-pointer",onClick:x},[d(_,{icon:"fa-solid fa-pen-to-square",class:"text-white text-lg inline-block"}),c("Edit ")])]),t("li",U,[t("div",F,[d(y,{class:"w-full",data:{id:e.id,model:"address"}},{default:u(()=>[c("Delete")]),_:2},1032,["data"])])])])]),_:2},1024)]),t("div",O,[t("div",S,[q,t("p",L,s(e.address),1)]),t("div",T,[Z,t("p",G,s(e.city),1)]),t("div",H,[I,t("p",J,s(e.state),1)]),t("div",K,[P,t("p",Q,s(e.district),1)]),t("div",R,[W,t("p",X,s(e.zip_code),1)]),t("div",Y,[tt,t("p",et,s(e.country),1)])])])]))),128))])])}}};export{mt as default};
diff --git a/public/build/assets/Address-ac1bdf18.js b/public/build/assets/Address-ac1bdf18.js
deleted file mode 100644
index 21e9ca1..0000000
--- a/public/build/assets/Address-ac1bdf18.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as y}from"./DeleteForm-3a0f2fad.js";import{_ as b}from"./Dropdown-7d23bb7e.js";import w from"./EditForm-f283bead.js";import v from"./Form-c1471be5.js";import{i as n,h as i,b as t,c as f,q as g,a as d,d as c,F as k,m as V,o as a,t as s,w as u,k as C}from"./app-4f9e7dfc.js";import"./DangerButton-c925b039.js";import"./SecondaryButton-5f2daf35.js";import"./InputLabel-5969cc22.js";import"./Textarea-01085d86.js";import"./TextInput-5a299594.js";import"./useCountries-7f78595f.js";import"./default.css_vue_type_style_index_0_src_true_lang-51e34c56.js";const A={class:"flex justify-between"},B=t("div",null,[t("h2",{class:"text-lg font-medium text-gray-900 dark:text-gray-100"}," Address "),t("p",{class:"mt-1 text-sm text-gray-600 dark:text-gray-400"}," Update your Address. ")],-1),j={class:"flex flex-wrap"},N={class:"w-full border border-gray-200 rounded-lg shadow-md bg-white text-gray-900 dark:bg-gray-800 dark:text-gray-50 dark:border-gray-700"},$={class:"flex justify-between px-4 pt-4 relative"},z={class:"text-2xl border-b-2 border-stone-600 pb-1"},M=t("span",{class:"inline-flex rounded-md"},[t("button",{id:"dropdownButton","data-dropdown-toggle":"dropdown",class:"inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-1.5",type:"button"},[t("span",{class:"sr-only"},"Open dropdown"),t("svg",{class:"w-6 h-6","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"})])])],-1),D={class:"py-3 space-y-3","aria-labelledby":"dropdownButton"},E={class:"flex justify-center"},U={class:"flex justify-center"},q={class:"cursor-pointer"},F={class:"bg-white text-gray-900 dark:bg-gray-800 dark:text-gray-50 p-5 space-y-3"},O={class:"flex gap-5 w-full"},S=t("h2",null,"Address :",-1),L={class:"break-all break-words"},T={class:"flex gap-5 w-full"},Z=t("h2",null,"City :",-1),G={class:"break-all"},H={class:"flex gap-5 w-full"},I=t("h2",null,"State :",-1),J={class:"break-all"},K={class:"flex gap-5 w-full"},P=t("h2",null,"District :",-1),Q={class:"break-all"},R={class:"flex gap-5 w-full"},W=t("h2",null,"Zip Code :",-1),X={class:"break-all"},Y={class:"flex gap-5 w-full"},tt=t("h2",null,"Country :",-1),et={class:"break-all"},gt={__name:"Address",props:{addresses:Object},setup(m){n(null);const l=n(!1),r=n(!1),h=()=>{r.value=!0},x=()=>{l.value=!0};return(st,o)=>{const _=C("font-awesome-icon");return a(),i("section",null,[t("header",A,[B,t("div",null,[r.value?(a(),f(v,{key:0,modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e)},null,8,["modelValue"])):g("",!0),t("span",{class:"btn btn-primary cursor-pointer",onClick:h},[d(_,{icon:"fa-solid fa-circle-plus",class:"mr-1"}),c("Add New Address ")])])]),t("div",j,[(a(!0),i(k,null,V(m.addresses,e=>(a(),i("div",{class:"p-5 gap-5 w-1/2",key:e.id},[l.value?(a(),f(w,{key:0,modelValue:l.value,"onUpdate:modelValue":o[1]||(o[1]=p=>l.value=p),address:e,onBlur:o[2]||(o[2]=p=>l.value!=!0),tabindex:"-1"},null,8,["modelValue","address"])):g("",!0),t("div",N,[t("div",$,[t("h2",z,s(e.title),1),d(b,{align:"right",width:"48"},{trigger:u(()=>[M]),content:u(()=>[t("ul",D,[t("li",E,[t("div",{class:"btn btn-primary flex gap-3 cursor-pointer",onClick:x},[d(_,{icon:"fa-solid fa-pen-to-square",class:"text-white text-lg inline-block"}),c("Edit ")])]),t("li",U,[t("div",q,[d(y,{class:"w-full",data:{id:e.id,model:"address"}},{default:u(()=>[c("Delete")]),_:2},1032,["data"])])])])]),_:2},1024)]),t("div",F,[t("div",O,[S,t("p",L,s(e.address),1)]),t("div",T,[Z,t("p",G,s(e.city),1)]),t("div",H,[I,t("p",J,s(e.state),1)]),t("div",K,[P,t("p",Q,s(e.district),1)]),t("div",R,[W,t("p",X,s(e.zip_code),1)]),t("div",Y,[tt,t("p",et,s(e.country),1)])])])]))),128))])])}}};export{gt as default};
diff --git a/public/build/assets/Address-b68f5097.js b/public/build/assets/Address-b68f5097.js
new file mode 100644
index 0000000..329696a
--- /dev/null
+++ b/public/build/assets/Address-b68f5097.js
@@ -0,0 +1 @@
+import{_ as y}from"./DeleteForm-ea1de4c5.js";import{_ as b}from"./Dropdown-a96f453e.js";import w from"./EditForm-8ba96d26.js";import v from"./Form-db1e14f4.js";import{p as n,f as i,b as t,c as f,g,a as d,d as c,F as k,q as V,o as a,t as s,w as u,r as C}from"./app-4dfa7f3b.js";import"./DangerButton-9faead77.js";import"./SecondaryButton-c5891444.js";import"./InputLabel-fec82426.js";import"./Textarea-f6994d96.js";import"./TextInput-fb418c8e.js";import"./useCountries-759a7ea1.js";import"./default.css_vue_type_style_index_0_src_true_lang-5d8f90ba.js";const A={class:"flex justify-between"},B=t("div",null,[t("h2",{class:"text-lg font-medium text-gray-900 dark:text-gray-100"}," Address "),t("p",{class:"mt-1 text-sm text-gray-600 dark:text-gray-400"}," Update your Address. ")],-1),j={class:"flex flex-wrap"},N={class:"w-full border border-gray-200 rounded-lg shadow-md bg-white text-gray-900 dark:bg-gray-800 dark:text-gray-50 dark:border-gray-700"},$={class:"flex justify-between px-4 pt-4 relative"},z={class:"text-2xl border-b-2 border-stone-600 pb-1"},M=t("span",{class:"inline-flex rounded-md"},[t("button",{id:"dropdownButton","data-dropdown-toggle":"dropdown",class:"inline-block text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:ring-4 focus:outline-none focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-1.5",type:"button"},[t("span",{class:"sr-only"},"Open dropdown"),t("svg",{class:"w-6 h-6","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"})])])],-1),D={class:"py-3 space-y-3","aria-labelledby":"dropdownButton"},E={class:"flex justify-center"},U={class:"flex justify-center"},q={class:"cursor-pointer"},F={class:"bg-white text-gray-900 dark:bg-gray-800 dark:text-gray-50 p-5 space-y-3"},O={class:"flex gap-5 w-full"},S=t("h2",null,"Address :",-1),L={class:"break-all break-words"},T={class:"flex gap-5 w-full"},Z=t("h2",null,"City :",-1),G={class:"break-all"},H={class:"flex gap-5 w-full"},I=t("h2",null,"State :",-1),J={class:"break-all"},K={class:"flex gap-5 w-full"},P=t("h2",null,"District :",-1),Q={class:"break-all"},R={class:"flex gap-5 w-full"},W=t("h2",null,"Zip Code :",-1),X={class:"break-all"},Y={class:"flex gap-5 w-full"},tt=t("h2",null,"Country :",-1),et={class:"break-all"},gt={__name:"Address",props:{addresses:Object},setup(m){n(null);const l=n(!1),r=n(!1),h=()=>{r.value=!0},x=()=>{l.value=!0};return(st,o)=>{const _=C("font-awesome-icon");return a(),i("section",null,[t("header",A,[B,t("div",null,[r.value?(a(),f(v,{key:0,modelValue:r.value,"onUpdate:modelValue":o[0]||(o[0]=e=>r.value=e)},null,8,["modelValue"])):g("",!0),t("span",{class:"btn btn-primary cursor-pointer",onClick:h},[d(_,{icon:"fa-solid fa-circle-plus",class:"mr-1"}),c("Add New Address ")])])]),t("div",j,[(a(!0),i(k,null,V(m.addresses,e=>(a(),i("div",{class:"p-5 gap-5 w-1/2",key:e.id},[l.value?(a(),f(w,{key:0,modelValue:l.value,"onUpdate:modelValue":o[1]||(o[1]=p=>l.value=p),address:e,onBlur:o[2]||(o[2]=p=>l.value!=!0),tabindex:"-1"},null,8,["modelValue","address"])):g("",!0),t("div",N,[t("div",$,[t("h2",z,s(e.title),1),d(b,{align:"right",width:"48"},{trigger:u(()=>[M]),content:u(()=>[t("ul",D,[t("li",E,[t("div",{class:"btn btn-primary flex gap-3 cursor-pointer",onClick:x},[d(_,{icon:"fa-solid fa-pen-to-square",class:"text-white text-lg inline-block"}),c("Edit ")])]),t("li",U,[t("div",q,[d(y,{class:"w-full",data:{id:e.id,model:"address"}},{default:u(()=>[c("Delete")]),_:2},1032,["data"])])])])]),_:2},1024)]),t("div",F,[t("div",O,[S,t("p",L,s(e.address),1)]),t("div",T,[Z,t("p",G,s(e.city),1)]),t("div",H,[I,t("p",J,s(e.state),1)]),t("div",K,[P,t("p",Q,s(e.district),1)]),t("div",R,[W,t("p",X,s(e.zip_code),1)]),t("div",Y,[tt,t("p",et,s(e.country),1)])])])]))),128))])])}}};export{gt as default};
diff --git a/public/build/assets/ApplicationLogo-1c8f1468.js b/public/build/assets/ApplicationLogo-77a8e36b.js
similarity index 54%
rename from public/build/assets/ApplicationLogo-1c8f1468.js
rename to public/build/assets/ApplicationLogo-77a8e36b.js
index 43887d0..3a4eb90 100644
--- a/public/build/assets/ApplicationLogo-1c8f1468.js
+++ b/public/build/assets/ApplicationLogo-77a8e36b.js
@@ -1 +1 @@
-import{d as e}from"./defaultFile-106f3fb6.js";import{o as l,h as s,u as r}from"./app-4f9e7dfc.js";const a=["src"],_={__name:"ApplicationLogo",setup(t){return(o,n)=>(l(),s("img",{src:o.$page.props.global.options.logo||r(e).logo,alt:"logo",class:"rounded-full"},null,8,a))}};export{_};
+import{d as e}from"./defaultFile-2b6c57d3.js";import{o as l,f as s,u as r}from"./app-4dfa7f3b.js";const a=["src"],_={__name:"ApplicationLogo",setup(t){return(o,n)=>(l(),s("img",{src:o.$page.props.global.options.logo||r(e).logo,alt:"logo",class:"rounded-full"},null,8,a))}};export{_};
diff --git a/public/build/assets/AuthenticatedLayout-6151d358.js b/public/build/assets/AuthenticatedLayout-6151d358.js
new file mode 100644
index 0000000..daf7fdd
--- /dev/null
+++ b/public/build/assets/AuthenticatedLayout-6151d358.js
@@ -0,0 +1,4 @@
+import{I as ur,K as dr,L as cr,F as q,M as fr,R as pr,S as vr,N as gr,D as $t,O as hr,T as mr,P as yr,V as br,Q as wr,U as _r,W as xr,Y as $r,Z as kt,_ as kr,h as k,$ as Sr,c as J,g as _e,f as x,b as d,a0 as Or,a1 as Er,a2 as Pr,a3 as Cr,a4 as Mr,a5 as Ar,d as re,a as $,a6 as Tr,a7 as Dr,a8 as j,a9 as Fr,aa as Br,ab as Lr,ac as jr,ad as Nr,ae as Ir,af as Rr,ag as Hr,H as St,ah as Ot,ai as Vr,aj as Ur,ak as T,al as zr,am as Wr,an as qr,ao as Gr,ap as z,aq as Qr,ar as Kr,as as Jr,at as Yr,k as Et,au as Xr,av as Zr,aw as en,ax as tn,ay as rn,E as nn,s as De,n as M,az as an,aA as on,aB as ln,aC as sn,aD as un,aE as dn,aF as cn,aG as fn,A as D,aH as pn,aI as vn,aJ as Pt,aK as gn,C as X,aL as hn,o as y,aM as mn,aN as G,aO as yn,aP as bn,aQ as wn,aR as Ct,aS as _n,p as m,aT as xn,aU as $n,q as oe,m as xe,r as Qe,aV as kn,aW as fe,aX as Sn,aY as On,aZ as En,a_ as Pn,a$ as Cn,b0 as Mn,b1 as An,b2 as Mt,b3 as Tn,b4 as Dn,b5 as Fn,t as le,b6 as Bn,b7 as Ln,b8 as jn,b9 as Nn,G as In,ba as Rn,bb as Hn,u as S,bc as Vn,bd as Un,be as zn,bf as Wn,bg as qn,bh as Gn,j as Qn,bi as Kn,bj as Jn,bk as At,B as Yn,z as Ke,bl as Xn,bm as Zn,y as Y,bn as R,bo as ea,bp as ta,bq as ra,w as E,br as na,i as Fe,x as aa,bs as oa,e as la,bt as sa,bu as ia,l as be,J as et,v as ua,X as da}from"./app-4dfa7f3b.js";import{_ as ca}from"./Toast-645f4c7b.js";import{_ as Tt}from"./ApplicationLogo-77a8e36b.js";import{a as fa}from"./useCountries-759a7ea1.js";import{_ as pa}from"./Dropdown-a96f453e.js";const va=()=>{},ga=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:ur,Comment:dr,EffectScope:cr,Fragment:q,KeepAlive:fr,ReactiveEffect:pr,Static:vr,Suspense:gr,Teleport:$t,Text:hr,Transition:mr,TransitionGroup:yr,VueElement:br,callWithAsyncErrorHandling:wr,callWithErrorHandling:_r,camelize:xr,capitalize:$r,cloneVNode:kt,compatUtils:kr,compile:va,computed:k,createApp:Sr,createBlock:J,createCommentVNode:_e,createElementBlock:x,createElementVNode:d,createHydrationRenderer:Or,createPropsRestProxy:Er,createRenderer:Pr,createSSRApp:Cr,createSlots:Mr,createStaticVNode:Ar,createTextVNode:re,createVNode:$,customRef:Tr,defineAsyncComponent:Dr,defineComponent:j,defineCustomElement:Fr,defineEmits:Br,defineExpose:Lr,defineProps:jr,defineSSRCustomElement:Nr,get devtools(){return Ir},effect:Rr,effectScope:Hr,getCurrentInstance:St,getCurrentScope:Ot,getTransitionRawChildren:Vr,guardReactiveProps:Ur,h:T,handleError:zr,hydrate:Wr,initCustomFormatter:qr,initDirectivesForSSR:Gr,inject:z,isMemoSame:Qr,isProxy:Kr,isReactive:Jr,isReadonly:Yr,isRef:Et,isRuntimeOnly:Xr,isShallow:Zr,isVNode:en,markRaw:tn,mergeDefaults:rn,mergeProps:nn,nextTick:De,normalizeClass:M,normalizeProps:an,normalizeStyle:on,onActivated:ln,onBeforeMount:sn,onBeforeUnmount:un,onBeforeUpdate:dn,onDeactivated:cn,onErrorCaptured:fn,onMounted:D,onRenderTracked:pn,onRenderTriggered:vn,onScopeDispose:Pt,onServerPrefetch:gn,onUnmounted:X,onUpdated:hn,openBlock:y,popScopeId:mn,provide:G,proxyRefs:yn,pushScopeId:bn,queuePostFlushCb:wn,reactive:Ct,readonly:_n,ref:m,registerRuntimeCompiler:xn,render:$n,renderList:oe,renderSlot:xe,resolveComponent:Qe,resolveDirective:kn,resolveDynamicComponent:fe,resolveFilter:Sn,resolveTransitionHooks:On,setBlockTracking:En,setDevtoolsHook:Pn,setTransitionHooks:Cn,shallowReactive:Mn,shallowReadonly:An,shallowRef:Mt,ssrContextKey:Tn,ssrUtils:Dn,stop:Fn,toDisplayString:le,toHandlerKey:Bn,toHandlers:Ln,toRaw:jn,toRef:Nn,toRefs:In,transformVNodeArgs:Rn,triggerRef:Hn,unref:S,useAttrs:Vn,useCssModule:Un,useCssVars:zn,useSSRContext:Wn,useSlots:qn,useTransitionState:Gn,vModelCheckbox:Qn,vModelDynamic:Kn,vModelRadio:Jn,vModelSelect:At,vModelText:Yn,vShow:Ke,version:Xn,warn:Zn,watch:Y,watchEffect:R,watchPostEffect:ea,watchSyncEffect:ta,withAsyncContext:ra,withCtx:E,withDefaults:na,withDirectives:Fe,withKeys:aa,withMemo:oa,withModifiers:la,withScopeId:sa},Symbol.toStringTag,{value:"Module"})),Dt=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},ha={},ma={"aria-hidden":"true",class:"w-full h-full text-gray-200 animate-spin fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ya=d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1),ba=d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1),wa=[ya,ba];function _a(e,t){return y(),x("svg",ma,wa)}const xa=Dt(ha,[["render",_a]]),ne=ia(ga),{createElementVNode:$a,openBlock:ka,createElementBlock:Sa}=ne;var Oa=function(t,r){return ka(),Sa("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[$a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 5.25l-7.5 7.5-7.5-7.5m15 6l-7.5 7.5-7.5-7.5"})])};const{createElementVNode:Ea,openBlock:Pa,createElementBlock:Ca}=ne;var Ma=function(t,r){return Pa(),Ca("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[Ea("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M11.25 4.5l7.5 7.5-7.5 7.5m-6-15l7.5 7.5-7.5 7.5"})])};const{createElementVNode:Aa,openBlock:Ta,createElementBlock:Da}=ne;var Fa=function(t,r){return Ta(),Da("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[Aa("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12a7.5 7.5 0 0015 0m-15 0a7.5 7.5 0 1115 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077l1.41-.513m14.095-5.13l1.41-.513M5.106 17.785l1.15-.964m11.49-9.642l1.149-.964M7.501 19.795l.75-1.3m7.5-12.99l.75-1.3m-6.063 16.658l.26-1.477m2.605-14.772l.26-1.477m0 17.726l-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205L12 12m6.894 5.785l-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864l-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"})])};const{createElementVNode:Ba,openBlock:La,createElementBlock:ja}=ne;var Na=function(t,r){return La(),ja("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[Ba("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 12l8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])};const{createElementVNode:Ia,openBlock:Ra,createElementBlock:Ha}=ne;var Va=function(t,r){return Ra(),Ha("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[Ia("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v6m3-3H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"})])};const{createElementVNode:Ua,openBlock:za,createElementBlock:Wa}=ne;var qa=function(t,r){return za(),Wa("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[Ua("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18 18.72a9.094 9.094 0 003.741-.479 3 3 0 00-4.682-2.72m.94 3.198l.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0112 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 016 18.719m12 0a5.971 5.971 0 00-.941-3.197m0 0A5.995 5.995 0 0012 12.75a5.995 5.995 0 00-5.058 2.772m0 0a3 3 0 00-4.681 2.72 8.986 8.986 0 003.74.477m.94-3.197a5.971 5.971 0 00-.94 3.197M15 6.75a3 3 0 11-6 0 3 3 0 016 0zm6 3a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0zm-13.5 0a2.25 2.25 0 11-4.5 0 2.25 2.25 0 014.5 0z"})])};const{createElementVNode:Ga,openBlock:Qa,createElementBlock:Ka}=ne;var Ja=function(t,r){return Qa(),Ka("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[Ga("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z"})])};const{createElementVNode:Ya,openBlock:Xa,createElementBlock:Za}=ne;var eo=function(t,r){return Xa(),Za("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true"},[Ya("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})])},Ft=Oa,Bt=Ma,tt=Fa,to=Na,rt=Va,nt=qa,at=Ja,ro=eo;const no={class:"flex flex-grow flex-col overflow-y-auto bg-indigo-700 pt-5"},ao={class:"flex flex-shrink-0 items-center px-4"},oo={class:"mt-5 flex flex-1 flex-col"},lo={class:"flex-1 space-y-1 px-2 pb-4"},so={key:0},io=["onMouseover","onMouseout"],uo={key:0,class:"absolute right-0 mr-2"},co={key:1,class:"absolute right-0 mr-2"},fo={key:1},po={__name:"DesktopMenu",props:{navigation:Object,isOpenSidebar:Boolean},setup(e){return(t,r)=>(y(),x("div",{class:M(["hidden md:fixed md:inset-y-0 md:flex md:flex-col",e.isOpenSidebar?"md:w-64":"md:w-20"])},[d("div",no,[d("div",ao,[$(S(be),{href:t.route("dashboard")},{default:E(()=>[$(Tt,{class:"block h-12 w-auto fill-current text-gray-800 dark:text-gray-200"})]),_:1},8,["href"])]),d("div",oo,[d("nav",lo,[e.isOpenSidebar?(y(),x("div",so,[(y(!0),x(q,null,oe(e.navigation,n=>{var o;return y(),x("div",{key:n.name,class:M([n.current?"bg-indigo-600 text-white p-0.5 rounded-sm":""]),onMouseover:a=>t.$emit("toggleCurrent",n),onMouseout:a=>t.$emit("toggleCurrent",n)},[$(S(be),{href:t.route(n.route),class:M([n.current?"bg-indigo-800 text-white":"text-indigo-100 hover:bg-indigo-600","group flex items-center px-2 py-2 text-sm font-medium rounded-md"])},{default:E(()=>{var a,l;return[(y(),J(fe(n.icon),{class:"mr-3 h-6 w-6 flex-shrink-0 text-indigo-300","aria-hidden":"true"})),re(" "+le(n.name)+" ",1),n.current&&((a=n==null?void 0:n.children)==null?void 0:a.length)>0?(y(),x("span",uo,[$(S(Ft),{class:"mr-3 h-4 w-4 flex-shrink-0 text-indigo-300","aria-hidden":"true"})])):!n.current&&((l=n==null?void 0:n.children)==null?void 0:l.length)>0?(y(),x("span",co,[$(S(Bt),{class:"mr-3 h-4 w-4 flex-shrink-0 text-indigo-300","aria-hidden":"true"})])):_e("",!0)]}),_:2},1032,["href","class"]),Fe(d("div",{class:M(["p-2 my-1 mx-3 border border-indigo-600 rounded-md bg-indigo-700 shadow-md",{"transition duration-500 ease-in-out":n.current}])},[(y(!0),x(q,null,oe(n.children,a=>(y(),x("div",{"aria-level":"childreen",key:a.name,class:"px-2 py-1"},[$(S(be),{href:t.route(a.route),class:M([[a.current?"bg-indigo-800 text-white":"text-indigo-100 bg-indigo-600 hover:bg-indigo-600"],"px-1 py-1.5 group flex items-center text-sm font-medium rounded-md"])},{default:E(()=>[(y(),J(fe(a.icon),{class:"mr-3 h-4 w-4 flex-shrink-0 text-indigo-300","aria-hidden":"true"})),re(" "+le(a.name),1)]),_:2},1032,["href","class"])]))),128))],2),[[Ke,n.current&&((o=n==null?void 0:n.children)==null?void 0:o.length)>0]])],42,io)}),128))])):(y(),x("div",fo,[(y(!0),x(q,null,oe(e.navigation,n=>(y(),x("div",{key:n.name,class:M([n.current?"bg-indigo-600 text-white p-0.5 rounded-sm my-2":""])},[$(S(be),{href:t.route(n.route),class:M([n.current?"bg-indigo-800 text-white":"text-indigo-100 hover:bg-indigo-600","group flex items-center px-3 py-3 text-sm font-medium rounded-md"])},{default:E(()=>[(y(),J(fe(n.icon),{class:"mr-3 h-8 w-8 flex-shrink-0 text-indigo-300","aria-hidden":"true"}))]),_:2},1032,["href","class"])],2))),128))]))])])])],2))}};var ot;const Lt=typeof window<"u",vo=e=>typeof e=="function",go=e=>typeof e=="string",ho=()=>{};Lt&&((ot=window==null?void 0:window.navigator)!=null&&ot.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ce(e){return typeof e=="function"?e():S(e)}function mo(e,t){function r(...n){e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})}return r}const jt=e=>e();function yo(e=jt){const t=m(!0);function r(){t.value=!1}function n(){t.value=!0}return{isActive:t,pause:r,resume:n,eventFilter:(...a)=>{t.value&&e(...a)}}}function bo(e){return e}function Nt(e){return Ot()?(Pt(e),!0):!1}function wo(e){return typeof e=="function"?k(e):m(e)}function It(e,t=!0){St()?D(e):t?e():De(e)}function _o(e=!1,t={}){const{truthyValue:r=!0,falsyValue:n=!1}=t,o=Et(e),a=m(e);function l(s){if(arguments.length)return a.value=s,a.value;{const i=Ce(r);return a.value=a.value===i?Ce(n):i,a.value}}return o?l:[a,l]}var lt=Object.getOwnPropertySymbols,xo=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,ko=(e,t)=>{var r={};for(var n in e)xo.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&<)for(var n of lt(e))t.indexOf(n)<0&&$o.call(e,n)&&(r[n]=e[n]);return r};function So(e,t,r={}){const n=r,{eventFilter:o=jt}=n,a=ko(n,["eventFilter"]);return Y(e,mo(o,t),a)}var Oo=Object.defineProperty,Eo=Object.defineProperties,Po=Object.getOwnPropertyDescriptors,Me=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,st=(e,t,r)=>t in e?Oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Co=(e,t)=>{for(var r in t||(t={}))Rt.call(t,r)&&st(e,r,t[r]);if(Me)for(var r of Me(t))Ht.call(t,r)&&st(e,r,t[r]);return e},Mo=(e,t)=>Eo(e,Po(t)),Ao=(e,t)=>{var r={};for(var n in e)Rt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Me)for(var n of Me(e))t.indexOf(n)<0&&Ht.call(e,n)&&(r[n]=e[n]);return r};function To(e,t,r={}){const n=r,{eventFilter:o}=n,a=Ao(n,["eventFilter"]),{eventFilter:l,pause:s,resume:i,isActive:u}=yo(o);return{stop:So(e,t,Mo(Co({},a),{eventFilter:l})),pause:s,resume:i,isActive:u}}function Do(e){var t;const r=Ce(e);return(t=r==null?void 0:r.$el)!=null?t:r}const ve=Lt?window:void 0;function Fo(...e){let t,r,n,o;if(go(e[0])||Array.isArray(e[0])?([r,n,o]=e,t=ve):[t,r,n,o]=e,!t)return ho;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],l=()=>{a.forEach(c=>c()),a.length=0},s=(c,p,g)=>(c.addEventListener(p,g,o),()=>c.removeEventListener(p,g,o)),i=Y(()=>Do(t),c=>{l(),c&&a.push(...r.flatMap(p=>n.map(g=>s(c,p,g))))},{immediate:!0,flush:"post"}),u=()=>{i(),l()};return Nt(u),u}function Bo(e,t=!1){const r=m(),n=()=>r.value=!!e();return n(),It(n,t),r}function Lo(e,t={}){const{window:r=ve}=t,n=Bo(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let o;const a=m(!1),l=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",s):o.removeListener(s))},s=()=>{n.value&&(l(),o=r.matchMedia(wo(e).value),a.value=o.matches,"addEventListener"in o?o.addEventListener("change",s):o.addListener(s))};return R(s),Nt(()=>l()),a}const Re=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},He="__vueuse_ssr_handlers__";Re[He]=Re[He]||{};const jo=Re[He];function Vt(e,t){return jo[e]||t}function No(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var Io=Object.defineProperty,it=Object.getOwnPropertySymbols,Ro=Object.prototype.hasOwnProperty,Ho=Object.prototype.propertyIsEnumerable,ut=(e,t,r)=>t in e?Io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,dt=(e,t)=>{for(var r in t||(t={}))Ro.call(t,r)&&ut(e,r,t[r]);if(it)for(var r of it(t))Ho.call(t,r)&&ut(e,r,t[r]);return e};const Vo={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}};function Uo(e,t,r,n={}){var o;const{flush:a="pre",deep:l=!0,listenToStorageChanges:s=!0,writeDefaults:i=!0,mergeDefaults:u=!1,shallow:c,window:p=ve,eventFilter:g,onError:h=v=>{console.error(v)}}=n,f=(c?Mt:m)(t);if(!r)try{r=Vt("getDefaultStorage",()=>{var v;return(v=ve)==null?void 0:v.localStorage})()}catch(v){h(v)}if(!r)return f;const w=Ce(t),P=No(w),C=(o=n.serializer)!=null?o:Vo[P],{pause:F,resume:N}=To(f,()=>B(f.value),{flush:a,deep:l,eventFilter:g});return p&&s&&Fo(p,"storage",W),W(),f;function B(v){try{if(v==null)r.removeItem(e);else{const b=C.write(v),_=r.getItem(e);_!==b&&(r.setItem(e,b),p&&(p==null||p.dispatchEvent(new StorageEvent("storage",{key:e,oldValue:_,newValue:b,storageArea:r}))))}}catch(b){h(b)}}function A(v){const b=v?v.newValue:r.getItem(e);if(b==null)return i&&w!==null&&r.setItem(e,C.write(w)),w;if(!v&&u){const _=C.read(b);return vo(u)?u(_,w):P==="object"&&!Array.isArray(_)?dt(dt({},w),_):_}else return typeof b!="string"?b:C.read(b)}function W(v){if(!(v&&v.storageArea!==r)){if(v&&v.key==null){f.value=w;return}if(!(v&&v.key!==e)){F();try{f.value=A(v)}catch(b){h(b)}finally{v?De(N):N()}}}}}function Ut(e){return Lo("(prefers-color-scheme: dark)",e)}var zo=Object.defineProperty,ct=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,qo=Object.prototype.propertyIsEnumerable,ft=(e,t,r)=>t in e?zo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Go=(e,t)=>{for(var r in t||(t={}))Wo.call(t,r)&&ft(e,r,t[r]);if(ct)for(var r of ct(t))qo.call(t,r)&&ft(e,r,t[r]);return e};function Qo(e={}){const{selector:t="html",attribute:r="class",initialValue:n="auto",window:o=ve,storage:a,storageKey:l="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:i,emitAuto:u}=e,c=Go({auto:"",light:"light",dark:"dark"},e.modes||{}),p=Ut({window:o}),g=k(()=>p.value?"dark":"light"),h=i||(l==null?m(n):Uo(l,n,a,{window:o,listenToStorageChanges:s})),f=k({get(){return h.value==="auto"&&!u?g.value:h.value},set(F){h.value=F}}),w=Vt("updateHTMLAttrs",(F,N,B)=>{const A=o==null?void 0:o.document.querySelector(F);if(A)if(N==="class"){const W=B.split(/\s/g);Object.values(c).flatMap(v=>(v||"").split(/\s/g)).filter(Boolean).forEach(v=>{W.includes(v)?A.classList.add(v):A.classList.remove(v)})}else A.setAttribute(N,B)});function P(F){var N;const B=F==="auto"?g.value:F;w(t,r,(N=c[B])!=null?N:B)}function C(F){e.onChanged?e.onChanged(F,P):P(F)}return Y(f,C,{flush:"post",immediate:!0}),u&&Y(g,()=>C(f.value),{flush:"post"}),It(()=>C(f.value)),f}var Ko=Object.defineProperty,Jo=Object.defineProperties,Yo=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,Xo=Object.prototype.hasOwnProperty,Zo=Object.prototype.propertyIsEnumerable,vt=(e,t,r)=>t in e?Ko(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,el=(e,t)=>{for(var r in t||(t={}))Xo.call(t,r)&&vt(e,r,t[r]);if(pt)for(var r of pt(t))Zo.call(t,r)&&vt(e,r,t[r]);return e},tl=(e,t)=>Jo(e,Yo(t));function rl(e={}){const{valueDark:t="dark",valueLight:r="",window:n=ve}=e,o=Qo(tl(el({},e),{onChanged:(s,i)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,s==="dark"):i(s)},modes:{dark:t,light:r}})),a=Ut({window:n});return k({get(){return o.value==="dark"},set(s){s===a.value?o.value="auto":o.value=s?"dark":"light"}})}var gt;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(gt||(gt={}));var nl=Object.defineProperty,ht=Object.getOwnPropertySymbols,al=Object.prototype.hasOwnProperty,ol=Object.prototype.propertyIsEnumerable,mt=(e,t,r)=>t in e?nl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ll=(e,t)=>{for(var r in t||(t={}))al.call(t,r)&&mt(e,r,t[r]);if(ht)for(var r of ht(t))ol.call(t,r)&&mt(e,r,t[r]);return e};const sl={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ll({linear:bo},sl);const il=d("i",{"inline-block":"","align-middle":"",i:"dark:carbon-moon carbon-sun"},null,-1),ul={class:"grid place-content-center text-gray-500 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-700 focus:outline-none focus:ring-4 focus:ring-gray-200 dark:focus:ring-gray-700 rounded-lg text-sm p-1.5"},dl={key:0,class:"w-5 h-5"},cl=d("svg",{"aria-hidden":"true",id:"theme-toggle-light-icon",class:"w-5 h-5",fill:"white",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z","fill-rule":"evenodd","clip-rule":"evenodd"})],-1),fl=[cl],pl={key:1,class:"w-5 h-5"},vl=d("svg",{"aria-hidden":"true",id:"theme-toggle-dark-icon",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"})],-1),gl=[vl],hl={__name:"DarkMode",setup(e){const t=rl(),r=_o(t);return(n,o)=>(y(),x("button",{onClick:o[0]||(o[0]=a=>S(r)()),class:"w-8 h-8"},[il,d("span",ul,[S(t)?(y(),x("div",dl,fl)):(y(),x("div",pl,gl))])]))}},ml={class:"p-2 sm:p-4"},yl=["value","selected"],bl={__name:"SelectLanguage",setup(e){var a;const t=et().props;t==null||t.global.options;const r=fa(t.languages),n=ua({language:(a=et().props)==null?void 0:a.language}),o=l=>{n.post(route("language.store"),{language:l})};return(l,s)=>(y(),x("div",ml,[Fe(d("select",{name:"language",id:"language","onUpdate:modelValue":s[0]||(s[0]=i=>S(n).language=i),onChange:o,class:"text-gray-900 dark:text-gray-50 bg-gray-50 dark:bg-gray-800 rounded-lg"},[(y(!0),x(q,null,oe(S(r),i=>(y(),x("option",{value:i.value,key:i.value,selected:i.value===l.$page.props.language},le(i.label),9,yl))),128))],544),[[At,S(n).language]])]))}},wl={};function _l(e,t){const r=Qe("Link");return y(),J(r,{class:"block w-full px-4 py-2 text-left text-sm leading-5 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-800 focus:outline-none focus:bg-gray-100 dark:focus:bg-gray-800 transition duration-150 ease-in-out"},{default:E(()=>[xe(e.$slots,"default")]),_:3})}const yt=Dt(wl,[["render",_l]]),xl={__name:"NavLink",props:["href","active"],setup(e){const t=e,r=k(()=>t.active?"inline-flex items-center px-1 pt-1 border-b-2 border-indigo-400 dark:border-indigo-600 text-sm font-medium leading-5 text-gray-900 dark:text-gray-100 focus:outline-none focus:border-indigo-700 transition duration-150 ease-in-out":"inline-flex items-center px-1 pt-1 border-b-2 border-transparent text-sm font-medium leading-5 text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-300 hover:border-gray-300 dark:hover:border-gray-700 focus:outline-none focus:text-gray-700 dark:focus:text-gray-300 focus:border-gray-300 dark:focus:border-gray-700 transition duration-150 ease-in-out");return(n,o)=>{const a=Qe("Link");return y(),J(a,{href:e.href,class:M(S(r))},{default:E(()=>[xe(n.$slots,"default")]),_:3},8,["href","class"])}}},$l={class:"bg-white dark:bg-gray-800 border-b border-gray-100 dark:border-gray-700"},kl={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},Sl={class:"flex justify-between h-16"},Ol={class:"flex"},El={class:"shrink-0 flex items-center"},Pl={class:"h-6 w-6",stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"},Cl={class:"hidden space-x-8 sm:-my-px sm:ml-10 sm:flex"},Ml={class:"sm:space-y-5 ml-5 space-x-8"},Al={class:"flex items-center sm:ml-6 justify-center"},Tl={class:"ml-3 relative"},Dl={class:"inline-flex rounded-md"},Fl={type:"button",class:"inline-flex items-center px-1 md:px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white dark:bg-gray-800 dark:text-gray-100 hover:text-gray-700 dark:hover:text-gray-300 focus:outline-none transition ease-in-out duration-150 capitalize"},Bl=["src","alt"],Ll={class:"hidden md:block"},jl=d("svg",{class:":ml-2 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[d("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Nl={__name:"Header",props:{isOpenSidebar:Boolean},setup(e){return(t,r)=>(y(),x("div",$l,[d("div",kl,[d("div",Sl,[d("div",Ol,[d("div",El,[d("button",{onClick:r[0]||(r[0]=n=>t.$emit("toggleMenu",!0)),class:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 dark:text-gray-500 hover:text-gray-500 dark:hover:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-900 focus:outline-none focus:bg-gray-100 dark:focus:bg-gray-900 focus:text-gray-500 dark:focus:text-gray-400 transition duration-150 ease-in-out"},[(y(),x("svg",Pl,[d("path",{class:M({"md:hidden":e.isOpenSidebar,"inline-flex":!e.isOpenSidebar}),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"},null,2),d("path",{class:M([{"md:hidden":!e.isOpenSidebar,"inline-flex":e.isOpenSidebar},"hidden md:block"]),"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"},null,2)]))])]),d("div",Cl,[$(xl,{href:t.route("home"),active:!0},{default:E(()=>[re(" Visit website ")]),_:1},8,["href"])]),d("div",Ml,[$(bl)])]),d("div",Al,[$(hl),d("div",Tl,[$(pa,{align:"right",width:"48"},{trigger:E(()=>[d("span",Dl,[d("button",Fl,[d("img",{src:t.$page.props.auth.user.avatar,alt:t.$page.props.auth.user.name,class:"w-8 h-8 rounded-full mr-1 md:mr-2"},null,8,Bl),d("span",Ll,le(t.$page.props.auth.user.name),1),jl])])]),content:E(()=>[$(yt,{href:t.route("profile.edit")},{default:E(()=>[re(" Profile ")]),_:1},8,["href"]),$(yt,{href:t.route("logout"),method:"post",as:"button"},{default:E(()=>[re(" Log Out ")]),_:1},8,["href"])]),_:1})])])])])]))}};function U(e,t,...r){if(e in t){let o=t[e];return typeof o=="function"?o(...r):o}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,U),n}var Ae=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Ae||{}),te=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(te||{});function H({visible:e=!0,features:t=0,ourProps:r,theirProps:n,...o}){var a;let l=Wt(n,r),s=Object.assign(o,{props:l});if(e||t&2&&l.static)return je(s);if(t&1){let i=(a=l.unmount)==null||a?0:1;return U(i,{0(){return null},1(){return je({...o,props:{...l,hidden:!0,style:{display:"none"}}})}})}return je(s)}function je({props:e,attrs:t,slots:r,slot:n,name:o}){var a,l;let{as:s,...i}=qt(e,["unmount","static"]),u=(a=r.default)==null?void 0:a.call(r,n),c={};if(n){let p=!1,g=[];for(let[h,f]of Object.entries(n))typeof f=="boolean"&&(p=!0),f===!0&&g.push(h);p&&(c["data-headlessui-state"]=g.join(" "))}if(s==="template"){if(u=zt(u??[]),Object.keys(i).length>0||Object.keys(t).length>0){let[p,...g]=u??[];if(!Il(p)||g.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${o} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(i).concat(Object.keys(t)).map(w=>w.trim()).filter((w,P,C)=>C.indexOf(w)===P).sort((w,P)=>w.localeCompare(P)).map(w=>` - ${w}`).join(`
+`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(w=>` - ${w}`).join(`
+`)].join(`
+`));let h=Wt((l=p.props)!=null?l:{},i),f=kt(p,h);for(let w in h)w.startsWith("on")&&(f.props||(f.props={}),f.props[w]=h[w]);return f}return Array.isArray(u)&&u.length===1?u[0]:u}return T(s,Object.assign({},i,c),{default:()=>u})}function zt(e){return e.flatMap(t=>t.type===q?zt(t.children):[t])}function Wt(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let n of e)for(let o in n)o.startsWith("on")&&typeof n[o]=="function"?(r[o]!=null||(r[o]=[]),r[o].push(n[o])):t[o]=n[o];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(r).map(n=>[n,void 0])));for(let n in r)Object.assign(t,{[n](o,...a){let l=r[n];for(let s of l){if(o instanceof Event&&o.defaultPrevented)return;s(o,...a)}}});return t}function qt(e,t=[]){let r=Object.assign({},e);for(let n of t)n in r&&delete r[n];return r}function Il(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}let Rl=0;function Hl(){return++Rl}function ie(){return Hl()}var Gt=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(Gt||{});function Q(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}let Qt=Symbol("Context");var se=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(se||{});function Vl(){return Je()!==null}function Je(){return z(Qt,null)}function Ul(e){G(Qt,e)}let zl=class{constructor(){this.current=this.detect(),this.currentId=0}set(t){this.current!==t&&(this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},$e=new zl;function ge(e){if($e.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Q(e);if(t)return t.ownerDocument}return document}let Ve=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var ee=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(ee||{}),Kt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Kt||{}),Wl=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Wl||{});function ql(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Ve)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var Jt=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Jt||{});function Gl(e,t=0){var r;return e===((r=ge(e))==null?void 0:r.body)?!1:U(t,{0(){return e.matches(Ve)},1(){let n=e;for(;n!==null;){if(n.matches(Ve))return!0;n=n.parentElement}return!1}})}function pe(e){e==null||e.focus({preventScroll:!0})}let Ql=["textarea","input"].join(",");function Kl(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Ql))!=null?r:!1}function Jl(e,t=r=>r){return e.slice().sort((r,n)=>{let o=t(r),a=t(n);if(o===null||a===null)return 0;let l=o.compareDocumentPosition(a);return l&Node.DOCUMENT_POSITION_FOLLOWING?-1:l&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ee(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:o=[]}={}){var a;let l=(a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?a:document,s=Array.isArray(e)?r?Jl(e):e:ql(e);o.length>0&&s.length>1&&(s=s.filter(f=>!o.includes(f))),n=n??l.activeElement;let i=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,s.indexOf(n))-1;if(t&4)return Math.max(0,s.indexOf(n))+1;if(t&8)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},p=0,g=s.length,h;do{if(p>=g||p+g<=0)return 0;let f=u+p;if(t&16)f=(f+g)%g;else{if(f<0)return 3;if(f>=g)return 1}h=s[f],h==null||h.focus(c),p+=i}while(h!==l.activeElement);return t&6&&Kl(h)&&h.select(),h.hasAttribute("tabindex")||h.setAttribute("tabindex","0"),2}function Ne(e,t,r){$e.isServer||R(n=>{document.addEventListener(e,t,r),n(()=>document.removeEventListener(e,t,r))})}function Yl(e,t,r=k(()=>!0)){function n(a,l){if(!r.value||a.defaultPrevented)return;let s=l(a);if(s===null||!s.getRootNode().contains(s))return;let i=function u(c){return typeof c=="function"?u(c()):Array.isArray(c)||c instanceof Set?c:[c]}(e);for(let u of i){if(u===null)continue;let c=u instanceof HTMLElement?u:Q(u);if(c!=null&&c.contains(s)||a.composed&&a.composedPath().includes(c))return}return!Gl(s,Jt.Loose)&&s.tabIndex!==-1&&a.preventDefault(),t(a,s)}let o=m(null);Ne("mousedown",a=>{var l,s;r.value&&(o.value=((s=(l=a.composedPath)==null?void 0:l.call(a))==null?void 0:s[0])||a.target)},!0),Ne("click",a=>{!o.value||(n(a,()=>o.value),o.value=null)},!0),Ne("blur",a=>n(a,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Te=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Te||{});let Ue=j({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:r}){return()=>{let{features:n,...o}=e,a={"aria-hidden":(n&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(n&4)===4&&(n&2)!==2&&{display:"none"}}};return H({ourProps:a,theirProps:o,slot:{},attrs:r,slots:t,name:"Hidden"})}}});function Xl(e,t,r){$e.isServer||R(n=>{window.addEventListener(e,t,r),n(()=>window.removeEventListener(e,t,r))})}var we=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(we||{});function Zl(){let e=m(0);return Xl("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function Yt(e,t,r,n){$e.isServer||R(o=>{e=e??window,e.addEventListener(t,r,n),o(()=>e.removeEventListener(t,r,n))})}function es(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}var Xt=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Xt||{});let ye=Object.assign(j({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:Object,default:m(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:r,expose:n}){let o=m(null);n({el:o,$el:o});let a=k(()=>ge(o));ts({ownerDocument:a},k(()=>!!(e.features&16)));let l=rs({ownerDocument:a,container:o,initialFocus:k(()=>e.initialFocus)},k(()=>!!(e.features&2)));ns({ownerDocument:a,container:o,containers:e.containers,previousActiveElement:l},k(()=>!!(e.features&8)));let s=Zl();function i(g){let h=Q(o);h&&(f=>f())(()=>{U(s.value,{[we.Forwards]:()=>{Ee(h,ee.First,{skipElements:[g.relatedTarget]})},[we.Backwards]:()=>{Ee(h,ee.Last,{skipElements:[g.relatedTarget]})}})})}let u=m(!1);function c(g){g.key==="Tab"&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function p(g){var h;let f=new Set((h=e.containers)==null?void 0:h.value);f.add(o);let w=g.relatedTarget;w instanceof HTMLElement&&w.dataset.headlessuiFocusGuard!=="true"&&(Zt(f,w)||(u.value?Ee(Q(o),U(s.value,{[we.Forwards]:()=>ee.Next,[we.Backwards]:()=>ee.Previous})|ee.WrapAround,{relativeTo:g.target}):g.target instanceof HTMLElement&&pe(g.target)))}return()=>{let g={},h={ref:o,onKeydown:c,onFocusout:p},{features:f,initialFocus:w,containers:P,...C}=e;return T(q,[!!(f&4)&&T(Ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:i,features:Te.Focusable}),H({ourProps:h,theirProps:{...t,...C},slot:g,attrs:t,slots:r,name:"FocusTrap"}),!!(f&4)&&T(Ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:i,features:Te.Focusable})])}}}),{features:Xt});function ts({ownerDocument:e},t){let r=m(null);function n(){var a;r.value||(r.value=(a=e.value)==null?void 0:a.activeElement)}function o(){!r.value||(pe(r.value),r.value=null)}D(()=>{Y(t,(a,l)=>{a!==l&&(a?n():o())},{immediate:!0})}),X(o)}function rs({ownerDocument:e,container:t,initialFocus:r},n){let o=m(null),a=m(!1);return D(()=>a.value=!0),X(()=>a.value=!1),D(()=>{Y([t,r,n],(l,s)=>{if(l.every((u,c)=>(s==null?void 0:s[c])===u)||!n.value)return;let i=Q(t);!i||es(()=>{var u,c;if(!a.value)return;let p=Q(r),g=(u=e.value)==null?void 0:u.activeElement;if(p){if(p===g){o.value=g;return}}else if(i.contains(g)){o.value=g;return}p?pe(p):Ee(i,ee.First|ee.NoScroll)===Kt.Error&&console.warn("There are no focusable elements inside the