Merge branch 'develop' into trunk
This commit is contained in:
commit
08b24abcbd
294 changed files with 40902 additions and 1139 deletions
23
.env.example
23
.env.example
|
|
@ -22,12 +22,6 @@ QUEUE_CONNECTION=sync
|
|||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MEMCACHED_HOST=127.0.0.1
|
||||
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
MAIL_MAILER=smtp
|
||||
MAIL_HOST=mailhog
|
||||
MAIL_PORT=1025
|
||||
|
|
@ -37,16 +31,9 @@ MAIL_ENCRYPTION=null
|
|||
MAIL_FROM_ADDRESS=null
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
|
||||
AWS_ACCESS_KEY_ID=
|
||||
AWS_SECRET_ACCESS_KEY=
|
||||
AWS_DEFAULT_REGION=us-east-1
|
||||
AWS_BUCKET=
|
||||
AWS_USE_PATH_STYLE_ENDPOINT=false
|
||||
# USED FOR ERROR HANDLER
|
||||
MAIL_ERRORS="equipe.web@ldc.fr"
|
||||
|
||||
PUSHER_APP_ID=
|
||||
PUSHER_APP_KEY=
|
||||
PUSHER_APP_SECRET=
|
||||
PUSHER_APP_CLUSTER=mt1
|
||||
|
||||
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||
# USED FOR RECAPTCHA V3
|
||||
RECAPTCHA_3_PUB_KEY=""
|
||||
RECAPTCHA_3_PRIV_KEY=""
|
||||
16
.gitignore
vendored
16
.gitignore
vendored
|
|
@ -1,6 +1,17 @@
|
|||
/node_modules
|
||||
/public/hot
|
||||
/public/storage
|
||||
/public/css
|
||||
/public/js
|
||||
/public/images
|
||||
/public/fonts
|
||||
/public/medias
|
||||
/public/uploads
|
||||
/public/assets
|
||||
/public/cache
|
||||
/public/mix-manifest.json
|
||||
.vscode
|
||||
|
||||
/storage/*.key
|
||||
/vendor
|
||||
.env
|
||||
|
|
@ -13,3 +24,8 @@ npm-debug.log
|
|||
yarn-error.log
|
||||
/.idea
|
||||
/.vscode
|
||||
|
||||
/public/.htpasswd
|
||||
/public/.htaccess
|
||||
|
||||
/resourcesLegacy
|
||||
|
|
|
|||
6
.htaccess
Normal file
6
.htaccess
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
SetOutputFilter DEFLATE
|
||||
AddOutputFilterByType DEFLATE "application/atom+xml" "application/javascript" "application/json" "application/ld+json" "application/manifest+json" "application/rdf+xml" "application/rss+xml" "application/schema+json" "application/vnd.geo+json" "application/vnd.ms-fontobject" "application/x-font-ttf" "application/x-javascript" "application/x-web-app-manifest+json" "application/xhtml+xml" "application/xml" "font/eot" "font/opentype" "image/bmp" "image/svg+xml" "image/vnd.microsoft.icon" "image/x-icon" "text/cache-manifest" "text/css" "text/html" "text/javascript" "text/plain" "text/vcard" "text/vnd.rim.location.xloc" "text/vtt" "text/x-component" "text/x-cross-domain-policy" "text/xml"
|
||||
|
||||
# SECTION BEGIN GIT PROTECTION
|
||||
RedirectMatch 404 /\.git
|
||||
# SECTION END GIT PROTECTION
|
||||
81
README.md
81
README.md
|
|
@ -1,64 +1,17 @@
|
|||
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
|
||||
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
|
||||
</p>
|
||||
|
||||
## About Laravel
|
||||
|
||||
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
|
||||
|
||||
- [Simple, fast routing engine](https://laravel.com/docs/routing).
|
||||
- [Powerful dependency injection container](https://laravel.com/docs/container).
|
||||
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
|
||||
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
|
||||
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
|
||||
- [Robust background job processing](https://laravel.com/docs/queues).
|
||||
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
|
||||
|
||||
Laravel is accessible, powerful, and provides tools required for large, robust applications.
|
||||
|
||||
## Learning Laravel
|
||||
|
||||
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
|
||||
|
||||
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
|
||||
|
||||
## Laravel Sponsors
|
||||
|
||||
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
|
||||
|
||||
### Premium Partners
|
||||
|
||||
- **[Vehikl](https://vehikl.com/)**
|
||||
- **[Tighten Co.](https://tighten.co)**
|
||||
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
|
||||
- **[64 Robots](https://64robots.com)**
|
||||
- **[Cubet Techno Labs](https://cubettech.com)**
|
||||
- **[Cyber-Duck](https://cyber-duck.co.uk)**
|
||||
- **[Many](https://www.many.co.uk)**
|
||||
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
|
||||
- **[DevSquad](https://devsquad.com)**
|
||||
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
|
||||
- **[OP.GG](https://op.gg)**
|
||||
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
|
||||
- **[Lendio](https://lendio.com)**
|
||||
|
||||
## Contributing
|
||||
|
||||
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
|
||||
|
||||
## Security Vulnerabilities
|
||||
|
||||
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
|
||||
|
||||
## License
|
||||
|
||||
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
|
||||
# Loué
|
||||
## Installation
|
||||
```
|
||||
cp .env.example .env
|
||||
php artisan key:generate
|
||||
php artisan migrate --seed
|
||||
php artisan storage:link
|
||||
```
|
||||
Front :
|
||||
```
|
||||
npm install && npm run prod
|
||||
```
|
||||
Création d'un compte administrateur :
|
||||
```
|
||||
php artisan user:create
|
||||
```
|
||||
## TODO
|
||||
56
app/Casts/HtmlColor.php
Normal file
56
app/Casts/HtmlColor.php
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
namespace App\Casts;
|
||||
|
||||
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
|
||||
|
||||
/**
|
||||
* Custom cast Html Color
|
||||
* https://laravel.com/docs/8.x/eloquent-mutators#custom-casts
|
||||
*/
|
||||
//phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceAfterLastUsed
|
||||
//phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed
|
||||
class HtmlColor implements CastsAttributes
|
||||
{
|
||||
/**
|
||||
* Cast the given value.
|
||||
*
|
||||
* @param Model $model
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @param array $attributes
|
||||
* @return string
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.ScalarTypeHintMissing
|
||||
*/
|
||||
public function get($model, $key, $value, $attributes)
|
||||
{
|
||||
return "#" . $this->zeropad(dechex($value), 6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the given value for storage.
|
||||
*
|
||||
* @param Model $model
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @param array $attributes
|
||||
* @return integer
|
||||
*/
|
||||
public function set($model, $key, $value, $attributes)
|
||||
{
|
||||
return \intval(hexdec(ltrim($value, '#')));
|
||||
}
|
||||
|
||||
/**
|
||||
* Pad with zeros a numeric string
|
||||
*
|
||||
* @param string $num
|
||||
* @param integer $lim
|
||||
* @return string
|
||||
*/
|
||||
private function zeropad(string $num, int $lim): string
|
||||
{
|
||||
return (strlen($num) >= $lim) ? $num : $this->zeropad("0" . $num, $lim);
|
||||
}
|
||||
}
|
||||
47
app/Casts/NiceDate.php
Normal file
47
app/Casts/NiceDate.php
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace App\Casts;
|
||||
|
||||
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
//phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceAfterLastUsed
|
||||
//phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInImplementedInterfaceBeforeLastUsed
|
||||
class NiceDate implements CastsAttributes
|
||||
{
|
||||
/**
|
||||
* Return a nice human readable carbon date.
|
||||
*
|
||||
* @param Model $model
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @param array $attributes
|
||||
* @return string
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.ScalarTypeHintMissing
|
||||
*/
|
||||
public function get($model, $key, $value, $attributes)
|
||||
{
|
||||
$value = Carbon::parse($value);
|
||||
return $value->isToday() ?
|
||||
trans('Aujourd\'hui à :time', [
|
||||
'time' => $value->isoFormat('HH:mm')
|
||||
]) : $value->isoFormat('YYYY/MM/DD HH:mm');
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse a date string to a date time date.
|
||||
*
|
||||
* @param Model $model
|
||||
* @param string $key
|
||||
* @param mixed $value
|
||||
* @param array $attributes
|
||||
* @return string
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.ScalarTypeHintMissing
|
||||
*/
|
||||
public function set($model, $key, $value, $attributes)
|
||||
{
|
||||
return Carbon::parse($value)->isoFormat('YYYY/MM/DD HH:mm');
|
||||
}
|
||||
}
|
||||
90
app/Console/Commands/CreateAdmin.php
Normal file
90
app/Console/Commands/CreateAdmin.php
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
|
||||
/**
|
||||
* Creates a new user
|
||||
*/
|
||||
class CreateAdmin extends Command
|
||||
{
|
||||
/**
|
||||
* The name and signature of the console command.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $signature = 'user:create';
|
||||
|
||||
/**
|
||||
* The console command description.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $description = 'Create a backend admin user';
|
||||
|
||||
/**
|
||||
* Execute the console command.
|
||||
*
|
||||
* @return integer
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$email = null;
|
||||
while (is_null($email)) {
|
||||
try {
|
||||
$tmp = $this->ask('Type the wanted user email', 'equipe.web@ldc.fr');
|
||||
$validator = Validator::make(['email' => $tmp], [
|
||||
'email' => 'required|unique:users,email|email:rfc,dns'
|
||||
]);
|
||||
$validator->validate();
|
||||
$email = $tmp;
|
||||
} catch (ValidationException $e) {
|
||||
$this->error(sprintf(
|
||||
'Please provide a valid email %s',
|
||||
\implode(',', collect($e->errors())->flatten()->all())
|
||||
));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
$name = null;
|
||||
while (is_null($name)) {
|
||||
try {
|
||||
$tmp = $this->ask('Type the wanted user name', 'Admin');
|
||||
$validator = Validator::make(['name' => $tmp], [
|
||||
'name' => 'required|min:5,max:255'
|
||||
]);
|
||||
$validator->validate();
|
||||
$name = $tmp;
|
||||
} catch (ValidationException $e) {
|
||||
$this->error(sprintf(
|
||||
'Please provide a valid name %s',
|
||||
\implode(',', collect($e->errors())->flatten()->all())
|
||||
));
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
$password = null;
|
||||
while (
|
||||
($password = $this->secret(
|
||||
(!\is_null($password) ? 'Failed to confirm, ' : '') . 'Type the wanted user password'
|
||||
)) !== $this->secret('Confirm the password')
|
||||
) {
|
||||
continue;
|
||||
};
|
||||
|
||||
$admin = new User([
|
||||
'name' => $name,
|
||||
'email' => $email,
|
||||
'password' => $password
|
||||
]);
|
||||
$admin->saveOrFail();
|
||||
|
||||
$this->info('User created.');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -10,12 +10,11 @@ class Kernel extends ConsoleKernel
|
|||
/**
|
||||
* Define the application's command schedule.
|
||||
*
|
||||
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
||||
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
||||
* @return void
|
||||
*/
|
||||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
// $schedule->command('inspire')->hourly();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -25,7 +24,7 @@ class Kernel extends ConsoleKernel
|
|||
*/
|
||||
protected function commands()
|
||||
{
|
||||
$this->load(__DIR__.'/Commands');
|
||||
$this->load(__DIR__ . '/Commands');
|
||||
|
||||
require base_path('routes/console.php');
|
||||
}
|
||||
|
|
|
|||
67
app/Enums/PublishedStatus.php
Normal file
67
app/Enums/PublishedStatus.php
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
use Kwaadpepper\Enum\BaseEnum;
|
||||
|
||||
/**
|
||||
* @method static self draft()
|
||||
* @method static self published()
|
||||
* @method static self archived()
|
||||
*/
|
||||
final class PublishedStatus extends BaseEnum
|
||||
{
|
||||
/**
|
||||
* Enum values
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected static function values(): array
|
||||
{
|
||||
return [
|
||||
'draft' => 0,
|
||||
'published' => 1,
|
||||
'archived' => 2
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Enum labels
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected static function labels(): array
|
||||
{
|
||||
return [
|
||||
'draft' => trans('enums.draft'),
|
||||
'published' => trans('enums.published'),
|
||||
'archived' => trans('enums.archived')
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Enum classes
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected static function icon(): array
|
||||
{
|
||||
return [
|
||||
'draft' => '📝',
|
||||
'published' => '🌍',
|
||||
'archived' => '🗄️'
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $attribute
|
||||
* @return integer|string
|
||||
*/
|
||||
public function __get(string $attribute)
|
||||
{
|
||||
if ($attribute === 'icon') {
|
||||
return $this->icon()[$this->getDefinition()] ?? null;
|
||||
}
|
||||
return parent::__get($attribute);
|
||||
}
|
||||
}
|
||||
41
app/Enums/Sliders/SliderPosition.php
Normal file
41
app/Enums/Sliders/SliderPosition.php
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums\Sliders;
|
||||
|
||||
use Kwaadpepper\Enum\BaseEnum;
|
||||
|
||||
/**
|
||||
* @method static self left()
|
||||
* @method static self center()
|
||||
* @method static self right()
|
||||
*/
|
||||
final class SliderPosition extends BaseEnum
|
||||
{
|
||||
/**
|
||||
* Enum values
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected static function values(): array
|
||||
{
|
||||
return [
|
||||
'left' => 0,
|
||||
'center' => 1,
|
||||
'right' => 2
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Enum labels
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected static function labels(): array
|
||||
{
|
||||
return [
|
||||
'left' => trans('Gauche'),
|
||||
'center' => trans('Centré'),
|
||||
'right' => trans('Droite')
|
||||
];
|
||||
}
|
||||
}
|
||||
35
app/Enums/Sliders/SliderType.php
Normal file
35
app/Enums/Sliders/SliderType.php
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums\Sliders;
|
||||
|
||||
use Kwaadpepper\Enum\BaseEnum;
|
||||
|
||||
/**
|
||||
* @method static self home()
|
||||
*/
|
||||
final class SliderType extends BaseEnum
|
||||
{
|
||||
/**
|
||||
* Enum values
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected static function values(): array
|
||||
{
|
||||
return [
|
||||
'home' => 0,
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Enum labels
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
protected static function labels(): array
|
||||
{
|
||||
return [
|
||||
'home' => trans('Slider de la page d\'accueil'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
use Kwaadpepper\ExceptionHandler\Exceptions\ExceptionHandler;
|
||||
use Throwable;
|
||||
|
||||
class Handler extends ExceptionHandler
|
||||
|
|
@ -13,8 +13,7 @@ class Handler extends ExceptionHandler
|
|||
* @var array<int, class-string<Throwable>>
|
||||
*/
|
||||
protected $dontReport = [
|
||||
//
|
||||
];
|
||||
];
|
||||
|
||||
/**
|
||||
* A list of the inputs that are never flashed for validation exceptions.
|
||||
|
|
@ -35,7 +34,6 @@ class Handler extends ExceptionHandler
|
|||
public function register()
|
||||
{
|
||||
$this->reportable(function (Throwable $e) {
|
||||
//
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
99
app/Http/Controllers/Bo/Auth/LoginController.php
Normal file
99
app/Http/Controllers/Bo/Auth/LoginController.php
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Bo\Auth;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Providers\RouteServiceProvider;
|
||||
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
||||
use Illuminate\Foundation\Auth\ThrottlesLogins;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
|
||||
class LoginController extends Controller
|
||||
{
|
||||
use AuthenticatesUsers;
|
||||
use ThrottlesLogins;
|
||||
|
||||
/**
|
||||
* Where to redirect users after login.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $redirectTo = RouteServiceProvider::HOME;
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest:backend')->except('logout');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the application's login form.
|
||||
*
|
||||
* @return \Illuminate\View\View
|
||||
*/
|
||||
public function showLoginForm()
|
||||
{
|
||||
return view('back.auth.login');
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempt to log the user into the application.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return boolean
|
||||
*/
|
||||
protected function attemptLogin(Request $request)
|
||||
{
|
||||
return Auth::guard('backend')->attempt(
|
||||
$this->credentials($request),
|
||||
$request->filled('remember')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* The user has been authenticated.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param null $user
|
||||
* @return mixed
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing, Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassBeforeLastUsed
|
||||
*/
|
||||
protected function authenticated(Request $request, $user)
|
||||
{
|
||||
/** @var \App\Models\User|null */
|
||||
$user = Auth::guard('backend')->user();
|
||||
if ($user) {
|
||||
$user->last_connection = now();
|
||||
$user->saveOrFail();
|
||||
Session::flash('info', trans('Vous êtes à présent connecté'));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The user has logged out of the application.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return mixed
|
||||
* @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
|
||||
*/
|
||||
protected function loggedOut(Request $request)
|
||||
{
|
||||
Session::flash('info', trans('Vous êtes à présent déconnecté'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the post register / login redirect path.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function redirectPath()
|
||||
{
|
||||
return response()->redirectToRoute('bo.dashboard')->getTargetUrl();
|
||||
}
|
||||
}
|
||||
18
app/Http/Controllers/Bo/HomeController.php
Normal file
18
app/Http/Controllers/Bo/HomeController.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Bo;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class HomeController extends Controller
|
||||
{
|
||||
/**
|
||||
* Dashboard view
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory
|
||||
*/
|
||||
public function dashboard()
|
||||
{
|
||||
return view('back.dashboard');
|
||||
}
|
||||
}
|
||||
152
app/Http/Controllers/Bo/NewsController.php
Normal file
152
app/Http/Controllers/Bo/NewsController.php
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Bo;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\Bo\News\StoreNewsRequest;
|
||||
use App\Http\Requests\Bo\News\UpdateNewsRequest;
|
||||
use App\Models\News;
|
||||
use App\Models\Tag;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class NewsController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
/** @var \Illuminate\Database\Eloquent\Builder $news */
|
||||
$news = News::query();
|
||||
|
||||
if ($request->search) {
|
||||
$this->searchQuery(
|
||||
$news,
|
||||
$request->search,
|
||||
// * Search in tags
|
||||
function ($q) use ($request) {
|
||||
$q->orWhereHas('tags', function ($q) use ($request) {
|
||||
$q->whereRaw(
|
||||
'UPPER(CONCAT(`tags`.`name`)) LIKE UPPER(?)',
|
||||
['%' . filter_var($request->search, FILTER_SANITIZE_STRING) . '%']
|
||||
);
|
||||
});
|
||||
},
|
||||
'title',
|
||||
'content'
|
||||
);
|
||||
}
|
||||
|
||||
$this->sortQuery($news);
|
||||
$searchFields = trans('Titre, Contenu, Tags');
|
||||
|
||||
$news->orderBy('published_at', 'DESC');
|
||||
$news = $news->paginate();
|
||||
|
||||
return view('back.news.index', compact('news', 'searchFields'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
/** @var \Illuminate\Database\Eloquent\Collection */
|
||||
$tags = Tag::query()->select(['id', 'name'])->get();
|
||||
return view('back.news.create', compact('tags'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*
|
||||
* @param \App\Http\Requests\Bo\News\StoreNewsRequest $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function store(StoreNewsRequest $request)
|
||||
{
|
||||
return DB::transaction(function () use ($request) {
|
||||
$news = new News();
|
||||
$news->fill($request->validated());
|
||||
|
||||
if ($news->saveOrFail()) {
|
||||
$news->tags()->sync(collect($request->tags)->pluck('id'));
|
||||
return redirect()
|
||||
->route('back.news.edit', $news)
|
||||
->with('success', trans(
|
||||
':model a été créé',
|
||||
['model' => Str::singular(trans('models.classes.news'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*
|
||||
* @param \App\Models\News $news
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function edit(News $news)
|
||||
{
|
||||
/** @var \Illuminate\Database\Eloquent\Collection */
|
||||
$tags = Tag::whereNotIn('id', $news->tags()->pluck('id'))
|
||||
->select(['id', 'name'])->get();
|
||||
|
||||
return view('back.news.edit', [
|
||||
'newsModel' => $news,
|
||||
'tags' => $tags
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*
|
||||
* @param \App\Http\Requests\Bo\News\UpdateNewsRequest $request
|
||||
* @param \App\Models\News $news
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function update(UpdateNewsRequest $request, News $news)
|
||||
{
|
||||
return DB::transaction(function () use ($request, $news) {
|
||||
$news->fill($request->validated());
|
||||
$news->tags()->sync(collect($request->tags)->pluck('id'));
|
||||
|
||||
if ($news->saveOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.news.edit', $news)
|
||||
->with('success', trans(
|
||||
':model a été mis à jour',
|
||||
['model' => Str::singular(trans('models.classes.news'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*
|
||||
* @param \App\Models\News $news
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function destroy(News $news)
|
||||
{
|
||||
if ($news->deleteOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.news.index')
|
||||
->with('warning', trans(
|
||||
':model a bien été supprimé',
|
||||
['model' => Str::singular(trans('models.classes.news'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
}
|
||||
}
|
||||
187
app/Http/Controllers/Bo/SliderController.php
Normal file
187
app/Http/Controllers/Bo/SliderController.php
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Bo;
|
||||
|
||||
use App\Enums\Sliders\SliderType;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\Bo\ChangeOrderRequest;
|
||||
use App\Http\Requests\Bo\Sliders\StoreSliderRequest;
|
||||
use App\Http\Requests\Bo\Sliders\UpdateSliderRequest;
|
||||
use App\Models\Slider;
|
||||
use App\Traits\UpdateModelStatus;
|
||||
use Illuminate\Database\Eloquent\ModelNotFoundException;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
use Illuminate\Support\Str;
|
||||
use Kwaadpepper\Enum\Exceptions\EnumNotRoutableException;
|
||||
|
||||
class SliderController extends Controller
|
||||
{
|
||||
use UpdateModelStatus;
|
||||
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
/** @var \Illuminate\Database\Eloquent\Builder $sliders */
|
||||
$sliders = Slider::query();
|
||||
|
||||
try {
|
||||
$currentType = SliderType::make(\intval($request->typefilter));
|
||||
} catch (\TypeError | \BadMethodCallException | EnumNotRoutableException $e) {
|
||||
$currentType = SliderType::home();
|
||||
}
|
||||
|
||||
if ($request->search) {
|
||||
$this->searchQuery(
|
||||
$sliders,
|
||||
$request->search,
|
||||
null,
|
||||
'title',
|
||||
'link'
|
||||
);
|
||||
}
|
||||
|
||||
$this->sortQuery($sliders);
|
||||
$searchFields = trans('Titre, Lien');
|
||||
|
||||
$sliders->orderBy('order', 'DESC');
|
||||
$sliders = $sliders->paginate();
|
||||
|
||||
return view('back.sliders.index', compact('sliders', 'searchFields', 'currentType'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('back.sliders.create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*
|
||||
* @param \App\Http\Requests\Bo\Sliders\StoreSliderRequest $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function store(StoreSliderRequest $request)
|
||||
{
|
||||
return DB::transaction(function () use ($request) {
|
||||
$slider = new Slider();
|
||||
$slider->fill($request->validated());
|
||||
|
||||
if ($slider->saveOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.sliders.edit', $slider)
|
||||
->with('success', trans(
|
||||
':model a été créé',
|
||||
['model' => Str::singular(trans('models.classes.sliders'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*
|
||||
* @param \App\Models\Slider $slider
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function edit(Slider $slider)
|
||||
{
|
||||
return view('back.sliders.edit', [
|
||||
'slider' => $slider
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*
|
||||
* @param \App\Http\Requests\Bo\Sliders\UpdateSliderRequest $request
|
||||
* @param \App\Models\Slider $slider
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function update(UpdateSliderRequest $request, Slider $slider)
|
||||
{
|
||||
return DB::transaction(function () use ($request, $slider) {
|
||||
$slider->fill($request->validated());
|
||||
|
||||
if ($slider->saveOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.sliders.edit', $slider)
|
||||
->with('success', trans(
|
||||
':model a été mis à jour',
|
||||
['model' => Str::singular(trans('models.classes.sliders'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*
|
||||
* @param \App\Models\Slider $slider
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function destroy(Slider $slider)
|
||||
{
|
||||
if ($slider->deleteOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.sliders.index')
|
||||
->with('warning', trans(
|
||||
':model a bien été supprimé',
|
||||
['model' => Str::singular(trans('models.classes.sliders'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
}
|
||||
|
||||
/**
|
||||
* Change Item Order
|
||||
*
|
||||
* @param \App\Http\Requests\Bo\ChangeOrderRequest $request
|
||||
* @param \App\Models\Slider $slider
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function changeOrder(ChangeOrderRequest $request, Slider $slider)
|
||||
{
|
||||
try {
|
||||
DB::transaction(function () use ($request, $slider) {
|
||||
$tmp = Slider::query();
|
||||
if ($request->action === 'up') {
|
||||
// * Push Item upward
|
||||
$tmp->where('order', '<', $slider->order)
|
||||
->orderBy('order', 'DESC');
|
||||
} else {
|
||||
// * Push Item downward
|
||||
$tmp->where('order', '>', $slider->order)
|
||||
->orderBy('order', 'ASC');
|
||||
}
|
||||
$tmp->whereType('type', $slider->type);
|
||||
$tmp = $tmp->firstOrFail();
|
||||
$newOrder = $tmp->order;
|
||||
$tmp->order = $slider->order;
|
||||
$slider->order = $newOrder;
|
||||
if (!$slider->saveOrFail() or !$tmp->saveOrFail()) {
|
||||
throw new \ErrorException("Error Processing Request", 1);
|
||||
}
|
||||
});
|
||||
} catch (\ErrorException | ModelNotFoundException $e) {
|
||||
Session::flash('error', trans('Erreur lors de la modification de l\'ordre :message', [
|
||||
'message' => $e->getMessage()
|
||||
]));
|
||||
} //end try
|
||||
|
||||
return redirect()->back();
|
||||
}
|
||||
}
|
||||
132
app/Http/Controllers/Bo/TagController.php
Normal file
132
app/Http/Controllers/Bo/TagController.php
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Bo;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\Bo\Tags\StoreTagRequest;
|
||||
use App\Http\Requests\Bo\Tags\UpdateTagRequest;
|
||||
use App\Models\Tag;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class TagController extends Controller
|
||||
{
|
||||
/**
|
||||
* Display a listing of the resource.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
/** @var \Illuminate\Database\Eloquent\Builder $tags */
|
||||
$tags = Tag::query();
|
||||
|
||||
if ($request->search) {
|
||||
$this->searchQuery(
|
||||
$tags,
|
||||
$request->search,
|
||||
null,
|
||||
'name'
|
||||
);
|
||||
}
|
||||
|
||||
$this->sortQuery($tags);
|
||||
$searchFields = trans('Nom');
|
||||
|
||||
$tags = $tags->paginate();
|
||||
|
||||
return view('back.tags.index', compact('tags', 'searchFields'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for creating a new resource.
|
||||
*
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function create()
|
||||
{
|
||||
return view('back.tags.create');
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*
|
||||
* @param \App\Http\Requests\Bo\Tags\StoreTagRequest $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function store(StoreTagRequest $request)
|
||||
{
|
||||
return DB::transaction(function () use ($request) {
|
||||
$tag = new Tag();
|
||||
$tag->fill($request->validated());
|
||||
|
||||
if ($tag->saveOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.tags.edit', $tag)
|
||||
->with('success', trans(
|
||||
':model a été créé',
|
||||
['model' => Str::singular(trans('models.classes.tags'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the form for editing the specified resource.
|
||||
*
|
||||
* @param \App\Models\Tag $tag
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function edit(Tag $tag)
|
||||
{
|
||||
return view('back.tags.edit', [
|
||||
'tag' => $tag,
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
*
|
||||
* @param \App\Http\Requests\Bo\Tags\UpdateTagRequest $request
|
||||
* @param \App\Models\Tag $tag
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function update(UpdateTagRequest $request, Tag $tag)
|
||||
{
|
||||
return DB::transaction(function () use ($request, $tag) {
|
||||
$tag->fill($request->validated());
|
||||
|
||||
if ($tag->saveOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.tags.edit', $tag)
|
||||
->with('success', trans(
|
||||
':model a été mis à jour',
|
||||
['model' => Str::singular(trans('models.classes.tags'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove the specified resource from storage.
|
||||
*
|
||||
* @param \App\Models\Tag $tag
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function destroy(Tag $tag)
|
||||
{
|
||||
if ($tag->deleteOrFail()) {
|
||||
return redirect()
|
||||
->route('bo.tags.index')
|
||||
->with('warning', trans(
|
||||
':model a bien été supprimé',
|
||||
['model' => Str::singular(trans('models.classes.tags'))]
|
||||
));
|
||||
}
|
||||
return back();
|
||||
}
|
||||
}
|
||||
|
|
@ -2,12 +2,120 @@
|
|||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
||||
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||
use Illuminate\Foundation\Validation\ValidatesRequests;
|
||||
use Illuminate\Routing\Controller as BaseController;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
|
||||
class Controller extends BaseController
|
||||
{
|
||||
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
||||
use AuthorizesRequests;
|
||||
use DispatchesJobs;
|
||||
use ValidatesRequests;
|
||||
|
||||
/**
|
||||
* Build Search query on specified fields
|
||||
* splitting search into words or using whole sentence
|
||||
*
|
||||
* @param Builder $query The eloquent query builder.
|
||||
* @param string $search The query string.
|
||||
* @param callable $searchQuery The query string.
|
||||
* @param string ...$fields Either a simple array or a string
|
||||
* in case of a string the two fields would be concatenate to make the search.
|
||||
* @return Builder
|
||||
*/
|
||||
protected function searchQuery(
|
||||
Builder $query,
|
||||
string $search,
|
||||
callable $searchQuery = null,
|
||||
string ...$fields
|
||||
): Builder {
|
||||
if (count($fields)) {
|
||||
// Search using words.
|
||||
$words = explode(' ', $search);
|
||||
$query->where(function ($query) use ($searchQuery, $words, $search, $fields) {
|
||||
foreach ($words as $word) {
|
||||
if (!strlen($word)) {
|
||||
continue;
|
||||
}
|
||||
$this->searchOnFields($query, $word, $fields);
|
||||
} //end foreach
|
||||
// Search whole using whole sentence.
|
||||
$this->searchOnFields($query, $search, $fields);
|
||||
if ($searchQuery) {
|
||||
$searchQuery($query);
|
||||
}
|
||||
});
|
||||
} //end if
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Build query search on all fields
|
||||
*
|
||||
* @param Builder $query
|
||||
* @param string $search
|
||||
* @param array $fields
|
||||
* @return Builder
|
||||
*/
|
||||
private function searchOnFields(Builder $query, string $search, array $fields): Builder
|
||||
{
|
||||
$table = $query->getModel()->getTable();
|
||||
foreach ($fields as $f) {
|
||||
$f = str_replace('?', '\?', $f);
|
||||
if (is_array($f)) {
|
||||
$query->orWhereRaw(
|
||||
sprintf("UPPER(CONCAT(%s)) LIKE UPPER(?)", collect($f)->map(function ($q) use ($table) {
|
||||
return "`$table`.`$q`";
|
||||
})->implode(', \' \', ')),
|
||||
['%' . filter_var($search, FILTER_SANITIZE_STRING) . '%']
|
||||
);
|
||||
} else {
|
||||
$query->orWhereRaw(
|
||||
"UPPER(`$table`.`$f`) LIKE UPPER(?)",
|
||||
['%' . filter_var($search, FILTER_SANITIZE_STRING) . '%']
|
||||
);
|
||||
}
|
||||
}
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sort columns with a query
|
||||
*
|
||||
* @param Builder $query
|
||||
* @param array $ignore
|
||||
* @return Builder
|
||||
*/
|
||||
protected function sortQuery(Builder $query, array $ignore = []): Builder
|
||||
{
|
||||
$rName = request()->route()->getName();
|
||||
$table = $query->getModel()->getTable();
|
||||
if (request()->sort_col) {
|
||||
Session::put("$rName.sort_col", request()->sort_col);
|
||||
}
|
||||
if (request()->sort_way) {
|
||||
Session::put("$rName.sort_way", request()->sort_way);
|
||||
}
|
||||
if (request()->rst) {
|
||||
Session::remove("$rName.sort_col");
|
||||
Session::remove("$rName.sort_way");
|
||||
}
|
||||
if (request()->sort_col and request()->sort_way and Schema::hasColumn($table, request()->sort_col)) {
|
||||
if (
|
||||
!isset($ignore) or
|
||||
(isset($ignore) and !in_array(request()->sort_col, $ignore))
|
||||
) {
|
||||
$query = $query->orderBy(\sprintf("$table.%s", request()->sort_col), request()->sort_way);
|
||||
}
|
||||
} elseif (Schema::hasColumn($table, 'order')) {
|
||||
$query = $query->orderBy('order', 'ASC');
|
||||
Session::put("$rName.sort_col", 'order');
|
||||
Session::put("$rName.sort_way", 'asc');
|
||||
}
|
||||
return $query;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
18
app/Http/Controllers/Fo/HomeController.php
Normal file
18
app/Http/Controllers/Fo/HomeController.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Fo;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class HomeController extends Controller
|
||||
{
|
||||
/**
|
||||
* Application home page
|
||||
*
|
||||
* @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory
|
||||
*/
|
||||
public function home()
|
||||
{
|
||||
return view('front.home');
|
||||
}
|
||||
}
|
||||
|
|
@ -14,7 +14,7 @@ class Kernel extends HttpKernel
|
|||
* @var array<int, class-string|string>
|
||||
*/
|
||||
protected $middleware = [
|
||||
// \App\Http\Middleware\TrustHosts::class,
|
||||
\App\Http\Middleware\TrustHosts::class,
|
||||
\App\Http\Middleware\TrustProxies::class,
|
||||
\Fruitcake\Cors\HandleCors::class,
|
||||
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
|
||||
|
|
@ -33,17 +33,12 @@ class Kernel extends HttpKernel
|
|||
\App\Http\Middleware\EncryptCookies::class,
|
||||
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||
\Illuminate\Session\Middleware\StartSession::class,
|
||||
// \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||
\Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
],
|
||||
|
||||
'api' => [
|
||||
// \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class,
|
||||
'throttle:api',
|
||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
],
|
||||
\App\Http\Middleware\SecureHeaders::class
|
||||
]
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
@ -63,5 +58,6 @@ class Kernel extends HttpKernel
|
|||
'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class,
|
||||
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||
'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
|
||||
'xss' => \App\Http\Middleware\XssSanitizer::class,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,19 +3,36 @@
|
|||
namespace App\Http\Middleware;
|
||||
|
||||
use Illuminate\Auth\Middleware\Authenticate as Middleware;
|
||||
use Illuminate\Support\Facades\Session;
|
||||
|
||||
class Authenticate extends Middleware
|
||||
{
|
||||
/**
|
||||
* Get the path the user should be redirected to when they are not authenticated.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return string|null
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.TypeHintMissing
|
||||
*/
|
||||
protected function redirectTo($request)
|
||||
{
|
||||
if (! $request->expectsJson()) {
|
||||
$logins = [
|
||||
'backend' => route('bo.login')
|
||||
];
|
||||
if (!$request->expectsJson()) {
|
||||
// * Notify must login
|
||||
Session::flash('warning', trans('Veuillez vous connecter pour continuer'));
|
||||
|
||||
foreach ($request->route()->gatherMiddleware() as $middleware) {
|
||||
if (\is_string($middleware) and strpos($middleware, 'auth:') !== false) {
|
||||
$route = $logins[str_replace('auth:', '', $middleware)] ?? null;
|
||||
if ($route) {
|
||||
return $route;
|
||||
}
|
||||
}
|
||||
}
|
||||
return route('login');
|
||||
}
|
||||
abort(401);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,5 @@ class EncryptCookies extends Middleware
|
|||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $except = [
|
||||
//
|
||||
];
|
||||
protected $except = [];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,5 @@ class PreventRequestsDuringMaintenance extends Middleware
|
|||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $except = [
|
||||
//
|
||||
];
|
||||
protected $except = [];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use App\Providers\RouteServiceProvider;
|
||||
use Closure;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
|
@ -12,18 +11,21 @@ class RedirectIfAuthenticated
|
|||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Closure(\Illuminate\Http\Request): (\Illuminate\Http\Response|\Illuminate\Http\RedirectResponse) $next
|
||||
* @param string|null ...$guards
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Closure $next
|
||||
* @param string|null ...$guards
|
||||
* @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function handle(Request $request, Closure $next, ...$guards)
|
||||
{
|
||||
$logins = [
|
||||
'backend' => route('bo.dashboard')
|
||||
];
|
||||
$guards = empty($guards) ? [null] : $guards;
|
||||
|
||||
foreach ($guards as $guard) {
|
||||
if (Auth::guard($guard)->check()) {
|
||||
return redirect(RouteServiceProvider::HOME);
|
||||
return \redirect()->to($logins[$guard]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
72
app/Http/Middleware/SecureHeaders.php
Normal file
72
app/Http/Middleware/SecureHeaders.php
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Illuminate\Support\Facades\View;
|
||||
|
||||
class SecureHeaders
|
||||
{
|
||||
/**
|
||||
* Enumerate headers which you do not want in your application's responses.
|
||||
* Great starting point would be to go check out @Scott_Helme's:
|
||||
* https://securityheaders.com/
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private $unwantedHeaderList = [
|
||||
'X-Powered-By',
|
||||
'Server',
|
||||
];
|
||||
|
||||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Closure $next
|
||||
* @return \Illuminate\Http\Response|\Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function handle(Request $request, Closure $next)
|
||||
{
|
||||
View::share('nonce', $nonce = \uniqid());
|
||||
// * For VueJS dev tool to execute
|
||||
$jsDev = config('app.debug') ? "'unsafe-eval' 'unsafe-inline'" : "'nonce-$nonce'";
|
||||
$cssDev = config('app.debug') ? "'unsafe-inline'" : "'nonce-$nonce'";
|
||||
$reportUri = Route::has('cspReportUri') ?
|
||||
\sprintf('report-uri %s', \parse_url(route('cspReportUri'), \PHP_URL_PATH)) : '';
|
||||
$this->removeUnwantedHeaders($this->unwantedHeaderList);
|
||||
$response = $next($request);
|
||||
$response->headers->set('Referrer-Policy', 'no-referrer-when-downgrade');
|
||||
$response->headers->set('X-Content-Type-Options', 'nosniff');
|
||||
$response->headers->set('X-XSS-Protection', '1; mode=block');
|
||||
$response->headers->set('X-Frame-Options', 'SAMEORIGIN');
|
||||
$response->headers->set('Strict-Transport-Security', 'max-age=31536000; includeSubDomains;');
|
||||
$cspPolicies = [
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
"style-src 'self' $cssDev;",
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
"script-src 'self' $jsDev;"
|
||||
];
|
||||
$response->headers->set(
|
||||
'Content-Security-Policy',
|
||||
implode(' ', $cspPolicies) . $reportUri
|
||||
);
|
||||
$response->headers->set('Feature-Policy', 'fullscreen \'self\';');
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove unwanted headers
|
||||
*
|
||||
* @param array $headerList
|
||||
* @return void
|
||||
*/
|
||||
private function removeUnwantedHeaders(array $headerList)
|
||||
{
|
||||
foreach ($headerList as $header) {
|
||||
header_remove($header);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ class TrustProxies extends Middleware
|
|||
/**
|
||||
* The headers that should be used to detect proxies.
|
||||
*
|
||||
* @var int
|
||||
* @var integer
|
||||
*/
|
||||
protected $headers =
|
||||
Request::HEADER_X_FORWARDED_FOR |
|
||||
|
|
|
|||
|
|
@ -11,7 +11,5 @@ class VerifyCsrfToken extends Middleware
|
|||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $except = [
|
||||
//
|
||||
];
|
||||
protected $except = [];
|
||||
}
|
||||
|
|
|
|||
47
app/Http/Middleware/XssSanitizer.php
Normal file
47
app/Http/Middleware/XssSanitizer.php
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use App\Lib\ToolboxHelper;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class XssSanitizer
|
||||
{
|
||||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Closure $next
|
||||
* @param mixed ...$params
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle(Request $request, \Closure $next, ...$params)
|
||||
{
|
||||
$inputs = $request->all();
|
||||
array_walk_recursive($inputs, function (&$input, $name) use ($params) {
|
||||
if (!is_string($input)) {
|
||||
return;
|
||||
}
|
||||
if (in_array($name, $params)) {
|
||||
// ? Is a json input ?
|
||||
if ($isJson = \json_decode($input, true) and is_array($isJson)) {
|
||||
// ! Decode each json field recursive.
|
||||
\array_walk_recursive($isJson, function (&$item) {
|
||||
if (\is_string($item)) {
|
||||
$item = clean($item);
|
||||
$item = ToolboxHelper::stripCkEditorSchemesOnMediaInputs($item);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$input = clean($input);
|
||||
$input = ToolboxHelper::stripCkEditorSchemesOnMediaInputs($input);
|
||||
}
|
||||
} else {
|
||||
$input = strip_tags($input);
|
||||
$input = \filter_var($input, FILTER_SANITIZE_STRING);
|
||||
}
|
||||
});
|
||||
$request->merge($inputs);
|
||||
return $next($request);
|
||||
}
|
||||
}
|
||||
43
app/Http/Requests/Bo/ChangeOrderRequest.php
Normal file
43
app/Http/Requests/Bo/ChangeOrderRequest.php
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests\Bo;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class ChangeOrderRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return auth('backend')->check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the data for validation.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function prepareForValidation()
|
||||
{
|
||||
$this->merge([
|
||||
'direction' => $this->action === 'up' ? true : false
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'action' => 'required|string|in:up,down',
|
||||
'direction' => 'required|boolean',
|
||||
];
|
||||
}
|
||||
}
|
||||
80
app/Http/Requests/Bo/News/StoreNewsRequest.php
Normal file
80
app/Http/Requests/Bo/News/StoreNewsRequest.php
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests\Bo\News;
|
||||
|
||||
use App\Enums\PublishedStatus;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use Illuminate\Support\Str;
|
||||
use Kwaadpepper\Enum\Rules\EnumIsValidRule;
|
||||
|
||||
/**
|
||||
* Unicity for fields is handled by model events
|
||||
*/
|
||||
class StoreNewsRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return auth('backend')->check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the data for validation.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function prepareForValidation()
|
||||
{
|
||||
$this->merge([
|
||||
'slug' => Str::slug($this->title),
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'title' => 'required|min:6|max:255',
|
||||
'slug' => 'required|max:255',
|
||||
'seo_title' => 'required|min:53|max:60',
|
||||
'seo_description' => 'required|min:50|max:160',
|
||||
'content' => 'required|string|min:15',
|
||||
'picture' => 'sometimes|image|dimensions:width=300,height=300|mimes:png,jpg,jpeg,gif',
|
||||
'picture_alt' => 'required_with:picture|nullable|string|min:6|max:255',
|
||||
'picture_title' => 'required_with:picture|nullable|string|min:6|max:255',
|
||||
'published' => ['required', new EnumIsValidRule(PublishedStatus::class)],
|
||||
'tags' => 'sometimes|array',
|
||||
'tags.*' => 'required|array',
|
||||
'tags.*.id' => 'required|numeric|exists:tags,id|distinct',
|
||||
'tags.*.name' => 'required|string',
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get custom attributes for validator errors.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function attributes(): array
|
||||
{
|
||||
return [
|
||||
'title' => trans('title'),
|
||||
'slug' => trans('title'),
|
||||
'seo_title' => trans('title') . ' seo',
|
||||
'seo_description' => trans('description') . ' seo',
|
||||
'content' => trans('content'),
|
||||
'picture' => trans('vignette'),
|
||||
'picture_alt' => trans('Texte alternatif de la vignette'),
|
||||
'picture_title' => trans('Titre de la vignette'),
|
||||
'published' => trans('published'),
|
||||
];
|
||||
}
|
||||
}
|
||||
10
app/Http/Requests/Bo/News/UpdateNewsRequest.php
Normal file
10
app/Http/Requests/Bo/News/UpdateNewsRequest.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests\Bo\News;
|
||||
|
||||
/**
|
||||
* Unicity for fields is handled by model events
|
||||
*/
|
||||
class UpdateNewsRequest extends StoreNewsRequest
|
||||
{
|
||||
}
|
||||
76
app/Http/Requests/Bo/Sliders/StoreSliderRequest.php
Normal file
76
app/Http/Requests/Bo/Sliders/StoreSliderRequest.php
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests\Bo\Sliders;
|
||||
|
||||
use App\Enums\Sliders\SliderPosition;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use Kwaadpepper\Enum\Rules\EnumIsValidRule;
|
||||
|
||||
class StoreSliderRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return auth('backend')->check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the data for validation.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function prepareForValidation()
|
||||
{
|
||||
$this->merge([
|
||||
'link_new_tab' => $this->link_new_tab ? true : false,
|
||||
'status' => $this->status ? true : false
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'title' => 'required|min:3|max:255',
|
||||
'title_color' => 'required|color_hex',
|
||||
'title_color_bg' => 'required|color_hex',
|
||||
'position' => ['required', new EnumIsValidRule(SliderPosition::class)],
|
||||
'picture' => 'required|image|dimensions:width=1400,height=630|mimes:png,jpg,jpeg,gif',
|
||||
'link' => 'required|url',
|
||||
'link_title' => 'required|min:3|max:255',
|
||||
'link_color' => 'required|color_hex',
|
||||
'link_color_bg' => 'required|color_hex',
|
||||
'link_new_tab' => 'required|boolean',
|
||||
'status' => 'required|boolean'
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get custom attributes for validator errors.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function attributes(): array
|
||||
{
|
||||
return [
|
||||
'title' => trans('title'),
|
||||
'title_color' => trans('couleur de titre'),
|
||||
'title_color_bg' => trans('couleur de fond du titre'),
|
||||
'position' => trans('position de centrage de l\'image'),
|
||||
'link' => trans('lien'),
|
||||
'link_title' => trans('titre du lien'),
|
||||
'link_color' => trans('couleur du lien'),
|
||||
'link_color_bg' => trans('couleur de fond du lien'),
|
||||
'link_new_tab' => trans('nouvel onglet'),
|
||||
'status' => trans('publication'),
|
||||
];
|
||||
}
|
||||
}
|
||||
18
app/Http/Requests/Bo/Sliders/UpdateSliderRequest.php
Normal file
18
app/Http/Requests/Bo/Sliders/UpdateSliderRequest.php
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests\Bo\Sliders;
|
||||
|
||||
class UpdateSliderRequest extends StoreSliderRequest
|
||||
{
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return \array_merge(parent::rules(), [
|
||||
'picture' => 'sometimes|image|dimensions:width=1400,height=630|mimes:png,jpg,jpeg,gif'
|
||||
]);
|
||||
}
|
||||
}
|
||||
56
app/Http/Requests/Bo/Tags/StoreTagRequest.php
Normal file
56
app/Http/Requests/Bo/Tags/StoreTagRequest.php
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests\Bo\Tags;
|
||||
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class StoreTagRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return auth('backend')->check();
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the data for validation.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function prepareForValidation()
|
||||
{
|
||||
$this->merge([
|
||||
'slug' => Str::slug($this->name),
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function rules()
|
||||
{
|
||||
return [
|
||||
'name' => 'required|string|min:2|max:25'
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get custom attributes for validator errors.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function attributes(): array
|
||||
{
|
||||
return [
|
||||
'name' => trans('name'),
|
||||
'slug' => trans('name')
|
||||
];
|
||||
}
|
||||
}
|
||||
7
app/Http/Requests/Bo/Tags/UpdateTagRequest.php
Normal file
7
app/Http/Requests/Bo/Tags/UpdateTagRequest.php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Requests\Bo\Tags;
|
||||
|
||||
class UpdateTagRequest extends StoreTagRequest
|
||||
{
|
||||
}
|
||||
374
app/Lib/ToolboxHelper.php
Normal file
374
app/Lib/ToolboxHelper.php
Normal file
|
|
@ -0,0 +1,374 @@
|
|||
<?php
|
||||
|
||||
namespace App\Lib;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Http\Request;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Validation\Rule;
|
||||
use Illuminate\Validation\ValidationException;
|
||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
|
||||
class ToolboxHelper
|
||||
{
|
||||
/**
|
||||
* Strip scheme (https) on oembed urls
|
||||
* Only embed allowed are for MP4 self hosted videos right now
|
||||
*
|
||||
* https is force by ckeditor MediaElements which natively supports
|
||||
* only cloud hosted medias (youtube, spotify etc..)
|
||||
*
|
||||
* @param string $input
|
||||
* @return string
|
||||
*/
|
||||
public static function stripCkEditorSchemesOnMediaInputs(string $input): string
|
||||
{
|
||||
$input = \preg_replace('/(?<=<oembed url=")(https:\/\/)(?=.*?">)/m', '', $input);
|
||||
return $input;
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert That no Back Office url is present on txt
|
||||
*
|
||||
* @param string $field
|
||||
* @param string $text
|
||||
* @return string
|
||||
* @throws \Illuminate\Validation\ValidationException If url is a bo url.
|
||||
*/
|
||||
public static function assertNoInternalBoUrls(string $field, string $text): string
|
||||
{
|
||||
$routes = Route::getRoutes();
|
||||
// * Url replace and email replace.
|
||||
$text = preg_replace_callback(
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
'/(?P<url>(?:http[s]?:\/\/.)?(?:www\.)?[-a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b(?:[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*))/',
|
||||
function ($matches) use ($routes, $field) {
|
||||
$match = collect($matches)->first() ?? '';
|
||||
$url = $match;
|
||||
try {
|
||||
$request = Request::create($url);
|
||||
// If a route is match then it do not throws exception.
|
||||
if (
|
||||
\parse_url(config('app.url'), \PHP_URL_HOST) === \parse_url($url, \PHP_URL_HOST) &&
|
||||
trim($routes->match($request)->getPrefix() ?? '', '/') === 'bo'
|
||||
) {
|
||||
// Removes the matched url.
|
||||
throw ValidationException::withMessages([
|
||||
$field => sprintf(
|
||||
'%s : Il est interdit de coller une url du back office dans ce champ',
|
||||
trans($field)
|
||||
)
|
||||
]);
|
||||
}
|
||||
return $match;
|
||||
} catch (NotFoundHttpException $e) {
|
||||
return $match;
|
||||
}
|
||||
},
|
||||
$text
|
||||
);
|
||||
return $text;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get files path uploaded with ckeditor custom upload plugin (crud-policies)
|
||||
*
|
||||
* @param string $text
|
||||
* @param array $detectExtensions
|
||||
* @return array
|
||||
*/
|
||||
public static function getCkEditorLocalUploadedFiles(
|
||||
string $text,
|
||||
array $detectExtensions = ['png', 'svg', 'jpg', 'gif']
|
||||
): array {
|
||||
$out = [];
|
||||
\preg_match_all(
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
'/src="(?P<url>\/storage\/images\/crud-policies\/uploads\/\d{4}-\d{2}-\d{2}\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}-[-a-zA-Z0-9@%._\+~#=]{2,256}\.(?:' . implode('|', $detectExtensions) . '))"/',
|
||||
$text,
|
||||
$out
|
||||
);
|
||||
return collect($out['url'] ?? [])->map(function (string $urlEncodedFilePath) {
|
||||
return \urldecode($urlEncodedFilePath);
|
||||
})->all();
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert That only external url is present on txt
|
||||
*
|
||||
* @param string $field
|
||||
* @param string $text
|
||||
* @return string
|
||||
* @throws \Illuminate\Validation\ValidationException If url is a bo url.
|
||||
*/
|
||||
public static function assertNoInternalUrls(string $field, string $text): string
|
||||
{
|
||||
self::assertNoInternalBoUrls($field, $text);
|
||||
$routes = Route::getRoutes();
|
||||
// * Url replace and email replace.
|
||||
$text = preg_replace_callback(
|
||||
// phpcs:ignore Generic.Files.LineLength.TooLong
|
||||
'/(?P<url>(?:http[s]?:\/\/.)?(?:www\.)?[-a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b(?:[-a-zA-Z0-9@:%_\+.~#?&\/\/=]*))/',
|
||||
function ($matches) use ($routes, $field) {
|
||||
$match = collect($matches)->first() ?? '';
|
||||
$url = $match;
|
||||
try {
|
||||
$request = Request::create($url);
|
||||
// If a route is match then it do not throws exception.
|
||||
if (
|
||||
\parse_url(config('app.url'), \PHP_URL_HOST) === \parse_url($url, \PHP_URL_HOST) &&
|
||||
$routes->match($request)
|
||||
) {
|
||||
// Removes the matched url.
|
||||
throw ValidationException::withMessages([
|
||||
$field => sprintf(
|
||||
'%s : Il est interdit de coller une url de %s dans ce champ',
|
||||
trans($field),
|
||||
config('app.name')
|
||||
)
|
||||
]);
|
||||
}
|
||||
return $match;
|
||||
} catch (NotFoundHttpException $e) {
|
||||
return $match;
|
||||
}
|
||||
},
|
||||
$text
|
||||
);
|
||||
return $text;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates an array from a dot separated string
|
||||
*
|
||||
* @param string $path
|
||||
* @param mixed $value
|
||||
* @param string $separator
|
||||
* @return array
|
||||
*/
|
||||
public static function dotStringToNestedArray(string $path, $value, string $separator = '.'): array
|
||||
{
|
||||
$arr = $value;
|
||||
$keys = array_reverse(explode($separator, $path));
|
||||
|
||||
foreach ($keys as $key) {
|
||||
$arr = [$key => $arr];
|
||||
}
|
||||
return $arr;
|
||||
}
|
||||
|
||||
/**
|
||||
* Destroy image
|
||||
*
|
||||
* @param \Illuminate\Database\Eloquent\Model $model
|
||||
* @param string $attribute
|
||||
* @return void
|
||||
*/
|
||||
public static function removeImage(Model $model, string $attribute)
|
||||
{
|
||||
$path = ltrim($model->{$attribute}, '/');
|
||||
if (File::exists($path) and \strpos($path, 'storage') === 0) {
|
||||
File::delete($path);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Destroy image
|
||||
*
|
||||
* @param \Illuminate\Database\Eloquent\Model $model
|
||||
* @param string $attribute
|
||||
* @return void
|
||||
*/
|
||||
public static function removeOldImage(Model $model, string $attribute)
|
||||
{
|
||||
$originalPath = ltrim($model->getOriginal($attribute), '/');
|
||||
if (File::exists($originalPath) and \strpos($originalPath, 'storage') === 0) {
|
||||
File::delete($originalPath);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Store an image of different types
|
||||
*
|
||||
* @param \Illuminate\Database\Eloquent\Model $model
|
||||
* @param \Illuminate\Http\UploadedFile|\SplFileInfo|string $image
|
||||
* @return string
|
||||
* @throws \ErrorException If file copy fails.
|
||||
*/
|
||||
public static function storeImage(Model $model, $image): string
|
||||
{
|
||||
$table = $model->getTable();
|
||||
if (\is_object($image) and $image instanceof \Illuminate\Http\UploadedFile) {
|
||||
/** @var \Illuminate\Http\UploadedFile $image */
|
||||
$newPath = self::prepareMoveFile($table, \filter_var(
|
||||
\strip_tags(\urldecode($image->getClientOriginalName())),
|
||||
\FILTER_SANITIZE_STRING
|
||||
));
|
||||
$newPath = str_replace(storage_path('app'), '', $newPath);
|
||||
$image->storePubliclyAs(
|
||||
pathinfo($newPath, \PATHINFO_DIRNAME),
|
||||
pathinfo($newPath, \PATHINFO_BASENAME)
|
||||
);
|
||||
return 'storage' . str_replace('/public', '', $newPath);
|
||||
}
|
||||
if (\is_object($image) and $image instanceof \SplFileInfo) {
|
||||
/** @var \SplFileInfo $image */
|
||||
$newPath = self::prepareMoveFile($table, $image->getBaseName());
|
||||
if (!File::copy($image->getRealPath(), $newPath)) {
|
||||
throw new \ErrorException(sprintf(
|
||||
'Failed to copy file %s to %s',
|
||||
$image->getRealPath(),
|
||||
$newPath
|
||||
));
|
||||
}
|
||||
return \ltrim(str_replace(\storage_path('app/public'), '/storage', $newPath), '/');
|
||||
}
|
||||
return strval($image);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare storage path and return
|
||||
* the image full path
|
||||
*
|
||||
* @param string $table Model table name.
|
||||
* @param string $filename The basename for the file.
|
||||
* @return string
|
||||
*/
|
||||
private static function prepareMoveFile(string $table, string $filename): string
|
||||
{
|
||||
$pathFolder = \storage_path(sprintf('app/public/images/%s', $table));
|
||||
if (!File::exists($pathFolder)) {
|
||||
File::makeDirectory($pathFolder, 0755, true);
|
||||
}
|
||||
$filename = sprintf('%s-%s', Str::uuid(), $filename);
|
||||
$fullPath = sprintf('%s/%s', $pathFolder, $filename);
|
||||
if (File::exists($fullPath)) {
|
||||
File::delete($fullPath);
|
||||
}
|
||||
return $fullPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Asserts that the field is unique
|
||||
*
|
||||
* @param string $table
|
||||
* @param string $field
|
||||
* @param mixed $value
|
||||
* @param integer|null $id
|
||||
* @param callable|null $query
|
||||
* @return void
|
||||
* @throws \Illuminate\Validation\ValidationException If the field is not unique.
|
||||
*/
|
||||
public static function assertFieldIsUnique(
|
||||
string $table,
|
||||
string $field,
|
||||
$value,
|
||||
?int $id = null,
|
||||
?callable $query = null
|
||||
) {
|
||||
if (!$query) {
|
||||
Validator::make([$field => $value], [
|
||||
$field => Rule::unique($table, $field)->ignore($id),
|
||||
], [
|
||||
$field . '.unique' => trans('La valeur :value pour le champ :attribute est déjà utilisé', [
|
||||
'attribute' => $field,
|
||||
'value' => $value
|
||||
])
|
||||
])->validate();
|
||||
return;
|
||||
}
|
||||
Validator::make([$field => $value], [
|
||||
$field => Rule::unique($table)->where($query)->ignore($id),
|
||||
], [
|
||||
$field . '.unique' => trans('La valeur pour le champ :attribute est déjà utilisé', [
|
||||
'attribute' => $field
|
||||
])
|
||||
])->validate();
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate recaptcha V3
|
||||
*
|
||||
* @param Request $request
|
||||
* @return void
|
||||
*/
|
||||
public static function validateRecaptchaV3(Request $request)
|
||||
{
|
||||
Validator::validate($request->all(), [
|
||||
'g-recaptcha-response' => [
|
||||
'required', 'string',
|
||||
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed, Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed
|
||||
function ($attribute, $value, $fail) {
|
||||
try {
|
||||
$response = Http::asForm()->post('https://www.google.com/recaptcha/api/siteverify', [
|
||||
'secret' => config('recaptcha.private'),
|
||||
'response' => \strval($value),
|
||||
'remoteip' => app('clientIp')
|
||||
]);
|
||||
if ($e = $response->toException()) {
|
||||
throw $e;
|
||||
}
|
||||
|
||||
if (
|
||||
!$response->json('success') or
|
||||
!$response->json('challenge_ts') or
|
||||
Carbon::parse($response->json('challenge_ts'))->lessThan(\now('utc')->subMinutes(5)) or
|
||||
$response->json('hostname') !== \parse_url(config('app.url'), \PHP_URL_HOST) or
|
||||
!$response->json('score')
|
||||
) {
|
||||
throw new \ErrorException();
|
||||
}
|
||||
if (\floatval($response->json('score')) < 0.8) {
|
||||
$fail('Vous n\'avez pas obtenu un score assez élevé lors de la validation du recaptcha');
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$fail('Erreur lors de la validation du formulaire veuillez réssayer');
|
||||
} //end try
|
||||
}
|
||||
]
|
||||
], [], ['g-recaptcha-response' => 'reCaptcha']);
|
||||
}
|
||||
|
||||
/**
|
||||
* * Register CSP report URI
|
||||
*
|
||||
* Put this function inside RouteServiceProvider,
|
||||
* and call it in RouteServiceProvider::boot
|
||||
*
|
||||
* ! Use this in conjonction with kwaadpepper/exception-handler
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function cspReportRoute()
|
||||
{
|
||||
// * CSP REPORT URI, Please add /csp-report to VerifyCsrfToken $except middleware
|
||||
\Illuminate\Support\Facades\Route::post('/csp-report', function () {
|
||||
$isCspRequest = request()->header('Content-Type') === 'application/csp-report';
|
||||
if (!$isCspRequest or !request()->json('csp-report') or !is_array(request()->json('csp-report'))) {
|
||||
abort(401);
|
||||
}
|
||||
// * Flatten if needed
|
||||
$cspReport = collect(request()->json('csp-report'))
|
||||
->flatMap(function ($v, $k) {
|
||||
return [$k => is_array($v) ? collect($v)->flatten()->implode(', ') : $v];
|
||||
})->all();
|
||||
// * Filter array keys
|
||||
$cspReport = collect(array_intersect_key($cspReport, [
|
||||
'blocked-uri' => '', 'document-uri' => '', 'original-policy' => '',
|
||||
'referrer' => '', 'violated-directive' => ''
|
||||
]));
|
||||
report(new \Illuminate\Http\Client\HttpClientException(sprintf(
|
||||
"CSP REPORT for %s : \n %s",
|
||||
$cspReport->get('document-uri'),
|
||||
$cspReport->implode("\n")
|
||||
)));
|
||||
})->middleware('throttle:5,2')
|
||||
->withoutMiddleware(\App\Http\Middleware\VerifyCsrfToken::class)
|
||||
->name('cspReportUri');
|
||||
}
|
||||
}
|
||||
161
app/Models/News.php
Normal file
161
app/Models/News.php
Normal file
|
|
@ -0,0 +1,161 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Casts\NiceDate;
|
||||
use App\Enums\PublishedStatus;
|
||||
use App\Lib\ToolboxHelper;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Illuminate\Support\Str;
|
||||
use Kwaadpepper\Enum\Traits\CastsEnums;
|
||||
|
||||
class News extends Model
|
||||
{
|
||||
use CastsEnums;
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'title',
|
||||
'slug',
|
||||
'seo_title',
|
||||
'seo_description',
|
||||
'content',
|
||||
'picture',
|
||||
'picture_alt',
|
||||
'picture_title',
|
||||
'published'
|
||||
];
|
||||
|
||||
/**
|
||||
* Map attribute names to enum classes.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $enumCasts = [
|
||||
'published' => PublishedStatus::class
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'published_at' => 'datetime'
|
||||
];
|
||||
|
||||
/**
|
||||
* Perform any actions required after the model boots.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
static::creating(function (self $model) {
|
||||
static::assertTitleIsUnique($model->title);
|
||||
ToolboxHelper::assertNoInternalBoUrls('content', $model->content);
|
||||
$model->slug = Str::slug($model->title);
|
||||
$model->content = clean($model->content);
|
||||
$model->picture = ToolboxHelper::storeImage($model, $model->picture);
|
||||
if ($model->published->equals(PublishedStatus::published())) {
|
||||
$model->published_at = now();
|
||||
}
|
||||
});
|
||||
static::updating(function (self $model) {
|
||||
static::assertTitleIsUnique($model->title, $model->id);
|
||||
ToolboxHelper::assertNoInternalBoUrls('content', $model->content);
|
||||
$model->slug = Str::slug($model->title);
|
||||
$model->content = clean($model->content);
|
||||
// * Update published_at it publish status changed
|
||||
if (
|
||||
$model->published->value != $model->getOriginal('published') and
|
||||
$model->published->equals(PublishedStatus::published())
|
||||
) {
|
||||
$model->published_at = now();
|
||||
}
|
||||
// * Store new picture if changed
|
||||
if ($model->picture != $model->getOriginal('picture')) {
|
||||
$model->picture = ToolboxHelper::storeImage($model, $model->picture);
|
||||
}
|
||||
});
|
||||
static::updated(function (self $model) {
|
||||
// * Remove unused inline uploaded images
|
||||
if ($model->content != $model->getOriginal('content')) {
|
||||
$updatedPicturesPath = collect(
|
||||
ToolboxHelper::getCkEditorLocalUploadedFiles($model->content)
|
||||
);
|
||||
collect(ToolboxHelper::getCkEditorLocalUploadedFiles($model->getOriginal('content')))
|
||||
->map(function (string $originalPicturePath) use ($updatedPicturesPath) {
|
||||
// * If a picture is not used anymore
|
||||
if (!$updatedPicturesPath->contains($originalPicturePath)) {
|
||||
if (File::exists(\public_path($originalPicturePath))) {
|
||||
File::delete(\public_path($originalPicturePath));
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
if ($model->picture != $model->getOriginal('picture')) {
|
||||
$model->picture = ToolboxHelper::removeOldImage($model, 'picture');
|
||||
}
|
||||
});
|
||||
static::deleting(function (self $model) {
|
||||
ToolboxHelper::removeImage($model, 'picture');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the route key for the model.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRouteKeyName(): string
|
||||
{
|
||||
return 'slug';
|
||||
}
|
||||
|
||||
// * RELATIONSHIPS
|
||||
|
||||
/**
|
||||
* MorphToMany tags relation
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\MorphToMany
|
||||
*/
|
||||
public function tags()
|
||||
{
|
||||
return $this->morphToMany(Tag::class, 'taggable');
|
||||
}
|
||||
|
||||
// * METHODS
|
||||
|
||||
/**
|
||||
* Asserts using validation that the title is unique
|
||||
*
|
||||
* @param mixed $title
|
||||
* @param integer|null $id
|
||||
* @return void
|
||||
* @throws \Illuminate\Validation\ValidationException If an actu title already exists.
|
||||
*/
|
||||
private static function assertTitleIsUnique($title, ?int $id = null)
|
||||
{
|
||||
$table = (new self())->getTable();
|
||||
ToolboxHelper::assertFieldIsUnique($table, 'title', $title, $id);
|
||||
ToolboxHelper::assertFieldIsUnique($table, 'slug', Str::slug($title), $id);
|
||||
}
|
||||
|
||||
/**
|
||||
* updated_at_date getter
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdatedAtDateAttribute(): string
|
||||
{
|
||||
return (new NiceDate())->get($this, 'published_at', $this->published_at, []);
|
||||
}
|
||||
}
|
||||
108
app/Models/Slider.php
Normal file
108
app/Models/Slider.php
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Casts\HtmlColor;
|
||||
use App\Casts\NiceDate;
|
||||
use App\Enums\Sliders\SliderPosition;
|
||||
use App\Enums\Sliders\SliderType;
|
||||
use App\Lib\ToolboxHelper;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Kwaadpepper\Enum\Traits\CastsEnums;
|
||||
|
||||
class Slider extends Model
|
||||
{
|
||||
use CastsEnums;
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'title',
|
||||
'title_color',
|
||||
'title_color_bg',
|
||||
'subtitle',
|
||||
'subtitle_color',
|
||||
'subtitle_color_bg',
|
||||
'position',
|
||||
'type',
|
||||
'picture',
|
||||
'link',
|
||||
'link_title',
|
||||
'link_color',
|
||||
'link_color_bg',
|
||||
'link_new_tab',
|
||||
'status',
|
||||
'order'
|
||||
];
|
||||
|
||||
/**
|
||||
* Map attribute names to enum classes.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $enumCasts = [
|
||||
'position' => SliderPosition::class,
|
||||
'type' => SliderType::class
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'title_color' => HtmlColor::class,
|
||||
'title_color_bg' => HtmlColor::class,
|
||||
'subtitle_color' => HtmlColor::class,
|
||||
'subtitle_color_bg' => HtmlColor::class,
|
||||
'link_color' => HtmlColor::class,
|
||||
'link_color_bg' => HtmlColor::class,
|
||||
'link_new_tab' => 'bool',
|
||||
'status' => 'bool'
|
||||
];
|
||||
|
||||
/**
|
||||
* Perform any actions required after the model boots.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
static::creating(function (self $model) {
|
||||
ToolboxHelper::assertNoInternalBoUrls('link', $model->link);
|
||||
$model->picture = ToolboxHelper::storeImage($model, $model->picture);
|
||||
$model->order = self::whereType($model->type)->max('order') ?? 0;
|
||||
});
|
||||
static::updating(function (self $model) {
|
||||
ToolboxHelper::assertNoInternalBoUrls('link', $model->link);
|
||||
if ($model->picture != $model->getOriginal('picture')) {
|
||||
$model->picture = ToolboxHelper::storeImage($model, $model->picture);
|
||||
}
|
||||
});
|
||||
static::updated(function (self $model) {
|
||||
if ($model->picture != $model->getOriginal('picture')) {
|
||||
$model->picture = ToolboxHelper::removeOldImage($model, 'picture');
|
||||
}
|
||||
});
|
||||
static::deleting(function (self $model) {
|
||||
ToolboxHelper::removeImage($model, 'picture');
|
||||
});
|
||||
}
|
||||
|
||||
// * METHODS
|
||||
|
||||
/**
|
||||
* updated_at_date getter
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdatedAtDateAttribute(): string
|
||||
{
|
||||
return (new NiceDate())->get($this, 'updated_at', $this->updated_at, []);
|
||||
}
|
||||
}
|
||||
74
app/Models/Tag.php
Normal file
74
app/Models/Tag.php
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Lib\ToolboxHelper;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class Tag extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* Indicates if the model should be timestamped.
|
||||
*
|
||||
* @var boolean
|
||||
*/
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name'
|
||||
];
|
||||
|
||||
/**
|
||||
* Perform any actions required after the model boots.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
static::creating(function (Tag $tag) {
|
||||
static::assertNameIsUnique($tag->name);
|
||||
$tag->slug = Str::slug($tag->name);
|
||||
});
|
||||
static::updating(function (Tag $tag) {
|
||||
static::assertNameIsUnique($tag->name, $tag->id);
|
||||
$tag->slug = Str::slug($tag->name);
|
||||
});
|
||||
}
|
||||
|
||||
// * RELATIONSHIPS
|
||||
|
||||
/**
|
||||
* MorphToMany actus relation
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\MorphToMany
|
||||
*/
|
||||
public function actus()
|
||||
{
|
||||
return $this->morphedByMany(Actu::class, 'taggable');
|
||||
}
|
||||
// * METHODS
|
||||
|
||||
/**
|
||||
* Asserts using validation that the name is unique
|
||||
*
|
||||
* @param mixed $name
|
||||
* @param integer|null $id
|
||||
* @return void
|
||||
* @throws \Illuminate\Validation\ValidationException If a tag name already exists.
|
||||
*/
|
||||
private static function assertNameIsUnique($name, ?int $id = null)
|
||||
{
|
||||
$table = (new self())->getTable();
|
||||
ToolboxHelper::assertFieldIsUnique($table, 'name', $name, $id);
|
||||
ToolboxHelper::assertFieldIsUnique($table, 'slug', Str::slug($name), $id);
|
||||
}
|
||||
}
|
||||
|
|
@ -2,15 +2,19 @@
|
|||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Contracts\Auth\MustVerifyEmail;
|
||||
use App\Lib\ToolboxHelper;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Illuminate\Support\Str;
|
||||
use Laravel\Sanctum\HasApiTokens;
|
||||
|
||||
class User extends Authenticatable
|
||||
{
|
||||
use HasApiTokens, HasFactory, Notifiable;
|
||||
use HasApiTokens;
|
||||
use HasFactory;
|
||||
use Notifiable;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
|
|
@ -40,5 +44,45 @@ class User extends Authenticatable
|
|||
*/
|
||||
protected $casts = [
|
||||
'email_verified_at' => 'datetime',
|
||||
'last_connection' => 'datetime',
|
||||
];
|
||||
|
||||
/**
|
||||
* Perform any actions required after the model boots.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected static function booted()
|
||||
{
|
||||
// * EVENT CLOSURES.
|
||||
static::creating(function (self $user) {
|
||||
static::assertEmailIsUnique($user->email);
|
||||
if (Hash::needsRehash($user->password)) {
|
||||
$user->password = Hash::make($user->password);
|
||||
}
|
||||
$user->remember_token = Str::random(10);
|
||||
});
|
||||
static::updating(function (self $user) {
|
||||
static::assertEmailIsUnique($user->email, $user->id);
|
||||
if (Hash::needsRehash($user->password)) {
|
||||
$user->password = Hash::make($user->password);
|
||||
}
|
||||
$user->remember_token = Str::random(10);
|
||||
});
|
||||
}
|
||||
|
||||
// * METHODS
|
||||
|
||||
/**
|
||||
* Asserts using validation that the email is unique
|
||||
*
|
||||
* @param mixed $email
|
||||
* @param integer|null $id
|
||||
* @return void
|
||||
* @throws \Illuminate\Validation\ValidationException If user email as already used.
|
||||
*/
|
||||
private static function assertEmailIsUnique($email, ?int $id = null)
|
||||
{
|
||||
ToolboxHelper::assertFieldIsUnique((new self())->getTable(), 'email', $email, $id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,20 +2,13 @@
|
|||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Pagination\Paginator;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
|
|
@ -23,6 +16,34 @@ class AppServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
URL::forceScheme('https');
|
||||
|
||||
// * LOCAL FORCE eg: for Carbon
|
||||
// * Remove numeric to prevent float seperator to breaking numeric transactions
|
||||
\collect([\LC_TIME, \LC_MESSAGES, \LC_COLLATE, \LC_CTYPE, \LC_MONETARY])
|
||||
->map(function ($contant) {
|
||||
setlocale(
|
||||
$contant,
|
||||
\sprintf(
|
||||
'%s_%s.UTF-8',
|
||||
config('app.locale'),
|
||||
\strtoupper(config('app.locale'))
|
||||
)
|
||||
);
|
||||
});
|
||||
Carbon::setLocale(config('app.locale'));
|
||||
|
||||
// * Force bootstrap paginator
|
||||
Paginator::useBootstrap();
|
||||
|
||||
// * HA PROXY FIX
|
||||
app()->singleton('clientIp', function () {
|
||||
if (
|
||||
config('app.env') === 'local'
|
||||
) {
|
||||
return request()->getClientIp();
|
||||
}
|
||||
return request()->server('HTTP_X_FORWARDED_FOR') ?? request()->getClientIp();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
|
||||
class AuthServiceProvider extends ServiceProvider
|
||||
{
|
||||
|
|
@ -12,9 +11,7 @@ class AuthServiceProvider extends ServiceProvider
|
|||
*
|
||||
* @var array<class-string, class-string>
|
||||
*/
|
||||
protected $policies = [
|
||||
// 'App\Models\Model' => 'App\Policies\ModelPolicy',
|
||||
];
|
||||
protected $policies = [];
|
||||
|
||||
/**
|
||||
* Register any authentication / authorization services.
|
||||
|
|
@ -24,7 +21,5 @@ class AuthServiceProvider extends ServiceProvider
|
|||
public function boot()
|
||||
{
|
||||
$this->registerPolicies();
|
||||
|
||||
//
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,21 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class BroadcastServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
Broadcast::routes();
|
||||
|
||||
require base_path('routes/channels.php');
|
||||
}
|
||||
}
|
||||
|
|
@ -5,7 +5,6 @@ namespace App\Providers;
|
|||
use Illuminate\Auth\Events\Registered;
|
||||
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
use Illuminate\Support\Facades\Event;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider
|
||||
{
|
||||
|
|
@ -27,6 +26,5 @@ class EventServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
namespace App\Providers;
|
||||
|
||||
use App\Lib\ToolboxHelper;
|
||||
use App\Models\News;
|
||||
use App\Models\Slider;
|
||||
use Illuminate\Cache\RateLimiting\Limit;
|
||||
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
|
||||
use Illuminate\Http\Request;
|
||||
|
|
@ -19,15 +22,6 @@ class RouteServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public const HOME = '/home';
|
||||
|
||||
/**
|
||||
* The controller namespace for the application.
|
||||
*
|
||||
* When present, controller route declarations will automatically be prefixed with this namespace.
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
// protected $namespace = 'App\\Http\\Controllers';
|
||||
|
||||
/**
|
||||
* Define your route model bindings, pattern filters, etc.
|
||||
*
|
||||
|
|
@ -37,15 +31,23 @@ class RouteServiceProvider extends ServiceProvider
|
|||
{
|
||||
$this->configureRateLimiting();
|
||||
|
||||
ToolboxHelper::cspReportRoute();
|
||||
|
||||
$this->routes(function () {
|
||||
Route::prefix('api')
|
||||
->middleware('api')
|
||||
Route::middleware('web')
|
||||
->namespace($this->namespace)
|
||||
->group(base_path('routes/api.php'));
|
||||
->group(base_path('routes/web-bo.php'));
|
||||
|
||||
Route::middleware('web')
|
||||
->namespace($this->namespace)
|
||||
->group(base_path('routes/web.php'));
|
||||
->group(base_path('routes/web-fo.php'));
|
||||
});
|
||||
|
||||
Route::model('slider', Slider::class);
|
||||
Route::model('news', News::class, function ($value) {
|
||||
return News::where(function ($q) use ($value) {
|
||||
$q->whereSlug($value)->orWhere('id', $value);
|
||||
})->firstOrFail();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -56,8 +58,8 @@ class RouteServiceProvider extends ServiceProvider
|
|||
*/
|
||||
protected function configureRateLimiting()
|
||||
{
|
||||
RateLimiter::for('api', function (Request $request) {
|
||||
return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip());
|
||||
RateLimiter::for('web', function (Request $request) {
|
||||
return Limit::perMinute(150)->by(optional($request->user())->id ?: app('clientIp'));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
77
app/Providers/TranslationServiceProvider.php
Normal file
77
app/Providers/TranslationServiceProvider.php
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class TranslationServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap the application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
foreach ($this->collectLocalesStrings() as $locale) {
|
||||
// * Suported locales
|
||||
Cache::rememberForever(sprintf('translations.%s', $locale), function () use ($locale) {
|
||||
$translations = [
|
||||
'php' => $this->phpTranslations($locale),
|
||||
'json' => $this->jsonTranslations($locale),
|
||||
];
|
||||
return $translations;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gather provided langs checking from files
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
private function collectLocalesStrings(): Collection
|
||||
{
|
||||
return collect(File::allFiles(resource_path('lang/')))->flatMap(function ($file) {
|
||||
if ($file->getRelativePath()) {
|
||||
return [$file->getRelativePath() => ''];
|
||||
}
|
||||
})->keys();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gather all php translations
|
||||
*
|
||||
* @param string $locale
|
||||
* @return array
|
||||
*/
|
||||
private function phpTranslations(string $locale): array
|
||||
{
|
||||
$path = resource_path("lang/$locale");
|
||||
|
||||
return collect(File::allFiles($path))->flatMap(function ($file) use ($locale) {
|
||||
$translation = $file->getBasename('.php');
|
||||
return [$translation => trans($translation, [], $locale)];
|
||||
})->all();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gather json translations
|
||||
*
|
||||
* @param string $locale
|
||||
* @return array
|
||||
*/
|
||||
private function jsonTranslations(string $locale): array
|
||||
{
|
||||
$path = resource_path("lang/$locale.json");
|
||||
|
||||
if (is_string($path) && is_readable($path)) {
|
||||
return json_decode(file_get_contents($path), true) ?? [];
|
||||
}
|
||||
|
||||
return [];
|
||||
}
|
||||
}
|
||||
144
app/Traits/HasPicture.php
Normal file
144
app/Traits/HasPicture.php
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
use Illuminate\Support\Facades\File;
|
||||
|
||||
trait HasPicture
|
||||
{
|
||||
/**
|
||||
* Images rules
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function pictureRule(): array
|
||||
{
|
||||
return [
|
||||
'picture' => [
|
||||
'required',
|
||||
function (string $attribute, $value, callable $fail) {
|
||||
return $this->validatePicture($attribute, $value, $fail);
|
||||
}
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Images rules
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function pictureRules(): array
|
||||
{
|
||||
return [
|
||||
'pictures' => 'sometimes|array',
|
||||
'pictureValidate' => 'required_with:pictures|array',
|
||||
'pictureValidate.*' => [
|
||||
'required',
|
||||
function (string $attribute, $value, callable $fail) {
|
||||
return $this->validatePicture($attribute, $value, $fail);
|
||||
}
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate picture
|
||||
*
|
||||
* @param string $attribute
|
||||
* @param mixed $value
|
||||
* @param callback $fail
|
||||
* @return void
|
||||
* @phpcs:disable Generic.CodeAnalysis.UnusedFunctionParameter.FoundBeforeLastUsed
|
||||
*/
|
||||
private function validatePicture(string $attribute, $value, callable $fail)
|
||||
{
|
||||
if (!File::exists($value)) {
|
||||
$fail(trans(":attribute n'existe pas dans le système de fichier"));
|
||||
return;
|
||||
}
|
||||
if (!\in_array(File::mimeType($value), ['image/jpeg', 'image/jpg', 'image/png'])) {
|
||||
$fail(trans(":attribute doit être une image de type 'image/jpeg,image/jpg,image/png'"));
|
||||
}
|
||||
if (!($dimensions = \getimagesize($value)) or !isset($dimensions[0]) or !isset($dimensions[1])) {
|
||||
$fail(trans(":attribute impossible de valider les dimensions"));
|
||||
} else {
|
||||
$minWith = 400;
|
||||
$maxWith = 1800;
|
||||
$minHeight = 300;
|
||||
$maxHeight = 1800;
|
||||
$width = intval($dimensions[0]);
|
||||
$height = intval($dimensions[1]);
|
||||
if (($width < $minWith) or ($width > $maxWith)) {
|
||||
$fail(trans(":attribute la largeur doit être comprise entre $minWith et $maxWith"));
|
||||
}
|
||||
if (($height < $minHeight) or ($height > $maxHeight)) {
|
||||
$fail(trans(":attribute la hauteur doit être comprise entre $minHeight et $maxHeight"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Merges products pictures fields with request data
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function mergePicture(): void
|
||||
{
|
||||
$picturePath = $this->picture;
|
||||
if (is_string($picturePath)) {
|
||||
$this->merge(['pictureValidate' => []]);
|
||||
// ! Empty picture.
|
||||
if ($picturePath === 'false') {
|
||||
// * Empty picture and exit
|
||||
$this->merge(['pictures' => []]);
|
||||
return;
|
||||
}
|
||||
$decodedPath = \urldecode($picturePath);
|
||||
$this->merge([
|
||||
'pictureValidate' => array_merge(
|
||||
$this->pictureValidate,
|
||||
[\public_path(ltrim($decodedPath, '/'))]
|
||||
)
|
||||
]);
|
||||
$changedPicture = $this->picture;
|
||||
$changedPicture = ltrim($decodedPath, '/');
|
||||
$this->merge([
|
||||
'picture' => $changedPicture
|
||||
]);
|
||||
} //end if
|
||||
}
|
||||
|
||||
/**
|
||||
* Merges products pictures fields with request data
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function mergePictures(): void
|
||||
{
|
||||
$pictures = $this->pictures;
|
||||
if (is_array($pictures)) {
|
||||
$this->merge(['pictureValidate' => []]);
|
||||
foreach ($pictures as $key => $picturePath) {
|
||||
// ! Empty picture.
|
||||
if ($picturePath === 'false') {
|
||||
// * Empty picture and exit
|
||||
$this->merge(['pictures' => []]);
|
||||
return;
|
||||
}
|
||||
$decodedPath = \urldecode($picturePath);
|
||||
$this->merge([
|
||||
'pictureValidate' => array_merge(
|
||||
$this->pictureValidate,
|
||||
[\public_path(ltrim($decodedPath, '/'))]
|
||||
)
|
||||
]);
|
||||
$changedPicture = $this->pictures;
|
||||
$changedPicture[$key] = ltrim($decodedPath, '/');
|
||||
$this->merge([
|
||||
'pictures' => $changedPicture
|
||||
]);
|
||||
}
|
||||
} //end if
|
||||
}
|
||||
}
|
||||
103
app/Traits/MiniCrudModel.php
Normal file
103
app/Traits/MiniCrudModel.php
Normal file
|
|
@ -0,0 +1,103 @@
|
|||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
use App\Enums\InputType;
|
||||
use App\Lib\ToolboxHelper;
|
||||
|
||||
trait MiniCrudModel
|
||||
{
|
||||
/**
|
||||
* Fill the model with an array of attributes.
|
||||
*
|
||||
* @param array $attributes
|
||||
* @return void
|
||||
* @throws \Illuminate\Database\Eloquent\MassAssignmentException If fill prop is not allowed.
|
||||
* @phpcs:disable Squiz.Commenting.FunctionComment.EmptyThrows
|
||||
*/
|
||||
public function fill(array $attributes)
|
||||
{
|
||||
parent::fill($attributes);
|
||||
if (isset($attributes['data'])) {
|
||||
$this->setData($attributes['data']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a specific prop
|
||||
*
|
||||
* @param array $data
|
||||
* @return void
|
||||
*/
|
||||
private function setData(array $data): void
|
||||
{
|
||||
$attrs = $this->attributes;
|
||||
if (isset($attrs['data'])) {
|
||||
unset($attrs['data']);
|
||||
}
|
||||
$data = $this->serializeData($data);
|
||||
$this->setRawAttributes(\array_merge_recursive(
|
||||
$attrs,
|
||||
['data' => $data]
|
||||
));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get data attribute
|
||||
* Cast json_decode to object.
|
||||
*
|
||||
* @return object|null
|
||||
*/
|
||||
protected function getDataAttribute(): ?object
|
||||
{
|
||||
return \json_decode($this->getAttributes()['data'] ?? '[]');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get data attribute
|
||||
* Cast json_decode to object.
|
||||
*
|
||||
* @param array $data
|
||||
* @return void
|
||||
*/
|
||||
protected function setDataAttribute(array $data): void
|
||||
{
|
||||
$this->setData($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Serialize properties
|
||||
*
|
||||
* @param array $data
|
||||
* @return string
|
||||
* @throws \ErrorException If input type is no handled.
|
||||
* @throws \Illuminate\Validation\ValidationException If url is a bo url.
|
||||
* @phpcs:disable Squiz.Commenting.FunctionCommentThrowTag.WrongNumber
|
||||
* @phpcs:disable Generic.Metrics.CyclomaticComplexity.TooHigh
|
||||
*/
|
||||
private function serializeData(array $data): string
|
||||
{
|
||||
foreach ($data as $o => $input) {
|
||||
switch ($input['inputType']->value ?? $input['inputType']['value']) {
|
||||
case InputType::image()->value:
|
||||
$data[$o]['value'] = ToolboxHelper::storeImage($this->getTable(), $input['value']);
|
||||
break;
|
||||
case InputType::boolean()->value:
|
||||
case InputType::text()->value:
|
||||
case InputType::number()->value:
|
||||
case InputType::string()->value:
|
||||
case InputType::videoVimeo()->value:
|
||||
break;
|
||||
case InputType::url()->value:
|
||||
ToolboxHelper::assertNoInternalBoUrls('content', $input['value']);
|
||||
break;
|
||||
default:
|
||||
throw new \ErrorException(sprintf(
|
||||
'Unknown input Type %s',
|
||||
$input['inputType']->label ?? $input['inputType']['label']
|
||||
));
|
||||
}
|
||||
}//end foreach
|
||||
return json_encode($data);
|
||||
}
|
||||
}
|
||||
26
app/Traits/UpdateModelStatus.php
Normal file
26
app/Traits/UpdateModelStatus.php
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* This trait works with Route::bind in App service provider
|
||||
* to resolve the model and the DB row
|
||||
* It does not work with binder Service
|
||||
*/
|
||||
trait UpdateModelStatus
|
||||
{
|
||||
/**
|
||||
* Change model published
|
||||
*
|
||||
* @param Model $model
|
||||
* @return \Illuminate\Http\RedirectResponse
|
||||
*/
|
||||
public function changePublished(Model $model)
|
||||
{
|
||||
$model->status = !$model->status;
|
||||
$model->saveOrFail();
|
||||
return redirect()->back();
|
||||
}
|
||||
}
|
||||
|
|
@ -6,11 +6,20 @@
|
|||
"license": "MIT",
|
||||
"require": {
|
||||
"php": "^7.3|^8.0",
|
||||
"diglactic/laravel-breadcrumbs": "^7.2",
|
||||
"fruitcake/laravel-cors": "^2.0",
|
||||
"guzzlehttp/guzzle": "^7.0.1",
|
||||
"kaishiyoku/laravel-color-validation": "^1.6",
|
||||
"kwaadpepper/crud-policies": "^0.4.0",
|
||||
"kwaadpepper/enum": "^2.1",
|
||||
"kwaadpepper/exception-handler": "^0.0.8",
|
||||
"laravel/framework": "^8.75",
|
||||
"laravel/sanctum": "^2.11",
|
||||
"laravel/tinker": "^2.5"
|
||||
"laravel/tinker": "^2.5",
|
||||
"laravel/ui": "^3.4",
|
||||
"mews/purifier": "^3.3",
|
||||
"slevomat/coding-standard": "^7.2",
|
||||
"spatie/laravel-mix-preload": "^1.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"facade/ignition": "^2.5",
|
||||
|
|
@ -55,7 +64,10 @@
|
|||
"config": {
|
||||
"optimize-autoloader": true,
|
||||
"preferred-install": "dist",
|
||||
"sort-packages": true
|
||||
"sort-packages": true,
|
||||
"allow-plugins": {
|
||||
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||
}
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
|
|
|
|||
1511
composer.lock
generated
1511
composer.lock
generated
File diff suppressed because it is too large
Load diff
189
config/app.php
189
config/app.php
|
|
@ -3,53 +3,53 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value is the name of your application. This value is used when the
|
||||
| framework needs to place the application's name in a notification or
|
||||
| any other location as required by the application or its packages.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value is the name of your application. This value is used when the
|
||||
| framework needs to place the application's name in a notification or
|
||||
| any other location as required by the application or its packages.
|
||||
|
|
||||
*/
|
||||
|
||||
'name' => env('APP_NAME', 'Laravel'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Environment
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines the "environment" your application is currently
|
||||
| running in. This may determine how you prefer to configure various
|
||||
| services the application utilizes. Set this in your ".env" file.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Environment
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value determines the "environment" your application is currently
|
||||
| running in. This may determine how you prefer to configure various
|
||||
| services the application utilizes. Set this in your ".env" file.
|
||||
|
|
||||
*/
|
||||
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Debug Mode
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When your application is in debug mode, detailed error messages with
|
||||
| stack traces will be shown on every error that occurs within your
|
||||
| application. If disabled, a simple generic error page is shown.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Debug Mode
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When your application is in debug mode, detailed error messages with
|
||||
| stack traces will be shown on every error that occurs within your
|
||||
| application. If disabled, a simple generic error page is shown.
|
||||
|
|
||||
*/
|
||||
|
||||
'debug' => (bool) env('APP_DEBUG', false),
|
||||
'debug' => (bool)env('APP_DEBUG', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application URL
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This URL is used by the console to properly generate URLs when using
|
||||
| the Artisan command line tool. You should set this to the root of
|
||||
| your application so that it is used when running Artisan tasks.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Application URL
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This URL is used by the console to properly generate URLs when using
|
||||
| the Artisan command line tool. You should set this to the root of
|
||||
| your application so that it is used when running Artisan tasks.
|
||||
|
|
||||
*/
|
||||
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
|
|
@ -57,66 +57,66 @@ return [
|
|||
'asset_url' => env('ASSET_URL', null),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Timezone
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the default timezone for your application, which
|
||||
| will be used by the PHP date and date-time functions. We have gone
|
||||
| ahead and set this to a sensible default for you out of the box.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Timezone
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the default timezone for your application, which
|
||||
| will be used by the PHP date and date-time functions. We have gone
|
||||
| ahead and set this to a sensible default for you out of the box.
|
||||
|
|
||||
*/
|
||||
|
||||
'timezone' => 'UTC',
|
||||
'timezone' => 'Europe/Paris',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Locale Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The application locale determines the default locale that will be used
|
||||
| by the translation service provider. You are free to set this value
|
||||
| to any of the locales which will be supported by the application.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Locale Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The application locale determines the default locale that will be used
|
||||
| by the translation service provider. You are free to set this value
|
||||
| to any of the locales which will be supported by the application.
|
||||
|
|
||||
*/
|
||||
|
||||
'locale' => 'en',
|
||||
'locale' => 'fr',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Fallback Locale
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The fallback locale determines the locale to use when the current one
|
||||
| is not available. You may change the value to correspond to any of
|
||||
| the language folders that are provided through your application.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Fallback Locale
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The fallback locale determines the locale to use when the current one
|
||||
| is not available. You may change the value to correspond to any of
|
||||
| the language folders that are provided through your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'fallback_locale' => 'en',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Faker Locale
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This locale will be used by the Faker PHP library when generating fake
|
||||
| data for your database seeds. For example, this will be used to get
|
||||
| localized telephone numbers, street address information and more.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Faker Locale
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This locale will be used by the Faker PHP library when generating fake
|
||||
| data for your database seeds. For example, this will be used to get
|
||||
| localized telephone numbers, street address information and more.
|
||||
|
|
||||
*/
|
||||
|
||||
'faker_locale' => 'en_US',
|
||||
'faker_locale' => 'fr_FR',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Encryption Key
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This key is used by the Illuminate encrypter service and should be set
|
||||
| to a random, 32 character string, otherwise these encrypted strings
|
||||
| will not be safe. Please do this before deploying an application!
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Encryption Key
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This key is used by the Illuminate encrypter service and should be set
|
||||
| to a random, 32 character string, otherwise these encrypted strings
|
||||
| will not be safe. Please do this before deploying an application!
|
||||
|
|
||||
*/
|
||||
|
||||
'key' => env('APP_KEY'),
|
||||
|
|
@ -124,14 +124,14 @@ return [
|
|||
'cipher' => 'AES-256-CBC',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Autoloaded Service Providers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The service providers listed here will be automatically loaded on the
|
||||
| request to your application. Feel free to add your own services to
|
||||
| this array to grant expanded functionality to your applications.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Autoloaded Service Providers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The service providers listed here will be automatically loaded on the
|
||||
| request to your application. Feel free to add your own services to
|
||||
| this array to grant expanded functionality to your applications.
|
||||
|
|
||||
*/
|
||||
|
||||
'providers' => [
|
||||
|
|
@ -139,6 +139,7 @@ return [
|
|||
/*
|
||||
* Laravel Framework Service Providers...
|
||||
*/
|
||||
|
||||
Illuminate\Auth\AuthServiceProvider::class,
|
||||
Illuminate\Broadcasting\BroadcastServiceProvider::class,
|
||||
Illuminate\Bus\BusServiceProvider::class,
|
||||
|
|
@ -169,23 +170,24 @@ return [
|
|||
/*
|
||||
* Application Service Providers...
|
||||
*/
|
||||
|
||||
App\Providers\AppServiceProvider::class,
|
||||
App\Providers\AuthServiceProvider::class,
|
||||
// App\Providers\BroadcastServiceProvider::class,
|
||||
App\Providers\EventServiceProvider::class,
|
||||
App\Providers\RouteServiceProvider::class,
|
||||
App\Providers\TranslationServiceProvider::class,
|
||||
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Class Aliases
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This array of class aliases will be registered when this application
|
||||
| is started. However, feel free to register as many as you wish as
|
||||
| the aliases are "lazy" loaded so they don't hinder performance.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Class Aliases
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This array of class aliases will be registered when this application
|
||||
| is started. However, feel free to register as many as you wish as
|
||||
| the aliases are "lazy" loaded so they don't hinder performance.
|
||||
|
|
||||
*/
|
||||
|
||||
'aliases' => [
|
||||
|
|
@ -218,7 +220,6 @@ return [
|
|||
'Queue' => Illuminate\Support\Facades\Queue::class,
|
||||
'RateLimiter' => Illuminate\Support\Facades\RateLimiter::class,
|
||||
'Redirect' => Illuminate\Support\Facades\Redirect::class,
|
||||
// 'Redis' => Illuminate\Support\Facades\Redis::class,
|
||||
'Request' => Illuminate\Support\Facades\Request::class,
|
||||
'Response' => Illuminate\Support\Facades\Response::class,
|
||||
'Route' => Illuminate\Support\Facades\Route::class,
|
||||
|
|
|
|||
121
config/auth.php
121
config/auth.php
|
|
@ -3,60 +3,60 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Defaults
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default authentication "guard" and password
|
||||
| reset options for your application. You may change these defaults
|
||||
| as required, but they're a perfect start for most applications.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Defaults
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default authentication "guard" and password
|
||||
| reset options for your application. You may change these defaults
|
||||
| as required, but they're a perfect start for most applications.
|
||||
|
|
||||
*/
|
||||
|
||||
'defaults' => [
|
||||
'guard' => 'web',
|
||||
'guard' => 'backend',
|
||||
'passwords' => 'users',
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Guards
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Next, you may define every authentication guard for your application.
|
||||
| Of course, a great default configuration has been defined for you
|
||||
| here which uses session storage and the Eloquent user provider.
|
||||
|
|
||||
| All authentication drivers have a user provider. This defines how the
|
||||
| users are actually retrieved out of your database or other storage
|
||||
| mechanisms used by this application to persist your user's data.
|
||||
|
|
||||
| Supported: "session"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Guards
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Next, you may define every authentication guard for your application.
|
||||
| Of course, a great default configuration has been defined for you
|
||||
| here which uses session storage and the Eloquent user provider.
|
||||
|
|
||||
| All authentication drivers have a user provider. This defines how the
|
||||
| users are actually retrieved out of your database or other storage
|
||||
| mechanisms used by this application to persist your user's data.
|
||||
|
|
||||
| Supported: "session"
|
||||
|
|
||||
*/
|
||||
|
||||
'guards' => [
|
||||
'web' => [
|
||||
'backend' => [
|
||||
'driver' => 'session',
|
||||
'provider' => 'users',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| User Providers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| All authentication drivers have a user provider. This defines how the
|
||||
| users are actually retrieved out of your database or other storage
|
||||
| mechanisms used by this application to persist your user's data.
|
||||
|
|
||||
| If you have multiple user tables or models you may configure multiple
|
||||
| sources which represent each model / table. These sources may then
|
||||
| be assigned to any extra authentication guards you have defined.
|
||||
|
|
||||
| Supported: "database", "eloquent"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| User Providers
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| All authentication drivers have a user provider. This defines how the
|
||||
| users are actually retrieved out of your database or other storage
|
||||
| mechanisms used by this application to persist your user's data.
|
||||
|
|
||||
| If you have multiple user tables or models you may configure multiple
|
||||
| sources which represent each model / table. These sources may then
|
||||
| be assigned to any extra authentication guards you have defined.
|
||||
|
|
||||
| Supported: "database", "eloquent"
|
||||
|
|
||||
*/
|
||||
|
||||
'providers' => [
|
||||
|
|
@ -64,26 +64,21 @@ return [
|
|||
'driver' => 'eloquent',
|
||||
'model' => App\Models\User::class,
|
||||
],
|
||||
|
||||
// 'users' => [
|
||||
// 'driver' => 'database',
|
||||
// 'table' => 'users',
|
||||
// ],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Resetting Passwords
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You may specify multiple password reset configurations if you have more
|
||||
| than one user table or model in the application and you want to have
|
||||
| separate password reset settings based on the specific user types.
|
||||
|
|
||||
| The expire time is the number of minutes that each reset token will be
|
||||
| considered valid. This security feature keeps tokens short-lived so
|
||||
| they have less time to be guessed. You may change this as needed.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Resetting Passwords
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You may specify multiple password reset configurations if you have more
|
||||
| than one user table or model in the application and you want to have
|
||||
| separate password reset settings based on the specific user types.
|
||||
|
|
||||
| The expire time is the number of minutes that each reset token will be
|
||||
| considered valid. This security feature keeps tokens short-lived so
|
||||
| they have less time to be guessed. You may change this as needed.
|
||||
|
|
||||
*/
|
||||
|
||||
'passwords' => [
|
||||
|
|
@ -96,14 +91,14 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Confirmation Timeout
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may define the amount of seconds before a password confirmation
|
||||
| times out and the user is prompted to re-enter their password via the
|
||||
| confirmation screen. By default, the timeout lasts for three hours.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Confirmation Timeout
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may define the amount of seconds before a password confirmation
|
||||
| times out and the user is prompted to re-enter their password via the
|
||||
| confirmation screen. By default, the timeout lasts for three hours.
|
||||
|
|
||||
*/
|
||||
|
||||
'password_timeout' => 10800,
|
||||
|
|
|
|||
|
|
@ -3,29 +3,29 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Broadcaster
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default broadcaster that will be used by the
|
||||
| framework when an event needs to be broadcast. You may set this to
|
||||
| any of the connections defined in the "connections" array below.
|
||||
|
|
||||
| Supported: "pusher", "ably", "redis", "log", "null"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Broadcaster
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default broadcaster that will be used by the
|
||||
| framework when an event needs to be broadcast. You may set this to
|
||||
| any of the connections defined in the "connections" array below.
|
||||
|
|
||||
| Supported: "pusher", "ably", "redis", "log", "null"
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('BROADCAST_DRIVER', 'null'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Broadcast Connections
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may define all of the broadcast connections that will be used
|
||||
| to broadcast events to other systems or over websockets. Samples of
|
||||
| each available type of connection are provided inside this array.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Broadcast Connections
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may define all of the broadcast connections that will be used
|
||||
| to broadcast events to other systems or over websockets. Samples of
|
||||
| each available type of connection are provided inside this array.
|
||||
|
|
||||
*/
|
||||
|
||||
'connections' => [
|
||||
|
|
|
|||
|
|
@ -5,30 +5,30 @@ use Illuminate\Support\Str;
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Cache Store
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default cache connection that gets used while
|
||||
| using this caching library. This connection is used when another is
|
||||
| not explicitly specified when executing a given caching function.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Cache Store
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default cache connection that gets used while
|
||||
| using this caching library. This connection is used when another is
|
||||
| not explicitly specified when executing a given caching function.
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('CACHE_DRIVER', 'file'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cache Stores
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may define all of the cache "stores" for your application as
|
||||
| well as their drivers. You may even define multiple stores for the
|
||||
| same cache driver to group types of items stored in your caches.
|
||||
|
|
||||
| Supported drivers: "apc", "array", "database", "file",
|
||||
| "memcached", "redis", "dynamodb", "octane", "null"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Cache Stores
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may define all of the cache "stores" for your application as
|
||||
| well as their drivers. You may even define multiple stores for the
|
||||
| same cache driver to group types of items stored in your caches.
|
||||
|
|
||||
| Supported drivers: "apc", "array", "database", "file",
|
||||
| "memcached", "redis", "dynamodb", "octane", "null"
|
||||
|
|
||||
*/
|
||||
|
||||
'stores' => [
|
||||
|
|
@ -61,9 +61,7 @@ return [
|
|||
env('MEMCACHED_USERNAME'),
|
||||
env('MEMCACHED_PASSWORD'),
|
||||
],
|
||||
'options' => [
|
||||
// Memcached::OPT_CONNECT_TIMEOUT => 2000,
|
||||
],
|
||||
'options' => [],
|
||||
'servers' => [
|
||||
[
|
||||
'host' => env('MEMCACHED_HOST', '127.0.0.1'),
|
||||
|
|
@ -95,16 +93,16 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cache Key Prefix
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When utilizing a RAM based store such as APC or Memcached, there might
|
||||
| be other applications utilizing the same cache. So, we'll specify a
|
||||
| value to get prefixed to all our keys so we can avoid collisions.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Cache Key Prefix
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When utilizing a RAM based store such as APC or Memcached, there might
|
||||
| be other applications utilizing the same cache. So, we'll specify a
|
||||
| value to get prefixed to all our keys so we can avoid collisions.
|
||||
|
|
||||
*/
|
||||
|
||||
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
|
||||
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_cache'),
|
||||
|
||||
];
|
||||
|
|
|
|||
|
|
@ -3,16 +3,16 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Cross-Origin Resource Sharing (CORS) Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure your settings for cross-origin resource sharing
|
||||
| or "CORS". This determines what cross-origin operations may execute
|
||||
| in web browsers. You are free to adjust these settings as needed.
|
||||
|
|
||||
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Cross-Origin Resource Sharing (CORS) Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure your settings for cross-origin resource sharing
|
||||
| or "CORS". This determines what cross-origin operations may execute
|
||||
| in web browsers. You are free to adjust these settings as needed.
|
||||
|
|
||||
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
|
||||
|
|
||||
*/
|
||||
|
||||
'paths' => ['api/*', 'sanctum/csrf-cookie'],
|
||||
|
|
|
|||
|
|
@ -5,32 +5,32 @@ use Illuminate\Support\Str;
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Database Connection Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify which of the database connections below you wish
|
||||
| to use as your default connection for all database work. Of course
|
||||
| you may use many connections at once using the Database library.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Database Connection Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify which of the database connections below you wish
|
||||
| to use as your default connection for all database work. Of course
|
||||
| you may use many connections at once using the Database library.
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('DB_CONNECTION', 'mysql'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Database Connections
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here are each of the database connections setup for your application.
|
||||
| Of course, examples of configuring each database platform that is
|
||||
| supported by Laravel is shown below to make development simple.
|
||||
|
|
||||
|
|
||||
| All database work in Laravel is done through the PHP PDO facilities
|
||||
| so make sure you have the driver for your particular database of
|
||||
| choice installed on your machine before you begin development.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Database Connections
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here are each of the database connections setup for your application.
|
||||
| Of course, examples of configuring each database platform that is
|
||||
| supported by Laravel is shown below to make development simple.
|
||||
|
|
||||
|
|
||||
| All database work in Laravel is done through the PHP PDO facilities
|
||||
| so make sure you have the driver for your particular database of
|
||||
| choice installed on your machine before you begin development.
|
||||
|
|
||||
*/
|
||||
|
||||
'connections' => [
|
||||
|
|
@ -94,27 +94,27 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migration Repository Table
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This table keeps track of all the migrations that have already run for
|
||||
| your application. Using this information, we can determine which of
|
||||
| the migrations on disk haven't actually been run in the database.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Migration Repository Table
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This table keeps track of all the migrations that have already run for
|
||||
| your application. Using this information, we can determine which of
|
||||
| the migrations on disk haven't actually been run in the database.
|
||||
|
|
||||
*/
|
||||
|
||||
'migrations' => 'migrations',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Redis Databases
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Redis is an open source, fast, and advanced key-value store that also
|
||||
| provides a richer body of commands than a typical key-value system
|
||||
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Redis Databases
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Redis is an open source, fast, and advanced key-value store that also
|
||||
| provides a richer body of commands than a typical key-value system
|
||||
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
||||
|
|
||||
*/
|
||||
|
||||
'redis' => [
|
||||
|
|
@ -123,7 +123,7 @@ return [
|
|||
|
||||
'options' => [
|
||||
'cluster' => env('REDIS_CLUSTER', 'redis'),
|
||||
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
|
||||
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'),
|
||||
],
|
||||
|
||||
'default' => [
|
||||
|
|
|
|||
15
config/exception-handler.php
Normal file
15
config/exception-handler.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* Send mail when app debug is turn off
|
||||
* so you can be warned if an unhandled exception occurs
|
||||
*/
|
||||
'enableMaiLog' => !config('app.debug'),
|
||||
|
||||
/**
|
||||
* Put a developper secured mailbox in here
|
||||
* so you can receive email if things go mad
|
||||
*/
|
||||
'contactsList' => explode(',', env('MAIL_ERRORS'))
|
||||
];
|
||||
|
|
@ -3,29 +3,29 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Filesystem Disk
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the default filesystem disk that should be used
|
||||
| by the framework. The "local" disk, as well as a variety of cloud
|
||||
| based disks are available to your application. Just store away!
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Filesystem Disk
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the default filesystem disk that should be used
|
||||
| by the framework. The "local" disk, as well as a variety of cloud
|
||||
| based disks are available to your application. Just store away!
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('FILESYSTEM_DRIVER', 'local'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Filesystem Disks
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure as many filesystem "disks" as you wish, and you
|
||||
| may even configure multiple disks of the same driver. Defaults have
|
||||
| been setup for each driver as an example of the required options.
|
||||
|
|
||||
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Filesystem Disks
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure as many filesystem "disks" as you wish, and you
|
||||
| may even configure multiple disks of the same driver. Defaults have
|
||||
| been setup for each driver as an example of the required options.
|
||||
|
|
||||
| Supported Drivers: "local", "ftp", "sftp", "s3"
|
||||
|
|
||||
*/
|
||||
|
||||
'disks' => [
|
||||
|
|
@ -38,7 +38,7 @@ return [
|
|||
'public' => [
|
||||
'driver' => 'local',
|
||||
'root' => storage_path('app/public'),
|
||||
'url' => env('APP_URL').'/storage',
|
||||
'url' => env('APP_URL') . '/storage',
|
||||
'visibility' => 'public',
|
||||
],
|
||||
|
||||
|
|
@ -56,14 +56,14 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Symbolic Links
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure the symbolic links that will be created when the
|
||||
| `storage:link` Artisan command is executed. The array keys should be
|
||||
| the locations of the links and the values should be their targets.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Symbolic Links
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure the symbolic links that will be created when the
|
||||
| `storage:link` Artisan command is executed. The array keys should be
|
||||
| the locations of the links and the values should be their targets.
|
||||
|
|
||||
*/
|
||||
|
||||
'links' => [
|
||||
|
|
|
|||
|
|
@ -3,29 +3,29 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Hash Driver
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default hash driver that will be used to hash
|
||||
| passwords for your application. By default, the bcrypt algorithm is
|
||||
| used; however, you remain free to modify this option if you wish.
|
||||
|
|
||||
| Supported: "bcrypt", "argon", "argon2id"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Hash Driver
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default hash driver that will be used to hash
|
||||
| passwords for your application. By default, the bcrypt algorithm is
|
||||
| used; however, you remain free to modify this option if you wish.
|
||||
|
|
||||
| Supported: "bcrypt", "argon", "argon2id"
|
||||
|
|
||||
*/
|
||||
|
||||
'driver' => 'bcrypt',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Bcrypt Options
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the configuration options that should be used when
|
||||
| passwords are hashed using the Bcrypt algorithm. This will allow you
|
||||
| to control the amount of time it takes to hash the given password.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Bcrypt Options
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the configuration options that should be used when
|
||||
| passwords are hashed using the Bcrypt algorithm. This will allow you
|
||||
| to control the amount of time it takes to hash the given password.
|
||||
|
|
||||
*/
|
||||
|
||||
'bcrypt' => [
|
||||
|
|
@ -33,14 +33,14 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Argon Options
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the configuration options that should be used when
|
||||
| passwords are hashed using the Argon algorithm. These will allow you
|
||||
| to control the amount of time it takes to hash the given password.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Argon Options
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the configuration options that should be used when
|
||||
| passwords are hashed using the Argon algorithm. These will allow you
|
||||
| to control the amount of time it takes to hash the given password.
|
||||
|
|
||||
*/
|
||||
|
||||
'argon' => [
|
||||
|
|
|
|||
|
|
@ -7,44 +7,44 @@ use Monolog\Handler\SyslogUdpHandler;
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Log Channel
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option defines the default log channel that gets used when writing
|
||||
| messages to the logs. The name specified in this option should match
|
||||
| one of the channels defined in the "channels" configuration array.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Log Channel
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option defines the default log channel that gets used when writing
|
||||
| messages to the logs. The name specified in this option should match
|
||||
| one of the channels defined in the "channels" configuration array.
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('LOG_CHANNEL', 'stack'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Deprecations Log Channel
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the log channel that should be used to log warnings
|
||||
| regarding deprecated PHP and library features. This allows you to get
|
||||
| your application ready for upcoming major versions of dependencies.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Deprecations Log Channel
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the log channel that should be used to log warnings
|
||||
| regarding deprecated PHP and library features. This allows you to get
|
||||
| your application ready for upcoming major versions of dependencies.
|
||||
|
|
||||
*/
|
||||
|
||||
'deprecations' => env('LOG_DEPRECATIONS_CHANNEL', 'null'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Log Channels
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure the log channels for your application. Out of
|
||||
| the box, Laravel uses the Monolog PHP logging library. This gives
|
||||
| you a variety of powerful log handlers / formatters to utilize.
|
||||
|
|
||||
| Available Drivers: "single", "daily", "slack", "syslog",
|
||||
| "errorlog", "monolog",
|
||||
| "custom", "stack"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Log Channels
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure the log channels for your application. Out of
|
||||
| the box, Laravel uses the Monolog PHP logging library. This gives
|
||||
| you a variety of powerful log handlers / formatters to utilize.
|
||||
|
|
||||
| Available Drivers: "single", "daily", "slack", "syslog",
|
||||
| "errorlog", "monolog",
|
||||
| "custom", "stack"
|
||||
|
|
||||
*/
|
||||
|
||||
'channels' => [
|
||||
|
|
|
|||
|
|
@ -3,34 +3,34 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Mailer
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default mailer that is used to send any email
|
||||
| messages sent by your application. Alternative mailers may be setup
|
||||
| and used as needed; however, this mailer will be used by default.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Mailer
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default mailer that is used to send any email
|
||||
| messages sent by your application. Alternative mailers may be setup
|
||||
| and used as needed; however, this mailer will be used by default.
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('MAIL_MAILER', 'smtp'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Mailer Configurations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure all of the mailers used by your application plus
|
||||
| their respective settings. Several examples have been configured for
|
||||
| you and you are free to add your own as your application requires.
|
||||
|
|
||||
| Laravel supports a variety of mail "transport" drivers to be used while
|
||||
| sending an e-mail. You will specify which one you are using for your
|
||||
| mailers below. You are free to add additional mailers as required.
|
||||
|
|
||||
| Supported: "smtp", "sendmail", "mailgun", "ses",
|
||||
| "postmark", "log", "array", "failover"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Mailer Configurations
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure all of the mailers used by your application plus
|
||||
| their respective settings. Several examples have been configured for
|
||||
| you and you are free to add your own as your application requires.
|
||||
|
|
||||
| Laravel supports a variety of mail "transport" drivers to be used while
|
||||
| sending an e-mail. You will specify which one you are using for your
|
||||
| mailers below. You are free to add additional mailers as required.
|
||||
|
|
||||
| Supported: "smtp", "sendmail", "mailgun", "ses",
|
||||
| "postmark", "log", "array", "failover"
|
||||
|
|
||||
*/
|
||||
|
||||
'mailers' => [
|
||||
|
|
@ -81,14 +81,14 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Global "From" Address
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You may wish for all e-mails sent by your application to be sent from
|
||||
| the same address. Here, you may specify a name and address that is
|
||||
| used globally for all e-mails that are sent by your application.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Global "From" Address
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| You may wish for all e-mails sent by your application to be sent from
|
||||
| the same address. Here, you may specify a name and address that is
|
||||
| used globally for all e-mails that are sent by your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'from' => [
|
||||
|
|
@ -97,14 +97,14 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Markdown Mail Settings
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you are using Markdown based email rendering, you may configure your
|
||||
| theme and component paths here, allowing you to customize the design
|
||||
| of the emails. Or, you may simply stick with the Laravel defaults!
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Markdown Mail Settings
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| If you are using Markdown based email rendering, you may configure your
|
||||
| theme and component paths here, allowing you to customize the design
|
||||
| of the emails. Or, you may simply stick with the Laravel defaults!
|
||||
|
|
||||
*/
|
||||
|
||||
'markdown' => [
|
||||
|
|
|
|||
115
config/purifier.php
Normal file
115
config/purifier.php
Normal file
|
|
@ -0,0 +1,115 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Ok, glad you are here
|
||||
* first we get a config instance, and set the settings
|
||||
* $config = HTMLPurifier_Config::createDefault();
|
||||
* $config->set('Core.Encoding', $this->config->get('purifier.encoding'));
|
||||
* $config->set('Cache.SerializerPath', $this->config->get('purifier.cachePath'));
|
||||
* if ( ! $this->config->get('purifier.finalize')) {
|
||||
* $config->autoFinalize = false;
|
||||
* }
|
||||
* $config->load [$this->getConfig());
|
||||
*
|
||||
* You must NOT delete the default settings
|
||||
* anything in settings should be compacted with params that needed to instance HTMLPurifier_Config.
|
||||
*
|
||||
* @link http://htmlpurifier.org/live/configdoc/plain.html
|
||||
*/
|
||||
|
||||
// phpcs:disable Generic.Files.LineLength.TooLong
|
||||
return [
|
||||
'encoding' => 'UTF-8',
|
||||
'finalize' => true,
|
||||
'cachePath' => storage_path('app/purifier'),
|
||||
'cacheFileMode' => 0755,
|
||||
'settings' => [
|
||||
'default' => [
|
||||
'HTML.SafeIframe' => true,
|
||||
// * For iframes
|
||||
'URI.SafeIframeRegexp' => "%^(http://|https://|//)(www.youtube.com/embed/|player.vimeo.com/video/|vimeo.com/)%",
|
||||
'HTML.Doctype' => 'HTML 4.01 Transitional',
|
||||
'HTML.Allowed' => 'h1[style],h2[style],h3[style],h4[style],h5[style],h6[style],figure[class|style],oembed[url],div[style],b,strong,i,em,u,a[href|title|target|rel],ul[style],ol[style],dl[style],li,p[style],br,span[style|class],img[width|height|alt|src|style|class|title],iframe[src|width|height|class|frameborder|style],table[style|align|border|cellspacing|cellpadding|width],thead,tbody,th[colspan|align|valign|style],tr[align|valign|style],td[style|colspan|rowspan|scope|align|valign],hr,dl,dt',
|
||||
'CSS.AllowedProperties' => 'font,font-size,font-weight,font-style,font-family,text-decoration,padding-left,color,background-color,text-align,list-style-type,float,width,height,vertical-align,border-color',
|
||||
'AutoFormat.AutoParagraph' => false,
|
||||
'AutoFormat.RemoveEmpty' => false,
|
||||
'AutoFormat.RemoveEmpty.RemoveNbsp' => false,
|
||||
],
|
||||
'custom_definition' => [
|
||||
'id' => 'html5-definitions',
|
||||
'rev' => 1,
|
||||
'debug' => true,
|
||||
'elements' => [
|
||||
// * http://developers.whatwg.org/sections.html
|
||||
['section', 'Block', 'Flow', 'Common'],
|
||||
['nav', 'Block', 'Flow', 'Common'],
|
||||
['article', 'Block', 'Flow', 'Common'],
|
||||
['aside', 'Block', 'Flow', 'Common'],
|
||||
['header', 'Block', 'Flow', 'Common'],
|
||||
['footer', 'Block', 'Flow', 'Common'],
|
||||
|
||||
// * Content model actually excludes several tags, not modelled here
|
||||
['address', 'Block', 'Flow', 'Common'],
|
||||
['hgroup', 'Block', 'Required: h1 | h2 | h3 | h4 | h5 | h6', 'Common'],
|
||||
|
||||
// * http://developers.whatwg.org/grouping-content.html
|
||||
['figure', 'Block', 'Optional: (figcaption, Flow) | (Flow, figcaption) | Flow', 'Common'],
|
||||
['figcaption', 'Inline', 'Flow', 'Common'],
|
||||
['oembed', 'Inline', 'Flow', 'Common'],
|
||||
|
||||
// * http://developers.whatwg.org/the-video-element.html#the-video-element
|
||||
['video', 'Block', 'Optional: (source, Flow) | (Flow, source) | Flow', 'Common', [
|
||||
'src' => 'URI',
|
||||
'type' => 'Text',
|
||||
'width' => 'Length',
|
||||
'height' => 'Length',
|
||||
'poster' => 'URI',
|
||||
'preload' => 'Enum#auto,metadata,none',
|
||||
'controls' => 'Bool',
|
||||
]],
|
||||
['source', 'Block', 'Flow', 'Common', [
|
||||
'src' => 'URI',
|
||||
'type' => 'Text',
|
||||
]],
|
||||
|
||||
// * http://developers.whatwg.org/text-level-semantics.html
|
||||
['s', 'Inline', 'Inline', 'Common'],
|
||||
['var', 'Inline', 'Inline', 'Common'],
|
||||
['sub', 'Inline', 'Inline', 'Common'],
|
||||
['sup', 'Inline', 'Inline', 'Common'],
|
||||
['mark', 'Inline', 'Inline', 'Common'],
|
||||
['wbr', 'Inline', 'Empty', 'Core'],
|
||||
|
||||
// * http://developers.whatwg.org/edits.html
|
||||
['ins', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
|
||||
['del', 'Block', 'Flow', 'Common', ['cite' => 'URI', 'datetime' => 'CDATA']],
|
||||
],
|
||||
'attributes' => [
|
||||
['iframe', 'allowfullscreen', 'Bool'],
|
||||
['table', 'height', 'Text'],
|
||||
['td', 'border', 'Text'],
|
||||
['th', 'border', 'Text'],
|
||||
['tr', 'width', 'Text'],
|
||||
['tr', 'height', 'Text'],
|
||||
['tr', 'border', 'Text'],
|
||||
['figure', 'class', 'Text'],
|
||||
['figure', 'style', 'Text'],
|
||||
['oembed', 'url', 'Text'],
|
||||
['span', 'style', 'Text'],
|
||||
['img', 'style', 'Text'],
|
||||
],
|
||||
],
|
||||
'custom_attributes' => [
|
||||
['a', 'target', 'Enum#_blank,_self,_target,_top'],
|
||||
['ol', 'style', 'Text'],
|
||||
['figure', 'style', 'Text'],
|
||||
['img', 'style', 'Text'],
|
||||
['span', 'style', 'Text'],
|
||||
['oembed', 'url', 'Text'],
|
||||
],
|
||||
'custom_elements' => [
|
||||
['u', 'Inline', 'Inline', 'Common'],
|
||||
['oembed', 'Inline', 'Inline', 'Common'],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
|
@ -3,29 +3,29 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Queue Connection Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Laravel's queue API supports an assortment of back-ends via a single
|
||||
| API, giving you convenient access to each back-end using the same
|
||||
| syntax for every one. Here you may define a default connection.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Queue Connection Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Laravel's queue API supports an assortment of back-ends via a single
|
||||
| API, giving you convenient access to each back-end using the same
|
||||
| syntax for every one. Here you may define a default connection.
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('QUEUE_CONNECTION', 'sync'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Queue Connections
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure the connection information for each server that
|
||||
| is used by your application. A default configuration has been added
|
||||
| for each back-end shipped with Laravel. You are free to add more.
|
||||
|
|
||||
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Queue Connections
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may configure the connection information for each server that
|
||||
| is used by your application. A default configuration has been added
|
||||
| for each back-end shipped with Laravel. You are free to add more.
|
||||
|
|
||||
| Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
|
||||
|
|
||||
*/
|
||||
|
||||
'connections' => [
|
||||
|
|
@ -74,14 +74,14 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Failed Queue Jobs
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These options configure the behavior of failed queue job logging so you
|
||||
| can control which database and table are used to store the jobs that
|
||||
| have failed. You may change them to any database / table you wish.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Failed Queue Jobs
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These options configure the behavior of failed queue job logging so you
|
||||
| can control which database and table are used to store the jobs that
|
||||
| have failed. You may change them to any database / table you wish.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => [
|
||||
|
|
|
|||
6
config/recaptcha.php
Normal file
6
config/recaptcha.php
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'public' => env('RECAPTCHA_3_PUB_KEY'),
|
||||
'private' => env('RECAPTCHA_3_PRIV_KEY')
|
||||
];
|
||||
|
|
@ -3,58 +3,58 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Stateful Domains
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Requests from the following domains / hosts will receive stateful API
|
||||
| authentication cookies. Typically, these should include your local
|
||||
| and production domains which access your API via a frontend SPA.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Stateful Domains
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Requests from the following domains / hosts will receive stateful API
|
||||
| authentication cookies. Typically, these should include your local
|
||||
| and production domains which access your API via a frontend SPA.
|
||||
|
|
||||
*/
|
||||
|
||||
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
|
||||
'%s%s',
|
||||
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
|
||||
env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : ''
|
||||
env('APP_URL') ? ',' . parse_url(env('APP_URL'), PHP_URL_HOST) : ''
|
||||
))),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Sanctum Guards
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This array contains the authentication guards that will be checked when
|
||||
| Sanctum is trying to authenticate a request. If none of these guards
|
||||
| are able to authenticate the request, Sanctum will use the bearer
|
||||
| token that's present on an incoming request for authentication.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Sanctum Guards
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This array contains the authentication guards that will be checked when
|
||||
| Sanctum is trying to authenticate a request. If none of these guards
|
||||
| are able to authenticate the request, Sanctum will use the bearer
|
||||
| token that's present on an incoming request for authentication.
|
||||
|
|
||||
*/
|
||||
|
||||
'guard' => ['web'],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Expiration Minutes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value controls the number of minutes until an issued token will be
|
||||
| considered expired. If this value is null, personal access tokens do
|
||||
| not expire. This won't tweak the lifetime of first-party sessions.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Expiration Minutes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value controls the number of minutes until an issued token will be
|
||||
| considered expired. If this value is null, personal access tokens do
|
||||
| not expire. This won't tweak the lifetime of first-party sessions.
|
||||
|
|
||||
*/
|
||||
|
||||
'expiration' => null,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Sanctum Middleware
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When authenticating your first-party SPA with Sanctum you may need to
|
||||
| customize some of the middleware Sanctum uses while processing the
|
||||
| request. You may change the middleware listed below as required.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Sanctum Middleware
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When authenticating your first-party SPA with Sanctum you may need to
|
||||
| customize some of the middleware Sanctum uses while processing the
|
||||
| request. You may change the middleware listed below as required.
|
||||
|
|
||||
*/
|
||||
|
||||
'middleware' => [
|
||||
|
|
|
|||
|
|
@ -3,15 +3,15 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Third Party Services
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This file is for storing the credentials for third party services such
|
||||
| as Mailgun, Postmark, AWS and more. This file provides the de facto
|
||||
| location for this type of information, allowing packages to have
|
||||
| a conventional file to locate the various service credentials.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Third Party Services
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This file is for storing the credentials for third party services such
|
||||
| as Mailgun, Postmark, AWS and more. This file provides the de facto
|
||||
| location for this type of information, allowing packages to have
|
||||
| a conventional file to locate the various service credentials.
|
||||
|
|
||||
*/
|
||||
|
||||
'mailgun' => [
|
||||
|
|
|
|||
|
|
@ -5,30 +5,30 @@ use Illuminate\Support\Str;
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Session Driver
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default session "driver" that will be used on
|
||||
| requests. By default, we will use the lightweight native driver but
|
||||
| you may specify any of the other wonderful drivers provided here.
|
||||
|
|
||||
| Supported: "file", "cookie", "database", "apc",
|
||||
| "memcached", "redis", "dynamodb", "array"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Session Driver
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option controls the default session "driver" that will be used on
|
||||
| requests. By default, we will use the lightweight native driver but
|
||||
| you may specify any of the other wonderful drivers provided here.
|
||||
|
|
||||
| Supported: "file", "cookie", "database", "apc",
|
||||
| "memcached", "redis", "dynamodb", "array"
|
||||
|
|
||||
*/
|
||||
|
||||
'driver' => env('SESSION_DRIVER', 'file'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Lifetime
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the number of minutes that you wish the session
|
||||
| to be allowed to remain idle before it expires. If you want them
|
||||
| to immediately expire on the browser closing, set that option.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Lifetime
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify the number of minutes that you wish the session
|
||||
| to be allowed to remain idle before it expires. If you want them
|
||||
| to immediately expire on the browser closing, set that option.
|
||||
|
|
||||
*/
|
||||
|
||||
'lifetime' => env('SESSION_LIFETIME', 120),
|
||||
|
|
@ -36,164 +36,164 @@ return [
|
|||
'expire_on_close' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Encryption
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option allows you to easily specify that all of your session data
|
||||
| should be encrypted before it is stored. All encryption will be run
|
||||
| automatically by Laravel and you can use the Session like normal.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Encryption
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option allows you to easily specify that all of your session data
|
||||
| should be encrypted before it is stored. All encryption will be run
|
||||
| automatically by Laravel and you can use the Session like normal.
|
||||
|
|
||||
*/
|
||||
|
||||
'encrypt' => false,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session File Location
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the native session driver, we need a location where session
|
||||
| files may be stored. A default has been set for you but a different
|
||||
| location may be specified. This is only needed for file sessions.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session File Location
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the native session driver, we need a location where session
|
||||
| files may be stored. A default has been set for you but a different
|
||||
| location may be specified. This is only needed for file sessions.
|
||||
|
|
||||
*/
|
||||
|
||||
'files' => storage_path('framework/sessions'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Database Connection
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the "database" or "redis" session drivers, you may specify a
|
||||
| connection that should be used to manage these sessions. This should
|
||||
| correspond to a connection in your database configuration options.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Database Connection
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the "database" or "redis" session drivers, you may specify a
|
||||
| connection that should be used to manage these sessions. This should
|
||||
| correspond to a connection in your database configuration options.
|
||||
|
|
||||
*/
|
||||
|
||||
'connection' => env('SESSION_CONNECTION', null),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Database Table
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the "database" session driver, you may specify the table we
|
||||
| should use to manage the sessions. Of course, a sensible default is
|
||||
| provided for you; however, you are free to change this as needed.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Database Table
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the "database" session driver, you may specify the table we
|
||||
| should use to manage the sessions. Of course, a sensible default is
|
||||
| provided for you; however, you are free to change this as needed.
|
||||
|
|
||||
*/
|
||||
|
||||
'table' => 'sessions',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cache Store
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| While using one of the framework's cache driven session backends you may
|
||||
| list a cache store that should be used for these sessions. This value
|
||||
| must match with one of the application's configured cache "stores".
|
||||
|
|
||||
| Affects: "apc", "dynamodb", "memcached", "redis"
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cache Store
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| While using one of the framework's cache driven session backends you may
|
||||
| list a cache store that should be used for these sessions. This value
|
||||
| must match with one of the application's configured cache "stores".
|
||||
|
|
||||
| Affects: "apc", "dynamodb", "memcached", "redis"
|
||||
|
|
||||
*/
|
||||
|
||||
'store' => env('SESSION_STORE', null),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Sweeping Lottery
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Some session drivers must manually sweep their storage location to get
|
||||
| rid of old sessions from storage. Here are the chances that it will
|
||||
| happen on a given request. By default, the odds are 2 out of 100.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Sweeping Lottery
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Some session drivers must manually sweep their storage location to get
|
||||
| rid of old sessions from storage. Here are the chances that it will
|
||||
| happen on a given request. By default, the odds are 2 out of 100.
|
||||
|
|
||||
*/
|
||||
|
||||
'lottery' => [2, 100],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cookie Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may change the name of the cookie used to identify a session
|
||||
| instance by ID. The name specified here will get used every time a
|
||||
| new session cookie is created by the framework for every driver.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cookie Name
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may change the name of the cookie used to identify a session
|
||||
| instance by ID. The name specified here will get used every time a
|
||||
| new session cookie is created by the framework for every driver.
|
||||
|
|
||||
*/
|
||||
|
||||
'cookie' => env(
|
||||
'SESSION_COOKIE',
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_') . '_session'
|
||||
),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cookie Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The session cookie path determines the path for which the cookie will
|
||||
| be regarded as available. Typically, this will be the root path of
|
||||
| your application but you are free to change this when necessary.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cookie Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The session cookie path determines the path for which the cookie will
|
||||
| be regarded as available. Typically, this will be the root path of
|
||||
| your application but you are free to change this when necessary.
|
||||
|
|
||||
*/
|
||||
|
||||
'path' => '/',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cookie Domain
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may change the domain of the cookie used to identify a session
|
||||
| in your application. This will determine which domains the cookie is
|
||||
| available to in your application. A sensible default has been set.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Session Cookie Domain
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may change the domain of the cookie used to identify a session
|
||||
| in your application. This will determine which domains the cookie is
|
||||
| available to in your application. A sensible default has been set.
|
||||
|
|
||||
*/
|
||||
|
||||
'domain' => env('SESSION_DOMAIN', null),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| HTTPS Only Cookies
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| By setting this option to true, session cookies will only be sent back
|
||||
| to the server if the browser has a HTTPS connection. This will keep
|
||||
| the cookie from being sent to you when it can't be done securely.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| HTTPS Only Cookies
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| By setting this option to true, session cookies will only be sent back
|
||||
| to the server if the browser has a HTTPS connection. This will keep
|
||||
| the cookie from being sent to you when it can't be done securely.
|
||||
|
|
||||
*/
|
||||
|
||||
'secure' => env('SESSION_SECURE_COOKIE'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| HTTP Access Only
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Setting this value to true will prevent JavaScript from accessing the
|
||||
| value of the cookie and the cookie will only be accessible through
|
||||
| the HTTP protocol. You are free to modify this option if needed.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| HTTP Access Only
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Setting this value to true will prevent JavaScript from accessing the
|
||||
| value of the cookie and the cookie will only be accessible through
|
||||
| the HTTP protocol. You are free to modify this option if needed.
|
||||
|
|
||||
*/
|
||||
|
||||
'http_only' => true,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Same-Site Cookies
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option determines how your cookies behave when cross-site requests
|
||||
| take place, and can be used to mitigate CSRF attacks. By default, we
|
||||
| will set this value to "lax" since this is a secure default value.
|
||||
|
|
||||
| Supported: "lax", "strict", "none", null
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Same-Site Cookies
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option determines how your cookies behave when cross-site requests
|
||||
| take place, and can be used to mitigate CSRF attacks. By default, we
|
||||
| will set this value to "lax" since this is a secure default value.
|
||||
|
|
||||
| Supported: "lax", "strict", "none", null
|
||||
|
|
||||
*/
|
||||
|
||||
'same_site' => 'lax',
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@
|
|||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| View Storage Paths
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Most templating systems load templates from disk. Here you may specify
|
||||
| an array of paths that should be checked for your views. Of course
|
||||
| the usual Laravel view path has already been registered for you.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| View Storage Paths
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Most templating systems load templates from disk. Here you may specify
|
||||
| an array of paths that should be checked for your views. Of course
|
||||
| the usual Laravel view path has already been registered for you.
|
||||
|
|
||||
*/
|
||||
|
||||
'paths' => [
|
||||
|
|
@ -18,14 +18,14 @@ return [
|
|||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Compiled View Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option determines where all the compiled Blade templates will be
|
||||
| stored for your application. Typically, this is within the storage
|
||||
| directory. However, as usual, you are free to change this value.
|
||||
|
|
||||
|--------------------------------------------------------------------------
|
||||
| Compiled View Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This option determines where all the compiled Blade templates will be
|
||||
| stored for your application. Typically, this is within the storage
|
||||
| directory. However, as usual, you are free to change this value.
|
||||
|
|
||||
*/
|
||||
|
||||
'compiled' => env(
|
||||
|
|
|
|||
38
database/factories/NewsFactory.php
Normal file
38
database/factories/NewsFactory.php
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Enums\PublishedStatus;
|
||||
use App\Models\News;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class NewsFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* The name of the factory's corresponding model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $model = News::class;
|
||||
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
$title = $this->faker->unique()->words(rand(6, 12), true);
|
||||
return [
|
||||
'title' => $title,
|
||||
'slug' => \Illuminate\Support\Str::slug($title),
|
||||
'seo_title' => $this->faker->words(8, true),
|
||||
'seo_description' => $this->faker->words(25, true),
|
||||
'content' => $this->faker->text(1500),
|
||||
'picture' => '/assets/images/actus/actu_fake_image_300_300.jpg',
|
||||
'picture_title' => 'Image de champs',
|
||||
'picture_alt' => 'Image de champs',
|
||||
'published' => collect(PublishedStatus::toArray())->random()
|
||||
];
|
||||
}
|
||||
}
|
||||
54
database/factories/SliderFactory.php
Normal file
54
database/factories/SliderFactory.php
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Enums\Sliders\SliderPosition;
|
||||
use App\Enums\Sliders\SliderType;
|
||||
use App\Models\Slider;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class SliderFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* OrderCounter
|
||||
*
|
||||
* @var integer
|
||||
*/
|
||||
protected static $i = 1;
|
||||
|
||||
/**
|
||||
* The name of the factory's corresponding model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $model = Slider::class;
|
||||
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
$title = $this->faker->unique()->words(rand(2, 4), true);
|
||||
$subtitle = $this->faker->unique()->words(rand(8, 10), true);
|
||||
return [
|
||||
'type' => Collect(SliderType::toArray())->random(),
|
||||
'position' => Collect(SliderPosition::toArray())->random(),
|
||||
'title' => $title,
|
||||
'title_color' => $this->faker->hexColor(),
|
||||
'title_color_bg' => $this->faker->hexColor(),
|
||||
'subtitle' => $subtitle,
|
||||
'subtitle_color' => $this->faker->hexColor(),
|
||||
'subtitle_color_bg' => $this->faker->hexColor(),
|
||||
'picture' => '/assets/images/sliders/slider_fake_1400_630.jpg',
|
||||
'link' => $this->faker->url,
|
||||
'link_title' => $this->faker->unique()->words(rand(2, 4), true),
|
||||
'link_color' => $this->faker->hexColor(),
|
||||
'link_color_bg' => $this->faker->hexColor(),
|
||||
'link_new_tab' => $this->faker->boolean,
|
||||
'status' => $this->faker->boolean(75),
|
||||
'order' => static::$i++
|
||||
];
|
||||
}
|
||||
}
|
||||
28
database/factories/TagFactory.php
Normal file
28
database/factories/TagFactory.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\Tag;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class TagFactory extends Factory
|
||||
{
|
||||
/**
|
||||
* The name of the factory's corresponding model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $model = Tag::class;
|
||||
|
||||
/**
|
||||
* Define the model's default state.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function definition()
|
||||
{
|
||||
return [
|
||||
'name' => $this->faker->unique()->words(rand(1, 2), true)
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
@ -18,7 +18,8 @@ class UserFactory extends Factory
|
|||
'name' => $this->faker->name(),
|
||||
'email' => $this->faker->unique()->safeEmail(),
|
||||
'email_verified_at' => now(),
|
||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
|
||||
// * password
|
||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
|
||||
'remember_token' => Str::random(10),
|
||||
];
|
||||
}
|
||||
|
|
@ -30,6 +31,7 @@ class UserFactory extends Factory
|
|||
*/
|
||||
public function unverified()
|
||||
{
|
||||
// phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
|
||||
return $this->state(function (array $attributes) {
|
||||
return [
|
||||
'email_verified_at' => null,
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ class CreateUsersTable extends Migration
|
|||
$table->timestamp('email_verified_at')->nullable();
|
||||
$table->string('password');
|
||||
$table->rememberToken();
|
||||
$table->date('last_connection')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,36 +0,0 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreatePersonalAccessTokensTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('personal_access_tokens', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->morphs('tokenable');
|
||||
$table->string('name');
|
||||
$table->string('token', 64)->unique();
|
||||
$table->text('abilities')->nullable();
|
||||
$table->timestamp('last_used_at')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('personal_access_tokens');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateTaggablesTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('taggables', function (Blueprint $table) {
|
||||
$table->bigInteger('tag_id');
|
||||
$table->bigInteger('taggable_id');
|
||||
$table->string('taggable_type', 60);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('taggables');
|
||||
}
|
||||
}
|
||||
32
database/migrations/2021_09_16_100042_create_tags_table.php
Normal file
32
database/migrations/2021_09_16_100042_create_tags_table.php
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateTagsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('tags', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('slug')->unique();
|
||||
$table->string('name')->comment('Nom du tag qui sera unique.');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('tags');
|
||||
}
|
||||
}
|
||||
50
database/migrations/2021_09_16_101055_create_news_table.php
Normal file
50
database/migrations/2021_09_16_101055_create_news_table.php
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateNewsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('news', function (Blueprint $table) {
|
||||
$table->id();
|
||||
|
||||
$table->string('title')->comment('Titre actualité');
|
||||
$table->string('slug')->unique();
|
||||
$table->string('seo_title')
|
||||
->comment('Utilisé pour la balise title de la page. De 53 à 60 chars recommandés.');
|
||||
$table->string('seo_description')
|
||||
->comment('Utilisé pour la balise méta description de la page. De 50 à 160 chars recommandés.');
|
||||
|
||||
$table->string('picture')->nullable()->comment('La vignette de l\'article 300x300 px.');
|
||||
$table->string('picture_title')->nullable()->comment('Attribut title de l\'image.');
|
||||
$table->string('picture_alt')->nullable()->comment('Attribut alt de l\'image.');
|
||||
|
||||
$table->mediumText('content')->comment('Contenu du WYSIWYG');
|
||||
|
||||
$table->unsignedTinyInteger('published')->comment('PublishedStatus enum');
|
||||
|
||||
$table->timestamp('published_at')->nullable()
|
||||
->comment('La date à laquelle l\'élément à été publié.');
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('news');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
<?php
|
||||
|
||||
use App\Enums\Sliders\SliderPosition;
|
||||
use App\Enums\Sliders\SliderType;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
class CreateSlidersTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('sliders', function (Blueprint $table) {
|
||||
$table->id();
|
||||
|
||||
$table->unsignedTinyInteger('type')->default(SliderType::home())
|
||||
->comment('Enums\\SliderType type de slider');
|
||||
$table->unsignedTinyInteger('position')->default(SliderPosition::center())
|
||||
->comment('Enums\\SliderPosition slider centrage du slider en responsive');
|
||||
|
||||
$table->string('title')->comment('Titre du slider');
|
||||
$table->unsignedInteger('title_color')->comment('Couleur du titre');
|
||||
$table->unsignedInteger('title_color_bg')->comment('Couleur de fond du titre');
|
||||
|
||||
$table->string('subtitle')->comment('Soustitre du slider');
|
||||
$table->unsignedInteger('subtitle_color')->comment('Couleur du soustitre');
|
||||
$table->unsignedInteger('subtitle_color_bg')->comment('Couleur de fond du soustitre');
|
||||
|
||||
$table->string('picture')->comment('Image du slider 1400px par 630px');
|
||||
|
||||
$table->string('link')->comment('Url du lien');
|
||||
$table->string('link_title')->comment('Titre du lien');
|
||||
$table->string('link_color')->comment('Couleur du lien');
|
||||
$table->string('link_color_bg')->comment('Couleur de fond du lien');
|
||||
$table->string('link_new_tab')->comment('Ouvrir le lien dans un nouvel onglet ?');
|
||||
|
||||
$table->boolean('status')->comment('Le slider est-il visible ?');
|
||||
$table->unsignedSmallInteger('order')->comment('Ordre de visibilité du slider');
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('sliders');
|
||||
}
|
||||
}
|
||||
|
|
@ -13,6 +13,9 @@ class DatabaseSeeder extends Seeder
|
|||
*/
|
||||
public function run()
|
||||
{
|
||||
// \App\Models\User::factory(10)->create();
|
||||
$this->call([
|
||||
NewsSeeder::class,
|
||||
SliderSeeder::class
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
34
database/seeders/NewsSeeder.php
Normal file
34
database/seeders/NewsSeeder.php
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\News;
|
||||
use App\Models\Tag;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class NewsSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
DB::table('taggables')->truncate();
|
||||
$this->call([
|
||||
TagSeeder::class
|
||||
]);
|
||||
News::truncate();
|
||||
$tags = Tag::query()->get();
|
||||
News::factory(119)->create()
|
||||
->each(function ($model) use ($tags) {
|
||||
$offset = rand(0, 5);
|
||||
$length = rand(1, 4);
|
||||
$model->tags()
|
||||
->saveMany($tags->slice($offset, $length));
|
||||
$model->save();
|
||||
});
|
||||
}
|
||||
}
|
||||
20
database/seeders/SliderSeeder.php
Normal file
20
database/seeders/SliderSeeder.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Slider;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class SliderSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Slider::truncate();
|
||||
Slider::factory(30)->create();
|
||||
}
|
||||
}
|
||||
20
database/seeders/TagSeeder.php
Normal file
20
database/seeders/TagSeeder.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace Database\Seeders;
|
||||
|
||||
use App\Models\Tag;
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class TagSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Tag::truncate();
|
||||
Tag::factory(10)->create();
|
||||
}
|
||||
}
|
||||
5
jsconfig.json
Normal file
5
jsconfig.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"include": [
|
||||
"./resources/js/**/*"
|
||||
]
|
||||
}
|
||||
16623
package-lock.json
generated
Normal file
16623
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
18
package.json
18
package.json
|
|
@ -10,9 +10,25 @@
|
|||
"production": "mix --production"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.1.1",
|
||||
"@popperjs/core": "^2.11.5",
|
||||
"@sipec/vue3-tags-input": "^3.0.4",
|
||||
"axios": "^0.21",
|
||||
"bootstrap": "^5.1.3",
|
||||
"clean-webpack-plugin": "^4.0.0",
|
||||
"cropperjs": "^1.5.12",
|
||||
"laravel-mix": "^6.0.6",
|
||||
"laravel-mix-clean": "^0.1.0",
|
||||
"laravel-mix-polyfill": "^3.0.1",
|
||||
"lodash": "^4.17.19",
|
||||
"postcss": "^8.1.14"
|
||||
"resolve-url-loader": "^5.0.0",
|
||||
"sass": "^1.52.1",
|
||||
"sass-loader": "^12.6.0",
|
||||
"sweetalert2": "^11.4.17",
|
||||
"vue": "^3.2.36",
|
||||
"vue-loader": "^16.8.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"autoprefixer": "10.4.5"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
129
phpcs.xml
Normal file
129
phpcs.xml
Normal file
|
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ruleset name="LDC Laravel"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
|
||||
<description>Created with the PHP Coding Standard Generator. http://edorian.github.com/php-coding-standard-generator/</description>
|
||||
<arg name="colors" />
|
||||
<arg name="extensions" value="php" />
|
||||
<file>app/</file>
|
||||
<file>config/</file>
|
||||
<file>database/factories</file>
|
||||
<file>routes/</file>
|
||||
<file>tests/</file>
|
||||
<rule ref="PSR1" />
|
||||
<rule ref="PSR12" />
|
||||
|
||||
<rule ref="Generic.Classes.DuplicateClassName"/>
|
||||
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
|
||||
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop"/>
|
||||
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
|
||||
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
|
||||
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
|
||||
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/>
|
||||
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
|
||||
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
|
||||
<rule ref="Generic.Commenting.Todo"/>
|
||||
<rule ref="Generic.Commenting.Fixme"/>
|
||||
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
||||
<rule ref="Generic.Files.ByteOrderMark"/>
|
||||
<rule ref="Generic.Files.LineEndings"/>
|
||||
<rule ref="Generic.Files.LineLength"/>
|
||||
<rule ref="Generic.Formatting.DisallowMultipleStatements"/>
|
||||
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
|
||||
<rule ref="Generic.Formatting.NoSpaceAfterCast"/>
|
||||
<rule ref="Generic.Functions.CallTimePassByReference"/>
|
||||
<rule ref="Generic.Functions.FunctionCallArgumentSpacing"/>
|
||||
<rule ref="Generic.Metrics.CyclomaticComplexity"/>
|
||||
<rule ref="Generic.Metrics.NestingLevel"/>
|
||||
<rule ref="Generic.NamingConventions.ConstructorName"/>
|
||||
<rule ref="Generic.NamingConventions.UpperCaseConstantName"/>
|
||||
<rule ref="Generic.NamingConventions.CamelCapsFunctionName"/>
|
||||
<rule ref="Generic.PHP.DeprecatedFunctions"/>
|
||||
<rule ref="Generic.PHP.DisallowShortOpenTag"/>
|
||||
<rule ref="Generic.PHP.ForbiddenFunctions"/>
|
||||
<rule ref="Generic.PHP.NoSilencedErrors"/>
|
||||
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
|
||||
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
|
||||
<rule ref="Generic.WhiteSpace.ScopeIndent"/>
|
||||
<rule ref="MySource.PHP.EvalObjectFactory"/>
|
||||
<rule ref="MySource.PHP.GetRequestData"/>
|
||||
<rule ref="MySource.PHP.AjaxNullComparison"/>
|
||||
<rule ref="PEAR.Classes.ClassDeclaration"/>
|
||||
<rule ref="PEAR.Commenting.InlineComment"/>
|
||||
<rule ref="PSR1.Classes.ClassDeclaration"/>
|
||||
<rule ref="PSR1.Files.SideEffects"/>
|
||||
<rule ref="PSR2.Classes.ClassDeclaration"/>
|
||||
<rule ref="PSR2.Classes.PropertyDeclaration"/>
|
||||
<rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
|
||||
<rule ref="PSR2.ControlStructures.SwitchDeclaration"/>
|
||||
<rule ref="PSR2.Files.EndFileNewline"/>
|
||||
<rule ref="PSR2.Methods.MethodDeclaration"/>
|
||||
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
|
||||
<rule ref="PSR2.Namespaces.UseDeclaration"/>
|
||||
<rule ref="Squiz.PHP.CommentedOutCode"/>
|
||||
<rule ref="Squiz.PHP.DisallowMultipleAssignments">
|
||||
<exclude name="Squiz.PHP.DisallowMultipleAssignments.FoundInControlStructure" />
|
||||
</rule>
|
||||
<rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops"/>
|
||||
|
||||
<rule ref="Squiz.PHP.DiscouragedFunctions">
|
||||
<properties>
|
||||
<property name="error" value="true"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="Squiz.PHP.Eval"/>
|
||||
<rule ref="Squiz.PHP.GlobalKeyword"/>
|
||||
<rule ref="Squiz.PHP.Heredoc"/>
|
||||
<rule ref="Squiz.PHP.InnerFunctions"/>
|
||||
<rule ref="Squiz.PHP.LowercasePHPFunctions"/>
|
||||
<rule ref="Squiz.PHP.NonExecutableCode"/>
|
||||
<rule ref="Squiz.Scope.MemberVarScope"/>
|
||||
<rule ref="Squiz.Scope.MethodScope"/>
|
||||
<rule ref="Squiz.Scope.StaticThisUsage"/>
|
||||
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"/>
|
||||
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing"/>
|
||||
<rule ref="Squiz.WhiteSpace.MemberVarSpacing">
|
||||
<properties>
|
||||
<property name="spacingBeforeFirst " value="false"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="Squiz.WhiteSpace.OperatorSpacing">
|
||||
<properties>
|
||||
<property name="ignoreNewlines" value="true"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing">
|
||||
<properties>
|
||||
<property name="ignoreNewlines" value="true"/>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"/>
|
||||
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
|
||||
<rule ref="Squiz.Commenting.BlockComment">
|
||||
<exclude name="Squiz.Commenting.BlockComment.WrongStart" />
|
||||
</rule>
|
||||
<rule ref="Squiz.Commenting.ClassComment">
|
||||
<exclude name="Squiz.Commenting.ClassComment.Missing" />
|
||||
<exclude name="Squiz.Commenting.ClassComment.TagNotAllowed" />
|
||||
</rule>
|
||||
<rule ref="Squiz.Commenting.DocCommentAlignment"/>
|
||||
<rule ref="Squiz.Commenting.EmptyCatchComment"/>
|
||||
<rule ref="Squiz.Commenting.FunctionComment">
|
||||
<exclude name="Squiz.Commenting.FunctionComment.MissingParamComment" />
|
||||
</rule>
|
||||
<rule ref="Squiz.Commenting.FunctionCommentThrowTag"/>
|
||||
<rule ref="Squiz.Commenting.InlineComment">
|
||||
<exclude name="Squiz.Commenting.InlineComment.DocBlock" />
|
||||
</rule>
|
||||
<rule ref="Squiz.Commenting.LongConditionClosingComment">
|
||||
<exclude name="Squiz.Commenting.LongConditionClosingComment.SpacingBefore" />
|
||||
</rule>
|
||||
<rule ref="Squiz.Commenting.PostStatementComment"/>
|
||||
<rule ref="Squiz.Commenting.VariableComment"/>
|
||||
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses.UnusedUse" />
|
||||
|
||||
<!-- For Laravel migrations -->
|
||||
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
|
||||
<exclude-pattern>*/database/migrations/*</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
</ruleset>
|
||||
9
public/browserconfig.xml
Normal file
9
public/browserconfig.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/assets/images/mstile-150x150.png"/>
|
||||
<TileColor>#091c58</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
14
public/site.webmanifest
Normal file
14
public/site.webmanifest
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "",
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/images/android-chrome-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#091c58",
|
||||
"background_color": "#091c58",
|
||||
"display": "standalone"
|
||||
}
|
||||
BIN
resources/assets/fonts/museo/museo300.eot
Normal file
BIN
resources/assets/fonts/museo/museo300.eot
Normal file
Binary file not shown.
1006
resources/assets/fonts/museo/museo300.svg
Normal file
1006
resources/assets/fonts/museo/museo300.svg
Normal file
File diff suppressed because it is too large
Load diff
|
After Width: | Height: | Size: 108 KiB |
BIN
resources/assets/fonts/museo/museo300.ttf
Normal file
BIN
resources/assets/fonts/museo/museo300.ttf
Normal file
Binary file not shown.
BIN
resources/assets/fonts/museo/museo300.woff
Normal file
BIN
resources/assets/fonts/museo/museo300.woff
Normal file
Binary file not shown.
BIN
resources/assets/fonts/museo/museo500.eot
Normal file
BIN
resources/assets/fonts/museo/museo500.eot
Normal file
Binary file not shown.
1006
resources/assets/fonts/museo/museo500.svg
Normal file
1006
resources/assets/fonts/museo/museo500.svg
Normal file
File diff suppressed because it is too large
Load diff
|
After Width: | Height: | Size: 106 KiB |
BIN
resources/assets/fonts/museo/museo500.ttf
Normal file
BIN
resources/assets/fonts/museo/museo500.ttf
Normal file
Binary file not shown.
BIN
resources/assets/fonts/museo/museo500.woff
Normal file
BIN
resources/assets/fonts/museo/museo500.woff
Normal file
Binary file not shown.
BIN
resources/assets/fonts/museo_sans/museosans-100-webfont.eot
Normal file
BIN
resources/assets/fonts/museo_sans/museosans-100-webfont.eot
Normal file
Binary file not shown.
807
resources/assets/fonts/museo_sans/museosans-100-webfont.svg
Normal file
807
resources/assets/fonts/museo_sans/museosans-100-webfont.svg
Normal file
|
|
@ -0,0 +1,807 @@
|
|||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata></metadata>
|
||||
<defs>
|
||||
<font id="museo_sans100" horiz-adv-x="1050" >
|
||||
<font-face units-per-em="2048" ascent="1536" descent="-512" />
|
||||
<missing-glyph horiz-adv-x="567" />
|
||||
<glyph unicode="fi" horiz-adv-x="1071" d="M94 946v78h129v41q0 96 24.5 168.5t59.5 111.5t82.5 62.5t84 30t73.5 6.5l53 -4v-80q-18 4 -47 4t-57 -5t-63.5 -24t-61.5 -49.5t-44 -87t-18 -131.5v-43h582v-1024h-86v946h-496v-946h-86v946h-129zM797 1284v150h102v-150h-102z" />
|
||||
<glyph unicode="fl" horiz-adv-x="1095" d="M94 940v78h129v47q0 96 24.5 168.5t59.5 111.5t82.5 62.5t84 30t73.5 6.5l53 -4v-80q-18 4 -47 4t-57 -5t-63.5 -24t-61.5 -49.5t-44 -87t-18 -131.5v-49h281v-78h-281v-940h-86v940h-129zM795 207v1227h86v-1201q0 -159 120 -159l31 2v-80q-19 -4 -37 -4q-22 0 -44 3.5 t-51.5 17t-51.5 35.5t-37.5 63t-15.5 96z" />
|
||||
<glyph unicode="ffi" horiz-adv-x="1695" d="M94 946v78h129v41q0 96 24.5 168.5t59.5 111.5t82.5 62.5t84 30t73.5 6.5l53 -4v-80q-18 4 -47 4t-57 -5t-63.5 -24t-61.5 -49.5t-44 -87t-18 -131.5v-43h539v41q0 96 24.5 168.5t59 111.5t82 62.5t84 30t73.5 6.5l54 -4v-80q-18 4 -47 4t-57 -5t-63.5 -24t-61.5 -49.5 t-44 -87t-18 -131.5v-43h582v-1024h-86v946h-496v-946h-86v946h-539v-946h-86v946h-129zM1421 1284v150h103v-150h-103z" />
|
||||
<glyph unicode="ffl" horiz-adv-x="1720" d="M94 946v78h129v41q0 96 24.5 168.5t59.5 111.5t82.5 62.5t84 30t73.5 6.5l53 -4v-80q-18 4 -47 4t-57 -5t-63.5 -24t-61.5 -49.5t-44 -87t-18 -131.5v-43h539v41q0 96 24.5 168.5t59 111.5t82 62.5t84 30t73.5 6.5l54 -4v-80q-18 4 -47 4t-57 -5t-63.5 -24t-61.5 -49.5 t-44 -87t-18 -131.5v-43h280v-78h-280v-946h-86v946h-539v-946h-86v946h-129zM1419 207v1227h86v-1201q0 -159 121 -159l31 2v-80q-19 -4 -37 -4q-22 0 -44 3.5t-52 17t-52 35.5t-37.5 63t-15.5 96z" />
|
||||
<glyph horiz-adv-x="2048" />
|
||||
<glyph horiz-adv-x="2048" />
|
||||
<glyph unicode="
" horiz-adv-x="2048" />
|
||||
<glyph unicode=" " horiz-adv-x="567" />
|
||||
<glyph unicode="	" horiz-adv-x="567" />
|
||||
<glyph unicode=" " horiz-adv-x="567" />
|
||||
<glyph unicode="!" horiz-adv-x="604" d="M244 0v125h121v-125h-121zM258 358v1076h88v-1076h-88z" />
|
||||
<glyph unicode=""" horiz-adv-x="595" d="M147 1143v309h89v-309h-89zM360 1143v309h89v-309h-89z" />
|
||||
<glyph unicode="#" horiz-adv-x="1501" d="M106 408l15 81h311l80 453h-311l14 82h311l72 410h88l-72 -410h387l72 410h88l-71 -410h305l-15 -82h-305l-80 -453h305l-14 -81h-305l-72 -408h-88l72 408h-387l-72 -408h-88l72 408h-312zM520 489h387l80 453h-387z" />
|
||||
<glyph unicode="$" horiz-adv-x="1122" d="M135 154l60 67q6 -7 17 -17.5t49 -38t79.5 -48.5t106 -38.5t131.5 -17.5q136 0 227.5 78t91.5 205q0 80 -41 142.5t-106 102.5t-143.5 75.5t-157.5 72t-144 80.5t-106 112.5t-41 157.5q0 136 103 242.5t269 124.5v195h88v-193q60 -2 116.5 -16.5t94.5 -33.5t67 -37.5 t42 -30.5l14 -13l-49 -76q-5 5 -14.5 13.5t-41 29.5t-65.5 37t-86.5 29.5t-105.5 13.5q-152 0 -246 -85.5t-94 -196.5q0 -75 41 -132t106 -95t143.5 -71.5t157.5 -71.5t144 -84t106 -119.5t41 -168.5q0 -149 -101 -253.5t-270 -117.5v-190h-88v190q-72 4 -139 24 t-111.5 45.5t-78.5 50t-50 41.5z" />
|
||||
<glyph unicode="%" horiz-adv-x="1437" d="M125 0l1087 1434h107l-1088 -1434h-106zM129 1190q0 110 78 189t188 79t189.5 -79t79.5 -189t-79 -188t-190 -78q-110 0 -188 78t-78 188zM217 1190q0 -77 51 -130.5t127 -53.5t128 53.5t52 130.5t-52 131.5t-128 54.5t-127 -54.5t-51 -131.5zM776 242q0 110 78 189 t188 79t189.5 -79t79.5 -189t-79.5 -188.5t-189.5 -78.5t-188 78.5t-78 188.5zM864 242q0 -77 51 -131t127 -54t128.5 54t52.5 131t-52.5 131.5t-128.5 54.5t-127 -54.5t-51 -131.5z" />
|
||||
<glyph unicode="&" horiz-adv-x="1363" d="M133 391q0 132 71.5 241t198.5 144v4q-8 2 -22 8t-49.5 30.5t-62.5 57t-49.5 93t-22.5 133.5q0 158 111 257t306 99q27 0 65 -5t63 -10l24 -5l-29 -78q-76 16 -129 16q-138 0 -228.5 -74.5t-90.5 -197.5q0 -36 6 -69.5t28 -75.5t58 -72t102.5 -51t155.5 -21h334v209h88 v-209h199v-82h-199v-229q0 -265 -122.5 -397t-334.5 -132q-206 0 -338.5 118t-132.5 298zM225 395q0 -143 102 -238.5t277 -95.5q174 0 271.5 106t97.5 337v229h-330q-208 0 -313 -91t-105 -247z" />
|
||||
<glyph unicode="'" horiz-adv-x="382" d="M147 1143v309h89v-309h-89z" />
|
||||
<glyph unicode="(" horiz-adv-x="567" d="M170 686q0 425 225 799h90q-231 -390 -231 -801q0 -476 231 -879h-90q-106 186 -165.5 415.5t-59.5 465.5z" />
|
||||
<glyph unicode=")" horiz-adv-x="567" d="M82 -195q231 403 231 879q0 411 -231 801h90q225 -374 225 -799q0 -236 -59.5 -465.5t-165.5 -415.5h-90z" />
|
||||
<glyph unicode="*" horiz-adv-x="962" d="M98 1122l27 86l317 -110l-10 336h96l-10 -336l320 108l28 -84l-321 -96v-4l200 -266l-71 -54l-191 275h-4l-190 -272l-74 51l203 266v4z" />
|
||||
<glyph unicode="+" horiz-adv-x="1404" d="M174 539v82h485v538h89v-538h483v-82h-483v-539h-89v539h-485z" />
|
||||
<glyph unicode="," horiz-adv-x="493" d="M92 -193l109 318h114l-137 -318h-86z" />
|
||||
<glyph unicode="-" horiz-adv-x="729" d="M82 539v82h565v-82h-565z" />
|
||||
<glyph unicode="." horiz-adv-x="485" d="M180 0v129h125v-129h-125z" />
|
||||
<glyph unicode="/" horiz-adv-x="786" d="M96 -86l518 1602h91l-519 -1602h-90z" />
|
||||
<glyph unicode="0" horiz-adv-x="1273" d="M154 717q0 129 15 236.5t50 202.5t90 160.5t138 103.5t190 38t190 -38t138 -103.5t90 -160.5t50 -202.5t15 -236.5t-15 -237t-50 -203.5t-90 -161t-138 -103t-190 -37.5t-190 37.5t-138 103t-90 161t-50 203.5t-15 237zM246 717q0 -147 19 -260.5t62 -205.5t121 -141 t189 -49t189 49t121 141t62 205.5t19 260.5q0 116 -11 210.5t-39 179t-71.5 142t-112 90.5t-157.5 33t-157.5 -33t-112 -90.5t-71.5 -142t-39 -179t-11 -210.5z" />
|
||||
<glyph unicode="1" horiz-adv-x="905" d="M115 0v82h325v1167l2 72h-4q-15 -27 -76 -88l-169 -170l-62 59l309 312h88v-1352h318v-82h-731z" />
|
||||
<glyph unicode="2" horiz-adv-x="1140" d="M129 76q0 80 26 150.5t70.5 125.5t101.5 105t120.5 94t127 86.5t120.5 89t101.5 95.5t70.5 111.5t26 131.5q0 132 -91 219.5t-243 87.5q-64 0 -123.5 -21t-98.5 -51t-69 -60.5t-44 -51.5l-13 -21l-66 45q5 10 15.5 26.5t48.5 59t82 75t117 59t153 26.5q103 0 185 -32.5 t133.5 -87.5t78.5 -125t27 -148t-26 -148t-70 -124t-101.5 -104t-120.5 -93.5t-126 -86.5t-120.5 -89t-101.5 -95.5t-70 -111.5t-26 -131h785v-82h-873q-6 40 -6 76z" />
|
||||
<glyph unicode="3" horiz-adv-x="1138" d="M100 174l66 66q6 -7 17.5 -19t50 -43t80 -54.5t106.5 -43t131 -19.5q142 0 250 100t108 253q0 107 -56 186.5t-141.5 117.5t-185.5 38h-98l-25 61l402 469q14 16 29.5 32.5t24.5 25.5l9 8v4q-38 -4 -110 -4h-588v82h821v-62l-463 -534q57 0 116 -11t124.5 -41.5t116 -76 t83.5 -122t33 -173.5q0 -183 -133.5 -311t-320.5 -128q-76 0 -150 20.5t-125.5 49.5t-92 58.5t-59.5 50.5z" />
|
||||
<glyph unicode="4" horiz-adv-x="1204" d="M74 410v61l743 963h82v-942h213v-82h-213v-410h-88v410h-737zM197 492h614v671l6 129h-4q-35 -51 -72 -98l-544 -698v-4z" />
|
||||
<glyph unicode="5" horiz-adv-x="1134" d="M121 182l72 56q4 -7 12 -19t37.5 -42.5t64.5 -54t93.5 -42.5t123.5 -19q168 0 283 107.5t115 267.5q0 162 -115 270.5t-283 108.5q-73 0 -142.5 -21.5t-102.5 -43.5l-33 -21l-66 23l82 682h666v-82h-588l-51 -428l-15 -88h5q11 7 31.5 18t85 29t128.5 18 q205 0 347.5 -135.5t142.5 -329.5q0 -127 -66 -233t-178.5 -167t-245.5 -61q-78 0 -148.5 21.5t-115 52t-77.5 60.5t-47 51z" />
|
||||
<glyph unicode="6" horiz-adv-x="1212" d="M145 645q0 109 21 219t69.5 218t118 191t175.5 134t233 51q65 0 127.5 -14t92.5 -28l30 -15l-43 -80q-10 6 -28 14.5t-73 22.5t-110 14q-97 0 -180 -38.5t-142 -102.5t-102.5 -150t-66.5 -178.5t-29 -189.5h4q60 90 169.5 143t235.5 53q192 0 316 -125t124 -331 q0 -113 -35.5 -205t-96 -151t-140 -90.5t-168.5 -31.5q-154 0 -269.5 91.5t-174 242.5t-58.5 336zM246 539q0 -60 17.5 -126t53 -128.5t82.5 -112.5t111.5 -80.5t134.5 -30.5q163 0 256.5 109t93.5 283q0 170 -97.5 270t-254.5 100q-159 0 -278 -91t-119 -193z" />
|
||||
<glyph unicode="7" horiz-adv-x="1038" d="M80 1352v82h907v-62l-680 -1372h-92l598 1219q16 32 35 65t30 50l11 18v4q-41 -4 -113 -4h-696z" />
|
||||
<glyph unicode="8" horiz-adv-x="1230" d="M141 410q0 73 26.5 142t64 114.5t75 80.5t63.5 51l27 17q-186 113 -186 293q0 69 27.5 131t78.5 111.5t133 78.5t183 29q197 0 311.5 -100t114.5 -262q0 -62 -20 -126.5t-42.5 -107t-57.5 -88t-46 -57t-27 -27.5q101 -56 156 -129t55 -178q0 -169 -134 -288.5 t-327 -119.5q-91 0 -175 29t-151.5 82t-108 137.5t-40.5 186.5zM233 410q0 -105 56 -186.5t142.5 -122t184.5 -40.5q92 0 176 40t138.5 114.5t54.5 165.5q0 52 -23 96.5t-56.5 75t-90 62t-103.5 52t-117.5 50.5t-113.5 51q-15 -7 -37.5 -21.5t-61.5 -48t-70.5 -72t-55 -96.5 t-23.5 -120zM303 1108q0 -44 14.5 -82t43.5 -68.5t61.5 -54.5t81.5 -48t88 -41t97 -41.5t95 -41.5q20 19 41 42t58 73.5t60.5 116t23.5 133.5q0 126 -93 201t-241 75q-151 0 -240.5 -75.5t-89.5 -188.5z" />
|
||||
<glyph unicode="9" horiz-adv-x="1212" d="M125 981q0 113 35.5 205t96 150.5t140 90t168.5 31.5q154 0 269.5 -91.5t174 -242.5t58.5 -336q0 -90 -15.5 -182t-46 -184t-81.5 -172t-116.5 -142t-157.5 -97.5t-199 -35.5q-65 0 -127.5 14.5t-92.5 28.5l-30 15l43 80q10 -6 28 -14.5t73 -23t110 -14.5q97 0 180 38.5 t142 103t102.5 150.5t66.5 178.5t29 189.5h-4q-60 -91 -170 -144t-236 -53q-192 0 -316 125.5t-124 331.5zM217 981q0 -170 97.5 -270.5t254.5 -100.5q106 0 199.5 44.5t146 110t52.5 130.5q0 76 -29 159t-79 154t-127.5 117.5t-164.5 46.5q-163 0 -256.5 -108.5 t-93.5 -282.5z" />
|
||||
<glyph unicode=":" horiz-adv-x="600" d="M242 0v121h116v-121h-116zM242 903v121h116v-121h-116z" />
|
||||
<glyph unicode=";" horiz-adv-x="600" d="M156 -193l92 318h106l-114 -318h-84zM248 903v121h117v-121h-117z" />
|
||||
<glyph unicode="<" horiz-adv-x="1153" d="M111 543v73l899 404v-98l-772 -340v-4l772 -340v-99z" />
|
||||
<glyph unicode="=" horiz-adv-x="1441" d="M254 375v82h934v-82h-934zM254 702v82h934v-82h-934z" />
|
||||
<glyph unicode=">" horiz-adv-x="1153" d="M143 139v99l772 340v4l-772 340v98l899 -404v-73z" />
|
||||
<glyph unicode="?" horiz-adv-x="960" d="M92 1356q5 4 14 11t40 24.5t64.5 31t84 24.5t102.5 11q175 0 284.5 -99.5t109.5 -252.5q0 -69 -20.5 -127.5t-53 -100.5t-72 -80.5t-79.5 -74.5t-72.5 -74.5t-53 -89.5t-20.5 -110v-91h-88v91q0 68 20 126t52.5 100t71.5 80.5t78 75t71.5 75t52.5 90.5t20 112 q0 112 -83.5 188t-215.5 76q-67 0 -132 -21.5t-97 -42.5l-31 -22zM315 0v125h121v-125h-121z" />
|
||||
<glyph unicode="@" horiz-adv-x="1613" d="M143 498q0 152 57 290.5t152 238.5t226 159t274 59q127 0 222 -30.5t148.5 -83t79 -114.5t25.5 -134v-705h143v-82h-542q-164 0 -280 117t-116 281q0 165 116 283t280 118h307q-2 54 -23 100t-63 85t-115 61t-170 22q-174 0 -318.5 -89t-227 -241.5t-82.5 -334.5 q0 -183 82.5 -335t227 -239.5t318.5 -87.5v-86q-196 0 -362 99.5t-262.5 271.5t-96.5 377zM625 494q0 -131 91.5 -223.5t221.5 -92.5h297v635h-293q-133 0 -225 -94t-92 -225z" />
|
||||
<glyph unicode="A" horiz-adv-x="1241" d="M37 0l536 1434h95l536 -1434h-94l-186 496h-609l-184 -496h-94zM346 578h547l-217 581q-10 27 -23.5 70t-21.5 73l-8 29h-5q-30 -111 -53 -172z" />
|
||||
<glyph unicode="B" horiz-adv-x="1267" d="M221 0v1434h481q159 0 261 -98.5t102 -260.5q0 -113 -49.5 -192.5t-136.5 -120.5v-4q108 -30 175.5 -128.5t67.5 -234.5q0 -178 -112.5 -286.5t-286.5 -108.5h-502zM309 82h406q145 0 230 83.5t85 229.5q0 144 -88.5 231t-228.5 87h-404v-631zM309 795h391q121 0 197 77 t76 203t-74.5 201.5t-200.5 75.5h-389v-557z" />
|
||||
<glyph unicode="C" horiz-adv-x="1503" d="M125 727q0 205 93 372.5t256 263t362 95.5q95 0 183 -18.5t145 -45t100.5 -53t63.5 -45.5l20 -18l-54 -66q-7 7 -20 17.5t-57.5 38.5t-94 49.5t-127 39t-157.5 17.5q-130 0 -245 -49.5t-197.5 -134.5t-130.5 -205.5t-48 -257.5q0 -184 81 -337t225 -242t321 -89 q86 0 167.5 20t136.5 48.5t98 57.5t63 49l20 20l55 -61q-8 -9 -23 -23.5t-67 -52t-110 -66.5t-150.5 -52.5t-189.5 -23.5q-154 0 -288.5 59.5t-228.5 160.5t-148 239.5t-54 292.5z" />
|
||||
<glyph unicode="D" horiz-adv-x="1517" d="M221 0v1434h451q324 0 519 -190.5t195 -526.5q0 -225 -90 -388t-250 -246t-374 -83h-451zM309 82h348q292 0 464.5 166t172.5 469q0 302 -173 468.5t-464 166.5h-348v-1270z" />
|
||||
<glyph unicode="E" horiz-adv-x="1169" d="M221 0v1434h785v-82h-697v-588h572v-82h-572v-600h735v-82h-823z" />
|
||||
<glyph unicode="F" horiz-adv-x="1040" d="M221 0v1434h723v-82h-635v-598h549v-82h-549v-672h-88z" />
|
||||
<glyph unicode="G" horiz-adv-x="1550" d="M125 717q0 204 93.5 374t257.5 268.5t364 98.5q91 0 175.5 -16.5t141 -40.5t99.5 -48t63 -41l20 -16l-53 -67q-7 6 -20 15.5t-57.5 34.5t-93 44.5t-123.5 35t-152 15.5q-177 0 -320 -86.5t-223 -236.5t-80 -334q0 -185 78 -335t218 -236.5t314 -86.5q86 0 168.5 24.5 t138.5 59t99.5 69t64.5 58.5l21 25v276h-256v82h344v-653h-88v125l2 61h-4q-7 -9 -20.5 -23t-60.5 -50.5t-99.5 -64t-136.5 -50.5t-173 -23q-147 0 -277.5 58t-223.5 157t-147 236t-54 291z" />
|
||||
<glyph unicode="H" horiz-adv-x="1527" d="M221 0v1434h88v-674h910v674h88v-1434h-88v678h-910v-678h-88z" />
|
||||
<glyph unicode="I" horiz-adv-x="530" d="M221 0v1434h88v-1434h-88z" />
|
||||
<glyph unicode="J" d="M80 391v45h88v-47q0 -132 57 -215q41 -58 104 -86.5t134 -28.5q56 0 106 17.5t94 54t69.5 103t25.5 155.5v963h-342v82h430v-1043q0 -110 -33 -193.5t-89.5 -130.5t-122 -69.5t-138.5 -22.5t-138.5 22.5t-122 69.5t-89.5 130.5t-33 193.5z" />
|
||||
<glyph unicode="K" horiz-adv-x="1187" d="M221 0v1434h88v-639h266l410 639h107l-441 -676v-4l469 -754h-106l-439 713h-266v-713h-88z" />
|
||||
<glyph unicode="L" horiz-adv-x="1042" d="M221 0v1434h88v-1352h684v-82h-772z" />
|
||||
<glyph unicode="M" horiz-adv-x="1740" d="M180 0l115 1434h86l418 -902l69 -161h4q37 91 70 161l418 902h86l115 -1434h-88l-89 1094q-3 31 -4.5 78.5t-1.5 79.5v32h-4q-41 -120 -74 -190l-385 -818h-90l-383 818q-14 30 -32.5 78.5t-30.5 81.5l-12 34h-5q0 -124 -6 -194l-88 -1094h-88z" />
|
||||
<glyph unicode="N" horiz-adv-x="1540" d="M221 0v1434h82l817 -1125q21 -29 50 -74t48 -75l19 -31h4q-10 108 -10 180v1125h88v-1434h-82l-817 1124q-21 29 -50 74.5t-48 75.5l-19 31h-4q10 -109 10 -181v-1124h-88z" />
|
||||
<glyph unicode="O" horiz-adv-x="1691" d="M121 727q0 152 57.5 288t155 232.5t231.5 153.5t281 57t281 -57t231.5 -153.5t155 -232.5t57.5 -288q0 -155 -57.5 -295t-155 -240t-231.5 -158.5t-281 -58.5t-281 58.5t-231.5 158.5t-155 240t-57.5 295zM213 727q0 -185 85 -339t230 -241.5t318 -87.5t318 87.5 t230 241.5t85 339q0 180 -85 329t-230 233.5t-318 84.5t-318 -84.5t-230 -233.5t-85 -329z" />
|
||||
<glyph unicode="P" horiz-adv-x="1212" d="M221 0v1434h471q191 0 313.5 -113.5t122.5 -304.5q0 -192 -122.5 -307t-313.5 -115h-383v-594h-88zM309 676h379q159 0 253.5 90.5t94.5 249.5t-94.5 247.5t-253.5 88.5h-379v-676z" />
|
||||
<glyph unicode="Q" horiz-adv-x="1718" d="M123 725q0 152 57 288.5t153.5 233.5t230 154t280.5 57q150 0 285 -57t232.5 -154t154.5 -233.5t57 -288.5q0 -144 -50 -277t-139 -233l185 -190l-58 -56l-182 189q-202 -183 -485 -183q-196 0 -362 100t-262.5 272.5t-96.5 377.5zM215 725q0 -184 83 -337t227.5 -241 t318.5 -88q114 0 228 42t198 118l-185 191l58 55l182 -189q73 89 114.5 206t41.5 243q0 137 -49 257.5t-134 206.5t-203 135.5t-251 49.5q-131 0 -247.5 -49.5t-200 -135.5t-132.5 -206.5t-49 -257.5z" />
|
||||
<glyph unicode="R" horiz-adv-x="1271" d="M221 0v1434h420q173 0 258 -43q92 -46 145.5 -135t53.5 -209q0 -152 -79.5 -260t-207.5 -136v-4q15 -16 33 -51l321 -596h-104l-340 635h-412v-635h-88zM309 717h389q140 0 224 91.5t84 238.5q0 95 -45 168t-123 108q-66 29 -201 29h-328v-635z" />
|
||||
<glyph unicode="S" horiz-adv-x="1085" d="M115 154l59 67q6 -7 17 -17.5t49 -38t79.5 -48.5t106 -38.5t131.5 -17.5q136 0 228 78.5t92 204.5q0 65 -25 118t-67.5 89t-97.5 66.5t-116 56.5t-122 52.5t-116 59.5t-97.5 73t-67.5 98t-25 130q0 149 121 260t309 111q65 0 126.5 -13.5t103 -33t73.5 -39.5t47 -34 l15 -13l-49 -76q-5 5 -14.5 13.5t-41 29.5t-66 37t-87 29.5t-105.5 13.5q-152 0 -245.5 -85.5t-93.5 -196.5q0 -60 25 -109t67.5 -82.5t97.5 -62.5t116 -54t121.5 -52t115.5 -61.5t97.5 -77t67.5 -104.5t25 -139q0 -159 -114 -266t-302 -107q-79 0 -153.5 18.5t-124 44.5 t-87.5 52.5t-56 45.5z" />
|
||||
<glyph unicode="T" horiz-adv-x="1189" d="M16 1352v82h1158v-82h-535v-1352h-88v1352h-535z" />
|
||||
<glyph unicode="U" horiz-adv-x="1472" d="M201 492v942h88v-938q0 -202 121 -319.5t325 -117.5t326.5 118.5t122.5 322.5v934h88v-942q0 -234 -148.5 -375.5t-386.5 -141.5t-387 141.5t-149 375.5z" />
|
||||
<glyph unicode="V" horiz-adv-x="1239" d="M35 1434h94l432 -1160l55 -172h5q30 104 55 172l434 1160h94l-536 -1434h-97z" />
|
||||
<glyph unicode="W" horiz-adv-x="1882" d="M88 1434h92l303 -1168l35 -153h4q1 0 6 22t15 61.5t18 69.5l328 1168h98l328 -1168q8 -30 18 -69.5t15 -61.5t6 -22h4q17 83 35 153l313 1168h92l-387 -1434h-111l-303 1081q-12 41 -25.5 98t-21.5 93l-8 37h-4h-4q-28 -136 -55 -228l-304 -1081h-110z" />
|
||||
<glyph unicode="X" horiz-adv-x="1173" d="M61 0l463 758l-411 676h106l275 -457l94 -160h4q45 90 88 160l276 457h107l-416 -676l465 -758h-104l-332 545l-92 153h-4q-43 -83 -86 -155l-328 -543h-105z" />
|
||||
<glyph unicode="Y" horiz-adv-x="1138" d="M39 1434h100l340 -566l88 -161h4q45 91 88 161l340 566h101l-486 -811v-623h-88v623z" />
|
||||
<glyph unicode="Z" horiz-adv-x="1200" d="M90 0v70l789 1151q22 33 46.5 65.5t38.5 49.5l13 16v4q-33 -4 -105 -4h-739v82h950v-70l-788 -1151q-22 -33 -46.5 -65.5t-38.5 -49.5l-13 -16v-4q32 4 104 4h789v-82h-1000z" />
|
||||
<glyph unicode="[" horiz-adv-x="546" d="M229 -195v1680h222v-82h-134v-1516h134v-82h-222z" />
|
||||
<glyph unicode="\" horiz-adv-x="786" d="M82 1516h90l518 -1602h-90z" />
|
||||
<glyph unicode="]" horiz-adv-x="546" d="M96 -113h133v1516h-133v82h221v-1680h-221v82z" />
|
||||
<glyph unicode="^" horiz-adv-x="1228" d="M158 516l403 918h66l403 -918h-94l-342 795l-342 -795h-94z" />
|
||||
<glyph unicode="_" horiz-adv-x="1179" d="M82 0h1016v-82h-1016v82z" />
|
||||
<glyph unicode="`" horiz-adv-x="1042" d="M395 1763h115l137 -227h-90z" />
|
||||
<glyph unicode="a" d="M96 272q0 56 16.5 103.5t42 81.5t66 61t79.5 44.5t92 30t93 18.5t93 9.5t82.5 4t70.5 0.5h68v34q0 306 -281 306q-50 0 -98.5 -10t-82 -24.5t-60 -29.5t-39.5 -25l-13 -10l-49 70q5 5 14.5 12.5t43 27t70.5 34.5t96.5 27t121.5 12q178 0 270.5 -98t92.5 -289v-662h-86 v135q0 24 2 47t4 34l2 11h-4q2 0 -10 -26t-39.5 -63t-67 -74t-104 -63t-138.5 -26q-64 0 -124.5 18t-111.5 53t-81.5 93.5t-30.5 132.5zM186 279q0 -89 70 -156.5t193 -67.5q80 0 148 39t111 102t67 139.5t24 153.5v56h-66q-41 0 -65.5 -0.5t-73 -2.5t-81 -6.5t-79.5 -14 t-78 -22t-66 -33t-55.5 -46.5t-34.5 -62t-14 -79z" />
|
||||
<glyph unicode="b" horiz-adv-x="1185" d="M180 0v1434h86v-533q0 -21 -2 -42t-4 -31l-2 -11h4q4 9 11.5 25t38 56t68.5 70.5t106 55.5t147 25q203 0 322.5 -148t119.5 -389q0 -242 -128 -389.5t-331 -147.5q-72 0 -135 24t-101.5 58t-66.5 68t-39 58l-12 24h-4q8 -37 8 -90v-117h-86zM264 510q0 -118 38 -218 t121 -166.5t198 -66.5q156 0 260 122t104 331q0 205 -99 329t-257 124q-73 0 -137 -26.5t-116 -79.5t-82 -143t-30 -206z" />
|
||||
<glyph unicode="c" horiz-adv-x="1128" d="M109 510q0 119 42.5 221t114.5 171t168.5 108t202.5 39q68 0 131 -15t104 -36.5t72.5 -43t45.5 -36.5l14 -15l-54 -69l-14 14t-39.5 31.5t-64.5 40t-87 31.5t-108 14q-185 0 -311.5 -126.5t-126.5 -328.5q0 -200 127 -325.5t311 -125.5q63 0 121.5 15t97 37t67.5 44 t43 37l13 15l45 -72q-5 -7 -15.5 -17.5t-47.5 -38t-78 -48.5t-108 -38.5t-138 -17.5q-145 0 -264.5 65t-191.5 188t-72 282z" />
|
||||
<glyph unicode="d" horiz-adv-x="1187" d="M113 512q0 242 127.5 389.5t330.5 147.5q72 0 135.5 -24t102 -58t66.5 -68t39 -58l12 -24h4q-8 37 -8 84v533h86v-1434h-86v129q0 21 2 40.5t4 28.5l2 9h-4q-4 -9 -11.5 -25t-38 -56t-68.5 -70.5t-106 -55.5t-147 -25q-203 0 -322.5 148t-119.5 389zM203 512 q0 -205 99 -329t257 -124q73 0 137 26.5t116 79.5t82 143t30 206q0 118 -38 218t-121 166.5t-198 66.5q-156 0 -260 -122t-104 -331z" />
|
||||
<glyph unicode="e" horiz-adv-x="1132" d="M109 510q0 126 40.5 229.5t109.5 170.5t158.5 103t188.5 36q101 0 182.5 -38t132 -103t77 -148t26.5 -178l-4 -56h-821q0 -215 126 -341t312 -126q55 0 108 13.5t89 32.5t64.5 37.5t41.5 31.5l14 14l47 -71q-6 -6 -17 -15.5t-47.5 -34t-76 -43t-100.5 -34t-123 -15.5 q-145 0 -264.5 65t-191.5 188t-72 282zM205 606h729q-7 178 -100 270.5t-230 92.5q-148 0 -260 -95t-139 -268z" />
|
||||
<glyph unicode="f" horiz-adv-x="624" d="M94 940v78h129v47q0 96 24.5 168.5t59.5 111.5t82.5 62.5t84 30t73.5 6.5l53 -4v-80q-18 4 -47 4t-57 -5t-63.5 -24t-61.5 -49.5t-44 -87t-18 -131.5v-49h281v-78h-281v-940h-86v940h-129z" />
|
||||
<glyph unicode="g" horiz-adv-x="1173" d="M113 528q0 239 120 380t320 141q81 0 148 -20.5t104 -50.5t62 -59.5t33 -50.5l9 -20h4q-6 14 -6 39v137h86v-1018q0 -113 -38.5 -199.5t-105 -136.5t-148.5 -75t-177 -25q-164 0 -321 80l41 76q14 -8 39.5 -20t97.5 -32t137 -20q175 0 282 87.5t107 264.5v119q0 21 2 42 t4 31l2 11h-4q-48 -98 -134.5 -153.5t-209.5 -55.5q-201 0 -327.5 145t-126.5 383zM203 528q0 -205 102 -324.5t268 -119.5q71 0 129 23.5t106 73.5t74.5 138.5t26.5 208.5q0 437 -356 437q-165 0 -257.5 -115t-92.5 -322z" />
|
||||
<glyph unicode="h" horiz-adv-x="1200" d="M180 0v1434h86v-590q0 -21 -2 -42t-4 -32l-2 -10h4q12 32 34 67.5t60.5 75.5t86 72t114 53t139.5 21q97 0 164.5 -27.5t104.5 -82.5t53 -124.5t16 -165.5v-649h-86v618q0 61 -4 105t-19 93t-41 79t-74 50t-114 20q-144 0 -259.5 -91.5t-153.5 -234.5q-17 -61 -17 -139 v-500h-86z" />
|
||||
<glyph unicode="i" horiz-adv-x="446" d="M172 1284v150h102v-150h-102zM180 0v1024h86v-1024h-86z" />
|
||||
<glyph unicode="j" horiz-adv-x="446" d="M-111 -336q18 -4 45 -4q30 0 58 5t63.5 24t62 49.5t44.5 87t18 131.5v1067h86v-1065q0 -97 -24.5 -169.5t-59.5 -111t-82.5 -62t-84 -30t-74.5 -6.5l-52 4v80zM172 1284v150h102v-150h-102z" />
|
||||
<glyph unicode="k" horiz-adv-x="983" d="M180 0v1434h86v-813h183l331 403h113l-371 -440v-4l406 -580h-109l-370 541h-183v-541h-86z" />
|
||||
<glyph unicode="l" horiz-adv-x="471" d="M170 207v1227h86v-1201q0 -159 121 -159l31 2v-80q-19 -4 -37 -4q-22 0 -44 3.5t-52 17t-52 35.5t-37.5 63t-15.5 96z" />
|
||||
<glyph unicode="m" horiz-adv-x="1880" d="M180 0v1024h86v-180q0 -21 -2 -42t-4 -32l-2 -10h4q38 116 155.5 202.5t237.5 86.5q151 0 228.5 -69.5t95.5 -209.5h4q45 113 154 196t235 83q188 0 265 -102t77 -298v-649h-86v618q0 63 -5.5 111t-22 95t-44.5 77.5t-74.5 49t-109.5 18.5q-122 0 -223 -93t-137 -219 q-21 -71 -21 -157v-500h-86v618q0 60 -4 104.5t-19 94t-41.5 80.5t-73.5 51.5t-112 20.5q-130 0 -232.5 -97t-139.5 -233q-17 -61 -17 -139v-500h-86z" />
|
||||
<glyph unicode="n" horiz-adv-x="1200" d="M180 0v1024h86v-180q0 -21 -2 -42t-4 -32l-2 -10h4q12 32 34 67.5t60.5 75.5t86 72t114 53t139.5 21q97 0 164.5 -27.5t104.5 -82.5t53 -124.5t16 -165.5v-649h-86v618q0 61 -4 105t-19 93t-41 79t-74 50t-114 20q-144 0 -259.5 -91.5t-153.5 -234.5q-17 -61 -17 -139 v-500h-86z" />
|
||||
<glyph unicode="o" horiz-adv-x="1269" d="M104 518q0 147 71 269t193 192t267 70t266.5 -70t192.5 -192t71 -269q0 -150 -71 -275t-192.5 -196.5t-266.5 -71.5q-108 0 -206 42.5t-169.5 114.5t-113.5 173t-42 213zM195 518q0 -194 128 -326.5t312 -132.5t312 132.5t128 326.5q0 189 -128 318t-312 129t-312 -129 t-128 -318z" />
|
||||
<glyph unicode="p" horiz-adv-x="1185" d="M180 -410v1434h86v-123q0 -21 -1.5 -41.5t-2.5 -30.5l-2 -10h4q3 9 10.5 24.5t37.5 55.5t68 70t105.5 55t147.5 25q203 0 322.5 -148t119.5 -389q0 -242 -127 -389.5t-327 -147.5q-74 0 -138.5 24t-103.5 58t-67 68t-39 58l-11 24h-4q8 -37 8 -90v-527h-86zM264 510 q0 -116 40.5 -217.5t123.5 -167.5t193 -66q156 0 260 122t104 331q0 205 -99 329t-257 124q-73 0 -137 -26.5t-116 -79.5t-82 -143t-30 -206z" />
|
||||
<glyph unicode="q" horiz-adv-x="1187" d="M113 512q0 242 127.5 389.5t330.5 147.5q72 0 135 -23.5t101.5 -57.5t66 -68t38.5 -58l12 -23h4q-6 35 -6 82v123h86v-1434h-86v527q0 24 2 46.5t4 32.5l2 11h-4q-4 -9 -11.5 -25t-38 -56t-68.5 -70.5t-106 -55.5t-147 -25q-203 0 -322.5 148t-119.5 389zM203 512 q0 -205 99 -329t257 -124q73 0 137 26.5t116 79.5t82 143t30 206q0 118 -38 218t-121 166.5t-198 66.5q-156 0 -260 -122t-104 -331z" />
|
||||
<glyph unicode="r" horiz-adv-x="692" d="M180 0v1024h86v-195q0 -21 -2 -42t-4 -31l-2 -11h4q41 126 126.5 206.5t201.5 80.5l59 -6v-86q-24 4 -47 4q-113 0 -190.5 -81t-114.5 -206q-31 -97 -31 -215v-442h-86z" />
|
||||
<glyph unicode="s" horiz-adv-x="892" d="M92 123l55 65l14 -14t39.5 -31t65 -39t88.5 -31t111 -14q99 0 167 51t68 142q0 52 -31 92.5t-80.5 66.5t-109.5 49t-120.5 49.5t-110 58.5t-80.5 84t-31 120q0 131 95 204t233 73q59 0 111.5 -11.5t86 -27.5t58.5 -32.5t36 -27.5l11 -12l-51 -70q-3 4 -10 10.5t-31 23 t-51 29.5t-72 23.5t-94 10.5q-97 0 -164.5 -47t-67.5 -140q0 -47 24 -85t64 -61.5t90.5 -47t103.5 -41.5t103.5 -45t90.5 -57.5t64 -79t24 -109.5q0 -122 -93 -199.5t-235 -77.5q-69 0 -133 15t-105.5 37t-73 44t-45.5 37z" />
|
||||
<glyph unicode="t" horiz-adv-x="643" d="M78 940v78h135v291h86v-291h268v-78h-268v-563q0 -77 18 -135t44 -89.5t61.5 -50.5t63.5 -24.5t57 -5.5l47 4v-80q-20 -4 -51 -4q-26 0 -51.5 3t-59 13t-62.5 26t-58 45t-49.5 67.5t-33 96.5t-12.5 128v569h-135z" />
|
||||
<glyph unicode="u" horiz-adv-x="1189" d="M166 375v649h86v-618q0 -61 4 -105t19 -93t41 -79t74 -50t114 -20q124 0 221.5 66.5t148 172t50.5 226.5v500h86v-1024h-86v180q0 21 2 42t4 32l2 10h-4q-12 -32 -33.5 -67.5t-59.5 -75.5t-84 -72t-111 -53t-136 -21q-183 0 -260.5 98.5t-77.5 301.5z" />
|
||||
<glyph unicode="v" horiz-adv-x="960" d="M37 1024h92l315 -803l35 -110h4q17 61 35 110l316 803h90l-402 -1024h-82z" />
|
||||
<glyph unicode="w" horiz-adv-x="1632" d="M43 1024h92l279 -803l35 -110h4q18 61 34 110l281 799h96l281 -799l35 -110h4q17 59 35 110l278 803h92l-360 -1024h-92l-285 795l-35 110h-4q-17 -61 -35 -110l-282 -795h-93z" />
|
||||
<glyph unicode="x" horiz-adv-x="974" d="M59 0l369 541l-330 483h105l248 -373l34 -57h4q19 30 35 57l248 373h105l-330 -483l368 -541h-106l-283 424l-37 59h-4q-16 -28 -36 -59l-283 -424h-107z" />
|
||||
<glyph unicode="y" horiz-adv-x="1001" d="M16 -373l39 74q6 -5 17.5 -13.5t45 -22t64.5 -13.5q122 0 201 184l74 170l-424 1018h92l338 -817l37 -96h4q15 47 35 96l338 817h92l-527 -1264q-36 -85 -102 -137.5t-158 -52.5q-44 0 -85.5 14t-60.5 28z" />
|
||||
<glyph unicode="z" horiz-adv-x="1026" d="M90 0v70l621 780l80 94v4q-37 -4 -105 -4h-569v80h790v-70l-622 -780q-16 -21 -36.5 -44.5t-32.5 -36.5l-13 -13v-4q38 4 106 4h621v-80h-840z" />
|
||||
<glyph unicode="{" horiz-adv-x="665" d="M113 616v82q7 1 19 4t42 19t52.5 40t41.5 72t19 109v166q0 99 23.5 172.5t55 110.5t74 59.5t70.5 27.5t55 5h19v-80h-13q-19 0 -39 -4t-50 -21.5t-52 -46.5t-38.5 -86.5t-16.5 -134.5v-190q0 -56 -16.5 -103t-40.5 -75t-48 -48t-40 -28l-17 -7v-4q7 -2 17.5 -7t38.5 -25 t49.5 -46.5t39 -75t17.5 -106.5v-217q0 -77 16.5 -134.5t38.5 -86.5t52 -46.5t50 -21.5t39 -4h13v-80q-7 -2 -19 -2q-27 0 -55 5t-70.5 27.5t-74 60t-55 111.5t-23.5 173v193q0 61 -18 108.5t-43.5 72t-51 39.5t-43.5 19z" />
|
||||
<glyph unicode="|" horiz-adv-x="542" d="M227 -317v1925h88v-1925h-88z" />
|
||||
<glyph unicode="}" horiz-adv-x="665" d="M82 -115h12q19 0 39 4t50 21.5t52.5 46.5t39 86.5t16.5 134.5v217q0 58 16.5 106t40.5 75.5t48 46.5t40 25l17 7v4q-7 3 -17.5 8t-38.5 26.5t-49.5 48.5t-39 74.5t-17.5 103.5v190q0 77 -16.5 134.5t-39 86.5t-52.5 46.5t-50 21.5t-39 4h-12v80h18q27 0 55 -5t71 -27.5 t74.5 -59.5t55 -110.5t23.5 -172.5v-166q0 -61 18 -109t43.5 -72t51 -39.5t43.5 -19.5l18 -4v-82q-7 -1 -19 -4t-42 -19t-52.5 -39.5t-41.5 -71.5t-19 -109v-193q0 -99 -23.5 -173t-55 -111.5t-74.5 -60t-71 -27.5t-55 -5l-18 2v80z" />
|
||||
<glyph unicode="~" horiz-adv-x="1212" d="M162 436q0 152 64 223.5t171 71.5q54 0 98.5 -16.5t72 -41.5t56.5 -54.5t53 -54.5t61 -41.5t81 -16.5q39 0 68.5 16.5t45 39.5t25.5 55t12.5 56.5t2.5 49.5h82q0 -152 -64.5 -223.5t-171.5 -71.5q-54 0 -98.5 16.5t-72 41.5t-56.5 54.5t-53 54.5t-61 41.5t-81 16.5 q-48 0 -81 -23t-47.5 -60.5t-19.5 -69t-5 -64.5h-82z" />
|
||||
<glyph unicode="¡" horiz-adv-x="534" d="M205 899v125h121v-125h-121zM223 -410v1076h88v-1076h-88z" />
|
||||
<glyph unicode="¢" horiz-adv-x="1161" d="M133 717q0 114 26.5 212.5t78.5 175.5t134.5 125.5t188.5 57.5v170h88v-170q250 -22 379 -291l-84 -32q-114 237 -334 237q-99 0 -174.5 -37.5t-120.5 -105t-67.5 -153.5t-22.5 -189t22.5 -189.5t67.5 -153.5t120.5 -105t174.5 -38q219 0 334 238l84 -33 q-131 -271 -379 -291v-172h-88v172q-140 12 -238.5 93t-144 203.5t-45.5 275.5z" />
|
||||
<glyph unicode="£" horiz-adv-x="1198" d="M123 0v82h133v600h-92v82h92v332q0 154 114 258t289 104q51 0 101 -10.5t84.5 -26t62 -31t41.5 -26.5l13 -10l-60 -68q-4 3 -11.5 9t-33 21t-52 26t-67 20.5t-80.5 9.5q-147 0 -230 -82.5t-83 -202.5v-323h406v-82h-406v-600h719v-82h-940z" />
|
||||
<glyph unicode="¥" horiz-adv-x="1224" d="M82 1434h100l340 -566l88 -161h4q45 91 88 161l340 566h101l-379 -631h221v-82h-270l-58 -98v-86h328v-82h-328v-455h-88v455h-333v82h333v86l-59 98h-274v82h225z" />
|
||||
<glyph unicode="§" horiz-adv-x="798" d="M129 -59l53 65q7 -5 19 -13.5t48.5 -22t72.5 -13.5q99 0 164 63.5t65 167.5q0 29 -2 43l-133 973h86l137 -971q4 -36 4 -51q0 -133 -92 -221t-232 -88q-48 0 -95.5 17t-71.5 34zM150 1149q0 133 91.5 221t231.5 88q48 0 96 -17t71 -33l24 -17l-54 -66q-7 5 -19 13.5 t-48 22t-72 13.5q-99 0 -165 -63.5t-66 -167.5q0 -15 4 -43l133 -973h-86l-137 971q-4 32 -4 51z" />
|
||||
<glyph unicode="¨" horiz-adv-x="1042" d="M334 1614v149h94v-149h-94zM614 1614v149h95v-149h-95z" />
|
||||
<glyph unicode="©" horiz-adv-x="1716" d="M133 717q0 152 57 289.5t153.5 236.5t230 157t280.5 58q150 0 285 -58t232.5 -157t154.5 -236t57 -290t-57 -291t-154.5 -236.5t-232.5 -156.5t-285 -58q-197 0 -362.5 98t-262 269t-96.5 375zM225 717q0 -183 83 -333.5t227.5 -236.5t318.5 -86q177 0 323.5 86 t230 236.5t83.5 333.5q0 136 -49.5 257.5t-134 208.5t-202.5 138t-251 51q-174 0 -318.5 -86t-227.5 -236.5t-83 -332.5zM438 715q0 82 28.5 158.5t82 138t139.5 98.5t191 37q60 0 116 -18.5t93.5 -45t67 -53t42.5 -44.5l14 -19l-67 -60q-4 6 -11.5 16.5t-33.5 36.5 t-54.5 46t-73.5 36.5t-91 16.5q-165 0 -258 -101.5t-93 -240.5q0 -65 22.5 -125.5t65 -109t111 -78t152.5 -29.5q48 0 92.5 15.5t74.5 37.5t53 44.5t33 37.5l11 16l67 -59q-5 -7 -14.5 -19.5t-42 -43.5t-68.5 -54.5t-92.5 -43t-115.5 -19.5q-106 0 -192 36.5t-139 97.5 t-81.5 136.5t-28.5 157.5z" />
|
||||
<glyph unicode="ª" horiz-adv-x="876" d="M178 539v75h518v-75h-518zM184 973q0 227 398 227h28v8q0 170 -155 170q-44 0 -88 -15t-66 -29l-22 -15l-46 61q10 8 28 20.5t76.5 33t119.5 20.5q233 0 233 -246v-413h-80v104h-4q-2 -5 -7 -13t-23 -28t-38.5 -35.5t-54.5 -28t-71 -12.5q-92 0 -160 49.5t-68 141.5z M268 981q0 -51 38 -87t108 -36q88 0 142 77t54 171v20h-26q-33 0 -56.5 -1t-65.5 -4.5t-71.5 -13.5t-60 -25t-46.5 -41t-16 -60z" />
|
||||
<glyph unicode="«" horiz-adv-x="1005" d="M111 578l335 421h109l-336 -421l336 -420h-109zM438 578l336 421h109l-336 -421l336 -420h-109z" />
|
||||
<glyph unicode="¬" horiz-adv-x="1300" d="M184 702v82h934v-448h-86v366h-848z" />
|
||||
<glyph unicode="­" horiz-adv-x="884" d="M160 539v82h565v-82h-565z" />
|
||||
<glyph unicode="®" horiz-adv-x="1716" d="M133 717q0 152 57 289.5t153.5 236.5t230 157t280.5 58q150 0 285 -58t232.5 -157t154.5 -236t57 -290t-57 -291t-154.5 -236.5t-232.5 -156.5t-285 -58q-197 0 -362.5 98t-262 269t-96.5 375zM225 717q0 -183 83 -333.5t227.5 -236.5t318.5 -86q177 0 323.5 86 t230 236.5t83.5 333.5q0 136 -49.5 257.5t-134 208.5t-202.5 138t-251 51q-174 0 -318.5 -86t-227.5 -236.5t-83 -332.5zM616 307v819h273q105 0 171 -65t66 -172q0 -87 -45 -145t-112 -74v-4q8 -10 26 -45l162 -314h-100l-174 342h-176v-342h-91zM707 727h172 q71 0 113 43.5t42 118.5q0 73 -42 114t-113 41h-172v-317z" />
|
||||
<glyph unicode="¯" horiz-adv-x="1042" d="M276 1610v82h490v-82h-490z" />
|
||||
<glyph unicode="°" horiz-adv-x="759" d="M113 1186q0 110 78 189t188 79t189 -79t79 -189t-79 -188t-189 -78t-188 78t-78 188zM201 1186q0 -77 51 -131t127 -54t128 54t52 131t-52 131.5t-128 54.5t-127 -54.5t-51 -131.5z" />
|
||||
<glyph unicode="±" horiz-adv-x="1404" d="M174 539v82h485v538h89v-538h483v-82h-483v-539h-89v539h-485zM215 -231h975v-82h-975v82z" />
|
||||
<glyph unicode="²" horiz-adv-x="770" d="M109 922q0 67 25 124t65 96.5t88 75t96 68t88 65.5t65 77.5t25 95.5q0 74 -51.5 126t-134.5 52q-52 0 -100 -26t-71 -52l-22 -25l-49 54q4 5 10.5 13.5t29.5 29.5t49 37t67.5 29.5t85.5 13.5q126 0 196 -73t70 -179q0 -62 -24.5 -114.5t-64 -89.5t-87 -70t-96 -65 t-88.5 -65.5t-65.5 -79.5t-27.5 -100h469v-74h-544q-4 36 -4 56z" />
|
||||
<glyph unicode="³" horiz-adv-x="770" d="M94 979l58 53q3 -5 8.5 -12.5t26.5 -26.5t45 -34t63.5 -27t83.5 -12q79 0 145 59.5t66 146.5q0 89 -66.5 143t-152.5 54h-66l-22 49l221 260q10 12 23 24.5t21 19.5l7 7v5q-37 -7 -78 -7h-336v74h523v-53l-263 -307q36 -3 71 -12t71.5 -29.5t64 -49.5t45 -75t17.5 -103 q0 -117 -86.5 -198.5t-206.5 -81.5q-55 0 -104 13.5t-80.5 33t-55 39.5t-33.5 34z" />
|
||||
<glyph unicode="´" horiz-adv-x="1042" d="M395 1536l137 227h115l-162 -227h-90z" />
|
||||
<glyph unicode="¶" horiz-adv-x="1128" d="M111 965q0 129 67 237.5t179 170t243 61.5h430v-82h-342v-1454h-86v596q-131 0 -243.5 62t-180 171t-67.5 238zM815 -102v1325h86v-1325h-86z" />
|
||||
<glyph unicode="·" horiz-adv-x="559" d="M217 522v129h125v-129h-125z" />
|
||||
<glyph unicode="¸" horiz-adv-x="1042" d="M383 -332q37 -10 84 -10q111 0 111 76q0 36 -33 57t-92 21l-25 -2l49 227l66 -10v-17l-25 -133q64 -9 102.5 -46.5t38.5 -92.5q0 -79 -53 -117.5t-133 -38.5q-24 0 -46.5 2t-32.5 4l-11 2v78z" />
|
||||
<glyph unicode="¹" horiz-adv-x="770" d="M158 866v74h196v666l2 45h-2q-8 -17 -47 -56l-90 -88l-53 56l190 192h78v-815h191v-74h-465z" />
|
||||
<glyph unicode="º" horiz-adv-x="974" d="M152 1124q0 139 97.5 235.5t235.5 96.5q139 0 236.5 -96.5t97.5 -235.5q0 -144 -97.5 -242t-236.5 -98t-236 98t-97 242zM188 539v75h603v-75h-603zM231 1124q0 -113 73.5 -188.5t180.5 -75.5t180.5 75.5t73.5 188.5q0 109 -73.5 182.5t-180.5 73.5t-180.5 -73.5 t-73.5 -182.5z" />
|
||||
<glyph unicode="»" horiz-adv-x="1005" d="M123 158l336 420l-336 421h108l336 -421l-336 -420h-108zM451 158l335 420l-335 421h108l336 -421l-336 -420h-108z" />
|
||||
<glyph unicode="¼" horiz-adv-x="1988" d="M272 545v73h197v666l2 45h-2q-8 -16 -47 -55l-90 -88l-53 55l190 193h78v-816h190v-73h-465zM657 0l689 1434h88l-686 -1434h-91zM1262 248v53l454 588h64v-567h139v-74h-139v-248h-78v248h-440zM1374 322h328v301l6 133h-4q-35 -56 -72 -103l-258 -327v-4z" />
|
||||
<glyph unicode="½" horiz-adv-x="1882" d="M131 545v73h197v666l2 45h-2q-8 -16 -47 -55l-91 -88l-53 55l191 193h78v-816h190v-73h-465zM516 0l688 1434h88l-686 -1434h-90zM1178 55q0 67 25 124t65 96.5t88 75t96 68t88 65.5t65 77.5t25 95.5q0 74 -52 126.5t-134 52.5q-52 0 -100 -26t-70 -52l-23 -25l-49 53 q4 5 10.5 13.5t29.5 29.5t49 37t67.5 29.5t85.5 13.5q126 0 196 -73t70 -179q0 -62 -24.5 -114.5t-64 -89t-87 -70t-96 -65t-88.5 -65t-65.5 -79.5t-27.5 -100h469v-74h-544q-4 36 -4 55z" />
|
||||
<glyph unicode="¾" horiz-adv-x="1955" d="M109 657l57 54q3 -5 8.5 -12.5t26.5 -27t45 -34.5t63.5 -27t83.5 -12q79 0 145 60t66 147q0 89 -66.5 142.5t-152.5 53.5h-66l-22 50l221 260q10 12 23 24.5t21 19.5l7 7v4q-36 -6 -77 -6h-336v74h522v-54l-262 -307q46 -3 89.5 -18t85.5 -44.5t67.5 -82.5t25.5 -123 q0 -117 -86.5 -199t-206.5 -82q-55 0 -104 13.5t-80 33t-54.5 39.5t-33.5 34zM565 0l688 1434h88l-686 -1434h-90zM1169 248v53l455 588h64v-567h139v-74h-139v-248h-78v248h-441zM1282 322h328v301l6 133h-4q-35 -56 -72 -103l-258 -327v-4z" />
|
||||
<glyph unicode="¿" horiz-adv-x="878" d="M98 -78q0 69 20.5 127.5t53 101t72 80.5t79.5 74.5t72.5 75t53 89.5t20.5 110v86h88v-86q0 -68 -20 -126.5t-52.5 -101t-71.5 -81t-78.5 -75.5t-72 -76t-52.5 -90t-20 -110q0 -112 83.5 -188t215.5 -76q67 0 132 21.5t97 42.5l32 22l47 -70q-5 -4 -14 -11t-40 -24.5 t-64.5 -31t-84 -24.5t-102.5 -11q-175 0 -284.5 99.5t-109.5 252.5zM453 899v125h120v-125h-120z" />
|
||||
<glyph unicode="À" horiz-adv-x="1241" d="M37 0l536 1434h95l536 -1434h-94l-186 496h-609l-184 -496h-94zM346 578h547l-217 581q-10 27 -23.5 70t-21.5 73l-8 29h-5q-30 -111 -53 -172zM414 1763h114l138 -227h-91z" />
|
||||
<glyph unicode="Á" horiz-adv-x="1241" d="M37 0l536 1434h95l536 -1434h-94l-186 496h-609l-184 -496h-94zM346 578h547l-217 581q-10 27 -23.5 70t-21.5 73l-8 29h-5q-30 -111 -53 -172zM573 1536l138 227h114l-161 -227h-91z" />
|
||||
<glyph unicode="Â" horiz-adv-x="1241" d="M37 0l536 1434h95l536 -1434h-94l-186 496h-609l-184 -496h-94zM346 578h547l-217 581q-10 27 -23.5 70t-21.5 73l-8 29h-5q-30 -111 -53 -172zM403 1536l164 227h107l164 -227h-101l-114 164h-5l-114 -164h-101z" />
|
||||
<glyph unicode="Ã" horiz-adv-x="1241" d="M37 0l536 1434h95l536 -1434h-94l-186 496h-609l-184 -496h-94zM326 1542q0 221 170 221q38 0 69.5 -15.5t53.5 -37.5t41.5 -44.5t43.5 -38t50 -15.5q25 0 43 15.5t25.5 40.5t10.5 46t3 43h82q0 -221 -170 -221q-46 0 -84.5 24t-60.5 52t-52 52t-62 24q-25 0 -42.5 -15.5 t-25 -40.5t-10.5 -46.5t-3 -43.5h-82zM346 578h547l-217 581q-10 27 -23.5 70t-21.5 73l-8 29h-5q-30 -111 -53 -172z" />
|
||||
<glyph unicode="Ä" horiz-adv-x="1241" d="M37 0l536 1434h95l536 -1434h-94l-186 496h-609l-184 -496h-94zM346 578h547l-217 581q-10 27 -23.5 70t-21.5 73l-8 29h-5q-30 -111 -53 -172zM434 1614v149h94v-149h-94zM715 1614v149h94v-149h-94z" />
|
||||
<glyph unicode="Å" horiz-adv-x="1241" d="M37 0l536 1434h95l536 -1434h-94l-186 496h-609l-184 -496h-94zM346 578h547l-217 581q-10 27 -23.5 70t-21.5 73l-8 29h-5q-30 -111 -53 -172zM483 1653q0 58 39.5 97.5t98.5 39.5t98 -39t39 -98t-39 -98t-98 -39t-98.5 39.5t-39.5 97.5zM555 1653q0 -29 18.5 -47.5 t47.5 -18.5t47 18.5t18 47.5q0 31 -18 49t-47 18t-47.5 -18t-18.5 -49z" />
|
||||
<glyph unicode="Æ" horiz-adv-x="1703" d="M33 0l588 1434h919v-82h-696v-588h571v-82h-571v-600h735v-82h-823v682h-350l-279 -682h-94zM440 764h316v588h-74z" />
|
||||
<glyph unicode="Ç" horiz-adv-x="1505" d="M127 727q0 205 93 372.5t256 263t362 95.5q95 0 183 -18.5t145 -45t100.5 -53t63.5 -45.5l20 -18l-54 -66q-7 7 -20 17.5t-57.5 38.5t-94 49.5t-127 39t-157.5 17.5q-130 0 -245 -49.5t-197.5 -134.5t-130.5 -205.5t-48 -257.5q0 -184 81 -337t225 -242t321 -89 q86 0 167.5 20t136.5 48.5t98 57.5t63 49l20 20l55 -61q-8 -9 -22.5 -23t-65 -51t-107 -65.5t-146.5 -52.5t-185 -26l-18 -98q64 -9 102.5 -46.5t38.5 -92.5q0 -79 -53 -117.5t-133 -38.5q-24 0 -46.5 2t-32.5 4l-11 2v78q37 -10 84 -10q110 0 110 76q0 36 -33 57t-92 21 l-24 -2l34 167q-190 14 -341 117.5t-234.5 269.5t-83.5 363z" />
|
||||
<glyph unicode="È" horiz-adv-x="1169" d="M221 0v1434h785v-82h-697v-588h572v-82h-572v-600h735v-82h-823zM432 1763h115l137 -227h-90z" />
|
||||
<glyph unicode="É" horiz-adv-x="1169" d="M221 0v1434h785v-82h-697v-588h572v-82h-572v-600h735v-82h-823zM592 1536l137 227h115l-162 -227h-90z" />
|
||||
<glyph unicode="Ê" horiz-adv-x="1169" d="M221 0v1434h785v-82h-697v-588h572v-82h-572v-600h735v-82h-823zM422 1536l164 227h106l164 -227h-100l-115 164h-4l-115 -164h-100z" />
|
||||
<glyph unicode="Ë" horiz-adv-x="1169" d="M221 0v1434h785v-82h-697v-588h572v-82h-572v-600h735v-82h-823zM453 1614v149h94v-149h-94zM733 1614v149h94v-149h-94z" />
|
||||
<glyph unicode="Ì" horiz-adv-x="530" d="M59 1763h115l137 -227h-90zM221 0v1434h88v-1434h-88z" />
|
||||
<glyph unicode="Í" horiz-adv-x="530" d="M219 1536l137 227h115l-162 -227h-90zM221 0v1434h88v-1434h-88z" />
|
||||
<glyph unicode="Î" horiz-adv-x="530" d="M49 1536l164 227h106l164 -227h-100l-115 164h-4l-114 -164h-101zM221 0v1434h88v-1434h-88z" />
|
||||
<glyph unicode="Ï" horiz-adv-x="530" d="M80 1614v149h94v-149h-94zM221 0v1434h88v-1434h-88zM360 1614v149h95v-149h-95z" />
|
||||
<glyph unicode="Ð" horiz-adv-x="1542" d="M123 682v82h123v670h450q325 0 520 -190.5t195 -526.5q0 -337 -195 -527t-520 -190h-450v682h-123zM334 82h348q292 0 464.5 166t172.5 469q0 302 -173 468.5t-464 166.5h-348v-588h375v-82h-375v-600z" />
|
||||
<glyph unicode="Ñ" horiz-adv-x="1540" d="M221 0v1434h82l817 -1125q21 -29 50 -74t48 -75l19 -31h4q-10 108 -10 180v1125h88v-1434h-82l-817 1124q-21 29 -50 74.5t-48 75.5l-19 31h-4q10 -109 10 -181v-1124h-88zM475 1542q0 221 170 221q38 0 69.5 -15.5t53.5 -37.5t41.5 -44.5t43.5 -38t50 -15.5 q25 0 43 15.5t25.5 40.5t10.5 46t3 43h82q0 -221 -170 -221q-38 0 -69.5 15.5t-53.5 38t-41.5 45t-43.5 38t-50 15.5q-33 0 -53 -28.5t-24.5 -57.5t-4.5 -60h-82z" />
|
||||
<glyph unicode="Ò" horiz-adv-x="1691" d="M121 727q0 152 57.5 288t155 232.5t231.5 153.5t281 57t281 -57t231.5 -153.5t155 -232.5t57.5 -288q0 -155 -57.5 -295t-155 -240t-231.5 -158.5t-281 -58.5t-281 58.5t-231.5 158.5t-155 240t-57.5 295zM213 727q0 -185 85 -339t230 -241.5t318 -87.5t318 87.5 t230 241.5t85 339q0 180 -85 329t-230 233.5t-318 84.5t-318 -84.5t-230 -233.5t-85 -329zM639 1763h115l137 -227h-90z" />
|
||||
<glyph unicode="Ó" horiz-adv-x="1691" d="M121 727q0 152 57.5 288t155 232.5t231.5 153.5t281 57t281 -57t231.5 -153.5t155 -232.5t57.5 -288q0 -155 -57.5 -295t-155 -240t-231.5 -158.5t-281 -58.5t-281 58.5t-231.5 158.5t-155 240t-57.5 295zM213 727q0 -185 85 -339t230 -241.5t318 -87.5t318 87.5 t230 241.5t85 339q0 180 -85 329t-230 233.5t-318 84.5t-318 -84.5t-230 -233.5t-85 -329zM799 1536l137 227h115l-162 -227h-90z" />
|
||||
<glyph unicode="Ô" horiz-adv-x="1691" d="M121 727q0 152 57.5 288t155 232.5t231.5 153.5t281 57t281 -57t231.5 -153.5t155 -232.5t57.5 -288q0 -155 -57.5 -295t-155 -240t-231.5 -158.5t-281 -58.5t-281 58.5t-231.5 158.5t-155 240t-57.5 295zM213 727q0 -185 85 -339t230 -241.5t318 -87.5t318 87.5 t230 241.5t85 339q0 180 -85 329t-230 233.5t-318 84.5t-318 -84.5t-230 -233.5t-85 -329zM629 1536l164 227h106l164 -227h-100l-115 164h-4l-115 -164h-100z" />
|
||||
<glyph unicode="Õ" horiz-adv-x="1691" d="M121 727q0 152 57.5 288t155 232.5t231.5 153.5t281 57t281 -57t231.5 -153.5t155 -232.5t57.5 -288q0 -155 -57.5 -295t-155 -240t-231.5 -158.5t-281 -58.5t-281 58.5t-231.5 158.5t-155 240t-57.5 295zM213 727q0 -185 85 -339t230 -241.5t318 -87.5t318 87.5 t230 241.5t85 339q0 180 -85 329t-230 233.5t-318 84.5t-318 -84.5t-230 -233.5t-85 -329zM551 1542q0 221 170 221q38 0 69.5 -15.5t53.5 -37.5t41.5 -44.5t43.5 -38t50 -15.5q25 0 43 15.5t25.5 40.5t10.5 46t3 43h82q0 -221 -170 -221q-38 0 -69.5 15.5t-53.5 38 t-41.5 45t-43.5 38t-50 15.5q-33 0 -53 -28.5t-24.5 -57.5t-4.5 -60h-82z" />
|
||||
<glyph unicode="Ö" horiz-adv-x="1691" d="M121 727q0 152 57.5 288t155 232.5t231.5 153.5t281 57t281 -57t231.5 -153.5t155 -232.5t57.5 -288q0 -155 -57.5 -295t-155 -240t-231.5 -158.5t-281 -58.5t-281 58.5t-231.5 158.5t-155 240t-57.5 295zM213 727q0 -185 85 -339t230 -241.5t318 -87.5t318 87.5 t230 241.5t85 339q0 180 -85 329t-230 233.5t-318 84.5t-318 -84.5t-230 -233.5t-85 -329zM659 1614v149h95v-149h-95zM940 1614v149h94v-149h-94z" />
|
||||
<glyph unicode="×" horiz-adv-x="1347" d="M160 57l458 523l-458 522l57 57l457 -518l456 518l58 -57l-461 -522l461 -523l-58 -57l-456 518l-457 -518z" />
|
||||
<glyph unicode="Ø" horiz-adv-x="1701" d="M127 727q0 152 57.5 288t155 232.5t231.5 153.5t281 57q211 0 393 -117l101 142l69 -51l-100 -142q123 -102 192.5 -248.5t69.5 -314.5q0 -155 -57.5 -295t-155 -240t-231.5 -158.5t-281 -58.5q-213 0 -393 119l-101 -141l-71 49l102 143q-123 105 -192.5 256t-69.5 326z M219 727q0 -152 59 -284.5t162 -225.5l754 1055q-151 102 -342 102q-173 0 -318 -84.5t-230 -233.5t-85 -329zM508 164q151 -105 344 -105q173 0 318 87.5t230 241.5t85 339q0 148 -59 276t-162 218z" />
|
||||
<glyph unicode="Ù" horiz-adv-x="1472" d="M201 492v942h88v-938q0 -202 121 -319.5t325 -117.5t326.5 118.5t122.5 322.5v934h88v-942q0 -234 -148.5 -375.5t-386.5 -141.5t-387 141.5t-149 375.5zM528 1763h115l137 -227h-90z" />
|
||||
<glyph unicode="Ú" horiz-adv-x="1472" d="M201 492v942h88v-938q0 -202 121 -319.5t325 -117.5t326.5 118.5t122.5 322.5v934h88v-942q0 -234 -148.5 -375.5t-386.5 -141.5t-387 141.5t-149 375.5zM688 1536l137 227h115l-162 -227h-90z" />
|
||||
<glyph unicode="Û" horiz-adv-x="1472" d="M201 492v942h88v-938q0 -202 121 -319.5t325 -117.5t326.5 118.5t122.5 322.5v934h88v-942q0 -234 -148.5 -375.5t-386.5 -141.5t-387 141.5t-149 375.5zM518 1536l164 227h106l164 -227h-100l-115 164h-4l-115 -164h-100z" />
|
||||
<glyph unicode="Ü" horiz-adv-x="1472" d="M201 492v942h88v-938q0 -202 121 -319.5t325 -117.5t326.5 118.5t122.5 322.5v934h88v-942q0 -234 -148.5 -375.5t-386.5 -141.5t-387 141.5t-149 375.5zM549 1614v149h94v-149h-94zM829 1614v149h95v-149h-95z" />
|
||||
<glyph unicode="Ý" horiz-adv-x="1138" d="M39 1434h100l340 -566l88 -161h4q45 91 88 161l340 566h101l-486 -811v-623h-88v623zM522 1536l137 227h115l-162 -227h-90z" />
|
||||
<glyph unicode="Þ" horiz-adv-x="1216" d="M221 0v1434h88v-267h383q191 0 313.5 -113t122.5 -304q0 -192 -123 -307t-317 -115h-379v-328h-88zM309 410h379q159 0 253.5 90.5t94.5 249.5t-94.5 247t-253.5 88h-379v-675z" />
|
||||
<glyph unicode="ß" horiz-adv-x="1153" d="M180 0v1090q0 70 22 130t59 103.5t86.5 74t104.5 45.5t113 15q152 0 241 -84.5t89 -197.5q0 -62 -25.5 -116t-62 -91.5t-73 -71.5t-62 -70.5t-25.5 -72.5q0 -30 24 -60.5t62 -57.5t84 -56t92 -62.5t84 -70t62 -84.5t24 -101q0 -132 -92 -204t-223 -72q-56 0 -109 7.5 t-88.5 17.5t-63.5 20.5t-41 18.5l-13 7v95q5 -3 15 -8.5t42.5 -20t67 -25t87 -19.5t105.5 -9q95 0 159 49t64 143q0 60 -44.5 112.5t-108 93t-127 80.5t-108 91.5t-44.5 110.5q0 51 25.5 97t62 82t73 71.5t62 81t25.5 94.5q0 77 -64.5 137.5t-179.5 60.5q-117 0 -206 -79.5 t-89 -211.5v-1083h-86z" />
|
||||
<glyph unicode="à" d="M96 272q0 56 16.5 103.5t42 81.5t66 61t79.5 44.5t92 30t93 18.5t93 9.5t82.5 4t70.5 0.5h68v34q0 306 -281 306q-50 0 -98.5 -10t-82 -24.5t-60 -29.5t-39.5 -25l-13 -10l-49 70q5 5 14.5 12.5t43 27t70.5 34.5t96.5 27t121.5 12q178 0 270.5 -98t92.5 -289v-662h-86 v135q0 24 2 47t4 34l2 11h-4q2 0 -10 -26t-39.5 -63t-67 -74t-104 -63t-138.5 -26q-64 0 -124.5 18t-111.5 53t-81.5 93.5t-30.5 132.5zM186 279q0 -89 70 -156.5t193 -67.5q80 0 148 39t111 102t67 139.5t24 153.5v56h-66q-41 0 -65.5 -0.5t-73 -2.5t-81 -6.5t-79.5 -14 t-78 -22t-66 -33t-55.5 -46.5t-34.5 -62t-14 -79zM315 1434h115l137 -228h-90z" />
|
||||
<glyph unicode="á" d="M96 272q0 56 16.5 103.5t42 81.5t66 61t79.5 44.5t92 30t93 18.5t93 9.5t82.5 4t70.5 0.5h68v34q0 306 -281 306q-50 0 -98.5 -10t-82 -24.5t-60 -29.5t-39.5 -25l-13 -10l-49 70q5 5 14.5 12.5t43 27t70.5 34.5t96.5 27t121.5 12q178 0 270.5 -98t92.5 -289v-662h-86 v135q0 24 2 47t4 34l2 11h-4q2 0 -10 -26t-39.5 -63t-67 -74t-104 -63t-138.5 -26q-64 0 -124.5 18t-111.5 53t-81.5 93.5t-30.5 132.5zM186 279q0 -89 70 -156.5t193 -67.5q80 0 148 39t111 102t67 139.5t24 153.5v56h-66q-41 0 -65.5 -0.5t-73 -2.5t-81 -6.5t-79.5 -14 t-78 -22t-66 -33t-55.5 -46.5t-34.5 -62t-14 -79zM473 1206l137 228h115l-162 -228h-90z" />
|
||||
<glyph unicode="â" d="M96 272q0 56 16.5 103.5t42 81.5t66 61t79.5 44.5t92 30t93 18.5t93 9.5t82.5 4t70.5 0.5h68v34q0 306 -281 306q-50 0 -98.5 -10t-82 -24.5t-60 -29.5t-39.5 -25l-13 -10l-49 70q5 5 14.5 12.5t43 27t70.5 34.5t96.5 27t121.5 12q178 0 270.5 -98t92.5 -289v-662h-86 v135q0 24 2 47t4 34l2 11h-4q2 0 -10 -26t-39.5 -63t-67 -74t-104 -63t-138.5 -26q-64 0 -124.5 18t-111.5 53t-81.5 93.5t-30.5 132.5zM186 279q0 -89 70 -156.5t193 -67.5q80 0 148 39t111 102t67 139.5t24 153.5v56h-66q-41 0 -65.5 -0.5t-73 -2.5t-81 -6.5t-79.5 -14 t-78 -22t-66 -33t-55.5 -46.5t-34.5 -62t-14 -79zM305 1206l164 228h106l164 -228h-100l-115 164h-4l-114 -164h-101z" />
|
||||
<glyph unicode="ã" d="M96 272q0 56 16.5 103.5t42 81.5t66 61t79.5 44.5t92 30t93 18.5t93 9.5t82.5 4t70.5 0.5h68v34q0 306 -281 306q-50 0 -98.5 -10t-82 -24.5t-60 -29.5t-39.5 -25l-13 -10l-49 70q5 5 14.5 12.5t43 27t70.5 34.5t96.5 27t121.5 12q178 0 270.5 -98t92.5 -289v-662h-86 v135q0 24 2 47t4 34l2 11h-4q2 0 -10 -26t-39.5 -63t-67 -74t-104 -63t-138.5 -26q-64 0 -124.5 18t-111.5 53t-81.5 93.5t-30.5 132.5zM186 279q0 -89 70 -156.5t193 -67.5q80 0 148 39t111 102t67 139.5t24 153.5v56h-66q-41 0 -65.5 -0.5t-73 -2.5t-81 -6.5t-79.5 -14 t-78 -22t-66 -33t-55.5 -46.5t-34.5 -62t-14 -79zM227 1212q0 222 170 222q38 0 69.5 -15.5t53.5 -38t41.5 -45t43.5 -38t50 -15.5q25 0 43 15.5t25.5 40.5t10.5 46t3 43h82q0 -221 -170 -221q-38 0 -69.5 15.5t-53.5 38t-41.5 45t-43.5 38t-50 15.5q-33 0 -53 -28.5 t-24.5 -57.5t-4.5 -60h-82z" />
|
||||
<glyph unicode="ä" d="M96 272q0 56 16.5 103.5t42 81.5t66 61t79.5 44.5t92 30t93 18.5t93 9.5t82.5 4t70.5 0.5h68v34q0 306 -281 306q-50 0 -98.5 -10t-82 -24.5t-60 -29.5t-39.5 -25l-13 -10l-49 70q5 5 14.5 12.5t43 27t70.5 34.5t96.5 27t121.5 12q178 0 270.5 -98t92.5 -289v-662h-86 v135q0 24 2 47t4 34l2 11h-4q2 0 -10 -26t-39.5 -63t-67 -74t-104 -63t-138.5 -26q-64 0 -124.5 18t-111.5 53t-81.5 93.5t-30.5 132.5zM186 279q0 -89 70 -156.5t193 -67.5q80 0 148 39t111 102t67 139.5t24 153.5v56h-66q-41 0 -65.5 -0.5t-73 -2.5t-81 -6.5t-79.5 -14 t-78 -22t-66 -33t-55.5 -46.5t-34.5 -62t-14 -79zM336 1284v150h94v-150h-94zM616 1284v150h95v-150h-95z" />
|
||||
<glyph unicode="å" d="M96 272q0 56 16.5 103.5t42 81.5t66 61t79.5 44.5t92 30t93 18.5t93 9.5t82.5 4t70.5 0.5h68v34q0 306 -281 306q-50 0 -98.5 -10t-82 -24.5t-60 -29.5t-39.5 -25l-13 -10l-49 70q5 5 14.5 12.5t43 27t70.5 34.5t96.5 27t121.5 12q178 0 270.5 -98t92.5 -289v-662h-86 v135q0 24 2 47t4 34l2 11h-4q2 0 -10 -26t-39.5 -63t-67 -74t-104 -63t-138.5 -26q-64 0 -124.5 18t-111.5 53t-81.5 93.5t-30.5 132.5zM186 279q0 -89 70 -156.5t193 -67.5q80 0 148 39t111 102t67 139.5t24 153.5v56h-66q-41 0 -65.5 -0.5t-73 -2.5t-81 -6.5t-79.5 -14 t-78 -22t-66 -33t-55.5 -46.5t-34.5 -62t-14 -79zM385 1323q0 59 39.5 98t97.5 39t97.5 -39t39.5 -98t-39.5 -98t-97.5 -39t-97.5 39t-39.5 98zM457 1323q0 -29 18 -47.5t47 -18.5t47.5 18.5t18.5 47.5q0 31 -18.5 49.5t-47.5 18.5t-47 -18.5t-18 -49.5z" />
|
||||
<glyph unicode="æ" horiz-adv-x="1798" d="M98 272q0 55 14 100.5t35.5 78.5t57.5 59t70 43t84 29t88.5 18t94 9.5t89.5 4t86 0.5h82v45q0 306 -289 306q-48 0 -95 -10t-80 -24.5t-59 -29.5t-38 -25l-13 -10l-49 70q5 5 14.5 12.5t42 27t69 34.5t94 27t118.5 12q293 0 352 -240h4q62 118 167.5 179t238.5 61 q99 0 179 -36.5t130.5 -100t77.5 -145.5t27 -175l-4 -57h-801q0 -224 116.5 -350t301.5 -126q55 0 108 13.5t89 32.5t64.5 37.5t41.5 31.5l14 14l47 -71q-6 -6 -17 -15.5t-47.5 -34t-76 -43t-100.5 -34t-123 -15.5q-160 0 -283 83.5t-178 230.5h-4q-5 -23 -17.5 -54.5 t-43.5 -79t-71.5 -86t-108 -66.5t-146.5 -28q-96 0 -174.5 32.5t-128.5 101t-50 163.5zM188 279q0 -92 70 -158t193 -66q80 0 147.5 39t110.5 102t66.5 139.5t23.5 153.5v46h-142q-49 0 -86 -1.5t-88.5 -7t-89.5 -16t-79 -29.5t-66.5 -45.5t-42.5 -66.5t-17 -90zM893 614 h706q-4 90 -32.5 160t-75 111t-102.5 61.5t-119 20.5q-146 0 -249 -91t-128 -262z" />
|
||||
<glyph unicode="ç" horiz-adv-x="1130" d="M111 510q0 119 42.5 221t114.5 171t168.5 108t202.5 39q68 0 131 -15t104 -36.5t72.5 -43t45.5 -36.5l14 -15l-54 -69l-14 14t-39.5 31.5t-64.5 40t-87 31.5t-108 14q-185 0 -311.5 -126.5t-126.5 -328.5q0 -200 127 -325.5t311 -125.5q63 0 121.5 15t97 37t67.5 44 t43 37l13 15l45 -72q-5 -6 -15.5 -16.5t-46.5 -38t-76 -48.5t-105 -38.5t-134 -18.5l-18 -98q64 -9 102.5 -46.5t38.5 -92.5q0 -79 -53 -117.5t-133 -38.5q-24 0 -46.5 2t-33.5 4l-10 2v78q37 -10 84 -10q110 0 110 76q0 36 -33 57t-92 21l-24 -2l37 170 q-202 21 -334.5 164.5t-132.5 365.5z" />
|
||||
<glyph unicode="è" horiz-adv-x="1132" d="M109 510q0 126 40.5 229.5t109.5 170.5t158.5 103t188.5 36q101 0 182.5 -38t132 -103t77 -148t26.5 -178l-4 -56h-821q0 -215 126 -341t312 -126q55 0 108 13.5t89 32.5t64.5 37.5t41.5 31.5l14 14l47 -71q-6 -6 -17 -15.5t-47.5 -34t-76 -43t-100.5 -34t-123 -15.5 q-145 0 -264.5 65t-191.5 188t-72 282zM205 606h729q-7 178 -100 270.5t-230 92.5q-148 0 -260 -95t-139 -268zM406 1434h114l137 -228h-90z" />
|
||||
<glyph unicode="é" horiz-adv-x="1132" d="M109 510q0 126 40.5 229.5t109.5 170.5t158.5 103t188.5 36q101 0 182.5 -38t132 -103t77 -148t26.5 -178l-4 -56h-821q0 -215 126 -341t312 -126q55 0 108 13.5t89 32.5t64.5 37.5t41.5 31.5l14 14l47 -71q-6 -6 -17 -15.5t-47.5 -34t-76 -43t-100.5 -34t-123 -15.5 q-145 0 -264.5 65t-191.5 188t-72 282zM205 606h729q-7 178 -100 270.5t-230 92.5q-148 0 -260 -95t-139 -268zM563 1206l137 228h115l-162 -228h-90z" />
|
||||
<glyph unicode="ê" horiz-adv-x="1132" d="M109 510q0 126 40.5 229.5t109.5 170.5t158.5 103t188.5 36q101 0 182.5 -38t132 -103t77 -148t26.5 -178l-4 -56h-821q0 -215 126 -341t312 -126q55 0 108 13.5t89 32.5t64.5 37.5t41.5 31.5l14 14l47 -71q-6 -6 -17 -15.5t-47.5 -34t-76 -43t-100.5 -34t-123 -15.5 q-145 0 -264.5 65t-191.5 188t-72 282zM205 606h729q-7 178 -100 270.5t-230 92.5q-148 0 -260 -95t-139 -268zM393 1206l164 228h107l163 -228h-100l-115 164h-4l-114 -164h-101z" />
|
||||
<glyph unicode="ë" horiz-adv-x="1132" d="M109 510q0 126 40.5 229.5t109.5 170.5t158.5 103t188.5 36q101 0 182.5 -38t132 -103t77 -148t26.5 -178l-4 -56h-821q0 -215 126 -341t312 -126q55 0 108 13.5t89 32.5t64.5 37.5t41.5 31.5l14 14l47 -71q-6 -6 -17 -15.5t-47.5 -34t-76 -43t-100.5 -34t-123 -15.5 q-145 0 -264.5 65t-191.5 188t-72 282zM205 606h729q-7 178 -100 270.5t-230 92.5q-148 0 -260 -95t-139 -268zM424 1284v150h94v-150h-94zM705 1284v150h94v-150h-94z" />
|
||||
<glyph unicode="ì" horiz-adv-x="446" d="M18 1434h115l137 -228h-90zM180 0v1024h86v-1024h-86z" />
|
||||
<glyph unicode="í" horiz-adv-x="446" d="M178 1206l137 228h115l-162 -228h-90zM180 0v1024h86v-1024h-86z" />
|
||||
<glyph unicode="î" horiz-adv-x="446" d="M8 1206l164 228h107l163 -228h-100l-115 164h-4l-114 -164h-101zM180 0v1024h86v-1024h-86z" />
|
||||
<glyph unicode="ï" horiz-adv-x="446" d="M39 1284v150h94v-150h-94zM180 0v1024h86v-1024h-86zM319 1284v150h95v-150h-95z" />
|
||||
<glyph unicode="ð" horiz-adv-x="1206" d="M113 471q0 75 19 145t59.5 132.5t98 109t139 73.5t177.5 27q63 0 120.5 -14t94.5 -34t64.5 -39.5t40.5 -33.5l12 -14h4q-74 231 -280 375l-353 -164l-35 76l299 139q-136 72 -313 117l25 78q233 -60 385 -152l252 119l34 -76l-206 -96q146 -111 232.5 -283t86.5 -403 q0 -84 -18 -165t-58 -156t-96.5 -132t-140 -91t-183.5 -34q-107 0 -196 42.5t-145.5 113t-87.5 158.5t-31 182zM203 471q0 -107 43 -200t130.5 -153.5t201.5 -60.5q81 0 149 29.5t114 77.5t77.5 111.5t46 130t14.5 133.5q0 148 -104 243t-271 95q-99 0 -177.5 -35t-126 -93 t-72.5 -129.5t-25 -148.5z" />
|
||||
<glyph unicode="ñ" horiz-adv-x="1200" d="M180 0v1024h86v-180q0 -21 -2 -42t-4 -32l-2 -10h4q12 32 34 67.5t60.5 75.5t86 72t114 53t139.5 21q97 0 164.5 -27.5t104.5 -82.5t53 -124.5t16 -165.5v-649h-86v618q0 61 -4 105t-19 93t-41 79t-74 50t-114 20q-144 0 -259.5 -91.5t-153.5 -234.5q-17 -61 -17 -139 v-500h-86zM336 1212q0 222 170 222q38 0 69.5 -15.5t53.5 -38t41.5 -45t43.5 -38t50 -15.5q25 0 43 15.5t25.5 40.5t10.5 46t3 43h82q0 -221 -170 -221q-38 0 -69.5 15.5t-53.5 38t-41.5 45t-43.5 38t-50 15.5q-33 0 -53 -28.5t-24.5 -57.5t-4.5 -60h-82z" />
|
||||
<glyph unicode="ò" horiz-adv-x="1269" d="M104 518q0 147 71 269t193 192t267 70t266.5 -70t192.5 -192t71 -269q0 -150 -71 -275t-192.5 -196.5t-266.5 -71.5q-108 0 -206 42.5t-169.5 114.5t-113.5 173t-42 213zM195 518q0 -194 128 -326.5t312 -132.5t312 132.5t128 326.5q0 189 -128 318t-312 129t-312 -129 t-128 -318zM428 1434h115l137 -228h-90z" />
|
||||
<glyph unicode="ó" horiz-adv-x="1269" d="M104 518q0 147 71 269t193 192t267 70t266.5 -70t192.5 -192t71 -269q0 -150 -71 -275t-192.5 -196.5t-266.5 -71.5q-108 0 -206 42.5t-169.5 114.5t-113.5 173t-42 213zM195 518q0 -194 128 -326.5t312 -132.5t312 132.5t128 326.5q0 189 -128 318t-312 129t-312 -129 t-128 -318zM588 1206l137 228h115l-162 -228h-90z" />
|
||||
<glyph unicode="ô" horiz-adv-x="1269" d="M104 518q0 147 71 269t193 192t267 70t266.5 -70t192.5 -192t71 -269q0 -150 -71 -275t-192.5 -196.5t-266.5 -71.5q-108 0 -206 42.5t-169.5 114.5t-113.5 173t-42 213zM195 518q0 -194 128 -326.5t312 -132.5t312 132.5t128 326.5q0 189 -128 318t-312 129t-312 -129 t-128 -318zM418 1206l164 228h106l164 -228h-100l-115 164h-4l-115 -164h-100z" />
|
||||
<glyph unicode="õ" horiz-adv-x="1269" d="M104 518q0 147 71 269t193 192t267 70t266.5 -70t192.5 -192t71 -269q0 -150 -71 -275t-192.5 -196.5t-266.5 -71.5q-108 0 -206 42.5t-169.5 114.5t-113.5 173t-42 213zM195 518q0 -194 128 -326.5t312 -132.5t312 132.5t128 326.5q0 189 -128 318t-312 129t-312 -129 t-128 -318zM340 1212q0 222 170 222q38 0 69.5 -15.5t53.5 -38t41.5 -45t43.5 -38t50 -15.5q25 0 43 15.5t25.5 40.5t10.5 46t3 43h82q0 -221 -170 -221q-38 0 -69.5 15.5t-53.5 38t-41.5 45t-43.5 38t-50 15.5q-33 0 -53 -28.5t-24.5 -57.5t-4.5 -60h-82z" />
|
||||
<glyph unicode="ö" horiz-adv-x="1269" d="M104 518q0 147 71 269t193 192t267 70t266.5 -70t192.5 -192t71 -269q0 -150 -71 -275t-192.5 -196.5t-266.5 -71.5q-108 0 -206 42.5t-169.5 114.5t-113.5 173t-42 213zM195 518q0 -194 128 -326.5t312 -132.5t312 132.5t128 326.5q0 189 -128 318t-312 129t-312 -129 t-128 -318zM449 1284v150h94v-150h-94zM729 1284v150h94v-150h-94z" />
|
||||
<glyph unicode="÷" horiz-adv-x="1355" d="M190 539v82h975v-82h-975zM618 156v120h117v-120h-117zM618 883v121h117v-121h-117z" />
|
||||
<glyph unicode="ø" horiz-adv-x="1273" d="M106 518q0 147 71 269t193 192t267 70q154 0 283 -80l77 108l70 -53l-78 -109q84 -74 131 -176.5t47 -220.5q0 -150 -71 -275t-192.5 -196.5t-266.5 -71.5q-147 0 -266 72l-76 -106l-70 53l74 104q-91 75 -142 184t-51 236zM197 518q0 -105 40 -195t111 -155l522 731 q-109 66 -233 66q-184 0 -312 -129t-128 -318zM420 117q99 -58 217 -58q184 0 312 132.5t128 326.5q0 97 -36.5 181t-102.5 145z" />
|
||||
<glyph unicode="ù" horiz-adv-x="1189" d="M166 375v649h86v-618q0 -61 4 -105t19 -93t41 -79t74 -50t114 -20q124 0 221.5 66.5t148 172t50.5 226.5v500h86v-1024h-86v180q0 21 2 42t4 32l2 10h-4q-12 -32 -33.5 -67.5t-59.5 -75.5t-84 -72t-111 -53t-136 -21q-183 0 -260.5 98.5t-77.5 301.5zM383 1434h115 l137 -228h-90z" />
|
||||
<glyph unicode="ú" horiz-adv-x="1189" d="M166 375v649h86v-618q0 -61 4 -105t19 -93t41 -79t74 -50t114 -20q124 0 221.5 66.5t148 172t50.5 226.5v500h86v-1024h-86v180q0 21 2 42t4 32l2 10h-4q-12 -32 -33.5 -67.5t-59.5 -75.5t-84 -72t-111 -53t-136 -21q-183 0 -260.5 98.5t-77.5 301.5zM541 1206l137 228 h115l-162 -228h-90z" />
|
||||
<glyph unicode="û" horiz-adv-x="1189" d="M166 375v649h86v-618q0 -61 4 -105t19 -93t41 -79t74 -50t114 -20q124 0 221.5 66.5t148 172t50.5 226.5v500h86v-1024h-86v180q0 21 2 42t4 32l2 10h-4q-12 -32 -33.5 -67.5t-59.5 -75.5t-84 -72t-111 -53t-136 -21q-183 0 -260.5 98.5t-77.5 301.5zM371 1206l164 228 h106l164 -228h-100l-115 164h-4l-115 -164h-100z" />
|
||||
<glyph unicode="ü" horiz-adv-x="1189" d="M166 375v649h86v-618q0 -61 4 -105t19 -93t41 -79t74 -50t114 -20q124 0 221.5 66.5t148 172t50.5 226.5v500h86v-1024h-86v180q0 21 2 42t4 32l2 10h-4q-12 -32 -33.5 -67.5t-59.5 -75.5t-84 -72t-111 -53t-136 -21q-183 0 -260.5 98.5t-77.5 301.5zM401 1284v150h95 v-150h-95zM682 1284v150h94v-150h-94z" />
|
||||
<glyph unicode="ý" horiz-adv-x="1001" d="M16 -373l39 74q6 -5 17.5 -13.5t45 -22t64.5 -13.5q122 0 201 184l74 170l-424 1018h92l338 -817l37 -96h4q15 47 35 96l338 817h92l-527 -1264q-36 -85 -102 -137.5t-158 -52.5q-44 0 -85.5 14t-60.5 28zM455 1206l137 228h115l-162 -228h-90z" />
|
||||
<glyph unicode="þ" horiz-adv-x="1185" d="M180 -410v1844h86v-523l-2 -82h4q3 9 10 24t36.5 52.5t66.5 66.5t104.5 53t147.5 24q203 0 322.5 -148t119.5 -389q0 -242 -127 -389.5t-327 -147.5q-74 0 -138 23t-102.5 55.5t-65.5 65t-38 55.5l-11 23h-4q4 -38 4 -91v-516h-86zM264 510q0 -116 40.5 -218 t123.5 -168.5t193 -66.5q156 0 260 123t104 332q0 205 -99 329t-257 124q-73 0 -137 -26.5t-116 -79.5t-82 -143t-30 -206z" />
|
||||
<glyph unicode="ÿ" horiz-adv-x="1001" d="M16 -373l39 74q6 -5 17.5 -13.5t45 -22t64.5 -13.5q122 0 201 184l74 170l-424 1018h92l338 -817l37 -96h4q15 47 35 96l338 817h92l-527 -1264q-36 -85 -102 -137.5t-158 -52.5q-44 0 -85.5 14t-60.5 28zM315 1284v150h95v-150h-95zM596 1284v150h94v-150h-94z" />
|
||||
<glyph unicode="Œ" horiz-adv-x="1939" d="M127 717q0 154 53.5 289.5t147.5 234.5t229 156t291 57q36 0 122.5 -10t114.5 -10h691v-82h-697v-588h572v-82h-572v-600h736v-82h-728q-27 0 -114.5 -10t-124.5 -10q-208 0 -373.5 97t-256.5 265.5t-91 374.5zM219 717q0 -185 77.5 -333.5t221.5 -234.5t330 -86 q34 0 69.5 4.5t54.5 8.5l19 4v1274q-67 16 -143 16q-186 0 -330 -86t-221.5 -234.5t-77.5 -332.5z" />
|
||||
<glyph unicode="œ" horiz-adv-x="2099" d="M106 510q0 119 42.5 221t115 171t169 108t202.5 39q157 0 286.5 -82.5t192.5 -223.5h4q59 146 181.5 226t273.5 80q101 0 182.5 -38t132 -103t77 -148t26.5 -178l-4 -56h-822q6 -221 131.5 -344t307.5 -123q55 0 108 13.5t89 32.5t64.5 37.5t42.5 31.5l13 14l47 -71 q-6 -6 -17 -15.5t-47.5 -34t-76 -43t-100.5 -34t-123 -15.5q-162 0 -292.5 82t-191.5 226h-4q-63 -144 -192.5 -226t-288.5 -82q-107 0 -203 38.5t-168.5 106.5t-115 169.5t-42.5 220.5zM197 510q0 -200 127 -325.5t311 -125.5q185 0 312.5 127t127.5 334q0 131 -61.5 234 t-161.5 157t-217 54q-184 0 -311 -127.5t-127 -327.5zM1171 606h730q-7 178 -100 270.5t-230 92.5q-148 0 -260.5 -95t-139.5 -268z" />
|
||||
<glyph unicode="Ÿ" horiz-adv-x="1138" d="M39 1434h100l340 -566l88 -161h4q45 91 88 161l340 566h101l-486 -811v-623h-88v623zM371 1614v149h94v-149h-94zM651 1614v149h94v-149h-94z" />
|
||||
<glyph unicode="ˆ" horiz-adv-x="1040" d="M303 1536l164 227h106l164 -227h-100l-115 164h-4l-115 -164h-100z" />
|
||||
<glyph unicode="˜" horiz-adv-x="1042" d="M225 1542q0 221 170 221q38 0 69.5 -15.5t53.5 -37.5t41.5 -44.5t43.5 -38t50 -15.5q25 0 43 15.5t25.5 40.5t10.5 46t3 43h82q0 -221 -170 -221q-38 0 -69.5 15.5t-53.5 38t-41.5 45t-43.5 38t-50 15.5q-33 0 -53 -28.5t-24.5 -57.5t-4.5 -60h-82z" />
|
||||
<glyph unicode=" " horiz-adv-x="895" />
|
||||
<glyph unicode=" " horiz-adv-x="1790" />
|
||||
<glyph unicode=" " horiz-adv-x="895" />
|
||||
<glyph unicode=" " horiz-adv-x="1790" />
|
||||
<glyph unicode=" " horiz-adv-x="596" />
|
||||
<glyph unicode=" " horiz-adv-x="447" />
|
||||
<glyph unicode=" " horiz-adv-x="298" />
|
||||
<glyph unicode=" " horiz-adv-x="298" />
|
||||
<glyph unicode=" " horiz-adv-x="223" />
|
||||
<glyph unicode=" " horiz-adv-x="358" />
|
||||
<glyph unicode=" " horiz-adv-x="99" />
|
||||
<glyph unicode="‐" horiz-adv-x="729" d="M82 539v82h565v-82h-565z" />
|
||||
<glyph unicode="‑" horiz-adv-x="729" d="M82 539v82h565v-82h-565z" />
|
||||
<glyph unicode="‒" horiz-adv-x="729" d="M82 539v82h565v-82h-565z" />
|
||||
<glyph unicode="–" horiz-adv-x="1138" d="M82 539v82h975v-82h-975z" />
|
||||
<glyph unicode="—" horiz-adv-x="1548" d="M82 539v82h1384v-82h-1384z" />
|
||||
<glyph unicode="‘" horiz-adv-x="409" d="M123 1141l98 309h80l-72 -309h-106z" />
|
||||
<glyph unicode="’" horiz-adv-x="403" d="M129 1141l72 309h106l-98 -309h-80z" />
|
||||
<glyph unicode="‚" horiz-adv-x="481" d="M123 -184l72 309h106l-98 -309h-80z" />
|
||||
<glyph unicode="“" horiz-adv-x="614" d="M123 1141l98 309h80l-72 -309h-106zM328 1141l98 309h80l-72 -309h-106z" />
|
||||
<glyph unicode="”" horiz-adv-x="608" d="M129 1141l72 309h106l-98 -309h-80zM334 1141l72 309h106l-98 -309h-80z" />
|
||||
<glyph unicode="„" horiz-adv-x="686" d="M123 -184l72 309h106l-98 -309h-80zM328 -184l71 309h107l-98 -309h-80z" />
|
||||
<glyph unicode="•" horiz-adv-x="798" d="M129 596q0 112 78.5 191t191.5 79t192 -79t79 -191t-79 -191t-192 -79t-191.5 79t-78.5 191z" />
|
||||
<glyph unicode="…" horiz-adv-x="1357" d="M180 0v129h125v-129h-125zM616 0v129h125v-129h-125zM1053 0v129h125v-129h-125z" />
|
||||
<glyph unicode=" " horiz-adv-x="358" />
|
||||
<glyph unicode="‹" horiz-adv-x="677" d="M111 578l335 421h109l-336 -421l336 -420h-109z" />
|
||||
<glyph unicode="›" horiz-adv-x="677" d="M123 158l336 420l-336 421h108l336 -421l-336 -420h-108z" />
|
||||
<glyph unicode=" " horiz-adv-x="447" />
|
||||
<glyph unicode="€" horiz-adv-x="1206" d="M92 559v82h111q-5 28 -4.5 86.5t6.5 95.5h-113v82h127q58 245 244.5 399t437.5 154q47 0 92.5 -5.5t67.5 -10.5l22 -6l-20 -86q-74 22 -162 22q-217 0 -375 -128.5t-213 -338.5h672l-16 -82h-672q-15 -81 -4 -182h643l-14 -82h-617q46 -222 208.5 -360t387.5 -138 q46 0 91 6.5t67 13.5l22 7l25 -84q-88 -29 -205 -29q-259 0 -448.5 163.5t-239.5 420.5h-121z" />
|
||||
<glyph unicode="™" horiz-adv-x="1888" d="M57 1356v78h738v-78h-330v-815h-80v815h-328zM879 541l71 893h72l258 -553q8 -18 15.5 -38.5t10.5 -32.5l3 -11h4q10 41 28 82l258 553h72l72 -893h-78l-57 671l2 58h-4l-260 -561h-70l-260 561h-4l2 -58l-58 -671h-77z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M0 0v1024h1024v-1024h-1024z" />
|
||||
<hkern u1="(" u2="ì" k="-14" />
|
||||
<hkern u1="(" u2="V" k="-20" />
|
||||
<hkern u1="," u2="v" k="47" />
|
||||
<hkern u1="," u2="V" k="123" />
|
||||
<hkern u1="," u2="M" k="23" />
|
||||
<hkern u1="," u2="9" k="31" />
|
||||
<hkern u1="," u2="8" k="37" />
|
||||
<hkern u1="," u2="7" k="41" />
|
||||
<hkern u1="," u2="6" k="66" />
|
||||
<hkern u1="," u2="5" k="16" />
|
||||
<hkern u1="," u2="4" k="141" />
|
||||
<hkern u1="," u2="3" k="10" />
|
||||
<hkern u1="," u2="2" k="10" />
|
||||
<hkern u1="," u2="0" k="61" />
|
||||
<hkern u1="." u2="v" k="51" />
|
||||
<hkern u1="." u2="V" k="123" />
|
||||
<hkern u1="." u2="M" k="18" />
|
||||
<hkern u1="." u2="9" k="23" />
|
||||
<hkern u1="." u2="8" k="37" />
|
||||
<hkern u1="." u2="7" k="31" />
|
||||
<hkern u1="." u2="6" k="63" />
|
||||
<hkern u1="." u2="5" k="14" />
|
||||
<hkern u1="." u2="4" k="141" />
|
||||
<hkern u1="." u2="0" k="59" />
|
||||
<hkern u1="/" u2="7" k="-23" />
|
||||
<hkern u1="0" u2="." k="59" />
|
||||
<hkern u1="0" u2="," k="63" />
|
||||
<hkern u1="1" u2="4" k="29" />
|
||||
<hkern u1="1" u2="/" k="-23" />
|
||||
<hkern u1="2" u2="4" k="45" />
|
||||
<hkern u1="3" u2="." k="37" />
|
||||
<hkern u1="3" u2="," k="41" />
|
||||
<hkern u1="4" u2="1" k="10" />
|
||||
<hkern u1="4" u2="." k="61" />
|
||||
<hkern u1="4" u2="," k="59" />
|
||||
<hkern u1="5" u2="." k="35" />
|
||||
<hkern u1="5" u2="," k="39" />
|
||||
<hkern u1="6" u2="." k="31" />
|
||||
<hkern u1="6" u2="," k="35" />
|
||||
<hkern u1="7" u2="4" k="49" />
|
||||
<hkern u1="7" u2="." k="156" />
|
||||
<hkern u1="7" u2="," k="158" />
|
||||
<hkern u1="8" u2="." k="39" />
|
||||
<hkern u1="8" u2="," k="43" />
|
||||
<hkern u1="9" u2="." k="82" />
|
||||
<hkern u1="9" u2="," k="84" />
|
||||
<hkern u1="B" u2="V" k="6" />
|
||||
<hkern u1="B" u2=";" k="25" />
|
||||
<hkern u1="B" u2=":" k="25" />
|
||||
<hkern u1="B" u2="," k="39" />
|
||||
<hkern u1="F" u2="ð" k="6" />
|
||||
<hkern u1="F" u2="x" k="63" />
|
||||
<hkern u1="F" u2="p" k="12" />
|
||||
<hkern u1="F" u2="M" k="8" />
|
||||
<hkern u1="F" u2=";" k="127" />
|
||||
<hkern u1="F" u2=":" k="125" />
|
||||
<hkern u1="F" u2="," k="172" />
|
||||
<hkern u1="L" u2="·" k="360" />
|
||||
<hkern u1="M" u2="V" k="12" />
|
||||
<hkern u1="M" u2=";" k="18" />
|
||||
<hkern u1="M" u2=":" k="20" />
|
||||
<hkern u1="M" u2="," k="18" />
|
||||
<hkern u1="P" u2="ð" k="12" />
|
||||
<hkern u1="P" u2="X" k="12" />
|
||||
<hkern u1="P" u2="M" k="6" />
|
||||
<hkern u1="P" u2=";" k="12" />
|
||||
<hkern u1="P" u2=":" k="12" />
|
||||
<hkern u1="P" u2="," k="215" />
|
||||
<hkern u1="Q" u2="V" k="12" />
|
||||
<hkern u1="Q" u2=";" k="10" />
|
||||
<hkern u1="Q" u2=":" k="12" />
|
||||
<hkern u1="Q" u2="," k="12" />
|
||||
<hkern u1="T" u2="ì" k="-16" />
|
||||
<hkern u1="T" u2="ã" k="123" />
|
||||
<hkern u1="V" u2="ð" k="12" />
|
||||
<hkern u1="V" u2="}" k="-33" />
|
||||
<hkern u1="V" u2="p" k="29" />
|
||||
<hkern u1="V" u2="]" k="-31" />
|
||||
<hkern u1="V" u2="M" k="12" />
|
||||
<hkern u1="V" u2="?" k="-25" />
|
||||
<hkern u1="V" u2=";" k="39" />
|
||||
<hkern u1="V" u2=":" k="37" />
|
||||
<hkern u1="V" u2="," k="123" />
|
||||
<hkern u1="V" u2=")" k="-20" />
|
||||
<hkern u1="X" u2="ð" k="8" />
|
||||
<hkern u1="X" u2="v" k="25" />
|
||||
<hkern u1="Y" u2="ß" k="14" />
|
||||
<hkern u1="[" u2="V" k="-31" />
|
||||
<hkern u1="a" u2="Y" k="109" />
|
||||
<hkern u1="a" u2="W" k="33" />
|
||||
<hkern u1="a" u2="V" k="55" />
|
||||
<hkern u1="a" u2="U" k="6" />
|
||||
<hkern u1="a" u2="T" k="223" />
|
||||
<hkern u1="c" u2="Y" k="45" />
|
||||
<hkern u1="c" u2="W" k="14" />
|
||||
<hkern u1="c" u2="V" k="20" />
|
||||
<hkern u1="c" u2="T" k="195" />
|
||||
<hkern u1="e" u2="Y" k="92" />
|
||||
<hkern u1="e" u2="W" k="29" />
|
||||
<hkern u1="e" u2="V" k="43" />
|
||||
<hkern u1="e" u2="T" k="199" />
|
||||
<hkern u1="f" u2="}" k="-33" />
|
||||
<hkern u1="f" u2="]" k="-37" />
|
||||
<hkern u1="f" u2="V" k="-8" />
|
||||
<hkern u1="f" u2="T" k="-27" />
|
||||
<hkern u1="f" u2="J" k="37" />
|
||||
<hkern u1="f" u2="A" k="14" />
|
||||
<hkern u1="f" u2="?" k="-20" />
|
||||
<hkern u1="f" u2="," k="12" />
|
||||
<hkern u1="f" u2=")" k="-29" />
|
||||
<hkern u1="g" u2="Y" k="68" />
|
||||
<hkern u1="g" u2="W" k="25" />
|
||||
<hkern u1="g" u2="V" k="29" />
|
||||
<hkern u1="g" u2="T" k="227" />
|
||||
<hkern u1="k" u2="Y" k="14" />
|
||||
<hkern u1="k" u2="V" k="6" />
|
||||
<hkern u1="k" u2="T" k="180" />
|
||||
<hkern u1="l" u2="·" k="119" />
|
||||
<hkern u1="l" u2="Y" k="6" />
|
||||
<hkern u1="l" u2="U" k="10" />
|
||||
<hkern u1="o" u2="Z" k="12" />
|
||||
<hkern u1="o" u2="Y" k="121" />
|
||||
<hkern u1="o" u2="X" k="12" />
|
||||
<hkern u1="o" u2="W" k="37" />
|
||||
<hkern u1="o" u2="V" k="59" />
|
||||
<hkern u1="o" u2="T" k="207" />
|
||||
<hkern u1="q" u2="Y" k="68" />
|
||||
<hkern u1="q" u2="W" k="25" />
|
||||
<hkern u1="q" u2="V" k="29" />
|
||||
<hkern u1="q" u2="T" k="227" />
|
||||
<hkern u1="r" u2="Z" k="98" />
|
||||
<hkern u1="r" u2="X" k="31" />
|
||||
<hkern u1="r" u2="T" k="180" />
|
||||
<hkern u1="r" u2="J" k="82" />
|
||||
<hkern u1="r" u2="A" k="41" />
|
||||
<hkern u1="s" u2="Y" k="53" />
|
||||
<hkern u1="s" u2="W" k="12" />
|
||||
<hkern u1="s" u2="V" k="18" />
|
||||
<hkern u1="s" u2="T" k="193" />
|
||||
<hkern u1="t" u2="Y" k="6" />
|
||||
<hkern u1="t" u2="T" k="78" />
|
||||
<hkern u1="u" u2="Y" k="68" />
|
||||
<hkern u1="u" u2="W" k="25" />
|
||||
<hkern u1="u" u2="V" k="29" />
|
||||
<hkern u1="u" u2="T" k="227" />
|
||||
<hkern u1="v" u2="ð" k="8" />
|
||||
<hkern u1="v" u2="Z" k="80" />
|
||||
<hkern u1="v" u2="X" k="25" />
|
||||
<hkern u1="v" u2="T" k="178" />
|
||||
<hkern u1="v" u2="J" k="10" />
|
||||
<hkern u1="v" u2="A" k="18" />
|
||||
<hkern u1="v" u2="," k="51" />
|
||||
<hkern u1="w" u2="Z" k="74" />
|
||||
<hkern u1="w" u2="Y" k="6" />
|
||||
<hkern u1="w" u2="X" k="23" />
|
||||
<hkern u1="w" u2="T" k="180" />
|
||||
<hkern u1="w" u2="J" k="6" />
|
||||
<hkern u1="w" u2="A" k="14" />
|
||||
<hkern u1="x" u2="ð" k="14" />
|
||||
<hkern u1="x" u2="Y" k="16" />
|
||||
<hkern u1="x" u2="T" k="186" />
|
||||
<hkern u1="y" u2="Z" k="82" />
|
||||
<hkern u1="y" u2="X" k="23" />
|
||||
<hkern u1="y" u2="T" k="174" />
|
||||
<hkern u1="y" u2="J" k="12" />
|
||||
<hkern u1="y" u2="A" k="18" />
|
||||
<hkern u1="z" u2="Y" k="20" />
|
||||
<hkern u1="z" u2="W" k="6" />
|
||||
<hkern u1="z" u2="V" k="8" />
|
||||
<hkern u1="z" u2="T" k="195" />
|
||||
<hkern u1="{" u2="ì" k="-14" />
|
||||
<hkern u1="{" u2="V" k="-33" />
|
||||
<hkern u1="·" u2="l" k="119" />
|
||||
<hkern u1="¿" u2="j" k="-61" />
|
||||
<hkern u1="Ý" u2="ß" k="14" />
|
||||
<hkern u1="Þ" u2="X" k="55" />
|
||||
<hkern u1="Þ" u2="V" k="6" />
|
||||
<hkern u1="Þ" u2=";" k="16" />
|
||||
<hkern u1="Þ" u2=":" k="16" />
|
||||
<hkern u1="Þ" u2="," k="188" />
|
||||
<hkern u1="ß" u2="v" k="27" />
|
||||
<hkern u1="í" u2="}" k="-16" />
|
||||
<hkern u1="í" u2=")" k="-16" />
|
||||
<hkern u1="ð" u2="x" k="12" />
|
||||
<hkern u1="ð" u2="," k="12" />
|
||||
<hkern u1="Ÿ" u2="ß" k="14" />
|
||||
<hkern g1="parenleft" g2="T" k="-37" />
|
||||
<hkern g1="parenleft" g2="Y,Yacute,Ydieresis" k="-23" />
|
||||
<hkern g1="comma" g2="B,D,E,F,H,I,K,L,N,P,R,Egrave,Eacute,Ecircumflex,Edieresis,Igrave,Iacute,Icircumflex,Idieresis,Eth,Ntilde,Thorn" k="35" />
|
||||
<hkern g1="comma" g2="J" k="14" />
|
||||
<hkern g1="comma" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="86" />
|
||||
<hkern g1="comma" g2="T" k="131" />
|
||||
<hkern g1="comma" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="70" />
|
||||
<hkern g1="comma" g2="Y,Yacute,Ydieresis" k="131" />
|
||||
<hkern g1="comma" g2="S" k="12" />
|
||||
<hkern g1="comma" g2="W" k="98" />
|
||||
<hkern g1="comma" g2="t" k="10" />
|
||||
<hkern g1="comma" g2="w" k="35" />
|
||||
<hkern g1="comma" g2="y,yacute,ydieresis" k="51" />
|
||||
<hkern g1="period" g2="B,D,E,F,H,I,K,L,N,P,R,Egrave,Eacute,Ecircumflex,Edieresis,Igrave,Iacute,Icircumflex,Idieresis,Eth,Ntilde,Thorn" k="29" />
|
||||
<hkern g1="period" g2="J" k="12" />
|
||||
<hkern g1="period" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="84" />
|
||||
<hkern g1="period" g2="T" k="127" />
|
||||
<hkern g1="period" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="68" />
|
||||
<hkern g1="period" g2="Y,Yacute,Ydieresis" k="129" />
|
||||
<hkern g1="period" g2="S" k="10" />
|
||||
<hkern g1="period" g2="W" k="96" />
|
||||
<hkern g1="period" g2="t" k="12" />
|
||||
<hkern g1="period" g2="w" k="39" />
|
||||
<hkern g1="period" g2="y,yacute,ydieresis" k="55" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="8" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="T" k="94" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="12" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="Y,Yacute,Ydieresis" k="96" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="W" k="45" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="w" k="14" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="y,yacute,ydieresis" k="18" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="quotedbl,quotesingle" k="88" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="V" k="63" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="v" k="18" />
|
||||
<hkern g1="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring" g2="quoteright,quotedblright" k="80" />
|
||||
<hkern g1="B" g2="T" k="6" />
|
||||
<hkern g1="B" g2="Y,Yacute,Ydieresis" k="16" />
|
||||
<hkern g1="B" g2="W" k="6" />
|
||||
<hkern g1="B" g2="quotedbl,quotesingle" k="16" />
|
||||
<hkern g1="B" g2="quoteright,quotedblright" k="12" />
|
||||
<hkern g1="B" g2="period,ellipsis" k="35" />
|
||||
<hkern g1="C,Ccedilla" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="14" />
|
||||
<hkern g1="C,Ccedilla" g2="w" k="45" />
|
||||
<hkern g1="C,Ccedilla" g2="y,yacute,ydieresis" k="70" />
|
||||
<hkern g1="C,Ccedilla" g2="v" k="68" />
|
||||
<hkern g1="C,Ccedilla" g2="period,ellipsis" k="16" />
|
||||
<hkern g1="C,Ccedilla" g2="comma" k="20" />
|
||||
<hkern g1="C,Ccedilla" g2="colon" k="33" />
|
||||
<hkern g1="C,Ccedilla" g2="semicolon" k="29" />
|
||||
<hkern g1="D,Eth" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="8" />
|
||||
<hkern g1="D,Eth" g2="M" k="6" />
|
||||
<hkern g1="D,Eth" g2="T" k="41" />
|
||||
<hkern g1="D,Eth" g2="Y,Yacute,Ydieresis" k="37" />
|
||||
<hkern g1="D,Eth" g2="W" k="6" />
|
||||
<hkern g1="D,Eth" g2="quotedbl,quotesingle" k="10" />
|
||||
<hkern g1="D,Eth" g2="V" k="8" />
|
||||
<hkern g1="D,Eth" g2="period,ellipsis" k="82" />
|
||||
<hkern g1="D,Eth" g2="comma" k="84" />
|
||||
<hkern g1="D,Eth" g2="colon" k="18" />
|
||||
<hkern g1="D,Eth" g2="semicolon" k="20" />
|
||||
<hkern g1="D,Eth" g2="X" k="25" />
|
||||
<hkern g1="D,Eth" g2="Z" k="29" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="14" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="t" k="10" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="w" k="23" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="y,yacute,ydieresis" k="29" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="v" k="27" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="colon" k="16" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="semicolon" k="12" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="g" k="8" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="8" />
|
||||
<hkern g1="E,AE,Egrave,Eacute,Ecircumflex,Edieresis,OE" g2="eth" k="6" />
|
||||
<hkern g1="F" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="63" />
|
||||
<hkern g1="F" g2="J" k="111" />
|
||||
<hkern g1="F" g2="a,agrave,aacute,acircumflex,atilde,adieresis,aring,ae" k="51" />
|
||||
<hkern g1="F" g2="S" k="6" />
|
||||
<hkern g1="F" g2="t" k="6" />
|
||||
<hkern g1="F" g2="period,ellipsis" k="172" />
|
||||
<hkern g1="F" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="10" />
|
||||
<hkern g1="F" g2="m,n,r,ntilde" k="12" />
|
||||
<hkern g1="F" g2="s" k="10" />
|
||||
<hkern g1="F" g2="u,ugrave,uacute,ucircumflex,udieresis" k="8" />
|
||||
<hkern g1="F" g2="z" k="203" />
|
||||
<hkern g1="G" g2="quotedbl,quotesingle" k="12" />
|
||||
<hkern g1="G" g2="quoteright,quotedblright" k="16" />
|
||||
<hkern g1="G" g2="period,ellipsis" k="10" />
|
||||
<hkern g1="G" g2="comma" k="10" />
|
||||
<hkern g1="G" g2="colon" k="20" />
|
||||
<hkern g1="G" g2="semicolon" k="16" />
|
||||
<hkern g1="H,I,N,Igrave,Iacute,Icircumflex,Idieresis,Ntilde" g2="quotedbl,quotesingle" k="16" />
|
||||
<hkern g1="H,I,N,Igrave,Iacute,Icircumflex,Idieresis,Ntilde" g2="quoteright,quotedblright" k="12" />
|
||||
<hkern g1="H,I,N,Igrave,Iacute,Icircumflex,Idieresis,Ntilde" g2="period,ellipsis" k="29" />
|
||||
<hkern g1="H,I,N,Igrave,Iacute,Icircumflex,Idieresis,Ntilde" g2="comma" k="29" />
|
||||
<hkern g1="H,I,N,Igrave,Iacute,Icircumflex,Idieresis,Ntilde" g2="colon" k="25" />
|
||||
<hkern g1="H,I,N,Igrave,Iacute,Icircumflex,Idieresis,Ntilde" g2="semicolon" k="23" />
|
||||
<hkern g1="J" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="6" />
|
||||
<hkern g1="J" g2="quotedbl,quotesingle" k="12" />
|
||||
<hkern g1="J" g2="quoteright,quotedblright" k="10" />
|
||||
<hkern g1="J" g2="period,ellipsis" k="51" />
|
||||
<hkern g1="J" g2="comma" k="55" />
|
||||
<hkern g1="J" g2="colon" k="27" />
|
||||
<hkern g1="J" g2="semicolon" k="27" />
|
||||
<hkern g1="K" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="27" />
|
||||
<hkern g1="K" g2="t" k="10" />
|
||||
<hkern g1="K" g2="w" k="25" />
|
||||
<hkern g1="K" g2="y,yacute,ydieresis" k="25" />
|
||||
<hkern g1="K" g2="v" k="27" />
|
||||
<hkern g1="K" g2="g" k="14" />
|
||||
<hkern g1="K" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="14" />
|
||||
<hkern g1="K" g2="eth" k="10" />
|
||||
<hkern g1="K" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="K" g2="u,ugrave,uacute,ucircumflex,udieresis" k="10" />
|
||||
<hkern g1="K" g2="d,q" k="10" />
|
||||
<hkern g1="L" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="78" />
|
||||
<hkern g1="L" g2="T" k="145" />
|
||||
<hkern g1="L" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="43" />
|
||||
<hkern g1="L" g2="Y,Yacute,Ydieresis" k="96" />
|
||||
<hkern g1="L" g2="W" k="86" />
|
||||
<hkern g1="L" g2="t" k="10" />
|
||||
<hkern g1="L" g2="w" k="47" />
|
||||
<hkern g1="L" g2="y,yacute,ydieresis" k="74" />
|
||||
<hkern g1="L" g2="quotedbl,quotesingle" k="162" />
|
||||
<hkern g1="L" g2="V" k="127" />
|
||||
<hkern g1="L" g2="v" k="72" />
|
||||
<hkern g1="L" g2="quoteright,quotedblright" k="158" />
|
||||
<hkern g1="L" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="6" />
|
||||
<hkern g1="M" g2="T" k="6" />
|
||||
<hkern g1="M" g2="Y,Yacute,Ydieresis" k="23" />
|
||||
<hkern g1="M" g2="W" k="14" />
|
||||
<hkern g1="M" g2="quotedbl,quotesingle" k="31" />
|
||||
<hkern g1="M" g2="quoteright,quotedblright" k="25" />
|
||||
<hkern g1="M" g2="period,ellipsis" k="18" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="8" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="T" k="43" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="Y,Yacute,Ydieresis" k="35" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="W" k="6" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="quotedbl,quotesingle" k="10" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="V" k="8" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="period,ellipsis" k="84" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="comma" k="86" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="colon" k="18" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="semicolon" k="20" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="X" k="27" />
|
||||
<hkern g1="O,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash" g2="Z" k="31" />
|
||||
<hkern g1="P" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="68" />
|
||||
<hkern g1="P" g2="J" k="127" />
|
||||
<hkern g1="P" g2="period,ellipsis" k="215" />
|
||||
<hkern g1="P" g2="Z" k="10" />
|
||||
<hkern g1="P" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="6" />
|
||||
<hkern g1="Q" g2="T" k="57" />
|
||||
<hkern g1="Q" g2="Y,Yacute,Ydieresis" k="47" />
|
||||
<hkern g1="Q" g2="W" k="12" />
|
||||
<hkern g1="Q" g2="quotedbl,quotesingle" k="14" />
|
||||
<hkern g1="Q" g2="quoteright,quotedblright" k="10" />
|
||||
<hkern g1="Q" g2="period,ellipsis" k="14" />
|
||||
<hkern g1="R" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="6" />
|
||||
<hkern g1="R" g2="Y,Yacute,Ydieresis" k="10" />
|
||||
<hkern g1="R" g2="quotedbl,quotesingle" k="10" />
|
||||
<hkern g1="R" g2="g" k="8" />
|
||||
<hkern g1="R" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="10" />
|
||||
<hkern g1="R" g2="eth" k="10" />
|
||||
<hkern g1="R" g2="d,q" k="6" />
|
||||
<hkern g1="S" g2="w" k="12" />
|
||||
<hkern g1="S" g2="y,yacute,ydieresis" k="18" />
|
||||
<hkern g1="S" g2="v" k="18" />
|
||||
<hkern g1="S" g2="period,ellipsis" k="20" />
|
||||
<hkern g1="S" g2="comma" k="25" />
|
||||
<hkern g1="S" g2="colon" k="31" />
|
||||
<hkern g1="S" g2="semicolon" k="29" />
|
||||
<hkern g1="T" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="94" />
|
||||
<hkern g1="T" g2="J" k="78" />
|
||||
<hkern g1="T" g2="M" k="6" />
|
||||
<hkern g1="T" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="43" />
|
||||
<hkern g1="T" g2="a,agrave,aacute,acircumflex,atilde,adieresis,aring,ae" k="199" />
|
||||
<hkern g1="T" g2="Y,Yacute,Ydieresis" k="-18" />
|
||||
<hkern g1="T" g2="w" k="180" />
|
||||
<hkern g1="T" g2="y,yacute,ydieresis" k="174" />
|
||||
<hkern g1="T" g2="quotedbl,quotesingle" k="-41" />
|
||||
<hkern g1="T" g2="v" k="178" />
|
||||
<hkern g1="T" g2="period,ellipsis" k="127" />
|
||||
<hkern g1="T" g2="comma" k="127" />
|
||||
<hkern g1="T" g2="colon" k="123" />
|
||||
<hkern g1="T" g2="semicolon" k="123" />
|
||||
<hkern g1="T" g2="g" k="207" />
|
||||
<hkern g1="T" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="207" />
|
||||
<hkern g1="T" g2="eth" k="16" />
|
||||
<hkern g1="T" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="14" />
|
||||
<hkern g1="T" g2="m,n,r,ntilde" k="227" />
|
||||
<hkern g1="T" g2="s" k="199" />
|
||||
<hkern g1="T" g2="u,ugrave,uacute,ucircumflex,udieresis" k="223" />
|
||||
<hkern g1="T" g2="z" k="180" />
|
||||
<hkern g1="T" g2="d,q" k="205" />
|
||||
<hkern g1="T" g2="parenright" k="-37" />
|
||||
<hkern g1="T" g2="question" k="-33" />
|
||||
<hkern g1="T" g2="bracketright" k="-41" />
|
||||
<hkern g1="T" g2="p" k="227" />
|
||||
<hkern g1="T" g2="x" k="186" />
|
||||
<hkern g1="T" g2="braceright" k="-43" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="12" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="quotedbl,quotesingle" k="12" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="quoteright,quotedblright" k="10" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="period,ellipsis" k="68" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="comma" k="70" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="colon" k="29" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="semicolon" k="31" />
|
||||
<hkern g1="U,Ugrave,Uacute,Ucircumflex,Udieresis" g2="X" k="6" />
|
||||
<hkern g1="V" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="63" />
|
||||
<hkern g1="V" g2="J" k="57" />
|
||||
<hkern g1="V" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="8" />
|
||||
<hkern g1="V" g2="a,agrave,aacute,acircumflex,atilde,adieresis,aring,ae" k="43" />
|
||||
<hkern g1="V" g2="period,ellipsis" k="123" />
|
||||
<hkern g1="V" g2="g" k="51" />
|
||||
<hkern g1="V" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="59" />
|
||||
<hkern g1="V" g2="m,n,r,ntilde" k="29" />
|
||||
<hkern g1="V" g2="s" k="37" />
|
||||
<hkern g1="V" g2="u,ugrave,uacute,ucircumflex,udieresis" k="20" />
|
||||
<hkern g1="V" g2="d,q" k="53" />
|
||||
<hkern g1="W" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="47" />
|
||||
<hkern g1="W" g2="J" k="41" />
|
||||
<hkern g1="W" g2="M" k="14" />
|
||||
<hkern g1="W" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="6" />
|
||||
<hkern g1="W" g2="a,agrave,aacute,acircumflex,atilde,adieresis,aring,ae" k="33" />
|
||||
<hkern g1="W" g2="period,ellipsis" k="98" />
|
||||
<hkern g1="W" g2="comma" k="98" />
|
||||
<hkern g1="W" g2="colon" k="35" />
|
||||
<hkern g1="W" g2="semicolon" k="35" />
|
||||
<hkern g1="W" g2="g" k="33" />
|
||||
<hkern g1="W" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="37" />
|
||||
<hkern g1="W" g2="eth" k="18" />
|
||||
<hkern g1="W" g2="m,n,r,ntilde" k="25" />
|
||||
<hkern g1="W" g2="s" k="27" />
|
||||
<hkern g1="W" g2="u,ugrave,uacute,ucircumflex,udieresis" k="16" />
|
||||
<hkern g1="W" g2="d,q" k="33" />
|
||||
<hkern g1="W" g2="p" k="25" />
|
||||
<hkern g1="W" g2="braceright" k="-12" />
|
||||
<hkern g1="X" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="27" />
|
||||
<hkern g1="X" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="6" />
|
||||
<hkern g1="X" g2="t" k="10" />
|
||||
<hkern g1="X" g2="w" k="23" />
|
||||
<hkern g1="X" g2="y,yacute,ydieresis" k="23" />
|
||||
<hkern g1="X" g2="g" k="12" />
|
||||
<hkern g1="X" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="12" />
|
||||
<hkern g1="X" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="X" g2="u,ugrave,uacute,ucircumflex,udieresis" k="8" />
|
||||
<hkern g1="X" g2="d,q" k="8" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="96" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="J" k="68" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="M" k="23" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="35" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="T" k="-18" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="a,agrave,aacute,acircumflex,atilde,adieresis,aring,ae" k="78" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="w" k="6" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="period,ellipsis" k="127" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="comma" k="127" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="colon" k="74" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="semicolon" k="74" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="g" k="104" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="121" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="eth" k="18" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="10" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="m,n,r,ntilde" k="68" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="s" k="84" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="u,ugrave,uacute,ucircumflex,udieresis" k="66" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="z" k="8" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="d,q" k="109" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="parenright" k="-23" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="question" k="-33" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="bracketright" k="-33" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="p" k="68" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="x" k="14" />
|
||||
<hkern g1="Y,Yacute,Ydieresis" g2="braceright" k="-37" />
|
||||
<hkern g1="Z" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="37" />
|
||||
<hkern g1="Z" g2="t" k="8" />
|
||||
<hkern g1="Z" g2="w" k="23" />
|
||||
<hkern g1="Z" g2="y,yacute,ydieresis" k="23" />
|
||||
<hkern g1="Z" g2="v" k="25" />
|
||||
<hkern g1="Z" g2="colon" k="12" />
|
||||
<hkern g1="Z" g2="g" k="20" />
|
||||
<hkern g1="Z" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="25" />
|
||||
<hkern g1="Z" g2="eth" k="14" />
|
||||
<hkern g1="Z" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="Z" g2="u,ugrave,uacute,ucircumflex,udieresis" k="8" />
|
||||
<hkern g1="Z" g2="d,q" k="12" />
|
||||
<hkern g1="bracketleft" g2="T" k="-41" />
|
||||
<hkern g1="bracketleft" g2="Y,Yacute,Ydieresis" k="-33" />
|
||||
<hkern g1="a,agrave,aacute,acircumflex,atilde,adieresis,aring" g2="t" k="6" />
|
||||
<hkern g1="a,agrave,aacute,acircumflex,atilde,adieresis,aring" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="b,p,thorn" g2="T" k="205" />
|
||||
<hkern g1="b,p,thorn" g2="Y,Yacute,Ydieresis" k="106" />
|
||||
<hkern g1="b,p,thorn" g2="W" k="31" />
|
||||
<hkern g1="b,p,thorn" g2="V" k="51" />
|
||||
<hkern g1="b,p,thorn" g2="X" k="8" />
|
||||
<hkern g1="b,p,thorn" g2="Z" k="8" />
|
||||
<hkern g1="b,p,thorn" g2="z" k="8" />
|
||||
<hkern g1="b,p,thorn" g2="x" k="8" />
|
||||
<hkern g1="c,ccedilla" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="6" />
|
||||
<hkern g1="c,ccedilla" g2="eth" k="6" />
|
||||
<hkern g1="f" g2="quotedbl,quotesingle" k="-31" />
|
||||
<hkern g1="f" g2="period,ellipsis" k="12" />
|
||||
<hkern g1="f" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="10" />
|
||||
<hkern g1="f" g2="eth" k="27" />
|
||||
<hkern g1="f" g2="d,q" k="6" />
|
||||
<hkern g1="k" g2="g" k="12" />
|
||||
<hkern g1="k" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="16" />
|
||||
<hkern g1="k" g2="eth" k="16" />
|
||||
<hkern g1="k" g2="d,q" k="10" />
|
||||
<hkern g1="h,m,n,ntilde" g2="T" k="221" />
|
||||
<hkern g1="h,m,n,ntilde" g2="Y,Yacute,Ydieresis" k="102" />
|
||||
<hkern g1="h,m,n,ntilde" g2="W" k="31" />
|
||||
<hkern g1="h,m,n,ntilde" g2="V" k="53" />
|
||||
<hkern g1="h,m,n,ntilde" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="o,ograve,oacute,ocircumflex,otilde,odieresis,oslash" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="o,ograve,oacute,ocircumflex,otilde,odieresis,oslash" g2="z" k="12" />
|
||||
<hkern g1="o,ograve,oacute,ocircumflex,otilde,odieresis,oslash" g2="x" k="12" />
|
||||
<hkern g1="r" g2="period,ellipsis" k="70" />
|
||||
<hkern g1="r" g2="comma" k="70" />
|
||||
<hkern g1="r" g2="g" k="10" />
|
||||
<hkern g1="r" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="25" />
|
||||
<hkern g1="r" g2="eth" k="66" />
|
||||
<hkern g1="r" g2="d,q" k="14" />
|
||||
<hkern g1="v" g2="period,ellipsis" k="51" />
|
||||
<hkern g1="w" g2="period,ellipsis" k="39" />
|
||||
<hkern g1="w" g2="comma" k="41" />
|
||||
<hkern g1="w" g2="eth" k="6" />
|
||||
<hkern g1="x" g2="g" k="10" />
|
||||
<hkern g1="x" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="12" />
|
||||
<hkern g1="x" g2="d,q" k="8" />
|
||||
<hkern g1="y,yacute,ydieresis" g2="period,ellipsis" k="55" />
|
||||
<hkern g1="y,yacute,ydieresis" g2="comma" k="57" />
|
||||
<hkern g1="y,yacute,ydieresis" g2="eth" k="8" />
|
||||
<hkern g1="z" g2="g" k="10" />
|
||||
<hkern g1="z" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="16" />
|
||||
<hkern g1="z" g2="eth" k="16" />
|
||||
<hkern g1="z" g2="d,q" k="8" />
|
||||
<hkern g1="braceleft" g2="T" k="-43" />
|
||||
<hkern g1="braceleft" g2="Y,Yacute,Ydieresis" k="-37" />
|
||||
<hkern g1="braceleft" g2="W" k="-10" />
|
||||
<hkern g1="periodcentered" g2="B,D,E,F,H,I,K,L,N,P,R,Egrave,Eacute,Ecircumflex,Edieresis,Igrave,Iacute,Icircumflex,Idieresis,Eth,Ntilde,Thorn" k="37" />
|
||||
<hkern g1="Thorn" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="12" />
|
||||
<hkern g1="Thorn" g2="T" k="139" />
|
||||
<hkern g1="Thorn" g2="Y,Yacute,Ydieresis" k="37" />
|
||||
<hkern g1="Thorn" g2="period,ellipsis" k="182" />
|
||||
<hkern g1="Thorn" g2="Z" k="84" />
|
||||
<hkern g1="germandbls" g2="t" k="6" />
|
||||
<hkern g1="germandbls" g2="w" k="20" />
|
||||
<hkern g1="germandbls" g2="y,yacute,ydieresis" k="27" />
|
||||
<hkern g1="germandbls" g2="quotedbl,quotesingle" k="14" />
|
||||
<hkern g1="germandbls" g2="quoteright,quotedblright" k="12" />
|
||||
<hkern g1="germandbls" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="eth" g2="period,ellipsis" k="12" />
|
||||
<hkern g1="eth" g2="f,uniFB01,uniFB02,uniFB03,uniFB04" k="6" />
|
||||
<hkern g1="eth" g2="z" k="8" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="A,Agrave,Aacute,Acircumflex,Atilde,Adieresis,Aring,AE" k="90" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="B,D,E,F,H,I,K,L,N,P,R,Egrave,Eacute,Ecircumflex,Edieresis,Igrave,Iacute,Icircumflex,Idieresis,Eth,Ntilde,Thorn" k="16" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="J" k="78" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="M" k="31" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="14" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="T" k="-47" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="12" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="a,agrave,aacute,acircumflex,atilde,adieresis,aring,ae" k="18" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="Y,Yacute,Ydieresis" k="-14" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="V" k="-18" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="g" k="10" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="c,e,o,ccedilla,egrave,eacute,ecircumflex,edieresis,ograve,oacute,ocircumflex,otilde,odieresis,oslash,oe" k="14" />
|
||||
<hkern g1="quoteleft,quotedblleft" g2="eth" k="10" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="B,D,E,F,H,I,K,L,N,P,R,Egrave,Eacute,Ecircumflex,Edieresis,Igrave,Iacute,Icircumflex,Idieresis,Eth,Ntilde,Thorn" k="33" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="J" k="14" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="M" k="23" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="C,G,O,Q,Ccedilla,Ograve,Oacute,Ocircumflex,Otilde,Odieresis,Oslash,OE" k="86" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="T" k="131" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="U,Ugrave,Uacute,Ucircumflex,Udieresis" k="70" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="Y,Yacute,Ydieresis" k="131" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="S" k="12" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="W" k="98" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="t" k="12" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="w" k="37" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="y,yacute,ydieresis" k="53" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="V" k="125" />
|
||||
<hkern g1="quotesinglbase,quotedblbase" g2="v" k="49" />
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
After Width: | Height: | Size: 89 KiB |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue